index-CZIX6ZiI.js 660 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. function __vite__mapDeps(indexes) {
  2. if (!__vite__mapDeps.viteFileDeps) {
  3. __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.DrwV27qB.js","assets/product.Dvk_EIL8.js","assets/bestSellers-B_SY1GJM.css","assets/wd-skeleton.DGyhdHDQ.js","assets/wd-skeleton-6jRYhHMd.css","assets/wd-swiper.CUXB9_QB.js","assets/wd-swiper-Yk3GPVI3.css","assets/wd-tabs.B3FuM8Y5.js","assets/useTouch.pWx2ILyK.js","assets/wd-tabs-CchBYMOK.css","assets/z-paging.Bra-LOfm.js","assets/z-paging-CBqUbKi0.css","assets/useZPaging.CHmbORlB.js","assets/product.Cc9xQWE6.js","assets/index-CVztbrl_.css","assets/pages-bestSellers-bestSellers.DzT-HQyQ.js","assets/wd-navbar.p7lmT1do.js","assets/wd-navbar-Dets5L0f.css","assets/pages-forgotPassword-forgotPassword.BNxwSIcj.js","assets/wd-form.IffADpyL.js","assets/login-logo.yJ3QTl4S.js","assets/pages-income-income.C_CC_iDH.js","assets/wd-divider.MGptNOv2.js","assets/wd-divider-ThgXdl0f.css","assets/wd-radio-group.CT4MvbSB.js","assets/wd-radio-group-eaAfA2d-.css","assets/wd-text.DJLq1BRo.js","assets/wd-text-DQfQlp_R.css","assets/wallet.DCWvlizl.js","assets/income-BUcXe3Sn.css","assets/pages-login-login.C5w7XoLM.js","assets/pages-mine-addressBook.Cf7Lh48L.js","assets/wd-swipe-action.BA5HgOv4.js","assets/clickoutside.oBCw0THb.js","assets/wd-swipe-action-BIHoogvg.css","assets/mine.C5mFNnwg.js","assets/order.3lpjfHTY.js","assets/addressBook-oMlsh8De.css","assets/pages-mine-addressBookOperate.b0AR1-m9.js","assets/wd-action-sheet.Bb0fTbme.js","assets/wd-action-sheet-C97OFXFp.css","assets/wd-cell-group.UX2IUCpu.js","assets/wd-cell-group-Dzd1RQP-.css","assets/addressBookOperate-BJbwuXgU.css","assets/pages-mine-mine.CVZAPf82.js","assets/wd-img.CJU_1pUx.js","assets/wd-img-DQe7wyo6.css","assets/pages-mine-myFavorite.Cj82dE0_.js","assets/myFavorite-Dbsv61Ow.css","assets/pages-mine-myProfile.BO0JS9KA.js","assets/pages-mine-setting.CBIO_FQg.js","assets/wd-picker.P0WBPNvq.js","assets/wd-picker-kvdni26q.css","assets/pages-mine-share.BgztOobW.js","assets/share-mCXl7U-k.css","assets/pages-missionCenter-missionCenter.aFHTa4O7.js","assets/pages-myOrders-myOrders.CAnfY6l8.js","assets/wd-card.BE_njzrC.js","assets/wd-card-DFBGOZsE.css","assets/DialogBox.Bpd1dP5M.js","assets/DialogBox-FXiMR7Ja.css","assets/myOrders-DxH3wvnp.css","assets/pages-myOrders-orderDetail.Bkjir-4U.js","assets/circle-check.C-5cnQHd.js","assets/utils.CY6F74uO.js","assets/pages-notifications-notifications.D22JlHlu.js","assets/notifications-zXDuzjvw.css","assets/pages-productDetail-checkOut.D1HqDbTJ.js","assets/checkOut-B_w9ErKd.css","assets/pages-productDetail-productDetail.BypYcnhY.js","assets/productDetail-DPP0vZ7-.css","assets/pages-referEarn-referEarn.CNNo3yJf.js","assets/pages-register-register.e8F9Z1Sy.js","assets/pages-search-search.Ch-A3Kfg.js","assets/search-DiqmOZRG.css","assets/pages-topChampions-topChampions.cwh-tg5k.js","assets/pages-vipMembership-vipMembership.lyXCmqeW.js","assets/vipMembership-B-rC2eAw.css","assets/pages-wallet-frozenRecord.Di114n-q.js","assets/pages-wallet-myWallet.DdCJw7N0.js","assets/myWallet-DbXO8C6_.css","assets/pages-wallet-recharge.CARRbKNI.js","assets/recharge-DymYmlio.css","assets/pages-wallet-rechargeRecord.BBON0ouV.js","assets/pages-wallet-withdraw.Bq37Jubc.js","assets/pages-wallet-withdrawRecord.CGirNj2U.js","assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.BHMU0YF3.js","assets/upgrade-popup-Dg1KFACY.css"]
  4. }
  5. return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
  6. }
  7. var yb=Object.defineProperty,vb=Object.defineProperties;var _b=Object.getOwnPropertyDescriptors;var yf=Object.getOwnPropertySymbols;var wb=Object.prototype.hasOwnProperty,bb=Object.prototype.propertyIsEnumerable;var vf=(e,t,n)=>t in e?yb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t)=>{for(var n in t||(t={}))wb.call(t,n)&&vf(e,n,t[n]);if(yf)for(var n of yf(t))bb.call(t,n)&&vf(e,n,t[n]);return e},we=(e,t)=>vb(e,_b(t));var de=(e,t,n)=>new Promise((o,r)=>{var s=l=>{try{a(n.next(l))}catch(c){r(c)}},i=l=>{try{a(n.throw(l))}catch(c){r(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,i);a((n=n.apply(e,t)).next())});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();const Sb="modulepreload",Tb=function(e){return"/"+e},_f={},Fe=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.all(n.map(a=>{if(a=Tb(a),a in _f)return;_f[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":Sb,l||(u.as="script",u.crossOrigin=""),u.href=a,i&&u.setAttribute("nonce",i),document.head.appendChild(u),l)return new Promise((d,f)=>{u.addEventListener("load",d),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},Tm={"addressBook.title":"ঠিকানা বই","addressBook.operate.title.add":"ঠিকানা যোগ করুন","addressBook.operate.title.edit":"ঠিকানা সম্পাদনা করুন","addressBook.operate.loading":"লোড হচ্ছে...","addressBook.operate.saving":"সংরক্ষণ করা হচ্ছে...","addressBook.operate.form.fullName":"পুরো নাম","addressBook.operate.form.phone":"ফোন নম্বর","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"প্রদেশ/জেলা","addressBook.operate.form.district.placeholder":"অনুগ্রহ করে চয়ন করুন","addressBook.operate.form.street":"তলা/ইউনিট/রাস্তা","addressBook.operate.form.street.placeholder":"বিস্তারিত ঠিকানা","addressBook.operate.form.postcode":"পোস্টকোড","addressBook.operate.form.postcode.placeholder":"আপনার পোস্টকোড","addressBook.operate.form.default":"ডিফল্ট","addressBook.operate.button.save":"সংরক্ষণ","addressBook.operate.button.update":"আপডেট","addressBook.operate.error.loadFailed":"ঠিকানার বিবরণ লোড করতে ব্যর্থ","addressBook.operate.error.emptyName":"পুরো নাম লিখুন","addressBook.operate.error.emptyPhone":"ফোন নম্বর লিখুন","addressBook.operate.error.emptyDistrict":"প্রদেশ/জেলা নির্বাচন করুন","addressBook.operate.error.emptyStreet":"বিস্তারিত ঠিকানা লিখুন","addressBook.operate.success.update":"ঠিকানা সফলভাবে আপডেট করা হয়েছে","addressBook.operate.success.save":"ঠিকানা সফলভাবে সংরক্ষিত হয়েছে","addressBook.operate.error.saveFailed":"সংরক্ষণ ব্যর্থ, আবার চেষ্টা করুন","addressBook.operate.error.loadPage":"পৃষ্ঠা লোড করতে ব্যর্থ","addressBook.delete.deleting":"মুছে ফেলা হচ্ছে...","addressBook.delete.success":"ঠিকানা সফলভাবে মুছে ফেলা হয়েছে","myOrders.title":"আমার অর্ডার","myOrders.tab.all":"সব","myOrders.tab.toPay":"পেমেন্ট বাকি","myOrders.tab.success":"সফল","myOrders.tab.failed":"ব্যর্থ","myOrders.tab.reward":"পুরস্কার","myOrders.order.id":"অর্ডার আইডি","myOrders.order.color":"রং","myOrders.order.quantity":"পরিমাণ","myOrders.selectTip":"আপনি পুনর্ব্যবহারের জন্য {0}টি অর্ডার বেছে নিতে পারেন","myOrders.total":"মোট","myOrders.recycleOrder":"অর্ডার পুনর্ব্যবহার করুন","myOrders.recycleSuccess":"অর্ডার সফলভাবে পুনর্ব্যবহার করা হয়েছে","myOrders.recycleFailed":"অর্ডার পুনর্ব্যবহার করতে ব্যর্থ","myOrders.dialog.title":"অর্ডার বিক্রয় করুন","myOrders.dialog.notesTitle":"নোট:","myOrders.dialog.note1":"① আপনি BandhuBuy কে গ্রুপ অর্ডারের আইটেমগুলি বিক্রয় করতে বেছে নিতে পারেন।","myOrders.dialog.note2":"② বিক্রয় মূল্য পণ্যের {0}%।","myOrders.dialog.note3":"③ পুনরুদ্ধার করা পরিমাণ আপনার আয় অ্যাকাউন্টে বিতরণ করা হবে।","myOrders.dialog.priceLabel":"বিক্রয় মূল্য","myOrders.dialog.confirm":"নিশ্চিত করুন","orderDetail.title":"অর্ডারের বিস্তারিত","orderDetail.loading":"লোড হচ্ছে...","orderDetail.congrats":"অভিনন্দন, আপনি এই গ্রুপে পুরস্কার জিতেছেন!","orderDetail.receiveReward":"আপনি গ্রুপ ওপেনিং রিওয়ার্ড পেয়েছেন","orderDetail.sorry":"দুঃখিত, আপনি এই গ্রুপে জিততে পারেননি","orderDetail.waiting":"অনুগ্রহ করে এই গ্রুপের ড্র এর জন্য অপেক্ষা করুন","orderDetail.paymentCountdown":"অনুগ্রহ করে এই সময়ের মধ্যে পেমেন্ট করুন:","orderDetail.status9.sellBackPrefix":"পণ্যটি সেল ব্যাক করা হয়েছে","orderDetail.status9.receivePrefix":"আপনি পেয়েছেন","orderDetail.status9.rewardSuffix":"গ্রুপ ওপেনিং রিওয়ার্ড","orderDetail.address.add":"অনুগ্রহ করে আপনার শিপিং ঠিকানা প্রদান করুন","orderDetail.address.name":"প্রাপক","orderDetail.address.orderNo":"অর্ডার আইডি","orderDetail.address.color":"রং","orderDetail.address.quantity":"পরিমাণ","orderDetail.summary.title":"অর্ডার সারাংশ","orderDetail.summary.subtotal":"মোট","orderDetail.payment.title":"পেমেন্ট পদ্ধতি","orderDetail.payment.placedOn":"অর্ডারের তারিখ","orderDetail.button.cancel":"বাতিল করুন","orderDetail.button.share":"শেয়ার করুন","orderDetail.button.pay":"পেমেন্ট করুন","orderDetail.dialog.cancel.title":"আপনি কি এই অর্ডার বাতিল করতে চান?","orderDetail.dialog.cancel.confirm":"হ্যাঁ, বাতিল করুন","orderDetail.dialog.cancel.keep":"অর্ডার রাখুন","orderDetail.cancel.loading":"অর্ডার বাতিল করা হচ্ছে...","orderDetail.cancel.success":"অর্ডার সফলভাবে বাতিল করা হয়েছে!","orderDetail.cancel.error":"অর্ডার বাতিল করতে ব্যর্থ হয়েছে। আবার চেষ্টা করুন।","orderDetail.payment.success":"পেমেন্ট সফল হয়েছে","wallet.withdraw.success":"উত্তোলনের অনুরোধ সফলভাবে জমা দেওয়া হয়েছে","wallet.withdraw.fail":"উত্তোলনের অনুরোধ জমা দিতে ব্যর্থ হয়েছে, অনুগ্রহ করে আবার চেষ্টা করুন","addressBook.delete.confirm":"মুছে ফেলা নিশ্চিত করুন","addressBook.delete.message":"আপনি কি এই ঠিকানাটি মুছে ফেলতে চান?","addressBook.delete.button":"মুছুন","addressBook.tag.default":"ডিফল্ট","addressBook.button.add":"নতুন ঠিকানা যোগ করুন","addressBook.select.binding":"ঠিকানা বাইন্ড করা হচ্ছে...","addressBook.select.success":"ঠিকানা সফলভাবে বাইন্ড হয়েছে!","addressBook.select.failed":"ঠিকানা বাইন্ড করতে ব্যর্থ। অনুগ্রহ করে আবার চেষ্টা করুন।","myProfile.title":"আমার প্রোফাইল","myProfile.avatar":"অবতার","myProfile.userId":"ইউজার আইডি","myProfile.userName":"ব্যবহারকারীর নাম","myProfile.mobileNumber":"মোবাইল নম্বর","myProfile.bankName":"ব্যাংকের নাম","myProfile.bankAccountName":"ব্যাংক অ্যাকাউন্ট নাম","myProfile.bankAccountNo":"ব্যাংক অ্যাকাউন্ট নং","myProfile.upload.sizeLimit":"ছবির আকার 5MB এর বেশি হতে পারবে না","myProfile.upload.uploading":"আপলোড হচ্ছে...","myProfile.upload.success":"অবতার সফলভাবে আপডেট করা হয়েছে","myProfile.upload.error":"অবতার আপডেট করতে ব্যর্থ হয়েছে","setting.title":"সেটিং","setting.changePassword":"পাসওয়ার্ড পরিবর্তন","setting.language":"ভাষা","setting.policies":"গোপনীয়তা নীতি","setting.termsOfService":"পরিষেবার শর্তাবলী","setting.refund":"রিটার্ন ও ফেরত নীতি","setting.logout":"লগ আউট","setting.version":"ভার্সন {0}","home.missionCenter":`মিশন
  8. সেন্টার`,"home.refer&earn":`রেফার
  9. এবং আয়`,"home.vip":`ভিআইপি
  10. সদস্যতা`,"home.bestSellers":`সেরা
  11. বিক্রেতা`,"home.topChampions":`শীর্ষ
  12. চ্যাম্পিয়ন`,"home.news":"খবর","mine.auth.register":"নিবন্ধন","mine.auth.login":"লগইন","mine.wallet.title":"BandhuBuy ওয়ালেট","mine.wallet.balance":"ওয়ালেট অ্যাকাউন্ট ব্যালেন্স","mine.wallet.recharge":"রিচার্জ","mine.group.title":"আমার গ্রুপ","mine.group.all":"সব গ্রুপ","mine.group.toPay":"পেমেন্ট বাকি","mine.group.success":"সফল","mine.group.failed":"ব্যর্থ","mine.group.reward":"পুরস্কার","mine.menu.profile":"আমার প্রোফাইল","mine.menu.address":"ঠিকানা বই","mine.menu.share":"শেয়ার","mine.menu.favorite":"আমার পছন্দ","mine.menu.chat":"লাইভ চ্যাট","mine.menu.activity":"কার্যকলাপ গ্রুপ","home.priceTab.allPrice":"সব দাম","home.priceTab.300spot":"৩০০স্পট","home.priceTab.500spot":"৫০০স্পট","home.priceTab.1000spot":"১০০০স্পট","home.priceTab.2000spot":"২০০০স্পট","home.priceTab.3000spot":"৩০০০স্পট","income.title":"রাজস্ব কেন্দ্র","income.totalEarnings":"মোট আয়","income.accountBalance":"রাজস্ব অ্যাকাউন্ট ব্যালেন্স","income.settledAmount":"নিষ্পত্তিকৃত পরিমাণ","income.pendingAmount":"অপেক্ষারত পরিমাণ","income.tdEarnings":"আজকের আয়","income.ydEarnings":"গতকালের আয়","income.mtdEarnings":"এই মাসের আয়","income.myGroupData":"আমার গ্রুপ ডেটা","income.withdrawNow":"এখনই উত্তোলন করুন","income.revenueRecord":"রাজস্ব রেকর্ড","income.filter.dt":"আজকে","income.filter.yt":"গতকাল","income.filter.l7d":"গত ৭ দিন","income.filter.mtd":"এই মাসে","income.filter.ytd":"এই বছরে","mine.pages.share.title":"শেয়ার","mine.pages.share.referrerCode":"আমার রেফারার কোড","mine.pages.share.qrCode":"কিউআর কোড","mine.pages.share.description":"আপনার বন্ধুদের সাথে আপনার কিউআর কোড শেয়ার করুন, তারা তাদের ক্যামেরা দিয়ে স্ক্যান করে আপনার ডাউনলাইন হিসাবে নিবন্ধন করতে পারবে।","mine.pages.share.copySuccess":"ক্লিপবোর্ডে অনুলিপি করা হয়েছে","mine.header.referrerCode":"রেফারার কোড","mine.header.copy":"কপি","mine.pages.share.shareTo":"{0} এ শেয়ার করুন","share.appNotInstalled":"শেয়ারিং সক্ষম করতে অ্যাপ ডাউনলোড করুন","share.productShareText":`[BandhuBuy] {url} {productName}
  13. এখনই BandhuBuy থেকে কিনুন!`,"share.inviteShareText":"[BandhuBuy] {url} আপনার বন্ধু আপনাকে নিবন্ধন করতে আমন্ত্রণ জানিয়েছে","mine.pages.myFavorite.title":"আমার পছন্দ","mine.pages.myFavorite.empty":"এখনও পছন্দ নেই","wallet.withdraw.title":"উত্তোলন","wallet.withdraw.balance":"ওয়ালেট উপলব্ধ পরিমাণ","wallet.withdraw.balanceRevenue":"রাজস্ব উপলব্ধ পরিমাণ","wallet.withdraw.balanceWallet":"ওয়ালেট উপলব্ধ পরিমাণ","wallet.withdraw.info":"উত্তোলনের তথ্য","wallet.withdraw.form.bankName":"ব্যাংকের নাম","wallet.withdraw.form.bankAccountName":"ব্যাংক অ্যাকাউন্ট নাম","wallet.withdraw.form.bankAccountNo":"ব্যাংক অ্যাকাউন্ট নং","wallet.withdraw.form.amount":"উত্তোলনের পরিমাণ","wallet.withdraw.form.allAmount":"সব পরিমাণ","wallet.withdraw.form.submit":"জমা দিন","wallet.withdraw.record":"রেকর্ড","wallet.withdraw.error.bankName":"অনুগ্রহ করে ব্যাংক নির্বাচন করুন","wallet.withdraw.error.bankAccountName":"অনুগ্রহ করে ব্যাংক অ্যাকাউন্ট নাম লিখুন","wallet.withdraw.error.bankAccountNo":"অনুগ্রহ করে ব্যাংক অ্যাকাউন্ট নং লিখুন","wallet.withdraw.error.amount":"অনুগ্রহ করে উত্তোলনের পরিমাণ লিখুন","wallet.withdraw.notes.title":"দ্রষ্টব্য:","wallet.withdraw.notes.1":"উত্তোলনের পর্যালোচনা সময় সকাল ৯ টা থেকে রাত ১০ টা পর্যন্ত। উত্তোলনের পর ২ ঘন্টার মধ্যে পৌঁছানোর সম্ভাবনা, প্রকৃত পৌঁছানোর সময় চূড়ান্ত সফলভাবে প্রক্রিয়াকরণের সময়ের উপর নির্ভর করে","wallet.withdraw.notes.2":"আপনার ব্যাংক অ্যাকাউন্টের বিবরণ সঠিক কিনা তা নিশ্চিত করুন।","wallet.withdraw.notes.3":"উত্তোলনের ব্যাংক অ্যাকাউন্টের তথ্য নিবন্ধনের অ্যাকাউন্টের তথ্যের সাথে মেলানো প্রয়োজন।","wallet.withdraw.notes.4":"একক উত্তোলনের জন্য সর্বনিম্ন পরিমাণ ৳{0} এবং সর্বোচ্চ ৳{1} হবে;","wallet.withdraw.notes.5":"আপনার প্রতিটি উত্তোলনে {0}% উত্তোলন পরিচালনা ফি আরোপ করা হবে;","search.placeholder":"অনুসন্ধান","search.filterPrice":"সব দাম","search.filterCategory":"বিভাগ","search.filterSellers":"সেরা বিক্রেতা","search.filterSellers1":"সর্বশেষ","auth.login.title":"লগইন","auth.login.username.placeholder":"মোবাইল নম্বর / ব্যবহারকারীর নাম","auth.login.password.placeholder":"পাসওয়ার্ড ৬-২০ অক্ষর","auth.login.button":"লগইন","auth.login.noAccount":"এখনও অ্যাকাউন্ট নেই?","auth.login.register":"নিবন্ধন","auth.login.forgotPassword":"পাসওয়ার্ড ভুলে গেছেন?","auth.login.error.emptyUsername":"অনুগ্রহ করে ব্যবহারকারীর নাম বা ফোন নম্বর লিখুন","auth.login.error.emptyPassword":"অনুগ্রহ করে পাসওয়ার্ড লিখুন","auth.login.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.login.loading":"লগইন করা হচ্ছে...","auth.login.success":"লগইন সফল হয়েছে!","auth.login.error.failed":"লগইন ব্যর্থ হয়েছে","auth.register.title":"নিবন্ধন","auth.register.username.placeholder":"ব্যবহারকারীর নাম","auth.register.phone.placeholder":"+88 মোবাইল নম্বর","auth.register.verifyCode.placeholder":"যাচাইকরণ কোড","auth.register.password.placeholder":"পাসওয়ার্ড ৬-২০ অক্ষর","auth.register.referrerCode.placeholder":"রেফারার কোড","auth.register.getCode":"কোড পান","auth.register.button":"নিবন্ধন","auth.register.hasAccount":"ইতিমধ্যে অ্যাকাউন্ট আছে?","auth.register.loginNow":"এখনই লগইন করুন","auth.register.error.emptyUsername":"অনুগ্রহ করে ব্যবহারকারীর নাম লিখুন","auth.register.error.emptyPhone":"অনুগ্রহ করে ফোন নম্বর লিখুন","auth.register.error.invalidPhone":"অনুগ্রহ করে একটি বৈধ বাংলাদেশ ফোন নম্বর লিখুন","auth.register.error.emptyVerifyCode":"অনুগ্রহ করে যাচাইকরণ কোড লিখুন","auth.register.error.emptyPassword":"অনুগ্রহ করে পাসওয়ার্ড লিখুন","auth.register.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.register.success.codeSent":"যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে","auth.register.success.registered":"নিবন্ধন সফল","auth.register.error.registrationFailed":"নিবন্ধন ব্যর্থ","auth.forgotPassword.title":"পাসওয়ার্ড ভুলে গেছেন","auth.forgotPassword.phone.placeholder":"ফোন নম্বর","auth.forgotPassword.verifyCode.placeholder":"যাচাইকরণ কোড","auth.forgotPassword.newPassword.placeholder":"নতুন পাসওয়ার্ড","auth.forgotPassword.confirmPassword.placeholder":"পাসওয়ার্ড নিশ্চিত করুন","auth.forgotPassword.getCode":"কোড পান","auth.forgotPassword.button":"পাসওয়ার্ড রিসেট করুন","auth.forgotPassword.backToLogin":"লগইনে ফিরে যান","auth.forgotPassword.error.emptyPhone":"অনুগ্রহ করে ফোন নম্বর লিখুন","auth.forgotPassword.error.invalidPhone":"অনুগ্রহ করে বৈধ ফোন নম্বর লিখুন","auth.forgotPassword.error.emptyVerifyCode":"অনুগ্রহ করে যাচাইকরণ কোড লিখুন","auth.forgotPassword.error.emptyNewPassword":"অনুগ্রহ করে নতুন পাসওয়ার্ড লিখুন","auth.forgotPassword.error.passwordLength":"পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে","auth.forgotPassword.error.emptyConfirmPassword":"অনুগ্রহ করে আপনার পাসওয়ার্ড নিশ্চিত করুন","auth.forgotPassword.error.passwordMismatch":"পাসওয়ার্ড মিলছে না","auth.forgotPassword.success.codeSent":"যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে","auth.forgotPassword.success.passwordReset":"পাসওয়ার্ড সফলভাবে রিসেট হয়েছে","auth.forgotPassword.error.sendCodeFailed":"যাচাইকরণ কোড পাঠাতে ব্যর্থ","auth.forgotPassword.error.resetFailed":"পাসওয়ার্ড রিসেট করতে ব্যর্থ","auth.forgotPassword.passwordHint":"আপনার পাসওয়ার্ড পূর্বে ব্যবহৃত পাসওয়ার্ড থেকে আলাদা হতে হবে","auth.forgotPassword.hasAccount":"ইতিমধ্যে অ্যাকাউন্ট আছে?","auth.forgotPassword.loginNow":"এখনই লগইন করুন","common.loading":"লোড হচ্ছে...","common.saving":"সংরক্ষণ করা হচ্ছে...","common.success":"সফল","common.error":"ত্রুটি","common.error.request":"অনুরোধ ত্রুটি","common.error.network":"নেটওয়ার্ক ত্রুটি, অন্য নেটওয়ার্ক চেষ্টা করুন","common.confirm":"নিশ্চিত করুন","common.cancel":"বাতিল","common.submit":"জমা দিন","common.save":"সংরক্ষণ","common.edit":"সম্পাদনা","common.delete":"মুছুন","common.add":"যোগ করুন","common.search":"অনুসন্ধান","common.filter":"ফিল্টার","common.all":"সব","common.none":"কোনটি নয়","common.empty":"কোনো ডেটা নেই","common.retry":"আবার চেষ্টা করুন","common.back":"ফিরে যান","common.next":"পরবর্তী","common.previous":"পূর্ববর্তী","common.close":"বন্ধ করুন","common.open":"খুলুন","common.view":"দেখুন","common.more":"আরও","wallet.myWallet.title":"আমার ওয়ালেট","wallet.balance":"ওয়ালেট ভারসাম্য","wallet.frozenBalance":"হিমায়িত ভারসাম্য","wallet.availableAmount":"উপলব্ধ পরিমাণ","wallet.recharge":"রিচার্জ","wallet.withdrawNow":"এখনই উত্তোলন করুন","wallet.record":"ওয়ালেট রেকর্ড","wallet.filter.all":"সব","wallet.filter.recharge":"রিচার্জ","wallet.filter.withdraw":"উত্তোলন","wallet.filter.commission":"কমিশন","wallet.rechargeRecord.title":"রিচার্জ রেকর্ড","wallet.withdrawRecord.title":"উত্তোলন রেকর্ড","wallet.frozenRecord.title":"হিমায়িত পরিমাণ রেকর্ড","wallet.frozenRecord.type.withdraw":"উত্তোলন হিমায়িত","wallet.frozenRecord.type.refund":"ফেরত হিমায়িত","missionCenter.title":"মিশন সেন্টার","referEarn.title":"রেফার এবং আয়","vipMembership.title":"ভিআইপি সদস্যতা","notifications.title":"বিজ্ঞপ্তি","notifications.tabs.all":"সব","notifications.tabs.orders":"অর্ডার","notifications.tabs.revenue":"রাজস্ব","notifications.tabs.account":"অ্যাকাউন্ট","notifications.tabs.promos":"প্রচার","notifications.time.sunday":"রবি","notifications.time.monday":"সোম","notifications.time.tuesday":"মঙ্গল","notifications.time.wednesday":"বুধ","notifications.time.thursday":"বৃহস্পতি","notifications.time.friday":"শুক্র","notifications.time.saturday":"শনি","notifications.order.paymentSuccess.title":"গ্রুপ বাই পেমেন্ট সফল","notifications.order.paymentSuccess.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে পেমেন্ট হয়েছে","notifications.order.groupBuyWin.title":"গ্রুপ বাই সফল","notifications.order.groupBuyWin.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়েছে","notifications.order.groupBuyLose.title":"গ্রুপ বাই সফল","notifications.order.groupBuyLose.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়নি","notifications.order.provideAddress.title":"অর্ডার শিপিং ঠিকানা প্রদান","notifications.order.provideAddress.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] অনুগ্রহ করে আপনার শিপিং ঠিকানা প্রদান করুন","notifications.order.groupBuyFail.title":"গ্রুপ বাই ব্যর্থ","notifications.order.groupBuyFail.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] ব্যর্থ হয়েছে","notifications.order.shipped.title":"অর্ডার সফলভাবে শিপ হয়েছে","notifications.order.shipped.content":"আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে শিপ হয়েছে","notifications.order.recycleReward.title":"অর্ডার রিসাইকেল পুরস্কার","notifications.order.recycleReward.content":"আপনি অর্ডার রিসাইকেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.referFriends.title":"বন্ধু রেফার পুরস্কার","notifications.reward.referFriends.content":"আপনি বন্ধু রেফারের জন্য পুরস্কার পেয়েছেন","notifications.reward.groupBuy.title":"গ্রুপ বাই যোগ দিন পুরস্কার","notifications.reward.groupBuy.content":"আপনি একটি পুরস্কার পেয়েছেন, অর্ডার আইডি [{orderId}]","notifications.reward.openGroupBuy.title":"গ্রুপ বাই খোলা পুরস্কার","notifications.reward.openGroupBuy.content":"আপনি একটি পুরস্কার পেয়েছেন, অর্ডার আইডি [{orderId}]","notifications.reward.directReferral.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.directReferral.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.checkin.title":"চেক-ইন পুরস্কার","notifications.reward.checkin.content":"আপনি চেক-ইনের জন্য পুরস্কার পেয়েছেন","notifications.reward.firstCommission.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.firstCommission.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.reward.secondaryCommission.title":"সরাসরি রেফারেল পুরস্কার","notifications.reward.secondaryCommission.content":"আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন","notifications.money.rechargeSuccess.title":"রিচার্জ সফল","notifications.money.rechargeSuccess.content":"আপনার KLICKwallet সফলভাবে রিচার্জ হয়েছে","notifications.money.withdrawalAccountSuccess.title":"উত্তোলন সফল","notifications.money.withdrawalAccountSuccess.content":"আপনার রাজস্ব অ্যাকাউন্ট উত্তোলনের অনুরোধ প্রক্রিয়াকরণ করা হয়েছে","notifications.money.withdrawalWalletSuccess.title":"উত্তোলন সফল","notifications.money.withdrawalWalletSuccess.content":"আপনার KLICK ওয়ালেট উত্তোলনের অনুরোধ প্রক্রিয়াকরণ করা হয়েছে","notifications.money.withdrawalFail.title":"উত্তোলন ব্যর্থ","notifications.money.withdrawalFail.content":"আপনার উত্তোলনের অনুরোধ ব্যর্থ হয়েছে","productDetail.title":"পণ্যের বিস্তারিত","productDetail.notification.message":"{name} এই গ্রুপ {time} সেকেন্ড আগে {action}!","productDetail.notification.opened":"খুলেছে","productDetail.notification.joined":"যোগ দিয়েছে","webLink.title":"ওয়েব লিংক","missionCenter.signIn.title":"পুরস্কার পেতে ধারাবাহিকভাবে সাইন ইন করুন","missionCenter.signIn.button":"চেক-ইন","missionCenter.dailyMission.title":"দৈনিক মিশন","missionCenter.dailyMission.startNow":"এখনই শুরু করুন","missionCenter.dailyMission.inviteFriends.name":"বন্ধুদের আমন্ত্রণ জানিয়ে নগদ আয় করুন","missionCenter.dailyMission.inviteFriends.description":"সীমাহীন পুরস্কার","missionCenter.dailyMission.openGroupBuy.name":"গ্রুপ বাই খুলুন","missionCenter.dailyMission.openGroupBuy.description":"গ্রুপ খোলার পুরস্কার জিতুন","missionCenter.dailyMission.joinGroupBuy.name":"গ্রুপ বাই-এ যোগ দিন","missionCenter.dailyMission.joinGroupBuy.description":"গ্রুপ খোলার পুরস্কার জিতুন","vipMembership.inviteProgress":"আমাদের এখনও {0} বন্ধুদের আমন্ত্রণ করতে হবে। V{1} এ আপগ্রেড করা যেতে পারে","vipMembership.invitedFriends":"আমন্ত্রিত বন্ধু","vipMembership.teamMembers":"দলের সদস্য","vipMembership.l7dEarnings":"গত ৭ দিনের আয়","vipMembership.benefitsTiers":"ভিআইপি সুবিধা/স্তর","vipMembership.table.vipLevel":`ভিআইপি
  14. স্তর`,"vipMembership.table.invitedNo":`আমন্ত্রিত
  15. নং`,"vipMembership.table.directReferralReward":`সরাসরি রেফারেল
  16. পুরস্কার`,"vipMembership.table.indirectReferralReward":`পরোক্ষ রেফারেল
  17. পুরস্কার`,"vipMembership.table.joinedGroupsNo":`যোগ দেওয়া গ্রুপ
  18. নং`,"referEarn.inviteFriends":"বন্ধুদের আমন্ত্রণ করুন","referEarn.earnCash":"নগদ টাকা উপার্জন করুন","referEarn.shareNow":"এখনই শেয়ার করুন","referEarn.howToShare":"- কীভাবে শেয়ার করে টাকা উপার্জন করবেন -","referEarn.step1":"আমন্ত্রণ বন্ধুদের শেয়ার করুন","referEarn.step2":"আপনার বন্ধু গ্রুপে যোগ দিন","referEarn.step3":"আপনি ৳{0} পুরস্কার পান","referEarn.invitedFriends":"আমন্ত্রিত বন্ধু","checkout.title":"চেকআউট","checkout.selected":"নির্বাচিত","checkout.quantity":"পরিমাণ","checkout.orderSummary":"অর্ডার সারাংশ","checkout.subTotal":"মোট","checkout.total":"মোট","checkout.selectPaymentMethod":"পেমেন্ট পদ্ধতি নির্বাচন করুন","checkout.walletBalance":"ব্যালেন্স","checkout.placeOrder":"অর্ডার করুন","checkout.trust.rewards":"সবার জন্য নিশ্চিত রিওয়ার্ড!","checkout.trust.refund":"না জিতলে সম্পূর্ণ রিফান্ড!","checkout.dialog.insufficientBalance":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত।
  19. অনুগ্রহ করে রিচার্জ করুন!`,"checkout.dialog.rechargeDiscount":"রিচার্জ সর্বোচ্চ ছাড় ৫%","checkout.dialog.rechargeNow":"এখনই রিচার্জ করুন","checkout.dialog.paymentSuccess":`পেমেন্ট সফল!
  20. আপনার অর্ডার করা হয়েছে।`,"checkout.dialog.viewOrder":"অর্ডার দেখুন","checkout.dialog.paymentFailed":`পেমেন্ট ব্যর্থ!
  21. অনুগ্রহ করে আবার চেষ্টা করুন বা সমর্থন যোগাযোগ করুন।`,"checkout.dialog.retryPayment":"পেমেন্ট আবার চেষ্টা করুন","checkout.dialog.retry":"আবার চেষ্টা করুন","checkout.dialog.gotIt":"বুঝেছি","checkout.toast.redirecting":"অর্ডারে পুনঃনির্দেশিত হচ্ছে...","checkout.toast.retrying":"আবার চেষ্টা করা হচ্ছে...","bestSellers.title":"সেরা বিক্রেতা","bestSellers.successfullyGrouped":"গত ৭ দিনে {0} এর বেশি সফলভাবে গ্রুপ করা হয়েছে","productDetail.price":"দাম","productDetail.sold":"{0} বিক্রি হয়েছে","productDetail.groupRules":"গ্রুপ নিয়ম","productDetail.viewRules":"নিয়ম দেখুন","productDetail.viewRulesLinkTitle":"গ্রুপ ক্রয় নিয়ম","productDetail.ongoingGroup":"চলমান গ্রুপ","productDetail.need":"প্রয়োজন","productDetail.more":"আরও","productDetail.joinGroup":"গ্রুপে যোগ দিন","productDetail.details":"বিস্তারিত","productDetail.home":"হোম","productDetail.favorite":"পছন্দ","productDetail.favoriteSuccess":"পছন্দে যোগ করা হয়েছে","productDetail.unfavoriteSuccess":"পছন্দ থেকে সরানো হয়েছে","productDetail.favoriteError":"অপারেশন ব্যর্থ, অনুগ্রহ করে আবার চেষ্টা করুন","upgrade.title":"আপডেট লগ","upgrade.newVersion":"নতুন সংস্করণ উপলব্ধ","upgrade.version":"সংস্করণ {version}","upgrade.download":"এখনই আপডেট ডাউনলোড করুন","upgrade.downloading":"প্যাকেজ ডাউনলোড হচ্ছে, অনুগ্রহ করে অপেক্ষা করুন...","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"ডাউনলোড সম্পূর্ণ, এখনই ইনস্টল করুন","upgrade.installing":"ইনস্টল করা হচ্ছে...","upgrade.installIncomplete":"ইনস্টলেশন অসম্পূর্ণ, ইনস্টল করতে ক্লিক করুন","upgrade.restart":"ইনস্টলেশন সম্পূর্ণ, রিস্টার্ট করতে ক্লিক করুন","upgrade.goToStore":"এখনই স্টোরে যান","productDetail.openGroup":"গ্রুপ খুলুন","productDetail.quantity":"পরিমাণ","topChampions.title":"শীর্ষ চ্যাম্পিয়ন","topChampions.top":"শীর্ষ","topChampions.invitedFriends":"আমন্ত্রিত বন্ধু","topChampions.l7dEarnings":"গত ৭ দিনের আয়","topChampions.teamMembers":"দলের সদস্য","topChampions.joinedGroups":"যোগ দেওয়া গ্রুপ","wallet.recharge.title":"রিচার্জ","wallet.recharge.submit":"জমা দিন","orderDetail.deliveryPartner":"ডেলিভারি পার্টনার","orderDetail.subTotal":"মোট","orderDetail.bandhuBuyWallet":"BandhuBuy ওয়ালেট","orderDetail.paymentMethod":"পেমেন্ট","orderDetail.walletBalanceText":"ভারসাম্য","orderDetail.walletAmountText":"নগদ প্রত্যাহার","orderDetail.walletFeeText":"পরিষেবা মাল্য","productDetail.fullRefundText":"জিততে না পারলে পুরো ফেরত + নগদ পুরস্কার","app.notificationPermission":"আপনি বিজ্ঞপ্তি অনুমতি খুলেননি","wallet.recharge.record":"রেকর্ড","wallet.recharge.selectProvider":"আপনার ওয়ালেট প্রোভাইডার নির্বাচন করুন","wallet.recharge.depositAmount":"জমা পরিমাণ","wallet.recharge.reminder":"স্মরণ: রিচার্জ সফল না হলে, অনুগ্রহ করে অন্য চ্যানেল নির্বাচন করুন। লেনদেন আইডি সঠিকভাবে পূরণ করতে হবে।","wallet.recharge.enterAmount":"অনুগ্রহ করে রিচার্জ পরিমাণ লিখুন","wallet.recharge.minAmount":"ন্যূনতম {minAmount}","wallet.recharge.maxAmount":"সর্বোচ্চ {maxAmount}","orderDetail.rechargeDialog.title":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত।
  22. অনুগ্রহ করে রিচার্জ করুন!`,"orderDetail.rechargeDialog.confirm":"এখনই রিচার্জ করুন","orderDetail.payDialog.title":"পেমেন্ট","orderDetail.payDialog.confirm":"এখনই পেমেন্ট করুন","orderDetail.payment.loading":"পেমেন্ট...","orderDetail.time.placed":"অর্ডার করা হয়েছে","orderDetail.time.paid":"পেমেন্ট করা হয়েছে","orderDetail.time.shipped":"শিপ করা হয়েছে","orderDetail.time.completed":"সম্পন্ন হয়েছে","orderDetail.copy.success":"ক্লিপবোর্ডে অনুলিপি করা হয়েছে","wallet.unpaidOrderDialog.title":`আপনার কাছে অসম্পন্ন টপ আপ অর্ডার রয়েছে,
  23. আপনি কি চালিয়ে যেতে চান?`,"wallet.unpaidOrderDialog.confirm":"দেখুন","wallet.unpaidOrderDialog.cancel":"বাতিল","wallet.record.type.DT":"আজকে","wallet.record.type.YT":"গতকাল","wallet.record.type.L7D":"গত ৭ দিন","wallet.record.type.MTD":"এই মাসে","wallet.record.type.YTD":"এই বছরে","login.slogan":"আরও গ্রুপ ক্রয়, আরও বড় পুরস্কার","common.operate.success":"অপারেশন সফল","uni.app.quit":"অ্যাপ্লিকেশন থেকে আবার ক্লিক করুন","uni.async.error":"সার্ভারের সাথে সংযোগ সময়সীমা শেষ হয়েছে, স্ক্রিনে ক্লিক করে পুনরায় চেষ্টা করুন","uni.showActionSheet.cancel":"বাতিল করুন","uni.showToast.unpaired":"দয়া করে লক্ষ্য করুন showToast এবং hideToast অবশ্যই জোড়াযুক্তভাবে ব্যবহার করতে হবে","uni.showLoading.unpaired":"দয়া করে লক্ষ্য করুন showLoading এবং hideLoading অবশ্যই জোড়াযুক্তভাবে ব্যবহার করতে হবে","uni.showModal.cancel":"বাতিল করুন","uni.showModal.confirm":"নিশ্চিত করুন","uni.chooseImage.cancel":"বাতিল করুন","uni.chooseImage.sourceType.album":"আলবাম থেকে বেছে নিন","uni.chooseImage.sourceType.camera":"ছবি তুলুন","uni.chooseVideo.cancel":"বাতিল করুন","uni.chooseVideo.sourceType.album":"আলবাম থেকে বেছে নিন","uni.chooseVideo.sourceType.camera":"ভিডিও রেকর্ড করুন","uni.previewImage.cancel":"বাতিল করুন","uni.previewImage.button.save":"ছবি সংরক্ষণ করুন","uni.previewImage.save.success":"ছবি আলবামে সংরক্ষণ করা হয়েছে","uni.previewImage.save.fail":"ছবি আলবামে সংরক্ষণ করতে ব্যর্থ হয়েছে","uni.setClipboardData.success":"কন্টেন্ট কপি করা হয়েছে","uni.scanCode.title":"কোড স্ক্যান করুন","uni.scanCode.album":"আলবাম","uni.scanCode.fail":"সনাক্তকরণ ব্যর্থ হয়েছে","uni.scanCode.flash.on":"আলোক করার জন্য ট্যাপ করুন","uni.scanCode.flash.off":"বন্ধ করার জন্য ট্যাপ করুন","uni.startSoterAuthentication.authContent":"ফিঙ্গারপ্রিন্ট সনাক্তকরণ চলছে...","uni.picker.done":"সম্পন্ন","uni.picker.cancel":"বাতিল করুন","uni.video.danmu":"ড্যানমু (কমেন্ট স্ট্রিম)","uni.video.volume":"বল륮","uni.button.feedback.title":"문제 প্রতিক্রিয়া","uni.button.feedback.send":"পাঠান"},Cb=Object.freeze(Object.defineProperty({__proto__:null,default:Tm},Symbol.toStringTag,{value:"Module"})),Cm={title:"Update Available",newVersion:"New Version",version:"Version: {version}",download:"Download",installing:"Installing...",install:"Install",restart:"Restart App",goToStore:"Go to Store",downloading:"Downloading...",downloadProgress:"{downloaded}MB/{total}MB",installIncomplete:"Installation Incomplete"},km={"addressBook.title":"Address Book","addressBook.operate.title.add":"Add Address","addressBook.operate.title.edit":"Edit Address","addressBook.operate.loading":"Loading...","addressBook.operate.saving":"Saving...","addressBook.operate.form.fullName":"Full Name","addressBook.operate.form.phone":"Phone Number","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"Privince/District","addressBook.operate.form.district.placeholder":"Please Choose","addressBook.operate.form.street":"Floor/Unit No./Street","addressBook.operate.form.street.placeholder":"Detailed Address","addressBook.operate.form.postcode":"Postcode","addressBook.operate.form.postcode.placeholder":"Your Postcode","addressBook.operate.form.default":"Default","addressBook.operate.button.save":"Save","addressBook.operate.button.update":"Update","addressBook.operate.error.loadFailed":"Failed to load address details","addressBook.operate.error.emptyName":"Please enter full name","addressBook.operate.error.emptyPhone":"Please enter phone number","addressBook.operate.error.emptyDistrict":"Please select province/district","addressBook.operate.error.emptyStreet":"Please enter detailed address","addressBook.operate.success.update":"Address updated successfully","addressBook.operate.success.save":"Address saved successfully","addressBook.operate.error.saveFailed":"Save failed, please try again","addressBook.operate.error.loadPage":"Page load failed","addressBook.delete.deleting":"Deleting...","addressBook.delete.success":"Address deleted successfully","myOrders.title":"My Orders","myOrders.tab.all":"All","myOrders.tab.toPay":"To Pay","myOrders.tab.success":"Success","myOrders.tab.failed":"Failed","myOrders.tab.reward":"Reward","myOrders.order.id":"Order ID","myOrders.order.color":"Color","myOrders.order.quantity":"Quantity","myOrders.selectTip":"You can choose {0} orders for recycling","myOrders.total":"Total","myOrders.recycleOrder":"Recycle Order","myOrders.recycleSuccess":"Order recycled successfully","myOrders.recycleFailed":"Failed to recycle order","myOrders.dialog.title":"Sell Back Order","myOrders.dialog.notesTitle":"Notes:","myOrders.dialog.note1":"① You can choose to have BandhuBuy sell back the items in the group order.","myOrders.dialog.note2":"② The sell back price is {0}% of the product.","myOrders.dialog.note3":"③ The recovered amount will be distributed to your earnings account.","myOrders.dialog.priceLabel":"Sell Back Price","myOrders.dialog.confirm":"Confirm","orderDetail.title":"Order Detail","orderDetail.loading":"Loading...","orderDetail.congrats":"Congrats, You won the prize in this group!","orderDetail.receiveReward":"You have received group opening reward","orderDetail.sorry":"So sorry, You didn't win in this group","orderDetail.waiting":"Please wait for the draw of this group","orderDetail.paymentCountdown":"Please make payment within:","orderDetail.status9.sellBackPrefix":"Product has been sell back for","orderDetail.status9.receivePrefix":"You have received","orderDetail.status9.rewardSuffix":"group opening reward","orderDetail.address.add":"Please provide your shipping address","orderDetail.address.name":"Recipient","orderDetail.address.orderNo":"Order ID","orderDetail.address.color":"Color","orderDetail.address.quantity":"Quantity","orderDetail.summary.title":"Order Summary","orderDetail.summary.subtotal":"SubTotal","orderDetail.payment.title":"Paid by","orderDetail.payment.placedOn":"Placed on","orderDetail.button.cancel":"Cancel","orderDetail.button.share":"Share Now","orderDetail.button.pay":"Pay Now","orderDetail.dialog.cancel.title":"Are you sure you want to cancel this order?","orderDetail.dialog.cancel.confirm":"Yes, Cancel","orderDetail.dialog.cancel.keep":"Keep Order","orderDetail.cancel.loading":"Cancelling order...","orderDetail.cancel.success":"Order cancelled successfully!","orderDetail.cancel.error":"Failed to cancel order. Please try again.","orderDetail.payment.success":"Payment Successful","wallet.withdraw.success":"Withdrawal request submitted successfully","wallet.withdraw.fail":"Failed to submit withdrawal request, please try again","addressBook.delete.confirm":"Confirm Delete","addressBook.delete.message":"Are you sure you want to delete this address?","addressBook.delete.button":"Delete","addressBook.tag.default":"Default","addressBook.button.add":"Add New Address","addressBook.select.binding":"Binding address...","addressBook.select.success":"Address bound successfully!","addressBook.select.failed":"Failed to bind address. Please try again.","myProfile.title":"My Profile","myProfile.avatar":"Avatar","myProfile.userId":"User ID","myProfile.userName":"User Name","myProfile.mobileNumber":"Mobile Number","myProfile.bankName":"Bank Name","myProfile.bankAccountName":"Bank Account Name","myProfile.bankAccountNo":"Bank Account No.","myProfile.upload.sizeLimit":"Image size cannot exceed 5MB","myProfile.upload.uploading":"Uploading...","myProfile.upload.success":"Avatar updated successfully","myProfile.upload.error":"Failed to update avatar","setting.title":"Setting","setting.changePassword":"Change Password","setting.language":"Language","setting.policies":"Privacy Policy","setting.termsOfService":"Terms of Service","setting.refund":"Return & Refund Policy","setting.logout":"Logout","setting.version":"Version {0}","home.missionCenter":`Mission
  24. Center`,"home.refer&earn":`Refer
  25. &Earn`,"home.vip":`VIP
  26. Membership`,"home.bestSellers":`Best
  27. Sellers`,"home.topChampions":`Top
  28. Champions`,"home.news":"News","home.priceTab.allPrice":"All Price","home.priceTab.300spot":"300Spot","home.priceTab.500spot":"500Spot","home.priceTab.1000spot":"1000Spot","home.priceTab.2000spot":"2000Spot","home.priceTab.3000spot":"3000Spot","search.placeholder":"Search","search.filterPrice":"All Price","search.filterCategory":"Category","search.filterSellers":"BestSellers","search.filterSellers1":"Latest","income.title":"Revenue Center","mine.auth.register":"Register","mine.auth.login":"Login","mine.wallet.title":"BandhuBuy Wallet","mine.wallet.balance":"Wallet Account Balance","mine.wallet.recharge":"Recharge","mine.group.title":"My Group","mine.group.all":"All Group","mine.group.toPay":"To Pay","mine.group.success":"Success","mine.group.failed":"Failed","mine.group.reward":"Reward","mine.menu.profile":"My Profile","mine.menu.address":"Address Book","mine.menu.share":"Share","mine.menu.favorite":"My Favorite","mine.menu.chat":"Live Chat","mine.menu.activity":"Activity Group","income.totalEarnings":"Total Earnings","income.accountBalance":"Revenue Account Balance","income.settledAmount":"Settled Amount","income.pendingAmount":"Pending Amount","income.tdEarnings":"TD Earnings","income.ydEarnings":"YD Earnings","income.mtdEarnings":"MTD Earnings","income.myGroupData":"My Group Data","wallet.withdraw.title":"Withdraw","wallet.withdraw.balance":"Wallet Available Amount","wallet.withdraw.balanceRevenue":"Revenue Available Amount","wallet.withdraw.balanceWallet":"Wallet Available Amount","wallet.withdraw.info":"Withdrawal information","wallet.withdraw.form.bankName":"Bank Name","wallet.withdraw.form.bankAccountName":"Bank Account Name","wallet.withdraw.form.bankAccountNo":"Bank Account No.","wallet.withdraw.form.amount":"Withdrawal Amount","wallet.withdraw.form.allAmount":"All Amounts","wallet.withdraw.form.submit":"Submit","wallet.withdraw.record":"Record","wallet.withdraw.error.bankName":"Please select bank","wallet.withdraw.error.bankAccountName":"Please enter Bank Account Name","wallet.withdraw.error.bankAccountNo":"Please enter Bank Account No.","wallet.withdraw.error.amount":"Please enter Withdrawal Amount","wallet.withdraw.notes.title":"Notes:","wallet.withdraw.notes.1":"Withdrawal Review Hours Are From 9 AM To 10 PM. Expected to arrive within 2 hours after withdrawal, actual arrival time is subject to the final successful processing time","wallet.withdraw.notes.2":"Make sure your bank account details is correct.","wallet.withdraw.notes.3":"The withdrawal bank account information must be consistent with the registered account information.","wallet.withdraw.notes.4":"The minimum amount for a single withdrawal is ৳{0} and the maximum is ৳{1};","wallet.withdraw.notes.5":"Every withdrawal you make will incur a {0}% withdrawal handling fee;","income.withdrawNow":"Withdraw Now","income.revenueRecord":"Revenue Record","income.filter.dt":"DT","income.filter.yt":"YT","income.filter.l7d":"L7D","income.filter.mtd":"MTD","income.filter.ytd":"YTD","mine.pages.share.title":"Share","mine.pages.share.referrerCode":"My Referrer Code","mine.pages.share.qrCode":"QR Code","mine.pages.share.description":"Share your QR code with your friends, they can scan it with their camera to register as your downline.","mine.pages.share.copySuccess":"Copied to clipboard","mine.header.referrerCode":"Referrer Code","mine.header.copy":"Copy","mine.pages.share.shareTo":"Share to {0}","share.appNotInstalled":"Please download the APP to enable sharing","share.productShareText":`[BandhuBuy] {url} {productName}
  29. Get it on BandhuBuy now!`,"share.inviteShareText":"[BandhuBuy] {url} Your friend invited you to register","mine.pages.myFavorite.title":"My Favorite","mine.pages.myFavorite.empty":"No favorites yet","auth.login.title":"Login","auth.login.username.placeholder":"Mobile number / Username","auth.login.password.placeholder":"Password 6-20 characters","auth.login.button":"Login","auth.login.noAccount":"Do Not Have An Account Yet?","auth.login.register":"Register","auth.login.forgotPassword":"Forgot Password?","auth.login.error.emptyUsername":"Please enter username or phone number","auth.login.error.emptyPassword":"Please enter password","auth.login.error.passwordLength":"Password should be 6-20 characters","auth.login.loading":"Logging in...","auth.login.success":"Login successful!","auth.login.error.failed":"Login failed","auth.register.title":"Register","auth.register.username.placeholder":"Username","auth.register.phone.placeholder":"+88 Mobile number","auth.register.verifyCode.placeholder":"Verification Code","auth.register.password.placeholder":"Password 6-20 characters","auth.register.referrerCode.placeholder":"Referrer Code","auth.register.getCode":"Get Code","auth.register.button":"Register","auth.register.hasAccount":"Already have account?","auth.register.loginNow":"Login Now","auth.register.error.emptyUsername":"Please enter username","auth.register.error.emptyPhone":"Please enter phone number","auth.register.error.invalidPhone":"Please enter a valid Bangladesh phone number","auth.register.error.emptyVerifyCode":"Please enter verification code","auth.register.error.emptyPassword":"Please enter password","auth.register.error.passwordLength":"Password should be 6-20 characters","auth.register.success.codeSent":"Verification code sent successfully","auth.register.success.registered":"Registration successful","auth.register.error.registrationFailed":"Registration failed","auth.forgotPassword.title":"Forgot Password","auth.forgotPassword.phone.placeholder":"Phone number","auth.forgotPassword.verifyCode.placeholder":"Verification Code","auth.forgotPassword.newPassword.placeholder":"New Password","auth.forgotPassword.confirmPassword.placeholder":"Confirm Password","auth.forgotPassword.getCode":"Get Code","auth.forgotPassword.button":"Reset Password","auth.forgotPassword.backToLogin":"Back to Login","auth.forgotPassword.error.emptyPhone":"Please enter phone number","auth.forgotPassword.error.invalidPhone":"Please enter valid phone number","auth.forgotPassword.error.emptyVerifyCode":"Please enter verification code","auth.forgotPassword.error.emptyNewPassword":"Please enter new password","auth.forgotPassword.error.passwordLength":"Password should be 6-20 characters","auth.forgotPassword.error.emptyConfirmPassword":"Please confirm your password","auth.forgotPassword.error.passwordMismatch":"Passwords do not match","auth.forgotPassword.success.codeSent":"Verification code sent successfully","auth.forgotPassword.success.passwordReset":"Password reset successfully","auth.forgotPassword.error.sendCodeFailed":"Failed to send verification code","auth.forgotPassword.error.resetFailed":"Failed to reset password","auth.forgotPassword.passwordHint":"Your password must be different from previous used password","auth.forgotPassword.hasAccount":"Already have account?","auth.forgotPassword.loginNow":"Login Now","common.loading":"Loading...","common.saving":"Saving...","common.success":"Success","common.error":"Error","common.error.request":"Request error","common.error.network":"Network error, please try another network","common.confirm":"Confirm","common.cancel":"Cancel","common.submit":"Submit","common.save":"Save","common.edit":"Edit","common.delete":"Delete","common.add":"Add","common.search":"Search","common.filter":"Filter","common.all":"All","common.none":"None","common.empty":"No data available","common.retry":"Retry","common.back":"Back","common.next":"Next","common.previous":"Previous","common.close":"Close","common.open":"Open","common.view":"View","common.more":"More","wallet.myWallet.title":"My Wallet","wallet.balance":"Wallet Balance","wallet.frozenBalance":"Frozen Balance","wallet.availableAmount":"Available Amount","wallet.recharge":"Recharge","wallet.withdrawNow":"Withdraw Now","wallet.record":"Wallet Record","wallet.filter.all":"All","wallet.filter.recharge":"Recharge","wallet.filter.withdraw":"Withdraw","wallet.filter.commission":"Commission","wallet.rechargeRecord.title":"Recharge Record","wallet.withdrawRecord.title":"Withdraw Record","wallet.frozenRecord.title":"Frozen Amount Record","wallet.frozenRecord.type.withdraw":"Withdraw Frozen","wallet.frozenRecord.type.refund":"Refund Frozen","missionCenter.title":"Mission Center","referEarn.title":"Refer & Earn","vipMembership.title":"VIP Membership","notifications.title":"Notifications","notifications.tabs.all":"All","notifications.tabs.orders":"Orders","notifications.tabs.revenue":"Revenue","notifications.tabs.account":"Account","notifications.tabs.promos":"Promos","notifications.time.sunday":"Sun","notifications.time.monday":"Mon","notifications.time.tuesday":"Tue","notifications.time.wednesday":"Wed","notifications.time.thursday":"Thu","notifications.time.friday":"Fri","notifications.time.saturday":"Sat","notifications.order.paymentSuccess.title":"Group Buy Payment Successful","notifications.order.paymentSuccess.content":"The group order you participated in [{orderId}] has been successfully paid","notifications.order.groupBuyWin.title":"Group Buy Successful","notifications.order.groupBuyWin.content":"The group order you participated in [{orderId}] has been selected","notifications.order.groupBuyLose.title":"Group Buy Successful","notifications.order.groupBuyLose.content":"The group order you participated in [{orderId}] was not selected","notifications.order.provideAddress.title":"Order provide shipping address","notifications.order.provideAddress.content":"The group order you participated in [{orderId}] Please provide your shipping address","notifications.order.groupBuyFail.title":"Group Buy Failed","notifications.order.groupBuyFail.content":"The group order you participated in [{orderId}] has failed","notifications.order.shipped.title":"Order shipped successfully","notifications.order.shipped.content":"The group order you participated in [{orderId}] has been successfully shipped","notifications.order.recycleReward.title":"Order Recycle Reward","notifications.order.recycleReward.content":"You have received the reward for order recycle","notifications.reward.referFriends.title":"Refer Friends Reward","notifications.reward.referFriends.content":"You have received the reward for refer friends","notifications.reward.groupBuy.title":"Join Group Buy Reward","notifications.reward.groupBuy.content":"You have received a reward, order ID [{orderId}]","notifications.reward.openGroupBuy.title":"Open Group Buy Reward","notifications.reward.openGroupBuy.content":"You have received a reward, order ID [{orderId}]","notifications.reward.directReferral.title":"Direct Referral Reward","notifications.reward.directReferral.content":"You have received the reward for Direct Referral","notifications.reward.checkin.title":"Check-in Reward","notifications.reward.checkin.content":"You have received the reward for Check-in","notifications.reward.firstCommission.title":"Direct Referral Reward","notifications.reward.firstCommission.content":"You have received the reward for Direct Referral","notifications.reward.secondaryCommission.title":"Direct Referral Reward","notifications.reward.secondaryCommission.content":"You have received the reward for Direct Referral","notifications.money.rechargeSuccess.title":"Recharge Successful","notifications.money.rechargeSuccess.content":"Your KLICKwallet has been successfully recharged","notifications.money.withdrawalAccountSuccess.title":"Withdrawal Successful","notifications.money.withdrawalAccountSuccess.content":"Your Revenue Account withdrawal request has been processed","notifications.money.withdrawalWalletSuccess.title":"Withdrawal Successful","notifications.money.withdrawalWalletSuccess.content":"Your KLICK wallet withdrawal request has been processed","notifications.money.withdrawalFail.title":"Withdrawal Failed","notifications.money.withdrawalFail.content":"Your withdrawal request has been failed","productDetail.title":"Product Detail","productDetail.notification.message":"{name} {action} this group {time}s ago!","productDetail.notification.opened":"opened","productDetail.notification.joined":"joined","webLink.title":"Web Link","missionCenter.signIn.title":"Continuous sign in to receive rewards","missionCenter.signIn.button":"Check-in","missionCenter.dailyMission.title":"Daily Mission","missionCenter.dailyMission.startNow":"Start Now","missionCenter.dailyMission.inviteFriends.name":"Invite Friends Earn Cash","missionCenter.dailyMission.inviteFriends.description":"Unlimited rewards","missionCenter.dailyMission.openGroupBuy.name":"Open Group Buy","missionCenter.dailyMission.openGroupBuy.description":"Win group opening rewards","missionCenter.dailyMission.joinGroupBuy.name":"Join Group Buy","missionCenter.dailyMission.joinGroupBuy.description":"Win group opening rewards","vipMembership.inviteProgress":"We still need to invite {0} friends. Can upgrade to V{1}","vipMembership.invitedFriends":"Invited Friends","vipMembership.teamMembers":"Team Members","vipMembership.l7dEarnings":"L7D Earnings","vipMembership.benefitsTiers":"VIP Benefits/Tiers","vipMembership.table.vipLevel":`VIP
  30. Level`,"vipMembership.table.invitedNo":`Invited
  31. No`,"vipMembership.table.directReferralReward":`Direct Referral
  32. Reward`,"vipMembership.table.indirectReferralReward":`Indirect Referral
  33. Reward`,"vipMembership.table.joinedGroupsNo":`Joined Groups
  34. No`,"referEarn.inviteFriends":"INVITE FRIENDS","referEarn.earnCash":"EARN CASH","referEarn.shareNow":"Share Now","referEarn.howToShare":"- How to Share and Earn Money -","referEarn.step1":"Share Invite Friends","referEarn.step2":"Your Friend Join Group","referEarn.step3":"You Get ৳{0} Reward","referEarn.invitedFriends":"Invited Friends","checkout.title":"Checkout","checkout.selected":"Selected","checkout.quantity":"Quantity","checkout.orderSummary":"Order Summary","checkout.subTotal":"SubTotal","checkout.total":"Total","checkout.selectPaymentMethod":"Select Payment Method","checkout.walletBalance":"Balance","checkout.placeOrder":"Place Order","checkout.trust.rewards":"Guaranteed rewards for ALL!","checkout.trust.refund":"Full refund if not won!","checkout.dialog.insufficientBalance":`Your wallet balance is insufficient.
  35. Please recharge!`,"checkout.dialog.rechargeDiscount":"Recharge Highest Discount 5%","checkout.dialog.rechargeNow":"Recharge Now","checkout.dialog.paymentSuccess":`Payment successful!
  36. Your order has been placed.`,"checkout.dialog.viewOrder":"View Order","checkout.dialog.paymentFailed":`Payment failed!
  37. Please try again or contact support.`,"checkout.dialog.retryPayment":"Retry Payment","checkout.dialog.retry":"Retry","checkout.dialog.gotIt":"Got it","checkout.toast.redirecting":"Redirecting to orders...","checkout.toast.retrying":"Retrying...","bestSellers.title":"Best Sellers","bestSellers.successfullyGrouped":"Successfully grouped over {0} L7D","productDetail.price":"Price","productDetail.sold":"{0} sold","productDetail.groupRules":"Group Rules","productDetail.viewRules":"View Rules","productDetail.viewRulesLinkTitle":"Group Buying Rules","productDetail.ongoingGroup":"Ongoing Group","productDetail.need":"Need","productDetail.more":"More","productDetail.joinGroup":"Join Group","productDetail.details":"Details","productDetail.home":"Home","productDetail.favorite":"Favorite","productDetail.favoriteSuccess":"Added to favorites","productDetail.unfavoriteSuccess":"Unfavorited successfully","productDetail.favoriteError":"Operation failed, please try again",upgrade:Cm,"upgrade.title":"Update Log","upgrade.newVersion":"New Version Available","upgrade.version":"Version {version}","upgrade.download":"Download Update Now","upgrade.downloading":"Downloading package, please wait...","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"Download complete, install now","upgrade.installing":"Installing...","upgrade.installIncomplete":"Installation incomplete, click to install","upgrade.restart":"Installation complete, click to restart","upgrade.goToStore":"Go to Store Now","productDetail.openGroup":"Open Group","productDetail.quantity":"Quantity","topChampions.title":"Top Champions","topChampions.top":"TOP","topChampions.invitedFriends":"Invited Friends","topChampions.l7dEarnings":"L7D Earnings","topChampions.teamMembers":"Team Members","topChampions.joinedGroups":"Joined Groups","wallet.recharge.title":"Recharge","wallet.recharge.submit":"Submit","orderDetail.deliveryPartner":"Delivery Partner","orderDetail.subTotal":"SubTotal","orderDetail.bandhuBuyWallet":"BandhuBuy Wallet","orderDetail.paymentMethod":"Payment","orderDetail.walletBalanceText":"Balance","orderDetail.walletAmountText":"Withdraw amount","orderDetail.walletFeeText":"Service Fee","productDetail.fullRefundText":"Full refund if not won + cash reward","app.notificationPermission":"You have not opened notification permissions","wallet.recharge.record":"Record","wallet.recharge.selectProvider":"Select Your Wallet Provider","wallet.recharge.depositAmount":"Deposit Amount","wallet.recharge.reminder":"Reminder: If the recharge is not successful, please select another channel. Transaction ID must be filled in correctly.","wallet.recharge.enterAmount":"Please enter recharge amount","wallet.recharge.minAmount":"Min {minAmount}","wallet.recharge.maxAmount":"Max {maxAmount}","orderDetail.rechargeDialog.title":`Your wallet balance is insufficient.
  38. Please Recharge!`,"orderDetail.rechargeDialog.confirm":"Recharge Now","orderDetail.payDialog.title":"Payment","orderDetail.payDialog.confirm":"Pay Now","orderDetail.payment.loading":"Processing Payment...","orderDetail.time.placed":"Placed On","orderDetail.time.paid":"Paid On","orderDetail.time.shipped":"Shipped On","orderDetail.time.completed":"Completed On","orderDetail.copy.success":"Copied to clipboard","wallet.unpaidOrderDialog.title":`You have unfinished top up orders,
  39. Do you want to continue?`,"wallet.unpaidOrderDialog.confirm":"View","wallet.unpaidOrderDialog.cancel":"Cancel","wallet.record.type.DT":"DT","wallet.record.type.YT":"YT","wallet.record.type.L7D":"L7D","wallet.record.type.MTD":"MTD","wallet.record.type.YTD":"YTD","login.slogan":"More group purchases, bigger rewards","common.operate.success":"Operation successful"},kb=Object.freeze(Object.defineProperty({__proto__:null,default:km,upgrade:Cm},Symbol.toStringTag,{value:"Module"})),xm={title:"发现新版本",newVersion:"新版本",version:"版本号:{version}",download:"下载",installing:"安装中...",install:"安装",restart:"重启应用",goToStore:"前往应用商店",downloading:"下载中...",downloadProgress:"已下载{downloaded}MB,共{total}MB",installIncomplete:"安装未完成"},Pm={"addressBook.title":"地址簿","addressBook.operate.title.add":"添加地址","addressBook.operate.title.edit":"编辑地址","addressBook.operate.loading":"加载中...","addressBook.operate.saving":"保存中...","addressBook.operate.form.fullName":"姓名","addressBook.operate.form.phone":"手机号码","addressBook.operate.form.phone.placeholder":"+88","addressBook.operate.form.district":"省/区","addressBook.operate.form.district.placeholder":"请选择","addressBook.operate.form.street":"楼层/单元/街道","addressBook.operate.form.street.placeholder":"详细地址","addressBook.operate.form.postcode":"邮编","addressBook.operate.form.postcode.placeholder":"请输入邮编","addressBook.operate.form.default":"默认","addressBook.operate.button.save":"保存","addressBook.operate.button.update":"更新","addressBook.operate.error.loadFailed":"加载地址详情失败","addressBook.operate.error.emptyName":"请输入姓名","addressBook.operate.error.emptyPhone":"请输入手机号码","addressBook.operate.error.emptyDistrict":"请选择省/区","addressBook.operate.error.emptyStreet":"请输入详细地址","addressBook.operate.success.update":"地址更新成功","addressBook.operate.success.save":"地址保存成功","addressBook.operate.error.saveFailed":"保存失败,请重试","addressBook.operate.error.loadPage":"页面加载失败","addressBook.delete.deleting":"删除中...","addressBook.delete.success":"地址删除成功","myOrders.title":"我的订单","myOrders.tab.all":"全部","myOrders.tab.toPay":"待支付","myOrders.tab.success":"成功","myOrders.tab.failed":"失败","myOrders.tab.reward":"奖励","myOrders.order.id":"订单号","myOrders.order.color":"颜色","myOrders.order.quantity":"数量","myOrders.selectTip":"您可以选择 {0} 个订单进行回收","myOrders.total":"总计","myOrders.recycleOrder":"回收订单","myOrders.recycleSuccess":"订单回收成功","myOrders.recycleFailed":"订单回收失败","myOrders.dialog.title":"回售订单","myOrders.dialog.notesTitle":"注意事项:","myOrders.dialog.note1":"① 您可以选择让 BandhuBuy 回售团购订单中的商品。","myOrders.dialog.note2":"② 回收价格为商品价格的 {0}%。","myOrders.dialog.note3":"③ 回收金额将分配到您的收益账户。","myOrders.dialog.priceLabel":"回售价格","myOrders.dialog.confirm":"确认","orderDetail.title":"订单详情","orderDetail.loading":"加载中...","orderDetail.congrats":"恭喜,您在这个团中中奖了!","orderDetail.receiveReward":"您已收到团购开团奖励","orderDetail.sorry":"抱歉,您在这个团中未中奖","orderDetail.waiting":"请等待本团开奖","orderDetail.paymentCountdown":"请在以下时间内完成支付:","orderDetail.status9.sellBackPrefix":"商品已回收,回收价","orderDetail.status9.receivePrefix":"您已获得","orderDetail.status9.rewardSuffix":"开团奖励","orderDetail.address.add":"请填写收货地址","orderDetail.address.name":"收件人","orderDetail.address.orderNo":"订单号","orderDetail.address.color":"颜色","orderDetail.address.quantity":"数量","orderDetail.summary.title":"订单汇总","orderDetail.summary.subtotal":"小计","orderDetail.payment.title":"支付方式","orderDetail.payment.placedOn":"下单时间","orderDetail.button.cancel":"取消","orderDetail.button.share":"立即分享","orderDetail.button.pay":"立即支付","orderDetail.dialog.cancel.title":"确定要取消此订单吗?","orderDetail.dialog.cancel.confirm":"是,取消订单","orderDetail.dialog.cancel.keep":"保留订单","orderDetail.cancel.loading":"正在取消订单...","orderDetail.cancel.success":"订单已成功取消!","orderDetail.cancel.error":"取消订单失败,请重试。","orderDetail.payment.success":"支付成功","wallet.withdraw.success":"提现申请提交成功","wallet.withdraw.fail":"提现申请提交失败,请重试","addressBook.delete.confirm":"确认删除","addressBook.delete.message":"确定要删除这个地址吗?","addressBook.delete.button":"删除","addressBook.tag.default":"默认","addressBook.button.add":"添加新地址","addressBook.select.binding":"正在绑定地址...","addressBook.select.success":"地址绑定成功!","addressBook.select.failed":"绑定地址失败,请重试。","myProfile.title":"个人资料","myProfile.avatar":"头像","myProfile.userId":"用户ID","myProfile.userName":"用户名","myProfile.mobileNumber":"手机号","myProfile.bankName":"银行名称","myProfile.bankAccountName":"开户名","myProfile.bankAccountNo":"银行账号","myProfile.upload.sizeLimit":"图片大小不能超过5MB","myProfile.upload.uploading":"上传中...","myProfile.upload.success":"头像更新成功","myProfile.upload.error":"更新头像失败","setting.title":"设置","setting.changePassword":"修改密码","setting.language":"语言","setting.policies":"隐私政策","setting.termsOfService":"用户服务协议","setting.refund":"退货退款政策","setting.logout":"退出登录","setting.version":"版本 {0}","home.missionCenter":"任务中心","home.refer&earn":"推荐赚钱","home.vip":"VIP会员","home.bestSellers":"热销商品","home.topChampions":"顶级冠军","home.news":"新品","mine.auth.register":"注册","mine.auth.login":"登录","mine.wallet.title":"BandhuBuy钱包","mine.wallet.balance":"钱包账户余额","mine.wallet.recharge":"充值","mine.group.title":"我的团队","mine.group.all":"全部团队","mine.group.toPay":"待支付","mine.group.success":"成功","mine.group.failed":"失败","mine.group.reward":"奖励","mine.menu.profile":"我的资料","mine.menu.address":"地址簿","mine.menu.share":"分享","mine.menu.favorite":"我的收藏","mine.menu.chat":"在线客服","mine.menu.activity":"活动群组","home.priceTab.allPrice":"全部价格","home.priceTab.300spot":"300积分","home.priceTab.500spot":"500积分","home.priceTab.1000spot":"1000积分","home.priceTab.2000spot":"2000积分","home.priceTab.3000spot":"3000积分","income.title":"收益中心","income.totalEarnings":"总收益","income.accountBalance":"收入账户余额","income.settledAmount":"已结算金额","income.pendingAmount":"待结算金额","income.tdEarnings":"今日收益","income.ydEarnings":"昨日收益","income.mtdEarnings":"本月收益","income.myGroupData":"我的团队数据","income.withdrawNow":"立即提现","income.revenueRecord":"收益记录","income.filter.dt":"今日","income.filter.yt":"昨日","income.filter.l7d":"近7天","income.filter.mtd":"本月","income.filter.ytd":"本年","mine.pages.share.title":"分享","mine.pages.share.referrerCode":"我的推荐码","mine.pages.share.qrCode":"二维码","mine.pages.share.description":"与您的朋友分享二维码,他们可以用相机扫描以注册成为您的下线。","mine.pages.share.copySuccess":"已复制到剪贴板","mine.header.referrerCode":"邀请码","mine.header.copy":"复制","mine.pages.share.shareTo":"分享到{0}","share.appNotInstalled":"请下载APP以启用分享功能","share.productShareText":`[BandhuBuy] {url} {productName}
  40. 快来 BandhuBuy 购买吧!`,"share.inviteShareText":"[BandhuBuy] {url} 你的好友邀请你注册","mine.pages.myFavorite.title":"我的收藏","mine.pages.myFavorite.empty":"暂无收藏","wallet.withdraw.title":"提现","wallet.withdraw.balance":"钱包可用金额","wallet.withdraw.balanceRevenue":"收益可用金额","wallet.withdraw.balanceWallet":"钱包可用金额","wallet.withdraw.info":"提现信息","wallet.withdraw.form.bankName":"银行名称","wallet.withdraw.form.bankAccountName":"开户名","wallet.withdraw.form.bankAccountNo":"银行账号","wallet.withdraw.form.amount":"提现金额","wallet.withdraw.form.allAmount":"全部金额","wallet.withdraw.form.submit":"提交","wallet.withdraw.record":"记录","wallet.withdraw.error.bankName":"请选择银行","wallet.withdraw.error.bankAccountName":"请输入开户名","wallet.withdraw.error.bankAccountNo":"请输入银行账号","wallet.withdraw.error.amount":"请输入提现金额","wallet.withdraw.notes.title":"注意:","wallet.withdraw.notes.1":"提现审核时间为上午9点至晚上10点。预计提现后2小时内到账,实际到账时间以最终处理成功时间为准。","wallet.withdraw.notes.2":"请确保您的银行账户信息正确。","wallet.withdraw.notes.3":"提现银行账户信息必须与注册账户信息一致。","wallet.withdraw.notes.4":"单笔提现最低৳{0},最高৳{1};","wallet.withdraw.notes.5":"每笔提现将收取{0}%的提现手续费;","search.placeholder":"搜索","search.filterPrice":"全部价格","search.filterCategory":"全部分类","search.filterSellers":"热销","search.filterSellers1":"上新","auth.login.title":"登录","auth.login.username.placeholder":"手机号码 / 用户名","auth.login.password.placeholder":"密码 6-20位字符","auth.login.button":"登录","auth.login.noAccount":"还没有账户?","auth.login.register":"注册","auth.login.forgotPassword":"忘记密码?","auth.login.error.emptyUsername":"请输入用户名或手机号码","auth.login.error.emptyPassword":"请输入密码","auth.login.error.passwordLength":"密码应为6-20位字符","auth.login.loading":"登录中...","auth.login.success":"登录成功!","auth.login.error.failed":"登录失败","auth.register.title":"注册","auth.register.username.placeholder":"用户名","auth.register.phone.placeholder":"+88 手机号码","auth.register.verifyCode.placeholder":"验证码","auth.register.password.placeholder":"密码 6-20位字符","auth.register.referrerCode.placeholder":"推荐码","auth.register.getCode":"获取验证码","auth.register.button":"注册","auth.register.hasAccount":"已有账户?","auth.register.loginNow":"立即登录","auth.register.error.emptyUsername":"请输入用户名","auth.register.error.emptyPhone":"请输入手机号码","auth.register.error.invalidPhone":"请输入有效的孟加拉手机号","auth.register.error.emptyVerifyCode":"请输入验证码","auth.register.error.emptyPassword":"请输入密码","auth.register.error.passwordLength":"密码应为6-20位字符","auth.register.success.codeSent":"验证码发送成功","auth.register.success.registered":"注册成功","auth.register.error.registrationFailed":"注册失败","auth.forgotPassword.title":"忘记密码","auth.forgotPassword.phone.placeholder":"手机号码","auth.forgotPassword.verifyCode.placeholder":"验证码","auth.forgotPassword.newPassword.placeholder":"新密码","auth.forgotPassword.confirmPassword.placeholder":"确认密码","auth.forgotPassword.getCode":"获取验证码","auth.forgotPassword.button":"重置密码","auth.forgotPassword.backToLogin":"返回登录","auth.forgotPassword.error.emptyPhone":"请输入手机号码","auth.forgotPassword.error.invalidPhone":"请输入有效的手机号码","auth.forgotPassword.error.emptyVerifyCode":"请输入验证码","auth.forgotPassword.error.emptyNewPassword":"请输入新密码","auth.forgotPassword.error.passwordLength":"密码应为6-20位字符","auth.forgotPassword.error.emptyConfirmPassword":"请确认您的密码","auth.forgotPassword.error.passwordMismatch":"两次密码不一致","auth.forgotPassword.success.codeSent":"验证码发送成功","auth.forgotPassword.success.passwordReset":"密码重置成功","auth.forgotPassword.error.sendCodeFailed":"发送验证码失败","auth.forgotPassword.error.resetFailed":"重置密码失败","auth.forgotPassword.passwordHint":"您的密码必须与之前使用的密码不同","auth.forgotPassword.hasAccount":"已有账户?","auth.forgotPassword.loginNow":"立即登录","common.loading":"加载中...","common.saving":"保存中...","common.success":"成功","common.error":"错误","common.error.request":"请求错误","common.error.network":"网络错误,换个网络试试","common.confirm":"确认","common.cancel":"取消","common.submit":"提交","common.save":"保存","common.edit":"编辑","common.delete":"删除","common.add":"添加","common.search":"搜索","common.filter":"筛选","common.all":"全部","common.none":"无","common.empty":"暂无数据","common.retry":"重试","common.back":"返回","common.next":"下一步","common.previous":"上一步","common.close":"关闭","common.open":"打开","common.view":"查看","common.more":"更多","wallet.myWallet.title":"我的钱包","wallet.balance":"钱包余额","wallet.frozenBalance":"冻结余额","wallet.availableAmount":"可用金额","wallet.recharge":"充值","wallet.withdrawNow":"立即提现","wallet.record":"钱包记录","wallet.filter.all":"全部","wallet.filter.recharge":"充值","wallet.filter.withdraw":"提现","wallet.filter.commission":"佣金","wallet.rechargeRecord.title":"充值记录","wallet.withdrawRecord.title":"提现记录","wallet.frozenRecord.title":"冻结金额记录","wallet.frozenRecord.type.withdraw":"提现冻结","wallet.frozenRecord.type.refund":"退款冻结","missionCenter.title":"任务中心","referEarn.title":"推荐赚钱","vipMembership.title":"VIP会员","notifications.title":"通知","notifications.tabs.all":"全部","notifications.tabs.orders":"订单","notifications.tabs.revenue":"收益","notifications.tabs.account":"账户","notifications.tabs.promos":"促销","notifications.time.sunday":"周日","notifications.time.monday":"周一","notifications.time.tuesday":"周二","notifications.time.wednesday":"周三","notifications.time.thursday":"周四","notifications.time.friday":"周五","notifications.time.saturday":"周六","notifications.order.paymentSuccess.title":"团购支付成功","notifications.order.paymentSuccess.content":"您参与的团购订单[{orderId}]已支付成功","notifications.order.groupBuyWin.title":"团购成功","notifications.order.groupBuyWin.content":"您参与的团购订单[{orderId}]已中选","notifications.order.groupBuyLose.title":"团购成功","notifications.order.groupBuyLose.content":"您参与的团购订单[{orderId}]未中选","notifications.order.provideAddress.title":"订单提供收货地址","notifications.order.provideAddress.content":"您参与的团购订单[{orderId}]请提供收货地址","notifications.order.groupBuyFail.title":"团购失败","notifications.order.groupBuyFail.content":"您参与的团购订单[{orderId}]已失败","notifications.order.shipped.title":"订单发货成功","notifications.order.shipped.content":"您参与的团购订单[{orderId}]已成功发货","notifications.order.recycleReward.title":"订单回收奖励","notifications.order.recycleReward.content":"您已收到订单回收奖励","notifications.reward.referFriends.title":"推荐好友奖励","notifications.reward.referFriends.content":"您已获得推荐好友奖励","notifications.reward.groupBuy.title":"参团奖励","notifications.reward.groupBuy.content":"您已获得奖励,订单号[{orderId}]","notifications.reward.openGroupBuy.title":"开团奖励","notifications.reward.openGroupBuy.content":"您已获得开团奖励,订单号[{orderId}]","notifications.reward.directReferral.title":"直接推荐奖励","notifications.reward.directReferral.content":"您已获得直接推荐奖励","notifications.reward.checkin.title":"签到奖励","notifications.reward.checkin.content":"您已获得签到奖励","notifications.reward.firstCommission.title":"Direct Referral Reward","notifications.reward.firstCommission.content":"You have received the reward for Direct Referral","notifications.reward.secondaryCommission.title":"Direct Referral Reward","notifications.reward.secondaryCommission.content":"You have received the reward for Direct Referral","notifications.money.rechargeSuccess.title":"充值成功","notifications.money.rechargeSuccess.content":"您的KLICK钱包已成功充值","notifications.money.withdrawalAccountSuccess.title":"提现成功","notifications.money.withdrawalAccountSuccess.content":"您的收益账户提现请求已处理","notifications.money.withdrawalWalletSuccess.title":"提现成功","notifications.money.withdrawalWalletSuccess.content":"您的KLICK钱包提现请求已处理","notifications.money.withdrawalFail.title":"提现失败","notifications.money.withdrawalFail.content":"您的提现请求已失败","productDetail.title":"产品详情","productDetail.notification.message":"{name} {time}秒前{action}了这个团购","productDetail.notification.opened":"发起","productDetail.notification.joined":"加入","webLink.title":"网页链接","missionCenter.signIn.title":"连续签到获得奖励","missionCenter.signIn.button":"签到","missionCenter.dailyMission.title":"每日任务","missionCenter.dailyMission.startNow":"立即开始","missionCenter.dailyMission.inviteFriends.name":"邀请好友赚现金","missionCenter.dailyMission.inviteFriends.description":"无限奖励","missionCenter.dailyMission.openGroupBuy.name":"开团购买","missionCenter.dailyMission.openGroupBuy.description":"赢取开团奖励","missionCenter.dailyMission.joinGroupBuy.name":"参团购买","missionCenter.dailyMission.joinGroupBuy.description":"赢取开团奖励","vipMembership.inviteProgress":"还需要邀请 {0} 位朋友,可升级到 V{1}","vipMembership.invitedFriends":"邀请好友","vipMembership.teamMembers":"团队成员","vipMembership.l7dEarnings":"近7日收益","vipMembership.benefitsTiers":"VIP权益/等级","vipMembership.table.vipLevel":`VIP
  41. 等级`,"vipMembership.table.invitedNo":`邀请
  42. 人数`,"vipMembership.table.directReferralReward":`直接推荐
  43. 奖励`,"vipMembership.table.indirectReferralReward":`间接推荐
  44. 奖励`,"vipMembership.table.joinedGroupsNo":`加入群组
  45. 数量`,"referEarn.inviteFriends":"邀请朋友","referEarn.earnCash":"赚取现金","referEarn.shareNow":"立即分享","referEarn.howToShare":"- 如何分享赚钱 -","referEarn.step1":"分享邀请朋友","referEarn.step2":"朋友加入群组","referEarn.step3":"您获得 ৳{0} 奖励","referEarn.invitedFriends":"邀请的朋友","checkout.title":"结账","checkout.selected":"已选择","checkout.quantity":"数量","checkout.orderSummary":"订单摘要","checkout.subTotal":"小计","checkout.total":"总计","checkout.selectPaymentMethod":"选择支付方式","checkout.walletBalance":"余额","checkout.placeOrder":"下单","checkout.trust.rewards":"人人有奖,保证获得奖励!","checkout.trust.refund":"未中奖全额退款!","checkout.dialog.insufficientBalance":`您的钱包余额不足。
  46. 请充值!`,"checkout.dialog.rechargeDiscount":"充值最高优惠5%","checkout.dialog.rechargeNow":"立即充值","checkout.dialog.paymentSuccess":`支付成功!
  47. 您的订单已下单。`,"checkout.dialog.viewOrder":"查看订单","checkout.dialog.paymentFailed":`支付失败!
  48. 请重试或联系客服。`,"checkout.dialog.retryPayment":"重试支付","checkout.dialog.retry":"重试","checkout.dialog.gotIt":"知道了","checkout.toast.redirecting":"正在跳转到订单...","checkout.toast.retrying":"重试中...","bestSellers.title":"热销榜","bestSellers.successfullyGrouped":"近7日成功拼团超过 {0}","productDetail.price":"价格","productDetail.sold":"已售 {0}","productDetail.groupRules":"拼团规则","productDetail.viewRules":"查看规则","productDetail.viewRulesLinkTitle":"拼团规则","productDetail.ongoingGroup":"进行中的拼团","productDetail.need":"还需","productDetail.more":"人","productDetail.joinGroup":"参团","productDetail.details":"详情","productDetail.home":"首页","productDetail.favorite":"收藏","productDetail.favoriteSuccess":"收藏成功","productDetail.unfavoriteSuccess":"已取消收藏","productDetail.favoriteError":"操作失败,请重试",upgrade:xm,"upgrade.title":"更新日志","upgrade.newVersion":"发现新版本","upgrade.version":"版本 {version}","upgrade.download":"立即下载更新","upgrade.downloading":"安装包下载中,请稍后","upgrade.downloadProgress":"{0}M/{1}M","upgrade.install":"下载完成,立即安装","upgrade.installing":"正在安装...","upgrade.installIncomplete":"安装未完成,点击安装","upgrade.restart":"安装完毕,点击重启","upgrade.goToStore":"立即跳转更新","productDetail.openGroup":"开团","productDetail.quantity":"数量","topChampions.title":"冠军榜","topChampions.top":"TOP","topChampions.invitedFriends":"邀请好友","topChampions.l7dEarnings":"近7日收益","topChampions.teamMembers":"团队成员","topChampions.joinedGroups":"加入群组","wallet.recharge.title":"充值","wallet.recharge.submit":"提交","orderDetail.deliveryPartner":"物流伙伴","orderDetail.subTotal":"小计","orderDetail.bandhuBuyWallet":"BandhuBuy 钱包","orderDetail.paymentMethod":"支付","orderDetail.walletBalanceText":"余额","orderDetail.walletAmountText":"提现金额","orderDetail.walletFeeText":"服务费","productDetail.fullRefundText":"未中奖全额退款 + 现金奖励","app.notificationPermission":"您还没有打开通知权限","wallet.recharge.record":"记录","wallet.recharge.selectProvider":"选择您的钱包提供商","wallet.recharge.depositAmount":"存款金额","wallet.recharge.reminder":"提醒:如果充值不成功,请选择其他渠道。交易ID必须正确填写。","wallet.recharge.enterAmount":"请输入充值金额","wallet.recharge.minAmount":"最小值 {minAmount}","wallet.recharge.maxAmount":"最大值 {maxAmount}","orderDetail.rechargeDialog.title":`您的钱包余额不足。
  49. 请充值!`,"orderDetail.rechargeDialog.confirm":"立即充值","orderDetail.payDialog.title":"支付","orderDetail.payDialog.confirm":"立即支付","orderDetail.time.placed":"下单时间","orderDetail.time.paid":"支付时间","orderDetail.time.shipped":"发货时间","orderDetail.time.completed":"完成时间","orderDetail.copy.success":"已复制到剪贴板","orderDetail.payment.loading":"支付中...","wallet.unpaidOrderDialog.title":`您有未完成的充值订单,
  50. 是否继续?`,"wallet.unpaidOrderDialog.confirm":"查看","wallet.unpaidOrderDialog.cancel":"取消","wallet.record.type.DT":"今天","wallet.record.type.YT":"昨天","wallet.record.type.L7D":"近7天","wallet.record.type.MTD":"本月","wallet.record.type.YTD":"本年","login.slogan":"更多团购,更多奖励","common.operate.success":"操作成功"},xb=Object.freeze(Object.defineProperty({__proto__:null,default:Pm,upgrade:xm},Symbol.toStringTag,{value:"Module"}));/**
  51. * @vue/shared v3.4.21
  52. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  53. * @license MIT
  54. **/function Ju(e,t){const n=new Set(e.split(","));return o=>n.has(o)}const Xe={},Lr=[],hn=()=>{},Pb=()=>!1,nl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qu=e=>e.startsWith("onUpdate:"),pe=Object.assign,Zu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Eb=Object.prototype.hasOwnProperty,Se=(e,t)=>Eb.call(e,t),ce=Array.isArray,Mr=e=>hi(e)==="[object Map]",Em=e=>hi(e)==="[object Set]",Ib=e=>hi(e)==="[object RegExp]",le=e=>typeof e=="function",be=e=>typeof e=="string",os=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",ed=e=>(Je(e)||le(e))&&le(e.then)&&le(e.catch),Im=Object.prototype.toString,hi=e=>Im.call(e),Ab=e=>hi(e).slice(8,-1),bt=e=>hi(e)==="[object Object]",td=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Es=Ju(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ol=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ob=/-(\w)/g,En=ol(e=>e.replace(Ob,(t,n)=>n?n.toUpperCase():"")),Lb=/\B([A-Z])/g,no=ol(e=>e.replace(Lb,"-$1").toLowerCase()),rl=ol(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vl=ol(e=>e?`on${rl(e)}`:""),Io=(e,t)=>!Object.is(e,t),Zt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},xa=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Mb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Rb=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let wf;const Am=()=>wf||(wf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function la(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=be(o)?Pa(o):la(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(be(e)||Je(e))return e}const Db=/;(?![^(]*\))/g,Nb=/:([^]+)/,$b=/\/\*[^]*?\*\//g;function Pa(e){const t={};return e.replace($b,"").split(Db).forEach(n=>{if(n){const o=n.split(Nb);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Bb(e){let t="";if(!e||be(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:no(n);(be(o)||typeof o=="number")&&(t+=`${r}:${o};`)}return t}function Om(e){let t="";if(be(e))t=e;else if(ce(e))for(let n=0;n<e.length;n++){const o=Om(e[n]);o&&(t+=o+" ")}else if(Je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ub=Ju(Fb);function Lm(e){return!!e||e===""}const un=e=>be(e)?e:e==null?"":ce(e)||Je(e)&&(e.toString===Im||!le(e.toString))?JSON.stringify(e,Mm,2):String(e),Mm=(e,t)=>t&&t.__v_isRef?Mm(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[ql(o,s)+" =>"]=r,n),{})}:Em(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ql(n))}:os(t)?ql(t):Je(t)&&!ce(t)&&!bt(t)?String(t):t,ql=(e,t="")=>{var n;return os(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Vb=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"],qb=Vb.map(e=>"uni-"+e),Hb=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map(e=>"uni-"+e),Wb=["list-item"].map(e=>"uni-"+e);function jb(e){if(Wb.indexOf(e)!==-1)return!1;const t="uni-"+e.replace("v-uni-","");return qb.indexOf(t)!==-1||Hb.indexOf(t)!==-1}const sl=`
  55. `,zb=44,Gb=50,Rm="UNI_LOCALE",Fc=["%","%"],Dm="#007aff",Kb=/^([a-z-]+:)?\/\//i,Yb=/^data:.*,.*/,Xb="WEB_INVOKE_APPSERVICE",Qn="onShow",Ao="onHide",Nm="onLaunch",zs="onError",il="onThemeChange",$m="onPageNotFound",Bm="onUnhandledRejection",Jb="onExit",rs="onLoad",Qb="onReady",nd="onUnload",Fm="onInit",Um="onSaveExitState",al="onResize",Ea="onBackPress",Vr="onPageScroll",Vm="onTabItemTap",pi="onReachBottom",od="onPullDownRefresh",qm="onShareTimeline",Hm="onShareChat",Wm="onAddToFavorites",jm="onShareAppMessage",ll="onNavigationBarButtonTap",Zb="onNavigationBarChange",zm="onNavigationBarSearchInputClicked",Gm="onNavigationBarSearchInputChanged",Km="onNavigationBarSearchInputConfirmed",Ym="onNavigationBarSearchInputFocusChanged",Xm="onAppEnterForeground",Jm="onAppEnterBackground",Qm="onWebInvokeAppService",eS="onWxsInvokeCallMethod";function tS(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function Zm(e){return e.indexOf("/")===0}function Gs(e){return Zm(e)?e:"/"+e}function nS(e){return Zm(e)?e.slice(1):e}const oS=(e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n};function Uc(e,t){for(const n in t)e.style[n]=t[n]}function Bt(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Tr(e,t){e=e||{},be(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?le(e.success)&&e.success(t):le(e.fail)&&e.fail(t),le(e.complete)&&e.complete(t)}function rS(e){let t={};return bt(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}function sS(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;function e(){return this}return typeof e()!="undefined"?e():function(){return new Function("return this")()}()}let Li;function ey(){return Li||(Li=sS(),Li)}function iS(e){return!!e.appContext}function cl(e){return e&&(iS(e)?e.proxy:e)}function ty(e){if(!e)return;let t=e.type.name;for(;t&&jb(no(t));)e=e.parent,t=e.type.name;return e.proxy}function bf(e){return e.nodeType===1}function aS(e,t=!1){const{vnode:n}=e;if(bf(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(o.shapeFlag&16){const r=o.children.filter(s=>s.el&&bf(s.el));if(r.length>0)return t?r.map(s=>s.el):r[0].el}return t?n.el?[n.el]:[]:n.el}function ut(e){const t=ey();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach(o=>{n[o]=e[o]}),la(n)}else if(e instanceof Map){const n={};return e.forEach((o,r)=>{n[r]=o}),la(n)}else{if(be(e))return Pa(e);if(ce(e)){const n={};for(let o=0;o<e.length;o++){const r=e[o],s=be(r)?Pa(r):ut(r);if(s)for(const i in s)n[i]=s[i]}return n}else return la(e)}}function tt(e){let t="";const n=ey();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach(o=>{e[o]&&(t+=o+" ")});else if(e instanceof Map)e.forEach((o,r)=>{o&&(t+=r+" ")});else if(ce(e))for(let o=0;o<e.length;o++){const r=tt(e[o]);r&&(t+=r+" ")}else t=Om(e);return t.trim()}function lS(e){if(!e)return null;let{class:t,style:n}=e;return t&&!be(t)&&(e.class=tt(t)),n&&(e.style=ut(n)),e}function Sf(e){return En(e.substring(5))}const cS=Bt(e=>{e=e||(r=>r.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(r,s){if(r.startsWith("data-")&&e(this)){const i=this.__uniDataset||(this.__uniDataset={});i[Sf(r)]=s}n.call(this,r,s)};const o=t.removeAttribute;t.removeAttribute=function(r){this.__uniDataset&&r.startsWith("data-")&&e(this)&&delete this.__uniDataset[Sf(r)],o.call(this,r)}});function rd(e){return pe({},e.dataset,e.__uniDataset)}const uS=new RegExp(`"[^"]+"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px`,"g");function dS(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return Math.round(o/10)*10/n}const fS={unit:"rem",unitRatio:10/320,unitPrecision:5};function hS(e,t,n){return o=>o.replace(uS,(r,s)=>{if(!s)return r;const i=dS(parseFloat(s)*t,n);return i===0?"0":`${i}${e}`})}function qr(e){return{passive:e}}function Vc(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:rd(e),offsetTop:n,offsetLeft:o}}function pS(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then(()=>{o.add&&o.add(r)})}return new Promise(r=>{const s=document.createElement("style"),i=[];if(n){const{style:a,weight:l,stretch:c,unicodeRange:u,variant:d,featureSettings:f}=n;a&&i.push(`font-style:${a}`),l&&i.push(`font-weight:${l}`),c&&i.push(`font-stretch:${c}`),u&&i.push(`unicode-range:${u}`),d&&i.push(`font-variant:${d}`),f&&i.push(`font-feature-settings:${f}`)}s.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(s),r()})}function gS(e,t,n){if(be(e)){const a=document.querySelector(e);if(a){const{top:l}=a.getBoundingClientRect();e=l+window.pageYOffset;const c=document.querySelector("uni-page-head");c&&(e-=c.offsetHeight)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:s}=o;if(e=Math.min(e,s-r),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY===e)return;const i=a=>{if(a<=0){window.scrollTo(0,e);return}const l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/a*10),i(a-10)})};i(t)}function qc(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ny(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=qc(e[n])}catch(o){t[n]=e[n]}}),t}const mS=/\+/g;function yS(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const s=o[r].replace(mS," ");let i=s.indexOf("="),a=qc(i<0?s:s.slice(0,i)),l=i<0?null:qc(s.slice(i+1));if(a in t){let c=t[a];ce(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function vS(e){const[t,n]=e.split("?",2);return{path:t,query:yS(n||"")}}function oy(e,t,{clearTimeout:n,setTimeout:o}){let r;const s=function(){n(r),r=o(()=>e.apply(this,arguments),t)};return s.cancel=function(){n(r)},s}class ry{constructor(t,n){this.id=t,this.listener={},this.emitCache=[],n&&Object.keys(n).forEach(o=>{this.on(o,n[o])})}emit(t,...n){const o=this.listener[t];if(!o)return this.emitCache.push({eventName:t,args:n});o.forEach(r=>{r.fn.apply(r.fn,n)}),this.listener[t]=o.filter(r=>r.type!=="once")}on(t,n){this._addListener(t,"on",n),this._clearCache(t)}once(t,n){this._addListener(t,"once",n),this._clearCache(t)}off(t,n){const o=this.listener[t];if(o)if(n)for(let r=0;r<o.length;)o[r].fn===n&&(o.splice(r,1),r--),r++;else delete this.listener[t]}_clearCache(t){for(let n=0;n<this.emitCache.length;n++){const o=this.emitCache[n],r=t?o.eventName===t?t:null:o.eventName;if(!r)continue;if(typeof this.emit.apply(this,[r,...o.args])=="number"){this.emitCache.pop();continue}this.emitCache.splice(n,1),n--}}_addListener(t,n,o){(this.listener[t]||(this.listener[t]=[])).push({fn:o,type:n})}}const _S=[Fm,rs,Qn,Ao,nd,Ea,Vr,Vm,pi,od,qm,jm,Hm,Wm,Um,ll,zm,Gm,Km,Ym];function wS(e){return[rs,Qn].indexOf(e)>-1}function bS(e){return _S.indexOf(e)>-1}const sy=[Qn,Ao,Nm,zs,il,$m,Bm,Jb,Fm,rs,Qb,nd,al,Ea,Vr,Vm,pi,od,qm,Wm,jm,Hm,Um,ll,zm,Gm,Km,Ym];function SS(e,t,n=!0){return n&&!le(t)?!1:sy.indexOf(e)>-1?!0:e.indexOf("on")===0}let Hc;const iy=[];function TS(e){if(Hc)return e(Hc);iy.push(e)}function CS(e){Hc=e,iy.forEach(t=>t(e))}const kS=Bt((e,t)=>t(e)),ay=function(){};ay.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;for(o;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var s=o.length-1;s>=0;s--)if(o[s].fn===t||o[s].fn._===t||o[s]._id===t){o.splice(s,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var ly=ay;const Tf={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function xS(e){return e&&e in Tf?Tf[e]:e}function PS(e){return e==="black"?"#000000":"#ffffff"}function Cf(e,t,n){if(be(t)&&t.startsWith("@")){const o=t.replace("@","");let r=e[o]||t;switch(n){case"titleColor":r=PS(r);break;case"borderStyle":r=xS(r);break}return r}return t}function Ia(e,t={},n="light"){const o=t[n],r={};return typeof o=="undefined"||!e?e:(Object.keys(e).forEach(s=>{const i=e[s],a=()=>bt(i)?Ia(i,t,n):ce(i)?i.map(l=>bt(l)?Ia(l,t,n):Cf(o,l)):Cf(o,i,s);r[s]=a()}),r)}/**
  56. * @dcloudio/uni-h5-vue v3.4.21
  57. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  58. * @license MIT
  59. **/let Kt;class cy{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Kt,!t&&Kt&&(this.index=(Kt.scopes||(Kt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Kt;try{return Kt=this,t()}finally{Kt=n}}}on(){Kt=this}off(){Kt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function sd(e){return new cy(e)}function ES(e,t=Kt){t&&t.active&&t.effects.push(e)}function uy(){return Kt}function IS(e){Kt&&Kt.cleanups.push(e)}let lr;class id{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ES(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(AS(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),gr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=To,n=lr;try{return To=!0,lr=this,this._runnings++,kf(this),this.fn()}finally{xf(this),this._runnings--,lr=n,To=t}}stop(){var t;this.active&&(kf(this),xf(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function AS(e){return e.value}function kf(e){e._trackId++,e._depsLength=0}function xf(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)dy(e.deps[t],e);e.deps.length=e._depsLength}}function dy(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let To=!0,Wc=0;const fy=[];function pr(){fy.push(To),To=!1}function gr(){const e=fy.pop();To=e===void 0?!0:e}function ad(){Wc++}function ld(){for(Wc--;!Wc&&jc.length;)jc.shift()()}function hy(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&dy(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const jc=[];function py(e,t,n){ad();for(const o of e.keys()){let r;o._dirtyLevel<t&&(r!=null?r:r=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(r!=null?r:r=e.get(o)===o._trackId)&&(o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&jc.push(o.scheduler)))}ld()}const gy=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Aa=new WeakMap,cr=Symbol(""),zc=Symbol("");function zt(e,t,n){if(To&&lr){let o=Aa.get(e);o||Aa.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=gy(()=>o.delete(n))),hy(lr,r)}}function Kn(e,t,n,o,r,s){const i=Aa.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ce(e)){const l=Number(o);i.forEach((c,u)=>{(u==="length"||!os(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ce(e)?td(n)&&a.push(i.get("length")):(a.push(i.get(cr)),Mr(e)&&a.push(i.get(zc)));break;case"delete":ce(e)||(a.push(i.get(cr)),Mr(e)&&a.push(i.get(zc)));break;case"set":Mr(e)&&a.push(i.get(cr));break}ad();for(const l of a)l&&py(l,4);ld()}function OS(e,t){var n;return(n=Aa.get(e))==null?void 0:n.get(t)}const LS=Ju("__proto__,__v_isRef,__isVue"),yy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(os)),Pf=MS();function MS(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Le(this);for(let s=0,i=this.length;s<i;s++)zt(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(Le)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){pr(),ad();const o=Le(this)[t].apply(this,n);return ld(),gr(),o}}),e}function RS(e){const t=Le(this);return zt(t,"has",e),t.hasOwnProperty(e)}class vy{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?GS:Sy:s?by:wy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ce(t);if(!r){if(i&&Se(Pf,n))return Reflect.get(Pf,n,o);if(n==="hasOwnProperty")return RS}const a=Reflect.get(t,n,o);return(os(n)?yy.has(n):LS(n))||(r||zt(t,"get",n),s)?a:dt(a)?i&&td(n)?a:a.value:Je(a)?r?Cy(a):Ie(a):a}}class _y extends vy{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const l=Hr(s);if(!Oa(o)&&!Hr(o)&&(s=Le(s),o=Le(o)),!ce(t)&&dt(s)&&!dt(o))return l?!1:(s.value=o,!0)}const i=ce(t)&&td(n)?Number(n)<t.length:Se(t,n),a=Reflect.set(t,n,o,r);return t===Le(r)&&(i?Io(o,s)&&Kn(t,"set",n,o):Kn(t,"add",n,o)),a}deleteProperty(t,n){const o=Se(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&Kn(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!os(n)||!yy.has(n))&&zt(t,"has",n),o}ownKeys(t){return zt(t,"iterate",ce(t)?"length":cr),Reflect.ownKeys(t)}}class DS extends vy{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const NS=new _y,$S=new DS,BS=new _y(!0),cd=e=>e,ul=e=>Reflect.getPrototypeOf(e);function Mi(e,t,n=!1,o=!1){e=e.__v_raw;const r=Le(e),s=Le(t);n||(Io(t,s)&&zt(r,"get",t),zt(r,"get",s));const{has:i}=ul(r),a=o?cd:n?fd:Ks;if(i.call(r,t))return a(e.get(t));if(i.call(r,s))return a(e.get(s));e!==r&&e.get(t)}function Ri(e,t=!1){const n=this.__v_raw,o=Le(n),r=Le(e);return t||(Io(e,r)&&zt(o,"has",e),zt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Di(e,t=!1){return e=e.__v_raw,!t&&zt(Le(e),"iterate",cr),Reflect.get(e,"size",e)}function Ef(e){e=Le(e);const t=Le(this);return ul(t).has.call(t,e)||(t.add(e),Kn(t,"add",e,e)),this}function If(e,t){t=Le(t);const n=Le(this),{has:o,get:r}=ul(n);let s=o.call(n,e);s||(e=Le(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Io(t,i)&&Kn(n,"set",e,t):Kn(n,"add",e,t),this}function Af(e){const t=Le(this),{has:n,get:o}=ul(t);let r=n.call(t,e);r||(e=Le(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Kn(t,"delete",e,void 0),s}function Of(){const e=Le(this),t=e.size!==0,n=e.clear();return t&&Kn(e,"clear",void 0,void 0),n}function Ni(e,t){return function(o,r){const s=this,i=s.__v_raw,a=Le(i),l=t?cd:e?fd:Ks;return!e&&zt(a,"iterate",cr),i.forEach((c,u)=>o.call(r,l(c),l(u),s))}}function $i(e,t,n){return function(...o){const r=this.__v_raw,s=Le(r),i=Mr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...o),u=n?cd:t?fd:Ks;return!t&&zt(s,"iterate",l?zc:cr),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function so(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function FS(){const e={get(s){return Mi(this,s)},get size(){return Di(this)},has:Ri,add:Ef,set:If,delete:Af,clear:Of,forEach:Ni(!1,!1)},t={get(s){return Mi(this,s,!1,!0)},get size(){return Di(this)},has:Ri,add:Ef,set:If,delete:Af,clear:Of,forEach:Ni(!1,!0)},n={get(s){return Mi(this,s,!0)},get size(){return Di(this,!0)},has(s){return Ri.call(this,s,!0)},add:so("add"),set:so("set"),delete:so("delete"),clear:so("clear"),forEach:Ni(!0,!1)},o={get(s){return Mi(this,s,!0,!0)},get size(){return Di(this,!0)},has(s){return Ri.call(this,s,!0)},add:so("add"),set:so("set"),delete:so("delete"),clear:so("clear"),forEach:Ni(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=$i(s,!1,!1),n[s]=$i(s,!0,!1),t[s]=$i(s,!1,!0),o[s]=$i(s,!0,!0)}),[e,n,t,o]}const[US,VS,qS,HS]=FS();function ud(e,t){const n=t?e?HS:qS:e?VS:US;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Se(n,r)&&r in o?n:o,r,s)}const WS={get:ud(!1,!1)},jS={get:ud(!1,!0)},zS={get:ud(!0,!1)},wy=new WeakMap,by=new WeakMap,Sy=new WeakMap,GS=new WeakMap;function KS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function YS(e){return e.__v_skip||!Object.isExtensible(e)?0:KS(Ab(e))}function Ie(e){return Hr(e)?e:dd(e,!1,NS,WS,wy)}function Ty(e){return dd(e,!1,BS,jS,by)}function Cy(e){return dd(e,!0,$S,zS,Sy)}function dd(e,t,n,o,r){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=YS(e);if(i===0)return e;const a=new Proxy(e,i===2?o:n);return r.set(e,a),a}function Yn(e){return Hr(e)?Yn(e.__v_raw):!!(e&&e.__v_isReactive)}function Hr(e){return!!(e&&e.__v_isReadonly)}function Oa(e){return!!(e&&e.__v_isShallow)}function ky(e){return Yn(e)||Hr(e)}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function Oo(e){return Object.isExtensible(e)&&xa(e,"__v_skip",!0),e}const Ks=e=>Je(e)?Ie(e):e,fd=e=>Je(e)?Cy(e):e;class xy{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new id(()=>t(this._value),()=>ca(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Le(this);return(!t._cacheable||t.effect.dirty)&&Io(t._value,t._value=t.effect.run())&&ca(t,4),Py(t),t.effect._dirtyLevel>=2&&ca(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function XS(e,t,n=!1){let o,r;const s=le(e);return s?(o=e,r=hn):(o=e.get,r=e.set),new xy(o,r,s||!r,n)}function Py(e){var t;To&&lr&&(e=Le(e),hy(lr,(t=e.dep)!=null?t:e.dep=gy(()=>e.dep=void 0,e instanceof xy?e:void 0)))}function ca(e,t=4,n){e=Le(e);const o=e.dep;o&&py(o,t)}function dt(e){return!!(e&&e.__v_isRef===!0)}function H(e){return Ey(e,!1)}function ua(e){return Ey(e,!0)}function Ey(e,t){return dt(e)?e:new JS(e,t)}class JS{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Le(t),this._value=n?t:Ks(t)}get value(){return Py(this),this._value}set value(t){const n=this.__v_isShallow||Oa(t)||Hr(t);t=n?t:Le(t),Io(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ks(t),ca(this,4))}}function Ct(e){return dt(e)?e.value:e}const QS={get:(e,t,n)=>Ct(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return dt(r)&&!dt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Iy(e){return Yn(e)?e:new Proxy(e,QS)}function ZS(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=tT(e,n);return t}class eT{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return OS(Le(this._object),this._key)}}function tT(e,t,n){const o=e[t];return dt(o)?o:new eT(e,t,n)}function Co(e,t,n,o){try{return o?e(...o):e()}catch(r){gi(r,t,n)}}function Wt(e,t,n,o){if(le(e)){const s=Co(e,t,n,o);return s&&ed(s)&&s.catch(i=>{gi(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(Wt(e[s],t,n,o));return r}function gi(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){Co(l,null,10,[e,i,a]);return}}}let Ys=!1,Gc=!1;const Pt=[];let Nn=0;const Rr=[];let po=null,er=0;const Ay=Promise.resolve();let hd=null;function rt(e){const t=hd||Ay;return e?t.then(this?e.bind(this):e):t}function nT(e){let t=Nn+1,n=Pt.length;for(;t<n;){const o=t+n>>>1,r=Pt[o],s=Xs(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}function dl(e){(!Pt.length||!Pt.includes(e,Ys&&e.allowRecurse?Nn+1:Nn))&&(e.id==null?Pt.push(e):Pt.splice(nT(e.id),0,e),Oy())}function Oy(){!Ys&&!Gc&&(Gc=!0,hd=Ay.then(My))}function oT(e){const t=Pt.indexOf(e);t>Nn&&Pt.splice(t,1)}function rT(e){ce(e)?Rr.push(...e):(!po||!po.includes(e,e.allowRecurse?er+1:er))&&Rr.push(e),Oy()}function Lf(e,t,n=Ys?Nn+1:0){for(;n<Pt.length;n++){const o=Pt[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;Pt.splice(n,1),n--,o()}}}function Ly(e){if(Rr.length){const t=[...new Set(Rr)].sort((n,o)=>Xs(n)-Xs(o));if(Rr.length=0,po){po.push(...t);return}for(po=t,er=0;er<po.length;er++)po[er]();po=null,er=0}}const Xs=e=>e.id==null?1/0:e.id,sT=(e,t)=>{const n=Xs(e)-Xs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function My(e){Gc=!1,Ys=!0,Pt.sort(sT);try{for(Nn=0;Nn<Pt.length;Nn++){const t=Pt[Nn];t&&t.active!==!1&&Co(t,null,14)}}finally{Nn=0,Pt.length=0,Ly(),Ys=!1,hd=null,(Pt.length||Rr.length)&&My()}}function iT(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Xe;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:f}=o[u]||Xe;f&&(r=n.map(h=>be(h)?h.trim():h)),d&&(r=n.map(Mb))}let a,l=o[a=Vl(t)]||o[a=Vl(En(t))];!l&&s&&(l=o[a=Vl(no(t))]),l&&Wt(l,e,6,Mf(e,l,r));const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Wt(c,e,6,Mf(e,c,r))}}function Mf(e,t,n){if(n.length!==1)return n;if(le(t)){if(t.length<2)return n}else if(!t.find(r=>r.length>=2))return n;const o=n[0];if(o&&Se(o,"type")&&Se(o,"timeStamp")&&Se(o,"target")&&Se(o,"currentTarget")&&Se(o,"detail")){const r=e.proxy,s=r.$gcd(r,!0);s&&n.push(s)}return n}function Ry(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},a=!1;if(!le(e)){const l=c=>{const u=Ry(c,t,!0);u&&(a=!0,pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Je(e)&&o.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):pe(i,s),Je(e)&&o.set(e,i),i)}function fl(e,t){return!e||!nl(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,no(t))||Se(e,t))}let pt=null,Dy=null;function La(e){const t=pt;return pt=e,Dy=e&&e.type.__scopeId||null,t}function ve(e,t=pt,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Gf(-1);const s=La(t);let i;try{i=e(...r)}finally{La(s),o._d&&Gf(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Rf(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:w,inheritAttrs:v}=e;let m,y;const _=La(e);try{if(n.shapeFlag&4){const p=r||o,T=p;m=Dn(u.call(T,p,d,s,h,f,w)),y=l}else{const p=t;m=Dn(p.length>1?p(s,{attrs:l,slots:a,emit:c}):p(s,null)),y=t.props?l:aT(l)}}catch(p){Ls.length=0,gi(p,e,1),m=L(jt)}let g=m;if(y&&v!==!1){const p=Object.keys(y),{shapeFlag:T}=g;p.length&&T&7&&(i&&p.some(Qu)&&(y=lT(y,i)),g=Zn(g,y))}return n.dirs&&(g=Zn(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g,La(_),m}const aT=e=>{let t;for(const n in e)(n==="class"||n==="style"||nl(n))&&((t||(t={}))[n]=e[n]);return t},lT=(e,t)=>{const n={};for(const o in e)(!Qu(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function cT(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Df(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(i[f]!==o[f]&&!fl(c,f))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:o===i?!1:o?i?Df(o,i,c):!0:!!i;return!1}function Df(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!fl(n,s))return!0}return!1}function uT({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ny="components";function $y(e,t){return Fy(Ny,e,!0,t)||e}const By=Symbol.for("v-ndc");function Xn(e){return be(e)?Fy(Ny,e,!1)||e:e||By}function Fy(e,t,n=!0,o=!1){const r=pt||at;if(r){const s=r.type;{const a=uv(s,!1);if(a&&(a===t||a===En(t)||a===rl(En(t))))return s}const i=Nf(r[e]||s[e],t)||Nf(r.appContext[e],t);return!i&&o?s:i}}function Nf(e,t){return e&&(e[t]||e[En(t)]||e[rl(En(t))])}const Is=e=>e.__isSuspense;function dT(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):rT(e)}const fT=Symbol.for("v-scx"),hT=()=>Ne(fT);function In(e,t){return pd(e,null,t)}const Bi={};function se(e,t,n){return pd(e,t,n)}function pd(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:i,onTrigger:a}=Xe){if(t&&s){const S=t;t=(...k)=>{S(...k),T()}}const l=at,c=S=>o===!0?S:or(S,o===!1?1:void 0);let u,d=!1,f=!1;if(dt(e)?(u=()=>e.value,d=Oa(e)):Yn(e)?(u=()=>c(e),d=!0):ce(e)?(f=!0,d=e.some(S=>Yn(S)||Oa(S)),u=()=>e.map(S=>{if(dt(S))return S.value;if(Yn(S))return c(S);if(le(S))return Co(S,l,2)})):le(e)?t?u=()=>Co(e,l,2):u=()=>(h&&h(),Wt(e,l,3,[w])):u=hn,t&&o){const S=u;u=()=>or(S())}let h,w=S=>{h=g.onStop=()=>{Co(S,l,4),h=g.onStop=void 0}},v;if(ss)if(w=hn,t?n&&Wt(t,l,3,[u(),f?[]:void 0,w]):u(),r==="sync"){const S=hT();v=S.__watcherHandles||(S.__watcherHandles=[])}else return hn;let m=f?new Array(e.length).fill(Bi):Bi;const y=()=>{if(!(!g.active||!g.dirty))if(t){const S=g.run();(o||d||(f?S.some((k,C)=>Io(k,m[C])):Io(S,m)))&&(h&&h(),Wt(t,l,3,[S,m===Bi?void 0:f&&m[0]===Bi?[]:m,w]),m=S)}else g.run()};y.allowRecurse=!!t;let _;r==="sync"?_=y:r==="post"?_=()=>Tt(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),_=()=>dl(y));const g=new id(u,hn,_),p=uy(),T=()=>{g.stop(),p&&Zu(p.effects,g)};return t?n?y():m=g.run():r==="post"?Tt(g.run.bind(g),l&&l.suspense):g.run(),v&&v.push(T),T}function pT(e,t,n){const o=this.proxy,r=be(e)?e.includes(".")?Uy(o,e):()=>o[e]:e.bind(o,o);let s;le(t)?s=t:(s=t.handler,n=t);const i=vi(this),a=pd(r,s.bind(o),n);return i(),a}function Uy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function or(e,t,n=0,o){if(!Je(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),dt(e))or(e.value,t,n,o);else if(ce(e))for(let r=0;r<e.length;r++)or(e[r],t,n,o);else if(Em(e)||Mr(e))e.forEach(r=>{or(r,t,n,o)});else if(bt(e))for(const r in e)or(e[r],t,n,o);return e}function Yt(e,t){if(pt===null)return e;const n=ml(pt)||pt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,i,a,l=Xe]=t[r];s&&(le(s)&&(s={mounted:s,updated:s}),s.deep&&or(i),o.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function jo(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];s&&(a.oldValue=s[i].value);let l=a.dir[o];l&&(pr(),Wt(l,n,8,[e.el,a,e,t]),gr())}}const go=Symbol("_leaveCb"),Fi=Symbol("_enterCb");function gT(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $e(()=>{e.isMounted=!0}),At(()=>{e.isUnmounting=!0}),e}const sn=[Function,Array],Vy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:sn,onEnter:sn,onAfterEnter:sn,onEnterCancelled:sn,onBeforeLeave:sn,onLeave:sn,onAfterLeave:sn,onLeaveCancelled:sn,onBeforeAppear:sn,onAppear:sn,onAfterAppear:sn,onAppearCancelled:sn},mT={name:"BaseTransition",props:Vy,setup(e,{slots:t}){const n=ft(),o=gT();return()=>{const r=t.default&&Hy(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const f of r)if(f.type!==jt){s=f;break}}const i=Le(e),{mode:a}=i;if(o.isLeaving)return Hl(s);const l=$f(s);if(!l)return Hl(s);const c=Kc(l,i,o,n);Ma(l,c);const u=n.subTree,d=u&&$f(u);if(d&&d.type!==jt&&!_o(l,d)){const f=Kc(d,i,o,n);if(Ma(d,f),a==="out-in")return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Hl(s);a==="in-out"&&l.type!==jt&&(f.delayLeave=(h,w,v)=>{const m=qy(o,d);m[String(d.key)]=d,h[go]=()=>{w(),h[go]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return s}}},yT=mT;function qy(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Kc(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:w,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:_}=t,g=String(e.key),p=qy(n,e),T=(C,E)=>{C&&Wt(C,o,9,E)},S=(C,E)=>{const I=E[1];T(C,E),ce(C)?C.every(A=>A.length<=1)&&I():C.length<=1&&I()},k={mode:s,persisted:i,beforeEnter(C){let E=a;if(!n.isMounted)if(r)E=v||a;else return;C[go]&&C[go](!0);const I=p[g];I&&_o(e,I)&&I.el[go]&&I.el[go](),T(E,[C])},enter(C){let E=l,I=c,A=u;if(!n.isMounted)if(r)E=m||l,I=y||c,A=_||u;else return;let P=!1;const B=C[Fi]=ee=>{P||(P=!0,ee?T(A,[C]):T(I,[C]),k.delayedLeave&&k.delayedLeave(),C[Fi]=void 0)};E?S(E,[C,B]):B()},leave(C,E){const I=String(e.key);if(C[Fi]&&C[Fi](!0),n.isUnmounting)return E();T(d,[C]);let A=!1;const P=C[go]=B=>{A||(A=!0,E(),B?T(w,[C]):T(h,[C]),C[go]=void 0,p[I]===e&&delete p[I])};p[I]=e,f?S(f,[C,P]):P()},clone(C){return Kc(C,t,n,o)}};return k}function Hl(e){if(mi(e))return e=Zn(e),e.children=null,e}function $f(e){return mi(e)?e.children?e.children[0]:void 0:e}function Ma(e,t){e.shapeFlag&6&&e.component?Ma(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Hy(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ot?(i.patchFlag&128&&r++,o=o.concat(Hy(i.children,t,a))):(t||i.type!==jt)&&o.push(a!=null?Zn(i,{key:a}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function nt(e,t){return le(e)?pe({name:e.name},t,{setup:e}):e}const Dr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ue(e){le(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const d=()=>(u++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),a)return new Promise((v,m)=>{a(w,()=>v(d()),()=>m(w),u+1)});throw w}).then(w=>h!==l&&l?l:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),c=w,w)))};return nt({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=at;if(c)return()=>Wl(c,h);const w=_=>{l=null,gi(_,h,13,!o)};if(i&&h.suspense||ss)return f().then(_=>()=>Wl(_,h)).catch(_=>(w(_),()=>o?L(o,{error:_}):null));const v=H(!1),m=H(),y=H(!!r);return r&&setTimeout(()=>{y.value=!1},r),s!=null&&setTimeout(()=>{if(!v.value&&!m.value){const _=new Error(`Async component timed out after ${s}ms.`);w(_),m.value=_}},s),f().then(()=>{v.value=!0,h.parent&&mi(h.parent.vnode)&&(h.parent.effect.dirty=!0,dl(h.parent.update))}).catch(_=>{w(_),m.value=_}),()=>{if(v.value&&c)return Wl(c,h);if(m.value&&o)return L(o,{error:m.value});if(n&&!y.value)return L(n)}}})}function Wl(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=L(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const mi=e=>e.type.__isKeepAlive;class vT{constructor(t){this.max=t,this._cache=new Map,this._keys=new Set,this._max=parseInt(t,10)}get(t){const{_cache:n,_keys:o,_max:r}=this,s=n.get(t);if(s)o.delete(t),o.add(t);else if(o.add(t),r&&o.size>r){const i=o.values().next().value;this.pruneCacheEntry(n.get(i)),this.delete(i)}return s}set(t,n){this._cache.set(t,n)}delete(t){this._cache.delete(t),this._keys.delete(t)}forEach(t,n){this._cache.forEach(t.bind(n))}}const _T={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=ft(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const r=e.cache||new vT(e.max);r.pruneCacheEntry=i;let s=null;function i(y){!s||!_o(y,s)||e.matchBy==="key"&&y.key!==s.key?h(y):s&&jl(s)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");o.activate=(y,_,g,p,T)=>{const S=y.component;if(S.ba){const k=S.isDeactivated;S.isDeactivated=!1,Zt(S.ba),S.isDeactivated=k}c(y,_,g,0,a),l(S.vnode,y,_,g,S,a,p,y.slotScopeIds,T),Tt(()=>{S.isDeactivated=!1,S.a&&Zt(S.a);const k=y.props&&y.props.onVnodeMounted;k&&ln(k,S.parent,y)},a)},o.deactivate=y=>{const _=y.component;_.bda&&Wy(_.bda),c(y,f,null,1,a),Tt(()=>{_.bda&&CT(_.bda),_.da&&Zt(_.da);const g=y.props&&y.props.onVnodeUnmounted;g&&ln(g,_.parent,y),_.isDeactivated=!0},a)};function h(y){jl(y),u(y,n,a,!0)}function w(y){r.forEach((_,g)=>{const p=Bf(_,e.matchBy);p&&(!y||!y(p))&&(r.delete(g),i(_))})}se(()=>[e.include,e.exclude,e.matchBy],([y,_])=>{y&&w(g=>Ts(y,g)),_&&w(g=>!Ts(_,g))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&r.set(v,zl(n.subTree))};return $e(m),jy(m),At(()=>{r.forEach((y,_)=>{r.delete(_),i(y);const{subTree:g,suspense:p}=n,T=zl(g);if(y.type===T.type&&(e.matchBy!=="key"||y.key===T.key)){T.component.bda&&Zt(T.component.bda),jl(T);const S=T.component.da;S&&Tt(S,p);return}})}),()=>{if(v=null,!t.default)return null;const y=t.default(),_=y[0];if(y.length>1)return s=null,y;if(!fr(_)||!(_.shapeFlag&4)&&!Is(_.type))return s=null,_;let g=zl(_);const p=g.type,T=Bf(g,e.matchBy),{include:S,exclude:k}=e;if(S&&(!T||!Ts(S,T))||k&&T&&Ts(k,T))return s=g,_;const C=g.key==null?p:g.key,E=r.get(C);return g.el&&(g=Zn(g),Is(_.type)&&(_.ssContent=g)),v=C,E&&(g.el=E.el,g.component=E.component,g.transition&&Ma(g,g.transition),g.shapeFlag|=512),g.shapeFlag|=256,s=g,Is(_.type)?_:g}}},wT=_T;function Ts(e,t){return ce(e)?e.some(n=>Ts(n,t)):be(e)?e.split(",").includes(t):Ib(e)?e.test(t):!1}function bT(e,t){hl(e,"ba",t)}function yi(e,t){hl(e,"a",t)}function ST(e,t){hl(e,"bda",t)}function gd(e,t){hl(e,"da",t)}function hl(e,t,n=at){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(o.__called=!1,No(t,o,n),n){let r=n.parent;for(;r&&r.parent;)mi(r.parent.vnode)&&TT(o,t,n,r),r=r.parent}}function TT(e,t,n,o){const r=No(t,e,o,!0);Vn(()=>{Zu(o[t],r)},n)}function jl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function zl(e){return Is(e.type)?e.ssContent:e}function Bf(e,t){if(t==="name"){const n=e.type;return uv(Dr(e)?n.__asyncResolved||{}:n)}return String(e.key)}function Wy(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function CT(e){e.forEach(t=>t.__called=!1)}function No(e,t,n=at,o=!1){if(n){if(bS(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,wS(e))){const i=n.proxy;Wt(t.bind(i),n,e,rs===e?[i.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;pr();const a=vi(n),l=Wt(t,n,e,i);return a(),gr(),l});return o?r.unshift(s):r.push(s),s}}const oo=e=>(t,n=at)=>(!ss||e==="sp")&&No(e,(...o)=>t(...o),n),$o=oo("bm"),$e=oo("m"),kT=oo("bu"),jy=oo("u"),At=oo("bum"),Vn=oo("um"),xT=oo("sp"),PT=oo("rtg"),ET=oo("rtc");function IT(e,t=at){No("ec",e,t)}function AT(e,t,n,o){let r;const s=n;if(ce(e)||be(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,s)}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s)}else if(Je(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,s));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];r[a]=t(e[c],c,a,s)}}else r=[];return r}function gt(e,t,n={},o,r){if(pt.isCE||pt.parent&&Dr(pt.parent)&&pt.parent.isCE)return t!=="default"&&(n.name=t),L("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),me();const i=s&&zy(s(n)),a=_e(ot,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function zy(e){return e.some(t=>fr(t)?!(t.type===jt||t.type===ot&&!zy(t.children)):!0)?e:null}const Yc=e=>e?av(e)?ml(e)||e.proxy:Yc(e.parent):null,OT=e=>function(){e.effect.dirty=!0,dl(e.update)},As=pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Yc(e.parent),$root:e=>Yc(e.root),$emit:e=>e.emit,$options:e=>Ky(e),$forceUpdate:e=>e.f||(e.f=OT(e)),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>pT.bind(e)}),Gl=(e,t)=>e!==Xe&&!e.__isScriptSetup&&Se(e,t),LT={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Gl(o,t))return i[t]=1,o[t];if(r!==Xe&&Se(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&Se(c,t))return i[t]=3,s[t];if(n!==Xe&&Se(n,t))return i[t]=4,n[t];Xc&&(i[t]=0)}}const u=As[t];let d,f;if(u)return t==="$attrs"&&zt(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Xe&&Se(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Se(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Gl(r,t)?(r[t]=n,!0):o!==Xe&&Se(o,t)?(o[t]=n,!0):Se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let a;return!!n[i]||e!==Xe&&Se(e,i)||Gl(t,i)||(a=s[0])&&Se(a,i)||Se(o,i)||Se(As,i)||Se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function MT(){return RT().slots}function RT(){const e=ft();return e.setupContext||(e.setupContext=cv(e))}function Ff(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Xc=!0;function DT(e){const t=Ky(e),n=e.proxy,o=e.ctx;Xc=!1,t.beforeCreate&&Uf(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:w,activated:v,deactivated:m,beforeDestroy:y,beforeUnmount:_,destroyed:g,unmounted:p,render:T,renderTracked:S,renderTriggered:k,errorCaptured:C,serverPrefetch:E,expose:I,inheritAttrs:A,components:P,directives:B,filters:ee}=t;if(c&&NT(c,o,null),i)for(const X in i){const N=i[X];le(N)&&(o[X]=N.bind(n))}if(r){const X=r.call(n,n);Je(X)&&(e.data=Ie(X))}if(Xc=!0,s)for(const X in s){const N=s[X],Z=le(N)?N.bind(n,n):le(N.get)?N.get.bind(n,n):hn,U=!le(N)&&le(N.set)?N.set.bind(n):hn,K=Y({get:Z,set:U});Object.defineProperty(o,X,{enumerable:!0,configurable:!0,get:()=>K.value,set:G=>K.value=G})}if(a)for(const X in a)Gy(a[X],o,n,X);if(l){const X=le(l)?l.call(n):l;Reflect.ownKeys(X).forEach(N=>{_t(N,X[N])})}u&&Uf(u,e,"c");function z(X,N){ce(N)?N.forEach(Z=>X(Z.bind(n))):N&&X(N.bind(n))}if(z($o,d),z($e,f),z(kT,h),z(jy,w),z(yi,v),z(gd,m),z(IT,C),z(ET,S),z(PT,k),z(At,_),z(Vn,p),z(xT,E),ce(I))if(I.length){const X=e.exposed||(e.exposed={});I.forEach(N=>{Object.defineProperty(X,N,{get:()=>n[N],set:Z=>n[N]=Z})})}else e.exposed||(e.exposed={});T&&e.render===hn&&(e.render=T),A!=null&&(e.inheritAttrs=A),P&&(e.components=P),B&&(e.directives=B);const te=e.appContext.config.globalProperties.$applyOptions;te&&te(t,e,n)}function NT(e,t,n=hn){ce(e)&&(e=Jc(e));for(const o in e){const r=e[o];let s;Je(r)?"default"in r?s=Ne(r.from||o,r.default,!0):s=Ne(r.from||o):s=Ne(r),dt(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Uf(e,t,n){Wt(ce(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gy(e,t,n,o){const r=o.includes(".")?Uy(n,o):()=>n[o];if(be(e)){const s=t[e];le(s)&&se(r,s)}else if(le(e))se(r,e.bind(n));else if(Je(e))if(ce(e))e.forEach(s=>Gy(s,t,n,o));else{const s=le(e.handler)?e.handler.bind(n):t[e.handler];le(s)&&se(r,s,e)}}function Ky(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>Ra(l,c,i,!0)),Ra(l,t,i)),Je(t)&&s.set(t,l),l}function Ra(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Ra(e,s,n,!0),r&&r.forEach(i=>Ra(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=$T[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const $T={data:Vf,props:qf,emits:qf,methods:Cs,computed:Cs,beforeCreate:Lt,created:Lt,beforeMount:Lt,mounted:Lt,beforeUpdate:Lt,updated:Lt,beforeDestroy:Lt,beforeUnmount:Lt,destroyed:Lt,unmounted:Lt,activated:Lt,deactivated:Lt,errorCaptured:Lt,serverPrefetch:Lt,components:Cs,directives:Cs,watch:FT,provide:Vf,inject:BT};function Vf(e,t){return t?e?function(){return pe(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function BT(e,t){return Cs(Jc(e),Jc(t))}function Jc(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Lt(e,t){return e?[...new Set([].concat(e,t))]:t}function Cs(e,t){return e?pe(Object.create(null),e,t):t}function qf(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:pe(Object.create(null),Ff(e),Ff(t!=null?t:{})):t}function FT(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const o in t)n[o]=Lt(e[o],t[o]);return n}function Yy(){return{app:null,config:{isNativeTag:Pb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let UT=0;function VT(e,t){return function(o,r=null){le(o)||(o=pe({},o)),r!=null&&!Je(r)&&(r=null);const s=Yy(),i=new WeakSet;let a=!1;const l=s.app={_uid:UT++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:a1,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&le(c.install)?(i.add(c),c.install(l,...u)):le(c)&&(i.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,d){if(!a){const f=L(o,r);return f.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,l._instance=f.component,ml(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){const u=Os;Os=l;try{return c()}finally{Os=u}}};return l}}let Os=null;function _t(e,t){if(at){let n=at.provides;const o=at.parent&&at.parent.provides;o===n&&(n=at.provides=Object.create(o)),n[e]=t,at.type.mpType==="app"&&at.appContext.app.provide(e,t)}}function Ne(e,t,n=!1){const o=at||pt;if(o||Os){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Os._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&le(t)?t.call(o&&o.proxy):t}}function qT(e,t,n,o=!1){const r={},s={};xa(s,gl,1),e.propsDefaults=Object.create(null),Xy(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Ty(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function HT(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,a=Le(r),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(fl(e.emitsOptions,f))continue;const h=t[f];if(l)if(Se(s,f))h!==s[f]&&(s[f]=h,c=!0);else{const w=En(f);r[w]=Qc(l,a,w,h,e,!1)}else h!==s[f]&&(s[f]=h,c=!0)}}}else{Xy(e,t,r,s)&&(c=!0);let u;for(const d in a)(!t||!Se(t,d)&&((u=no(d))===d||!Se(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=Qc(l,a,d,void 0,e,!0)):delete r[d]);if(s!==a)for(const d in s)(!t||!Se(t,d))&&(delete s[d],c=!0)}c&&Kn(e,"set","$attrs")}function Xy(e,t,n,o){const[r,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Es(l))continue;const c=t[l];let u;r&&Se(r,u=En(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:fl(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,i=!0)}if(s){const l=Le(n),c=a||Xe;for(let u=0;u<s.length;u++){const d=s[u];n[d]=Qc(r,l,d,c[d],e,!Se(c,d))}}return i}function Qc(e,t,n,o,r,s){const i=e[n];if(i!=null){const a=Se(i,"default");if(a&&o===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=vi(r);o=c[n]=l.call(null,t),u()}}else o=l}i[0]&&(s&&!a?o=!1:i[1]&&(o===""||o===no(n))&&(o=!0))}return o}function Jy(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},a=[];let l=!1;if(!le(e)){const u=d=>{l=!0;const[f,h]=Jy(d,t,!0);pe(i,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Je(e)&&o.set(e,Lr),Lr;if(ce(s))for(let u=0;u<s.length;u++){const d=En(s[u]);Hf(d)&&(i[d]=Xe)}else if(s)for(const u in s){const d=En(u);if(Hf(d)){const f=s[u],h=i[d]=ce(f)||le(f)?{type:f}:pe({},f);if(h){const w=zf(Boolean,h.type),v=zf(String,h.type);h[0]=w>-1,h[1]=v<0||w<v,(w>-1||Se(h,"default"))&&a.push(d)}}}const c=[i,a];return Je(e)&&o.set(e,c),c}function Hf(e){return e[0]!=="$"&&!Es(e)}function Wf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function jf(e,t){return Wf(e)===Wf(t)}function zf(e,t){return ce(t)?t.findIndex(n=>jf(n,e)):le(t)&&jf(t,e)?0:-1}const Qy=e=>e[0]==="_"||e==="$stable",md=e=>ce(e)?e.map(Dn):[Dn(e)],WT=(e,t,n)=>{if(t._n)return t;const o=ve((...r)=>md(t(...r)),n);return o._c=!1,o},Zy=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Qy(r))continue;const s=e[r];if(le(s))t[r]=WT(r,s,o);else if(s!=null){const i=md(s);t[r]=()=>i}}},ev=(e,t)=>{const n=md(t);e.slots.default=()=>n},jT=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Le(t),xa(t,"_",n)):Zy(t,e.slots={})}else e.slots={},t&&ev(e,t);xa(e.slots,gl,1)},zT=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=Xe;if(o.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(pe(r,t),!n&&a===1&&delete r._):(s=!t.$stable,Zy(t,r)),i=t}else t&&(ev(e,t),i={default:1});if(s)for(const a in r)!Qy(a)&&i[a]==null&&delete r[a]};function Zc(e,t,n,o,r=!1){if(ce(e)){e.forEach((f,h)=>Zc(f,t&&(ce(t)?t[h]:t),n,o,r));return}if(Dr(o)&&!r)return;const s=o.shapeFlag&4?ml(o.component)||o.component.proxy:o.el,i=r?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Xe?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(be(c)?(u[c]=null,Se(d,c)&&(d[c]=null)):dt(c)&&(c.value=null)),le(l))Co(l,a,12,[i,u]);else{const f=be(l),h=dt(l);if(f||h){const w=()=>{if(e.f){const v=f?Se(d,l)?d[l]:u[l]:l.value;r?ce(v)&&Zu(v,s):ce(v)?v.includes(s)||v.push(s):f?(u[l]=[s],Se(d,l)&&(d[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else f?(u[l]=i,Se(d,l)&&(d[l]=i)):h&&(l.value=i,e.k&&(u[e.k]=i))};i?(w.id=-1,Tt(w,n)):w()}}}const Tt=dT;function GT(e){return KT(e)}function KT(e,t){const n=Am();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,forcePatchProp:i,createElement:a,createText:l,createComment:c,setText:u,setElementText:d,parentNode:f,nextSibling:h,setScopeId:w=hn,insertStaticContent:v}=e,m=(b,x,M,V=null,j=null,J=null,re=void 0,Q=null,$=!!x.dynamicChildren)=>{if(b===x)return;b&&!_o(b,x)&&(V=oe(b),G(b,j,J,!0),b=null),x.patchFlag===-2&&($=!1,x.dynamicChildren=null);const{type:F,ref:ie,shapeFlag:fe}=x;switch(F){case Wr:y(b,x,M,V);break;case jt:_(b,x,M,V);break;case Yl:b==null&&g(x,M,V,re);break;case ot:B(b,x,M,V,j,J,re,Q,$);break;default:fe&1?S(b,x,M,V,j,J,re,Q,$):fe&6?ee(b,x,M,V,j,J,re,Q,$):(fe&64||fe&128)&&F.process(b,x,M,V,j,J,re,Q,$,O)}ie!=null&&j&&Zc(ie,b&&b.ref,J,x||b,!x)},y=(b,x,M,V)=>{if(b==null)o(x.el=l(x.children),M,V);else{const j=x.el=b.el;x.children!==b.children&&u(j,x.children)}},_=(b,x,M,V)=>{b==null?o(x.el=c(x.children||""),M,V):x.el=b.el},g=(b,x,M,V)=>{[b.el,b.anchor]=v(b.children,x,M,V,b.el,b.anchor)},p=({el:b,anchor:x},M,V)=>{let j;for(;b&&b!==x;)j=h(b),o(b,M,V),b=j;o(x,M,V)},T=({el:b,anchor:x})=>{let M;for(;b&&b!==x;)M=h(b),r(b),b=M;r(x)},S=(b,x,M,V,j,J,re,Q,$)=>{x.type==="svg"?re="svg":x.type==="math"&&(re="mathml"),b==null?k(x,M,V,j,J,re,Q,$):I(b,x,j,J,re,Q,$)},k=(b,x,M,V,j,J,re,Q)=>{let $,F;const{props:ie,shapeFlag:fe,transition:ge,dirs:Te}=b;if($=b.el=a(b.type,J,ie&&ie.is,ie),fe&8?d($,b.children):fe&16&&E(b.children,$,null,V,j,Kl(b,J),re,Q),Te&&jo(b,null,V,"created"),C($,b,b.scopeId,re,V),ie){for(const qe in ie)qe!=="value"&&!Es(qe)&&s($,qe,null,ie[qe],J,b.children,V,j,W);"value"in ie&&s($,"value",null,ie.value,J),(F=ie.onVnodeBeforeMount)&&ln(F,V,b)}Object.defineProperty($,"__vueParentComponent",{value:V,enumerable:!1}),Te&&jo(b,null,V,"beforeMount");const xe=YT(j,ge);xe&&ge.beforeEnter($),o($,x,M),((F=ie&&ie.onVnodeMounted)||xe||Te)&&Tt(()=>{F&&ln(F,V,b),xe&&ge.enter($),Te&&jo(b,null,V,"mounted")},j)},C=(b,x,M,V,j)=>{if(M&&w(b,M),V)for(let J=0;J<V.length;J++)w(b,V[J]);if(j){let J=j.subTree;if(x===J){const re=j.vnode;C(b,re,re.scopeId,re.slotScopeIds,j.parent)}}},E=(b,x,M,V,j,J,re,Q,$=0)=>{for(let F=$;F<b.length;F++){const ie=b[F]=Q?mo(b[F]):Dn(b[F]);m(null,ie,x,M,V,j,J,re,Q)}},I=(b,x,M,V,j,J,re)=>{const Q=x.el=b.el;let{patchFlag:$,dynamicChildren:F,dirs:ie}=x;$|=b.patchFlag&16;const fe=b.props||Xe,ge=x.props||Xe;let Te;if(M&&zo(M,!1),(Te=ge.onVnodeBeforeUpdate)&&ln(Te,M,x,b),ie&&jo(x,b,M,"beforeUpdate"),M&&zo(M,!0),F?A(b.dynamicChildren,F,Q,M,V,Kl(x,j),J):re||N(b,x,Q,null,M,V,Kl(x,j),J,!1),$>0){if($&16)P(Q,x,fe,ge,M,V,j);else if($&2&&fe.class!==ge.class&&s(Q,"class",null,ge.class,j),$&4&&s(Q,"style",fe.style,ge.style,j),$&8){const xe=x.dynamicProps;for(let qe=0;qe<xe.length;qe++){const Ke=xe[qe],Ot=fe[Ke],_n=ge[Ke];(_n!==Ot||Ke==="value"||i&&i(Q,Ke))&&s(Q,Ke,Ot,_n,j,b.children,M,V,W)}}$&1&&b.children!==x.children&&d(Q,x.children)}else!re&&F==null&&P(Q,x,fe,ge,M,V,j);((Te=ge.onVnodeUpdated)||ie)&&Tt(()=>{Te&&ln(Te,M,x,b),ie&&jo(x,b,M,"updated")},V)},A=(b,x,M,V,j,J,re)=>{for(let Q=0;Q<x.length;Q++){const $=b[Q],F=x[Q],ie=$.el&&($.type===ot||!_o($,F)||$.shapeFlag&70)?f($.el):M;m($,F,ie,null,V,j,J,re,!0)}},P=(b,x,M,V,j,J,re)=>{if(M!==V){if(M!==Xe)for(const Q in M)!Es(Q)&&!(Q in V)&&s(b,Q,M[Q],null,re,x.children,j,J,W);for(const Q in V){if(Es(Q))continue;const $=V[Q],F=M[Q];($!==F&&Q!=="value"||i&&i(b,Q))&&s(b,Q,F,$,re,x.children,j,J,W)}"value"in V&&s(b,"value",M.value,V.value,re)}},B=(b,x,M,V,j,J,re,Q,$)=>{const F=x.el=b?b.el:l(""),ie=x.anchor=b?b.anchor:l("");let{patchFlag:fe,dynamicChildren:ge,slotScopeIds:Te}=x;Te&&(Q=Q?Q.concat(Te):Te),b==null?(o(F,M,V),o(ie,M,V),E(x.children||[],M,ie,j,J,re,Q,$)):fe>0&&fe&64&&ge&&b.dynamicChildren?(A(b.dynamicChildren,ge,M,j,J,re,Q),(x.key!=null||j&&x===j.subTree)&&tv(b,x,!0)):N(b,x,M,ie,j,J,re,Q,$)},ee=(b,x,M,V,j,J,re,Q,$)=>{x.slotScopeIds=Q,b==null?x.shapeFlag&512?j.ctx.activate(x,M,V,re,$):R(x,M,V,j,J,re,$):z(b,x,$)},R=(b,x,M,V,j,J,re)=>{const Q=b.component=n1(b,V,j);if(mi(b)&&(Q.ctx.renderer=O),o1(Q),Q.asyncDep){if(j&&j.registerDep(Q,te),!b.el){const $=Q.subTree=L(jt);_(null,$,x,M)}}else te(Q,b,x,M,j,J,re)},z=(b,x,M)=>{const V=x.component=b.component;if(cT(b,x,M))if(V.asyncDep&&!V.asyncResolved){X(V,x,M);return}else V.next=x,oT(V.update),V.effect.dirty=!0,V.update();else x.el=b.el,V.vnode=x},te=(b,x,M,V,j,J,re)=>{const Q=()=>{if(b.isMounted){let{next:ie,bu:fe,u:ge,parent:Te,vnode:xe}=b;{const _r=nv(b);if(_r){ie&&(ie.el=xe.el,X(b,ie,re)),_r.asyncDep.then(()=>{b.isUnmounted||Q()});return}}let qe=ie,Ke;zo(b,!1),ie?(ie.el=xe.el,X(b,ie,re)):ie=xe,fe&&Zt(fe),(Ke=ie.props&&ie.props.onVnodeBeforeUpdate)&&ln(Ke,Te,ie,xe),zo(b,!0);const Ot=Rf(b),_n=b.subTree;b.subTree=Ot,m(_n,Ot,f(_n.el),oe(_n),b,j,J),ie.el=Ot.el,qe===null&&uT(b,Ot.el),ge&&Tt(ge,j),(Ke=ie.props&&ie.props.onVnodeUpdated)&&Tt(()=>ln(Ke,Te,ie,xe),j)}else{let ie;const{el:fe,props:ge}=x,{bm:Te,m:xe,parent:qe}=b,Ke=Dr(x);zo(b,!1),Te&&Zt(Te),!Ke&&(ie=ge&&ge.onVnodeBeforeMount)&&ln(ie,qe,x),zo(b,!0);{const Ot=b.subTree=Rf(b);m(null,Ot,M,V,b,j,J),x.el=Ot.el}if(xe&&Tt(xe,j),!Ke&&(ie=ge&&ge.onVnodeMounted)){const Ot=x;Tt(()=>ln(ie,qe,Ot),j)}(x.shapeFlag&256||qe&&Dr(qe.vnode)&&qe.vnode.shapeFlag&256)&&(b.ba&&Wy(b.ba),b.a&&Tt(b.a,j)),b.isMounted=!0,x=M=V=null}},$=b.effect=new id(Q,hn,()=>dl(F),b.scope),F=b.update=()=>{$.dirty&&$.run()};F.id=b.uid,zo(b,!0),F()},X=(b,x,M)=>{x.component=b;const V=b.vnode.props;b.vnode=x,b.next=null,HT(b,x.props,V,M),zT(b,x.children,M),pr(),Lf(b),gr()},N=(b,x,M,V,j,J,re,Q,$=!1)=>{const F=b&&b.children,ie=b?b.shapeFlag:0,fe=x.children,{patchFlag:ge,shapeFlag:Te}=x;if(ge>0){if(ge&128){U(F,fe,M,V,j,J,re,Q,$);return}else if(ge&256){Z(F,fe,M,V,j,J,re,Q,$);return}}Te&8?(ie&16&&W(F,j,J),fe!==F&&d(M,fe)):ie&16?Te&16?U(F,fe,M,V,j,J,re,Q,$):W(F,j,J,!0):(ie&8&&d(M,""),Te&16&&E(fe,M,V,j,J,re,Q,$))},Z=(b,x,M,V,j,J,re,Q,$)=>{b=b||Lr,x=x||Lr;const F=b.length,ie=x.length,fe=Math.min(F,ie);let ge;for(ge=0;ge<fe;ge++){const Te=x[ge]=$?mo(x[ge]):Dn(x[ge]);m(b[ge],Te,M,null,j,J,re,Q,$)}F>ie?W(b,j,J,!0,!1,fe):E(x,M,V,j,J,re,Q,$,fe)},U=(b,x,M,V,j,J,re,Q,$)=>{let F=0;const ie=x.length;let fe=b.length-1,ge=ie-1;for(;F<=fe&&F<=ge;){const Te=b[F],xe=x[F]=$?mo(x[F]):Dn(x[F]);if(_o(Te,xe))m(Te,xe,M,null,j,J,re,Q,$);else break;F++}for(;F<=fe&&F<=ge;){const Te=b[fe],xe=x[ge]=$?mo(x[ge]):Dn(x[ge]);if(_o(Te,xe))m(Te,xe,M,null,j,J,re,Q,$);else break;fe--,ge--}if(F>fe){if(F<=ge){const Te=ge+1,xe=Te<ie?x[Te].el:V;for(;F<=ge;)m(null,x[F]=$?mo(x[F]):Dn(x[F]),M,xe,j,J,re,Q,$),F++}}else if(F>ge)for(;F<=fe;)G(b[F],j,J,!0),F++;else{const Te=F,xe=F,qe=new Map;for(F=xe;F<=ge;F++){const Gt=x[F]=$?mo(x[F]):Dn(x[F]);Gt.key!=null&&qe.set(Gt.key,F)}let Ke,Ot=0;const _n=ge-xe+1;let _r=!1,pf=0;const us=new Array(_n);for(F=0;F<_n;F++)us[F]=0;for(F=Te;F<=fe;F++){const Gt=b[F];if(Ot>=_n){G(Gt,j,J,!0);continue}let On;if(Gt.key!=null)On=qe.get(Gt.key);else for(Ke=xe;Ke<=ge;Ke++)if(us[Ke-xe]===0&&_o(Gt,x[Ke])){On=Ke;break}On===void 0?G(Gt,j,J,!0):(us[On-xe]=F+1,On>=pf?pf=On:_r=!0,m(Gt,x[On],M,null,j,J,re,Q,$),Ot++)}const gf=_r?XT(us):Lr;for(Ke=gf.length-1,F=_n-1;F>=0;F--){const Gt=xe+F,On=x[Gt],mf=Gt+1<ie?x[Gt+1].el:V;us[F]===0?m(null,On,M,mf,j,J,re,Q,$):_r&&(Ke<0||F!==gf[Ke]?K(On,M,mf,2):Ke--)}}},K=(b,x,M,V,j=null)=>{const{el:J,type:re,transition:Q,children:$,shapeFlag:F}=b;if(F&6){K(b.component.subTree,x,M,V);return}if(F&128){b.suspense.move(x,M,V);return}if(F&64){re.move(b,x,M,O);return}if(re===ot){o(J,x,M);for(let fe=0;fe<$.length;fe++)K($[fe],x,M,V);o(b.anchor,x,M);return}if(re===Yl){p(b,x,M);return}if(V!==2&&F&1&&Q)if(V===0)Q.beforeEnter(J),o(J,x,M),Tt(()=>Q.enter(J),j);else{const{leave:fe,delayLeave:ge,afterLeave:Te}=Q,xe=()=>o(J,x,M),qe=()=>{fe(J,()=>{xe(),Te&&Te()})};ge?ge(J,xe,qe):qe()}else o(J,x,M)},G=(b,x,M,V=!1,j=!1)=>{const{type:J,props:re,ref:Q,children:$,dynamicChildren:F,shapeFlag:ie,patchFlag:fe,dirs:ge}=b;if(Q!=null&&Zc(Q,null,M,b,!0),ie&256){x.ctx.deactivate(b);return}const Te=ie&1&&ge,xe=!Dr(b);let qe;if(xe&&(qe=re&&re.onVnodeBeforeUnmount)&&ln(qe,x,b),ie&6)je(b.component,M,V);else{if(ie&128){b.suspense.unmount(M,V);return}Te&&jo(b,null,x,"beforeUnmount"),ie&64?b.type.remove(b,x,M,j,O,V):F&&(J!==ot||fe>0&&fe&64)?W(F,x,M,!1,!0):(J===ot&&fe&384||!j&&ie&16)&&W($,x,M),V&&q(b)}(xe&&(qe=re&&re.onVnodeUnmounted)||Te)&&Tt(()=>{qe&&ln(qe,x,b),Te&&jo(b,null,x,"unmounted")},M)},q=b=>{const{type:x,el:M,anchor:V,transition:j}=b;if(x===ot){et(M,V);return}if(x===Yl){T(b);return}const J=()=>{r(M),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(b.shapeFlag&1&&j&&!j.persisted){const{leave:re,delayLeave:Q}=j,$=()=>re(M,J);Q?Q(b.el,J,$):$()}else J()},et=(b,x)=>{let M;for(;b!==x;)M=h(b),r(b),b=M;r(x)},je=(b,x,M)=>{const{bum:V,scope:j,update:J,subTree:re,um:Q}=b;V&&Zt(V),j.stop(),J&&(J.active=!1,G(re,b,x,M)),Q&&Tt(Q,x),Tt(()=>{b.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},W=(b,x,M,V=!1,j=!1,J=0)=>{for(let re=J;re<b.length;re++)G(b[re],x,M,V,j)},oe=b=>b.shapeFlag&6?oe(b.component.subTree):b.shapeFlag&128?b.suspense.next():h(b.anchor||b.el);let ne=!1;const ue=(b,x,M)=>{b==null?x._vnode&&G(x._vnode,null,null,!0):m(x._vnode||null,b,x,null,null,null,M),ne||(ne=!0,Lf(),Ly(),ne=!1),x._vnode=b},O={p:m,um:G,m:K,r:q,mt:R,mc:E,pc:N,pbc:A,n:oe,o:e};return{render:ue,hydrate:void 0,createApp:VT(ue)}}function Kl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function YT(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tv(e,t,n=!1){const o=e.children,r=t.children;if(ce(o)&&ce(r))for(let s=0;s<o.length;s++){const i=o[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=mo(r[s]),a.el=i.el),n||tv(i,a)),a.type===Wr&&(a.el=i.el)}}function XT(e){const t=e.slice(),n=[0];let o,r,s,i,a;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function nv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nv(t)}const JT=e=>e.__isTeleport,ot=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),jt=Symbol.for("v-cmt"),Yl=Symbol.for("v-stc"),Ls=[];let Tn=null;function me(e=!1){Ls.push(Tn=e?null:[])}function QT(){Ls.pop(),Tn=Ls[Ls.length-1]||null}let Js=1;function Gf(e){Js+=e}function ov(e){return e.dynamicChildren=Js>0?Tn||Lr:null,QT(),Js>0&&Tn&&Tn.push(e),e}function pl(e,t,n,o,r,s){return ov(sv(e,t,n,o,r,s,!0))}function _e(e,t,n,o,r){return ov(L(e,t,n,o,r,!0))}function fr(e){return e?e.__v_isVNode===!0:!1}function _o(e,t){return e.type===t.type&&e.key===t.key}const gl="__vInternal",rv=({key:e})=>e!=null?e:null,da=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||dt(e)||le(e)?{i:pt,r:e,k:t,f:!!n}:e:null);function sv(e,t=null,n=null,o=0,r=null,s=e===ot?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rv(t),ref:t&&da(t),scopeId:Dy,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:pt};return a?(yd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=be(n)?8:16),Js>0&&!i&&Tn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Tn.push(l),l}const L=ZT;function ZT(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===By)&&(e=jt),fr(e)){const a=Zn(e,t,!0);return n&&yd(a,n),Js>0&&!s&&Tn&&(a.shapeFlag&6?Tn[Tn.indexOf(e)]=a:Tn.push(a)),a.patchFlag|=-2,a}if(i1(e)&&(e=e.__vccOpts),t){t=iv(t);let{class:a,style:l}=t;a&&!be(a)&&(t.class=tt(a)),Je(l)&&(ky(l)&&!ce(l)&&(l=pe({},l)),t.style=ut(l))}const i=be(e)?1:Is(e)?128:JT(e)?64:Je(e)?4:le(e)?2:0;return sv(e,t,n,o,r,i,s,!0)}function iv(e){return e?ky(e)||gl in e?pe({},e):e:null}function Zn(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,a=t?It(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&rv(a),ref:t&&t.ref?n&&r?ce(r)?r.concat(da(t)):[r,da(t)]:da(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zn(e.ssContent),ssFallback:e.ssFallback&&Zn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ut(e=" ",t=0){return L(Wr,null,e,t)}function Ye(e="",t=!1){return t?(me(),_e(jt,null,e)):L(jt,null,e)}function Dn(e){return e==null||typeof e=="boolean"?L(jt):ce(e)?L(ot,null,e.slice()):typeof e=="object"?mo(e):L(Wr,null,String(e))}function mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zn(e)}function yd(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),yd(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(gl in t)?t._ctx=pt:r===3&&pt&&(pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:pt},n=32):(t=String(t),o&64?(n=16,t=[Ut(t)]):n=8);e.children=t,e.shapeFlag|=n}function It(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=tt([t.class,o.class]));else if(r==="style")t.style=ut([t.style,o.style]);else if(nl(r)){const s=t[r],i=o[r];i&&s!==i&&!(ce(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function ln(e,t,n,o=null){Wt(e,t,7,[n,o])}const e1=Yy();let t1=0;function n1(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||e1,s={uid:t1++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new cy(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Jy(o,r),emitsOptions:Ry(o,r),emit:null,emitted:null,propsDefaults:Xe,inheritAttrs:o.inheritAttrs,ctx:Xe,data:Xe,props:Xe,attrs:Xe,slots:Xe,refs:Xe,setupState:Xe,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=iT.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s),s}let at=null;const ft=()=>at||pt;let Da,eu;{const e=Am(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};Da=t("__VUE_INSTANCE_SETTERS__",n=>at=n),eu=t("__VUE_SSR_SETTERS__",n=>ss=n)}const vi=e=>{const t=at;return Da(e),e.scope.on(),()=>{e.scope.off(),Da(t)}},Kf=()=>{at&&at.scope.off(),Da(null)};function av(e){return e.vnode.shapeFlag&4}let ss=!1;function o1(e,t=!1){t&&eu(t);const{props:n,children:o}=e.vnode,r=av(e);qT(e,n,r,t),jT(e,o);const s=r?r1(e,t):void 0;return t&&eu(!1),s}function r1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Oo(new Proxy(e.ctx,LT));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?cv(e):null,s=vi(e);pr();const i=Co(o,e,0,[e.props,r]);if(gr(),s(),ed(i)){if(i.then(Kf,Kf),t)return i.then(a=>{Yf(e,a)}).catch(a=>{gi(a,e,0)});e.asyncDep=i}else Yf(e,i)}else lv(e)}function Yf(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Iy(t)),lv(e)}function lv(e,t,n){const o=e.type;e.render||(e.render=o.render||hn);{const r=vi(e);pr();try{DT(e)}finally{gr(),r()}}}function s1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return zt(e,"get","$attrs"),t[n]}}))}function cv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return s1(e)},slots:e.slots,emit:e.emit,expose:t}}function ml(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Iy(Oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in As)return As[n](e)},has(t,n){return n in t||n in As}}))}function uv(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function i1(e){return le(e)&&"__vccOpts"in e}const Y=(e,t)=>XS(e,t,ss);function Jn(e,t,n){const o=arguments.length;return o===2?Je(t)&&!ce(t)?fr(t)?L(e,null,[t]):L(e,t):L(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&fr(n)&&(n=[n]),L(e,t,n))}const a1="3.4.21",l1="http://www.w3.org/2000/svg",c1="http://www.w3.org/1998/Math/MathML",zn=typeof document!="undefined"?document:null,Xf=zn&&zn.createElement("template"),u1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?zn.createElementNS(l1,e):t==="mathml"?zn.createElementNS(c1,e):n?zn.createElement(e,{is:n}):zn.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>zn.createTextNode(e),createComment:e=>zn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{Xf.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const a=Xf.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},io="transition",ds="animation",Qs=Symbol("_vtc"),yl=(e,{slots:t})=>Jn(yT,d1(e),t);yl.displayName="Transition";const dv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};yl.props=pe({},Vy,dv);const Go=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},Jf=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function d1(e){const t={};for(const P in e)P in dv||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,w=f1(r),v=w&&w[0],m=w&&w[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:g,onLeave:p,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:k=_,onAppearCancelled:C=g}=t,E=(P,B,ee)=>{Ko(P,B?u:a),Ko(P,B?c:i),ee&&ee()},I=(P,B)=>{P._isLeaving=!1,Ko(P,d),Ko(P,h),Ko(P,f),B&&B()},A=P=>(B,ee)=>{const R=P?k:_,z=()=>E(B,P,ee);Go(R,[B,z]),Qf(()=>{Ko(B,P?l:s),ao(B,P?u:a),Jf(R)||Zf(B,o,v,z)})};return pe(t,{onBeforeEnter(P){Go(y,[P]),ao(P,s),ao(P,i)},onBeforeAppear(P){Go(S,[P]),ao(P,l),ao(P,c)},onEnter:A(!1),onAppear:A(!0),onLeave(P,B){P._isLeaving=!0;const ee=()=>I(P,B);ao(P,d),g1(),ao(P,f),Qf(()=>{P._isLeaving&&(Ko(P,d),ao(P,h),Jf(p)||Zf(P,o,m,ee))}),Go(p,[P,ee])},onEnterCancelled(P){E(P,!1),Go(g,[P])},onAppearCancelled(P){E(P,!0),Go(C,[P])},onLeaveCancelled(P){I(P),Go(T,[P])}})}function f1(e){if(e==null)return null;if(Je(e))return[Xl(e.enter),Xl(e.leave)];{const t=Xl(e);return[t,t]}}function Xl(e){return Rb(e)}function ao(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qs]||(e[Qs]=new Set)).add(t)}function Ko(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Qs];n&&(n.delete(t),n.size||(e[Qs]=void 0))}function Qf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let h1=0;function Zf(e,t,n,o){const r=e._endId=++h1,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=p1(e,t);if(!i)return o();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,f),s()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,f)}function p1(e,t){const n=window.getComputedStyle(e),o=w=>(n[w]||"").split(", "),r=o(`${io}Delay`),s=o(`${io}Duration`),i=eh(r,s),a=o(`${ds}Delay`),l=o(`${ds}Duration`),c=eh(a,l);let u=null,d=0,f=0;t===io?i>0&&(u=io,d=i,f=s.length):t===ds?c>0&&(u=ds,d=c,f=l.length):(d=Math.max(i,c),u=d>0?i>c?io:ds:null,f=u?u===io?s.length:l.length:0);const h=u===io&&/\b(transform|all)(,|$)/.test(o(`${io}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function eh(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>th(n)+th(e[o])))}function th(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function g1(){return document.body.offsetHeight}function m1(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter(i=>r.indexOf(i)===-1).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const s=e[Qs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Na=Symbol("_vod"),fv=Symbol("_vsh"),Xt={beforeMount(e,{value:t},{transition:n}){e[Na]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),fs(e,!0),o.enter(e)):o.leave(e,()=>{fs(e,!1)}):fs(e,t))},beforeUnmount(e,{value:t}){fs(e,t)}};function fs(e,t){e.style.display=t?e[Na]:"none",e[fv]=!t}const y1=Symbol(""),v1=/(^|;)\s*display\s*:/;function _1(e,t,n){const o=e.style,r=be(n);let s=!1;if(n&&!r){if(t)if(be(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&ks(o,l,"")}else for(const a in t)n[a]==null&&ks(o,a,"");for(const a in n)a==="display"&&(s=!0),ks(o,a,n[a])}else if(r){if(t!==n){const a=o[y1];a&&(n+=";"+a),o.cssText=n,s=v1.test(n)}}else t&&e.removeAttribute("style");Na in e&&(e[Na]=s?o.display:"",e[fv]&&(o.display="none"));const{__wxsStyle:i}=e;if(i)for(const a in i)ks(o,a,i[a])}const nh=/\s*!important$/;function ks(e,t,n){if(ce(n))n.forEach(o=>ks(e,t,o));else if(n==null&&(n=""),n=k1(n),t.startsWith("--"))e.setProperty(t,n);else{const o=w1(e,t);nh.test(n)?e.setProperty(no(o),n.replace(nh,""),"important"):e[o]=n}}const oh=["Webkit","Moz","ms"],Jl={};function w1(e,t){const n=Jl[t];if(n)return n;let o=En(t);if(o!=="filter"&&o in e)return Jl[t]=o;o=rl(o);for(let r=0;r<oh.length;r++){const s=oh[r]+o;if(s in e)return Jl[t]=s}return t}const{unit:b1,unitRatio:S1,unitPrecision:T1}=fS,C1=hS(b1,S1,T1),k1=e=>be(e)?C1(e):e,rh="http://www.w3.org/1999/xlink";function x1(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(rh,t.slice(6,t.length)):e.setAttributeNS(rh,t,n);else{const s=Ub(t);n==null||s&&!Lm(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function P1(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n==null?"":n;return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?"":n;(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Lm(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}function E1(e,t,n,o){e.addEventListener(t,n,o)}function I1(e,t,n,o){e.removeEventListener(t,n,o)}const sh=Symbol("_vei");function A1(e,t,n,o,r=null){const s=e[sh]||(e[sh]={}),i=s[t];if(o&&i)i.value=o;else{const[a,l]=O1(t);if(o){const c=s[t]=R1(o,r);E1(e,a,c,l)}else i&&(I1(e,a,i,l),s[t]=void 0)}}const ih=/(?:Once|Passive|Capture)$/;function O1(e){let t;if(ih.test(e)){t={};let o;for(;o=e.match(ih);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):no(e.slice(2)),t]}let Ql=0;const L1=Promise.resolve(),M1=()=>Ql||(L1.then(()=>Ql=0),Ql=Date.now());function R1(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const r=t&&t.proxy,s=r&&r.$nne,{value:i}=n;if(s&&ce(i)){const a=ah(o,i);for(let l=0;l<a.length;l++){const c=a[l];Wt(c,t,5,c.__wwe?[o]:s(o))}return}Wt(ah(o,n.value),t,5,s&&!i.__wwe?s(o,i,t):[o])};return n.value=e,n.attached=M1(),n}function ah(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>{const r=s=>!s._stopped&&o&&o(s);return r.__wwe=o.__wwe,r})}else return t}function D1(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:s}=o,i=s[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===i)return;e.__wxsProps[r]=i;const l=o.proxy;rt(()=>{n(i,a,l.$gcd(l,!0),l.$gcd(l,!1))})}const lh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,N1=(e,t)=>t.indexOf("change:")===0?!0:t==="class"&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):t==="style"&&e.__wxsStyleChanged?(e.__wxsStyleChanged=!1,!0):!1,$1=(e,t,n,o,r,s,i,a,l)=>{if(t.indexOf("change:")===0)return D1(e,t,o,i);const c=r==="svg";t==="class"?m1(e,o,c):t==="style"?_1(e,n,o):nl(t)?Qu(t)||A1(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):B1(e,t,o,c))?P1(e,t,o,s,i,a,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),x1(e,t,o,c))};function B1(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&lh(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return lh(t)&&be(n)?!1:t in e}const F1=["ctrl","shift","alt","meta"],U1={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>F1.some(n=>e[`${n}Key`]&&!t.includes(n))},cn=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let i=0;i<t.length;i++){const a=U1[t[i]];if(a&&a(r,t))return}return e(r,...s)})},V1=pe({patchProp:$1,forcePatchProp:N1},u1);let ch;function q1(){return ch||(ch=GT(V1))}const hv=(...e)=>{const t=q1().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=W1(o);if(!r)return;const s=t._component;!le(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,H1(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function H1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function W1(e){return be(e)?document.querySelector(e):e}/*!
  60. * vue-router v4.5.0
  61. * (c) 2024 Eduardo San Martin Morote
  62. * @license MIT
  63. */const Cr=typeof document!="undefined";function pv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function j1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&pv(e.default)}const He=Object.assign;function Zl(e,t){const n={};for(const o in t){const r=t[o];n[o]=An(r)?r.map(e):e(r)}return n}const Ms=()=>{},An=Array.isArray,gv=/#/g,z1=/&/g,G1=/\//g,K1=/=/g,Y1=/\?/g,mv=/\+/g,X1=/%5B/g,J1=/%5D/g,yv=/%5E/g,Q1=/%60/g,vv=/%7B/g,Z1=/%7C/g,_v=/%7D/g,eC=/%20/g;function vd(e){return encodeURI(""+e).replace(Z1,"|").replace(X1,"[").replace(J1,"]")}function tC(e){return vd(e).replace(vv,"{").replace(_v,"}").replace(yv,"^")}function tu(e){return vd(e).replace(mv,"%2B").replace(eC,"+").replace(gv,"%23").replace(z1,"%26").replace(Q1,"`").replace(vv,"{").replace(_v,"}").replace(yv,"^")}function nC(e){return tu(e).replace(K1,"%3D")}function oC(e){return vd(e).replace(gv,"%23").replace(Y1,"%3F")}function rC(e){return e==null?"":oC(e).replace(G1,"%2F")}function Zs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const sC=/\/$/,iC=e=>e.replace(sC,"");function ec(e,t,n="/"){let o,r={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),r=e(s)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=uC(o!=null?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:Zs(i)}}function aC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function uh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lC(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&jr(t.matched[o],n.matched[r])&&wv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!cC(e[n],t[n]))return!1;return!0}function cC(e,t){return An(e)?dh(e,t):An(t)?dh(t,e):e===t}function dh(e,t){return An(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function uC(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(i).join("/")}const lo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ei;(function(e){e.pop="pop",e.push="push"})(ei||(ei={}));var Rs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rs||(Rs={}));function dC(e){if(!e)if(Cr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),iC(e)}const fC=/^[^#]+#/;function hC(e,t){return e.replace(fC,"#")+t}function pC(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)}}const vl=()=>({left:window.scrollX,top:window.scrollY});function gC(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=pC(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function fh(e,t){return(history.state?history.state.position-t:-1)+e}const nu=new Map;function mC(e,t){nu.set(e,t)}function yC(e){const t=nu.get(e);return nu.delete(e),t}let vC=()=>location.protocol+"//"+location.host;function bv(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let a=r.includes(e.slice(s))?e.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),uh(l,"")}return uh(n,e)+o+r}function _C(e,t,n,o){let r=[],s=[],i=null;const a=({state:f})=>{const h=bv(e,location),w=n.value,v=t.value;let m=0;if(f){if(n.value=h,t.value=f,i&&i===w){i=null;return}m=v?f.position-v.position:0}else o(h);r.forEach(y=>{y(n.value,w,{delta:m,type:ei.pop,direction:m?m>0?Rs.forward:Rs.back:Rs.unknown})})};function l(){i=n.value}function c(f){r.push(f);const h=()=>{const w=r.indexOf(f);w>-1&&r.splice(w,1)};return s.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(He({},f.state,{scroll:vl()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function hh(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?vl():null}}function wC(e){const{history:t,location:n}=window,o={value:bv(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:vC()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){n[u?"replace":"assign"](f)}}function i(l,c){const u=He({},t.state,hh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),o.value=l}function a(l,c){const u=He({},r.value,t.state,{forward:l,scroll:vl()});s(u.current,u,!0);const d=He({},hh(o.value,l,null),{position:u.position+1},c);s(l,d,!1),o.value=l}return{location:o,state:r,push:a,replace:i}}function bC(e){e=dC(e);const t=wC(e),n=_C(e,t.state,t.location,t.replace);function o(s,i=!0){i||n.pauseListeners(),history.go(s)}const r=He({location:"",base:e,go:o,createHref:hC.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function SC(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bC(e)}function TC(e){return typeof e=="string"||e&&typeof e=="object"}function Sv(e){return typeof e=="string"||typeof e=="symbol"}const Tv=Symbol("");var ph;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ph||(ph={}));function zr(e,t){return He(new Error,{type:e,[Tv]:!0},t)}function Rn(e,t){return e instanceof Error&&Tv in e&&(t==null||!!(e.type&t))}const gh="[^/]+?",CC={sensitive:!1,strict:!1,start:!0,end:!0},kC=/[.+*?^${}()[\]/\\]/g;function xC(e,t){const n=He({},CC,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(kC,"\\$&"),h+=40;else if(f.type===1){const{value:w,repeatable:v,optional:m,regexp:y}=f;s.push({name:w,repeatable:v,optional:m});const _=y||gh;if(_!==gh){h+=10;try{new RegExp(`(${_})`)}catch(p){throw new Error(`Invalid custom RegExp for param "${w}" (${_}): `+p.message)}}let g=v?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(g=m&&c.length<2?`(?:/${g})`:"/"+g),m&&(g+="?"),r+=g,h+=20,m&&(h+=-8),v&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(i),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",w=s[f-1];d[w.name]=h&&w.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:w,repeatable:v,optional:m}=h,y=w in c?c[w]:"";if(An(y)&&!v)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const _=An(y)?y.join("/"):y;if(!_)if(m)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${w}"`);u+=_}}return u||"/"}return{re:i,score:o,keys:s,parse:a,stringify:l}}function PC(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Cv(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const s=PC(o[n],r[n]);if(s)return s;n++}if(Math.abs(r.length-o.length)===1){if(mh(o))return 1;if(mh(r))return-1}return r.length-o.length}function mh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const EC={type:0,value:""},IC=/[a-zA-Z0-9_]/;function AC(e){if(!e)return[[]];if(e==="/")return[[EC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let s;function i(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),i()):l===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:l==="("?n=2:IC.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),r}function OC(e,t,n){const o=xC(AC(e.path),n),r=He(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function LC(e,t){const n=[],o=new Map;t=wh({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function s(d,f,h){const w=!h,v=vh(d);v.aliasOf=h&&h.record;const m=wh(t,d),y=[v];if("alias"in d){const p=typeof d.alias=="string"?[d.alias]:d.alias;for(const T of p)y.push(vh(He({},v,{components:h?h.record.components:v.components,path:T,aliasOf:h?h.record:v})))}let _,g;for(const p of y){const{path:T}=p;if(f&&T[0]!=="/"){const S=f.record.path,k=S[S.length-1]==="/"?"":"/";p.path=f.record.path+(T&&k+T)}if(_=OC(p,f,m),h?h.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),w&&d.name&&!_h(_)&&i(d.name)),kv(_)&&l(_),v.children){const S=v.children;for(let k=0;k<S.length;k++)s(S[k],_,h&&h.children[k])}h=h||_}return g?()=>{i(g)}:Ms}function i(d){if(Sv(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){const f=DC(d,n);n.splice(f,0,d),d.record.name&&!_h(d)&&o.set(d.record.name,d)}function c(d,f){let h,w={},v,m;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw zr(1,{location:d});m=h.record.name,w=He(yh(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&yh(d.params,h.keys.map(g=>g.name))),v=h.stringify(w)}else if(d.path!=null)v=d.path,h=n.find(g=>g.re.test(v)),h&&(w=h.parse(v),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw zr(1,{location:d,currentLocation:f});m=h.record.name,w=He({},f.params,d.params),v=h.stringify(w)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:m,path:v,params:w,matched:y,meta:RC(y)}}e.forEach(d=>s(d));function u(){n.length=0,o.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function yh(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function vh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:MC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function MC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function _h(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function RC(e){return e.reduce((t,n)=>He(t,n.meta),{})}function wh(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function DC(e,t){let n=0,o=t.length;for(;n!==o;){const s=n+o>>1;Cv(e,t[s])<0?o=s:n=s+1}const r=NC(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function NC(e){let t=e;for(;t=t.parent;)if(kv(t)&&Cv(e,t)===0)return t}function kv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function $C(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const s=o[r].replace(mv," "),i=s.indexOf("="),a=Zs(i<0?s:s.slice(0,i)),l=i<0?null:Zs(s.slice(i+1));if(a in t){let c=t[a];An(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function bh(e){let t="";for(let n in e){const o=e[n];if(n=nC(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(An(o)?o.map(s=>s&&tu(s)):[o&&tu(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function BC(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=An(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const FC=Symbol(""),Sh=Symbol(""),_l=Symbol(""),_d=Symbol(""),ou=Symbol("");function hs(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function yo(e,t,n,o,r,s=i=>i()){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(zr(4,{from:n,to:t})):f instanceof Error?l(f):TC(f)?l(zr(2,{from:t,to:f})):(i&&o.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),a())},u=s(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function tc(e,t,n,o,r=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(pv(l)){const u=(l.__vccOpts||l)[t];u&&s.push(yo(u,n,o,i,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const d=j1(u)?u.default:u;i.mods[a]=u,i.components[a]=d;const h=(d.__vccOpts||d)[t];return h&&yo(h,n,o,i,a,r)()}))}}return s}function Th(e){const t=Ne(_l),n=Ne(_d),o=Y(()=>{const l=Ct(e.to);return t.resolve(l)}),r=Y(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(jr.bind(null,u));if(f>-1)return f;const h=Ch(l[c-2]);return c>1&&Ch(u)===h&&d[d.length-1].path!==h?d.findIndex(jr.bind(null,l[c-2])):f}),s=Y(()=>r.value>-1&&WC(n.params,o.value.params)),i=Y(()=>r.value>-1&&r.value===n.matched.length-1&&wv(n.params,o.value.params));function a(l={}){if(HC(l)){const c=t[Ct(e.replace)?"replace":"push"](Ct(e.to)).catch(Ms);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:Y(()=>o.value.href),isActive:s,isExactActive:i,navigate:a}}function UC(e){return e.length===1?e[0]:e}const VC=nt({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:Th,setup(e,{slots:t}){const n=Ie(Th(e)),{options:o}=Ne(_l),r=Y(()=>({[kh(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[kh(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&UC(t.default(n));return e.custom?s:Jn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),qC=VC;function HC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function WC(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!An(r)||r.length!==o.length||o.some((s,i)=>s!==r[i]))return!1}return!0}function Ch(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kh=(e,t,n)=>e!=null?e:t!=null?t:n,jC=nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ne(ou),r=Y(()=>e.route||o.value),s=Ne(Sh,0),i=Y(()=>{let c=Ct(s);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=Y(()=>r.value.matched[i.value]);_t(Sh,Y(()=>i.value+1)),_t(FC,a),_t(ou,r);const l=H();return se(()=>[l.value,a.value,e.name],([c,u,d],[f,h,w])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!jr(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return xh(n.default,{Component:f,route:c});const h=d.props[u],w=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=Jn(f,He({},w,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return xh(n.default,{Component:m,route:c})||m}}});function xh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const xv=jC;function zC(e){const t=LC(e.routes,e),n=e.parseQuery||$C,o=e.stringifyQuery||bh,r=e.history,s=hs(),i=hs(),a=hs(),l=ua(lo);let c=lo;Cr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Zl.bind(null,W=>""+W),d=Zl.bind(null,rC),f=Zl.bind(null,Zs);function h(W,oe){let ne,ue;return Sv(W)?(ne=t.getRecordMatcher(W),ue=oe):ue=W,t.addRoute(ue,ne)}function w(W){const oe=t.getRecordMatcher(W);oe&&t.removeRoute(oe)}function v(){return t.getRoutes().map(W=>W.record)}function m(W){return!!t.getRecordMatcher(W)}function y(W,oe){if(oe=He({},oe||l.value),typeof W=="string"){const x=ec(n,W,oe.path),M=t.resolve({path:x.path},oe),V=r.createHref(x.fullPath);return He(x,M,{params:f(M.params),hash:Zs(x.hash),redirectedFrom:void 0,href:V})}let ne;if(W.path!=null)ne=He({},W,{path:ec(n,W.path,oe.path).path});else{const x=He({},W.params);for(const M in x)x[M]==null&&delete x[M];ne=He({},W,{params:d(x)}),oe.params=d(oe.params)}const ue=t.resolve(ne,oe),O=W.hash||"";ue.params=u(f(ue.params));const D=aC(o,He({},W,{hash:tC(O),path:ue.path})),b=r.createHref(D);return He({fullPath:D,hash:O,query:o===bh?BC(W.query):W.query||{}},ue,{redirectedFrom:void 0,href:b})}function _(W){return typeof W=="string"?ec(n,W,l.value.path):He({},W)}function g(W,oe){if(c!==W)return zr(8,{from:oe,to:W})}function p(W){return k(W)}function T(W){return p(He(_(W),{replace:!0}))}function S(W){const oe=W.matched[W.matched.length-1];if(oe&&oe.redirect){const{redirect:ne}=oe;let ue=typeof ne=="function"?ne(W):ne;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=_(ue):{path:ue},ue.params={}),He({query:W.query,hash:W.hash,params:ue.path!=null?{}:W.params},ue)}}function k(W,oe){const ne=c=y(W),ue=l.value,O=W.state,D=W.force,b=W.replace===!0,x=S(ne);if(x)return k(He(_(x),{state:typeof x=="object"?He({},O,x.state):O,force:D,replace:b}),oe||ne);const M=ne;M.redirectedFrom=oe;let V;return!D&&lC(o,ue,ne)&&(V=zr(16,{to:M,from:ue}),U(ue,ue,!0,!1)),(V?Promise.resolve(V):I(M,ue)).catch(j=>Rn(j)?Rn(j,2)?j:Z(j):X(j,M,ue)).then(j=>{if(j){if(Rn(j,2))return k(He({replace:b},_(j.to),{state:typeof j.to=="object"?He({},O,j.to.state):O,force:D}),oe||M)}else j=P(M,ue,!0,b,O);return A(M,ue,j),j})}function C(W,oe){const ne=g(W,oe);return ne?Promise.reject(ne):Promise.resolve()}function E(W){const oe=q.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(W):W()}function I(W,oe){let ne;const[ue,O,D]=GC(W,oe);ne=tc(ue.reverse(),"beforeRouteLeave",W,oe);for(const x of ue)x.leaveGuards.forEach(M=>{ne.push(yo(M,W,oe))});const b=C.bind(null,W,oe);return ne.push(b),je(ne).then(()=>{ne=[];for(const x of s.list())ne.push(yo(x,W,oe));return ne.push(b),je(ne)}).then(()=>{ne=tc(O,"beforeRouteUpdate",W,oe);for(const x of O)x.updateGuards.forEach(M=>{ne.push(yo(M,W,oe))});return ne.push(b),je(ne)}).then(()=>{ne=[];for(const x of D)if(x.beforeEnter)if(An(x.beforeEnter))for(const M of x.beforeEnter)ne.push(yo(M,W,oe));else ne.push(yo(x.beforeEnter,W,oe));return ne.push(b),je(ne)}).then(()=>(W.matched.forEach(x=>x.enterCallbacks={}),ne=tc(D,"beforeRouteEnter",W,oe,E),ne.push(b),je(ne))).then(()=>{ne=[];for(const x of i.list())ne.push(yo(x,W,oe));return ne.push(b),je(ne)}).catch(x=>Rn(x,8)?x:Promise.reject(x))}function A(W,oe,ne){a.list().forEach(ue=>E(()=>ue(W,oe,ne)))}function P(W,oe,ne,ue,O){const D=g(W,oe);if(D)return D;const b=oe===lo,x=Cr?history.state:{};ne&&(ue||b?r.replace(W.fullPath,He({scroll:b&&x&&x.scroll},O)):r.push(W.fullPath,O)),l.value=W,U(W,oe,ne,b),Z()}let B;function ee(){B||(B=r.listen((W,oe,ne)=>{if(!et.listening)return;const ue=y(W),O=S(ue);if(O){k(He(O,{replace:!0,force:!0}),ue).catch(Ms);return}c=ue;const D=l.value;Cr&&mC(fh(D.fullPath,ne.delta),vl()),I(ue,D).catch(b=>Rn(b,12)?b:Rn(b,2)?(k(He(_(b.to),{force:!0}),ue).then(x=>{Rn(x,20)&&!ne.delta&&ne.type===ei.pop&&r.go(-1,!1)}).catch(Ms),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),X(b,ue,D))).then(b=>{b=b||P(ue,D,!1),b&&(ne.delta&&!Rn(b,8)?r.go(-ne.delta,!1):ne.type===ei.pop&&Rn(b,20)&&r.go(-1,!1)),A(ue,D,b)}).catch(Ms)}))}let R=hs(),z=hs(),te;function X(W,oe,ne){Z(W);const ue=z.list();return ue.length&&ue.forEach(O=>O(W,oe,ne)),Promise.reject(W)}function N(){return te&&l.value!==lo?Promise.resolve():new Promise((W,oe)=>{R.add([W,oe])})}function Z(W){return te||(te=!W,ee(),R.list().forEach(([oe,ne])=>W?ne(W):oe()),R.reset()),W}function U(W,oe,ne,ue){const{scrollBehavior:O}=e;if(!Cr||!O)return Promise.resolve();const D=!ne&&yC(fh(W.fullPath,0))||(ue||!ne)&&history.state&&history.state.scroll||null;return rt().then(()=>O(W,oe,D)).then(b=>b&&gC(b)).catch(b=>X(b,W,oe))}const K=W=>r.go(W);let G;const q=new Set,et={currentRoute:l,listening:!0,addRoute:h,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:v,resolve:y,options:e,push:p,replace:T,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:z.add,isReady:N,install(W){const oe=this;W.component("RouterLink",qC),W.component("RouterView",xv),W.config.globalProperties.$router=oe,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(l)}),Cr&&!G&&l.value===lo&&(G=!0,p(r.location).catch(O=>{}));const ne={};for(const O in lo)Object.defineProperty(ne,O,{get:()=>l.value[O],enumerable:!0});W.provide(_l,oe),W.provide(_d,Ty(ne)),W.provide(ou,l);const ue=W.unmount;q.add(W),W.unmount=function(){q.delete(W),q.size<1&&(c=lo,B&&B(),B=null,l.value=lo,G=!1,te=!1),ue()}}};function je(W){return W.reduce((oe,ne)=>oe.then(()=>E(ne)),Promise.resolve())}return et}function GC(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>jr(c,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>jr(c,l))||r.push(l))}return[n,o,r]}function KC(){return Ne(_l)}function wl(e){return Ne(_d)}const YC=e=>e!==null&&typeof e=="object",XC=["{","}"];class JC{constructor(){this._caches=Object.create(null)}interpolate(t,n,o=XC){if(!n)return[t];let r=this._caches[t];return r||(r=ek(t,o),this._caches[t]=r),tk(r,n)}}const QC=/^(?:\d)+/,ZC=/^(?:\w)+/;function ek(e,[t,n]){const o=[];let r=0,s="";for(;r<e.length;){let i=e[r++];if(i===t){s&&o.push({type:"text",value:s}),s="";let a="";for(i=e[r++];i!==void 0&&i!==n;)a+=i,i=e[r++];const l=i===n,c=QC.test(a)?"list":l&&ZC.test(a)?"named":"unknown";o.push({value:a,type:c})}else s+=i}return s&&o.push({type:"text",value:s}),o}function tk(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":YC(t)?"named":"unknown";if(r==="unknown")return n;for(;o<e.length;){const s=e[o];switch(s.type){case"text":n.push(s.value);break;case"list":n.push(t[parseInt(s.value,10)]);break;case"named":r==="named"&&n.push(t[s.value]);break}o++}return n}const Fn="zh-Hans",eo="zh-Hant",en="en",Bo="fr",Fo="es",nk=Object.prototype.hasOwnProperty,Ph=(e,t)=>nk.call(e,t),ok=new JC;function rk(e,t){return!!t.find(n=>e.indexOf(n)!==-1)}function sk(e,t){return t.find(n=>e.indexOf(n)===0)}function Eh(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return Fn;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?Fn:e.indexOf("-hant")>-1||rk(e,["-tw","-hk","-mo","-cht"])?eo:Fn;let n=[en,Bo,Fo];t&&Object.keys(t).length>0&&(n=Object.keys(t));const o=sk(e,n);if(o)return o}class ik{constructor({locale:t,fallbackLocale:n,messages:o,watcher:r,formater:s}){this.locale=en,this.fallbackLocale=en,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||ok,this.messages=o||{},this.setLocale(t||en),r&&this.watchLocale(r)}setLocale(t){const n=this.locale;this.locale=Eh(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach(o=>{o(this.locale,n)})}getLocale(){return this.locale}watchLocale(t){const n=this.watchers.push(t)-1;return()=>{this.watchers.splice(n,1)}}add(t,n,o=!0){const r=this.messages[t];r?o?Object.assign(r,n):Object.keys(n).forEach(s=>{Ph(r,s)||(r[s]=n[s])}):this.messages[t]=n}f(t,n,o){return this.formater.interpolate(t,n,o).join("")}t(t,n,o){let r=this.message;return typeof n=="string"?(n=Eh(n,this.messages),n&&(r=this.messages[n])):o=n,Ph(r,t)?this.formater.interpolate(r[t],o).join(""):t}}function ak(e,t){e.$watchLocale?e.$watchLocale(n=>{t.setLocale(n)}):e.$watch(()=>e.$locale,n=>{t.setLocale(n)})}function lk(){return typeof uni!="undefined"&&to?to():typeof global!="undefined"&&global.getLocale?global.getLocale():en}function ck(e,t={},n,o){if(typeof e!="string"){const i=[t,e];e=i[0],t=i[1]}typeof e!="string"&&(e=lk()),typeof n!="string"&&(n=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||en);const r=new ik({locale:e,fallbackLocale:n,messages:t,watcher:o});let s=(i,a)=>{if(typeof Pe!="function")s=function(l,c){return r.t(l,c)};else{let l=!1;s=function(c,u){const d=Pe().$vm;return d&&(d.$locale,l||(l=!0,ak(d,r))),r.t(c,u)}}return s(i,a)};return{i18n:r,f(i,a,l){return r.f(i,a,l)},t(i,a){return s(i,a)},add(i,a,l=!0){return r.add(i,a,l)},watch(i){return r.watchLocale(i)},getLocale(){return r.getLocale()},setLocale(i){return r.setLocale(i)}}}function Pv(e,t){return e.indexOf(t[0])>-1}const wd=Bt(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let ps;function uk(){const e=to(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function dk(e){return Pv(e,Fc)?Ce().f(e,uk(),Fc):e}function Ev(e,t){if(t.length===1){if(e){const o=a=>be(a)&&Pv(a,Fc),r=t[0];let s=[];if(ce(e)&&(s=e.filter(a=>o(a[r]))).length)return s;const i=e[t[0]];if(o(i))return e}return}const n=t.shift();return Ev(e&&e[n],t)}function fk(e,t){return t.map(n=>bd(e,n))}function bd(e,t){const n=Ev(e,t);if(!n)return!1;const o=t[t.length-1];if(ce(n))n.forEach(r=>bd(r,[o]));else{let r=n[o];Object.defineProperty(n,o,{get(){return dk(r)},set(s){r=s}})}return!0}function Ce(){if(!ps){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[Rm]||__uniConfig.locale||navigator.language,ps=ck(e),wd()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(n=>ps.add(n,__uniConfig.locales[n])),ps.setLocale(e)}}return ps}function Oe(e,t,n){return t.reduce((o,r,s)=>(o[e+r]=n[s],o),{})}const hk=Bt(()=>{const e="uni.async.",t=["error"];Ce().add(en,Oe(e,t,["The connection timed out, click the screen to try again."]),!1),Ce().add(Fo,Oe(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ce().add(Bo,Oe(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ce().add(Fn,Oe(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ce().add(eo,Oe(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),pk=Bt(()=>{const e="uni.showToast.",t=["unpaired"];Ce().add(en,Oe(e,t,["Please note showToast must be paired with hideToast"]),!1),Ce().add(Fo,Oe(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ce().add(Bo,Oe(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ce().add(Fn,Oe(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ce().add(eo,Oe(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),gk=Bt(()=>{const e="uni.showLoading.",t=["unpaired"];Ce().add(en,Oe(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ce().add(Fo,Oe(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ce().add(Bo,Oe(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ce().add(Fn,Oe(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ce().add(eo,Oe(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),mk=Bt(()=>{const e="uni.showModal.",t=["cancel","confirm"];Ce().add(en,Oe(e,t,["Cancel","OK"]),!1),Ce().add(Fo,Oe(e,t,["Cancelar","OK"]),!1),Ce().add(Bo,Oe(e,t,["Annuler","OK"]),!1),Ce().add(Fn,Oe(e,t,["取消","确定"]),!1),Ce().add(eo,Oe(e,t,["取消","確定"]),!1)}),Sd=Bt(()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ce().add(en,Oe(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ce().add(Fo,Oe(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ce().add(Bo,Oe(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),Ce().add(Fn,Oe(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Ce().add(eo,Oe(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),yk=Bt(()=>{const e="uni.setClipboardData.",t=["success","fail"];Ce().add(en,Oe(e,t,["Content copied","Copy failed, please copy manually"]),!1),Ce().add(Fo,Oe(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Ce().add(Bo,Oe(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Ce().add(Fn,Oe(e,t,["内容已复制","复制失败,请手动复制"]),!1),Ce().add(eo,Oe(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),vk=Bt(()=>{const e="uni.video.",t=["danmu","volume"];Ce().add(en,Oe(e,t,["Danmu","Volume"]),!1),Ce().add(Fo,Oe(e,t,["Danmu","Volumen"]),!1),Ce().add(Bo,Oe(e,t,["Danmu","Le Volume"]),!1),Ce().add(Fn,Oe(e,t,["弹幕","音量"]),!1),Ce().add(eo,Oe(e,t,["彈幕","音量"]),!1)});function _k(e){if(wd())return fk(e,[["titleText"],["searchInput","placeholder"],["buttons","text"]])}function wk(e){return wd()&&e.list&&e.list.forEach(t=>{bd(t,["text"])}),e}function Iv(e){const t=new ly;return{on(n,o){return t.on(n,o)},once(n,o){return t.once(n,o)},off(n,o){return t.off(n,o)},emit(n,...o){return t.emit(n,...o)},subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const is="invokeViewApi",Ih="invokeServiceApi";let bk=1;const Sk=(e,t,n)=>{const{subscribe:o,publishHandler:r}=Dt,s=n?bk++:0;n&&o(Ih+"."+s,n,!0),r(Ih,{id:s,name:e,args:t})},Gr=Object.create(null);function _i(e,t){return e+"."+t}function Tk(e,t){Dt.subscribe(_i(e,is),xk)}function Ck(e){Dt.unsubscribe(_i(e,is)),Object.keys(Gr).forEach(t=>{t.indexOf(e+".")===0&&delete Gr[t]})}function Av(e,t,n){t=_i(e,t),Gr[t]||(Gr[t]=n)}function kk(e,t){t=_i(e,t),delete Gr[t]}function xk({id:e,name:t,args:n},o){t=_i(o,t);const r=i=>{e&&Dt.publishHandler(is+"."+e,i)},s=Gr[t];s?s(n,r):r({})}const Pk=pe(Iv("service"),{invokeServiceMethod:Sk}),Ek=350,Ah=10,Ui=qr(!0);let Ds;function ti(){Ds&&(clearTimeout(Ds),Ds=null)}let Ov=0,Lv=0;function Ik(e){if(ti(),e.touches.length!==1)return;const{pageX:t,pageY:n}=e.touches[0];Ov=t,Lv=n,Ds=setTimeout(function(){const o=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});o.touches=e.touches,o.changedTouches=e.changedTouches,e.target.dispatchEvent(o)},Ek)}function Ak(e){if(!Ds)return;if(e.touches.length!==1)return ti();const{pageX:t,pageY:n}=e.touches[0];if(Math.abs(t-Ov)>Ah||Math.abs(n-Lv)>Ah)return ti()}function Ok(){window.addEventListener("touchstart",Ik,Ui),window.addEventListener("touchmove",Ak,Ui),window.addEventListener("touchend",ti,Ui),window.addEventListener("touchcancel",ti,Ui)}function Oh(e,t){const n=Number(e);return isNaN(n)?t:n}function Lk(){const e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90;var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,o=Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n;return o}function Mk(){const e=__uniConfig.globalStyle||{},t=Oh(e.rpxCalcMaxDeviceWidth,960),n=Oh(e.rpxCalcBaseDeviceWidth,375);function o(){let r=Lk();r=r<=t?r:n,document.documentElement.style.fontSize=r/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Rk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lh=["top","left","right","bottom"],Td,$a={},dn;function Cd(){return!("CSS"in window)||typeof CSS.supports!="function"?dn="":CSS.supports("top: env(safe-area-inset-top)")?dn="env":CSS.supports("top: constant(safe-area-inset-top)")?dn="constant":dn="",dn}function Mv(){if(dn=typeof dn=="string"?dn:Cd(),!dn){Lh.forEach(function(a){$a[a]=0});return}function e(a,l){var c=a.style;Object.keys(l).forEach(function(u){var d=l[u];c[u]=d})}var t=[];function n(a){a?t.push(a):t.forEach(function(l){l()})}var o=!1;try{var r=Object.defineProperty({},"passive",{get:function(){o={passive:!0}}});window.addEventListener("test",null,r)}catch(a){}function s(a,l){var c=document.createElement("div"),u=document.createElement("div"),d=document.createElement("div"),f=document.createElement("div"),h=100,w=1e4,v={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:dn+"(safe-area-inset-"+l+")"};e(c,v),e(u,v),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(f,{transition:"0s",animation:"none",width:"250%",height:"250%"}),c.appendChild(d),u.appendChild(f),a.appendChild(c),a.appendChild(u),n(function(){c.scrollTop=u.scrollTop=w;var y=c.scrollTop,_=u.scrollTop;function g(){this.scrollTop!==(this===c?y:_)&&(c.scrollTop=u.scrollTop=w,y=c.scrollTop,_=u.scrollTop,Dk(l))}c.addEventListener("scroll",g,o),u.addEventListener("scroll",g,o)});var m=getComputedStyle(c);Object.defineProperty($a,l,{configurable:!0,get:function(){return parseFloat(m.paddingBottom)}})}var i=document.createElement("div");e(i,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Lh.forEach(function(a){s(i,a)}),document.body.appendChild(i),n(),Td=!0}function Vi(e){return Td||Mv(),$a[e]}var qi=[];function Dk(e){qi.length||setTimeout(function(){var t={};qi.forEach(function(n){t[n]=$a[n]}),qi.length=0,Ba.forEach(function(n){n(t)})},0),qi.push(e)}var Ba=[];function Nk(e){Cd()&&(Td||Mv(),typeof e=="function"&&Ba.push(e))}function $k(e){var t=Ba.indexOf(e);t>=0&&Ba.splice(t,1)}var Bk={get support(){return(typeof dn=="string"?dn:Cd()).length!=0},get top(){return Vi("top")},get left(){return Vi("left")},get right(){return Vi("right")},get bottom(){return Vi("bottom")},onChange:Nk,offChange:$k},Fk=Bk;const St=Rk(Fk),kd=cn(()=>{},["prevent"]),Uk=cn(e=>{},["stop"]);function xs(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function bl(){const e=document.documentElement.style,t=xs(e,"--window-top");return t?t+St.top:0}function Rv(){const e=document.documentElement.style,t=bl(),n=xs(e,"--window-bottom"),o=xs(e,"--window-left"),r=xs(e,"--window-right"),s=xs(e,"--top-window-height");return{top:t,bottom:n?n+St.bottom:0,left:o?o+St.left:0,right:r?r+St.right:0,topWindowHeight:s||0}}function Nr(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Dv(e){return Nr(e)}const Fa=new Map;function Vk(e,t){let n=Fa.get(e);n&&!(n instanceof HTMLStyleElement)&&(qk(e),n=void 0),n?n.innerHTML=t:(n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)),Fa.set(e,n)}function qk(e){let t=Fa.get(e);t&&(t instanceof CSSStyleSheet?document.adoptedStyleSheets=document.adoptedStyleSheets.filter(n=>n!==t):document.head.removeChild(t),Fa.delete(e))}function xd(e){return Symbol(e)}function Nv(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Hi(e,t=!1){if(t)return Hk(e);if(be(e)){const n=parseInt(e)||0;return Nv(e)?Si(n):n}return e}function Hk(e){return Nv(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,n)=>Si(parseFloat(n))+"px"):e}function $v(e){return e.$page}function Pd(e){return e.tagName.indexOf("UNI-")===0}const Wk="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",jk="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",Ua="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",Bv="M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z";function hr(e,t="#000",n=27){return L("svg",{width:n,height:n,viewBox:"0 0 32 32"},[L("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ed(){{const{$pageInstance:e}=ft();return e&&fa(e.proxy)}}function Lo(e){const t=cl(e);if(t.$page)return fa(t);if(!t.$)return;{const{$pageInstance:o}=t.$;if(o)return fa(o.proxy)}const n=t.$.root.proxy;if(n&&n.$page)return fa(n)}function mr(){const e=on(),t=e.length;if(t)return e[t-1]}function Id(){var e;const t=(e=mr())==null?void 0:e.$page;if(t)return t.meta}function wi(){const e=Id();return e?e.id:-1}function Mo(){const e=mr();if(e)return e.$vm}const zk=["navigationBar","pullToRefresh"];function Gk(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function Kk(e,t){const n=Gk(),o=pe({id:t},n,e);zk.forEach(s=>{o[s]=pe({},n[s],e[s])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Yk(e,t,n,o,r,s){const{id:i,route:a}=o,l=Ia(o.navigationBar,__uniConfig.themeConfig,s).titleColor;return{id:i,path:Gs(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:l==="#ffffff"?"light":"dark"}}function fa(e){var t,n;return((t=e.$page)==null?void 0:t.id)||((n=e.$basePage)==null?void 0:n.id)}function $t(e,t,n){if(be(e))n=t,t=e,e=Mo();else if(typeof e=="number"){const r=on().find(s=>$v(s).id===e);r?e=r.$vm:e=Mo()}if(!e)return;const o=e.$[t];return o&&oS(o,n)}function Mh(e){e.preventDefault()}let Rh,Dh=0;function Xk({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,s=!0;const i=()=>{const{scrollHeight:l}=document.documentElement,c=window.innerHeight,u=window.scrollY,d=u>0&&l>c&&u+c+n>=l,f=Math.abs(l-Dh)>n;return d&&(!r||f)?(Dh=l,r=!0,!0):(!d&&r&&(r=!1),!1)},a=()=>{e&&e(window.pageYOffset);function l(){if(i())return t&&t(),s=!1,setTimeout(function(){s=!0},350),!0}t&&s&&(l()||(Rh=setTimeout(l,300))),o=!1};return function(){clearTimeout(Rh),o||requestAnimationFrame(a),o=!0}}function Jk(e){if(e.indexOf("/")===0||e.indexOf("uni:")===0)return e;let t="";const n=on();return n.length&&(t=$v(n[n.length-1]).route),Ad(t,e)}function Ad(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ad(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&n[r]==="..";r++);n.splice(0,r),t=n.join("/");const s=e.length>0?e.split("/"):[];return s.splice(s.length-r-1,r+1),Gs(s.concat(n).join("/"))}function Fv(e,t=!1){return t?__uniRoutes.find(n=>n.path===e||n.alias===e):__uniRoutes.find(n=>n.path===e)}function Qk(){Mk(),cS(Pd),Ok()}class Zk{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=aS(t.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!this.$el||!t)return;const n=$h(this.$el.querySelector(t));if(n)return ru(n,!1)}selectAllComponents(t){if(!this.$el||!t)return[];const n=[],o=this.$el.querySelectorAll(t);for(let r=0;r<o.length;r++){const s=$h(o[r]);s&&n.push(ru(s,!1))}return n}forceUpdate(t){t==="class"?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():t==="style"&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:t}=this.$el;t.length&&(this.$el.className=t.join(" "))}updateWxsStyle(){const{__wxsStyle:t}=this.$el;t&&this.$el.setAttribute("style",Bb(t))}setStyle(t){return!this.$el||!t?this:(be(t)&&(t=Pa(t)),bt(t)&&(this.$el.__wxsStyle=t,this.forceUpdate("style")),this)}addClass(t){if(!this.$el||!t)return this;const n=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return n.indexOf(t)===-1&&(n.push(t),this.forceUpdate("class")),this}removeClass(t){if(!this.$el||!t)return this;const{__wxsAddClass:n}=this.$el;if(n){const r=n.indexOf(t);r>-1&&n.splice(r,1)}const o=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return o.indexOf(t)===-1&&(o.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t,n={}){const o=this.$vm[t];le(o)?o(JSON.parse(JSON.stringify(n))):this.$vm.ownerId&&Dt.publishHandler(eS,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:n})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t,n={}){return this.$vm.$emit(t,n),this}getComputedStyle(t){if(this.$el){const n=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((o,r)=>(o[r]=n[r],o),{}):n}return{}}setTimeout(t,n){return window.setTimeout(t,n)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function ru(e,t=!0){if(t&&e&&(e=ty(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Zk(e)),e.$el.__wxsComponentDescriptor}function su(e,t){return ru(e,t)}function ex(e,t,n=!0){if(!t||n&&e.length<2)return!1;const o=ty(t);if(!o)return!1;const r=o.$.type;return!r.$wxs&&!r.$renderjs?!1:o}function Nh(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get(){return su(n.proxy,!1)}}));const r=ex(t,n,o);if(r)return[e,su(r,!1)]}}function $h(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const tx=e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent,nx=e=>e.type==="click",ox=e=>e.type.indexOf("mouse")===0||["contextmenu"].includes(e.type),rx=e=>typeof TouchEvent!="undefined"&&e instanceof TouchEvent||e.type.indexOf("touch")===0||["longpress"].indexOf(e.type)>=0;function sx(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event)||!(o instanceof HTMLElement))return[e];const r=!Pd(o);if(r)return Nh(e,t,n,!1)||[e];const s=Od(e,r);if(nx(e))lx(s,e);else if(ox(e))cx(s,e);else if(rx(e)){const i=bl();s.touches=Bh(e.touches,i),s.changedTouches=Bh(e.changedTouches,i)}else tx(e)&&["key","code"].forEach(a=>{Object.defineProperty(s,a,{get(){return e[a]}})});return Nh(s,t,n)||[s]}function ix(e){for(;!Pd(e);)e=e.parentElement;return e}function Od(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:s}=e;let i,a;i=Vc(t?r:ix(r)),a=Vc(s);const l={type:n,timeStamp:o,target:i,detail:{},currentTarget:a};return e instanceof CustomEvent&&bt(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),ax(l,e),l}function ax(e,t){pe(e,{preventDefault(){return t.preventDefault()},stopPropagation(){return t.stopPropagation()}})}function lx(e,t){const{x:n,y:o}=t,r=bl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Uv(t,r)]}function cx(e,t){const n=bl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Uv(t,n)]}function Uv(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Bh(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:s,pageY:i,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:s,pageY:i-t,clientX:a,clientY:l-t,force:c||0})}return n}const ux=Object.defineProperty({__proto__:null,$nne:sx,createNativeEvent:Od},Symbol.toStringTag,{value:"Module"});function dx(e){const t=e.globalProperties;pe(t,ux),t.$gcd=su}function fx(e){dx(e._context.config)}const hx=(e,t)=>Qe.emit("api."+e,t);let Vv=1;function qv(e){return(e||wi())+"."+is}const px=(e,t,n,o)=>{const{subscribe:r,publishHandler:s}=Qe,i=o?Vv++:0;o&&r(is+"."+i,o,!0),s(qv(n),{id:i,name:e,args:t},n)},gx=(e,t,n,o)=>{const{subscribe:r,unsubscribe:s,publishHandler:i}=Qe,a=Vv++,l=is+"."+a;return r(l,n),i(qv(o),{id:a,name:e,args:t},o),()=>{s(l)}},mx=pe(Iv("view"),{invokeOnCallback:hx,invokeViewMethod:px,invokeViewMethodKeepAlive:gx});function yx(){const{on:e}=Qe;e(al,vx),e(Xm,_x),e(Jm,bx)}function vx(e){const t=mr();$t(t,al,e),Qe.invokeOnCallback("onWindowResize",e)}function _x(e){const t=mr();$t(Pe(),Qn,e),$t(t,Qn)}function bx(){$t(Pe(),Ao),$t(mr(),Ao)}const Sx=[Vr,pi];function Tx(){Sx.forEach(e=>Qe.subscribe(e,Cx(e)))}function Cx(e){return(t,n)=>{$t(parseInt(n),e,t)}}function kx(){yx(),Tx()}function xx(e){e.$vm=e,e.$mpType="app";const t=H(Ce().getLocale());Object.defineProperty(e,"$locale",{get(){return t.value},set(n){t.value=n}})}function Px(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)}function Ex(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ry(this.$page.id)),e.eventChannel}}function Ix(e){const t=e.globalProperties;t.getOpenerEventChannel=Ex}function Ax(e){Ix(e._context.config)}function Hv(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Ox(e,t){const n=e.$options||{};n.globalData=pe(n.globalData||{},t),Object.defineProperty(e,"globalData",{get(){return n.globalData},set(o){n.globalData=o}})}function Fh(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,n)=>`${Si(parseFloat(n))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Lx(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`).replace("webkit","-webkit")}function Mx(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],s=e.animates,i=e.option,a=i.transition,l={},c=[];return s.forEach(u=>{let d=u.type,f=[...u.args];if(t.concat(n).includes(d))d.startsWith("rotate")||d.startsWith("skew")?f=f.map(h=>parseFloat(h)+"deg"):d.startsWith("translate")&&(f=f.map(Fh)),n.indexOf(d)>=0&&(f.length=1),c.push(`${d}(${f.join(",")})`);else if(o.concat(r).includes(f[0])){d=f[0];const h=f[1];l[d]=r.includes(d)?Fh(h):h}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(u=>`${Lx(u)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=i.transformOrigin,l}function Uh(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function s(){const i=o[n],a=i.option.transition,l=Mx(i);Object.keys(l).forEach(c=>{e.$el.style[c]=l[c]}),n+=1,n<r&&setTimeout(s,a.duration+a.delay)}setTimeout(()=>{s()},0)}const Rx={props:["animation"],watch:{animation:{deep:!0,handler(){Uh(this)}}},mounted(){Uh(this)}},yt=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return(!t||!t.animation)&&(n||(e.mixins=[])).push(Rx),Hn(e)},Hn=e=>(e.__reserved=!0,e.compatConfig={MODE:3},nt(e));function Qt(e){return e.__wwe=!0,e}function yr(e,t){return(n,o,r)=>{e.value&&t(n,Nx(n,o,e.value,r||{}))}}function Dx(e){return(t,n)=>{e(t,Od(n))}}function Nx(e,t,n,o){let r;return r=Vc(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const $x={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Wv(e){const t=H(!1);let n=!1,o,r;function s(){requestAnimationFrame(()=>{clearTimeout(r),r=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function i(w){w.touches.length>1||l(w)}function a(w){n||(l(w),window.addEventListener("mouseup",f))}function l(w){w._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||(e.hoverStopPropagation&&(w._hoverPropagationStopped=!0),n=!0,o=setTimeout(()=>{t.value=!0,n||s()},parseInt(e.hoverStartTime)))}function c(){d()}function u(){n&&f()}function d(){n=!1,t.value&&s()}function f(){d(),window.removeEventListener("mouseup",f)}function h(){n=!1,t.value=!1,clearTimeout(o)}return{hovering:t,binding:{onTouchstartPassive:Qt(i),onMousedown:Qt(a),onTouchend:Qt(c),onMouseup:Qt(u),onTouchcancel:Qt(h)}}}function nc(e,t){return be(t)&&(t=[t]),t.reduce((n,o)=>(e[o]&&(n[o]=!0),n),Object.create(null))}const jv=xd("uf"),Bx=xd("ul");function Fx(e,t){Vh(e.id,t),se(()=>e.id,(n,o)=>{qh(o,t,!0),Vh(n,t,!0)}),Vn(()=>{qh(e.id,t)})}function Vh(e,t,n){const o=Ed();n&&!e||bt(t)&&Object.keys(t).forEach(r=>{n?r.indexOf("@")!==0&&r.indexOf("uni-")!==0&&Dt.on(`uni-${r}-${o}-${e}`,t[r]):r.indexOf("uni-")===0?Dt.on(r,t[r]):e&&Dt.on(`uni-${r}-${o}-${e}`,t[r])})}function qh(e,t,n){const o=Ed();n&&!e||bt(t)&&Object.keys(t).forEach(r=>{n?r.indexOf("@")!==0&&r.indexOf("uni-")!==0&&Dt.off(`uni-${r}-${o}-${e}`,t[r]):r.indexOf("uni-")===0?Dt.off(r,t[r]):e&&Dt.off(`uni-${r}-${o}-${e}`,t[r])})}const Ux={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}},Vx=yt({name:"Button",props:Ux,setup(e,{slots:t}){const n=H(null),o=Ne(jv,!1),{hovering:r,binding:s}=Wv(e),i=Qt((l,c)=>{if(e.disabled)return l.stopImmediatePropagation();c&&n.value.click();const u=e.formType;if(u){if(!o)return;u==="submit"?o.submit(l):u==="reset"&&o.reset(l);return}}),a=Ne(Bx,!1);return a&&(a.addHandler(i),At(()=>{a.removeHandler(i)})),Fx(e,{"label-click":i}),()=>{const l=e.hoverClass,c=nc(e,"disabled"),u=nc(e,"loading"),d=nc(e,"plain"),f=l&&l!=="none";return L("uni-button",It({ref:n,onClick:i,id:e.id,class:f&&r.value?l:""},f&&s,c,u,d),[t.default&&t.default()],16,["onClick","id"])}}}),qx="",zv=xd("upm");function Ld(){return Ne(zv)}function Hx(e){const t=Wx(e);return _t(zv,t),t}function bi(){return wl()}function Wx(e){return Ie(jx(JSON.parse(JSON.stringify(Kk(wl().meta,e)))))}function jx(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8",_k(t)}if(history.state){const t=history.state.__type__;(t==="redirectTo"||t==="reLaunch")&&on().length===0&&(e.isEntry=!0,e.isQuit=!0)}return e}function Md(){return history.state&&history.state.__id__||1}const zx=["original","compressed"],Rd=["album","camera"],ha=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Sl(e,t){return!e||t.indexOf(e)===-1?t[0]:e}function Va(e,t){return!ce(e)||e.length===0||e.find(n=>t.indexOf(n)===-1)?t:e}function Gx(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}let Kx=1;const iu={};function Yx(e,t,n,o=!1){return iu[e]={name:t,keepAlive:o,callback:n},e}function Gv(e,t,n){if(typeof e=="number"){const o=iu[e];if(o)return o.keepAlive||delete iu[e],o.callback(t,n)}return t}const Xx="success",Jx="fail",Qx="complete";function Zx(e){const t={};for(const n in e){const o=e[n];le(o)&&(t[n]=Gx(o),delete e[n])}return t}function eP(e,t){return!e||e.indexOf(":fail")===-1?t+":ok":t+e.substring(e.indexOf(":fail"))}function tP(e,t={},{beforeAll:n,beforeSuccess:o}={}){bt(t)||(t={});const{success:r,fail:s,complete:i}=Zx(t),a=le(r),l=le(s),c=le(i),u=Kx++;return Yx(u,e,d=>{d=d||{},d.errMsg=eP(d.errMsg,e),le(n)&&n(d),d.errMsg===e+":ok"?(le(o)&&o(d,t),a&&r(d)):l&&s(d),c&&i(d)}),u}const nP="success",oP="fail",rP="complete",ni={},qa={};function sP(e,t){return function(n){return e(n,t)||n}}function Kv(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const s=e[r];if(o)o=Promise.resolve(sP(s,n));else{const i=s(t,n);if(ed(i)&&(o=Promise.resolve(i)),i===!1)return{then(){},catch(){}}}}return o||{then(r){return r(t)},catch(){}}}function Hh(e,t={}){return[nP,oP,rP].forEach(n=>{const o=e[n];if(!ce(o))return;const r=t[n];t[n]=function(i){Kv(o,i,t).then(a=>le(r)&&r(a)||a)}}),t}function Wh(e,t){const n=[];ce(ni.returnValue)&&n.push(...ni.returnValue);const o=qa[e];return o&&ce(o.returnValue)&&n.push(...o.returnValue),n.forEach(r=>{t=r(t)||t}),t}function jh(e){const t=Object.create(null);Object.keys(ni).forEach(o=>{o!=="returnValue"&&(t[o]=ni[o].slice())});const n=qa[e];return n&&Object.keys(n).forEach(o=>{o!=="returnValue"&&(t[o]=(t[o]||[]).concat(n[o]))}),t}function zh(e,t,n,o){const r=jh(e);return r&&Object.keys(r).length?ce(r.invoke)?Kv(r.invoke,n).then(i=>t(Hh(jh(e),i),...o)):t(Hh(r,n),...o):t(n,...o)}function iP(e){return!!(bt(e)&&[Xx,Jx,Qx].find(t=>le(e[t])))}function Yv(e,t){return(n={},...o)=>iP(n)?Wh(e,zh(e,t,n,o)):Wh(e,new Promise((r,s)=>{zh(e,t,pe(n,{success:r,fail:s}),o)}))}function aP(e,t){const n=e[0];if(!t||!t.formatArgs||!bt(t.formatArgs)&&bt(n))return;const o=t.formatArgs,r=Object.keys(o);for(let s=0;s<r.length;s++){const i=r[s],a=o[i];if(le(a)){const l=a(e[0][i],n);if(be(l))return l}else Se(n,i)||(n[i]=a)}}function lP(e,t,n){const o={errMsg:t+":ok"};return Gv(e,pe(n||{},o))}function Gh(e,t,n,o={}){const r=t+":fail";let s="";n?n.indexOf(r)===0?s=n:s=r+" "+n:s=r,delete o.errCode;let i=pe({errMsg:s},o);return Gv(e,i)}function Xv(e,t,n,o){if(o&&o.beforeInvoke){const s=o.beforeInvoke(t);if(be(s))return s}const r=aP(t,o);if(r)return r}function cP(e){return!e||be(e)?e:e.stack?(typeof globalThis=="undefined"||globalThis.harmonyChannel,e.message):e}function Jv(e,t,n,o){return r=>{const s=tP(e,r,o),i=Xv(e,[r],n,o);return i?Gh(s,e,i):t(r,{resolve:a=>lP(s,e,a),reject:(a,l)=>Gh(s,e,cP(a),l)})}}function uP(e,t,n,o){return(...r)=>{const s=Xv(e,r,n,o);if(s)throw new Error(s);return t.apply(null,r)}}function dP(e,t,n,o){return Jv(e,t,n,o)}function Tl(e,t,n,o){return Yv(e,Jv(e,t,void 0,o))}function it(e,t,n,o){return uP(e,t,void 0,o)}function Ge(e,t,n,o){return Yv(e,dP(e,t,void 0,o))}function fP(e){return`method 'uni.${e}' not supported`}function Dd(e){return(t,{reject:n})=>n(fP(e))}const hP="upx2px",pP=1e-4,gP=750;let Qv=!1,au=0,Zv=0,e_=960,t_=375,n_=750;function mP(){const{windowWidth:e,pixelRatio:t,platform:n}=eA();au=e,Zv=t,Qv=n==="ios"}function oc(e,t){const n=Number(e);return isNaN(n)?t:n}function yP(){const e=__uniConfig.globalStyle||{};e_=oc(e.rpxCalcMaxDeviceWidth,960),t_=oc(e.rpxCalcBaseDeviceWidth,375),n_=oc(e.rpxCalcBaseDeviceWidth,750)}const Si=it(hP,(e,t)=>{if(au===0&&(mP(),yP()),e=Number(e),e===0)return 0;let n=t||au;n=e===n_||n<=e_?n:t_;let o=e/gP*n;return o<0&&(o=-o),o=Math.floor(o+pP),o===0&&(Zv===1||!Qv?o=1:o=.5),e<0?-o:o}),vP="addInterceptor";function Kh(e,t){Object.keys(t).forEach(n=>{le(t[n])&&(e[n]=_P(e[n],t[n]))})}function _P(e,t){const n=t?e?e.concat(t):ce(t)?t:[t]:e;return n&&wP(n)}function wP(e){const t=[];for(let n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}const fn=it(vP,(e,t)=>{be(e)&&bt(t)?Kh(qa[e]||(qa[e]={}),t):bt(e)&&Kh(ni,e)}),bP="$on",SP="$off",TP="$emit";class CP{constructor(){this.$emitter=new ly}on(t,n){return this.$emitter.on(t,n)}once(t,n){return this.$emitter.once(t,n)}off(t,n){if(!t){this.$emitter.e={};return}this.$emitter.off(t,n)}emit(t,...n){this.$emitter.emit(t,...n)}}const Ha=new CP,a8=it(bP,(e,t)=>(Ha.on(e,t),()=>Ha.off(e,t))),l8=it(SP,(e,t)=>{ce(e)||(e=e?[e]:[]),e.forEach(n=>{Ha.off(n,t)})}),kP=it(TP,(e,...t)=>{Ha.emit(e,...t)}),xP="createVideoContext",PP="createCanvasContext",EP=[.5,.8,1,1.25,1.5,2];class lu{constructor(t,n){this.id=t,this.pageId=n}play(){Ln(this.id,this.pageId,"play")}pause(){Ln(this.id,this.pageId,"pause")}stop(){Ln(this.id,this.pageId,"stop")}seek(t){Ln(this.id,this.pageId,"seek",{position:t})}sendDanmu(t){Ln(this.id,this.pageId,"sendDanmu",t)}playbackRate(t){~EP.indexOf(t)||(t=1),Ln(this.id,this.pageId,"playbackRate",{rate:t})}requestFullScreen(t={}){Ln(this.id,this.pageId,"requestFullScreen",t)}exitFullScreen(){Ln(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Ln(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Ln(this.id,this.pageId,"hideStatusBar")}}const c8=it(xP,(e,t)=>t?new lu(e,Lo(t)):new lu(e,Lo(Mo()))),IP=(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)},vt=(e,t,n,o)=>{tA(e,t,n,o,r=>{o&&IP(o,r)})};class AP{constructor(t,n){this.id=t,this.pageId=n}getCenterLocation(t){vt(this.id,this.pageId,"getCenterLocation",t)}moveToLocation(t){vt(this.id,this.pageId,"moveToLocation",t)}getScale(t){vt(this.id,this.pageId,"getScale",t)}getRegion(t){vt(this.id,this.pageId,"getRegion",t)}includePoints(t){vt(this.id,this.pageId,"includePoints",t)}translateMarker(t){vt(this.id,this.pageId,"translateMarker",t)}$getAppMap(){}addCustomLayer(t){vt(this.id,this.pageId,"addCustomLayer",t)}removeCustomLayer(t){vt(this.id,this.pageId,"removeCustomLayer",t)}addGroundOverlay(t){vt(this.id,this.pageId,"addGroundOverlay",t)}removeGroundOverlay(t){vt(this.id,this.pageId,"removeGroundOverlay",t)}updateGroundOverlay(t){vt(this.id,this.pageId,"updateGroundOverlay",t)}initMarkerCluster(t){vt(this.id,this.pageId,"initMarkerCluster",t)}addMarkers(t){vt(this.id,this.pageId,"addMarkers",t)}removeMarkers(t){vt(this.id,this.pageId,"removeMarkers",t)}moveAlong(t){vt(this.id,this.pageId,"moveAlong",t)}setLocMarkerIcon(t){vt(this.id,this.pageId,"setLocMarkerIcon",t)}openMapApp(t){vt(this.id,this.pageId,"openMapApp",t)}on(t,n){vt(this.id,this.pageId,"on",{name:t,callback:n})}}function Pr(e,t){return function(n,o){n?o[e]=Math.round(n):typeof t!="undefined"&&(o[e]=t)}}const OP=Pr("width"),LP=Pr("height"),Yh={PNG:"png",JPG:"jpg",JPEG:"jpg"},MP="canvasToTempFilePath",RP={formatArgs:{x:Pr("x",0),y:Pr("y",0),width:OP,height:LP,destWidth:Pr("destWidth"),destHeight:Pr("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Yh[e];n||(n=Yh.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}},DP={};function o_(e,t,n,o,r){Qe.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,s=>{r&&r(s)})}var NP=["scale","rotate","translate","setTransform","transform"],$P=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],BP=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function FP(e,t){const o=document.createElement("canvas").getContext("2d");return o.font=t,o.measureText(e).width||0}const Xh={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 cu(e){e=e||"#000000";let t=null;if((t=/^#([0-9|A-F|a-f]{6})$/.exec(e))!=null){const o=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),s=parseInt(t[1].slice(4),16);return[o,r,s,255]}if((t=/^#([0-9|A-F|a-f]{3})$/.exec(e))!=null){let o=t[1].slice(0,1),r=t[1].slice(1,2),s=t[1].slice(2,3);return o=parseInt(o+o,16),r=parseInt(r+r,16),s=parseInt(s+s,16),[o,r,s,255]}if((t=/^rgb\((.+)\)$/.exec(e))!=null)return t[1].split(",").map(function(o){return Math.min(255,parseInt(o.trim()))}).concat(255);if((t=/^rgba\((.+)\)$/.exec(e))!=null)return t[1].split(",").map(function(o,r){return r===3?Math.floor(255*parseFloat(o.trim())):Math.min(255,parseInt(o.trim()))});var n=e.toLowerCase();if(Se(Xh,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Xh[n]);const o=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),s=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[o,r,s,i]}return[0,0,0,255]}class Jh{constructor(t,n){this.type=t,this.data=n,this.colorStop=[]}addColorStop(t,n){this.colorStop.push([t,cu(n)])}}class UP{constructor(t,n){this.type="pattern",this.data=t,this.colorStop=n}}class VP{constructor(t){this.width=t}}const qP=()=>qx;class oi{constructor(t,n){this.id=t,this.pageId=n,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(t){}setStrokeStyle(t){}setShadow(t,n,o,r){}addColorStop(t,n){}setLineWidth(t){}setLineCap(t){}setLineJoin(t){}setLineDash(t,n){}setMiterLimit(t){}fillRect(t,n,o,r){}strokeRect(t,n,o,r){}clearRect(t,n,o,r){}fill(){}stroke(){}scale(t,n){}rotate(t){}translate(t,n){}setFontSize(t){}fillText(t,n,o,r){}setTextAlign(t){}setTextBaseline(t){}drawImage(t,n,o,r,s,i,a,l,c){}setGlobalAlpha(t){}strokeText(t,n,o,r){}setTransform(t,n,o,r,s,i){}draw(t=!1,n){var o=[...this.actions];this.actions=[],this.path=[],o_(this.id,this.pageId,"actionsChanged",{actions:o,reserve:t},n)}createLinearGradient(t,n,o,r){return new Jh("linear",[t,n,o,r])}createCircularGradient(t,n,o){return new Jh("radial",[t,n,o])}createPattern(t,n){if(n!==void 0){if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(n)<0))return new UP(t,n)}}measureText(t,n){const o=this.state.font;let r=0;return r=FP(t,o),new VP(r)}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(t,n){this.path.push({method:"moveTo",data:[t,n]}),this.subpath=[[t,n]]}lineTo(t,n){this.path.length===0&&this.subpath.length===0?this.path.push({method:"moveTo",data:[t,n]}):this.path.push({method:"lineTo",data:[t,n]}),this.subpath.push([t,n])}quadraticCurveTo(t,n,o,r){this.path.push({method:"quadraticCurveTo",data:[t,n,o,r]}),this.subpath.push([o,r])}bezierCurveTo(t,n,o,r,s,i){this.path.push({method:"bezierCurveTo",data:[t,n,o,r,s,i]}),this.subpath.push([s,i])}arc(t,n,o,r,s,i=!1){this.path.push({method:"arc",data:[t,n,o,r,s,i]}),this.subpath.push([t,n])}rect(t,n,o,r){this.path.push({method:"rect",data:[t,n,o,r]}),this.subpath=[[t,n]]}arcTo(t,n,o,r,s){this.path.push({method:"arcTo",data:[t,n,o,r,s]}),this.subpath.push([o,r])}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 t=[...this.actions];return this.clearActions(),t}set lineDashOffset(t){this.actions.push({method:"setLineDashOffset",data:[t]})}set globalCompositeOperation(t){this.actions.push({method:"setGlobalCompositeOperation",data:[t]})}set shadowBlur(t){this.actions.push({method:"setShadowBlur",data:[t]})}set shadowColor(t){this.actions.push({method:"setShadowColor",data:[t]})}set shadowOffsetX(t){this.actions.push({method:"setShadowOffsetX",data:[t]})}set shadowOffsetY(t){this.actions.push({method:"setShadowOffsetY",data:[t]})}set font(t){var n=this;this.state.font=t;var o=t.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(o){var r=o[1].trim().split(/\s/),s=parseFloat(o[3]),i=o[7],a=[];r.forEach(function(c,u){["italic","oblique","normal"].indexOf(c)>-1?(a.push({method:"setFontStyle",data:[c]}),n.state.fontStyle=c):["bold","normal","lighter","bolder"].indexOf(c)>-1||/^\d+$/.test(c)?(a.push({method:"setFontWeight",data:[c]}),n.state.fontWeight=c):u===0?(a.push({method:"setFontStyle",data:["normal"]}),n.state.fontStyle="normal"):u===1&&l()}),r.length===1&&l(),r=a.map(function(c){return c.data[0]}).join(" "),this.state.fontSize=s,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${r} ${s}px ${i}`]})}function l(){a.push({method:"setFontWeight",data:["normal"]}),n.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(t){this.setFillStyle(t)}set strokeStyle(t){this.setStrokeStyle(t)}set globalAlpha(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:"setGlobalAlpha",data:[t]})}set textAlign(t){this.actions.push({method:"setTextAlign",data:[t]})}set lineCap(t){this.actions.push({method:"setLineCap",data:[t]})}set lineJoin(t){this.actions.push({method:"setLineJoin",data:[t]})}set lineWidth(t){this.actions.push({method:"setLineWidth",data:[t]})}set miterLimit(t){this.actions.push({method:"setMiterLimit",data:[t]})}set textBaseline(t){this.actions.push({method:"setTextBaseline",data:[t]})}}const HP=Bt(()=>{[...NP,...$P].forEach(function(e){function t(n){switch(n){case"fill":case"stroke":return function(){this.actions.push({method:n+"Path",data:[...this.path]})};case"fillRect":return function(o,r,s,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[o,r,s,i]}]})};case"strokeRect":return function(o,r,s,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[o,r,s,i]}]})};case"fillText":case"strokeText":return function(o,r,s,i){var a=[o.toString(),r,s];typeof i=="number"&&a.push(i),this.actions.push({method:n,data:a})};case"drawImage":return function(o,r,s,i,a,l,c,u,d){d===void 0&&(l=r,c=s,u=i,d=a,r=void 0,s=void 0,i=void 0,a=void 0);var f;function h(w){return typeof w=="number"}f=h(r)&&h(s)&&h(i)&&h(a)?[o,l,c,u,d,r,s,i,a]:h(u)&&h(d)?[o,l,c,u,d]:[o,l,c],this.actions.push({method:n,data:f})};default:return function(...o){this.actions.push({method:n,data:o})}}}oi.prototype[e]=t(e)}),BP.forEach(function(e){function t(n){switch(n){case"setFillStyle":case"setStrokeStyle":return function(o){typeof o!="object"?this.actions.push({method:n,data:["normal",cu(o)]}):this.actions.push({method:n,data:[o.type,o.data,o.colorStop]})};case"setGlobalAlpha":return function(o){o=Math.floor(255*parseFloat(o)),this.actions.push({method:n,data:[o]})};case"setShadow":return function(o,r,s,i){i=cu(i),this.actions.push({method:n,data:[o,r,s,i]}),this.state.shadowBlur=s,this.state.shadowColor=i,this.state.shadowOffsetX=o,this.state.shadowOffsetY=r};case"setLineDash":return function(o,r){o=o||[0,0],r=r||0,this.actions.push({method:n,data:[o,r]}),this.state.lineDash=o};case"setFontSize":return function(o){this.state.font=this.state.font.replace(/\d+\.?\d*px/,o+"px"),this.state.fontSize=o,this.actions.push({method:n,data:[o]})};default:return function(...o){this.actions.push({method:n,data:o})}}}oi.prototype[e]=t(e)})}),u8=it(PP,(e,t)=>{if(HP(),t)return new oi(e,Lo(t));const n=Lo(Mo());if(n)return new oi(e,n);Qe.emit(zs,"createCanvasContext:fail")}),d8=Ge(MP,({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:s,canvasId:i,fileType:a,quality:l},{resolve:c,reject:u})=>{var d=Lo(Mo());if(!d){u();return}let f=`${qP()}/canvas`;o_(i,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:s,fileType:a,quality:l,dirname:f},h=>{if(h.errMsg&&h.errMsg.indexOf("fail")!==-1){u("",h);return}c(h)})},DP,RP),WP={thresholds:[0],initialRatio:0,observeAll:!1},jP=["top","right","bottom","left"];let zP=1;function Qh(e={}){return jP.map(t=>`${Number(e[t])||0}px`).join(" ")}class Zh{constructor(t,n){this._pageId=Lo(t),this._component=t,this._options=pe({},WP,n)}relativeTo(t,n){return this._options.relativeToSelector=t,this._options.rootMargin=Qh(n),this}relativeToViewport(t){return this._options.relativeToSelector=void 0,this._options.rootMargin=Qh(t),this}observe(t,n){le(n)&&(this._options.selector=t,this._reqId=zP++,iA({reqId:this._reqId,component:this._component,options:this._options,callback:n},this._pageId))}disconnect(){this._reqId&&aA({reqId:this._reqId,component:this._component},this._pageId)}}const f8=it("createIntersectionObserver",(e,t)=>(e=cl(e),e&&!Lo(e)&&(t=e,e=null),e?new Zh(e,t):new Zh(Mo(),t)));let GP=0,rc={};function KP(e,t,n,o){const r={options:o},s=o&&("success"in o||"fail"in o||"complete"in o);if(s){const i=String(GP++);r.callbackId=i,rc[i]=o}Qe.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:i,data:a})=>{s&&(Tr(rc[i],a),delete rc[i])})}class YP{constructor(t,n){this.id=t,this.pageId=n}format(t,n){this._exec("format",{name:t,value:n})}insertDivider(){this._exec("insertDivider")}insertImage(t){this._exec("insertImage",t)}insertText(t){this._exec("insertText",t)}setContents(t){this._exec("setContents",t)}getContents(t){this._exec("getContents",t)}clear(t){this._exec("clear",t)}removeFormat(t){this._exec("removeFormat",t)}undo(t){this._exec("undo",t)}redo(t){this._exec("redo",t)}blur(t){this._exec("blur",t)}getSelectionText(t){this._exec("getSelectionText",t)}scrollIntoView(t){this._exec("scrollIntoView",t)}_exec(t,n){KP(this.id,this.pageId,t,n)}}const XP={canvas:oi,map:AP,video:lu,editor:YP};function ep(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=XP[n];e.context=new r(t,o),delete e.contextInfo}}class sc{constructor(t,n,o,r){this._selectorQuery=t,this._component=n,this._selector=o,this._single=r}boundingClientRect(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},t),this._selectorQuery}fields(t,n){return this._selectorQuery._push(this._selector,this._component,this._single,t,n),this._selectorQuery}scrollOffset(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},t),this._selectorQuery}context(t){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},t),this._selectorQuery}node(t){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},t),this._selectorQuery}}class JP{constructor(t){this._component=void 0,this._page=t,this._queue=[],this._queueCb=[]}exec(t){return sA(this._page,this._queue,n=>{const o=this._queueCb;n.forEach((r,s)=>{ce(r)?r.forEach(ep):ep(r);const i=o[s];le(i)&&i.call(this,r)}),le(t)&&t.call(this,n)}),this._nodesRef}in(t){return this._component=cl(t),this}select(t){return this._nodesRef=new sc(this,this._component,t,!0)}selectAll(t){return this._nodesRef=new sc(this,this._component,t,!1)}selectViewport(){return this._nodesRef=new sc(this,null,"",!0)}_push(t,n,o,r,s){this._queue.push({component:n,selector:t,single:o,fields:r}),this._queueCb.push(s)}}const tp=it("createSelectorQuery",e=>(e=cl(e),e&&!Lo(e)&&(e=null),new JP(e||Mo()))),QP="setLocale",ZP="getLocale",eE="onLocaleChange",to=it(ZP,()=>{const e=Pe();return e&&e.$vm?e.$vm.$locale:Ce().getLocale()}),h8=it(QP,e=>{const t=Pe();return t&&t.$vm.$locale!==e?(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage[Rm]=e),Qe.invokeOnCallback(eE,{locale:e}),!0):!1}),uu={[Bm]:[],[$m]:[],[zs]:[],[Qn]:[],[Ao]:[]};function r_(e,t){const n=Pe();if(n&&n.$vm)return No(e,t,n.$vm.$);uu[e].push(t)}function tE(e){Object.keys(uu).forEach(t=>{uu[t].forEach(n=>{No(t,n,e)})})}function nE(e){r_(Qn,e)}function oE(e){r_(Ao,e)}const rE="getLaunchOptionsSync",pa=it(rE,()=>pA());let ic,np,op;const du=[];function sE(e,t){du.forEach(n=>{n(e,t)}),du.length=0}const iE="getPushClientId",fu=Ge(iE,(e,{resolve:t,reject:n})=>{Promise.resolve().then(()=>{typeof op=="undefined"&&(op=!1,ic="",np="uniPush is not enabled"),du.push((o,r)=>{o?t({cid:o}):n(r)}),typeof ic!="undefined"&&sE(ic,np)})}),aE=e=>{},lE=e=>{},cE="canIUse",uE="setClipboardData",dE={formatArgs:{showToast:!0},beforeInvoke(){yk()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Ce(),o=n("uni.setClipboardData.success");o&&Rl({title:o,icon:"success",mask:!1})}},fE={},hE="getStorageSync",pE="setStorageSync",gE="removeStorage",mE="hideKeyboard",yE="getLocation",rp=["wgs84","gcj02"],vE={formatArgs:{type(e,t){e=(e||"").toLowerCase(),rp.indexOf(e)===-1?t.type=rp[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},_E={},wE="chooseImage",bE={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Va(e,zx)},sourceType(e,t){t.sourceType=Va(e,Rd)},extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.extension=["*"])}}},SE={},TE="chooseVideo",CE={formatArgs:{sourceType(e,t){t.sourceType=Va(e,Rd)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.extension=["*"])}}},kE={},xE="chooseFile",PE=["all","image","video"],EE={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Va(e,Rd)},type(e,t){t.type=Sl(e,PE)},extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.type==="all"||!t.type?t.extension=[""]:t.extension=["*"])}}},IE={},AE="previewImage",OE={formatArgs:{urls(e,t){t.urls=e.map(n=>be(n)&&n?tn(n):"")},current(e,t){typeof e=="number"?t.current=e>0&&e<t.urls.length?e:0:be(e)&&e&&(t.current=tn(e))}}},LE={},sp="saveImageToPhotosAlbum",ME="request",RE={JSON:"json"},DE=["text","arraybuffer"],NE="text",ip=encodeURIComponent;function $E(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const s=r.split("&").filter(a=>a),i={};s.forEach(a=>{const l=a.split("=");i[l[0]]=l[1]});for(const a in t)if(Se(t,a)){let l=t[a];typeof l=="undefined"||l===null?l="":bt(l)&&(l=JSON.stringify(l)),i[ip(a)]=ip(l)}return r=Object.keys(i).map(a=>`${a}=${i[a]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const BE={},FE={formatArgs:{method(e,t){t.method=Sl((e||"").toUpperCase(),ha)},data(e,t){t.data=e||""},url(e,t){t.method===ha[0]&&bt(t.data)&&Object.keys(t.data).length&&(t.url=$E(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ha[0]&&(Object.keys(n).find(o=>o.toLowerCase()==="content-type")||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||RE.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),DE.indexOf(t.responseType)===-1&&(t.responseType=NE)}}},UE="downloadFile",VE={formatArgs:{header(e,t){t.header=e||{}}}},qE={},HE="uploadFile",WE={formatArgs:{filePath(e,t){e&&(t.filePath=tn(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},jE={},zE="connectSocket",GE={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Sl((e||"").toUpperCase(),ha)},protocols(e,t){be(e)&&(t.protocols=[e])}}},KE={};function YE(e){if(!be(e))return e;const t=e.indexOf("?");if(t===-1)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(r=>{const s=r.replace(/\+/g," ").split("="),i=s.shift(),a=s.length>0?s.join("="):"";o.push(i+"="+encodeURIComponent(a))}),o.length?e+"?"+o.join("&"):e}const XE=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],JE=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Cl={url:{type:String,required:!0}},Ns="navigateTo",$s="redirectTo",ga="reLaunch",$r="switchTab",QE="navigateBack",ap="preloadPage",ZE="unPreloadPage",eI=pe({},Cl,s_(XE)),tI=pe({delta:{type:Number}},s_(JE)),nI=Cl,oI=Cl,rI=Cl,sI=kl(Ns),iI=kl($s),aI=kl(ga),lI=kl($r),cI={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(on().length-1,e)}}};function s_(e){return{animationType:{type:String,validator(t){if(t&&e.indexOf(t)===-1)return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let ma;function uI(){ma=""}function kl(e){return{formatArgs:{url:dI(e)},beforeAll:uI}}function dI(e){return function(n,o){if(!n)return'Missing required args: "url"';n=Jk(n);const r=n.split("?")[0],s=Fv(r,!0);if(!s)return"page `"+n+"` is not found";if(e===Ns||e===$s){if(s.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===$r&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if((e===$r||e===ap)&&s.meta.isTabBar&&o.openType!=="appLaunch"&&(n=r),s.meta.isEntry&&(n=n.replace(s.alias,"/")),o.url=YE(n),e!==ZE){if(e===ap){if(s.meta.isTabBar){const i=on(),a=s.path.slice(1);if(i.find(l=>l.route===a))return"tabBar page `"+a+"` already exists"}return}if(ma===n&&o.openType!=="appLaunch")return`${ma} locked`;__uniConfig.ready&&(ma=n)}}}const fI="hideLoading",hI="loadFontFace",pI="setNavigationBarColor",hu="setNavigationBarTitle",gI="showNavigationBarLoading",mI="hideNavigationBarLoading",yI="pageScrollTo",vI={},_I={formatArgs:{duration:300}},wI="showLoading",bI={},SI={formatArgs:{title:"",mask:!1}},TI="showModal",CI={},kI={beforeInvoke(){mk()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!Se(t,"cancelText")){const{t:n}=Ce();t.cancelText=n("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!Se(t,"confirmText")){const{t:n}=Ce();t.confirmText=n("uni.showModal.confirm")}},confirmColor:Dm}},xI="showToast",i_=["success","loading","none","error"],PI={},EI={formatArgs:{title:"",icon(e,t){t.icon=Sl(e,i_)},image(e,t){e?t.image=tn(e):t.image=""},duration:1500,mask:!1}},lp="stopPullDownRefresh",ri={beforeInvoke(){const e=Id();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}};ri.beforeInvoke,ri.formatArgs;ri.beforeInvoke;ri.beforeInvoke,ri.formatArgs;const II=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(g){try{return g.defaultView&&g.defaultView.frameElement||null}catch(p){return null}}var t=function(g){for(var p=g,T=e(p);T;)p=T.ownerDocument,T=e(p);return p}(window.document),n=[],o=null,r=null;function s(g){this.time=g.time,this.target=g.target,this.rootBounds=w(g.rootBounds),this.boundingClientRect=w(g.boundingClientRect),this.intersectionRect=w(g.intersectionRect||h()),this.isIntersecting=!!g.intersectionRect;var p=this.boundingClientRect,T=p.width*p.height,S=this.intersectionRect,k=S.width*S.height;T?this.intersectionRatio=Number((k/T).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(g,p){var T=p||{};if(typeof g!="function")throw new Error("callback must be a function");if(T.root&&T.root.nodeType!=1&&T.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=g,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(T.rootMargin),this.thresholds=this._initThresholds(T.threshold),this.root=T.root||null,this.rootMargin=this._rootMarginValues.map(function(S){return S.value+S.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return o||(o=function(g,p){!g||!p?r=h():r=v(g,p),n.forEach(function(T){T._checkForIntersections()})}),o},i._resetCrossOriginUpdater=function(){o=null,r=null},i.prototype.observe=function(g){var p=this._observationTargets.some(function(T){return T.element==g});if(!p){if(!(g&&g.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:g,entry:null}),this._monitorIntersections(g.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(g){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=g}),this._unmonitorIntersections(g.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var g=this._queuedEntries.slice();return this._queuedEntries=[],g},i.prototype._initThresholds=function(g){var p=g||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(T,S,k){if(typeof T!="number"||isNaN(T)||T<0||T>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return T!==k[S-1]})},i.prototype._parseRootMargin=function(g){var p=g||"0px",T=p.split(/\s+/).map(function(S){var k=/^(-?\d*\.?\d+)(px|%)$/.exec(S);if(!k)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(k[1]),unit:k[2]}});return T[1]=T[1]||T[0],T[2]=T[2]||T[0],T[3]=T[3]||T[1],T},i.prototype._monitorIntersections=function(g){var p=g.defaultView;if(p&&this._monitoringDocuments.indexOf(g)==-1){var T=this._checkForIntersections,S=null,k=null;this.POLL_INTERVAL?S=p.setInterval(T,this.POLL_INTERVAL):(c(p,"resize",T,!0),c(g,"scroll",T,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(k=new p.MutationObserver(T),k.observe(g,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(g),this._monitoringUnsubscribes.push(function(){var I=g.defaultView;I&&(S&&I.clearInterval(S),u(I,"resize",T,!0)),u(g,"scroll",T,!0),k&&k.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(g!=C){var E=e(g);E&&this._monitorIntersections(E.ownerDocument)}}},i.prototype._unmonitorIntersections=function(g){var p=this._monitoringDocuments.indexOf(g);if(p!=-1){var T=this.root&&(this.root.ownerDocument||this.root)||t,S=this._observationTargets.some(function(E){var I=E.element.ownerDocument;if(I==g)return!0;for(;I&&I!=T;){var A=e(I);if(I=A&&A.ownerDocument,I==g)return!0}return!1});if(!S){var k=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),k(),g!=T){var C=e(g);C&&this._unmonitorIntersections(C.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var g=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<g.length;p++)g[p]()},i.prototype._checkForIntersections=function(){if(!(!this.root&&o&&!r)){var g=this._rootIsInDom(),p=g?this._getRootRect():h();this._observationTargets.forEach(function(T){var S=T.element,k=f(S),C=this._rootContainsTarget(S),E=T.entry,I=g&&C&&this._computeTargetAndRootIntersection(S,k,p),A=null;this._rootContainsTarget(S)?(!o||this.root)&&(A=p):A=h();var P=T.entry=new s({time:a(),target:S,boundingClientRect:k,rootBounds:A,intersectionRect:I});E?g&&C?this._hasCrossedThreshold(E,P)&&this._queuedEntries.push(P):E&&E.isIntersecting&&this._queuedEntries.push(P):this._queuedEntries.push(P)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},i.prototype._computeTargetAndRootIntersection=function(g,p,T){if(window.getComputedStyle(g).display!="none"){for(var S=p,k=y(g),C=!1;!C&&k;){var E=null,I=k.nodeType==1?window.getComputedStyle(k):{};if(I.display=="none")return null;if(k==this.root||k.nodeType==9)if(C=!0,k==this.root||k==t)o&&!this.root?!r||r.width==0&&r.height==0?(k=null,E=null,S=null):E=r:E=T;else{var A=y(k),P=A&&f(A),B=A&&this._computeTargetAndRootIntersection(A,P,T);P&&B?(k=A,E=v(P,B)):(k=null,S=null)}else{var ee=k.ownerDocument;k!=ee.body&&k!=ee.documentElement&&I.overflow!="visible"&&(E=f(k))}if(E&&(S=d(E,S)),!S)break;k=k&&y(k)}return S}},i.prototype._getRootRect=function(){var g;if(this.root&&!_(this.root))g=f(this.root);else{var p=_(this.root)?this.root:t,T=p.documentElement,S=p.body;g={top:0,left:0,right:T.clientWidth||S.clientWidth,width:T.clientWidth||S.clientWidth,bottom:T.clientHeight||S.clientHeight,height:T.clientHeight||S.clientHeight}}return this._expandRectByRootMargin(g)},i.prototype._expandRectByRootMargin=function(g){var p=this._rootMarginValues.map(function(S,k){return S.unit=="px"?S.value:S.value*(k%2?g.width:g.height)/100}),T={top:g.top-p[0],right:g.right+p[1],bottom:g.bottom+p[2],left:g.left-p[3]};return T.width=T.right-T.left,T.height=T.bottom-T.top,T},i.prototype._hasCrossedThreshold=function(g,p){var T=g&&g.isIntersecting?g.intersectionRatio||0:-1,S=p.isIntersecting?p.intersectionRatio||0:-1;if(T!==S)for(var k=0;k<this.thresholds.length;k++){var C=this.thresholds[k];if(C==T||C==S||C<T!=C<S)return!0}},i.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},i.prototype._rootContainsTarget=function(g){var p=this.root&&(this.root.ownerDocument||this.root)||t;return m(p,g)&&(!this.root||p==g.ownerDocument)},i.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},i.prototype._unregisterInstance=function(){var g=n.indexOf(this);g!=-1&&n.splice(g,1)};function a(){return window.performance&&performance.now&&performance.now()}function l(g,p){var T=null;return function(){T||(T=setTimeout(function(){g(),T=null},p))}}function c(g,p,T,S){typeof g.addEventListener=="function"?g.addEventListener(p,T,S):typeof g.attachEvent=="function"&&g.attachEvent("on"+p,T)}function u(g,p,T,S){typeof g.removeEventListener=="function"?g.removeEventListener(p,T,S):typeof g.detatchEvent=="function"&&g.detatchEvent("on"+p,T)}function d(g,p){var T=Math.max(g.top,p.top),S=Math.min(g.bottom,p.bottom),k=Math.max(g.left,p.left),C=Math.min(g.right,p.right),E=C-k,I=S-T;return E>=0&&I>=0&&{top:T,bottom:S,left:k,right:C,width:E,height:I}||null}function f(g){var p;try{p=g.getBoundingClientRect()}catch(T){}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function w(g){return!g||"x"in g?g:{top:g.top,y:g.top,bottom:g.bottom,left:g.left,x:g.left,right:g.right,width:g.width,height:g.height}}function v(g,p){var T=p.top-g.top,S=p.left-g.left;return{top:T,left:S,height:p.height,width:p.width,bottom:T+p.height,right:S+p.width}}function m(g,p){for(var T=p;T;){if(T==g)return!0;T=y(T)}return!1}function y(g){var p=g.parentNode;return g.nodeType==9&&g!=t?e(g):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function _(g){return g&&g.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=s};function ac(e){const{bottom:t,height:n,left:o,right:r,top:s,width:i}=e||{};return{bottom:t,height:n,left:o,right:r,top:s,width:i}}function AI(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:s}}=e;return t!==0?t:r===n?s/o:r/n}function OI(e,t,n){II();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver(s=>{s.forEach(i=>{n({intersectionRatio:AI(i),intersectionRect:ac(i.intersectionRect),boundingClientRect:ac(i.boundingClientRect),relativeRect:ac(i.rootBounds),time:Date.now(),dataset:rd(i.target),id:i.target.id})})},{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const s=e.querySelectorAll(t.selector);for(let i=0;i<s.length;i++)r.observe(s[i])}else{r.USE_MUTATION_OBSERVER=!1;const s=e.querySelector(t.selector);s&&r.observe(s)}return r}function a_(){const e=Mo();if(!e)return;const t=Fd(),n=t.keys();for(const o of n){const r=t.get(o);r.$.__isTabBar?r.$.__isActive=!1:El(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,$t(e,Ao))}function LI(e,t){return e===t.fullPath||e==="/"&&t.meta.isEntry}function l_(e){const t=Fd().values();for(const n of t){const o=vr(n);if(LI(e,o))return n.$.__isActive=!0,o.id}}const xl=Ge($r,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(!Kr.handledBeforeEntryPageRoutes){mu.push({args:{type:$r,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r});return}return a_(),bo({type:$r,url:e,tabBarText:t,isAutomatedTesting:n},l_(e)).then(o).catch(r)},rI,lI);function c_(){const e=mr();if(!e)return;const t=vr(e);El(Il(t.path,t.id))}const Nd=Ge($s,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Kr.handledBeforeEntryPageRoutes){yu.push({args:{type:$s,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return c_(),bo({type:$s,url:e,isAutomatedTesting:t}).then(n).catch(o)},nI,iI);function u_(){const e=Fd().keys();for(const t of e)El(t)}const $d=Ge(ga,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Kr.handledBeforeEntryPageRoutes){vu.push({args:{type:ga,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return u_(),bo({type:ga,url:e,isAutomatedTesting:t}).then(n).catch(o)},oI,aI);function bo({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},s){const i=Pe().$router,{path:a,query:l}=vS(t);return new Promise((c,u)=>{const d=UI(e,s);i[e==="navigateTo"?"push":"replace"]({path:a,query:l,state:d,force:!0}).then(f=>{if(Rn(f))return u(f.message);if(e==="switchTab"&&(i.currentRoute.value.meta.tabBarText=n),e==="navigateTo"){const h=i.currentRoute.value.meta;return h.eventChannel?o&&(Object.keys(o).forEach(w=>{h.eventChannel._addListener(w,"on",o[w])}),h.eventChannel._clearCache()):h.eventChannel=new ry(d.__id__,o),c(r?{__id__:d.__id__}:{eventChannel:h.eventChannel})}return r?c({__id__:d.__id__}):c()})})}function d_(){if(Kr.handledBeforeEntryPageRoutes)return;Kr.handledBeforeEntryPageRoutes=!0;const e=[...gu];gu.length=0,e.forEach(({args:r,resolve:s,reject:i})=>bo(r).then(s).catch(i));const t=[...mu];mu.length=0,t.forEach(({args:r,resolve:s,reject:i})=>(a_(),bo(r,l_(r.url)).then(s).catch(i)));const n=[...yu];yu.length=0,n.forEach(({args:r,resolve:s,reject:i})=>(c_(),bo(r).then(s).catch(i)));const o=[...vu];vu.length=0,o.forEach(({args:r,resolve:s,reject:i})=>(u_(),bo(r).then(s).catch(i)))}let lc;function Bd(){return lc||(lc=__uniConfig.tabBar&&Ie(wk(__uniConfig.tabBar))),lc}function Pl(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const MI=Pl("--a:0"),f_=Pl("top:env(a)"),h_=Pl("top:constant(a)"),p_=Pl("backdrop-filter:blur(10px)"),cp={"css.var":MI,"css.env":f_,"css.constant":h_,"css.backdrop-filter":p_},RI=it(cE,e=>Se(cp,e)?cp[e]:!0),Wa=f_?"env":h_?"constant":"";function DI(e){let t=0,n=0;if(e.navigationBar.style!=="custom"&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=zb),e.isTabBar){const o=Bd();o.shown&&(n=parseInt(o.height))}Dv({"--window-top":NI(t),"--window-bottom":g_(n)})}function NI(e){return Wa?`calc(${e}px + ${Wa}(safe-area-inset-top))`:`${e}px`}function g_(e){return Wa?`calc(${e}px + ${Wa}(safe-area-inset-bottom))`:`${e}px`}const pu="$$",Ro=new Map;function vr(e){return e.$page}const Kr={handledBeforeEntryPageRoutes:!1},gu=[],mu=[],yu=[],vu=[];function $I(){Ro.forEach((e,t)=>{e.$.isUnmounted&&Ro.delete(t)})}function Fd(){return Ro}function on(){return Ti()}function Ti(){const e=[],t=Ro.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function BI(e){const t=tr.get(e);t&&(tr.delete(e),Bs.pruneCacheEntry(t))}function El(e,t=!0){const n=Ro.get(e);n.$.__isUnload=!0,$t(n,nd),Ro.delete(e),t&&BI(e)}let FI=Md();function UI(e,t){return{__id__:t||++FI,__type__:e}}function VI(e){const t=Ld();let n=e.fullPath;return e.meta.isEntry&&n.indexOf(e.meta.route)===-1&&(n="/"+e.meta.route+n.replace("/","")),Yk("navigateTo",n,{},t)}function qI(e){const t=e.$route,n=VI(t);Px(e,n),Ro.set(Il(n.path,n.id),e),Ro.size===1&&setTimeout(()=>{d_()},0)}function Il(e,t){return e+pu+t}function HI(){const e=wl(),t=Y(()=>Il("/"+e.meta.route,Md())),n=Y(()=>e.meta.isTabBar);return{routeKey:t,isTabBar:n,routeCache:Bs}}const tr=new Map,Bs={get(e){return tr.get(e)},set(e,t){jI(e),tr.set(e,t)},delete(e){tr.get(e)&&tr.delete(e)},forEach(e){tr.forEach(e)}};function WI(e){return e.props.type==="tabBar"}function jI(e){const t=parseInt(e.split(pu)[1]);t&&Bs.forEach((n,o)=>{const r=parseInt(o.split(pu)[1]);if(r&&r>t){if(WI(n))return;Bs.delete(o),Bs.pruneCacheEntry(n),rt(()=>$I())}})}function zI(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))}}function up(e,t){YI(e),DI(t),zI(t),y_(e,t)}function GI(e){const t=m_(e);t&&KI(t)}function KI(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function m_(e){return e.type.__scopeId}let cc;function YI(e){const t=m_(e),{body:n}=document;cc&&n.removeAttribute(cc),t&&n.setAttribute(t,""),cc=t}let Wi;function y_(e,t){if(document.removeEventListener("touchmove",Mh),Wi&&document.removeEventListener("scroll",Wi),t.disableScroll)return document.addEventListener("touchmove",Mh);const{onPageScroll:n,onReachBottom:o}=e,r=t.navigationBar.type==="transparent";if(!(n!=null&&n.length)&&!(o!=null&&o.length)&&!r)return;const s={},i=vr(e.proxy).id;(n||r)&&(s.onPageScroll=XI(i,n,r)),o!=null&&o.length&&(s.onReachBottomDistance=t.onReachBottomDistance||Gb,s.onReachBottom=()=>Dt.publishHandler(pi,{},i)),Wi=Xk(s),requestAnimationFrame(()=>document.addEventListener("scroll",Wi))}function XI(e,t,n){return o=>{t&&Dt.publishHandler(Vr,{scrollTop:o},e),n&&Dt.emit(e+"."+Vr,{scrollTop:o})}}function v_(e){return e.$el}function dp(e){const{base:t}=__uniConfig.router;return Gs(e).indexOf(t)===0?Gs(e):t+e}function tn(e){const{base:t,assets:n}=__uniConfig.router;if(t==="./"&&e.indexOf("./")===0&&(e.includes("/static/")||e.indexOf("./"+(n||"assets")+"/")===0)&&(e=e.slice(1)),e.indexOf("/")===0)if(e.indexOf("//")===0)e="https:"+e;else return dp(e.slice(1));if(Kb.test(e)||Yb.test(e)||e.indexOf("blob:")===0)return e;const o=Ti();return o.length?dp(Ad(vr(o[o.length-1]).route,e).slice(1)):e}const Rt=navigator.userAgent,JI=/android/i.test(Rt),__=/iphone|ipad|ipod/i.test(Rt),uc=Rt.match(/Windows NT ([\d|\d.\d]*)/i),_u=/Macintosh|Mac/i.test(Rt),fp=/Linux|X11/i.test(Rt),QI=_u&&navigator.maxTouchPoints>0;function w_(){return/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number"}function b_(e){return e&&Math.abs(window.orientation)===90}function S_(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function ZI(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function T_(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function eA(){const e=w_(),t=T_(S_(e,b_(e)));return{platform:__?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function Ln(e,t,n,o){Qe.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function tA(e,t,n,o,r){Qe.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function nA(e){const t={};if(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),e.scrollOffset){const n=document.documentElement,o=document.body;t.scrollLeft=n.scrollLeft||o.scrollLeft||0,t.scrollTop=n.scrollTop||o.scrollTop||0,t.scrollHeight=n.scrollHeight||o.scrollHeight||0,t.scrollWidth=n.scrollWidth||o.scrollWidth||0}return t}function dc(e,t){const n={},{top:o,topWindowHeight:r}=Rv();if(t.node){const s=e.tagName.split("-")[1]||e.tagName;s&&(n.node=e.querySelector(s))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=rd(e)),t.rect||t.size){const s=e.getBoundingClientRect();t.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-o-r,n.bottom=s.bottom-o-r),t.size&&(n.width=s.width,n.height=s.height)}if(ce(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(i,a){return a.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){const s=e.children[0].children[0];n.scrollLeft=s.scrollLeft,n.scrollTop=s.scrollTop,n.scrollHeight=s.scrollHeight,n.scrollWidth=s.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(ce(t.computedStyle)){const s=getComputedStyle(e);t.computedStyle.forEach(i=>{n[i]=s[i]})}return t.context&&(n.contextInfo=LO(e)),n}function oA(e,t){return e?e.$el:t.$el}function hp(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(o){const r=this.parentElement.querySelectorAll(o);let s=r.length;for(;--s>=0&&r.item(s)!==this;);return s>-1}).call(e,t)}function rA(e,t,n,o,r){const s=oA(t,e),i=s.parentElement;if(!i)return o?null:[];const{nodeType:a}=s,l=a===3||a===8;if(o){const c=l?i.querySelector(n):hp(s,n)?s:s.querySelector(n);return c?dc(c,r):null}else{let c=[];const u=(l?i:s).querySelectorAll(n);return u&&u.length&&[].forEach.call(u,d=>{c.push(dc(d,r))}),!l&&hp(s,n)&&c.unshift(dc(s,r)),c}}function sA(e,t,n){const o=[];t.forEach(({component:r,selector:s,single:i,fields:a})=>{r===null?o.push(nA(a)):o.push(rA(e,r,s,i,a))}),n(o)}function iA({reqId:e,component:t,options:n,callback:o},r){const s=v_(t);(s.__io||(s.__io={}))[e]=OI(s,n,o)}function aA({reqId:e,component:t},n){const o=v_(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}function lA(e,t,n){n(null,e)}const Er={};function C_(e,t){const n=Er[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(cA(e)):new Promise((o,r)=>{const s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="blob",s.onload=function(){o(this.response)},s.onerror=r,s.send()})}function cA(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let s=r.length;const i=new Uint8Array(s);for(;s--;)i[s]=r.charCodeAt(s);return k_(i,o)}function uA(e){const t=e.split("/")[1];return t?`.${t}`:""}function dA(e){e=e.split("#")[0].split("?")[0];const t=e.split("/");return t[t.length-1]}function k_(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${uA(t)}`;try{n=new File([e],o,{type:t})}catch(r){e=e instanceof Blob?e:new Blob([e],{type:t}),n=e,n.name=n.name||o}}return n}function Yr(e){for(const n in Er)if(Se(Er,n)&&Er[n]===e)return n;var t=(window.URL||window.webkitURL).createObjectURL(e);return Er[t]=e,t}function fA(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):C_(e).then(Yr)}function pp(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Er[e]}const ya=Hv(),x_=Hv();function hA(){return pe({},x_)}function pA(){return pe({},ya)}function gA({path:e,query:t}){return pe(ya,{path:e,query:t}),pe(x_,ya),pe({},ya)}const Uo=yt({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=H(null),o=yA(n),r=mA(n,t,o);return vA(n,e,r,o),()=>L("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[L("div",{onScroll:r},[L("div",null,null)],40,["onScroll"]),L("div",{onScroll:r},[L("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function mA(e,t,n){const o=Ie({width:-1,height:-1});return se(()=>pe({},o),r=>t("resize",r)),()=>{const r=e.value;r&&(o.width=r.offsetWidth,o.height=r.offsetHeight,n())}}function yA(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function vA(e,t,n,o){yi(o),$e(()=>{t.initial&&rt(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}const ze=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 gp(e,t=!0){const n=t?ze:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let mp=!1;function _A(){if(mp)return;mp=!0;const e=function(o,r){for(const s in o)Se(o,s)&&r(o[s],s)},t={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]},n=CanvasRenderingContext2D.prototype;n.drawImageByCanvas=function(o){return function(r,s,i,a,l,c,u,d,f,h){if(!this.__hidpi__)return o.apply(this,arguments);s*=ze,i*=ze,a*=ze,l*=ze,c*=ze,u*=ze,d=h?d*ze:d,f=h?f*ze:f,o.call(this,r,s,i,a,l,c,u,d,f)}}(n.drawImage),ze!==1&&(e(t,function(o,r){n[r]=function(s){return function(){if(!this.__hidpi__)return s.apply(this,arguments);let i=Array.prototype.slice.call(arguments);if(o==="all")i=i.map(function(a){return a*ze});else if(Array.isArray(o))for(let a=0;a<o.length;a++)i[o[a]]*=ze;return s.apply(this,i)}}(n[r])}),n.stroke=function(o){return function(){if(!this.__hidpi__)return o.apply(this,arguments);this.lineWidth*=ze,o.apply(this,arguments),this.lineWidth/=ze}}(n.stroke),n.fillText=function(o){return function(){if(!this.__hidpi__)return o.apply(this,arguments);const r=Array.prototype.slice.call(arguments);r[1]*=ze,r[2]*=ze,r[3]&&typeof r[3]=="number"&&(r[3]*=ze);var s=this.__font__||this.font;this.font=s.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(i,a,l){return a*ze+l}),o.apply(this,r),this.font=s}}(n.fillText),n.strokeText=function(o){return function(){if(!this.__hidpi__)return o.apply(this,arguments);var r=Array.prototype.slice.call(arguments);r[1]*=ze,r[2]*=ze,r[3]&&typeof r[3]=="number"&&(r[3]*=ze);var s=this.__font__||this.font;this.font=s.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(i,a,l){return a*ze+l}),o.apply(this,r),this.font=s}}(n.strokeText),n.drawImage=function(o){return function(){if(!this.__hidpi__)return o.apply(this,arguments);this.scale(ze,ze),o.apply(this,arguments),this.scale(1/ze,1/ze)}}(n.drawImage))}const wA=Bt(()=>_A());function yp(e){return e&&tn(e)}function ji(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function vp(e,t){Array.from(t).forEach(n=>{n.x=n.clientX-e.left,n.y=n.clientY-e.top})}let gs;function _p(e=0,t=0){return gs||(gs=document.createElement("canvas")),gs.width=e,gs.height=t,gs}const bA={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},p8=yt({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:bA,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){wA();const o=H(null),r=H(null),s=H(null),i=H(!1),a=Dx(t),{$attrs:l,$excludeAttrs:c,$listeners:u}=Al({excludeListeners:!0}),{_listeners:d}=SA(e,u,a),{_handleSubscribe:f,_resize:h}=TA(e,r,i);return j_(f,z_(e.canvasId)),$e(()=>{h()}),()=>{const{canvasId:w,disableScroll:v}=e;return L("uni-canvas",It({ref:o,"canvas-id":w,"disable-scroll":v},l.value,c.value,d.value),[L("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),L("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),L(Uo,{ref:s,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function SA(e,t,n){return{_listeners:Y(()=>{let r=["onTouchstart","onTouchmove","onTouchend"],s=t.value,i=pe({},(()=>{let a={};for(const l in s)if(Se(s,l)){const c=s[l];a[l]=c}return a})());return r.forEach(a=>{let l=i[a],c=[];l&&c.push(Qt(u=>{const d=u.currentTarget.getBoundingClientRect();vp(d,u.touches),vp(d,u.changedTouches),n(a.replace("on","").toLocaleLowerCase(),u)})),e.disableScroll&&a==="onTouchmove"&&c.push(kd),i[a]=c}),i})}}function TA(e,t,n){let o=[],r={};const s=Y(()=>e.hidpi?ze:1);function i(v){let m=t.value;var y=!v||m.width!==Math.floor(v.width*s.value)||m.height!==Math.floor(v.height*s.value);if(y)if(m.width>0&&m.height>0){let _=m.getContext("2d"),g=_.getImageData(0,0,m.width,m.height);gp(m,e.hidpi),_.putImageData(g,0,0)}else gp(m,e.hidpi)}function a({actions:v,reserve:m},y){if(!v)return;if(n.value){o.push([v,m]);return}let _=t.value,g=_.getContext("2d");m||(g.fillStyle="#000000",g.strokeStyle="#000000",g.shadowColor="#000000",g.shadowBlur=0,g.shadowOffsetX=0,g.shadowOffsetY=0,g.setTransform(1,0,0,1,0,0),g.clearRect(0,0,_.width,_.height)),l(v);for(let p=0;p<v.length;p++){const T=v[p];let S=T.method;const k=T.data,C=k[0];if(/^set/.test(S)&&S!=="setTransform"){const E=S[3].toLowerCase()+S.slice(4);let I;if(E==="fillStyle"||E==="strokeStyle"){if(C==="normal")I=ji(k[1]);else if(C==="linear"){const A=g.createLinearGradient(...k[1]);k[2].forEach(function(P){const B=P[0],ee=ji(P[1]);A.addColorStop(B,ee)}),I=A}else if(C==="radial"){let A=k[1];const P=A[0],B=A[1],ee=A[2],R=g.createRadialGradient(P,B,0,P,B,ee);k[2].forEach(function(z){const te=z[0],X=ji(z[1]);R.addColorStop(te,X)}),I=R}else if(C==="pattern"){if(!c(k[1],v.slice(p+1),y,function(P){P&&(g[E]=g.createPattern(P,k[2]))}))break;continue}g[E]=I}else if(E==="globalAlpha")g[E]=Number(C)/255;else if(E==="shadow"){let A=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];k.forEach(function(P,B){g[A[B]]=A[B]==="shadowColor"?ji(P):P})}else if(E==="fontSize"){const A=g.__font__||g.font;g.__font__=g.font=A.replace(/\d+\.?\d*px/,C+"px")}else E==="lineDash"?(g.setLineDash(C),g.lineDashOffset=k[1]||0):E==="textBaseline"?(C==="normal"&&(k[0]="alphabetic"),g[E]=C):E==="font"?g.__font__=g.font=C:g[E]=C}else if(S==="fillPath"||S==="strokePath")S=S.replace(/Path/,""),g.beginPath(),k.forEach(function(E){g[E.method].apply(g,E.data)}),g[S]();else if(S==="fillText")g.fillText.apply(g,k);else if(S==="drawImage"){if(function(){let I=[...k],A=I[0],P=I.slice(1);if(r=r||{},!c(A,v.slice(p+1),y,function(B){B&&g.drawImage.apply(g,[B].concat([...P.slice(4,8)],[...P.slice(0,4)]))}))return"break"}()==="break")break}else S==="clip"?(k.forEach(function(E){g[E.method].apply(g,E.data)}),g.clip()):g[S].apply(g,k)}n.value||y({errMsg:"drawCanvas:ok"})}function l(v){v.forEach(function(m){let y=m.method,_=m.data,g="";y==="drawImage"?(g=_[0],g=yp(g),_[0]=g):y==="setFillStyle"&&_[0]==="pattern"&&(g=_[1],g=yp(g),_[1]=g),g&&!r[g]&&p();function p(){const T=r[g]=new Image;T.onload=function(){T.ready=!0},fA(g).then(S=>{T.src=S}).catch(()=>{T.src=g})}})}function c(v,m,y,_){let g=r[v];return g.ready?(_(g),!0):(o.unshift([m,!0]),n.value=!0,g.onload=function(){g.ready=!0,_(g),n.value=!1;let p=o.slice(0);o=[];for(let T=p.shift();T;)a({actions:T[0],reserve:T[1]},y),T=p.shift()},!1)}function u({x:v=0,y:m=0,width:y,height:_,destWidth:g,destHeight:p,hidpi:T=!0,dataType:S,quality:k=1,type:C="png"},E){const I=t.value;let A;const P=I.offsetWidth-v;y=y?Math.min(y,P):P;const B=I.offsetHeight-m;_=_?Math.min(_,B):B,T?(g=y,p=_):!g&&!p?(g=Math.round(y*s.value),p=Math.round(_*s.value)):g?p||(p=Math.round(_/y*g)):(p||(p=Math.round(_*s.value)),g=Math.round(y/_*p));const ee=_p(g,p),R=ee.getContext("2d");(C==="jpeg"||C==="jpg")&&(C="jpeg",R.fillStyle="#fff",R.fillRect(0,0,g,p)),R.__hidpi__=!0,R.drawImageByCanvas(I,v,m,y,_,0,0,g,p,!1);let z;try{let te;if(S==="base64")A=ee.toDataURL(`image/${C}`,k);else{const X=R.getImageData(0,0,g,p);A=Array.prototype.slice.call(X.data)}z={data:A,compressed:te,width:g,height:p}}catch(te){z={errMsg:`canvasGetImageData:fail ${te}`}}if(ee.height=ee.width=0,R.__hidpi__=!1,E)E(z);else return z}function d({data:v,x:m,y,width:_,height:g,compressed:p},T){try{g||(g=Math.round(v.length/4/_));const S=_p(_,g);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(v),_,g),0,0),t.value.getContext("2d").drawImage(S,m,y,_,g),S.height=S.width=0}catch(S){T({errMsg:"canvasPutImageData:fail"});return}T({errMsg:"canvasPutImageData:ok"})}function f({x:v=0,y:m=0,width:y,height:_,destWidth:g,destHeight:p,fileType:T,quality:S,dirname:k},C){const E=u({x:v,y:m,width:y,height:_,destWidth:g,destHeight:p,hidpi:!1,dataType:"base64",type:T,quality:S});if(E.errMsg){C({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}lA(E.data,k,(I,A)=>{let P=`toTempFilePath:${I?"fail":"ok"}`;I&&(P+=` ${I.message}`),C({errMsg:P,tempFilePath:A})})}const h={actionsChanged:a,getImageData:u,putImageData:d,toTempFilePath:f};function w(v,m,y){let _=h[v];v.indexOf("_")!==0&&le(_)&&_(m,y)}return pe(h,{_resize:i,_handleSubscribe:w})}let CA;function wp(){}const kA={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},xA=["keyboardheightchange"];function PA(e,t,n){function o(r){const s=Y(()=>String(navigator.vendor).indexOf("Apple")===0);r.addEventListener("focus",()=>{clearTimeout(CA),document.addEventListener("click",wp,!1)});const i=()=>{document.removeEventListener("click",wp,!1),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};r.addEventListener("blur",()=>{s.value&&r.blur(),i()})}se(()=>t.value,r=>r&&o(r))}const EA={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},va={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},IA={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"]},P_=yt({name:"Image",props:EA,setup(e,{emit:t}){const n=H(null),o=AA(n,e),r=yr(n,t),{fixSize:s}=RA(n,e,o);return OA(o,e,n,s,r),()=>L("uni-image",{ref:n},[L("div",{style:o.modeStyle},null,4),va[e.mode]?L(Uo,{onResize:s},null,8,["onResize"]):L("span",null,null)],512)}});function AA(e,t){const n=H(""),o=Y(()=>{let s="auto",i="";const a=IA[t.mode];return a?(a[0]&&(i=a[0]),a[1]&&(s=a[1])):(i="0% 0%",s="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${i};background-size:${s};`}),r=Ie({rootEl:e,src:Y(()=>t.src?tn(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return $e(()=>{const s=e.value;r.origWidth=s.clientWidth||0,r.origHeight=s.clientHeight||0}),r}function OA(e,t,n,o,r){let s,i;const a=(u=0,d=0,f="")=>{e.origWidth=u,e.origHeight=d,e.imgSrc=f},l=u=>{if(!u){c(),a();return}s=s||new Image,s.onload=d=>{const{width:f,height:h}=s;a(f,h,u),rt(()=>{o()}),s.draggable=t.draggable,i&&i.remove(),i=s,n.value.appendChild(s),c(),r("load",d,{width:f,height:h})},s.onerror=d=>{a(),c(),r("error",d,{errMsg:`GET ${e.src} 404 (Not Found)`})},s.src=u},c=()=>{s&&(s.onload=null,s.onerror=null,s=null)};se(()=>e.src,u=>l(u)),se(()=>e.imgSrc,u=>{!u&&i&&(i.remove(),i=null)}),$e(()=>l(e.src)),At(()=>c())}const LA=navigator.vendor==="Google Inc.";function MA(e){return LA&&e>10&&(e=Math.round(e/2)*2),e}function RA(e,t,n){const o=()=>{const{mode:s}=t,i=va[s];if(!i)return;const{origWidth:a,origHeight:l}=n,c=a&&l?a/l:0;if(!c)return;const u=e.value,d=u[i[0]];d&&(u.style[i[1]]=MA(i[2](d,c))+"px")},r=()=>{const{style:s}=e.value,{origStyle:{width:i,height:a}}=n;s.width=i,s.height=a};return se(()=>t.mode,(s,i)=>{va[i]&&r(),va[s]&&o()}),{fixSize:o,resetSize:r}}function DA(e,t){let n=0,o,r;const s=function(...i){const a=Date.now();if(clearTimeout(o),r=()=>{r=null,n=a,e.apply(this,i)},a-n<t){o=setTimeout(r,t-(a-n));return}r()};return s.cancel=function(){clearTimeout(o),r=null},s.flush=function(){clearTimeout(o),r&&r()},s}const NA=qr(!0),ja=[];let _a=0,bp=!1;const Sp=e=>ja.forEach(t=>t.userAction=e);function E_(e={userAction:!1}){bp||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(n=>{document.addEventListener(n,function(){!_a&&Sp(!0),_a++,setTimeout(()=>{!--_a&&Sp(!1)},0)},NA)}),bp=!0),ja.push(e)}function $A(e){const t=ja.indexOf(e);t>=0&&ja.splice(t,1)}const Ud=()=>!!_a;function I_(){const e=Ie({userAction:!1});return $e(()=>{E_(e)}),At(()=>{$A(e)}),{state:e}}function A_(){const e=Ie({attrs:{}});return $e(()=>{let t=ft();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function BA(e,t){const n=Ne(jv,!1);if(!n)return;const o=ft(),r={submit(){const s=o.proxy;return[s[e],be(t)?s[t]:t.value]},reset(){be(t)?o.proxy[t]="":t.value=""}};n.addField(r),At(()=>{n.removeField(r)})}function FA(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)}const UA=function(){Av(wi(),"getSelectedTextRange",FA)};function wu(e,t,n){return t==="number"&&isNaN(Number(e))&&(e=""),e==null?"":String(e)}const VA=["none","text","decimal","numeric","tel","search","email","url"],O_=pe({},{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=>!!~VA.indexOf(e)},cursorColor:{type:String,default:""}},kA),L_=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...xA];function qA(e,t,n){const o=H(null),r=yr(t,n),s=Y(()=>{const d=Number(e.selectionStart);return isNaN(d)?-1:d}),i=Y(()=>{const d=Number(e.selectionEnd);return isNaN(d)?-1:d}),a=Y(()=>{const d=Number(e.cursor);return isNaN(d)?-1:d}),l=Y(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d});let c="";c=wu(e.modelValue,e.type)||wu(e.value,e.type);const u=Ie({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:s,selectionEnd:i,cursor:a});return se(()=>u.focus,d=>n("update:focus",d)),se(()=>u.maxlength,d=>u.value=u.value.slice(0,d),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}function HA(e,t,n,o){let r=null;r=oy(a=>{t.value=wu(a,e.type)},100,{setTimeout,clearTimeout}),se(()=>e.modelValue,r),se(()=>e.value,r);const s=DA((a,l)=>{r.cancel(),n("update:modelValue",l.value),n("update:value",l.value),o("input",a,l)},100),i=(a,l,c)=>{r.cancel(),s(a,l),c&&s.flush()};return $o(()=>{r.cancel(),s.cancel()}),{trigger:o,triggerInput:i}}function WA(e,t){I_();const n=Y(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const s=t.value;if(!s){setTimeout(o,100);return}s.focus()}function r(){const s=t.value;s&&s.blur()}se(()=>e.focus,s=>{s?o():r()}),$e(()=>{n.value&&rt(o)})}function jA(e,t,n,o,r,s){function i(){const u=e.value;u&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&u.type!=="number"&&(u.selectionStart=t.selectionStart,u.selectionEnd=t.selectionEnd)}function a(){const u=e.value;u&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&u.type!=="number"&&(u.selectionEnd=u.selectionStart=t.cursor)}function l(u){return u.type==="number"?null:u.selectionEnd}function c(){const u=e.value;if(!u)return;const d=function(v){t.focus=!0,o("focus",v,{value:t.value}),i(),a()},f=function(v,m){v.stopPropagation(),!(le(s)&&s(v,t)===!1)&&(t.value=u.value,(!t.composing||!n.ignoreCompositionEvent)&&r(v,{value:u.value,cursor:l(u)},m))},h=function(v){t.composing&&(t.composing=!1,f(v,!0)),t.focus=!1,o("blur",v,{value:t.value,cursor:l(v.target)})};u.addEventListener("change",v=>v.stopPropagation()),u.addEventListener("focus",d),u.addEventListener("blur",h),u.addEventListener("input",f),u.addEventListener("compositionstart",v=>{v.stopPropagation(),t.composing=!0,w(v)}),u.addEventListener("compositionend",v=>{v.stopPropagation(),t.composing&&(t.composing=!1,f(v)),w(v)}),u.addEventListener("compositionupdate",w);function w(v){n.ignoreCompositionEvent||o(v.type,v,{value:v.data})}}se([()=>t.selectionStart,()=>t.selectionEnd],i),se(()=>t.cursor,a),se(()=>e.value,c)}function M_(e,t,n,o){UA();const{fieldRef:r,state:s,trigger:i}=qA(e,t,n),{triggerInput:a}=HA(e,s,n,i);WA(e,r),PA(e,r);const{state:l}=A_();BA("name",s),jA(r,s,e,i,a,o);const c=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:r,state:s,scopedAttrsState:l,fixDisabledColor:c,trigger:i}}const zA=pe({},O_,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),GA=Bt(()=>{{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 o=e.match(/Version\/(\S*)\b/);o&&(t=o[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function Tp(e,t,n,o,r){if(t.value){if(e.data==="."){if(t.value.slice(-1)===".")return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if(e.inputType==="deleteContentBackward"&&GA()&&t.value.slice(-2,-1)===".")return t.value=n.value=o.value=t.value.slice(0,-2),!0}}function KA(e,t){if(t.value==="number"){const n=typeof e.modelValue=="undefined"?e.value:e.modelValue,o=H(typeof n!="undefined"&&n!==null?n.toLocaleString():"");return se(()=>e.modelValue,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),se(()=>e.value,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),o}else return H("")}const YA=yt({name:"Input",props:zA,emits:["confirm",...L_],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],s=Y(()=>{let _="";switch(e.type){case"text":_="text",e.confirmType==="search"&&(_="search");break;case"idcard":_="text";break;case"digit":_="number";break;default:_=o.includes(e.type)?e.type:"text";break}return e.password?"password":_}),i=Y(()=>{const _=r.indexOf(e.textContentType),g=r.indexOf(no(e.textContentType));return r[_!==-1?_:g!==-1?g:0]});let a=KA(e,s),l={fn:null};const c=H(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:h,trigger:w}=M_(e,c,t,(_,g)=>{const p=_.target;if(s.value==="number"){if(l.fn&&(p.removeEventListener("blur",l.fn),l.fn=null),p.validity&&!p.validity.valid){if((!a.value||!p.value)&&_.data==="-"||a.value[0]==="-"&&_.inputType==="deleteContentBackward")return a.value="-",g.value="",l.fn=()=>{a.value=p.value=""},p.addEventListener("blur",l.fn),!1;const S=Tp(_,a,g,p,l);return typeof S=="boolean"?S:(a.value=g.value=p.value=a.value==="-"?"":a.value,!1)}else{const S=Tp(_,a,g,p,l);if(typeof S=="boolean")return S;a.value=p.value}const T=g.maxlength;if(T>0&&p.value.length>T)return p.value=p.value.slice(0,T),g.value=p.value,(e.modelValue!==void 0&&e.modelValue!==null?e.modelValue.toString():"")!==p.value}});se(()=>d.value,_=>{e.type==="number"&&!(a.value==="-"&&_==="")&&(a.value=_.toString())});const v=["number","digit"],m=Y(()=>v.includes(e.type)?e.step:"");function y(_){if(_.key!=="Enter")return;const g=_.target;_.stopPropagation(),w("confirm",_,{value:g.value}),!e.confirmHold&&g.blur()}return n({$triggerInput:_=>{t("update:modelValue",_.value),t("update:value",_.value),d.value=_.value}}),()=>{let _=e.disabled&&h?L("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:s.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:g=>g.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):L("input",{key:"input",ref:u,value:d.value,onInput:g=>{d.value=g.target.value.toString()},disabled:!!e.disabled,type:s.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:i.value,onKeyup:y,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return L("uni-input",{ref:c},[L("div",{class:"uni-input-wrapper"},[Yt(L("div",It(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xt,!(d.value.length||a.value==="-"||a.value.includes("."))]]),e.confirmType==="search"?L("form",{action:"",onSubmit:g=>g.preventDefault(),class:"uni-input-form"},[_],40,["onSubmit"]):_])],512)}}});function XA(e){return Object.keys(e).map(t=>[t,e[t]])}const JA=["class","style"],QA=/^on[A-Z]+/,Al=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ft(),r=ua({}),s=ua({}),i=ua({}),a=n.concat(JA);return o.attrs=Ie(o.attrs),In(()=>{const l=XA(o.attrs).reduce((c,[u,d])=>(a.includes(u)?c.exclude[u]=d:QA.test(u)?(t||(c.attrs[u]=d),c.listeners[u]=d):c.attrs[u]=d,c),{exclude:{},attrs:{},listeners:{}});r.value=l.attrs,s.value=l.listeners,i.value=l.exclude}),{$attrs:r,$listeners:s,$excludeAttrs:i}};function Xr(e){const t=[];return ce(e)&&e.forEach(n=>{fr(n)?n.type===ot?t.push(...Xr(n.children)):t.push(n):ce(n)&&t.push(...Xr(n))}),t}const ZA={scaleArea:{type:Boolean,default:!1}},R_=yt({inheritAttrs:!1,name:"MovableArea",props:ZA,setup(e,{slots:t}){const n=H(null),o=H(!1);let{setContexts:r,events:s}=eO(e,n);const{$listeners:i,$attrs:a,$excludeAttrs:l}=Al(),c=i.value;["onTouchstart","onTouchmove","onTouchend"].forEach(m=>{let y=c[m],_=s[`_${m}`];c[m]=y?[].concat(y,_):_}),$e(()=>{s._resize(),o.value=!0});let d=[];const f=[];function h(){const m=[];for(let y=0;y<d.length;y++){let _=d[y];_=_.el;const g=f.find(p=>_===p.rootRef.value);g&&m.push(Oo(g))}r(m)}const w=m=>{f.push(m),h()},v=m=>{const y=f.indexOf(m);y>=0&&(f.splice(y,1),h())};return _t("_isMounted",o),_t("movableAreaRootRef",n),_t("addMovableViewContext",w),_t("removeMovableViewContext",v),()=>{const m=t.default&&t.default();return d=Xr(m),L("uni-movable-area",It({ref:n},a.value,l.value,c),[L(Uo,{onResize:s._resize},null,8,["onResize"]),d],16)}}});function Cp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function eO(e,t){const n=H(0),o=H(0),r=Ie({x:null,y:null}),s=H(null);let i=null,a=[];function l(v){v&&v!==1&&(e.scaleArea?a.forEach(function(m){m._setScale(v)}):i&&i._setScale(v))}function c(v,m=a){let y=t.value;function _(g){for(let p=0;p<m.length;p++){const T=m[p];if(g===T.rootRef.value)return T}return g===y||g===document.body||g===document?null:_(g.parentNode)}return _(v)}const u=Qt(v=>{let m=v.touches;if(m&&m.length>1){let y={x:m[1].pageX-m[0].pageX,y:m[1].pageY-m[0].pageY};if(s.value=Cp(y),r.x=y.x,r.y=y.y,!e.scaleArea){let _=c(m[0].target),g=c(m[1].target);i=_&&_===g?_:null}}}),d=Qt(v=>{let m=v.touches;if(m&&m.length>1){v.preventDefault();let y={x:m[1].pageX-m[0].pageX,y:m[1].pageY-m[0].pageY};if(r.x!==null&&s.value&&s.value>0){let _=Cp(y)/s.value;l(_)}r.x=y.x,r.y=y.y}}),f=Qt(v=>{let m=v.touches;m&&m.length||v.changedTouches&&(r.x=0,r.y=0,s.value=null,e.scaleArea?a.forEach(function(y){y._endScale()}):i&&i._endScale())});function h(){w(),a.forEach(function(v,m){v.setParent()})}function w(){let v=window.getComputedStyle(t.value),m=t.value.getBoundingClientRect();n.value=m.width-["Left","Right"].reduce(function(y,_){const g="border"+_+"Width",p="padding"+_;return y+parseFloat(v[g])+parseFloat(v[p])},0),o.value=m.height-["Top","Bottom"].reduce(function(y,_){const g="border"+_+"Width",p="padding"+_;return y+parseFloat(v[g])+parseFloat(v[p])},0)}return _t("movableAreaWidth",n),_t("movableAreaHeight",o),{setContexts(v){a=v},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:h}}}const ms=function(e,t,n,o){e.addEventListener(t,r=>{le(n)&&n(r)===!1&&((typeof r.cancelable=="undefined"||r.cancelable)&&r.preventDefault(),r.stopPropagation())},{passive:!1})};let kp,xp;function Vd(e,t,n){At(()=>{document.removeEventListener("mousemove",kp),document.removeEventListener("mouseup",xp)});let o=0,r=0,s=0,i=0;const a=function(h,w,v,m){if(t({cancelable:h.cancelable,target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:w,x:v,y:m,dx:v-o,dy:m-r,ddx:v-s,ddy:m-i,timeStamp:h.timeStamp}})===!1)return!1};let l=null,c,u;ms(e,"touchstart",function(h){if(c=!0,h.touches.length===1&&!l)return l=h,o=s=h.touches[0].pageX,r=i=h.touches[0].pageY,a(h,"start",o,r)}),ms(e,"mousedown",function(h){if(u=!0,!c&&!l)return l=h,o=s=h.pageX,r=i=h.pageY,a(h,"start",o,r)}),ms(e,"touchmove",function(h){if(h.touches.length===1&&l){const w=a(h,"move",h.touches[0].pageX,h.touches[0].pageY);return s=h.touches[0].pageX,i=h.touches[0].pageY,w}});const d=kp=function(h){if(!c&&u&&l){const w=a(h,"move",h.pageX,h.pageY);return s=h.pageX,i=h.pageY,w}};document.addEventListener("mousemove",d),ms(e,"touchend",function(h){if(h.touches.length===0&&l)return c=!1,l=null,a(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});const f=xp=function(h){if(u=!1,!c&&l)return l=null,a(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",f),ms(e,"touchcancel",function(h){if(l){c=!1;const w=l;return l=null,a(h,n?"cancel":"end",w.touches[0].pageX,w.touches[0].pageY)}})}function za(e,t,n){return e>t-n&&e<t+n}function Zo(e,t){return za(e,0,t)}function bu(){}bu.prototype.x=function(e){return Math.sqrt(e)};function Wn(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}Wn.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=new Date().getTime()};Wn.prototype.setS=function(e,t){this._x_s=e,this._y_s=t};Wn.prototype.s=function(e){e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}};Wn.prototype.ds=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}};Wn.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}};Wn.prototype.dt=function(){return-this._x_v/this._x_a};Wn.prototype.done=function(){const e=za(this.s().x,this._endPositionX)||za(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e};Wn.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t};Wn.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function nn(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}nn.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,s=n*n-4*o*r;if(s===0){const u=-n/(2*o),d=e,f=t/(u*e);return{x:function(h){return(d+f*h)*Math.pow(Math.E,u*h)},dx:function(h){const w=Math.pow(Math.E,u*h);return u*(d+f*h)*w+f*w}}}if(s>0){const u=(-n-Math.sqrt(s))/(2*o),d=(-n+Math.sqrt(s))/(2*o),f=(t-u*e)/(d-u),h=e-f;return{x:function(w){let v,m;return w===this._t&&(v=this._powER1T,m=this._powER2T),this._t=w,v||(v=this._powER1T=Math.pow(Math.E,u*w)),m||(m=this._powER2T=Math.pow(Math.E,d*w)),h*v+f*m},dx:function(w){let v,m;return w===this._t&&(v=this._powER1T,m=this._powER2T),this._t=w,v||(v=this._powER1T=Math.pow(Math.E,u*w)),m||(m=this._powER2T=Math.pow(Math.E,d*w)),h*u*v+f*d*m}}}const i=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/i;return{x:function(u){return Math.pow(Math.E,a*u)*(l*Math.cos(i*u)+c*Math.sin(i*u))},dx:function(u){const d=Math.pow(Math.E,a*u),f=Math.cos(i*u),h=Math.sin(i*u);return d*(c*i*f-l*i*h)+a*d*(c*h+l*f)}}};nn.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0};nn.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0};nn.prototype.setEnd=function(e,t,n){if(n||(n=new Date().getTime()),e!==this._endPosition||!Zo(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Zo(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Zo(t,.1)&&(t=0),Zo(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Zo(o-e,.1)&&Zo(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}};nn.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}};nn.prototype.done=function(e){return e||(e=new Date().getTime()),za(this.x(),this._endPosition,.1)&&Zo(this.dx(),.1)};nn.prototype.reconfigure=function(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())};nn.prototype.springConstant=function(){return this._k};nn.prototype.damping=function(){return this._c};nn.prototype.configuration=function(){function e(n,o){n.reconfigure(1,o,n.damping())}function t(n,o){n.reconfigure(1,n.springConstant(),o)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Ci(e,t,n){this._springX=new nn(e,t,n),this._springY=new nn(e,t,n),this._springScale=new nn(e,t,n),this._startTime=0}Ci.prototype.setEnd=function(e,t,n,o){const r=new Date().getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r};Ci.prototype.x=function(){const e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}};Ci.prototype.done=function(){const e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)};Ci.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const tO={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function Pp(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const D_=yt({name:"MovableView",props:tO,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=H(null),r=yr(o,n),{setParent:s}=sO(e,r,o);return()=>L("uni-movable-view",{ref:o},[L(Uo,{onResize:s},null,8,["onResize"]),t.default&&t.default()],512)}});let fc=!1;function N_(e){fc||(fc=!0,requestAnimationFrame(function(){e(),fc=!1}))}function $_(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=$_(e.offsetParent,t):0}function B_(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=B_(e.offsetParent,t):0}function F_(e,t,n){let o={id:0,cancelled:!1},r=function(i){i&&i.id&&cancelAnimationFrame(i.id),i&&(i.cancelled=!0)};function s(i,a,l,c){if(!i||!i.cancelled){l(a);let u=a.done();u||i.cancelled||(i.id=requestAnimationFrame(s.bind(null,i,a,l,c))),u&&c&&c(a)}}return s(o,e,t,n),{cancel:r.bind(null,o),model:e}}function zi(e){return/\d+[ur]px$/i.test(e)?Si(parseFloat(e)):Number(e)||0}function nO(e,t,n){const o=Ne("movableAreaWidth",H(0)),r=Ne("movableAreaHeight",H(0)),s=Ne("movableAreaRootRef"),i={x:0,y:0},a={x:0,y:0},l=H(0),c=H(0),u=H(0),d=H(0),f=H(0),h=H(0);function w(){let y=0-i.x+a.x,_=o.value-l.value-i.x-a.x;u.value=Math.min(y,_),f.value=Math.max(y,_);let g=0-i.y+a.y,p=r.value-c.value-i.y-a.y;d.value=Math.min(g,p),h.value=Math.max(g,p)}function v(){i.x=$_(e.value,s.value),i.y=B_(e.value,s.value)}function m(y){y=y||t.value,y=n(y);let _=e.value.getBoundingClientRect();c.value=_.height/t.value,l.value=_.width/t.value;let g=c.value*y,p=l.value*y;a.x=(p-l.value)/2,a.y=(g-c.value)/2}return{_updateBoundary:w,_updateOffset:v,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:h}}function oO(e,t,n,o,r,s,i,a,l,c,u,d,f,h){const w=Y(()=>{let A=Number(t.damping);return isNaN(A)?20:A}),v=Y(()=>t.direction==="all"||t.direction==="horizontal"),m=Y(()=>t.direction==="all"||t.direction==="vertical"),y=H(zi(t.x)),_=H(zi(t.y));se(()=>t.x,A=>{y.value=zi(A)}),se(()=>t.y,A=>{_.value=zi(A)}),se(y,A=>{E(A)}),se(_,A=>{I(A)});const g=new Ci(1,9*Math.pow(w.value,2)/40,w.value);function p(A,P){let B=!1;return A>r.value?(A=r.value,B=!0):A<i.value&&(A=i.value,B=!0),P>s.value?(P=s.value,B=!0):P<a.value&&(P=a.value,B=!0),{x:A,y:P,outOfBounds:B}}function T(){d&&d.cancel(),u&&u.cancel()}function S(A,P,B,ee,R,z){T(),v.value||(A=l.value),m.value||(P=c.value),t.scale||(B=o.value);let te=p(A,P);if(A=te.x,P=te.y,!t.animation){k(A,P,B,ee,R,z);return}g._springX._solution=null,g._springY._solution=null,g._springScale._solution=null,g._springX._endPosition=l.value,g._springY._endPosition=c.value,g._springScale._endPosition=o.value,g.setEnd(A,P,B,1),u=F_(g,function(){let X=g.x(),N=X.x,Z=X.y,U=X.scale;k(N,Z,U,ee,R,z)},function(){u.cancel()})}function k(A,P,B,ee="",R,z){A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=l.value||0),P!==null&&P.toString()!=="NaN"&&typeof P=="number"||(P=c.value||0),A=Number(A.toFixed(1)),P=Number(P.toFixed(1)),B=Number(B.toFixed(1)),l.value===A&&c.value===P||R||h("change",{},{x:Pp(A,n.x),y:Pp(P,n.y),source:ee}),t.scale||(B=o.value),B=f(B),B=+B.toFixed(3),z&&B!==o.value&&h("scale",{},{x:A,y:P,scale:B});let te="translateX("+A+"px) translateY("+P+"px) translateZ(0px) scale("+B+")";e.value&&(e.value.style.transform=te,e.value.style.webkitTransform=te,l.value=A,c.value=P,o.value=B)}function C(A){let P=p(l.value,c.value),B=P.x,ee=P.y,R=P.outOfBounds;return R&&S(B,ee,o.value,A),R}function E(A){if(v.value){if(A+n.x===l.value)return l;u&&u.cancel(),S(A+n.x,_.value+n.y,o.value)}return A}function I(A){if(m.value){if(A+n.y===c.value)return c;u&&u.cancel(),S(y.value+n.x,A+n.y,o.value)}return A}return{FAandSFACancel:T,_getLimitXY:p,_animationTo:S,_setTransform:k,_revise:C,dampingNumber:w,xMove:v,yMove:m,xSync:y,ySync:_,_STD:g}}function rO(e,t,n,o,r,s,i,a,l,c){const u=Y(()=>{let q=Number(e.scaleMin);return isNaN(q)?.1:q}),d=Y(()=>{let q=Number(e.scaleMax);return isNaN(q)?10:q}),f=H(Number(e.scaleValue)||1);se(f,q=>{U(q)}),se(u,()=>{Z()}),se(d,()=>{Z()}),se(()=>e.scaleValue,q=>{f.value=Number(q)||0});const{_updateBoundary:h,_updateOffset:w,_updateWH:v,_scaleOffset:m,minX:y,minY:_,maxX:g,maxY:p}=nO(t,o,N),{FAandSFACancel:T,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:E,dampingNumber:I,xMove:A,yMove:P,xSync:B,ySync:ee,_STD:R}=oO(t,e,m,o,g,p,y,_,i,a,l,c,N,n);function z(q,et){if(e.scale){q=N(q),v(q),h();const je=S(i.value,a.value),W=je.x,oe=je.y;et?k(W,oe,q,"",!0,!0):N_(function(){C(W,oe,q,"",!0,!0)})}}function te(){s.value=!0}function X(q){r.value=q}function N(q){return q=Math.max(.1,u.value,q),q=Math.min(10,d.value,q),q}function Z(){if(!e.scale)return!1;z(o.value,!0),X(o.value)}function U(q){return e.scale?(q=N(q),z(q,!0),X(q),q):!1}function K(){s.value=!1,X(o.value)}function G(q){q&&(q=r.value*q,te(),z(q))}return{_updateOldScale:X,_endScale:K,_setScale:G,scaleValueSync:f,_updateBoundary:h,_updateOffset:w,_updateWH:v,_scaleOffset:m,minX:y,minY:_,maxX:g,maxY:p,FAandSFACancel:T,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:E,dampingNumber:I,xMove:A,yMove:P,xSync:B,ySync:ee,_STD:R}}function sO(e,t,n){const o=Ne("_isMounted",H(!1)),r=Ne("addMovableViewContext",()=>{}),s=Ne("removeMovableViewContext",()=>{});let i=H(1),a=H(1),l=H(!1),c=H(0),u=H(0),d=null,f=null,h=!1,w,v,m=null,y=null;const _=new bu,g=new bu,p={historyX:[0,0],historyY:[0,0],historyT:[0,0]},T=Y(()=>{let b=Number(e.friction);return isNaN(b)||b<=0?2:b}),S=new Wn(1,T.value);se(()=>e.disabled,()=>{ne()});const{_updateOldScale:k,_endScale:C,_setScale:E,scaleValueSync:I,_updateBoundary:A,_updateOffset:P,_updateWH:B,_scaleOffset:ee,minX:R,minY:z,maxX:te,maxY:X,FAandSFACancel:N,_getLimitXY:Z,_setTransform:U,_revise:K,dampingNumber:G,xMove:q,yMove:et,xSync:je,ySync:W,_STD:oe}=rO(e,n,t,i,a,l,c,u,d,f);function ne(){l.value||e.disabled||(N(),p.historyX=[0,0],p.historyY=[0,0],p.historyT=[0,0],q.value&&(w=c.value),et.value&&(v=u.value),n.value.style.willChange="transform",m=null,y=null,h=!0)}function ue(b){if(!l.value&&!e.disabled&&h){let x=c.value,M=u.value;if(y===null&&(y=Math.abs(b.detail.dx/b.detail.dy)>1?"htouchmove":"vtouchmove"),q.value&&(x=b.detail.dx+w,p.historyX.shift(),p.historyX.push(x),!et.value&&m===null&&(m=Math.abs(b.detail.dx/b.detail.dy)<1)),et.value&&(M=b.detail.dy+v,p.historyY.shift(),p.historyY.push(M),!q.value&&m===null&&(m=Math.abs(b.detail.dy/b.detail.dx)<1)),p.historyT.shift(),p.historyT.push(b.detail.timeStamp),!m){b.preventDefault();let V="touch";x<R.value?e.outOfBounds?(V="touch-out-of-bounds",x=R.value-_.x(R.value-x)):x=R.value:x>te.value&&(e.outOfBounds?(V="touch-out-of-bounds",x=te.value+_.x(x-te.value)):x=te.value),M<z.value?e.outOfBounds?(V="touch-out-of-bounds",M=z.value-g.x(z.value-M)):M=z.value:M>X.value&&(e.outOfBounds?(V="touch-out-of-bounds",M=X.value+g.x(M-X.value)):M=X.value),N_(function(){U(x,M,i.value,V)})}}}function O(){if(!l.value&&!e.disabled&&h&&(n.value.style.willChange="auto",h=!1,!m&&!K("out-of-bounds")&&e.inertia)){const b=1e3*(p.historyX[1]-p.historyX[0])/(p.historyT[1]-p.historyT[0]),x=1e3*(p.historyY[1]-p.historyY[0])/(p.historyT[1]-p.historyT[0]),M=c.value,V=u.value;S.setV(b,x),S.setS(M,V);const j=S.delta().x,J=S.delta().y;let re=j+M,Q=J+V;re<R.value?(re=R.value,Q=V+(R.value-M)*J/j):re>te.value&&(re=te.value,Q=V+(te.value-M)*J/j),Q<z.value?(Q=z.value,re=M+(z.value-V)*j/J):Q>X.value&&(Q=X.value,re=M+(X.value-V)*j/J),S.setEnd(re,Q),f=F_(S,function(){let $=S.s(),F=$.x,ie=$.y;U(F,ie,i.value,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&N()}function D(){if(!o.value)return;N();let b=e.scale?I.value:1;P(),B(b),A();let x=Z(je.value+ee.x,W.value+ee.y),M=x.x,V=x.y;U(M,V,b,"",!0),k(b)}return $e(()=>{Vd(n.value,x=>{switch(x.detail.state){case"start":ne();break;case"move":ue(x);break;case"end":O()}}),D(),S.reconfigure(1,T.value),oe.reconfigure(1,9*Math.pow(G.value,2)/40,G.value),n.value.style.transformOrigin="center";const b={rootRef:n,setParent:D,_endScale:C,_setScale:E};r(b),Vn(()=>{s(b)})}),Vn(()=>{N()}),{setParent:D}}const iO={value:{type:Array,default(){return[]},validator:function(e){return ce(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function aO(e){const t=Ie([...e.value]),n=Ie({value:t,height:34});return se(()=>e.value,(o,r)=>{n.value.length=o.length,o.forEach((s,i)=>{s!==n.value[i]&&n.value.splice(i,1,s)})}),n}const g8=yt({name:"PickerView",props:iO,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=H(null),r=H(null),s=yr(o,n),i=aO(e),a=H(null);$e(()=>{const h=a.value;h&&(i.height=h.$el.offsetHeight)});let c=H([]),u=H([]);function d(h){let w=u.value;w=w.filter(m=>m.type!==jt);let v=w.indexOf(h);return v!==-1?v:c.value.indexOf(h)}return _t("getPickerViewColumn",function(h){return Y({get(){const v=d(h.vnode);return i.value[v]||0},set(v){const m=d(h.vnode);if(m<0)return;if(i.value[m]!==v){i.value[m]=v;const _=i.value.map(g=>g);n("update:value",_),s("change",{},{value:_})}}})}),_t("pickerViewProps",e),_t("pickerViewState",i),()=>{const h=t.default&&t.default();{const w=Xr(h);c.value=w,rt(()=>{u.value=w})}return L("uni-picker-view",{ref:o},[L(Uo,{ref:a,onResize:({height:w})=>i.height=w},null,8,["onResize"]),L("div",{ref:r,class:"uni-picker-view-wrapper"},[h],512)],512)}}});class U_{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,n){this._x=t,this._v=n,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);const n=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*n/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);const n=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*n}done(){return Math.abs(this.dx())<3}reconfigure(t){const n=this.x(),o=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(n,o)}configuration(){const t=this;return[{label:"Friction",read:function(){return t._drag},write:function(n){t.reconfigure(n)},min:.001,max:.1,step:.001}]}}function V_(e,t,n){return e>t-n&&e<t+n}function Yo(e,t){return V_(e,0,t)}class q_{constructor(t,n,o){this._m=t,this._k=n,this._c=o,this._solution=null,this._endPosition=0,this._startTime=0}_solve(t,n){const o=this._c,r=this._m,s=this._k,i=o*o-4*r*s;if(i===0){const d=-o/(2*r),f=t,h=n/(d*t);return{x:function(w){return(f+h*w)*Math.pow(Math.E,d*w)},dx:function(w){const v=Math.pow(Math.E,d*w);return d*(f+h*w)*v+h*v}}}if(i>0){const d=(-o-Math.sqrt(i))/(2*r),f=(-o+Math.sqrt(i))/(2*r),h=(n-d*t)/(f-d),w=t-h;return{x:function(v){let m,y;return v===this._t&&(m=this._powER1T,y=this._powER2T),this._t=v,m||(m=this._powER1T=Math.pow(Math.E,d*v)),y||(y=this._powER2T=Math.pow(Math.E,f*v)),w*m+h*y},dx:function(v){let m,y;return v===this._t&&(m=this._powER1T,y=this._powER2T),this._t=v,m||(m=this._powER1T=Math.pow(Math.E,d*v)),y||(y=this._powER2T=Math.pow(Math.E,f*v)),w*d*m+h*f*y}}}const a=Math.sqrt(4*r*s-o*o)/(2*r),l=-o/2*r,c=t,u=(n-l*t)/a;return{x:function(d){return Math.pow(Math.E,l*d)*(c*Math.cos(a*d)+u*Math.sin(a*d))},dx:function(d){const f=Math.pow(Math.E,l*d),h=Math.cos(a*d),w=Math.sin(a*d);return f*(u*a*h-c*a*w)+l*f*(u*w+c*h)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,n,o){if(o||(o=new Date().getTime()),t!==this._endPosition||!Yo(n,.4)){n=n||0;let r=this._endPosition;this._solution&&(Yo(n,.4)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),Yo(n,.4)&&(n=0),Yo(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Yo(r-t,.4)&&Yo(n,.4)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,n),this._startTime=o)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),V_(this.x(),this._endPosition,.4)&&Yo(this.dx(),.4)}reconfigure(t,n,o){this._m=t,this._k=n,this._c=o,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(){function t(o,r){o.reconfigure(1,r,o.damping())}function n(o,r){o.reconfigure(1,o.springConstant(),r)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:n.bind(this,this),min:1,max:500}]}}class lO{constructor(t,n,o){this._extent=t,this._friction=n||new U_(.01),this._spring=o||new q_(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,n){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(n)}set(t,n){this._friction.set(t,n),t>0&&n>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&n<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let n=this._friction.x(t),o=this.dx(t);return(n>0&&o>=0||n<-this._extent&&o<=0)&&(this._springing=!0,this._spring.setEnd(0,o),n<-this._extent?this._springOffset=-this._extent:this._springOffset=0,n=this._spring.x()+this._springOffset),n}dx(t){let n;return this._lastTime===t?n=this._lastDx:n=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=n,n}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){const t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function cO(e,t,n){const o={id:0,cancelled:!1};function r(i,a,l,c){if(!i||!i.cancelled){l(a);const u=a.done();u||i.cancelled||(i.id=requestAnimationFrame(r.bind(null,i,a,l,c))),u&&c&&c(a)}}function s(i){i&&i.id&&cancelAnimationFrame(i.id),i&&(i.cancelled=!0)}return r(o,e,t,n),{cancel:s.bind(null,o),model:e}}class uO{constructor(t,n){n=n||{},this._element=t,this._options=n,this._enableSnap=n.enableSnap||!1,this._itemSize=n.itemSize||0,this._enableX=n.enableX||!1,this._enableY=n.enableY||!1,this._shouldDispatchScrollEvent=!!n.onScroll,this._enableX?(this._extent=(n.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=n.scrollWidth):(this._extent=(n.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=n.scrollHeight),this._position=0,this._scroll=new lO(this._extent,n.friction,n.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(t,n){let o=this._startPosition;this._enableX?o+=t:this._enableY&&(o+=n),o>0?o*=.5:o<-this._extent&&(o=.5*(o+this._extent)-this._extent),this._position=o,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,n,o){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(n)<this._itemSize&&Math.abs(o.y)<300||Math.abs(o.y)<150)){this.snap();return}if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(o.x)<300||Math.abs(o.x)<150)){this.snap();return}}this._enableX?this._scroll.set(this._position,o.x):this._enableY&&this._scroll.set(this._position,o.y);let r;if(this._enableSnap){const s=this._scroll._friction.x(100),i=s%this._itemSize;r=Math.abs(i)>this._itemSize/2?s-(this._itemSize-Math.abs(i)):s-i,r<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}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=cO(this._scroll,()=>{const s=Date.now(),i=(s-this._scroll._startTime)/1e3,a=this._scroll.x(i);this._position=a,this.updatePosition();const l=this._scroll.dx(i);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/l),this._lastTime=s)},()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),le(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 t=this._itemSize,n=this._position%t,o=Math.abs(n)>this._itemSize/2?this._position-(t-Math.abs(n)):this._position-n;this._position!==o&&(this._snapping=!0,this.scrollTo(-o),le(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,n){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const o="transform "+(n||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+o,this._element.style.transition=o,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(le(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const t={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(t)}}update(t,n,o){let r=0;const s=this._position;this._enableX?(r=this._element.childNodes.length?(n||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=n):(r=this._element.childNodes.length?(n||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=n),typeof t=="number"&&(this._position=-t),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=o||this._itemSize,this.updatePosition(),s!==this._position&&(this.dispatchScroll(),le(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){let t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function dO(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new uO(e,t);function r(l){const c=l,u=l;return c.detail.state==="move"||c.detail.state==="end"?{x:c.detail.dx,y:c.detail.dy}:{x:u.screenX-n.x,y:u.screenY-n.y}}function s(l){const c=l,u=l;c.detail.state==="start"?(n.trackingID="touch",n.x=c.detail.x,n.y=c.detail.y):(n.trackingID="mouse",n.x=u.screenX,n.y=u.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[c.detail.timeStamp||u.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function i(l){const c=l,u=l;if(n.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();const d=r(l);if(d){for(n.maxDy=Math.max(n.maxDy,Math.abs(d.y)),n.maxDx=Math.max(n.maxDx,Math.abs(d.x)),n.historyX.push(d.x),n.historyY.push(d.y),n.historyTime.push(c.detail.timeStamp||u.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(d.x,d.y)}}}function a(l){if(n.trackingID!==-1){l.preventDefault();const c=r(l);if(c){const u=n.listener;n.trackingID=-1,n.listener=null;const d=n.historyTime.length,f={x:0,y:0};if(d>2)for(let h=n.historyTime.length-1,w=n.historyTime[h],v=n.historyX[h],m=n.historyY[h];h>0;){h--;const y=n.historyTime[h],_=w-y;if(_>30&&_<50){f.x=(v-n.historyX[h])/(_/1e3),f.y=(m-n.historyY[h])/(_/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],u&&u.onTouchEnd&&u.onTouchEnd(c.x,c.y,f)}}}return{scroller:o,handleTouchStart:s,handleTouchMove:i,handleTouchEnd:a}}function fO(e){let n=0,o=0;e.addEventListener("touchstart",r=>{const s=r.changedTouches[0];n=s.clientX,o=s.clientY}),e.addEventListener("touchend",r=>{const s=r.changedTouches[0];if(Math.abs(s.clientX-n)<20&&Math.abs(s.clientY-o)<20){const i={bubbles:!0,cancelable:!0,target:r.target,currentTarget:r.currentTarget},a=new CustomEvent("click",i);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(c=>{a[c]=s[c]}),r.target.dispatchEvent(a)}})}const m8=yt({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=H(null),r=H(null),s=Ne("getPickerViewColumn"),i=ft(),a=s?s(i):H(0),l=Ne("pickerViewProps"),c=Ne("pickerViewState"),u=H(34),d=H(null);$e(()=>{const k=d.value;u.value=k.$el.offsetHeight});const h=Y(()=>(c.height-u.value)/2),{state:w}=A_();let v;const m=Ie({current:a.value,length:0});let y;function _(){v&&!y&&(y=!0,rt(()=>{y=!1;let k=Math.min(m.current,m.length-1);k=Math.max(k,0),v.update(k*u.value,void 0,u.value)}))}se(()=>a.value,k=>{k!==m.current&&(m.current=k,_())}),se(()=>m.current,k=>a.value=k),se([()=>u.value,()=>m.length,()=>c.height],_);let g=0;function p(k){const C=g+k.deltaY;if(Math.abs(C)>10){g=0;let E=Math.min(m.current+(C<0?-1:1),m.length-1);m.current=E=Math.max(E,0),v.scrollTo(E*u.value)}else g=C;k.preventDefault()}function T({clientY:k}){const C=o.value;if(!v.isScrolling()){const E=C.getBoundingClientRect(),I=k-E.top-c.height/2,A=u.value/2;if(!(Math.abs(I)<=A)){const P=Math.ceil((Math.abs(I)-A)/u.value),B=I<0?-P:P;let ee=Math.min(m.current+B,m.length-1);m.current=ee=Math.max(ee,0),v.scrollTo(ee*u.value)}}}return $e(()=>{const k=o.value,C=r.value,{scroller:E,handleTouchStart:I,handleTouchMove:A,handleTouchEnd:P}=dO(C,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new U_(1e-4),spring:new q_(2,90,20),onSnap:B=>{!isNaN(B)&&B!==m.current&&(m.current=B)}});v=E,Vd(k,B=>{switch(B.detail.state){case"start":I(B);break;case"move":A(B),B.stopPropagation();break;case"end":case"cancel":P(B)}},!0),fO(k),_()}),()=>{const k=t.default&&t.default();m.length=Xr(k).length;const C=`${h.value}px 0`;return L("uni-picker-view-column",{ref:o},[L("div",{onWheel:p,onClick:T,class:"uni-picker-view-group"},[L("div",It(w.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),L("div",It(w.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[L(Uo,{ref:d,onResize:({height:E})=>u.value=E},null,8,["onResize"])],16),L("div",{ref:r,class:["uni-picker-view-content"],style:{padding:C,"--picker-view-column-indicator-height":`${u.value}px`}},[k],4)],40,["onWheel","onClick"])],512)}}}),hO=16,rr={activeColor:Dm,backgroundColor:"#EBEBEB",activeMode:"backwards"},pO={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:hO},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:rr.activeColor},activeColor:{type:String,default:rr.activeColor},backgroundColor:{type:String,default:rr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:rr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},y8=yt({name:"Progress",props:pO,setup(e){const t=H(null),n=gO(e);return Ep(n,e),se(()=>n.realPercent,(o,r)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=r||0,Ep(n,e)}),()=>{const{showInfo:o}=e,{outerBarStyle:r,innerBarStyle:s,currentPercent:i}=n;return L("uni-progress",{class:"uni-progress",ref:t},[L("div",{style:r,class:"uni-progress-bar"},[L("div",{style:s,class:"uni-progress-inner-bar"},null,4)],4),o?L("p",{class:"uni-progress-info"},[i+"%"]):""],512)}}});function gO(e){const t=H(0),n=Y(()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`),o=Y(()=>{const i=e.color!==rr.activeColor&&e.activeColor===rr.activeColor?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${i}`}),r=Y(()=>{if(typeof e.percent=="string"&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let i=parseFloat(e.percent);return Number.isNaN(i)||i<0?i=0:i>100&&(i=100),i});return Ie({outerBarStyle:n,innerBarStyle:o,realPercent:r,currentPercent:t,strokeTimer:0,lastPercent:0})}function Ep(e,t){t.active?(e.currentPercent=t.activeMode===rr.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}const mO=yt({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=H(null),o=Y(()=>{const s={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":s.height=e.refresherHeight+"px";break;case"refreshing":s.height=e.refresherThreshold+"px",s.transition="height 0.3s";break;case"":case"refresherabort":case"restore":s.height="0px",s.transition="height 0.3s";break}return s}),r=Y(()=>{const s=e.refresherHeight/e.refresherThreshold;return(s>1?1:s)*360});return()=>{const{refreshState:s,refresherDefaultStyle:i,refresherThreshold:a}=e;return L("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},[i!=="none"?L("div",{class:"uni-scroll-view-refresh"},[L("div",{class:"uni-scroll-view-refresh-inner"},[s=="pulling"?L("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[L("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),L("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,s=="refreshing"?L("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[L("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,i==="none"?L("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Ip=qr(!0),yO={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}},v8=yt({name:"ScrollView",compatConfig:{MODE:3},props:yO,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=H(null),s=H(null),i=H(null),a=H(null),l=yr(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=vO(e),{realScrollX:f,realScrollY:h}=_O(e,c,u,d,l,r,s,a,t),w=Y(()=>{let m="";return f.value?m+="overflow-x:auto;":m+="overflow-x:hidden;",h.value?m+="overflow-y:auto;":m+="overflow-y:hidden;",m}),v=Y(()=>{let m="uni-scroll-view";return e.showScrollbar===!1&&(m+=" uni-scroll-view-scrollbar-hidden"),m});return o({$getMain(){return s.value}}),()=>{const{refresherEnabled:m,refresherBackground:y,refresherDefaultStyle:_,refresherThreshold:g}=e,{refresherHeight:p,refreshState:T}=c;return L("uni-scroll-view",{ref:r},[L("div",{ref:i,class:"uni-scroll-view"},[L("div",{ref:s,style:w.value,class:v.value},[m?L(mO,{refreshState:T,refresherHeight:p,refresherThreshold:g,refresherDefaultStyle:_,refresherBackground:y},{default:()=>[_=="none"?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,L("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function vO(e){const t=Y(()=>Number(e.scrollTop)||0),n=Y(()=>Number(e.scrollLeft)||0);return{state:Ie({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}function _O(e,t,n,o,r,s,i,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=Y(()=>e.scrollX),w=Y(()=>e.scrollY),v=Y(()=>{let I=Number(e.upperThreshold);return isNaN(I)?50:I}),m=Y(()=>{let I=Number(e.lowerThreshold);return isNaN(I)?50:I});function y(I,A){const P=i.value;let B=0,ee="";if(I<0?I=0:A==="x"&&I>P.scrollWidth-P.offsetWidth?I=P.scrollWidth-P.offsetWidth:A==="y"&&I>P.scrollHeight-P.offsetHeight&&(I=P.scrollHeight-P.offsetHeight),A==="x"?B=P.scrollLeft-I:A==="y"&&(B=P.scrollTop-I),B===0)return;let R=a.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",A==="x"?ee="translateX("+B+"px) translateZ(0)":A==="y"&&(ee="translateY("+B+"px) translateZ(0)"),R.removeEventListener("transitionend",f),R.removeEventListener("webkitTransitionEnd",f),f=()=>S(I,A),R.addEventListener("transitionend",f),R.addEventListener("webkitTransitionEnd",f),A==="x"?P.style.overflowX="hidden":A==="y"&&(P.style.overflowY="hidden"),R.style.transform=ee,R.style.webkitTransform=ee}function _(I){const A=I.target;r("scroll",I,{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop,scrollHeight:A.scrollHeight,scrollWidth:A.scrollWidth,deltaX:t.lastScrollLeft-A.scrollLeft,deltaY:t.lastScrollTop-A.scrollTop}),w.value&&(A.scrollTop<=v.value&&t.lastScrollTop-A.scrollTop>0&&I.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",I,{direction:"top"}),t.lastScrollToUpperTime=I.timeStamp),A.scrollTop+A.offsetHeight+m.value>=A.scrollHeight&&t.lastScrollTop-A.scrollTop<0&&I.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",I,{direction:"bottom"}),t.lastScrollToLowerTime=I.timeStamp)),h.value&&(A.scrollLeft<=v.value&&t.lastScrollLeft-A.scrollLeft>0&&I.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",I,{direction:"left"}),t.lastScrollToUpperTime=I.timeStamp),A.scrollLeft+A.offsetWidth+m.value>=A.scrollWidth&&t.lastScrollLeft-A.scrollLeft<0&&I.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",I,{direction:"right"}),t.lastScrollToLowerTime=I.timeStamp)),t.lastScrollTop=A.scrollTop,t.lastScrollLeft=A.scrollLeft}function g(I){w.value&&(e.scrollWithAnimation?y(I,"y"):i.value.scrollTop=I)}function p(I){h.value&&(e.scrollWithAnimation?y(I,"x"):i.value.scrollLeft=I)}function T(I){if(I){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(I))return;let A=s.value.querySelector("#"+I);if(A){let P=i.value.getBoundingClientRect(),B=A.getBoundingClientRect();if(h.value){let ee=B.left-P.left,z=i.value.scrollLeft+ee;e.scrollWithAnimation?y(z,"x"):i.value.scrollLeft=z}if(w.value){let ee=B.top-P.top,z=i.value.scrollTop+ee;e.scrollWithAnimation?y(z,"y"):i.value.scrollTop=z}}}}function S(I,A){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let P=i.value;A==="x"?(P.style.overflowX=h.value?"auto":"hidden",P.scrollLeft=I):A==="y"&&(P.style.overflowY=w.value?"auto":"hidden",P.scrollTop=I),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function k(I){if(e.refresherEnabled){switch(I){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:E.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,I==="restore"&&(d=!1,r("refresherrestore",{},{dy:E.y-C.y})),I==="refresherabort"&&d&&(d=!1,r("refresherabort",{},{dy:E.y-C.y}));break}t.refreshState=I}}let C={x:0,y:0},E={y:e.refresherThreshold};return $e(()=>{rt(()=>{g(n.value),p(o.value)}),T(e.scrollIntoView);let I=function(R){R.preventDefault(),R.stopPropagation(),_(R)},A=null,P=function(R){if(C===null)return;let z=R.touches[0].pageX,te=R.touches[0].pageY,X=i.value;if(Math.abs(z-C.x)>Math.abs(te-C.y))if(h.value){if(X.scrollLeft===0&&z>C.x){A=!1;return}else if(X.scrollWidth===X.offsetWidth+X.scrollLeft&&z<C.x){A=!1;return}A=!0}else A=!1;else if(w.value)if(X.scrollTop===0&&te>C.y)A=!1,e.refresherEnabled&&R.cancelable!==!1&&R.preventDefault();else if(X.scrollHeight===X.offsetHeight+X.scrollTop&&te<C.y){A=!1;return}else A=!0;else A=!1;if(A&&R.stopPropagation(),X.scrollTop===0&&R.touches.length===1&&k("pulling"),e.refresherEnabled&&t.refreshState==="pulling"){const N=te-C.y;u===0&&(u=te),c?(t.refresherHeight=N+e.refresherThreshold,d=!1):(t.refresherHeight=te-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",R,{deltaY:N,dy:N})))}},B=function(R){R.touches.length===1&&(C={x:R.touches[0].pageX,y:R.touches[0].pageY})},ee=function(R){E={x:R.changedTouches[0].pageX,y:R.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?k("refreshing"):k("refresherabort"),C={x:0,y:0},E={x:0,y:e.refresherThreshold}};i.value.addEventListener("touchstart",B,Ip),i.value.addEventListener("touchmove",P,qr(!1)),i.value.addEventListener("scroll",I,qr(!1)),i.value.addEventListener("touchend",ee,Ip),At(()=>{i.value.removeEventListener("touchstart",B),i.value.removeEventListener("touchmove",P),i.value.removeEventListener("scroll",I),i.value.removeEventListener("touchend",ee)})}),yi(()=>{w.value&&(i.value.scrollTop=t.lastScrollTop),h.value&&(i.value.scrollLeft=t.lastScrollLeft)}),se(n,I=>{g(I)}),se(o,I=>{p(I)}),se(()=>e.scrollIntoView,I=>{T(I)}),se(()=>e.refresherTriggered,I=>{I===!0?k("refreshing"):I===!1&&k("restore")}),{realScrollX:h,realScrollY:w,_scrollTopChanged:g,_scrollLeftChanged:p}}const wO={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)"}};function bO(e){const t=Y(()=>{const s=Number(e.interval);return isNaN(s)?5e3:s}),n=Y(()=>{const s=Number(e.duration);return isNaN(s)?500:s}),o=Y(()=>{const s=Math.round(e.displayMultipleItems);return isNaN(s)?1:s});return Ie({interval:t,duration:n,displayMultipleItems:o,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}function SO(e,t,n,o,r,s){function i(){a&&(clearTimeout(a),a=null)}let a=null,l=!0,c=0,u=1,d=null,f=!1,h=0,w,v="",m;const y=Y(()=>n.value.length>t.displayMultipleItems),_=Y(()=>e.circular&&y.value);function g(R){if(!l)for(let z=n.value,te=z.length,X=R+t.displayMultipleItems,N=0;N<te;N++){const Z=z[N],U=Math.floor(R/te)*te+N,K=U+te,G=U-te,q=Math.max(R-(U+1),U-X,0),et=Math.max(R-(K+1),K-X,0),je=Math.max(R-(G+1),G-X,0),W=Math.min(q,et,je),oe=[U,K,G][[q,et,je].indexOf(W)];Z.updatePosition(oe,e.vertical)}}function p(R){Math.floor(2*c)===Math.floor(2*R)&&Math.ceil(2*c)===Math.ceil(2*R)||_.value&&g(R);const z=e.vertical?"0":100*-R*u+"%",te=e.vertical?100*-R*u+"%":"0",X="translate("+z+", "+te+") translateZ(0)",N=o.value;if(N&&(N.style.webkitTransform=X,N.style.transform=X),c=R,!w){if(R%1===0)return;w=R}R-=Math.floor(w);const Z=n.value;R<=-(Z.length-1)?R+=Z.length:R>=Z.length&&(R-=Z.length),R=w%1>.5||w<0?R-1:R,s("transition",{},{dx:e.vertical?0:R*N.offsetWidth,dy:e.vertical?R*N.offsetHeight:0})}function T(){d&&(p(d.toPos),d=null)}function S(R){const z=n.value.length;if(!z)return-1;const te=(Math.round(R)%z+z)%z;if(_.value){if(z<=t.displayMultipleItems)return 0}else if(te>z-t.displayMultipleItems)return z-t.displayMultipleItems;return te}function k(){d=null}function C(){if(!d){f=!1;return}const R=d,z=R.toPos,te=R.acc,X=R.endTime,N=R.source,Z=X-Date.now();if(Z<=0){p(z),d=null,f=!1,w=null;const G=n.value[t.current];if(G){const q=G.getItemId();s("animationfinish",{},{current:t.current,currentItemId:q,source:N})}return}const U=te*Z*Z/2,K=z+U;p(K),m=requestAnimationFrame(C)}function E(R,z,te){k();const X=t.duration,N=n.value.length;let Z=c;if(_.value)if(te<0){for(;Z<R;)Z+=N;for(;Z-N>R;)Z-=N}else if(te>0){for(;Z>R;)Z-=N;for(;Z+N<R;)Z+=N;Z+N-R<R-Z&&(Z+=N)}else{for(;Z+N<R;)Z+=N;for(;Z-N>R;)Z-=N;Z+N-R<R-Z&&(Z+=N)}else z==="click"&&(R=R+t.displayMultipleItems-1<N?R:0);d={toPos:R,acc:2*(Z-R)/(X*X),endTime:Date.now()+X,source:z},f||(f=!0,m=requestAnimationFrame(C))}function I(){i();const R=n.value,z=function(){a=null,v="autoplay",_.value?t.current=S(t.current+1):t.current=t.current+t.displayMultipleItems<R.length?t.current+1:0,E(t.current,"autoplay",_.value?1:0),a=setTimeout(z,t.interval)};l||R.length<=t.displayMultipleItems||(a=setTimeout(z,t.interval))}function A(){i(),T();const R=n.value;for(let N=0;N<R.length;N++)R[N].updatePosition(N,e.vertical);u=1;const z=o.value;if(t.displayMultipleItems===1&&R.length){const N=R[0].getBoundingClientRect(),Z=z.getBoundingClientRect();u=N.width/Z.width,u>0&&u<1||(u=1)}const te=c;c=-2;const X=t.current;X>=0?(l=!1,t.userTracking?(p(te+X-h),h=X):(p(X),e.autoplay&&I())):(l=!0,p(-t.displayMultipleItems-1))}se([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let R=-1;if(e.currentItemId){for(let z=0,te=n.value;z<te.length;z++)if(te[z].getItemId()===e.currentItemId){R=z;break}}R<0&&(R=Math.round(e.current)||0),R=R<0?0:R,t.current!==R&&(v="",t.current=R)}),se([()=>e.vertical,()=>_.value,()=>t.displayMultipleItems,()=>[...n.value]],A),se(()=>t.interval,()=>{a&&(i(),I())});function P(R,z){const te=v;v="";const X=n.value;if(!te){const Z=X.length;E(R,"",_.value&&z+(Z-R)%Z>Z/2?1:0)}const N=X[R];if(N){const Z=t.currentItemId=N.getItemId();s("change",{},{current:t.current,currentItemId:Z,source:te})}}se(()=>t.current,(R,z)=>{P(R,z),r("update:current",R)}),se(()=>t.currentItemId,R=>{r("update:currentItemId",R)});function B(R){R?I():i()}se(()=>e.autoplay&&!t.userTracking,B),B(e.autoplay&&!t.userTracking),$e(()=>{let R=!1,z=0,te=0;function X(){i(),h=c,z=0,te=Date.now(),k()}function N(U){const K=te;te=Date.now();const q=n.value.length-t.displayMultipleItems;function et(ne){return .5-.25/(ne+.5)}function je(ne,ue){let O=h+ne;z=.6*z+.4*ue,_.value||(O<0||O>q)&&(O<0?O=-et(-O):O>q&&(O=q+et(O-q)),z=0),p(O)}const W=te-K||1,oe=o.value;e.vertical?je(-U.dy/oe.offsetHeight,-U.ddy/W):je(-U.dx/oe.offsetWidth,-U.ddx/W)}function Z(U){t.userTracking=!1;const K=z/Math.abs(z);let G=0;!U&&Math.abs(z)>.2&&(G=.5*K);const q=S(c+G);U?p(h):(v="touch",t.current=q,E(q,"touch",G!==0?G:q===0&&_.value&&c>=1?1:0))}Vd(o.value,U=>{if(!e.disableTouch&&!l){if(U.detail.state==="start")return t.userTracking=!0,R=!1,X();if(U.detail.state==="end")return Z(!1);if(U.detail.state==="cancel")return Z(!0);if(t.userTracking){if(!R){R=!0;const K=Math.abs(U.detail.dx),G=Math.abs(U.detail.dy);if((K>=G&&e.vertical||K<=G&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&I();return}}return N(U.detail),!1}}})}),Vn(()=>{i(),cancelAnimationFrame(m)});function ee(R){E(t.current=R,v="click",_.value?1:0)}return{onSwiperDotClick:ee,circularEnabled:_,swiperEnabled:y}}const TO=yt({name:"Swiper",props:wO,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=H(null),r=yr(o,n),s=H(null),i=H(null),a=bO(e),l=Y(()=>{let p={};return(e.nextMargin||e.previousMargin)&&(p=e.vertical?{left:0,right:0,top:Hi(e.previousMargin,!0),bottom:Hi(e.nextMargin,!0)}:{top:0,bottom:0,left:Hi(e.previousMargin,!0),right:Hi(e.nextMargin,!0)}),p}),c=Y(()=>{const p=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":p,height:e.vertical?p:"100%"}});let u=[];const d=[],f=H([]);function h(){const p=[];for(let T=0;T<u.length;T++){let S=u[T];S instanceof Element||(S=S.el);const k=d.find(C=>S===C.rootRef.value);k&&p.push(Oo(k))}f.value=p}_t("addSwiperContext",function(p){d.push(p),h()}),_t("removeSwiperContext",function(p){const T=d.indexOf(p);T>=0&&(d.splice(T,1),h())});const{onSwiperDotClick:m,circularEnabled:y,swiperEnabled:_}=SO(e,a,f,i,n,r);let g=()=>null;return g=CO(o,e,a,m,f,y,_),()=>{const p=t.default&&t.default();return u=Xr(p),L("uni-swiper",{ref:o},[L("div",{ref:s,class:"uni-swiper-wrapper"},[L("div",{class:"uni-swiper-slides",style:l.value},[L("div",{ref:i,class:"uni-swiper-slide-frame",style:c.value},[p],4)],4),e.indicatorDots&&L("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((T,S,k)=>L("div",{onClick:()=>m(S),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":S<a.current+a.displayMultipleItems&&S>=a.current||S<a.current+a.displayMultipleItems-k.length},style:{background:S===a.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),g()],512)],512)}}}),CO=(e,t,n,o,r,s,i)=>{let a=!1,l=!1,c=!1,u=H(!1);In(()=>{a=t.navigation==="auto",u.value=t.navigation!==!0||a,_()}),In(()=>{const p=r.value.length,T=!s.value;l=n.current===0&&T,c=n.current===p-1&&T||T&&n.current+n.displayMultipleItems>=p,i.value||(l=!0,c=!0,a&&(u.value=!0))});function d(p,T){const S=p.currentTarget;S&&(S.style.backgroundColor=T==="over"?t.navigationActiveColor:"")}const f={onMouseover:p=>d(p,"over"),onMouseout:p=>d(p,"out")};function h(p,T,S){if(p.stopPropagation(),S)return;const k=r.value.length;let C=n.current;switch(T){case"prev":C--,C<0&&s.value&&(C=k-1);break;case"next":C++,C>=k&&s.value&&(C=0);break}o(C)}const w=()=>hr(Ua,t.navigationColor,26);let v;const m=p=>{clearTimeout(v);const{clientX:T,clientY:S}=p,{left:k,right:C,top:E,bottom:I,width:A,height:P}=e.value.getBoundingClientRect();let B=!1;if(t.vertical?B=!(S-E<P/3||I-S<P/3):B=!(T-k<A/3||C-T<A/3),B)return v=setTimeout(()=>{u.value=B},300);u.value=B},y=()=>{u.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",y)))}$e(_);function g(){const p={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?L(ot,null,[L("div",It({class:["uni-swiper-navigation uni-swiper-navigation-prev",pe({"uni-swiper-navigation-disabled":l},p)],onClick:T=>h(T,"prev",l)},f),[w()],16,["onClick"]),L("div",It({class:["uni-swiper-navigation uni-swiper-navigation-next",pe({"uni-swiper-navigation-disabled":c},p)],onClick:T=>h(T,"next",c)},f),[w()],16,["onClick"])]):null}return g},kO={itemId:{type:String,default:""}},xO=yt({name:"SwiperItem",props:kO,setup(e,{slots:t}){const n=H(null),o={rootRef:n,getItemId(){return e.itemId},getBoundingClientRect(){return n.value.getBoundingClientRect()},updatePosition(r,s){const i=s?"0":100*r+"%",a=s?100*r+"%":"0",l=n.value,c=`translate(${i},${a}) translateZ(0)`;l&&(l.style.webkitTransform=c,l.style.transform=c)}};return $e(()=>{const r=Ne("addSwiperContext");r&&r(o)}),Vn(()=>{const r=Ne("removeSwiperContext");r&&r(o)}),()=>L("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),ys={ensp:" ",emsp:" ",nbsp:" "};function PO(e,{space:t,decode:n}){let o="",r=!1;for(let s of e)t&&ys[t]&&s===" "&&(s=ys[t]),r?(s==="n"?o+=sl:s==="\\"?o+="\\":o+="\\"+s,r=!1):s==="\\"?r=!0:o+=s;return n?o.replace(/&nbsp;/g,ys.nbsp).replace(/&ensp;/g,ys.ensp).replace(/&emsp;/g,ys.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}function EO(e,t){return PO(e,t).split(sl)}const H_=yt({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=H(null);return()=>{const o=[];return t.default&&t.default().forEach(r=>{if(r.shapeFlag&8&&r.type!==jt){const s=EO(r.children,{space:e.space,decode:e.decode}),i=s.length-1;s.forEach((a,l)=>{l===0&&!a||o.push(Ut(a)),l!==i&&o.push(L("br"))})}else o.push(r)}),L("uni-text",{ref:n,selectable:e.selectable?!0:null},[L("span",null,o)],8,["selectable"])}}}),IO=pe({},O_,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator(e){return W_.concat("return").includes(e)}}});let Su=!1;const W_=["done","go","next","search","send"];function AO(){const e="(prefers-color-scheme: dark)";Su=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}const _8=yt({name:"Textarea",props:IO,emits:["confirm","linechange",...L_],setup(e,{emit:t,expose:n}){const o=H(null),r=H(null),{fieldRef:s,state:i,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=M_(e,o,t),u=Y(()=>i.value.split(sl)),d=Y(()=>W_.includes(e.confirmType)),f=H(0),h=H(null);se(()=>f.value,_=>{const g=o.value,p=h.value,T=r.value;let S=parseFloat(getComputedStyle(g).lineHeight);isNaN(S)&&(S=p.offsetHeight);var k=Math.round(_/S);c("linechange",{},{height:_,heightRpx:750/window.innerWidth*_,lineCount:k}),e.autoHeight&&(g.style.height="auto",T.style.height=_+"px")});function w({height:_}){f.value=_}function v(_){c("confirm",_,{value:i.value})}function m(_){_.key==="Enter"&&d.value&&_.preventDefault()}function y(_){if(_.key==="Enter"&&d.value){v(_);const g=_.target;!e.confirmHold&&g.blur()}}return AO(),n({$triggerInput:_=>{t("update:modelValue",_.value),t("update:value",_.value),i.value=_.value}}),()=>{let _=e.disabled&&l?L("textarea",{key:"disabled-textarea",ref:s,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Su},style:ae({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onFocus:g=>g.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):L("textarea",{key:"textarea",ref:s,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Su},style:ae({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onKeydown:m,onKeyup:y},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return L("uni-textarea",{ref:o},[L("div",{ref:r,class:"uni-textarea-wrapper"},[Yt(L("div",It(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xt,!i.value.length]]),L("div",{ref:h,class:"uni-textarea-line"},[" "],512),L("div",{class:"uni-textarea-compute"},[u.value.map(g=>L("div",null,[g.trim()?g:"."])),L(Uo,{initial:!0,onResize:w},null,8,["initial","onResize"])]),e.confirmType==="search"?L("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[_],40,["onSubmit"]):_],512)],512)}}}),vn=yt({name:"View",props:pe({},$x),setup(e,{slots:t}){const n=H(null),{hovering:o,binding:r}=Wv(e);return()=>{const s=e.hoverClass;return s&&s!=="none"?L("uni-view",It({class:o.value?s:"",ref:n},r),[gt(t,"default")],16):L("uni-view",{ref:n},[gt(t,"default")],512)}}});function Gi(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Ap(e,t,n){e&&Av(wi(),e,({type:o,data:r},s)=>{t(o,r,s)})}function Op(e,t){e&&kk(wi(),e)}function j_(e,t,n,o){const s=ft().proxy;$e(()=>{Ap(t||Gi(s),e),se(()=>s.id,(i,a)=>{Ap(Gi(s,i),e),Op(a&&Gi(s,a))})}),At(()=>{Op(t||Gi(s))})}let OO=0;function z_(e){const t=Ed(),o=ft().proxy,r=o.$options.name.toLowerCase(),s=e||o.id||`context${OO++}`;return $e(()=>{const i=o.$el;i.__uniContextInfo={id:s,type:r,page:t}}),`${r}.${s}`}function LO(e){return e.__uniContextInfo}function Lp(e,t,n,o){le(t)&&No(e,t.bind(n),o)}function MO(e,t,n){const o=e.mpType||n.$mpType;if(!(!o||o==="component")&&(Object.keys(e).forEach(r=>{if(SS(r,e[r],!1)){const s=e[r];ce(s)?s.forEach(i=>Lp(r,i,n,t)):Lp(r,s,n,t)}}),o==="page")){t.__isVisible=!0;try{let r=t.attrs.__pageQuery;$t(n,rs,r),delete t.attrs.__pageQuery;const s=n.$page;(s==null?void 0:s.openType)!=="preloadPage"&&$t(n,Qn)}catch(r){}}}function RO(e,t,n){MO(e,t,n)}function DO(e,t,n){return e[t]=n}function NO(e,...t){const n=this[e];return n?n(...t):null}function $O(e){const t=e.config.errorHandler;return function(o,r,s){t&&t(o,r,s);const i=e._instance;if(!i||!i.proxy)throw o;i[zs]?$t(i.proxy,zs,o):(r&&r.$.vnode,void 0)}}function BO(e,t){return e?[...new Set([].concat(e,t))]:t}function FO(e){sy.forEach(t=>{e[t]=BO})}let Tu;const Ki="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",UO=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;typeof atob!="function"?Tu=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!UO.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");e+="==".slice(2-(e.length&3));for(var t,n="",o,r,s=0;s<e.length;)t=Ki.indexOf(e.charAt(s++))<<18|Ki.indexOf(e.charAt(s++))<<12|(o=Ki.indexOf(e.charAt(s++)))<<6|(r=Ki.indexOf(e.charAt(s++))),n+=o===64?String.fromCharCode(t>>16&255):r===64?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,t&255);return n}:Tu=atob;function VO(e){return decodeURIComponent(Tu(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function hc(){const e=st("uni_id_token")||"",t=e.split(".");if(!e||t.length!==3)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse(VO(t[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return n.tokenExpired=n.exp*1e3,delete n.exp,delete n.iat,n}function qO(e){e.uniIDHasRole=function(t){const{role:n}=hc();return n.indexOf(t)>-1},e.uniIDHasPermission=function(t){const{permission:n}=hc();return this.uniIDHasRole("admin")||n.indexOf(t)>-1},e.uniIDTokenValid=function(){const{tokenExpired:t}=hc();return t>Date.now()}}function HO(e){const t=e.config;t.errorHandler=kS(e,$O),FO(t.optionMergeStrategies);const n=t.globalProperties;qO(n),n.$set=DO,n.$applyOptions=RO,n.$callMethod=NO,CS(e)}function WO(e){const t=zC(KO());t.beforeEach((n,o)=>{n&&o&&n.meta.isTabBar&&o.meta.isTabBar&&zO(o.meta.tabBarIndex)}),e.router=t,e.use(t)}let G_=Object.create(null);function jO(e){return G_[e]}function zO(e){typeof window!="undefined"&&(G_[e]={left:window.pageXOffset,top:window.pageYOffset})}const GO=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const o=jO(e.meta.tabBarIndex);if(o)return o}return{left:0,top:0}};function KO(){return{history:XO(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:GO}}function YO(e=1){const t=Ti(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const s=vr(t[r]);El(Il(s.path,s.id),!1)}}function XO(){let{routerBase:e}=__uniConfig.router;e==="/"&&(e="");const t=SC(e);return t.listen((n,o,r)=>{r.direction==="back"&&YO(Math.abs(r.delta))}),t}const JO={install(e){HO(e),fx(e),Ax(e),e.config.warnHandler||(e.config.warnHandler=QO),WO(e)}};function QO(e,t,n){if(t){if(t.$.type.name==="PageMetaHead")return;const s=t.$.parent;if(s&&s.type.name==="PageMeta")return}const o=[`[Vue warn]: ${e}`];n.length&&o.push(`
  64. `,n)}const ZO={class:"uni-async-loading"},eL=L("i",{class:"uni-loading"},null,-1),pc=Hn({name:"AsyncLoading",render(){return me(),_e("div",ZO,[eL])}});function tL(){window.location.reload()}const gc=Hn({name:"AsyncError",setup(){hk();const{t:e}=Ce();return()=>L("div",{class:"uni-async-error",onClick:tL},[e("uni.async.error")],8,["onClick"])}});let kr;function Pe(){return kr}function nL(e){kr=e,Object.defineProperty(kr.$.ctx,"$children",{get(){return Ti().map(n=>n.$vm)}});const t=kr.$.appContext.app;t.component(pc.name)||t.component(pc.name,pc),t.component(gc.name)||t.component(gc.name,gc),xx(kr),Ox(kr),kx(),Qk()}function Mp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=pe({},e)),r&&r(e);const s=e.setup;return e.setup=(i,a)=>{const l=ft();if(n(l.proxy),o(l),s)return s(i,a)},e}function K_(e,t){return e&&(e.__esModule||e[Symbol.toStringTag]==="Module")?Mp(e.default,t):Mp(e,t)}function Ve(e){return K_(e,{clone:!0,init:qI,setup(t){t.$pageInstance=t;const n=bi(),o=ny(n.query);t.attrs.__pageQuery=o,vr(t.proxy).options=o,t.proxy.options=o;const r=Ld();return t.onReachBottom=Ie([]),t.onPageScroll=Ie([]),se([t.onReachBottom,t.onPageScroll],()=>{const s=mr();t.proxy===s&&y_(t,r)},{once:!0}),$o(()=>{up(t,r)}),$e(()=>{GI(t);const{onReady:s}=t;s&&Zt(s),Rp(n)}),bT(()=>{if(!t.__isVisible){up(t,r),t.__isVisible=!0;const{onShow:s}=t;s&&Zt(s),rt(()=>{Rp(n)})}}),ST(()=>{if(t.__isVisible&&!t.__isUnload){t.__isVisible=!1;{const{onHide:s}=t;s&&Zt(s)}}}),Tk(r.id),At(()=>{Ck(r.id)}),o}})}function oL(e){return K_(e,{init:nL,setup(t){const n=bi(),o=()=>{tE(t);const{onLaunch:r,onShow:s,onPageNotFound:i}=t,a=n.path.slice(1),l=gA({path:a||__uniRoutes[0].meta.route,query:ny(n.query)});if(r&&Zt(r,l),s&&Zt(s,l),!n.matched.length){const c={notFound:!0,openType:"appLaunch",path:n.path,query:{},scene:1001};d_(),i&&Zt(i,c)}};return KC().isReady().then(o),$e(()=>{window.addEventListener("resize",oy(rL,50,{setTimeout,clearTimeout})),window.addEventListener("message",sL),document.addEventListener("visibilitychange",iL),aL()}),n.query},before(t){t.mpType="app";const{setup:n}=t,o=()=>(me(),_e(WM));t.setup=(r,s)=>{const i=n&&n(r,s);return le(i)?o:i},t.render=o}})}function rL(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Cn(),s=Math.abs(Number(window.orientation))===90?"landscape":"portrait";Qe.emit(al,{deviceOrientation:s,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function sL(e){bt(e.data)&&e.data.type===Xb&&Qe.emit(Qm,e.data.data,e.data.pageId)}function iL(){const{emit:e}=Qe;document.visibilityState==="visible"?e(Xm,hA()):e(Jm)}function aL(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=n=>{Qe.emit(il,{theme:n.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}function Rp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&$t("onTabItemTap",{index:n,text:t,pagePath:o})}function Yi(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t,s=(n<10?"0":"")+n,i=(o<10?"0":"")+o;let a=s+":"+i;return r!=="00"&&(a=r+":"+a),a}function lL(e,t,n){const o=Ie({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let s=null;const i=()=>{o.gestureType!=="none"&&s!=null||(s=setTimeout(()=>{o.toastThin=!0},500))};let a;function l(){a==null&&(a=setTimeout(()=>{o.toastThin=!1,a=void 0},1e3))}function c(){clearTimeout(a),a=void 0}function u(v){const m=v.targetTouches[0];r.x=m.pageX,r.y=m.pageY,o.gestureType="none",o.volumeOld=0}function d(v){function m(){v.stopPropagation(),v.preventDefault()}n.fullscreen&&m();const y=o.gestureType;if(y==="stop")return;const _=v.targetTouches[0],g=_.pageX,p=_.pageY,T=r,S=t.value;if(y==="progress"?(h(g-T.x),o.seeking=!0):y==="volume"&&w(p-T.y),y==="none")if(Math.abs(g-T.x)>Math.abs(p-T.y)){if(!e.enableProgressGesture){o.gestureType="stop";return}o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=S.currentTime,n.fullscreen||m()}else{if(!e.pageGesture&&!e.vslideGesture){o.gestureType="stop";return}i(),o.gestureType="volume",o.volumeOld=S.volume,n.fullscreen||m()}}function f(v){const m=t.value;o.gestureType!=="none"&&o.gestureType!=="stop"&&(v.stopPropagation(),v.preventDefault()),o.gestureType==="progress"&&o.currentTimeOld!==o.currentTimeNew&&(m.currentTime=o.currentTimeNew),o.gestureType="none"}function h(v){const y=t.value.duration;let _=v/600*y+o.currentTimeOld;_<0?_=0:_>y&&(_=y),o.currentTimeNew=_}function w(v){const m=t.value,y=o.volumeOld;let _;typeof y=="number"&&(_=y-v/200,_<0?_=0:_>1&&(_=1),c(),l(),m.volume=_,o.volumeNew=_)}return{state:o,onTouchstart:u,onTouchmove:d,onTouchend:f}}function cL(e,t,n,o,r){const s=Ie({fullscreen:!1}),i=/^Apple/.test(navigator.vendor);function a(f,h){h&&document.fullscreenEnabled||l(!!(document.fullscreenElement||document.webkitFullscreenElement))}function l(f){s.fullscreen=f,e("fullscreenchange",{},{fullScreen:f,direction:"vertical"})}function c(f){const h=r.value,w=t.value,v=n.value;let m;f?(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&(!i||o.userAction)?w[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():v.webkitEnterFullScreen?v.webkitEnterFullScreen():(m=!0,w.remove(),w.classList.add("uni-video-type-fullscreen"),document.body.appendChild(w)):document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():v.webkitExitFullScreen?v.webkitExitFullScreen():(m=!0,w.remove(),w.classList.remove("uni-video-type-fullscreen"),h.appendChild(w)),m&&l(f)}function u(){c(!0)}function d(){c(!1)}return At(d),{state:s,onFullscreenChange:a,emitFullscreenChange:l,toggleFullscreen:c,requestFullScreen:u,exitFullScreen:d}}function uL(e,t,n){const o=H(null),r=Y(()=>tn(e.src)),s=Y(()=>e.muted==="true"||e.muted===!0),i=Ie({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:s,pauseUpdatingCurrentTime:!1});se(()=>r.value,()=>{i.playing=!1,i.currentTime=0}),se(()=>i.buffered,S=>{n("progress",{},{buffered:S})}),se(()=>s.value,S=>{const k=o.value;k.muted=S});function a({target:S}){i.duration=S.duration}function l(S){const k=Number(e.initialTime)||0,C=S.target;k>0&&(C.currentTime=k),n("loadedmetadata",S,{width:C.videoWidth,height:C.videoHeight,duration:C.duration}),c(S)}function c(S){const k=S.target,C=k.buffered;C.length&&(i.buffered=C.end(C.length-1)/k.duration*100)}function u(S){n("waiting",S,{})}function d(S){i.playing=!1,n("error",S,{})}function f(S){i.start=!0,i.playing=!0,n("play",S,{})}function h(S){i.playing=!1,n("pause",S,{})}function w(S){i.playing=!1,n("ended",S,{})}function v(S){const k=S.target;i.pauseUpdatingCurrentTime||(i.currentTime=k.currentTime);const C=k.currentTime;n("timeupdate",S,{currentTime:C,duration:k.duration})}function m(){const S=o.value;i.playing?S.pause():S.play()}function y(){const S=o.value;i.start=!0,S.play()}function _(){o.value.pause()}function g(S){const k=o.value;S=Number(S),typeof S=="number"&&!isNaN(S)&&(k.currentTime=S)}function p(){g(0),_()}function T(S){const k=o.value;k.playbackRate=S}return{videoRef:o,state:i,play:y,pause:_,stop:p,seek:g,playbackRate:T,toggle:m,onDurationChange:a,onLoadedMetadata:l,onProgress:c,onWaiting:u,onVideoError:d,onPlay:f,onPause:h,onEnded:w,onTimeUpdate:v}}function dL(e,t,n,o){const r=H(null),s=H(null),i=Y(()=>e.showCenterPlayBtn&&!t.start),a=H(!0),l=Y(()=>!i.value&&e.controls&&a.value),c=Ie({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:l,controlsVisible:a});function u(v){const m=r.value;let y=v.target,_=v.offsetX;for(;y&&y!==m;)_+=y.offsetLeft,y=y.parentNode;const g=m.offsetWidth;let p=0;_>=0&&_<=g&&(p=_/g,n(t.duration*p))}function d(){c.controlsVisible=!c.controlsVisible}let f;function h(){f=setTimeout(()=>{c.controlsVisible=!1},3e3)}function w(){f&&(clearTimeout(f),f=null)}return At(()=>{f&&clearTimeout(f)}),se(()=>c.controlsShow&&t.playing&&!c.controlsTouching,v=>{v?h():w()}),$e(()=>{const v=qr(!1);let m,y,_=!0,g;const p=s.value;function T(k){const C=k.targetTouches[0],E=C.pageX,I=C.pageY;if(_&&Math.abs(E-m)<Math.abs(I-y)){S(k);return}_=!1;const P=r.value.offsetWidth;let B=g+(E-m)/P*100;B<0?B=0:B>100&&(B=100),t.progress=B,o==null||o(t.duration*B/100),c.seeking=!0,k.preventDefault(),k.stopPropagation()}function S(k){c.controlsTouching=!1,c.touching&&(p.removeEventListener("touchmove",T,v),_||(k.preventDefault(),k.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}p.addEventListener("touchstart",k=>{c.controlsTouching=!0;const C=k.targetTouches[0];m=C.pageX,y=C.pageY,g=t.progress,_=!0,c.touching=!0,p.addEventListener("touchmove",T,v)}),p.addEventListener("touchend",S),p.addEventListener("touchcancel",S)}),{state:c,progressRef:r,ballRef:s,clickProgress:u,toggleControls:d,autoHideStart:h,autoHideEnd:w}}function fL(e,t){const n=H(null),o=Ie({enable:!!e.enableDanmu});let r={time:0,index:-1};const s=ce(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];s.sort(function(u,d){return(u.time||0)-(d.time||0)});function i(){o.enable=!o.enable}function a(u){const f=u.target.currentTime,h=r,w={time:f,index:h.index};if(f>h.time)for(let v=h.index+1;v<s.length;v++){const m=s[v];if(f>=(m.time||0))w.index=v,t.playing&&o.enable&&l(m);else break}else if(f<h.time)for(let v=h.index-1;v>-1;v--){const m=s[v];if(f<=(m.time||0))w.index=v-1;else break}r=w}function l(u){const d=document.createElement("p");d.className="uni-video-danmu-item",d.innerText=u.text;let f=`bottom: ${Math.random()*100}%;color: ${u.color};`;d.setAttribute("style",f),n.value.appendChild(d),setTimeout(function(){f+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",d.setAttribute("style",f),setTimeout(function(){d.remove()},4e3)},17)}function c(u){s.splice(r.index+1,0,{text:String(u.text),color:u.color,time:t.currentTime||0})}return{state:o,danmuRef:n,updateDanmu:a,toggleDanmu:i,sendDanmu:c}}function hL(e,t,n,o,r,s,i,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:s,requestFullScreen:i,exitFullScreen:a},c=z_();j_((u,d)=>{let f;switch(u){case"seek":f=d.position;break;case"sendDanmu":f=d;break;case"playbackRate":f=d.rate;break}u in l&&l[u](f)},c)}function pL(e,t,n,o,r){const s=Y(()=>t.gestureType==="progress"||n.touching);return se(s,i=>{e.pauseUpdatingCurrentTime=i,n.controlsTouching=i,t.gestureType==="progress"&&i&&(n.controlsVisible=i)}),se([()=>e.currentTime,()=>{Y_.duration}],()=>{e.progress=e.currentTime/e.duration*100}),se(()=>t.currentTimeNew,i=>{e.currentTime=i}),s}const Y_={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},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}},w8=yt({name:"Video",props:Y_,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=H(null),s=H(null),i=yr(r,t),{state:a}=I_(),{$attrs:l}=Al({excludeListeners:!0});Ce(),vk();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:w,playbackRate:v,toggle:m,onDurationChange:y,onLoadedMetadata:_,onProgress:g,onWaiting:p,onVideoError:T,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:E}=uL(e,n,i),{state:I,danmuRef:A,updateDanmu:P,toggleDanmu:B,sendDanmu:ee}=fL(e,u),{state:R,onFullscreenChange:z,emitFullscreenChange:te,toggleFullscreen:X,requestFullScreen:N,exitFullScreen:Z}=cL(i,s,c,a,r),{state:U,onTouchstart:K,onTouchend:G,onTouchmove:q}=lL(e,c,R),{state:et,progressRef:je,ballRef:W,clickProgress:oe,toggleControls:ne}=dL(e,u,w,O=>{U.currentTimeNew=O});hL(d,f,h,w,ee,v,N,Z);const ue=pL(u,U,et);return()=>L("uni-video",{ref:r,id:e.id,onClick:ne},[L("div",{ref:s,class:"uni-video-container",onTouchstart:K,onTouchend:G,onTouchmove:q,onFullscreenchange:cn(z,["stop"]),onWebkitfullscreenchange:cn(O=>z(O,!0),["stop"])},[L("video",It({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:_,onProgress:g,onWaiting:p,onError:T,onPlay:S,onPause:k,onEnded:C,onTimeupdate:O=>{E(O),P(O)},onWebkitbeginfullscreen:()=>te(!0),onX5videoenterfullscreen:()=>te(!0),onWebkitendfullscreen:()=>te(!1),onX5videoexitfullscreen:()=>te(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Yt(L("div",{class:"uni-video-bar uni-video-bar-full",onClick:cn(()=>{},["stop"])},[L("div",{class:"uni-video-controls"},[Yt(L("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:cn(m,["stop"])},null,10,["onClick"]),[[Xt,e.showPlayBtn]]),Yt(L("div",{class:"uni-video-current-time"},[Yi(u.currentTime)],512),[[Xt,e.showProgress]]),Yt(L("div",{ref:je,class:"uni-video-progress-container",onClick:cn(oe,["stop"])},[L("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":ue.value}},[L("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),L("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),L("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":ue.value}},[L("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Xt,e.showProgress]]),Yt(L("div",{class:"uni-video-duration"},[Yi(Number(e.duration)||u.duration)],512),[[Xt,e.showProgress]])]),Yt(L("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":I.enable},onClick:cn(B,["stop"])},null,10,["onClick"]),[[Xt,e.danmuBtn]]),Yt(L("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":R.fullscreen},onClick:cn(()=>X(!R.fullscreen),["stop"])},null,10,["onClick"]),[[Xt,e.showFullscreenBtn]])],8,["onClick"]),[[Xt,et.controlsShow]]),Yt(L("div",{ref:A,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Xt,u.start&&I.enable]]),et.centerPlayBtnShow&&L("div",{class:"uni-video-cover",onClick:cn(()=>{},["stop"])},[L("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:cn(d,["stop"])},null,8,["onClick"])],8,["onClick"]),L("div",{class:"uni-video-loading"},[U.gestureType==="volume"?L("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":U.toastThin},style:{marginTop:"5px"}},[!U.toastThin&&U.volumeNew>0&&U.gestureType==="volume"?L("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!U.toastThin&&L("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),L("div",{class:"uni-video-toast-draw",style:{width:`${U.volumeNew*100}%`}},null)],2):null]),L("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":ue.value}},[L("div",{class:"uni-video-toast-title"},[L("span",{class:"uni-video-toast-title-current-time"},[Yi(U.currentTimeNew)])," / ",Number(e.duration)||Yi(u.duration)])],2),L("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),gL=({name:e,arg:t})=>{e==="postMessage"||uni[e](t)},mL=Bt(()=>Qe.on(Qm,gL)),yL={src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},b8=yt({inheritAttrs:!1,name:"WebView",props:yL,setup(e){mL();const t=H(null),n=H(null),{$attrs:o,$excludeAttrs:r,$listeners:s}=Al({excludeListeners:!0});let i;return(()=>{const l=document.createElement("iframe");In(()=>{for(const c in o.value)if(Se(o.value,c)){const u=o.value[c];l[c]=u}}),In(()=>{l.src=tn(e.src)}),n.value=l,i=vL(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(l)})(),$e(()=>{var l;i(),!e.fullscreen&&((l=t.value)==null||l.appendChild(n.value))}),yi(()=>{e.fullscreen&&(n.value.style.display="block")}),gd(()=>{e.fullscreen&&(n.value.style.display="none")}),At(()=>{e.fullscreen&&document.body.removeChild(n.value)}),()=>L(ot,null,[L("uni-web-view",It({class:e.fullscreen?"uni-webview--fullscreen":""},s.value,r.value,{ref:t}),[L(Uo,{onResize:i},null,8,["onResize"])],16)])}});function vL(e,t,n){return()=>{var r,s;if(n){const{top:i,left:a,width:l,height:c}=e.value.getBoundingClientRect();Uc(t.value,{position:"absolute",display:"block",border:"0",top:i+"px",left:a+"px",width:l+"px",height:c+"px"})}else Uc(t.value,{width:((r=e.value)==null?void 0:r.style.width)||"300px",height:((s=e.value)==null?void 0:s.style.height)||"150px"})}}let _L=0;function X_(e,t,n,o){var r=document.createElement("script"),s=t.callback||"callback",i="__uni_jsonp_callback_"+_L++,a=t.timeout||3e4,l;function c(){clearTimeout(l),delete window[i],r.remove()}window[i]=u=>{le(n)&&n(u),c()},r.onerror=()=>{le(o)&&o(),c()},l=setTimeout(function(){le(o)&&o(),c()},a),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+i,document.body.appendChild(r)}function Dp(e){function t(){const l=this.div;this.getPanes().floatPane.appendChild(l)}function n(){const l=this.div.parentNode;l&&l.removeChild(this.div)}function o(){const l=this.option;this.Text=new e.Text({text:l.content,anchor:"bottom-center",offset:new e.Pixel(0,l.offsetY-16),style:{padding:(l.padding||8)+"px","line-height":(l.fontSize||14)+"px","border-radius":(l.borderRadius||0)+"px","border-color":`${l.bgColor||"#fff"} transparent transparent`,"background-color":l.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(l.fontSize||14)+"px",color:l.color||"#000"},position:l.position}),(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(l.map)}function r(){}function s(){this.Text&&this.option.map.remove(this.Text)}function i(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(c={},u){this.createAMapText=o,this.removeAMapText=s,this.createBMapText=r,this.removeBMapText=i,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=c||{};const d=this.visible=this.alwaysVisible=c.display==="ALWAYS";if(Fr())this.callback=u,this.visible&&this.createAMapText();else if(Fs())this.visible&&this.createBMapText();else{const f=c.map;this.position=c.position,this.index=1;const h=this.div=document.createElement("div"),w=h.style;w.position="absolute",w.whiteSpace="nowrap",w.transform="translateX(-50%) translateY(-100%)",w.zIndex="1",w.boxShadow=c.boxShadow||"none",w.display=d?"block":"none";const v=this.triangle=document.createElement("div");v.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(c),h.appendChild(v),f&&this.setMap(f)}}set onclick(c){this.div.onclick=c}get onclick(){return this.div.onclick}setOption(c){this.option=c,c.display==="ALWAYS"?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Fr()?this.visible&&this.createAMapText():Fs()?this.visible&&this.createBMapText():(this.setPosition(c.position),this.setStyle(c))}setStyle(c){const u=this.div,d=u.style;u.innerText=c.content||"",d.lineHeight=(c.fontSize||14)+"px",d.fontSize=(c.fontSize||14)+"px",d.padding=(c.padding||8)+"px",d.color=c.color||"#000",d.borderRadius=(c.borderRadius||0)+"px",d.backgroundColor=c.bgColor||"#fff",d.marginTop="-"+((c.top||0)+5)+"px",this.triangle.style.borderColor=`${c.bgColor||"#fff"} transparent transparent`}setPosition(c){this.position=c,this.draw()}draw(){const c=this.getProjection();if(!this.position||!this.div||!c)return;const u=c.fromLatLngToDivPixel(this.position),d=this.div.style;d.left=u.x+"px",d.top=u.y+"px"}changed(){const c=this.div.style;c.display=this.visible?"block":"none"}}if(!Fr()&&!Fs()){const l=new(e.OverlayView||e.Overlay);a.prototype.setMap=l.setMap,a.prototype.getMap=l.getMap,a.prototype.getPanes=l.getPanes,a.prototype.getProjection=l.getProjection,a.prototype.map_changed=l.map_changed,a.prototype.set=l.set,a.prototype.get=l.get,a.prototype.setOptions=l.setValues,a.prototype.bindTo=l.bindTo,a.prototype.bindsTo=l.bindsTo,a.prototype.notify=l.notify,a.prototype.setValues=l.setValues,a.prototype.unbind=l.unbind,a.prototype.unbindAll=l.unbindAll,a.prototype.addListener=l.addListener}return a}let wn;const Np={},wL="__map_callback__";function J_(e,t){const n=ki();if(!n.key)return;const o=Np[n.type]=Np[n.type]||[];if(wn)t(wn);else if(window[n.type]&&window[n.type].maps)wn=Fr()||Fs()?window[n.type]:window[n.type].maps,wn.Callout=wn.Callout||Dp(wn),t(wn);else if(o.length)o.push(t);else{o.push(t);const r=window,s=wL+n.type;r[s]=function(){delete r[s],wn=Fr()||Fs()?window[n.type]:window[n.type].maps,wn.Callout=Dp(wn),o.forEach(l=>l(wn)),o.length=0},Fr()&&SL(n);const i=document.createElement("script");let a=bL(n.type);n.type===Br.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Br.BMAP?i.src=`${a}ak=${n.key}&callback=${s}`:i.src=`${a}key=${n.key}&callback=${s}`,i.onerror=function(){},document.body.appendChild(i)}}const bL=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];function SL(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}var Br=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Br||{});function ki(){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 $p=!1,Bp=!1;const Fr=()=>Bp?$p:(Bp=!0,$p=ki().type==="AMap"),Fs=()=>ki().type==="BMapGL";function TL(e,t,n){const o=ki(),r=["google"];return e&&e.toUpperCase()==="WGS84"||r.includes(o.type)||n?Promise.resolve(t):o.type==="qq"?new Promise(s=>{X_(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},i=>{if("locations"in i&&i.locations.length){const{lng:a,lat:l}=i.locations[0];s({longitude:a,latitude:l,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else s(t)},()=>s(t))}):o.type==="AMap"?new Promise(s=>{J_([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(i,a)=>{if(a.info==="ok"&&a.locations.length){const{lat:l,lng:c}=a.locations[0];s({longitude:c,latitude:l,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else s(t)})})}):Promise.reject(new Error("translate coordinate system faild"))}const Fp="__DC_STAT_UUID",Up=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let wr;function CL(){if(wr=wr||Up[Fp],!wr){wr=Date.now()+""+Math.floor(Math.random()*1e7);try{Up[Fp]=wr}catch(e){}}return wr}function kL(){const e=navigator.userAgent,t=e.indexOf("compatible")>-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 s=parseFloat(RegExp.$1);return s>6?s:6}else return n?-1:o?11:-1}function Ol(){if(__uniConfig.darkmode!==!0)return be(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function xL(){let e,t="0",n="",o="phone";const r=navigator.language;if(__){e="iOS";const d=Rt.match(/OS\s([\w_]+)\slike/);d&&(t=d[1].replace(/_/g,"."));const f=Rt.match(/\(([a-zA-Z]+);/);f&&(n=f[1])}else if(JI){e="Android";const d=Rt.match(/Android[\s/]([\w\.]+)[;\s]/);d&&(t=d[1]);const f=Rt.match(/\((.+?)\)/),h=f?f[1].split(";"):Rt.split(" "),w=[/\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 v=0;v<h.length;v++){const m=h[v];if(m.indexOf("Build")>0){n=m.split("Build")[0].trim();break}let y;for(let _=0;_<w.length;_++)if(w[_].test(m)){y=!0;break}if(!y){n=m.trim();break}}}else if(QI){if(n="iPad",e="iOS",o="pad",t=le(window.BigInt)?"14.0":"13.0",parseInt(t)===14){const d=Rt.match(/Version\/(\S*)\b/);d&&(t=d[1])}}else if(uc||_u||fp){n="PC",e="PC",o="pc",t="0";let d=Rt.match(/\((.+?)\)/)[1];if(uc){switch(e="Windows",uc[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10";break}const f=d&&d.match(/[Win|WOW]([\d]+)/);f&&(t+=` x${f[1]}`)}else if(_u){e="macOS";const f=d&&d.match(/Mac OS X (.+)/)||"";t&&(t=f[1].replace(/_/g,"."),t.indexOf(";")!==-1&&(t=t.split(";")[0]))}else if(fp){e="Linux";const f=d&&d.match(/Linux (.*)/)||"";f&&(t=f[1],t.indexOf(";")!==-1&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const s=`${e} ${t}`,i=e.toLocaleLowerCase();let a="",l=String(kL());if(l!=="-1")a="IE";else{const d=["Version","Firefox","Chrome","Edge{0,1}"],f=["Safari","Firefox","Chrome","Edge"];for(let h=0;h<d.length;h++){const w=d[h],v=new RegExp(`(${w})/(\\S*)\\b`);v.test(Rt)&&(a=f[h],l=Rt.match(v)[2])}}let c="portrait";const u=typeof window.screen.orientation=="undefined"?window.orientation:window.screen.orientation.angle;return c=Math.abs(u)===90?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:s,platform:i,browserName:a.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:Rt,osname:e,osversion:t,theme:Ol()}}const PL=it("getWindowInfo",()=>{const e=window.devicePixelRatio,t=w_(),n=b_(t),o=S_(t,n),r=ZI(t,n),s=T_(o);let i=window.innerHeight;const a=St.top,l={left:St.left,right:s-St.right,top:St.top,bottom:i-St.bottom,width:s-St.left-St.right,height:i-St.top-St.bottom},{top:c,bottom:u}=Rv();return i-=c,i-=u,{windowTop:c,windowBottom:u,windowWidth:s,windowHeight:i,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:St.top,right:St.right,bottom:St.bottom,left:St.left},screenTop:r-i}});let Ll,wa=!0;function qd(){wa&&(Ll=xL())}const EL=it("getDeviceInfo",()=>{qd();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:s,deviceOrientation:i,deviceType:a,osname:l,osversion:c}=Ll;return pe({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:CL(),deviceOrientation:i,deviceType:a,model:o,platform:r,system:s,osName:l?l.toLocaleLowerCase():void 0,osVersion:c})}),IL=it("getAppBaseInfo",()=>{qd();const{theme:e,language:t,browserName:n,browserVersion:o}=Ll;return pe({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:to?to():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},{})}),Cn=it("getSystemInfoSync",()=>{wa=!0,qd(),wa=!1;const e=PL(),t=EL(),n=IL();wa=!0;const{ua:o,browserName:r,browserVersion:s,osname:i,osversion:a}=Ll,l=pe(e,t,n,{ua:o,browserName:r,browserVersion:s,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:i.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,rS(l)}),AL=Ge("getSystemInfo",(e,{resolve:t})=>t(Cn()));function OL(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const LL=Ge("getNetworkType",(e,{resolve:t})=>{const n=OL();let o="unknown";return n?(o=n.type,o==="cellular"&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):navigator.onLine===!1&&(o="none"),t({networkType:o})});var ML=(e,t,n)=>new Promise((o,r)=>{var s=l=>{try{a(n.next(l))}catch(c){r(c)}},i=l=>{try{a(n.throw(l))}catch(c){r(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,i);a((n=n.apply(e,t)).next())});const RL=Ge(uE,(e,t)=>ML(void 0,[e,t],function*({data:n},{resolve:o,reject:r}){try{yield navigator.clipboard.writeText(n),o()}catch(s){DL(n,o,r)}}),fE,dE);function DL(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const s=document.execCommand("Copy",!1);r.blur(),s?t():n()}function NL(e){const t=["object","string","number","boolean","undefined"];try{const n=be(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const r=Object.keys(n);if(r.length===2&&"data"in n){if(typeof n.data===o)return n.data;if(o==="object"&&/^\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(r.length===1)return""}}catch(n){}}const lt=it(pE,(e,t)=>{const n=typeof t,o=n==="string"?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function $L(e){const t=localStorage&&localStorage.getItem(e);if(!be(t))throw new Error("data not found");let n=t;try{const o=JSON.parse(t),r=NL(o);r!==void 0&&(n=r)}catch(o){}return n}const st=it(hE,e=>{try{return $L(e)}catch(t){return""}}),Cu=it(gE,e=>{localStorage&&localStorage.removeItem(e)}),BL=it("clearStorageSync",()=>{localStorage&&localStorage.clear()}),S8=Ge(mE,(e,{resolve:t,reject:n})=>{const o=document.activeElement;o&&(o.tagName==="TEXTAREA"||o.tagName==="INPUT")&&(o.blur(),t())}),FL={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"}},Vp="all";function UL(){const t=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!!(t&&t[0]==="micromessenger")}function Hd({count:e,sourceType:t,type:n,extension:o}){E_();const r=document.createElement("input");return r.type="file",Uc(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(s=>{if(n!==Vp){const i=s.replace(".","");return`${n}/${FL[n][i]||i}`}else return UL()?".":s.indexOf(".")===0?s:`.${s}`}).join(","),e&&e>1&&(r.multiple=!0),n!==Vp&&t instanceof Array&&t.length===1&&t[0]==="camera"&&r.setAttribute("capture","camera"),r}let Xo=null;const VL=Ge(xE,({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:s})=>{Sd();const{t:i}=Ce();Xo&&(document.body.removeChild(Xo),Xo=null),Xo=Hd({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Xo),Xo.addEventListener("change",function(a){const l=a.target,c=[];if(l&&l.files){const d=l.files.length;for(let f=0;f<d;f++){const h=l.files[f];let w;Object.defineProperty(h,"path",{get(){return w=w||Yr(h),w}}),f<e&&c.push(h)}}r({get tempFilePaths(){return c.map(({path:d})=>d)},tempFiles:c})}),Xo.click(),Ud()},IE,EE);let Jo=null;const qL=Ge(wE,({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Sd();const{t:s}=Ce();Jo&&(document.body.removeChild(Jo),Jo=null),Jo=Hd({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Jo),Jo.addEventListener("change",function(i){const a=i.target,l=[];if(a&&a.files){const u=a.files.length;for(let d=0;d<u;d++){const f=a.files[d];let h;Object.defineProperty(f,"path",{get(){return h=h||Yr(f),h}}),d<e&&l.push(f)}}o({get tempFilePaths(){return l.map(({path:u})=>u)},tempFiles:l})}),Jo.click(),Ud()},SE,bE),Q_={esc:["Esc","Escape"],enter:["Enter"]},HL=Object.keys(Q_);function WL(){const e=H(""),t=H(!1),n=o=>{if(t.value)return;const r=HL.find(s=>Q_[s].indexOf(o.key)!==-1);r&&(e.value=r),rt(()=>e.value="")};return $e(()=>{document.addEventListener("keyup",n)}),At(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const jL=L("div",{class:"uni-mask"},null,-1);function Wd(e,t,n){return t.onClose=(...o)=>(t.visible=!1,n.apply(null,o)),hv(nt({setup(){return()=>(me(),_e(e,t,null,16))}}))}function jd(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Z_(e,{onEsc:t,onEnter:n}){const o=H(e.visible),{key:r,disable:s}=WL();return se(()=>e.visible,i=>o.value=i),se(()=>o.value,i=>s.value=!i),In(()=>{const{value:i}=r;i==="esc"?t&&t():i==="enter"&&n&&n()}),o}let vs=0,mc="";function qp(e){let t=vs;vs+=e?1:-1,vs=Math.max(0,vs),vs>0?t===0&&(mc=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=mc,mc="")}function zL(){$e(()=>qp(!0)),Vn(()=>qp(!1))}const GL={src:{type:String,default:""}},KL=Hn({name:"ImageView",props:GL,setup(e){const t=Ie({direction:"none"});let n=1,o=0,r=0,s=0,i=0;function a({detail:f}){n=f.scale}function l(f){const w=f.target.getBoundingClientRect();o=w.width,r=w.height}function c(f){const w=f.target.getBoundingClientRect();s=w.width,i=w.height,d(f)}function u(f){const h=n*o>s,w=n*r>i;h&&w?t.direction="all":h?t.direction="horizontal":w?t.direction="vertical":t.direction="none",d(f)}function d(f){(t.direction==="all"||t.direction==="horizontal")&&f.stopPropagation()}return()=>{const f={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return L(R_,{style:f,onTouchstart:Qt(c),onTouchmove:Qt(d),onTouchend:Qt(u)},{default:()=>[L(D_,{style:f,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[L("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function YL(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!fr(e)}const XL={urls:{type:Array,default(){return[]}},current:{type:[Number,String],default:0}};function Hp(e){let t=typeof e.current=="number"?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const JL=Hn({name:"ImagePreview",props:XL,emits:["close"],setup(e,{emit:t}){zL();const n=H(null),o=H(Hp(e));se(()=>e.current,()=>o.value=Hp(e));let r;$e(()=>{const l=n.value,c=20;let u=0,d=0;l.addEventListener("mousedown",f=>{r=!1,u=f.clientX,d=f.clientY}),l.addEventListener("mouseup",f=>{(Math.abs(f.clientX-u)>c||Math.abs(f.clientY-d)>c)&&(r=!0)})});function s(){r||rt(()=>{t("close")})}function i(l){o.value=l.detail.current}const a={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let l;return L("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:s},[L(TO,{navigation:"auto",current:o.value,onChange:i,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},YL(l=e.urls.map(c=>L(xO,null,{default:()=>[L(KL,{src:c},null,8,["src"])]})))?l:{default:()=>[l],_:1},8,["current","onChange"]),L("div",{style:a},[hr(Bv,"#ffffff",26)],4)],8,["onClick"])}}});let Ps=null,Us;const QL=()=>{Ps=null,rt(()=>{Us==null||Us.unmount(),Us=null})},T8=Ge(AE,(e,{resolve:t})=>{Ps?pe(Ps,e):(Ps=Ie(e),rt(()=>{Us=Wd(JL,Ps,QL),Us.mount(jd("u-a-p"))})),t()},LE,OE);let Qo=null;const ZL=Ge(TE,({sourceType:e,extension:t},{resolve:n,reject:o})=>{Sd();const{t:r}=Ce();Qo&&(document.body.removeChild(Qo),Qo=null),Qo=Hd({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Qo),Qo.addEventListener("change",function(s){const a=s.target.files[0];let l="";const c={tempFilePath:l,tempFile:a,size:a.size,duration:0,width:0,height:0,name:a.name};Object.defineProperty(c,"tempFilePath",{get(){return l=l||Yr(this.tempFile),l}});const u=document.createElement("video");if(u.onloadedmetadata!==void 0){const d=Yr(a);u.onloadedmetadata=function(){pp(d),n(pe(c,{duration:u.duration||0,width:u.videoWidth||0,height:u.videoHeight||0}))},setTimeout(()=>{u.onloadedmetadata=null,pp(d),n(c)},300),u.src=d}else n(c)}),Qo.click(),Ud()},kE,CE),Ml=Tl(ME,({url:e,data:t,header:n={},method:o,dataType:r,responseType:s,withCredentials:i,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=eM(n);if(o!=="GET")if(be(t)||t instanceof ArrayBuffer)u=t;else if(d==="json")try{u=JSON.stringify(t)}catch(v){u=t.toString()}else if(d==="urlencoded"){const v=[];for(const m in t)Se(t,m)&&v.push(encodeURIComponent(m)+"="+encodeURIComponent(t[m]));u=v.join("&")}else u=t.toString();const f=new XMLHttpRequest,h=new tM(f);f.open(o,e);for(const v in n)Se(n,v)&&f.setRequestHeader(v,n[v]);const w=setTimeout(function(){f.onload=f.onabort=f.onerror=null,h.abort(),c("timeout",{errCode:5})},a);return f.responseType=s,f.onload=function(){clearTimeout(w);const v=f.status;let m=s==="text"?f.responseText:f.response;if(s==="text"&&r==="json")try{m=JSON.parse(m)}catch(y){}l({data:m,statusCode:v,header:nM(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(w),c("abort",{errCode:600003})},f.onerror=function(){clearTimeout(w),c(void 0,{errCode:5})},f.withCredentials=i,f.send(u),h},BE,FE);function eM(e){const t=Object.keys(e).find(o=>o.toLowerCase()==="content-type");if(!t)return;const n=e[t];return n.indexOf("application/json")===0?"json":n.indexOf("application/x-www-form-urlencoded")===0?"urlencoded":"string"}class tM{constructor(t){this._xhr=t}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(t){throw new Error("Method not implemented.")}offHeadersReceived(t){throw new Error("Method not implemented.")}}function nM(e){const t={};return e.split(sl).forEach(n=>{const o=n.match(/(\S+\s*):\s*(.*)/);!o||o.length!==3||(t[o[1]]=o[2])}),t}class oM{constructor(t){this._callbacks=[],this._xhr=t}onProgressUpdate(t){le(t)&&this._callbacks.push(t)}offProgressUpdate(t){const n=this._callbacks.indexOf(t);n>=0&&this._callbacks.splice(n,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(t){throw new Error("Method not implemented.")}offHeadersReceived(t){throw new Error("Method not implemented.")}}const rM=Tl(UE,({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var s,i=new XMLHttpRequest,a=new oM(i);return i.open("GET",e,!0),Object.keys(t).forEach(l=>{i.setRequestHeader(l,t[l])}),i.responseType="blob",i.onload=function(){clearTimeout(s);const l=i.status,c=this.response;let u;const d=i.getResponseHeader("content-disposition");if(d){const f=d.match(/filename="?(\S+)"?\b/);f&&(u=f[1])}c.name=u||dA(e),o({statusCode:l,tempFilePath:Yr(c)})},i.onabort=function(){clearTimeout(s),r("abort",{errCode:600003})},i.onerror=function(){clearTimeout(s),r("",{errCode:602001})},i.onprogress=function(l){a._callbacks.forEach(c=>{var u=l.loaded,d=l.total,f=Math.round(u/d*100);c({progress:f,totalBytesWritten:u,totalBytesExpectedToWrite:d})})},i.send(),s=setTimeout(function(){i.onprogress=i.onload=i.onabort=i.onerror=null,a.abort(),r("timeout",{errCode:5})},n),a},qE,VE);class sM{constructor(t){this._callbacks=[],this._xhr=t}onProgressUpdate(t){le(t)&&this._callbacks.push(t)}offProgressUpdate(t){const n=this._callbacks.indexOf(t);n>=0&&this._callbacks.splice(n,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(t){throw new Error("Method not implemented.")}offHeadersReceived(t){throw new Error("Method not implemented.")}}const iM=Tl(HE,({url:e,file:t,filePath:n,name:o,files:r,header:s={},formData:i={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new sM;(!ce(r)||!r.length)&&(r=[{name:o,file:t,uri:n}]);function d(f){var h=new XMLHttpRequest,w=new FormData,v;Object.keys(i).forEach(m=>{w.append(m,i[m])}),Object.values(r).forEach(({name:m},y)=>{const _=f[y];w.append(m||"file",_,_.name||`file-${Date.now()}`)}),h.open("POST",e),Object.keys(s).forEach(m=>{h.setRequestHeader(m,s[m])}),h.upload.onprogress=function(m){u._callbacks.forEach(y=>{var _=m.loaded,g=m.total,p=Math.round(_/g*100);y({progress:p,totalBytesSent:_,totalBytesExpectedToSend:g})})},h.onerror=function(){clearTimeout(v),c("",{errCode:602001})},h.onabort=function(){clearTimeout(v),c("abort",{errCode:600003})},h.onload=function(){clearTimeout(v);const m=h.status;l({statusCode:m,data:h.responseText||h.response})},u._isAbort?c("abort",{errCode:600003}):(v=setTimeout(function(){h.upload.onprogress=h.onload=h.onabort=h.onerror=null,u.abort(),c("timeout",{errCode:5})},a),h.send(w),u._xhr=h)}return Promise.all(r.map(({file:f,uri:h})=>f instanceof Blob?Promise.resolve(k_(f)):C_(h))).then(d).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},jE,WE),ba=[],Wp={open:"",close:"",error:"",message:""};class aM{constructor(t,n,o){this._callbacks={open:[],close:[],error:[],message:[]};let r;try{const s=this._webSocket=new WebSocket(t,n);s.binaryType="arraybuffer",["open","close","error","message"].forEach(l=>{this._callbacks[l]=[],s.addEventListener(l,c=>{const{data:u,code:d,reason:f}=c,h=l==="message"?{data:u}:l==="close"?{code:d,reason:f}:{};if(this._callbacks[l].forEach(w=>{try{w(h)}catch(v){}}),this===ba[0]&&Wp[l]&&Qe.invokeOnCallback(Wp[l],h),l==="error"||l==="close"){const w=ba.indexOf(this);w>=0&&ba.splice(w,1)}})}),["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach(l=>{Object.defineProperty(this,l,{get(){return s[l]}})})}catch(s){r=s}o&&o(r,this)}send(t){const n=(t||{}).data,o=this._webSocket;try{if(o.readyState!==o.OPEN)throw Tr(t,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");o.send(n),Tr(t,"sendSocketMessage:ok")}catch(r){Tr(t,{errMsg:`sendSocketMessage:fail ${r}`,errCode:602001})}}close(t={}){const n=this._webSocket;try{const o=t.code||1e3,r=t.reason;be(r)?n.close(o,r):n.close(o),Tr(t,"closeSocket:ok")}catch(o){Tr(t,`closeSocket:fail ${o}`)}}onOpen(t){this._callbacks.open.push(t)}onMessage(t){this._callbacks.message.push(t)}onError(t){this._callbacks.error.push(t)}onClose(t){this._callbacks.close.push(t)}}const lM=Tl(zE,({url:e,protocols:t},{resolve:n,reject:o})=>new aM(e,t,(r,s)=>{if(r){o(r.toString(),{errCode:600009});return}ba.push(s),n()}),KE,GE),cM=Ge(yE,({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:s})=>{const i=ki();new Promise((a,l)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(c=>a({coords:c.coords}),l,{enableHighAccuracy:o||t,timeout:n||1e3*100}):l(new Error("device nonsupport geolocation"))}).catch(a=>new Promise((l,c)=>{i.type===Br.QQ?X_(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${i.key}`,{callback:"callback"},u=>{if("result"in u&&u.result.location){const d=u.result.location;l({coords:{latitude:d.lat,longitude:d.lng},skip:!0})}else c(new Error(u.message||JSON.stringify(u)))},()=>c(new Error("network error"))):i.type===Br.GOOGLE?Ml({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${i.key}`,success(u){const d=u.data;"location"in d?l({coords:{latitude:d.location.lat,longitude:d.location.lng,accuracy:d.accuracy},skip:!0}):c(new Error(d.error&&d.error.message||JSON.stringify(u)))},fail(){c(new Error("network error"))}}):i.type===Br.AMAP?J_([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((d,f)=>{d==="complete"?l({coords:{latitude:f.position.lat,longitude:f.position.lng,accuracy:f.accuracy},skip:!0}):c(new Error(f.message))})})}):c(a)})).then(({coords:a,skip:l})=>{TL(e,a,l).then(c=>{r({latitude:c.latitude,longitude:c.longitude,accuracy:c.accuracy,speed:c.altitude||0,altitude:c.altitude||0,verticalAccuracy:c.altitudeAccuracy||0,horizontalAccuracy:c.accuracy||0})}).catch(c=>{s(c.message)})}).catch(a=>{s(a.message||JSON.stringify(a))})},_E,vE),e0=Ge(QE,(e,{resolve:t,reject:n})=>{let o=!0;return $t(Ea,{from:e.from||"navigateBack"})===!0&&(o=!1),o?(Pe().$router.go(-e.delta),t()):n(Ea)},tI,cI),t0=Ge(Ns,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(!Kr.handledBeforeEntryPageRoutes){gu.push({args:{type:Ns,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r});return}return bo({type:Ns,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)},eI,sI);function zd(e){__uniConfig.darkmode&&Qe.on(il,e)}function n0(e){Qe.off(il,e)}function Vs(e){let t={};return __uniConfig.darkmode&&(t=Ia(e,__uniConfig.themeConfig,Ol())),__uniConfig.darkmode?t:e}function o0(e,t){const n=Yn(e),o=n?Ie(Vs(e)):Vs(e);return __uniConfig.darkmode&&n&&se(e,r=>{const s=Vs(r);for(const i in s)o[i]=s[i]}),t&&zd(t),o}const uM={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},dM=(e,t)=>t.value=uM[e].cancelColor,fM={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:""}},hM=nt({props:fM,setup(e,{emit:t}){const n=H(""),o=()=>i.value=!1,r=()=>(o(),t("close","cancel")),s=()=>(o(),t("close","confirm",n.value)),i=Z_(e,{onEsc:r,onEnter:()=>{!e.editable&&s()}}),a=pM(e);return()=>{const{title:l,content:c,showCancel:u,confirmText:d,confirmColor:f,editable:h,placeholderText:w}=e;return n.value=c,L(yl,{name:"uni-fade"},{default:()=>[Yt(L("uni-modal",{onTouchmove:kd},[jL,L("div",{class:"uni-modal"},[l?L("div",{class:"uni-modal__hd"},[L("strong",{class:"uni-modal__title",textContent:l||""},null,8,["textContent"])]):null,h?L("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:w,value:c,onInput:v=>n.value=v.target.value},null,40,["placeholder","value","onInput"]):L("div",{class:"uni-modal__bd",onTouchmovePassive:Uk,textContent:c},null,40,["onTouchmovePassive","textContent"]),L("div",{class:"uni-modal__ft"},[u&&L("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),L("div",{style:{color:f},class:"uni-modal__btn uni-modal__btn_primary",onClick:s},[d],12,["onClick"])])])],40,["onTouchmove"]),[[Xt,i.value]])]})}}});function pM(e){const t=H(e.cancelColor),n=({theme:o})=>{dM(o,t)};return In(()=>{e.visible?(t.value=e.cancelColor,e.cancelColor==="#000"&&(Ol()==="dark"&&n({theme:"dark"}),zd(n))):n0(n)}),t}let vo;const gM=Bt(()=>{Qe.on("onHidePopup",()=>vo.visible=!1)});let ku;function mM(e,t){const n=e==="confirm",o={confirm:n,cancel:e==="cancel"};n&&vo.editable&&(o.content=t),ku&&ku(o)}const yM=Ge(TI,(e,{resolve:t})=>{gM(),ku=t,vo?(pe(vo,e),vo.visible=!0):(vo=Ie(e),rt(()=>(Wd(hM,vo,mM).mount(jd("u-a-m")),rt(()=>vo.visible=!0))))},CI,kI),vM={title:{type:String,default:""},icon:{default:"success",validator(e){return i_.indexOf(e)!==-1}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Sa="uni-toast__icon",_M={light:"#fff",dark:"rgba(255,255,255,0.9)"},jp=e=>_M[e],wM=nt({name:"Toast",props:vM,setup(e){pk(),gk();const{Icon:t}=bM(e),n=Z_(e,{});return()=>{const{mask:o,duration:r,title:s,image:i}=e;return L(yl,{name:"uni-fade"},{default:()=>[Yt(L("uni-toast",{"data-duration":r},[o?L("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:kd},null,40,["onTouchmove"]):"",!i&&!t.value?L("div",{class:"uni-sample-toast"},[L("p",{class:"uni-simple-toast__text"},[s])]):L("div",{class:"uni-toast"},[i?L("img",{src:i,class:Sa},null,10,["src"]):t.value,L("p",{class:"uni-toast__content"},[s])])],8,["data-duration"]),[[Xt,n.value]])]})}}});function bM(e){const t=H(jp(Ol())),n=({theme:r})=>t.value=jp(r);return In(()=>{e.visible?zd(n):n0(n)}),{Icon:Y(()=>{switch(e.icon){case"success":return L(hr(Wk,t.value,38),{class:Sa});case"error":return L(hr(jk,t.value,38),{class:Sa});case"loading":return L("i",{class:[Sa,"uni-loading"]},null,2);default:return null}})}}let wo,sr="",_s;const SM=sd();function TM(){SM.run(()=>{se([()=>wo.visible,()=>wo.duration],([e,t])=>{if(e){if(_s&&clearTimeout(_s),sr==="onShowLoading")return;_s=setTimeout(()=>{Gd("onHideToast")},t)}else _s&&clearTimeout(_s)})})}function r0(e){wo?pe(wo,e):(wo=Ie(pe(e,{visible:!1})),rt(()=>{TM(),Qe.on("onHidePopup",()=>Gd("onHidePopup")),Wd(wM,wo,()=>{}).mount(jd("u-a-t"))})),setTimeout(()=>{wo.visible=!0},10)}const Rl=Ge(xI,(e,{resolve:t,reject:n})=>{r0(e),sr="onShowToast",t()},PI,EI),CM={icon:"loading",duration:1e8,image:""},s0=Ge(wI,(e,{resolve:t,reject:n})=>{pe(e,CM),r0(e),sr="onShowLoading",t()},bI,SI),xu=Ge(fI,(e,{resolve:t,reject:n})=>{Gd("onHideLoading"),t()});function Gd(e){const{t}=Ce();if(!sr)return;let n="";e==="onHideToast"&&sr!=="onShowToast"?n=t("uni.showToast.unpaired"):e==="onHideLoading"&&sr!=="onShowLoading"&&(n=t("uni.showLoading.unpaired")),!n&&(sr="",setTimeout(()=>{wo.visible=!1},10))}const kM=Ge(hI,({family:e,source:t,desc:n},{resolve:o,reject:r})=>{t.startsWith('url("')||t.startsWith("url('")?t=`url('${tn(t.substring(5,t.length-2))}')`:t.startsWith("url(")?t=`url('${tn(t.substring(4,t.length-1))}')`:t=tn(t),pS(e,t,n).then(()=>{o()}).catch(s=>{r(`loadFontFace:fail ${s}`)})});function xM(e){document.title=e,Qe.emit(Zb,{titleText:e})}function PM(e){function t(){xM(e.navigationBar.titleText)}In(t),yi(t)}function EM(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:s}=e;switch(t){case pI:const{frontColor:i,backgroundColor:a,animation:l}=n,{duration:c,timingFunc:u}=l;i&&(s.titleColor=i==="#000000"?"#000000":"#ffffff"),a&&(s.backgroundColor=a),s.duration=c+"ms",s.timingFunc=u;break;case gI:s.loading=!0;break;case mI:s.loading=!1;break;case hu:const{title:d}=n;s.titleText=d;break}o()}const C8=Ge(hu,(e,{resolve:t,reject:n})=>{EM(Id(),hu,e,t,n)}),k8=Ge(yI,({scrollTop:e,selector:t,duration:n},{resolve:o})=>{gS(t||e||0,n),o()},vI,_I),x8=Ge(lp,(e,{resolve:t})=>{Qe.invokeViewMethod(lp,{},wi()),t()}),IM="UniTabbarIconFont",AM=Hn({name:"TabBar",setup(){const e=H([]),t=Bd(),n=o0(t,()=>{const a=Vs(t);n.backgroundColor=a.backgroundColor,n.borderStyle=a.borderStyle,n.color=a.color,n.selectedColor=a.selectedColor,n.blurEffect=a.blurEffect,n.midButton=a.midButton,a.list&&a.list.length&&a.list.forEach((l,c)=>{n.list[c].iconPath=l.iconPath,n.list[c].selectedIconPath=l.selectedIconPath})});LM(n,e),OM(n);const o=MM(wl(),n,e),{style:r,borderStyle:s,placeholderStyle:i}=NM(n);return $e(()=>{n.iconfontSrc&&kM({family:IM,source:`url("${n.iconfontSrc}")`})}),()=>{const a=$M(n,o,e);return L("uni-tabbar",{class:"uni-tabbar-"+n.position},[L("div",{class:"uni-tabbar",style:r.value},[L("div",{class:"uni-tabbar-border",style:s.value},null,4),a],4),L("div",{class:"uni-placeholder",style:i.value},null,4)],2)}}});function OM(e){se(()=>e.shown,t=>{Dv({"--window-bottom":g_(t?parseInt(e.height):0)})})}function LM(e,t){H(pe({type:"midButton"},e.midButton));function n(){let o=[];o=e.list.filter(r=>r.visible!==!1),t.value=o}In(n)}function MM(e,t,n){return In(()=>{const o=e.meta;if(o.isTabBar){const r=o.route,s=n.value.findIndex(i=>i.pagePath===r);t.selectedIndex=s}}),(o,r)=>{const{type:s}=o;return()=>{const{pagePath:i,text:a}=o;let l=Gs(i);l===__uniRoutes[0].alias&&(l="/"),e.path!==l?xl({from:"tabBar",url:l,tabBarText:a}):$t("onTabItemTap",{index:r,text:a,pagePath:i})}}}const RM="#f7f7fa",i0="rgb(0, 0, 0, 0.8)",zp="rgb(250, 250, 250, 0.8)",DM={dark:i0,light:zp,extralight:zp},Gp={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function NM(e){const t=Y(()=>{let r=e.backgroundColor;const s=e.blurEffect;return r||p_&&s&&s!=="none"&&(r=DM[s]),{backgroundColor:r||RM,backdropFilter:s!=="none"?"blur(10px)":s}}),n=Y(()=>{const{borderStyle:r,borderColor:s}=e;return s&&be(s)?{backgroundColor:s}:{backgroundColor:Gp[r]||Gp.black}}),o=Y(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}function $M(e,t,n){const{selectedIndex:o,selectedColor:r,color:s}=e;return n.value.map((i,a)=>{const l=o===a,c=l?r:s,u=l&&i.selectedIconPath||i.iconPath||"",d=i.iconfont?l&&i.iconfont.selectedText||i.iconfont.text:void 0,f=i.iconfont?l&&i.iconfont.selectedColor||i.iconfont.color:void 0;return BM(c,u,d,f,i,e,a,t)})}function BM(e,t,n,o,r,s,i,a){return L("div",{key:i,class:"uni-tabbar__item",onClick:a(r,i)},[FM(e,t||"",n,o,r,s)],8,["onClick"])}function FM(e,t,n,o,r,s){const{height:i}=s;return L("div",{class:"uni-tabbar__bd",style:{height:i}},[n?VM(n,o||i0,r,s):t&&UM(t,r,s),r.text&&qM(e,r,s),r.redDot&&HM(r.badge)],4)}function UM(e,t,n){const{type:o,text:r}=t,{iconWidth:s}=n,i="uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":"");return L("div",{class:i,style:{width:s,height:s}},[o!=="midButton"&&L("img",{src:tn(e)},null,8,["src"])],6)}function VM(e,t,n,o){var r;const{type:s,text:i}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:((r=n.iconfont)==null?void 0:r.fontSize)||a,color:t};return L("div",{class:l,style:c},[s!=="midButton"&&L("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function qM(e,t,n){const{iconPath:o,text:r}=t,{fontSize:s,spacing:i}=n;return L("div",{class:"uni-tabbar__label",style:{color:e,fontSize:s,lineHeight:o?"normal":1.8,marginTop:o?i:"inherit"}},[r],4)}function HM(e){const t="uni-tabbar__reddot"+(e?" uni-tabbar__badge":"");return L("div",{class:t},[e],2)}const br="0px",WM=Hn({name:"Layout",setup(e,{emit:t}){const n=H(null);zM();const o=HI(),{layoutState:r,windowState:s}=KM();GM(r,n);const i=XM(),a=jM(i);return()=>{const l=YM(o),c=JM(i);return L("uni-app",{ref:n,class:a.value},[l,c],2)}}});function jM(e){const t=H(!1);return Y(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}function zM(){Nr({"--status-bar-height":br,"--top-window-height":br,"--window-left":br,"--window-right":br,"--window-margin":br,"--tab-bar-height":br})}function GM(e,t){const n=bi();function o(){const r=document.body.clientWidth,s=Ti();let i={};if(s.length>0){const c=s[s.length-1];i=vr(c).meta}else{const c=Fv(n.path,!0);c&&(i=c.meta)}const a=parseInt(String((Se(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let l=!1;r>a?l=!0:l=!1,l&&a?(e.marginWidth=(r-a)/2,rt(()=>{const c=t.value;c&&c.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,rt(()=>{const c=t.value;c&&c.removeAttribute("style")}))}se([()=>n.path],o),$e(()=>{o(),window.addEventListener("resize",o)})}function KM(){bi();{const e=Ie({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return se(()=>e.marginWidth,t=>Nr({"--window-margin":t+"px"})),se(()=>e.leftWindowWidth+e.marginWidth,t=>{Nr({"--window-left":t+"px"})}),se(()=>e.rightWindowWidth+e.marginWidth,t=>{Nr({"--window-right":t+"px"})}),{layoutState:e,windowState:Y(()=>({}))}}}function YM(e,t,n,o,r,s){return QM(e)}function XM(e){const t=bi(),n=Bd(),o=Y(()=>t.meta.isTabBar&&n.shown);return Nr({"--tab-bar-height":(n==null?void 0:n.height)||0}),o}function JM(e){return Yt(L(AM,null,null,512),[[Xt,e.value]])}function QM({routeKey:e,isTabBar:t,routeCache:n}){return L(xv,null,{default:ve(({Component:o})=>[(me(),_e(wT,{matchBy:"key",cache:n},[(me(),_e(Xn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}const P8=Ge(sp,Dd(sp)),Kp="saveFile",E8=Ge(Kp,Dd(Kp)),Yp="removeSavedFile",I8=Ge(Yp,Dd(Yp)),Dt=pe(Pk,{publishHandler(e,t,n){Qe.subscribeHandler(e,t,n)}}),Qe=pe(mx,{publishHandler(e,t,n){Dt.subscribeHandler(e,t,n)}}),a0={none:"",forward:"M11 7.844q-0.25-0.219-0.25-0.578t0.25-0.578q0.219-0.25 0.563-0.25t0.563 0.25l9.656 9.125q0.125 0.125 0.188 0.297t0.063 0.328q0 0.188-0.063 0.359t-0.188 0.297l-9.656 9.125q-0.219 0.25-0.563 0.25t-0.563-0.25q-0.25-0.219-0.25-0.578t0.25-0.609l9.063-8.594-9.063-8.594z",back:Ua,select:Ua,share:"M26.563 24.844q0 0.125-0.109 0.234t-0.234 0.109h-17.938q-0.125 0-0.219-0.109t-0.094-0.234v-13.25q0-0.156 0.094-0.25t0.219-0.094h5.5v-1.531h-6q-0.531 0-0.906 0.391t-0.375 0.922v14.375q0 0.531 0.375 0.922t0.906 0.391h18.969q0.531 0 0.891-0.391t0.359-0.953v-5.156h-1.438v4.625zM29.813 10.969l-5.125-5.375-1.031 1.094 3.438 3.594-3.719 0.031q-2.313 0.188-4.344 1.125t-3.578 2.422-2.5 3.453-1.109 4.188l-0.031 0.25h1.469v-0.219q0.156-1.875 1-3.594t2.25-3.063 3.234-2.125 3.828-0.906l0.188-0.031 3.313-0.031-3.438 3.625 1.031 1.063 5.125-5.375-0.031-0.063 0.031-0.063z",favorite:"M27.594 13.375q-0.063-0.188-0.219-0.313t-0.344-0.156l-7.094-0.969-3.219-6.406q-0.094-0.188-0.25-0.281t-0.375-0.094q-0.188 0-0.344 0.094t-0.25 0.281l-3.125 6.438-7.094 1.094q-0.188 0.031-0.344 0.156t-0.219 0.313q-0.031 0.188 0.016 0.375t0.172 0.313l5.156 4.969-1.156 7.063q-0.031 0.188 0.047 0.375t0.234 0.313q0.094 0.063 0.188 0.094t0.219 0.031q0.063 0 0.141-0.031t0.172-0.063l6.313-3.375 6.375 3.313q0.063 0.031 0.141 0.047t0.172 0.016q0.188 0 0.344-0.094t0.25-0.281q0.063-0.094 0.078-0.234t-0.016-0.234q0-0.031 0-0.063l-1.25-6.938 5.094-5.031q0.156-0.156 0.203-0.344t-0.016-0.375zM11.469 19.063q0.031-0.188-0.016-0.344t-0.172-0.281l-4.406-4.25 6.063-0.906q0.156-0.031 0.297-0.125t0.203-0.25l2.688-5.531 2.75 5.5q0.063 0.156 0.203 0.25t0.297 0.125l6.094 0.844-4.375 4.281q-0.125 0.125-0.172 0.297t-0.016 0.328l1.063 6.031-5.438-2.813q-0.156-0.094-0.328-0.078t-0.297 0.078l-5.438 2.875 1-6.031z",home:"M23.719 16.5q-0.313 0-0.531 0.219t-0.219 0.5v7.063q0 0.219-0.172 0.391t-0.391 0.172h-12.344q-0.25 0-0.422-0.172t-0.172-0.391v-7.063q0-0.281-0.219-0.5t-0.531-0.219q-0.281 0-0.516 0.219t-0.234 0.5v7.063q0.031 0.844 0.625 1.453t1.438 0.609h12.375q0.844 0 1.453-0.609t0.609-1.453v-7.063q0-0.125-0.063-0.266t-0.156-0.234q-0.094-0.125-0.234-0.172t-0.297-0.047zM26.5 14.875l-8.813-8.813q-0.313-0.313-0.688-0.453t-0.781-0.141-0.781 0.141-0.656 0.422l-8.813 8.844q-0.188 0.219-0.188 0.516t0.219 0.484q0.094 0.125 0.234 0.172t0.297 0.047q0.125 0 0.25-0.047t0.25-0.141l8.781-8.781q0.156-0.156 0.406-0.156t0.406 0.156l8.813 8.781q0.219 0.188 0.516 0.188t0.516-0.219q0.188-0.188 0.203-0.484t-0.172-0.516z",menu:"M8.938 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM16.188 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM23.469 18.313q0.844 0 1.453-0.609t0.609-1.453-0.609-1.453-1.453-0.609q-0.875 0-1.484 0.609t-0.609 1.453 0.609 1.453 1.484 0.609z",close:Bv},ZM=Hn({name:"PageHead",setup(){const e=H(null),t=Ld(),n=o0(t.navigationBar,()=>{const i=Vs(t.navigationBar);n.backgroundColor=i.backgroundColor,n.titleColor=i.titleColor}),{clazz:o,style:r}=rR(n),s=sR(t);return()=>{const i=eR(n,t.isQuit),a=Xp(s.left),l=Xp(s.right),c=n.type||"default",u=c!=="transparent"&&c!=="float"&&L("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return L("uni-page-head",{"uni-page-head-type":c},[L("div",{ref:e,class:o.value,style:r.value},[L("div",{class:"uni-page-head-hd"},[i,...a]),tR(n),L("div",{class:"uni-page-head-ft"},[...l])],6),u],8,["uni-page-head-type"])}}});function eR(e,t){if(!t)return L("div",{class:"uni-page-head-btn",onClick:oR},[hr(Ua,e.type==="transparent"?"#fff":e.titleColor,26)],8,["onClick"])}function Xp(e){return e.map(({onClick:t,btnClass:n,btnStyle:o,btnText:r,btnIconPath:s,badgeText:i,iconStyle:a,btnSelect:l},c)=>L("div",{key:c,class:n,style:o,onClick:t,"badge-text":i},[s?hr(s,a.color,a.fontSize):l?L("span",{style:a},[L("i",{class:"uni-btn-icon",innerHTML:r},null,8,["innerHTML"]),hr(a0.select,"#000",14)],4):L("i",{class:"uni-btn-icon",style:a,innerHTML:r},null,12,["innerHTML"])],14,["onClick","badge-text"]))}function tR(e,t){return nR(e)}function nR({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return L("div",{class:"uni-page-head-bd"},[L("div",{style:{fontSize:n,opacity:e==="transparent"?0:1},class:"uni-page-head__title"},[t?L("i",{class:"uni-loading"},null):r?L("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}function oR(){on().length===1?$d({url:"/"}):e0({from:"backbutton",success(){}})}function rR(e){const t=Y(()=>{const{type:o,titlePenetrate:r,shadowColorType:s}=e,i={"uni-page-head":!0,"uni-page-head-transparent":o==="transparent","uni-page-head-titlePenetrate":r==="YES","uni-page-head-shadow":!!s};return s&&(i[`uni-page-head-shadow-${s}`]=!0),i}),n=Y(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}function sR({id:e,navigationBar:t}){const n=[],o=[],{buttons:r}=t;if(ce(r)){const{type:s}=t,i=s==="transparent",a=Object.create(null);r.forEach((l,c)=>{if(l.fontSrc&&!l.fontFamily){const d=tn(l.fontSrc);let f=a[d];f||(f=`font${Date.now()}`,a[d]=f,$o(()=>Vk("uni-btn-"+f,`@font-face{font-family: "${f}";src: url("${d}") format("truetype")}`))),l.fontFamily=f}const u=iR(e,c,l,i);l.float==="left"?n.push(u):o.push(u)})}return{left:n,right:o}}function iR(e,t,n,o){const r={color:n.color,fontSize:n.fontSize,fontWeight:n.fontWeight};return n.fontFamily&&(r.fontFamily=n.fontFamily),new Proxy({btnClass:{"uni-page-head-btn":!0,"uni-page-head-btn-red-dot":!!(n.redDot||n.badgeText),"uni-page-head-btn-select":!!n.select},btnStyle:{backgroundColor:o?n.background:"transparent",width:n.width},btnText:"",btnIconPath:a0[n.type],badgeText:n.badgeText,iconStyle:r,onClick(){$t(e,ll,pe({index:t},n))},btnSelect:n.select},{get(s,i,a){return["btnText"].includes(i)?n.fontSrc&&n.fontFamily?n.text.replace("\\u","&#x"):n.text:Reflect.get(s,i,a)}})}const aR=Hn({name:"PageBody",setup(e,t){const o=H(null),r=null,s=H(null);return se(()=>(!1).enablePullDownRefresh,()=>{s.value=(!1).enablePullDownRefresh?r:null},{immediate:!0}),()=>L(ot,null,[!1,L("uni-page-wrapper",It({ref:o},s.value),[L("uni-page-body",null,[gt(t.slots,"default")]),null],16)])}}),lR=Hn({name:"Page",setup(e,t){let n=Hx(Md());const o=n.navigationBar,r={};return PM(n),()=>L("uni-page",{"data-page":n.route,style:r},o.style!=="custom"?[L(ZM),Jp(t),null]:[Jp(t),null])}});function Jp(e){return me(),_e(aR,{key:0},{default:ve(()=>[gt(e.slots,"page")]),_:3})}const cR="__UNI__BA8433E",uR="BandhuBuy",dR="1.0.0",fR="100",hR=!1,pR={"flex-direction":"column"},gR={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},mR={mode:"hash",base:"/",assets:"assets",routerBase:"/"},ko={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},yR=void 0,vR=void 0,_R=void 0,wR=void 0,bR=void 0,SR=void 0,TR={},CR="bn",kR="bn",xR=!1,PR={};window.uni={};window.wx={};window.rpx2px=Si;const Qp=Object.assign({"./locale/bn.json":Cb,"./locale/en.json":kb,"./locale/zh-Hans.json":xb}),Me=Object.assign;window.__uniConfig=Me({globalStyle:{backgroundColor:"#FFFFFF",pageOrientation:"auto",scrollIndicator:"none",screenOrientation:["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"],navigationBar:{backgroundColor:"#f8f8f8",titleText:"BandhuBuy",style:"default",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{"^fg-(.*)":"@/components/fg-$1/fg-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},tabBar:{position:"bottom",color:"#999999",selectedColor:"#e61b28",borderStyle:"#c1c1c1",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/homeHL.png",pagePath:"pages/index/index"},{iconPath:"/static/tabbar/income.png",selectedIconPath:"/static/tabbar/incomeHL.png",pagePath:"pages/income/income"},{iconPath:"/static/tabbar/mine.png",selectedIconPath:"/static/tabbar/mineHL.png",pagePath:"pages/mine/mine"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},compilerVersion:"4.66"},{appId:cR,appName:uR,appVersion:dR,appVersionCode:fR,async:ko,debug:hR,networkTimeout:gR,sdkConfigs:TR,qqMapKey:yR,bMapKey:vR,googleMapKey:_R,aMapKey:wR,aMapSecurityJsCode:bR,aMapServiceHost:SR,nvue:pR,locale:CR,fallbackLocale:kR,locales:Object.keys(Qp).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Me(e[n]||(e[n]={}),Qp[t].default),e},{}),router:mR,darkmode:xR,themeConfig:PR});window.__uniLayout=window.__uniLayout||{};const Re={delay:ko.delay,timeout:ko.timeout,suspensible:ko.suspensible};ko.loading&&(Re.loadingComponent={name:"SystemAsyncLoading",render(){return L($y(ko.loading))}});ko.error&&(Re.errorComponent={name:"SystemAsyncError",render(){return L($y(ko.error))}});const l0=()=>Fe(()=>import("./pages-index-index.DrwV27qB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(e=>Ve(e.default||e)),ER=Ue(Me({loader:l0},Re)),c0=()=>Fe(()=>import("./pages-bestSellers-bestSellers.DzT-HQyQ.js"),__vite__mapDeps([15,16,17,10,11,12,13,2])).then(e=>Ve(e.default||e)),IR=Ue(Me({loader:c0},Re)),u0=()=>Fe(()=>import("./pages-forgotPassword-forgotPassword.BNxwSIcj.js"),__vite__mapDeps([18,19,2,20])).then(e=>Ve(e.default||e)),AR=Ue(Me({loader:u0},Re)),d0=()=>Fe(()=>import("./pages-income-income.C_CC_iDH.js"),__vite__mapDeps([21,22,23,24,25,26,27,10,11,12,28,29])).then(e=>Ve(e.default||e)),OR=Ue(Me({loader:d0},Re)),f0=()=>Fe(()=>import("./pages-login-login.C5w7XoLM.js"),__vite__mapDeps([30,19,2,20])).then(e=>Ve(e.default||e)),LR=Ue(Me({loader:f0},Re)),h0=()=>Fe(()=>import("./pages-mine-addressBook.Cf7Lh48L.js"),__vite__mapDeps([31,32,33,8,34,10,11,12,35,36,37])).then(e=>Ve(e.default||e)),MR=Ue(Me({loader:h0},Re)),p0=()=>Fe(()=>import("./pages-mine-addressBookOperate.b0AR1-m9.js"),__vite__mapDeps([38,39,40,41,42,19,2,10,11,12,35,43])).then(e=>Ve(e.default||e)),RR=Ue(Me({loader:p0},Re)),g0=()=>Fe(()=>import("./pages-mine-mine.CVZAPf82.js"),__vite__mapDeps([44,45,46,10,11,12,36,28])).then(e=>Ve(e.default||e)),DR=Ue(Me({loader:g0},Re)),m0=()=>Fe(()=>import("./pages-mine-myFavorite.Cj82dE0_.js"),__vite__mapDeps([47,1,2,10,11,12,35,48])).then(e=>Ve(e.default||e)),NR=Ue(Me({loader:m0},Re)),y0=()=>Fe(()=>import("./pages-mine-myProfile.BO0JS9KA.js"),__vite__mapDeps([49,45,46,41,42,10,11,2])).then(e=>Ve(e.default||e)),$R=Ue(Me({loader:y0},Re)),v0=()=>Fe(()=>import("./pages-mine-setting.CBIO_FQg.js"),__vite__mapDeps([50,41,42,51,52,2])).then(e=>Ve(e.default||e)),BR=Ue(Me({loader:v0},Re)),_0=()=>Fe(()=>import("./pages-mine-share.BgztOobW.js"),__vite__mapDeps([53,20,54])).then(e=>Ve(e.default||e)),FR=Ue(Me({loader:_0},Re)),w0=()=>Fe(()=>import("./pages-missionCenter-missionCenter.aFHTa4O7.js"),__vite__mapDeps([55,35,2])).then(e=>Ve(e.default||e)),UR=Ue(Me({loader:w0},Re)),b0=()=>Fe(()=>import("./pages-myOrders-myOrders.CAnfY6l8.js"),__vite__mapDeps([56,7,8,9,3,4,57,58,26,27,10,11,12,36,59,60,61])).then(e=>Ve(e.default||e)),VR=Ue(Me({loader:b0},Re)),S0=()=>Fe(()=>import("./pages-myOrders-orderDetail.Bkjir-4U.js"),__vite__mapDeps([62,3,4,57,58,26,27,10,11,63,36,28,59,60,64,2])).then(e=>Ve(e.default||e)),qR=Ue(Me({loader:S0},Re)),T0=()=>Fe(()=>import("./pages-notifications-notifications.D22JlHlu.js"),__vite__mapDeps([65,16,17,7,8,9,32,33,34,10,11,12,66])).then(e=>Ve(e.default||e)),HR=Ue(Me({loader:T0},Re)),C0=()=>Fe(()=>import("./pages-productDetail-checkOut.D1HqDbTJ.js"),__vite__mapDeps([67,10,11,63,36,28,68])).then(e=>Ve(e.default||e)),WR=Ue(Me({loader:C0},Re)),k0=()=>Fe(()=>import("./pages-productDetail-productDetail.BypYcnhY.js"),__vite__mapDeps([69,16,17,3,4,5,6,10,11,39,40,12,35,36,13,45,46,70])).then(e=>Ve(e.default||e)),jR=Ue(Me({loader:k0},Re)),x0=()=>Fe(()=>import("./pages-referEarn-referEarn.CNNo3yJf.js"),__vite__mapDeps([71,16,17,45,46,10,11,12,35,2])).then(e=>Ve(e.default||e)),zR=Ue(Me({loader:x0},Re)),P0=()=>Fe(()=>import("./pages-register-register.e8F9Z1Sy.js"),__vite__mapDeps([72,19,2,20])).then(e=>Ve(e.default||e)),GR=Ue(Me({loader:P0},Re)),E0=()=>Fe(()=>import("./pages-search-search.Ch-A3Kfg.js"),__vite__mapDeps([73,1,2,16,17,33,10,11,12,13,74])).then(e=>Ve(e.default||e)),KR=Ue(Me({loader:E0},Re)),I0=()=>Fe(()=>import("./pages-topChampions-topChampions.cwh-tg5k.js"),__vite__mapDeps([75,16,17,45,46,22,23,10,11,12,28,2])).then(e=>Ve(e.default||e)),YR=Ue(Me({loader:I0},Re)),A0=()=>Fe(()=>import("./pages-vipMembership-vipMembership.lyXCmqeW.js"),__vite__mapDeps([76,45,46,22,23,35,77])).then(e=>Ve(e.default||e)),XR=Ue(Me({loader:A0},Re)),O0=()=>Fe(()=>import("./pages-wallet-frozenRecord.Di114n-q.js"),__vite__mapDeps([78,26,27,10,11,12,28,2])).then(e=>Ve(e.default||e)),JR=Ue(Me({loader:O0},Re)),L0=()=>Fe(()=>import("./pages-wallet-myWallet.DdCJw7N0.js"),__vite__mapDeps([79,24,25,26,27,10,11,12,28,59,60,64,80])).then(e=>Ve(e.default||e)),QR=Ue(Me({loader:L0},Re)),M0=()=>Fe(()=>import("./pages-wallet-recharge.CARRbKNI.js"),__vite__mapDeps([81,10,11,28,82])).then(e=>Ve(e.default||e)),ZR=Ue(Me({loader:M0},Re)),R0=()=>Fe(()=>import("./pages-wallet-rechargeRecord.BBON0ouV.js"),__vite__mapDeps([83,26,27,10,11,12,28,2])).then(e=>Ve(e.default||e)),eD=Ue(Me({loader:R0},Re)),D0=()=>Fe(()=>import("./pages-wallet-withdraw.Bq37Jubc.js"),__vite__mapDeps([84,16,17,51,52,19,2,28])).then(e=>Ve(e.default||e)),tD=Ue(Me({loader:D0},Re)),N0=()=>Fe(()=>import("./pages-wallet-withdrawRecord.CGirNj2U.js"),__vite__mapDeps([85,26,27,10,11,12,28,2])).then(e=>Ve(e.default||e)),nD=Ue(Me({loader:N0},Re)),$0=()=>Fe(()=>import("./pages-webLink-webLink.DGAcQkXj.js"),[]).then(e=>Ve(e.default||e)),oD=Ue(Me({loader:$0},Re)),B0=()=>Fe(()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.BHMU0YF3.js"),__vite__mapDeps([86,87])).then(e=>Ve(e.default||e)),rD=Ue(Me({loader:B0},Re));function Be(e,t){return me(),_e(lR,null,{page:ve(()=>[L(e,Me({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(ER,t)}},loader:l0,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/bestSellers/bestSellers",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(IR,t)}},loader:c0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/forgotPassword/forgotPassword",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(AR,t)}},loader:u0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/income/income",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(OR,t)}},loader:d0,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{backgroundColor:"#fff",titleText:"%income.title%",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(LR,t)}},loader:f0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/addressBook",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(MR,t)}},loader:h0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%addressBook.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/addressBookOperate",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(RR,t)}},loader:p0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%addressBook.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/mine",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(DR,t)}},loader:g0,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/myFavorite",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(NR,t)}},loader:m0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%mine.pages.myFavorite.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/myProfile",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be($R,t)}},loader:y0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%myProfile.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/setting",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(BR,t)}},loader:v0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%setting.title%",type:"default"},isNVue:!1}},{path:"/pages/mine/share",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(FR,t)}},loader:_0,meta:{navigationBar:{titleText:"%mine.pages.share.title%",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/missionCenter/missionCenter",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(UR,t)}},loader:w0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%missionCenter.title%",type:"default"},isNVue:!1}},{path:"/pages/myOrders/myOrders",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(VR,t)}},loader:b0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%myOrders.title%",type:"default"},isNVue:!1}},{path:"/pages/myOrders/orderDetail",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(qR,t)}},loader:S0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%orderDetail.title%",type:"default"},isNVue:!1}},{path:"/pages/notifications/notifications",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(HR,t)}},loader:T0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/productDetail/checkOut",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(WR,t)}},loader:C0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%checkout.title%",type:"default"},isNVue:!1}},{path:"/pages/productDetail/productDetail",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(jR,t)}},loader:k0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/referEarn/referEarn",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(zR,t)}},loader:x0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(GR,t)}},loader:P0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(KR,t)}},loader:E0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/topChampions/topChampions",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(YR,t)}},loader:I0,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/vipMembership/vipMembership",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(XR,t)}},loader:A0,meta:{navigationBar:{backgroundColor:"#FFFFFF",titleText:"%vipMembership.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/frozenRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(JR,t)}},loader:O0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.frozenRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/myWallet",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(QR,t)}},loader:L0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.myWallet.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(ZR,t)}},loader:M0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.recharge.title%",type:"default",buttons:[{text:"Record",fontSize:"28rpx",width:"85px"}]},isNVue:!1}},{path:"/pages/wallet/rechargeRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(eD,t)}},loader:R0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.rechargeRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/wallet/withdraw",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(tD,t)}},loader:D0,meta:{navigationBar:{titleText:"%wallet.withdraw.title%",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/wallet/withdrawRecord",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(nD,t)}},loader:N0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"%wallet.withdrawRecord.title%",type:"default"},isNVue:!1}},{path:"/pages/webLink/webLink",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(oD,t)}},loader:$0,meta:{navigationBar:{backgroundColor:"#fff",titleText:"",type:"default"},isNVue:!1}},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup",component:{setup(){const e=Pe(),t=e&&e.$route&&e.$route.query||{};return()=>Be(rD,t)}},loader:B0,meta:{disableScroll:!0,backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200,navigationBar:{type:"default",style:"custom"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));function xo(e,t){return typeof e=="string"?t:e}const Vo=e=>(t,n=ft())=>{!ss&&No(e,t,n)},F0=Vo(Qn),sD=Vo(Ao),iD=Vo(Nm),U0=Vo(rs),A8=Vo(Vr),O8=Vo(pi),L8=Vo(od),M8=Vo(ll);/*!
  65. * @intlify/shared v9.1.9
  66. * (c) 2021 kazuya kawaguchi
  67. * Released under the MIT License.
  68. */const aD=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",as=e=>aD?Symbol(e):e,lD=(e,t,n)=>cD({l:e,k:t,s:n}),cD=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),pn=e=>typeof e=="number"&&isFinite(e),uD=e=>Kd(e)==="[object Date]",Jr=e=>Kd(e)==="[object RegExp]",Dl=e=>Ae(e)&&Object.keys(e).length===0;function dD(e,t){}const Nt=Object.assign;function Zp(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const fD=Object.prototype.hasOwnProperty;function V0(e,t){return fD.call(e,t)}const ct=Array.isArray,gn=e=>typeof e=="function",ye=e=>typeof e=="string",We=e=>typeof e=="boolean",yn=e=>e!==null&&typeof e=="object",hD=Object.prototype.toString,Kd=e=>hD.call(e),Ae=e=>Kd(e)==="[object Object]";/*!
  69. * @intlify/message-resolver v9.1.9
  70. * (c) 2021 kazuya kawaguchi
  71. * Released under the MIT License.
  72. */const pD=Object.prototype.hasOwnProperty;function gD(e,t){return pD.call(e,t)}const Ta=e=>e!==null&&typeof e=="object",qo=[];qo[0]={w:[0],i:[3,0],"[":[4],o:[7]};qo[1]={w:[1],".":[2],"[":[4],o:[7]};qo[2]={w:[2],i:[3,0],0:[3,0]};qo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};qo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};qo[5]={"'":[4,0],o:8,l:[5,0]};qo[6]={'"':[4,0],o:8,l:[6,0]};const mD=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yD(e){return mD.test(e)}function vD(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function _D(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function wD(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:yD(t)?vD(t):"*"+t}function bD(e){const t=[];let n=-1,o=0,r=0,s,i,a,l,c,u,d;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,i===void 0||(i=wD(i),i===!1))return!1;f[1]()}};function h(){const w=e[n+1];if(o===5&&w==="'"||o===6&&w==='"')return n++,a="\\"+w,f[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=_D(s),d=qo[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(a=s,u()===!1))))return;if(o===7)return t}}const eg=new Map;function Ga(e,t){if(!Ta(e))return null;let n=eg.get(t);if(n||(n=bD(t),n&&eg.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;s<o;){const i=r[n[s]];if(i===void 0)return null;r=i,s++}return r}function Pu(e){if(!Ta(e))return e;for(const t in e)if(gD(e,t))if(!t.includes("."))Ta(e[t])&&Pu(e[t]);else{const n=t.split("."),o=n.length-1;let r=e;for(let s=0;s<o;s++)n[s]in r||(r[n[s]]={}),r=r[n[s]];r[n[o]]=e[t],delete e[t],Ta(r[n[o]])&&Pu(r[n[o]])}return e}/*!
  73. * @intlify/shared v9.1.9
  74. * (c) 2021 kazuya kawaguchi
  75. * Released under the MIT License.
  76. */const xr=e=>typeof e=="number"&&isFinite(e),q0=Object.assign,SD=Array.isArray,ws=e=>typeof e=="function",Ir=e=>typeof e=="string",yc=e=>e!==null&&typeof e=="object",H0=Object.prototype.toString,TD=e=>H0.call(e),Ca=e=>TD(e)==="[object Object]",CD=e=>e==null?"":SD(e)||Ca(e)&&e.toString===H0?JSON.stringify(e,null,2):String(e);/*!
  77. * @intlify/runtime v9.1.9
  78. * (c) 2021 kazuya kawaguchi
  79. * Released under the MIT License.
  80. */const kD=e=>e,xD=e=>"",PD="text",ED=e=>e.length===0?"":e.join(""),ID=CD;function tg(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function AD(e){const t=xr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xr(e.named.count)||xr(e.named.n))?xr(e.named.count)?e.named.count:xr(e.named.n)?e.named.n:t:t}function OD(e,t){t.count||(t.count=e),t.n||(t.n=e)}function LD(e={}){const t=e.locale,n=AD(e),o=yc(e.pluralRules)&&Ir(t)&&ws(e.pluralRules[t])?e.pluralRules[t]:tg,r=yc(e.pluralRules)&&Ir(t)&&ws(e.pluralRules[t])?tg:void 0,s=m=>m[o(n,m.length,r)],i=e.list||[],a=m=>i[m],l=e.named||{};xr(e.pluralIndex)&&OD(n,l);const c=m=>l[m];function u(m){const y=ws(e.messages)?e.messages(m):yc(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):xD)}const d=m=>e.modifiers?e.modifiers[m]:kD,f=Ca(e.processor)&&ws(e.processor.normalize)?e.processor.normalize:ED,h=Ca(e.processor)&&ws(e.processor.interpolate)?e.processor.interpolate:ID,w=Ca(e.processor)&&Ir(e.processor.type)?e.processor.type:PD,v={list:a,named:c,plural:s,linked:(m,y)=>{const _=u(m)(v);return Ir(y)?d(y)(_):_},message:u,type:w,interpolate:h,normalize:f};return v}/*!
  81. * @intlify/message-compiler v9.1.9
  82. * (c) 2021 kazuya kawaguchi
  83. * Released under the MIT License.
  84. */function Nl(e,t,n={}){const{domain:o,messages:r,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=o,a}function MD(e){throw e}function RD(e,t,n){return{line:e,column:t,offset:n}}function Eu(e,t,n){return{start:e,end:t}}const jn=" ",DD="\r",Mt=`
  85. `,ND="\u2028",$D="\u2029";function BD(e){const t=e;let n=0,o=1,r=1,s=0;const i=k=>t[k]===DD&&t[k+1]===Mt,a=k=>t[k]===Mt,l=k=>t[k]===$D,c=k=>t[k]===ND,u=k=>i(k)||a(k)||l(k)||c(k),d=()=>n,f=()=>o,h=()=>r,w=()=>s,v=k=>i(k)||l(k)||c(k)?Mt:t[k],m=()=>v(n),y=()=>v(n+s);function _(){return s=0,u(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}function g(){return i(n+s)&&s++,s++,t[n+s]}function p(){n=0,o=1,r=1,s=0}function T(k=0){s=k}function S(){const k=n+s;for(;k!==n;)_();s=0}return{index:d,line:f,column:h,peekOffset:w,charAt:v,currentChar:m,currentPeek:y,next:_,peek:g,reset:p,resetPeek:T,skipToPeek:S}}const co=void 0,ng="'",FD="tokenizer";function UD(e,t={}){const n=t.location!==!1,o=BD(e),r=()=>o.index(),s=()=>RD(o.line(),o.column(),o.index()),i=s(),a=r(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(O,D,b,...x){const M=c();if(D.column+=b,D.offset+=b,u){const V=Eu(M.startLoc,D),j=Nl(O,V,{domain:FD,args:x});u(j)}}function f(O,D,b){O.endLoc=s(),O.currentType=D;const x={type:D};return n&&(x.loc=Eu(O.startLoc,O.endLoc)),b!=null&&(x.value=b),x}const h=O=>f(O,14);function w(O,D){return O.currentChar()===D?(O.next(),D):(d(0,s(),0,D),"")}function v(O){let D="";for(;O.currentPeek()===jn||O.currentPeek()===Mt;)D+=O.currentPeek(),O.peek();return D}function m(O){const D=v(O);return O.skipToPeek(),D}function y(O){if(O===co)return!1;const D=O.charCodeAt(0);return D>=97&&D<=122||D>=65&&D<=90||D===95}function _(O){if(O===co)return!1;const D=O.charCodeAt(0);return D>=48&&D<=57}function g(O,D){const{currentType:b}=D;if(b!==2)return!1;v(O);const x=y(O.currentPeek());return O.resetPeek(),x}function p(O,D){const{currentType:b}=D;if(b!==2)return!1;v(O);const x=O.currentPeek()==="-"?O.peek():O.currentPeek(),M=_(x);return O.resetPeek(),M}function T(O,D){const{currentType:b}=D;if(b!==2)return!1;v(O);const x=O.currentPeek()===ng;return O.resetPeek(),x}function S(O,D){const{currentType:b}=D;if(b!==8)return!1;v(O);const x=O.currentPeek()===".";return O.resetPeek(),x}function k(O,D){const{currentType:b}=D;if(b!==9)return!1;v(O);const x=y(O.currentPeek());return O.resetPeek(),x}function C(O,D){const{currentType:b}=D;if(!(b===8||b===12))return!1;v(O);const x=O.currentPeek()===":";return O.resetPeek(),x}function E(O,D){const{currentType:b}=D;if(b!==10)return!1;const x=()=>{const V=O.currentPeek();return V==="{"?y(O.peek()):V==="@"||V==="%"||V==="|"||V===":"||V==="."||V===jn||!V?!1:V===Mt?(O.peek(),x()):y(V)},M=x();return O.resetPeek(),M}function I(O){v(O);const D=O.currentPeek()==="|";return O.resetPeek(),D}function A(O,D=!0){const b=(M=!1,V="",j=!1)=>{const J=O.currentPeek();return J==="{"?V==="%"?!1:M:J==="@"||!J?V==="%"?!0:M:J==="%"?(O.peek(),b(M,"%",!0)):J==="|"?V==="%"||j?!0:!(V===jn||V===Mt):J===jn?(O.peek(),b(!0,jn,j)):J===Mt?(O.peek(),b(!0,Mt,j)):!0},x=b();return D&&O.resetPeek(),x}function P(O,D){const b=O.currentChar();return b===co?co:D(b)?(O.next(),b):null}function B(O){return P(O,b=>{const x=b.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36})}function ee(O){return P(O,b=>{const x=b.charCodeAt(0);return x>=48&&x<=57})}function R(O){return P(O,b=>{const x=b.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102})}function z(O){let D="",b="";for(;D=ee(O);)b+=D;return b}function te(O){let D="";for(;;){const b=O.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b==="%")if(A(O))D+=b,O.next();else break;else if(b===jn||b===Mt)if(A(O))D+=b,O.next();else{if(I(O))break;D+=b,O.next()}else D+=b,O.next()}return D}function X(O){m(O);let D="",b="";for(;D=B(O);)b+=D;return O.currentChar()===co&&d(6,s(),0),b}function N(O){m(O);let D="";return O.currentChar()==="-"?(O.next(),D+=`-${z(O)}`):D+=z(O),O.currentChar()===co&&d(6,s(),0),D}function Z(O){m(O),w(O,"'");let D="",b="";const x=V=>V!==ng&&V!==Mt;for(;D=P(O,x);)D==="\\"?b+=U(O):b+=D;const M=O.currentChar();return M===Mt||M===co?(d(2,s(),0),M===Mt&&(O.next(),w(O,"'")),b):(w(O,"'"),b)}function U(O){const D=O.currentChar();switch(D){case"\\":case"'":return O.next(),`\\${D}`;case"u":return K(O,D,4);case"U":return K(O,D,6);default:return d(3,s(),0,D),""}}function K(O,D,b){w(O,D);let x="";for(let M=0;M<b;M++){const V=R(O);if(!V){d(4,s(),0,`\\${D}${x}${O.currentChar()}`);break}x+=V}return`\\${D}${x}`}function G(O){m(O);let D="",b="";const x=M=>M!=="{"&&M!=="}"&&M!==jn&&M!==Mt;for(;D=P(O,x);)b+=D;return b}function q(O){let D="",b="";for(;D=B(O);)b+=D;return b}function et(O){const D=(b=!1,x)=>{const M=O.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||!M||M===jn?x:M===Mt?(x+=M,O.next(),D(b,x)):(x+=M,O.next(),D(!0,x))};return D(!1,"")}function je(O){m(O);const D=w(O,"|");return m(O),D}function W(O,D){let b=null;switch(O.currentChar()){case"{":return D.braceNest>=1&&d(8,s(),0),O.next(),b=f(D,2,"{"),m(O),D.braceNest++,b;case"}":return D.braceNest>0&&D.currentType===2&&d(7,s(),0),O.next(),b=f(D,3,"}"),D.braceNest--,D.braceNest>0&&m(O),D.inLinked&&D.braceNest===0&&(D.inLinked=!1),b;case"@":return D.braceNest>0&&d(6,s(),0),b=oe(O,D)||h(D),D.braceNest=0,b;default:let M=!0,V=!0,j=!0;if(I(O))return D.braceNest>0&&d(6,s(),0),b=f(D,1,je(O)),D.braceNest=0,D.inLinked=!1,b;if(D.braceNest>0&&(D.currentType===5||D.currentType===6||D.currentType===7))return d(6,s(),0),D.braceNest=0,ne(O,D);if(M=g(O,D))return b=f(D,5,X(O)),m(O),b;if(V=p(O,D))return b=f(D,6,N(O)),m(O),b;if(j=T(O,D))return b=f(D,7,Z(O)),m(O),b;if(!M&&!V&&!j)return b=f(D,13,G(O)),d(1,s(),0,b.value),m(O),b;break}return b}function oe(O,D){const{currentType:b}=D;let x=null;const M=O.currentChar();switch((b===8||b===9||b===12||b===10)&&(M===Mt||M===jn)&&d(9,s(),0),M){case"@":return O.next(),x=f(D,8,"@"),D.inLinked=!0,x;case".":return m(O),O.next(),f(D,9,".");case":":return m(O),O.next(),f(D,10,":");default:return I(O)?(x=f(D,1,je(O)),D.braceNest=0,D.inLinked=!1,x):S(O,D)||C(O,D)?(m(O),oe(O,D)):k(O,D)?(m(O),f(D,12,q(O))):E(O,D)?(m(O),M==="{"?W(O,D)||x:f(D,11,et(O))):(b===8&&d(9,s(),0),D.braceNest=0,D.inLinked=!1,ne(O,D))}}function ne(O,D){let b={type:14};if(D.braceNest>0)return W(O,D)||h(D);if(D.inLinked)return oe(O,D)||h(D);const x=O.currentChar();switch(x){case"{":return W(O,D)||h(D);case"}":return d(5,s(),0),O.next(),f(D,3,"}");case"@":return oe(O,D)||h(D);default:if(I(O))return b=f(D,1,je(O)),D.braceNest=0,D.inLinked=!1,b;if(A(O))return f(D,0,te(O));if(x==="%")return O.next(),f(D,4,"%");break}return b}function ue(){const{currentType:O,offset:D,startLoc:b,endLoc:x}=l;return l.lastType=O,l.lastOffset=D,l.lastStartLoc=b,l.lastEndLoc=x,l.offset=r(),l.startLoc=s(),o.currentChar()===co?f(l,14):ne(o,l)}return{nextToken:ue,currentOffset:r,currentPosition:s,context:c}}const VD="parser",qD=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function HD(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function WD(e={}){const t=e.location!==!1,{onError:n}=e;function o(y,_,g,p,...T){const S=y.currentPosition();if(S.offset+=p,S.column+=p,n){const k=Eu(g,S),C=Nl(_,k,{domain:VD,args:T});n(C)}}function r(y,_,g){const p={type:y,start:_,end:_};return t&&(p.loc={start:g,end:g}),p}function s(y,_,g,p){y.end=_,t&&y.loc&&(y.loc.end=g)}function i(y,_){const g=y.context(),p=r(3,g.offset,g.startLoc);return p.value=_,s(p,y.currentOffset(),y.currentPosition()),p}function a(y,_){const g=y.context(),{lastOffset:p,lastStartLoc:T}=g,S=r(5,p,T);return S.index=parseInt(_,10),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function l(y,_){const g=y.context(),{lastOffset:p,lastStartLoc:T}=g,S=r(4,p,T);return S.key=_,y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function c(y,_){const g=y.context(),{lastOffset:p,lastStartLoc:T}=g,S=r(9,p,T);return S.value=_.replace(qD,HD),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function u(y){const _=y.nextToken(),g=y.context(),{lastOffset:p,lastStartLoc:T}=g,S=r(8,p,T);return _.type!==12?(o(y,11,g.lastStartLoc,0),S.value="",s(S,p,T),{nextConsumeToken:_,node:S}):(_.value==null&&o(y,13,g.lastStartLoc,0,Mn(_)),S.value=_.value||"",s(S,y.currentOffset(),y.currentPosition()),{node:S})}function d(y,_){const g=y.context(),p=r(7,g.offset,g.startLoc);return p.value=_,s(p,y.currentOffset(),y.currentPosition()),p}function f(y){const _=y.context(),g=r(6,_.offset,_.startLoc);let p=y.nextToken();if(p.type===9){const T=u(y);g.modifier=T.node,p=T.nextConsumeToken||y.nextToken()}switch(p.type!==10&&o(y,13,_.lastStartLoc,0,Mn(p)),p=y.nextToken(),p.type===2&&(p=y.nextToken()),p.type){case 11:p.value==null&&o(y,13,_.lastStartLoc,0,Mn(p)),g.key=d(y,p.value||"");break;case 5:p.value==null&&o(y,13,_.lastStartLoc,0,Mn(p)),g.key=l(y,p.value||"");break;case 6:p.value==null&&o(y,13,_.lastStartLoc,0,Mn(p)),g.key=a(y,p.value||"");break;case 7:p.value==null&&o(y,13,_.lastStartLoc,0,Mn(p)),g.key=c(y,p.value||"");break;default:o(y,12,_.lastStartLoc,0);const T=y.context(),S=r(7,T.offset,T.startLoc);return S.value="",s(S,T.offset,T.startLoc),g.key=S,s(g,T.offset,T.startLoc),{nextConsumeToken:p,node:g}}return s(g,y.currentOffset(),y.currentPosition()),{node:g}}function h(y){const _=y.context(),g=_.currentType===1?y.currentOffset():_.offset,p=_.currentType===1?_.endLoc:_.startLoc,T=r(2,g,p);T.items=[];let S=null;do{const E=S||y.nextToken();switch(S=null,E.type){case 0:E.value==null&&o(y,13,_.lastStartLoc,0,Mn(E)),T.items.push(i(y,E.value||""));break;case 6:E.value==null&&o(y,13,_.lastStartLoc,0,Mn(E)),T.items.push(a(y,E.value||""));break;case 5:E.value==null&&o(y,13,_.lastStartLoc,0,Mn(E)),T.items.push(l(y,E.value||""));break;case 7:E.value==null&&o(y,13,_.lastStartLoc,0,Mn(E)),T.items.push(c(y,E.value||""));break;case 8:const I=f(y);T.items.push(I.node),S=I.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const k=_.currentType===1?_.lastOffset:y.currentOffset(),C=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(T,k,C),T}function w(y,_,g,p){const T=y.context();let S=p.items.length===0;const k=r(1,_,g);k.cases=[],k.cases.push(p);do{const C=h(y);S||(S=C.items.length===0),k.cases.push(C)}while(T.currentType!==14);return S&&o(y,10,g,0),s(k,y.currentOffset(),y.currentPosition()),k}function v(y){const _=y.context(),{offset:g,startLoc:p}=_,T=h(y);return _.currentType===14?T:w(y,g,p,T)}function m(y){const _=UD(y,q0({},e)),g=_.context(),p=r(0,g.offset,g.startLoc);return t&&p.loc&&(p.loc.source=y),p.body=v(_),g.currentType!==14&&o(_,13,g.lastStartLoc,0,y[g.offset]||""),s(p,_.currentOffset(),_.currentPosition()),p}return{parse:m}}function Mn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function jD(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function og(e,t){for(let n=0;n<e.length;n++)Yd(e[n],t)}function Yd(e,t){switch(e.type){case 1:og(e.cases,t),t.helper("plural");break;case 2:og(e.items,t);break;case 6:Yd(e.key,t),t.helper("linked");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function zD(e,t={}){const n=jD(e);n.helper("normalize"),e.body&&Yd(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function GD(e,t){const{filename:n,breakLineCode:o,needIndent:r}=t,s={source:e.loc.source,filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0},i=()=>s;function a(w,v){s.code+=w}function l(w,v=!0){const m=v?o:"";a(r?m+" ".repeat(w):m)}function c(w=!0){const v=++s.indentLevel;w&&l(v)}function u(w=!0){const v=--s.indentLevel;w&&l(v)}function d(){l(s.indentLevel)}return{context:i,push:a,indent:c,deindent:u,newline:d,helper:w=>`_${w}`,needIndent:()=>s.needIndent}}function KD(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Qr(e,t.key),t.modifier&&(e.push(", "),Qr(e,t.modifier)),e.push(")")}function YD(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s<r&&(Qr(e,t.items[s]),s!==r-1);s++)e.push(", ");e.deindent(o()),e.push("])")}function XD(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s<r&&(Qr(e,t.cases[s]),s!==r-1);s++)e.push(", ");e.deindent(o()),e.push("])")}}function JD(e,t){t.body?Qr(e,t.body):e.push("null")}function Qr(e,t){const{helper:n}=e;switch(t.type){case 0:JD(e,t);break;case 1:XD(e,t);break;case 2:YD(e,t);break;case 6:KD(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const QD=(e,t={})=>{const n=Ir(t.mode)?t.mode:"normal",o=Ir(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
  86. `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=GD(e,{filename:o,breakLineCode:r,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${i.map(u=>`${u}: _${u}`).join(", ")} } = ctx`),a.newline()),a.push("return "),Qr(a,e),a.deindent(s),a.push("}");const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function ZD(e,t={}){const n=q0({},t),r=WD(n).parse(e);return zD(r,n),QD(r,n)}/*!
  87. * @intlify/core-base v9.1.9
  88. * (c) 2021 kazuya kawaguchi
  89. * Released under the MIT License.
  90. */const eN="9.1.9",$l=-1,rg="";function tN(){return{upper:e=>ye(e)?e.toUpperCase():e,lower:e=>ye(e)?e.toLowerCase():e,capitalize:e=>ye(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let W0;function nN(e){W0=e}let sg=0;function oN(e={}){const t=ye(e.version)?e.version:eN,n=ye(e.locale)?e.locale:"en-US",o=ct(e.fallbackLocale)||Ae(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=Ae(e.messages)?e.messages:{[n]:{}},s=Ae(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=Ae(e.numberFormats)?e.numberFormats:{[n]:{}},a=Nt({},e.modifiers||{},tN()),l=e.pluralRules||{},c=gn(e.missing)?e.missing:null,u=We(e.missingWarn)||Jr(e.missingWarn)?e.missingWarn:!0,d=We(e.fallbackWarn)||Jr(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,h=!!e.unresolving,w=gn(e.postTranslation)?e.postTranslation:null,v=Ae(e.processor)?e.processor:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=gn(e.messageCompiler)?e.messageCompiler:W0,g=gn(e.onWarn)?e.onWarn:dD,p=e,T=yn(p.__datetimeFormatters)?p.__datetimeFormatters:new Map,S=yn(p.__numberFormatters)?p.__numberFormatters:new Map,k=yn(p.__meta)?p.__meta:{};return sg++,{version:t,cid:sg,locale:n,fallbackLocale:o,messages:r,datetimeFormats:s,numberFormats:i,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:d,fallbackFormat:f,unresolving:h,postTranslation:w,processor:v,warnHtmlMessage:m,escapeParameter:y,messageCompiler:_,onWarn:g,__datetimeFormatters:T,__numberFormatters:S,__meta:k}}function Xd(e,t,n,o,r){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,r);return ye(a)?a:t}else return t}function xi(e,t,n){const o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(n);if(!r){r=[];let s=[n];for(;ct(s);)s=ig(r,s,t);const i=ct(t)?t:Ae(t)?t.default?t.default:null:t;s=ye(i)?[i]:i,ct(s)&&ig(r,s,!1),o.__localeChainCache.set(n,r)}return r}function ig(e,t,n){let o=!0;for(let r=0;r<t.length&&We(o);r++){const s=t[r];ye(s)&&(o=rN(e,t[r],n))}return o}function rN(e,t,n){let o;const r=t.split("-");do{const s=r.join("-");o=sN(e,s,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function sN(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(ct(n)||Ae(n))&&n[r]&&(o=n[r])}return o}function bs(e,t,n){const o=e;o.__localeChainCache=new Map,xi(e,n,t)}const iN=e=>e;let ag=Object.create(null);function aN(e,t={}){{const o=(t.onCacheKey||iN)(e),r=ag[o];if(r)return r;let s=!1;const i=t.onError||MD;t.onError=c=>{s=!0,i(c)};const{code:a}=ZD(e,t),l=new Function(`return ${a}`)();return s?l:ag[o]=l}}function Ar(e){return Nl(e,null,void 0)}const lg=()=>"",ur=e=>gn(e);function cg(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,fallbackLocale:s,messages:i}=e,[a,l]=Iu(...t),c=We(l.missingWarn)?l.missingWarn:e.missingWarn,u=We(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=We(l.escapeParameter)?l.escapeParameter:e.escapeParameter,f=!!l.resolvedMessage,h=ye(l.default)||We(l.default)?We(l.default)?a:l.default:n?a:"",w=n||h!=="",v=ye(l.locale)?l.locale:e.locale;d&&lN(l);let[m,y,_]=f?[a,v,i[v]||{}]:cN(e,a,v,s,u,c),g=a;if(!f&&!(ye(m)||ur(m))&&w&&(m=h,g=m),!f&&(!(ye(m)||ur(m))||!ye(y)))return r?$l:a;let p=!1;const T=()=>{p=!0},S=ur(m)?m:j0(e,a,y,m,g,T);if(p)return m;const k=fN(e,y,_,l),C=LD(k),E=uN(e,S,C);return o?o(E):E}function lN(e){ct(e.list)?e.list=e.list.map(t=>ye(t)?Zp(t):t):yn(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=Zp(e.named[t]))})}function cN(e,t,n,o,r,s){const{messages:i,onWarn:a}=e,l=xi(e,o,n);let c={},u,d=null;const f="translate";for(let h=0;h<l.length&&(u=l[h],c=i[u]||{},(d=Ga(c,t))===null&&(d=c[t]),!(ye(d)||gn(d)));h++){const w=Xd(e,t,u,s,f);w!==t&&(d=w)}return[d,u,c]}function j0(e,t,n,o,r,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(ur(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}const l=i(o,dN(e,n,r,o,a,s));return l.locale=n,l.key=t,l.source=o,l}function uN(e,t,n){return t(n)}function Iu(...e){const[t,n,o]=e,r={};if(!ye(t)&&!pn(t)&&!ur(t))throw Ar(14);const s=pn(t)?String(t):(ur(t),t);return pn(n)?r.plural=n:ye(n)?r.default=n:Ae(n)&&!Dl(n)?r.named=n:ct(n)&&(r.list=n),pn(o)?r.plural=o:ye(o)?r.default=o:Ae(o)&&Nt(r,o),[s,r]}function dN(e,t,n,o,r,s){return{warnHtmlMessage:r,onError:i=>{throw s&&s(i),i},onCacheKey:i=>lD(t,n,i)}}function fN(e,t,n,o){const{modifiers:r,pluralRules:s}=e,a={locale:t,modifiers:r,pluralRules:s,messages:l=>{const c=Ga(n,l);if(ye(c)){let u=!1;const f=j0(e,l,t,c,l,()=>{u=!0});return u?lg:f}else return ur(c)?c:lg}};return e.processor&&(a.processor=e.processor),o.list&&(a.list=o.list),o.named&&(a.named=o.named),pn(o.plural)&&(a.pluralIndex=o.plural),a}function ug(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__datetimeFormatters:i}=e,[a,l,c,u]=Au(...t),d=We(c.missingWarn)?c.missingWarn:e.missingWarn;We(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=ye(c.locale)?c.locale:e.locale,w=xi(e,r,h);if(!ye(a)||a==="")return new Intl.DateTimeFormat(h).format(l);let v={},m,y=null;const _="datetime format";for(let T=0;T<w.length&&(m=w[T],v=n[m]||{},y=v[a],!Ae(y));T++)Xd(e,a,m,d,_);if(!Ae(y)||!ye(m))return o?$l:a;let g=`${m}__${a}`;Dl(u)||(g=`${g}__${JSON.stringify(u)}`);let p=i.get(g);return p||(p=new Intl.DateTimeFormat(m,Nt({},y,u)),i.set(g,p)),f?p.formatToParts(l):p.format(l)}function Au(...e){const[t,n,o,r]=e;let s={},i={},a;if(ye(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw Ar(16);a=new Date(t);try{a.toISOString()}catch(l){throw Ar(16)}}else if(uD(t)){if(isNaN(t.getTime()))throw Ar(15);a=t}else if(pn(t))a=t;else throw Ar(14);return ye(n)?s.key=n:Ae(n)&&(s=n),ye(o)?s.locale=o:Ae(o)&&(i=o),Ae(r)&&(i=r),[s.key||"",a,s,i]}function dg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function fg(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__numberFormatters:i}=e,[a,l,c,u]=Ou(...t),d=We(c.missingWarn)?c.missingWarn:e.missingWarn;We(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=ye(c.locale)?c.locale:e.locale,w=xi(e,r,h);if(!ye(a)||a==="")return new Intl.NumberFormat(h).format(l);let v={},m,y=null;const _="number format";for(let T=0;T<w.length&&(m=w[T],v=n[m]||{},y=v[a],!Ae(y));T++)Xd(e,a,m,d,_);if(!Ae(y)||!ye(m))return o?$l:a;let g=`${m}__${a}`;Dl(u)||(g=`${g}__${JSON.stringify(u)}`);let p=i.get(g);return p||(p=new Intl.NumberFormat(m,Nt({},y,u)),i.set(g,p)),f?p.formatToParts(l):p.format(l)}function Ou(...e){const[t,n,o,r]=e;let s={},i={};if(!pn(t))throw Ar(14);const a=t;return ye(n)?s.key=n:Ae(n)&&(s=n),ye(o)?s.locale=o:Ae(o)&&(i=o),Ae(r)&&(i=r),[s.key||"",a,s,i]}function hg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}/*!
  91. * vue-i18n v9.1.9
  92. * (c) 2021 kazuya kawaguchi
  93. * Released under the MIT License.
  94. */const hN="9.1.9";function Et(e,...t){return Nl(e,null,void 0)}const Lu=as("__transrateVNode"),Mu=as("__datetimeParts"),Ru=as("__numberParts"),z0=as("__setPluralRules"),G0=as("__injectWithOption");let pg=0;function gg(e){return(t,n,o,r)=>e(n,o,ft()||void 0,r)}function Jd(e,t){const{messages:n,__i18n:o}=t,r=Ae(n)?n:ct(o)?{}:{[e]:{}};if(ct(o)&&o.forEach(({locale:s,resource:i})=>{s?(r[s]=r[s]||{},Ka(i,r[s])):Ka(i,r)}),t.flatJson)for(const s in r)V0(r,s)&&Pu(r[s]);return r}const Xi=e=>!yn(e)||ct(e);function Ka(e,t){if(Xi(e)||Xi(t))throw Et(20);for(const n in e)V0(e,n)&&(Xi(e[n])||Xi(t[n])?t[n]=e[n]:Ka(e[n],t[n]))}function Qd(e={}){const{__root:t}=e,n=t===void 0;let o=We(e.inheritLocale)?e.inheritLocale:!0;const r=H(t&&o?t.locale.value:ye(e.locale)?e.locale:"en-US"),s=H(t&&o?t.fallbackLocale.value:ye(e.fallbackLocale)||ct(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),i=H(Jd(r.value,e)),a=H(Ae(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),l=H(Ae(e.numberFormats)?e.numberFormats:{[r.value]:{}});let c=t?t.missingWarn:We(e.missingWarn)||Jr(e.missingWarn)?e.missingWarn:!0,u=t?t.fallbackWarn:We(e.fallbackWarn)||Jr(e.fallbackWarn)?e.fallbackWarn:!0,d=t?t.fallbackRoot:We(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,h=gn(e.missing)?e.missing:null,w=gn(e.missing)?gg(e.missing):null,v=gn(e.postTranslation)?e.postTranslation:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const _=t?t.modifiers:Ae(e.modifiers)?e.modifiers:{};let g=e.pluralRules||t&&t.pluralRules,p;function T(){return oN({version:hN,locale:r.value,fallbackLocale:s.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:_,pluralRules:g,missing:w===null?void 0:w,missingWarn:c,fallbackWarn:u,fallbackFormat:f,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:y,__datetimeFormatters:Ae(p)?p.__datetimeFormatters:void 0,__numberFormatters:Ae(p)?p.__numberFormatters:void 0,__v_emitter:Ae(p)?p.__v_emitter:void 0,__meta:{framework:"vue"}})}p=T(),bs(p,r.value,s.value);function S(){return[r.value,s.value,i.value,a.value,l.value]}const k=Y({get:()=>r.value,set:$=>{r.value=$,p.locale=r.value}}),C=Y({get:()=>s.value,set:$=>{s.value=$,p.fallbackLocale=s.value,bs(p,r.value,$)}}),E=Y(()=>i.value),I=Y(()=>a.value),A=Y(()=>l.value);function P(){return gn(v)?v:null}function B($){v=$,p.postTranslation=$}function ee(){return h}function R($){$!==null&&(w=gg($)),h=$,p.missing=w}function z($,F,ie,fe,ge,Te){S();let xe;if(xe=$(p),pn(xe)&&xe===$l){const[qe,Ke]=F();return t&&d?fe(t):ge(qe)}else{if(Te(xe))return xe;throw Et(14)}}function te(...$){return z(F=>cg(F,...$),()=>Iu(...$),"translate",F=>F.t(...$),F=>F,F=>ye(F))}function X(...$){const[F,ie,fe]=$;if(fe&&!yn(fe))throw Et(15);return te(F,ie,Nt({resolvedMessage:!0},fe||{}))}function N(...$){return z(F=>ug(F,...$),()=>Au(...$),"datetime format",F=>F.d(...$),()=>rg,F=>ye(F))}function Z(...$){return z(F=>fg(F,...$),()=>Ou(...$),"number format",F=>F.n(...$),()=>rg,F=>ye(F))}function U($){return $.map(F=>ye(F)?L(Wr,null,F,0):F)}const G={normalize:U,interpolate:$=>$,type:"vnode"};function q(...$){return z(F=>{let ie;const fe=F;try{fe.processor=G,ie=cg(fe,...$)}finally{fe.processor=null}return ie},()=>Iu(...$),"translate",F=>F[Lu](...$),F=>[L(Wr,null,F,0)],F=>ct(F))}function et(...$){return z(F=>fg(F,...$),()=>Ou(...$),"number format",F=>F[Ru](...$),()=>[],F=>ye(F)||ct(F))}function je(...$){return z(F=>ug(F,...$),()=>Au(...$),"datetime format",F=>F[Mu](...$),()=>[],F=>ye(F)||ct(F))}function W($){g=$,p.pluralRules=g}function oe($,F){const ie=ye(F)?F:r.value,fe=O(ie);return Ga(fe,$)!==null}function ne($){let F=null;const ie=xi(p,s.value,r.value);for(let fe=0;fe<ie.length;fe++){const ge=i.value[ie[fe]]||{},Te=Ga(ge,$);if(Te!=null){F=Te;break}}return F}function ue($){const F=ne($);return F!=null?F:t?t.tm($)||{}:{}}function O($){return i.value[$]||{}}function D($,F){i.value[$]=F,p.messages=i.value}function b($,F){i.value[$]=i.value[$]||{},Ka(F,i.value[$]),p.messages=i.value}function x($){return a.value[$]||{}}function M($,F){a.value[$]=F,p.datetimeFormats=a.value,dg(p,$,F)}function V($,F){a.value[$]=Nt(a.value[$]||{},F),p.datetimeFormats=a.value,dg(p,$,F)}function j($){return l.value[$]||{}}function J($,F){l.value[$]=F,p.numberFormats=l.value,hg(p,$,F)}function re($,F){l.value[$]=Nt(l.value[$]||{},F),p.numberFormats=l.value,hg(p,$,F)}return pg++,t&&(se(t.locale,$=>{o&&(r.value=$,p.locale=$,bs(p,r.value,s.value))}),se(t.fallbackLocale,$=>{o&&(s.value=$,p.fallbackLocale=$,bs(p,r.value,s.value))})),{id:pg,locale:k,fallbackLocale:C,get inheritLocale(){return o},set inheritLocale($){o=$,$&&t&&(r.value=t.locale.value,s.value=t.fallbackLocale.value,bs(p,r.value,s.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:E,datetimeFormats:I,numberFormats:A,get modifiers(){return _},get pluralRules(){return g||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn($){c=$,p.missingWarn=c},get fallbackWarn(){return u},set fallbackWarn($){u=$,p.fallbackWarn=u},get fallbackRoot(){return d},set fallbackRoot($){d=$},get fallbackFormat(){return f},set fallbackFormat($){f=$,p.fallbackFormat=f},get warnHtmlMessage(){return m},set warnHtmlMessage($){m=$,p.warnHtmlMessage=$},get escapeParameter(){return y},set escapeParameter($){y=$,p.escapeParameter=$},t:te,rt:X,d:N,n:Z,te:oe,tm:ue,getLocaleMessage:O,setLocaleMessage:D,mergeLocaleMessage:b,getDateTimeFormat:x,setDateTimeFormat:M,mergeDateTimeFormat:V,getNumberFormat:j,setNumberFormat:J,mergeNumberFormat:re,getPostTranslationHandler:P,setPostTranslationHandler:B,getMissingHandler:ee,setMissingHandler:R,[Lu]:q,[Ru]:et,[Mu]:je,[z0]:W,[G0]:e.__injectWithOption}}function pN(e){const t=ye(e.locale)?e.locale:"en-US",n=ye(e.fallbackLocale)||ct(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=gn(e.missing)?e.missing:void 0,r=We(e.silentTranslationWarn)||Jr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=We(e.silentFallbackWarn)||Jr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=We(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Ae(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=gn(e.postTranslation)?e.postTranslation:void 0,d=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=We(e.sync)?e.sync:!0;let w=e.messages;if(Ae(e.sharedMessages)){const T=e.sharedMessages;w=Object.keys(T).reduce((k,C)=>{const E=k[C]||(k[C]={});return Nt(E,T[C]),k},w||{})}const{__i18n:v,__root:m,__injectWithOption:y}=e,_=e.datetimeFormats,g=e.numberFormats,p=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:p,datetimeFormats:_,numberFormats:g,missing:o,missingWarn:r,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,inheritLocale:h,__i18n:v,__root:m,__injectWithOption:y}}function Du(e={}){const t=Qd(pN(e)),n={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return We(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=We(o)?!o:o},get silentFallbackWarn(){return We(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=We(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){const[r,s,i]=o,a={};let l=null,c=null;if(!ye(r))throw Et(15);const u=r;return ye(s)?a.locale=s:ct(s)?l=s:Ae(s)&&(c=s),ct(i)?l=i:Ae(i)&&(c=i),t.t(u,l||c||{},a)},rt(...o){return t.rt(...o)},tc(...o){const[r,s,i]=o,a={plural:1};let l=null,c=null;if(!ye(r))throw Et(15);const u=r;return ye(s)?a.locale=s:pn(s)?a.plural=s:ct(s)?l=s:Ae(s)&&(c=s),ye(i)?a.locale=i:ct(i)?l=i:Ae(i)&&(c=i),t.t(u,l||c||{},a)},te(o,r){return t.te(o,r)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,r){t.setLocaleMessage(o,r)},mergeLocaleMessage(o,r){t.mergeLocaleMessage(o,r)},d(...o){return t.d(...o)},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,r){t.setDateTimeFormat(o,r)},mergeDateTimeFormat(o,r){t.mergeDateTimeFormat(o,r)},n(...o){return t.n(...o)},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,r){t.setNumberFormat(o,r)},mergeNumberFormat(o,r){t.mergeNumberFormat(o,r)},getChoiceIndex(o,r){return-1},__onComponentInstanceCreated(o){const{componentInstanceCreatedListener:r}=e;r&&r(o,n)}};return n}const Zd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},mg={name:"i18n-t",props:Nt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>pn(e)||!isNaN(e)}},Zd),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||ef({useScope:e.scope,__useComponent:!0}),s=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ye(e.plural)?+e.plural:e.plural);const a=gN(t,s),l=r[Lu](e.keypath,a,i),c=Nt({},o);return ye(e.tag)||yn(e.tag)?Jn(e.tag,c,l):Jn(ot,c,l)}}};function gN({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function K0(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ye(e.format)?i.key=e.format:yn(e.format)&&(ye(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,f)=>n.includes(f)?Nt({},d,{[f]:e.format[f]}):d,{}));const l=o(e.value,i,a);let c=[i.key];ct(l)?c=l.map((d,f)=>{const h=r[d.type];return h?h({[d.type]:d.value,index:f,parts:l}):[d.value]}):ye(l)&&(c=[l]);const u=Nt({},s);return ye(e.tag)||yn(e.tag)?Jn(e.tag,u,c):Jn(ot,u,c)}}const mN=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],yg={name:"i18n-n",props:Nt({value:{type:Number,required:!0},format:{type:[String,Object]}},Zd),setup(e,t){const n=e.i18n||ef({useScope:"parent",__useComponent:!0});return K0(e,t,mN,(...o)=>n[Ru](...o))}},yN=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],vg={name:"i18n-d",props:Nt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Zd),setup(e,t){const n=e.i18n||ef({useScope:"parent",__useComponent:!0});return K0(e,t,yN,(...o)=>n[Mu](...o))}};function vN(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function _N(e){const t=(n,{instance:o,value:r,modifiers:s})=>{if(!o||!o.$)throw Et(22);const i=vN(e,o.$),a=wN(r);n.textContent=i.t(...bN(a))};return{beforeMount:t,beforeUpdate:t}}function wN(e){if(ye(e))return{path:e};if(Ae(e)){if(!("path"in e))throw Et(19,"path");return e}else throw Et(20)}function bN(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,i={},a=o||{};return ye(n)&&(i.locale=n),pn(r)&&(i.plural=r),pn(s)&&(i.plural=s),[t,a,i]}function SN(e,t,...n){const o=Ae(n[0])?n[0]:{},r=!!o.useI18nComponentName;(We(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":mg.name,mg),e.component(yg.name,yg),e.component(vg.name,vg)),e.directive("t",_N(t))}function TN(e,t,n){return{beforeCreate(){const o=ft();if(!o)throw Et(22);const r=this.$options;if(r.i18n){const s=r.i18n;r.__i18n&&(s.__i18n=r.__i18n),s.__root=t,this===this.$root?this.$i18n=_g(e,s):(s.__injectWithOption=!0,this.$i18n=Du(s))}else r.__i18n?this===this.$root?this.$i18n=_g(e,r):this.$i18n=Du({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},beforeUnmount(){const o=ft();if(!o)throw Et(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(o),delete this.$i18n}}}function _g(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[z0](t.pluralizationRules||e.pluralizationRules);const n=Jd(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}function CN(e={}){const t=We(e.legacy)?e.legacy:!0,n=!!e.globalInjection,o=new Map,r=t?Du(e):Qd(e),s=as(""),i={get mode(){return t?"legacy":"composition"},install(l,...c){return de(this,null,function*(){l.__VUE_I18N_SYMBOL__=s,l.provide(l.__VUE_I18N_SYMBOL__,i),!t&&n&&IN(l,i.global),SN(l,i,...c),t&&l.mixin(TN(r,r.__composer,i))})},get global(){return r},__instances:o,__getInstance(l){return o.get(l)||null},__setInstance(l,c){o.set(l,c)},__deleteInstance(l){o.delete(l)}};return i}function ef(e={}){const t=ft();if(t==null)throw Et(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Et(17);const n=Ne(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Et(22);const o=n.mode==="composition"?n.global:n.global.__composer,r=Dl(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(r==="global"){let a=yn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=Jd(o.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(c=>{o.mergeLocaleMessage(c,a[c])}),yn(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(u=>{o.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(yn(e.numberFormats)){const c=Object.keys(e.numberFormats);c.length&&c.forEach(u=>{o.mergeNumberFormat(u,e.numberFormats[u])})}return o}if(r==="parent"){let a=kN(n,t,e.__useComponent);return a==null&&(a=o),a}if(n.mode==="legacy")throw Et(18);const s=n;let i=s.__getInstance(t);if(i==null){const a=t.type,l=Nt({},e);a.__i18n&&(l.__i18n=a.__i18n),o&&(l.__root=o),i=Qd(l),xN(s,t),s.__setInstance(t,i)}return i}function kN(e,t,n=!1){let o=null;const r=t.root;let s=t.parent;for(;s!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(s);else{const a=i.__getInstance(s);a!=null&&(o=a.__composer),n&&o&&!o[G0]&&(o=null)}if(o!=null||r===s)break;s=s.parent}return o}function xN(e,t,n){$e(()=>{},t),Vn(()=>{e.__deleteInstance(t)},t)}const PN=["locale","fallbackLocale","availableLocales"],EN=["t","rt","d","n","tm"];function IN(e,t){const n=Object.create(null);PN.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Et(22);const s=dt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,EN.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Et(22);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}nN(aN);class Nu{constructor(t){this._reject=null,this.promise=new Promise((n,o)=>{t(n,o),this._reject=o})}abort(t){this._reject&&this._reject(t)}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}}function R8(){return uo()+uo()+uo()+uo()+uo()+uo()+uo()+uo()}function uo(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function kn(e){return Number.isNaN(Number(e))?`${e}`:`${e}px`}function Zr(e){return Object.prototype.toString.call(e)==="[object Object]"||typeof e=="object"}function Ya(e){const n=Object.prototype.toString.call(e).match(/\[object (\w+)\]/);return n&&n.length?n[1].toLowerCase():""}const D8=function(e,t){const n=(t==null?void 0:t.labelKey)||"value";return Array.isArray(e)?e.map(o=>o[n]).join(", "):e[n]},Ee=e=>e!=null,N8=(e,t="value")=>{if(e<0)throw new Error(`${t} shouldn't be less than zero`)};function AN(e,t,n){const o=(e<<16|t<<8|n).toString(16);return"#"+"0".repeat(Math.max(0,6-o.length))+o}function wg(e){const t=[];for(let n=1;n<7;n+=2)t.push(parseInt("0x"+e.slice(n,n+2),16));return t}const ON=(e,t,n=2)=>{const o=wg(e),r=wg(t),s=(r[0]-o[0])/n,i=(r[1]-o[1])/n,a=(r[2]-o[2])/n,l=[];for(let c=0;c<n;c++)l.push(AN(parseInt(String(s*c+o[0])),parseInt(String(i*c+o[1])),parseInt(String(a*c+o[2]))));return l},$8=(e,t,n)=>Math.min(Math.max(e,t),n),LN=(e,t)=>{if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0},vc={id:1e3};function MN(e,t,n,o){return new Promise((r,s)=>{let i=null;n?i=tp().in(n):i=tp();const a=t?"selectAll":"select",l=c=>{t&&Y0(c)&&c.length>0||!t&&c?r(c):s(new Error("No nodes found"))};i[a](e).boundingClientRect(l).exec()})}function RN(e){return e.replace(/[A-Z]/g,function(n){return"-"+n}).toLowerCase()}function DN(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function Y0(e){return typeof Array.isArray=="function"?Array.isArray(e):Object.prototype.toString.call(e)==="[object Array]"}function Sn(e){return Ya(e)==="function"||Ya(e)==="asyncfunction"}function NN(e){return Ya(e)==="string"}function $N(e){return Ya(e)==="number"}function _c(e){return Zr(e)&&Ee(e)?Sn(e.then)&&Sn(e.catch):!1}function B8(e){return typeof e=="boolean"}function Xa(e){return typeof e=="undefined"}function F8(e){if(typeof e!="number")throw new Error("输入必须为数字");return e%2===1}function qn(e){if(Y0(e)){const t=e.filter(function(n){return n!=null&&n!==""}).map(function(n){return qn(n)}).join(";");return t?t.endsWith(";")?t:t+";":""}if(NN(e))return e?e.endsWith(";")?e:e+";":"";if(Zr(e)){const t=Object.keys(e).filter(function(n){return e[n]!=null&&e[n]!==""}).map(function(n){return[RN(n),e[n]].join(":")}).join(";");return t?t.endsWith(";")?t:t+";":""}return""}const nr=(e=1e3/30)=>new Nu(t=>{const n=setTimeout(()=>{clearTimeout(n),t(!0)},e)});function tf(e,t=new Map){if(e===null||typeof e!="object")return e;if(FN(e))return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);if(e instanceof Error){const o=new Error(e.message);return o.stack=e.stack,o}if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};t.set(e,n);for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=tf(e[o],t));return n}function wc(e,t){if(e=tf(e),typeof e!="object"||typeof t!="object")throw new Error("Both target and source must be objects.");for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function si(e,t){return Object.keys(t).forEach(n=>{const o=e[n],r=t[n];Zr(o)&&Zr(r)?si(o,r):e[n]=r}),e}function U8(e,t,n={}){let o=null,r,s,i;const a=Ee(n.leading)?n.leading:!1,l=Ee(n.trailing)?n.trailing:!0;function c(){r!==void 0&&(i=e.apply(s,r),r=void 0)}function u(){o=setTimeout(()=>{o=null,l&&c()},t)}function d(){o!==null&&(clearTimeout(o),o=null)}function f(...h){return r=h,s=this,o===null?(a&&c(),u()):l&&(d(),u()),i}return f}const BN=(e,t)=>{const n=t.split(".");try{return n.reduce((o,r)=>o!=null?o[r]:void 0,e)}catch(o){return}},FN=e=>Object.prototype.toString.call(e)==="[object Date]"&&!Number.isNaN(e.getTime());function V8(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|video)/i.test(e)}function Ja(e,t){const n=tf(e);return Object.keys(n).forEach(o=>t(n[o],o)&&delete n[o]),n}const bg="__TOAST_OPTION__",$u={duration:2e3,show:!1},Sg=Symbol("None");function q8(e=""){const t=X0(e),n=Ne(t,H(Sg));n.value===Sg&&(n.value=$u,_t(t,n));let o=null;const r=f=>h=>s(wc(f,typeof h=="string"?{msg:h}:h)),s=f=>{const h=wc($u,typeof f=="string"?{msg:f}:f);n.value=wc(h,{show:!0}),o&&clearTimeout(o),n.value.duration&&n.value.duration>0&&(o=setTimeout(()=>{o&&clearTimeout(o),d()},h.duration))},i=r({iconName:"loading",duration:0,cover:!0}),a=r({iconName:"success",duration:1500}),l=r({iconName:"error"}),c=r({iconName:"warning"}),u=r({iconName:"info"}),d=()=>{n.value={show:!1}};return{show:s,loading:i,success:a,error:l,warning:c,info:u,close:d}}const X0=e=>e?`${bg}${e}`:bg,UN={success(){return'<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>成功</title><desc>Created with Sketch.</desc><defs><filter x="-63.2%" y="-80.0%" width="226.3%" height="260.0%" filterUnits="objectBoundingBox" id="filter-1"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.122733141 0 0 0 0 0.710852582 0 0 0 0 0.514812768 0 0 0 1 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><rect id="path-2" x="3.4176226" y="5.81442199" width="3" height="8.5" rx="1.5"></rect><linearGradient x1="50%" y1="0.126649064%" x2="50%" y2="100%" id="linearGradient-4"><stop stop-color="#ACFFBD" stop-opacity="0.208123907" offset="0%"></stop><stop stop-color="#10B87C" offset="100%"></stop></linearGradient></defs><g id="规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="反馈-轻提示" transform="translate(-388.000000, -538.000000)"><g id="成功" transform="translate(388.000000, 538.000000)"><circle id="Oval" fill="#34D19D" opacity="0.400000006" cx="21" cy="21" r="20"></circle><circle id="Oval" fill="#34D19D" cx="21" cy="21" r="16"></circle><g id="Group-6" filter="url(#filter-1)" transform="translate(11.500000, 14.000000)"><mask id="mask-3" fill="white"><use xlink:href="#path-2"></use></mask><use id="Rectangle-Copy-24" fill="#C4FFEB" transform="translate(4.917623, 10.064422) rotate(-45.000000) translate(-4.917623, -10.064422) " xlink:href="#path-2"></use><rect id="Rectangle" fill="url(#linearGradient-4)" mask="url(#mask-3)" transform="translate(6.215869, 11.372277) rotate(-45.000000) translate(-6.215869, -11.372277) " x="4.71586891" y="9.52269089" width="3" height="3.69917136"></rect><rect id="Rectangle" fill="#FFFFFF" transform="translate(11.636236, 7.232744) scale(1, -1) rotate(-45.000000) translate(-11.636236, -7.232744) " x="10.1362361" y="-1.02185365" width="3" height="16.5091951" rx="1.5"></rect></g></g></g></g></svg>'},warning(){return'<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>警告</title><desc>Created with Sketch.</desc> <defs> <filter x="-240.0%" y="-60.0%" width="580.0%" height="220.0%" filterUnits="objectBoundingBox" id="filter-1"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.824756567 0 0 0 0 0.450356612 0 0 0 0 0.168550194 0 0 0 1 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode> <feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="反馈-轻提示" transform="translate(-580.000000, -538.000000)"> <g id="警告" transform="translate(580.000000, 538.000000)"><circle id="Oval" fill="#F0883A" opacity="0.400000006" cx="21" cy="21" r="20"></circle><circle id="Oval" fill="#F0883A" cx="21" cy="21" r="16"></circle><g id="Group-6" filter="url(#filter-1)" transform="translate(18.500000, 10.800000)"><rect id="Rectangle" fill="#FFFFFF" transform="translate(2.492935, 7.171583) scale(1, -1) rotate(-360.000000) translate(-2.492935, -7.171583) " x="0.992934699" y="0.955464537" width="3" height="12.4322365" rx="1.5"></rect><rect id="Rectangle-Copy-25" fill="#FFDEC5" transform="translate(2.508751, 17.202636) scale(1, -1) rotate(-360.000000) translate(-2.508751, -17.202636) " x="1.00875134" y="15.200563" width="3" height="4.00414639" rx="1.5"></rect></g></g></g></g></svg>'},info(){return'<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>常规</title><desc>Created with Sketch.</desc><defs><filter x="-300.0%" y="-57.1%" width="700.0%" height="214.3%" filterUnits="objectBoundingBox" id="filter-1"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0.362700096 0 0 0 0 0.409035039 0 0 0 0 0.520238904 0 0 0 1 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="反馈-轻提示" transform="translate(-772.000000, -538.000000)"><g id="常规" transform="translate(772.000000, 538.000000)"><circle id="Oval" fill="#909CB7" opacity="0.4" cx="21" cy="21" r="20"></circle><circle id="Oval" fill="#909CB7" cx="21" cy="21" r="16"></circle><g id="Group-6" filter="url(#filter-1)" transform="translate(18.500000, 9.800000)"><g id="编组-2" transform="translate(2.492935, 10.204709) rotate(-180.000000) translate(-2.492935, -10.204709) translate(0.992935, 0.204709)"><rect id="Rectangle" fill="#FFFFFF" transform="translate(1.500000, 7.000000) scale(1, -1) rotate(-360.000000) translate(-1.500000, -7.000000) " x="0" y="0" width="3" height="14" rx="1.5"></rect><rect id="Rectangle-Copy-25" fill="#EEEEEE" transform="translate(1.500000, 18.000000) scale(1, -1) rotate(-360.000000) translate(-1.500000, -18.000000) " x="0" y="16" width="3" height="4" rx="1.5"></rect></g></g></g></g></g></svg>'},error(){return'<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>toast</title><desc>Created with Sketch.</desc><defs><linearGradient x1="99.6229896%" y1="50.3770104%" x2="0.377010363%" y2="50.3770104%" id="linearGradient-1"><stop stop-color="#FFDFDF" offset="0%"></stop><stop stop-color="#F9BEBE" offset="100%"></stop></linearGradient><linearGradient x1="0.377010363%" y1="50.3770104%" x2="99.6229896%" y2="50.3770104%" id="linearGradient-2"><stop stop-color="#FFDFDF" offset="0%"></stop><stop stop-color="#F9BEBE" offset="100%"></stop></linearGradient></defs><g id="规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="反馈-轻提示" transform="translate(-196.000000, -538.000000)"> <g id="toast" transform="translate(196.000000, 538.000000)"><circle id="Oval" fill="#FA4350" opacity="0.400000006" cx="21" cy="21" r="20"></circle><circle id="Oval" fill="#FA4350" opacity="0.900000036" cx="21" cy="21" r="16"></circle><rect id="矩形" fill="#FFDFDF" transform="translate(21.071068, 21.071068) rotate(-225.000000) translate(-21.071068, -21.071068) " x="12.5710678" y="19.5710678" width="17" height="3" rx="1.5"></rect><rect id="矩形" fill="url(#linearGradient-1)" transform="translate(19.303301, 22.838835) rotate(-225.000000) translate(-19.303301, -22.838835) " x="17.3033009" y="21.3388348" width="4" height="3"></rect><rect id="矩形" fill="url(#linearGradient-2)" transform="translate(22.838835, 19.303301) rotate(-225.000000) translate(-22.838835, -19.303301) " x="20.8388348" y="17.8033009" width="4" height="3"></rect><rect id="矩形" fill="#FFFFFF" transform="translate(21.071068, 21.071068) rotate(-315.000000) translate(-21.071068, -21.071068) " x="12.5710678" y="19.5710678" width="17" height="3" rx="1.5"></rect></g></g></g></svg>'}},Tg="__MESSAGE_OPTION__",VN={title:"",showCancelButton:!1,show:!1,closeOnClickModal:!0,msg:"",type:"alert",inputType:"text",inputValue:"",showErr:!1,zIndex:99,lazyRender:!0,inputError:""},qN=e=>e?`${Tg}${e}`:Tg,HN={calendar:{placeholder:"请选择",title:"选择日期",day:"日",week:"周",month:"月",confirm:"确定",startTime:"开始时间",endTime:"结束时间",to:"至",timeFormat:"YY年MM月DD日 HH:mm:ss",dateFormat:"YYYY年MM月DD日",weekFormat:(e,t)=>`${e} 第 ${t} 周`,startWeek:"开始周",endWeek:"结束周",startMonth:"开始月",endMonth:"结束月",monthFormat:"YYYY年MM月"},calendarView:{startTime:"开始",endTime:"结束",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},rangePrompt:e=>`选择天数不能超过${e}天`,rangePromptWeek:e=>`选择周数不能超过${e}周`,rangePromptMonth:e=>`选择月份不能超过${e}个月`,monthTitle:"YYYY年M月",yearTitle:"YYYY年",month:"M月",hour:e=>`${e}时`,minute:e=>`${e}分`,second:e=>`${e}秒`},collapse:{expand:"展开",retract:"收起"},colPicker:{title:"请选择",placeholder:"请选择",select:"请选择"},datetimePicker:{start:"开始时间",end:"结束时间",to:"至",placeholder:"请选择",confirm:"完成",cancel:"取消"},loadmore:{loading:"正在努力加载中...",finished:"已加载完毕",error:"加载失败",retry:"点击重试"},messageBox:{inputPlaceholder:"请输入",confirm:"确定",cancel:"取消",inputNoValidate:"输入的数据不合法"},numberKeyboard:{confirm:"完成"},pagination:{prev:"上一页",next:"下一页",page:e=>`当前页:${e}`,total:e=>`当前数据:${e}条`,size:e=>`分页大小:${e}`},picker:{cancel:"取消",done:"完成",placeholder:"请选择"},imgCropper:{confirm:"完成",cancel:"取消"},search:{search:"搜索",cancel:"取消"},steps:{wait:"未开始",finished:"已完成",process:"进行中",failed:"失败"},tabs:{all:"全部"},upload:{error:"上传失败"},input:{placeholder:"请输入..."},selectPicker:{title:"请选择",placeholder:"请选择",select:"请选择",confirm:"确认",filterPlaceholder:"搜索"},tag:{placeholder:"请输入",add:"新增标签"},textarea:{placeholder:"请输入..."},tableCol:{indexLabel:"序号"},signature:{confirmText:"确认",clearText:"清空",revokeText:"撤销",restoreText:"恢复"}},Cg=H("zh-CN"),kg=Ie({"zh-CN":HN}),J0={messages(){return kg[Cg.value]},use(e,t){Cg.value=e,t&&this.add({[e]:t})},add(e={}){si(kg,e)}},WN={calendar:{placeholder:"Select",title:"Select Date",day:"Date",week:"Week",month:"Month",confirm:"OK",startTime:"Start Date",endTime:"End Date",to:"To",timeFormat:"YY-MM-DD HH:mm:ss",dateFormat:"YYYY-MM-DD",weekFormat:(e,t)=>`${e} W${t}`,startWeek:"Start Week",endWeek:"End Week",startMonth:"Start Month",endMonth:"End Month",monthFormat:"YYYY-MM"},calendarView:{startTime:"Start Time",endTime:"End Time",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},rangePrompt:e=>`The number of selected days cannot exceed ${e} days`,rangePromptWeek:e=>`The number of weeks selected cannot exceed ${e} weeks`,rangePromptMonth:e=>`The selected month cannot exceed ${e} months`,monthTitle:"YYYY-MM",yearTitle:"YYYY",month:"MM",hour:e=>`${e}`,minute:e=>`${e}`,second:e=>`${e}`},datetimePicker:{start:"From",end:"To",to:"To",placeholder:"Select",confirm:"OK",cancel:"Cancel"},collapse:{expand:"Expand",retract:"Fold"},colPicker:{title:"Select",placeholder:"Select",select:"Select"},loadmore:{loading:"Loading...",finished:"Finished loading",error:"Failed to load...",retry:"Refresh"},imgCropper:{confirm:"OK",cancel:"Cancel"},messageBox:{inputPlaceholder:"Please input information",confirm:"OK",cancel:"Cancel",inputNoValidate:"Please ensure you input correct information"},numberKeyboard:{confirm:"done"},pagination:{prev:"Previous",next:"Next",page:e=>`Page: ${e}`,total:e=>`Total: ${e}`,size:e=>`${e}/page`},picker:{cancel:"Cancel",done:"Done",placeholder:"Select"},search:{search:"Search",cancel:"Cancel"},steps:{wait:"Not Started",finished:"Expired",process:"In Progress",failed:"Failed"},tabs:{all:"All"},upload:{error:"Failed to upload"},input:{placeholder:"Please input information..."},selectPicker:{title:"Select",placeholder:"Select",select:"Select",confirm:"Ok",filterPlaceholder:"Search"},tag:{placeholder:"Enter",add:"Add Tag"},textarea:{placeholder:"Please input information..."},tableCol:{indexLabel:"index"},signature:{confirmText:"OK",clearText:"Clear",revokeText:"Undo",restoreText:"Restore"}},Q0={en:km,"zh-Hans":Pm,bn:Tm},jN=["en","zh-Hans","bn"];function xg(e){return e?jN.includes(e)?e:e.toLowerCase().startsWith("en")?"en":"bn":"bn"}function zN(){const e=st("app_locale");if(e)return xg(e);const t=Cn().language||to();return xg(t)==="en"?"en":"bn"}const Z0=CN({locale:zN(),messages:Q0});J0.use("en-US",WN);function GN(e){if(!e)return"";const t=to(),n=Q0[t];if(Object.keys(n).includes(e))return n[e];try{return e.split(".").reduce((r,s)=>r[s],n)}catch(o){return""}}function KN(e,t){return e.replace(/\{([^}]+)\}/g,(n,o)=>{const r=o.trim().split(".");let s=t;for(;r.length;){const i=r.shift();s=s[i]}return s})}function Pn(e,t){return KN(GN(e),t)}function ew(e){return e?e.replace(/\n/g,"<br>"):""}function YN(e,t){const n=Pn(e,t);return ew(n)}/*!
  95. * pinia v2.0.36
  96. * (c) 2023 Eduardo San Martin Morote
  97. * @license MIT
  98. */let tw;const Bl=e=>tw=e,nw=Symbol();function Bu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qs||(qs={}));function XN(){const e=sd(!0),t=e.run(()=>H({}));let n=[],o=[];const r=Oo({install(s){Bl(r),r._a=s,s.provide(nw,r),s.config.globalProperties.$pinia=r,o.forEach(i=>n.push(i)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ow=()=>{};function Pg(e,t,n,o=ow){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&uy()&&IS(r),r}function Sr(e,...t){e.slice().forEach(n=>{n(...t)})}function Fu(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Bu(r)&&Bu(o)&&e.hasOwnProperty(n)&&!dt(o)&&!Yn(o)?e[n]=Fu(r,o):e[n]=o}return e}const JN=Symbol();function QN(e){return!Bu(e)||!e.hasOwnProperty(JN)}const{assign:fo}=Object;function ZN(e){return!!(dt(e)&&e.effect)}function e$(e,t,n,o){const{state:r,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=r?r():{});const u=ZS(n.state.value[e]);return fo(u,s,Object.keys(i||{}).reduce((d,f)=>(d[f]=Oo(Y(()=>{Bl(n);const h=n._s.get(e);return i[f].call(h,h)})),d),{}))}return l=rw(e,c,t,n,o,!0),l}function rw(e,t,n={},o,r,s){let i;const a=fo({actions:{}},n),l={deep:!0};let c,u,d=Oo([]),f=Oo([]),h;const w=o.state.value[e];!s&&!w&&(o.state.value[e]={}),H({});let v;function m(k){let C;c=u=!1,typeof k=="function"?(k(o.state.value[e]),C={type:qs.patchFunction,storeId:e,events:h}):(Fu(o.state.value[e],k),C={type:qs.patchObject,payload:k,storeId:e,events:h});const E=v=Symbol();rt().then(()=>{v===E&&(c=!0)}),u=!0,Sr(d,C,o.state.value[e])}const y=s?function(){const{state:C}=n,E=C?C():{};this.$patch(I=>{fo(I,E)})}:ow;function _(){i.stop(),d=[],f=[],o._s.delete(e)}function g(k,C){return function(){Bl(o);const E=Array.from(arguments),I=[],A=[];function P(R){I.push(R)}function B(R){A.push(R)}Sr(f,{args:E,name:k,store:T,after:P,onError:B});let ee;try{ee=C.apply(this&&this.$id===e?this:T,E)}catch(R){throw Sr(A,R),R}return ee instanceof Promise?ee.then(R=>(Sr(I,R),R)).catch(R=>(Sr(A,R),Promise.reject(R))):(Sr(I,ee),ee)}}const p={_p:o,$id:e,$onAction:Pg.bind(null,f),$patch:m,$reset:y,$subscribe(k,C={}){const E=Pg(d,k,C.detached,()=>I()),I=i.run(()=>se(()=>o.state.value[e],A=>{(C.flush==="sync"?u:c)&&k({storeId:e,type:qs.direct,events:h},A)},fo({},l,C)));return E},$dispose:_},T=Ie(p);o._s.set(e,T);const S=o._e.run(()=>(i=sd(),i.run(()=>t())));for(const k in S){const C=S[k];if(dt(C)&&!ZN(C)||Yn(C))s||(w&&QN(C)&&(dt(C)?C.value=w[k]:Fu(C,w[k])),o.state.value[e][k]=C);else if(typeof C=="function"){const E=g(k,C);S[k]=E,a.actions[k]=C}}return fo(T,S),fo(Le(T),S),Object.defineProperty(T,"$state",{get:()=>o.state.value[e],set:k=>{m(C=>{fo(C,k)})}}),o._p.forEach(k=>{fo(T,i.run(()=>k({store:T,app:o._a,pinia:o,options:a})))}),w&&s&&n.hydrate&&n.hydrate(T.$state,w),c=!0,u=!0,T}function sw(e,t,n){let o,r;const s=typeof t=="function";typeof e=="string"?(o=e,r=s?n:t):(r=e,o=e.id);function i(a,l){const c=ft();return a=a||c&&Ne(nw,null),a&&Bl(a),a=tw,a._s.has(o)||(s?rw(o,t,r,a):e$(o,r,a)),a._s.get(o)}return i.$id=o,i}const ls="/cif";function H8(e){return Ze.get(`${ls}/api/user/getCode`,{phoneNo:e})}function W8(e){return Ze.post(`${ls}/api/user/register`,e)}function t$(e){return Ze.post(`${ls}/api/user/login`,e)}function n$(){return Ze.get(`${ls}/api/user/getUserInfo`)}function j8(e){return Ze.post(`${ls}/api/user/updateUser`,e)}function z8(e){return Ze.get(`${ls}/api/user/resetPwdByCode`,e)}const o$=!1,r$=[{iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/homeHL.png",pagePath:"pages/index/index",iconType:"uiLib",text:"home"},{iconPath:"/static/tabbar/income.png",selectedIconPath:"/static/tabbar/incomeHL.png",pagePath:"pages/income/income",iconType:"uiLib",text:"income"},{iconPath:"/static/tabbar/mine.png",selectedIconPath:"/static/tabbar/mineHL.png",pagePath:"pages/mine/mine",iconType:"uiLib",text:"mine"}];function nf(e){return!e||typeof e!="object"||Array.isArray(e)?"":Object.entries(e).filter(([t,n])=>n!=null).map(([t,n])=>{const o=encodeURIComponent(t);return Array.isArray(n)?n.filter(r=>r!=null).map(r=>`${o}=${encodeURIComponent(r)}`).join("&"):`${o}=${encodeURIComponent(n)}`}).join("&")}function G8(e=1){e0({delta:e})}function ii({url:e,params:t,isRedirect:n=!1,isReLaunch:o=!1}){let r=e+(o?"?isReLaunch=1":"");const s=["/pages/index/index","/pages/income/income","/pages/mine/mine"];if(t&&Object.keys(t).length>0){const i=nf(t);r=`${e}?${i+(o?"&isReLaunch=1":"")}`}s.includes(e)?xl({url:r}):n?Nd({url:r}):o?$d({url:r}):t0({url:r})}function Ji(e){const t={type:"info",duration:2e3,position:"middle",message:""},n=typeof e=="string"?we(ae({},t),{message:e}):ae(ae({},t),e),o={top:"top",middle:"center",bottom:"bottom"},r={success:"success",error:"error",warning:"fail",info:"none"};Rl({title:n.message,duration:n.duration,position:o[n.position],icon:n.icon||r[n.type],mask:!0})}const xn={success:(e,t)=>Ji(we(ae({},t),{type:"success",message:e})),error:(e,t)=>Ji(we(ae({},t),{type:"error",message:e})),warning:(e,t)=>Ji(we(ae({},t),{type:"warning",message:e})),info:(e,t)=>Ji(we(ae({},t),{type:"info",message:e}))},Eg={headPic:"/static/images/default-avatar.png"},Pi=sw("user",()=>{const e=H(ae({},Eg)),t=H(""),n=i=>{e.value=i},o=()=>{e.value=ae({},Eg),t.value="",Cu("userInfo"),Cu("token")},r=()=>de(void 0,null,function*(){const i=yield n$(),a=i.data;return n(a),lt("userInfo",a),i});return{userInfo:e,token:t,getUserInfo:r,setUserInfo:n,removeUserInfo:o,login:(i,a)=>de(void 0,null,function*(){try{s0({title:Pn("auth.login.loading"),mask:!0});const l=yield t$(i);return xu(),l.code==="200"&&l.data&&l.data.token&&(t.value=l.data.token,lt("token",l.data.token),hw({jpushDeviceId:st("registerID")}),yield r()),xn.success(Pn("auth.login.success")),setTimeout(()=>{ii(a?{url:decodeURIComponent(a),isRedirect:!0}:{url:"/pages/index/index",isReLaunch:!0})},1500),l}catch(l){throw xu(),xn.error(l.message||Pn("auth.login.error.failed")),l}})}},{persist:!0}),s$={navigationStyle:"default",navigationBarTitleText:"BandhuBuy",navigationBarBackgroundColor:"#f8f8f8",navigationBarTextStyle:"black",backgroundColor:"#FFFFFF",pageOrientation:"auto","app-plus":{scrollIndicator:"none",screenOrientation:["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"]}},i$={autoscan:!0,custom:{"^fg-(.*)":"@/components/fg-$1/fg-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},a$={color:"#999999",selectedColor:"#e61b28",backgroundColor:"#ffffff",borderStyle:"#c1c1c1",height:"50px",fontSize:"10px",iconWidth:"24px",spacing:"3px",list:[{iconPath:"static/tabbar/home.png",selectedIconPath:"static/tabbar/homeHL.png",pagePath:"pages/index/index"},{iconPath:"static/tabbar/income.png",selectedIconPath:"static/tabbar/incomeHL.png",pagePath:"pages/income/income"},{iconPath:"static/tabbar/mine.png",selectedIconPath:"static/tabbar/mineHL.png",pagePath:"pages/mine/mine"}]},iw=[{path:"pages/index/index",type:"home",layout:"tabbar",style:{navigationStyle:"custom"}},{path:"pages/bestSellers/bestSellers",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/forgotPassword/forgotPassword",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/income/income",type:"page",layout:"tabbar",style:{navigationBarTitleText:"%income.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/login/login",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/mine/addressBook",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%addressBook.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/addressBookOperate",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%addressBook.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/mine",type:"page",layout:"tabbar",style:{navigationStyle:"custom"}},{path:"pages/mine/myFavorite",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%mine.pages.myFavorite.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/myProfile",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%myProfile.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/setting",type:"page",layout:"default",style:{navigationBarTitleText:"%setting.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/mine/share",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom",navigationBarTitleText:"%mine.pages.share.title%"}},{path:"pages/missionCenter/missionCenter",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%missionCenter.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/myOrders/myOrders",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%myOrders.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/myOrders/orderDetail",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%orderDetail.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/notifications/notifications",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom"}},{path:"pages/productDetail/checkOut",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%checkout.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/productDetail/productDetail",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/referEarn/referEarn",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom"}},{path:"pages/register/register",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/search/search",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/topChampions/topChampions",type:"page",layout:"default",style:{navigationStyle:"custom"}},{path:"pages/vipMembership/vipMembership",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%vipMembership.title%",navigationBarBackgroundColor:"#FFFFFF"}},{path:"pages/wallet/frozenRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.frozenRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/myWallet",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.myWallet.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/recharge",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.recharge.title%",navigationBarBackgroundColor:"#fff","app-plus":{titleNView:{buttons:[{text:"Record",fontSize:"28rpx",width:"85px"}]}}}},{path:"pages/wallet/rechargeRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.rechargeRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/wallet/withdraw",type:"page",layout:"default",needLogin:!0,style:{navigationStyle:"custom",navigationBarTitleText:"%wallet.withdraw.title%"}},{path:"pages/wallet/withdrawRecord",type:"page",layout:"default",needLogin:!0,style:{navigationBarTitleText:"%wallet.withdrawRecord.title%",navigationBarBackgroundColor:"#fff"}},{path:"pages/webLink/webLink",type:"page",layout:"default",style:{navigationBarTitleText:"",navigationBarBackgroundColor:"#fff"}},{path:"uni_modules/uni-upgrade-center-app/pages/upgrade-popup",style:{disableScroll:!0,"app-plus":{backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200}}}],aw=[],lw={globalStyle:s$,easycom:i$,tabBar:a$,pages:iw,subPackages:aw},l$="h5",cw="h5".startsWith("mp-weixin");function uw(){const e=on();return e[e.length-1]}function c$(){const{route:e,options:t}=uw();let n=`/${e}`;if(t&&Object.keys(t).length>0){const o=nf(t);n=`${n}?${o}`}return n}function u$(e="needLogin"){const t=iw.filter(r=>!e||r[e]).map(r=>we(ae({},r),{path:`/${r.path}`})),n=[];return aw.forEach(r=>{const{root:s}=r;r.pages.filter(i=>!e||i[e]).forEach(i=>{n.push(we(ae({},i),{path:`/${s}/${i.path}`}))})}),[...t,...n]}const dw=u$("needLogin").map(e=>e.path);function d$(){let e="https://api.bandhubuy.com";if(cw){const{miniProgram:{envVersion:t}}=uni.getAccountInfoSync();switch(t){case"develop":e="https://ukw0y1.laf.run";break;case"trial":e="https://ukw0y1.laf.run";break;case"release":e="https://ukw0y1.laf.run";break}}return e}function K8(){let e="https://api.bandhubuy.com/operating/file/upload";if(cw){const{miniProgram:{envVersion:t}}=uni.getAccountInfoSync();switch(t){case"develop":e="https://ukw0y1.laf.run/upload";break;case"trial":e="https://ukw0y1.laf.run/upload";break;case"release":e="https://ukw0y1.laf.run/upload";break}}return e}function Y8(e){return Object.entries(e).map(([t,n])=>{const o=encodeURIComponent(t),r=n==null?"":encodeURIComponent(String(n));return`${o}=${r}`}).join("&")}function X8(e,t=2){if(e==null||e==="")return t===0?"0":`0.${"0".repeat(t)}`;const n=typeof e=="string"?Number.parseFloat(e):e;return Number.isNaN(n)?t===0?"0":`0.${"0".repeat(t)}`:(t===0?Math.round(n).toString():n.toFixed(t)).replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g,"$&,")}function J8(e){if(e==null||e==="")return"0";const t=typeof e=="string"?Number.parseFloat(e):e;if(Number.isNaN(t))return"0";if(t<1e3)return Math.round(t).toString();const n=t/1e3;return n%1===0?`${Math.round(n)}K`:`${n.toFixed(1)}K`}function Ze(e){return new Promise((t,n)=>{Ml(we(ae({},e),{dataType:"json",responseType:"json",success(o){const r=Pi();if(o.statusCode>=200&&o.statusCode<300)if(o.data.code==="200")t(o.data);else if(o.data.code==="598"){r.removeUserInfo(),xn.error(o.data.msg||o.data.message);const s=c$();ii({url:"/pages/login/login",params:{redirect:s},isReLaunch:!0})}else xn.error(o.data.msg||o.data.message||Pn("common.error.request")),n(o.data);else o.statusCode===401||!e.hideErrorToast&&xn.info(o.data.msg||o.data.message||Pn("common.error.request")),n(o)},fail(o){xn.error(Pn("common.error.network")),n(o)}}))})}function f$(e,t,n,o){return Ze(ae({url:e,query:t,method:"GET",header:n},o))}function h$(e,t,n,o,r){return Ze(ae({url:e,query:n,data:t,method:"POST",header:o},r))}function p$(e,t,n,o,r){return Ze(ae({url:e,data:t,query:n,method:"PUT",header:o},r))}function g$(e,t,n,o){return Ze(ae({url:e,query:t,method:"DELETE",header:n},o))}Ze.get=f$;Ze.post=h$;Ze.put=p$;Ze.delete=g$;const Ho="/mall",m$="/cif",fw="/operating";function y$(e){return Ze.get(`${m$}/api/user/getEnum`,e)}function Q8(e){return Ze.get(`${fw}/divisions/treeList`,e)}function Z8(e){return Ze.post(`${Ho}/app/banner/list`,e)}function v$(e){return Ze.get(`${fw}/config/getConfigByCode`,e)}function e4(e){return Ze.get(`${Ho}/app/notice/page`,e)}function t4(){return Ze.get(`${Ho}/app/notice/unread`)}function n4(e){return Ze.put(`${Ho}/app/notice/read/${e}`)}function o4(){return Ze.get(`${Ho}/app/notice/readAll`)}function r4(e){return Ze.delete(`${Ho}/app/notice/delete/${e}`)}function hw(e){return Ze.post(`${Ho}/app/jpush/bindUser`,e)}function s4(e){return Ze.get(`${Ho}/app/adv/advList`,e)}function _$(e){return typeof e=="object"&&e!==null}function Ig(e,t){return e=_$(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){return o==="key"?Reflect.get(n,o,r):Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function w$(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function b$(e,t,n){return t.slice(0,-1).reduce((o,r)=>/^(__proto__)$/.test(r)?{}:o[r]=o[r]||{},e)[t[t.length-1]]=n,e}function S$(e,t){return t.reduce((n,o)=>{const r=o.split(".");return b$(n,r,w$(e,r))},{})}function T$(e,t){return n=>{var o;try{const{storage:r=localStorage,beforeRestore:s=void 0,afterRestore:i=void 0,serializer:a={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:r,beforeRestore:s,afterRestore:i,serializer:a,key:((o=e.key)!=null?o:d=>d)(typeof l=="string"?l:l(t.$id)),paths:c,debug:u}}catch(r){return n.debug,null}}}function Ag(e,{storage:t,serializer:n,key:o,debug:r}){try{const s=t==null?void 0:t.getItem(o);s&&e.$patch(n==null?void 0:n.deserialize(s))}catch(s){}}function Og(e,{storage:t,serializer:n,key:o,paths:r,debug:s}){try{const i=Array.isArray(r)?S$(e,r):e;t.setItem(o,n.serialize(i))}catch(i){}}function C$(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:r,pinia:s}=t;if(!o)return;if(!(r.$id in s.state.value)){const a=s._s.get(r.$id.replace("__hot:",""));a&&Promise.resolve().then(()=>a.$persist());return}const i=(Array.isArray(o)?o.map(a=>Ig(a,e)):[Ig(o,e)]).map(T$(e,r)).filter(Boolean);r.$persist=()=>{i.forEach(a=>{Og(r.$state,a)})},r.$hydrate=({runHooks:a=!0}={})=>{i.forEach(l=>{const{beforeRestore:c,afterRestore:u}=l;a&&(c==null||c(t)),Ag(r,l),a&&(u==null||u(t))})},i.forEach(a=>{const{beforeRestore:l,afterRestore:c}=a;l==null||l(t),Ag(r,a),c==null||c(t),r.$subscribe((u,d)=>{Og(d,a)},{detached:!0})})}}sw("dict",()=>{const e=H({});function t(n){return de(this,null,function*(){const o=yield y$({id:n});e.value=o.data})}return{dict:e,getDict:t}},{persist:!0});const pw=XN();pw.use(C$({storage:{getItem:st,setItem:lt}}));const k$="/pages/login/login";function gw(){return!!Pi().token}function i4(){return Pi().userInfo}function a4(e){return gw()?!0:(ii({url:"/pages/login/login"}),!1)}function x$(){U0(e=>{const t=on(),o=`/${t[t.length-1].route}`;let r=[];if(r=dw,!r.includes(o))return;if(gw())return!0;const a=Object.entries(e||{}).map(([u,d])=>`${u}=${encodeURIComponent(String(d))}`).join("&"),l=a?`${o}?${a}`:o,c=`${k$}?redirect=${encodeURIComponent(l)}`;Nd({url:c})})}var P$=[];function E$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Un(e,t,n){return e(n={path:t,exports:{},require:function(o,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(r==null&&n.path)}},n.exports),n.exports}var I$=Un(function(e,t){var n;e.exports=(n=n||function(o,r){var s=Object.create||function(){function m(){}return function(y){var _;return m.prototype=y,_=new m,m.prototype=null,_}}(),i={},a=i.lib={},l=a.Base={extend:function(m){var y=s(this);return m&&y.mixIn(m),y.hasOwnProperty("init")&&this.init!==y.init||(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var y in m)m.hasOwnProperty(y)&&(this[y]=m[y]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=l.extend({init:function(m,y){m=this.words=m||[],this.sigBytes=y!=r?y:4*m.length},toString:function(m){return(m||d).stringify(this)},concat:function(m){var y=this.words,_=m.words,g=this.sigBytes,p=m.sigBytes;if(this.clamp(),g%4)for(var T=0;T<p;T++){var S=_[T>>>2]>>>24-T%4*8&255;y[g+T>>>2]|=S<<24-(g+T)%4*8}else for(T=0;T<p;T+=4)y[g+T>>>2]=_[T>>>2];return this.sigBytes+=p,this},clamp:function(){var m=this.words,y=this.sigBytes;m[y>>>2]&=4294967295<<32-y%4*8,m.length=o.ceil(y/4)},clone:function(){var m=l.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var y,_=[],g=function(S){S=S;var k=987654321,C=4294967295;return function(){var E=((k=36969*(65535&k)+(k>>16)&C)<<16)+(S=18e3*(65535&S)+(S>>16)&C)&C;return E/=4294967296,(E+=.5)*(o.random()>.5?1:-1)}},p=0;p<m;p+=4){var T=g(4294967296*(y||o.random()));y=987654071*T(),_.push(4294967296*T()|0)}return new c.init(_,m)}}),u=i.enc={},d=u.Hex={stringify:function(m){for(var y=m.words,_=m.sigBytes,g=[],p=0;p<_;p++){var T=y[p>>>2]>>>24-p%4*8&255;g.push((T>>>4).toString(16)),g.push((15&T).toString(16))}return g.join("")},parse:function(m){for(var y=m.length,_=[],g=0;g<y;g+=2)_[g>>>3]|=parseInt(m.substr(g,2),16)<<24-g%8*4;return new c.init(_,y/2)}},f=u.Latin1={stringify:function(m){for(var y=m.words,_=m.sigBytes,g=[],p=0;p<_;p++){var T=y[p>>>2]>>>24-p%4*8&255;g.push(String.fromCharCode(T))}return g.join("")},parse:function(m){for(var y=m.length,_=[],g=0;g<y;g++)_[g>>>2]|=(255&m.charCodeAt(g))<<24-g%4*8;return new c.init(_,y)}},h=u.Utf8={stringify:function(m){try{return decodeURIComponent(escape(f.stringify(m)))}catch(y){throw new Error("Malformed UTF-8 data")}},parse:function(m){return f.parse(unescape(encodeURIComponent(m)))}},w=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=h.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var y=this._data,_=y.words,g=y.sigBytes,p=this.blockSize,T=g/(4*p),S=(T=m?o.ceil(T):o.max((0|T)-this._minBufferSize,0))*p,k=o.min(4*S,g);if(S){for(var C=0;C<S;C+=p)this._doProcessBlock(_,C);var E=_.splice(0,S);y.sigBytes-=k}return new c.init(E,k)},clone:function(){var m=l.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});a.Hasher=w.extend({cfg:l.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){w.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){return m&&this._append(m),this._doFinalize()},blockSize:16,_createHelper:function(m){return function(y,_){return new m.init(_).finalize(y)}},_createHmacHelper:function(m){return function(y,_){return new v.HMAC.init(m,_).finalize(y)}}});var v=i.algo={};return i}(Math),n)}),Po=I$,A$=(Un(function(e,t){var n;e.exports=(n=Po,function(o){var r=n,s=r.lib,i=s.WordArray,a=s.Hasher,l=r.algo,c=[];(function(){for(var v=0;v<64;v++)c[v]=4294967296*o.abs(o.sin(v+1))|0})();var u=l.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,m){for(var y=0;y<16;y++){var _=m+y,g=v[_];v[_]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var p=this._hash.words,T=v[m+0],S=v[m+1],k=v[m+2],C=v[m+3],E=v[m+4],I=v[m+5],A=v[m+6],P=v[m+7],B=v[m+8],ee=v[m+9],R=v[m+10],z=v[m+11],te=v[m+12],X=v[m+13],N=v[m+14],Z=v[m+15],U=p[0],K=p[1],G=p[2],q=p[3];U=d(U,K,G,q,T,7,c[0]),q=d(q,U,K,G,S,12,c[1]),G=d(G,q,U,K,k,17,c[2]),K=d(K,G,q,U,C,22,c[3]),U=d(U,K,G,q,E,7,c[4]),q=d(q,U,K,G,I,12,c[5]),G=d(G,q,U,K,A,17,c[6]),K=d(K,G,q,U,P,22,c[7]),U=d(U,K,G,q,B,7,c[8]),q=d(q,U,K,G,ee,12,c[9]),G=d(G,q,U,K,R,17,c[10]),K=d(K,G,q,U,z,22,c[11]),U=d(U,K,G,q,te,7,c[12]),q=d(q,U,K,G,X,12,c[13]),G=d(G,q,U,K,N,17,c[14]),U=f(U,K=d(K,G,q,U,Z,22,c[15]),G,q,S,5,c[16]),q=f(q,U,K,G,A,9,c[17]),G=f(G,q,U,K,z,14,c[18]),K=f(K,G,q,U,T,20,c[19]),U=f(U,K,G,q,I,5,c[20]),q=f(q,U,K,G,R,9,c[21]),G=f(G,q,U,K,Z,14,c[22]),K=f(K,G,q,U,E,20,c[23]),U=f(U,K,G,q,ee,5,c[24]),q=f(q,U,K,G,N,9,c[25]),G=f(G,q,U,K,C,14,c[26]),K=f(K,G,q,U,B,20,c[27]),U=f(U,K,G,q,X,5,c[28]),q=f(q,U,K,G,k,9,c[29]),G=f(G,q,U,K,P,14,c[30]),U=h(U,K=f(K,G,q,U,te,20,c[31]),G,q,I,4,c[32]),q=h(q,U,K,G,B,11,c[33]),G=h(G,q,U,K,z,16,c[34]),K=h(K,G,q,U,N,23,c[35]),U=h(U,K,G,q,S,4,c[36]),q=h(q,U,K,G,E,11,c[37]),G=h(G,q,U,K,P,16,c[38]),K=h(K,G,q,U,R,23,c[39]),U=h(U,K,G,q,X,4,c[40]),q=h(q,U,K,G,T,11,c[41]),G=h(G,q,U,K,C,16,c[42]),K=h(K,G,q,U,A,23,c[43]),U=h(U,K,G,q,ee,4,c[44]),q=h(q,U,K,G,te,11,c[45]),G=h(G,q,U,K,Z,16,c[46]),U=w(U,K=h(K,G,q,U,k,23,c[47]),G,q,T,6,c[48]),q=w(q,U,K,G,P,10,c[49]),G=w(G,q,U,K,N,15,c[50]),K=w(K,G,q,U,I,21,c[51]),U=w(U,K,G,q,te,6,c[52]),q=w(q,U,K,G,C,10,c[53]),G=w(G,q,U,K,R,15,c[54]),K=w(K,G,q,U,S,21,c[55]),U=w(U,K,G,q,B,6,c[56]),q=w(q,U,K,G,Z,10,c[57]),G=w(G,q,U,K,A,15,c[58]),K=w(K,G,q,U,X,21,c[59]),U=w(U,K,G,q,E,6,c[60]),q=w(q,U,K,G,z,10,c[61]),G=w(G,q,U,K,k,15,c[62]),K=w(K,G,q,U,ee,21,c[63]),p[0]=p[0]+U|0,p[1]=p[1]+K|0,p[2]=p[2]+G|0,p[3]=p[3]+q|0},_doFinalize:function(){var v=this._data,m=v.words,y=8*this._nDataBytes,_=8*v.sigBytes;m[_>>>5]|=128<<24-_%32;var g=o.floor(y/4294967296),p=y;m[15+(_+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),m[14+(_+64>>>9<<4)]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),v.sigBytes=4*(m.length+1),this._process();for(var T=this._hash,S=T.words,k=0;k<4;k++){var C=S[k];S[k]=16711935&(C<<8|C>>>24)|4278255360&(C<<24|C>>>8)}return T},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});function d(v,m,y,_,g,p,T){var S=v+(m&y|~m&_)+g+T;return(S<<p|S>>>32-p)+m}function f(v,m,y,_,g,p,T){var S=v+(m&_|y&~_)+g+T;return(S<<p|S>>>32-p)+m}function h(v,m,y,_,g,p,T){var S=v+(m^y^_)+g+T;return(S<<p|S>>>32-p)+m}function w(v,m,y,_,g,p,T){var S=v+(y^(m|~_))+g+T;return(S<<p|S>>>32-p)+m}r.MD5=a._createHelper(u),r.HmacMD5=a._createHmacHelper(u)}(Math),n.MD5)}),Un(function(e,t){var n;e.exports=(n=Po,void function(){var o=n,r=o.lib.Base,s=o.enc.Utf8;o.algo.HMAC=r.extend({init:function(i,a){i=this._hasher=new i.init,typeof a=="string"&&(a=s.parse(a));var l=i.blockSize,c=4*l;a.sigBytes>c&&(a=i.finalize(a)),a.clamp();for(var u=this._oKey=a.clone(),d=this._iKey=a.clone(),f=u.words,h=d.words,w=0;w<l;w++)f[w]^=1549556828,h[w]^=909522486;u.sigBytes=d.sigBytes=c,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var a=this._hasher,l=a.finalize(i);return a.reset(),a.finalize(this._oKey.clone().concat(l))}})}())}),Un(function(e,t){e.exports=Po.HmacMD5})),O$=Un(function(e,t){e.exports=Po.enc.Utf8}),L$=Un(function(e,t){var n;e.exports=(n=Po,function(){var o=n,r=o.lib.WordArray;function s(i,a,l){for(var c=[],u=0,d=0;d<a;d++)if(d%4){var f=l[i.charCodeAt(d-1)]<<d%4*2,h=l[i.charCodeAt(d)]>>>6-d%4*2;c[u>>>2]|=(f|h)<<24-u%4*8,u++}return r.create(c,u)}o.enc.Base64={stringify:function(i){var a=i.words,l=i.sigBytes,c=this._map;i.clamp();for(var u=[],d=0;d<l;d+=3)for(var f=(a[d>>>2]>>>24-d%4*8&255)<<16|(a[d+1>>>2]>>>24-(d+1)%4*8&255)<<8|a[d+2>>>2]>>>24-(d+2)%4*8&255,h=0;h<4&&d+.75*h<l;h++)u.push(c.charAt(f>>>6*(3-h)&63));var w=c.charAt(64);if(w)for(;u.length%4;)u.push(w);return u.join("")},parse:function(i){var a=i.length,l=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var u=0;u<l.length;u++)c[l.charCodeAt(u)]=u}var d=l.charAt(64);if(d){var f=i.indexOf(d);f!==-1&&(a=f)}return s(i,a,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)});const Lg="FUNCTION",M$="OBJECT",R$="CLIENT_DB",Mg="pending",D$="fulfilled",Rg="rejected";function ai(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function mw(e){return ai(e)==="object"}function yw(e){return typeof e=="function"}function N$(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}const Dg="REJECTED",vw="NOT_PENDING";class _w{constructor({createPromise:t,retryRule:n=Dg}={}){this.createPromise=t,this.status=null,this.promise=null,this.retryRule=n}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case Dg:return this.status===Rg;case vw:return this.status!==Mg}}exec(){return this.needRetry?(this.status=Mg,this.promise=this.createPromise().then(t=>(this.status=D$,Promise.resolve(t)),t=>(this.status=Rg,Promise.reject(t))),this.promise):this.promise}}function of(e){return e&&typeof e=="string"?JSON.parse(e):e}const $$=!1,B$=of(P$),Ei="web";of("");const F$=of('[{"provider":"aliyun","spaceName":"txz","spaceId":"mp-489f4121-636a-44cd-b309-a132a68309a7","clientSecret":"pQdaaoicYrJIXCB15wrgSQ==","endpoint":"https://api.next.bspapp.com"}]')||[];let U$="";try{U$="__UNI__BA8433E"}catch(e){}let bc,Sc={};function es(e,t={}){var n,o;return n=Sc,o=e,Object.prototype.hasOwnProperty.call(n,o)||(Sc[e]=t),Sc[e]}function V$(){return bc||(bc=function(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;function e(){return this}return e()!==void 0?e():new Function("return this")()}(),bc)}const ww=["invoke","success","fail","complete"],$n=es("_globalUniCloudInterceptor");function bw(e,t){$n[e]||($n[e]={}),mw(t)&&Object.keys(t).forEach(n=>{ww.indexOf(n)>-1&&function(o,r,s){let i=$n[o][r];i||(i=$n[o][r]=[]),i.indexOf(s)===-1&&yw(s)&&i.push(s)}(e,n,t[n])})}function q$(e,t){$n[e]||($n[e]={}),mw(t)?Object.keys(t).forEach(n=>{ww.indexOf(n)>-1&&function(o,r,s){const i=$n[o][r];if(!i)return;const a=i.indexOf(s);a>-1&&i.splice(a,1)}(e,n,t[n])}):delete $n[e]}function Vt(e,t){return e&&e.length!==0?e.reduce((n,o)=>n.then(()=>o(t)),Promise.resolve()):Promise.resolve()}function qt(e,t){return $n[e]&&$n[e][t]||[]}function H$(e){bw("callObject",e)}const Tc=es("_globalUniCloudListener"),Bn="response",ts="needLogin",Qa="refreshToken",Ng="clientdb",Qi="cloudfunction",$g="cloudobject";function Ii(e){return Tc[e]||(Tc[e]=[]),Tc[e]}function Cc(e,t){const n=Ii(e);n.includes(t)||n.push(t)}function kc(e,t){const n=Ii(e),o=n.indexOf(t);o!==-1&&n.splice(o,1)}function mn(e,t){const n=Ii(e);for(let o=0;o<n.length;o++)(0,n[o])(t)}let xc,Pc=!1;function Sw(){return xc||(xc=new Promise(e=>{Pc&&e(),function t(){if(typeof on=="function"){const n=on();n&&n[0]&&(Pc=!0,e())}Pc||setTimeout(()=>{t()},30)}()}),xc)}function Tw(e){const t={};for(const n in e){const o=e[n];yw(o)&&(t[n]=N$(o))}return t}class he extends Error{constructor(t){super(t.message),this.errMsg=t.message||t.errMsg||"unknown system error",this.code=this.errCode=t.code||t.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=t.subject||t.errSubject,this.cause=t.cause,this.requestId=t.requestId}toJson(t=0){if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}var wt={request:e=>Ml(e),uploadFile:e=>iM(e),setStorageSync:(e,t)=>lt(e,t),getStorageSync:e=>st(e),removeStorageSync:e=>Cu(e),clearStorageSync:()=>BL(),connectSocket:e=>lM(e)};function Cw(e){return e&&Cw(e.__v_raw)||e}function li(){return{token:wt.getStorageSync("uni_id_token")||wt.getStorageSync("uniIdToken"),tokenExpired:wt.getStorageSync("uni_id_token_expired")}}function kw({token:e,tokenExpired:t}={}){e&&wt.setStorageSync("uni_id_token",e),t&&wt.setStorageSync("uni_id_token_expired",t)}let Ec,Zi;function xw(){return Ec||(Ec=Cn()),Ec}function W$(){let e,t;try{if(pa){if(pa.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:o}=pa();e=o,t=n}}catch(n){}return{channel:e,scene:t}}let Uu={};function Vu(){const e=to&&to()||"en";if(Zi)return we(ae(ae({},Uu),Zi),{locale:e,LOCALE:e});const t=xw(),{deviceId:n,osName:o,uniPlatform:r,appId:s}=t,i=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const a in t)Object.hasOwnProperty.call(t,a)&&i.indexOf(a)===-1&&delete t[a];return Zi=ae(ae({PLATFORM:r,OS:o,APPID:s,DEVICEID:n},W$()),t),we(ae(ae({},Uu),Zi),{locale:e,LOCALE:e})}var Or={sign:function(e,t){let n="";return Object.keys(e).sort().forEach(function(o){e[o]&&(n=n+"&"+o+"="+e[o])}),n=n.slice(1),A$(n,t).toString()},wrappedRequest:function(e,t){return new Promise((n,o)=>{t(Object.assign(e,{complete(r){r||(r={});const s=r.data&&r.data.header&&r.data.header["x-serverless-request-id"]||r.header&&r.header["request-id"];if(!r.statusCode||r.statusCode>=400){const a=r.data&&r.data.error&&r.data.error.code||"SYS_ERR",l=r.data&&r.data.error&&r.data.error.message||r.errMsg||"request:fail";return o(new he({code:a,message:l,requestId:s}))}const i=r.data;if(i.error)return o(new he({code:i.error.code,message:i.error.message,requestId:s}));i.result=i.data,i.requestId=s,delete i.data,n(i)}}))})},toBase64:function(e){return L$.stringify(O$.parse(e))}},j$=class{constructor(e){["spaceId","clientSecret"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),this.config=Object.assign({},{endpoint:e.spaceId.indexOf("mp-")===0?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=wt,this._getAccessTokenPromiseHub=new _w({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then(t=>{if(!t.result||!t.result.accessToken)throw new he({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(t.result.accessToken)}),retryRule:vw})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return Or.wrappedRequest(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then(()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch(n=>new Promise((o,r)=>{!n||n.code!=="GATEWAY_INVALID_TOKEN"&&n.code!=="InvalidParameter.InvalidToken"?r(n):o()}).then(()=>this.getAccessToken()).then(()=>{const o=this.rebuildRequest(e);return this.request(o,!0)})):this.getAccessToken().then(()=>{const n=this.rebuildRequest(e);return this.request(n,!0)}))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Or.sign(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};return t!=="auth"&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=Or.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:o}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}authorize(){return de(this,null,function*(){yield this.getAccessToken()})}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(we(ae({},this.setupRequest(t)),{timeout:e.timeout}))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:r,onUploadProgress:s}){return new Promise((i,a)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:r,header:{"X-OSS-server-side-encrpytion":"AES256"},success(c){c&&c.statusCode<400?i(c):a(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(c){a(new he({code:c.code||"UPLOAD_FAILED",message:c.message||c.errMsg||"文件上传失败"}))}});typeof s=="function"&&l&&typeof l.onProgressUpdate=="function"&&l.onProgressUpdate(c=>{s({loaded:c.totalBytesSent,total:c.totalBytesExpectedToSend})})})}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFile(i){return de(this,arguments,function*({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:o=!1,onUploadProgress:r,config:s}){if(ai(t)!=="string")throw new he({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new he({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new he({code:"INVALID_PARAM",message:"cloudPath不合法"});const a=s&&s.envType||this.config.envType;if(o&&(t[0]!=="/"&&(t="/"+t),t.indexOf("\\")>-1))throw new he({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const l=(yield this.getOSSUploadOptionsFromPath({env:a,filename:o?t.split("/").pop():t,fileId:o?t:void 0})).result,c="https://"+l.cdnDomain+"/"+l.ossPath,{securityToken:u,accessKeyId:d,signature:f,host:h,ossPath:w,id:v,policy:m,ossCallbackUrl:y}=l,_={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:d,Signature:f,host:h,id:v,key:w,policy:m,success_action_status:200};if(u&&(_["x-oss-security-token"]=u),y){const p=JSON.stringify({callbackUrl:y,callbackBody:JSON.stringify({fileId:v,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});_.callback=Or.toBase64(p)}const g={url:"https://"+l.host,formData:_,fileName:"file",name:"file",filePath:e,fileType:n};if(yield this.uploadFileToOSS(Object.assign({},g,{onUploadProgress:r})),y)return{success:!0,filePath:e,fileID:c};if((yield this.reportOSSUpload({id:v})).success)return{success:!0,filePath:e,fileID:c};throw new he({code:"UPLOAD_FAILED",message:"文件上传失败"})})}getTempFileURL({fileList:e}={}){return new Promise((t,n)=>{Array.isArray(e)&&e.length!==0||n(new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map(o=>({fileID:o,tempFileURL:o}))})})}getFileInfo(){return de(this,arguments,function*({fileList:e}={}){if(!Array.isArray(e)||e.length===0)throw new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map(n=>n.split("?")[0]).join(",")})};return{fileList:(yield this.request(this.setupRequest(t))).result}})}},z$={init(e){const t=new j$(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const G$=typeof location!="undefined"&&location.protocol==="http:"?"http:":"https:";var Bg;(function(e){e.local="local",e.none="none",e.session="session"})(Bg||(Bg={}));var K$=function(){},Y$=Un(function(e,t){var n;e.exports=(n=Po,function(o){var r=n,s=r.lib,i=s.WordArray,a=s.Hasher,l=r.algo,c=[],u=[];(function(){function h(y){for(var _=o.sqrt(y),g=2;g<=_;g++)if(!(y%g))return!1;return!0}function w(y){return 4294967296*(y-(0|y))|0}for(var v=2,m=0;m<64;)h(v)&&(m<8&&(c[m]=w(o.pow(v,.5))),u[m]=w(o.pow(v,1/3)),m++),v++})();var d=[],f=l.SHA256=a.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(h,w){for(var v=this._hash.words,m=v[0],y=v[1],_=v[2],g=v[3],p=v[4],T=v[5],S=v[6],k=v[7],C=0;C<64;C++){if(C<16)d[C]=0|h[w+C];else{var E=d[C-15],I=(E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3,A=d[C-2],P=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;d[C]=I+d[C-7]+P+d[C-16]}var B=m&y^m&_^y&_,ee=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),R=k+((p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25))+(p&T^~p&S)+u[C]+d[C];k=S,S=T,T=p,p=g+R|0,g=_,_=y,y=m,m=R+(ee+B)|0}v[0]=v[0]+m|0,v[1]=v[1]+y|0,v[2]=v[2]+_|0,v[3]=v[3]+g|0,v[4]=v[4]+p|0,v[5]=v[5]+T|0,v[6]=v[6]+S|0,v[7]=v[7]+k|0},_doFinalize:function(){var h=this._data,w=h.words,v=8*this._nDataBytes,m=8*h.sigBytes;return w[m>>>5]|=128<<24-m%32,w[14+(m+64>>>9<<4)]=o.floor(v/4294967296),w[15+(m+64>>>9<<4)]=v,h.sigBytes=4*w.length,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});r.SHA256=a._createHelper(f),r.HmacSHA256=a._createHmacHelper(f)}(Math),n.SHA256)}),qu=Y$,Pw=Un(function(e,t){e.exports=Po.HmacSHA256});const Ai=()=>{let e;if(!Promise){e=()=>{},e.promise={};const n=()=>{throw new he({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:n}),Object.defineProperty(e.promise,"catch",{get:n}),e}const t=new Promise((n,o)=>{e=(r,s)=>r?o(r):n(s)});return e.promise=t,e};function X$(e){return e===void 0}function J$(e){return Object.prototype.toString.call(e)==="[object Null]"}function Fg(e=""){return e.replace(/([\s\S]+)\s+(请前往云开发AI小助手查看问题:.*)/,"$1")}function Ug(e=32){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length;let o="";for(let r=0;r<e;r++)o+=t.charAt(Math.floor(Math.random()*n));return o}var Vg;function Q$(e){const t=(n=e,Object.prototype.toString.call(n)==="[object Array]"?e:[e]);var n;for(const o of t){const{isMatch:r,genAdapter:s,runtime:i}=o;if(r())return{adapter:s(),runtime:i}}}(function(e){e.WEB="web",e.WX_MP="wx_mp"})(Vg||(Vg={}));const xt={adapter:null,runtime:void 0},Z$=["anonymousUuidKey"];class Ic extends K${constructor(){super(),xt.adapter.root.tcbObject||(xt.adapter.root.tcbObject={})}setItem(t,n){xt.adapter.root.tcbObject[t]=n}getItem(t){return xt.adapter.root.tcbObject[t]}removeItem(t){delete xt.adapter.root.tcbObject[t]}clear(){delete xt.adapter.root.tcbObject}}function qg(e,t){switch(e){case"local":return t.localStorage||new Ic;case"none":return new Ic;default:return t.sessionStorage||new Ic}}class Hg{constructor(t){if(!this._storage){this._persistence=xt.adapter.primaryStorage||t.persistence,this._storage=qg(this._persistence,xt.adapter);const n=`access_token_${t.env}`,o=`access_token_expire_${t.env}`,r=`refresh_token_${t.env}`,s=`anonymous_uuid_${t.env}`,i=`login_type_${t.env}`,a="device_id",l=`token_type_${t.env}`,c=`user_info_${t.env}`;this.keys={accessTokenKey:n,accessTokenExpireKey:o,refreshTokenKey:r,anonymousUuidKey:s,loginTypeKey:i,userInfoKey:c,deviceIdKey:a,tokenTypeKey:l}}}updatePersistence(t){if(t===this._persistence)return;const n=this._persistence==="local";this._persistence=t;const o=qg(t,xt.adapter);for(const r in this.keys){const s=this.keys[r];if(n&&Z$.includes(r))continue;const i=this._storage.getItem(s);X$(i)||J$(i)||(o.setItem(s,i),this._storage.removeItem(s))}this._storage=o}setStore(t,n,o){if(!this._storage)return;const r={version:o||"localCachev1",content:n},s=JSON.stringify(r);try{this._storage.setItem(t,s)}catch(i){throw i}}getStore(t,n){try{if(!this._storage)return}catch(r){return""}n=n||"localCachev1";const o=this._storage.getItem(t);return o&&o.indexOf(n)>=0?JSON.parse(o).content:""}removeStore(t){this._storage.removeItem(t)}}const Ew={},Iw={};function cs(e){return Ew[e]}class Aw{constructor(t,n){this.data=n||null,this.name=t}}class eB extends Aw{constructor(t,n){super("error",{error:t,data:n}),this.error=t}}const rf=new class{constructor(){this._listeners={}}on(e,t){return function(n,o,r){r[n]=r[n]||[],r[n].push(o)}(e,t,this._listeners),this}off(e,t){return function(n,o,r){if(r&&r[n]){const s=r[n].indexOf(o);s!==-1&&r[n].splice(s,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof eB)return this;const n=typeof e=="string"?new Aw(e,t||{}):e,o=n.name;if(this._listens(o)){n.target=this;const r=this._listeners[o]?[...this._listeners[o]]:[];for(const s of r)s.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function ho(e,t){rf.on(e,t)}function Ht(e,t={}){rf.fire(e,t)}function tB(e,t){rf.off(e,t)}const ns="loginStateChanged",Ow="loginStateExpire",Eo="loginTypeChanged",Hu="anonymousConverted",Lw="refreshAccessToken";var ht;(function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"})(ht||(ht={}));class nB{constructor(){this._fnPromiseMap=new Map}run(t,n){return de(this,null,function*(){let o=this._fnPromiseMap.get(t);return o||(o=new Promise((r,s)=>de(this,null,function*(){try{yield this._runIdlePromise();const i=n();r(yield i)}catch(i){s(i)}finally{this._fnPromiseMap.delete(t)}})),this._fnPromiseMap.set(t,o)),o})}_runIdlePromise(){return Promise.resolve()}}class oB{constructor(t){this._singlePromise=new nB,this._cache=cs(t.env),this._baseURL=`https://${t.env}.ap-shanghai.tcb-api.tencentcloudapi.com`,this._reqClass=new xt.adapter.reqClass({timeout:t.timeout,timeoutMsg:`请求在${t.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]})}_getDeviceId(){if(this._deviceID)return this._deviceID;const{deviceIdKey:t}=this._cache.keys;let n=this._cache.getStore(t);return typeof n=="string"&&n.length>=16&&n.length<=48||(n=Ug(),this._cache.setStore(t,n)),this._deviceID=n,n}_request(r,s){return de(this,arguments,function*(t,n,o={}){const i={"x-request-id":Ug(),"x-device-id":this._getDeviceId()};if(o.withAccessToken){const{tokenTypeKey:a}=this._cache.keys,l=yield this.getAccessToken(),c=this._cache.getStore(a);i.authorization=`${c} ${l}`}return this._reqClass[o.method==="get"?"get":"post"]({url:`${this._baseURL}${t}`,data:n,headers:i})})}_fetchAccessToken(){return de(this,null,function*(){const{loginTypeKey:t,accessTokenKey:n,accessTokenExpireKey:o,tokenTypeKey:r}=this._cache.keys,s=this._cache.getStore(t);if(s&&s!==ht.ANONYMOUS)throw new he({code:"INVALID_OPERATION",message:"非匿名登录不支持刷新 access token"});const i=yield this._singlePromise.run("fetchAccessToken",()=>de(this,null,function*(){return(yield this._request("/auth/v1/signin/anonymously",{},{method:"post"})).data})),{access_token:a,expires_in:l,token_type:c}=i;return this._cache.setStore(r,c),this._cache.setStore(n,a),this._cache.setStore(o,Date.now()+1e3*l),a})}isAccessTokenExpired(t,n){let o=!0;return t&&n&&(o=n<Date.now()),o}getAccessToken(){return de(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n);return this.isAccessTokenExpired(o,r)?this._fetchAccessToken():o})}refreshAccessToken(){return de(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n,loginTypeKey:o}=this._cache.keys;return this._cache.removeStore(t),this._cache.removeStore(n),this._cache.setStore(o,ht.ANONYMOUS),this.getAccessToken()})}getUserInfo(){return de(this,null,function*(){return this._singlePromise.run("getUserInfo",()=>de(this,null,function*(){return(yield this._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"})).data}))})}}const Wg=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],rB={"X-SDK-Version":"1.3.5"};function Ac(e,t,n){const o=e[t];e[t]=function(r){const s={},i={};n.forEach(l=>{const{data:c,headers:u}=l.call(e,r);Object.assign(s,c),Object.assign(i,u)});const a=r.data;return a&&(()=>{var l;if(l=a,Object.prototype.toString.call(l)!=="[object FormData]")r.data=ae(ae({},a),s);else for(const c in s)a.append(c,s[c])})(),r.headers=ae(ae({},r.headers||{}),i),o.call(e,r)}}function Oc(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:we(ae({},rB),{"x-seqid":e})}}class sB{constructor(t={}){var n;this.config=t,this._reqClass=new xt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=cs(this.config.env),this._localCache=(n=this.config.env,Iw[n]),this.oauth=new oB(this.config),Ac(this._reqClass,"post",[Oc]),Ac(this._reqClass,"upload",[Oc]),Ac(this._reqClass,"download",[Oc])}post(t){return de(this,null,function*(){return yield this._reqClass.post(t)})}upload(t){return de(this,null,function*(){return yield this._reqClass.upload(t)})}download(t){return de(this,null,function*(){return yield this._reqClass.download(t)})}refreshAccessToken(){return de(this,null,function*(){let t,n;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{t=yield this._refreshAccessTokenPromise}catch(o){n=o}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,n)throw n;return t})}_refreshAccessToken(){return de(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o,loginTypeKey:r,anonymousUuidKey:s}=this._cache.keys;this._cache.removeStore(t),this._cache.removeStore(n);let i=this._cache.getStore(o);if(!i)throw new he({message:"未登录CloudBase"});const a={refresh_token:i},l=yield this.request("auth.fetchAccessTokenWithRefreshToken",a);if(l.data.code){const{code:c}=l.data;if(c==="SIGN_PARAM_INVALID"||c==="REFRESH_TOKEN_EXPIRED"||c==="INVALID_REFRESH_TOKEN"){if(this._cache.getStore(r)===ht.ANONYMOUS&&c==="INVALID_REFRESH_TOKEN"){const u=this._cache.getStore(s),d=this._cache.getStore(o),f=yield this.send("auth.signInAnonymously",{anonymous_uuid:u,refresh_token:d});return this.setRefreshToken(f.refresh_token),this._refreshAccessToken()}Ht(Ow),this._cache.removeStore(o)}throw new he({code:l.data.code,message:`刷新access token失败:${l.data.code}`})}if(l.data.access_token)return Ht(Lw),this._cache.setStore(t,l.data.access_token),this._cache.setStore(n,l.data.access_token_expire+Date.now()),{accessToken:l.data.access_token,accessTokenExpire:l.data.access_token_expire};l.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,l.data.refresh_token),this._refreshAccessToken())})}getAccessToken(){return de(this,null,function*(){const{accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o}=this._cache.keys;if(!this._cache.getStore(o))throw new he({message:"refresh token不存在,登录状态异常"});let r=this._cache.getStore(t),s=this._cache.getStore(n),i=!0;return this._shouldRefreshAccessTokenHook&&!(yield this._shouldRefreshAccessTokenHook(r,s))&&(i=!1),(!r||!s||s<Date.now())&&i?this.refreshAccessToken():{accessToken:r,accessTokenExpire:s}})}request(t,n,o){return de(this,null,function*(){const r=`x-tcb-trace_${this.config.env}`;let s="application/x-www-form-urlencoded";const i=ae({action:t,env:this.config.env,dataVersion:"2019-08-16"},n);let a;if(Wg.indexOf(t)===-1&&(this._cache.keys,i.access_token=yield this.oauth.getAccessToken()),t==="storage.uploadFile"){a=new FormData;for(let y in a)a.hasOwnProperty(y)&&a[y]!==void 0&&a.append(y,i[y]);s="multipart/form-data"}else{s="application/json",a={};for(let y in i)i[y]!==void 0&&(a[y]=i[y])}let l={headers:{"content-type":s}};o&&o.timeout&&(l.timeout=o.timeout),o&&o.onUploadProgress&&(l.onUploadProgress=o.onUploadProgress);const c=this._localCache.getStore(r);c&&(l.headers["X-TCB-Trace"]=c);const{parse:u,inQuery:d,search:f}=n;let h={env:this.config.env};u&&(h.parse=!0),d&&(h=ae(ae({},d),h));let w=function(y,_,g={}){const p=/\?/.test(_);let T="";for(let S in g)T===""?!p&&(_+="?"):T+="&",T+=`${S}=${encodeURIComponent(g[S])}`;return/^http(s)?\:\/\//.test(_+=T)?_:`${y}${_}`}(G$,"//tcb-api.tencentcloudapi.com/web",h);f&&(w+=f);const v=yield this.post(ae({url:w,data:a},l)),m=v.header&&v.header["x-tcb-trace"];if(m&&this._localCache.setStore(r,m),Number(v.status)!==200&&Number(v.statusCode)!==200||!v.data)throw new he({code:"NETWORK_ERROR",message:"network request error"});return v})}send(r){return de(this,arguments,function*(t,n={},o={}){const s=yield this.request(t,n,we(ae({},o),{onUploadProgress:n.onUploadProgress}));if((s.data.code==="ACCESS_TOKEN_DISABLED"||s.data.code==="ACCESS_TOKEN_EXPIRED")&&Wg.indexOf(t)===-1){yield this.oauth.refreshAccessToken();const i=yield this.request(t,n,we(ae({},o),{onUploadProgress:n.onUploadProgress}));if(i.data.code)throw new he({code:i.data.code,message:Fg(i.data.message)});return i.data}if(s.data.code)throw new he({code:s.data.code,message:Fg(s.data.message)});return s.data})}setRefreshToken(t){const{accessTokenKey:n,accessTokenExpireKey:o,refreshTokenKey:r}=this._cache.keys;this._cache.removeStore(n),this._cache.removeStore(o),this._cache.setStore(r,t)}}const Mw={};function ro(e){return Mw[e]}class Fl{constructor(t){this.config=t,this._cache=cs(t.env),this._request=ro(t.env)}setRefreshToken(t){const{accessTokenKey:n,accessTokenExpireKey:o,refreshTokenKey:r}=this._cache.keys;this._cache.removeStore(n),this._cache.removeStore(o),this._cache.setStore(r,t)}setAccessToken(t,n){const{accessTokenKey:o,accessTokenExpireKey:r}=this._cache.keys;this._cache.setStore(o,t),this._cache.setStore(r,n)}refreshUserInfo(){return de(this,null,function*(){const{data:t}=yield this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(t),t})}setLocalUserInfo(t){const{userInfoKey:n}=this._cache.keys;this._cache.setStore(n,t)}}class iB{constructor(t){if(!t)throw new he({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=cs(this._envId),this._request=ro(this._envId),this.setUserInfo()}linkWithTicket(t){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:t})}linkWithRedirect(t){t.signInWithRedirect()}updatePassword(t,n){return this._request.send("auth.updatePassword",{oldPassword:n,newPassword:t})}updateEmail(t){return this._request.send("auth.updateEmail",{newEmail:t})}updateUsername(t){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:t})}getLinkedUidList(){return de(this,null,function*(){const{data:t}=yield this._request.send("auth.getLinkedUidList",{});let n=!1;const{users:o}=t;return o.forEach(r=>{r.wxOpenId&&r.wxPublicId&&(n=!0)}),{users:o,hasPrimaryUid:n}})}setPrimaryUid(t){return this._request.send("auth.setPrimaryUid",{uid:t})}unlink(t){return this._request.send("auth.unlink",{platform:t})}update(t){return de(this,null,function*(){const{nickName:n,gender:o,avatarUrl:r,province:s,country:i,city:a}=t,{data:l}=yield this._request.send("auth.updateUserInfo",{nickName:n,gender:o,avatarUrl:r,province:s,country:i,city:a});this.setLocalUserInfo(l)})}refresh(){return de(this,null,function*(){const t=yield this._request.oauth.getUserInfo();return this.setLocalUserInfo(t),t})}setUserInfo(){const{userInfoKey:t}=this._cache.keys,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach(o=>{this[o]=n[o]}),this.location={country:n.country,province:n.province,city:n.city}}setLocalUserInfo(t){const{userInfoKey:n}=this._cache.keys;this._cache.setStore(n,t),this.setUserInfo()}}class Oi{constructor(t){if(!t)throw new he({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=cs(t);const{refreshTokenKey:n,accessTokenKey:o,accessTokenExpireKey:r}=this._cache.keys,s=this._cache.getStore(n),i=this._cache.getStore(o),a=this._cache.getStore(r);this.credential={refreshToken:s,accessToken:i,accessTokenExpire:a},this.user=new iB(t)}get isAnonymousAuth(){return this.loginType===ht.ANONYMOUS}get isCustomAuth(){return this.loginType===ht.CUSTOM}get isWeixinAuth(){return this.loginType===ht.WECHAT||this.loginType===ht.WECHAT_OPEN||this.loginType===ht.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Lc extends Fl{signIn(){return de(this,null,function*(){this._cache.updatePersistence("local"),yield this._request.oauth.getAccessToken(),Ht(ns),Ht(Eo,{env:this.config.env,loginType:ht.ANONYMOUS,persistence:"local"});const t=new Oi(this.config.env);return yield t.user.refresh(),t})}linkAndRetrieveDataWithTicket(t){return de(this,null,function*(){const{anonymousUuidKey:n,refreshTokenKey:o}=this._cache.keys,r=this._cache.getStore(n),s=this._cache.getStore(o),i=yield this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:r,refresh_token:s,ticket:t});if(i.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(i.refresh_token),yield this._request.refreshAccessToken(),Ht(Hu,{env:this.config.env}),Ht(Eo,{loginType:ht.CUSTOM,persistence:"local"}),{credential:{refreshToken:i.refresh_token}};throw new he({message:"匿名转化失败"})})}_setAnonymousUUID(t){const{anonymousUuidKey:n,loginTypeKey:o}=this._cache.keys;this._cache.removeStore(n),this._cache.setStore(n,t),this._cache.setStore(o,ht.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class jg extends Fl{signIn(t){return de(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:n}=this._cache.keys,o=yield this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});if(o.refresh_token)return this.setRefreshToken(o.refresh_token),yield this._request.refreshAccessToken(),Ht(ns),Ht(Eo,{env:this.config.env,loginType:ht.CUSTOM,persistence:this.config.persistence}),yield this.refreshUserInfo(),new Oi(this.config.env);throw new he({message:"自定义登录失败"})})}}class zg extends Fl{signIn(t,n){return de(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:o}=this._cache.keys,r=yield this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(o)||""}),{refresh_token:s,access_token:i,access_token_expire:a}=r;if(s)return this.setRefreshToken(s),i&&a?this.setAccessToken(i,a):yield this._request.refreshAccessToken(),yield this.refreshUserInfo(),Ht(ns),Ht(Eo,{env:this.config.env,loginType:ht.EMAIL,persistence:this.config.persistence}),new Oi(this.config.env);throw r.code?new he({code:r.code,message:`邮箱登录失败: ${r.message}`}):new he({message:"邮箱登录失败"})})}activate(t){return de(this,null,function*(){return this._request.send("auth.activateEndUserMail",{token:t})})}resetPasswordWithToken(t,n){return de(this,null,function*(){return this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n})})}}class Gg extends Fl{signIn(t,n){return de(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"username must be a string"});typeof n!="string"&&(n="");const{refreshTokenKey:o}=this._cache.keys,r=yield this._request.send("auth.signIn",{loginType:ht.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(o)||""}),{refresh_token:s,access_token_expire:i,access_token:a}=r;if(s)return this.setRefreshToken(s),a&&i?this.setAccessToken(a,i):yield this._request.refreshAccessToken(),yield this.refreshUserInfo(),Ht(ns),Ht(Eo,{env:this.config.env,loginType:ht.USERNAME,persistence:this.config.persistence}),new Oi(this.config.env);throw r.code?new he({code:r.code,message:`用户名密码登录失败: ${r.message}`}):new he({message:"用户名密码登录失败"})})}}class aB{constructor(t){this.config=t,this._cache=cs(t.env),this._request=ro(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),ho(Eo,this._onLoginTypeChanged)}get currentUser(){const t=this.hasLoginState();return t&&t.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new Lc(this.config)}customAuthProvider(){return new jg(this.config)}emailAuthProvider(){return new zg(this.config)}usernameAuthProvider(){return new Gg(this.config)}signInAnonymously(){return de(this,null,function*(){return new Lc(this.config).signIn()})}signInWithEmailAndPassword(t,n){return de(this,null,function*(){return new zg(this.config).signIn(t,n)})}signInWithUsernameAndPassword(t,n){return new Gg(this.config).signIn(t,n)}linkAndRetrieveDataWithTicket(t){return de(this,null,function*(){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Lc(this.config)),ho(Hu,this._onAnonymousConverted),yield this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t)})}signOut(){return de(this,null,function*(){if(this.loginType===ht.ANONYMOUS)throw new he({message:"匿名用户不支持登出操作"});const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:o}=this._cache.keys,r=this._cache.getStore(t);if(!r)return;const s=yield this._request.send("auth.logout",{refresh_token:r});return this._cache.removeStore(t),this._cache.removeStore(n),this._cache.removeStore(o),Ht(ns),Ht(Eo,{env:this.config.env,loginType:ht.NULL,persistence:this.config.persistence}),s})}signUpWithEmailAndPassword(t,n){return de(this,null,function*(){return this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n})})}sendPasswordResetEmail(t){return de(this,null,function*(){return this._request.send("auth.sendPasswordResetEmail",{email:t})})}onLoginStateChanged(t){ho(ns,()=>{const o=this.hasLoginState();t.call(this,o)});const n=this.hasLoginState();t.call(this,n)}onLoginStateExpired(t){ho(Ow,t.bind(this))}onAccessTokenRefreshed(t){ho(Lw,t.bind(this))}onAnonymousConverted(t){ho(Hu,t.bind(this))}onLoginTypeChanged(t){ho(Eo,()=>{const n=this.hasLoginState();t.call(this,n)})}getAccessToken(){return de(this,null,function*(){return{accessToken:(yield this._request.getAccessToken()).accessToken,env:this.config.env}})}hasLoginState(){const{accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n);return this._request.oauth.isAccessTokenExpired(o,r)?null:new Oi(this.config.env)}isUsernameRegistered(t){return de(this,null,function*(){if(typeof t!="string")throw new he({code:"PARAM_ERROR",message:"username must be a string"});const{data:n}=yield this._request.send("auth.isUsernameRegistered",{username:t});return n&&n.isRegistered})}getLoginState(){return Promise.resolve(this.hasLoginState())}signInWithTicket(t){return de(this,null,function*(){return new jg(this.config).signIn(t)})}shouldRefreshAccessToken(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then(t=>t.code?t:we(ae({},t.data),{requestId:t.seqId}))}getAuthHeader(){const{refreshTokenKey:t,accessTokenKey:n}=this._cache.keys,o=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+o}}_onAnonymousConverted(t){const{env:n}=t.data;n===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(t){const{loginType:n,persistence:o,env:r}=t.data;r===this.config.env&&(this._cache.updatePersistence(o),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}const lB=function(e,t){t=t||Ai();const n=ro(this.config.env),{cloudPath:o,filePath:r,onUploadProgress:s,fileType:i="image"}=e;return n.send("storage.getUploadMetadata",{path:o}).then(a=>{const{data:{url:l,authorization:c,token:u,fileId:d,cosFileId:f},requestId:h}=a,w={key:o,signature:c,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":u};n.upload({url:l,data:w,file:r,name:o,fileType:i,onUploadProgress:s}).then(v=>{v.statusCode===201?t(null,{fileID:d,requestId:h}):t(new he({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${v.data}`}))}).catch(v=>{t(v)})}).catch(a=>{t(a)}),t.promise},cB=function(e,t){t=t||Ai();const n=ro(this.config.env),{cloudPath:o}=e;return n.send("storage.getUploadMetadata",{path:o}).then(r=>{t(null,r)}).catch(r=>{t(r)}),t.promise},uB=function({fileList:e},t){if(t=t||Ai(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let o of e)if(!o||typeof o!="string")return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return ro(this.config.env).send("storage.batchDeleteFile",n).then(o=>{o.code?t(null,o):t(null,{fileList:o.data.delete_list,requestId:o.requestId})}).catch(o=>{t(o)}),t.promise},Rw=function({fileList:e},t){t=t||Ai(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let r of e)typeof r=="object"?(r.hasOwnProperty("fileID")&&r.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:r.fileID,max_age:r.maxAge})):typeof r=="string"?n.push({fileid:r}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const o={file_list:n};return ro(this.config.env).send("storage.batchGetDownloadUrl",o).then(r=>{r.code?t(null,r):t(null,{fileList:r.data.download_list,requestId:r.requestId})}).catch(r=>{t(r)}),t.promise},dB=function(n,o){return de(this,arguments,function*({fileID:e},t){const r=(yield Rw.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if(r.code!=="SUCCESS")return t?t(r):new Promise(a=>{a(r)});const s=ro(this.config.env);let i=r.download_url;if(i=encodeURI(i),!t)return s.download({url:i});t(yield s.download({url:i}))})},fB=function({name:e,data:t,query:n,parse:o,search:r,timeout:s},i){const a=i||Ai();let l;try{l=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new he({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:o,search:r,function_name:e,request_data:l};return ro(this.config.env).send("functions.invokeFunction",c,{timeout:s}).then(u=>{if(u.code)a(null,u);else{let d=u.data.response_data;if(o)a(null,{result:d,requestId:u.requestId});else try{d=JSON.parse(u.data.response_data),a(null,{result:d,requestId:u.requestId})}catch(f){a(new he({message:"response data must be json"}))}}return a.promise}).catch(u=>{a(u)}),a.promise},Kg={timeout:15e3,persistence:"session"},Yg={};class sf{constructor(t){this.config=t||this.config,this.authObj=void 0}init(t){switch(xt.adapter||(this.requestClient=new xt.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:`请求在${(t.timeout||5e3)/1e3}s内未完成,已中断`})),this.config=ae(ae({},Kg),t),!0){case this.config.timeout>6e5:this.config.timeout=6e5;break;case this.config.timeout<100:this.config.timeout=100}return new sf(this.config)}auth({persistence:t}={}){if(this.authObj)return this.authObj;const n=t||xt.adapter.primaryStorage||Kg.persistence;var o;return n!==this.config.persistence&&(this.config.persistence=n),function(r){const{env:s}=r;Ew[s]=new Hg(r),Iw[s]=new Hg(we(ae({},r),{persistence:"local"}))}(this.config),o=this.config,Mw[o.env]=new sB(o),this.authObj=new aB(this.config),this.authObj}on(t,n){return ho.apply(this,[t,n])}off(t,n){return tB.apply(this,[t,n])}callFunction(t,n){return fB.apply(this,[t,n])}deleteFile(t,n){return uB.apply(this,[t,n])}getTempFileURL(t,n){return Rw.apply(this,[t,n])}downloadFile(t,n){return dB.apply(this,[t,n])}uploadFile(t,n){return lB.apply(this,[t,n])}getUploadMetadata(t,n){return cB.apply(this,[t,n])}registerExtension(t){Yg[t.name]=t}invokeExtension(t,n){return de(this,null,function*(){const o=Yg[t];if(!o)throw new he({message:`扩展${t} 必须先注册`});return yield o.invoke(n,this)})}useAdapters(t){const{adapter:n,runtime:o}=Q$(t)||{};n&&(xt.adapter=n),o&&(xt.runtime=o)}}var Dw=new sf;function Mc(e,t,n){n===void 0&&(n={});var o=/\?/.test(t),r="";for(var s in n)r===""?!o&&(t+="?"):r+="&",r+=s+"="+encodeURIComponent(n[s]);return/^http(s)?:\/\//.test(t+=r)?t:""+e+t}class hB{get(t){const{url:n,data:o,headers:r,timeout:s}=t;return new Promise((i,a)=>{wt.request({url:Mc("https:",n),data:o,method:"GET",header:r,timeout:s,success(l){i(l)},fail(l){a(l)}})})}post(t){const{url:n,data:o,headers:r,timeout:s}=t;return new Promise((i,a)=>{wt.request({url:Mc("https:",n),data:o,method:"POST",header:r,timeout:s,success(l){i(l)},fail(l){a(l)}})})}upload(t){return new Promise((n,o)=>{const{url:r,file:s,data:i,headers:a,fileType:l}=t,c=wt.uploadFile({url:Mc("https:",r),name:"file",formData:Object.assign({},i),filePath:s,fileType:l,header:a,success(u){const d={statusCode:u.statusCode,data:u.data||{}};u.statusCode===200&&i.success_action_status&&(d.statusCode=parseInt(i.success_action_status,10)),n(d)},fail(u){o(new Error(u.errMsg||"uploadFile:fail"))}});typeof t.onUploadProgress=="function"&&c&&typeof c.onProgressUpdate=="function"&&c.onProgressUpdate(u=>{t.onUploadProgress({loaded:u.totalBytesSent,total:u.totalBytesExpectedToSend})})})}}const pB={setItem(e,t){wt.setStorageSync(e,t)},getItem:e=>wt.getStorageSync(e),removeItem(e){wt.removeStorageSync(e)},clear(){wt.clearStorageSync()}};var gB={genAdapter:function(){return{root:{},reqClass:hB,localStorage:pB,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Dw.useAdapters(gB);const af=Dw,mB=af.init;af.init=function(e){e.env=e.spaceId;const t=mB.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(o){const r=n.call(this,o);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach(s=>{var i;r[s]=(i=r[s],function(a){a=a||{};const{success:l,fail:c,complete:u}=Tw(a);if(!(l||c||u))return i.call(this,a);i.call(this,a).then(d=>{l&&l(d),u&&u(d)},d=>{c&&c(d),u&&u(d)})}).bind(r)}),r},t.customAuth=t.auth,t};var Xg=af;function yB(e,t){return de(this,null,function*(){const n=`http://${e}:${t}/system/ping`;try{const r=yield(o={url:n,timeout:500},new Promise((s,i)=>{wt.request(we(ae({},o),{success(a){s(a)},fail(a){i(a)}}))}));return!(!r.data||r.data.code!==0)}catch(r){return!1}var o})}function vB(e,t){return de(this,null,function*(){let n;for(let o=0;o<e.length;o++){const r=e[o];if(yield yB(r,t)){n=r;break}}return{address:n,port:t}})}const _B={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"};var wB=class{constructor(e){if(["spaceId","clientSecret"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),!e.endpoint)throw new Error("集群空间未配置ApiEndpoint,配置后需要重新关联服务空间后生效");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=wt}request(e,t=!0){return de(this,null,function*(){return e=this.setupRequest(e),Promise.resolve().then(()=>Or.wrappedRequest(e,this.adapter.request))})}requestLocal(e){return new Promise((t,n)=>{this.adapter.request(Object.assign(e,{complete(o){if(o||(o={}),!o.statusCode||o.statusCode>=400){const r=o.data&&o.data.code||"SYS_ERR",s=o.data&&o.data.message||"request:fail";return n(new he({code:r,message:s}))}t({success:!0,result:o.data})}}))})}setupRequest(e){const t=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};n["x-serverless-sign"]=Or.sign(t,this.config.clientSecret);const o=Vu();n["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=li();return n["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:t,dataType:"json",header:JSON.parse(JSON.stringify(n))}}setupLocalRequest(e){return de(this,null,function*(){const t=Vu(),{token:n}=li(),o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:t,token:n}),{address:r,servePort:s}=this.__dev__&&this.__dev__.debugInfo||{},{address:i}=yield vB(r,s);return{url:`http://${i}:${s}/${_B[e.method]}`,method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))}})}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(t,!1)}getUploadFileOptions(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(t)}reportUploadFile(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(t)}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:o}){if(!t)throw new he({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let r;return this.getUploadFileOptions({cloudPath:t}).then(s=>{const{url:i,formData:a,name:l}=s.result;return r=s.result.fileUrl,new Promise((c,u)=>{const d=this.adapter.uploadFile({url:i,formData:a,name:l,filePath:e,fileType:n,success(f){f&&f.statusCode<400?c(f):u(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(f){u(new he({code:f.code||"UPLOAD_FAILED",message:f.message||f.errMsg||"文件上传失败"}))}});typeof o=="function"&&d&&typeof d.onProgressUpdate=="function"&&d.onProgressUpdate(f=>{o({loaded:f.totalBytesSent,total:f.totalBytesExpectedToSend})})})}).then(()=>this.reportUploadFile({cloudPath:t})).then(s=>new Promise((i,a)=>{s.success?i({success:!0,filePath:e,fileID:r}):a(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(t).then(n=>{if(n.success)return n.result;throw new he({code:"DELETE_FILE_FAILED",message:"删除文件失败"})})}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||e.length===0)throw new he({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(n).then(o=>{if(o.success)return{fileList:o.result.fileList.map(r=>({fileID:r.fileID,tempFileURL:r.tempFileURL}))};throw new he({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})})}},Jg={init(e){const t=new wB(e),n={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Hs=Un(function(e,t){e.exports=Po.enc.Hex});function Nw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return(e==="x"?t:3&t|8).toString(16)})}function $w(e="",t={}){const{data:n,functionName:o,method:r,headers:s,signHeaderKeys:i=[],config:a}=t,l=String(Date.now()),c=Nw(),u=Object.assign({},s,{"x-from-app-id":a.spaceAppId,"x-from-env-id":a.spaceId,"x-to-env-id":a.spaceId,"x-from-instance-id":l,"x-from-function-name":o,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":c,"x-alipay-callid":c,"x-trace-id":c}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(i),[f="",h=""]=e.split("?")||[],w=function(v){const m=v.signedHeaders.join(";"),y=v.signedHeaders.map(k=>`${k.toLowerCase()}:${v.headers[k]}
  99. `).join(""),_=qu(v.body).toString(Hs),g=`${v.method.toUpperCase()}
  100. ${v.path}
  101. ${v.query}
  102. ${y}
  103. ${m}
  104. ${_}
  105. `,p=qu(g).toString(Hs),T=`HMAC-SHA256
  106. ${v.timestamp}
  107. ${p}
  108. `,S=Pw(T,v.secretKey).toString(Hs);return`HMAC-SHA256 Credential=${v.secretId}, SignedHeaders=${m}, Signature=${S}`}({path:f,query:h,method:r,headers:u,timestamp:l,body:JSON.stringify(n),secretId:a.accessKey,secretKey:a.secretKey,signedHeaders:d.sort()});return{url:`${a.endpoint}${e}`,headers:Object.assign({},u,{Authorization:w})}}function Bw({url:e,data:t,method:n="POST",headers:o={},timeout:r}){return new Promise((s,i)=>{wt.request({url:e,method:n,data:typeof t=="object"?JSON.stringify(t):t,header:o,dataType:"json",timeout:r,complete:(a={})=>{const l=o["x-trace-id"]||"";if(!a.statusCode||a.statusCode>=400){const{message:c,errMsg:u,trace_id:d}=a.data||{};return i(new he({code:"SYS_ERR",message:c||u||"request:fail",requestId:d||l}))}s({status:a.statusCode,data:a.data,headers:a.header,requestId:l})}})})}function Qg(e,t){const{path:n,data:o,method:r="GET"}=e,{url:s,headers:i}=$w(n,{functionName:"",data:o,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return Bw({url:s,data:o,method:r,headers:i}).then(a=>{const l=a.data||{};if(!l.success)throw new he({code:a.errCode,message:a.errMsg,requestId:a.requestId});return l.data||{}}).catch(a=>{throw new he({code:a.errCode,message:a.errMsg,requestId:a.requestId})})}function bB(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new he({code:"INVALID_PARAM",message:"fileID不合法"});const o=t.substring(0,n),r=t.substring(n+1);return this.config.spaceId,r}function SB(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class TB{constructor(t){this.config=t}signedURL(t,n={}){const o=`/ws/function/${t}`,r=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),s=Object.assign({},n,{accessKeyId:this.config.accessKey,signatureNonce:Nw(),timestamp:""+Date.now()}),i=[o,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map(function(u){return s[u]?"".concat(u,"=").concat(s[u]):null}).filter(Boolean).join("&"),`host:${r}`].join(`
  109. `),a=["HMAC-SHA256",qu(i).toString(Hs)].join(`
  110. `),l=Pw(a,this.config.secretKey).toString(Hs),c=Object.keys(s).map(u=>`${u}=${encodeURIComponent(s[u])}`).join("&");return`${this.config.wsEndpoint}${o}?${c}&signature=${l}`}}var CB=class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)}),e.endpoint){if(typeof e.endpoint!="string")throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new TB(this.config)}callFunction(e){return function(t,n){const{name:o,data:r,async:s=!1,timeout:i}=t,a="POST",l={"x-to-function-name":o};s&&(l["x-function-invoke-type"]="async");const{url:c,headers:u}=$w("/functions/invokeFunction",{functionName:o,data:r,method:a,headers:l,signHeaderKeys:["x-to-function-name"],config:n});return Bw({url:c,data:r,method:a,headers:u,timeout:i}).then(d=>{let f=0;if(s){const h=d.data||{};f=h.errCode==="200"?0:h.errCode,d.data=h.data||{},d.errMsg=h.errMsg}if(f!==0)throw new he({code:f,message:d.errMsg,requestId:d.requestId});return{errCode:f,success:f===0,requestId:d.requestId,result:d.data}}).catch(d=>{throw new he({code:d.errCode,message:d.errMsg,requestId:d.requestId})})}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:o,onUploadProgress:r}){return new Promise((s,i)=>{const a=wt.uploadFile({url:e,filePath:t,fileType:n,formData:o,name:"file",success(l){l&&l.statusCode<400?s(l):i(new he({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(l){i(new he({code:l.code||"UPLOAD_FAILED",message:l.message||l.errMsg||"文件上传失败"}))}});typeof r=="function"&&a&&typeof a.onProgressUpdate=="function"&&a.onProgressUpdate(l=>{r({loaded:l.totalBytesSent,total:l.totalBytesExpectedToSend})})})}uploadFile(r){return de(this,arguments,function*({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:o}){if(ai(t)!=="string")throw new he({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new he({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new he({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=yield Qg({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:i,upload_url:a,form_data:l}=s,c=l&&l.reduce((u,d)=>(u[d.key]=d.value,u),{});return this.uploadFileToOSS({url:a,filePath:e,fileType:n,formData:c,onUploadProgress:o}).then(()=>({fileID:i}))})}getTempFileURL(t){return de(this,arguments,function*({fileList:e}){return new Promise((n,o)=>{(!e||e.length<0)&&n({code:"INVALID_PARAM",message:"fileList不能为空数组"}),e.length>50&&n({code:"INVALID_PARAM",message:"fileList数组长度不能超过50"});const r=[];for(const s of e){let i;ai(s)!=="string"&&n({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});try{i=bB.call(this,s)}catch(a){i=s}r.push({file_id:i,expire:600})}Qg({path:"/?download_url",data:{file_list:r},method:"POST"},this.config).then(s=>{const{file_list:i=[]}=s;n({fileList:i.map(a=>({fileID:SB.call(this,a.file_id),tempFileURL:a.download_url}))})}).catch(s=>o(s))})})}connectWebSocket(e){return de(this,null,function*(){const{name:t,query:n}=e;return wt.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})})}},kB={init:e=>{e.provider="alipay";const t=new CB(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function xB({data:e}){let t;t=Vu();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:o}=li();o&&(n.uniIdToken=o)}return n}const PB=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Fw=/[\\^$.*+?()[\]{}|]/g,EB=RegExp(Fw.source);function Zg(e,t,n){return e.replace(new RegExp((o=t)&&EB.test(o)?o.replace(Fw,"\\$&"):o,"g"),n);var o}const IB="request",AB="response",OB="both",LB={code:2e4},MB={code:20101,message:"Invalid client"};function Uw(e){const{errSubject:t,subject:n,errCode:o,errMsg:r,code:s,message:i,cause:a}=e||{};return new he({subject:t||n||"uni-secure-network",code:o||s||LB.code,message:r||i,cause:a})}let Wu;function em({secretType:e}={}){return e===IB||e===AB||e===OB}function tm({name:e,data:t={}}={}){return Ei==="app"}function RB({provider:e,spaceId:t,functionName:n}={}){const{appId:o,uniPlatform:r,osName:s}=xw();let i=r;r==="app"&&(i=s);const a=function({provider:d,spaceId:f}={}){const h=B$;if(!h)return{};d=function(v){return v==="tencent"?"tcb":v}(d);const w=h.find(v=>v.provider===d&&v.spaceId===f);return w&&w.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const l=a.accessControl.function||{},c=Object.keys(l);if(c.length===0)return!0;const u=function(d,f){let h,w,v;for(let m=0;m<d.length;m++){const y=d[m];y!==f?y!=="*"?y.split(",").map(_=>_.trim()).indexOf(f)>-1&&(w=y):v=y:h=y}return h||w||v}(c,n);if(!u)return!1;if((l[u]||[]).find((d={})=>d.appId===o&&(d.platform||"").toLowerCase()===i.toLowerCase()))return!0;throw Uw(MB)}function nm({functionName:e,result:t,logPvd:n}){}function DB(e){const t=e.callFunction,n=function(o){const r=o.name;o.data=xB.call(e,{data:o.data});const s={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],i=em(o),a=tm(o),l=i||a;return t.call(this,o).then(c=>(c.errCode=0,!l&&nm.call(this,{functionName:r,result:c,logPvd:s}),Promise.resolve(c)),c=>(!l&&nm.call(this,{functionName:r,result:c,logPvd:s}),c&&c.message&&(c.message=function({message:u="",extraInfo:d={},formatter:f=[]}={}){for(let h=0;h<f.length;h++){const{rule:w,content:v,mode:m}=f[h],y=u.match(w);if(!y)continue;let _=v;for(let g=1;g<y.length;g++)_=Zg(_,`{$${g}}`,y[g]);for(const g in d)_=Zg(_,`{${g}}`,d[g]);return m==="replace"?_:u+_}return u}({message:`[${o.name}]: ${c.message}`,formatter:PB,extraInfo:{functionName:r}})),Promise.reject(c)))};e.callFunction=function(o){const{provider:r,spaceId:s}=e.config,i=o.name;let a,l;return o.data=o.data||{},a=n,a=a.bind(e),tm(o)||function({name:c,data:u={}}){return Ei==="mp-weixin"}(o)||(em(o)?l=new Wu({secretType:o.secretType,uniCloudIns:e}).wrapEncryptDataCallFunction(n.bind(e))(o):RB({provider:r,spaceId:s,functionName:i})?l=new Wu({secretType:o.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(o):l=a(o)),Object.defineProperty(l,"result",{get:()=>({})}),l.then(c=>(typeof UTSJSONObject!="undefined"&&typeof UTS!="undefined"&&(c.result=UTS.JSON.parse(JSON.stringify(c.result))),c))}}Wu=class{constructor(){throw Uw({message:`Platform ${Ei} is not supported by secure network`})}};const Vw=Symbol("CLIENT_DB_INTERNAL");function Za(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=Vw,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(n,o,r){if(o==="_uniClient")return null;if(typeof o=="symbol")return n[o];if(o in n||typeof o!="string"){const s=n[o];return typeof s=="function"?s.bind(n):s}return t.get(n,o,r)}})}function om(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const o=e[t].indexOf(n);o!==-1&&e[t].splice(o,1)}}}const NB=["db.Geo","db.command","command.aggregate"];function qw(e,t){return NB.indexOf(`${e}.${t}`)>-1}function dr(e){switch(ai(e=Cw(e))){case"array":return e.map(t=>dr(t));case"object":return e._internalType===Vw||Object.keys(e).forEach(t=>{e[t]=dr(e[t])}),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Ss(e){return e&&e.content&&e.content.$method}class $B{constructor(t,n,o){this.content=t,this.prevStage=n||null,this.udb=null,this._database=o}toJSON(){let t=this;const n=[t.content];for(;t.prevStage;)t=t.prevStage,n.push(t.content);return{$db:n.reverse().map(o=>({$method:o.$method,$param:dr(o.$param)}))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const t=this.toJSON().$db.find(n=>n.$method==="action");return t&&t.$param&&t.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter(t=>t.$method!=="action")}}get isAggregate(){let t=this;for(;t;){const n=Ss(t),o=Ss(t.prevStage);if(n==="aggregate"&&o==="collection"||n==="pipeline")return!0;t=t.prevStage}return!1}get isCommand(){let t=this;for(;t;){if(Ss(t)==="command")return!0;t=t.prevStage}return!1}get isAggregateCommand(){let t=this;for(;t;){const n=Ss(t),o=Ss(t.prevStage);if(n==="aggregate"&&o==="command")return!0;t=t.prevStage}return!1}getNextStageFn(t){const n=this;return function(){return ci({$method:t,$param:dr(Array.from(arguments))},n,n._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(t,n){const o=this.getAction(),r=this.getCommand();return r.$db.push({$method:t,$param:dr(n)}),this._database._callCloudFunction({action:o,command:r})}}function ci(e,t,n){return Za(new $B(e,t,n),{get(o,r){let s="db";return o&&o.content&&(s=o.content.$method),qw(s,r)?ci({$method:r},o,n):function(){return ci({$method:r,$param:dr(Array.from(arguments))},o,n)}}})}function Rc({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map(n=>({$method:n})),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function rm(e,t={}){return Za(new e(t),{get:(n,o)=>qw("db",o)?ci({$method:o},null,n):function(){return ci({$method:o,$param:dr(Array.from(arguments))},null,n)}})}class sm extends class{constructor({uniClient:t={},isJQL:n=!1}={}){this._uniClient=t,this._authCallBacks={},this._dbCallBacks={},t._isDefault&&(this._dbCallBacks=es("_globalUniCloudDatabaseCallback")),n||(this.auth=om(this._authCallBacks)),this._isJQL=n,Object.assign(this,om(this._dbCallBacks)),this.env=Za({},{get:(o,r)=>({$env:r})}),this.Geo=Za({},{get:(o,r)=>Rc({path:["Geo"],method:r})}),this.serverDate=Rc({path:[],method:"serverDate"}),this.RegExp=Rc({path:[],method:"RegExp"})}getCloudEnv(t){if(typeof t!="string"||!t.trim())throw new Error("getCloudEnv参数错误");return{$env:t.replace("$cloudEnv_","")}}_callback(t,n){const o=this._dbCallBacks;o[t]&&o[t].forEach(r=>{r(...n)})}_callbackAuth(t,n){const o=this._authCallBacks;o[t]&&o[t].forEach(r=>{r(...n)})}multiSend(){const t=Array.from(arguments),n=t.map(o=>{const r=o.getAction(),s=o.getCommand();if(s.$db[s.$db.length-1].$method!=="getTemp")throw new Error("multiSend只支持子命令内使用getTemp");return{action:r,command:s}});return this._callCloudFunction({multiCommand:n,queryList:t})}}{_parseResult(t){return this._isJQL?t.result:t}_callCloudFunction({action:t,command:n,multiCommand:o,queryList:r}){function s(d,f){if(o&&r)for(let h=0;h<r.length;h++){const w=r[h];w.udb&&typeof w.udb.setResult=="function"&&(f?w.udb.setResult(f):w.udb.setResult(d.result.dataList[h]))}}const i=this,a=this._isJQL?"databaseForJQL":"database";function l(d){return i._callback("error",[d]),Vt(qt(a,"fail"),d).then(()=>Vt(qt(a,"complete"),d)).then(()=>(s(null,d),mn(Bn,{type:Ng,content:d}),Promise.reject(d)))}const c=Vt(qt(a,"invoke")),u=this._uniClient;return c.then(()=>u.callFunction({name:"DCloud-clientDB",type:R$,data:{action:t,command:n,multiCommand:o}})).then(d=>{const{code:f,message:h,token:w,tokenExpired:v,systemInfo:m=[]}=d.result;if(m)for(let _=0;_<m.length;_++){const{level:g,message:p,detail:T}=m[_],S=console[g]||console.log;let k="[System Info]"+p;T&&(k=`${k}
  111. 详细信息:${T}`),S(k)}if(f)return l(new he({code:f,message:h,requestId:d.requestId}));d.result.errCode=d.result.errCode||d.result.code,d.result.errMsg=d.result.errMsg||d.result.message,w&&v&&(kw({token:w,tokenExpired:v}),this._callbackAuth("refreshToken",[{token:w,tokenExpired:v}]),this._callback("refreshToken",[{token:w,tokenExpired:v}]),mn(Qa,{token:w,tokenExpired:v}));const y=[{prop:"affectedDocs",tips:"affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"},{prop:"code",tips:"code不再推荐使用,请使用errCode替代"},{prop:"message",tips:"message不再推荐使用,请使用errMsg替代"}];for(let _=0;_<y.length;_++){const{prop:g,tips:p}=y[_];if(g in d.result){const T=d.result[g];Object.defineProperty(d.result,g,{get:()=>T})}}return function(_){return Vt(qt(a,"success"),_).then(()=>Vt(qt(a,"complete"),_)).then(()=>{s(_,null);const g=i._parseResult(_);return mn(Bn,{type:Ng,content:g}),Promise.resolve(g)})}(d)},d=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(d.message),l(new he({code:d.code||"SYSTEM_ERROR",message:d.message,requestId:d.requestId}))))}}const ir="token无效,跳转登录页面",Hw="token过期,跳转登录页面",BB={TOKEN_INVALID_TOKEN_EXPIRED:Hw,TOKEN_INVALID_INVALID_CLIENTID:ir,TOKEN_INVALID:ir,TOKEN_INVALID_WRONG_TOKEN:ir,TOKEN_INVALID_ANONYMOUS_USER:ir},ju={"uni-id-token-expired":Hw,"uni-id-check-token-failed":ir,"uni-id-token-not-exist":ir,"uni-id-check-device-feature-failed":ir};function im(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function am(e=[],t=""){const n=[],o=[];return e.forEach(r=>{r.needLogin===!0?n.push(im(t,r.path)):r.needLogin===!1&&o.push(im(t,r.path))}),{needLoginPage:n,notNeedLoginPage:o}}function ui(e){return e.split("?")[0].replace(/^\//,"")}function lf(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t&&(t.charAt(0)!=="/"&&(t="/"+t),t)}(function(){const e=on();return e[e.length-1]}())}function Ww(){return ui(lf())}function FB(e="",t={}){if(!e||!(t&&t.list&&t.list.length))return!1;const n=t.list,o=ui(e);return n.some(r=>r.pagePath===o)}const UB=!!lw.uniIdRouter,{loginPage:di,routerNeedLogin:VB,resToLogin:qB,needLoginPage:jw,notNeedLoginPage:HB,loginPageInTabBar:WB}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:o={}}=lw){const{loginPage:r,needLogin:s=[],resToLogin:i=!0}=n,{needLoginPage:a,notNeedLoginPage:l}=am(e),{needLoginPage:c,notNeedLoginPage:u}=function(d=[]){const f=[],h=[];return d.forEach(w=>{const{root:v,pages:m=[]}=w,{needLoginPage:y,notNeedLoginPage:_}=am(m,v);f.push(...y),h.push(..._)}),{needLoginPage:f,notNeedLoginPage:h}}(t);return{loginPage:r,routerNeedLogin:s,resToLogin:i,needLoginPage:[...a,...c],notNeedLoginPage:[...l,...u],loginPageInTabBar:FB(r,o)}}();if(jw.indexOf(di)>-1)throw new Error(`Login page [${di}] should not be "needLogin", please check your pages.json`);function zw(e){const t=Ww();if(e.charAt(0)==="/")return e;const[n,o]=e.split("?"),r=n.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(let i=0;i<r.length;i++){const a=r[i];a===".."?s.pop():a!=="."&&s.push(a)}return s[0]===""&&s.shift(),"/"+s.join("/")+(o?"?"+o:"")}function jB(e){const t=ui(zw(e));return!(HB.indexOf(t)>-1)&&(jw.indexOf(t)>-1||VB.some(n=>function(o,r){return new RegExp(r).test(o)}(e,n)))}function Gw({redirect:e}){const t=ui(e),n=ui(di);return Ww()!==n&&t!==n}function zu({api:e,redirect:t}={}){if(!t||!Gw({redirect:t}))return;const n=function(r,s){return r.charAt(0)!=="/"&&(r="/"+r),s?r.indexOf("?")>-1?r+`&uniIdRedirectUrl=${encodeURIComponent(s)}`:r+`?uniIdRedirectUrl=${encodeURIComponent(s)}`:r}(di,t);WB?e!=="navigateTo"&&e!=="redirectTo"||(e="switchTab"):e==="switchTab"&&(e="navigateTo");const o={navigateTo:t0,redirectTo:Nd,switchTab:xl,reLaunch:$d};setTimeout(()=>{o[e]({url:n})},0)}function lm({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:o,tokenExpired:r}=li();let s;if(o){if(r<Date.now()){const i="uni-id-token-expired";s={errCode:i,errMsg:ju[i]}}}else{const i="uni-id-check-token-failed";s={errCode:i,errMsg:ju[i]}}return s}();if(jB(e)&&n){if(n.uniIdRedirectUrl=e,Ii(ts).length>0)return setTimeout(()=>{mn(ts,n)},0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function zB(){(function(){const t=lf(),{abortLoginPageJump:n,autoToLoginPage:o}=lm({url:t});n||o&&zu({api:"redirectTo",redirect:t})})();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t<e.length;t++){const n=e[t];fn(n,{invoke(o){const{abortLoginPageJump:r,autoToLoginPage:s}=lm({url:o.url});return r?o:s?(zu({api:n,redirect:zw(o.url)}),!1):o}})}}function GB(){this.onResponse(e=>{const{type:t,content:n}=e;let o=!1;switch(t){case"cloudobject":o=function(r){if(typeof r!="object")return!1;const{errCode:s}=r||{};return s in ju}(n);break;case"clientdb":o=function(r){if(typeof r!="object")return!1;const{errCode:s}=r||{};return s in BB}(n)}o&&function(r={}){const s=Ii(ts);Sw().then(()=>{const i=lf();if(i&&Gw({redirect:i}))return s.length>0?mn(ts,Object.assign({uniIdRedirectUrl:i},r)):void(di&&zu({api:"navigateTo",redirect:i}))})}(n)})}function KB(e){(function(t){t.onResponse=function(n){Cc(Bn,n)},t.offResponse=function(n){kc(Bn,n)}})(e),function(t){t.onNeedLogin=function(n){Cc(ts,n)},t.offNeedLogin=function(n){kc(ts,n)},UB&&(es("_globalUniCloudStatus").needLoginInit||(es("_globalUniCloudStatus").needLoginInit=!0,Sw().then(()=>{zB.call(t)}),qB&&GB.call(t)))}(e),function(t){t.onRefreshToken=function(n){Cc(Qa,n)},t.offRefreshToken=function(n){kc(Qa,n)}}(e)}let Kw;const ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",YB=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function XB(){const e=li().token||"",t=e.split(".");if(!e||t.length!==3)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(Kw(o).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Kw=typeof atob!="function"?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!YB.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",s=0;s<e.length;)t=ea.indexOf(e.charAt(s++))<<18|ea.indexOf(e.charAt(s++))<<12|(n=ea.indexOf(e.charAt(s++)))<<6|(o=ea.indexOf(e.charAt(s++))),r+=n===64?String.fromCharCode(t>>16&255):o===64?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;var JB=Un(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function r(i,a){return i.tempFiles.forEach((l,c)=>{l.name||(l.name=l.path.substring(l.path.lastIndexOf("/")+1)),a&&(l.fileType=a),l.cloudPath=Date.now()+"_"+c+l.name.substring(l.name.lastIndexOf("."))}),i.tempFilePaths||(i.tempFilePaths=i.tempFiles.map(l=>l.path)),i}function s(i,a,{onChooseFile:l,onUploadProgress:c}){return a.then(u=>{if(l){const d=l(u);if(d!==void 0)return Promise.resolve(d).then(f=>f===void 0?u:f)}return u}).then(u=>u===!1?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(d,f,h=5,w){(f=Object.assign({},f)).errMsg=n;const v=f.tempFiles,m=v.length;let y=0;return new Promise(_=>{for(;y<h;)g();function g(){const p=y++;if(p>=m)return void(!v.find(S=>!S.url&&!S.errMsg)&&_(f));const T=v[p];d.uploadFile({provider:T.provider,filePath:T.path,cloudPath:T.cloudPath,fileType:T.fileType,cloudPathAsRealPath:T.cloudPathAsRealPath,onUploadProgress(S){S.index=p,S.tempFile=T,S.tempFilePath=T.path,w&&w(S)}}).then(S=>{T.url=S.fileID,p<m&&g()}).catch(S=>{T.errMsg=S.errMsg||S.message,p<m&&g()})}})}(i,u,5,c))}t.initChooseAndUploadFile=function(i){return function(a={type:"all"}){return a.type==="image"?s(i,function(l){const{count:c,sizeType:u,sourceType:d=["album","camera"],extension:f}=l;return new Promise((h,w)=>{qL({count:c,sizeType:u,sourceType:d,extension:f,success(v){h(r(v,"image"))},fail(v){w({errMsg:v.errMsg.replace("chooseImage:fail",o)})}})})}(a),a):a.type==="video"?s(i,function(l){const{camera:c,compressed:u,maxDuration:d,sourceType:f=["album","camera"],extension:h}=l;return new Promise((w,v)=>{ZL({camera:c,compressed:u,maxDuration:d,sourceType:f,extension:h,success(m){const{tempFilePath:y,duration:_,size:g,height:p,width:T}=m;w(r({errMsg:"chooseVideo:ok",tempFilePaths:[y],tempFiles:[{name:m.tempFile&&m.tempFile.name||"",path:y,size:g,type:m.tempFile&&m.tempFile.type||"",width:T,height:p,duration:_,fileType:"video",cloudPath:""}]},"video"))},fail(m){v({errMsg:m.errMsg.replace("chooseVideo:fail",o)})}})})}(a),a):s(i,function(l){const{count:c,extension:u}=l;return new Promise((d,f)=>{let h=VL;if(typeof wx!="undefined"&&typeof wx.chooseMessageFile=="function"&&(h=wx.chooseMessageFile),typeof h!="function")return f({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});h({type:"all",count:c,extension:u,success(w){d(r(w))},fail(w){f({errMsg:w.errMsg.replace("chooseFile:fail",o)})}})})}(a),a)}}}),QB=E$(JB);const ZB="manual";function Yw(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch(()=>{var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach(n=>{t.push(this[n])}),t},(t,n)=>{if(this.loadtime===ZB)return;let o=!1;const r=[];for(let s=2;s<t.length;s++)t[s]!==n[s]&&(r.push(t[s]),o=!0);t[0]!==n[0]&&(this.mixinDatacomPage.current=this.pageCurrent),this.mixinDatacomPage.size=this.pageSize,this.onMixinDatacomPropsChange(o,r)})},methods:{onMixinDatacomPropsChange(t,n){},mixinDatacomEasyGet({getone:t=!1,success:n,fail:o}={}){this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then(r=>{this.mixinDatacomLoading=!1;const{data:s,count:i}=r.result;this.getcount&&(this.mixinDatacomPage.count=i),this.mixinDatacomHasMore=s.length<this.pageSize;const a=t?s.length?s[0]:void 0:s;this.mixinDatacomResData=a,n&&n(a)}).catch(r=>{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=r,this.mixinDatacomError=r,o&&o(r)}))},mixinDatacomGet(t={}){let n;t=t||{},n=typeof __uniX!="undefined"&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const o=t.action||this.action;o&&(n=n.action(o));const r=t.collection||this.collection;n=Array.isArray(r)?n.collection(...r):n.collection(r);const s=t.where||this.where;s&&Object.keys(s).length&&(n=n.where(s));const i=t.field||this.field;i&&(n=n.field(i));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const l=t.groupby||this.groupby;l&&(n=n.groupBy(l));const c=t.groupField||this.groupField;c&&(n=n.groupField(c)),(t.distinct!==void 0?t.distinct:this.distinct)===!0&&(n=n.distinct());const u=t.orderby||this.orderby;u&&(n=n.orderBy(u));const d=t.pageCurrent!==void 0?t.pageCurrent:this.mixinDatacomPage.current,f=t.pageSize!==void 0?t.pageSize:this.mixinDatacomPage.size,h=t.getcount!==void 0?t.getcount:this.getcount,w=t.gettree!==void 0?t.gettree:this.gettree,v=t.gettreepath!==void 0?t.gettreepath:this.gettreepath,m={getCount:h},y={limitLevel:t.limitlevel!==void 0?t.limitlevel:this.limitlevel,startWith:t.startwith!==void 0?t.startwith:this.startwith};return w&&(m.getTree=y),v&&(m.getTreePath=y),n=n.skip(f*(d-1)).limit(f).get(m),n}}}}function eF(e){return function(t,n={}){n=function(l,c={}){return l.customUI=c.customUI||l.customUI,l.parseSystemError=c.parseSystemError||l.parseSystemError,Object.assign(l.loadingOptions,c.loadingOptions),Object.assign(l.errorOptions,c.errorOptions),typeof c.secretMethods=="object"&&(l.secretMethods=c.secretMethods),l}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);const{customUI:o,loadingOptions:r,errorOptions:s,parseSystemError:i}=n,a=!o;return new Proxy({},{get(l,c){switch(c){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:u,interceptorName:d,getCallbackArgs:f}={}){return function(...h){return de(this,null,function*(){const w=f?f({params:h}):{};let v,m;try{return yield Vt(qt(d,"invoke"),ae({},w)),v=yield u(...h),yield Vt(qt(d,"success"),we(ae({},w),{result:v})),v}catch(y){throw m=y,yield Vt(qt(d,"fail"),we(ae({},w),{error:m})),m}finally{yield Vt(qt(d,"complete"),m?we(ae({},w),{error:m}):we(ae({},w),{result:v}))}})}}({fn:function u(...d){return de(this,null,function*(){let f;a&&s0({title:r.title,mask:r.mask});const h={name:t,type:M$,data:{method:c,params:d}};typeof n.secretMethods=="object"&&function(g,p){const T=p.data.method,S=g.secretMethods||{},k=S[T]||S["*"];k&&(p.secretType=k)}(n,h);let w=!1;try{f=yield e.callFunction(h)}catch(g){w=!0,f={result:new he(g)}}const{errSubject:v,errCode:m,errMsg:y,newToken:_}=f.result||{};if(a&&xu(),_&&_.token&&_.tokenExpired&&(kw(_),mn(Qa,ae({},_))),m){let g=y;if(w&&i&&(g=(yield i({objectName:t,methodName:c,params:d,errSubject:v,errCode:m,errMsg:y})).errMsg||y),a)if(s.type==="toast")Rl({title:g,icon:"none"});else{if(s.type!=="modal")throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:T}=yield function(){return de(this,arguments,function*({title:S,content:k,showCancel:C,cancelText:E,confirmText:I}={}){return new Promise((A,P)=>{yM({title:S,content:k,showCancel:C,cancelText:E,confirmText:I,success(B){A(B)},fail(){A({confirm:!1,cancel:!0})}})})})}({title:"提示",content:g,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&T)return u(...d)}}const p=new he({subject:v,code:m,message:y,requestId:f.requestId});throw p.detail=f.result,mn(Bn,{type:$g,content:p}),p}return mn(Bn,{type:$g,content:f.result}),f.result})},interceptorName:"callObject",getCallbackArgs:function({params:u}={}){return{objectName:t,methodName:c,params:u}}})}})}}function Xw(e){return es("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}function tF(){return de(this,arguments,function*({openid:e,callLoginByWeixin:t=!1}={}){throw Xw(this),new Error(`[SecureNetwork] API \`initSecureNetworkByWeixin\` is not supported on platform \`${Ei}\``)})}function nF(e){return de(this,null,function*(){const t=Xw(this);return t.initPromise||(t.initPromise=tF.call(this,e).then(n=>n).catch(n=>{throw delete t.initPromise,n})),t.initPromise})}function oF(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return nF.call(e,{openid:t,callLoginByWeixin:n})}}function rF(e){(function(t){Uu=t})(e)}function cm(e){const t={getSystemInfo:AL,getPushClientId:fu};return function(n){return new Promise((o,r)=>{t[e](we(ae({},n),{success(s){o(s)},fail(s){r(s)}}))})}}class sF extends class{constructor(){this._callback={}}addListener(t,n){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(n)}on(t,n){return this.addListener(t,n)}removeListener(t,n){if(!n)throw new Error('The "listener" argument must be of type function. Received undefined');const o=this._callback[t];if(!o)return;const r=function(s,i){for(let a=s.length-1;a>=0;a--)if(s[a]===i)return a;return-1}(o,n);o.splice(r,1)}off(t,n){return this.removeListener(t,n)}removeAllListener(t){delete this._callback[t]}emit(t,...n){const o=this._callback[t];if(o)for(let r=0;r<o.length;r++)o[r](...n)}}{constructor(){super(),this._uniPushMessageCallback=this._receivePushMessage.bind(this),this._currentMessageId=-1,this._payloadQueue=[]}init(){return Promise.all([cm("getSystemInfo")(),cm("getPushClientId")()]).then(([{appId:t}={},{cid:n}={}]=[])=>{if(!t)throw new Error("Invalid appId, please check the manifest.json file");if(!n)throw new Error("Invalid push client id");this._appId=t,this._pushClientId=n,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()},t=>{throw this.emit("error",t),this.close(),t})}open(){return de(this,null,function*(){return this.init()})}_isUniCloudSSE(t){if(t.type!=="receive")return!1;const n=t&&t.data&&t.data.payload;return!(!n||n.channel!=="UNI_CLOUD_SSE"||n.seqId!==this._seqId)}_receivePushMessage(t){if(!this._isUniCloudSSE(t))return;const n=t&&t.data&&t.data.payload,{action:o,messageId:r,message:s}=n;this._payloadQueue.push({action:o,messageId:r,message:s}),this._consumMessage()}_consumMessage(){for(;;){const t=this._payloadQueue.find(n=>n.messageId===this._currentMessageId+1);if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}_parseMessagePayload(t){const{action:n,messageId:o,message:r}=t;n==="end"?this._end({messageId:o,message:r}):n==="message"&&this._appendMessage({messageId:o,message:r})}_appendMessage({messageId:t,message:n}={}){this.emit("message",n)}_end({messageId:t,message:n}={}){this.emit("end",n),this.close()}_initMessageListener(){aE(this._uniPushMessageCallback)}_destroy(){lE(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}function iF(e){e._initPromiseHub||(e._initPromiseHub=new _w({createPromise:function(){let t=Promise.resolve();var n;n=1,t=new Promise(r=>{setTimeout(()=>{r()},n)});const o=e.auth();return t.then(()=>o.getLoginState()).then(r=>r?Promise.resolve():o.signInAnonymously())}}))}const aF={tcb:Xg,tencent:Xg,aliyun:z$,private:Jg,dcloud:Jg,alipay:kB};let an=new class{init(e){let t={};const n=aF[e.provider];if(!n)throw new Error("未提供正确的provider参数");return t=n.init(e),iF(t),DB(t),function(o){const r=o.uploadFile;o.uploadFile=function(s){return r.call(this,s)}}(t),function(o){o.database=function(r){if(r&&Object.keys(r).length>0)return o.init(r).database();if(this._database)return this._database;const s=rm(sm,{uniClient:o});return this._database=s,s},o.databaseForJQL=function(r){if(r&&Object.keys(r).length>0)return o.init(r).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const s=rm(sm,{uniClient:o,isJQL:!0});return this._databaseForJQL=s,s}}(t),function(o){o.getCurrentUserInfo=XB,o.chooseAndUploadFile=QB.initChooseAndUploadFile(o),Object.assign(o,{get mixinDatacom(){return Yw(o)}}),o.SSEChannel=sF,o.initSecureNetworkByWeixin=oF(o),o.setCustomClientInfo=rF,o.importObject=eF(o)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach(o=>{if(!t[o])return;const r=t[o];t[o]=function(){return r.apply(t,Array.from(arguments))},t[o]=function(s,i){return function(a){let l=!1;i==="callFunction"&&(l=(a&&a.type||Lg)!==Lg);const c=i==="callFunction"&&!l,u=this._initPromiseHub.exec();a=a||{};const{success:d,fail:f,complete:h}=Tw(a),w=u.then(()=>l?Promise.resolve():Vt(qt(i,"invoke"),a)).then(()=>s.call(this,a)).then(v=>l?Promise.resolve(v):Vt(qt(i,"success"),v).then(()=>Vt(qt(i,"complete"),v)).then(()=>(c&&mn(Bn,{type:Qi,content:v}),Promise.resolve(v))),v=>l?Promise.reject(v):Vt(qt(i,"fail"),v).then(()=>Vt(qt(i,"complete"),v)).then(()=>(mn(Bn,{type:Qi,content:v}),Promise.reject(v))));if(!(d||f||h))return w;w.then(v=>{d&&d(v),h&&h(v),c&&mn(Bn,{type:Qi,content:v})},v=>{f&&f(v),h&&h(v),c&&mn(Bn,{type:Qi,content:v})})}}(t[o],o).bind(t)}),t.init=this.init,t}};(()=>{const e=F$;let t={};if(e&&e.length===1)t=e[0],an=an.init(t),an._isDefault=!0;else{const n=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let o;o=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",n.forEach(r=>{an[r]=function(){return Promise.reject(new he({code:"SYS_ERR",message:o}))}})}if(Object.assign(an,{get mixinDatacom(){return Yw(an)}}),KB(an),an.addInterceptor=bw,an.removeInterceptor=q$,an.interceptObject=H$,Ei==="web"){const n=V$();n.uniCloud=an,n.UniCloudError=he}})();var Gu=an;function lF(){return new Promise((e,t)=>{t({message:"请在App中使用"})})}function cF(){return new Promise((e,t)=>{lF().then(n=>de(this,null,function*(){const o=n.code;n.message;const r=n.url;if(o>0){if(/^cloud:\/\//.test(r)){const s=yield Gu.getTempFileURL({fileList:[r]});typeof s.fileList[0].tempFileURL!="undefined"&&(n.url=s.fileList[0].tempFileURL)}if(n.is_silently){rM({url:n.url,success:s=>{s.statusCode==200&&plus.runtime.install(s.tempFilePath,{force:!1})}});return}return e(n)}else if(o<0)return t(n);return e(n)})).catch(n=>{t(n)})})}var uF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};(function(e){e()})(function(){function e(C,E){(E==null||E>C.length)&&(E=C.length);for(var I=0,A=Array(E);I<E;I++)A[I]=C[I];return A}function t(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function n(C,E,I){return E=l(E),d(C,u()?Reflect.construct(E,[],l(C).constructor):E.apply(C,I))}function o(C,E){if(!(C instanceof E))throw new TypeError("Cannot call a class as a function")}function r(C,E){for(var I=0;I<E.length;I++){var A=E[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(C,m(A.key),A)}}function s(C,E,I){return E&&r(C.prototype,E),I&&r(C,I),Object.defineProperty(C,"prototype",{writable:!1}),C}function i(C,E){var I=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(!I){if(Array.isArray(C)||(I=y(C))||E){I&&(C=I);var A=0,P=function(){};return{s:P,n:function(){return A>=C.length?{done:!0}:{done:!1,value:C[A++]}},e:function(z){throw z},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  112. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B,ee=!0,R=!1;return{s:function(){I=I.call(C)},n:function(){var z=I.next();return ee=z.done,z},e:function(z){R=!0,B=z},f:function(){try{ee||I.return==null||I.return()}finally{if(R)throw B}}}}function a(){return a=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(C,E,I){var A=h(C,E);if(A){var P=Object.getOwnPropertyDescriptor(A,E);return P.get?P.get.call(arguments.length<3?C:I):P.value}},a.apply(null,arguments)}function l(C){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},l(C)}function c(C,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(E&&E.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),E&&f(C,E)}function u(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(E){}return(u=function(){return!!C})()}function d(C,E){if(E&&(typeof E=="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t(C)}function f(C,E){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,A){return I.__proto__=A,I},f(C,E)}function h(C,E){for(;!{}.hasOwnProperty.call(C,E)&&(C=l(C))!==null;);return C}function w(C,E,I,A){var P=a(l(C.prototype),E,I);return typeof P=="function"?function(B){return P.apply(I,B)}:P}function v(C,E){if(typeof C!="object"||!C)return C;var I=C[Symbol.toPrimitive];if(I!==void 0){var A=I.call(C,E);if(typeof A!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}function m(C){var E=v(C,"string");return typeof E=="symbol"?E:E+""}function y(C,E){if(C){if(typeof C=="string")return e(C,E);var I={}.toString.call(C).slice(8,-1);return I==="Object"&&C.constructor&&(I=C.constructor.name),I==="Map"||I==="Set"?Array.from(C):I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I)?e(C,E):void 0}}function _(C){var E;try{E=new Event("abort")}catch(I){typeof document!="undefined"?document.createEvent?(E=document.createEvent("Event"),E.initEvent("abort",!1,!1)):(E=document.createEventObject(),E.type="abort"):E={type:"abort",bubbles:!1,cancelable:!1}}return E.reason=C,E}function g(C){if(C===void 0)if(typeof document=="undefined")C=new Error("This operation was aborted"),C.name="AbortError";else try{C=new DOMException("signal is aborted without reason"),Object.defineProperty(C,"name",{value:"AbortError"})}catch(E){C=new Error("This operation was aborted"),C.name="AbortError"}return C}var p=function(){function C(){o(this,C),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return s(C,[{key:"addEventListener",value:function(I,A,P){I in this.listeners||(this.listeners[I]=[]),this.listeners[I].push({callback:A,options:P})}},{key:"removeEventListener",value:function(I,A){if(I in this.listeners){for(var P=this.listeners[I],B=0,ee=P.length;B<ee;B++)if(P[B].callback===A){P.splice(B,1);return}}}},{key:"dispatchEvent",value:function(I){var A=this;if(I.type in this.listeners){for(var P=this.listeners[I.type],B=P.slice(),ee=function(){var X=B[R];try{X.callback.call(A,I)}catch(N){Promise.resolve().then(function(){throw N})}X.options&&X.options.once&&A.removeEventListener(I.type,X.callback)},R=0,z=B.length;R<z;R++)ee();return!I.defaultPrevented}}}])}(),T=function(C){function E(){var I;return o(this,E),I=n(this,E),I.listeners||p.call(I),Object.defineProperty(I,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(I,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(I,"reason",{value:void 0,writable:!0,configurable:!0}),I}return c(E,C),s(E,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(A){A.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,A)),w(E,"dispatchEvent",this)([A])}},{key:"throwIfAborted",value:function(){var A=this.aborted,P=this.reason,B=P===void 0?"Aborted":P;if(A)throw B}}],[{key:"timeout",value:function(A){var P=new S;return setTimeout(function(){return P.abort(new DOMException("This signal is timeout in ".concat(A,"ms"),"TimeoutError"))},A),P.signal}},{key:"any",value:function(A){var P=new S;function B(){P.abort(this.reason),ee()}function ee(){var X=i(A),N;try{for(X.s();!(N=X.n()).done;){var Z=N.value;Z.removeEventListener("abort",B)}}catch(U){X.e(U)}finally{X.f()}}var R=i(A),z;try{for(R.s();!(z=R.n()).done;){var te=z.value;if(te.aborted){P.abort(te.reason);break}else te.addEventListener("abort",B)}}catch(X){R.e(X)}finally{R.f()}return P.signal}}])}(p),S=function(){function C(){o(this,C),Object.defineProperty(this,"signal",{value:new T,writable:!0,configurable:!0})}return s(C,[{key:"abort",value:function(I){var A=g(I),P=_(A);this.signal.reason=A,this.signal.dispatchEvent(P)}},{key:"toString",value:function(){return"[object AbortController]"}}])}();typeof Symbol!="undefined"&&Symbol.toStringTag&&(S.prototype[Symbol.toStringTag]="AbortController",T.prototype[Symbol.toStringTag]="AbortSignal");function k(C){return C.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?!0:typeof C.Request=="function"&&!C.Request.prototype.hasOwnProperty("signal")||!C.AbortController}(function(C){k(C)&&(C.AbortController=S,C.AbortSignal=T)})(typeof self!="undefined"?self:uF)});const Jw={__name:"App",setup(e){const t=uni.requireNativePlugin("EL-MTPush");x$();const n=Pi(),o=Y(()=>!!n.token);return iD(()=>{o.value&&n.getUserInfo(),Cn().platform==="ios"&&t.requestNotificationAuthorization(r=>{r.status<2&&Rl({icon:"none",title:Pn("app.notificationPermission"),duration:3e3})}),t.setSiteName("Singapore"),t.setLoggerEnable(!0),t.initPushService(),t.addConnectEventListener(r=>{const s=r.connectEnable;kP("connectStatusChange",s)}),t.getRegistrationID(r=>{lt("registerID",r.registerID),hw({jpushDeviceId:r.registerID})})}),F0(()=>{cF()}),sD(()=>{}),()=>{}}};oL(Jw);const dF={install(){typeof Array.prototype.at!="function"&&(Array.prototype.at=function(e){if(e<0)return this[this.length+e];if(!(e>=this.length))return this[e]})}},fF=d$();function hF(e){const t="/mall",n="/cif",o="/operating";let r=fF,s=e;return(e.startsWith(t)||e.startsWith(n)||e.startsWith(o))&&(r="https://api.bandhubuy.com"),{baseUrl:r,processedUrl:s}}const um={invoke(e){var n,o;if(e.query){const r=nf(e.query);e.url.includes("?")?e.url+=`&${r}`:e.url+=`?${r}`}if(!e.url.startsWith("http")){const{baseUrl:r,processedUrl:s}=hF(e.url);JSON.parse("false")?e.url="/api"+s:e.url=r+s}if(e.timeout=1e4,e.header=ae({platform:l$},e.header),e.header["accept-language"]=Z0.global.locale,!(((n=e.url)==null?void 0:n.includes("/login"))||((o=e.url)==null?void 0:o.includes("/register")))){const r=st("token");r&&(e.header.Token=r)}}},pF={install(){fn("request",um),fn("uploadFile",um)}},gF="/pages/login/login";function mF(){return!!Pi().token}const ta={invoke({url:e}){let t=e.split("?")[0];if(!t.startsWith("/")){const i=uw().route,a=i.startsWith("/")?i:`/${i}`;t=`${a.substring(0,a.lastIndexOf("/"))}/${t}`}let n=[];if(n=dw,!n.includes(t)||mF())return!0;const s=`${gF}?redirect=${encodeURIComponent(e)}`;return ii({url:s}),!1}},yF={install(){fn("navigateTo",ta),fn("reLaunch",ta),fn("redirectTo",ta),fn("switchTab",ta)}},vF={install(e){e.config.globalProperties.$tWithBreaks=YN,e.config.globalProperties.$formatTextWithBreaks=ew}},Ur=[Number,String],Qw=e=>({type:e,required:!0}),_F=()=>({type:Array,default:()=>[]}),ke=e=>({type:Boolean,default:e}),ar=e=>({type:Number,default:e}),cf=e=>({type:Ur,default:e}),De=e=>({type:String,default:e}),Ft={customStyle:De(""),customClass:De("")},wF=we(ae({},Ft),{name:Qw(String),color:String,size:Ur,classPrefix:De("wd-icon")}),bF={name:"wd-icon",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},SF=nt(we(ae({},bF),{props:wF,emits:["click","touch"],setup(e,{emit:t}){const n=e,o=t,r=Y(()=>Ee(n.name)&&n.name.includes("/")),s=Y(()=>{const l=n.classPrefix;return`${l} ${n.customClass} ${r.value?"wd-icon--image":l+"-"+n.name}`}),i=Y(()=>{const l={};return n.color&&(l.color=n.color),n.size&&(l["font-size"]=kn(n.size)),`${qn(l)} ${n.customStyle}`});function a(l){o("click",l)}return(l,c)=>{const u=P_,d=vn;return me(),_e(d,{onClick:a,class:tt(s.value),style:ut(i.value)},{default:ve(()=>[r.value?(me(),_e(u,{key:0,class:"wd-icon__image",src:l.name},null,8,["src"])):Ye("",!0)]),_:1},8,["class","style"])}}})),rn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Gn=rn(SF,[["__scopeId","data-v-bef80b7c"]]),na=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],Zw=e=>e.replace(/[+/]/g,t=>t==="+"?"-":"_").replace(/=+\$/m,""),TF=(e,t=!1)=>{let n="";for(let o=0,r=e.length;o<r;o+=3){const[s,i,a]=[e[o],e[o+1],e[o+2]],l=s<<16|i<<8|a;n+=na[l>>>18],n+=na[l>>>12&63],n+=typeof i!="undefined"?na[l>>>6&63]:"=",n+=typeof a!="undefined"?na[l&63]:"="}return t?Zw(n):n},CF=typeof btoa=="function"?e=>btoa(e):e=>{if(e.charCodeAt(0)>255)throw new RangeError("The string contains invalid characters.");return TF(Uint8Array.from(e,t=>t.charCodeAt(0)))},kF=e=>unescape(encodeURIComponent(e));function uf(e,t=!1){const n=CF(kF(e));return t?Zw(n):n}const xF=we(ae({},Ft),{type:De("ring"),color:De("#4D80F0"),size:cf("")}),PF={name:"wd-loading",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},EF=nt(we(ae({},PF),{props:xF,setup(e){const t=vc.id++,n=vc.id++,o=vc.id++,r={outline(d="#4D80F0"){return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><defs><linearGradient x1="100%" y1="0%" x2="0%" y2="0%" id="${t}"><stop stop-color="#FFF" offset="0%" stop-opacity="0"/><stop stop-color="#FFF" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path d="M21 1c11.046 0 20 8.954 20 20s-8.954 20-20 20S1 32.046 1 21 9.954 1 21 1zm0 7C13.82 8 8 13.82 8 21s5.82 13 13 13 13-5.82 13-13S28.18 8 21 8z" fill="${d}"/><path d="M4.599 21c0 9.044 7.332 16.376 16.376 16.376 9.045 0 16.376-7.332 16.376-16.376" stroke="url(#${t}) " stroke-width="3.5" stroke-linecap="round"/></g></svg>`},ring(d="#4D80F0",f="#a6bff7"){return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><linearGradient id="${n}" gradientUnits="userSpaceOnUse" x1="50" x2="50" y2="180"><stop offset="0" stop-color="${d}"></stop> <stop offset="1" stop-color="${f}"></stop></linearGradient> <path fill="url(#${n})" d="M20 100c0-44.1 35.9-80 80-80V0C44.8 0 0 44.8 0 100s44.8 100 100 100v-20c-44.1 0-80-35.9-80-80z"></path> <linearGradient id="${o}" gradientUnits="userSpaceOnUse" x1="150" y1="20" x2="150" y2="180"><stop offset="0" stop-color="#fff" stop-opacity="0"></stop> <stop offset="1" stop-color="${f}"></stop></linearGradient> <path fill="url(#${o})" d="M100 0v20c44.1 0 80 35.9 80 80s-35.9 80-80 80v20c55.2 0 100-44.8 100-100S155.2 0 100 0z"></path> <circle cx="100" cy="10" r="10" fill="${d}"></circle></svg>`}},s=e,i=H(""),a=H(""),l=H(null);se(()=>s.size,d=>{l.value=kn(d)},{deep:!0,immediate:!0}),se(()=>s.type,()=>{u()},{deep:!0,immediate:!0});const c=Y(()=>{const d={};return Ee(l.value)&&(d.height=kn(l.value),d.width=kn(l.value)),`${qn(d)} ${s.customStyle}`});$o(()=>{a.value=ON(s.color,"#ffffff",2)[1],u()});function u(){const{type:d,color:f}=s;let h=Ee(d)?d:"ring";const w=`"data:image/svg+xml;base64,${uf(h==="ring"?r[h](f,a.value):r[h](f))}"`;i.value=w}return(d,f)=>{const h=vn;return me(),_e(h,{class:tt(`wd-loading ${s.customClass}`),style:ut(c.value)},{default:ve(()=>[L(h,{class:"wd-loading__body"},{default:ve(()=>[L(h,{class:"wd-loading__svg",style:ut(`background-image: url(${i.value});`)},null,8,["style"])]),_:1})]),_:1},8,["class","style"])}}})),IF=rn(EF,[["__scopeId","data-v-4224d8d3"]]),AF=we(ae({},Ft),{show:ke(!1),duration:{type:[Object,Number,Boolean],default:300},lazyRender:ke(!1),name:[String,Array],destroy:ke(!0),enterClass:De(""),enterActiveClass:De(""),enterToClass:De(""),leaveClass:De(""),leaveActiveClass:De(""),leaveToClass:De("")}),OF={name:"wd-transition",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},LF=nt(we(ae({},OF),{props:AF,emits:["click","before-enter","enter","before-leave","leave","after-leave","after-enter"],setup(e,{emit:t}){const n=k=>{let C=`${o.enterClass} ${o.enterActiveClass}`,E=`${o.enterToClass} ${o.enterActiveClass}`,I=`${o.leaveClass} ${o.leaveActiveClass}`,A=`${o.leaveToClass} ${o.leaveActiveClass}`;if(Array.isArray(k))for(let P=0;P<k.length;P++)C=`wd-${k[P]}-enter wd-${k[P]}-enter-active ${C}`,E=`wd-${k[P]}-enter-to wd-${k[P]}-enter-active ${E}`,I=`wd-${k[P]}-leave wd-${k[P]}-leave-active ${I}`,A=`wd-${k[P]}-leave-to wd-${k[P]}-leave-active ${A}`;else k&&(C=`wd-${k}-enter wd-${k}-enter-active ${C}`,E=`wd-${k}-enter-to wd-${k}-enter-active ${E}`,I=`wd-${k}-leave wd-${k}-leave-active ${I}`,A=`wd-${k}-leave-to wd-${k}-leave-active ${A}`);return{enter:C,"enter-to":E,leave:I,"leave-to":A}},o=e,r=t,s=H(!1),i=H(!1),a=H(""),l=H(!1),c=H(300),u=H(""),d=H(null),f=H(null),h=H(null),w=Y(()=>`-webkit-transition-duration:${c.value}ms;transition-duration:${c.value}ms;${i.value||!o.destroy?"":"display: none;"}${o.customStyle}`),v=Y(()=>`wd-transition ${o.customClass} ${u.value}`);$o(()=>{o.show&&g()}),se(()=>o.show,k=>{y(k)},{deep:!0});function m(){r("click")}function y(k){k?(_(),g()):p()}function _(){_c(d.value)&&d.value.abort(),_c(f.value)&&f.value.abort(),_c(h.value)&&h.value.abort(),d.value=null,f.value=null,h.value=null}function g(){d.value=new Nu(k=>de(this,null,function*(){try{const C=n(o.name),E=Zr(o.duration)?o.duration.enter:o.duration;a.value="enter",r("before-enter"),f.value=nr(),yield f.value,r("enter"),u.value=C.enter,c.value=E,f.value=nr(),yield f.value,s.value=!0,i.value=!0,f.value=nr(),yield f.value,f.value=null,l.value=!1,u.value=C["enter-to"],k()}catch(C){}}))}function p(){return de(this,null,function*(){if(!d.value)return l.value=!1,S();try{if(yield d.value,!i.value)return;const k=n(o.name),C=Zr(o.duration)?o.duration.leave:o.duration;a.value="leave",r("before-leave"),c.value=C,h.value=nr(),yield h.value,r("leave"),u.value=k.leave,h.value=nr(),yield h.value,l.value=!1,u.value=k["leave-to"],h.value=T(c.value),yield h.value,h.value=null,S(),d.value=null}catch(k){}})}function T(k){return new Nu(C=>{const E=setTimeout(()=>{clearTimeout(E),C()},k)})}function S(){l.value||(l.value=!0,a.value==="leave"?r("after-leave"):a.value==="enter"&&r("after-enter"),!o.show&&i.value&&(i.value=!1))}return(k,C)=>{const E=vn;return!k.lazyRender||s.value?(me(),_e(E,{key:0,class:tt(v.value),style:ut(w.value),onTransitionend:S,onClick:m},{default:ve(()=>[gt(k.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])):Ye("",!0)}}})),df=rn(LF,[["__scopeId","data-v-1fc69211"]]),MF=we(ae({},Ft),{show:ke(!1),duration:{type:[Object,Number,Boolean],default:300},lockScroll:ke(!0),zIndex:ar(10)});function RF(e){const t=H(0),n=()=>{t.value===0&&(document.getElementsByTagName("body")[0].style.overflow="hidden"),t.value++},o=()=>{t.value>0&&(t.value--,t.value===0&&(document.getElementsByTagName("body")[0].style.overflow=""))},r=()=>{e()&&o()};return se(e,s=>{s?n():o()}),gd(r),At(r),{lock:n,unlock:o}}const DF={name:"wd-overlay",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},NF=nt(we(ae({},DF),{props:MF,emits:["click"],setup(e,{emit:t}){const n=e,o=t;function r(){o("click")}function s(){}return RF(()=>n.show&&n.lockScroll),(i,a)=>(me(),_e(df,{show:i.show,name:"fade","custom-class":"wd-overlay",duration:i.duration,"custom-style":`z-index: ${i.zIndex}; ${i.customStyle}`,onClick:r,onTouchmove:a[0]||(a[0]=cn(l=>i.lockScroll?s:"",["stop","prevent"]))},{default:ve(()=>[gt(i.$slots,"default",{},void 0,!0)]),_:3},8,["show","duration","custom-style"]))}})),eb=rn(NF,[["__scopeId","data-v-ec0037f9"]]),$F=we(ae({},Ft),{selector:De(""),msg:{type:String,default:""},direction:De("horizontal"),iconName:{type:String,default:""},iconSize:Number,loadingType:De("outline"),loadingColor:{type:String,default:"#4D80F0"},loadingSize:Number,iconColor:String,position:De("middle-top"),zIndex:{type:Number,default:100},cover:{type:Boolean,default:!1},iconClass:{type:String,default:""},classPrefix:{type:String,default:"wd-icon"},opened:Function,closed:Function}),BF={name:"wd-toast",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},FF=nt(we(ae({},BF),{props:$F,setup(e){const t=e,n=H(""),o=H(""),r=H("middle"),s=H(!1),i=H(100),a=H("outline"),l=H("#4D80F0"),c=H(),u=H(),d=H(""),f=H(!1),h=H("wd-icon"),w=H(""),v=H("horizontal");let m=null,y=null;const _=X0(t.selector),g=Ne(_,H($u));se(()=>g.value,P=>{I(P)},{deep:!0,immediate:!0}),se(()=>n.value,()=>{E()},{deep:!0,immediate:!0});const p=Y(()=>{const P={"z-index":i.value,position:"fixed",top:"50%",left:0,width:"100%",transform:"translate(0, -50%)","text-align":"center","pointer-events":"none"};return qn(P)}),T=Y(()=>`wd-toast ${t.customClass} wd-toast--${r.value} ${(n.value!=="loading"||o.value)&&(n.value||w.value)?"wd-toast--with-icon":""} ${n.value==="loading"&&!o.value?"wd-toast--loading":""} ${v.value==="vertical"?"is-vertical":""}`),S=Y(()=>{const P={backgroundImage:`url(${d.value})`};return Ee(c.value)&&(P.width=c.value,P.height=c.value),qn(P)});$o(()=>{E()});function k(){Sn(m)&&m()}function C(){Sn(y)&&y()}function E(){if(n.value!=="success"&&n.value!=="warning"&&n.value!=="info"&&n.value!=="error")return;const P=UN[n.value](),B=`"data:image/svg+xml;base64,${uf(P)}"`;d.value=B}function I(P){s.value=Ee(P.show)?P.show:!1,s.value&&A(P,t)}function A(P,B){n.value=Ee(P.iconName)?P.iconName:B.iconName,w.value=Ee(P.iconClass)?P.iconClass:B.iconClass,o.value=Ee(P.msg)?P.msg:B.msg,r.value=Ee(P.position)?P.position:B.position,i.value=Ee(P.zIndex)?P.zIndex:B.zIndex,a.value=Ee(P.loadingType)?P.loadingType:B.loadingType,l.value=Ee(P.loadingColor)?P.loadingColor:B.loadingColor,c.value=Ee(P.iconSize)?kn(P.iconSize):Ee(B.iconSize)?kn(B.iconSize):void 0,u.value=Ee(P.loadingSize)?kn(P.loadingSize):Ee(B.loadingSize)?kn(B.loadingSize):void 0,f.value=Ee(P.cover)?P.cover:B.cover,h.value=Ee(P.classPrefix)?P.classPrefix:B.classPrefix,v.value=Ee(P.direction)?P.direction:B.direction,y=Sn(P.closed)?P.closed:Sn(B.closed)?B.closed:null,m=Sn(P.opened)?P.opened:Sn(B.opened)?B.opened:null}return(P,B)=>{const ee=vn;return me(),pl(ot,null,[f.value?(me(),_e(eb,{key:0,"z-index":i.value,"lock-scroll":"",show:s.value,"custom-style":"background-color: transparent;pointer-events: auto;"},null,8,["z-index","show"])):Ye("",!0),L(df,{name:"fade",show:s.value,"custom-style":p.value,onAfterEnter:k,onAfterLeave:C},{default:ve(()=>[L(ee,{class:tt(T.value)},{default:ve(()=>[n.value==="loading"?(me(),_e(IF,{key:0,type:a.value,color:l.value,size:u.value,"custom-class":`wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`},null,8,["type","color","size","custom-class"])):n.value==="success"||n.value==="warning"||n.value==="info"||n.value==="error"?(me(),_e(ee,{key:1,class:tt(`wd-toast__iconWrap wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`)},{default:ve(()=>[L(ee,{class:"wd-toast__iconBox"},{default:ve(()=>[L(ee,{class:"wd-toast__iconSvg",style:ut(S.value)},null,8,["style"])]),_:1})]),_:1},8,["class"])):w.value?(me(),_e(Gn,{key:2,"custom-class":`wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`,size:c.value,"class-prefix":h.value,name:w.value},null,8,["custom-class","size","class-prefix","name"])):Ye("",!0),o.value?(me(),_e(ee,{key:3,class:"wd-toast__msg"},{default:ve(()=>[Ut(un(o.value),1)]),_:1})):Ye("",!0)]),_:1},8,["class"])]),_:1},8,["show","custom-style"])],64)}}})),tb=rn(FF,[["__scopeId","data-v-d24ac773"]]),UF=we(ae({},Ft),{transition:String,closable:ke(!1),position:De("center"),closeOnClickModal:ke(!0),duration:{type:[Number,Boolean],default:300},modal:ke(!0),zIndex:ar(10),hideWhenClose:ke(!0),modalStyle:De(""),safeAreaInsetBottom:ke(!1),modelValue:ke(!1),lazyRender:ke(!0),lockScroll:ke(!0)}),VF={name:"wd-popup",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},qF=nt(we(ae({},VF),{props:UF,emits:["update:modelValue","before-enter","enter","before-leave","leave","after-leave","after-enter","click-modal","close"],setup(e,{emit:t}){const n=e,o=t,r=Y(()=>n.transition?n.transition:n.position==="center"?["zoom-in","fade"]:n.position==="left"?"slide-left":n.position==="right"?"slide-right":n.position==="bottom"?"slide-up":n.position==="top"?"slide-down":"slide-up"),s=H(0),i=Y(()=>`z-index:${n.zIndex}; padding-bottom: ${s.value}px;${n.customStyle}`),a=Y(()=>`wd-popup wd-popup--${n.position} ${!n.transition&&n.position==="center"?"is-deep":""} ${n.customClass||""}`);$o(()=>{if(n.safeAreaInsetBottom){const{safeArea:d,screenHeight:f,safeAreaInsets:h}=Cn();d?s.value=h?h.bottom:0:s.value=0}});function l(){o("click-modal"),n.closeOnClickModal&&c()}function c(){o("close"),o("update:modelValue",!1)}function u(){}return(d,f)=>{const h=vn;return me(),_e(h,{class:"wd-popup-wrapper"},{default:ve(()=>[d.modal?(me(),_e(eb,{key:0,show:d.modelValue,"z-index":d.zIndex,"lock-scroll":d.lockScroll,duration:d.duration,"custom-style":d.modalStyle,onClick:l,onTouchmove:u},null,8,["show","z-index","lock-scroll","duration","custom-style"])):Ye("",!0),L(df,{"lazy-render":d.lazyRender,"custom-class":a.value,"custom-style":i.value,duration:d.duration,show:d.modelValue,name:r.value,destroy:d.hideWhenClose,onBeforeEnter:f[0]||(f[0]=w=>o("before-enter")),onEnter:f[1]||(f[1]=w=>o("enter")),onAfterEnter:f[2]||(f[2]=w=>o("after-enter")),onBeforeLeave:f[3]||(f[3]=w=>o("before-leave")),onLeave:f[4]||(f[4]=w=>o("leave")),onAfterLeave:f[5]||(f[5]=w=>o("after-leave"))},{default:ve(()=>[gt(d.$slots,"default",{},void 0,!0),d.closable?(me(),_e(Gn,{key:0,"custom-class":"wd-popup__close",name:"add",onClick:c})):Ye("",!0)]),_:3},8,["lazy-render","custom-class","custom-style","duration","show","name","destroy"])]),_:3})}}})),HF=rn(qF,[["__scopeId","data-v-974776cf"]]),WF=we(ae({},Ft),{plain:ke(!1),round:ke(!0),disabled:ke(!1),hairline:ke(!1),block:ke(!1),type:De("primary"),size:De("medium"),icon:String,classPrefix:De("wd-icon"),loading:ke(!1),loadingColor:String,openType:String,hoverStopPropagation:Boolean,lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,appParameter:String,showMessageCard:Boolean,buttonId:String,scope:String}),jF={name:"wd-button",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},zF=nt(we(ae({},jF),{props:WF,emits:["click","getuserinfo","contact","getphonenumber","error","launchapp","opensetting","chooseavatar","agreeprivacyauthorization"],setup(e,{emit:t}){const n=(p="#4D80F0",T=!0)=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><defs><linearGradient x1="100%" y1="0%" x2="0%" y2="0%" id="a"><stop stop-color="${T?p:"#fff"}" offset="0%" stop-opacity="0"/><stop stop-color="${T?p:"#fff"}" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path d="M21 1c11.046 0 20 8.954 20 20s-8.954 20-20 20S1 32.046 1 21 9.954 1 21 1zm0 7C13.82 8 8 13.82 8 21s5.82 13 13 13 13-5.82 13-13S28.18 8 21 8z" fill="${T?"#fff":p}"/><path d="M4.599 21c0 9.044 7.332 16.376 16.376 16.376 9.045 0 16.376-7.332 16.376-16.376" stroke="url(#a)" stroke-width="3.5" stroke-linecap="round"/></g></svg>`,o=e,r=t,s=H(20),i=H(70),a=H(""),l=Y(()=>`background-image: url(${a.value});`);se(()=>o.loading,()=>{g()},{deep:!0,immediate:!0});function c(p){!o.disabled&&!o.loading&&r("click",p)}function u(p){o.scope==="phoneNumber"?h(p):o.scope==="userInfo"&&d(p)}function d(p){r("getuserinfo",p.detail)}function f(p){r("contact",p.detail)}function h(p){r("getphonenumber",p.detail)}function w(p){r("error",p.detail)}function v(p){r("launchapp",p.detail)}function m(p){r("opensetting",p.detail)}function y(p){r("chooseavatar",p.detail)}function _(p){r("agreeprivacyauthorization",p.detail)}function g(){const{loadingColor:p,type:T,plain:S}=o;let k=p;if(!k)switch(T){case"primary":k="#4D80F0";break;case"success":k="#34d19d";break;case"info":k="#333";break;case"warning":k="#f0883a";break;case"error":k="#fa4350";break;case"default":k="#333";break}const C=n(k,!S);a.value=`"data:image/svg+xml;base64,${uf(C)}"`}return(p,T)=>{const S=vn,k=Vx;return me(),_e(k,{id:p.buttonId,"hover-class":`${p.disabled||p.loading?"":"wd-button--active"}`,style:ut(p.customStyle),class:tt(["wd-button","is-"+p.type,"is-"+p.size,p.round?"is-round":"",p.hairline?"is-hairline":"",p.plain?"is-plain":"",p.disabled?"is-disabled":"",p.block?"is-block":"",p.loading?"is-loading":"",p.customClass]),"hover-start-time":s.value,"hover-stay-time":i.value,"open-type":p.disabled||p.loading?void 0:p.openType,"send-message-title":p.sendMessageTitle,"send-message-path":p.sendMessagePath,"send-message-img":p.sendMessageImg,"app-parameter":p.appParameter,"show-message-card":p.showMessageCard,"session-from":p.sessionFrom,lang:p.lang,"hover-stop-propagation":p.hoverStopPropagation,scope:p.scope,onClick:c,onGetAuthorize:u,onGetuserinfo:d,onContact:f,onGetphonenumber:h,onError:w,onLaunchapp:v,onOpensetting:m,onChooseavatar:y,onAgreeprivacyauthorization:_},{default:ve(()=>[L(S,{class:"wd-button__content"},{default:ve(()=>[p.loading?(me(),_e(S,{key:0,class:"wd-button__loading"},{default:ve(()=>[L(S,{class:"wd-button__loading-svg",style:ut(l.value)},null,8,["style"])]),_:1})):p.icon?(me(),_e(Gn,{key:1,"custom-class":"wd-button__icon",name:p.icon,classPrefix:p.classPrefix},null,8,["name","classPrefix"])):Ye("",!0),L(S,{class:"wd-button__text"},{default:ve(()=>[gt(p.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3},8,["id","hover-class","style","class","hover-start-time","hover-stay-time","open-type","send-message-title","send-message-path","send-message-img","app-parameter","show-message-card","session-from","lang","hover-stop-propagation","scope"])}}})),dm=rn(zF,[["__scopeId","data-v-7f9ef195"]]);function ff(e){const t=Ne(e,null);if(t){const n=ft(),{link:o,unlink:r,internalChildren:s}=t;o(n),Vn(()=>r(n));const i=Y(()=>s.indexOf(n));return{parent:t,index:i}}return{parent:null,index:H(-1)}}const GF=Symbol("wd-cell-group"),l4=we(ae({},Ft),{title:String,value:String,useSlot:ke(!1),border:ke(!1)});function KF(){const{parent:e,index:t}=ff(GF);return{border:Y(()=>e&&e.props.border&&t.value)}}const YF=Symbol("wd-form"),c4=we(ae({},Ft),{model:Qw(Object),rules:{type:Object,default:()=>({})},resetOnChange:ke(!0),errorType:{type:String,default:"message"}}),nb=e=>{const t=e?DN(e)+".":"";return{translate:(o,...r)=>{const s=J0.messages(),i=BN(s,t+o);return Sn(i)?i(...r):Ee(i)?i:`${t}${o}`}}},XF=we(ae({},Ft),{customInputClass:De(""),customLabelClass:De(""),placeholder:String,placeholderStyle:String,placeholderClass:De(""),cursorSpacing:ar(0),cursor:ar(-1),selectionStart:ar(-1),selectionEnd:ar(-1),adjustPosition:ke(!0),holdKeyboard:ke(!1),confirmType:De("done"),confirmHold:ke(!1),focus:ke(!1),type:De("text"),maxlength:{type:Number,default:-1},disabled:ke(!1),alwaysEmbed:ke(!1),alignRight:ke(!1),modelValue:cf(""),showPassword:ke(!1),clearable:ke(!1),readonly:ke(!1),prefixIcon:String,suffixIcon:String,showWordLimit:ke(!1),label:String,labelWidth:De(""),size:String,error:ke(!1),center:ke(!1),noBorder:ke(!1),required:ke(!1),prop:String,rules:_F(),clearTrigger:De("always"),focusWhenClear:ke(!0),ignoreCompositionEvent:ke(!0),inputmode:De("text")}),JF={name:"wd-input",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},QF=nt(we(ae({},JF),{props:XF,emits:["update:modelValue","clear","blur","focus","input","keyboardheightchange","confirm","clicksuffixicon","clickprefixicon","click"],setup(e,{emit:t}){const n=e,o=t,r=MT(),{translate:s}=nb("input"),i=H(!1),a=H(!1),l=H(!1),c=H(!1),u=H(S()),d=KF();se(()=>n.focus,N=>{l.value=N},{immediate:!0,deep:!0}),se(()=>n.modelValue,N=>{u.value=Ee(N)?String(N):""});const{parent:f}=ff(YF),h=Y(()=>Ee(n.placeholder)?n.placeholder:s("placeholder")),w=Y(()=>{const{disabled:N,readonly:Z,clearable:U,clearTrigger:K}=n;return!!(U&&!Z&&!N&&u.value&&(K==="always"||n.clearTrigger==="focus"&&c.value))}),v=Y(()=>{const{disabled:N,readonly:Z,maxlength:U,showWordLimit:K}=n;return!!(!N&&!Z&&Ee(U)&&U>-1&&K)}),m=Y(()=>f&&n.prop&&f.errorMessages&&f.errorMessages[n.prop]?f.errorMessages[n.prop]:""),y=Y(()=>{let N=!1;if(f&&f.props.rules){const Z=f.props.rules;for(const U in Z)Object.prototype.hasOwnProperty.call(Z,U)&&U===n.prop&&Array.isArray(Z[U])&&(N=Z[U].some(K=>K.required))}return n.required||n.rules.some(Z=>Z.required)||N}),_=Y(()=>`wd-input ${n.label||r.label?"is-cell":""} ${n.center?"is-center":""} ${d.border.value?"is-border":""} ${n.size?"is-"+n.size:""} ${n.error?"is-error":""} ${n.disabled?"is-disabled":""} ${u.value&&String(u.value).length>0?"is-not-empty":""} ${n.noBorder?"is-no-border":""} ${n.customClass}`),g=Y(()=>`wd-input__label ${n.customLabelClass} ${y.value?"is-required":""}`),p=Y(()=>`wd-input__placeholder ${n.placeholderClass}`),T=Y(()=>n.labelWidth?qn({"min-width":n.labelWidth,"max-width":n.labelWidth}):"");function S(){const N=k(n.modelValue);return X(N,n.modelValue)||o("update:modelValue",N),N}function k(N){const{maxlength:Z}=n;return Ee(Z)&&Z!==-1&&String(N).length>Z?N.toString().slice(0,Z):N}function C(){i.value=!i.value}function E(){return de(this,null,function*(){c.value=!1,u.value="",n.focusWhenClear&&(a.value=!0,l.value=!1),yield nr(),n.focusWhenClear&&(l.value=!0,c.value=!0),o("update:modelValue",u.value),o("clear")})}function I(){return de(this,null,function*(){if(yield nr(150),a.value){a.value=!1;return}c.value=!1,o("blur",{value:u.value})})}function A({detail:N}){c.value=!0,o("focus",N)}function P({detail:N}){o("update:modelValue",u.value),o("input",N)}function B({detail:N}){o("keyboardheightchange",N)}function ee({detail:N}){o("confirm",N)}function R(){o("clicksuffixicon")}function z(){o("clickprefixicon")}function te(N){o("click",N)}function X(N,Z){return LN(String(N),String(Z))}return(N,Z)=>{const U=vn,K=YA,G=H_;return me(),_e(U,{class:tt(_.value),style:ut(N.customStyle),onClick:te},{default:ve(()=>[N.label||N.$slots.label?(me(),_e(U,{key:0,class:tt(g.value),style:ut(T.value)},{default:ve(()=>[N.prefixIcon||N.$slots.prefix?(me(),_e(U,{key:0,class:"wd-input__prefix"},{default:ve(()=>[N.prefixIcon&&!N.$slots.prefix?(me(),_e(Gn,{key:0,"custom-class":"wd-input__icon",name:N.prefixIcon,onClick:z},null,8,["name"])):gt(N.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ye("",!0),L(U,{class:"wd-input__label-inner"},{default:ve(()=>[N.label&&!N.$slots.label?(me(),pl(ot,{key:0},[Ut(un(N.label),1)],64)):gt(N.$slots,"label",{key:1},void 0,!0)]),_:3})]),_:3},8,["class","style"])):Ye("",!0),L(U,{class:"wd-input__body"},{default:ve(()=>[L(U,{class:"wd-input__value"},{default:ve(()=>[(N.prefixIcon||N.$slots.prefix)&&!N.label?(me(),_e(U,{key:0,class:"wd-input__prefix"},{default:ve(()=>[N.prefixIcon&&!N.$slots.prefix?(me(),_e(Gn,{key:0,"custom-class":"wd-input__icon",name:N.prefixIcon,onClick:z},null,8,["name"])):gt(N.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ye("",!0),L(K,{class:tt(["wd-input__inner",N.prefixIcon?"wd-input__inner--prefix":"",v.value?"wd-input__inner--count":"",N.alignRight?"is-align-right":"",N.customInputClass]),type:N.type,password:N.showPassword&&!i.value,modelValue:u.value,"onUpdate:modelValue":Z[0]||(Z[0]=q=>u.value=q),placeholder:h.value,disabled:N.disabled||N.readonly,maxlength:N.maxlength,focus:l.value,"confirm-type":N.confirmType,"confirm-hold":N.confirmHold,cursor:N.cursor,"cursor-spacing":N.cursorSpacing,"placeholder-style":N.placeholderStyle,"selection-start":N.selectionStart,"selection-end":N.selectionEnd,"adjust-position":N.adjustPosition,"hold-keyboard":N.holdKeyboard,"always-embed":N.alwaysEmbed,"placeholder-class":p.value,ignoreCompositionEvent:N.ignoreCompositionEvent,inputmode:N.inputmode,onInput:P,onFocus:A,onBlur:I,onConfirm:ee,onKeyboardheightchange:B},null,8,["class","type","password","modelValue","placeholder","disabled","maxlength","focus","confirm-type","confirm-hold","cursor","cursor-spacing","placeholder-style","selection-start","selection-end","adjust-position","hold-keyboard","always-embed","placeholder-class","ignoreCompositionEvent","inputmode"]),n.readonly?(me(),_e(U,{key:1,class:"wd-input__readonly-mask"})):Ye("",!0),w.value||N.showPassword||N.suffixIcon||v.value||N.$slots.suffix?(me(),_e(U,{key:2,class:"wd-input__suffix"},{default:ve(()=>[w.value?(me(),_e(Gn,{key:0,"custom-class":"wd-input__clear",name:"error-fill",onClick:E})):Ye("",!0),N.showPassword?(me(),_e(Gn,{key:1,"custom-class":"wd-input__icon",name:i.value?"view":"eye-close",onClick:C},null,8,["name"])):Ye("",!0),v.value?(me(),_e(U,{key:2,class:"wd-input__count"},{default:ve(()=>[L(G,{class:tt([u.value&&String(u.value).length>0?"wd-input__count-current":"",String(u.value).length>N.maxlength?"is-error":""])},{default:ve(()=>[Ut(un(String(u.value).length),1)]),_:1},8,["class"]),Ut(" /"+un(N.maxlength),1)]),_:1})):Ye("",!0),N.suffixIcon&&!N.$slots.suffix?(me(),_e(Gn,{key:3,"custom-class":"wd-input__icon",name:N.suffixIcon,onClick:R},null,8,["name"])):gt(N.$slots,"suffix",{key:4},void 0,!0)]),_:3})):Ye("",!0)]),_:3}),m.value?(me(),_e(U,{key:0,class:"wd-input__error-message"},{default:ve(()=>[Ut(un(m.value),1)]),_:1})):Ye("",!0)]),_:3})]),_:3},8,["class","style"])}}})),ZF=rn(QF,[["__scopeId","data-v-b402172f"]]),e5=we(ae({},Ft),{selector:De("")}),t5={name:"wd-message-box",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},n5=nt(we(ae({},t5),{props:e5,setup(e){const t=e,{translate:n}=nb("message-box"),o=Y(()=>`wd-message-box__container ${t.customClass}`),r=Y(()=>`wd-message-box__body ${a.title?"":"is-no-title"} ${a.type==="prompt"?"is-prompt":""}`),s=qN(t.selector),i=Ne(s,H(VN)),a=Ie({msg:"",show:!1,title:"",showCancelButton:!1,closeOnClickModal:!0,confirmButtonText:"",cancelButtonText:"",type:"alert",inputType:"text",inputValue:"",inputPlaceholder:"",inputError:"",showErr:!1,zIndex:99,lazyRender:!0}),l=Y(()=>{const y=si({block:!0},Ee(a.confirmButtonProps)?Ja(a.confirmButtonProps,Xa):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y}),c=Y(()=>{const y=si({block:!0,type:"info"},Ee(a.cancelButtonProps)?Ja(a.cancelButtonProps,Xa):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y});se(()=>i.value,y=>{m(y)},{deep:!0,immediate:!0}),se(()=>a.show,y=>{w(!!y)},{deep:!0,immediate:!0});function u(y){if(!(y==="modal"&&!a.closeOnClickModal)&&!(a.type==="prompt"&&y==="confirm"&&!h()))switch(y){case"confirm":a.beforeConfirm?a.beforeConfirm({resolve:_=>{_&&d({action:y,value:a.inputValue})}}):d({action:y,value:a.inputValue});break;case"cancel":f({action:y});break;default:f({action:"modal"});break}}function d(y){a.show=!1,Sn(a.success)&&a.success(y)}function f(y){a.show=!1,Sn(a.fail)&&a.fail(y)}function h(){return a.inputPattern&&!a.inputPattern.test(String(a.inputValue))||typeof a.inputValidate=="function"&&!a.inputValidate(a.inputValue)?(a.showErr=!0,!1):(a.showErr=!1,!0)}function w(y){y===!1&&(a.showErr=!1)}function v({value:y}){if(y===""){a.showErr=!1;return}a.inputValue=y}function m(y){y&&(a.title=Ee(y.title)?y.title:"",a.showCancelButton=Ee(y.showCancelButton)?y.showCancelButton:!1,a.show=y.show,a.closeOnClickModal=y.closeOnClickModal,a.confirmButtonText=y.confirmButtonText,a.cancelButtonText=y.cancelButtonText,a.msg=y.msg,a.type=y.type,a.inputType=y.inputType,a.inputSize=y.inputSize,a.inputValue=y.inputValue,a.inputPlaceholder=y.inputPlaceholder,a.inputPattern=y.inputPattern,a.inputValidate=y.inputValidate,a.success=y.success,a.fail=y.fail,a.beforeConfirm=y.beforeConfirm,a.inputError=y.inputError,a.showErr=y.showErr,a.zIndex=y.zIndex,a.lazyRender=y.lazyRender,a.confirmButtonProps=y.confirmButtonProps,a.cancelButtonProps=y.cancelButtonProps)}return(y,_)=>{const g=vn;return me(),_e(g,null,{default:ve(()=>[L(HF,{transition:"zoom-in",modelValue:a.show,"onUpdate:modelValue":_[3]||(_[3]=p=>a.show=p),"close-on-click-modal":a.closeOnClickModal,"lazy-render":a.lazyRender,"custom-class":"wd-message-box",onClickModal:_[4]||(_[4]=p=>u("modal")),"z-index":a.zIndex,duration:200},{default:ve(()=>[L(g,{class:tt(o.value)},{default:ve(()=>[L(g,{class:tt(r.value)},{default:ve(()=>[a.title?(me(),_e(g,{key:0,class:"wd-message-box__title"},{default:ve(()=>[Ut(un(a.title),1)]),_:1})):Ye("",!0),L(g,{class:"wd-message-box__content"},{default:ve(()=>[a.type==="prompt"?(me(),pl(ot,{key:0},[L(ZF,{modelValue:a.inputValue,"onUpdate:modelValue":_[0]||(_[0]=p=>a.inputValue=p),type:a.inputType,size:a.inputSize,placeholder:a.inputPlaceholder,onInput:v},null,8,["modelValue","type","size","placeholder"]),a.showErr?(me(),_e(g,{key:0,class:"wd-message-box__input-error"},{default:ve(()=>[Ut(un(a.inputError||Ct(n)("inputNoValidate")),1)]),_:1})):Ye("",!0)],64)):Ye("",!0),gt(y.$slots,"default",{},()=>[Ut(un(a.msg),1)],!0)]),_:3})]),_:3},8,["class"]),L(g,{class:tt(`wd-message-box__actions ${a.showCancelButton?"wd-message-box__flex":"wd-message-box__block"}`)},{default:ve(()=>[a.showCancelButton?(me(),_e(dm,It({key:0},c.value,{onClick:_[1]||(_[1]=p=>u("cancel"))}),{default:ve(()=>[Ut(un(a.cancelButtonText||Ct(n)("cancel")),1)]),_:1},16)):Ye("",!0),L(dm,It(l.value,{onClick:_[2]||(_[2]=p=>u("confirm"))}),{default:ve(()=>[Ut(un(a.confirmButtonText||Ct(n)("confirm")),1)]),_:1},16)]),_:1},8,["class"])]),_:3},8,["class"])]),_:3},8,["modelValue","close-on-click-modal","lazy-render","z-index"])]),_:3})}}})),ob=rn(n5,[["__scopeId","data-v-05f973d9"]]),o5=we(ae({},Ft),{theme:De("light"),themeVars:{type:Object,default:()=>({})}}),r5={name:"wd-config-provider",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},rb=nt(we(ae({},r5),{props:o5,setup(e){const t=e,n=Y(()=>`wot-theme-${t.theme} ${t.customClass}`),o=Y(()=>{const i=s(t.themeVars);return i?`${qn(i)}${t.customStyle}`:t.customStyle}),r=i=>(i=i.replace(i.charAt(0),i.charAt(0).toLocaleLowerCase()),i.replace(/([a-z])([A-Z])/g,(a,l,c)=>l+"-"+c.toLowerCase())),s=i=>{if(!i)return;const a={};return Object.keys(i).forEach(l=>{a[`--wot-${r(l)}`]=i[l]}),a};return(i,a)=>{const l=vn;return me(),_e(l,{class:tt(n.value),style:ut(o.value)},{default:ve(()=>[gt(i.$slots,"default")]),_:3},8,["class","style"])}}})),s5="/static/icons/whatsapp.png";function Ul(){const e=globalThis==null?void 0:globalThis.plus;return e==null?void 0:e.runtime}function sb(e){const t=Ul();if(!t)return!1;const o={facebook:{pname:"com.facebook.katana",scheme:"fb://"},whatsapp:{pname:"com.whatsapp",scheme:"whatsapp://"},instagram:{pname:"com.instagram.android",scheme:"instagram://"},twitter:{pname:"com.twitter.android",scheme:"twitter://"}}[e];return o?t.isApplicationExist({pname:o.pname,action:o.scheme}):!1}function ib(e,t){const{url:n,text:o}=t,s={facebook:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(n)}`,whatsapp:`https://wa.me/?text=${encodeURIComponent(o)}`,twitter:`https://twitter.com/intent/tweet?text=${encodeURIComponent(o)}`,instagram:"https://www.instagram.com/"}[e];s&&typeof window!="undefined"&&typeof window.open=="function"&&window.open(s,"_blank")}function i5(e,t){const{url:n,text:o}=t,r=Ul();if(!r){ib(e,t);return}RL({data:o,success:()=>{}});const i={facebook:`fb://facewebmodal/f?href=${encodeURIComponent(n)}`,whatsapp:`whatsapp://send?text=${encodeURIComponent(o)}`,instagram:"instagram://camera",twitter:`twitter://post?message=${encodeURIComponent(o)}`}[e];i&&r.openURL(i,a=>{xn.info(Pn("share.appNotInstalled"))})}function u4(e,t){if(!Ul()){ib(e,t);return}if(!sb(e)){xn.info(Pn("share.appNotInstalled"));return}i5(e,t)}function ab(e,t=""){const n=(t||"").replace(/\s+/g,""),o=e==="activity_group"?`https://chat.whatsapp.com/${encodeURIComponent(t||"")}`:`https://wa.me/message/${encodeURIComponent(n)}`;typeof window!="undefined"&&typeof window.open=="function"&&window.open(o,"_blank")}function d4(e,t=""){const n=Ul();if(!n){ab(e,t);return}if(!sb("whatsapp")){xn.info(Pn("share.appNotInstalled"));return}e==="live_chat"?n.openURL(`whatsapp://send?phone=${t}`):e==="activity_group"&&n.openURL(`https://chat.whatsapp.com/${t}`)}const fm="customer_service_fab_position_v1",a5=nt({__name:"CustomerServiceFab",props:{bottomOffset:{}},setup(e){const t=e,n=H(0),o=H(0);function r(h){const v=Cn().windowWidth||375;return h*v/750}function s(){var m,y;const h=Cn(),w=r((m=t.bottomOffset)!=null?m:0),v=Number((y=h==null?void 0:h.safeAreaInsets)==null?void 0:y.bottom)||0;return w+v}function i(){const h=Cn(),w=h.windowWidth||375,v=h.windowHeight||667,m=r(80),y=r(24),_=r(-86),g=s();n.value=Math.max(0,w-m-y),o.value=Math.max(0,v-m-g-_)}function a(){const h=Cn(),w=h.windowWidth||375,v=h.windowHeight||667,m=r(80),y=s(),_=Math.max(0,w-m),g=Math.max(0,v-m-y);n.value=Math.min(Math.max(0,n.value),_),o.value=Math.min(Math.max(0,o.value),g)}function l(){try{const h=st(fm);if(!h){i();return}const w=typeof h=="string"?JSON.parse(h):h,v=Number(w==null?void 0:w.x),m=Number(w==null?void 0:w.y);if(Number.isFinite(v)&&Number.isFinite(m)){n.value=v,o.value=m,a();return}i()}catch(h){i()}}function c(){try{lt(fm,JSON.stringify({x:n.value,y:o.value}))}catch(h){}}function u(){a(),c()}F0(()=>{l()});function d(h){const w=h==null?void 0:h.detail,v=Number(w==null?void 0:w.x),m=Number(w==null?void 0:w.y);Number.isFinite(v)&&(n.value=v),Number.isFinite(m)&&(o.value=m),a()}function f(){return de(this,null,function*(){var h;try{const w=yield v$({code:"live_chat"}),v=(h=w==null?void 0:w.data)==null?void 0:h.valueInfo;if(!v){xn.info("客服暂不可用");return}ab("live_chat",v)}catch(w){xn.info("客服暂不可用")}})}return(h,w)=>{const v=P_,m=D_,y=R_;return me(),_e(y,{class:"customer-fab-area"},{default:ve(()=>[L(m,{x:Ct(n),y:Ct(o),direction:"all",inertia:!1,animation:!1,"out-of-bounds":!1,class:"customer-fab-movable",onChange:d,onTouchend:u,onTouchcancel:u},{default:ve(()=>[L(v,{src:s5,class:"customer-fab-trigger__icon",mode:"heightFix",onClick:f})]),_:1},8,["x","y"])]),_:1})}}}),lb=rn(a5,[["__scopeId","data-v-3cd67129"]]),l5=nt({__name:"default",setup(e){const t={};return(n,o)=>{const r=xo(Xn("wd-toast"),tb),s=xo(Xn("wd-message-box"),ob),i=xo(Xn("wd-config-provider"),rb);return me(),_e(i,{"theme-vars":t},{default:ve(()=>[gt(n.$slots,"default"),L(lb,{"bottom-offset":120}),L(r),L(s)]),_:3})}}}),c5=we(ae({},Ft),{modelValue:Ur,showZero:ke(!1),bgColor:String,max:Number,isDot:Boolean,hidden:Boolean,type:De(void 0),top:Ur,right:Ur}),u5={name:"wd-badge",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},d5=nt(we(ae({},u5),{props:c5,setup(e){const t=e,n=Y(()=>{const{modelValue:s,max:i,isDot:a}=t;if(a)return"";let l=s;return l&&i&&$N(l)&&!Number.isNaN(l)&&!Number.isNaN(i)&&(l=i<l?`${i}+`:l),l}),o=Y(()=>{const s={};return Ee(t.bgColor)&&(s.backgroundColor=t.bgColor),Ee(t.top)&&(s.top=kn(t.top)),Ee(t.right)&&(s.right=kn(t.right)),qn(s)}),r=Y(()=>!t.hidden&&(n.value||n.value===0&&t.showZero||t.isDot));return(s,i)=>{const a=vn;return me(),_e(a,{class:tt(["wd-badge",s.customClass]),style:ut(s.customStyle)},{default:ve(()=>[gt(s.$slots,"default",{},void 0,!0),r.value?(me(),_e(a,{key:0,class:tt(["wd-badge__content","is-fixed",s.type?"wd-badge__content--"+s.type:"",s.isDot?"is-dot":""]),style:ut(o.value)},{default:ve(()=>[Ut(un(n.value),1)]),_:1},8,["class","style"])):Ye("",!0)]),_:3},8,["class","style"])}}})),f5=rn(d5,[["__scopeId","data-v-019b04f1"]]),cb=Symbol("wd-tabbar"),h5=we(ae({},Ft),{modelValue:cf(0),fixed:ke(!1),bordered:ke(!0),safeAreaInsetBottom:ke(!1),shape:De("default"),activeColor:String,inactiveColor:String,placeholder:ke(!1),zIndex:ar(99)}),p5=we(ae({},Ft),{title:String,name:Ur,icon:String,value:{type:[Number,String,null],default:null},isDot:{type:Boolean,default:void 0},max:Number,badgeProps:Object}),g5={name:"wd-tabbar-item",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},m5=nt(we(ae({},g5),{props:p5,setup(e){const t=e,{parent:n,index:o}=ff(cb),r=Y(()=>{const l=si(Ee(t.badgeProps)?Ja(t.badgeProps,Xa):{},Ja({max:t.max,isDot:t.isDot,modelValue:t.value},Xa));return Ee(l.max)||(l.max=99),l}),s=Y(()=>{const l={};return n&&(i.value&&n.props.activeColor&&(l.color=n.props.activeColor),!i.value&&n.props.inactiveColor&&(l.color=n.props.inactiveColor)),`${qn(l)}`}),i=Y(()=>{const l=Ee(t.name)?t.name:o.value;return n?n.props.modelValue===l:!1});function a(){const l=Ee(t.name)?t.name:o.value;n&&n.setChange({name:l})}return(l,c)=>{const u=H_,d=vn;return me(),_e(d,{class:tt(`wd-tabbar-item ${l.customClass}`),style:ut(l.customStyle),onClick:a},{default:ve(()=>[L(f5,lS(iv(r.value)),{default:ve(()=>[L(d,{class:"wd-tabbar-item__body"},{default:ve(()=>[gt(l.$slots,"icon",{active:i.value},void 0,!0),!l.$slots.icon&&l.icon?(me(),_e(Gn,{key:0,name:l.icon,"custom-style":s.value,"custom-class":`wd-tabbar-item__body-icon ${i.value?"is-active":"is-inactive"}`},null,8,["name","custom-style","custom-class"])):Ye("",!0),l.title?(me(),_e(u,{key:1,style:ut(s.value),class:tt(`wd-tabbar-item__body-title ${i.value?"is-active":"is-inactive"}`)},{default:ve(()=>[Ut(un(l.title),1)]),_:1},8,["style","class"])):Ye("",!0)]),_:3})]),_:3},16)]),_:3},8,["class","style"])}}})),y5=rn(m5,[["__scopeId","data-v-ee9e8b0e"]]);function v5(e){return e?e.__v_isVNode===!0:!1}function _5(e){const t=[],n=o=>{Array.isArray(o)&&o.forEach(r=>{var s;v5(r)&&(t.push(r),(s=r.component)!=null&&s.subTree&&(t.push(r.component.subTree),n(r.component.subTree.children)),r.children&&n(r.children))})};return n(e),t}const hm=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(o=>t.key!==void 0&&t.key!==null&&o.type===t.type&&o.key===t.key):n};function w5(e,t,n){const o=e&&e.subTree&&e.subTree.children?_5(e.subTree.children):[];n.sort((s,i)=>hm(o,s.vnode)-hm(o,i.vnode));const r=n.map(s=>s.proxy);t.sort((s,i)=>{const a=r.indexOf(s),l=r.indexOf(i);return a-l})}function b5(e){const t=Ie([]),n=Ie([]),o=ft();return{children:t,linkChildren:s=>{_t(e,Object.assign({link:l=>{l.proxy&&(n.push(l),t.push(l.proxy),w5(o,t,n))},unlink:l=>{const c=n.indexOf(l);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},s))}}}const S5={name:"wd-tabbar",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},T5=nt(we(ae({},S5),{props:h5,emits:["change","update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=H(""),{proxy:s}=ft(),{linkChildren:i}=b5(cb);i({props:n,setChange:l});const a=Y(()=>{const u={};return Ee(n.zIndex)&&(u["z-index"]=n.zIndex),`${qn(u)}${n.customStyle}`});se([()=>n.fixed,()=>n.placeholder],()=>{c()},{deep:!0,immediate:!1}),$e(()=>{n.fixed&&n.placeholder&&rt(()=>{c()})});function l(u){let d=u.name;o("update:modelValue",d),o("change",{value:d})}function c(){!n.fixed||!n.placeholder||MN(".wd-tabbar",!1,s).then(u=>{r.value=Number(u.height)})}return(u,d)=>{const f=vn;return me(),_e(f,{class:tt({"wd-tabbar__placeholder":u.fixed&&u.placeholder&&u.safeAreaInsetBottom&&u.shape==="round"}),style:ut({height:Ct(kn)(r.value)})},{default:ve(()=>[L(f,{class:tt(`wd-tabbar wd-tabbar--${u.shape} ${u.customClass} ${u.fixed?"is-fixed":""} ${u.safeAreaInsetBottom?"is-safe":""} ${u.bordered?"is-border":""}`),style:ut(a.value)},{default:ve(()=>[gt(u.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])]),_:3},8,["class","style"])}}})),C5=rn(T5,[["__scopeId","data-v-eb3a4869"]]),oa=Ie({curIdx:st("app-tabbar-index")||0,setCurIdx(e){this.curIdx=e,lt("app-tabbar-index",e)}}),ub=nt({__name:"fg-tabbar",setup(e){const t=r$.map(o=>we(ae({},o),{path:`/${o.pagePath}`}));function n({value:o}){const r=t[o].path;oa.setCurIdx(o),xl({url:r})}return U0(()=>{}),(o,r)=>{const s=xo(Xn("wd-tabbar-item"),y5),i=xo(Xn("wd-tabbar"),C5);return Ct(o$)?(me(),_e(i,{key:0,modelValue:Ct(oa).curIdx,"onUpdate:modelValue":r[0]||(r[0]=a=>Ct(oa).curIdx=a),"custom-class":"bg-white/60! backdrop-blur-20",bordered:!1,"safe-area-inset-bottom":"",placeholder:"",fixed:"",onChange:n},{default:ve(()=>[(me(!0),pl(ot,null,AT(Ct(t),(a,l)=>(me(),_e(s,{key:a.path,icon:l===Ct(oa).curIdx?a.selectedIconPath:a.iconPath},null,8,["icon"]))),128))]),_:1},8,["modelValue"])):Ye("",!0)}}}),k5=nt({__name:"tabbar",setup(e){const t={};return(n,o)=>{const r=xo(Xn("wd-toast"),tb),s=xo(Xn("wd-message-box"),ob),i=xo(Xn("wd-config-provider"),rb);return me(),_e(i,{"theme-vars":t},{default:ve(()=>[gt(n.$slots,"default"),L(lb,{"bottom-offset":180}),L(ub),L(r),L(s)]),_:3})}}});var x5={},P5={"pages/income/income":"%income.title%","pages/mine/addressBook":"%addressBook.title%","pages/mine/addressBookOperate":"%addressBook.title%","pages/mine/myFavorite":"%mine.pages.myFavorite.title%","pages/mine/myProfile":"%myProfile.title%","pages/mine/setting":"%setting.title%","pages/mine/share":"%mine.pages.share.title%","pages/missionCenter/missionCenter":"%missionCenter.title%","pages/myOrders/myOrders":"%myOrders.title%","pages/myOrders/orderDetail":"%orderDetail.title%","pages/productDetail/checkOut":"%checkout.title%","pages/vipMembership/vipMembership":"%vipMembership.title%","pages/wallet/frozenRecord":"%wallet.frozenRecord.title%","pages/wallet/myWallet":"%wallet.myWallet.title%","pages/wallet/recharge":"%wallet.recharge.title%","pages/wallet/rechargeRecord":"%wallet.rechargeRecord.title%","pages/wallet/withdraw":"%wallet.withdraw.title%","pages/wallet/withdrawRecord":"%wallet.withdrawRecord.title%"},E5={};const kt=Cn(),el="4.66",I5="https://tongji.dcloud.io/uni/stat",A5="https://tongji.dcloud.io/uni/stat.gif",O5=1800,L5=300,M5=10,R5=60*1e3*60*24,So="__UNI__BA8433E",Wo=(e,t)=>{let n=st("$$STAT__DBDATA:"+So)||{};n||(n={}),n[e]=t,lt("$$STAT__DBDATA:"+So,n)},Do=e=>{let t=st("$$STAT__DBDATA:"+So)||{};if(!t[e]){let n=st("$$STAT__DBDATA:"+So);if(n||(n={}),!n[e])return;t[e]=n[e]}return t[e]},db=e=>{let t=st("$$STAT__DBDATA:"+So)||{};t[e]?(delete t[e],lt("$$STAT__DBDATA:"+So,t)):(t=st("$$STAT__DBDATA:"+So),t[e]&&(delete t[e],lt("$$STAT__DBDATA:"+So,t)))},fi=x5;let D5={appid:"__UNI__BA8433E"},Ku={};Ku=P5;const Dc="__DC_STAT_UUID",pm="__DC_UUID_VALUE";function fb(){let e="";if(mt()==="n"){try{e=plus.runtime.getDCloudId()}catch(t){e=""}return e}try{e=st(Dc)}catch(t){e=pm}if(!e){e=Date.now()+""+Math.floor(Math.random()*1e7);try{lt(Dc,e)}catch(t){lt(Dc,pm)}}return e}const N5=e=>kt.deviceId||fb(),$5=e=>{let t="";if(mt()==="n"){try{t=plus.device.uuid}catch(n){t=""}return t}return kt.deviceId||fb()},hb=D5,B5=e=>{let n=Object.keys(e).sort(),o={},r="";for(var s in n)o[n[s]]=e[n[s]],r+=n[s]+"="+e[n[s]]+"&";return{sign:"",options:r.substr(0,r.length-1)}},F5=e=>{let t={};for(let n in e)t[n]=encodeURIComponent(e[n]);return t},mt=()=>{const t={h5:"h5",[["y","a","p","mp-ali"].reverse().join("")]:"ali"};if(t.h5==="ali"&&my&&my.env){const n=my.env.clientName;if(n==="ap")return"ali";if(n==="dingtalk")return"dt"}return t.h5||"h5"},U5=()=>{let e="";return(mt()==="wx"||mt()==="qq")&&RI("getAccountInfoSync")&&(e=uni.getAccountInfoSync().miniProgram.appId||""),mt(),e},V5=()=>mt()==="n"?plus.runtime.version:"",q5=()=>{const e=mt();let t="";return e==="n"&&(t=plus.runtime.channel),t},gm=e=>{const t=mt();let n="";return e||(t==="wx"&&(n=pa().scene),n)},Yu=e=>{let t=e||tl();if(mt()==="bd"){let n=t.$mp&&t.$mp.page&&t.$mp.page.is,o=t.$scope&&t.$scope.is;return n||o||""}else return t.route||t.$scope&&t.$scope.route||t.$mp&&t.$mp.page.route},Nc=e=>{let t=e&&(e.$page||e.$scope&&e.$scope.$page),n=st("_STAT_LAST_PAGE_ROUTE");return t?t.fullPath==="/"?t.route:t.fullPath||t.route:n||""},tl=()=>{let e=on(),t=e[e.length-1];return t?t.$vm:null},ra=e=>e.mpType==="page"||e.$mpType==="page"||e.$mp&&e.$mp.mpType==="page"||e.$options.mpType==="page"?"page":e.mpType==="app"||e.$mpType==="app"||e.$mp&&e.$mp.mpType==="app"||e.$options.mpType==="app"?"app":null,mm=e=>{let t=[],n=[],o=[];for(let r in e)e[r].forEach(i=>{let a="";a=i,r===0?t.push(a):r===3?o.push(a):n.push(a)});return t.push(...n,...o),JSON.stringify(t)},H5=(e,t)=>{if(!e||typeof e!="string"||e.length>255||typeof t!="string"&&typeof t!="object"||typeof t=="string"&&t.length>255||e==="title"&&typeof t!="string")return!0},$c=e=>Ku&&Ku[e]||"",sa="Report_Data_Time",ka="Report_Status",W5=()=>new Promise((e,t)=>{let n="",o=new Date().getTime(),r=R5,s=1;try{n=st(sa),s=st(ka)}catch(i){n="",s=1}if(s===""){ym(({enable:i})=>{lt(sa,o),lt(ka,i),i===1&&e()});return}s===1&&e(),n||(lt(sa,o),n=o),o-n>r&&ym(({enable:i})=>{lt(sa,o),lt(ka,i)})}),ym=e=>{let n={usv:el,conf:JSON.stringify({ak:"__UNI__BA8433E"})};Ml({url:I5,method:"GET",data:n,success:o=>{const{data:r}=o;r.ret===0&&typeof e=="function"&&e({enable:r.enable})},fail:o=>{let r=1;try{r=st(ka)}catch(s){r=1}r===""&&(r=1),typeof e=="function"&&e({enable:r})}})},j5=()=>E5||{},z5=e=>{const t=j5(),{spaceId:n,provider:o,clientSecret:r,secretKey:s,secretId:i}=t;return["tcb","tencent","aliyun","alipay","private","dcloud"].indexOf(o)!==-1&&(o==="aliyun"&&n&&r||(o==="tcb"||o==="tencent")&&n||o==="alipay"&&n&&s&&i||o==="private"&&n&&r||o==="dcloud"&&n&&r)?t:e&&e.spaceId?e:null},G5=e=>{let t=fi.reportInterval;return Number(t)===0?0:(t=t||e,/(^[1-9]\d*$)/.test(t)?Number(t):e)},K5=()=>{if(fi.collectItems){const e=fi.collectItems.uniPushClientID;return typeof e=="boolean"?e:!1}return!1},vm=()=>{if(fi.collectItems){const e=fi.collectItems.uniStatPageLog;return e===void 0?!0:typeof e=="boolean"?e:!0}return!0},_m="is_handle_device_id",Y5=()=>{let e=Do(_m)||"";return Wo(_m,"1"),e==="1"},wm="__first__visit__time",Xu="__last__visit__time",Jt=()=>parseInt(new Date().getTime()/1e3),X5=()=>{const e=Do(wm);let t=0;return e?t=e:(t=Jt(),Wo(wm,t),db(Xu)),t},J5=()=>{const e=Do(Xu);let t=0;return e&&(t=e),Wo(Xu,Jt()),t},pb="__page__residence__time";let Ws=0,bm=0;const gb=()=>(Ws=Jt(),Wo(pb,Ws),Ws),Q5=()=>(bm=Jt(),Ws=Do(pb),bm-Ws),Sm="__total__visit__count",Z5=()=>{const e=Do(Sm);let t=1;return e&&(t=e,t++),Wo(Sm,t),t},mb="__first_time",Bc=()=>{let e=Jt();return Wo(mb,e)},ia=e=>{let t=0;const n=Do(mb),o=Jt();if(n!==0&&(t=o-n),t=t<1?1:t,e==="app"){let r=t>L5;return{residenceTime:t,overtime:r}}if(e==="page"){let r=t>O5;return{residenceTime:t,overtime:r}}return{residenceTime:t}},e8=G5(M5);let js={uuid:N5(),ak:hb.appid,p:"",ut:mt(),mpn:U5(),usv:el,v:V5(),ch:q5(),cn:"",pn:"",ct:"",t:Jt(),tt:"",brand:kt.brand||"",md:kt.model,sv:"",mpsdk:kt.SDKVersion||"",mpv:kt.version||"",lang:kt.language,pr:kt.pixelRatio,ww:kt.windowWidth,wh:kt.windowHeight,sw:kt.screenWidth,sh:kt.screenHeight};if(kt.platform)switch(kt.platform){case"android":js.p="a";break;case"ios":js.p="i";break;case"harmonyos":js.p="h";break}kt.system&&(js.sv=kt.system.replace(/(Android|iOS)\s/,""));class t8{constructor(){this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=js,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={},typeof fn=="function"&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}addInterceptorInit(){let t=this;fn("setNavigationBarTitle",{invoke(n){t._navigationBarTitle.page=n.title}})}interceptLogin(){let t=this;fn("login",{complete(){t._login()}})}interceptShare(t){let n=this;if(!t){n._share();return}fn("share",{success(){n._share()},fail(){n._share()}})}interceptRequestPayment(){let t=this;fn("requestPayment",{success(){t._payment("pay_success")},fail(){t._payment("pay_fail")}})}_login(){this.sendEventRequest({key:"login"},0)}_share(){this.sendEventRequest({key:"share"},0)}_payment(t){this.sendEventRequest({key:t},0)}applicationShow(){if(this.__licationHide){if(ia("app").overtime){let o={path:st("_STAT_LAST_PAGE_ROUTE"),scene:this.statData.sc,cst:2};this.sendReportRequest(o)}else{const n=gm();if(n!==this.statData.sc){let r={path:st("_STAT_LAST_PAGE_ROUTE"),scene:n,cst:2};this.sendReportRequest(r)}}this.__licationHide=!1}}applicationHide(t,n){t||(t=tl()),this.__licationHide=!0;const o=ia(),r=Nc(t);lt("_STAT_LAST_PAGE_ROUTE",r),this.sendHideRequest({urlref:r,urlref_ts:o.residenceTime},n),Bc()}pageShow(t){this._navigationBarTitle={config:"",page:"",report:"",lt:""};const n=Nc(t),o=Yu(t);if(this._navigationBarTitle.config=$c(o),this.__licationShow){Bc(),lt("_STAT_LAST_PAGE_ROUTE",n),this.__licationShow=!1;return}if(ia("page").overtime){let s={path:n,scene:this.statData.sc,cst:3};this.sendReportRequest(s)}Bc()}pageHide(t){if(!this.__licationHide){const n=ia("page");let o=Nc(t),r=st("_STAT_LAST_PAGE_ROUTE");r||(r=o),lt("_STAT_LAST_PAGE_ROUTE",o),this.sendPageRequest({url:o,urlref:r,urlref_ts:n.residenceTime});return}}sendReportRequest(t,n){this._navigationBarTitle.lt="1",this._navigationBarTitle.config=$c(t.path);let r=t.query&&JSON.stringify(t.query)!=="{}"?"?"+JSON.stringify(t.query):"";const s=J5();if(s!==0||!s){const i=$5();Y5()||(this.statData.odid=i)}Object.assign(this.statData,{lt:"1",url:t.path+r||"",t:Jt(),sc:gm(t.scene),fvts:X5(),lvts:s,tvc:Z5(),cst:t.cst||1}),mt()==="n"?this.getProperty(n):this.getNetworkInfo(n)}sendPageRequest(t){let{url:n,urlref:o,urlref_ts:r}=t;this._navigationBarTitle.lt="11";let s={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"11",ut:this.statData.ut,url:n,tt:this.statData.tt,urlref:o,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:Jt()};this.request(s)}sendHideRequest(t,n){let{urlref:o,urlref_ts:r}=t,s={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"3",ut:this.statData.ut,urlref:o,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:Jt()};this.request(s,n)}sendEventRequest({key:t="",value:n=""}={}){let o="";try{o=Yu()}catch(s){o=Do("__launch_options").path}this._navigationBarTitle.config=$c(o),this._navigationBarTitle.lt="21";let r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"21",ut:this.statData.ut,url:o,ch:this.statData.ch,e_n:t,e_v:typeof n=="object"?JSON.stringify(n):n.toString(),usv:this.statData.usv,t:Jt()};this.request(r)}sendPushRequest(t,n){let o=Jt();const r={lt:"101",cid:n,t:o,ut:this.statData.ut},s=mm({101:[r]});let i={usv:el,t:o,requests:s};if(mt()==="n"&&this.statData.p==="a"){setTimeout(()=>{this.sendRequest(i)},200);return}this.sendRequest(i)}getProperty(t){plus.runtime.getProperty(plus.runtime.appid,n=>{this.statData.v=n.version||"",this.getNetworkInfo(t)})}getNetworkInfo(t){LL({success:n=>{this.statData.net=n.networkType,this.getLocation(t)}})}getLocation(t){hb.getLocation?cM({type:"wgs84",geocode:!0,success:n=>{n.address&&(this.statData.cn=n.address.country,this.statData.pn=n.address.province,this.statData.ct=n.address.city),this.statData.lat=n.latitude,this.statData.lng=n.longitude,this.request(this.statData,t)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData,t))}request(t,n){let o=Jt();const r=this._navigationBarTitle;Object.assign(t,{ttn:r.page,ttpj:r.config,ttc:r.report});let s=Do("__UNI__STAT__DATA")||{};if(s[t.lt]||(s[t.lt]=[]),s[t.lt].push(t),Wo("__UNI__STAT__DATA",s),Q5()<e8&&!n)return;gb();const a=mm(s);let l={usv:el,t:o,requests:a};if(db("__UNI__STAT__DATA"),mt()==="n"&&this.statData.p==="a"){setTimeout(()=>{this.sendRequest(l)},200);return}this.sendRequest(l)}getIsReportData(){return W5()}sendRequest(t){{if(!uni.__stat_uniCloud_space)return;uni.__stat_uniCloud_space.importObject("uni-stat-receiver",{customUI:!0}).report(t).then(()=>{}).catch(o=>{})}}imageRequest(t){this.getIsReportData().then(()=>{let n=new Image,o=B5(F5(t)).options;n.src=A5+"?"+o})}sendEvent(t,n){if(!H5(t,n)){if(t==="title"){this._navigationBarTitle.report=n;return}this.sendEventRequest({key:t,value:typeof n=="object"?JSON.stringify(n):n},1)}}}class hf extends t8{static getInstance(){uni.__stat_instance||(uni.__stat_instance=new hf);{let t=z5(Gu.config);if(!uni.__stat_uniCloud_space&&t&&Object.keys(t).length!==0){let n={provider:t.provider,spaceId:t.spaceId,clientSecret:t.clientSecret};t.endpoint&&(n.endpoint=t.endpoint),t.provider==="alipay"&&(n.secretKey=t.secretKey,n.accessKey=t.accessKey||t.secretId,n.spaceAppId=t.spaceAppId||t.appId),uni.__stat_uniCloud_space=Gu.init(n)}}return uni.__stat_instance}constructor(){super()}pushEvent(t){const n=K5();fu&&n&&fu({success:o=>{const r=o.cid||!1;r&&this.sendPushRequest(t,r)}})}launch(t,n){gb(),this.__licationShow=!0,Wo("__launch_options",t),t.cst=1,this.sendReportRequest(t,!0)}load(t,n){this.self=n,this._query=t}appHide(t){this.applicationHide(t,!0)}appShow(t){this.applicationShow(t)}show(t){this.self=t,ra(t)==="page"&&vm()&&this.pageShow(t),(mt()==="h5"||mt()==="n")&&ra(t)==="app"&&this.appShow()}hide(t){this.self=t,ra(t)==="page"&&vm()&&this.pageHide(t),(mt()==="h5"||mt()==="n")&&ra(t)==="app"&&this.appHide()}error(t){let n="";t.message?n=t.stack:n=JSON.stringify(t);let o="";try{o=Yu()}catch(s){o=""}let r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"31",url:o,ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:n,usv:this.statData.usv,t:parseInt(new Date().getTime()/1e3)};this.request(r)}}const bn=hf.getInstance();let aa=!1;const n8={onLaunch(e){bn.launch(e,this),bn.pushEvent(e)},onLoad(e){if(bn.load(e,this),this.$scope&&this.$scope.onShareAppMessage){let t=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(n){return bn.interceptShare(!1),t.call(this,n)}}},onShow(){aa=!1,bn.show(this)},onHide(){aa=!0,bn.hide(this)},onUnload(){if(aa){aa=!1;return}bn.hide(this)},onError(e){try{bn.error(e)}catch(t){}}};function o8(){TS(e=>{e.mixin(n8),uni.report=function(t,n){bn.sendEvent(t,n)}}),mt()!=="h5"&&mt()!=="n"&&(oE(()=>{bn.appHide(tl())}),nE(()=>{bn.appShow(tl())}))}function r8(){o8()}r8();uni.$zp={config:{"default-page-size":20,"refresher-default-text":{en:"Pull down to refresh","zh-Hans":"继续下拉刷新",bn:"রিফ্রেশ করতে নিচে টানুন"},"refresher-pulling-text":{en:"Release to refresh","zh-Hans":"松开立即刷新",bn:"রিফ্রেশ করতে ছেড়ে দিন"},"refresher-refreshing-text":{en:"Refreshing...","zh-Hans":"正在刷新...",bn:"রিফ্রেশ হচ্ছে..."},"refresher-complete-text":{en:"Refresh succeeded","zh-Hans":"刷新成功",bn:"রিফ্রেশ সফল হয়েছে"},"loading-more-default-text":{en:"Click to load more","zh-Hans":"点击加载更多",bn:"আরও লোড করতে ক্লিক করুন"},"loading-more-loading-text":{en:"Loading...","zh-Hans":"正在加载...",bn:"লোড হচ্ছে..."},"loading-more-no-more-text":{en:"No more data","zh-Hans":"没有更多了",bn:"আর কোনো ডেটা নেই"},"loading-more-fail-text":{en:"Load failed,click to reload","zh-Hans":"加载失败,点击重新加载",bn:"লোড ব্যর্থ, আবার লোড করতে ক্লিক করুন"},"empty-view-text":{en:"No data","zh-Hans":"没有数据哦~",bn:"কোনো ডেটা নেই"},"empty-view-reload-text":{en:"Reload","zh-Hans":"重新加载",bn:"আবার লোড করুন"},"empty-view-error-text":{en:"Sorry,load failed","zh-Hans":"很抱歉,加载失败",bn:"দুঃখিত, লোড ব্যর্থ হয়েছে"}}};function s8(){const e=hv(Jw);return e.use(pw),e.use(Z0),e.use(vF),e.use(yF),e.use(pF),e.use(dF),e.component("layout-default-uni",l5),e.component("layout-fg-tabbar-uni",ub),e.component("layout-tabbar-uni",k5),{app:e}}s8().app.use(JO).mount("#app");export{xu as $,Z8 as A,xo as B,f5 as C,Xn as D,dt as E,Ct as F,pl as G,ot as H,AT as I,Ye as J,ii as K,Ut as L,un as M,H_ as N,X8 as O,Pn as P,J8 as Q,G8 as R,v8 as S,Pi as T,Vn as U,ZF as V,dm as W,xn as X,s0 as Y,H8 as Z,Gn as _,ar as a,n4 as a$,z8 as a0,y$ as a1,tt as a2,nb as a3,qn as a4,cn as a5,YA as a6,yM as a7,Ur as a8,_F as a9,v$ as aA,i4 as aB,qL as aC,iM as aD,K8 as aE,j8 as aF,st as aG,to as aH,h8 as aI,lt as aJ,Nd as aK,l4 as aL,b5 as aM,GF as aN,u8 as aO,d8 as aP,Yt as aQ,p8 as aR,Xt as aS,Si as aT,P8 as aU,Rl as aV,u4 as aW,BN as aX,sv as aY,It as aZ,e4 as a_,Qw as aa,ft as ab,KF as ac,U8 as ad,ff as ae,YF as af,$e as ag,MN as ah,Y0 as ai,IF as aj,B8 as ak,Ee as al,kn as am,Sn as an,cf as ao,MT as ap,$o as aq,_8 as ar,nr as as,Q8 as at,C8 as au,Z0 as av,RL as aw,Ul as ax,sb as ay,d4 as az,Ft as b,r4 as b0,o4 as b1,Ne as b2,At as b3,$N as b4,NN as b5,R8 as b6,tp as b7,f8 as b8,rt as b9,$8 as bA,D8 as bB,c4 as bC,q8 as bD,tb as bE,FN as bF,L8 as bG,O8 as bH,RI as bI,Pe as bJ,ck as bK,S8 as bL,x8 as bM,k8 as bN,l8 as bO,a8 as bP,e0 as bQ,b8 as bR,Cu as bS,I8 as bT,E8 as bU,rM as bV,y8 as bW,lS as ba,N8 as bb,TO as bc,xO as bd,_c as be,LN as bf,A8 as bg,xl as bh,a4 as bi,Zr as bj,w8 as bk,c8 as bl,V8 as bm,Vx as bn,Ze as bo,Y8 as bp,W8 as bq,eb as br,_t as bs,F8 as bt,T8 as bu,M8 as bv,Ya as bw,g8 as bx,m8 as by,tf as bz,ke as c,nt as d,Y as e,_e as f,ve as g,L as h,HF as i,vn as j,gt as k,P_ as l,De as m,ut as n,me as o,t0 as p,rn as q,H as r,Cn as s,Ie as t,U0 as u,F0 as v,se as w,t4 as x,s4 as y,$y as z};