| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.B7paIbOT.js","assets/product.CgqIq1IF.js","assets/bestSellers-B_SY1GJM.css","assets/wd-skeleton.CwefQvse.js","assets/wd-skeleton-6jRYhHMd.css","assets/wd-swiper.BKvsOzen.js","assets/wd-swiper-Yk3GPVI3.css","assets/wd-tabs.DsJmnOXl.js","assets/useTouch.THbm70v3.js","assets/wd-tabs-CchBYMOK.css","assets/z-paging.CAp4nDA0.js","assets/z-paging-CBqUbKi0.css","assets/useZPaging.DVknNCkP.js","assets/product.ByBr3O5S.js","assets/index-CulKyNud.css","assets/pages-bestSellers-bestSellers.BebJM9Y7.js","assets/wd-navbar.DDwpvwje.js","assets/wd-navbar-Dets5L0f.css","assets/pages-forgotPassword-forgotPassword.CQbykpc-.js","assets/wd-form.w9uV1qp3.js","assets/login-logo.yJ3QTl4S.js","assets/pages-income-income.D6kNUFey.js","assets/wd-divider.Oblo2vqX.js","assets/wd-divider-ThgXdl0f.css","assets/wd-radio-group.LDKsnC5e.js","assets/wd-radio-group-eaAfA2d-.css","assets/wd-text.kM1ff_Ui.js","assets/wd-text-DQfQlp_R.css","assets/wallet.ITsSgq1V.js","assets/income-BUcXe3Sn.css","assets/pages-login-login.BN_pJrrd.js","assets/pages-mine-addressBook.BaAn-ih9.js","assets/wd-swipe-action.DF-2cDzb.js","assets/clickoutside.BhsqYzww.js","assets/wd-swipe-action-BIHoogvg.css","assets/mine.Blm2TwBc.js","assets/order.DLzFa84U.js","assets/addressBook-oMlsh8De.css","assets/pages-mine-addressBookOperate.Bp3-3Rc5.js","assets/wd-action-sheet.GONoA57N.js","assets/wd-action-sheet-C97OFXFp.css","assets/wd-cell-group.DMJpiXse.js","assets/wd-cell-group-Dzd1RQP-.css","assets/addressBookOperate-BJbwuXgU.css","assets/pages-mine-mine.CQV3wcw8.js","assets/wd-img.CsYflkzc.js","assets/wd-img-DQe7wyo6.css","assets/pages-mine-myFavorite.DaDyk0m9.js","assets/myFavorite-Dbsv61Ow.css","assets/pages-mine-myProfile.6V4uM41B.js","assets/pages-mine-setting.CtZfqSfe.js","assets/wd-picker.B4v6nW8B.js","assets/wd-picker-kvdni26q.css","assets/pages-mine-share.BzRGkoES.js","assets/share-mCXl7U-k.css","assets/pages-missionCenter-missionCenter.DrXFTpL4.js","assets/pages-myOrders-myOrders.CJmOyGMX.js","assets/wd-card.CCukFEJU.js","assets/wd-card-DFBGOZsE.css","assets/DialogBox.C5HwoQqJ.js","assets/DialogBox-FXiMR7Ja.css","assets/myOrders-DxH3wvnp.css","assets/pages-myOrders-orderDetail.D7uypp0_.js","assets/circle-check.C-5cnQHd.js","assets/utils.CY6F74uO.js","assets/pages-notifications-notifications.DRDgAOcQ.js","assets/notifications-zXDuzjvw.css","assets/pages-productDetail-checkOut.LA-u52Yw.js","assets/checkOut-B_w9ErKd.css","assets/pages-productDetail-productDetail.UHF5T6ZL.js","assets/productDetail-DPP0vZ7-.css","assets/pages-referEarn-referEarn.CqO0gdmW.js","assets/pages-register-register.YNv3jvoa.js","assets/pages-search-search.RqE8J0oY.js","assets/search-DiqmOZRG.css","assets/pages-topChampions-topChampions.DaHv4w82.js","assets/pages-vipMembership-vipMembership.nxQYIjL0.js","assets/vipMembership-B-rC2eAw.css","assets/pages-wallet-frozenRecord.kOpx-_W1.js","assets/pages-wallet-myWallet.GtqLJvlc.js","assets/myWallet-DbXO8C6_.css","assets/pages-wallet-recharge.BprOpZvF.js","assets/recharge-DymYmlio.css","assets/pages-wallet-rechargeRecord.D57OCera.js","assets/pages-wallet-withdraw.s_hqaD78.js","assets/pages-wallet-withdrawRecord.JotJ_mEQ.js","assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.CPWSbFIh.js","assets/upgrade-popup-Dg1KFACY.css"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- var Tb=Object.defineProperty,Cb=Object.defineProperties;var kb=Object.getOwnPropertyDescriptors;var wf=Object.getOwnPropertySymbols;var xb=Object.prototype.hasOwnProperty,Pb=Object.prototype.propertyIsEnumerable;var bf=(e,t,n)=>t in e?Tb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ie=(e,t)=>{for(var n in t||(t={}))xb.call(t,n)&&bf(e,n,t[n]);if(wf)for(var n of wf(t))Pb.call(t,n)&&bf(e,n,t[n]);return e},we=(e,t)=>Cb(e,kb(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 Eb="modulepreload",Ib=function(e){return"/"+e},Sf={},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=Ib(a),a in Sf)return;Sf[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":Eb,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})},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":"ইউজার আইডি","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":`ভিআইপি
- সদস্যতা`,"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":"৩০০স্পট","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}
- এখনই 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":`ভিআইপি
- স্তর`,"vipMembership.table.invitedNo":`আমন্ত্রিত
- নং`,"vipMembership.table.directReferralReward":`সরাসরি রেফারেল
- পুরস্কার`,"vipMembership.table.indirectReferralReward":`পরোক্ষ রেফারেল
- পুরস্কার`,"vipMembership.table.joinedGroupsNo":`যোগ দেওয়া গ্রুপ
- নং`,"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":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত।
- অনুগ্রহ করে রিচার্জ করুন!`,"checkout.dialog.rechargeDiscount":"রিচার্জ সর্বোচ্চ ছাড় ৫%","checkout.dialog.rechargeNow":"এখনই রিচার্জ করুন","checkout.dialog.paymentSuccess":`পেমেন্ট সফল!
- আপনার অর্ডার করা হয়েছে।`,"checkout.dialog.viewOrder":"অর্ডার দেখুন","checkout.dialog.paymentFailed":`পেমেন্ট ব্যর্থ!
- অনুগ্রহ করে আবার চেষ্টা করুন বা সমর্থন যোগাযোগ করুন।`,"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":`আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত।
- অনুগ্রহ করে রিচার্জ করুন!`,"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":`আপনার কাছে অসম্পন্ন টপ আপ অর্ডার রয়েছে,
- আপনি কি চালিয়ে যেতে চান?`,"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":"পাঠান"},Ob=Object.freeze(Object.defineProperty({__proto__:null,default:Pm},Symbol.toStringTag,{value:"Module"})),Em={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"},Im={"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
- Center`,"home.refer&earn":`Refer
- &Earn`,"home.vip":`VIP
- Membership`,"home.bestSellers":`Best
- Sellers`,"home.topChampions":`Top
- 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}
- 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
- Level`,"vipMembership.table.invitedNo":`Invited
- No`,"vipMembership.table.directReferralReward":`Direct Referral
- Reward`,"vipMembership.table.indirectReferralReward":`Indirect Referral
- Reward`,"vipMembership.table.joinedGroupsNo":`Joined Groups
- 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.
- Please recharge!`,"checkout.dialog.rechargeDiscount":"Recharge Highest Discount 5%","checkout.dialog.rechargeNow":"Recharge Now","checkout.dialog.paymentSuccess":`Payment successful!
- Your order has been placed.`,"checkout.dialog.viewOrder":"View Order","checkout.dialog.paymentFailed":`Payment failed!
- 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:Em,"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.
- 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,
- 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"},Ab=Object.freeze(Object.defineProperty({__proto__:null,default:Im,upgrade:Em},Symbol.toStringTag,{value:"Module"})),Om={title:"发现新版本",newVersion:"新版本",version:"版本号:{version}",download:"下载",installing:"安装中...",install:"安装",restart:"重启应用",goToStore:"前往应用商店",downloading:"下载中...",downloadProgress:"已下载{downloaded}MB,共{total}MB",installIncomplete:"安装未完成"},Am={"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}
- 快来 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
- 等级`,"vipMembership.table.invitedNo":`邀请
- 人数`,"vipMembership.table.directReferralReward":`直接推荐
- 奖励`,"vipMembership.table.indirectReferralReward":`间接推荐
- 奖励`,"vipMembership.table.joinedGroupsNo":`加入群组
- 数量`,"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":`您的钱包余额不足。
- 请充值!`,"checkout.dialog.rechargeDiscount":"充值最高优惠5%","checkout.dialog.rechargeNow":"立即充值","checkout.dialog.paymentSuccess":`支付成功!
- 您的订单已下单。`,"checkout.dialog.viewOrder":"查看订单","checkout.dialog.paymentFailed":`支付失败!
- 请重试或联系客服。`,"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:Om,"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":`您的钱包余额不足。
- 请充值!`,"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":`您有未完成的充值订单,
- 是否继续?`,"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":"操作成功"},Lb=Object.freeze(Object.defineProperty({__proto__:null,default:Am,upgrade:Om},Symbol.toStringTag,{value:"Module"}));/**
- * @vue/shared v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function ed(e,t){const n=new Set(e.split(","));return o=>n.has(o)}const Xe={},Rr=[],pn=()=>{},Rb=()=>!1,nl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),td=e=>e.startsWith("onUpdate:"),pe=Object.assign,nd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mb=Object.prototype.hasOwnProperty,be=(e,t)=>Mb.call(e,t),ce=Array.isArray,Mr=e=>pi(e)==="[object Map]",Lm=e=>pi(e)==="[object Set]",Nb=e=>pi(e)==="[object RegExp]",le=e=>typeof e=="function",Se=e=>typeof e=="string",os=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",od=e=>(Je(e)||le(e))&&le(e.then)&&le(e.catch),Rm=Object.prototype.toString,pi=e=>Rm.call(e),Db=e=>pi(e).slice(8,-1),St=e=>pi(e)==="[object Object]",rd=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Es=ed(",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))},$b=/-(\w)/g,In=ol(e=>e.replace($b,(t,n)=>n?n.toUpperCase():"")),Bb=/\B([A-Z])/g,no=ol(e=>e.replace(Bb,"-$1").toLowerCase()),rl=ol(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hl=ol(e=>e?`on${rl(e)}`:""),Ro=(e,t)=>!Object.is(e,t),en=(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})},Fb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ub=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let Tf;const Mm=()=>Tf||(Tf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ca(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Se(o)?Pa(o):ca(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(Se(e)||Je(e))return e}const qb=/;(?![^(]*\))/g,Vb=/:([^]+)/,Hb=/\/\*[^]*?\*\//g;function Pa(e){const t={};return e.replace(Hb,"").split(qb).forEach(n=>{if(n){const o=n.split(Vb);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Wb(e){let t="";if(!e||Se(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:no(n);(Se(o)||typeof o=="number")&&(t+=`${r}:${o};`)}return t}function Nm(e){let t="";if(Se(e))t=e;else if(ce(e))for(let n=0;n<e.length;n++){const o=Nm(e[n]);o&&(t+=o+" ")}else if(Je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const jb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zb=ed(jb);function Dm(e){return!!e||e===""}const dn=e=>Se(e)?e:e==null?"":ce(e)||Je(e)&&(e.toString===Rm||!le(e.toString))?JSON.stringify(e,$m,2):String(e),$m=(e,t)=>t&&t.__v_isRef?$m(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[Wl(o,s)+" =>"]=r,n),{})}:Lm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wl(n))}:os(t)?Wl(t):Je(t)&&!ce(t)&&!St(t)?String(t):t,Wl=(e,t="")=>{var n;return os(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Gb=["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"],Kb=Gb.map(e=>"uni-"+e),Yb=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map(e=>"uni-"+e),Xb=["list-item"].map(e=>"uni-"+e);function Jb(e){if(Xb.indexOf(e)!==-1)return!1;const t="uni-"+e.replace("v-uni-","");return Kb.indexOf(t)!==-1||Yb.indexOf(t)!==-1}const sl=`
- `,Qb=44,Zb=50,Bm="UNI_LOCALE",Vc=["%","%"],Fm="#007aff",eS=/^([a-z-]+:)?\/\//i,tS=/^data:.*,.*/,nS="WEB_INVOKE_APPSERVICE",Qn="onShow",Mo="onHide",Um="onLaunch",Gs="onError",il="onThemeChange",qm="onPageNotFound",Vm="onUnhandledRejection",oS="onExit",rs="onLoad",rS="onReady",sd="onUnload",Hm="onInit",Wm="onSaveExitState",al="onResize",Ea="onBackPress",Vr="onPageScroll",jm="onTabItemTap",gi="onReachBottom",id="onPullDownRefresh",zm="onShareTimeline",Gm="onShareChat",Km="onAddToFavorites",Ym="onShareAppMessage",ll="onNavigationBarButtonTap",sS="onNavigationBarChange",Xm="onNavigationBarSearchInputClicked",Jm="onNavigationBarSearchInputChanged",Qm="onNavigationBarSearchInputConfirmed",Zm="onNavigationBarSearchInputFocusChanged",ey="onAppEnterForeground",ty="onAppEnterBackground",ny="onWebInvokeAppService",iS="onWxsInvokeCallMethod";function aS(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function oy(e){return e.indexOf("/")===0}function Ks(e){return oy(e)?e:"/"+e}function lS(e){return oy(e)?e.slice(1):e}const cS=(e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n};function Hc(e,t){for(const n in t)e.style[n]=t[n]}function Ft(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Cr(e,t){e=e||{},Se(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 uS(e){let t={};return St(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}function dS(){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 Ni;function ry(){return Ni||(Ni=dS(),Ni)}function fS(e){return!!e.appContext}function cl(e){return e&&(fS(e)?e.proxy:e)}function sy(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 Cf(e){return e.nodeType===1}function hS(e,t=!1){const{vnode:n}=e;if(Cf(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&&Cf(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 dt(e){const t=ry();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach(o=>{n[o]=e[o]}),ca(n)}else if(e instanceof Map){const n={};return e.forEach((o,r)=>{n[r]=o}),ca(n)}else{if(Se(e))return Pa(e);if(ce(e)){const n={};for(let o=0;o<e.length;o++){const r=e[o],s=Se(r)?Pa(r):dt(r);if(s)for(const i in s)n[i]=s[i]}return n}else return ca(e)}}function et(e){let t="";const n=ry();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=et(e[o]);r&&(t+=r+" ")}else t=Nm(e);return t.trim()}function pS(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Se(t)&&(e.class=et(t)),n&&(e.style=dt(n)),e}function kf(e){return In(e.substring(5))}const gS=Ft(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[kf(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[kf(r)],o.call(this,r)}});function ad(e){return pe({},e.dataset,e.__uniDataset)}const mS=new RegExp(`"[^"]+"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px`,"g");function yS(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return Math.round(o/10)*10/n}const vS={unit:"rem",unitRatio:10/320,unitPrecision:5};function _S(e,t,n){return o=>o.replace(mS,(r,s)=>{if(!s)return r;const i=yS(parseFloat(s)*t,n);return i===0?"0":`${i}${e}`})}function Hr(e){return{passive:e}}function Wc(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ad(e),offsetTop:n,offsetLeft:o}}function wS(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 bS(e,t,n){if(Se(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 jc(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function iy(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=jc(e[n])}catch(o){t[n]=e[n]}}),t}const SS=/\+/g;function TS(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(SS," ");let i=s.indexOf("="),a=jc(i<0?s:s.slice(0,i)),l=i<0?null:jc(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 CS(e){const[t,n]=e.split("?",2);return{path:t,query:TS(n||"")}}function ay(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 ly{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 kS=[Hm,rs,Qn,Mo,sd,Ea,Vr,jm,gi,id,zm,Ym,Gm,Km,Wm,ll,Xm,Jm,Qm,Zm];function xS(e){return[rs,Qn].indexOf(e)>-1}function PS(e){return kS.indexOf(e)>-1}const cy=[Qn,Mo,Um,Gs,il,qm,Vm,oS,Hm,rs,rS,sd,al,Ea,Vr,jm,gi,id,zm,Km,Ym,Gm,Wm,ll,Xm,Jm,Qm,Zm];function ES(e,t,n=!0){return n&&!le(t)?!1:cy.indexOf(e)>-1?!0:e.indexOf("on")===0}let zc;const uy=[];function IS(e){if(zc)return e(zc);uy.push(e)}function OS(e){zc=e,uy.forEach(t=>t(e))}const AS=Ft((e,t)=>t(e)),dy=function(){};dy.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 ld=dy;const xf={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function LS(e){return e&&e in xf?xf[e]:e}function RS(e){return e==="black"?"#000000":"#ffffff"}function Pf(e,t,n){if(Se(t)&&t.startsWith("@")){const o=t.replace("@","");let r=e[o]||t;switch(n){case"titleColor":r=RS(r);break;case"borderStyle":r=LS(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=()=>St(i)?Ia(i,t,n):ce(i)?i.map(l=>St(l)?Ia(l,t,n):Pf(o,l)):Pf(o,i,s);r[s]=a()}),r)}/**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let Yt;class fy{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Yt;try{return Yt=this,t()}finally{Yt=n}}}on(){Yt=this}off(){Yt=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 cd(e){return new fy(e)}function MS(e,t=Yt){t&&t.active&&t.effects.push(e)}function hy(){return Yt}function NS(e){Yt&&Yt.cleanups.push(e)}let ur;class ud{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,MS(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,mr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(DS(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),yr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Po,n=ur;try{return Po=!0,ur=this,this._runnings++,Ef(this),this.fn()}finally{If(this),this._runnings--,ur=n,Po=t}}stop(){var t;this.active&&(Ef(this),If(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function DS(e){return e.value}function Ef(e){e._trackId++,e._depsLength=0}function If(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)py(e.deps[t],e);e.deps.length=e._depsLength}}function py(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Po=!0,Gc=0;const gy=[];function mr(){gy.push(Po),Po=!1}function yr(){const e=gy.pop();Po=e===void 0?!0:e}function dd(){Gc++}function fd(){for(Gc--;!Gc&&Kc.length;)Kc.shift()()}function yy(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&py(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Kc=[];function vy(e,t,n){dd();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&&Kc.push(o.scheduler)))}fd()}const _y=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Oa=new WeakMap,dr=Symbol(""),Yc=Symbol("");function Gt(e,t,n){if(Po&&ur){let o=Oa.get(e);o||Oa.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=_y(()=>o.delete(n))),yy(ur,r)}}function Kn(e,t,n,o,r,s){const i=Oa.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)?rd(n)&&a.push(i.get("length")):(a.push(i.get(dr)),Mr(e)&&a.push(i.get(Yc)));break;case"delete":ce(e)||(a.push(i.get(dr)),Mr(e)&&a.push(i.get(Yc)));break;case"set":Mr(e)&&a.push(i.get(dr));break}dd();for(const l of a)l&&vy(l,4);fd()}function $S(e,t){var n;return(n=Oa.get(e))==null?void 0:n.get(t)}const BS=ed("__proto__,__v_isRef,__isVue"),wy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(os)),Of=FS();function FS(){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++)Gt(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){mr(),dd();const o=Le(this)[t].apply(this,n);return fd(),yr(),o}}),e}function US(e){const t=Le(this);return Gt(t,"has",e),t.hasOwnProperty(e)}class by{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?ZS:ky:s?Cy:Ty).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ce(t);if(!r){if(i&&be(Of,n))return Reflect.get(Of,n,o);if(n==="hasOwnProperty")return US}const a=Reflect.get(t,n,o);return(os(n)?wy.has(n):BS(n))||(r||Gt(t,"get",n),s)?a:ft(a)?i&&rd(n)?a:a.value:Je(a)?r?Py(a):Ie(a):a}}class Sy extends by{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const l=Wr(s);if(!Aa(o)&&!Wr(o)&&(s=Le(s),o=Le(o)),!ce(t)&&ft(s)&&!ft(o))return l?!1:(s.value=o,!0)}const i=ce(t)&&rd(n)?Number(n)<t.length:be(t,n),a=Reflect.set(t,n,o,r);return t===Le(r)&&(i?Ro(o,s)&&Kn(t,"set",n,o):Kn(t,"add",n,o)),a}deleteProperty(t,n){const o=be(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)||!wy.has(n))&&Gt(t,"has",n),o}ownKeys(t){return Gt(t,"iterate",ce(t)?"length":dr),Reflect.ownKeys(t)}}class qS extends by{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const VS=new Sy,HS=new qS,WS=new Sy(!0),hd=e=>e,ul=e=>Reflect.getPrototypeOf(e);function Di(e,t,n=!1,o=!1){e=e.__v_raw;const r=Le(e),s=Le(t);n||(Ro(t,s)&&Gt(r,"get",t),Gt(r,"get",s));const{has:i}=ul(r),a=o?hd:n?md:Ys;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 $i(e,t=!1){const n=this.__v_raw,o=Le(n),r=Le(e);return t||(Ro(e,r)&&Gt(o,"has",e),Gt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Bi(e,t=!1){return e=e.__v_raw,!t&&Gt(Le(e),"iterate",dr),Reflect.get(e,"size",e)}function Af(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 Lf(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?Ro(t,i)&&Kn(n,"set",e,t):Kn(n,"add",e,t),this}function Rf(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 Mf(){const e=Le(this),t=e.size!==0,n=e.clear();return t&&Kn(e,"clear",void 0,void 0),n}function Fi(e,t){return function(o,r){const s=this,i=s.__v_raw,a=Le(i),l=t?hd:e?md:Ys;return!e&&Gt(a,"iterate",dr),i.forEach((c,u)=>o.call(r,l(c),l(u),s))}}function Ui(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?hd:t?md:Ys;return!t&&Gt(s,"iterate",l?Yc:dr),{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 jS(){const e={get(s){return Di(this,s)},get size(){return Bi(this)},has:$i,add:Af,set:Lf,delete:Rf,clear:Mf,forEach:Fi(!1,!1)},t={get(s){return Di(this,s,!1,!0)},get size(){return Bi(this)},has:$i,add:Af,set:Lf,delete:Rf,clear:Mf,forEach:Fi(!1,!0)},n={get(s){return Di(this,s,!0)},get size(){return Bi(this,!0)},has(s){return $i.call(this,s,!0)},add:so("add"),set:so("set"),delete:so("delete"),clear:so("clear"),forEach:Fi(!0,!1)},o={get(s){return Di(this,s,!0,!0)},get size(){return Bi(this,!0)},has(s){return $i.call(this,s,!0)},add:so("add"),set:so("set"),delete:so("delete"),clear:so("clear"),forEach:Fi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ui(s,!1,!1),n[s]=Ui(s,!0,!1),t[s]=Ui(s,!1,!0),o[s]=Ui(s,!0,!0)}),[e,n,t,o]}const[zS,GS,KS,YS]=jS();function pd(e,t){const n=t?e?YS:KS:e?GS:zS;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(be(n,r)&&r in o?n:o,r,s)}const XS={get:pd(!1,!1)},JS={get:pd(!1,!0)},QS={get:pd(!0,!1)},Ty=new WeakMap,Cy=new WeakMap,ky=new WeakMap,ZS=new WeakMap;function eT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tT(e){return e.__v_skip||!Object.isExtensible(e)?0:eT(Db(e))}function Ie(e){return Wr(e)?e:gd(e,!1,VS,XS,Ty)}function xy(e){return gd(e,!1,WS,JS,Cy)}function Py(e){return gd(e,!0,HS,QS,ky)}function gd(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=tT(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 Wr(e)?Yn(e.__v_raw):!!(e&&e.__v_isReactive)}function Wr(e){return!!(e&&e.__v_isReadonly)}function Aa(e){return!!(e&&e.__v_isShallow)}function Ey(e){return Yn(e)||Wr(e)}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function No(e){return Object.isExtensible(e)&&xa(e,"__v_skip",!0),e}const Ys=e=>Je(e)?Ie(e):e,md=e=>Je(e)?Py(e):e;class Iy{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 ud(()=>t(this._value),()=>ua(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)&&Ro(t._value,t._value=t.effect.run())&&ua(t,4),Oy(t),t.effect._dirtyLevel>=2&&ua(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function nT(e,t,n=!1){let o,r;const s=le(e);return s?(o=e,r=pn):(o=e.get,r=e.set),new Iy(o,r,s||!r,n)}function Oy(e){var t;Po&&ur&&(e=Le(e),yy(ur,(t=e.dep)!=null?t:e.dep=_y(()=>e.dep=void 0,e instanceof Iy?e:void 0)))}function ua(e,t=4,n){e=Le(e);const o=e.dep;o&&vy(o,t)}function ft(e){return!!(e&&e.__v_isRef===!0)}function H(e){return Ay(e,!1)}function da(e){return Ay(e,!0)}function Ay(e,t){return ft(e)?e:new oT(e,t)}class oT{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:Ys(t)}get value(){return Oy(this),this._value}set value(t){const n=this.__v_isShallow||Aa(t)||Wr(t);t=n?t:Le(t),Ro(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ys(t),ua(this,4))}}function kt(e){return ft(e)?e.value:e}const rT={get:(e,t,n)=>kt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ft(r)&&!ft(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Ly(e){return Yn(e)?e:new Proxy(e,rT)}function sT(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=aT(e,n);return t}class iT{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 $S(Le(this._object),this._key)}}function aT(e,t,n){const o=e[t];return ft(o)?o:new iT(e,t,n)}function Eo(e,t,n,o){try{return o?e(...o):e()}catch(r){mi(r,t,n)}}function jt(e,t,n,o){if(le(e)){const s=Eo(e,t,n,o);return s&&od(s)&&s.catch(i=>{mi(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(jt(e[s],t,n,o));return r}function mi(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){Eo(l,null,10,[e,i,a]);return}}}let Xs=!1,Xc=!1;const Et=[];let $n=0;const Nr=[];let yo=null,nr=0;const Ry=Promise.resolve();let yd=null;function rt(e){const t=yd||Ry;return e?t.then(this?e.bind(this):e):t}function lT(e){let t=$n+1,n=Et.length;for(;t<n;){const o=t+n>>>1,r=Et[o],s=Js(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}function dl(e){(!Et.length||!Et.includes(e,Xs&&e.allowRecurse?$n+1:$n))&&(e.id==null?Et.push(e):Et.splice(lT(e.id),0,e),My())}function My(){!Xs&&!Xc&&(Xc=!0,yd=Ry.then(Dy))}function cT(e){const t=Et.indexOf(e);t>$n&&Et.splice(t,1)}function uT(e){ce(e)?Nr.push(...e):(!yo||!yo.includes(e,e.allowRecurse?nr+1:nr))&&Nr.push(e),My()}function Nf(e,t,n=Xs?$n+1:0){for(;n<Et.length;n++){const o=Et[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;Et.splice(n,1),n--,o()}}}function Ny(e){if(Nr.length){const t=[...new Set(Nr)].sort((n,o)=>Js(n)-Js(o));if(Nr.length=0,yo){yo.push(...t);return}for(yo=t,nr=0;nr<yo.length;nr++)yo[nr]();yo=null,nr=0}}const Js=e=>e.id==null?1/0:e.id,dT=(e,t)=>{const n=Js(e)-Js(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Dy(e){Xc=!1,Xs=!0,Et.sort(dT);try{for($n=0;$n<Et.length;$n++){const t=Et[$n];t&&t.active!==!1&&Eo(t,null,14)}}finally{$n=0,Et.length=0,Ny(),Xs=!1,yd=null,(Et.length||Nr.length)&&Dy()}}function fT(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=>Se(h)?h.trim():h)),d&&(r=n.map(Fb))}let a,l=o[a=Hl(t)]||o[a=Hl(In(t))];!l&&s&&(l=o[a=Hl(no(t))]),l&&jt(l,e,6,Df(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,jt(c,e,6,Df(e,c,r))}}function Df(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&&be(o,"type")&&be(o,"timeStamp")&&be(o,"target")&&be(o,"currentTarget")&&be(o,"detail")){const r=e.proxy,s=r.$gcd(r,!0);s&&n.push(s)}return n}function $y(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=$y(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$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,no(t))||be(e,t))}let gt=null,By=null;function La(e){const t=gt;return gt=e,By=e&&e.type.__scopeId||null,t}function ve(e,t=gt,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Xf(-1);const s=La(t);let i;try{i=e(...r)}finally{La(s),o._d&&Xf(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function $f(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:_,inheritAttrs:v}=e;let m,y;const w=La(e);try{if(n.shapeFlag&4){const g=r||o,b=g;m=Dn(u.call(b,g,d,s,h,f,_)),y=l}else{const g=t;m=Dn(g.length>1?g(s,{attrs:l,slots:a,emit:c}):g(s,null)),y=t.props?l:hT(l)}}catch(g){Ls.length=0,mi(g,e,1),m=L(zt)}let p=m;if(y&&v!==!1){const g=Object.keys(y),{shapeFlag:b}=p;g.length&&b&7&&(i&&g.some(td)&&(y=pT(y,i)),p=Zn(p,y))}return n.dirs&&(p=Zn(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),m=p,La(w),m}const hT=e=>{let t;for(const n in e)(n==="class"||n==="style"||nl(n))&&((t||(t={}))[n]=e[n]);return t},pT=(e,t)=>{const n={};for(const o in e)(!td(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function gT(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?Bf(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?Bf(o,i,c):!0:!!i;return!1}function Bf(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 mT({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 Fy="components";function Uy(e,t){return Vy(Fy,e,!0,t)||e}const qy=Symbol.for("v-ndc");function Xn(e){return Se(e)?Vy(Fy,e,!1)||e:e||qy}function Vy(e,t,n=!0,o=!1){const r=gt||at;if(r){const s=r.type;{const a=hv(s,!1);if(a&&(a===t||a===In(t)||a===rl(In(t))))return s}const i=Ff(r[e]||s[e],t)||Ff(r.appContext[e],t);return!i&&o?s:i}}function Ff(e,t){return e&&(e[t]||e[In(t)]||e[rl(In(t))])}const Is=e=>e.__isSuspense;function yT(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):uT(e)}const vT=Symbol.for("v-scx"),_T=()=>De(vT);function On(e,t){return vd(e,null,t)}const qi={};function re(e,t,n){return vd(e,t,n)}function vd(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),b()}}const l=at,c=S=>o===!0?S:sr(S,o===!1?1:void 0);let u,d=!1,f=!1;if(ft(e)?(u=()=>e.value,d=Aa(e)):Yn(e)?(u=()=>c(e),d=!0):ce(e)?(f=!0,d=e.some(S=>Yn(S)||Aa(S)),u=()=>e.map(S=>{if(ft(S))return S.value;if(Yn(S))return c(S);if(le(S))return Eo(S,l,2)})):le(e)?t?u=()=>Eo(e,l,2):u=()=>(h&&h(),jt(e,l,3,[_])):u=pn,t&&o){const S=u;u=()=>sr(S())}let h,_=S=>{h=p.onStop=()=>{Eo(S,l,4),h=p.onStop=void 0}},v;if(ss)if(_=pn,t?n&&jt(t,l,3,[u(),f?[]:void 0,_]):u(),r==="sync"){const S=_T();v=S.__watcherHandles||(S.__watcherHandles=[])}else return pn;let m=f?new Array(e.length).fill(qi):qi;const y=()=>{if(!(!p.active||!p.dirty))if(t){const S=p.run();(o||d||(f?S.some((k,C)=>Ro(k,m[C])):Ro(S,m)))&&(h&&h(),jt(t,l,3,[S,m===qi?void 0:f&&m[0]===qi?[]:m,_]),m=S)}else p.run()};y.allowRecurse=!!t;let w;r==="sync"?w=y:r==="post"?w=()=>Ct(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),w=()=>dl(y));const p=new ud(u,pn,w),g=hy(),b=()=>{p.stop(),g&&nd(g.effects,p)};return t?n?y():m=p.run():r==="post"?Ct(p.run.bind(p),l&&l.suspense):p.run(),v&&v.push(b),b}function wT(e,t,n){const o=this.proxy,r=Se(e)?e.includes(".")?Hy(o,e):()=>o[e]:e.bind(o,o);let s;le(t)?s=t:(s=t.handler,n=t);const i=_i(this),a=vd(r,s.bind(o),n);return i(),a}function Hy(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 sr(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),ft(e))sr(e.value,t,n,o);else if(ce(e))for(let r=0;r<e.length;r++)sr(e[r],t,n,o);else if(Lm(e)||Mr(e))e.forEach(r=>{sr(r,t,n,o)});else if(St(e))for(const r in e)sr(e[r],t,n,o);return e}function Xt(e,t){if(gt===null)return e;const n=ml(gt)||gt.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&&sr(i),o.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Xo(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&&(mr(),jt(l,n,8,[e.el,a,e,t]),yr())}}const vo=Symbol("_leaveCb"),Vi=Symbol("_enterCb");function bT(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $e(()=>{e.isMounted=!0}),At(()=>{e.isUnmounting=!0}),e}const an=[Function,Array],Wy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:an,onEnter:an,onAfterEnter:an,onEnterCancelled:an,onBeforeLeave:an,onLeave:an,onAfterLeave:an,onLeaveCancelled:an,onBeforeAppear:an,onAppear:an,onAfterAppear:an,onAppearCancelled:an},ST={name:"BaseTransition",props:Wy,setup(e,{slots:t}){const n=ht(),o=bT();return()=>{const r=t.default&&zy(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const f of r)if(f.type!==zt){s=f;break}}const i=Le(e),{mode:a}=i;if(o.isLeaving)return jl(s);const l=Uf(s);if(!l)return jl(s);const c=Jc(l,i,o,n);Ra(l,c);const u=n.subTree,d=u&&Uf(u);if(d&&d.type!==zt&&!So(l,d)){const f=Jc(d,i,o,n);if(Ra(d,f),a==="out-in")return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},jl(s);a==="in-out"&&l.type!==zt&&(f.delayLeave=(h,_,v)=>{const m=jy(o,d);m[String(d.key)]=d,h[vo]=()=>{_(),h[vo]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return s}}},TT=ST;function jy(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 Jc(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:_,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:w}=t,p=String(e.key),g=jy(n,e),b=(C,E)=>{C&&jt(C,o,9,E)},S=(C,E)=>{const I=E[1];b(C,E),ce(C)?C.every(O=>O.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[vo]&&C[vo](!0);const I=g[p];I&&So(e,I)&&I.el[vo]&&I.el[vo](),b(E,[C])},enter(C){let E=l,I=c,O=u;if(!n.isMounted)if(r)E=m||l,I=y||c,O=w||u;else return;let P=!1;const B=C[Vi]=Z=>{P||(P=!0,Z?b(O,[C]):b(I,[C]),k.delayedLeave&&k.delayedLeave(),C[Vi]=void 0)};E?S(E,[C,B]):B()},leave(C,E){const I=String(e.key);if(C[Vi]&&C[Vi](!0),n.isUnmounting)return E();b(d,[C]);let O=!1;const P=C[vo]=B=>{O||(O=!0,E(),B?b(_,[C]):b(h,[C]),C[vo]=void 0,g[I]===e&&delete g[I])};g[I]=e,f?S(f,[C,P]):P()},clone(C){return Jc(C,t,n,o)}};return k}function jl(e){if(yi(e))return e=Zn(e),e.children=null,e}function Uf(e){return yi(e)?e.children?e.children[0]:void 0:e}function Ra(e,t){e.shapeFlag&6&&e.component?Ra(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 zy(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(zy(i.children,t,a))):(t||i.type!==zt)&&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 tt(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(_=>{if(_=_ instanceof Error?_:new Error(String(_)),a)return new Promise((v,m)=>{a(_,()=>v(d()),()=>m(_),u+1)});throw _}).then(_=>h!==l&&l?l:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return tt({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=at;if(c)return()=>zl(c,h);const _=w=>{l=null,mi(w,h,13,!o)};if(i&&h.suspense||ss)return f().then(w=>()=>zl(w,h)).catch(w=>(_(w),()=>o?L(o,{error:w}):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 w=new Error(`Async component timed out after ${s}ms.`);_(w),m.value=w}},s),f().then(()=>{v.value=!0,h.parent&&yi(h.parent.vnode)&&(h.parent.effect.dirty=!0,dl(h.parent.update))}).catch(w=>{_(w),m.value=w}),()=>{if(v.value&&c)return zl(c,h);if(m.value&&o)return L(o,{error:m.value});if(n&&!y.value)return L(n)}}})}function zl(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 yi=e=>e.type.__isKeepAlive;class CT{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 kT={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=ht(),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 CT(e.max);r.pruneCacheEntry=i;let s=null;function i(y){!s||!So(y,s)||e.matchBy==="key"&&y.key!==s.key?h(y):s&&Gl(s)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");o.activate=(y,w,p,g,b)=>{const S=y.component;if(S.ba){const k=S.isDeactivated;S.isDeactivated=!1,en(S.ba),S.isDeactivated=k}c(y,w,p,0,a),l(S.vnode,y,w,p,S,a,g,y.slotScopeIds,b),Ct(()=>{S.isDeactivated=!1,S.a&&en(S.a);const k=y.props&&y.props.onVnodeMounted;k&&cn(k,S.parent,y)},a)},o.deactivate=y=>{const w=y.component;w.bda&&Gy(w.bda),c(y,f,null,1,a),Ct(()=>{w.bda&&OT(w.bda),w.da&&en(w.da);const p=y.props&&y.props.onVnodeUnmounted;p&&cn(p,w.parent,y),w.isDeactivated=!0},a)};function h(y){Gl(y),u(y,n,a,!0)}function _(y){r.forEach((w,p)=>{const g=qf(w,e.matchBy);g&&(!y||!y(g))&&(r.delete(p),i(w))})}re(()=>[e.include,e.exclude,e.matchBy],([y,w])=>{y&&_(p=>Ss(y,p)),w&&_(p=>!Ss(w,p))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&r.set(v,Kl(n.subTree))};return $e(m),Ky(m),At(()=>{r.forEach((y,w)=>{r.delete(w),i(y);const{subTree:p,suspense:g}=n,b=Kl(p);if(y.type===b.type&&(e.matchBy!=="key"||y.key===b.key)){b.component.bda&&en(b.component.bda),Gl(b);const S=b.component.da;S&&Ct(S,g);return}})}),()=>{if(v=null,!t.default)return null;const y=t.default(),w=y[0];if(y.length>1)return s=null,y;if(!pr(w)||!(w.shapeFlag&4)&&!Is(w.type))return s=null,w;let p=Kl(w);const g=p.type,b=qf(p,e.matchBy),{include:S,exclude:k}=e;if(S&&(!b||!Ss(S,b))||k&&b&&Ss(k,b))return s=p,w;const C=p.key==null?g:p.key,E=r.get(C);return p.el&&(p=Zn(p),Is(w.type)&&(w.ssContent=p)),v=C,E&&(p.el=E.el,p.component=E.component,p.transition&&Ra(p,p.transition),p.shapeFlag|=512),p.shapeFlag|=256,s=p,Is(w.type)?w:p}}},xT=kT;function Ss(e,t){return ce(e)?e.some(n=>Ss(n,t)):Se(e)?e.split(",").includes(t):Nb(e)?e.test(t):!1}function PT(e,t){hl(e,"ba",t)}function vi(e,t){hl(e,"a",t)}function ET(e,t){hl(e,"bda",t)}function _d(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,Uo(t,o,n),n){let r=n.parent;for(;r&&r.parent;)yi(r.parent.vnode)&&IT(o,t,n,r),r=r.parent}}function IT(e,t,n,o){const r=Uo(t,e,o,!0);qn(()=>{nd(o[t],r)},n)}function Gl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Kl(e){return Is(e.type)?e.ssContent:e}function qf(e,t){if(t==="name"){const n=e.type;return hv(Dr(e)?n.__asyncResolved||{}:n)}return String(e.key)}function Gy(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function OT(e){e.forEach(t=>t.__called=!1)}function Uo(e,t,n=at,o=!1){if(n){if(PS(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,xS(e))){const i=n.proxy;jt(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;mr();const a=_i(n),l=jt(t,n,e,i);return a(),yr(),l});return o?r.unshift(s):r.push(s),s}}const oo=e=>(t,n=at)=>(!ss||e==="sp")&&Uo(e,(...o)=>t(...o),n),qo=oo("bm"),$e=oo("m"),AT=oo("bu"),Ky=oo("u"),At=oo("bum"),qn=oo("um"),LT=oo("sp"),RT=oo("rtg"),MT=oo("rtc");function NT(e,t=at){Uo("ec",e,t)}function DT(e,t,n,o){let r;const s=n;if(ce(e)||Se(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 mt(e,t,n={},o,r){if(gt.isCE||gt.parent&&Dr(gt.parent)&>.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&&Yy(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 Yy(e){return e.some(t=>pr(t)?!(t.type===zt||t.type===ot&&!Yy(t.children)):!0)?e:null}const Qc=e=>e?uv(e)?ml(e)||e.proxy:Qc(e.parent):null,$T=e=>function(){e.effect.dirty=!0,dl(e.update)},Os=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=>Qc(e.parent),$root:e=>Qc(e.root),$emit:e=>e.emit,$options:e=>Jy(e),$forceUpdate:e=>e.f||(e.f=$T(e)),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>wT.bind(e)}),Yl=(e,t)=>e!==Xe&&!e.__isScriptSetup&&be(e,t),BT={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(Yl(o,t))return i[t]=1,o[t];if(r!==Xe&&be(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&be(c,t))return i[t]=3,s[t];if(n!==Xe&&be(n,t))return i[t]=4,n[t];Zc&&(i[t]=0)}}const u=Os[t];let d,f;if(u)return t==="$attrs"&&Gt(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Xe&&be(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,be(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Yl(r,t)?(r[t]=n,!0):o!==Xe&&be(o,t)?(o[t]=n,!0):be(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&&be(e,i)||Yl(t,i)||(a=s[0])&&be(a,i)||be(o,i)||be(Os,i)||be(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function FT(){return UT().slots}function UT(){const e=ht();return e.setupContext||(e.setupContext=fv(e))}function Vf(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Zc=!0;function qT(e){const t=Jy(e),n=e.proxy,o=e.ctx;Zc=!1,t.beforeCreate&&Hf(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:_,activated:v,deactivated:m,beforeDestroy:y,beforeUnmount:w,destroyed:p,unmounted:g,render:b,renderTracked:S,renderTriggered:k,errorCaptured:C,serverPrefetch:E,expose:I,inheritAttrs:O,components:P,directives:B,filters:Z}=t;if(c&&VT(c,o,null),i)for(const X in i){const D=i[X];le(D)&&(o[X]=D.bind(n))}if(r){const X=r.call(n,n);Je(X)&&(e.data=Ie(X))}if(Zc=!0,s)for(const X in s){const D=s[X],ee=le(D)?D.bind(n,n):le(D.get)?D.get.bind(n,n):pn,U=!le(D)&&le(D.set)?D.set.bind(n):pn,K=Y({get:ee,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)Xy(a[X],o,n,X);if(l){const X=le(l)?l.call(n):l;Reflect.ownKeys(X).forEach(D=>{wt(D,X[D])})}u&&Hf(u,e,"c");function z(X,D){ce(D)?D.forEach(ee=>X(ee.bind(n))):D&&X(D.bind(n))}if(z(qo,d),z($e,f),z(AT,h),z(Ky,_),z(vi,v),z(_d,m),z(NT,C),z(MT,S),z(RT,k),z(At,w),z(qn,g),z(LT,E),ce(I))if(I.length){const X=e.exposed||(e.exposed={});I.forEach(D=>{Object.defineProperty(X,D,{get:()=>n[D],set:ee=>n[D]=ee})})}else e.exposed||(e.exposed={});b&&e.render===pn&&(e.render=b),O!=null&&(e.inheritAttrs=O),P&&(e.components=P),B&&(e.directives=B);const te=e.appContext.config.globalProperties.$applyOptions;te&&te(t,e,n)}function VT(e,t,n=pn){ce(e)&&(e=eu(e));for(const o in e){const r=e[o];let s;Je(r)?"default"in r?s=De(r.from||o,r.default,!0):s=De(r.from||o):s=De(r),ft(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Hf(e,t,n){jt(ce(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xy(e,t,n,o){const r=o.includes(".")?Hy(n,o):()=>n[o];if(Se(e)){const s=t[e];le(s)&&re(r,s)}else if(le(e))re(r,e.bind(n));else if(Je(e))if(ce(e))e.forEach(s=>Xy(s,t,n,o));else{const s=le(e.handler)?e.handler.bind(n):t[e.handler];le(s)&&re(r,s,e)}}function Jy(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=>Ma(l,c,i,!0)),Ma(l,t,i)),Je(t)&&s.set(t,l),l}function Ma(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Ma(e,s,n,!0),r&&r.forEach(i=>Ma(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=HT[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const HT={data:Wf,props:jf,emits:jf,methods:Ts,computed:Ts,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Ts,directives:Ts,watch:jT,provide:Wf,inject:WT};function Wf(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 WT(e,t){return Ts(eu(e),eu(t))}function eu(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ts(e,t){return e?pe(Object.create(null),e,t):t}function jf(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:pe(Object.create(null),Vf(e),Vf(t!=null?t:{})):t}function jT(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const o in t)n[o]=Rt(e[o],t[o]);return n}function Qy(){return{app:null,config:{isNativeTag:Rb,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 zT=0;function GT(e,t){return function(o,r=null){le(o)||(o=pe({},o)),r!=null&&!Je(r)&&(r=null);const s=Qy(),i=new WeakSet;let a=!1;const l=s.app={_uid:zT++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:h1,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=As;As=l;try{return c()}finally{As=u}}};return l}}let As=null;function wt(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 De(e,t,n=!1){const o=at||gt;if(o||As){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:As._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 KT(e,t,n,o=!1){const r={},s={};xa(s,gl,1),e.propsDefaults=Object.create(null),Zy(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:xy(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function YT(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(be(s,f))h!==s[f]&&(s[f]=h,c=!0);else{const _=In(f);r[_]=tu(l,a,_,h,e,!1)}else h!==s[f]&&(s[f]=h,c=!0)}}}else{Zy(e,t,r,s)&&(c=!0);let u;for(const d in a)(!t||!be(t,d)&&((u=no(d))===d||!be(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=tu(l,a,d,void 0,e,!0)):delete r[d]);if(s!==a)for(const d in s)(!t||!be(t,d))&&(delete s[d],c=!0)}c&&Kn(e,"set","$attrs")}function Zy(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&&be(r,u=In(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]=tu(r,l,d,c[d],e,!be(c,d))}}return i}function tu(e,t,n,o,r,s){const i=e[n];if(i!=null){const a=be(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=_i(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 ev(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]=ev(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,Rr),Rr;if(ce(s))for(let u=0;u<s.length;u++){const d=In(s[u]);zf(d)&&(i[d]=Xe)}else if(s)for(const u in s){const d=In(u);if(zf(d)){const f=s[u],h=i[d]=ce(f)||le(f)?{type:f}:pe({},f);if(h){const _=Yf(Boolean,h.type),v=Yf(String,h.type);h[0]=_>-1,h[1]=v<0||_<v,(_>-1||be(h,"default"))&&a.push(d)}}}const c=[i,a];return Je(e)&&o.set(e,c),c}function zf(e){return e[0]!=="$"&&!Es(e)}function Gf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Kf(e,t){return Gf(e)===Gf(t)}function Yf(e,t){return ce(t)?t.findIndex(n=>Kf(n,e)):le(t)&&Kf(t,e)?0:-1}const tv=e=>e[0]==="_"||e==="$stable",wd=e=>ce(e)?e.map(Dn):[Dn(e)],XT=(e,t,n)=>{if(t._n)return t;const o=ve((...r)=>wd(t(...r)),n);return o._c=!1,o},nv=(e,t,n)=>{const o=e._ctx;for(const r in e){if(tv(r))continue;const s=e[r];if(le(s))t[r]=XT(r,s,o);else if(s!=null){const i=wd(s);t[r]=()=>i}}},ov=(e,t)=>{const n=wd(t);e.slots.default=()=>n},JT=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Le(t),xa(t,"_",n)):nv(t,e.slots={})}else e.slots={},t&&ov(e,t);xa(e.slots,gl,1)},QT=(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,nv(t,r)),i=t}else t&&(ov(e,t),i={default:1});if(s)for(const a in r)!tv(a)&&i[a]==null&&delete r[a]};function nu(e,t,n,o,r=!1){if(ce(e)){e.forEach((f,h)=>nu(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&&(Se(c)?(u[c]=null,be(d,c)&&(d[c]=null)):ft(c)&&(c.value=null)),le(l))Eo(l,a,12,[i,u]);else{const f=Se(l),h=ft(l);if(f||h){const _=()=>{if(e.f){const v=f?be(d,l)?d[l]:u[l]:l.value;r?ce(v)&&nd(v,s):ce(v)?v.includes(s)||v.push(s):f?(u[l]=[s],be(d,l)&&(d[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else f?(u[l]=i,be(d,l)&&(d[l]=i)):h&&(l.value=i,e.k&&(u[e.k]=i))};i?(_.id=-1,Ct(_,n)):_()}}}const Ct=yT;function ZT(e){return e1(e)}function e1(e,t){const n=Mm();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:_=pn,insertStaticContent:v}=e,m=(T,x,R,q=null,j=null,J=null,se=void 0,Q=null,$=!!x.dynamicChildren)=>{if(T===x)return;T&&!So(T,x)&&(q=oe(T),G(T,j,J,!0),T=null),x.patchFlag===-2&&($=!1,x.dynamicChildren=null);const{type:F,ref:ae,shapeFlag:fe}=x;switch(F){case jr:y(T,x,R,q);break;case zt:w(T,x,R,q);break;case Jl:T==null&&p(x,R,q,se);break;case ot:B(T,x,R,q,j,J,se,Q,$);break;default:fe&1?S(T,x,R,q,j,J,se,Q,$):fe&6?Z(T,x,R,q,j,J,se,Q,$):(fe&64||fe&128)&&F.process(T,x,R,q,j,J,se,Q,$,A)}ae!=null&&j&&nu(ae,T&&T.ref,J,x||T,!x)},y=(T,x,R,q)=>{if(T==null)o(x.el=l(x.children),R,q);else{const j=x.el=T.el;x.children!==T.children&&u(j,x.children)}},w=(T,x,R,q)=>{T==null?o(x.el=c(x.children||""),R,q):x.el=T.el},p=(T,x,R,q)=>{[T.el,T.anchor]=v(T.children,x,R,q,T.el,T.anchor)},g=({el:T,anchor:x},R,q)=>{let j;for(;T&&T!==x;)j=h(T),o(T,R,q),T=j;o(x,R,q)},b=({el:T,anchor:x})=>{let R;for(;T&&T!==x;)R=h(T),r(T),T=R;r(x)},S=(T,x,R,q,j,J,se,Q,$)=>{x.type==="svg"?se="svg":x.type==="math"&&(se="mathml"),T==null?k(x,R,q,j,J,se,Q,$):I(T,x,j,J,se,Q,$)},k=(T,x,R,q,j,J,se,Q)=>{let $,F;const{props:ae,shapeFlag:fe,transition:ge,dirs:Te}=T;if($=T.el=a(T.type,J,ae&&ae.is,ae),fe&8?d($,T.children):fe&16&&E(T.children,$,null,q,j,Xl(T,J),se,Q),Te&&Xo(T,null,q,"created"),C($,T,T.scopeId,se,q),ae){for(const Ve in ae)Ve!=="value"&&!Es(Ve)&&s($,Ve,null,ae[Ve],J,T.children,q,j,W);"value"in ae&&s($,"value",null,ae.value,J),(F=ae.onVnodeBeforeMount)&&cn(F,q,T)}Object.defineProperty($,"__vueParentComponent",{value:q,enumerable:!1}),Te&&Xo(T,null,q,"beforeMount");const xe=t1(j,ge);xe&&ge.beforeEnter($),o($,x,R),((F=ae&&ae.onVnodeMounted)||xe||Te)&&Ct(()=>{F&&cn(F,q,T),xe&&ge.enter($),Te&&Xo(T,null,q,"mounted")},j)},C=(T,x,R,q,j)=>{if(R&&_(T,R),q)for(let J=0;J<q.length;J++)_(T,q[J]);if(j){let J=j.subTree;if(x===J){const se=j.vnode;C(T,se,se.scopeId,se.slotScopeIds,j.parent)}}},E=(T,x,R,q,j,J,se,Q,$=0)=>{for(let F=$;F<T.length;F++){const ae=T[F]=Q?_o(T[F]):Dn(T[F]);m(null,ae,x,R,q,j,J,se,Q)}},I=(T,x,R,q,j,J,se)=>{const Q=x.el=T.el;let{patchFlag:$,dynamicChildren:F,dirs:ae}=x;$|=T.patchFlag&16;const fe=T.props||Xe,ge=x.props||Xe;let Te;if(R&&Jo(R,!1),(Te=ge.onVnodeBeforeUpdate)&&cn(Te,R,x,T),ae&&Xo(x,T,R,"beforeUpdate"),R&&Jo(R,!0),F?O(T.dynamicChildren,F,Q,R,q,Xl(x,j),J):se||D(T,x,Q,null,R,q,Xl(x,j),J,!1),$>0){if($&16)P(Q,x,fe,ge,R,q,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 Ve=0;Ve<xe.length;Ve++){const Ke=xe[Ve],Lt=fe[Ke],wn=ge[Ke];(wn!==Lt||Ke==="value"||i&&i(Q,Ke))&&s(Q,Ke,Lt,wn,j,T.children,R,q,W)}}$&1&&T.children!==x.children&&d(Q,x.children)}else!se&&F==null&&P(Q,x,fe,ge,R,q,j);((Te=ge.onVnodeUpdated)||ae)&&Ct(()=>{Te&&cn(Te,R,x,T),ae&&Xo(x,T,R,"updated")},q)},O=(T,x,R,q,j,J,se)=>{for(let Q=0;Q<x.length;Q++){const $=T[Q],F=x[Q],ae=$.el&&($.type===ot||!So($,F)||$.shapeFlag&70)?f($.el):R;m($,F,ae,null,q,j,J,se,!0)}},P=(T,x,R,q,j,J,se)=>{if(R!==q){if(R!==Xe)for(const Q in R)!Es(Q)&&!(Q in q)&&s(T,Q,R[Q],null,se,x.children,j,J,W);for(const Q in q){if(Es(Q))continue;const $=q[Q],F=R[Q];($!==F&&Q!=="value"||i&&i(T,Q))&&s(T,Q,F,$,se,x.children,j,J,W)}"value"in q&&s(T,"value",R.value,q.value,se)}},B=(T,x,R,q,j,J,se,Q,$)=>{const F=x.el=T?T.el:l(""),ae=x.anchor=T?T.anchor:l("");let{patchFlag:fe,dynamicChildren:ge,slotScopeIds:Te}=x;Te&&(Q=Q?Q.concat(Te):Te),T==null?(o(F,R,q),o(ae,R,q),E(x.children||[],R,ae,j,J,se,Q,$)):fe>0&&fe&64&&ge&&T.dynamicChildren?(O(T.dynamicChildren,ge,R,j,J,se,Q),(x.key!=null||j&&x===j.subTree)&&rv(T,x,!0)):D(T,x,R,ae,j,J,se,Q,$)},Z=(T,x,R,q,j,J,se,Q,$)=>{x.slotScopeIds=Q,T==null?x.shapeFlag&512?j.ctx.activate(x,R,q,se,$):M(x,R,q,j,J,se,$):z(T,x,$)},M=(T,x,R,q,j,J,se)=>{const Q=T.component=l1(T,q,j);if(yi(T)&&(Q.ctx.renderer=A),c1(Q),Q.asyncDep){if(j&&j.registerDep(Q,te),!T.el){const $=Q.subTree=L(zt);w(null,$,x,R)}}else te(Q,T,x,R,j,J,se)},z=(T,x,R)=>{const q=x.component=T.component;if(gT(T,x,R))if(q.asyncDep&&!q.asyncResolved){X(q,x,R);return}else q.next=x,cT(q.update),q.effect.dirty=!0,q.update();else x.el=T.el,q.vnode=x},te=(T,x,R,q,j,J,se)=>{const Q=()=>{if(T.isMounted){let{next:ae,bu:fe,u:ge,parent:Te,vnode:xe}=T;{const wr=sv(T);if(wr){ae&&(ae.el=xe.el,X(T,ae,se)),wr.asyncDep.then(()=>{T.isUnmounted||Q()});return}}let Ve=ae,Ke;Jo(T,!1),ae?(ae.el=xe.el,X(T,ae,se)):ae=xe,fe&&en(fe),(Ke=ae.props&&ae.props.onVnodeBeforeUpdate)&&cn(Ke,Te,ae,xe),Jo(T,!0);const Lt=$f(T),wn=T.subTree;T.subTree=Lt,m(wn,Lt,f(wn.el),oe(wn),T,j,J),ae.el=Lt.el,Ve===null&&mT(T,Lt.el),ge&&Ct(ge,j),(Ke=ae.props&&ae.props.onVnodeUpdated)&&Ct(()=>cn(Ke,Te,ae,xe),j)}else{let ae;const{el:fe,props:ge}=x,{bm:Te,m:xe,parent:Ve}=T,Ke=Dr(x);Jo(T,!1),Te&&en(Te),!Ke&&(ae=ge&&ge.onVnodeBeforeMount)&&cn(ae,Ve,x),Jo(T,!0);{const Lt=T.subTree=$f(T);m(null,Lt,R,q,T,j,J),x.el=Lt.el}if(xe&&Ct(xe,j),!Ke&&(ae=ge&&ge.onVnodeMounted)){const Lt=x;Ct(()=>cn(ae,Ve,Lt),j)}(x.shapeFlag&256||Ve&&Dr(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&(T.ba&&Gy(T.ba),T.a&&Ct(T.a,j)),T.isMounted=!0,x=R=q=null}},$=T.effect=new ud(Q,pn,()=>dl(F),T.scope),F=T.update=()=>{$.dirty&&$.run()};F.id=T.uid,Jo(T,!0),F()},X=(T,x,R)=>{x.component=T;const q=T.vnode.props;T.vnode=x,T.next=null,YT(T,x.props,q,R),QT(T,x.children,R),mr(),Nf(T),yr()},D=(T,x,R,q,j,J,se,Q,$=!1)=>{const F=T&&T.children,ae=T?T.shapeFlag:0,fe=x.children,{patchFlag:ge,shapeFlag:Te}=x;if(ge>0){if(ge&128){U(F,fe,R,q,j,J,se,Q,$);return}else if(ge&256){ee(F,fe,R,q,j,J,se,Q,$);return}}Te&8?(ae&16&&W(F,j,J),fe!==F&&d(R,fe)):ae&16?Te&16?U(F,fe,R,q,j,J,se,Q,$):W(F,j,J,!0):(ae&8&&d(R,""),Te&16&&E(fe,R,q,j,J,se,Q,$))},ee=(T,x,R,q,j,J,se,Q,$)=>{T=T||Rr,x=x||Rr;const F=T.length,ae=x.length,fe=Math.min(F,ae);let ge;for(ge=0;ge<fe;ge++){const Te=x[ge]=$?_o(x[ge]):Dn(x[ge]);m(T[ge],Te,R,null,j,J,se,Q,$)}F>ae?W(T,j,J,!0,!1,fe):E(x,R,q,j,J,se,Q,$,fe)},U=(T,x,R,q,j,J,se,Q,$)=>{let F=0;const ae=x.length;let fe=T.length-1,ge=ae-1;for(;F<=fe&&F<=ge;){const Te=T[F],xe=x[F]=$?_o(x[F]):Dn(x[F]);if(So(Te,xe))m(Te,xe,R,null,j,J,se,Q,$);else break;F++}for(;F<=fe&&F<=ge;){const Te=T[fe],xe=x[ge]=$?_o(x[ge]):Dn(x[ge]);if(So(Te,xe))m(Te,xe,R,null,j,J,se,Q,$);else break;fe--,ge--}if(F>fe){if(F<=ge){const Te=ge+1,xe=Te<ae?x[Te].el:q;for(;F<=ge;)m(null,x[F]=$?_o(x[F]):Dn(x[F]),R,xe,j,J,se,Q,$),F++}}else if(F>ge)for(;F<=fe;)G(T[F],j,J,!0),F++;else{const Te=F,xe=F,Ve=new Map;for(F=xe;F<=ge;F++){const Kt=x[F]=$?_o(x[F]):Dn(x[F]);Kt.key!=null&&Ve.set(Kt.key,F)}let Ke,Lt=0;const wn=ge-xe+1;let wr=!1,yf=0;const cs=new Array(wn);for(F=0;F<wn;F++)cs[F]=0;for(F=Te;F<=fe;F++){const Kt=T[F];if(Lt>=wn){G(Kt,j,J,!0);continue}let Ln;if(Kt.key!=null)Ln=Ve.get(Kt.key);else for(Ke=xe;Ke<=ge;Ke++)if(cs[Ke-xe]===0&&So(Kt,x[Ke])){Ln=Ke;break}Ln===void 0?G(Kt,j,J,!0):(cs[Ln-xe]=F+1,Ln>=yf?yf=Ln:wr=!0,m(Kt,x[Ln],R,null,j,J,se,Q,$),Lt++)}const vf=wr?n1(cs):Rr;for(Ke=vf.length-1,F=wn-1;F>=0;F--){const Kt=xe+F,Ln=x[Kt],_f=Kt+1<ae?x[Kt+1].el:q;cs[F]===0?m(null,Ln,R,_f,j,J,se,Q,$):wr&&(Ke<0||F!==vf[Ke]?K(Ln,R,_f,2):Ke--)}}},K=(T,x,R,q,j=null)=>{const{el:J,type:se,transition:Q,children:$,shapeFlag:F}=T;if(F&6){K(T.component.subTree,x,R,q);return}if(F&128){T.suspense.move(x,R,q);return}if(F&64){se.move(T,x,R,A);return}if(se===ot){o(J,x,R);for(let fe=0;fe<$.length;fe++)K($[fe],x,R,q);o(T.anchor,x,R);return}if(se===Jl){g(T,x,R);return}if(q!==2&&F&1&&Q)if(q===0)Q.beforeEnter(J),o(J,x,R),Ct(()=>Q.enter(J),j);else{const{leave:fe,delayLeave:ge,afterLeave:Te}=Q,xe=()=>o(J,x,R),Ve=()=>{fe(J,()=>{xe(),Te&&Te()})};ge?ge(J,xe,Ve):Ve()}else o(J,x,R)},G=(T,x,R,q=!1,j=!1)=>{const{type:J,props:se,ref:Q,children:$,dynamicChildren:F,shapeFlag:ae,patchFlag:fe,dirs:ge}=T;if(Q!=null&&nu(Q,null,R,T,!0),ae&256){x.ctx.deactivate(T);return}const Te=ae&1&&ge,xe=!Dr(T);let Ve;if(xe&&(Ve=se&&se.onVnodeBeforeUnmount)&&cn(Ve,x,T),ae&6)je(T.component,R,q);else{if(ae&128){T.suspense.unmount(R,q);return}Te&&Xo(T,null,x,"beforeUnmount"),ae&64?T.type.remove(T,x,R,j,A,q):F&&(J!==ot||fe>0&&fe&64)?W(F,x,R,!1,!0):(J===ot&&fe&384||!j&&ae&16)&&W($,x,R),q&&V(T)}(xe&&(Ve=se&&se.onVnodeUnmounted)||Te)&&Ct(()=>{Ve&&cn(Ve,x,T),Te&&Xo(T,null,x,"unmounted")},R)},V=T=>{const{type:x,el:R,anchor:q,transition:j}=T;if(x===ot){Ze(R,q);return}if(x===Jl){b(T);return}const J=()=>{r(R),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(T.shapeFlag&1&&j&&!j.persisted){const{leave:se,delayLeave:Q}=j,$=()=>se(R,J);Q?Q(T.el,J,$):$()}else J()},Ze=(T,x)=>{let R;for(;T!==x;)R=h(T),r(T),T=R;r(x)},je=(T,x,R)=>{const{bum:q,scope:j,update:J,subTree:se,um:Q}=T;q&&en(q),j.stop(),J&&(J.active=!1,G(se,T,x,R)),Q&&Ct(Q,x),Ct(()=>{T.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},W=(T,x,R,q=!1,j=!1,J=0)=>{for(let se=J;se<T.length;se++)G(T[se],x,R,q,j)},oe=T=>T.shapeFlag&6?oe(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el);let ne=!1;const ue=(T,x,R)=>{T==null?x._vnode&&G(x._vnode,null,null,!0):m(x._vnode||null,T,x,null,null,null,R),ne||(ne=!0,Nf(),Ny(),ne=!1),x._vnode=T},A={p:m,um:G,m:K,r:V,mt:M,mc:E,pc:D,pbc:O,n:oe,o:e};return{render:ue,hydrate:void 0,createApp:GT(ue)}}function Xl({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 Jo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function t1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rv(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]=_o(r[s]),a.el=i.el),n||rv(i,a)),a.type===jr&&(a.el=i.el)}}function n1(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 sv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sv(t)}const o1=e=>e.__isTeleport,ot=Symbol.for("v-fgt"),jr=Symbol.for("v-txt"),zt=Symbol.for("v-cmt"),Jl=Symbol.for("v-stc"),Ls=[];let Cn=null;function me(e=!1){Ls.push(Cn=e?null:[])}function r1(){Ls.pop(),Cn=Ls[Ls.length-1]||null}let Qs=1;function Xf(e){Qs+=e}function iv(e){return e.dynamicChildren=Qs>0?Cn||Rr:null,r1(),Qs>0&&Cn&&Cn.push(e),e}function pl(e,t,n,o,r,s){return iv(lv(e,t,n,o,r,s,!0))}function _e(e,t,n,o,r){return iv(L(e,t,n,o,r,!0))}function pr(e){return e?e.__v_isVNode===!0:!1}function So(e,t){return e.type===t.type&&e.key===t.key}const gl="__vInternal",av=({key:e})=>e!=null?e:null,fa=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||ft(e)||le(e)?{i:gt,r:e,k:t,f:!!n}:e:null);function lv(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&&av(t),ref:t&&fa(t),scopeId:By,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:gt};return a?(bd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Se(n)?8:16),Qs>0&&!i&&Cn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Cn.push(l),l}const L=s1;function s1(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===qy)&&(e=zt),pr(e)){const a=Zn(e,t,!0);return n&&bd(a,n),Qs>0&&!s&&Cn&&(a.shapeFlag&6?Cn[Cn.indexOf(e)]=a:Cn.push(a)),a.patchFlag|=-2,a}if(f1(e)&&(e=e.__vccOpts),t){t=cv(t);let{class:a,style:l}=t;a&&!Se(a)&&(t.class=et(a)),Je(l)&&(Ey(l)&&!ce(l)&&(l=pe({},l)),t.style=dt(l))}const i=Se(e)?1:Is(e)?128:o1(e)?64:Je(e)?4:le(e)?2:0;return lv(e,t,n,o,r,i,s,!0)}function cv(e){return e?Ey(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?Ot(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&av(a),ref:t&&t.ref?n&&r?ce(r)?r.concat(fa(t)):[r,fa(t)]:fa(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 qt(e=" ",t=0){return L(jr,null,e,t)}function Ye(e="",t=!1){return t?(me(),_e(zt,null,e)):L(zt,null,e)}function Dn(e){return e==null||typeof e=="boolean"?L(zt):ce(e)?L(ot,null,e.slice()):typeof e=="object"?_o(e):L(jr,null,String(e))}function _o(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zn(e)}function bd(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),bd(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(gl in t)?t._ctx=gt:r===3&>&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:gt},n=32):(t=String(t),o&64?(n=16,t=[qt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ot(...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=et([t.class,o.class]));else if(r==="style")t.style=dt([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 cn(e,t,n,o=null){jt(e,t,7,[n,o])}const i1=Qy();let a1=0;function l1(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||i1,s={uid:a1++,vnode:e,type:o,parent:t,appContext:r,get renderer(){return o.mpType==="app"?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new fy(!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:ev(o,r),emitsOptions:$y(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=fT.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s),s}let at=null;const ht=()=>at||gt;let Na,ou;{const e=Mm(),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)}};Na=t("__VUE_INSTANCE_SETTERS__",n=>at=n),ou=t("__VUE_SSR_SETTERS__",n=>ss=n)}const _i=e=>{const t=at;return Na(e),e.scope.on(),()=>{e.scope.off(),Na(t)}},Jf=()=>{at&&at.scope.off(),Na(null)};function uv(e){return e.vnode.shapeFlag&4}let ss=!1;function c1(e,t=!1){t&&ou(t);const{props:n,children:o}=e.vnode,r=uv(e);KT(e,n,r,t),JT(e,o);const s=r?u1(e,t):void 0;return t&&ou(!1),s}function u1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=No(new Proxy(e.ctx,BT));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?fv(e):null,s=_i(e);mr();const i=Eo(o,e,0,[e.props,r]);if(yr(),s(),od(i)){if(i.then(Jf,Jf),t)return i.then(a=>{Qf(e,a)}).catch(a=>{mi(a,e,0)});e.asyncDep=i}else Qf(e,i)}else dv(e)}function Qf(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Ly(t)),dv(e)}function dv(e,t,n){const o=e.type;e.render||(e.render=o.render||pn);{const r=_i(e);mr();try{qT(e)}finally{yr(),r()}}}function d1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Gt(e,"get","$attrs"),t[n]}}))}function fv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return d1(e)},slots:e.slots,emit:e.emit,expose:t}}function ml(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ly(No(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Os)return Os[n](e)},has(t,n){return n in t||n in Os}}))}function hv(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function f1(e){return le(e)&&"__vccOpts"in e}const Y=(e,t)=>nT(e,t,ss);function Jn(e,t,n){const o=arguments.length;return o===2?Je(t)&&!ce(t)?pr(t)?L(e,null,[t]):L(e,t):L(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&pr(n)&&(n=[n]),L(e,t,n))}const h1="3.4.21",p1="http://www.w3.org/2000/svg",g1="http://www.w3.org/1998/Math/MathML",zn=typeof document!="undefined"?document:null,Zf=zn&&zn.createElement("template"),m1={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(p1,e):t==="mathml"?zn.createElementNS(g1,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{Zf.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const a=Zf.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",us="animation",Zs=Symbol("_vtc"),yl=(e,{slots:t})=>Jn(TT,y1(e),t);yl.displayName="Transition";const pv={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({},Wy,pv);const Qo=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},eh=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function y1(e){const t={};for(const P in e)P in pv||(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,_=v1(r),v=_&&_[0],m=_&&_[1],{onBeforeEnter:y,onEnter:w,onEnterCancelled:p,onLeave:g,onLeaveCancelled:b,onBeforeAppear:S=y,onAppear:k=w,onAppearCancelled:C=p}=t,E=(P,B,Z)=>{Zo(P,B?u:a),Zo(P,B?c:i),Z&&Z()},I=(P,B)=>{P._isLeaving=!1,Zo(P,d),Zo(P,h),Zo(P,f),B&&B()},O=P=>(B,Z)=>{const M=P?k:w,z=()=>E(B,P,Z);Qo(M,[B,z]),th(()=>{Zo(B,P?l:s),ao(B,P?u:a),eh(M)||nh(B,o,v,z)})};return pe(t,{onBeforeEnter(P){Qo(y,[P]),ao(P,s),ao(P,i)},onBeforeAppear(P){Qo(S,[P]),ao(P,l),ao(P,c)},onEnter:O(!1),onAppear:O(!0),onLeave(P,B){P._isLeaving=!0;const Z=()=>I(P,B);ao(P,d),b1(),ao(P,f),th(()=>{P._isLeaving&&(Zo(P,d),ao(P,h),eh(g)||nh(P,o,m,Z))}),Qo(g,[P,Z])},onEnterCancelled(P){E(P,!1),Qo(p,[P])},onAppearCancelled(P){E(P,!0),Qo(C,[P])},onLeaveCancelled(P){I(P),Qo(b,[P])}})}function v1(e){if(e==null)return null;if(Je(e))return[Ql(e.enter),Ql(e.leave)];{const t=Ql(e);return[t,t]}}function Ql(e){return Ub(e)}function ao(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function Zo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function th(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _1=0;function nh(e,t,n,o){const r=e._endId=++_1,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=w1(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 w1(e,t){const n=window.getComputedStyle(e),o=_=>(n[_]||"").split(", "),r=o(`${io}Delay`),s=o(`${io}Duration`),i=oh(r,s),a=o(`${us}Delay`),l=o(`${us}Duration`),c=oh(a,l);let u=null,d=0,f=0;t===io?i>0&&(u=io,d=i,f=s.length):t===us?c>0&&(u=us,d=c,f=l.length):(d=Math.max(i,c),u=d>0?i>c?io:us: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 oh(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>rh(n)+rh(e[o])))}function rh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function b1(){return document.body.offsetHeight}function S1(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[Zs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Da=Symbol("_vod"),gv=Symbol("_vsh"),Jt={beforeMount(e,{value:t},{transition:n}){e[Da]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ds(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),ds(e,!0),o.enter(e)):o.leave(e,()=>{ds(e,!1)}):ds(e,t))},beforeUnmount(e,{value:t}){ds(e,t)}};function ds(e,t){e.style.display=t?e[Da]:"none",e[gv]=!t}const T1=Symbol(""),C1=/(^|;)\s*display\s*:/;function k1(e,t,n){const o=e.style,r=Se(n);let s=!1;if(n&&!r){if(t)if(Se(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Cs(o,l,"")}else for(const a in t)n[a]==null&&Cs(o,a,"");for(const a in n)a==="display"&&(s=!0),Cs(o,a,n[a])}else if(r){if(t!==n){const a=o[T1];a&&(n+=";"+a),o.cssText=n,s=C1.test(n)}}else t&&e.removeAttribute("style");Da in e&&(e[Da]=s?o.display:"",e[gv]&&(o.display="none"));const{__wxsStyle:i}=e;if(i)for(const a in i)Cs(o,a,i[a])}const sh=/\s*!important$/;function Cs(e,t,n){if(ce(n))n.forEach(o=>Cs(e,t,o));else if(n==null&&(n=""),n=A1(n),t.startsWith("--"))e.setProperty(t,n);else{const o=x1(e,t);sh.test(n)?e.setProperty(no(o),n.replace(sh,""),"important"):e[o]=n}}const ih=["Webkit","Moz","ms"],Zl={};function x1(e,t){const n=Zl[t];if(n)return n;let o=In(t);if(o!=="filter"&&o in e)return Zl[t]=o;o=rl(o);for(let r=0;r<ih.length;r++){const s=ih[r]+o;if(s in e)return Zl[t]=s}return t}const{unit:P1,unitRatio:E1,unitPrecision:I1}=vS,O1=_S(P1,E1,I1),A1=e=>Se(e)?O1(e):e,ah="http://www.w3.org/1999/xlink";function L1(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ah,t.slice(6,t.length)):e.setAttributeNS(ah,t,n);else{const s=zb(t);n==null||s&&!Dm(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function R1(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=Dm(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 M1(e,t,n,o){e.addEventListener(t,n,o)}function N1(e,t,n,o){e.removeEventListener(t,n,o)}const lh=Symbol("_vei");function D1(e,t,n,o,r=null){const s=e[lh]||(e[lh]={}),i=s[t];if(o&&i)i.value=o;else{const[a,l]=$1(t);if(o){const c=s[t]=U1(o,r);M1(e,a,c,l)}else i&&(N1(e,a,i,l),s[t]=void 0)}}const ch=/(?:Once|Passive|Capture)$/;function $1(e){let t;if(ch.test(e)){t={};let o;for(;o=e.match(ch);)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 ec=0;const B1=Promise.resolve(),F1=()=>ec||(B1.then(()=>ec=0),ec=Date.now());function U1(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=uh(o,i);for(let l=0;l<a.length;l++){const c=a[l];jt(c,t,5,c.__wwe?[o]:s(o))}return}jt(uh(o,n.value),t,5,s&&!i.__wwe?s(o,i,t):[o])};return n.value=e,n.attached=F1(),n}function uh(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 q1(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 dh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,V1=(e,t)=>t.indexOf("change:")===0?!0:t==="class"&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):t==="style"&&e.__wxsStyleChanged?(e.__wxsStyleChanged=!1,!0):!1,H1=(e,t,n,o,r,s,i,a,l)=>{if(t.indexOf("change:")===0)return q1(e,t,o,i);const c=r==="svg";t==="class"?S1(e,o,c):t==="style"?k1(e,n,o):nl(t)?td(t)||D1(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):W1(e,t,o,c))?R1(e,t,o,s,i,a,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),L1(e,t,o,c))};function W1(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&dh(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 dh(t)&&Se(n)?!1:t in e}const j1=["ctrl","shift","alt","meta"],z1={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)=>j1.some(n=>e[`${n}Key`]&&!t.includes(n))},un=(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=z1[t[i]];if(a&&a(r,t))return}return e(r,...s)})},G1=pe({patchProp:H1,forcePatchProp:V1},m1);let fh;function K1(){return fh||(fh=ZT(G1))}const mv=(...e)=>{const t=K1().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=X1(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,Y1(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Y1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function X1(e){return Se(e)?document.querySelector(e):e}/*!
- * vue-router v4.4.4
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const kr=typeof document!="undefined";function yv(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&&yv(e.default)}const He=Object.assign;function tc(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 Rs=()=>{},An=Array.isArray,vv=/#/g,Q1=/&/g,Z1=/\//g,eC=/=/g,tC=/\?/g,_v=/\+/g,nC=/%5B/g,oC=/%5D/g,wv=/%5E/g,rC=/%60/g,bv=/%7B/g,sC=/%7C/g,Sv=/%7D/g,iC=/%20/g;function Sd(e){return encodeURI(""+e).replace(sC,"|").replace(nC,"[").replace(oC,"]")}function aC(e){return Sd(e).replace(bv,"{").replace(Sv,"}").replace(wv,"^")}function ru(e){return Sd(e).replace(_v,"%2B").replace(iC,"+").replace(vv,"%23").replace(Q1,"%26").replace(rC,"`").replace(bv,"{").replace(Sv,"}").replace(wv,"^")}function lC(e){return ru(e).replace(eC,"%3D")}function cC(e){return Sd(e).replace(vv,"%23").replace(tC,"%3F")}function uC(e){return e==null?"":cC(e).replace(Z1,"%2F")}function ei(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const dC=/\/$/,fC=e=>e.replace(dC,"");function nc(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=mC(o!=null?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:ei(i)}}function hC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pC(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&zr(t.matched[o],n.matched[r])&&Tv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Tv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gC(e[n],t[n]))return!1;return!0}function gC(e,t){return An(e)?ph(e,t):An(t)?ph(t,e):e===t}function ph(e,t){return An(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function mC(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 ti;(function(e){e.pop="pop",e.push="push"})(ti||(ti={}));var Ms;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ms||(Ms={}));function yC(e){if(!e)if(kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fC(e)}const vC=/^[^#]+#/;function _C(e,t){return e.replace(vC,"#")+t}function wC(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 bC(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=wC(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 gh(e,t){return(history.state?history.state.position-t:-1)+e}const su=new Map;function SC(e,t){su.set(e,t)}function TC(e){const t=su.get(e);return su.delete(e),t}let CC=()=>location.protocol+"//"+location.host;function Cv(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),hh(l,"")}return hh(n,e)+o+r}function kC(e,t,n,o){let r=[],s=[],i=null;const a=({state:f})=>{const h=Cv(e,location),_=n.value,v=t.value;let m=0;if(f){if(n.value=h,t.value=f,i&&i===_){i=null;return}m=v?f.position-v.position:0}else o(h);r.forEach(y=>{y(n.value,_,{delta:m,type:ti.pop,direction:m?m>0?Ms.forward:Ms.back:Ms.unknown})})};function l(){i=n.value}function c(f){r.push(f);const h=()=>{const _=r.indexOf(f);_>-1&&r.splice(_,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 mh(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 xC(e){const{history:t,location:n}=window,o={value:Cv(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:CC()+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,mh(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({},mh(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 PC(e){e=yC(e);const t=xC(e),n=kC(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:_C.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 EC(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),PC(e)}function IC(e){return typeof e=="string"||e&&typeof e=="object"}function kv(e){return typeof e=="string"||typeof e=="symbol"}const xv=Symbol("");var yh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yh||(yh={}));function Gr(e,t){return He(new Error,{type:e,[xv]:!0},t)}function Nn(e,t){return e instanceof Error&&xv in e&&(t==null||!!(e.type&t))}const vh="[^/]+?",OC={sensitive:!1,strict:!1,start:!0,end:!0},AC=/[.+*?^${}()[\]/\\]/g;function LC(e,t){const n=He({},OC,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(AC,"\\$&"),h+=40;else if(f.type===1){const{value:_,repeatable:v,optional:m,regexp:y}=f;s.push({name:_,repeatable:v,optional:m});const w=y||vh;if(w!==vh){h+=10;try{new RegExp(`(${w})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${_}" (${w}): `+g.message)}}let p=v?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(p=m&&c.length<2?`(?:/${p})`:"/"+p),m&&(p+="?"),r+=p,h+=20,m&&(h+=-8),v&&(h+=-20),w===".*"&&(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+="(?:/|$)");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]||"",_=s[f-1];d[_.name]=h&&_.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:_,repeatable:v,optional:m}=h,y=_ in c?c[_]:"";if(An(y)&&!v)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const w=An(y)?y.join("/"):y;if(!w)if(m)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${_}"`);u+=w}}return u||"/"}return{re:i,score:o,keys:s,parse:a,stringify:l}}function RC(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 Pv(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const s=RC(o[n],r[n]);if(s)return s;n++}if(Math.abs(r.length-o.length)===1){if(_h(o))return 1;if(_h(r))return-1}return r.length-o.length}function _h(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const MC={type:0,value:""},NC=/[a-zA-Z0-9_]/;function DC(e){if(!e)return[[]];if(e==="/")return[[MC]];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:NC.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 $C(e,t,n){const o=LC(DC(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 BC(e,t){const n=[],o=new Map;t=Sh({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function s(d,f,h){const _=!h,v=FC(d);v.aliasOf=h&&h.record;const m=Sh(t,d),y=[v];if("alias"in d){const g=typeof d.alias=="string"?[d.alias]:d.alias;for(const b of g)y.push(He({},v,{components:h?h.record.components:v.components,path:b,aliasOf:h?h.record:v}))}let w,p;for(const g of y){const{path:b}=g;if(f&&b[0]!=="/"){const S=f.record.path,k=S[S.length-1]==="/"?"":"/";g.path=f.record.path+(b&&k+b)}if(w=$C(g,f,m),h?h.alias.push(w):(p=p||w,p!==w&&p.alias.push(w),_&&d.name&&!bh(w)&&i(d.name)),Ev(w)&&l(w),v.children){const S=v.children;for(let k=0;k<S.length;k++)s(S[k],w,h&&h.children[k])}h=h||w}return p?()=>{i(p)}:Rs}function i(d){if(kv(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=VC(d,n);n.splice(f,0,d),d.record.name&&!bh(d)&&o.set(d.record.name,d)}function c(d,f){let h,_={},v,m;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw Gr(1,{location:d});m=h.record.name,_=He(wh(f.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),d.params&&wh(d.params,h.keys.map(p=>p.name))),v=h.stringify(_)}else if(d.path!=null)v=d.path,h=n.find(p=>p.re.test(v)),h&&(_=h.parse(v),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(p=>p.re.test(f.path)),!h)throw Gr(1,{location:d,currentLocation:f});m=h.record.name,_=He({},f.params,d.params),v=h.stringify(_)}const y=[];let w=h;for(;w;)y.unshift(w.record),w=w.parent;return{name:m,path:v,params:_,matched:y,meta:qC(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 wh(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function FC(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:UC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function UC(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 bh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qC(e){return e.reduce((t,n)=>He(t,n.meta),{})}function Sh(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function VC(e,t){let n=0,o=t.length;for(;n!==o;){const s=n+o>>1;Pv(e,t[s])<0?o=s:n=s+1}const r=HC(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function HC(e){let t=e;for(;t=t.parent;)if(Ev(t)&&Pv(e,t)===0)return t}function Ev({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function WC(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(_v," "),i=s.indexOf("="),a=ei(i<0?s:s.slice(0,i)),l=i<0?null:ei(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 Th(e){let t="";for(let n in e){const o=e[n];if(n=lC(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(An(o)?o.map(s=>s&&ru(s)):[o&&ru(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function jC(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 zC=Symbol(""),Ch=Symbol(""),_l=Symbol(""),Td=Symbol(""),iu=Symbol("");function fs(){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 wo(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(Gr(4,{from:n,to:t})):f instanceof Error?l(f):IC(f)?l(Gr(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 oc(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(yv(l)){const u=(l.__vccOpts||l)[t];u&&s.push(wo(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&&wo(h,n,o,i,a,r)()}))}}return s}function kh(e){const t=De(_l),n=De(Td),o=Y(()=>{const l=kt(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(zr.bind(null,u));if(f>-1)return f;const h=xh(l[c-2]);return c>1&&xh(u)===h&&d[d.length-1].path!==h?d.findIndex(zr.bind(null,l[c-2])):f}),s=Y(()=>r.value>-1&&XC(n.params,o.value.params)),i=Y(()=>r.value>-1&&r.value===n.matched.length-1&&Tv(n.params,o.value.params));function a(l={}){return YC(l)?t[kt(e.replace)?"replace":"push"](kt(e.to)).catch(Rs):Promise.resolve()}return{route:o,href:Y(()=>o.value.href),isActive:s,isExactActive:i,navigate:a}}const GC=tt({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:kh,setup(e,{slots:t}){const n=Ie(kh(e)),{options:o}=De(_l),r=Y(()=>({[Ph(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ph(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&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)}}}),KC=GC;function YC(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 XC(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 xh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ph=(e,t,n)=>e!=null?e:t!=null?t:n,JC=tt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=De(iu),r=Y(()=>e.route||o.value),s=De(Ch,0),i=Y(()=>{let c=kt(s);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=Y(()=>r.value.matched[i.value]);wt(Ch,Y(()=>i.value+1)),wt(zC,a),wt(iu,r);const l=H();return re(()=>[l.value,a.value,e.name],([c,u,d],[f,h,_])=>{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||!zr(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 Eh(n.default,{Component:f,route:c});const h=d.props[u],_=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=Jn(f,He({},_,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Eh(n.default,{Component:m,route:c})||m}}});function Eh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Iv=JC;function QC(e){const t=BC(e.routes,e),n=e.parseQuery||WC,o=e.stringifyQuery||Th,r=e.history,s=fs(),i=fs(),a=fs(),l=da(lo);let c=lo;kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=tc.bind(null,W=>""+W),d=tc.bind(null,uC),f=tc.bind(null,ei);function h(W,oe){let ne,ue;return kv(W)?(ne=t.getRecordMatcher(W),ue=oe):ue=W,t.addRoute(ue,ne)}function _(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=nc(n,W,oe.path),R=t.resolve({path:x.path},oe),q=r.createHref(x.fullPath);return He(x,R,{params:f(R.params),hash:ei(x.hash),redirectedFrom:void 0,href:q})}let ne;if(W.path!=null)ne=He({},W,{path:nc(n,W.path,oe.path).path});else{const x=He({},W.params);for(const R in x)x[R]==null&&delete x[R];ne=He({},W,{params:d(x)}),oe.params=d(oe.params)}const ue=t.resolve(ne,oe),A=W.hash||"";ue.params=u(f(ue.params));const N=hC(o,He({},W,{hash:aC(A),path:ue.path})),T=r.createHref(N);return He({fullPath:N,hash:A,query:o===Th?jC(W.query):W.query||{}},ue,{redirectedFrom:void 0,href:T})}function w(W){return typeof W=="string"?nc(n,W,l.value.path):He({},W)}function p(W,oe){if(c!==W)return Gr(8,{from:oe,to:W})}function g(W){return k(W)}function b(W){return g(He(w(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=w(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,A=W.state,N=W.force,T=W.replace===!0,x=S(ne);if(x)return k(He(w(x),{state:typeof x=="object"?He({},A,x.state):A,force:N,replace:T}),oe||ne);const R=ne;R.redirectedFrom=oe;let q;return!N&&pC(o,ue,ne)&&(q=Gr(16,{to:R,from:ue}),U(ue,ue,!0,!1)),(q?Promise.resolve(q):I(R,ue)).catch(j=>Nn(j)?Nn(j,2)?j:ee(j):X(j,R,ue)).then(j=>{if(j){if(Nn(j,2))return k(He({replace:T},w(j.to),{state:typeof j.to=="object"?He({},A,j.to.state):A,force:N}),oe||R)}else j=P(R,ue,!0,T,A);return O(R,ue,j),j})}function C(W,oe){const ne=p(W,oe);return ne?Promise.reject(ne):Promise.resolve()}function E(W){const oe=V.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(W):W()}function I(W,oe){let ne;const[ue,A,N]=ZC(W,oe);ne=oc(ue.reverse(),"beforeRouteLeave",W,oe);for(const x of ue)x.leaveGuards.forEach(R=>{ne.push(wo(R,W,oe))});const T=C.bind(null,W,oe);return ne.push(T),je(ne).then(()=>{ne=[];for(const x of s.list())ne.push(wo(x,W,oe));return ne.push(T),je(ne)}).then(()=>{ne=oc(A,"beforeRouteUpdate",W,oe);for(const x of A)x.updateGuards.forEach(R=>{ne.push(wo(R,W,oe))});return ne.push(T),je(ne)}).then(()=>{ne=[];for(const x of N)if(x.beforeEnter)if(An(x.beforeEnter))for(const R of x.beforeEnter)ne.push(wo(R,W,oe));else ne.push(wo(x.beforeEnter,W,oe));return ne.push(T),je(ne)}).then(()=>(W.matched.forEach(x=>x.enterCallbacks={}),ne=oc(N,"beforeRouteEnter",W,oe,E),ne.push(T),je(ne))).then(()=>{ne=[];for(const x of i.list())ne.push(wo(x,W,oe));return ne.push(T),je(ne)}).catch(x=>Nn(x,8)?x:Promise.reject(x))}function O(W,oe,ne){a.list().forEach(ue=>E(()=>ue(W,oe,ne)))}function P(W,oe,ne,ue,A){const N=p(W,oe);if(N)return N;const T=oe===lo,x=kr?history.state:{};ne&&(ue||T?r.replace(W.fullPath,He({scroll:T&&x&&x.scroll},A)):r.push(W.fullPath,A)),l.value=W,U(W,oe,ne,T),ee()}let B;function Z(){B||(B=r.listen((W,oe,ne)=>{if(!Ze.listening)return;const ue=y(W),A=S(ue);if(A){k(He(A,{replace:!0}),ue).catch(Rs);return}c=ue;const N=l.value;kr&&SC(gh(N.fullPath,ne.delta),vl()),I(ue,N).catch(T=>Nn(T,12)?T:Nn(T,2)?(k(T.to,ue).then(x=>{Nn(x,20)&&!ne.delta&&ne.type===ti.pop&&r.go(-1,!1)}).catch(Rs),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),X(T,ue,N))).then(T=>{T=T||P(ue,N,!1),T&&(ne.delta&&!Nn(T,8)?r.go(-ne.delta,!1):ne.type===ti.pop&&Nn(T,20)&&r.go(-1,!1)),O(ue,N,T)}).catch(Rs)}))}let M=fs(),z=fs(),te;function X(W,oe,ne){ee(W);const ue=z.list();return ue.length&&ue.forEach(A=>A(W,oe,ne)),Promise.reject(W)}function D(){return te&&l.value!==lo?Promise.resolve():new Promise((W,oe)=>{M.add([W,oe])})}function ee(W){return te||(te=!W,Z(),M.list().forEach(([oe,ne])=>W?ne(W):oe()),M.reset()),W}function U(W,oe,ne,ue){const{scrollBehavior:A}=e;if(!kr||!A)return Promise.resolve();const N=!ne&&TC(gh(W.fullPath,0))||(ue||!ne)&&history.state&&history.state.scroll||null;return rt().then(()=>A(W,oe,N)).then(T=>T&&bC(T)).catch(T=>X(T,W,oe))}const K=W=>r.go(W);let G;const V=new Set,Ze={currentRoute:l,listening:!0,addRoute:h,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:v,resolve:y,options:e,push:g,replace:b,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:z.add,isReady:D,install(W){const oe=this;W.component("RouterLink",KC),W.component("RouterView",Iv),W.config.globalProperties.$router=oe,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>kt(l)}),kr&&!G&&l.value===lo&&(G=!0,g(r.location).catch(A=>{}));const ne={};for(const A in lo)Object.defineProperty(ne,A,{get:()=>l.value[A],enumerable:!0});W.provide(_l,oe),W.provide(Td,xy(ne)),W.provide(iu,l);const ue=W.unmount;V.add(W),W.unmount=function(){V.delete(W),V.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 Ze}function ZC(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=>zr(c,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>zr(c,l))||r.push(l))}return[n,o,r]}function ek(){return De(_l)}function wl(e){return De(Td)}const tk=e=>e!==null&&typeof e=="object",nk=["{","}"];class ok{constructor(){this._caches=Object.create(null)}interpolate(t,n,o=nk){if(!n)return[t];let r=this._caches[t];return r||(r=ik(t,o),this._caches[t]=r),ak(r,n)}}const rk=/^(?:\d)+/,sk=/^(?:\w)+/;function ik(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=rk.test(a)?"list":l&&sk.test(a)?"named":"unknown";o.push({value:a,type:c})}else s+=i}return s&&o.push({type:"text",value:s}),o}function ak(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":tk(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",tn="en",Vo="fr",Ho="es",lk=Object.prototype.hasOwnProperty,Ih=(e,t)=>lk.call(e,t),ck=new ok;function uk(e,t){return!!t.find(n=>e.indexOf(n)!==-1)}function dk(e,t){return t.find(n=>e.indexOf(n)===0)}function Oh(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||uk(e,["-tw","-hk","-mo","-cht"])?eo:Fn;let n=[tn,Vo,Ho];t&&Object.keys(t).length>0&&(n=Object.keys(t));const o=dk(e,n);if(o)return o}class fk{constructor({locale:t,fallbackLocale:n,messages:o,watcher:r,formater:s}){this.locale=tn,this.fallbackLocale=tn,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||ck,this.messages=o||{},this.setLocale(t||tn),r&&this.watchLocale(r)}setLocale(t){const n=this.locale;this.locale=Oh(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=>{Ih(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=Oh(n,this.messages),n&&(r=this.messages[n])):o=n,Ih(r,t)?this.formater.interpolate(r[t],o).join(""):t}}function hk(e,t){e.$watchLocale?e.$watchLocale(n=>{t.setLocale(n)}):e.$watch(()=>e.$locale,n=>{t.setLocale(n)})}function pk(){return typeof uni!="undefined"&&to?to():typeof global!="undefined"&&global.getLocale?global.getLocale():tn}function gk(e,t={},n,o){if(typeof e!="string"){const i=[t,e];e=i[0],t=i[1]}typeof e!="string"&&(e=pk()),typeof n!="string"&&(n=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||tn);const r=new fk({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,hk(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 Ov(e,t){return e.indexOf(t[0])>-1}const Cd=Ft(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let hs;function mk(){const e=to(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function yk(e){return Ov(e,Vc)?Ce().f(e,mk(),Vc):e}function Av(e,t){if(t.length===1){if(e){const o=a=>Se(a)&&Ov(a,Vc),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 Av(e&&e[n],t)}function vk(e,t){return t.map(n=>kd(e,n))}function kd(e,t){const n=Av(e,t);if(!n)return!1;const o=t[t.length-1];if(ce(n))n.forEach(r=>kd(r,[o]));else{let r=n[o];Object.defineProperty(n,o,{get(){return yk(r)},set(s){r=s}})}return!0}function Ce(){if(!hs){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[Bm]||__uniConfig.locale||navigator.language,hs=gk(e),Cd()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(n=>hs.add(n,__uniConfig.locales[n])),hs.setLocale(e)}}return hs}function Ae(e,t,n){return t.reduce((o,r,s)=>(o[e+r]=n[s],o),{})}const _k=Ft(()=>{const e="uni.async.",t=["error"];Ce().add(tn,Ae(e,t,["The connection timed out, click the screen to try again."]),!1),Ce().add(Ho,Ae(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ce().add(Vo,Ae(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ce().add(Fn,Ae(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ce().add(eo,Ae(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),wk=Ft(()=>{const e="uni.showToast.",t=["unpaired"];Ce().add(tn,Ae(e,t,["Please note showToast must be paired with hideToast"]),!1),Ce().add(Ho,Ae(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ce().add(Vo,Ae(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ce().add(Fn,Ae(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ce().add(eo,Ae(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),bk=Ft(()=>{const e="uni.showLoading.",t=["unpaired"];Ce().add(tn,Ae(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ce().add(Ho,Ae(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ce().add(Vo,Ae(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ce().add(Fn,Ae(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ce().add(eo,Ae(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),Sk=Ft(()=>{const e="uni.showModal.",t=["cancel","confirm"];Ce().add(tn,Ae(e,t,["Cancel","OK"]),!1),Ce().add(Ho,Ae(e,t,["Cancelar","OK"]),!1),Ce().add(Vo,Ae(e,t,["Annuler","OK"]),!1),Ce().add(Fn,Ae(e,t,["取消","确定"]),!1),Ce().add(eo,Ae(e,t,["取消","確定"]),!1)}),xd=Ft(()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ce().add(tn,Ae(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ce().add(Ho,Ae(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ce().add(Vo,Ae(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,Ae(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Ce().add(eo,Ae(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),Tk=Ft(()=>{const e="uni.setClipboardData.",t=["success","fail"];Ce().add(tn,Ae(e,t,["Content copied","Copy failed, please copy manually"]),!1),Ce().add(Ho,Ae(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Ce().add(Vo,Ae(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Ce().add(Fn,Ae(e,t,["内容已复制","复制失败,请手动复制"]),!1),Ce().add(eo,Ae(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),Ck=Ft(()=>{const e="uni.video.",t=["danmu","volume"];Ce().add(tn,Ae(e,t,["Danmu","Volume"]),!1),Ce().add(Ho,Ae(e,t,["Danmu","Volumen"]),!1),Ce().add(Vo,Ae(e,t,["Danmu","Le Volume"]),!1),Ce().add(Fn,Ae(e,t,["弹幕","音量"]),!1),Ce().add(eo,Ae(e,t,["彈幕","音量"]),!1)});function kk(e){if(Cd())return vk(e,[["titleText"],["searchInput","placeholder"],["buttons","text"]])}function xk(e){return Cd()&&e.list&&e.list.forEach(t=>{kd(t,["text"])}),e}function Lv(e){const t=new ld;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",Ah="invokeServiceApi";let Pk=1;const Ek=(e,t,n)=>{const{subscribe:o,publishHandler:r}=Dt,s=n?Pk++:0;n&&o(Ah+"."+s,n,!0),r(Ah,{id:s,name:e,args:t})},Kr=Object.create(null);function wi(e,t){return e+"."+t}function Ik(e,t){Dt.subscribe(wi(e,is),Lk)}function Ok(e){Dt.unsubscribe(wi(e,is)),Object.keys(Kr).forEach(t=>{t.indexOf(e+".")===0&&delete Kr[t]})}function Rv(e,t,n){t=wi(e,t),Kr[t]||(Kr[t]=n)}function Ak(e,t){t=wi(e,t),delete Kr[t]}function Lk({id:e,name:t,args:n},o){t=wi(o,t);const r=i=>{e&&Dt.publishHandler(is+"."+e,i)},s=Kr[t];s?s(n,r):r({})}const Rk=pe(Lv("service"),{invokeServiceMethod:Ek}),Mk=350,Lh=10,Hi=Hr(!0);let Ns;function ni(){Ns&&(clearTimeout(Ns),Ns=null)}let Mv=0,Nv=0;function Nk(e){if(ni(),e.touches.length!==1)return;const{pageX:t,pageY:n}=e.touches[0];Mv=t,Nv=n,Ns=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)},Mk)}function Dk(e){if(!Ns)return;if(e.touches.length!==1)return ni();const{pageX:t,pageY:n}=e.touches[0];if(Math.abs(t-Mv)>Lh||Math.abs(n-Nv)>Lh)return ni()}function $k(){window.addEventListener("touchstart",Nk,Hi),window.addEventListener("touchmove",Dk,Hi),window.addEventListener("touchend",ni,Hi),window.addEventListener("touchcancel",ni,Hi)}function Rh(e,t){const n=Number(e);return isNaN(n)?t:n}function Bk(){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 Fk(){const e=__uniConfig.globalStyle||{},t=Rh(e.rpxCalcMaxDeviceWidth,960),n=Rh(e.rpxCalcBaseDeviceWidth,375);function o(){let r=Bk();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 Uk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mh=["top","left","right","bottom"],Pd,$a={},fn;function Ed(){return!("CSS"in window)||typeof CSS.supports!="function"?fn="":CSS.supports("top: env(safe-area-inset-top)")?fn="env":CSS.supports("top: constant(safe-area-inset-top)")?fn="constant":fn="",fn}function Dv(){if(fn=typeof fn=="string"?fn:Ed(),!fn){Mh.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,_=1e4,v={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:fn+"(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=_;var y=c.scrollTop,w=u.scrollTop;function p(){this.scrollTop!==(this===c?y:w)&&(c.scrollTop=u.scrollTop=_,y=c.scrollTop,w=u.scrollTop,qk(l))}c.addEventListener("scroll",p,o),u.addEventListener("scroll",p,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"}),Mh.forEach(function(a){s(i,a)}),document.body.appendChild(i),n(),Pd=!0}function Wi(e){return Pd||Dv(),$a[e]}var ji=[];function qk(e){ji.length||setTimeout(function(){var t={};ji.forEach(function(n){t[n]=$a[n]}),ji.length=0,Ba.forEach(function(n){n(t)})},0),ji.push(e)}var Ba=[];function Vk(e){Ed()&&(Pd||Dv(),typeof e=="function"&&Ba.push(e))}function Hk(e){var t=Ba.indexOf(e);t>=0&&Ba.splice(t,1)}var Wk={get support(){return(typeof fn=="string"?fn:Ed()).length!=0},get top(){return Wi("top")},get left(){return Wi("left")},get right(){return Wi("right")},get bottom(){return Wi("bottom")},onChange:Vk,offChange:Hk},jk=Wk;const Tt=Uk(jk),Id=un(()=>{},["prevent"]),zk=un(e=>{},["stop"]);function ks(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function bl(){const e=document.documentElement.style,t=ks(e,"--window-top");return t?t+Tt.top:0}function $v(){const e=document.documentElement.style,t=bl(),n=ks(e,"--window-bottom"),o=ks(e,"--window-left"),r=ks(e,"--window-right"),s=ks(e,"--top-window-height");return{top:t,bottom:n?n+Tt.bottom:0,left:o?o+Tt.left:0,right:r?r+Tt.right:0,topWindowHeight:s||0}}function $r(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Bv(e){return $r(e)}const Fa=new Map;function Gk(e,t){let n=Fa.get(e);n&&!(n instanceof HTMLStyleElement)&&(Kk(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 Kk(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 Od(e){return Symbol(e)}function Fv(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function xs(e,t=!1){if(t)return Yk(e);if(Se(e)){const n=parseInt(e)||0;return Fv(e)?Ti(n):n}return e}function Yk(e){return Fv(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,n)=>Ti(parseFloat(n))+"px"):e}function Uv(e){return e.$page}function Ad(e){return e.tagName.indexOf("UNI-")===0}const Xk="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",qv="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 gr(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 Sl(){{const{$pageInstance:e}=ht();return e&&Ds(e.proxy)}}function Do(e){const t=cl(e);if(t.$page)return Ds(t);if(!t.$)return;{const{$pageInstance:o}=t.$;if(o)return Ds(o.proxy)}const n=t.$.root.proxy;if(n&&n.$page)return Ds(n)}function vr(){const e=rn(),t=e.length;if(t)return e[t-1]}function Ld(){var e;const t=(e=vr())==null?void 0:e.$page;if(t)return t.meta}function bi(){const e=Ld();return e?e.id:-1}function $o(){const e=vr();if(e)return e.$vm}const Qk=["navigationBar","pullToRefresh"];function Zk(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function ex(e,t){const n=Zk(),o=pe({id:t},n,e);Qk.forEach(s=>{o[s]=pe({},n[s],e[s])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function tx(e,t,n,o,r,s){const{id:i,route:a}=o,l=Ia(o.navigationBar,__uniConfig.themeConfig,s).titleColor;return{id:i,path:Ks(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:l==="#ffffff"?"light":"dark"}}function Ds(e){var t,n;return((t=e.$page)==null?void 0:t.id)||((n=e.$basePage)==null?void 0:n.id)}function Bt(e,t,n){if(Se(e))n=t,t=e,e=$o();else if(typeof e=="number"){const r=rn().find(s=>Uv(s).id===e);r?e=r.$vm:e=$o()}if(!e)return;const o=e.$[t];return o&&cS(o,n)}function Nh(e){e.preventDefault()}let Dh,$h=0;function nx({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-$h)>n;return d&&(!r||f)?($h=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()||(Dh=setTimeout(l,300))),o=!1};return function(){clearTimeout(Dh),o||requestAnimationFrame(a),o=!0}}function ox(e){if(e.indexOf("/")===0||e.indexOf("uni:")===0)return e;let t="";const n=rn();return n.length&&(t=Uv(n[n.length-1]).route),Rd(t,e)}function Rd(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Rd(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),Ks(s.concat(n).join("/"))}function Vv(e,t=!1){return t?__uniRoutes.find(n=>n.path===e||n.alias===e):__uniRoutes.find(n=>n.path===e)}function rx(){Fk(),gS(Ad),$k()}class sx{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=hS(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=Fh(this.$el.querySelector(t));if(n)return au(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=Fh(o[r]);s&&n.push(au(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",Wb(t))}setStyle(t){return!this.$el||!t?this:(Se(t)&&(t=Pa(t)),St(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(iS,{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 au(e,t=!0){if(t&&e&&(e=sy(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new sx(e)),e.$el.__wxsComponentDescriptor}function lu(e,t){return au(e,t)}function ix(e,t,n=!0){if(!t||n&&e.length<2)return!1;const o=sy(t);if(!o)return!1;const r=o.$.type;return!r.$wxs&&!r.$renderjs?!1:o}function Bh(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get(){return lu(n.proxy,!1)}}));const r=ix(t,n,o);if(r)return[e,lu(r,!1)]}}function Fh(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const ax=e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent,lx=e=>e.type==="click",cx=e=>e.type.indexOf("mouse")===0||["contextmenu"].includes(e.type),ux=e=>typeof TouchEvent!="undefined"&&e instanceof TouchEvent||e.type.indexOf("touch")===0||["longpress"].indexOf(e.type)>=0;function dx(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event)||!(o instanceof HTMLElement))return[e];const r=!Ad(o);if(r)return Bh(e,t,n,!1)||[e];const s=Md(e,r);if(lx(e))px(s,e);else if(cx(e))gx(s,e);else if(ux(e)){const i=bl();s.touches=Uh(e.touches,i),s.changedTouches=Uh(e.changedTouches,i)}else ax(e)&&["key","code"].forEach(a=>{Object.defineProperty(s,a,{get(){return e[a]}})});return Bh(s,t,n)||[s]}function fx(e){for(;!Ad(e);)e=e.parentElement;return e}function Md(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:s}=e;let i,a;i=Wc(t?r:fx(r)),a=Wc(s);const l={type:n,timeStamp:o,target:i,detail:{},currentTarget:a};return e instanceof CustomEvent&&St(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),hx(l,e),l}function hx(e,t){pe(e,{preventDefault(){return t.preventDefault()},stopPropagation(){return t.stopPropagation()}})}function px(e,t){const{x:n,y:o}=t,r=bl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Hv(t,r)]}function gx(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=[Hv(t,n)]}function Hv(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Uh(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 mx=Object.defineProperty({__proto__:null,$nne:dx,createNativeEvent:Md},Symbol.toStringTag,{value:"Module"});function yx(e){const t=e.globalProperties;pe(t,mx),t.$gcd=lu}function vx(e){yx(e._context.config)}const _x=(e,t)=>Qe.emit("api."+e,t);let Wv=1;function jv(e){return(e||bi())+"."+is}const bx=(e,t,n,o)=>{const{subscribe:r,publishHandler:s}=Qe,i=o?Wv++:0;o&&r(is+"."+i,o,!0),s(jv(n),{id:i,name:e,args:t},n)},Sx=(e,t,n,o)=>{const{subscribe:r,unsubscribe:s,publishHandler:i}=Qe,a=Wv++,l=is+"."+a;return r(l,n),i(jv(o),{id:a,name:e,args:t},o),()=>{s(l)}},Tx=pe(Lv("view"),{invokeOnCallback:_x,invokeViewMethod:bx,invokeViewMethodKeepAlive:Sx});function Cx(){const{on:e}=Qe;e(al,kx),e(ey,xx),e(ty,Px)}function kx(e){const t=vr();Bt(t,al,e),Qe.invokeOnCallback("onWindowResize",e)}function xx(e){const t=vr();Bt(Pe(),Qn,e),Bt(t,Qn)}function Px(){Bt(Pe(),Mo),Bt(vr(),Mo)}const Ex=[Vr,gi];function Ix(){Ex.forEach(e=>Qe.subscribe(e,Ox(e)))}function Ox(e){return(t,n)=>{Bt(parseInt(n),e,t)}}function Ax(){Cx(),Ix()}function Lx(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 Rx(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 Mx(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ly(this.$page.id)),e.eventChannel}}function Nx(e){const t=e.globalProperties;t.getOpenerEventChannel=Mx}function Dx(e){Nx(e._context.config)}function zv(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function $x(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 qh(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,n)=>`${Ti(parseFloat(n))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Bx(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`).replace("webkit","-webkit")}function Fx(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(qh)),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)?qh(h):h}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(u=>`${Bx(u)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=i.transformOrigin,l}function Vh(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=Fx(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 Ux={props:["animation"],watch:{animation:{deep:!0,handler(){Vh(this)}}},mounted(){Vh(this)}},vt=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return(!t||!t.animation)&&(n||(e.mixins=[])).push(Ux),Hn(e)},Hn=e=>(e.__reserved=!0,e.compatConfig={MODE:3},tt(e));function Zt(e){return e.__wwe=!0,e}function Wo(e,t){return(n,o,r)=>{e.value&&t(n,Vx(n,o,e.value,r||{}))}}function qx(e){return(t,n)=>{e(t,Md(n))}}function Vx(e,t,n,o){let r;return r=Wc(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const Hx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Gv(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(_){_.touches.length>1||l(_)}function a(_){n||(l(_),window.addEventListener("mouseup",f))}function l(_){_._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||(e.hoverStopPropagation&&(_._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:Zt(i),onMousedown:Zt(a),onTouchend:Zt(c),onMouseup:Zt(u),onTouchcancel:Zt(h)}}}function rc(e,t){return Se(t)&&(t=[t]),t.reduce((n,o)=>(e[o]&&(n[o]=!0),n),Object.create(null))}const Kv=Od("uf"),Wx=Od("ul");function jx(e,t){Hh(e.id,t),re(()=>e.id,(n,o)=>{Wh(o,t,!0),Hh(n,t,!0)}),qn(()=>{Wh(e.id,t)})}function Hh(e,t,n){const o=Sl();n&&!e||St(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 Wh(e,t,n){const o=Sl();n&&!e||St(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 zx={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}},Gx=vt({name:"Button",props:zx,setup(e,{slots:t}){const n=H(null),o=De(Kv,!1),{hovering:r,binding:s}=Gv(e),i=Zt((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=De(Wx,!1);return a&&(a.addHandler(i),At(()=>{a.removeHandler(i)})),jx(e,{"label-click":i}),()=>{const l=e.hoverClass,c=rc(e,"disabled"),u=rc(e,"loading"),d=rc(e,"plain"),f=l&&l!=="none";return L("uni-button",Ot({ref:n,onClick:i,id:e.id,class:f&&r.value?l:""},f&&s,c,u,d),[t.default&&t.default()],16,["onClick","id"])}}}),Kx="",Yv=Od("upm");function Nd(){return De(Yv)}function Yx(e){const t=Xx(e);return wt(Yv,t),t}function Si(){return wl()}function Xx(e){return Ie(Jx(JSON.parse(JSON.stringify(ex(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",kk(t)}if(history.state){const t=history.state.__type__;(t==="redirectTo"||t==="reLaunch")&&rn().length===0&&(e.isEntry=!0,e.isQuit=!0)}return e}function Dd(){return history.state&&history.state.__id__||1}const Qx=["original","compressed"],$d=["album","camera"],ha=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Tl(e,t){return!e||t.indexOf(e)===-1?t[0]:e}function qa(e,t){return!ce(e)||e.length===0||e.find(n=>t.indexOf(n)===-1)?t:e}function Zx(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}let eP=1;const cu={};function tP(e,t,n,o=!1){return cu[e]={name:t,keepAlive:o,callback:n},e}function Xv(e,t,n){if(typeof e=="number"){const o=cu[e];if(o)return o.keepAlive||delete cu[e],o.callback(t,n)}return t}const nP="success",oP="fail",rP="complete";function sP(e){const t={};for(const n in e){const o=e[n];le(o)&&(t[n]=Zx(o),delete e[n])}return t}function iP(e,t){return!e||e.indexOf(":fail")===-1?t+":ok":t+e.substring(e.indexOf(":fail"))}function aP(e,t={},{beforeAll:n,beforeSuccess:o}={}){St(t)||(t={});const{success:r,fail:s,complete:i}=sP(t),a=le(r),l=le(s),c=le(i),u=eP++;return tP(u,e,d=>{d=d||{},d.errMsg=iP(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 lP="success",cP="fail",uP="complete",oi={},Va={};function dP(e,t){return function(n){return e(n,t)||n}}function Jv(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const s=e[r];if(o)o=Promise.resolve(dP(s,n));else{const i=s(t,n);if(od(i)&&(o=Promise.resolve(i)),i===!1)return{then(){},catch(){}}}}return o||{then(r){return r(t)},catch(){}}}function jh(e,t={}){return[lP,cP,uP].forEach(n=>{const o=e[n];if(!ce(o))return;const r=t[n];t[n]=function(i){Jv(o,i,t).then(a=>le(r)&&r(a)||a)}}),t}function zh(e,t){const n=[];ce(oi.returnValue)&&n.push(...oi.returnValue);const o=Va[e];return o&&ce(o.returnValue)&&n.push(...o.returnValue),n.forEach(r=>{t=r(t)||t}),t}function Gh(e){const t=Object.create(null);Object.keys(oi).forEach(o=>{o!=="returnValue"&&(t[o]=oi[o].slice())});const n=Va[e];return n&&Object.keys(n).forEach(o=>{o!=="returnValue"&&(t[o]=(t[o]||[]).concat(n[o]))}),t}function Kh(e,t,n,o){const r=Gh(e);return r&&Object.keys(r).length?ce(r.invoke)?Jv(r.invoke,n).then(i=>t(jh(Gh(e),i),...o)):t(jh(r,n),...o):t(n,...o)}function fP(e){return!!(St(e)&&[nP,oP,rP].find(t=>le(e[t])))}function Qv(e,t){return(n={},...o)=>fP(n)?zh(e,Kh(e,t,pe({},n),o)):zh(e,new Promise((r,s)=>{Kh(e,t,pe({},n,{success:r,fail:s}),o)}))}function hP(e,t){const n=e[0];if(!t||!t.formatArgs||!St(t.formatArgs)&&St(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(Se(l))return l}else be(n,i)||(n[i]=a)}}function pP(e,t,n){const o={errMsg:t+":ok"};return Xv(e,pe(n||{},o))}function Yh(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 Xv(e,i)}function Zv(e,t,n,o){if(o&&o.beforeInvoke){const s=o.beforeInvoke(t);if(Se(s))return s}const r=hP(t,o);if(r)return r}function gP(e){return!e||Se(e)?e:e.stack?(typeof globalThis=="undefined"||globalThis.harmonyChannel,e.message):e}function e_(e,t,n,o){return r=>{const s=aP(e,r,o),i=Zv(e,[r],n,o);return i?Yh(s,e,i):t(r,{resolve:a=>pP(s,e,a),reject:(a,l)=>Yh(s,e,gP(a),l)})}}function mP(e,t,n,o){return(...r)=>{const s=Zv(e,r,n,o);if(s)throw new Error(s);return t.apply(null,r)}}function yP(e,t,n,o){return e_(e,t,n,o)}function Cl(e,t,n,o){return Qv(e,e_(e,t,void 0,o))}function it(e,t,n,o){return mP(e,t,void 0,o)}function Ge(e,t,n,o){return Qv(e,yP(e,t,void 0,o))}function vP(e){return`method 'uni.${e}' not supported`}function Bd(e){return(t,{reject:n})=>n(vP(e))}const _P="upx2px",wP=1e-4,bP=750;let t_=!1,uu=0,n_=0,o_=960,r_=375,s_=750;function SP(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:s}=aO();e=o,t=r,n=s}uu=e,n_=t,t_=n==="ios"}function sc(e,t){const n=Number(e);return isNaN(n)?t:n}function TP(){const e=__uniConfig.globalStyle||{};o_=sc(e.rpxCalcMaxDeviceWidth,960),r_=sc(e.rpxCalcBaseDeviceWidth,375),s_=sc(e.rpxCalcBaseDeviceWidth,750)}const Ti=it(_P,(e,t)=>{if(uu===0&&(SP(),TP()),e=Number(e),e===0)return 0;let n=t||uu;n=e===s_||n<=o_?n:r_;let o=e/bP*n;return o<0&&(o=-o),o=Math.floor(o+wP),o===0&&(n_===1||!t_?o=1:o=.5),e<0?-o:o}),CP="addInterceptor";function Xh(e,t){Object.keys(t).forEach(n=>{le(t[n])&&(e[n]=kP(e[n],t[n]))})}function kP(e,t){const n=t?e?e.concat(t):ce(t)?t:[t]:e;return n&&xP(n)}function xP(e){const t=[];for(let n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}const hn=it(CP,(e,t)=>{Se(e)&&St(t)?Xh(Va[e]||(Va[e]={}),t):St(e)&&Xh(oi,e)}),PP="$on",EP="$off",IP="$emit";class OP{constructor(){this.$emitter=new ld}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 OP,h8=it(PP,(e,t)=>(Ha.on(e,t),()=>Ha.off(e,t))),p8=it(EP,(e,t)=>{ce(e)||(e=e?[e]:[]),e.forEach(n=>{Ha.off(n,t)})}),AP=it(IP,(e,...t)=>{Ha.emit(e,...t)}),LP="createVideoContext",RP="createCanvasContext",MP=[.5,.8,1,1.25,1.5,2];class du{constructor(t,n){this.id=t,this.pageId=n}play(){Rn(this.id,this.pageId,"play")}pause(){Rn(this.id,this.pageId,"pause")}stop(){Rn(this.id,this.pageId,"stop")}seek(t){Rn(this.id,this.pageId,"seek",{position:t})}sendDanmu(t){Rn(this.id,this.pageId,"sendDanmu",t)}playbackRate(t){~MP.indexOf(t)||(t=1),Rn(this.id,this.pageId,"playbackRate",{rate:t})}requestFullScreen(t={}){Rn(this.id,this.pageId,"requestFullScreen",t)}exitFullScreen(){Rn(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Rn(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Rn(this.id,this.pageId,"hideStatusBar")}}const g8=it(LP,(e,t)=>t?new du(e,Do(t)):new du(e,Do($o()))),NP=(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)},_t=(e,t,n,o)=>{lO(e,t,n,o,r=>{o&&NP(o,r)})};class DP{constructor(t,n){this.id=t,this.pageId=n}getCenterLocation(t){_t(this.id,this.pageId,"getCenterLocation",t)}moveToLocation(t){_t(this.id,this.pageId,"moveToLocation",t)}getScale(t){_t(this.id,this.pageId,"getScale",t)}getRegion(t){_t(this.id,this.pageId,"getRegion",t)}includePoints(t){_t(this.id,this.pageId,"includePoints",t)}translateMarker(t){_t(this.id,this.pageId,"translateMarker",t)}$getAppMap(){}addCustomLayer(t){_t(this.id,this.pageId,"addCustomLayer",t)}removeCustomLayer(t){_t(this.id,this.pageId,"removeCustomLayer",t)}addGroundOverlay(t){_t(this.id,this.pageId,"addGroundOverlay",t)}removeGroundOverlay(t){_t(this.id,this.pageId,"removeGroundOverlay",t)}updateGroundOverlay(t){_t(this.id,this.pageId,"updateGroundOverlay",t)}initMarkerCluster(t){_t(this.id,this.pageId,"initMarkerCluster",t)}addMarkers(t){_t(this.id,this.pageId,"addMarkers",t)}removeMarkers(t){_t(this.id,this.pageId,"removeMarkers",t)}moveAlong(t){_t(this.id,this.pageId,"moveAlong",t)}setLocMarkerIcon(t){_t(this.id,this.pageId,"setLocMarkerIcon",t)}openMapApp(t){_t(this.id,this.pageId,"openMapApp",t)}on(t,n){_t(this.id,this.pageId,"on",{name:t,callback:n})}}function Er(e,t){return function(n,o){n?o[e]=Math.round(n):typeof t!="undefined"&&(o[e]=t)}}const $P=Er("width"),BP=Er("height"),Jh={PNG:"png",JPG:"jpg",JPEG:"jpg"},FP="canvasToTempFilePath",UP={formatArgs:{x:Er("x",0),y:Er("y",0),width:$P,height:BP,destWidth:Er("destWidth"),destHeight:Er("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Jh[e];n||(n=Jh.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}},qP={};function i_(e,t,n,o,r){Qe.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,s=>{r&&r(s)})}var VP=["scale","rotate","translate","setTransform","transform"],HP=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],WP=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function jP(e,t){const o=document.createElement("canvas").getContext("2d");return o.font=t,o.measureText(e).width||0}const Qh={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 fu(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(be(Qh,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Qh[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 Zh{constructor(t,n){this.type=t,this.data=n,this.colorStop=[]}addColorStop(t,n){this.colorStop.push([t,fu(n)])}}class zP{constructor(t,n){this.type="pattern",this.data=t,this.colorStop=n}}class GP{constructor(t){this.width=t}}const KP=()=>Kx;class ri{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=[],i_(this.id,this.pageId,"actionsChanged",{actions:o,reserve:t},n)}createLinearGradient(t,n,o,r){return new Zh("linear",[t,n,o,r])}createCircularGradient(t,n,o){return new Zh("radial",[t,n,o])}createPattern(t,n){if(n!==void 0){if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(n)<0))return new zP(t,n)}}measureText(t,n){const o=this.state.font;let r=0;return r=jP(t,o),new GP(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 YP=Ft(()=>{[...VP,...HP].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(_){return typeof _=="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})}}}ri.prototype[e]=t(e)}),WP.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",fu(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=fu(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})}}}ri.prototype[e]=t(e)})}),m8=it(RP,(e,t)=>{if(YP(),t)return new ri(e,Do(t));const n=Do($o());if(n)return new ri(e,n);Qe.emit(Gs,"createCanvasContext:fail")}),y8=Ge(FP,({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=Do($o());if(!d){u();return}let f=`${KP()}/canvas`;i_(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)})},qP,UP),XP={thresholds:[0],initialRatio:0,observeAll:!1},JP=["top","right","bottom","left"];let QP=1;function ep(e={}){return JP.map(t=>`${Number(e[t])||0}px`).join(" ")}class tp{constructor(t,n){this._pageId=Do(t),this._component=t,this._options=pe({},XP,n)}relativeTo(t,n){return this._options.relativeToSelector=t,this._options.rootMargin=ep(n),this}relativeToViewport(t){return this._options.relativeToSelector=void 0,this._options.rootMargin=ep(t),this}observe(t,n){le(n)&&(this._options.selector=t,this._reqId=QP++,hO({reqId:this._reqId,component:this._component,options:this._options,callback:n},this._pageId))}disconnect(){this._reqId&&pO({reqId:this._reqId,component:this._component},this._pageId)}}const v8=it("createIntersectionObserver",(e,t)=>(e=cl(e),e&&!Do(e)&&(t=e,e=null),e?new tp(e,t):new tp($o(),t)));let ZP=0,ic={};function eE(e,t,n,o){const r={options:o},s=o&&("success"in o||"fail"in o||"complete"in o);if(s){const i=String(ZP++);r.callbackId=i,ic[i]=o}Qe.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:i,data:a})=>{s&&(Cr(ic[i],a),delete ic[i])})}class tE{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){eE(this.id,this.pageId,t,n)}}const nE={canvas:ri,map:DP,video:du,editor:tE};function np(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=nE[n];e.context=new r(t,o),delete e.contextInfo}}class ac{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 oE{constructor(t){this._component=void 0,this._page=t,this._queue=[],this._queueCb=[]}exec(t){return fO(this._page,this._queue,n=>{const o=this._queueCb;n.forEach((r,s)=>{ce(r)?r.forEach(np):np(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 ac(this,this._component,t,!0)}selectAll(t){return this._nodesRef=new ac(this,this._component,t,!1)}selectViewport(){return this._nodesRef=new ac(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 op=it("createSelectorQuery",e=>(e=cl(e),e&&!Do(e)&&(e=null),new oE(e||$o()))),rE="setLocale",sE="getLocale",iE="onLocaleChange",to=it(sE,()=>{const e=Pe();return e&&e.$vm?e.$vm.$locale:Ce().getLocale()}),_8=it(rE,e=>{const t=Pe();return t&&t.$vm.$locale!==e?(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage[Bm]=e),Qe.invokeOnCallback(iE,{locale:e}),!0):!1}),hu={[Vm]:[],[qm]:[],[Gs]:[],[Qn]:[],[Mo]:[]};function a_(e,t){const n=Pe();if(n&&n.$vm)return Uo(e,t,n.$vm.$);hu[e].push(t)}function aE(e){Object.keys(hu).forEach(t=>{hu[t].forEach(n=>{Uo(t,n,e)})})}function lE(e){a_(Qn,e)}function cE(e){a_(Mo,e)}const uE="getLaunchOptionsSync",pa=it(uE,()=>bO());let lc,rp,sp;const pu=[];function dE(e,t){pu.forEach(n=>{n(e,t)}),pu.length=0}const fE="getPushClientId",gu=Ge(fE,(e,{resolve:t,reject:n})=>{Promise.resolve().then(()=>{typeof sp=="undefined"&&(sp=!1,lc="",rp="uniPush is not enabled"),pu.push((o,r)=>{o?t({cid:o}):n(r)}),typeof lc!="undefined"&&dE(lc,rp)})}),hE=e=>{},pE=e=>{},gE="canIUse",mE="setClipboardData",yE={formatArgs:{showToast:!0},beforeInvoke(){Tk()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Ce(),o=n("uni.setClipboardData.success");o&&Dl({title:o,icon:"success",mask:!1})}},vE={},_E="getStorageSync",wE="setStorageSync",bE="removeStorage",SE="hideKeyboard",TE="getLocation",ip=["wgs84","gcj02"],CE={formatArgs:{type(e,t){e=(e||"").toLowerCase(),ip.indexOf(e)===-1?t.type=ip[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},kE={},xE="chooseImage",PE={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=qa(e,Qx)},sourceType(e,t){t.sourceType=qa(e,$d)},extension(e,t){if(e instanceof Array&&e.length===0)return"param extension should not be empty.";e||(t.extension=["*"])}}},EE={},IE="chooseVideo",OE={formatArgs:{sourceType(e,t){t.sourceType=qa(e,$d)},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=["*"])}}},AE={},LE="chooseFile",RE=["all","image","video"],ME={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=qa(e,$d)},type(e,t){t.type=Tl(e,RE)},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=["*"])}}},NE={},DE="previewImage",$E={formatArgs:{urls(e,t){t.urls=e.map(n=>Se(n)&&n?nn(n):"")},current(e,t){typeof e=="number"?t.current=e>0&&e<t.urls.length?e:0:Se(e)&&e&&(t.current=nn(e))}}},BE={},ap="saveImageToPhotosAlbum",FE="request",UE={JSON:"json"},qE=["text","arraybuffer"],VE="text",lp=encodeURIComponent;function HE(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(be(t,a)){let l=t[a];typeof l=="undefined"||l===null?l="":St(l)&&(l=JSON.stringify(l)),i[lp(a)]=lp(l)}return r=Object.keys(i).map(a=>`${a}=${i[a]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const WE={},jE={formatArgs:{method(e,t){t.method=Tl((e||"").toUpperCase(),ha)},data(e,t){t.data=e||""},url(e,t){t.method===ha[0]&&St(t.data)&&Object.keys(t.data).length&&(t.url=HE(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||UE.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),qE.indexOf(t.responseType)===-1&&(t.responseType=VE)}}},zE="downloadFile",GE={formatArgs:{header(e,t){t.header=e||{}}}},KE={},YE="uploadFile",XE={formatArgs:{filePath(e,t){e&&(t.filePath=nn(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},JE={},QE="connectSocket",ZE={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Tl((e||"").toUpperCase(),ha)},protocols(e,t){Se(e)&&(t.protocols=[e])}}},eI={};function tI(e){if(!Se(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 nI=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],oI=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],kl={url:{type:String,required:!0}},$s="navigateTo",Bs="redirectTo",ga="reLaunch",Br="switchTab",rI="navigateBack",cp="preloadPage",sI="unPreloadPage",iI=pe({},kl,l_(nI)),aI=pe({delta:{type:Number}},l_(oI)),lI=kl,cI=kl,uI=kl,dI=xl($s),fI=xl(Bs),hI=xl(ga),pI=xl(Br),gI={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(rn().length-1,e)}}};function l_(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 mI(){ma=""}function xl(e){return{formatArgs:{url:yI(e)},beforeAll:mI}}function yI(e){return function(n,o){if(!n)return'Missing required args: "url"';n=ox(n);const r=n.split("?")[0],s=Vv(r,!0);if(!s)return"page `"+n+"` is not found";if(e===$s||e===Bs){if(s.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Br&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if((e===Br||e===cp)&&s.meta.isTabBar&&o.openType!=="appLaunch"&&(n=r),s.meta.isEntry&&(n=n.replace(s.alias,"/")),o.url=tI(n),e!==sI){if(e===cp){if(s.meta.isTabBar){const i=rn(),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 vI="hideLoading",_I="loadFontFace",wI="setNavigationBarColor",mu="setNavigationBarTitle",bI="showNavigationBarLoading",SI="hideNavigationBarLoading",TI="pageScrollTo",CI={},kI={formatArgs:{duration:300}},xI="showLoading",PI={},EI={formatArgs:{title:"",mask:!1}},II="showModal",OI={},AI={beforeInvoke(){Sk()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!be(t,"cancelText")){const{t:n}=Ce();t.cancelText=n("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!be(t,"confirmText")){const{t:n}=Ce();t.confirmText=n("uni.showModal.confirm")}},confirmColor:Fm}},LI="showToast",c_=["success","loading","none","error"],RI={},MI={formatArgs:{title:"",icon(e,t){t.icon=Tl(e,c_)},image(e,t){e?t.image=nn(e):t.image=""},duration:1500,mask:!1}},up="stopPullDownRefresh",si={beforeInvoke(){const e=Ld();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}};si.beforeInvoke,si.formatArgs;si.beforeInvoke;si.beforeInvoke,si.formatArgs;const NI=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(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch(g){return null}}var t=function(p){for(var g=p,b=e(g);b;)g=b.ownerDocument,b=e(g);return g}(window.document),n=[],o=null,r=null;function s(p){this.time=p.time,this.target=p.target,this.rootBounds=_(p.rootBounds),this.boundingClientRect=_(p.boundingClientRect),this.intersectionRect=_(p.intersectionRect||h()),this.isIntersecting=!!p.intersectionRect;var g=this.boundingClientRect,b=g.width*g.height,S=this.intersectionRect,k=S.width*S.height;b?this.intersectionRatio=Number((k/b).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(p,g){var b=g||{};if(typeof p!="function")throw new Error("callback must be a function");if(b.root&&b.root.nodeType!=1&&b.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=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(b.rootMargin),this.thresholds=this._initThresholds(b.threshold),this.root=b.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(p,g){!p||!g?r=h():r=v(p,g),n.forEach(function(b){b._checkForIntersections()})}),o},i._resetCrossOriginUpdater=function(){o=null,r=null},i.prototype.observe=function(p){var g=this._observationTargets.some(function(b){return b.element==p});if(!g){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(g){return g.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},i.prototype._initThresholds=function(p){var g=p||[0];return Array.isArray(g)||(g=[g]),g.sort().filter(function(b,S,k){if(typeof b!="number"||isNaN(b)||b<0||b>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return b!==k[S-1]})},i.prototype._parseRootMargin=function(p){var g=p||"0px",b=g.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 b[1]=b[1]||b[0],b[2]=b[2]||b[0],b[3]=b[3]||b[1],b},i.prototype._monitorIntersections=function(p){var g=p.defaultView;if(g&&this._monitoringDocuments.indexOf(p)==-1){var b=this._checkForIntersections,S=null,k=null;this.POLL_INTERVAL?S=g.setInterval(b,this.POLL_INTERVAL):(c(g,"resize",b,!0),c(p,"scroll",b,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in g&&(k=new g.MutationObserver(b),k.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var I=p.defaultView;I&&(S&&I.clearInterval(S),u(I,"resize",b,!0)),u(p,"scroll",b,!0),k&&k.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=C){var E=e(p);E&&this._monitorIntersections(E.ownerDocument)}}},i.prototype._unmonitorIntersections=function(p){var g=this._monitoringDocuments.indexOf(p);if(g!=-1){var b=this.root&&(this.root.ownerDocument||this.root)||t,S=this._observationTargets.some(function(E){var I=E.element.ownerDocument;if(I==p)return!0;for(;I&&I!=b;){var O=e(I);if(I=O&&O.ownerDocument,I==p)return!0}return!1});if(!S){var k=this._monitoringUnsubscribes[g];if(this._monitoringDocuments.splice(g,1),this._monitoringUnsubscribes.splice(g,1),k(),p!=b){var C=e(p);C&&this._unmonitorIntersections(C.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var g=0;g<p.length;g++)p[g]()},i.prototype._checkForIntersections=function(){if(!(!this.root&&o&&!r)){var p=this._rootIsInDom(),g=p?this._getRootRect():h();this._observationTargets.forEach(function(b){var S=b.element,k=f(S),C=this._rootContainsTarget(S),E=b.entry,I=p&&C&&this._computeTargetAndRootIntersection(S,k,g),O=null;this._rootContainsTarget(S)?(!o||this.root)&&(O=g):O=h();var P=b.entry=new s({time:a(),target:S,boundingClientRect:k,rootBounds:O,intersectionRect:I});E?p&&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(p,g,b){if(window.getComputedStyle(p).display!="none"){for(var S=g,k=y(p),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=b;else{var O=y(k),P=O&&f(O),B=O&&this._computeTargetAndRootIntersection(O,P,b);P&&B?(k=O,E=v(P,B)):(k=null,S=null)}else{var Z=k.ownerDocument;k!=Z.body&&k!=Z.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 p;if(this.root&&!w(this.root))p=f(this.root);else{var g=w(this.root)?this.root:t,b=g.documentElement,S=g.body;p={top:0,left:0,right:b.clientWidth||S.clientWidth,width:b.clientWidth||S.clientWidth,bottom:b.clientHeight||S.clientHeight,height:b.clientHeight||S.clientHeight}}return this._expandRectByRootMargin(p)},i.prototype._expandRectByRootMargin=function(p){var g=this._rootMarginValues.map(function(S,k){return S.unit=="px"?S.value:S.value*(k%2?p.width:p.height)/100}),b={top:p.top-g[0],right:p.right+g[1],bottom:p.bottom+g[2],left:p.left-g[3]};return b.width=b.right-b.left,b.height=b.bottom-b.top,b},i.prototype._hasCrossedThreshold=function(p,g){var b=p&&p.isIntersecting?p.intersectionRatio||0:-1,S=g.isIntersecting?g.intersectionRatio||0:-1;if(b!==S)for(var k=0;k<this.thresholds.length;k++){var C=this.thresholds[k];if(C==b||C==S||C<b!=C<S)return!0}},i.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},i.prototype._rootContainsTarget=function(p){var g=this.root&&(this.root.ownerDocument||this.root)||t;return m(g,p)&&(!this.root||g==p.ownerDocument)},i.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},i.prototype._unregisterInstance=function(){var p=n.indexOf(this);p!=-1&&n.splice(p,1)};function a(){return window.performance&&performance.now&&performance.now()}function l(p,g){var b=null;return function(){b||(b=setTimeout(function(){p(),b=null},g))}}function c(p,g,b,S){typeof p.addEventListener=="function"?p.addEventListener(g,b,S):typeof p.attachEvent=="function"&&p.attachEvent("on"+g,b)}function u(p,g,b,S){typeof p.removeEventListener=="function"?p.removeEventListener(g,b,S):typeof p.detatchEvent=="function"&&p.detatchEvent("on"+g,b)}function d(p,g){var b=Math.max(p.top,g.top),S=Math.min(p.bottom,g.bottom),k=Math.max(p.left,g.left),C=Math.min(p.right,g.right),E=C-k,I=S-b;return E>=0&&I>=0&&{top:b,bottom:S,left:k,right:C,width:E,height:I}||null}function f(p){var g;try{g=p.getBoundingClientRect()}catch(b){}return g?(g.width&&g.height||(g={top:g.top,right:g.right,bottom:g.bottom,left:g.left,width:g.right-g.left,height:g.bottom-g.top}),g):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function v(p,g){var b=g.top-p.top,S=g.left-p.left;return{top:b,left:S,height:g.height,width:g.width,bottom:b+g.height,right:S+g.width}}function m(p,g){for(var b=g;b;){if(b==p)return!0;b=y(b)}return!1}function y(p){var g=p.parentNode;return p.nodeType==9&&p!=t?e(p):(g&&g.assignedSlot&&(g=g.assignedSlot.parentNode),g&&g.nodeType==11&&g.host?g.host:g)}function w(p){return p&&p.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=s};function cc(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 DI(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 $I(e,t,n){NI();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver(s=>{s.forEach(i=>{n({intersectionRatio:DI(i),intersectionRect:cc(i.intersectionRect),boundingClientRect:cc(i.boundingClientRect),relativeRect:cc(i.rootBounds),time:Date.now(),dataset:ad(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.matches(t.selector)?e:e.querySelector(t.selector);s&&r.observe(s)}return r}function u_(){const e=$o();if(!e)return;const t=Ud(),n=t.keys();for(const o of n){const r=t.get(o);r.$.__isTabBar?r.$.__isActive=!1:Ol(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Bt(e,Mo))}function BI(e,t){return e===t.fullPath||e==="/"&&t.meta.isEntry}function d_(e){const t=Ud().values();for(const n of t){const o=_r(n);if(BI(e,o))return n.$.__isActive=!0,o.id}}const Ci=Ge(Br,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(!Yr.handledBeforeEntryPageRoutes){_u.push({args:{type:Br,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r});return}return u_(),Co({type:Br,url:e,tabBarText:t,isAutomatedTesting:n},d_(e)).then(o).catch(r)},uI,pI);function f_(){const e=vr();if(!e)return;const t=_r(e);Ol(Al(t.path,t.id))}const Pl=Ge(Bs,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Yr.handledBeforeEntryPageRoutes){wu.push({args:{type:Bs,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return f_(),Co({type:Bs,url:e,isAutomatedTesting:t}).then(n).catch(o)},lI,fI);function h_(){const e=Ud().keys();for(const t of e)Ol(t)}const El=Ge(ga,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(!Yr.handledBeforeEntryPageRoutes){bu.push({args:{type:ga,url:e,isAutomatedTesting:t},resolve:n,reject:o});return}return h_(),Co({type:ga,url:e,isAutomatedTesting:t}).then(n).catch(o)},cI,hI);function Co({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},s){const i=Pe().$router,{path:a,query:l}=CS(t);return new Promise((c,u)=>{const d=jI(e,s);i[e==="navigateTo"?"push":"replace"]({path:a,query:l,state:d,force:!0}).then(f=>{if(Nn(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(_=>{h.eventChannel._addListener(_,"on",o[_])}),h.eventChannel._clearCache()):h.eventChannel=new ly(d.__id__,o),c(r?{__id__:d.__id__}:{eventChannel:h.eventChannel})}return r?c({__id__:d.__id__}):c()})})}function p_(){if(Yr.handledBeforeEntryPageRoutes)return;Yr.handledBeforeEntryPageRoutes=!0;const e=[...vu];vu.length=0,e.forEach(({args:r,resolve:s,reject:i})=>Co(r).then(s).catch(i));const t=[..._u];_u.length=0,t.forEach(({args:r,resolve:s,reject:i})=>(u_(),Co(r,d_(r.url)).then(s).catch(i)));const n=[...wu];wu.length=0,n.forEach(({args:r,resolve:s,reject:i})=>(f_(),Co(r).then(s).catch(i)));const o=[...bu];bu.length=0,o.forEach(({args:r,resolve:s,reject:i})=>(h_(),Co(r).then(s).catch(i)))}let uc;function Fd(){return uc||(uc=__uniConfig.tabBar&&Ie(xk(__uniConfig.tabBar))),uc}function Il(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const FI=Il("--a:0"),g_=Il("top:env(a)"),m_=Il("top:constant(a)"),y_=Il("backdrop-filter:blur(10px)"),dp={"css.var":FI,"css.env":g_,"css.constant":m_,"css.backdrop-filter":y_},UI=it(gE,e=>be(dp,e)?dp[e]:!!be(uni,e)),Wa=g_?"env":m_?"constant":"";function v_(e){let t=0,n=0;if(e.navigationBar.style!=="custom"&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=Qb),e.isTabBar){const o=Fd();o.shown&&(n=parseInt(o.height))}Bv({"--window-top":qI(t),"--window-bottom":__(n)})}function qI(e){return Wa?`calc(${e}px + ${Wa}(safe-area-inset-top))`:`${e}px`}function __(e){return Wa?`calc(${e}px + ${Wa}(safe-area-inset-bottom))`:`${e}px`}const yu="$$",Bo=new Map;function _r(e){return e.$page}const Yr={handledBeforeEntryPageRoutes:!1},vu=[],_u=[],wu=[],bu=[];function VI(){Bo.forEach((e,t)=>{e.$.isUnmounted&&Bo.delete(t)})}function Ud(){return Bo}function rn(){return ki()}function ki(){const e=[],t=Bo.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function HI(e){const t=or.get(e);t&&(or.delete(e),Fs.pruneCacheEntry(t))}function Ol(e,t=!0){const n=Bo.get(e);n.$.__isUnload=!0,Bt(n,sd),Bo.delete(e),t&&HI(e)}let WI=Dd();function jI(e,t){return{__id__:t||++WI,__type__:e}}function zI(e){const t=Nd();let n=e.fullPath;return e.meta.isEntry&&n.indexOf(e.meta.route)===-1&&(n="/"+e.meta.route+n.replace("/","")),tx("navigateTo",n,{},t)}function GI(e){const t=e.$route,n=zI(t);Rx(e,n),Bo.set(Al(n.path,n.id),e),Bo.size===1&&setTimeout(()=>{p_()},0)}function Al(e,t){return e+yu+t}function KI(){const e=wl(),t=Y(()=>Al("/"+e.meta.route,Dd())),n=Y(()=>e.meta.isTabBar);return{routeKey:t,isTabBar:n,routeCache:Fs}}const or=new Map,Fs={get(e){return or.get(e)},set(e,t){XI(e),or.set(e,t)},delete(e){or.get(e)&&or.delete(e)},forEach(e){or.forEach(e)}};function YI(e){return e.props.type==="tabBar"}function XI(e){const t=parseInt(e.split(yu)[1]);t&&Fs.forEach((n,o)=>{const r=parseInt(o.split(yu)[1]);if(r&&r>t){if(YI(n))return;Fs.delete(o),Fs.pruneCacheEntry(n),rt(()=>VI())}})}function JI(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 fp(e,t){eO(e),v_(t),JI(t),b_(e,t)}function QI(e){const t=w_(e);t&&ZI(t)}function ZI(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function w_(e){return e.type.__scopeId}let dc;function eO(e){const t=w_(e),{body:n}=document;dc&&n.removeAttribute(dc),t&&n.setAttribute(t,""),dc=t}const tO=(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})(),nO=tO?{passive:!1}:!1;let zi;function b_(e,t){if(document.removeEventListener("touchmove",Nh),zi&&document.removeEventListener("scroll",zi),t.disableScroll)return document.addEventListener("touchmove",Nh,nO);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=_r(e.proxy).id;(n||r)&&(s.onPageScroll=oO(i,n,r)),o!=null&&o.length&&(s.onReachBottomDistance=t.onReachBottomDistance||Zb,s.onReachBottom=()=>Dt.publishHandler(gi,{},i)),zi=nx(s),requestAnimationFrame(()=>document.addEventListener("scroll",zi))}function oO(e,t,n){return o=>{t&&Dt.publishHandler(Vr,{scrollTop:o},e),n&&Dt.emit(e+"."+Vr,{scrollTop:o})}}function S_(e){return e.$el}function hp(e){const{base:t}=__uniConfig.router;return Ks(e).indexOf(t)===0?Ks(e):t+e}function nn(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 hp(e.slice(1));if(eS.test(e)||tS.test(e)||e.indexOf("blob:")===0)return e;const o=ki();return o.length?hp(Rd(_r(o[o.length-1]).route,e).slice(1)):e}const Nt=navigator.userAgent,rO=/android/i.test(Nt),T_=/iphone|ipad|ipod/i.test(Nt),fc=Nt.match(/Windows NT ([\d|\d.\d]*)/i),Su=/Macintosh|Mac/i.test(Nt),pp=/Linux|X11/i.test(Nt),sO=Su&&navigator.maxTouchPoints>0;function C_(){return/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number"}function k_(e){return e&&Math.abs(window.orientation)===90}function x_(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function iO(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function P_(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function aO(){const e=C_(),t=P_(x_(e,k_(e)));return{platform:T_?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function Rn(e,t,n,o){Qe.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function lO(e,t,n,o,r){Qe.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function cO(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 hc(e,t){const n={},{top:o,topWindowHeight:r}=$v();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=ad(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=FA(e)),n}function uO(e,t){return e?e.$el:t.$el}function gp(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 dO(e,t,n,o,r){const s=uO(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):gp(s,n)?s:s.querySelector(n);return c?hc(c,r):null}else{let c=[];const u=(l?i:s).querySelectorAll(n);return u&&u.length&&[].forEach.call(u,d=>{c.push(hc(d,r))}),!l&&gp(s,n)&&c.unshift(hc(s,r)),c}}function fO(e,t,n){const o=[];t.forEach(({component:r,selector:s,single:i,fields:a})=>{r===null?o.push(cO(a)):o.push(dO(e,r,s,i,a))}),n(o)}function hO({reqId:e,component:t,options:n,callback:o},r){const s=S_(t);(s.__io||(s.__io={}))[e]=$I(s,n,o)}function pO({reqId:e,component:t},n){const o=S_(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}function gO(e,t,n){n(null,e)}const Ir={};function E_(e,t){const n=Ir[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(mO(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 mO(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 I_(i,o)}function yO(e){const t=e.split("/")[1];return t?`.${t}`:""}function vO(e){e=e.split("#")[0].split("?")[0];const t=e.split("/");return t[t.length-1]}function I_(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${yO(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 Xr(e){for(const n in Ir)if(be(Ir,n)&&Ir[n]===e)return n;var t=(window.URL||window.webkitURL).createObjectURL(e);return Ir[t]=e,t}function _O(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):E_(e).then(Xr)}function mp(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Ir[e]}const ya=zv(),O_=zv();function wO(){return pe({},O_)}function bO(){return pe({},ya)}function SO({path:e,query:t}){return pe(ya,{path:e,query:t}),pe(O_,ya),pe({},ya)}const jo=vt({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=H(null),o=CO(n),r=TO(n,t,o);return kO(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 TO(e,t,n){const o=Ie({width:-1,height:-1});return re(()=>pe({},o),r=>t("resize",r)),()=>{const r=e.value;r&&(o.width=r.offsetWidth,o.height=r.offsetHeight,n())}}function CO(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function kO(e,t,n,o){vi(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 yp(e,t=!0){const n=t?ze:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let vp=!1;function xO(){if(vp)return;vp=!0;const e=function(o,r){for(const s in o)be(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 PO=Ft(()=>xO());function _p(e){return e&&nn(e)}function Gi(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function wp(e,t){Array.from(t).forEach(n=>{n.x=n.clientX-e.left,n.y=n.clientY-e.top})}let ps;function bp(e=0,t=0){return ps||(ps=document.createElement("canvas")),ps.width=e,ps.height=t,ps}const EO={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},w8=vt({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:EO,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){PO();const o=H(null),r=H(null),s=H(null),i=H(!1),a=qx(t),{$attrs:l,$excludeAttrs:c,$listeners:u}=Ll({excludeListeners:!0}),{_listeners:d}=IO(e,u,a),{_handleSubscribe:f,_resize:h}=OO(e,r,i);return Y_(f,X_(e.canvasId)),$e(()=>{h()}),()=>{const{canvasId:_,disableScroll:v}=e;return L("uni-canvas",Ot({ref:o,"canvas-id":_,"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(jo,{ref:s,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function IO(e,t,n){return{_listeners:Y(()=>{let r=["onTouchstart","onTouchmove","onTouchend"],s=t.value,i=pe({},(()=>{let a={};for(const l in s)if(be(s,l)){const c=s[l];a[l]=c}return a})());return r.forEach(a=>{let l=i[a],c=[];l&&c.push(Zt(u=>{const d=u.currentTarget.getBoundingClientRect();wp(d,u.touches),wp(d,u.changedTouches),n(a.replace("on","").toLocaleLowerCase(),u)})),e.disableScroll&&a==="onTouchmove"&&c.push(Id),i[a]=c}),i})}}function OO(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 w=m.getContext("2d"),p=w.getImageData(0,0,m.width,m.height);yp(m,e.hidpi),w.putImageData(p,0,0)}else yp(m,e.hidpi)}function a({actions:v,reserve:m},y){if(!v)return;if(n.value){o.push([v,m]);return}let w=t.value,p=w.getContext("2d");m||(p.fillStyle="#000000",p.strokeStyle="#000000",p.shadowColor="#000000",p.shadowBlur=0,p.shadowOffsetX=0,p.shadowOffsetY=0,p.setTransform(1,0,0,1,0,0),p.clearRect(0,0,w.width,w.height)),l(v);for(let g=0;g<v.length;g++){const b=v[g];let S=b.method;const k=b.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=Gi(k[1]);else if(C==="linear"){const O=p.createLinearGradient(...k[1]);k[2].forEach(function(P){const B=P[0],Z=Gi(P[1]);O.addColorStop(B,Z)}),I=O}else if(C==="radial"){let O=k[1];const P=O[0],B=O[1],Z=O[2],M=p.createRadialGradient(P,B,0,P,B,Z);k[2].forEach(function(z){const te=z[0],X=Gi(z[1]);M.addColorStop(te,X)}),I=M}else if(C==="pattern"){if(!c(k[1],v.slice(g+1),y,function(P){P&&(p[E]=p.createPattern(P,k[2]))}))break;continue}p[E]=I}else if(E==="globalAlpha")p[E]=Number(C)/255;else if(E==="shadow"){let O=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];k.forEach(function(P,B){p[O[B]]=O[B]==="shadowColor"?Gi(P):P})}else if(E==="fontSize"){const O=p.__font__||p.font;p.__font__=p.font=O.replace(/\d+\.?\d*px/,C+"px")}else E==="lineDash"?(p.setLineDash(C),p.lineDashOffset=k[1]||0):E==="textBaseline"?(C==="normal"&&(k[0]="alphabetic"),p[E]=C):E==="font"?p.__font__=p.font=C:p[E]=C}else if(S==="fillPath"||S==="strokePath")S=S.replace(/Path/,""),p.beginPath(),k.forEach(function(E){p[E.method].apply(p,E.data)}),p[S]();else if(S==="fillText")p.fillText.apply(p,k);else if(S==="drawImage"){if(function(){let I=[...k],O=I[0],P=I.slice(1);if(r=r||{},!c(O,v.slice(g+1),y,function(B){B&&p.drawImage.apply(p,[B].concat([...P.slice(4,8)],[...P.slice(0,4)]))}))return"break"}()==="break")break}else S==="clip"?(k.forEach(function(E){p[E.method].apply(p,E.data)}),p.clip()):p[S].apply(p,k)}n.value||y({errMsg:"drawCanvas:ok"})}function l(v){v.forEach(function(m){let y=m.method,w=m.data,p="";y==="drawImage"?(p=w[0],p=_p(p),w[0]=p):y==="setFillStyle"&&w[0]==="pattern"&&(p=w[1],p=_p(p),w[1]=p),p&&!r[p]&&g();function g(){const b=r[p]=new Image;b.onload=function(){b.ready=!0},_O(p).then(S=>{b.src=S}).catch(()=>{b.src=p})}})}function c(v,m,y,w){let p=r[v];return p.ready?(w(p),!0):(o.unshift([m,!0]),n.value=!0,p.onload=function(){p.ready=!0,w(p),n.value=!1;let g=o.slice(0);o=[];for(let b=g.shift();b;)a({actions:b[0],reserve:b[1]},y),b=g.shift()},!1)}function u({x:v=0,y:m=0,width:y,height:w,destWidth:p,destHeight:g,hidpi:b=!0,dataType:S,quality:k=1,type:C="png"},E){const I=t.value;let O;const P=I.offsetWidth-v;y=y?Math.min(y,P):P;const B=I.offsetHeight-m;w=w?Math.min(w,B):B,b?(p=y,g=w):!p&&!g?(p=Math.round(y*s.value),g=Math.round(w*s.value)):p?g||(g=Math.round(w/y*p)):(g||(g=Math.round(w*s.value)),p=Math.round(y/w*g));const Z=bp(p,g),M=Z.getContext("2d");(C==="jpeg"||C==="jpg")&&(C="jpeg",M.fillStyle="#fff",M.fillRect(0,0,p,g)),M.__hidpi__=!0,M.drawImageByCanvas(I,v,m,y,w,0,0,p,g,!1);let z;try{let te;if(S==="base64")O=Z.toDataURL(`image/${C}`,k);else{const X=M.getImageData(0,0,p,g);O=Array.prototype.slice.call(X.data)}z={data:O,compressed:te,width:p,height:g}}catch(te){z={errMsg:`canvasGetImageData:fail ${te}`}}if(Z.height=Z.width=0,M.__hidpi__=!1,E)E(z);else return z}function d({data:v,x:m,y,width:w,height:p,compressed:g},b){try{p||(p=Math.round(v.length/4/w));const S=bp(w,p);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(v),w,p),0,0),t.value.getContext("2d").drawImage(S,m,y,w,p),S.height=S.width=0}catch(S){b({errMsg:"canvasPutImageData:fail"});return}b({errMsg:"canvasPutImageData:ok"})}function f({x:v=0,y:m=0,width:y,height:w,destWidth:p,destHeight:g,fileType:b,quality:S,dirname:k},C){const E=u({x:v,y:m,width:y,height:w,destWidth:p,destHeight:g,hidpi:!1,dataType:"base64",type:b,quality:S});if(E.errMsg){C({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}gO(E.data,k,(I,O)=>{let P=`toTempFilePath:${I?"fail":"ok"}`;I&&(P+=` ${I.message}`),C({errMsg:P,tempFilePath:O})})}const h={actionsChanged:a,getImageData:u,putImageData:d,toTempFilePath:f};function _(v,m,y){let w=h[v];v.indexOf("_")!==0&&le(w)&&w(m,y)}return pe(h,{_resize:i,_handleSubscribe:_})}let AO;function Sp(){}const LO={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},RO=["keyboardheightchange"];function MO(e,t,n){function o(r){const s=Y(()=>String(navigator.vendor).indexOf("Apple")===0);r.addEventListener("focus",()=>{clearTimeout(AO),document.addEventListener("click",Sp,!1)});const i=()=>{document.removeEventListener("click",Sp,!1),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};r.addEventListener("blur",()=>{s.value&&r.blur(),i()})}re(()=>t.value,r=>r&&o(r))}const NO={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]},DO={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"]},A_=vt({name:"Image",props:NO,setup(e,{emit:t}){const n=H(null),o=$O(n,e),r=Wo(n,t),{fixSize:s}=qO(n,e,o);return BO(o,e,n,s,r),()=>L("uni-image",{ref:n},[L("div",{style:o.modeStyle},null,4),va[e.mode]?L(jo,{onResize:s},null,8,["onResize"]):L("span",null,null)],512)}});function $O(e,t){const n=H(""),o=Y(()=>{let s="auto",i="";const a=DO[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?nn(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 BO(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)};re(()=>e.src,u=>l(u)),re(()=>e.imgSrc,u=>{!u&&i&&(i.remove(),i=null)}),$e(()=>l(e.src)),At(()=>c())}const FO=navigator.vendor==="Google Inc.";function UO(e){return FO&&e>10&&(e=Math.round(e/2)*2),e}function qO(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]]=UO(i[2](d,c))+"px")},r=()=>{const{style:s}=e.value,{origStyle:{width:i,height:a}}=n;s.width=i,s.height=a};return re(()=>t.mode,(s,i)=>{va[i]&&r(),va[s]&&o()}),{fixSize:o,resetSize:r}}function VO(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 HO=Hr(!0),ja=[];let _a=0,Tp=!1;const Cp=e=>ja.forEach(t=>t.userAction=e);function L_(e={userAction:!1}){Tp||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(n=>{document.addEventListener(n,function(){!_a&&Cp(!0),_a++,setTimeout(()=>{!--_a&&Cp(!1)},0)},HO)}),Tp=!0),ja.push(e)}function WO(e){const t=ja.indexOf(e);t>=0&&ja.splice(t,1)}const qd=()=>!!_a;function R_(){const e=Ie({userAction:!1});return $e(()=>{L_(e)}),At(()=>{WO(e)}),{state:e}}function M_(){const e=Ie({attrs:{}});return $e(()=>{let t=ht();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function jO(e,t){const n=De(Kv,!1);if(!n)return;const o=ht(),r={submit(){const s=o.proxy;return[s[e],Se(t)?s[t]:t.value]},reset(){Se(t)?o.proxy[t]="":t.value=""}};n.addField(r),At(()=>{n.removeField(r)})}function zO(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 GO=function(){Rv(bi(),"getSelectedTextRange",zO)};function Tu(e,t,n){return t==="number"&&isNaN(Number(e))&&(e=""),e==null?"":String(e)}const KO=["none","text","decimal","numeric","tel","search","email","url"],N_=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=>!!~KO.indexOf(e)},cursorColor:{type:String,default:""}},LO),D_=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...RO];function YO(e,t,n){const o=H(null),r=Wo(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=Tu(e.modelValue,e.type)||Tu(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 re(()=>u.focus,d=>n("update:focus",d)),re(()=>u.maxlength,d=>u.value=u.value.slice(0,d),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}function XO(e,t,n,o){let r=null;r=ay(a=>{t.value=Tu(a,e.type)},100,{setTimeout,clearTimeout}),re(()=>e.modelValue,r),re(()=>e.value,r);const s=VO((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 qo(()=>{r.cancel(),s.cancel()}),{trigger:o,triggerInput:i}}function JO(e,t){R_();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()}re(()=>e.focus,s=>{s?o():r()}),$e(()=>{n.value&&rt(o)})}function QO(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,_(v)}),u.addEventListener("compositionend",v=>{v.stopPropagation(),t.composing&&(t.composing=!1,f(v)),_(v)}),u.addEventListener("compositionupdate",_);function _(v){n.ignoreCompositionEvent||o(v.type,v,{value:v.data})}}re([()=>t.selectionStart,()=>t.selectionEnd],i),re(()=>t.cursor,a),re(()=>e.value,c)}function $_(e,t,n,o){GO();const{fieldRef:r,state:s,trigger:i}=YO(e,t,n),{triggerInput:a}=XO(e,s,n,i);JO(e,r),MO(e,r);const{state:l}=M_();jO("name",s),QO(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 ZO=pe({},N_,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),eA=Ft(()=>{{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 kp(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"&&eA()&&t.value.slice(-2,-1)===".")return t.value=n.value=o.value=t.value.slice(0,-2),!0}}function xp(e){return e.inputType==="insertFromPaste"}function tA(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 re(()=>e.modelValue,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),re(()=>e.value,r=>{o.value=typeof r!="undefined"&&r!==null?r.toLocaleString():""}),o}else return H("")}const nA=vt({name:"Input",props:ZO,emits:["confirm",...D_],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],s=Y(()=>{let p="";switch(e.type){case"text":p="text",e.confirmType==="search"&&(p="search");break;case"idcard":p="text";break;case"digit":p="number";break;default:p=o.includes(e.type)?e.type:"text";break}return e.password?"password":p}),i=Y(()=>{const p=r.indexOf(e.textContentType),g=r.indexOf(no(e.textContentType));return r[p!==-1?p:g!==-1?g:0]}),a=Y(()=>{if(e.inputmode)return e.inputmode});let l=tA(e,s),c={fn:null};const u=H(null),{fieldRef:d,state:f,scopedAttrsState:h,fixDisabledColor:_,trigger:v}=$_(e,u,t,(p,g)=>{const b=p.target;if(s.value==="number"){if(c.fn&&(b.removeEventListener("blur",c.fn),c.fn=null),b.validity&&!b.validity.valid){if((!l.value||!b.value)&&p.data==="-"||l.value[0]==="-"&&p.inputType==="deleteContentBackward")return l.value="-",g.value="",c.fn=()=>{l.value=b.value=""},b.addEventListener("blur",c.fn),!1;const S=kp(p,l,g,b,c);return typeof S=="boolean"?S:(l.value=g.value=b.value=l.value==="-"?"":l.value,!1)}else{const S=kp(p,l,g,b,c);if(typeof S=="boolean")return S;l.value=b.value}if(g.maxlength>0&&b.value.length>g.maxlength&&!xp(p))return b.value=l.value=g.value,!1}});re(()=>f.value,p=>{e.type==="number"&&!(l.value==="-"&&p==="")&&(l.value=p.toString())}),re(()=>e.maxlength,p=>{p=parseInt(p,10);const g=f.value.slice(0,p);g!==f.value&&(f.value=g)});const m=["number","digit"],y=Y(()=>m.includes(e.type)?e.step:"");function w(p){if(p.key!=="Enter")return;const g=p.target;p.stopPropagation(),v("confirm",p,{value:g.value}),!e.confirmHold&&g.blur()}return n({$triggerInput:p=>{t("update:modelValue",p.value),t("update:value",p.value),f.value=p.value}}),()=>{let p=e.disabled&&_?L("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:s.value,maxlength:f.maxlength,step:y.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:d,value:f.value,onInput:g=>{const b=g.target.value.toString();if(s.value==="number"&&f.maxlength>0&&b.length>f.maxlength){xp(g)&&(f.value=b.slice(0,f.maxlength));return}f.value=b},disabled:!!e.disabled,type:s.value,maxlength:f.maxlength,step:y.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:w,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return L("uni-input",{ref:u},[L("div",{class:"uni-input-wrapper"},[Xt(L("div",Ot(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Jt,!(f.value.length||l.value==="-"||l.value.includes("."))]]),e.confirmType==="search"?L("form",{action:"",onSubmit:g=>g.preventDefault(),class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});function oA(e){return Object.keys(e).map(t=>[t,e[t]])}const rA=["class","style"],sA=/^on[A-Z]+/,Ll=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ht(),r=da({}),s=da({}),i=da({}),a=n.concat(rA);return o.attrs=Ie(o.attrs),On(()=>{const l=oA(o.attrs).reduce((c,[u,d])=>(a.includes(u)?c.exclude[u]=d:sA.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 Jr(e){const t=[];return ce(e)&&e.forEach(n=>{pr(n)?n.type===ot?t.push(...Jr(n.children)):t.push(n):ce(n)&&t.push(...Jr(n))}),t}const iA={scaleArea:{type:Boolean,default:!1}},B_=vt({inheritAttrs:!1,name:"MovableArea",props:iA,setup(e,{slots:t}){const n=H(null),o=H(!1);let{setContexts:r,events:s}=aA(e,n);const{$listeners:i,$attrs:a,$excludeAttrs:l}=Ll(),c=i.value;["onTouchstart","onTouchmove","onTouchend"].forEach(m=>{let y=c[m],w=s[`_${m}`];c[m]=y?[].concat(y,w):w}),$e(()=>{s._resize(),o.value=!0});let d=[];const f=[];function h(){const m=[];for(let y=0;y<d.length;y++){let w=d[y];w=w.el;const p=f.find(g=>w===g.rootRef.value);p&&m.push(No(p))}r(m)}const _=m=>{f.push(m),h()},v=m=>{const y=f.indexOf(m);y>=0&&(f.splice(y,1),h())};return wt("_isMounted",o),wt("movableAreaRootRef",n),wt("addMovableViewContext",_),wt("removeMovableViewContext",v),()=>{const m=t.default&&t.default();return d=Jr(m),L("uni-movable-area",Ot({ref:n},a.value,l.value,c),[L(jo,{onResize:s._resize},null,8,["onResize"]),d],16)}}});function Pp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function aA(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 w(p){for(let g=0;g<m.length;g++){const b=m[g];if(p===b.rootRef.value)return b}return p===y||p===document.body||p===document?null:w(p.parentNode)}return w(v)}const u=Zt(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=Pp(y),r.x=y.x,r.y=y.y,!e.scaleArea){let w=c(m[0].target),p=c(m[1].target);i=w&&w===p?w:null}}}),d=Zt(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 w=Pp(y)/s.value;l(w)}r.x=y.x,r.y=y.y}}),f=Zt(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(){_(),a.forEach(function(v,m){v.setParent()})}function _(){let v=window.getComputedStyle(t.value),m=t.value.getBoundingClientRect();n.value=m.width-["Left","Right"].reduce(function(y,w){const p="border"+w+"Width",g="padding"+w;return y+parseFloat(v[p])+parseFloat(v[g])},0),o.value=m.height-["Top","Bottom"].reduce(function(y,w){const p="border"+w+"Width",g="padding"+w;return y+parseFloat(v[p])+parseFloat(v[g])},0)}return wt("movableAreaWidth",n),wt("movableAreaHeight",o),{setContexts(v){a=v},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:h}}}const gs=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 Ep,Ip;function Vd(e,t,n){At(()=>{document.removeEventListener("mousemove",Ep),document.removeEventListener("mouseup",Ip)});let o=0,r=0,s=0,i=0;const a=function(h,_,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:_,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;gs(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)}),gs(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)}),gs(e,"touchmove",function(h){if(h.touches.length===1&&l){const _=a(h,"move",h.touches[0].pageX,h.touches[0].pageY);return s=h.touches[0].pageX,i=h.touches[0].pageY,_}});const d=Ep=function(h){if(!c&&u&&l){const _=a(h,"move",h.pageX,h.pageY);return s=h.pageX,i=h.pageY,_}};document.addEventListener("mousemove",d),gs(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=Ip=function(h){if(u=!1,!c&&l)return l=null,a(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",f),gs(e,"touchcancel",function(h){if(l){c=!1;const _=l;return l=null,a(h,n?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function za(e,t,n){return e>t-n&&e<t+n}function tr(e,t){return za(e,0,t)}function Cu(){}Cu.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 on(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}on.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 _=Math.pow(Math.E,u*h);return u*(d+f*h)*_+f*_}}}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(_){let v,m;return _===this._t&&(v=this._powER1T,m=this._powER2T),this._t=_,v||(v=this._powER1T=Math.pow(Math.E,u*_)),m||(m=this._powER2T=Math.pow(Math.E,d*_)),h*v+f*m},dx:function(_){let v,m;return _===this._t&&(v=this._powER1T,m=this._powER2T),this._t=_,v||(v=this._powER1T=Math.pow(Math.E,u*_)),m||(m=this._powER2T=Math.pow(Math.E,d*_)),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)}}};on.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0};on.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0};on.prototype.setEnd=function(e,t,n){if(n||(n=new Date().getTime()),e!==this._endPosition||!tr(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(tr(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),tr(t,.1)&&(t=0),tr(o,.1)&&(o=0),o+=this._endPosition),this._solution&&tr(o-e,.1)&&tr(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}};on.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}};on.prototype.done=function(e){return e||(e=new Date().getTime()),za(this.x(),this._endPosition,.1)&&tr(this.dx(),.1)};on.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())};on.prototype.springConstant=function(){return this._k};on.prototype.damping=function(){return this._c};on.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 xi(e,t,n){this._springX=new on(e,t,n),this._springY=new on(e,t,n),this._springScale=new on(e,t,n),this._startTime=0}xi.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};xi.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)}};xi.prototype.done=function(){const e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)};xi.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 lA={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 Op(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const F_=vt({name:"MovableView",props:lA,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=H(null),r=Wo(o,n),{setParent:s}=fA(e,r,o);return()=>L("uni-movable-view",{ref:o},[L(jo,{onResize:s},null,8,["onResize"]),t.default&&t.default()],512)}});let pc=!1;function U_(e){pc||(pc=!0,requestAnimationFrame(function(){e(),pc=!1}))}function q_(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=q_(e.offsetParent,t):0}function V_(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=V_(e.offsetParent,t):0}function H_(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 Ki(e){return/\d+[ur]px$/i.test(e)?Ti(parseFloat(e)):Number(e)||0}function cA(e,t,n){const o=De("movableAreaWidth",H(0)),r=De("movableAreaHeight",H(0)),s=De("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 _(){let y=0-i.x+a.x,w=o.value-l.value-i.x-a.x;u.value=Math.min(y,w),f.value=Math.max(y,w);let p=0-i.y+a.y,g=r.value-c.value-i.y-a.y;d.value=Math.min(p,g),h.value=Math.max(p,g)}function v(){i.x=q_(e.value,s.value),i.y=V_(e.value,s.value)}function m(y){y=y||t.value,y=n(y);let w=e.value.getBoundingClientRect();c.value=w.height/t.value,l.value=w.width/t.value;let p=c.value*y,g=l.value*y;a.x=(g-l.value)/2,a.y=(p-c.value)/2}return{_updateBoundary:_,_updateOffset:v,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:h}}function uA(e,t,n,o,r,s,i,a,l,c,u,d,f,h){const _=Y(()=>{let O=Number(t.damping);return isNaN(O)?20:O}),v=Y(()=>t.direction==="all"||t.direction==="horizontal"),m=Y(()=>t.direction==="all"||t.direction==="vertical"),y=H(Ki(t.x)),w=H(Ki(t.y));re(()=>t.x,O=>{y.value=Ki(O)}),re(()=>t.y,O=>{w.value=Ki(O)}),re(y,O=>{E(O)}),re(w,O=>{I(O)});const p=new xi(1,9*Math.pow(_.value,2)/40,_.value);function g(O,P){let B=!1;return O>r.value?(O=r.value,B=!0):O<i.value&&(O=i.value,B=!0),P>s.value?(P=s.value,B=!0):P<a.value&&(P=a.value,B=!0),{x:O,y:P,outOfBounds:B}}function b(){d&&d.cancel(),u&&u.cancel()}function S(O,P,B,Z,M,z){b(),v.value||(O=l.value),m.value||(P=c.value),t.scale||(B=o.value);let te=g(O,P);if(O=te.x,P=te.y,!t.animation){k(O,P,B,Z,M,z);return}p._springX._solution=null,p._springY._solution=null,p._springScale._solution=null,p._springX._endPosition=l.value,p._springY._endPosition=c.value,p._springScale._endPosition=o.value,p.setEnd(O,P,B,1),u=H_(p,function(){let X=p.x(),D=X.x,ee=X.y,U=X.scale;k(D,ee,U,Z,M,z)},function(){u.cancel()})}function k(O,P,B,Z="",M,z){O!==null&&O.toString()!=="NaN"&&typeof O=="number"||(O=l.value||0),P!==null&&P.toString()!=="NaN"&&typeof P=="number"||(P=c.value||0),O=Number(O.toFixed(1)),P=Number(P.toFixed(1)),B=Number(B.toFixed(1)),l.value===O&&c.value===P||M||h("change",{},{x:Op(O,n.x),y:Op(P,n.y),source:Z}),t.scale||(B=o.value),B=f(B),B=+B.toFixed(3),z&&B!==o.value&&h("scale",{},{x:O,y:P,scale:B});let te="translateX("+O+"px) translateY("+P+"px) translateZ(0px) scale("+B+")";e.value&&(e.value.style.transform=te,e.value.style.webkitTransform=te,l.value=O,c.value=P,o.value=B)}function C(O){let P=g(l.value,c.value),B=P.x,Z=P.y,M=P.outOfBounds;return M&&S(B,Z,o.value,O),M}function E(O){if(v.value){if(O+n.x===l.value)return l;u&&u.cancel(),S(O+n.x,w.value+n.y,o.value)}return O}function I(O){if(m.value){if(O+n.y===c.value)return c;u&&u.cancel(),S(y.value+n.x,O+n.y,o.value)}return O}return{FAandSFACancel:b,_getLimitXY:g,_animationTo:S,_setTransform:k,_revise:C,dampingNumber:_,xMove:v,yMove:m,xSync:y,ySync:w,_STD:p}}function dA(e,t,n,o,r,s,i,a,l,c){const u=Y(()=>{let V=Number(e.scaleMin);return isNaN(V)?.1:V}),d=Y(()=>{let V=Number(e.scaleMax);return isNaN(V)?10:V}),f=H(Number(e.scaleValue)||1);re(f,V=>{U(V)}),re(u,()=>{ee()}),re(d,()=>{ee()}),re(()=>e.scaleValue,V=>{f.value=Number(V)||0});const{_updateBoundary:h,_updateOffset:_,_updateWH:v,_scaleOffset:m,minX:y,minY:w,maxX:p,maxY:g}=cA(t,o,D),{FAandSFACancel:b,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:E,dampingNumber:I,xMove:O,yMove:P,xSync:B,ySync:Z,_STD:M}=uA(t,e,m,o,p,g,y,w,i,a,l,c,D,n);function z(V,Ze){if(e.scale){V=D(V),v(V),h();const je=S(i.value,a.value),W=je.x,oe=je.y;Ze?k(W,oe,V,"",!0,!0):U_(function(){C(W,oe,V,"",!0,!0)})}}function te(){s.value=!0}function X(V){r.value=V}function D(V){return V=Math.max(.1,u.value,V),V=Math.min(10,d.value,V),V}function ee(){if(!e.scale)return!1;z(o.value,!0),X(o.value)}function U(V){return e.scale?(V=D(V),z(V,!0),X(V),V):!1}function K(){s.value=!1,X(o.value)}function G(V){V&&(V=r.value*V,te(),z(V))}return{_updateOldScale:X,_endScale:K,_setScale:G,scaleValueSync:f,_updateBoundary:h,_updateOffset:_,_updateWH:v,_scaleOffset:m,minX:y,minY:w,maxX:p,maxY:g,FAandSFACancel:b,_getLimitXY:S,_animationTo:k,_setTransform:C,_revise:E,dampingNumber:I,xMove:O,yMove:P,xSync:B,ySync:Z,_STD:M}}function fA(e,t,n){const o=De("_isMounted",H(!1)),r=De("addMovableViewContext",()=>{}),s=De("removeMovableViewContext",()=>{});let i=H(1),a=H(1),l=H(!1),c=H(0),u=H(0),d=null,f=null,h=!1,_,v,m=null,y=null;const w=new Cu,p=new Cu,g={historyX:[0,0],historyY:[0,0],historyT:[0,0]},b=Y(()=>{let T=Number(e.friction);return isNaN(T)||T<=0?2:T}),S=new Wn(1,b.value);re(()=>e.disabled,()=>{ne()});const{_updateOldScale:k,_endScale:C,_setScale:E,scaleValueSync:I,_updateBoundary:O,_updateOffset:P,_updateWH:B,_scaleOffset:Z,minX:M,minY:z,maxX:te,maxY:X,FAandSFACancel:D,_getLimitXY:ee,_setTransform:U,_revise:K,dampingNumber:G,xMove:V,yMove:Ze,xSync:je,ySync:W,_STD:oe}=dA(e,n,t,i,a,l,c,u,d,f);function ne(){l.value||e.disabled||(D(),g.historyX=[0,0],g.historyY=[0,0],g.historyT=[0,0],V.value&&(_=c.value),Ze.value&&(v=u.value),n.value.style.willChange="transform",m=null,y=null,h=!0)}function ue(T){if(!l.value&&!e.disabled&&h){let x=c.value,R=u.value;if(y===null&&(y=Math.abs(T.detail.dx/T.detail.dy)>1?"htouchmove":"vtouchmove"),V.value&&(x=T.detail.dx+_,g.historyX.shift(),g.historyX.push(x),!Ze.value&&m===null&&(m=Math.abs(T.detail.dx/T.detail.dy)<1)),Ze.value&&(R=T.detail.dy+v,g.historyY.shift(),g.historyY.push(R),!V.value&&m===null&&(m=Math.abs(T.detail.dy/T.detail.dx)<1)),g.historyT.shift(),g.historyT.push(T.detail.timeStamp),!m){T.preventDefault();let q="touch";x<M.value?e.outOfBounds?(q="touch-out-of-bounds",x=M.value-w.x(M.value-x)):x=M.value:x>te.value&&(e.outOfBounds?(q="touch-out-of-bounds",x=te.value+w.x(x-te.value)):x=te.value),R<z.value?e.outOfBounds?(q="touch-out-of-bounds",R=z.value-p.x(z.value-R)):R=z.value:R>X.value&&(e.outOfBounds?(q="touch-out-of-bounds",R=X.value+p.x(R-X.value)):R=X.value),U_(function(){U(x,R,i.value,q)})}}}function A(){if(!l.value&&!e.disabled&&h&&(n.value.style.willChange="auto",h=!1,!m&&!K("out-of-bounds")&&e.inertia)){const T=1e3*(g.historyX[1]-g.historyX[0])/(g.historyT[1]-g.historyT[0]),x=1e3*(g.historyY[1]-g.historyY[0])/(g.historyT[1]-g.historyT[0]),R=c.value,q=u.value;S.setV(T,x),S.setS(R,q);const j=S.delta().x,J=S.delta().y;let se=j+R,Q=J+q;se<M.value?(se=M.value,Q=q+(M.value-R)*J/j):se>te.value&&(se=te.value,Q=q+(te.value-R)*J/j),Q<z.value?(Q=z.value,se=R+(z.value-q)*j/J):Q>X.value&&(Q=X.value,se=R+(X.value-q)*j/J),S.setEnd(se,Q),f=H_(S,function(){let $=S.s(),F=$.x,ae=$.y;U(F,ae,i.value,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&D()}function N(){if(!o.value)return;D();let T=e.scale?I.value:1;P(),B(T),O();let x=ee(je.value+Z.x,W.value+Z.y),R=x.x,q=x.y;U(R,q,T,"",!0),k(T)}return $e(()=>{Vd(n.value,x=>{switch(x.detail.state){case"start":ne();break;case"move":ue(x);break;case"end":A()}}),N(),S.reconfigure(1,b.value),oe.reconfigure(1,9*Math.pow(G.value,2)/40,G.value),n.value.style.transformOrigin="center";const T={rootRef:n,setParent:N,_endScale:C,_setScale:E};r(T),qn(()=>{s(T)})}),qn(()=>{D()}),{setParent:N}}const hA={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 pA(e){const t=Ie([...e.value]),n=Ie({value:t,height:34});return re(()=>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 b8=vt({name:"PickerView",props:hA,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=H(null),r=H(null),s=Wo(o,n),i=pA(e),a=H(null);$e(()=>{const h=a.value;h&&(i.height=h.$el.offsetHeight)});let c=H([]),u=H([]);function d(h){let _=u.value;_=_.filter(m=>m.type!==zt);let v=_.indexOf(h);return v!==-1?v:c.value.indexOf(h)}return wt("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 w=i.value.map(p=>p);n("update:value",w),s("change",{},{value:w})}}})}),wt("pickerViewProps",e),wt("pickerViewState",i),()=>{const h=t.default&&t.default();{const _=Jr(h);c.value=_,rt(()=>{u.value=_})}return L("uni-picker-view",{ref:o},[L(jo,{ref:a,onResize:({height:_})=>i.height=_},null,8,["onResize"]),L("div",{ref:r,class:"uni-picker-view-wrapper"},[h],512)],512)}}});class W_{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 j_(e,t,n){return e>t-n&&e<t+n}function er(e,t){return j_(e,0,t)}class z_{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(_){return(f+h*_)*Math.pow(Math.E,d*_)},dx:function(_){const v=Math.pow(Math.E,d*_);return d*(f+h*_)*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),_=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)),_*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)),_*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),_=Math.sin(a*d);return f*(u*a*h-c*a*_)+l*f*(u*_+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||!er(n,.4)){n=n||0;let r=this._endPosition;this._solution&&(er(n,.4)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),er(n,.4)&&(n=0),er(r,.4)&&(r=0),r+=this._endPosition),this._solution&&er(r-t,.4)&&er(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()),j_(this.x(),this._endPosition,.4)&&er(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 gA{constructor(t,n,o){this._extent=t,this._friction=n||new W_(.01),this._spring=o||new z_(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 mA(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 yA{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 gA(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=mA(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 vA(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new yA(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,_=n.historyTime[h],v=n.historyX[h],m=n.historyY[h];h>0;){h--;const y=n.historyTime[h],w=_-y;if(w>30&&w<50){f.x=(v-n.historyX[h])/(w/1e3),f.y=(m-n.historyY[h])/(w/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 _A(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 S8=vt({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=H(null),r=H(null),s=De("getPickerViewColumn"),i=ht(),a=s?s(i):H(0),l=De("pickerViewProps"),c=De("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:_}=M_();let v;const m=Ie({current:a.value,length:0});let y;function w(){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)}))}re(()=>a.value,k=>{k!==m.current&&(m.current=k,w())}),re(()=>m.current,k=>a.value=k),re([()=>u.value,()=>m.length,()=>c.height],w);let p=0;function g(k){const C=p+k.deltaY;if(Math.abs(C)>10){p=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 p=C;k.preventDefault()}function b({clientY:k}){const C=o.value;if(!v.isScrolling()){const E=C.getBoundingClientRect(),I=k-E.top-c.height/2,O=u.value/2;if(!(Math.abs(I)<=O)){const P=Math.ceil((Math.abs(I)-O)/u.value),B=I<0?-P:P;let Z=Math.min(m.current+B,m.length-1);m.current=Z=Math.max(Z,0),v.scrollTo(Z*u.value)}}}return $e(()=>{const k=o.value,C=r.value,{scroller:E,handleTouchStart:I,handleTouchMove:O,handleTouchEnd:P}=vA(C,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new W_(1e-4),spring:new z_(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":O(B),B.stopPropagation();break;case"end":case"cancel":P(B)}},!0),_A(k),w()}),()=>{const k=t.default&&t.default();m.length=Jr(k).length;const C=`${h.value}px 0`;return L("uni-picker-view-column",{ref:o},[L("div",{onWheel:g,onClick:b,class:"uni-picker-view-group"},[L("div",Ot(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),L("div",Ot(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[L(jo,{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)}}}),wA=16,ir={activeColor:Fm,backgroundColor:"#EBEBEB",activeMode:"backwards"},bA={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:wA},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:ir.activeColor},activeColor:{type:String,default:ir.activeColor},backgroundColor:{type:String,default:ir.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:ir.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},T8=vt({name:"Progress",props:bA,setup(e){const t=H(null),n=SA(e);return Ap(n,e),re(()=>n.realPercent,(o,r)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=r||0,Ap(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 SA(e){const t=H(0),n=Y(()=>`background-color: ${e.backgroundColor}; height: ${xs(e.strokeWidth)}px;`),o=Y(()=>{const i=e.color!==ir.activeColor&&e.activeColor===ir.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 Ap(e,t){t.active?(e.currentPercent=t.activeMode===ir.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 TA=vt({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)}}}),Lp=Hr(!0),CA={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}},C8=vt({name:"ScrollView",compatConfig:{MODE:3},props:CA,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=Wo(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=kA(e),{realScrollX:f,realScrollY:h}=xA(e,c,u,d,l,r,s,a,t),_=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:w,refresherThreshold:p}=e,{refresherHeight:g,refreshState:b}=c;return L("uni-scroll-view",{ref:r},[L("div",{ref:i,class:"uni-scroll-view"},[L("div",{ref:s,style:_.value,class:v.value},[m?L(TA,{refreshState:b,refresherHeight:g,refresherThreshold:p,refresherDefaultStyle:w,refresherBackground:y},{default:()=>[w=="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 kA(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 xA(e,t,n,o,r,s,i,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=Y(()=>e.scrollX),_=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,O){const P=i.value;let B=0,Z="";if(I<0?I=0:O==="x"&&I>P.scrollWidth-P.offsetWidth?I=P.scrollWidth-P.offsetWidth:O==="y"&&I>P.scrollHeight-P.offsetHeight&&(I=P.scrollHeight-P.offsetHeight),O==="x"?B=P.scrollLeft-I:O==="y"&&(B=P.scrollTop-I),B===0)return;let M=a.value;M.style.transition="transform .3s ease-out",M.style.webkitTransition="-webkit-transform .3s ease-out",O==="x"?Z="translateX("+B+"px) translateZ(0)":O==="y"&&(Z="translateY("+B+"px) translateZ(0)"),M.removeEventListener("transitionend",f),M.removeEventListener("webkitTransitionEnd",f),f=()=>S(I,O),M.addEventListener("transitionend",f),M.addEventListener("webkitTransitionEnd",f),O==="x"?P.style.overflowX="hidden":O==="y"&&(P.style.overflowY="hidden"),M.style.transform=Z,M.style.webkitTransform=Z}function w(I){const O=I.target;r("scroll",I,{scrollLeft:O.scrollLeft,scrollTop:O.scrollTop,scrollHeight:O.scrollHeight,scrollWidth:O.scrollWidth,deltaX:t.lastScrollLeft-O.scrollLeft,deltaY:t.lastScrollTop-O.scrollTop}),_.value&&(O.scrollTop<=v.value&&t.lastScrollTop-O.scrollTop>0&&I.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",I,{direction:"top"}),t.lastScrollToUpperTime=I.timeStamp),O.scrollTop+O.offsetHeight+m.value>=O.scrollHeight&&t.lastScrollTop-O.scrollTop<0&&I.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",I,{direction:"bottom"}),t.lastScrollToLowerTime=I.timeStamp)),h.value&&(O.scrollLeft<=v.value&&t.lastScrollLeft-O.scrollLeft>0&&I.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",I,{direction:"left"}),t.lastScrollToUpperTime=I.timeStamp),O.scrollLeft+O.offsetWidth+m.value>=O.scrollWidth&&t.lastScrollLeft-O.scrollLeft<0&&I.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",I,{direction:"right"}),t.lastScrollToLowerTime=I.timeStamp)),t.lastScrollTop=O.scrollTop,t.lastScrollLeft=O.scrollLeft}function p(I){_.value&&(e.scrollWithAnimation?y(I,"y"):i.value.scrollTop=I)}function g(I){h.value&&(e.scrollWithAnimation?y(I,"x"):i.value.scrollLeft=I)}function b(I){if(I){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(I))return;let O=s.value.querySelector("#"+I);if(O){let P=i.value.getBoundingClientRect(),B=O.getBoundingClientRect();if(h.value){let Z=B.left-P.left,z=i.value.scrollLeft+Z;e.scrollWithAnimation?y(z,"x"):i.value.scrollLeft=z}if(_.value){let Z=B.top-P.top,z=i.value.scrollTop+Z;e.scrollWithAnimation?y(z,"y"):i.value.scrollTop=z}}}}function S(I,O){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let P=i.value;O==="x"?(P.style.overflowX=h.value?"auto":"hidden",P.scrollLeft=I):O==="y"&&(P.style.overflowY=_.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(()=>{p(n.value),g(o.value)}),b(e.scrollIntoView);let I=function(M){M.preventDefault(),M.stopPropagation(),w(M)},O=null,P=function(M){if(C===null)return;let z=M.touches[0].pageX,te=M.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){O=!1;return}else if(X.scrollWidth===X.offsetWidth+X.scrollLeft&&z<C.x){O=!1;return}O=!0}else O=!1;else if(_.value)if(X.scrollTop===0&&te>C.y)O=!1,e.refresherEnabled&&M.cancelable!==!1&&M.preventDefault();else if(X.scrollHeight===X.offsetHeight+X.scrollTop&&te<C.y){O=!1;return}else O=!0;else O=!1;if(O&&M.stopPropagation(),X.scrollTop===0&&M.touches.length===1&&k("pulling"),e.refresherEnabled&&t.refreshState==="pulling"){const D=te-C.y;u===0&&(u=te),c?(t.refresherHeight=D+e.refresherThreshold,d=!1):(t.refresherHeight=te-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",M,{deltaY:D,dy:D})))}},B=function(M){M.touches.length===1&&(C={x:M.touches[0].pageX,y:M.touches[0].pageY})},Z=function(M){E={x:M.changedTouches[0].pageX,y:M.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,Lp),i.value.addEventListener("touchmove",P,Hr(!1)),i.value.addEventListener("scroll",I,Hr(!1)),i.value.addEventListener("touchend",Z,Lp),At(()=>{i.value.removeEventListener("touchstart",B),i.value.removeEventListener("touchmove",P),i.value.removeEventListener("scroll",I),i.value.removeEventListener("touchend",Z)})}),vi(()=>{_.value&&(i.value.scrollTop=t.lastScrollTop),h.value&&(i.value.scrollLeft=t.lastScrollLeft)}),re(n,I=>{p(I)}),re(o,I=>{g(I)}),re(()=>e.scrollIntoView,I=>{b(I)}),re(()=>e.refresherTriggered,I=>{I===!0?k("refreshing"):I===!1&&k("restore")}),{realScrollX:h,realScrollY:_,_scrollTopChanged:p,_scrollLeftChanged:g}}const PA={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 EA(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 IA(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,_,v="",m;const y=Y(()=>n.value.length>t.displayMultipleItems),w=Y(()=>e.circular&&y.value);function p(M){if(!l)for(let z=n.value,te=z.length,X=M+t.displayMultipleItems,D=0;D<te;D++){const ee=z[D],U=Math.floor(M/te)*te+D,K=U+te,G=U-te,V=Math.max(M-(U+1),U-X,0),Ze=Math.max(M-(K+1),K-X,0),je=Math.max(M-(G+1),G-X,0),W=Math.min(V,Ze,je),oe=[U,K,G][[V,Ze,je].indexOf(W)];ee.updatePosition(oe,e.vertical)}}function g(M){Math.floor(2*c)===Math.floor(2*M)&&Math.ceil(2*c)===Math.ceil(2*M)||w.value&&p(M);const z=e.vertical?"0":100*-M*u+"%",te=e.vertical?100*-M*u+"%":"0",X="translate("+z+", "+te+") translateZ(0)",D=o.value;if(D&&(D.style.webkitTransform=X,D.style.transform=X),c=M,!_){if(M%1===0)return;_=M}M-=Math.floor(_);const ee=n.value;M<=-(ee.length-1)?M+=ee.length:M>=ee.length&&(M-=ee.length),M=_%1>.5||_<0?M-1:M,s("transition",{},{dx:e.vertical?0:M*D.offsetWidth,dy:e.vertical?M*D.offsetHeight:0})}function b(){d&&(g(d.toPos),d=null)}function S(M){const z=n.value.length;if(!z)return-1;const te=(Math.round(M)%z+z)%z;if(w.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 M=d,z=M.toPos,te=M.acc,X=M.endTime,D=M.source,ee=X-Date.now();if(ee<=0){g(z),d=null,f=!1,_=null;const G=n.value[t.current];if(G){const V=G.getItemId();s("animationfinish",{},{current:t.current,currentItemId:V,source:D})}return}const U=te*ee*ee/2,K=z+U;g(K),m=requestAnimationFrame(C)}function E(M,z,te){k();const X=t.duration,D=n.value.length;let ee=c;if(w.value)if(te<0){for(;ee<M;)ee+=D;for(;ee-D>M;)ee-=D}else if(te>0){for(;ee>M;)ee-=D;for(;ee+D<M;)ee+=D;ee+D-M<M-ee&&(ee+=D)}else{for(;ee+D<M;)ee+=D;for(;ee-D>M;)ee-=D;ee+D-M<M-ee&&(ee+=D)}else z==="click"&&(M=M+t.displayMultipleItems-1<D?M:0);d={toPos:M,acc:2*(ee-M)/(X*X),endTime:Date.now()+X,source:z},f||(f=!0,m=requestAnimationFrame(C))}function I(){i();const M=n.value,z=function(){a=null,v="autoplay",w.value?t.current=S(t.current+1):t.current=t.current+t.displayMultipleItems<M.length?t.current+1:0,E(t.current,"autoplay",w.value?1:0),a=setTimeout(z,t.interval)};l||M.length<=t.displayMultipleItems||(a=setTimeout(z,t.interval))}function O(){i(),b();const M=n.value;for(let D=0;D<M.length;D++)M[D].updatePosition(D,e.vertical);u=1;const z=o.value;if(t.displayMultipleItems===1&&M.length){const D=M[0].getBoundingClientRect(),ee=z.getBoundingClientRect();u=D.width/ee.width,u>0&&u<1||(u=1)}const te=c;c=-2;const X=t.current;X>=0?(l=!1,t.userTracking?(g(te+X-h),h=X):(g(X),e.autoplay&&I())):(l=!0,g(-t.displayMultipleItems-1))}re([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let M=-1;if(e.currentItemId){for(let z=0,te=n.value;z<te.length;z++)if(te[z].getItemId()===e.currentItemId){M=z;break}}M<0&&(M=Math.round(e.current)||0),M=M<0?0:M,t.current!==M&&(v="",t.current=M)}),re([()=>e.vertical,()=>w.value,()=>t.displayMultipleItems,()=>[...n.value]],O),re(()=>t.interval,()=>{a&&(i(),I())});function P(M,z){const te=v;v="";const X=n.value;if(!te){const ee=X.length;E(M,"",w.value&&z+(ee-M)%ee>ee/2?1:0)}const D=X[M];if(D){const ee=t.currentItemId=D.getItemId();s("change",{},{current:t.current,currentItemId:ee,source:te})}}re(()=>t.current,(M,z)=>{P(M,z),r("update:current",M)}),re(()=>t.currentItemId,M=>{r("update:currentItemId",M)});function B(M){M?I():i()}re(()=>e.autoplay&&!t.userTracking,B),B(e.autoplay&&!t.userTracking),$e(()=>{let M=!1,z=0,te=0;function X(){i(),h=c,z=0,te=Date.now(),k()}function D(U){const K=te;te=Date.now();const V=n.value.length-t.displayMultipleItems;function Ze(ne){return .5-.25/(ne+.5)}function je(ne,ue){let A=h+ne;z=.6*z+.4*ue,w.value||(A<0||A>V)&&(A<0?A=-Ze(-A):A>V&&(A=V+Ze(A-V)),z=0),g(A)}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 ee(U){t.userTracking=!1;const K=z/Math.abs(z);let G=0;!U&&Math.abs(z)>.2&&(G=.5*K);const V=S(c+G);U?g(h):(v="touch",t.current=V,E(V,"touch",G!==0?G:V===0&&w.value&&c>=1?1:0))}Vd(o.value,U=>{if(!e.disableTouch&&!l){if(U.detail.state==="start")return t.userTracking=!0,M=!1,X();if(U.detail.state==="end")return ee(!1);if(U.detail.state==="cancel")return ee(!0);if(t.userTracking){if(!M){M=!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 D(U.detail),!1}}})}),qn(()=>{i(),cancelAnimationFrame(m)});function Z(M){E(t.current=M,v="click",w.value?1:0)}return{onSwiperDotClick:Z,circularEnabled:w,swiperEnabled:y}}const OA=vt({name:"Swiper",props:PA,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=H(null),r=Wo(o,n),s=H(null),i=H(null),a=EA(e),l=Y(()=>{let g={};return(e.nextMargin||e.previousMargin)&&(g=e.vertical?{left:0,right:0,top:xs(e.previousMargin,!0),bottom:xs(e.nextMargin,!0)}:{top:0,bottom:0,left:xs(e.previousMargin,!0),right:xs(e.nextMargin,!0)}),g}),c=Y(()=>{const g=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":g,height:e.vertical?g:"100%"}});let u=[];const d=[],f=H([]);function h(){const g=[];for(let b=0;b<u.length;b++){let S=u[b];S instanceof Element||(S=S.el);const k=d.find(C=>S===C.rootRef.value);k&&g.push(No(k))}f.value=g}wt("addSwiperContext",function(g){d.push(g),h()}),wt("removeSwiperContext",function(g){const b=d.indexOf(g);b>=0&&(d.splice(b,1),h())});const{onSwiperDotClick:m,circularEnabled:y,swiperEnabled:w}=IA(e,a,f,i,n,r);let p=()=>null;return p=AA(o,e,a,m,f,y,w),()=>{const g=t.default&&t.default();return u=Jr(g),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},[g],4)],4),e.indicatorDots&&L("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map((b,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),p()],512)],512)}}}),AA=(e,t,n,o,r,s,i)=>{let a=!1,l=!1,c=!1,u=H(!1);On(()=>{a=t.navigation==="auto",u.value=t.navigation!==!0||a,w()}),On(()=>{const g=r.value.length,b=!s.value;l=n.current===0&&b,c=n.current===g-1&&b||b&&n.current+n.displayMultipleItems>=g,i.value||(l=!0,c=!0,a&&(u.value=!0))});function d(g,b){const S=g.currentTarget;S&&(S.style.backgroundColor=b==="over"?t.navigationActiveColor:"")}const f={onMouseover:g=>d(g,"over"),onMouseout:g=>d(g,"out")};function h(g,b,S){if(g.stopPropagation(),S)return;const k=r.value.length;let C=n.current;switch(b){case"prev":C--,C<0&&s.value&&(C=k-1);break;case"next":C++,C>=k&&s.value&&(C=0);break}o(C)}const _=()=>gr(Ua,t.navigationColor,26);let v;const m=g=>{clearTimeout(v);const{clientX:b,clientY:S}=g,{left:k,right:C,top:E,bottom:I,width:O,height:P}=e.value.getBoundingClientRect();let B=!1;if(t.vertical?B=!(S-E<P/3||I-S<P/3):B=!(b-k<O/3||C-b<O/3),B)return v=setTimeout(()=>{u.value=B},300);u.value=B},y=()=>{u.value=!0};function w(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",y)))}$e(w);function p(){const g={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?L(ot,null,[L("div",Ot({class:["uni-swiper-navigation uni-swiper-navigation-prev",pe({"uni-swiper-navigation-disabled":l},g)],onClick:b=>h(b,"prev",l)},f),[_()],16,["onClick"]),L("div",Ot({class:["uni-swiper-navigation uni-swiper-navigation-next",pe({"uni-swiper-navigation-disabled":c},g)],onClick:b=>h(b,"next",c)},f),[_()],16,["onClick"])]):null}return p},LA={itemId:{type:String,default:""}},RA=vt({name:"SwiperItem",props:LA,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=De("addSwiperContext");r&&r(o)}),qn(()=>{const r=De("removeSwiperContext");r&&r(o)}),()=>L("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),ms={ensp:" ",emsp:" ",nbsp:" "};function MA(e,{space:t,decode:n}){let o="",r=!1;for(let s of e)t&&ms[t]&&s===" "&&(s=ms[t]),r?(s==="n"?o+=sl:s==="\\"?o+="\\":o+="\\"+s,r=!1):s==="\\"?r=!0:o+=s;return n?o.replace(/ /g,ms.nbsp).replace(/ /g,ms.ensp).replace(/ /g,ms.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}function NA(e,t){return MA(e,t).split(sl)}const G_=vt({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!==zt){const s=NA(r.children,{space:e.space,decode:e.decode}),i=s.length-1;s.forEach((a,l)=>{l===0&&!a||o.push(qt(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"])}}}),DA=pe({},N_,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator(e){return K_.concat("return").includes(e)}}});let ku=!1;const K_=["done","go","next","search","send"];function $A(){const e="(prefers-color-scheme: dark)";ku=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}const k8=vt({name:"Textarea",props:DA,emits:["confirm","change","linechange",...D_],setup(e,{emit:t,expose:n}){const o=H(null),r=H(null),{fieldRef:s,state:i,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=$_(e,o,t),u=Y(()=>i.value.split(sl)),d=Y(()=>K_.includes(e.confirmType)),f=H(0),h=H(null);re(()=>f.value,p=>{const g=o.value,b=h.value,S=r.value;let k=parseFloat(getComputedStyle(g).lineHeight);isNaN(k)&&(k=b.offsetHeight);var C=Math.round(p/k);c("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:C}),e.autoHeight&&(S.style.height=p+"px")});function _({height:p}){f.value=p}function v(p){}function m(p){c("confirm",p,{value:i.value})}function y(p){p.key==="Enter"&&d.value&&p.preventDefault()}function w(p){if(p.key==="Enter"&&d.value){m(p);const g=p.target;!e.confirmHold&&g.blur()}}return $A(),n({$triggerInput:p=>{t("update:modelValue",p.value),t("update:value",p.value),i.value=p.value}}),()=>{let p=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":ku},style:ie({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":ku},style:ie({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onKeydown:y,onKeyup:w,onChange:v},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return L("uni-textarea",{ref:o,"auto-height":e.autoHeight},[L("div",{ref:r,class:"uni-textarea-wrapper"},[Xt(L("div",Ot(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Jt,!i.value.length]]),L("div",{ref:h,class:"uni-textarea-line"},[" "],512),L("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map(g=>L("div",null,[g.trim()?g:"."])),L(jo,{initial:!0,onResize:_},null,8,["initial","onResize"])],2),e.confirmType==="search"?L("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p],512)],8,["auto-height"])}}}),_n=vt({name:"View",props:pe({},Hx),setup(e,{slots:t}){const n=H(null),{hovering:o,binding:r}=Gv(e);return()=>{const s=e.hoverClass;return s&&s!=="none"?L("uni-view",Ot({class:o.value?s:"",ref:n},r),[mt(t,"default")],16):L("uni-view",{ref:n},[mt(t,"default")],512)}}});function Yi(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Rp(e,t,n){e&&Rv(n||bi(),e,({type:o,data:r},s)=>{t(o,r,s)})}function Mp(e,t){e&&Ak(t||bi(),e)}function Y_(e,t,n,o){const s=ht().proxy;o=o==null?Sl():o,$e(()=>{Rp(t||Yi(s),e,o),re(()=>s.id,(i,a)=>{Rp(Yi(s,i),e,o),Mp(a&&Yi(s,a))})}),At(()=>{Mp(t||Yi(s),o)})}let BA=0;function X_(e){const t=Sl(),o=ht().proxy,r=o.$options.name.toLowerCase(),s=e||o.id||`context${BA++}`;return $e(()=>{const i=o.$el;i.__uniContextInfo={id:s,type:r,page:t}}),`${r}.${s}`}function FA(e){return e.__uniContextInfo}function Np(e,t,n,o){le(t)&&Uo(e,t.bind(n),o)}function UA(e,t,n){const o=e.mpType||n.$mpType;if(!(!o||o==="component"||o==="page"&&t.renderer==="component")&&(Object.keys(e).forEach(r=>{if(ES(r,e[r],!1)){const s=e[r];ce(s)?s.forEach(i=>Np(r,i,n,t)):Np(r,s,n,t)}}),o==="page")){t.__isVisible=!0;try{let r=t.attrs.__pageQuery;Bt(n,rs,r),t.vapor||delete t.attrs.__pageQuery;const s=n.$page;(s==null?void 0:s.openType)!=="preloadPage"&&Bt(n,Qn)}catch(r){}}}function qA(e,t,n){UA(e,t,n)}function VA(e,t,n){return e[t]=n}function HA(e,...t){const n=this[e];return n?n(...t):null}function WA(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[Gs]?Bt(i.proxy,Gs,o):(r&&r.$.vnode,void 0)}}function jA(e,t){return e?[...new Set([].concat(e,t))]:t}function zA(e){cy.forEach(t=>{e[t]=jA})}let xu;const Xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",GA=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;typeof atob!="function"?xu=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!GA.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=Xi.indexOf(e.charAt(s++))<<18|Xi.indexOf(e.charAt(s++))<<12|(o=Xi.indexOf(e.charAt(s++)))<<6|(r=Xi.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}:xu=atob;function KA(e){return decodeURIComponent(xu(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function gc(){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(KA(t[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return n.tokenExpired=n.exp*1e3,delete n.exp,delete n.iat,n}function YA(e){e.uniIDHasRole=function(t){const{role:n}=gc();return n.indexOf(t)>-1},e.uniIDHasPermission=function(t){const{permission:n}=gc();return this.uniIDHasRole("admin")||n.indexOf(t)>-1},e.uniIDTokenValid=function(){const{tokenExpired:t}=gc();return t>Date.now()}}function XA(e){const t=e.config;t.errorHandler=AS(e,WA),zA(t.optionMergeStrategies);const n=t.globalProperties;YA(n),n.$set=VA,n.$applyOptions=qA,n.$callMethod=HA,OS(e)}function JA(e){const t=QC(tL());t.beforeEach((n,o)=>{n&&o&&n.meta.isTabBar&&o.meta.isTabBar&&ZA(o.meta.tabBarIndex)}),e.router=t,e.use(t)}let J_=Object.create(null);function QA(e){return J_[e]}function ZA(e){typeof window!="undefined"&&(J_[e]={left:window.pageXOffset,top:window.pageYOffset})}const eL=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const o=QA(e.meta.tabBarIndex);if(o)return o}return{left:0,top:0}};function tL(){return{history:oL(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:eL}}function nL(e=1){const t=ki(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const s=_r(t[r]);Ol(Al(s.path,s.id),!1)}}function oL(){let{routerBase:e}=__uniConfig.router;e==="/"&&(e="");const t=EC(e);return t.listen((n,o,r)=>{r.direction==="back"&&nL(Math.abs(r.delta))}),t}const rL={install(e){XA(e),vx(e),Dx(e),e.config.warnHandler||(e.config.warnHandler=sL),JA(e)}};function sL(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(`
- `,n)}const iL={class:"uni-async-loading"},aL=L("i",{class:"uni-loading"},null,-1),mc=Hn({name:"AsyncLoading",render(){return me(),_e("div",iL,[aL])}});function lL(){window.location.reload()}const yc=Hn({name:"AsyncError",props:["error"],setup(){_k();const{t:e}=Ce();return()=>L("div",{class:"uni-async-error",onClick:lL},[e("uni.async.error")],8,["onClick"])}});let xr;function Pe(){return xr}function cL(e){xr=e,Object.defineProperty(xr.$.ctx,"$children",{get(){return ki().map(n=>n.$vm)}});const t=xr.$.appContext.app;t.component(mc.name)||t.component(mc.name,mc),t.component(yc.name)||t.component(yc.name,yc),Lx(xr),$x(xr),Ax(),rx()}function Dp(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=ht();if(n(l.proxy),o(l),s)return s(i,a)},e}function Q_(e,t){return e&&(e.__esModule||e[Symbol.toStringTag]==="Module")?Dp(e.default,t):Dp(e,t)}function qe(e){return Q_(e,{clone:!0,init:GI,setup(t){t.$pageInstance=t;const n=Si(),o=iy(n.query);t.attrs.__pageQuery=o,_r(t.proxy).options=o,t.proxy.options=o;const r=Nd();v_(r),t.onReachBottom=Ie([]),t.onPageScroll=Ie([]),re([t.onReachBottom,t.onPageScroll],()=>{const i=vr();t.proxy===i&&b_(t,r)},{once:!0}),qo(()=>{fp(t,r)}),$e(()=>{QI(t);const{onReady:i}=t;i&&en(i),$p(n)}),PT(()=>{if(!t.__isVisible){fp(t,r),t.__isVisible=!0;const{onShow:i}=t;i&&en(i),rt(()=>{$p(n)})}}),ET(()=>{if(t.__isVisible&&!t.__isUnload){t.__isVisible=!1;{const{onHide:i}=t;i&&en(i)}}});const s=Ds(t.proxy);return Ik(s),At(()=>{Ok(s)}),o}})}function uL(e){return Q_(e,{init:cL,setup(t){const n=Si(),o=()=>{aE(t);const{onLaunch:r,onShow:s,onPageNotFound:i}=t,a=n.path.slice(1),l=SO({path:a||__uniRoutes[0].meta.route,query:iy(n.query)});if(r&&en(r,l),s&&en(s,l),!n.matched.length){const c={notFound:!0,openType:"appLaunch",path:n.path,query:{},scene:1001};p_(),i&&en(i,c)}};return ek().isReady().then(o),$e(()=>{window.addEventListener("resize",ay(dL,50,{setTimeout,clearTimeout})),window.addEventListener("message",fL),document.addEventListener("visibilitychange",hL),pL()}),n.query},before(t){t.mpType="app";const{setup:n}=t,o=()=>(me(),_e(JR));t.setup=(r,s)=>{const i=n&&n(r,s);return le(i)?o:i},t.render=o}})}function dL(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=kn(),s=Math.abs(Number(window.orientation))===90?"landscape":"portrait";Qe.emit(al,{deviceOrientation:s,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function fL(e){St(e.data)&&e.data.type===nS&&Qe.emit(ny,e.data.data,e.data.pageId)}function hL(){const{emit:e}=Qe;document.visibilityState==="visible"?e(ey,wO()):e(ty)}function pL(){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 $p(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Bt("onTabItemTap",{index:n,text:t,pagePath:o})}function Ji(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 gL(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 w=v.targetTouches[0],p=w.pageX,g=w.pageY,b=r,S=t.value;if(y==="progress"?(h(p-b.x),o.seeking=!0):y==="volume"&&_(g-b.y),y==="none")if(Math.abs(p-b.x)>Math.abs(g-b.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 w=v/600*y+o.currentTimeOld;w<0?w=0:w>y&&(w=y),o.currentTimeNew=w}function _(v){const m=t.value,y=o.volumeOld;let w;typeof y=="number"&&(w=y-v/200,w<0?w=0:w>1&&(w=1),c(),l(),m.volume=w,o.volumeNew=w)}return{state:o,onTouchstart:u,onTouchmove:d,onTouchend:f}}function mL(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,_=t.value,v=n.value;let m;f?(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&(!i||o.userAction)?_[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():v.webkitEnterFullScreen?v.webkitEnterFullScreen():(m=!0,_.remove(),_.classList.add("uni-video-type-fullscreen"),document.body.appendChild(_)):document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():v.webkitExitFullScreen?v.webkitExitFullScreen():(m=!0,_.remove(),_.classList.remove("uni-video-type-fullscreen"),h.appendChild(_)),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 yL(e,t,n){const o=H(null),r=Y(()=>nn(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});re(()=>r.value,()=>{i.playing=!1,i.currentTime=0}),re(()=>i.buffered,S=>{n("progress",{},{buffered:S})}),re(()=>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 _(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 w(){o.value.pause()}function p(S){const k=o.value;S=Number(S),typeof S=="number"&&!isNaN(S)&&(k.currentTime=S)}function g(){p(0),w()}function b(S){const k=o.value;k.playbackRate=S}return{videoRef:o,state:i,play:y,pause:w,stop:g,seek:p,playbackRate:b,toggle:m,onDurationChange:a,onLoadedMetadata:l,onProgress:c,onWaiting:u,onVideoError:d,onPlay:f,onPause:h,onEnded:_,onTimeUpdate:v}}function vL(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,w=v.offsetX;for(;y&&y!==m;)w+=y.offsetLeft,y=y.parentNode;const p=m.offsetWidth;let g=0;w>=0&&w<=p&&(g=w/p,n(t.duration*g))}function d(){c.controlsVisible=!c.controlsVisible}let f;function h(){f=setTimeout(()=>{c.controlsVisible=!1},3e3)}function _(){f&&(clearTimeout(f),f=null)}return At(()=>{f&&clearTimeout(f)}),re(()=>c.controlsShow&&t.playing&&!c.controlsTouching,v=>{v?h():_()}),$e(()=>{const v=Hr(!1);let m,y,w=!0,p;const g=s.value;function b(k){const C=k.targetTouches[0],E=C.pageX,I=C.pageY;if(w&&Math.abs(E-m)<Math.abs(I-y)){S(k);return}w=!1;const P=r.value.offsetWidth;let B=p+(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&&(g.removeEventListener("touchmove",b,v),w||(k.preventDefault(),k.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}g.addEventListener("touchstart",k=>{c.controlsTouching=!0;const C=k.targetTouches[0];m=C.pageX,y=C.pageY,p=t.progress,w=!0,c.touching=!0,g.addEventListener("touchmove",b,v)}),g.addEventListener("touchend",S),g.addEventListener("touchcancel",S)}),{state:c,progressRef:r,ballRef:s,clickProgress:u,toggleControls:d,autoHideStart:h,autoHideEnd:_}}function _L(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,_={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))_.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))_.index=v-1;else break}r=_}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 wL(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=X_();Y_((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 bL(e,t,n,o,r){const s=Y(()=>t.gestureType==="progress"||n.touching);return re(s,i=>{e.pauseUpdatingCurrentTime=i,n.controlsTouching=i,t.gestureType==="progress"&&i&&(n.controlsVisible=i)}),re([()=>e.currentTime,()=>{Z_.duration}],()=>{e.progress=e.currentTime/e.duration*100}),re(()=>t.currentTimeNew,i=>{e.currentTime=i}),s}const Z_={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}},x8=vt({name:"Video",props:Z_,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=Wo(r,t),{state:a}=R_(),{$attrs:l}=Ll({excludeListeners:!0});Ce(),Ck();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:_,playbackRate:v,toggle:m,onDurationChange:y,onLoadedMetadata:w,onProgress:p,onWaiting:g,onVideoError:b,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:E}=yL(e,n,i),{state:I,danmuRef:O,updateDanmu:P,toggleDanmu:B,sendDanmu:Z}=_L(e,u),{state:M,onFullscreenChange:z,emitFullscreenChange:te,toggleFullscreen:X,requestFullScreen:D,exitFullScreen:ee}=mL(i,s,c,a,r),{state:U,onTouchstart:K,onTouchend:G,onTouchmove:V}=gL(e,c,M),{state:Ze,progressRef:je,ballRef:W,clickProgress:oe,toggleControls:ne}=vL(e,u,_,A=>{U.currentTimeNew=A});wL(d,f,h,_,Z,v,D,ee);const ue=bL(u,U,Ze);return()=>L("uni-video",{ref:r,id:e.id,onClick:ne},[L("div",{ref:s,class:"uni-video-container",onTouchstart:K,onTouchend:G,onTouchmove:V,onFullscreenchange:un(z,["stop"]),onWebkitfullscreenchange:un(A=>z(A,!0),["stop"])},[L("video",Ot({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:w,onProgress:p,onWaiting:g,onError:b,onPlay:S,onPause:k,onEnded:C,onTimeupdate:A=>{E(A),P(A)},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"]),Xt(L("div",{class:"uni-video-bar uni-video-bar-full",onClick:un(()=>{},["stop"])},[L("div",{class:"uni-video-controls"},[Xt(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:un(m,["stop"])},null,10,["onClick"]),[[Jt,e.showPlayBtn]]),Xt(L("div",{class:"uni-video-current-time"},[Ji(u.currentTime)],512),[[Jt,e.showProgress]]),Xt(L("div",{ref:je,class:"uni-video-progress-container",onClick:un(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"]),[[Jt,e.showProgress]]),Xt(L("div",{class:"uni-video-duration"},[Ji(Number(e.duration)||u.duration)],512),[[Jt,e.showProgress]])]),Xt(L("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":I.enable},onClick:un(B,["stop"])},null,10,["onClick"]),[[Jt,e.danmuBtn]]),Xt(L("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":M.fullscreen},onClick:un(()=>X(!M.fullscreen),["stop"])},null,10,["onClick"]),[[Jt,e.showFullscreenBtn]])],8,["onClick"]),[[Jt,Ze.controlsShow]]),Xt(L("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Jt,u.start&&I.enable]]),Ze.centerPlayBtnShow&&L("div",{class:"uni-video-cover",onClick:un(()=>{},["stop"])},[L("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:un(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"},[Ji(U.currentTimeNew)])," / ",Number(e.duration)||Ji(u.duration)])],2),L("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),SL=({name:e,arg:t})=>{if(e!=="postMessage")switch(e){case"navigateTo":Kd(t);break;case"navigateBack":Gd(t);break;case"switchTab":Ci(t);break;case"reLaunch":El(t);break;case"redirectTo":Pl(t);break}},TL=Ft(()=>Qe.on(ny,SL)),CL={src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},P8=vt({inheritAttrs:!1,name:"WebView",props:CL,emits:["load"],setup(e,{emit:t}){TL();const n=H(null),o=H(null),{$attrs:r,$excludeAttrs:s,$listeners:i}=Ll({excludeListeners:!0}),a=Wo(n,t);let l;return(()=>{const u=document.createElement("iframe");u.onload=function(d){a("load",d,{src:e.src})},On(()=>{for(const d in r.value)if(be(r.value,d)){const f=r.value[d];u[d]=f}}),On(()=>{u.src=nn(e.src)}),o.value=u,l=kL(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(u)})(),$e(()=>{var u;l(),!e.fullscreen&&((u=n.value)==null||u.appendChild(o.value))}),vi(()=>{e.fullscreen&&(o.value.style.display="block")}),_d(()=>{e.fullscreen&&(o.value.style.display="none")}),At(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>L(ot,null,[L("uni-web-view",Ot({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,s.value,{ref:n}),[L(jo,{onResize:l},null,8,["onResize"])],16)])}});function kL(e,t,n){return()=>{var r,s;if(n){const{top:i,left:a,width:l,height:c}=e.value.getBoundingClientRect();Hc(t.value,{position:"absolute",display:"block",border:"0",top:i+"px",left:a+"px",width:l+"px",height:c+"px"})}else Hc(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 xL=0;function e0(e,t,n,o){var r=document.createElement("script"),s=t.callback||"callback",i="__uni_jsonp_callback_"+xL++,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 Bp(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(Ur())this.callback=u,this.visible&&this.createAMapText();else if(Us())this.visible&&this.createBMapText();else{const f=c.map;this.position=c.position,this.index=1;const h=this.div=document.createElement("div"),_=h.style;_.position="absolute",_.whiteSpace="nowrap",_.transform="translateX(-50%) translateY(-100%)",_.zIndex="1",_.boxShadow=c.boxShadow||"none",_.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,Ur()?this.visible&&this.createAMapText():Us()?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(!Ur()&&!Us()){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 bn;const Fp={},PL="__map_callback__";function t0(e,t){const n=Pi();if(!n.key)return;const o=Fp[n.type]=Fp[n.type]||[];if(bn)t(bn);else if(window[n.type]&&window[n.type].maps)bn=Ur()||Us()?window[n.type]:window[n.type].maps,bn.Callout=bn.Callout||Bp(bn),t(bn);else if(o.length)o.push(t);else{o.push(t);const r=window,s=PL+n.type;r[s]=function(){delete r[s],bn=Ur()||Us()?window[n.type]:window[n.type].maps,bn.Callout=Bp(bn),o.forEach(l=>l(bn)),o.length=0},Ur()&&IL(n);const i=document.createElement("script");let a=EL(n.type);n.type===Fr.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Fr.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 EL=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 IL(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}var Fr=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Fr||{});function Pi(){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 Up=!1,qp=!1;const Ur=()=>qp?Up:(qp=!0,Up=Pi().type==="AMap"),Us=()=>Pi().type==="BMapGL";function OL(e,t,n){const o=Pi(),r=["google"];return e&&e.toUpperCase()==="WGS84"||r.includes(o.type)||n?Promise.resolve(t):o.type==="qq"?new Promise(s=>{e0(`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=>{t0([],()=>{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, map provider not configured or not supported"))}const Vp="__DC_STAT_UUID",Hp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let br;function AL(){if(br=br||Hp[Vp],!br){br=Date.now()+""+Math.floor(Math.random()*1e7);try{Hp[Vp]=br}catch(e){}}return br}function LL(){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 Rl(){if(__uniConfig.darkmode!==!0)return Se(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function RL(){let e,t="0",n="",o="phone";const r=navigator.language;if(T_){e="iOS";const d=Nt.match(/OS\s([\w_]+)\slike/);d&&(t=d[1].replace(/_/g,"."));const f=Nt.match(/\(([a-zA-Z]+);/);f&&(n=f[1])}else if(rO){e="Android";const d=Nt.match(/Android[\s/]([\w\.]+)[;\s]/);d&&(t=d[1]);const f=Nt.match(/\((.+?)\)/),h=f?f[1].split(";"):Nt.split(" "),_=[/\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 w=0;w<_.length;w++)if(_[w].test(m)){y=!0;break}if(!y){n=m.trim();break}}}else if(sO){if(n="iPad",e="iOS",o="pad",t=le(window.BigInt)?"14.0":"13.0",parseInt(t)===14){const d=Nt.match(/Version\/(\S*)\b/);d&&(t=d[1])}}else if(fc||Su||pp){n="PC",e="PC",o="pc",t="0";let d=Nt.match(/\((.+?)\)/)[1];if(fc){switch(e="Windows",fc[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(Su){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(pp){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.toLowerCase();let a="",l=String(LL());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 _=d[h],v=new RegExp(`(${_})/(\\S*)\\b`);v.test(Nt)&&(a=f[h],l=Nt.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.toLowerCase(),browserVersion:l,language:r,deviceType:o,ua:Nt,osname:e,osversion:t,theme:Rl()}}const ML=it("getWindowInfo",()=>{const e=window.devicePixelRatio,t=C_(),n=k_(t),o=x_(t,n),r=iO(t,n),s=P_(o);let i=window.innerHeight;const a=Tt.top,l={left:Tt.left,right:s-Tt.right,top:Tt.top,bottom:i-Tt.bottom,width:s-Tt.left-Tt.right,height:i-Tt.top-Tt.bottom},{top:c,bottom:u}=$v();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:Tt.top,right:Tt.right,bottom:Tt.bottom,left:Tt.left},screenTop:r-i}});let Ml,wa=!0;function Hd(){wa&&(Ml=RL())}const NL=it("getDeviceInfo",()=>{Hd();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:s,deviceOrientation:i,deviceType:a,osname:l,osversion:c}=Ml;return pe({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:AL(),deviceOrientation:i,deviceType:a,model:o,platform:r,system:s,osName:l?l.toLowerCase():void 0,osVersion:c})}),DL=it("getAppBaseInfo",()=>{Hd();const{theme:e,language:t,browserName:n,browserVersion:o}=Ml;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},{})}),kn=it("getSystemInfoSync",()=>{wa=!0,Hd(),wa=!1;const e=ML(),t=NL(),n=DL();wa=!0;const{ua:o,browserName:r,browserVersion:s,osname:i,osversion:a}=Ml,l=pe(e,t,n,{ua:o,browserName:r,browserVersion:s,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:i.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,uS(l)}),$L=Ge("getSystemInfo",(e,{resolve:t})=>t(kn()));function BL(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const FL=Ge("getNetworkType",(e,{resolve:t})=>{const n=BL();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 UL=(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 qL=Ge(mE,(e,t)=>UL(void 0,[e,t],function*({data:n},{resolve:o,reject:r}){try{yield navigator.clipboard.writeText(n),o()}catch(s){VL(n,o,r)}}),vE,yE);function VL(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 HL(e){const t=["object","string","number","boolean","undefined"];try{const n=Se(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 ct=it(wE,(e,t)=>{const n=typeof t,o=n==="string"?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function WL(e){const t=localStorage&&localStorage.getItem(e);if(!Se(t))throw new Error("data not found");let n=t;try{const o=JSON.parse(t),r=HL(o);r!==void 0&&(n=r)}catch(o){}return n}const st=it(_E,e=>{try{return WL(e)}catch(t){return""}}),Pu=it(bE,e=>{localStorage&&localStorage.removeItem(e)}),jL=it("clearStorageSync",()=>{localStorage&&localStorage.clear()}),E8=Ge(SE,(e,{resolve:t,reject:n})=>{const o=document.activeElement;o&&(o.tagName==="TEXTAREA"||o.tagName==="INPUT")&&(o.blur(),t())}),zL={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"}},Wp="all";function GL(){const t=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!!(t&&t[0]==="micromessenger")}function Wd({count:e,sourceType:t,type:n,extension:o}){L_();const r=document.createElement("input");return r.type="file",Hc(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(s=>{if(n!==Wp){const i=s.replace(".","");return`${n}/${zL[n][i]||i}`}else return GL()?".":s.indexOf(".")===0?s:`.${s}`}).join(","),e&&e>1&&(r.multiple=!0),n!==Wp&&t instanceof Array&&t.length===1&&t[0]==="camera"&&r.setAttribute("capture","camera"),r}let co=null;const KL=Ge(LE,({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:s})=>{xd();const{t:i}=Ce();co&&(document.body.removeChild(co),co=null),co=Wd({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(co),co.addEventListener("cancel",()=>{s("chooseFile:fail cancel")}),co.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 _;Object.defineProperty(h,"path",{get(){return _=_||Xr(h),_}}),f<e&&c.push(h)}}r({get tempFilePaths(){return c.map(({path:d})=>d)},tempFiles:c})}),co.click(),qd()},NE,ME);let uo=null;const YL=Ge(xE,({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{xd();const{t:s}=Ce();uo&&(document.body.removeChild(uo),uo=null),uo=Wd({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(uo),uo.addEventListener("cancel",()=>{r("chooseImage:fail cancel")}),uo.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||Xr(f),h}}),d<e&&l.push(f)}}o({get tempFilePaths(){return l.map(({path:u})=>u)},tempFiles:l})}),uo.click(),qd()},EE,PE),n0={esc:["Esc","Escape"],enter:["Enter"]},XL=Object.keys(n0);function o0(){const e=H(""),t=H(!1),n=o=>{if(t.value)return;const r=XL.find(s=>n0[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 jd(e,t,n){return t.onClose=(...o)=>(t.visible=!1,n.apply(null,o)),mv(tt({setup(){return()=>(me(),_e(e,t,null,16))}}))}function zd(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function r0(e,{onEsc:t,onEnter:n}){const o=H(e.visible),{key:r,disable:s}=o0();return re(()=>e.visible,i=>o.value=i),re(()=>o.value,i=>s.value=!i),On(()=>{const{value:i}=r;i==="esc"?t&&t():i==="enter"&&n&&n()}),o}let ys=0,vc="";function jp(e){let t=ys;ys+=e?1:-1,ys=Math.max(0,ys),ys>0?t===0&&(vc=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=vc,vc="")}function QL(){$e(()=>jp(!0)),qn(()=>jp(!1))}const ZL={src:{type:String,default:""}},eR=Hn({name:"ImageView",props:ZL,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 _=f.target.getBoundingClientRect();o=_.width,r=_.height}function c(f){const _=f.target.getBoundingClientRect();s=_.width,i=_.height,d(f)}function u(f){const h=n*o>s,_=n*r>i;h&&_?t.direction="all":h?t.direction="horizontal":_?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(B_,{style:f,onTouchstart:Zt(c),onTouchmove:Zt(d),onTouchend:Zt(u)},{default:()=>[L(F_,{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 tR(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const nR={urls:{type:Array,default(){return[]}},current:{type:[Number,String],default:0}};function zp(e){let t=typeof e.current=="number"?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const oR=Hn({name:"ImagePreview",props:nR,emits:["close"],setup(e,{emit:t}){QL();const{key:n}=o0(),o=H(null),r=H(zp(e));re(()=>e.current,()=>r.value=zp(e)),re(()=>n.value,c=>{c==="esc"&&i()});let s;$e(()=>{const c=o.value,u=20;let d=0,f=0;c.addEventListener("mousedown",h=>{s=!1,d=h.clientX,f=h.clientY}),c.addEventListener("mouseup",h=>{(Math.abs(h.clientX-d)>u||Math.abs(h.clientY-f)>u)&&(s=!0)})});function i(){s||rt(()=>{t("close")})}function a(c){r.value=c.detail.current}const l={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 c;return L("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[L(OA,{navigation:"auto",current:r.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},tR(c=e.urls.map(u=>L(RA,null,{default:()=>[L(eR,{src:u},null,8,["src"])]})))?c:{default:()=>[c],_:1},8,["current","onChange"]),L("div",{style:l},[gr(qv,"#ffffff",26)],4)],8,["onClick"])}}});let Ps=null,qs;const rR=()=>{Ps=null,rt(()=>{qs==null||qs.unmount(),qs=null})},I8=Ge(DE,(e,{resolve:t})=>{Ps?pe(Ps,e):(Ps=Ie(e),rt(()=>{qs=jd(oR,Ps,rR),qs.mount(zd("u-a-p"))})),t()},BE,$E);let fo=null;const sR=Ge(IE,({sourceType:e,extension:t},{resolve:n,reject:o})=>{xd();const{t:r}=Ce();fo&&(document.body.removeChild(fo),fo=null),fo=Wd({sourceType:e,extension:t,type:"video"}),document.body.appendChild(fo),fo.addEventListener("cancel",()=>{o("chooseVideo:fail cancel")}),fo.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||Xr(this.tempFile),l}});const u=document.createElement("video");if(u.onloadedmetadata!==void 0){const d=Xr(a);u.onloadedmetadata=function(){mp(d),n(pe(c,{duration:u.duration||0,width:u.videoWidth||0,height:u.videoHeight||0}))},setTimeout(()=>{u.onloadedmetadata=null,mp(d),n(c)},300),u.src=d}else n(c)}),fo.click(),qd()},AE,OE),Nl=Cl(FE,({url:e,data:t,header:n={},method:o,dataType:r,responseType:s,enableChunked:i,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const f=lR(n);if(o!=="GET")if(Se(t)||t instanceof ArrayBuffer)d=t;else if(f==="json")try{d=JSON.stringify(t)}catch(_){d=t.toString()}else if(f==="urlencoded"){const _=[];for(const v in t)be(t,v)&&_.push(encodeURIComponent(v)+"="+encodeURIComponent(t[v]));d=_.join("&")}else d=t.toString();let h;if(i){if(typeof window.fetch===void 0||typeof window.AbortController===void 0)throw new Error("fetch or AbortController is not supported in this environment");const _=new AbortController,v=_.signal;h=new Gp(_);const m={method:o,headers:n,body:d,signal:v,credentials:a?"include":"same-origin"},y=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);m.signal.addEventListener("abort",function(){clearTimeout(y),u("abort",{errCode:600003})}),window.fetch(e,m).then(w=>{const p=w.status,g=w.headers,b=w.body,S={};g.forEach((O,P)=>{S[P]=O});const k=iR(S);if(h._emitter.emit("headersReceived",{header:S,statusCode:p,cookies:k}),!b){c({data:"",statusCode:p,header:S,cookies:k});return}const C=b.getReader(),E=[],I=()=>{C.read().then(({done:O,value:P})=>{if(O){const Z=aR(E);let M=s==="text"?new TextDecoder().decode(Z):Z;s==="text"&&(M=Kp(M,s,r)),c({data:M,statusCode:p,header:S,cookies:k});return}const B=P;E.push(B),h._emitter.emit("chunkReceived",{data:B}),I()})};I()},w=>{u(w,{errCode:5})})}else{const _=new XMLHttpRequest;h=new Gp(_),_.open(o,e);for(const m in n)be(n,m)&&_.setRequestHeader(m,n[m]);const v=setTimeout(function(){_.onload=_.onabort=_.onerror=null,h.abort(),u("timeout",{errCode:5})},l);_.responseType=s,_.onload=function(){clearTimeout(v);const m=_.status;let y=s==="text"?_.responseText:_.response;s==="text"&&(y=Kp(y,s,r)),c({data:y,statusCode:m,header:cR(_.getAllResponseHeaders()),cookies:[]})},_.onabort=function(){clearTimeout(v),u("abort",{errCode:600003})},_.onerror=function(){clearTimeout(v),u(void 0,{errCode:5})},_.withCredentials=a,_.send(d)}return h},WE,jE),iR=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];t[0]==="["&&t[t.length-1]==="]"&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r<o.length;r++)o[r].indexOf("Expires=")!==-1||o[r].indexOf("expires=")!==-1?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};function aR(e){const t=e.reduce((r,s)=>r+s.byteLength,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}function lR(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 Gp{constructor(t){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new ld,this._controller=t}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(t){return this._emitter.on("headersReceived",t),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,t),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(t){if(t==null){this._emitter.off("headersReceived");return}if(typeof t=="function"){this._requestOnHeadersReceiveCallbacks.forEach((o,r)=>{o===t&&(this._requestOnHeadersReceiveCallbacks.delete(r),this._emitter.off("headersReceived",t))});return}const n=this._requestOnHeadersReceiveCallbacks.get(t);n&&(this._requestOnHeadersReceiveCallbacks.delete(t),this._emitter.off("headersReceived",n))}onChunkReceived(t){return this._emitter.on("chunkReceived",t),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,t),this._requestOnChunkReceiveCallbackId}offChunkReceived(t){if(t==null){this._emitter.off("chunkReceived");return}if(typeof t=="function"){this._requestOnChunkReceiveCallbacks.forEach((o,r)=>{o===t&&(this._requestOnChunkReceiveCallbacks.delete(r),this._emitter.off("chunkReceived",t))});return}const n=this._requestOnChunkReceiveCallbacks.get(t);n&&(this._requestOnChunkReceiveCallbacks.delete(t),this._emitter.off("chunkReceived",n))}}function cR(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}function Kp(e,t,n){let o=e;if(t==="text"&&n==="json")try{o=JSON.parse(o)}catch(r){}return o}class uR{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 dR=Cl(zE,({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var s,i=new XMLHttpRequest,a=new uR(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||vO(e),o({statusCode:l,tempFilePath:Xr(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},KE,GE);class fR{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 hR=Cl(YE,({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 fR;(!ce(r)||!r.length)&&(n||c("file error"),r=[{name:o,file:t,uri:n}]);function d(f){var h=new XMLHttpRequest,_=new FormData,v;Object.keys(i).forEach(m=>{_.append(m,i[m])}),Object.values(r).forEach(({name:m},y)=>{const w=f[y];_.append(m||"file",w,w.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 w=m.loaded,p=m.total,g=Math.round(w/p*100);y({progress:g,totalBytesSent:w,totalBytesExpectedToSend:p})})},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(_),u._xhr=h)}return Promise.all(r.map(({file:f,uri:h})=>f instanceof Blob?Promise.resolve(I_(f)):E_(h))).then(d).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},JE,XE),ba=[],Yp={open:"",close:"",error:"",message:""};class pR{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(_=>{try{_(h)}catch(v){}}),this===ba[0]&&Yp[l]&&Qe.invokeOnCallback(Yp[l],h),l==="error"||l==="close"){const _=ba.indexOf(this);_>=0&&ba.splice(_,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 Cr(t,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");o.send(n),Cr(t,"sendSocketMessage:ok")}catch(r){Cr(t,{errMsg:`sendSocketMessage:fail ${r}`,errCode:602001})}}close(t={}){const n=this._webSocket;try{const o=t.code||1e3,r=t.reason;Se(r)?n.close(o,r):n.close(o),Cr(t,"closeSocket:ok")}catch(o){Cr(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 gR=Cl(QE,({url:e,protocols:t},{resolve:n,reject:o})=>new pR(e,t,(r,s)=>{if(r){o(r.toString(),{errCode:600009});return}ba.push(s),n()}),eI,ZE),mR=Ge(TE,({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:s})=>{const i=Pi();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===Fr.QQ?e0(`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===Fr.GOOGLE?Nl({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===Fr.AMAP?t0([],()=>{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})=>{OL(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))})},kE,CE),Gd=Ge(rI,(e,{resolve:t,reject:n})=>{let o=!0;return Bt(Ea,{from:e.from||"navigateBack"})===!0&&(o=!1),o?(Pe().$router.go(-e.delta),t()):n(Ea)},aI,gI),Kd=Ge($s,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(!Yr.handledBeforeEntryPageRoutes){vu.push({args:{type:$s,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r});return}return Co({type:$s,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)},iI,dI);function Yd(e){__uniConfig.darkmode&&Qe.on(il,e)}function s0(e){Qe.off(il,e)}function Vs(e){let t={};return __uniConfig.darkmode&&(t=Ia(e,__uniConfig.themeConfig,Rl())),__uniConfig.darkmode?t:e}function i0(e,t){const n=Yn(e),o=n?Ie(Vs(e)):Vs(e);return __uniConfig.darkmode&&n&&re(e,r=>{const s=Vs(r);for(const i in s)o[i]=s[i]}),t&&Yd(t),o}const yR={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},vR=(e,t)=>t.value=yR[e].cancelColor,_R={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:""}},wR=tt({props:_R,setup(e,{emit:t}){const n=H(""),o=()=>i.value=!1,r=()=>(o(),t("close","cancel")),s=()=>(o(),t("close","confirm",n.value)),i=r0(e,{onEsc:r,onEnter:()=>{!e.editable&&s()}}),a=bR(e);return()=>{const{title:l,content:c,showCancel:u,confirmText:d,confirmColor:f,editable:h,placeholderText:_}=e;return n.value=c,L(yl,{name:"uni-fade"},{default:()=>[Xt(L("uni-modal",{onTouchmove:Id},[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:_,value:c,onInput:v=>n.value=v.target.value},null,40,["placeholder","value","onInput"]):L("div",{class:"uni-modal__bd",onTouchmovePassive:zk,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"]),[[Jt,i.value]])]})}}});function bR(e){const t=H(e.cancelColor),n=({theme:o})=>{vR(o,t)};return On(()=>{e.visible?(t.value=e.cancelColor,e.cancelColor==="#000"&&(Rl()==="dark"&&n({theme:"dark"}),Yd(n))):s0(n)}),t}let bo;const SR=Ft(()=>{Qe.on("onHidePopup",()=>bo.visible=!1)});let Eu;function TR(e,t){const n=e==="confirm",o={confirm:n,cancel:e==="cancel"};n&&bo.editable&&(o.content=t),Eu&&Eu(o)}const CR=Ge(II,(e,{resolve:t})=>{SR(),Eu=t,bo?(pe(bo,e),bo.visible=!0):(bo=Ie(e),rt(()=>(jd(wR,bo,TR).mount(zd("u-a-m")),rt(()=>bo.visible=!0))))},OI,AI),kR={title:{type:String,default:""},icon:{default:"success",validator(e){return c_.indexOf(e)!==-1}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Sa="uni-toast__icon",xR={light:"#fff",dark:"rgba(255,255,255,0.9)"},Xp=e=>xR[e],PR=tt({name:"Toast",props:kR,setup(e){wk(),bk();const{Icon:t}=ER(e),n=r0(e,{});return()=>{const{mask:o,duration:r,title:s,image:i}=e;return L(yl,{name:"uni-fade"},{default:()=>[Xt(L("uni-toast",{"data-duration":r},[o?L("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Id},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"]),[[Jt,n.value]])]})}}});function ER(e){const t=H(Xp(Rl())),n=({theme:r})=>t.value=Xp(r);return On(()=>{e.visible?Yd(n):s0(n)}),{Icon:Y(()=>{switch(e.icon){case"success":return L(gr(Xk,t.value,38),{class:Sa});case"error":return L(gr(Jk,t.value,38),{class:Sa});case"loading":return L("i",{class:[Sa,"uni-loading"]},null,2);default:return null}})}}let To,ar="",vs;const IR=cd();function OR(){IR.run(()=>{re([()=>To.visible,()=>To.duration],([e,t])=>{if(e){if(vs&&clearTimeout(vs),ar==="onShowLoading")return;vs=setTimeout(()=>{Xd("onHideToast")},t)}else vs&&clearTimeout(vs)})})}function a0(e){To?pe(To,e):(To=Ie(pe(e,{visible:!1})),rt(()=>{OR(),Qe.on("onHidePopup",()=>Xd("onHidePopup")),jd(PR,To,()=>{}).mount(zd("u-a-t"))})),setTimeout(()=>{To.visible=!0},10)}const Dl=Ge(LI,(e,{resolve:t,reject:n})=>{a0(e),ar="onShowToast",t()},RI,MI),AR={icon:"loading",duration:1e8,image:""},l0=Ge(xI,(e,{resolve:t,reject:n})=>{pe(e,AR),a0(e),ar="onShowLoading",t()},PI,EI),Iu=Ge(vI,(e,{resolve:t,reject:n})=>{Xd("onHideLoading"),t()});function Xd(e){const{t}=Ce();if(!ar)return;let n="";e==="onHideToast"&&ar!=="onShowToast"?n=t("uni.showToast.unpaired"):e==="onHideLoading"&&ar!=="onShowLoading"&&(n=t("uni.showLoading.unpaired")),!n&&(ar="",setTimeout(()=>{To.visible=!1},10))}const LR=Ge(_I,({family:e,source:t,desc:n},{resolve:o,reject:r})=>{t.startsWith('url("')||t.startsWith("url('")?t=`url('${nn(t.substring(5,t.length-2))}')`:t.startsWith("url(")?t=`url('${nn(t.substring(4,t.length-1))}')`:t=nn(t),wS(e,t,n).then(()=>{o()}).catch(s=>{r(`loadFontFace:fail ${s}`)})});function RR(e){document.title=e,Qe.emit(sS,{titleText:e})}function MR(e){function t(){RR(e.navigationBar.titleText)}On(t),vi(t)}function NR(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:s}=e;switch(t){case wI: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 bI:s.loading=!0;break;case SI:s.loading=!1;break;case mu:const{title:d}=n;s.titleText=d;break}o()}const O8=Ge(mu,(e,{resolve:t,reject:n})=>{NR(Ld(),mu,e,t,n)}),A8=Ge(TI,({scrollTop:e,selector:t,duration:n},{resolve:o})=>{bS(t||e||0,n),o()},CI,kI),L8=Ge(up,(e,{resolve:t})=>{Qe.invokeViewMethod(up,{},bi()),t()}),DR="UniTabbarIconFont",$R=Hn({name:"TabBar",setup(){const e=H([]),t=Fd(),n=i0(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})});FR(n,e),BR(n);const o=UR(wl(),n,e),{style:r,borderStyle:s,placeholderStyle:i}=HR(n);return $e(()=>{n.iconfontSrc&&LR({family:DR,source:`url("${n.iconfontSrc}")`})}),()=>{const a=WR(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 BR(e){re(()=>e.shown,t=>{Bv({"--window-bottom":__(t?parseInt(e.height):0)})})}function FR(e,t){H(pe({type:"midButton"},e.midButton));function n(){let o=[];o=e.list.filter(r=>r.visible!==!1),t.value=o}On(n)}function UR(e,t,n){return On(()=>{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=Ks(i);l===__uniRoutes[0].alias&&(l="/"),e.path!==l?Ci({from:"tabBar",url:l,tabBarText:a}):Bt("onTabItemTap",{index:r,text:a,pagePath:i})}}}const qR="#f7f7fa",c0="rgb(0, 0, 0, 0.8)",Jp="rgb(250, 250, 250, 0.8)",VR={dark:c0,light:Jp,extralight:Jp},Qp={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function HR(e){const t=Y(()=>{let r=e.backgroundColor;const s=e.blurEffect;return r||y_&&s&&s!=="none"&&(r=VR[s]),{backgroundColor:r||qR,backdropFilter:s!=="none"?"blur(10px)":s}}),n=Y(()=>{const{borderStyle:r,borderColor:s}=e;return s&&Se(s)?{backgroundColor:s}:{backgroundColor:Qp[r]||Qp.black}}),o=Y(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}function WR(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 jR(c,u,d,f,i,e,a,t)})}function jR(e,t,n,o,r,s,i,a){return L("div",{key:i,class:"uni-tabbar__item",onClick:a(r,i)},[zR(e,t||"",n,o,r,s)],8,["onClick"])}function zR(e,t,n,o,r,s){const{height:i}=s;return L("div",{class:"uni-tabbar__bd",style:{height:i}},[n?KR(n,o||c0,r,s):t&&GR(t,r,s),r.text&&YR(e,r,s),r.redDot&&XR(r.badge)],4)}function GR(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:nn(e)},null,8,["src"])],6)}function KR(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 YR(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 XR(e){const t="uni-tabbar__reddot"+(e?" uni-tabbar__badge":"");return L("div",{class:t},[e],2)}const Sr="0px",JR=Hn({name:"Layout",setup(e,{emit:t}){const n=H(null);ZR();const o=KI(),{layoutState:r,windowState:s}=tM();eM(r,n);const i=oM(),a=QR(i);return()=>{const l=nM(o),c=rM(i);return L("uni-app",{ref:n,class:a.value},[l,c],2)}}});function QR(e){const t=H(!1);return Y(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}function ZR(){$r({"--status-bar-height":Sr,"--top-window-height":Sr,"--window-left":Sr,"--window-right":Sr,"--window-margin":Sr,"--tab-bar-height":Sr})}function eM(e,t){const n=Si();function o(){const r=document.body.clientWidth,s=ki();let i={};if(s.length>0){const c=s[s.length-1];i=_r(c).meta}else{const c=Vv(n.path,!0);c&&(i=c.meta)}const a=parseInt(String((be(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")}))}re([()=>n.path],o),$e(()=>{o(),window.addEventListener("resize",o)})}function tM(){Si();{const e=Ie({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return re(()=>e.marginWidth,t=>$r({"--window-margin":t+"px"})),re(()=>e.leftWindowWidth+e.marginWidth,t=>{$r({"--window-left":t+"px"})}),re(()=>e.rightWindowWidth+e.marginWidth,t=>{$r({"--window-right":t+"px"})}),{layoutState:e,windowState:Y(()=>({}))}}}function nM(e,t,n,o,r,s){return sM(e)}function oM(e){const t=Si(),n=Fd(),o=Y(()=>t.meta.isTabBar&&n.shown);return $r({"--tab-bar-height":n.height}),o}function rM(e){return Xt(L($R,null,null,512),[[Jt,e.value]])}function sM({routeKey:e,isTabBar:t,routeCache:n}){return L(Iv,null,{default:ve(({Component:o})=>[(me(),_e(xT,{matchBy:"key",cache:n},[(me(),_e(Xn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}const R8=Ge(ap,Bd(ap)),Zp="saveFile",M8=Ge(Zp,Bd(Zp)),eg="removeSavedFile",N8=Ge(eg,Bd(eg)),Dt=pe(Rk,{publishHandler(e,t,n){Qe.subscribeHandler(e,t,n)}}),Qe=pe(Tx,{publishHandler(e,t,n){Dt.subscribeHandler(e,t,n)}}),u0={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:qv},iM=Hn({name:"PageHead",setup(){const e=H(null),t=Nd(),n=i0(t.navigationBar,()=>{const i=Vs(t.navigationBar);n.backgroundColor=i.backgroundColor,n.titleColor=i.titleColor}),{clazz:o,style:r}=dM(n),s=fM(t);return()=>{const i=aM(n,t.isQuit),a=tg(s.left),l=tg(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]),lM(n),L("div",{class:"uni-page-head-ft"},[...l])],6),u],8,["uni-page-head-type"])}}});function aM(e,t){if(!t)return L("div",{class:"uni-page-head-btn",onClick:uM},[gr(Ua,e.type==="transparent"?"#fff":e.titleColor,26)],8,["onClick"])}function tg(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?gr(s,a.color,a.fontSize):l?L("span",{style:a},[L("i",{class:"uni-btn-icon",innerHTML:r},null,8,["innerHTML"]),gr(u0.select,"#000",14)],4):L("i",{class:"uni-btn-icon",style:a,innerHTML:r},null,12,["innerHTML"])],14,["onClick","badge-text"]))}function lM(e,t){return cM(e)}function cM({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 uM(){rn().length===1?El({url:"/"}):Gd({from:"backbutton",success(){}})}function dM(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 fM({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=nn(l.fontSrc);let f=a[d];f||(f=`font${Date.now()}`,a[d]=f,qo(()=>Gk("uni-btn-"+f,`@font-face{font-family: "${f}";src: url("${d}") format("truetype")}`))),l.fontFamily=f}const u=hM(e,c,l,i);l.float==="left"?n.push(u):o.push(u)})}return{left:n,right:o}}function hM(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:u0[n.type],badgeText:n.badgeText,iconStyle:r,onClick(){Bt(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 pM=Hn({name:"PageBody",setup(e,t){const o=H(null),r=null,s=H(null);return re(()=>(!1).enablePullDownRefresh,()=>{s.value=(!1).enablePullDownRefresh?r:null},{immediate:!0}),()=>L(ot,null,[!1,L("uni-page-wrapper",Ot({ref:o},s.value),[L("uni-page-body",null,[mt(t.slots,"default")]),null],16)])}}),gM=Hn({name:"Page",setup(e,t){let n=Yx(Dd());const o=n.navigationBar,r={};return MR(n),()=>L("uni-page",{"data-page":n.route,style:r},o.style!=="custom"?[L(iM),ng(t),null]:[ng(t),null])}});function ng(e){return me(),_e(pM,{key:0},{default:ve(()=>[mt(e.slots,"page")]),_:3})}const mM="__UNI__BA8433E",yM="BandhuBuy",vM="1.0.1",_M="101",wM=!1,bM={"flex-direction":"column"},SM={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},TM={mode:"hash",base:"/",assets:"assets",routerBase:"/"},Io={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},CM=void 0,kM=void 0,xM=void 0,PM=void 0,EM=void 0,IM=void 0,OM={},AM="bn",LM="bn",RM=!1,MM={};window.uni={};window.wx={};window.rpx2px=Ti;const og=Object.assign({"./locale/bn.json":Ob,"./locale/en.json":Ab,"./locale/zh-Hans.json":Lb}),Re=Object.assign;window.__uniConfig=Re({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.87"},{appId:mM,appName:yM,appVersion:vM,appVersionCode:_M,async:Io,debug:wM,networkTimeout:SM,sdkConfigs:OM,qqMapKey:CM,bMapKey:kM,googleMapKey:xM,aMapKey:PM,aMapSecurityJsCode:EM,aMapServiceHost:IM,nvue:bM,locale:AM,fallbackLocale:LM,locales:Object.keys(og).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Re(e[n]||(e[n]={}),og[t].default),e},{}),router:TM,darkmode:RM,themeConfig:MM});window.__uniLayout=window.__uniLayout||{};const Me={delay:Io.delay,timeout:Io.timeout,suspensible:Io.suspensible};Io.loading&&(Me.loadingComponent={name:"SystemAsyncLoading",render(){return L(Uy(Io.loading))}});Io.error&&(Me.errorComponent={name:"SystemAsyncError",props:["error"],render(){return L(Uy(Io.error),{error:this.error})}});const d0=()=>Fe(()=>import("./pages-index-index.B7paIbOT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(e=>qe(e.default||e)),NM=Ue(Re({loader:d0},Me)),f0=()=>Fe(()=>import("./pages-bestSellers-bestSellers.BebJM9Y7.js"),__vite__mapDeps([15,16,17,10,11,12,13,2])).then(e=>qe(e.default||e)),DM=Ue(Re({loader:f0},Me)),h0=()=>Fe(()=>import("./pages-forgotPassword-forgotPassword.CQbykpc-.js"),__vite__mapDeps([18,19,2,20])).then(e=>qe(e.default||e)),$M=Ue(Re({loader:h0},Me)),p0=()=>Fe(()=>import("./pages-income-income.D6kNUFey.js"),__vite__mapDeps([21,22,23,24,25,26,27,10,11,12,28,29])).then(e=>qe(e.default||e)),BM=Ue(Re({loader:p0},Me)),g0=()=>Fe(()=>import("./pages-login-login.BN_pJrrd.js"),__vite__mapDeps([30,19,2,20])).then(e=>qe(e.default||e)),FM=Ue(Re({loader:g0},Me)),m0=()=>Fe(()=>import("./pages-mine-addressBook.BaAn-ih9.js"),__vite__mapDeps([31,32,33,8,34,10,11,12,35,36,37])).then(e=>qe(e.default||e)),UM=Ue(Re({loader:m0},Me)),y0=()=>Fe(()=>import("./pages-mine-addressBookOperate.Bp3-3Rc5.js"),__vite__mapDeps([38,39,40,41,42,19,2,10,11,12,35,43])).then(e=>qe(e.default||e)),qM=Ue(Re({loader:y0},Me)),v0=()=>Fe(()=>import("./pages-mine-mine.CQV3wcw8.js"),__vite__mapDeps([44,45,46,10,11,12,36,28])).then(e=>qe(e.default||e)),VM=Ue(Re({loader:v0},Me)),_0=()=>Fe(()=>import("./pages-mine-myFavorite.DaDyk0m9.js"),__vite__mapDeps([47,1,2,10,11,12,35,48])).then(e=>qe(e.default||e)),HM=Ue(Re({loader:_0},Me)),w0=()=>Fe(()=>import("./pages-mine-myProfile.6V4uM41B.js"),__vite__mapDeps([49,45,46,41,42,10,11,2])).then(e=>qe(e.default||e)),WM=Ue(Re({loader:w0},Me)),b0=()=>Fe(()=>import("./pages-mine-setting.CtZfqSfe.js"),__vite__mapDeps([50,41,42,51,52,2])).then(e=>qe(e.default||e)),jM=Ue(Re({loader:b0},Me)),S0=()=>Fe(()=>import("./pages-mine-share.BzRGkoES.js"),__vite__mapDeps([53,20,54])).then(e=>qe(e.default||e)),zM=Ue(Re({loader:S0},Me)),T0=()=>Fe(()=>import("./pages-missionCenter-missionCenter.DrXFTpL4.js"),__vite__mapDeps([55,35,2])).then(e=>qe(e.default||e)),GM=Ue(Re({loader:T0},Me)),C0=()=>Fe(()=>import("./pages-myOrders-myOrders.CJmOyGMX.js"),__vite__mapDeps([56,7,8,9,3,4,57,58,26,27,10,11,12,36,59,60,61])).then(e=>qe(e.default||e)),KM=Ue(Re({loader:C0},Me)),k0=()=>Fe(()=>import("./pages-myOrders-orderDetail.D7uypp0_.js"),__vite__mapDeps([62,3,4,57,58,26,27,10,11,63,36,28,59,60,64,2])).then(e=>qe(e.default||e)),YM=Ue(Re({loader:k0},Me)),x0=()=>Fe(()=>import("./pages-notifications-notifications.DRDgAOcQ.js"),__vite__mapDeps([65,16,17,7,8,9,32,33,34,10,11,12,66])).then(e=>qe(e.default||e)),XM=Ue(Re({loader:x0},Me)),P0=()=>Fe(()=>import("./pages-productDetail-checkOut.LA-u52Yw.js"),__vite__mapDeps([67,10,11,63,36,28,68])).then(e=>qe(e.default||e)),JM=Ue(Re({loader:P0},Me)),E0=()=>Fe(()=>import("./pages-productDetail-productDetail.UHF5T6ZL.js"),__vite__mapDeps([69,16,17,3,4,5,6,10,11,39,40,12,35,36,13,45,46,70])).then(e=>qe(e.default||e)),QM=Ue(Re({loader:E0},Me)),I0=()=>Fe(()=>import("./pages-referEarn-referEarn.CqO0gdmW.js"),__vite__mapDeps([71,16,17,45,46,10,11,12,35,2])).then(e=>qe(e.default||e)),ZM=Ue(Re({loader:I0},Me)),O0=()=>Fe(()=>import("./pages-register-register.YNv3jvoa.js"),__vite__mapDeps([72,19,2,20])).then(e=>qe(e.default||e)),eN=Ue(Re({loader:O0},Me)),A0=()=>Fe(()=>import("./pages-search-search.RqE8J0oY.js"),__vite__mapDeps([73,1,2,16,17,33,10,11,12,13,74])).then(e=>qe(e.default||e)),tN=Ue(Re({loader:A0},Me)),L0=()=>Fe(()=>import("./pages-topChampions-topChampions.DaHv4w82.js"),__vite__mapDeps([75,16,17,45,46,22,23,10,11,12,28,2])).then(e=>qe(e.default||e)),nN=Ue(Re({loader:L0},Me)),R0=()=>Fe(()=>import("./pages-vipMembership-vipMembership.nxQYIjL0.js"),__vite__mapDeps([76,45,46,22,23,35,77])).then(e=>qe(e.default||e)),oN=Ue(Re({loader:R0},Me)),M0=()=>Fe(()=>import("./pages-wallet-frozenRecord.kOpx-_W1.js"),__vite__mapDeps([78,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),rN=Ue(Re({loader:M0},Me)),N0=()=>Fe(()=>import("./pages-wallet-myWallet.GtqLJvlc.js"),__vite__mapDeps([79,24,25,26,27,10,11,12,28,59,60,64,80])).then(e=>qe(e.default||e)),sN=Ue(Re({loader:N0},Me)),D0=()=>Fe(()=>import("./pages-wallet-recharge.BprOpZvF.js"),__vite__mapDeps([81,10,11,28,82])).then(e=>qe(e.default||e)),iN=Ue(Re({loader:D0},Me)),$0=()=>Fe(()=>import("./pages-wallet-rechargeRecord.D57OCera.js"),__vite__mapDeps([83,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),aN=Ue(Re({loader:$0},Me)),B0=()=>Fe(()=>import("./pages-wallet-withdraw.s_hqaD78.js"),__vite__mapDeps([84,16,17,51,52,19,2,28])).then(e=>qe(e.default||e)),lN=Ue(Re({loader:B0},Me)),F0=()=>Fe(()=>import("./pages-wallet-withdrawRecord.JotJ_mEQ.js"),__vite__mapDeps([85,26,27,10,11,12,28,2])).then(e=>qe(e.default||e)),cN=Ue(Re({loader:F0},Me)),U0=()=>Fe(()=>import("./pages-webLink-webLink.BYH39qtk.js"),[]).then(e=>qe(e.default||e)),uN=Ue(Re({loader:U0},Me)),q0=()=>Fe(()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.CPWSbFIh.js"),__vite__mapDeps([86,87])).then(e=>qe(e.default||e)),dN=Ue(Re({loader:q0},Me));function Be(e,t){return me(),_e(gM,null,{page:ve(()=>[L(e,Re({},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(NM,t)}},loader:d0,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(DM,t)}},loader:f0,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($M,t)}},loader:h0,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(BM,t)}},loader:p0,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(FM,t)}},loader:g0,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(UM,t)}},loader:m0,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(qM,t)}},loader:y0,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(VM,t)}},loader:v0,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(HM,t)}},loader:_0,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(WM,t)}},loader:w0,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(jM,t)}},loader:b0,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(zM,t)}},loader:S0,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(GM,t)}},loader:T0,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(KM,t)}},loader:C0,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(YM,t)}},loader:k0,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(XM,t)}},loader:x0,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(JM,t)}},loader:P0,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(QM,t)}},loader:E0,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(ZM,t)}},loader:I0,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(eN,t)}},loader:O0,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(tN,t)}},loader:A0,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(nN,t)}},loader:L0,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(oN,t)}},loader:R0,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(rN,t)}},loader:M0,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(sN,t)}},loader:N0,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(iN,t)}},loader:D0,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(aN,t)}},loader:$0,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(lN,t)}},loader:B0,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(cN,t)}},loader:F0,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(uN,t)}},loader:U0,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(dN,t)}},loader:q0,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 Oo(e,t){return typeof e=="string"?t:e}const zo=(e,t=0)=>(n,o=ht())=>{!ss&&Uo(e,n,o)},V0=zo(Qn,3),fN=zo(Mo,3),hN=zo(Um,1),H0=zo(rs,2),D8=zo(Vr,2),$8=zo(gi,2),B8=zo(id,2),F8=zo(ll,2);/*!
- * @intlify/shared v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const pN=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",as=e=>pN?Symbol(e):e,gN=(e,t,n)=>mN({l:e,k:t,s:n}),mN=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),gn=e=>typeof e=="number"&&isFinite(e),yN=e=>Jd(e)==="[object Date]",Qr=e=>Jd(e)==="[object RegExp]",$l=e=>Oe(e)&&Object.keys(e).length===0;function vN(e,t){}const $t=Object.assign;function rg(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const _N=Object.prototype.hasOwnProperty;function W0(e,t){return _N.call(e,t)}const ut=Array.isArray,mn=e=>typeof e=="function",ye=e=>typeof e=="string",We=e=>typeof e=="boolean",vn=e=>e!==null&&typeof e=="object",wN=Object.prototype.toString,Jd=e=>wN.call(e),Oe=e=>Jd(e)==="[object Object]";/*!
- * @intlify/message-resolver v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const bN=Object.prototype.hasOwnProperty;function SN(e,t){return bN.call(e,t)}const Ta=e=>e!==null&&typeof e=="object",Go=[];Go[0]={w:[0],i:[3,0],"[":[4],o:[7]};Go[1]={w:[1],".":[2],"[":[4],o:[7]};Go[2]={w:[2],i:[3,0],0:[3,0]};Go[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Go[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Go[5]={"'":[4,0],o:8,l:[5,0]};Go[6]={'"':[4,0],o:8,l:[6,0]};const TN=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function CN(e){return TN.test(e)}function kN(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 xN(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 PN(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:CN(t)?kN(t):"*"+t}function EN(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=PN(i),i===!1))return!1;f[1]()}};function h(){const _=e[n+1];if(o===5&&_==="'"||o===6&&_==='"')return n++,a="\\"+_,f[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=xN(s),d=Go[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 sg=new Map;function Ga(e,t){if(!Ta(e))return null;let n=sg.get(t);if(n||(n=EN(t),n&&sg.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 Ou(e){if(!Ta(e))return e;for(const t in e)if(SN(e,t))if(!t.includes("."))Ta(e[t])&&Ou(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]])&&Ou(r[n[o]])}return e}/*!
- * @intlify/shared v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const Pr=e=>typeof e=="number"&&isFinite(e),j0=Object.assign,IN=Array.isArray,_s=e=>typeof e=="function",Or=e=>typeof e=="string",_c=e=>e!==null&&typeof e=="object",z0=Object.prototype.toString,ON=e=>z0.call(e),Ca=e=>ON(e)==="[object Object]",AN=e=>e==null?"":IN(e)||Ca(e)&&e.toString===z0?JSON.stringify(e,null,2):String(e);/*!
- * @intlify/runtime v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const LN=e=>e,RN=e=>"",MN="text",NN=e=>e.length===0?"":e.join(""),DN=AN;function ig(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function $N(e){const t=Pr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Pr(e.named.count)||Pr(e.named.n))?Pr(e.named.count)?e.named.count:Pr(e.named.n)?e.named.n:t:t}function BN(e,t){t.count||(t.count=e),t.n||(t.n=e)}function FN(e={}){const t=e.locale,n=$N(e),o=_c(e.pluralRules)&&Or(t)&&_s(e.pluralRules[t])?e.pluralRules[t]:ig,r=_c(e.pluralRules)&&Or(t)&&_s(e.pluralRules[t])?ig:void 0,s=m=>m[o(n,m.length,r)],i=e.list||[],a=m=>i[m],l=e.named||{};Pr(e.pluralIndex)&&BN(n,l);const c=m=>l[m];function u(m){const y=_s(e.messages)?e.messages(m):_c(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):RN)}const d=m=>e.modifiers?e.modifiers[m]:LN,f=Ca(e.processor)&&_s(e.processor.normalize)?e.processor.normalize:NN,h=Ca(e.processor)&&_s(e.processor.interpolate)?e.processor.interpolate:DN,_=Ca(e.processor)&&Or(e.processor.type)?e.processor.type:MN,v={list:a,named:c,plural:s,linked:(m,y)=>{const w=u(m)(v);return Or(y)?d(y)(w):w},message:u,type:_,interpolate:h,normalize:f};return v}/*!
- * @intlify/message-compiler v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */function Bl(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 UN(e){throw e}function qN(e,t,n){return{line:e,column:t,offset:n}}function Au(e,t,n){return{start:e,end:t}}const jn=" ",VN="\r",Mt=`
- `,HN="\u2028",WN="\u2029";function jN(e){const t=e;let n=0,o=1,r=1,s=0;const i=k=>t[k]===VN&&t[k+1]===Mt,a=k=>t[k]===Mt,l=k=>t[k]===WN,c=k=>t[k]===HN,u=k=>i(k)||a(k)||l(k)||c(k),d=()=>n,f=()=>o,h=()=>r,_=()=>s,v=k=>i(k)||l(k)||c(k)?Mt:t[k],m=()=>v(n),y=()=>v(n+s);function w(){return s=0,u(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}function p(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,o=1,r=1,s=0}function b(k=0){s=k}function S(){const k=n+s;for(;k!==n;)w();s=0}return{index:d,line:f,column:h,peekOffset:_,charAt:v,currentChar:m,currentPeek:y,next:w,peek:p,reset:g,resetPeek:b,skipToPeek:S}}const ho=void 0,ag="'",zN="tokenizer";function GN(e,t={}){const n=t.location!==!1,o=jN(e),r=()=>o.index(),s=()=>qN(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(A,N,T,...x){const R=c();if(N.column+=T,N.offset+=T,u){const q=Au(R.startLoc,N),j=Bl(A,q,{domain:zN,args:x});u(j)}}function f(A,N,T){A.endLoc=s(),A.currentType=N;const x={type:N};return n&&(x.loc=Au(A.startLoc,A.endLoc)),T!=null&&(x.value=T),x}const h=A=>f(A,14);function _(A,N){return A.currentChar()===N?(A.next(),N):(d(0,s(),0,N),"")}function v(A){let N="";for(;A.currentPeek()===jn||A.currentPeek()===Mt;)N+=A.currentPeek(),A.peek();return N}function m(A){const N=v(A);return A.skipToPeek(),N}function y(A){if(A===ho)return!1;const N=A.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function w(A){if(A===ho)return!1;const N=A.charCodeAt(0);return N>=48&&N<=57}function p(A,N){const{currentType:T}=N;if(T!==2)return!1;v(A);const x=y(A.currentPeek());return A.resetPeek(),x}function g(A,N){const{currentType:T}=N;if(T!==2)return!1;v(A);const x=A.currentPeek()==="-"?A.peek():A.currentPeek(),R=w(x);return A.resetPeek(),R}function b(A,N){const{currentType:T}=N;if(T!==2)return!1;v(A);const x=A.currentPeek()===ag;return A.resetPeek(),x}function S(A,N){const{currentType:T}=N;if(T!==8)return!1;v(A);const x=A.currentPeek()===".";return A.resetPeek(),x}function k(A,N){const{currentType:T}=N;if(T!==9)return!1;v(A);const x=y(A.currentPeek());return A.resetPeek(),x}function C(A,N){const{currentType:T}=N;if(!(T===8||T===12))return!1;v(A);const x=A.currentPeek()===":";return A.resetPeek(),x}function E(A,N){const{currentType:T}=N;if(T!==10)return!1;const x=()=>{const q=A.currentPeek();return q==="{"?y(A.peek()):q==="@"||q==="%"||q==="|"||q===":"||q==="."||q===jn||!q?!1:q===Mt?(A.peek(),x()):y(q)},R=x();return A.resetPeek(),R}function I(A){v(A);const N=A.currentPeek()==="|";return A.resetPeek(),N}function O(A,N=!0){const T=(R=!1,q="",j=!1)=>{const J=A.currentPeek();return J==="{"?q==="%"?!1:R:J==="@"||!J?q==="%"?!0:R:J==="%"?(A.peek(),T(R,"%",!0)):J==="|"?q==="%"||j?!0:!(q===jn||q===Mt):J===jn?(A.peek(),T(!0,jn,j)):J===Mt?(A.peek(),T(!0,Mt,j)):!0},x=T();return N&&A.resetPeek(),x}function P(A,N){const T=A.currentChar();return T===ho?ho:N(T)?(A.next(),T):null}function B(A){return P(A,T=>{const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36})}function Z(A){return P(A,T=>{const x=T.charCodeAt(0);return x>=48&&x<=57})}function M(A){return P(A,T=>{const x=T.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102})}function z(A){let N="",T="";for(;N=Z(A);)T+=N;return T}function te(A){let N="";for(;;){const T=A.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(O(A))N+=T,A.next();else break;else if(T===jn||T===Mt)if(O(A))N+=T,A.next();else{if(I(A))break;N+=T,A.next()}else N+=T,A.next()}return N}function X(A){m(A);let N="",T="";for(;N=B(A);)T+=N;return A.currentChar()===ho&&d(6,s(),0),T}function D(A){m(A);let N="";return A.currentChar()==="-"?(A.next(),N+=`-${z(A)}`):N+=z(A),A.currentChar()===ho&&d(6,s(),0),N}function ee(A){m(A),_(A,"'");let N="",T="";const x=q=>q!==ag&&q!==Mt;for(;N=P(A,x);)N==="\\"?T+=U(A):T+=N;const R=A.currentChar();return R===Mt||R===ho?(d(2,s(),0),R===Mt&&(A.next(),_(A,"'")),T):(_(A,"'"),T)}function U(A){const N=A.currentChar();switch(N){case"\\":case"'":return A.next(),`\\${N}`;case"u":return K(A,N,4);case"U":return K(A,N,6);default:return d(3,s(),0,N),""}}function K(A,N,T){_(A,N);let x="";for(let R=0;R<T;R++){const q=M(A);if(!q){d(4,s(),0,`\\${N}${x}${A.currentChar()}`);break}x+=q}return`\\${N}${x}`}function G(A){m(A);let N="",T="";const x=R=>R!=="{"&&R!=="}"&&R!==jn&&R!==Mt;for(;N=P(A,x);)T+=N;return T}function V(A){let N="",T="";for(;N=B(A);)T+=N;return T}function Ze(A){const N=(T=!1,x)=>{const R=A.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||!R||R===jn?x:R===Mt?(x+=R,A.next(),N(T,x)):(x+=R,A.next(),N(!0,x))};return N(!1,"")}function je(A){m(A);const N=_(A,"|");return m(A),N}function W(A,N){let T=null;switch(A.currentChar()){case"{":return N.braceNest>=1&&d(8,s(),0),A.next(),T=f(N,2,"{"),m(A),N.braceNest++,T;case"}":return N.braceNest>0&&N.currentType===2&&d(7,s(),0),A.next(),T=f(N,3,"}"),N.braceNest--,N.braceNest>0&&m(A),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),T;case"@":return N.braceNest>0&&d(6,s(),0),T=oe(A,N)||h(N),N.braceNest=0,T;default:let R=!0,q=!0,j=!0;if(I(A))return N.braceNest>0&&d(6,s(),0),T=f(N,1,je(A)),N.braceNest=0,N.inLinked=!1,T;if(N.braceNest>0&&(N.currentType===5||N.currentType===6||N.currentType===7))return d(6,s(),0),N.braceNest=0,ne(A,N);if(R=p(A,N))return T=f(N,5,X(A)),m(A),T;if(q=g(A,N))return T=f(N,6,D(A)),m(A),T;if(j=b(A,N))return T=f(N,7,ee(A)),m(A),T;if(!R&&!q&&!j)return T=f(N,13,G(A)),d(1,s(),0,T.value),m(A),T;break}return T}function oe(A,N){const{currentType:T}=N;let x=null;const R=A.currentChar();switch((T===8||T===9||T===12||T===10)&&(R===Mt||R===jn)&&d(9,s(),0),R){case"@":return A.next(),x=f(N,8,"@"),N.inLinked=!0,x;case".":return m(A),A.next(),f(N,9,".");case":":return m(A),A.next(),f(N,10,":");default:return I(A)?(x=f(N,1,je(A)),N.braceNest=0,N.inLinked=!1,x):S(A,N)||C(A,N)?(m(A),oe(A,N)):k(A,N)?(m(A),f(N,12,V(A))):E(A,N)?(m(A),R==="{"?W(A,N)||x:f(N,11,Ze(A))):(T===8&&d(9,s(),0),N.braceNest=0,N.inLinked=!1,ne(A,N))}}function ne(A,N){let T={type:14};if(N.braceNest>0)return W(A,N)||h(N);if(N.inLinked)return oe(A,N)||h(N);const x=A.currentChar();switch(x){case"{":return W(A,N)||h(N);case"}":return d(5,s(),0),A.next(),f(N,3,"}");case"@":return oe(A,N)||h(N);default:if(I(A))return T=f(N,1,je(A)),N.braceNest=0,N.inLinked=!1,T;if(O(A))return f(N,0,te(A));if(x==="%")return A.next(),f(N,4,"%");break}return T}function ue(){const{currentType:A,offset:N,startLoc:T,endLoc:x}=l;return l.lastType=A,l.lastOffset=N,l.lastStartLoc=T,l.lastEndLoc=x,l.offset=r(),l.startLoc=s(),o.currentChar()===ho?f(l,14):ne(o,l)}return{nextToken:ue,currentOffset:r,currentPosition:s,context:c}}const KN="parser",YN=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function XN(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 JN(e={}){const t=e.location!==!1,{onError:n}=e;function o(y,w,p,g,...b){const S=y.currentPosition();if(S.offset+=g,S.column+=g,n){const k=Au(p,S),C=Bl(w,k,{domain:KN,args:b});n(C)}}function r(y,w,p){const g={type:y,start:w,end:w};return t&&(g.loc={start:p,end:p}),g}function s(y,w,p,g){y.end=w,t&&y.loc&&(y.loc.end=p)}function i(y,w){const p=y.context(),g=r(3,p.offset,p.startLoc);return g.value=w,s(g,y.currentOffset(),y.currentPosition()),g}function a(y,w){const p=y.context(),{lastOffset:g,lastStartLoc:b}=p,S=r(5,g,b);return S.index=parseInt(w,10),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function l(y,w){const p=y.context(),{lastOffset:g,lastStartLoc:b}=p,S=r(4,g,b);return S.key=w,y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function c(y,w){const p=y.context(),{lastOffset:g,lastStartLoc:b}=p,S=r(9,g,b);return S.value=w.replace(YN,XN),y.nextToken(),s(S,y.currentOffset(),y.currentPosition()),S}function u(y){const w=y.nextToken(),p=y.context(),{lastOffset:g,lastStartLoc:b}=p,S=r(8,g,b);return w.type!==12?(o(y,11,p.lastStartLoc,0),S.value="",s(S,g,b),{nextConsumeToken:w,node:S}):(w.value==null&&o(y,13,p.lastStartLoc,0,Mn(w)),S.value=w.value||"",s(S,y.currentOffset(),y.currentPosition()),{node:S})}function d(y,w){const p=y.context(),g=r(7,p.offset,p.startLoc);return g.value=w,s(g,y.currentOffset(),y.currentPosition()),g}function f(y){const w=y.context(),p=r(6,w.offset,w.startLoc);let g=y.nextToken();if(g.type===9){const b=u(y);p.modifier=b.node,g=b.nextConsumeToken||y.nextToken()}switch(g.type!==10&&o(y,13,w.lastStartLoc,0,Mn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 11:g.value==null&&o(y,13,w.lastStartLoc,0,Mn(g)),p.key=d(y,g.value||"");break;case 5:g.value==null&&o(y,13,w.lastStartLoc,0,Mn(g)),p.key=l(y,g.value||"");break;case 6:g.value==null&&o(y,13,w.lastStartLoc,0,Mn(g)),p.key=a(y,g.value||"");break;case 7:g.value==null&&o(y,13,w.lastStartLoc,0,Mn(g)),p.key=c(y,g.value||"");break;default:o(y,12,w.lastStartLoc,0);const b=y.context(),S=r(7,b.offset,b.startLoc);return S.value="",s(S,b.offset,b.startLoc),p.key=S,s(p,b.offset,b.startLoc),{nextConsumeToken:g,node:p}}return s(p,y.currentOffset(),y.currentPosition()),{node:p}}function h(y){const w=y.context(),p=w.currentType===1?y.currentOffset():w.offset,g=w.currentType===1?w.endLoc:w.startLoc,b=r(2,p,g);b.items=[];let S=null;do{const E=S||y.nextToken();switch(S=null,E.type){case 0:E.value==null&&o(y,13,w.lastStartLoc,0,Mn(E)),b.items.push(i(y,E.value||""));break;case 6:E.value==null&&o(y,13,w.lastStartLoc,0,Mn(E)),b.items.push(a(y,E.value||""));break;case 5:E.value==null&&o(y,13,w.lastStartLoc,0,Mn(E)),b.items.push(l(y,E.value||""));break;case 7:E.value==null&&o(y,13,w.lastStartLoc,0,Mn(E)),b.items.push(c(y,E.value||""));break;case 8:const I=f(y);b.items.push(I.node),S=I.nextConsumeToken||null;break}}while(w.currentType!==14&&w.currentType!==1);const k=w.currentType===1?w.lastOffset:y.currentOffset(),C=w.currentType===1?w.lastEndLoc:y.currentPosition();return s(b,k,C),b}function _(y,w,p,g){const b=y.context();let S=g.items.length===0;const k=r(1,w,p);k.cases=[],k.cases.push(g);do{const C=h(y);S||(S=C.items.length===0),k.cases.push(C)}while(b.currentType!==14);return S&&o(y,10,p,0),s(k,y.currentOffset(),y.currentPosition()),k}function v(y){const w=y.context(),{offset:p,startLoc:g}=w,b=h(y);return w.currentType===14?b:_(y,p,g,b)}function m(y){const w=GN(y,j0({},e)),p=w.context(),g=r(0,p.offset,p.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=v(w),p.currentType!==14&&o(w,13,p.lastStartLoc,0,y[p.offset]||""),s(g,w.currentOffset(),w.currentPosition()),g}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 QN(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function lg(e,t){for(let n=0;n<e.length;n++)Qd(e[n],t)}function Qd(e,t){switch(e.type){case 1:lg(e.cases,t),t.helper("plural");break;case 2:lg(e.items,t);break;case 6:Qd(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 ZN(e,t={}){const n=QN(e);n.helper("normalize"),e.body&&Qd(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function eD(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(_,v){s.code+=_}function l(_,v=!0){const m=v?o:"";a(r?m+" ".repeat(_):m)}function c(_=!0){const v=++s.indentLevel;_&&l(v)}function u(_=!0){const v=--s.indentLevel;_&&l(v)}function d(){l(s.indentLevel)}return{context:i,push:a,indent:c,deindent:u,newline:d,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function tD(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zr(e,t.key),t.modifier&&(e.push(", "),Zr(e,t.modifier)),e.push(")")}function nD(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&&(Zr(e,t.items[s]),s!==r-1);s++)e.push(", ");e.deindent(o()),e.push("])")}function oD(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&&(Zr(e,t.cases[s]),s!==r-1);s++)e.push(", ");e.deindent(o()),e.push("])")}}function rD(e,t){t.body?Zr(e,t.body):e.push("null")}function Zr(e,t){const{helper:n}=e;switch(t.type){case 0:rD(e,t);break;case 1:oD(e,t);break;case 2:nD(e,t);break;case 6:tD(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 sD=(e,t={})=>{const n=Or(t.mode)?t.mode:"normal",o=Or(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
- `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=eD(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 "),Zr(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 iD(e,t={}){const n=j0({},t),r=JN(n).parse(e);return ZN(r,n),sD(r,n)}/*!
- * @intlify/core-base v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const aD="9.1.9",Fl=-1,cg="";function lD(){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 G0;function cD(e){G0=e}let ug=0;function uD(e={}){const t=ye(e.version)?e.version:aD,n=ye(e.locale)?e.locale:"en-US",o=ut(e.fallbackLocale)||Oe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=Oe(e.messages)?e.messages:{[n]:{}},s=Oe(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=Oe(e.numberFormats)?e.numberFormats:{[n]:{}},a=$t({},e.modifiers||{},lD()),l=e.pluralRules||{},c=mn(e.missing)?e.missing:null,u=We(e.missingWarn)||Qr(e.missingWarn)?e.missingWarn:!0,d=We(e.fallbackWarn)||Qr(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,h=!!e.unresolving,_=mn(e.postTranslation)?e.postTranslation:null,v=Oe(e.processor)?e.processor:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,w=mn(e.messageCompiler)?e.messageCompiler:G0,p=mn(e.onWarn)?e.onWarn:vN,g=e,b=vn(g.__datetimeFormatters)?g.__datetimeFormatters:new Map,S=vn(g.__numberFormatters)?g.__numberFormatters:new Map,k=vn(g.__meta)?g.__meta:{};return ug++,{version:t,cid:ug,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:_,processor:v,warnHtmlMessage:m,escapeParameter:y,messageCompiler:w,onWarn:p,__datetimeFormatters:b,__numberFormatters:S,__meta:k}}function Zd(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 Ei(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(;ut(s);)s=dg(r,s,t);const i=ut(t)?t:Oe(t)?t.default?t.default:null:t;s=ye(i)?[i]:i,ut(s)&&dg(r,s,!1),o.__localeChainCache.set(n,r)}return r}function dg(e,t,n){let o=!0;for(let r=0;r<t.length&&We(o);r++){const s=t[r];ye(s)&&(o=dD(e,t[r],n))}return o}function dD(e,t,n){let o;const r=t.split("-");do{const s=r.join("-");o=fD(e,s,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function fD(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),(ut(n)||Oe(n))&&n[r]&&(o=n[r])}return o}function ws(e,t,n){const o=e;o.__localeChainCache=new Map,Ei(e,n,t)}const hD=e=>e;let fg=Object.create(null);function pD(e,t={}){{const o=(t.onCacheKey||hD)(e),r=fg[o];if(r)return r;let s=!1;const i=t.onError||UN;t.onError=c=>{s=!0,i(c)};const{code:a}=iD(e,t),l=new Function(`return ${a}`)();return s?l:fg[o]=l}}function Ar(e){return Bl(e,null,void 0)}const hg=()=>"",fr=e=>mn(e);function pg(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,fallbackLocale:s,messages:i}=e,[a,l]=Lu(...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:"",_=n||h!=="",v=ye(l.locale)?l.locale:e.locale;d&&gD(l);let[m,y,w]=f?[a,v,i[v]||{}]:mD(e,a,v,s,u,c),p=a;if(!f&&!(ye(m)||fr(m))&&_&&(m=h,p=m),!f&&(!(ye(m)||fr(m))||!ye(y)))return r?Fl:a;let g=!1;const b=()=>{g=!0},S=fr(m)?m:K0(e,a,y,m,p,b);if(g)return m;const k=_D(e,y,w,l),C=FN(k),E=yD(e,S,C);return o?o(E):E}function gD(e){ut(e.list)?e.list=e.list.map(t=>ye(t)?rg(t):t):vn(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=rg(e.named[t]))})}function mD(e,t,n,o,r,s){const{messages:i,onWarn:a}=e,l=Ei(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)||mn(d)));h++){const _=Zd(e,t,u,s,f);_!==t&&(d=_)}return[d,u,c]}function K0(e,t,n,o,r,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(fr(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}const l=i(o,vD(e,n,r,o,a,s));return l.locale=n,l.key=t,l.source=o,l}function yD(e,t,n){return t(n)}function Lu(...e){const[t,n,o]=e,r={};if(!ye(t)&&!gn(t)&&!fr(t))throw Ar(14);const s=gn(t)?String(t):(fr(t),t);return gn(n)?r.plural=n:ye(n)?r.default=n:Oe(n)&&!$l(n)?r.named=n:ut(n)&&(r.list=n),gn(o)?r.plural=o:ye(o)?r.default=o:Oe(o)&&$t(r,o),[s,r]}function vD(e,t,n,o,r,s){return{warnHtmlMessage:r,onError:i=>{throw s&&s(i),i},onCacheKey:i=>gN(t,n,i)}}function _D(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=K0(e,l,t,c,l,()=>{u=!0});return u?hg:f}else return fr(c)?c:hg}};return e.processor&&(a.processor=e.processor),o.list&&(a.list=o.list),o.named&&(a.named=o.named),gn(o.plural)&&(a.pluralIndex=o.plural),a}function gg(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__datetimeFormatters:i}=e,[a,l,c,u]=Ru(...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,_=Ei(e,r,h);if(!ye(a)||a==="")return new Intl.DateTimeFormat(h).format(l);let v={},m,y=null;const w="datetime format";for(let b=0;b<_.length&&(m=_[b],v=n[m]||{},y=v[a],!Oe(y));b++)Zd(e,a,m,d,w);if(!Oe(y)||!ye(m))return o?Fl:a;let p=`${m}__${a}`;$l(u)||(p=`${p}__${JSON.stringify(u)}`);let g=i.get(p);return g||(g=new Intl.DateTimeFormat(m,$t({},y,u)),i.set(p,g)),f?g.formatToParts(l):g.format(l)}function Ru(...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(yN(t)){if(isNaN(t.getTime()))throw Ar(15);a=t}else if(gn(t))a=t;else throw Ar(14);return ye(n)?s.key=n:Oe(n)&&(s=n),ye(o)?s.locale=o:Oe(o)&&(i=o),Oe(r)&&(i=r),[s.key||"",a,s,i]}function mg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function yg(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s}=e,{__numberFormatters:i}=e,[a,l,c,u]=Mu(...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,_=Ei(e,r,h);if(!ye(a)||a==="")return new Intl.NumberFormat(h).format(l);let v={},m,y=null;const w="number format";for(let b=0;b<_.length&&(m=_[b],v=n[m]||{},y=v[a],!Oe(y));b++)Zd(e,a,m,d,w);if(!Oe(y)||!ye(m))return o?Fl:a;let p=`${m}__${a}`;$l(u)||(p=`${p}__${JSON.stringify(u)}`);let g=i.get(p);return g||(g=new Intl.NumberFormat(m,$t({},y,u)),i.set(p,g)),f?g.formatToParts(l):g.format(l)}function Mu(...e){const[t,n,o,r]=e;let s={},i={};if(!gn(t))throw Ar(14);const a=t;return ye(n)?s.key=n:Oe(n)&&(s=n),ye(o)?s.locale=o:Oe(o)&&(i=o),Oe(r)&&(i=r),[s.key||"",a,s,i]}function vg(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}/*!
- * vue-i18n v9.1.9
- * (c) 2021 kazuya kawaguchi
- * Released under the MIT License.
- */const wD="9.1.9";function It(e,...t){return Bl(e,null,void 0)}const Nu=as("__transrateVNode"),Du=as("__datetimeParts"),$u=as("__numberParts"),Y0=as("__setPluralRules"),X0=as("__injectWithOption");let _g=0;function wg(e){return(t,n,o,r)=>e(n,o,ht()||void 0,r)}function ef(e,t){const{messages:n,__i18n:o}=t,r=Oe(n)?n:ut(o)?{}:{[e]:{}};if(ut(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)W0(r,s)&&Ou(r[s]);return r}const Qi=e=>!vn(e)||ut(e);function Ka(e,t){if(Qi(e)||Qi(t))throw It(20);for(const n in e)W0(e,n)&&(Qi(e[n])||Qi(t[n])?t[n]=e[n]:Ka(e[n],t[n]))}function tf(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)||ut(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),i=H(ef(r.value,e)),a=H(Oe(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),l=H(Oe(e.numberFormats)?e.numberFormats:{[r.value]:{}});let c=t?t.missingWarn:We(e.missingWarn)||Qr(e.missingWarn)?e.missingWarn:!0,u=t?t.fallbackWarn:We(e.fallbackWarn)||Qr(e.fallbackWarn)?e.fallbackWarn:!0,d=t?t.fallbackRoot:We(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.fallbackFormat,h=mn(e.missing)?e.missing:null,_=mn(e.missing)?wg(e.missing):null,v=mn(e.postTranslation)?e.postTranslation:null,m=We(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const w=t?t.modifiers:Oe(e.modifiers)?e.modifiers:{};let p=e.pluralRules||t&&t.pluralRules,g;function b(){return uD({version:wD,locale:r.value,fallbackLocale:s.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:w,pluralRules:p,missing:_===null?void 0:_,missingWarn:c,fallbackWarn:u,fallbackFormat:f,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:y,__datetimeFormatters:Oe(g)?g.__datetimeFormatters:void 0,__numberFormatters:Oe(g)?g.__numberFormatters:void 0,__v_emitter:Oe(g)?g.__v_emitter:void 0,__meta:{framework:"vue"}})}g=b(),ws(g,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=$,g.locale=r.value}}),C=Y({get:()=>s.value,set:$=>{s.value=$,g.fallbackLocale=s.value,ws(g,r.value,$)}}),E=Y(()=>i.value),I=Y(()=>a.value),O=Y(()=>l.value);function P(){return mn(v)?v:null}function B($){v=$,g.postTranslation=$}function Z(){return h}function M($){$!==null&&(_=wg($)),h=$,g.missing=_}function z($,F,ae,fe,ge,Te){S();let xe;if(xe=$(g),gn(xe)&&xe===Fl){const[Ve,Ke]=F();return t&&d?fe(t):ge(Ve)}else{if(Te(xe))return xe;throw It(14)}}function te(...$){return z(F=>pg(F,...$),()=>Lu(...$),"translate",F=>F.t(...$),F=>F,F=>ye(F))}function X(...$){const[F,ae,fe]=$;if(fe&&!vn(fe))throw It(15);return te(F,ae,$t({resolvedMessage:!0},fe||{}))}function D(...$){return z(F=>gg(F,...$),()=>Ru(...$),"datetime format",F=>F.d(...$),()=>cg,F=>ye(F))}function ee(...$){return z(F=>yg(F,...$),()=>Mu(...$),"number format",F=>F.n(...$),()=>cg,F=>ye(F))}function U($){return $.map(F=>ye(F)?L(jr,null,F,0):F)}const G={normalize:U,interpolate:$=>$,type:"vnode"};function V(...$){return z(F=>{let ae;const fe=F;try{fe.processor=G,ae=pg(fe,...$)}finally{fe.processor=null}return ae},()=>Lu(...$),"translate",F=>F[Nu](...$),F=>[L(jr,null,F,0)],F=>ut(F))}function Ze(...$){return z(F=>yg(F,...$),()=>Mu(...$),"number format",F=>F[$u](...$),()=>[],F=>ye(F)||ut(F))}function je(...$){return z(F=>gg(F,...$),()=>Ru(...$),"datetime format",F=>F[Du](...$),()=>[],F=>ye(F)||ut(F))}function W($){p=$,g.pluralRules=p}function oe($,F){const ae=ye(F)?F:r.value,fe=A(ae);return Ga(fe,$)!==null}function ne($){let F=null;const ae=Ei(g,s.value,r.value);for(let fe=0;fe<ae.length;fe++){const ge=i.value[ae[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 A($){return i.value[$]||{}}function N($,F){i.value[$]=F,g.messages=i.value}function T($,F){i.value[$]=i.value[$]||{},Ka(F,i.value[$]),g.messages=i.value}function x($){return a.value[$]||{}}function R($,F){a.value[$]=F,g.datetimeFormats=a.value,mg(g,$,F)}function q($,F){a.value[$]=$t(a.value[$]||{},F),g.datetimeFormats=a.value,mg(g,$,F)}function j($){return l.value[$]||{}}function J($,F){l.value[$]=F,g.numberFormats=l.value,vg(g,$,F)}function se($,F){l.value[$]=$t(l.value[$]||{},F),g.numberFormats=l.value,vg(g,$,F)}return _g++,t&&(re(t.locale,$=>{o&&(r.value=$,g.locale=$,ws(g,r.value,s.value))}),re(t.fallbackLocale,$=>{o&&(s.value=$,g.fallbackLocale=$,ws(g,r.value,s.value))})),{id:_g,locale:k,fallbackLocale:C,get inheritLocale(){return o},set inheritLocale($){o=$,$&&t&&(r.value=t.locale.value,s.value=t.fallbackLocale.value,ws(g,r.value,s.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:E,datetimeFormats:I,numberFormats:O,get modifiers(){return w},get pluralRules(){return p||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn($){c=$,g.missingWarn=c},get fallbackWarn(){return u},set fallbackWarn($){u=$,g.fallbackWarn=u},get fallbackRoot(){return d},set fallbackRoot($){d=$},get fallbackFormat(){return f},set fallbackFormat($){f=$,g.fallbackFormat=f},get warnHtmlMessage(){return m},set warnHtmlMessage($){m=$,g.warnHtmlMessage=$},get escapeParameter(){return y},set escapeParameter($){y=$,g.escapeParameter=$},t:te,rt:X,d:D,n:ee,te:oe,tm:ue,getLocaleMessage:A,setLocaleMessage:N,mergeLocaleMessage:T,getDateTimeFormat:x,setDateTimeFormat:R,mergeDateTimeFormat:q,getNumberFormat:j,setNumberFormat:J,mergeNumberFormat:se,getPostTranslationHandler:P,setPostTranslationHandler:B,getMissingHandler:Z,setMissingHandler:M,[Nu]:V,[$u]:Ze,[Du]:je,[Y0]:W,[X0]:e.__injectWithOption}}function bD(e){const t=ye(e.locale)?e.locale:"en-US",n=ye(e.fallbackLocale)||ut(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=mn(e.missing)?e.missing:void 0,r=We(e.silentTranslationWarn)||Qr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=We(e.silentFallbackWarn)||Qr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=We(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Oe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=mn(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 _=e.messages;if(Oe(e.sharedMessages)){const b=e.sharedMessages;_=Object.keys(b).reduce((k,C)=>{const E=k[C]||(k[C]={});return $t(E,b[C]),k},_||{})}const{__i18n:v,__root:m,__injectWithOption:y}=e,w=e.datetimeFormats,p=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:_,flatJson:g,datetimeFormats:w,numberFormats:p,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 Bu(e={}){const t=tf(bD(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 It(15);const u=r;return ye(s)?a.locale=s:ut(s)?l=s:Oe(s)&&(c=s),ut(i)?l=i:Oe(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 It(15);const u=r;return ye(s)?a.locale=s:gn(s)?a.plural=s:ut(s)?l=s:Oe(s)&&(c=s),ye(i)?a.locale=i:ut(i)?l=i:Oe(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 nf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},bg={name:"i18n-t",props:$t({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gn(e)||!isNaN(e)}},nf),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||of({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=SD(t,s),l=r[Nu](e.keypath,a,i),c=$t({},o);return ye(e.tag)||vn(e.tag)?Jn(e.tag,c,l):Jn(ot,c,l)}}};function SD({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 J0(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:vn(e.format)&&(ye(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,f)=>n.includes(f)?$t({},d,{[f]:e.format[f]}):d,{}));const l=o(e.value,i,a);let c=[i.key];ut(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=$t({},s);return ye(e.tag)||vn(e.tag)?Jn(e.tag,u,c):Jn(ot,u,c)}}const TD=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Sg={name:"i18n-n",props:$t({value:{type:Number,required:!0},format:{type:[String,Object]}},nf),setup(e,t){const n=e.i18n||of({useScope:"parent",__useComponent:!0});return J0(e,t,TD,(...o)=>n[$u](...o))}},CD=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],Tg={name:"i18n-d",props:$t({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},nf),setup(e,t){const n=e.i18n||of({useScope:"parent",__useComponent:!0});return J0(e,t,CD,(...o)=>n[Du](...o))}};function kD(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 xD(e){const t=(n,{instance:o,value:r,modifiers:s})=>{if(!o||!o.$)throw It(22);const i=kD(e,o.$),a=PD(r);n.textContent=i.t(...ED(a))};return{beforeMount:t,beforeUpdate:t}}function PD(e){if(ye(e))return{path:e};if(Oe(e)){if(!("path"in e))throw It(19,"path");return e}else throw It(20)}function ED(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,i={},a=o||{};return ye(n)&&(i.locale=n),gn(r)&&(i.plural=r),gn(s)&&(i.plural=s),[t,a,i]}function ID(e,t,...n){const o=Oe(n[0])?n[0]:{},r=!!o.useI18nComponentName;(We(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":bg.name,bg),e.component(Sg.name,Sg),e.component(Tg.name,Tg)),e.directive("t",xD(t))}function OD(e,t,n){return{beforeCreate(){const o=ht();if(!o)throw It(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=Cg(e,s):(s.__injectWithOption=!0,this.$i18n=Bu(s))}else r.__i18n?this===this.$root?this.$i18n=Cg(e,r):this.$i18n=Bu({__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=ht();if(!o)throw It(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 Cg(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[Y0](t.pluralizationRules||e.pluralizationRules);const n=ef(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 AD(e={}){const t=We(e.legacy)?e.legacy:!0,n=!!e.globalInjection,o=new Map,r=t?Bu(e):tf(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&&DD(l,i.global),ID(l,i,...c),t&&l.mixin(OD(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 of(e={}){const t=ht();if(t==null)throw It(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw It(17);const n=De(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw It(22);const o=n.mode==="composition"?n.global:n.global.__composer,r=$l(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(r==="global"){let a=vn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=ef(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])}),vn(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(u=>{o.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(vn(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=LD(n,t,e.__useComponent);return a==null&&(a=o),a}if(n.mode==="legacy")throw It(18);const s=n;let i=s.__getInstance(t);if(i==null){const a=t.type,l=$t({},e);a.__i18n&&(l.__i18n=a.__i18n),o&&(l.__root=o),i=tf(l),RD(s,t),s.__setInstance(t,i)}return i}function LD(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[X0]&&(o=null)}if(o!=null||r===s)break;s=s.parent}return o}function RD(e,t,n){$e(()=>{},t),qn(()=>{e.__deleteInstance(t)},t)}const MD=["locale","fallbackLocale","availableLocales"],ND=["t","rt","d","n","tm"];function DD(e,t){const n=Object.create(null);MD.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw It(22);const s=ft(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,ND.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw It(22);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}cD(pD);class Fu{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 U8(){return po()+po()+po()+po()+po()+po()+po()+po()}function po(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function xn(e){return Number.isNaN(Number(e))?`${e}`:`${e}px`}function es(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 q8=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,V8=(e,t="value")=>{if(e<0)throw new Error(`${t} shouldn't be less than zero`)};function $D(e,t,n){const o=(e<<16|t<<8|n).toString(16);return"#"+"0".repeat(Math.max(0,6-o.length))+o}function kg(e){const t=[];for(let n=1;n<7;n+=2)t.push(parseInt("0x"+e.slice(n,n+2),16));return t}const BD=(e,t,n=2)=>{const o=kg(e),r=kg(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($D(parseInt(String(s*c+o[0])),parseInt(String(i*c+o[1])),parseInt(String(a*c+o[2]))));return l},H8=(e,t,n)=>Math.min(Math.max(e,t),n),FD=(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},wc={id:1e3};function UD(e,t,n,o){return new Promise((r,s)=>{let i=null;n?i=op().in(n):i=op();const a=t?"selectAll":"select",l=c=>{t&&Q0(c)&&c.length>0||!t&&c?r(c):s(new Error("No nodes found"))};i[a](e).boundingClientRect(l).exec()})}function qD(e){return e.replace(/[A-Z]/g,function(n){return"-"+n}).toLowerCase()}function VD(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function Q0(e){return typeof Array.isArray=="function"?Array.isArray(e):Object.prototype.toString.call(e)==="[object Array]"}function Tn(e){return Ya(e)==="function"||Ya(e)==="asyncfunction"}function HD(e){return Ya(e)==="string"}function WD(e){return Ya(e)==="number"}function bc(e){return es(e)&&Ee(e)?Tn(e.then)&&Tn(e.catch):!1}function W8(e){return typeof e=="boolean"}function Xa(e){return typeof e=="undefined"}function j8(e){if(typeof e!="number")throw new Error("输入必须为数字");return e%2===1}function Vn(e){if(Q0(e)){const t=e.filter(function(n){return n!=null&&n!==""}).map(function(n){return Vn(n)}).join(";");return t?t.endsWith(";")?t:t+";":""}if(HD(e))return e?e.endsWith(";")?e:e+";":"";if(es(e)){const t=Object.keys(e).filter(function(n){return e[n]!=null&&e[n]!==""}).map(function(n){return[qD(n),e[n]].join(":")}).join(";");return t?t.endsWith(";")?t:t+";":""}return""}const rr=(e=1e3/30)=>new Fu(t=>{const n=setTimeout(()=>{clearTimeout(n),t(!0)},e)});function rf(e,t=new Map){if(e===null||typeof e!="object")return e;if(zD(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]=rf(e[o],t));return n}function Sc(e,t){if(e=rf(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 ii(e,t){return Object.keys(t).forEach(n=>{const o=e[n],r=t[n];es(o)&&es(r)?ii(o,r):e[n]=r}),e}function z8(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 jD=(e,t)=>{const n=t.split(".");try{return n.reduce((o,r)=>o!=null?o[r]:void 0,e)}catch(o){return}},zD=e=>Object.prototype.toString.call(e)==="[object Date]"&&!Number.isNaN(e.getTime());function G8(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|video)/i.test(e)}function Ja(e,t){const n=rf(e);return Object.keys(n).forEach(o=>t(n[o],o)&&delete n[o]),n}const xg="__TOAST_OPTION__",Uu={duration:2e3,show:!1},Pg=Symbol("None");function K8(e=""){const t=Z0(e),n=De(t,H(Pg));n.value===Pg&&(n.value=Uu,wt(t,n));let o=null;const r=f=>h=>s(Sc(f,typeof h=="string"?{msg:h}:h)),s=f=>{const h=Sc(Uu,typeof f=="string"?{msg:f}:f);n.value=Sc(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 Z0=e=>e?`${xg}${e}`:xg,GD={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>'}},Eg="__MESSAGE_OPTION__",KD={title:"",showCancelButton:!1,show:!1,closeOnClickModal:!0,msg:"",type:"alert",inputType:"text",inputValue:"",showErr:!1,zIndex:99,lazyRender:!0,inputError:""},YD=e=>e?`${Eg}${e}`:Eg,XD={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:"恢复"}},Ig=H("zh-CN"),Og=Ie({"zh-CN":XD}),ew={messages(){return Og[Ig.value]},use(e,t){Ig.value=e,t&&this.add({[e]:t})},add(e={}){ii(Og,e)}},JD={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"}},tw={en:Im,"zh-Hans":Am,bn:Pm},QD=["en","zh-Hans","bn"];function Ag(e){return e?QD.includes(e)?e:e.toLowerCase().startsWith("en")?"en":"bn":"bn"}function ZD(){const e=st("app_locale");if(e)return Ag(e);const t=kn().language||to();return Ag(t)==="en"?"en":"bn"}const nw=AD({locale:ZD(),messages:tw});ew.use("en-US",JD);function e$(e){if(!e)return"";const t=to(),n=tw[t];if(Object.keys(n).includes(e))return n[e];try{return e.split(".").reduce((r,s)=>r[s],n)}catch(o){return""}}function t$(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 En(e,t){return t$(e$(e),t)}function ow(e){return e?e.replace(/\n/g,"<br>"):""}function n$(e,t){const n=En(e,t);return ow(n)}/*!
- * pinia v2.0.36
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */let rw;const Ul=e=>rw=e,sw=Symbol();function qu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Hs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Hs||(Hs={}));function o$(){const e=cd(!0),t=e.run(()=>H({}));let n=[],o=[];const r=No({install(s){Ul(r),r._a=s,s.provide(sw,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 iw=()=>{};function Lg(e,t,n,o=iw){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&hy()&&NS(r),r}function Tr(e,...t){e.slice().forEach(n=>{n(...t)})}function Vu(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];qu(r)&&qu(o)&&e.hasOwnProperty(n)&&!ft(o)&&!Yn(o)?e[n]=Vu(r,o):e[n]=o}return e}const r$=Symbol();function s$(e){return!qu(e)||!e.hasOwnProperty(r$)}const{assign:go}=Object;function i$(e){return!!(ft(e)&&e.effect)}function a$(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=sT(n.state.value[e]);return go(u,s,Object.keys(i||{}).reduce((d,f)=>(d[f]=No(Y(()=>{Ul(n);const h=n._s.get(e);return i[f].call(h,h)})),d),{}))}return l=aw(e,c,t,n,o,!0),l}function aw(e,t,n={},o,r,s){let i;const a=go({actions:{}},n),l={deep:!0};let c,u,d=No([]),f=No([]),h;const _=o.state.value[e];!s&&!_&&(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:Hs.patchFunction,storeId:e,events:h}):(Vu(o.state.value[e],k),C={type:Hs.patchObject,payload:k,storeId:e,events:h});const E=v=Symbol();rt().then(()=>{v===E&&(c=!0)}),u=!0,Tr(d,C,o.state.value[e])}const y=s?function(){const{state:C}=n,E=C?C():{};this.$patch(I=>{go(I,E)})}:iw;function w(){i.stop(),d=[],f=[],o._s.delete(e)}function p(k,C){return function(){Ul(o);const E=Array.from(arguments),I=[],O=[];function P(M){I.push(M)}function B(M){O.push(M)}Tr(f,{args:E,name:k,store:b,after:P,onError:B});let Z;try{Z=C.apply(this&&this.$id===e?this:b,E)}catch(M){throw Tr(O,M),M}return Z instanceof Promise?Z.then(M=>(Tr(I,M),M)).catch(M=>(Tr(O,M),Promise.reject(M))):(Tr(I,Z),Z)}}const g={_p:o,$id:e,$onAction:Lg.bind(null,f),$patch:m,$reset:y,$subscribe(k,C={}){const E=Lg(d,k,C.detached,()=>I()),I=i.run(()=>re(()=>o.state.value[e],O=>{(C.flush==="sync"?u:c)&&k({storeId:e,type:Hs.direct,events:h},O)},go({},l,C)));return E},$dispose:w},b=Ie(g);o._s.set(e,b);const S=o._e.run(()=>(i=cd(),i.run(()=>t())));for(const k in S){const C=S[k];if(ft(C)&&!i$(C)||Yn(C))s||(_&&s$(C)&&(ft(C)?C.value=_[k]:Vu(C,_[k])),o.state.value[e][k]=C);else if(typeof C=="function"){const E=p(k,C);S[k]=E,a.actions[k]=C}}return go(b,S),go(Le(b),S),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:k=>{m(C=>{go(C,k)})}}),o._p.forEach(k=>{go(b,i.run(()=>k({store:b,app:o._a,pinia:o,options:a})))}),_&&s&&n.hydrate&&n.hydrate(b.$state,_),c=!0,u=!0,b}function lw(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=ht();return a=a||c&&De(sw,null),a&&Ul(a),a=rw,a._s.has(o)||(s?aw(o,t,r,a):a$(o,r,a)),a._s.get(o)}return i.$id=o,i}const Ii="/cif";function Y8(e){return nt.get(`${Ii}/api/user/getCode`,{phoneNo:e})}function X8(e){return nt.post(`${Ii}/api/user/register`,e)}function l$(e){return nt.post(`${Ii}/api/user/login`,e)}function c$(){return nt.get(`${Ii}/api/user/getUserInfo`)}function J8(e){return nt.get(`${Ii}/api/user/resetPwdByCode`,e)}const u$=!1,d$=[{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 sf(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 Q8(e=1){Gd({delta:e})}function ai({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=sf(t);r=`${e}?${i+(o?"&isReLaunch=1":"")}`}s.includes(e)?Ci({url:r}):n?Pl({url:r}):o?El({url:r}):Kd({url:r})}function Zi(e){const t={type:"info",duration:2e3,position:"middle",message:""},n=typeof e=="string"?we(ie({},t),{message:e}):ie(ie({},t),e),o={top:"top",middle:"center",bottom:"bottom"},r={success:"success",error:"error",warning:"fail",info:"none"};Dl({title:n.message,duration:n.duration,position:o[n.position],icon:n.icon||r[n.type],mask:!0})}const Pn={success:(e,t)=>Zi(we(ie({},t),{type:"success",message:e})),error:(e,t)=>Zi(we(ie({},t),{type:"error",message:e})),warning:(e,t)=>Zi(we(ie({},t),{type:"warning",message:e})),info:(e,t)=>Zi(we(ie({},t),{type:"info",message:e}))},Rg={headPic:"/static/images/default-avatar.png"},Oi=lw("user",()=>{const e=H(ie({},Rg)),t=H(""),n=i=>{e.value=i},o=()=>{e.value=ie({},Rg),t.value="",Pu("userInfo"),Pu("token")},r=()=>de(void 0,null,function*(){const i=yield c$(),a=i.data;return n(a),ct("userInfo",a),i});return{userInfo:e,token:t,getUserInfo:r,setUserInfo:n,removeUserInfo:o,login:(i,a)=>de(void 0,null,function*(){try{l0({title:En("auth.login.loading"),mask:!0});const l=yield l$(i);return Iu(),l.code==="200"&&l.data&&l.data.token&&(t.value=l.data.token,ct("token",l.data.token),gw({jpushDeviceId:st("registerID")}),yield r()),Pn.success(En("auth.login.success")),setTimeout(()=>{ai(a?{url:decodeURIComponent(a),isRedirect:!0}:{url:"/pages/index/index",isReLaunch:!0})},1500),l}catch(l){throw Iu(),Pn.error(l.message||En("auth.login.error.failed")),l}})}},{persist:!0}),f$={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"]}},h$={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"}},p$={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"}]},cw=[{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}}}],uw=[],dw={globalStyle:f$,easycom:h$,tabBar:p$,pages:cw,subPackages:uw},g$="h5",m$="h5".startsWith("mp-weixin");function fw(){const e=rn();return e[e.length-1]}function y$(){const{route:e,options:t}=fw();let n=`/${e}`;if(t&&Object.keys(t).length>0){const o=sf(t);n=`${n}?${o}`}return n}function v$(e="needLogin"){const t=cw.filter(r=>!e||r[e]).map(r=>we(ie({},r),{path:`/${r.path}`})),n=[];return uw.forEach(r=>{const{root:s}=r;r.pages.filter(i=>!e||i[e]).forEach(i=>{n.push(we(ie({},i),{path:`/${s}/${i.path}`}))})}),[...t,...n]}const hw=v$("needLogin").map(e=>e.path);function _$(){let e="https://api.bandhubuy.com";if(m$){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 Z8(e){return Object.entries(e).map(([t,n])=>{const o=encodeURIComponent(t),r=n==null?"":encodeURIComponent(String(n));return`${o}=${r}`}).join("&")}function e4(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 t4(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 nt(e){return new Promise((t,n)=>{Nl(we(ie({},e),{dataType:"json",responseType:"json",success(o){const r=Oi();if(o.statusCode>=200&&o.statusCode<300)if(o.data.code==="200")t(o.data);else if(o.data.code==="598"){r.removeUserInfo(),Pn.error(o.data.msg||o.data.message);const s=y$();ai({url:"/pages/login/login",params:{redirect:s},isReLaunch:!0})}else Pn.error(o.data.msg||o.data.message||En("common.error.request")),n(o.data);else o.statusCode===401||!e.hideErrorToast&&Pn.info(o.data.msg||o.data.message||En("common.error.request")),n(o)},fail(o){Pn.error(En("common.error.network")),n(o)}}))})}function w$(e,t,n,o){return nt(ie({url:e,query:t,method:"GET",header:n},o))}function b$(e,t,n,o,r){return nt(ie({url:e,query:n,data:t,method:"POST",header:o},r))}function S$(e,t,n,o,r){return nt(ie({url:e,data:t,query:n,method:"PUT",header:o},r))}function T$(e,t,n,o){return nt(ie({url:e,query:t,method:"DELETE",header:n},o))}nt.get=w$;nt.post=b$;nt.put=S$;nt.delete=T$;const Ko="/mall",C$="/cif",pw="/operating";function k$(e){return nt.get(`${C$}/api/user/getEnum`,e)}function n4(e){return nt.get(`${pw}/divisions/treeList`,e)}function o4(e){return nt.post(`${Ko}/app/banner/list`,e)}function x$(e){return nt.get(`${pw}/config/getConfigByCode`,e)}function r4(e){return nt.get(`${Ko}/app/notice/page`,e)}function s4(){return nt.get(`${Ko}/app/notice/unread`)}function i4(e){return nt.put(`${Ko}/app/notice/read/${e}`)}function a4(){return nt.get(`${Ko}/app/notice/readAll`)}function l4(e){return nt.delete(`${Ko}/app/notice/delete/${e}`)}function gw(e){return nt.post(`${Ko}/app/jpush/bindUser`,e)}function c4(e){return nt.get(`${Ko}/app/adv/advList`,e)}function P$(e){return typeof e=="object"&&e!==null}function Mg(e,t){return e=P$(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 E$(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function I$(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 O$(e,t){return t.reduce((n,o)=>{const r=o.split(".");return I$(n,r,E$(e,r))},{})}function A$(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 Ng(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 Dg(e,{storage:t,serializer:n,key:o,paths:r,debug:s}){try{const i=Array.isArray(r)?O$(e,r):e;t.setItem(o,n.serialize(i))}catch(i){}}function L$(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=>Mg(a,e)):[Mg(o,e)]).map(A$(e,r)).filter(Boolean);r.$persist=()=>{i.forEach(a=>{Dg(r.$state,a)})},r.$hydrate=({runHooks:a=!0}={})=>{i.forEach(l=>{const{beforeRestore:c,afterRestore:u}=l;a&&(c==null||c(t)),Ng(r,l),a&&(u==null||u(t))})},i.forEach(a=>{const{beforeRestore:l,afterRestore:c}=a;l==null||l(t),Ng(r,a),c==null||c(t),r.$subscribe((u,d)=>{Dg(d,a)},{detached:!0})})}}lw("dict",()=>{const e=H({});function t(n){return de(this,null,function*(){const o=yield k$({id:n});e.value=o.data})}return{dict:e,getDict:t}},{persist:!0});const mw=o$();mw.use(L$({storage:{getItem:st,setItem:ct}}));const R$="/pages/login/login";function yw(){return!!Oi().token}function u4(){return Oi().userInfo}function d4(e){return yw()?!0:(ai({url:"/pages/login/login"}),!1)}function M$(){H0(e=>{const t=rn(),o=`/${t[t.length-1].route}`;let r=[];if(r=hw,!r.includes(o))return;if(yw())return!0;const a=Object.entries(e||{}).map(([u,d])=>`${u}=${encodeURIComponent(String(d))}`).join("&"),l=a?`${o}?${a}`:o,c=`${R$}?redirect=${encodeURIComponent(l)}`;Pl({url:c})})}var N$=[];function D$(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 $$=Un(function(e,t){var n;e.exports=(n=n||function(o,r){var s=Object.create||function(){function m(){}return function(y){var w;return m.prototype=y,w=new m,m.prototype=null,w}}(),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,w=m.words,p=this.sigBytes,g=m.sigBytes;if(this.clamp(),p%4)for(var b=0;b<g;b++){var S=w[b>>>2]>>>24-b%4*8&255;y[p+b>>>2]|=S<<24-(p+b)%4*8}else for(b=0;b<g;b+=4)y[p+b>>>2]=w[b>>>2];return this.sigBytes+=g,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,w=[],p=function(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)}},g=0;g<m;g+=4){var b=p(4294967296*(y||o.random()));y=987654071*b(),w.push(4294967296*b()|0)}return new c.init(w,m)}}),u=i.enc={},d=u.Hex={stringify:function(m){for(var y=m.words,w=m.sigBytes,p=[],g=0;g<w;g++){var b=y[g>>>2]>>>24-g%4*8&255;p.push((b>>>4).toString(16)),p.push((15&b).toString(16))}return p.join("")},parse:function(m){for(var y=m.length,w=[],p=0;p<y;p+=2)w[p>>>3]|=parseInt(m.substr(p,2),16)<<24-p%8*4;return new c.init(w,y/2)}},f=u.Latin1={stringify:function(m){for(var y=m.words,w=m.sigBytes,p=[],g=0;g<w;g++){var b=y[g>>>2]>>>24-g%4*8&255;p.push(String.fromCharCode(b))}return p.join("")},parse:function(m){for(var y=m.length,w=[],p=0;p<y;p++)w[p>>>2]|=(255&m.charCodeAt(p))<<24-p%4*8;return new c.init(w,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)))}},_=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,w=y.words,p=y.sigBytes,g=this.blockSize,b=p/(4*g),S=(b=m?o.ceil(b):o.max((0|b)-this._minBufferSize,0))*g,k=o.min(4*S,p);if(S){for(var C=0;C<S;C+=g)this._doProcessBlock(w,C);var E=w.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=_.extend({cfg:l.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){_.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,w){return new m.init(w).finalize(y)}},_createHmacHelper:function(m){return function(y,w){return new v.HMAC.init(m,w).finalize(y)}}});var v=i.algo={};return i}(Math),n)}),Ao=$$,B$=(Un(function(e,t){var n;e.exports=(n=Ao,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 w=m+y,p=v[w];v[w]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}var g=this._hash.words,b=v[m+0],S=v[m+1],k=v[m+2],C=v[m+3],E=v[m+4],I=v[m+5],O=v[m+6],P=v[m+7],B=v[m+8],Z=v[m+9],M=v[m+10],z=v[m+11],te=v[m+12],X=v[m+13],D=v[m+14],ee=v[m+15],U=g[0],K=g[1],G=g[2],V=g[3];U=d(U,K,G,V,b,7,c[0]),V=d(V,U,K,G,S,12,c[1]),G=d(G,V,U,K,k,17,c[2]),K=d(K,G,V,U,C,22,c[3]),U=d(U,K,G,V,E,7,c[4]),V=d(V,U,K,G,I,12,c[5]),G=d(G,V,U,K,O,17,c[6]),K=d(K,G,V,U,P,22,c[7]),U=d(U,K,G,V,B,7,c[8]),V=d(V,U,K,G,Z,12,c[9]),G=d(G,V,U,K,M,17,c[10]),K=d(K,G,V,U,z,22,c[11]),U=d(U,K,G,V,te,7,c[12]),V=d(V,U,K,G,X,12,c[13]),G=d(G,V,U,K,D,17,c[14]),U=f(U,K=d(K,G,V,U,ee,22,c[15]),G,V,S,5,c[16]),V=f(V,U,K,G,O,9,c[17]),G=f(G,V,U,K,z,14,c[18]),K=f(K,G,V,U,b,20,c[19]),U=f(U,K,G,V,I,5,c[20]),V=f(V,U,K,G,M,9,c[21]),G=f(G,V,U,K,ee,14,c[22]),K=f(K,G,V,U,E,20,c[23]),U=f(U,K,G,V,Z,5,c[24]),V=f(V,U,K,G,D,9,c[25]),G=f(G,V,U,K,C,14,c[26]),K=f(K,G,V,U,B,20,c[27]),U=f(U,K,G,V,X,5,c[28]),V=f(V,U,K,G,k,9,c[29]),G=f(G,V,U,K,P,14,c[30]),U=h(U,K=f(K,G,V,U,te,20,c[31]),G,V,I,4,c[32]),V=h(V,U,K,G,B,11,c[33]),G=h(G,V,U,K,z,16,c[34]),K=h(K,G,V,U,D,23,c[35]),U=h(U,K,G,V,S,4,c[36]),V=h(V,U,K,G,E,11,c[37]),G=h(G,V,U,K,P,16,c[38]),K=h(K,G,V,U,M,23,c[39]),U=h(U,K,G,V,X,4,c[40]),V=h(V,U,K,G,b,11,c[41]),G=h(G,V,U,K,C,16,c[42]),K=h(K,G,V,U,O,23,c[43]),U=h(U,K,G,V,Z,4,c[44]),V=h(V,U,K,G,te,11,c[45]),G=h(G,V,U,K,ee,16,c[46]),U=_(U,K=h(K,G,V,U,k,23,c[47]),G,V,b,6,c[48]),V=_(V,U,K,G,P,10,c[49]),G=_(G,V,U,K,D,15,c[50]),K=_(K,G,V,U,I,21,c[51]),U=_(U,K,G,V,te,6,c[52]),V=_(V,U,K,G,C,10,c[53]),G=_(G,V,U,K,M,15,c[54]),K=_(K,G,V,U,S,21,c[55]),U=_(U,K,G,V,B,6,c[56]),V=_(V,U,K,G,ee,10,c[57]),G=_(G,V,U,K,O,15,c[58]),K=_(K,G,V,U,X,21,c[59]),U=_(U,K,G,V,E,6,c[60]),V=_(V,U,K,G,z,10,c[61]),G=_(G,V,U,K,k,15,c[62]),K=_(K,G,V,U,Z,21,c[63]),g[0]=g[0]+U|0,g[1]=g[1]+K|0,g[2]=g[2]+G|0,g[3]=g[3]+V|0},_doFinalize:function(){var v=this._data,m=v.words,y=8*this._nDataBytes,w=8*v.sigBytes;m[w>>>5]|=128<<24-w%32;var p=o.floor(y/4294967296),g=y;m[15+(w+64>>>9<<4)]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),m[14+(w+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),v.sigBytes=4*(m.length+1),this._process();for(var b=this._hash,S=b.words,k=0;k<4;k++){var C=S[k];S[k]=16711935&(C<<8|C>>>24)|4278255360&(C<<24|C>>>8)}return b},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});function d(v,m,y,w,p,g,b){var S=v+(m&y|~m&w)+p+b;return(S<<g|S>>>32-g)+m}function f(v,m,y,w,p,g,b){var S=v+(m&w|y&~w)+p+b;return(S<<g|S>>>32-g)+m}function h(v,m,y,w,p,g,b){var S=v+(m^y^w)+p+b;return(S<<g|S>>>32-g)+m}function _(v,m,y,w,p,g,b){var S=v+(y^(m|~w))+p+b;return(S<<g|S>>>32-g)+m}r.MD5=a._createHelper(u),r.HmacMD5=a._createHmacHelper(u)}(Math),n.MD5)}),Un(function(e,t){var n;e.exports=(n=Ao,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,_=0;_<l;_++)f[_]^=1549556828,h[_]^=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=Ao.HmacMD5})),F$=Un(function(e,t){e.exports=Ao.enc.Utf8}),U$=Un(function(e,t){var n;e.exports=(n=Ao,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 _=c.charAt(64);if(_)for(;u.length%4;)u.push(_);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 vw="uni_id_token",_w="uni_id_token_expired",q$="uniIdToken",Qa={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},$g="pending",V$="fulfilled",Bg="rejected";function li(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function ww(e){return li(e)==="object"}function bw(e){return typeof e=="function"}function H$(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}const Fg="REJECTED",Sw="NOT_PENDING";class Tw{constructor({createPromise:t,retryRule:n=Fg}={}){this.createPromise=t,this.status=null,this.promise=null,this.retryRule=n}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case Fg:return this.status===Bg;case Sw:return this.status!==$g}}exec(){return this.needRetry?(this.status=$g,this.promise=this.createPromise().then(t=>(this.status=V$,Promise.resolve(t)),t=>(this.status=Bg,Promise.reject(t))),this.promise):this.promise}}class W${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)}}function af(e){return e&&typeof e=="string"?JSON.parse(e):e}const j$=!1,z$=af(N$),Ai="web";af("");const G$=af('[{"provider":"aliyun","spaceName":"txz","spaceId":"mp-489f4121-636a-44cd-b309-a132a68309a7","clientSecret":"pQdaaoicYrJIXCB15wrgSQ==","endpoint":"https://api.next.bspapp.com"}]')||[];let K$="";try{K$="__UNI__BA8433E"}catch(e){}let Tc,Cc={};function ts(e,t={}){var n,o;return n=Cc,o=e,Object.prototype.hasOwnProperty.call(n,o)||(Cc[e]=t),Cc[e]}function Y$(){return Tc||(Tc=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")()}(),Tc)}const Cw=["invoke","success","fail","complete"],Bn=ts("_globalUniCloudInterceptor");function kw(e,t){Bn[e]||(Bn[e]={}),ww(t)&&Object.keys(t).forEach(n=>{Cw.indexOf(n)>-1&&function(o,r,s){let i=Bn[o][r];i||(i=Bn[o][r]=[]),i.indexOf(s)===-1&&bw(s)&&i.push(s)}(e,n,t[n])})}function X$(e,t){Bn[e]||(Bn[e]={}),ww(t)?Object.keys(t).forEach(n=>{Cw.indexOf(n)>-1&&function(o,r,s){const i=Bn[o][r];if(!i)return;const a=i.indexOf(s);a>-1&&i.splice(a,1)}(e,n,t[n])}):delete Bn[e]}function Vt(e,t){return e&&e.length!==0?e.reduce((n,o)=>n.then(()=>o(t)),Promise.resolve()):Promise.resolve()}function Ht(e,t){return Bn[e]&&Bn[e][t]||[]}function J$(e){kw("callObject",e)}const kc=ts("_globalUniCloudListener"),lt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ko={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function Li(e){return kc[e]||(kc[e]=[]),kc[e]}function xc(e,t){const n=Li(e);n.includes(t)||n.push(t)}function Pc(e,t){const n=Li(e),o=n.indexOf(t);o!==-1&&n.splice(o,1)}function yn(e,t){const n=Li(e);for(let o=0;o<n.length;o++)(0,n[o])(t)}let Ec,Ic=!1;function xw(){return Ec||(Ec=new Promise(e=>{Ic&&e(),function t(){if(typeof rn=="function"){const n=rn();n&&n[0]&&(Ic=!0,e())}Ic||setTimeout(()=>{t()},30)}()}),Ec)}function Pw(e){const t={};for(const n in e){const o=e[n];bw(o)&&(t[n]=H$(o))}return t}class he extends Error{constructor(t){const n=t.message||t.errMsg||"unknown system error";super(n),this.errMsg=n,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 bt={request:e=>Nl(e),uploadFile:e=>hR(e),setStorageSync:(e,t)=>ct(e,t),getStorageSync:e=>st(e),removeStorageSync:e=>Pu(e),clearStorageSync:()=>jL(),connectSocket:e=>gR(e)};function Ew(e){return e&&Ew(e.__v_raw)||e}function ci(){return{token:bt.getStorageSync(vw)||bt.getStorageSync(q$),tokenExpired:bt.getStorageSync(_w)}}function Iw({token:e,tokenExpired:t}={}){e&&bt.setStorageSync(vw,e),t&&bt.setStorageSync(_w,t)}let Oc,ea;function Ow(){return Oc||(Oc=kn()),Oc}function Q$(){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 Hu={};function Wu(){const e=to&&to()||"en";if(ea)return we(ie(ie({},Hu),ea),{locale:e,LOCALE:e});const t=Ow(),{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 ea=ie(ie({PLATFORM:r,OS:o,APPID:s,DEVICEID:n},Q$()),t),we(ie(ie({},Hu),ea),{locale:e,LOCALE:e})}var Lr={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),B$(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 U$.stringify(F$.parse(e))}},Z$=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=bt,this._getAccessTokenPromiseHub=new Tw({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:Sw})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return Lr.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"]=Lr.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"]=Lr.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(ie({},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(li(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:_,id:v,policy:m,ossCallbackUrl:y}=l,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:d,Signature:f,host:h,id:v,key:_,policy:m,success_action_status:200};if(u&&(w["x-oss-security-token"]=u),y){const g=JSON.stringify({callbackUrl:y,callbackBody:JSON.stringify({fileId:v,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});w.callback=Lr.toBase64(g)}const p={url:"https://"+l.host,formData:w,fileName:"file",name:"file",filePath:e,fileType:n};if(yield this.uploadFileToOSS(Object.assign({},p,{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的元素必须是非空的字符串"})),this.getFileInfo({fileList:e}).then(o=>{t({fileList:e.map((r,s)=>{const i=o.fileList[s];return{fileID:r,tempFileURL:i&&i.url||r}})})})})}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}})}},eB={init(e){const t=new Z$(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 tB=typeof location!="undefined"&&location.protocol==="http:"?"http:":"https:";var Ug;(function(e){e.local="local",e.none="none",e.session="session"})(Ug||(Ug={}));var nB=function(){},oB=Un(function(e,t){var n;e.exports=(n=Ao,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 w=o.sqrt(y),p=2;p<=w;p++)if(!(y%p))return!1;return!0}function _(y){return 4294967296*(y-(0|y))|0}for(var v=2,m=0;m<64;)h(v)&&(m<8&&(c[m]=_(o.pow(v,.5))),u[m]=_(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,_){for(var v=this._hash.words,m=v[0],y=v[1],w=v[2],p=v[3],g=v[4],b=v[5],S=v[6],k=v[7],C=0;C<64;C++){if(C<16)d[C]=0|h[_+C];else{var E=d[C-15],I=(E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3,O=d[C-2],P=(O<<15|O>>>17)^(O<<13|O>>>19)^O>>>10;d[C]=I+d[C-7]+P+d[C-16]}var B=m&y^m&w^y&w,Z=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),M=k+((g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25))+(g&b^~g&S)+u[C]+d[C];k=S,S=b,b=g,g=p+M|0,p=w,w=y,y=m,m=M+(Z+B)|0}v[0]=v[0]+m|0,v[1]=v[1]+y|0,v[2]=v[2]+w|0,v[3]=v[3]+p|0,v[4]=v[4]+g|0,v[5]=v[5]+b|0,v[6]=v[6]+S|0,v[7]=v[7]+k|0},_doFinalize:function(){var h=this._data,_=h.words,v=8*this._nDataBytes,m=8*h.sigBytes;return _[m>>>5]|=128<<24-m%32,_[14+(m+64>>>9<<4)]=o.floor(v/4294967296),_[15+(m+64>>>9<<4)]=v,h.sigBytes=4*_.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)}),ju=oB,Aw=Un(function(e,t){e.exports=Ao.HmacSHA256});const Ri=()=>{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 rB(e){return e===void 0}function sB(e){return Object.prototype.toString.call(e)==="[object Null]"}function qg(e=""){return e.replace(/([\s\S]+)\s+(请前往云开发AI小助手查看问题:.*)/,"$1")}function Vg(e=32){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let o=0;o<e;o++)n+=t.charAt(Math.floor(62*Math.random()));return n}var Hg;function iB(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"})(Hg||(Hg={}));const Pt={adapter:null,runtime:void 0},aB=["anonymousUuidKey"];class Ac extends nB{constructor(){super(),Pt.adapter.root.tcbObject||(Pt.adapter.root.tcbObject={})}setItem(t,n){Pt.adapter.root.tcbObject[t]=n}getItem(t){return Pt.adapter.root.tcbObject[t]}removeItem(t){delete Pt.adapter.root.tcbObject[t]}clear(){delete Pt.adapter.root.tcbObject}}function Wg(e,t){switch(e){case"local":return t.localStorage||new Ac;case"none":return new Ac;default:return t.sessionStorage||new Ac}}class jg{constructor(t){if(!this._storage){this._persistence=Pt.adapter.primaryStorage||t.persistence,this._storage=Wg(this._persistence,Pt.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=Wg(t,Pt.adapter);for(const r in this.keys){const s=this.keys[r];if(n&&aB.includes(r))continue;const i=this._storage.getItem(s);rB(i)||sB(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 Lw={},Rw={};function ls(e){return Lw[e]}class Mw{constructor(t,n){this.data=n||null,this.name=t}}class lB extends Mw{constructor(t,n){super("error",{error:t,data:n}),this.error=t}}const lf=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 lB)return this;const n=typeof e=="string"?new Mw(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 mo(e,t){lf.on(e,t)}function Wt(e,t={}){lf.fire(e,t)}function cB(e,t){lf.off(e,t)}const ns="loginStateChanged",Nw="loginStateExpire",Lo="loginTypeChanged",zu="anonymousConverted",Dw="refreshAccessToken";var pt;(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"})(pt||(pt={}));class uB{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 dB{constructor(t){this._singlePromise=new uB,this._cache=ls(t.env),this._baseURL=`https://${t.env}.ap-shanghai.tcb-api.tencentcloudapi.com`,this._reqClass=new Pt.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=Vg(),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":Vg(),"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!==pt.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,pt.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 zg=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],fB={"X-SDK-Version":"1.3.5"};function Lc(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=ie(ie({},a),s);else for(const c in s)a.append(c,s[c])})(),r.headers=ie(ie({},r.headers||{}),i),o.call(e,r)}}function Rc(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:we(ie({},fB),{"x-seqid":e})}}class hB{constructor(t={}){var n;this.config=t,this._reqClass=new Pt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=ls(this.config.env),this._localCache=(n=this.config.env,Rw[n]),this.oauth=new dB(this.config),Lc(this._reqClass,"post",[Rc]),Lc(this._reqClass,"upload",[Rc]),Lc(this._reqClass,"download",[Rc])}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)===pt.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()}Wt(Nw),this._cache.removeStore(o)}throw new he({code:l.data.code,message:`刷新access token失败:${l.data.code}`})}if(l.data.access_token)return Wt(Dw),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=ie({action:t,env:this.config.env,dataVersion:"2019-08-16"},n);let a;if(zg.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=ie(ie({},d),h));let _=function(y,w,p={}){const g=/\?/.test(w);let b="";for(let S in p)b===""?!g&&(w+="?"):b+="&",b+=`${S}=${encodeURIComponent(p[S])}`;return/^http(s)?\:\/\//.test(w+=b)?w:`${y}${w}`}(tB,"//tcb-api.tencentcloudapi.com/web",h);f&&(_+=f);const v=yield this.post(ie({url:_,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(ie({},o),{onUploadProgress:n.onUploadProgress}));if((s.data.code==="ACCESS_TOKEN_DISABLED"||s.data.code==="ACCESS_TOKEN_EXPIRED")&&zg.indexOf(t)===-1){yield this.oauth.refreshAccessToken();const i=yield this.request(t,n,we(ie({},o),{onUploadProgress:n.onUploadProgress}));if(i.data.code)throw new he({code:i.data.code,message:qg(i.data.message)});return i.data}if(s.data.code)throw new he({code:s.data.code,message:qg(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 $w={};function ro(e){return $w[e]}class ql{constructor(t){this.config=t,this._cache=ls(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 pB{constructor(t){if(!t)throw new he({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=ls(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 Mi{constructor(t){if(!t)throw new he({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=ls(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 pB(t)}get isAnonymousAuth(){return this.loginType===pt.ANONYMOUS}get isCustomAuth(){return this.loginType===pt.CUSTOM}get isWeixinAuth(){return this.loginType===pt.WECHAT||this.loginType===pt.WECHAT_OPEN||this.loginType===pt.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Mc extends ql{signIn(){return de(this,null,function*(){this._cache.updatePersistence("local"),yield this._request.oauth.getAccessToken(),Wt(ns),Wt(Lo,{env:this.config.env,loginType:pt.ANONYMOUS,persistence:"local"});const t=new Mi(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(),Wt(zu,{env:this.config.env}),Wt(Lo,{loginType:pt.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,pt.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class Gg extends ql{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(),Wt(ns),Wt(Lo,{env:this.config.env,loginType:pt.CUSTOM,persistence:this.config.persistence}),yield this.refreshUserInfo(),new Mi(this.config.env);throw new he({message:"自定义登录失败"})})}}class Kg extends ql{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(),Wt(ns),Wt(Lo,{env:this.config.env,loginType:pt.EMAIL,persistence:this.config.persistence}),new Mi(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 Yg extends ql{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:pt.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(),Wt(ns),Wt(Lo,{env:this.config.env,loginType:pt.USERNAME,persistence:this.config.persistence}),new Mi(this.config.env);throw r.code?new he({code:r.code,message:`用户名密码登录失败: ${r.message}`}):new he({message:"用户名密码登录失败"})})}}class gB{constructor(t){this.config=t,this._cache=ls(t.env),this._request=ro(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),mo(Lo,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 Mc(this.config)}customAuthProvider(){return new Gg(this.config)}emailAuthProvider(){return new Kg(this.config)}usernameAuthProvider(){return new Yg(this.config)}signInAnonymously(){return de(this,null,function*(){return new Mc(this.config).signIn()})}signInWithEmailAndPassword(t,n){return de(this,null,function*(){return new Kg(this.config).signIn(t,n)})}signInWithUsernameAndPassword(t,n){return new Yg(this.config).signIn(t,n)}linkAndRetrieveDataWithTicket(t){return de(this,null,function*(){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Mc(this.config)),mo(zu,this._onAnonymousConverted),yield this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t)})}signOut(){return de(this,null,function*(){if(this.loginType===pt.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),Wt(ns),Wt(Lo,{env:this.config.env,loginType:pt.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){mo(ns,()=>{const o=this.hasLoginState();t.call(this,o)});const n=this.hasLoginState();t.call(this,n)}onLoginStateExpired(t){mo(Nw,t.bind(this))}onAccessTokenRefreshed(t){mo(Dw,t.bind(this))}onAnonymousConverted(t){mo(zu,t.bind(this))}onLoginTypeChanged(t){mo(Lo,()=>{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 Mi(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 Gg(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(ie({},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 mB=function(e,t){t=t||Ri();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,_={key:o,signature:c,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":u};n.upload({url:l,data:_,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},yB=function(e,t){t=t||Ri();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},vB=function({fileList:e},t){if(t=t||Ri(),!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},Bw=function({fileList:e},t){t=t||Ri(),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},_B=function(n,o){return de(this,arguments,function*({fileID:e},t){const r=(yield Bw.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}))})},wB=function({name:e,data:t,query:n,parse:o,search:r,timeout:s},i){const a=i||Ri();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},Xg={timeout:15e3,persistence:"session"},Jg=6e5,Qg={};class cf{constructor(t){this.config=t||this.config,this.authObj=void 0}init(t){switch(Pt.adapter||(this.requestClient=new Pt.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:`请求在${(t.timeout||5e3)/1e3}s内未完成,已中断`})),this.config=ie(ie({},Xg),t),!0){case this.config.timeout>Jg:this.config.timeout=Jg;break;case this.config.timeout<100:this.config.timeout=100}return new cf(this.config)}auth({persistence:t}={}){if(this.authObj)return this.authObj;const n=t||Pt.adapter.primaryStorage||Xg.persistence;var o;return n!==this.config.persistence&&(this.config.persistence=n),function(r){const{env:s}=r;Lw[s]=new jg(r),Rw[s]=new jg(we(ie({},r),{persistence:"local"}))}(this.config),o=this.config,$w[o.env]=new hB(o),this.authObj=new gB(this.config),this.authObj}on(t,n){return mo.apply(this,[t,n])}off(t,n){return cB.apply(this,[t,n])}callFunction(t,n){return wB.apply(this,[t,n])}deleteFile(t,n){return vB.apply(this,[t,n])}getTempFileURL(t,n){return Bw.apply(this,[t,n])}downloadFile(t,n){return _B.apply(this,[t,n])}uploadFile(t,n){return mB.apply(this,[t,n])}getUploadMetadata(t,n){return yB.apply(this,[t,n])}registerExtension(t){Qg[t.name]=t}invokeExtension(t,n){return de(this,null,function*(){const o=Qg[t];if(!o)throw new he({message:`扩展${t} 必须先注册`});return yield o.invoke(n,this)})}useAdapters(t){const{adapter:n,runtime:o}=iB(t)||{};n&&(Pt.adapter=n),o&&(Pt.runtime=o)}}var Fw=new cf;function Nc(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 bB{get(t){const{url:n,data:o,headers:r,timeout:s}=t;return new Promise((i,a)=>{bt.request({url:Nc("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)=>{bt.request({url:Nc("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=bt.uploadFile({url:Nc("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 SB={setItem(e,t){bt.setStorageSync(e,t)},getItem:e=>bt.getStorageSync(e),removeItem(e){bt.removeStorageSync(e)},clear(){bt.clearStorageSync()}};var TB={genAdapter:function(){return{root:{},reqClass:bB,localStorage:SB,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Fw.useAdapters(TB);const uf=Fw,CB=uf.init;uf.init=function(e){e.env=e.spaceId;const t=CB.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}=Pw(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 Zg=uf;function kB(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)=>{bt.request(we(ie({},o),{success(a){s(a)},fail(a){i(a)}}))}));return!(!r.data||r.data.code!==0)}catch(r){return!1}var o})}function xB(e,t){return de(this,null,function*(){let n;for(let o=0;o<e.length;o++){const r=e[o];if(yield kB(r,t)){n=r;break}}return{address:n,port:t}})}const PB={"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 EB=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=bt}request(e,t=!0){return de(this,null,function*(){return e=this.setupRequest(e),Promise.resolve().then(()=>Lr.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"]=Lr.sign(t,this.config.clientSecret);const o=Wu();n["x-client-info"]=encodeURIComponent(JSON.stringify(o));const{token:r}=ci();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=Wu(),{token:n}=ci(),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 xB(r,s);return{url:`http://${i}:${s}/${PB[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:"获取临时文件链接失败"})})}},em={init(e){const t=new EB(e),n={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Ws=Un(function(e,t){e.exports=Ao.enc.Hex});function Uw(){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 qw(e="",t={}){const{data:n,functionName:o,method:r,headers:s,signHeaderKeys:i=[],config:a}=t,l=String(Date.now()),c=Uw(),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("?")||[],_=function(v){const m="HMAC-SHA256",y=v.signedHeaders.join(";"),w=v.signedHeaders.map(C=>`${C.toLowerCase()}:${v.headers[C]}
- `).join(""),p=ju(v.body).toString(Ws),g=`${v.method.toUpperCase()}
- ${v.path}
- ${v.query}
- ${w}
- ${y}
- ${p}
- `,b=ju(g).toString(Ws),S=`${m}
- ${v.timestamp}
- ${b}
- `,k=Aw(S,v.secretKey).toString(Ws);return`${m} Credential=${v.secretId}, SignedHeaders=${y}, Signature=${k}`}({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:_})}}function Vw({url:e,data:t,method:n="POST",headers:o={},timeout:r}){return new Promise((s,i)=>{bt.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 tm(e,t){const{path:n,data:o,method:r="GET"}=e,{url:s,headers:i}=qw(n,{functionName:"",data:o,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":String(Date.now()+6e4)},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return Vw({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 IB(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 OB(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class AB{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:Uw(),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(`
- `),a=["HMAC-SHA256",ju(i).toString(Ws)].join(`
- `),l=Aw(a,this.config.secretKey).toString(Ws),c=Object.keys(s).map(u=>`${u}=${encodeURIComponent(s[u])}`).join("&");return`${this.config.wsEndpoint}${o}?${c}&signature=${l}`}}var LB=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 AB(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}=qw("/functions/invokeFunction",{functionName:o,data:r,method:a,headers:l,signHeaderKeys:["x-to-function-name"],config:n});return Vw({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=bt.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(li(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 tm({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;li(s)!=="string"&&n({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});try{i=IB.call(this,s)}catch(a){i=s}r.push({file_id:i,expire:600})}tm({path:"/?download_url",data:{file_list:r},method:"POST"},this.config).then(s=>{const{file_list:i=[]}=s;n({fileList:i.map(a=>({fileID:OB.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 bt.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})})}},RB={init:e=>{e.provider="alipay";const t=new LB(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function MB({data:e}){let t;t=Wu();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:o}=ci();o&&(n.uniIdToken=o)}return n}const NB=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var Hw=/[\\^$.*+?()[\]{}|]/g,DB=RegExp(Hw.source);function nm(e,t,n){return e.replace(new RegExp((o=t)&&DB.test(o)?o.replace(Hw,"\\$&"):o,"g"),n);var o}const Dc={REQUEST:"request",RESPONSE:"response",BOTH:"both"},om="_globalUniCloudStatus",$B="_globalUniCloudSecureNetworkCache__{spaceId}",BB="uni-secure-network",Ww={SYSTEM_ERROR:{code:2e4},APP_INFO_INVALID:{code:20101,message:"Invalid client"}};function jw(e){const{errSubject:t,subject:n,errCode:o,errMsg:r,code:s,message:i,cause:a}=e||{};return new he({subject:t||n||BB,code:o||s||Ww.SYSTEM_ERROR.code,message:r||i,cause:a})}let Gu;function rm({secretType:e}={}){return e===Dc.REQUEST||e===Dc.RESPONSE||e===Dc.BOTH}function sm({name:e,data:t={}}={}){return Ai==="app"}function FB({provider:e,spaceId:t,functionName:n}={}){const{appId:o,uniPlatform:r,osName:s}=Ow();let i=r;r==="app"&&(i=s);const a=function({provider:d,spaceId:f}={}){const h=z$;if(!h)return{};d=function(v){return v==="tencent"?"tcb":v}(d);const _=h.find(v=>v.provider===d&&v.spaceId===f);return _&&_.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,_,v;for(let m=0;m<d.length;m++){const y=d[m];y!==f?y!=="*"?y.split(",").map(w=>w.trim()).indexOf(f)>-1&&(_=y):v=y:h=y}return h||_||v}(c,n);if(!u)return!1;if((l[u]||[]).find((d={})=>d.appId===o&&(d.platform||"").toLowerCase()===i.toLowerCase()))return!0;throw jw(Ww.APP_INFO_INVALID)}function im({functionName:e,result:t,logPvd:n}){}function UB(e){const t=e.callFunction,n=function(o){const r=o.name;o.data=MB.call(e,{data:o.data});const s={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],i=rm(o),a=sm(o),l=i||a;return t.call(this,o).then(c=>(c.errCode=0,!l&&im.call(this,{functionName:r,result:c,logPvd:s}),Promise.resolve(c)),c=>(!l&&im.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:_,content:v,mode:m}=f[h],y=u.match(_);if(!y)continue;let w=v;for(let p=1;p<y.length;p++)w=nm(w,`{$${p}}`,y[p]);for(const p in d)w=nm(w,`{${p}}`,d[p]);return m==="replace"?w:u+w}return u}({message:`[${o.name}]: ${c.message}`,formatter:NB,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),sm(o)||function({name:c,data:u={}}){return Ai==="mp-weixin"}(o)||(rm(o)?l=new Gu({secretType:o.secretType,uniCloudIns:e}).wrapEncryptDataCallFunction(n.bind(e))(o):FB({provider:r,spaceId:s,functionName:i})?l=new Gu({secretType:o.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(o):l=a(o)),Object.defineProperty(l,"result",{get:()=>({})}),l.then(c=>c)}}Gu=class{constructor(){throw jw({message:`Platform ${Ai} is not supported by secure network`})}};const zw=Symbol("CLIENT_DB_INTERNAL");function Za(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=zw,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 am(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 qB=["db.Geo","db.command","command.aggregate"];function Gw(e,t){return qB.indexOf(`${e}.${t}`)>-1}function hr(e){switch(li(e=Ew(e))){case"array":return e.map(t=>hr(t));case"object":return e._internalType===zw||Object.keys(e).forEach(t=>{e[t]=hr(e[t])}),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function bs(e){return e&&e.content&&e.content.$method}class VB{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:hr(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=bs(t),o=bs(t.prevStage);if(n==="aggregate"&&o==="collection"||n==="pipeline")return!0;t=t.prevStage}return!1}get isCommand(){let t=this;for(;t;){if(bs(t)==="command")return!0;t=t.prevStage}return!1}get isAggregateCommand(){let t=this;for(;t;){const n=bs(t),o=bs(t.prevStage);if(n==="aggregate"&&o==="command")return!0;t=t.prevStage}return!1}getNextStageFn(t){const n=this;return function(){return ui({$method:t,$param:hr(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:hr(n)}),this._database._callCloudFunction({action:o,command:r})}}function ui(e,t,n){return Za(new VB(e,t,n),{get(o,r){let s="db";return o&&o.content&&(s=o.content.$method),Gw(s,r)?ui({$method:r},o,n):function(){return ui({$method:r,$param:hr(Array.from(arguments))},o,n)}}})}function $c({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())}}}class HB{constructor({uniClient:t={},isJQL:n=!1}={}){this._uniClient=t,this._authCallBacks={},this._dbCallBacks={},t._isDefault&&(this._dbCallBacks=ts("_globalUniCloudDatabaseCallback")),n||(this.auth=am(this._authCallBacks)),this._isJQL=n,Object.assign(this,am(this._dbCallBacks)),this.env=Za({},{get:(o,r)=>({$env:r})}),this.Geo=Za({},{get:(o,r)=>$c({path:["Geo"],method:r})}),this.serverDate=$c({path:[],method:"serverDate"}),this.RegExp=$c({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})}}function lm(e,t={}){return Za(new e(t),{get:(n,o)=>Gw("db",o)?ui({$method:o},null,n):function(){return ui({$method:o,$param:hr(Array.from(arguments))},null,n)}})}class cm extends HB{_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 _=r[h];_.udb&&typeof _.udb.setResult=="function"&&(f?_.udb.setResult(f):_.udb.setResult(d.result.dataList[h]))}}const i=this,a=this._isJQL?"databaseForJQL":"database";function l(d){return i._callback("error",[d]),Vt(Ht(a,"fail"),d).then(()=>Vt(Ht(a,"complete"),d)).then(()=>(s(null,d),yn(lt.RESPONSE,{type:ko.CLIENT_DB,content:d}),Promise.reject(d)))}const c=Vt(Ht(a,"invoke")),u=this._uniClient;return c.then(()=>u.callFunction({name:"DCloud-clientDB",type:Qa.CLIENT_DB,data:{action:t,command:n,multiCommand:o}})).then(d=>{const{code:f,message:h,token:_,tokenExpired:v,systemInfo:m=[]}=d.result;if(m)for(let w=0;w<m.length;w++){const{level:p,message:g,detail:b}=m[w];let S="[System Info]"+g;b&&(S=`${S}
- 详细信息:${b}`),(console[p]||console.log)(S)}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,_&&v&&(Iw({token:_,tokenExpired:v}),this._callbackAuth("refreshToken",[{token:_,tokenExpired:v}]),this._callback("refreshToken",[{token:_,tokenExpired:v}]),yn(lt.REFRESH_TOKEN,{token:_,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 w=0;w<y.length;w++){const{prop:p,tips:g}=y[w];if(p in d.result){const b=d.result[p];Object.defineProperty(d.result,p,{get:()=>b})}}return function(w){return Vt(Ht(a,"success"),w).then(()=>Vt(Ht(a,"complete"),w)).then(()=>{s(w,null);const p=i._parseResult(w);return yn(lt.RESPONSE,{type:ko.CLIENT_DB,content:p}),Promise.resolve(p)})}(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 lr="token无效,跳转登录页面",Kw="token过期,跳转登录页面",Yw={TOKEN_INVALID_TOKEN_EXPIRED:Kw,TOKEN_INVALID_INVALID_CLIENTID:lr,TOKEN_INVALID:lr,TOKEN_INVALID_WRONG_TOKEN:lr,TOKEN_INVALID_ANONYMOUS_USER:lr},WB={"uni-id-token-expired":Kw,"uni-id-check-token-failed":lr,"uni-id-token-not-exist":lr,"uni-id-check-device-feature-failed":lr},Ku=we(ie(ie({},Yw),WB),{default:"用户未登录或登录状态过期,自动跳转登录页面"});function um(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function dm(e=[],t=""){const n=[],o=[];return e.forEach(r=>{r.needLogin===!0?n.push(um(t,r.path)):r.needLogin===!1&&o.push(um(t,r.path))}),{needLoginPage:n,notNeedLoginPage:o}}function di(e){return e.split("?")[0].replace(/^\//,"")}function df(){return function(e){let t=e&&e.$page&&e.$page.fullPath;return t?(t.charAt(0)!=="/"&&(t="/"+t),t):""}(function(){const e=rn();return e[e.length-1]}())}function Xw(){return di(df())}function jB(e="",t={}){if(!e||!(t&&t.list&&t.list.length))return!1;const n=t.list,o=di(e);return n.some(r=>r.pagePath===o)}const zB=!!dw.uniIdRouter,{loginPage:fi,routerNeedLogin:GB,resToLogin:KB,needLoginPage:Jw,notNeedLoginPage:YB,loginPageInTabBar:XB}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:o={}}=dw){const{loginPage:r,needLogin:s=[],resToLogin:i=!0}=n,{needLoginPage:a,notNeedLoginPage:l}=dm(e),{needLoginPage:c,notNeedLoginPage:u}=function(d=[]){const f=[],h=[];return d.forEach(_=>{const{root:v,pages:m=[]}=_,{needLoginPage:y,notNeedLoginPage:w}=dm(m,v);f.push(...y),h.push(...w)}),{needLoginPage:f,notNeedLoginPage:h}}(t);return{loginPage:r,routerNeedLogin:s,resToLogin:i,needLoginPage:[...a,...c],notNeedLoginPage:[...l,...u],loginPageInTabBar:jB(r,o)}}();if(Jw.indexOf(fi)>-1)throw new Error(`Login page [${fi}] should not be "needLogin", please check your pages.json`);function Qw(e){const t=Xw();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=di(Qw(e));return!(YB.indexOf(t)>-1)&&(Jw.indexOf(t)>-1||GB.some(n=>function(o,r){return new RegExp(r).test(o)}(e,n)))}function Zw({redirect:e}){const t=di(e),n=di(fi);return Xw()!==n&&t!==n}function Yu({api:e,redirect:t}={}){if(!t||!Zw({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}(fi,t);XB?e!=="navigateTo"&&e!=="redirectTo"||(e="switchTab"):e==="switchTab"&&(e="navigateTo");const o={navigateTo:Kd,redirectTo:Pl,switchTab:Ci,reLaunch:El};setTimeout(()=>{o[e]({url:n})},0)}function fm({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:o,tokenExpired:r}=ci();let s;if(o){if(r<Date.now()){const i="uni-id-token-expired";s={errCode:i,errMsg:Ku[i]}}}else{const i="uni-id-check-token-failed";s={errCode:i,errMsg:Ku[i]}}return s}();if(JB(e)&&n){if(n.uniIdRedirectUrl=e,Li(lt.NEED_LOGIN).length>0)return setTimeout(()=>{yn(lt.NEED_LOGIN,n)},0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function QB(){(function(){const t=df(),{abortLoginPageJump:n,autoToLoginPage:o}=fm({url:t});n||o&&Yu({api:"redirectTo",redirect:t})})();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t<e.length;t++){const n=e[t];hn(n,{invoke(o){const{abortLoginPageJump:r,autoToLoginPage:s}=fm({url:o.url});return r?o:s?(Yu({api:n,redirect:Qw(o.url)}),!1):o}})}}function ZB(){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 Ku}(n);break;case"clientdb":o=function(r){if(typeof r!="object")return!1;const{errCode:s}=r||{};return s in Yw}(n)}o&&function(r={}){const s=Li(lt.NEED_LOGIN);xw().then(()=>{const i=df();if(i&&Zw({redirect:i}))return s.length>0?yn(lt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},r)):void(fi&&Yu({api:"navigateTo",redirect:i}))})}(n)})}function eF(e){(function(t){t.onResponse=function(n){xc(lt.RESPONSE,n)},t.offResponse=function(n){Pc(lt.RESPONSE,n)}})(e),function(t){t.onNeedLogin=function(n){xc(lt.NEED_LOGIN,n)},t.offNeedLogin=function(n){Pc(lt.NEED_LOGIN,n)},zB&&(ts(om).needLoginInit||(ts(om).needLoginInit=!0,xw().then(()=>{QB.call(t)}),KB&&ZB.call(t)))}(e),function(t){t.onRefreshToken=function(n){xc(lt.REFRESH_TOKEN,n)},t.offRefreshToken=function(n){Pc(lt.REFRESH_TOKEN,n)}}(e)}let eb;const ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",tF=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function nF(){const e=ci().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(eb(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}eb=typeof atob!="function"?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!tF.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=ta.indexOf(e.charAt(s++))<<18|ta.indexOf(e.charAt(s++))<<12|(n=ta.indexOf(e.charAt(s++)))<<6|(o=ta.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 oF=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,_){(f=Object.assign({},f)).errMsg=n;const v=f.tempFiles,m=v.length;let y=0;return new Promise(w=>{for(;y<h;)p();function p(){const g=y++;if(g>=m)return void(!v.find(S=>!S.url&&!S.errMsg)&&w(f));const b=v[g];d.uploadFile({provider:b.provider,filePath:b.path,cloudPath:b.cloudPath,fileType:b.fileType,cloudPathAsRealPath:b.cloudPathAsRealPath,onUploadProgress(S){S.index=g,S.tempFile=b,S.tempFilePath=b.path,_&&_(S)}}).then(S=>{b.url=S.fileID,g<m&&p()}).catch(S=>{b.errMsg=S.errMsg||S.message,g<m&&p()})}})}(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,_)=>{YL({count:c,sizeType:u,sourceType:d,extension:f,success(v){h(r(v,"image"))},fail(v){_({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((_,v)=>{sR({camera:c,compressed:u,maxDuration:d,sourceType:f,extension:h,success(m){const{tempFilePath:y,duration:w,size:p,height:g,width:b}=m;_(r({errMsg:"chooseVideo:ok",tempFilePaths:[y],tempFiles:[{name:m.tempFile&&m.tempFile.name||"",path:y,size:p,type:m.tempFile&&m.tempFile.type||"",width:b,height:g,duration:w,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=KL;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(_){d(r(_))},fail(_){f({errMsg:_.errMsg.replace("chooseFile:fail",o)})}})})}(a),a)}}}),rF=D$(oF);const sF={manual:"manual"};function tb(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===sF.manual)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,_=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 _&&(m.getTree=y),v&&(m.getTreePath=y),n=n.skip(f*(d-1)).limit(f).get(m),n}}}}function iF(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 _=f?f({params:h}):{};let v,m;try{return yield Vt(Ht(d,"invoke"),ie({},_)),v=yield u(...h),yield Vt(Ht(d,"success"),we(ie({},_),{result:v})),v}catch(y){throw m=y,yield Vt(Ht(d,"fail"),we(ie({},_),{error:m})),m}finally{yield Vt(Ht(d,"complete"),m?we(ie({},_),{error:m}):we(ie({},_),{result:v}))}})}}({fn:function u(...d){return de(this,null,function*(){let f;a&&l0({title:r.title,mask:r.mask});const h={name:t,type:Qa.OBJECT,data:{method:c,params:d}};typeof n.secretMethods=="object"&&function(p,g){const b=g.data.method,S=p.secretMethods||{},k=S[b]||S["*"];k&&(g.secretType=k)}(n,h);let _=!1;try{f=yield e.callFunction(h)}catch(p){_=!0,f={result:new he(p)}}const{errSubject:v,errCode:m,errMsg:y,newToken:w}=f.result||{};if(a&&Iu(),w&&w.token&&w.tokenExpired&&(Iw(w),yn(lt.REFRESH_TOKEN,ie({},w))),m){let p=y;if(_&&i&&(p=(yield i({objectName:t,methodName:c,params:d,errSubject:v,errCode:m,errMsg:y})).errMsg||y),a)if(s.type==="toast")Dl({title:p,icon:"none"});else{if(s.type!=="modal")throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:b}=yield function(){return de(this,arguments,function*({title:S,content:k,showCancel:C,cancelText:E,confirmText:I}={}){return new Promise((O,P)=>{CR({title:S,content:k,showCancel:C,cancelText:E,confirmText:I,success(B){O(B)},fail(){O({confirm:!1,cancel:!0})}})})})}({title:"提示",content:p,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&b)return u(...d)}}const g=new he({subject:v,code:m,message:y,requestId:f.requestId});throw g.detail=f.result,yn(lt.RESPONSE,{type:ko.CLOUD_OBJECT,content:g}),g}return yn(lt.RESPONSE,{type:ko.CLOUD_OBJECT,content:f.result}),f.result})},interceptorName:"callObject",getCallbackArgs:function({params:u}={}){return{objectName:t,methodName:c,params:u}}})}})}}function nb(e){return ts($B.replace("{spaceId}",e.config.spaceId))}function aF(){return de(this,arguments,function*({openid:e,callLoginByWeixin:t=!1}={}){throw nb(this),new Error(`[SecureNetwork] API \`initSecureNetworkByWeixin\` is not supported on platform \`${Ai}\``)})}function lF(e){return de(this,null,function*(){const t=nb(this);return t.initPromise||(t.initPromise=aF.call(this,e).then(n=>n).catch(n=>{throw delete t.initPromise,n})),t.initPromise})}function cF(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return lF.call(e,{openid:t,callLoginByWeixin:n})}}function uF(e){(function(t){Hu=t})(e)}function hm(e){const t={getAppBaseInfo:$L,getPushClientId:gu};return function(n){return new Promise((o,r)=>{t[e](we(ie({},n),{success(s){o(s)},fail(s){r(s)}}))})}}class dF extends W${constructor(){super(),this._uniPushMessageCallback=this._receivePushMessage.bind(this),this._currentMessageId=-1,this._payloadQueue=[]}init(){return Promise.all([hm("getAppBaseInfo")(),hm("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(){hE(this._uniPushMessageCallback)}_destroy(){pE(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}function fF(e){e._initPromiseHub||(e._initPromiseHub=new Tw({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 hF={tcb:Zg,tencent:Zg,aliyun:eB,private:em,dcloud:em,alipay:RB};let ln=new class{init(e){let t={};const n=hF[e.provider];if(!n)throw new Error("未提供正确的provider参数");return t=n.init(e),fF(t),UB(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=lm(cm,{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=lm(cm,{uniClient:o,isJQL:!0});return this._databaseForJQL=s,s}}(t),function(o){o.getCurrentUserInfo=nF,o.chooseAndUploadFile=rF.initChooseAndUploadFile(o),Object.assign(o,{get mixinDatacom(){return tb(o)}}),o.SSEChannel=dF,o.initSecureNetworkByWeixin=cF(o),o.setCustomClientInfo=uF,o.importObject=iF(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||Qa.DEFAULT)!==Qa.DEFAULT);const c=i==="callFunction"&&!l,u=this._initPromiseHub.exec();a=a||{};const{success:d,fail:f,complete:h}=Pw(a),_=u.then(()=>l?Promise.resolve():Vt(Ht(i,"invoke"),a)).then(()=>s.call(this,a)).then(v=>l?Promise.resolve(v):Vt(Ht(i,"success"),v).then(()=>Vt(Ht(i,"complete"),v)).then(()=>(c&&yn(lt.RESPONSE,{type:ko.CLOUD_FUNCTION,content:v}),Promise.resolve(v))),v=>l?Promise.reject(v):Vt(Ht(i,"fail"),v).then(()=>Vt(Ht(i,"complete"),v)).then(()=>(yn(lt.RESPONSE,{type:ko.CLOUD_FUNCTION,content:v}),Promise.reject(v))));if(!(d||f||h))return _;_.then(v=>{d&&d(v),h&&h(v),c&&yn(lt.RESPONSE,{type:ko.CLOUD_FUNCTION,content:v})},v=>{f&&f(v),h&&h(v),c&&yn(lt.RESPONSE,{type:ko.CLOUD_FUNCTION,content:v})})}}(t[o],o).bind(t)}),t.init=this.init,t}};(()=>{const e=G$;let t={};if(e&&e.length===1)t=e[0],ln=ln.init(t),ln._isDefault=!0;else{const n=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile"],o=["database","getCurrentUserInfo","importObject"];let r;r=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",[...n,...o].forEach(s=>{ln[s]=function(){if(o.indexOf(s)===-1)return Promise.reject(new he({code:"SYS_ERR",message:r}))}})}if(Object.assign(ln,{get mixinDatacom(){return tb(ln)}}),eF(ln),ln.addInterceptor=kw,ln.removeInterceptor=X$,ln.interceptObject=J$,Ai==="web"){const n=Y$();n.uniCloud=ln,n.UniCloudError=he}})();var Xu=ln;function pF(){return new Promise((e,t)=>{t({message:"请在App中使用"})})}function gF(){return new Promise((e,t)=>{pF().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 Xu.getTempFileURL({fileList:[r]});typeof s.fileList[0].tempFileURL!="undefined"&&(n.url=s.fileList[0].tempFileURL)}if(n.is_silently){dR({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 mF=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,O=Array(E);I<E;I++)O[I]=C[I];return O}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 O=E[I];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(C,m(O.key),O)}}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 O=0,P=function(){};return{s:P,n:function(){return O>=C.length?{done:!0}:{done:!1,value:C[O++]}},e:function(z){throw z},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B,Z=!0,M=!1;return{s:function(){I=I.call(C)},n:function(){var z=I.next();return Z=z.done,z},e:function(z){M=!0,B=z},f:function(){try{Z||I.return==null||I.return()}finally{if(M)throw B}}}}function a(){return a=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(C,E,I){var O=h(C,E);if(O){var P=Object.getOwnPropertyDescriptor(O,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,O){return I.__proto__=O,I},f(C,E)}function h(C,E){for(;!{}.hasOwnProperty.call(C,E)&&(C=l(C))!==null;);return C}function _(C,E,I,O){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 O=I.call(C,E);if(typeof O!="object")return O;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 w(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 p(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 g=function(){function C(){o(this,C),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return s(C,[{key:"addEventListener",value:function(I,O,P){I in this.listeners||(this.listeners[I]=[]),this.listeners[I].push({callback:O,options:P})}},{key:"removeEventListener",value:function(I,O){if(I in this.listeners){for(var P=this.listeners[I],B=0,Z=P.length;B<Z;B++)if(P[B].callback===O){P.splice(B,1);return}}}},{key:"dispatchEvent",value:function(I){var O=this;if(I.type in this.listeners){for(var P=this.listeners[I.type],B=P.slice(),Z=function(){var X=B[M];try{X.callback.call(O,I)}catch(D){Promise.resolve().then(function(){throw D})}X.options&&X.options.once&&O.removeEventListener(I.type,X.callback)},M=0,z=B.length;M<z;M++)Z();return!I.defaultPrevented}}}])}(),b=function(C){function E(){var I;return o(this,E),I=n(this,E),I.listeners||g.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(O){O.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,O)),_(E,"dispatchEvent",this)([O])}},{key:"throwIfAborted",value:function(){var O=this.aborted,P=this.reason,B=P===void 0?"Aborted":P;if(O)throw B}}],[{key:"timeout",value:function(O){var P=new S;return setTimeout(function(){return P.abort(new DOMException("This signal is timeout in ".concat(O,"ms"),"TimeoutError"))},O),P.signal}},{key:"any",value:function(O){var P=new S;function B(){P.abort(this.reason),Z()}function Z(){var X=i(O),D;try{for(X.s();!(D=X.n()).done;){var ee=D.value;ee.removeEventListener("abort",B)}}catch(U){X.e(U)}finally{X.f()}}var M=i(O),z;try{for(M.s();!(z=M.n()).done;){var te=z.value;if(te.aborted){P.abort(te.reason);break}else te.addEventListener("abort",B)}}catch(X){M.e(X)}finally{M.f()}return P.signal}}])}(g),S=function(){function C(){o(this,C),Object.defineProperty(this,"signal",{value:new b,writable:!0,configurable:!0})}return s(C,[{key:"abort",value:function(I){var O=p(I),P=w(O);this.signal.reason=O,this.signal.dispatchEvent(P)}},{key:"toString",value:function(){return"[object AbortController]"}}])}();typeof Symbol!="undefined"&&Symbol.toStringTag&&(S.prototype[Symbol.toStringTag]="AbortController",b.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=b)})(typeof self!="undefined"?self:mF)});const ob={__name:"App",setup(e){const t=uni.requireNativePlugin("EL-MTPush");M$();const n=Oi(),o=Y(()=>!!n.token);return hN(()=>{o.value&&n.getUserInfo(),kn().platform==="ios"&&t.requestNotificationAuthorization(r=>{r.status<2&&Dl({icon:"none",title:En("app.notificationPermission"),duration:3e3})}),t.setSiteName("Singapore"),t.setLoggerEnable(!0),t.initPushService(),t.addConnectEventListener(r=>{const s=r.connectEnable;AP("connectStatusChange",s)}),t.getRegistrationID(r=>{ct("registerID",r.registerID),gw({jpushDeviceId:r.registerID})})}),V0(()=>{gF()}),fN(()=>{}),()=>{}}};uL(ob);const yF={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]})}},vF=_$();function _F(e){const t="/mall",n="/cif",o="/operating";let r=vF,s=e;return(e.startsWith(t)||e.startsWith(n)||e.startsWith(o))&&(r="https://api.bandhubuy.com"),{baseUrl:r,processedUrl:s}}const pm={invoke(e){var n,o;if(e.query){const r=sf(e.query);e.url.includes("?")?e.url+=`&${r}`:e.url+=`?${r}`}if(!e.url.startsWith("http")){const{baseUrl:r,processedUrl:s}=_F(e.url);JSON.parse("false")?e.url="/api"+s:e.url=r+s}if(e.timeout=1e4,e.header=ie({platform:g$},e.header),e.header["accept-language"]=nw.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)}}},wF={install(){hn("request",pm),hn("uploadFile",pm)}},bF="/pages/login/login";function SF(){return!!Oi().token}const na={invoke({url:e}){let t=e.split("?")[0];if(!t.startsWith("/")){const i=fw().route,a=i.startsWith("/")?i:`/${i}`;t=`${a.substring(0,a.lastIndexOf("/"))}/${t}`}let n=[];if(n=hw,!n.includes(t)||SF())return!0;const s=`${bF}?redirect=${encodeURIComponent(e)}`;return ai({url:s}),!1}},TF={install(){hn("navigateTo",na),hn("reLaunch",na),hn("redirectTo",na),hn("switchTab",na)}},CF={install(e){e.config.globalProperties.$tWithBreaks=n$,e.config.globalProperties.$formatTextWithBreaks=ow}},qr=[Number,String],rb=e=>({type:e,required:!0}),kF=()=>({type:Array,default:()=>[]}),ke=e=>({type:Boolean,default:e}),cr=e=>({type:Number,default:e}),ff=e=>({type:qr,default:e}),Ne=e=>({type:String,default:e}),Ut={customStyle:Ne(""),customClass:Ne("")},xF=we(ie({},Ut),{name:rb(String),color:String,size:qr,classPrefix:Ne("wd-icon")}),PF={name:"wd-icon",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},EF=tt(we(ie({},PF),{props:xF,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"]=xn(n.size)),`${Vn(l)} ${n.customStyle}`});function a(l){o("click",l)}return(l,c)=>{const u=A_,d=_n;return me(),_e(d,{onClick:a,class:et(s.value),style:dt(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"])}}})),sn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Gn=sn(EF,[["__scopeId","data-v-bef80b7c"]]),oa=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],sb=e=>e.replace(/[+/]/g,t=>t==="+"?"-":"_").replace(/=+\$/m,""),IF=(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+=oa[l>>>18],n+=oa[l>>>12&63],n+=typeof i!="undefined"?oa[l>>>6&63]:"=",n+=typeof a!="undefined"?oa[l&63]:"="}return t?sb(n):n},OF=typeof btoa=="function"?e=>btoa(e):e=>{if(e.charCodeAt(0)>255)throw new RangeError("The string contains invalid characters.");return IF(Uint8Array.from(e,t=>t.charCodeAt(0)))},AF=e=>unescape(encodeURIComponent(e));function hf(e,t=!1){const n=OF(AF(e));return t?sb(n):n}const LF=we(ie({},Ut),{type:Ne("ring"),color:Ne("#4D80F0"),size:ff("")}),RF={name:"wd-loading",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},MF=tt(we(ie({},RF),{props:LF,setup(e){const t=wc.id++,n=wc.id++,o=wc.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);re(()=>s.size,d=>{l.value=xn(d)},{deep:!0,immediate:!0}),re(()=>s.type,()=>{u()},{deep:!0,immediate:!0});const c=Y(()=>{const d={};return Ee(l.value)&&(d.height=xn(l.value),d.width=xn(l.value)),`${Vn(d)} ${s.customStyle}`});qo(()=>{a.value=BD(s.color,"#ffffff",2)[1],u()});function u(){const{type:d,color:f}=s;let h=Ee(d)?d:"ring";const _=`"data:image/svg+xml;base64,${hf(h==="ring"?r[h](f,a.value):r[h](f))}"`;i.value=_}return(d,f)=>{const h=_n;return me(),_e(h,{class:et(`wd-loading ${s.customClass}`),style:dt(c.value)},{default:ve(()=>[L(h,{class:"wd-loading__body"},{default:ve(()=>[L(h,{class:"wd-loading__svg",style:dt(`background-image: url(${i.value});`)},null,8,["style"])]),_:1})]),_:1},8,["class","style"])}}})),NF=sn(MF,[["__scopeId","data-v-4224d8d3"]]),DF=we(ie({},Ut),{show:ke(!1),duration:{type:[Object,Number,Boolean],default:300},lazyRender:ke(!1),name:[String,Array],destroy:ke(!0),enterClass:Ne(""),enterActiveClass:Ne(""),enterToClass:Ne(""),leaveClass:Ne(""),leaveActiveClass:Ne(""),leaveToClass:Ne("")}),$F={name:"wd-transition",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},BF=tt(we(ie({},$F),{props:DF,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}`,O=`${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}`,O=`wd-${k[P]}-leave-to wd-${k[P]}-leave-active ${O}`;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}`,O=`wd-${k}-leave-to wd-${k}-leave-active ${O}`);return{enter:C,"enter-to":E,leave:I,"leave-to":O}},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),_=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}`);qo(()=>{o.show&&p()}),re(()=>o.show,k=>{y(k)},{deep:!0});function m(){r("click")}function y(k){k?(w(),p()):g()}function w(){bc(d.value)&&d.value.abort(),bc(f.value)&&f.value.abort(),bc(h.value)&&h.value.abort(),d.value=null,f.value=null,h.value=null}function p(){d.value=new Fu(k=>de(this,null,function*(){try{const C=n(o.name),E=es(o.duration)?o.duration.enter:o.duration;a.value="enter",r("before-enter"),f.value=rr(),yield f.value,r("enter"),u.value=C.enter,c.value=E,f.value=rr(),yield f.value,s.value=!0,i.value=!0,f.value=rr(),yield f.value,f.value=null,l.value=!1,u.value=C["enter-to"],k()}catch(C){}}))}function g(){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=es(o.duration)?o.duration.leave:o.duration;a.value="leave",r("before-leave"),c.value=C,h.value=rr(),yield h.value,r("leave"),u.value=k.leave,h.value=rr(),yield h.value,l.value=!1,u.value=k["leave-to"],h.value=b(c.value),yield h.value,h.value=null,S(),d.value=null}catch(k){}})}function b(k){return new Fu(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=_n;return!k.lazyRender||s.value?(me(),_e(E,{key:0,class:et(v.value),style:dt(_.value),onTransitionend:S,onClick:m},{default:ve(()=>[mt(k.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])):Ye("",!0)}}})),pf=sn(BF,[["__scopeId","data-v-1fc69211"]]),FF=we(ie({},Ut),{show:ke(!1),duration:{type:[Object,Number,Boolean],default:300},lockScroll:ke(!0),zIndex:cr(10)});function UF(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 re(e,s=>{s?n():o()}),_d(r),At(r),{lock:n,unlock:o}}const qF={name:"wd-overlay",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},VF=tt(we(ie({},qF),{props:FF,emits:["click"],setup(e,{emit:t}){const n=e,o=t;function r(){o("click")}function s(){}return UF(()=>n.show&&n.lockScroll),(i,a)=>(me(),_e(pf,{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]=un(l=>i.lockScroll?s:"",["stop","prevent"]))},{default:ve(()=>[mt(i.$slots,"default",{},void 0,!0)]),_:3},8,["show","duration","custom-style"]))}})),ib=sn(VF,[["__scopeId","data-v-ec0037f9"]]),HF=we(ie({},Ut),{selector:Ne(""),msg:{type:String,default:""},direction:Ne("horizontal"),iconName:{type:String,default:""},iconSize:Number,loadingType:Ne("outline"),loadingColor:{type:String,default:"#4D80F0"},loadingSize:Number,iconColor:String,position:Ne("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}),WF={name:"wd-toast",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},jF=tt(we(ie({},WF),{props:HF,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"),_=H(""),v=H("horizontal");let m=null,y=null;const w=Z0(t.selector),p=De(w,H(Uu));re(()=>p.value,P=>{I(P)},{deep:!0,immediate:!0}),re(()=>n.value,()=>{E()},{deep:!0,immediate:!0});const g=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 Vn(P)}),b=Y(()=>`wd-toast ${t.customClass} wd-toast--${r.value} ${(n.value!=="loading"||o.value)&&(n.value||_.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),Vn(P)});qo(()=>{E()});function k(){Tn(m)&&m()}function C(){Tn(y)&&y()}function E(){if(n.value!=="success"&&n.value!=="warning"&&n.value!=="info"&&n.value!=="error")return;const P=GD[n.value](),B=`"data:image/svg+xml;base64,${hf(P)}"`;d.value=B}function I(P){s.value=Ee(P.show)?P.show:!1,s.value&&O(P,t)}function O(P,B){n.value=Ee(P.iconName)?P.iconName:B.iconName,_.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)?xn(P.iconSize):Ee(B.iconSize)?xn(B.iconSize):void 0,u.value=Ee(P.loadingSize)?xn(P.loadingSize):Ee(B.loadingSize)?xn(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=Tn(P.closed)?P.closed:Tn(B.closed)?B.closed:null,m=Tn(P.opened)?P.opened:Tn(B.opened)?B.opened:null}return(P,B)=>{const Z=_n;return me(),pl(ot,null,[f.value?(me(),_e(ib,{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(pf,{name:"fade",show:s.value,"custom-style":g.value,onAfterEnter:k,onAfterLeave:C},{default:ve(()=>[L(Z,{class:et(b.value)},{default:ve(()=>[n.value==="loading"?(me(),_e(NF,{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(Z,{key:1,class:et(`wd-toast__iconWrap wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`)},{default:ve(()=>[L(Z,{class:"wd-toast__iconBox"},{default:ve(()=>[L(Z,{class:"wd-toast__iconSvg",style:dt(S.value)},null,8,["style"])]),_:1})]),_:1},8,["class"])):_.value?(me(),_e(Gn,{key:2,"custom-class":`wd-toast__icon ${v.value==="vertical"?"is-vertical":""}`,size:c.value,"class-prefix":h.value,name:_.value},null,8,["custom-class","size","class-prefix","name"])):Ye("",!0),o.value?(me(),_e(Z,{key:3,class:"wd-toast__msg"},{default:ve(()=>[qt(dn(o.value),1)]),_:1})):Ye("",!0)]),_:1},8,["class"])]),_:1},8,["show","custom-style"])],64)}}})),ab=sn(jF,[["__scopeId","data-v-d24ac773"]]),zF=we(ie({},Ut),{transition:String,closable:ke(!1),position:Ne("center"),closeOnClickModal:ke(!0),duration:{type:[Number,Boolean],default:300},modal:ke(!0),zIndex:cr(10),hideWhenClose:ke(!0),modalStyle:Ne(""),safeAreaInsetBottom:ke(!1),modelValue:ke(!1),lazyRender:ke(!0),lockScroll:ke(!0)}),GF={name:"wd-popup",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},KF=tt(we(ie({},GF),{props:zF,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||""}`);qo(()=>{if(n.safeAreaInsetBottom){const{safeArea:d,screenHeight:f,safeAreaInsets:h}=kn();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=_n;return me(),_e(h,{class:"wd-popup-wrapper"},{default:ve(()=>[d.modal?(me(),_e(ib,{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(pf,{"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]=_=>o("before-enter")),onEnter:f[1]||(f[1]=_=>o("enter")),onAfterEnter:f[2]||(f[2]=_=>o("after-enter")),onBeforeLeave:f[3]||(f[3]=_=>o("before-leave")),onLeave:f[4]||(f[4]=_=>o("leave")),onAfterLeave:f[5]||(f[5]=_=>o("after-leave"))},{default:ve(()=>[mt(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})}}})),YF=sn(KF,[["__scopeId","data-v-974776cf"]]),XF=we(ie({},Ut),{plain:ke(!1),round:ke(!0),disabled:ke(!1),hairline:ke(!1),block:ke(!1),type:Ne("primary"),size:Ne("medium"),icon:String,classPrefix:Ne("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"}},QF=tt(we(ie({},JF),{props:XF,emits:["click","getuserinfo","contact","getphonenumber","error","launchapp","opensetting","chooseavatar","agreeprivacyauthorization"],setup(e,{emit:t}){const n=(g="#4D80F0",b=!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="${b?g:"#fff"}" offset="0%" stop-opacity="0"/><stop stop-color="${b?g:"#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="${b?"#fff":g}"/><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});`);re(()=>o.loading,()=>{p()},{deep:!0,immediate:!0});function c(g){!o.disabled&&!o.loading&&r("click",g)}function u(g){o.scope==="phoneNumber"?h(g):o.scope==="userInfo"&&d(g)}function d(g){r("getuserinfo",g.detail)}function f(g){r("contact",g.detail)}function h(g){r("getphonenumber",g.detail)}function _(g){r("error",g.detail)}function v(g){r("launchapp",g.detail)}function m(g){r("opensetting",g.detail)}function y(g){r("chooseavatar",g.detail)}function w(g){r("agreeprivacyauthorization",g.detail)}function p(){const{loadingColor:g,type:b,plain:S}=o;let k=g;if(!k)switch(b){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,${hf(C)}"`}return(g,b)=>{const S=_n,k=Gx;return me(),_e(k,{id:g.buttonId,"hover-class":`${g.disabled||g.loading?"":"wd-button--active"}`,style:dt(g.customStyle),class:et(["wd-button","is-"+g.type,"is-"+g.size,g.round?"is-round":"",g.hairline?"is-hairline":"",g.plain?"is-plain":"",g.disabled?"is-disabled":"",g.block?"is-block":"",g.loading?"is-loading":"",g.customClass]),"hover-start-time":s.value,"hover-stay-time":i.value,"open-type":g.disabled||g.loading?void 0:g.openType,"send-message-title":g.sendMessageTitle,"send-message-path":g.sendMessagePath,"send-message-img":g.sendMessageImg,"app-parameter":g.appParameter,"show-message-card":g.showMessageCard,"session-from":g.sessionFrom,lang:g.lang,"hover-stop-propagation":g.hoverStopPropagation,scope:g.scope,onClick:c,onGetAuthorize:u,onGetuserinfo:d,onContact:f,onGetphonenumber:h,onError:_,onLaunchapp:v,onOpensetting:m,onChooseavatar:y,onAgreeprivacyauthorization:w},{default:ve(()=>[L(S,{class:"wd-button__content"},{default:ve(()=>[g.loading?(me(),_e(S,{key:0,class:"wd-button__loading"},{default:ve(()=>[L(S,{class:"wd-button__loading-svg",style:dt(l.value)},null,8,["style"])]),_:1})):g.icon?(me(),_e(Gn,{key:1,"custom-class":"wd-button__icon",name:g.icon,classPrefix:g.classPrefix},null,8,["name","classPrefix"])):Ye("",!0),L(S,{class:"wd-button__text"},{default:ve(()=>[mt(g.$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"])}}})),gm=sn(QF,[["__scopeId","data-v-7f9ef195"]]);function gf(e){const t=De(e,null);if(t){const n=ht(),{link:o,unlink:r,internalChildren:s}=t;o(n),qn(()=>r(n));const i=Y(()=>s.indexOf(n));return{parent:t,index:i}}return{parent:null,index:H(-1)}}const ZF=Symbol("wd-cell-group"),f4=we(ie({},Ut),{title:String,value:String,useSlot:ke(!1),border:ke(!1)});function e5(){const{parent:e,index:t}=gf(ZF);return{border:Y(()=>e&&e.props.border&&t.value)}}const t5=Symbol("wd-form"),h4=we(ie({},Ut),{model:rb(Object),rules:{type:Object,default:()=>({})},resetOnChange:ke(!0),errorType:{type:String,default:"message"}}),lb=e=>{const t=e?VD(e)+".":"";return{translate:(o,...r)=>{const s=ew.messages(),i=jD(s,t+o);return Tn(i)?i(...r):Ee(i)?i:`${t}${o}`}}},n5=we(ie({},Ut),{customInputClass:Ne(""),customLabelClass:Ne(""),placeholder:String,placeholderStyle:String,placeholderClass:Ne(""),cursorSpacing:cr(0),cursor:cr(-1),selectionStart:cr(-1),selectionEnd:cr(-1),adjustPosition:ke(!0),holdKeyboard:ke(!1),confirmType:Ne("done"),confirmHold:ke(!1),focus:ke(!1),type:Ne("text"),maxlength:{type:Number,default:-1},disabled:ke(!1),alwaysEmbed:ke(!1),alignRight:ke(!1),modelValue:ff(""),showPassword:ke(!1),clearable:ke(!1),readonly:ke(!1),prefixIcon:String,suffixIcon:String,showWordLimit:ke(!1),label:String,labelWidth:Ne(""),size:String,error:ke(!1),center:ke(!1),noBorder:ke(!1),required:ke(!1),prop:String,rules:kF(),clearTrigger:Ne("always"),focusWhenClear:ke(!0),ignoreCompositionEvent:ke(!0),inputmode:Ne("text")}),o5={name:"wd-input",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},r5=tt(we(ie({},o5),{props:n5,emits:["update:modelValue","clear","blur","focus","input","keyboardheightchange","confirm","clicksuffixicon","clickprefixicon","click"],setup(e,{emit:t}){const n=e,o=t,r=FT(),{translate:s}=lb("input"),i=H(!1),a=H(!1),l=H(!1),c=H(!1),u=H(S()),d=e5();re(()=>n.focus,D=>{l.value=D},{immediate:!0,deep:!0}),re(()=>n.modelValue,D=>{u.value=Ee(D)?String(D):""});const{parent:f}=gf(t5),h=Y(()=>Ee(n.placeholder)?n.placeholder:s("placeholder")),_=Y(()=>{const{disabled:D,readonly:ee,clearable:U,clearTrigger:K}=n;return!!(U&&!ee&&!D&&u.value&&(K==="always"||n.clearTrigger==="focus"&&c.value))}),v=Y(()=>{const{disabled:D,readonly:ee,maxlength:U,showWordLimit:K}=n;return!!(!D&&!ee&&Ee(U)&&U>-1&&K)}),m=Y(()=>f&&n.prop&&f.errorMessages&&f.errorMessages[n.prop]?f.errorMessages[n.prop]:""),y=Y(()=>{let D=!1;if(f&&f.props.rules){const ee=f.props.rules;for(const U in ee)Object.prototype.hasOwnProperty.call(ee,U)&&U===n.prop&&Array.isArray(ee[U])&&(D=ee[U].some(K=>K.required))}return n.required||n.rules.some(ee=>ee.required)||D}),w=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}`),p=Y(()=>`wd-input__label ${n.customLabelClass} ${y.value?"is-required":""}`),g=Y(()=>`wd-input__placeholder ${n.placeholderClass}`),b=Y(()=>n.labelWidth?Vn({"min-width":n.labelWidth,"max-width":n.labelWidth}):"");function S(){const D=k(n.modelValue);return X(D,n.modelValue)||o("update:modelValue",D),D}function k(D){const{maxlength:ee}=n;return Ee(ee)&&ee!==-1&&String(D).length>ee?D.toString().slice(0,ee):D}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 rr(),n.focusWhenClear&&(l.value=!0,c.value=!0),o("update:modelValue",u.value),o("clear")})}function I(){return de(this,null,function*(){if(yield rr(150),a.value){a.value=!1;return}c.value=!1,o("blur",{value:u.value})})}function O({detail:D}){c.value=!0,o("focus",D)}function P({detail:D}){o("update:modelValue",u.value),o("input",D)}function B({detail:D}){o("keyboardheightchange",D)}function Z({detail:D}){o("confirm",D)}function M(){o("clicksuffixicon")}function z(){o("clickprefixicon")}function te(D){o("click",D)}function X(D,ee){return FD(String(D),String(ee))}return(D,ee)=>{const U=_n,K=nA,G=G_;return me(),_e(U,{class:et(w.value),style:dt(D.customStyle),onClick:te},{default:ve(()=>[D.label||D.$slots.label?(me(),_e(U,{key:0,class:et(p.value),style:dt(b.value)},{default:ve(()=>[D.prefixIcon||D.$slots.prefix?(me(),_e(U,{key:0,class:"wd-input__prefix"},{default:ve(()=>[D.prefixIcon&&!D.$slots.prefix?(me(),_e(Gn,{key:0,"custom-class":"wd-input__icon",name:D.prefixIcon,onClick:z},null,8,["name"])):mt(D.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ye("",!0),L(U,{class:"wd-input__label-inner"},{default:ve(()=>[D.label&&!D.$slots.label?(me(),pl(ot,{key:0},[qt(dn(D.label),1)],64)):mt(D.$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(()=>[(D.prefixIcon||D.$slots.prefix)&&!D.label?(me(),_e(U,{key:0,class:"wd-input__prefix"},{default:ve(()=>[D.prefixIcon&&!D.$slots.prefix?(me(),_e(Gn,{key:0,"custom-class":"wd-input__icon",name:D.prefixIcon,onClick:z},null,8,["name"])):mt(D.$slots,"prefix",{key:1},void 0,!0)]),_:3})):Ye("",!0),L(K,{class:et(["wd-input__inner",D.prefixIcon?"wd-input__inner--prefix":"",v.value?"wd-input__inner--count":"",D.alignRight?"is-align-right":"",D.customInputClass]),type:D.type,password:D.showPassword&&!i.value,modelValue:u.value,"onUpdate:modelValue":ee[0]||(ee[0]=V=>u.value=V),placeholder:h.value,disabled:D.disabled||D.readonly,maxlength:D.maxlength,focus:l.value,"confirm-type":D.confirmType,"confirm-hold":D.confirmHold,cursor:D.cursor,"cursor-spacing":D.cursorSpacing,"placeholder-style":D.placeholderStyle,"selection-start":D.selectionStart,"selection-end":D.selectionEnd,"adjust-position":D.adjustPosition,"hold-keyboard":D.holdKeyboard,"always-embed":D.alwaysEmbed,"placeholder-class":g.value,ignoreCompositionEvent:D.ignoreCompositionEvent,inputmode:D.inputmode,onInput:P,onFocus:O,onBlur:I,onConfirm:Z,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),_.value||D.showPassword||D.suffixIcon||v.value||D.$slots.suffix?(me(),_e(U,{key:2,class:"wd-input__suffix"},{default:ve(()=>[_.value?(me(),_e(Gn,{key:0,"custom-class":"wd-input__clear",name:"error-fill",onClick:E})):Ye("",!0),D.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:et([u.value&&String(u.value).length>0?"wd-input__count-current":"",String(u.value).length>D.maxlength?"is-error":""])},{default:ve(()=>[qt(dn(String(u.value).length),1)]),_:1},8,["class"]),qt(" /"+dn(D.maxlength),1)]),_:1})):Ye("",!0),D.suffixIcon&&!D.$slots.suffix?(me(),_e(Gn,{key:3,"custom-class":"wd-input__icon",name:D.suffixIcon,onClick:M},null,8,["name"])):mt(D.$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(()=>[qt(dn(m.value),1)]),_:1})):Ye("",!0)]),_:3})]),_:3},8,["class","style"])}}})),s5=sn(r5,[["__scopeId","data-v-b402172f"]]),i5=we(ie({},Ut),{selector:Ne("")}),a5={name:"wd-message-box",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},l5=tt(we(ie({},a5),{props:i5,setup(e){const t=e,{translate:n}=lb("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=YD(t.selector),i=De(s,H(KD)),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=ii({block:!0},Ee(a.confirmButtonProps)?Ja(a.confirmButtonProps,Xa):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y}),c=Y(()=>{const y=ii({block:!0,type:"info"},Ee(a.cancelButtonProps)?Ja(a.cancelButtonProps,Xa):{});return y.customClass=`${y.customClass||""} wd-message-box__actions-btn`,y});re(()=>i.value,y=>{m(y)},{deep:!0,immediate:!0}),re(()=>a.show,y=>{_(!!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:w=>{w&&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,Tn(a.success)&&a.success(y)}function f(y){a.show=!1,Tn(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 _(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,w)=>{const p=_n;return me(),_e(p,null,{default:ve(()=>[L(YF,{transition:"zoom-in",modelValue:a.show,"onUpdate:modelValue":w[3]||(w[3]=g=>a.show=g),"close-on-click-modal":a.closeOnClickModal,"lazy-render":a.lazyRender,"custom-class":"wd-message-box",onClickModal:w[4]||(w[4]=g=>u("modal")),"z-index":a.zIndex,duration:200},{default:ve(()=>[L(p,{class:et(o.value)},{default:ve(()=>[L(p,{class:et(r.value)},{default:ve(()=>[a.title?(me(),_e(p,{key:0,class:"wd-message-box__title"},{default:ve(()=>[qt(dn(a.title),1)]),_:1})):Ye("",!0),L(p,{class:"wd-message-box__content"},{default:ve(()=>[a.type==="prompt"?(me(),pl(ot,{key:0},[L(s5,{modelValue:a.inputValue,"onUpdate:modelValue":w[0]||(w[0]=g=>a.inputValue=g),type:a.inputType,size:a.inputSize,placeholder:a.inputPlaceholder,onInput:v},null,8,["modelValue","type","size","placeholder"]),a.showErr?(me(),_e(p,{key:0,class:"wd-message-box__input-error"},{default:ve(()=>[qt(dn(a.inputError||kt(n)("inputNoValidate")),1)]),_:1})):Ye("",!0)],64)):Ye("",!0),mt(y.$slots,"default",{},()=>[qt(dn(a.msg),1)],!0)]),_:3})]),_:3},8,["class"]),L(p,{class:et(`wd-message-box__actions ${a.showCancelButton?"wd-message-box__flex":"wd-message-box__block"}`)},{default:ve(()=>[a.showCancelButton?(me(),_e(gm,Ot({key:0},c.value,{onClick:w[1]||(w[1]=g=>u("cancel"))}),{default:ve(()=>[qt(dn(a.cancelButtonText||kt(n)("cancel")),1)]),_:1},16)):Ye("",!0),L(gm,Ot(l.value,{onClick:w[2]||(w[2]=g=>u("confirm"))}),{default:ve(()=>[qt(dn(a.confirmButtonText||kt(n)("confirm")),1)]),_:1},16)]),_:1},8,["class"])]),_:3},8,["class"])]),_:3},8,["modelValue","close-on-click-modal","lazy-render","z-index"])]),_:3})}}})),cb=sn(l5,[["__scopeId","data-v-05f973d9"]]),c5=we(ie({},Ut),{theme:Ne("light"),themeVars:{type:Object,default:()=>({})}}),u5={name:"wd-config-provider",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},ub=tt(we(ie({},u5),{props:c5,setup(e){const t=e,n=Y(()=>`wot-theme-${t.theme} ${t.customClass}`),o=Y(()=>{const i=s(t.themeVars);return i?`${Vn(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=_n;return me(),_e(l,{class:et(n.value),style:dt(o.value)},{default:ve(()=>[mt(i.$slots,"default")]),_:3},8,["class","style"])}}})),d5="/static/icons/whatsapp.png";function Vl(){const e=globalThis==null?void 0:globalThis.plus;return e==null?void 0:e.runtime}function db(e){const t=Vl();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 fb(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 f5(e,t){const{url:n,text:o}=t,r=Vl();if(!r){fb(e,t);return}qL({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=>{Pn.info(En("share.appNotInstalled"))})}function p4(e,t){if(!Vl()){fb(e,t);return}if(!db(e)){Pn.info(En("share.appNotInstalled"));return}f5(e,t)}function hb(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 g4(e,t=""){const n=Vl();if(!n){hb(e,t);return}if(!db("whatsapp")){Pn.info(En("share.appNotInstalled"));return}e==="live_chat"?n.openURL(`whatsapp://send?phone=${t}`):e==="activity_group"&&n.openURL(`https://chat.whatsapp.com/${t}`)}const mm="customer_service_fab_position_v1",h5=tt({__name:"CustomerServiceFab",props:{bottomOffset:{}},setup(e){const t=e,n=H(0),o=H(0);function r(h){const v=kn().windowWidth||375;return h*v/750}function s(){var m,y;const h=kn(),_=r((m=t.bottomOffset)!=null?m:0),v=Number((y=h==null?void 0:h.safeAreaInsets)==null?void 0:y.bottom)||0;return _+v}function i(){const h=kn(),_=h.windowWidth||375,v=h.windowHeight||667,m=r(80),y=r(24),w=r(-86),p=s();n.value=Math.max(0,_-m-y),o.value=Math.max(0,v-m-p-w)}function a(){const h=kn(),_=h.windowWidth||375,v=h.windowHeight||667,m=r(80),y=s(),w=Math.max(0,_-m),p=Math.max(0,v-m-y);n.value=Math.min(Math.max(0,n.value),w),o.value=Math.min(Math.max(0,o.value),p)}function l(){try{const h=st(mm);if(!h){i();return}const _=typeof h=="string"?JSON.parse(h):h,v=Number(_==null?void 0:_.x),m=Number(_==null?void 0:_.y);if(Number.isFinite(v)&&Number.isFinite(m)){n.value=v,o.value=m,a();return}i()}catch(h){i()}}function c(){try{ct(mm,JSON.stringify({x:n.value,y:o.value}))}catch(h){}}function u(){a(),c()}V0(()=>{l()});function d(h){const _=h==null?void 0:h.detail,v=Number(_==null?void 0:_.x),m=Number(_==null?void 0:_.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 _=yield x$({code:"live_chat"}),v=(h=_==null?void 0:_.data)==null?void 0:h.valueInfo;if(!v){Pn.info("客服暂不可用");return}hb("live_chat",v)}catch(_){Pn.info("客服暂不可用")}})}return(h,_)=>{const v=A_,m=F_,y=B_;return me(),_e(y,{class:"customer-fab-area"},{default:ve(()=>[L(m,{x:kt(n),y:kt(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:d5,class:"customer-fab-trigger__icon",mode:"heightFix",onClick:f})]),_:1},8,["x","y"])]),_:1})}}}),pb=sn(h5,[["__scopeId","data-v-3cd67129"]]),p5=tt({__name:"default",setup(e){const t={};return(n,o)=>{const r=Oo(Xn("wd-toast"),ab),s=Oo(Xn("wd-message-box"),cb),i=Oo(Xn("wd-config-provider"),ub);return me(),_e(i,{"theme-vars":t},{default:ve(()=>[mt(n.$slots,"default"),L(pb,{"bottom-offset":120}),L(r),L(s)]),_:3})}}}),g5=we(ie({},Ut),{modelValue:qr,showZero:ke(!1),bgColor:String,max:Number,isDot:Boolean,hidden:Boolean,type:Ne(void 0),top:qr,right:qr}),m5={name:"wd-badge",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},y5=tt(we(ie({},m5),{props:g5,setup(e){const t=e,n=Y(()=>{const{modelValue:s,max:i,isDot:a}=t;if(a)return"";let l=s;return l&&i&&WD(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=xn(t.top)),Ee(t.right)&&(s.right=xn(t.right)),Vn(s)}),r=Y(()=>!t.hidden&&(n.value||n.value===0&&t.showZero||t.isDot));return(s,i)=>{const a=_n;return me(),_e(a,{class:et(["wd-badge",s.customClass]),style:dt(s.customStyle)},{default:ve(()=>[mt(s.$slots,"default",{},void 0,!0),r.value?(me(),_e(a,{key:0,class:et(["wd-badge__content","is-fixed",s.type?"wd-badge__content--"+s.type:"",s.isDot?"is-dot":""]),style:dt(o.value)},{default:ve(()=>[qt(dn(n.value),1)]),_:1},8,["class","style"])):Ye("",!0)]),_:3},8,["class","style"])}}})),v5=sn(y5,[["__scopeId","data-v-019b04f1"]]),gb=Symbol("wd-tabbar"),_5=we(ie({},Ut),{modelValue:ff(0),fixed:ke(!1),bordered:ke(!0),safeAreaInsetBottom:ke(!1),shape:Ne("default"),activeColor:String,inactiveColor:String,placeholder:ke(!1),zIndex:cr(99)}),w5=we(ie({},Ut),{title:String,name:qr,icon:String,value:{type:[Number,String,null],default:null},isDot:{type:Boolean,default:void 0},max:Number,badgeProps:Object}),b5={name:"wd-tabbar-item",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},S5=tt(we(ie({},b5),{props:w5,setup(e){const t=e,{parent:n,index:o}=gf(gb),r=Y(()=>{const l=ii(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)),`${Vn(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=G_,d=_n;return me(),_e(d,{class:et(`wd-tabbar-item ${l.customClass}`),style:dt(l.customStyle),onClick:a},{default:ve(()=>[L(v5,pS(cv(r.value)),{default:ve(()=>[L(d,{class:"wd-tabbar-item__body"},{default:ve(()=>[mt(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:dt(s.value),class:et(`wd-tabbar-item__body-title ${i.value?"is-active":"is-inactive"}`)},{default:ve(()=>[qt(dn(l.title),1)]),_:1},8,["style","class"])):Ye("",!0)]),_:3})]),_:3},16)]),_:3},8,["class","style"])}}})),T5=sn(S5,[["__scopeId","data-v-ee9e8b0e"]]);function C5(e){return e?e.__v_isVNode===!0:!1}function k5(e){const t=[],n=o=>{Array.isArray(o)&&o.forEach(r=>{var s;C5(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 ym=(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 x5(e,t,n){const o=e&&e.subTree&&e.subTree.children?k5(e.subTree.children):[];n.sort((s,i)=>ym(o,s.vnode)-ym(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 P5(e){const t=Ie([]),n=Ie([]),o=ht();return{children:t,linkChildren:s=>{wt(e,Object.assign({link:l=>{l.proxy&&(n.push(l),t.push(l.proxy),x5(o,t,n))},unlink:l=>{const c=n.indexOf(l);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},s))}}}const E5={name:"wd-tabbar",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},I5=tt(we(ie({},E5),{props:_5,emits:["change","update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=H(""),{proxy:s}=ht(),{linkChildren:i}=P5(gb);i({props:n,setChange:l});const a=Y(()=>{const u={};return Ee(n.zIndex)&&(u["z-index"]=n.zIndex),`${Vn(u)}${n.customStyle}`});re([()=>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||UD(".wd-tabbar",!1,s).then(u=>{r.value=Number(u.height)})}return(u,d)=>{const f=_n;return me(),_e(f,{class:et({"wd-tabbar__placeholder":u.fixed&&u.placeholder&&u.safeAreaInsetBottom&&u.shape==="round"}),style:dt({height:kt(xn)(r.value)})},{default:ve(()=>[L(f,{class:et(`wd-tabbar wd-tabbar--${u.shape} ${u.customClass} ${u.fixed?"is-fixed":""} ${u.safeAreaInsetBottom?"is-safe":""} ${u.bordered?"is-border":""}`),style:dt(a.value)},{default:ve(()=>[mt(u.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])]),_:3},8,["class","style"])}}})),O5=sn(I5,[["__scopeId","data-v-eb3a4869"]]),ra=Ie({curIdx:st("app-tabbar-index")||0,setCurIdx(e){this.curIdx=e,ct("app-tabbar-index",e)}}),mb=tt({__name:"fg-tabbar",setup(e){const t=d$.map(o=>we(ie({},o),{path:`/${o.pagePath}`}));function n({value:o}){const r=t[o].path;ra.setCurIdx(o),Ci({url:r})}return H0(()=>{}),(o,r)=>{const s=Oo(Xn("wd-tabbar-item"),T5),i=Oo(Xn("wd-tabbar"),O5);return kt(u$)?(me(),_e(i,{key:0,modelValue:kt(ra).curIdx,"onUpdate:modelValue":r[0]||(r[0]=a=>kt(ra).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,DT(kt(t),(a,l)=>(me(),_e(s,{key:a.path,icon:l===kt(ra).curIdx?a.selectedIconPath:a.iconPath},null,8,["icon"]))),128))]),_:1},8,["modelValue"])):Ye("",!0)}}}),A5=tt({__name:"tabbar",setup(e){const t={};return(n,o)=>{const r=Oo(Xn("wd-toast"),ab),s=Oo(Xn("wd-message-box"),cb),i=Oo(Xn("wd-config-provider"),ub);return me(),_e(i,{"theme-vars":t},{default:ve(()=>[mt(n.$slots,"default"),L(pb,{"bottom-offset":180}),L(mb),L(r),L(s)]),_:3})}}});var L5={},R5={"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%"},M5={};const xt=kn(),el="4.87",N5="https://tongji.dcloud.io/uni/stat",D5="https://tongji.dcloud.io/uni/stat.gif",$5=1800,B5=300,F5=10,U5=60*1e3*60*24,xo="__UNI__BA8433E",Yo=(e,t)=>{let n=st("$$STAT__DBDATA:"+xo)||{};n||(n={}),n[e]=t,ct("$$STAT__DBDATA:"+xo,n)},Fo=e=>{let t=st("$$STAT__DBDATA:"+xo)||{};if(!t[e]){let n=st("$$STAT__DBDATA:"+xo);if(n||(n={}),!n[e])return;t[e]=n[e]}return t[e]},yb=e=>{let t=st("$$STAT__DBDATA:"+xo)||{};t[e]?(delete t[e],ct("$$STAT__DBDATA:"+xo,t)):(t=st("$$STAT__DBDATA:"+xo),t[e]&&(delete t[e],ct("$$STAT__DBDATA:"+xo,t)))},hi=L5;let q5={appid:"__UNI__BA8433E"},Ju={};Ju=R5;const Bc="__DC_STAT_UUID",vm="__DC_UUID_VALUE";function vb(){let e="";if(yt()==="n"){try{e=plus.runtime.getDCloudId()}catch(t){e=""}return e}try{e=st(Bc)}catch(t){e=vm}if(!e){e=Date.now()+""+Math.floor(Math.random()*1e7);try{ct(Bc,e)}catch(t){ct(Bc,vm)}}return e}const V5=e=>xt.deviceId||vb(),H5=e=>{let t="";if(yt()==="n"){try{t=plus.device.uuid}catch(n){t=""}return t}return xt.deviceId||vb()},_b=q5,W5=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)}},j5=e=>{let t={};for(let n in e)t[n]=encodeURIComponent(e[n]);return t},yt=()=>{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"},z5=()=>{let e="";return(yt()==="wx"||yt()==="qq")&&UI("getAccountInfoSync")&&(e=uni.getAccountInfoSync().miniProgram.appId||""),yt(),e},G5=()=>yt()==="n"?plus.runtime.version:"",K5=()=>{const e=yt();let t="";return e==="n"&&(t=plus.runtime.channel),t},_m=e=>{const t=yt();let n="";return e||(t==="wx"&&(n=pa().scene),n)},Qu=e=>{let t=e||tl();if(yt()==="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},Fc=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=rn(),t=e[e.length-1];return t?t.$vm:null},sa=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,wm=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)},Y5=(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},Uc=e=>Ju&&Ju[e]||"",ia="Report_Data_Time",ka="Report_Status",X5=()=>new Promise((e,t)=>{let n="",o=new Date().getTime(),r=U5,s=1;try{n=st(ia),s=st(ka)}catch(i){n="",s=1}if(s===""){bm(({enable:i})=>{ct(ia,o),ct(ka,i),i===1&&e()});return}s===1&&e(),n||(ct(ia,o),n=o),o-n>r&&bm(({enable:i})=>{ct(ia,o),ct(ka,i)})}),bm=e=>{let n={usv:el,conf:JSON.stringify({ak:"__UNI__BA8433E"})};Nl({url:N5,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=()=>M5||{},Q5=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},Z5=e=>{let t=hi.reportInterval;return Number(t)===0?0:(t=t||e,/(^[1-9]\d*$)/.test(t)?Number(t):e)},e8=()=>{if(hi.collectItems){const e=hi.collectItems.uniPushClientID;return typeof e=="boolean"?e:!1}return!1},Sm=()=>{if(hi.collectItems){const e=hi.collectItems.uniStatPageLog;return e===void 0?!0:typeof e=="boolean"?e:!0}return!0},Tm="is_handle_device_id",t8=()=>{let e=Fo(Tm)||"";return Yo(Tm,"1"),e==="1"},Cm="__first__visit__time",Zu="__last__visit__time",Qt=()=>parseInt(new Date().getTime()/1e3),n8=()=>{const e=Fo(Cm);let t=0;return e?t=e:(t=Qt(),Yo(Cm,t),yb(Zu)),t},o8=()=>{const e=Fo(Zu);let t=0;return e&&(t=e),Yo(Zu,Qt()),t},wb="__page__residence__time";let js=0,km=0;const bb=()=>(js=Qt(),Yo(wb,js),js),r8=()=>(km=Qt(),js=Fo(wb),km-js),xm="__total__visit__count",s8=()=>{const e=Fo(xm);let t=1;return e&&(t=e,t++),Yo(xm,t),t},Sb="__first_time",qc=()=>{let e=Qt();return Yo(Sb,e)},aa=e=>{let t=0;const n=Fo(Sb),o=Qt();if(n!==0&&(t=o-n),t=t<1?1:t,e==="app"){let r=t>B5;return{residenceTime:t,overtime:r}}if(e==="page"){let r=t>$5;return{residenceTime:t,overtime:r}}return{residenceTime:t}},i8=Z5(F5);let zs={uuid:V5(),ak:_b.appid,p:"",ut:yt(),mpn:z5(),usv:el,v:G5(),ch:K5(),cn:"",pn:"",ct:"",t:Qt(),tt:"",brand:xt.brand||"",md:xt.model,sv:"",mpsdk:xt.SDKVersion||"",mpv:xt.version||"",lang:xt.language,pr:xt.pixelRatio,ww:xt.windowWidth,wh:xt.windowHeight,sw:xt.screenWidth,sh:xt.screenHeight};if(xt.platform)switch(xt.platform){case"android":zs.p="a";break;case"ios":zs.p="i";break;case"harmonyos":zs.p="h";break}xt.system&&(zs.sv=xt.system.replace(/(Android|iOS)\s/,""));class a8{constructor(){this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=zs,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={},typeof hn=="function"&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}addInterceptorInit(){let t=this;hn("setNavigationBarTitle",{invoke(n){t._navigationBarTitle.page=n.title}})}interceptLogin(){let t=this;hn("login",{complete(){t._login()}})}interceptShare(t){let n=this;if(!t){n._share();return}hn("share",{success(){n._share()},fail(){n._share()}})}interceptRequestPayment(){let t=this;hn("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(aa("app").overtime){let o={path:st("_STAT_LAST_PAGE_ROUTE"),scene:this.statData.sc,cst:2};this.sendReportRequest(o)}else{const n=_m();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=aa(),r=Fc(t);ct("_STAT_LAST_PAGE_ROUTE",r),this.sendHideRequest({urlref:r,urlref_ts:o.residenceTime},n),qc()}pageShow(t){this._navigationBarTitle={config:"",page:"",report:"",lt:""};const n=Fc(t),o=Qu(t);if(this._navigationBarTitle.config=Uc(o),this.__licationShow){qc(),ct("_STAT_LAST_PAGE_ROUTE",n),this.__licationShow=!1;return}if(aa("page").overtime){let s={path:n,scene:this.statData.sc,cst:3};this.sendReportRequest(s)}qc()}pageHide(t){if(!this.__licationHide){const n=aa("page");let o=Fc(t),r=st("_STAT_LAST_PAGE_ROUTE");r||(r=o),ct("_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=Uc(t.path);let r=t.query&&JSON.stringify(t.query)!=="{}"?"?"+JSON.stringify(t.query):"";const s=o8();if(s!==0||!s){const i=H5();t8()||(this.statData.odid=i)}Object.assign(this.statData,{lt:"1",url:t.path+r||"",t:Qt(),sc:_m(t.scene),fvts:n8(),lvts:s,tvc:s8(),cst:t.cst||1}),yt()==="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:Qt()};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:Qt()};this.request(s,n)}sendEventRequest({key:t="",value:n=""}={}){let o="";try{o=Qu()}catch(s){o=Fo("__launch_options").path}this._navigationBarTitle.config=Uc(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:Qt()};this.request(r)}sendPushRequest(t,n){let o=Qt();const r={lt:"101",cid:n,t:o,ut:this.statData.ut},s=wm({101:[r]});let i={usv:el,t:o,requests:s};if(yt()==="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){FL({success:n=>{this.statData.net=n.networkType,this.getLocation(t)}})}getLocation(t){_b.getLocation?mR({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=Qt();const r=this._navigationBarTitle;Object.assign(t,{ttn:r.page,ttpj:r.config,ttc:r.report});let s=Fo("__UNI__STAT__DATA")||{};if(s[t.lt]||(s[t.lt]=[]),s[t.lt].push(t),Yo("__UNI__STAT__DATA",s),r8()<i8&&!n)return;bb();const a=wm(s);let l={usv:el,t:o,requests:a};if(yb("__UNI__STAT__DATA"),yt()==="n"&&this.statData.p==="a"){setTimeout(()=>{this.sendRequest(l)},200);return}this.sendRequest(l)}getIsReportData(){return X5()}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=W5(j5(t)).options;n.src=D5+"?"+o})}sendEvent(t,n){if(!Y5(t,n)){if(t==="title"){this._navigationBarTitle.report=n;return}this.sendEventRequest({key:t,value:typeof n=="object"?JSON.stringify(n):n},1)}}}class mf extends a8{static getInstance(){uni.__stat_instance||(uni.__stat_instance=new mf);{let t=Q5(Xu.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=Xu.init(n)}}return uni.__stat_instance}constructor(){super()}pushEvent(t){const n=e8();gu&&n&&gu({success:o=>{const r=o.cid||!1;r&&this.sendPushRequest(t,r)}})}launch(t,n){bb(),this.__licationShow=!0,Yo("__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,sa(t)==="page"&&Sm()&&this.pageShow(t),(yt()==="h5"||yt()==="n")&&sa(t)==="app"&&this.appShow()}hide(t){this.self=t,sa(t)==="page"&&Sm()&&this.pageHide(t),(yt()==="h5"||yt()==="n")&&sa(t)==="app"&&this.appHide()}error(t){let n="";t.message?n=t.stack:n=JSON.stringify(t);let o="";try{o=Qu()}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 Sn=mf.getInstance();let la=!1;const l8={onLaunch(e){Sn.launch(e,this),Sn.pushEvent(e)},onLoad(e){if(Sn.load(e,this),this.$scope&&this.$scope.onShareAppMessage){let t=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(n){return Sn.interceptShare(!1),t.call(this,n)}}},onShow(){la=!1,Sn.show(this)},onHide(){la=!0,Sn.hide(this)},onUnload(){if(la){la=!1;return}Sn.hide(this)},onError(e){try{Sn.error(e)}catch(t){}}};function c8(){IS(e=>{e.mixin(l8),uni.report=function(t,n){Sn.sendEvent(t,n)}}),yt()!=="h5"&&yt()!=="n"&&(cE(()=>{Sn.appHide(tl())}),lE(()=>{Sn.appShow(tl())}))}function u8(){c8()}u8();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 d8(){const e=mv(ob);return e.use(mw),e.use(nw),e.use(CF),e.use(TF),e.use(wF),e.use(yF),e.component("layout-default-uni",p5),e.component("layout-fg-tabbar-uni",mb),e.component("layout-tabbar-uni",A5),{app:e}}d8().app.use(rL).mount("#app");export{l0 as $,o4 as A,Oo as B,v5 as C,Xn as D,ft as E,kt as F,pl as G,ot as H,DT as I,Ye as J,ai as K,qt as L,dn as M,op as N,A8 as O,G_ as P,e4 as Q,En as R,C8 as S,t4 as T,Q8 as U,Oi as V,qn as W,s5 as X,gm as Y,Pn as Z,Gn as _,cr as a,a4 as a$,Y8 as a0,Iu as a1,J8 as a2,k$ as a3,et as a4,lb as a5,Vn as a6,un as a7,nA as a8,CR as a9,db as aA,g4 as aB,x$ as aC,u4 as aD,st as aE,to as aF,_8 as aG,ct as aH,Pl as aI,f4 as aJ,P5 as aK,ZF as aL,m8 as aM,y8 as aN,Xt as aO,w8 as aP,Jt as aQ,Ti as aR,R8 as aS,Dl as aT,p4 as aU,jD as aV,lv as aW,Ot as aX,r4 as aY,i4 as aZ,l4 as a_,qr as aa,kF as ab,rb as ac,ht as ad,e5 as ae,z8 as af,gf as ag,t5 as ah,$e as ai,UD as aj,Q0 as ak,NF as al,W8 as am,Ee as an,xn as ao,Tn as ap,ff as aq,FT as ar,qo as as,k8 as at,rr as au,n4 as av,O8 as aw,nw as ax,qL as ay,Vl as az,Ut as b,De as b0,At as b1,WD as b2,HD as b3,U8 as b4,v8 as b5,rt as b6,pS as b7,V8 as b8,OA as b9,K8 as bA,ab as bB,zD as bC,B8 as bD,$8 as bE,UI as bF,Pe as bG,gk as bH,E8 as bI,L8 as bJ,p8 as bK,h8 as bL,Gd as bM,P8 as bN,Pu as bO,N8 as bP,M8 as bQ,dR as bR,T8 as bS,RA as ba,bc as bb,FD as bc,D8 as bd,Ci as be,d4 as bf,es as bg,x8 as bh,g8 as bi,G8 as bj,Gx as bk,nt as bl,Z8 as bm,X8 as bn,ib as bo,wt as bp,j8 as bq,I8 as br,F8 as bs,Ya as bt,b8 as bu,S8 as bv,rf as bw,H8 as bx,q8 as by,h4 as bz,ke as c,tt as d,Y as e,_e as f,ve as g,L as h,YF as i,_n as j,mt as k,A_ as l,Ne as m,dt as n,me as o,Kd as p,sn as q,H as r,kn as s,Ie as t,H0 as u,V0 as v,re as w,s4 as x,c4 as y,Uy as z};
|