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A,SACA,YACA,UACA,OACA,YACA,WACA,SACA,gBACA,SACA,QACA,WACA,YACA,UACA,UACA,QACA,YACA,OACA,OACA,UACA,cACA,SACA,QACA,UACA,QACA,SACA,SACA,aACA,QACA,SACA,kBACA,OACA,SACA,UACA,UACA,UACA,QACA,gBACA,YACA,aACA,QACA,YACA,aACA,SACA,WACA,WACA,OACA,QACA,aACA,YACA,SACA,UACA,SACA,WACA,aACA,aACA,UACA,aACA,UACA,QACA,cACA,uBACA,gBACA,cACA,YACA,QACA,UACA,SACA,OACA,WACA,YACA,SACA,mBACA,WACA,OACA,cACA,SACA,WACA,cACA,QACA,UACA,UACA,SACA,SACA,0BACA,QACA,aACA,YACA,eACA,UACA,SACA,aACA,eACA,YACA,WACA,WACA,eACA,cACA,QACA,YACA,mBACA,WACA,aACA,YACA,QACA,WACA,YACA,SACA,cACA,QACA,SACA,aACA,WACA,WACA,eACA,OACA,QACA,oBACA,UACA,SACA,eACA,iBACA,SACA,UACA,uBACA,iBACA,UACA,aACA,YACA,UACA,sBACA,QACA,SACA,YC+BF,GA/O8D,CAC5D,CACE3vF,KAAM,UACNyyF,aAAc,MAEhB,CACEzyF,KAAM,SACNyyF,aAAc,MAEhB,CACEzyF,KAAM,iBACNyyF,aAAc,MAEhB,CACEzyF,KAAM,UACNyyF,aAAc,MAEhB,CACEzyF,KAAM,WACNyyF,aAAc,MAEhB,CACEzyF,KAAM,aACNyyF,aAAc,MAEhB,CACEzyF,KAAM,WACNyyF,aAAc,MAEhB,CACEzyF,KAAM,cACNyyF,aAAc,MAEhB,CACEzyF,KAAM,WACNyyF,aAAc,MAEhB,CACEzyF,KAAM,uBACNyyF,aAAc,MAEhB,CACEzyF,KAAM,iCACNyyF,aAAc,MAEhB,CACEzyF,KAAM,UACNyyF,aAAc,MAEhB,CACEzyF,KAAM,UACNyyF,aAAc,MAEhB,CACEzyF,KAAM,OACNyyF,aAAc,MAEhB,CACEzyF,KAAM,SACNyyF,aAAc,MAEhB,CACEzyF,KA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AAK,iBACLm4F,IAAI,sBACJx8F,OAAO,UACT,sBACG,SAEJ,GAII,KAJDqE,KAAK,0BACLm4F,IAAI,sBACJx8F,OAAO,UACT,wBACG,eAMV,GAMW,YANDkY,MAAM,2BAAyB,CACvC,GAIS,UAJDA,MAAM,iBACN9gB,KAAK,UACZ,8BCpGb,OAhHiC,CAC/B,oBACA,mBACA,sBACA,kBACA,iBACA,kBACA,mBACA,kBACA,sBACA,iBACA,oBACA,iBACA,mBACA,eACA,kBACA,kBACA,iBACA,iBACA,iCACA,kBACA,qBACA,mBACA,mBACA,oBACA,yBACA,kBACA,sBACA,oBACA,gBACA,gBACA,gBACA,kBACA,iBACA,mBACA,gBACA,kBACA,kBACA,kBACA,gBACA,oBACA,gBACA,eACA,cACA,mBACA,gBACA,gBACA,gBACA,mBACA,eACA,iBACA,sBACA,kBACA,cACA,qBACA,cACA,eACA,iBACA,iBACA,kBACA,kBACA,eACA,iBACA,eACA,cACA,gBACA,cACA,YACA,gBACA,eACA,eACA,aACA,eACA,qBACA,gBACA,eACA,cACA,aACA,eACA,eACA,eACA,mBACA,gBACA,iBACA,oBACA,eACA,iBACA,cACA,mBACA,kBACA,eACA,aACA,aACA,mBACA,qBACA,kBACA,eACA,mBACA,uBACA,qBACA,mBACA,mBACA,sBACA,iBACA,iBACA,iBACA,mBACA,kBACA,eACA,oBACA,gBC1GF,GAJiC,CAC/B,KACA,MCsXA,GA1W6Dy/B,GAAgB,CAC3EgH,WAAY,CACV,2BAA4B,GAC5B,aAAgB,GAChB,cAAiB,IAEnBrJ,QACE,MAAMm7C,EAA4BL,KAE5BlxB,EAAc,CAACs9B,EAAkB5kF,KACrC64E,EAAMgC,OAAO,mBAAoB,CAC/B+J,SAAAA,EACA5kF,KAAAA,KAIE4wF,EAAoBvgE,IAAS,IAC1BwoD,EAAM18C,MAAMy0D,OAGf1L,EAAwB70D,IAAS,IAC9BwoD,EAAM18C,MAAM3sB,QAAQ01E,WAGvBsC,EAA0Bn3D,IAAS,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AAIhoB,GAC/BioB,EAAoB,KACxBD,EAAY3nB,kBAAkB3mF,SAASujD,KAAM,IAAK,MAGhD8qD,EAAUj5G,QAAQoM,OAAOgtG,SAAW,GACtCD","sources":["webpack://volt/./node_modules/axios/index.js","webpack://volt/./node_modules/axios/lib/adapters/xhr.js","webpack://volt/./node_modules/axios/lib/axios.js","webpack://volt/./node_modules/axios/lib/cancel/Cancel.js","webpack://volt/./node_modules/axios/lib/cancel/CancelToken.js","webpack://volt/./node_modules/axios/lib/cancel/isCancel.js","webpack://volt/./node_modules/axios/lib/core/Axios.js","webpack://volt/./node_modules/axios/lib/core/InterceptorManager.js","webpack://volt/./node_modules/axios/lib/core/buildFullPath.js","webpack://volt/./node_modules/axios/lib/core/createError.js","webpack://volt/./node_modules/axios/lib/core/dispatchRequest.js","webpack://volt/./node_modules/axios/lib/core/enhanceError.js","webpack://volt/./node_modules/axios/lib/core/mergeConfig.js","webpack://volt/./node_modules/axios/lib/core/settle.js","webpack://volt/./node_modules/axios/lib/core/transformData.js","webpack://volt/./node_modules/axios/lib/defaults.js","webpack://volt/./node_modules/axios/lib/helpers/bind.js","webpack://volt/./node_modules/axios/lib/helpers/buildURL.js","webpack://volt/./node_modules/axios/lib/helpers/combineURLs.js","webpack://volt/./node_modules/axios/lib/helpers/cookies.js","webpack://volt/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://volt/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://volt/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://volt/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://volt/./node_modules/axios/lib/helpers/spread.js","webpack://volt/./node_modules/axios/lib/utils.js","webpack://volt/./node_modules/css-loader/dist/runtime/api.js","webpack://volt/./node_modules/dayjs/dayjs.min.js","webpack://volt/./node_modules/dayjs/plugin/calendar.js","webpack://volt/./node_modules/dayjs/plugin/isSameOrAfter.js","webpack://volt/./node_modules/dayjs/plugin/timezone.js","webpack://volt/./node_modules/dayjs/plugin/utc.js","webpack://volt/./node_modules/dayjs/plugin/weekOfYear.js","webpack://volt/../src/FileSaver.js","webpack://volt/./node_modules/mosha-vue-toastify/dist/style.css","webpack://volt/./src/components/global/Global_BootstrapInput.vue?4cb1","webpack://volt/./src/components/global/Global_BootstrapInputGroup.vue?72a0","webpack://volt/./src/components/global/Global_BootstrapSelect.vue?10ce","webpack://volt/./src/components/global/Global_BootstrapSelectGroup.vue?62c3","webpack://volt/./src/components/global/Global_BootstrapTextarea.vue?8dfa","webpack://volt/./src/components/global/Global_ChangePassword.vue?9075","webpack://volt/./src/components/global/Global_ContactInformation.vue?fd18","webpack://volt/./src/components/global/Global_Input.vue?8938","webpack://volt/./src/components/global/Global_Modal.vue?aff5","webpack://volt/./src/components/global/Global_PausedSubscriptionBanner.vue?f26a","webpack://volt/./src/components/global/Global_PaymentInformation.vue?8159","webpack://volt/./src/components/global/Global_PersonalInformation.vue?8036","webpack://volt/./src/components/global/Global_Select.vue?cc6c","webpack://volt/./src/components/global/Global_SubscriptionPausedInterstitial.vue?8266","webpack://volt/./src/components/global/Global_Toasts.vue?c02e","webpack://volt/./src/components/global/Global_ToastsCard.vue?b47d","webpack://volt/./src/components/subscriber/account/Account.vue?4afe","webpack://volt/./src/components/subscriber/account/Account_FtmBanner.vue?b329","webpack://volt/./src/components/subscriber/account/Account_Overview.vue?3323","webpack://volt/./src/components/subscriber/account/Account_Payments.vue?371b","webpack://volt/./src/components/subscriber/account/Account_Profile.vue?7525","webpack://volt/./src/components/subscriber/account/Account_Purchases.vue?45d5","webpack://volt/./src/components/subscriber/account/Account_Subscriptions.vue?4e3f","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue?fe93","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue?8f82","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem.vue?7df0","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue?2b46","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?8a67","webpack://volt/./src/components/subscriber/browse/Browse_FilterTabList.vue?8014","webpack://volt/./src/components/subscriber/livestream/Livestream_Calendar.vue?e169","webpack://volt/./src/components/subscriber/livestream/Livestream_PricingModal.vue?bf66","webpack://volt/./src/components/subscriber/media/Media_AssetThumbnail.vue?1922","webpack://volt/./src/components/subscriber/media/Media_ProductThumbnail.vue?e8d7","webpack://volt/./src/components/subscriber/media/Media_RateVideo.vue?39c7","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?e918","webpack://volt/./src/components/global/Global_BootstrapInput.vue?d6f0","webpack://volt/./src/components/global/Global_BootstrapInputGroup.vue?b905","webpack://volt/./src/components/global/Global_BootstrapSelect.vue?e361","webpack://volt/./src/components/global/Global_BootstrapSelectGroup.vue?d1bf","webpack://volt/./src/components/global/Global_BootstrapTextarea.vue?0880","webpack://volt/./src/components/global/Global_ChangePassword.vue?326d","webpack://volt/./src/components/global/Global_ContactInformation.vue?0690","webpack://volt/./src/components/global/Global_Input.vue?d31c","webpack://volt/./src/components/global/Global_Modal.vue?8d42","webpack://volt/./src/components/global/Global_PausedSubscriptionBanner.vue?19f1","webpack://volt/./src/components/global/Global_PaymentInformation.vue?7a41","webpack://volt/./src/components/global/Global_PersonalInformation.vue?2ed9","webpack://volt/./src/components/global/Global_Select.vue?c91d","webpack://volt/./src/components/global/Global_SubscriptionPausedInterstitial.vue?0596","webpack://volt/./src/components/global/Global_Toasts.vue?427a","webpack://volt/./src/components/global/Global_ToastsCard.vue?efc7","webpack://volt/./src/components/subscriber/account/Account.vue?18e0","webpack://volt/./src/components/subscriber/account/Account_FtmBanner.vue?d185","webpack://volt/./src/components/subscriber/account/Account_Overview.vue?9797","webpack://volt/./src/components/subscriber/account/Account_Payments.vue?efaa","webpack://volt/./src/components/subscriber/account/Account_Profile.vue?4a05","webpack://volt/./src/components/subscriber/account/Account_Purchases.vue?2c37","webpack://volt/./src/components/subscriber/account/Account_Subscriptions.vue?25fa","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue?d0a0","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue?2b22","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem.vue?9caf","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue?4b01","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?7e17","webpack://volt/./src/components/subscriber/browse/Browse_FilterTabList.vue?a8a8","webpack://volt/./src/components/subscriber/livestream/Livestream_Calendar.vue?5c6e","webpack://volt/./src/components/subscriber/livestream/Livestream_PricingModal.vue?4f6c","webpack://volt/./src/components/subscriber/media/Media_AssetThumbnail.vue?2671","webpack://volt/./src/components/subscriber/media/Media_ProductThumbnail.vue?c163","webpack://volt/./src/components/subscriber/media/Media_RateVideo.vue?cdaf","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?32f1","webpack://volt/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://volt/webpack/bootstrap","webpack://volt/webpack/runtime/compat get default export","webpack://volt/webpack/runtime/define property getters","webpack://volt/webpack/runtime/global","webpack://volt/webpack/runtime/hasOwnProperty shorthand","webpack://volt/webpack/runtime/make namespace object","webpack://volt/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://volt/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://volt/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://volt/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://volt/./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js","webpack://volt/./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js","webpack://volt/./node_modules/vue/dist/vue.esm-bundler.js","webpack://volt/./node_modules/@vue/devtools-api/lib/esm/env.js","webpack://volt/./node_modules/vuex/dist/vuex.esm-bundler.js","webpack://volt/./node_modules/@vue/devtools-api/lib/esm/index.js","webpack://volt/./node_modules/@vue/devtools-api/lib/esm/const.js","webpack://volt/./src/store/GiftModule.ts","webpack://volt/./src/store/LivestreamModule.ts","webpack://volt/./src/store/ProductModule.ts","webpack://volt/./src/store/CalendarModule.ts","webpack://volt/./node_modules/uuid/dist/esm-browser/rng.js","webpack://volt/./src/store/MediaModule.ts","webpack://volt/./src/store/MemoModule.ts","webpack://volt/./node_modules/uuid/dist/esm-browser/stringify.js","webpack://volt/./node_modules/uuid/dist/esm-browser/regex.js","webpack://volt/./node_modules/uuid/dist/esm-browser/validate.js","webpack://volt/./node_modules/uuid/dist/esm-browser/v4.js","webpack://volt/./src/store/ToastModule.ts","webpack://volt/./src/store/FeatureModule.ts","webpack://volt/./node_modules/mosha-vue-toastify/dist/mosha-vue-toastify.es.js","webpack://volt/./src/services/toasts.ts","webpack://volt/./src/store/GlobalStore.ts","webpack://volt/./src/store/AccountIntegrationsModule.ts","webpack://volt/./src/lib/StringUtils.ts","webpack://volt/./src/components/subscriber/browse/Browse_FilterTabList.vue","webpack://volt/./src/components/subscriber/media/Media_AssetThumbnail.vue","webpack://volt/./src/components/subscriber/media/Media_RateVideo.vue","webpack://volt/./src/components/subscriber/media/Media_RateVideo.vue?2e41","webpack://volt/./src/components/subscriber/media/Media_RateVideo.vue?ae6d","webpack://volt/./src/components/subscriber/media/Media_AssetThumbnail.vue?1e3f","webpack://volt/./src/components/subscriber/media/Media_AssetThumbnail.vue?941f","webpack://volt/./src/components/global/Global_BootstrapSelect.vue","webpack://volt/./src/components/global/Global_BootstrapSelect.vue?b5b5","webpack://volt/./src/components/global/Global_BootstrapSelect.vue?d84d","webpack://volt/./src/components/subscriber/browse/Browse_FilterTabList.vue?7a8d","webpack://volt/./src/components/subscriber/browse/Browse_FilterTabList.vue?7760","webpack://volt/./src/components/subscriber/account/Account.vue","webpack://volt/./src/components/subscriber/account/Account_Overview.vue","webpack://volt/./src/lib/Time.ts","webpack://volt/./src/components/subscriber/account/Account_Overview.vue?39b4","webpack://volt/./src/components/subscriber/account/Account_Overview.vue?4d36","webpack://volt/./src/components/subscriber/account/Account_Payments.vue","webpack://volt/./src/components/global/Global_ContactInformation.vue","webpack://volt/./src/components/global/Global_BootstrapInput.vue","webpack://volt/./src/components/global/Global_BootstrapInput.vue?c987","webpack://volt/./src/components/global/Global_BootstrapInput.vue?6715","webpack://volt/./src/lib/countries.ts","webpack://volt/./src/lib/states.ts","webpack://volt/./src/components/global/Global_ContactInformation.vue?5094","webpack://volt/./src/components/global/Global_ContactInformation.vue?0ceb","webpack://volt/./src/components/global/Global_PaymentInformation.vue","webpack://volt/./node_modules/tslib/tslib.es6.js","webpack://volt/./src/lib/months.ts","webpack://volt/./src/components/global/Mastercard_Icon.vue","webpack://volt/./src/components/global/Mastercard_Icon.vue?9953","webpack://volt/./src/components/global/Mastercard_Icon.vue?2d10","webpack://volt/./src/components/global/Default_Icon.vue","webpack://volt/./src/components/global/Default_Icon.vue?0649","webpack://volt/./src/components/global/Default_Icon.vue?900f","webpack://volt/./src/components/global/Amex_Icon.vue","webpack://volt/./src/components/global/Amex_Icon.vue?b1b5","webpack://volt/./src/components/global/Amex_Icon.vue?6410","webpack://volt/./src/components/global/Visa_Icon.vue","webpack://volt/./src/components/global/Visa_Icon.vue?6413","webpack://volt/./src/components/global/Visa_Icon.vue?975b","webpack://volt/./src/components/global/Global_PaymentInformation.vue?563d","webpack://volt/./src/components/global/Global_PaymentInformation.vue?3504","webpack://volt/./src/components/subscriber/account/Account_Payments.vue?fb76","webpack://volt/./src/components/subscriber/account/Account_Payments.vue?cf16","webpack://volt/./src/components/subscriber/account/Account_Profile.vue","webpack://volt/./src/components/global/Global_PersonalInformation.vue","webpack://volt/./src/components/global/Global_PersonalInformation.vue?c703","webpack://volt/./src/components/global/Global_PersonalInformation.vue?83ba","webpack://volt/./src/components/global/Global_ChangePassword.vue","webpack://volt/./src/components/global/Global_ChangePassword.vue?c35b","webpack://volt/./src/components/global/Global_ChangePassword.vue?db9e","webpack://volt/./src/components/subscriber/account/Account_Profile.vue?6709","webpack://volt/./src/components/subscriber/account/Account_Profile.vue?3fb7","webpack://volt/./src/components/subscriber/account/Account_Subscriptions.vue","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem.vue","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?c61c","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue?7e24","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue","webpack://volt/./src/components/global/Global_BootstrapInputGroup.vue","webpack://volt/./src/components/global/Global_BootstrapInputGroup.vue?1059","webpack://volt/./src/components/global/Global_BootstrapInputGroup.vue?67a8","webpack://volt/./src/components/global/Global_BootstrapSelectGroup.vue","webpack://volt/./src/components/global/Global_BootstrapSelectGroup.vue?c7b4","webpack://volt/./src/components/global/Global_BootstrapSelectGroup.vue?ffb4","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue?0b24","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue?80fd","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue","webpack://volt/./src/components/global/Global_BootstrapTextarea.vue","webpack://volt/./src/components/global/Global_BootstrapTextarea.vue?1e26","webpack://volt/./src/components/global/Global_BootstrapTextarea.vue?3ea4","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue?5ee2","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue?e034","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue?9429","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue?770d","webpack://volt/./src/components/global/Global_Modal.vue","webpack://volt/./src/components/global/Global_Modal.vue?1b84","webpack://volt/./src/components/global/Global_Modal.vue?2403","webpack://volt/./src/constants/gaEventConstants.ts","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem.vue?0da7","webpack://volt/./src/components/subscriber/account/Account_Subscriptions_ListItem.vue?df38","webpack://volt/./src/components/subscriber/account/Account_Subscriptions.vue?edbc","webpack://volt/./src/components/subscriber/account/Account_Subscriptions.vue?64cd","webpack://volt/./src/components/subscriber/account/Account_Purchases.vue","webpack://volt/./src/components/subscriber/account/Account_Purchases.vue?548d","webpack://volt/./src/components/subscriber/account/Account_Purchases.vue?e172","webpack://volt/./src/components/subscriber/account/Account.vue?d823","webpack://volt/./src/components/subscriber/account/Account.vue?450a","webpack://volt/./src/components/subscriber/account/Account_FtmBanner.vue","webpack://volt/./src/components/subscriber/account/Account_FtmBanner.vue?7d31","webpack://volt/./src/components/subscriber/account/Account_FtmBanner.vue?5700","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentDetails.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_GiftTotals.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_GiftTotals.vue?5ff7","webpack://volt/./src/components/subscriber/gifting/Gifting_GiftTotals.vue?8535","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentDetails.vue?1ae3","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentDetails.vue?70dd","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentInformation.vue","webpack://volt/./src/components/global/Global_Input.vue","webpack://volt/./src/components/global/Global_Input.vue?230b","webpack://volt/./src/components/global/Global_Input.vue?8aa6","webpack://volt/./src/components/global/Global_Select.vue","webpack://volt/./src/components/global/Global_Select.vue?e27a","webpack://volt/./src/components/global/Global_Select.vue?c603","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentInformation.vue?bc0c","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentInformation.vue?4e52","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentSuccess.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentSuccess.vue?88ad","webpack://volt/./src/components/subscriber/gifting/Gifting_PaymentSuccess.vue?9464","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesListCard.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesListCard.vue?375d","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesListCard.vue?74c7","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesList.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesList.vue?8bc9","webpack://volt/./src/components/subscriber/gifting/Gifting_PricesList.vue?7090","webpack://volt/./src/components/subscriber/gifting/Gifting_RecipientInformation.vue","webpack://volt/./src/lib/timezones.ts","webpack://volt/./src/lib/meridians.ts","webpack://volt/./src/components/subscriber/gifting/Gifting_RecipientInformation.vue?b189","webpack://volt/./src/components/subscriber/gifting/Gifting_RecipientInformation.vue?b276","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsListCard.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsListCard.vue?873d","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsListCard.vue?9d71","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsList.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsList.vue?6935","webpack://volt/./src/components/subscriber/gifting/Gifting_ProductsList.vue?6858","webpack://volt/./src/components/subscriber/gifting/Gifting_Redeem.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_Redeem.vue?af7d","webpack://volt/./src/components/subscriber/gifting/Gifting_Redeem.vue?4dea","webpack://volt/./src/components/subscriber/gifting/Gifting_Activate.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemPriceCard.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemPriceCard.vue?8655","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemPriceCard.vue?3b87","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemProductCard.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemProductCard.vue?60f6","webpack://volt/./src/components/subscriber/gifting/Gifting_RedeemProductCard.vue?e7a8","webpack://volt/./src/components/subscriber/gifting/Gifting_Activate.vue?e0bc","webpack://volt/./src/components/subscriber/gifting/Gifting_Activate.vue?0196","webpack://volt/./src/components/subscriber/gifting/Gifting_Active.vue","webpack://volt/./src/components/subscriber/gifting/Gifting_Active.vue?c821","webpack://volt/./src/components/subscriber/gifting/Gifting_Active.vue?0dae","webpack://volt/./src/components/subscriber/livestream/Livestream_Calendar.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_Calendar.vue?2722","webpack://volt/./src/components/subscriber/livestream/Livestream_Calendar.vue?63b5","webpack://volt/./src/components/subscriber/livestream/Livestream_Detail.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_OptInButton.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_OptInButton.vue?2dd4","webpack://volt/./src/components/subscriber/livestream/Livestream_OptInButton.vue?3c25","webpack://volt/./src/components/subscriber/livestream/Livestream_StatusDisplay.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_StatusDisplay.vue?fb97","webpack://volt/./src/components/subscriber/livestream/Livestream_StatusDisplay.vue?9053","webpack://volt/./src/components/subscriber/livestream/Livestream_Detail.vue?2778","webpack://volt/./src/components/subscriber/livestream/Livestream_Detail.vue?e8c8","webpack://volt/./src/components/subscriber/livestream/Livestream_ListCard.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_ListCard.vue?1453","webpack://volt/./src/components/subscriber/livestream/Livestream_ListCard.vue?4e8e","webpack://volt/./src/components/subscriber/livestream/Livestream_List.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_List.vue?a48b","webpack://volt/./src/components/subscriber/livestream/Livestream_List.vue?bebe","webpack://volt/./src/components/subscriber/livestream/Livestream_MyListCard.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_MyListCard.vue?612f","webpack://volt/./src/components/subscriber/livestream/Livestream_MyListCard.vue?f570","webpack://volt/./src/components/subscriber/livestream/Livestream_MyList.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_MyList.vue?ad9d","webpack://volt/./src/utils/utils.ts","webpack://volt/./src/components/subscriber/livestream/Livestream_MyList.vue?c8a8","webpack://volt/./src/components/subscriber/livestream/Livestream_PricingModal.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_PricingModal.vue?984f","webpack://volt/./src/components/subscriber/livestream/Livestream_PricingModal.vue?35ca","webpack://volt/./src/components/subscriber/livestream/Livestream_TabMenu.vue","webpack://volt/./src/components/subscriber/livestream/Livestream_TabMenu.vue?0c05","webpack://volt/./src/components/subscriber/livestream/Livestream_TabMenu.vue?3f92","webpack://volt/./src/components/subscriber/calendar/Calendar_DateNav.vue","webpack://volt/./src/components/subscriber/calendar/Calendar_DateNav.vue?8b77","webpack://volt/./src/components/subscriber/calendar/Calendar_DateNav.vue?61fb","webpack://volt/./src/components/subscriber/calendar/Calendar_DateList.vue","webpack://volt/./src/components/subscriber/calendar/Calendar_DateList.vue?a733","webpack://volt/./src/components/subscriber/calendar/Calendar_DateList.vue?18ae","webpack://volt/./src/components/subscriber/calendar/Calendar_EventList.vue","webpack://volt/./src/components/subscriber/calendar/Calendar_EventListCard.vue","webpack://volt/./src/components/subscriber/calendar/Calendar_EventListCard.vue?6c87","webpack://volt/./src/components/subscriber/calendar/Calendar_EventListCard.vue?784f","webpack://volt/./src/components/subscriber/calendar/Calendar_EventList.vue?6b51","webpack://volt/./src/components/subscriber/calendar/Calendar_EventList.vue?c3f2","webpack://volt/./src/components/global/Global_CreateAccount.vue","webpack://volt/./src/components/global/Global_CreateAccount.vue?1009","webpack://volt/./src/components/global/Global_CreateAccount.vue?9295","webpack://volt/./src/components/global/Global_LogIn.vue","webpack://volt/./src/components/global/Global_LogIn.vue?5271","webpack://volt/./src/components/global/Global_LogIn.vue?3b2d","webpack://volt/./src/components/global/Global_PausedSubscriptionBanner.vue","webpack://volt/./src/components/global/Global_PausedSubscriptionBanner.vue?52ae","webpack://volt/./src/components/global/Global_PausedSubscriptionBanner.vue?882e","webpack://volt/./src/components/global/Global_SubscriptionPausedInterstitial.vue","webpack://volt/./src/components/global/Global_SubscriptionPausedInterstitial.vue?858d","webpack://volt/./src/components/global/Global_SubscriptionPausedInterstitial.vue?150e","webpack://volt/./src/components/global/Global_Toasts.vue","webpack://volt/./src/components/global/Global_ToastsCard.vue","webpack://volt/./src/components/global/Global_ToastsCard.vue?da91","webpack://volt/./src/components/global/Global_ToastsCard.vue?f8c7","webpack://volt/./src/components/global/Global_Toasts.vue?cd39","webpack://volt/./src/components/global/Global_Toasts.vue?912a","webpack://volt/./src/components/global/Global_WhatsNew.vue","webpack://volt/./src/components/global/Global_WhatsNewMemo.vue","webpack://volt/./src/components/global/Global_WhatsNewMemo.vue?30c9","webpack://volt/./src/components/global/Global_WhatsNewMemo.vue?3bad","webpack://volt/./src/components/global/Global_WhatsNew.vue?1fe1","webpack://volt/./src/components/global/Global_WhatsNew.vue?3e6b","webpack://volt/./src/components/subscriber/media/Media_RateVideoModal.vue","webpack://volt/./src/components/subscriber/media/Media_RateVideoModal.vue?d799","webpack://volt/./src/components/subscriber/media/Media_RateVideoModal.vue?04e9","webpack://volt/./src/components/subscriber/media/Media_ProductThumbnail.vue","webpack://volt/./src/components/subscriber/media/Media_ProductThumbnail.vue?eded","webpack://volt/./src/components/subscriber/media/Media_ProductThumbnail.vue?b7d1","webpack://volt/./src/app-subscriber.ts"],"sourcesContent":["module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n  return new Promise(function dispatchXhrRequest(resolve, reject) {\n    var requestData = config.data;\n    var requestHeaders = config.headers;\n\n    if (utils.isFormData(requestData)) {\n      delete requestHeaders['Content-Type']; // Let the browser set it\n    }\n\n    if (\n      (utils.isBlob(requestData) || utils.isFile(requestData)) &&\n      requestData.type\n    ) {\n      delete requestHeaders['Content-Type']; // Let the browser set it\n    }\n\n    var request = new XMLHttpRequest();\n\n    // HTTP basic authentication\n    if (config.auth) {\n      var username = config.auth.username || '';\n      var password = unescape(encodeURIComponent(config.auth.password)) || '';\n      requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n    }\n\n    var fullPath = buildFullPath(config.baseURL, config.url);\n    request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n    // Set the request timeout in MS\n    request.timeout = config.timeout;\n\n    // Listen for ready state\n    request.onreadystatechange = function handleLoad() {\n      if (!request || request.readyState !== 4) {\n        return;\n      }\n\n      // The request errored out and we didn't get a response, this will be\n      // handled by onerror instead\n      // With one exception: request that using file: protocol, most browsers\n      // will return status as 0 even though it's a successful request\n      if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n        return;\n      }\n\n      // Prepare the response\n      var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n      var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n      var response = {\n        data: responseData,\n        status: request.status,\n        statusText: request.statusText,\n        headers: responseHeaders,\n        config: config,\n        request: request\n      };\n\n      settle(resolve, reject, response);\n\n      // Clean up request\n      request = null;\n    };\n\n    // Handle browser request cancellation (as opposed to a manual cancellation)\n    request.onabort = function handleAbort() {\n      if (!request) {\n        return;\n      }\n\n      reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Handle low level network errors\n    request.onerror = function handleError() {\n      // Real errors are hidden from us by the browser\n      // onerror should only fire if it's a network error\n      reject(createError('Network Error', config, null, request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Handle timeout\n    request.ontimeout = function handleTimeout() {\n      var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n      if (config.timeoutErrorMessage) {\n        timeoutErrorMessage = config.timeoutErrorMessage;\n      }\n      reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',\n        request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Add xsrf header\n    // This is only done if running in a standard browser environment.\n    // Specifically not if we're in a web worker, or react-native.\n    if (utils.isStandardBrowserEnv()) {\n      // Add xsrf header\n      var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n        cookies.read(config.xsrfCookieName) :\n        undefined;\n\n      if (xsrfValue) {\n        requestHeaders[config.xsrfHeaderName] = xsrfValue;\n      }\n    }\n\n    // Add headers to the request\n    if ('setRequestHeader' in request) {\n      utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n        if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n          // Remove Content-Type if data is undefined\n          delete requestHeaders[key];\n        } else {\n          // Otherwise add header to the request\n          request.setRequestHeader(key, val);\n        }\n      });\n    }\n\n    // Add withCredentials to request if needed\n    if (!utils.isUndefined(config.withCredentials)) {\n      request.withCredentials = !!config.withCredentials;\n    }\n\n    // Add responseType to request if needed\n    if (config.responseType) {\n      try {\n        request.responseType = config.responseType;\n      } catch (e) {\n        // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n        // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n        if (config.responseType !== 'json') {\n          throw e;\n        }\n      }\n    }\n\n    // Handle progress if needed\n    if (typeof config.onDownloadProgress === 'function') {\n      request.addEventListener('progress', config.onDownloadProgress);\n    }\n\n    // Not all browsers support upload events\n    if (typeof config.onUploadProgress === 'function' && request.upload) {\n      request.upload.addEventListener('progress', config.onUploadProgress);\n    }\n\n    if (config.cancelToken) {\n      // Handle cancellation\n      config.cancelToken.promise.then(function onCanceled(cancel) {\n        if (!request) {\n          return;\n        }\n\n        request.abort();\n        reject(cancel);\n        // Clean up request\n        request = null;\n      });\n    }\n\n    if (!requestData) {\n      requestData = null;\n    }\n\n    // Send the request\n    request.send(requestData);\n  });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n  var context = new Axios(defaultConfig);\n  var instance = bind(Axios.prototype.request, context);\n\n  // Copy axios.prototype to instance\n  utils.extend(instance, Axios.prototype, context);\n\n  // Copy context to instance\n  utils.extend(instance, context);\n\n  return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n  return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n  return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n  this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n  return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n  if (typeof executor !== 'function') {\n    throw new TypeError('executor must be a function.');\n  }\n\n  var resolvePromise;\n  this.promise = new Promise(function promiseExecutor(resolve) {\n    resolvePromise = resolve;\n  });\n\n  var token = this;\n  executor(function cancel(message) {\n    if (token.reason) {\n      // Cancellation has already been requested\n      return;\n    }\n\n    token.reason = new Cancel(message);\n    resolvePromise(token.reason);\n  });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n  if (this.reason) {\n    throw this.reason;\n  }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n  var cancel;\n  var token = new CancelToken(function executor(c) {\n    cancel = c;\n  });\n  return {\n    token: token,\n    cancel: cancel\n  };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n  return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n  this.defaults = instanceConfig;\n  this.interceptors = {\n    request: new InterceptorManager(),\n    response: new InterceptorManager()\n  };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n  /*eslint no-param-reassign:0*/\n  // Allow for axios('example/url'[, config]) a la fetch API\n  if (typeof config === 'string') {\n    config = arguments[1] || {};\n    config.url = arguments[0];\n  } else {\n    config = config || {};\n  }\n\n  config = mergeConfig(this.defaults, config);\n\n  // Set config.method\n  if (config.method) {\n    config.method = config.method.toLowerCase();\n  } else if (this.defaults.method) {\n    config.method = this.defaults.method.toLowerCase();\n  } else {\n    config.method = 'get';\n  }\n\n  // Hook up interceptors middleware\n  var chain = [dispatchRequest, undefined];\n  var promise = Promise.resolve(config);\n\n  this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n    chain.unshift(interceptor.fulfilled, interceptor.rejected);\n  });\n\n  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n    chain.push(interceptor.fulfilled, interceptor.rejected);\n  });\n\n  while (chain.length) {\n    promise = promise.then(chain.shift(), chain.shift());\n  }\n\n  return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n  config = mergeConfig(this.defaults, config);\n  return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n  /*eslint func-names:0*/\n  Axios.prototype[method] = function(url, config) {\n    return this.request(mergeConfig(config || {}, {\n      method: method,\n      url: url\n    }));\n  };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n  /*eslint func-names:0*/\n  Axios.prototype[method] = function(url, data, config) {\n    return this.request(mergeConfig(config || {}, {\n      method: method,\n      url: url,\n      data: data\n    }));\n  };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n  this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n  this.handlers.push({\n    fulfilled: fulfilled,\n    rejected: rejected\n  });\n  return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n  if (this.handlers[id]) {\n    this.handlers[id] = null;\n  }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n  utils.forEach(this.handlers, function forEachHandler(h) {\n    if (h !== null) {\n      fn(h);\n    }\n  });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n  if (baseURL && !isAbsoluteURL(requestedURL)) {\n    return combineURLs(baseURL, requestedURL);\n  }\n  return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n  var error = new Error(message);\n  return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n  if (config.cancelToken) {\n    config.cancelToken.throwIfRequested();\n  }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n  throwIfCancellationRequested(config);\n\n  // Ensure headers exist\n  config.headers = config.headers || {};\n\n  // Transform request data\n  config.data = transformData(\n    config.data,\n    config.headers,\n    config.transformRequest\n  );\n\n  // Flatten headers\n  config.headers = utils.merge(\n    config.headers.common || {},\n    config.headers[config.method] || {},\n    config.headers\n  );\n\n  utils.forEach(\n    ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n    function cleanHeaderConfig(method) {\n      delete config.headers[method];\n    }\n  );\n\n  var adapter = config.adapter || defaults.adapter;\n\n  return adapter(config).then(function onAdapterResolution(response) {\n    throwIfCancellationRequested(config);\n\n    // Transform response data\n    response.data = transformData(\n      response.data,\n      response.headers,\n      config.transformResponse\n    );\n\n    return response;\n  }, function onAdapterRejection(reason) {\n    if (!isCancel(reason)) {\n      throwIfCancellationRequested(config);\n\n      // Transform response data\n      if (reason && reason.response) {\n        reason.response.data = transformData(\n          reason.response.data,\n          reason.response.headers,\n          config.transformResponse\n        );\n      }\n    }\n\n    return Promise.reject(reason);\n  });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n  error.config = config;\n  if (code) {\n    error.code = code;\n  }\n\n  error.request = request;\n  error.response = response;\n  error.isAxiosError = true;\n\n  error.toJSON = function toJSON() {\n    return {\n      // Standard\n      message: this.message,\n      name: this.name,\n      // Microsoft\n      description: this.description,\n      number: this.number,\n      // Mozilla\n      fileName: this.fileName,\n      lineNumber: this.lineNumber,\n      columnNumber: this.columnNumber,\n      stack: this.stack,\n      // Axios\n      config: this.config,\n      code: this.code\n    };\n  };\n  return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n  // eslint-disable-next-line no-param-reassign\n  config2 = config2 || {};\n  var config = {};\n\n  var valueFromConfig2Keys = ['url', 'method', 'data'];\n  var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n  var defaultToConfig2Keys = [\n    'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n    'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n    'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n    'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n    'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n  ];\n  var directMergeKeys = ['validateStatus'];\n\n  function getMergedValue(target, source) {\n    if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n      return utils.merge(target, source);\n    } else if (utils.isPlainObject(source)) {\n      return utils.merge({}, source);\n    } else if (utils.isArray(source)) {\n      return source.slice();\n    }\n    return source;\n  }\n\n  function mergeDeepProperties(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      config[prop] = getMergedValue(config1[prop], config2[prop]);\n    } else if (!utils.isUndefined(config1[prop])) {\n      config[prop] = getMergedValue(undefined, config1[prop]);\n    }\n  }\n\n  utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      config[prop] = getMergedValue(undefined, config2[prop]);\n    }\n  });\n\n  utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n  utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      config[prop] = getMergedValue(undefined, config2[prop]);\n    } else if (!utils.isUndefined(config1[prop])) {\n      config[prop] = getMergedValue(undefined, config1[prop]);\n    }\n  });\n\n  utils.forEach(directMergeKeys, function merge(prop) {\n    if (prop in config2) {\n      config[prop] = getMergedValue(config1[prop], config2[prop]);\n    } else if (prop in config1) {\n      config[prop] = getMergedValue(undefined, config1[prop]);\n    }\n  });\n\n  var axiosKeys = valueFromConfig2Keys\n    .concat(mergeDeepPropertiesKeys)\n    .concat(defaultToConfig2Keys)\n    .concat(directMergeKeys);\n\n  var otherKeys = Object\n    .keys(config1)\n    .concat(Object.keys(config2))\n    .filter(function filterAxiosKeys(key) {\n      return axiosKeys.indexOf(key) === -1;\n    });\n\n  utils.forEach(otherKeys, mergeDeepProperties);\n\n  return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n  var validateStatus = response.config.validateStatus;\n  if (!response.status || !validateStatus || validateStatus(response.status)) {\n    resolve(response);\n  } else {\n    reject(createError(\n      'Request failed with status code ' + response.status,\n      response.config,\n      null,\n      response.request,\n      response\n    ));\n  }\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n  /*eslint no-param-reassign:0*/\n  utils.forEach(fns, function transform(fn) {\n    data = fn(data, headers);\n  });\n\n  return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n  'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n  if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n    headers['Content-Type'] = value;\n  }\n}\n\nfunction getDefaultAdapter() {\n  var adapter;\n  if (typeof XMLHttpRequest !== 'undefined') {\n    // For browsers use XHR adapter\n    adapter = require('./adapters/xhr');\n  } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n    // For node use HTTP adapter\n    adapter = require('./adapters/http');\n  }\n  return adapter;\n}\n\nvar defaults = {\n  adapter: getDefaultAdapter(),\n\n  transformRequest: [function transformRequest(data, headers) {\n    normalizeHeaderName(headers, 'Accept');\n    normalizeHeaderName(headers, 'Content-Type');\n    if (utils.isFormData(data) ||\n      utils.isArrayBuffer(data) ||\n      utils.isBuffer(data) ||\n      utils.isStream(data) ||\n      utils.isFile(data) ||\n      utils.isBlob(data)\n    ) {\n      return data;\n    }\n    if (utils.isArrayBufferView(data)) {\n      return data.buffer;\n    }\n    if (utils.isURLSearchParams(data)) {\n      setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n      return data.toString();\n    }\n    if (utils.isObject(data)) {\n      setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n      return JSON.stringify(data);\n    }\n    return data;\n  }],\n\n  transformResponse: [function transformResponse(data) {\n    /*eslint no-param-reassign:0*/\n    if (typeof data === 'string') {\n      try {\n        data = JSON.parse(data);\n      } catch (e) { /* Ignore */ }\n    }\n    return data;\n  }],\n\n  /**\n   * A timeout in milliseconds to abort a request. If set to 0 (default) a\n   * timeout is not created.\n   */\n  timeout: 0,\n\n  xsrfCookieName: 'XSRF-TOKEN',\n  xsrfHeaderName: 'X-XSRF-TOKEN',\n\n  maxContentLength: -1,\n  maxBodyLength: -1,\n\n  validateStatus: function validateStatus(status) {\n    return status >= 200 && status < 300;\n  }\n};\n\ndefaults.headers = {\n  common: {\n    'Accept': 'application/json, text/plain, */*'\n  }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n  defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n  defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n  return function wrap() {\n    var args = new Array(arguments.length);\n    for (var i = 0; i < args.length; i++) {\n      args[i] = arguments[i];\n    }\n    return fn.apply(thisArg, args);\n  };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n  return encodeURIComponent(val).\n    replace(/%3A/gi, ':').\n    replace(/%24/g, '$').\n    replace(/%2C/gi, ',').\n    replace(/%20/g, '+').\n    replace(/%5B/gi, '[').\n    replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n  /*eslint no-param-reassign:0*/\n  if (!params) {\n    return url;\n  }\n\n  var serializedParams;\n  if (paramsSerializer) {\n    serializedParams = paramsSerializer(params);\n  } else if (utils.isURLSearchParams(params)) {\n    serializedParams = params.toString();\n  } else {\n    var parts = [];\n\n    utils.forEach(params, function serialize(val, key) {\n      if (val === null || typeof val === 'undefined') {\n        return;\n      }\n\n      if (utils.isArray(val)) {\n        key = key + '[]';\n      } else {\n        val = [val];\n      }\n\n      utils.forEach(val, function parseValue(v) {\n        if (utils.isDate(v)) {\n          v = v.toISOString();\n        } else if (utils.isObject(v)) {\n          v = JSON.stringify(v);\n        }\n        parts.push(encode(key) + '=' + encode(v));\n      });\n    });\n\n    serializedParams = parts.join('&');\n  }\n\n  if (serializedParams) {\n    var hashmarkIndex = url.indexOf('#');\n    if (hashmarkIndex !== -1) {\n      url = url.slice(0, hashmarkIndex);\n    }\n\n    url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n  }\n\n  return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n  return relativeURL\n    ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n    : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n  utils.isStandardBrowserEnv() ?\n\n  // Standard browser envs support document.cookie\n    (function standardBrowserEnv() {\n      return {\n        write: function write(name, value, expires, path, domain, secure) {\n          var cookie = [];\n          cookie.push(name + '=' + encodeURIComponent(value));\n\n          if (utils.isNumber(expires)) {\n            cookie.push('expires=' + new Date(expires).toGMTString());\n          }\n\n          if (utils.isString(path)) {\n            cookie.push('path=' + path);\n          }\n\n          if (utils.isString(domain)) {\n            cookie.push('domain=' + domain);\n          }\n\n          if (secure === true) {\n            cookie.push('secure');\n          }\n\n          document.cookie = cookie.join('; ');\n        },\n\n        read: function read(name) {\n          var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n          return (match ? decodeURIComponent(match[3]) : null);\n        },\n\n        remove: function remove(name) {\n          this.write(name, '', Date.now() - 86400000);\n        }\n      };\n    })() :\n\n  // Non standard browser env (web workers, react-native) lack needed support.\n    (function nonStandardBrowserEnv() {\n      return {\n        write: function write() {},\n        read: function read() { return null; },\n        remove: function remove() {}\n      };\n    })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n  // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n  // by any combination of letters, digits, plus, period, or hyphen.\n  return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n  utils.isStandardBrowserEnv() ?\n\n  // Standard browser envs have full support of the APIs needed to test\n  // whether the request URL is of the same origin as current location.\n    (function standardBrowserEnv() {\n      var msie = /(msie|trident)/i.test(navigator.userAgent);\n      var urlParsingNode = document.createElement('a');\n      var originURL;\n\n      /**\n    * Parse a URL to discover it's components\n    *\n    * @param {String} url The URL to be parsed\n    * @returns {Object}\n    */\n      function resolveURL(url) {\n        var href = url;\n\n        if (msie) {\n        // IE needs attribute set twice to normalize properties\n          urlParsingNode.setAttribute('href', href);\n          href = urlParsingNode.href;\n        }\n\n        urlParsingNode.setAttribute('href', href);\n\n        // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n        return {\n          href: urlParsingNode.href,\n          protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n          host: urlParsingNode.host,\n          search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n          hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n          hostname: urlParsingNode.hostname,\n          port: urlParsingNode.port,\n          pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n            urlParsingNode.pathname :\n            '/' + urlParsingNode.pathname\n        };\n      }\n\n      originURL = resolveURL(window.location.href);\n\n      /**\n    * Determine if a URL shares the same origin as the current location\n    *\n    * @param {String} requestURL The URL to test\n    * @returns {boolean} True if URL shares the same origin, otherwise false\n    */\n      return function isURLSameOrigin(requestURL) {\n        var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n        return (parsed.protocol === originURL.protocol &&\n            parsed.host === originURL.host);\n      };\n    })() :\n\n  // Non standard browser envs (web workers, react-native) lack needed support.\n    (function nonStandardBrowserEnv() {\n      return function isURLSameOrigin() {\n        return true;\n      };\n    })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n  utils.forEach(headers, function processHeader(value, name) {\n    if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n      headers[normalizedName] = value;\n      delete headers[name];\n    }\n  });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n  'age', 'authorization', 'content-length', 'content-type', 'etag',\n  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n  'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n  'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n  var parsed = {};\n  var key;\n  var val;\n  var i;\n\n  if (!headers) { return parsed; }\n\n  utils.forEach(headers.split('\\n'), function parser(line) {\n    i = line.indexOf(':');\n    key = utils.trim(line.substr(0, i)).toLowerCase();\n    val = utils.trim(line.substr(i + 1));\n\n    if (key) {\n      if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n        return;\n      }\n      if (key === 'set-cookie') {\n        parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n      } else {\n        parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n      }\n    }\n  });\n\n  return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n *  ```js\n *  function f(x, y, z) {}\n *  var args = [1, 2, 3];\n *  f.apply(null, args);\n *  ```\n *\n * With `spread` this example can be re-written.\n *\n *  ```js\n *  spread(function(x, y, z) {})([1, 2, 3]);\n *  ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n  return function wrap(arr) {\n    return callback.apply(null, arr);\n  };\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n  return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n  return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n    && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n  return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n  return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n  var result;\n  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n    result = ArrayBuffer.isView(val);\n  } else {\n    result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n  }\n  return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n  return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n  return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n  return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n  if (toString.call(val) !== '[object Object]') {\n    return false;\n  }\n\n  var prototype = Object.getPrototypeOf(val);\n  return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n  return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n  return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n  return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n  return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n  return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n  return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n  return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n *  typeof window -> undefined\n *  typeof document -> undefined\n *\n * react-native:\n *  navigator.product -> 'ReactNative'\n * nativescript\n *  navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n  if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n                                           navigator.product === 'NativeScript' ||\n                                           navigator.product === 'NS')) {\n    return false;\n  }\n  return (\n    typeof window !== 'undefined' &&\n    typeof document !== 'undefined'\n  );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n  // Don't bother if no value provided\n  if (obj === null || typeof obj === 'undefined') {\n    return;\n  }\n\n  // Force an array if not already something iterable\n  if (typeof obj !== 'object') {\n    /*eslint no-param-reassign:0*/\n    obj = [obj];\n  }\n\n  if (isArray(obj)) {\n    // Iterate over array values\n    for (var i = 0, l = obj.length; i < l; i++) {\n      fn.call(null, obj[i], i, obj);\n    }\n  } else {\n    // Iterate over object keys\n    for (var key in obj) {\n      if (Object.prototype.hasOwnProperty.call(obj, key)) {\n        fn.call(null, obj[key], key, obj);\n      }\n    }\n  }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n  var result = {};\n  function assignValue(val, key) {\n    if (isPlainObject(result[key]) && isPlainObject(val)) {\n      result[key] = merge(result[key], val);\n    } else if (isPlainObject(val)) {\n      result[key] = merge({}, val);\n    } else if (isArray(val)) {\n      result[key] = val.slice();\n    } else {\n      result[key] = val;\n    }\n  }\n\n  for (var i = 0, l = arguments.length; i < l; i++) {\n    forEach(arguments[i], assignValue);\n  }\n  return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n  forEach(b, function assignValue(val, key) {\n    if (thisArg && typeof val === 'function') {\n      a[key] = bind(val, thisArg);\n    } else {\n      a[key] = val;\n    }\n  });\n  return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n  if (content.charCodeAt(0) === 0xFEFF) {\n    content = content.slice(1);\n  }\n  return content;\n}\n\nmodule.exports = {\n  isArray: isArray,\n  isArrayBuffer: isArrayBuffer,\n  isBuffer: isBuffer,\n  isFormData: isFormData,\n  isArrayBufferView: isArrayBufferView,\n  isString: isString,\n  isNumber: isNumber,\n  isObject: isObject,\n  isPlainObject: isPlainObject,\n  isUndefined: isUndefined,\n  isDate: isDate,\n  isFile: isFile,\n  isBlob: isBlob,\n  isFunction: isFunction,\n  isStream: isStream,\n  isURLSearchParams: isURLSearchParams,\n  isStandardBrowserEnv: isStandardBrowserEnv,\n  forEach: forEach,\n  merge: merge,\n  extend: extend,\n  trim: trim,\n  stripBOM: stripBOM\n};\n","\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n  var list = []; // return the list of modules as css string\n\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = cssWithMappingToString(item, useSourceMap);\n\n      if (item[2]) {\n        return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n      }\n\n      return content;\n    }).join('');\n  }; // import a list of modules into the list\n  // eslint-disable-next-line func-names\n\n\n  list.i = function (modules, mediaQuery, dedupe) {\n    if (typeof modules === 'string') {\n      // eslint-disable-next-line no-param-reassign\n      modules = [[null, modules, '']];\n    }\n\n    var alreadyImportedModules = {};\n\n    if (dedupe) {\n      for (var i = 0; i < this.length; i++) {\n        // eslint-disable-next-line prefer-destructuring\n        var id = this[i][0];\n\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n\n    for (var _i = 0; _i < modules.length; _i++) {\n      var item = [].concat(modules[_i]);\n\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        // eslint-disable-next-line no-continue\n        continue;\n      }\n\n      if (mediaQuery) {\n        if (!item[2]) {\n          item[2] = mediaQuery;\n        } else {\n          item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n        }\n      }\n\n      list.push(item);\n    }\n  };\n\n  return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n  var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n  var cssMapping = item[3];\n\n  if (!cssMapping) {\n    return content;\n  }\n\n  if (useSourceMap && typeof btoa === 'function') {\n    var sourceMapping = toComment(cssMapping);\n    var sourceURLs = cssMapping.sources.map(function (source) {\n      return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n    });\n    return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n  }\n\n  return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n  // eslint-disable-next-line no-undef\n  var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n  var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n  return \"/*# \".concat(data, \" */\");\n}","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",$=\"Invalid Date\",l=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\")},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},D=\"en\",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if(\"string\"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else{var i=t.name;v[i]=t,r=i}return!n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g=\"set\"+(this.$u?\"UTC\":\"\");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+\"Hours\",0);case u:return l(g+\"Minutes\",1);case s:return l(g+\"Seconds\",2);case i:return l(g+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h=\"set\"+(this.$u?\"UTC\":\"\"),$=(n={},n[a]=h+\"Date\",n[d]=h+\"Date\",n[f]=h+\"Month\",n[c]=h+\"FullYear\",n[u]=h+\"Hours\",n[s]=h+\"Minutes\",n[i]=h+\"Seconds\",n[r]=h+\"Milliseconds\",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,\"0\")},d=n.meridiem||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,\"0\"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,\"0\"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,\"0\"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,\"0\"),s:String(this.$s),ss:O.s(this.$s,2,\"0\"),SSS:O.s(this.$ms,3,\"0\"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",f],[\"$y\",c],[\"$D\",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_calendar=t()}(this,(function(){\"use strict\";return function(e,t,a){var n=\"h:mm A\",d={lastDay:\"[Yesterday at] \"+n,sameDay:\"[Today at] \"+n,nextDay:\"[Tomorrow at] \"+n,nextWeek:\"dddd [at] \"+n,lastWeek:\"[Last] dddd [at] \"+n,sameElse:\"MM/DD/YYYY\"};t.prototype.calendar=function(e,t){var n=t||this.$locale().calendar||d,o=a(e||void 0).startOf(\"d\"),s=this.diff(o,\"d\",!0),i=\"sameElse\",f=s<-6?i:s<-1?\"lastWeek\":s<0?\"lastDay\":s<1?\"sameDay\":s<2?\"nextDay\":s<7?\"nextWeek\":i,l=n[f]||d[f];return\"function\"==typeof l?l.call(this,a()):this.format(l)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=e()}(this,(function(){\"use strict\";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t);return function(t,n){void 0===n&&(n={});var i=n.timeZoneName||\"short\",o=t+\"|\"+i,r=e[o];return r||(r=new Intl.DateTimeFormat(\"en-US\",{hour12:!1,timeZone:t,year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\",second:\"2-digit\",timeZoneName:i}),e[o]=r),r}(n,i).formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10))}var d=r[3],l=24===d?0:d,v=r[0]+\"-\"+r[1]+\"-\"+r[2]+\" \"+l+\":\"+r[4]+\":\"+r[5]+\":000\",h=+e;return(o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString(\"en-US\",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set(\"millisecond\",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,\"minute\")}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return\"timezonename\"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format(\"YYYY-MM-DD HH:mm:ss:SSS\"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if(\"string\"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return[i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t}}}));","!function(t,i){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=i():\"function\"==typeof define&&define.amd?define(i):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs_plugin_utc=i()}(this,(function(){\"use strict\";var t=\"minute\",i=/[+-]\\d\\d(?::?\\d\\d)?/g,e=/([+-]|\\d\\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else r.call(this)};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if(\"string\"==typeof s&&null===(s=function(t){void 0===t&&(t=\"\");var s=t.match(i);if(!s)return null;var f=(\"\"+s[0]).match(e)||[\"-\",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:\"+\"===n?u:-u}(s)))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?\"YYYY-MM-DDTHH:mm:ss[Z]\":\"\");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return\"s\"===t&&this.$offset?n(this.format(\"YYYY-MM-DD HH:mm:ss:SSS\")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){\"use strict\";var e=\"week\",t=\"year\";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),\"day\");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,\"millisecond\"),o=this.diff(a,e,!0);return o<0?r(this).startOf(\"week\").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}));","/*\n* FileSaver.js\n* A saveAs() FileSaver implementation.\n*\n* By Eli Grey, http://eligrey.com\n*\n* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n* source  : http://purl.eligrey.com/github/FileSaver.js\n*/\n\n// The one and only way of getting global scope in all environments\n// https://stackoverflow.com/q/3277182/1008999\nvar _global = typeof window === 'object' && window.window === window\n  ? window : typeof self === 'object' && self.self === self\n  ? self : typeof global === 'object' && global.global === global\n  ? global\n  : this\n\nfunction bom (blob, opts) {\n  if (typeof opts === 'undefined') opts = { autoBom: false }\n  else if (typeof opts !== 'object') {\n    console.warn('Deprecated: Expected third argument to be a object')\n    opts = { autoBom: !opts }\n  }\n\n  // prepend BOM for UTF-8 XML and text/* types (including HTML)\n  // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n  if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n    return new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type })\n  }\n  return blob\n}\n\nfunction download (url, name, opts) {\n  var xhr = new XMLHttpRequest()\n  xhr.open('GET', url)\n  xhr.responseType = 'blob'\n  xhr.onload = function () {\n    saveAs(xhr.response, name, opts)\n  }\n  xhr.onerror = function () {\n    console.error('could not download file')\n  }\n  xhr.send()\n}\n\nfunction corsEnabled (url) {\n  var xhr = new XMLHttpRequest()\n  // use sync to avoid popup blocker\n  xhr.open('HEAD', url, false)\n  try {\n    xhr.send()\n  } catch (e) {}\n  return xhr.status >= 200 && xhr.status <= 299\n}\n\n// `a.click()` doesn't work for all browsers (#465)\nfunction click (node) {\n  try {\n    node.dispatchEvent(new MouseEvent('click'))\n  } catch (e) {\n    var evt = document.createEvent('MouseEvents')\n    evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80,\n                          20, false, false, false, false, 0, null)\n    node.dispatchEvent(evt)\n  }\n}\n\n// Detect WebView inside a native macOS app by ruling out all browsers\n// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\nvar isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent)\n\nvar saveAs = _global.saveAs || (\n  // probably in some web worker\n  (typeof window !== 'object' || window !== _global)\n    ? function saveAs () { /* noop */ }\n\n  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n  : ('download' in HTMLAnchorElement.prototype && !isMacOSWebView)\n  ? function saveAs (blob, name, opts) {\n    var URL = _global.URL || _global.webkitURL\n    var a = document.createElement('a')\n    name = name || blob.name || 'download'\n\n    a.download = name\n    a.rel = 'noopener' // tabnabbing\n\n    // TODO: detect chrome extensions & packaged apps\n    // a.target = '_blank'\n\n    if (typeof blob === 'string') {\n      // Support regular links\n      a.href = blob\n      if (a.origin !== location.origin) {\n        corsEnabled(a.href)\n          ? download(blob, name, opts)\n          : click(a, a.target = '_blank')\n      } else {\n        click(a)\n      }\n    } else {\n      // Support blobs\n      a.href = URL.createObjectURL(blob)\n      setTimeout(function () { URL.revokeObjectURL(a.href) }, 4E4) // 40s\n      setTimeout(function () { click(a) }, 0)\n    }\n  }\n\n  // Use msSaveOrOpenBlob as a second approach\n  : 'msSaveOrOpenBlob' in navigator\n  ? function saveAs (blob, name, opts) {\n    name = name || blob.name || 'download'\n\n    if (typeof blob === 'string') {\n      if (corsEnabled(blob)) {\n        download(blob, name, opts)\n      } else {\n        var a = document.createElement('a')\n        a.href = blob\n        a.target = '_blank'\n        setTimeout(function () { click(a) })\n      }\n    } else {\n      navigator.msSaveOrOpenBlob(bom(blob, opts), name)\n    }\n  }\n\n  // Fallback to using FileReader and a popup\n  : function saveAs (blob, name, opts, popup) {\n    // Open a popup immediately do go around popup blocker\n    // Mostly only available on user interaction and the fileReader is async so...\n    popup = popup || open('', '_blank')\n    if (popup) {\n      popup.document.title =\n      popup.document.body.innerText = 'downloading...'\n    }\n\n    if (typeof blob === 'string') return download(blob, name, opts)\n\n    var force = blob.type === 'application/octet-stream'\n    var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari\n    var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent)\n\n    if ((isChromeIOS || (force && isSafari) || isMacOSWebView) && typeof FileReader !== 'undefined') {\n      // Safari doesn't allow downloading of blob URLs\n      var reader = new FileReader()\n      reader.onloadend = function () {\n        var url = reader.result\n        url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;')\n        if (popup) popup.location.href = url\n        else location = url\n        popup = null // reverse-tabnabbing #460\n      }\n      reader.readAsDataURL(blob)\n    } else {\n      var URL = _global.URL || _global.webkitURL\n      var url = URL.createObjectURL(blob)\n      if (popup) popup.location = url\n      else location.href = url\n      popup = null // reverse-tabnabbing #460\n      setTimeout(function () { URL.revokeObjectURL(url) }, 4E4) // 40s\n    }\n  }\n)\n\n_global.saveAs = saveAs.saveAs = saveAs\n\nif (typeof module !== 'undefined') {\n  module.exports = saveAs;\n}\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";.mosha__toast{touch-action:none;display:flex;justify-content:space-between;position:fixed;min-height:64px;max-height:800px;box-sizing:border-box;overflow:hidden;padding:12px 8px;word-break:break-word;min-width:312px;max-width:480px;z-index:9999;width:-webkit-max-content;width:-moz-max-content;width:max-content;transition:top .3s ease-out .5s,bottom .3s ease-out .5s;border-radius:8px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);margin:0 16px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mosha__toast__content-wrapper{display:flex;align-items:center}.mosha__toast__content{font-family:sans-serif;line-height:20px;display:flex;flex-direction:column;color:#fff}.mosha__toast__content__text{margin-bottom:2px;font-size:16px;font-weight:700}.mosha__toast__content__description{font-size:14px;font-weight:400}.mosha__toast__slot-wrapper{width:100%}.mosha__toast__close-icon::before{font-size:20px;cursor:pointer;content:\\\"×\\\";color:#fff;transition:color .3s;font-weight:600;margin-left:10px;position:relative;top:-12px}.mosha__toast__close-icon:hover::before{color:grey}.mosha__toast__progress{transition:all linear .2s;position:absolute;z-index:9999;height:8px;background-color:rgba(255,255,255,.6);bottom:0;margin-left:-8px}.mosha__toast.success{background-color:#06d6a0}.mosha__toast.warning{background-color:#ffc43d}.mosha__toast.info{background-color:#1b9aaa}.mosha__toast.danger{background-color:#ef476f}.mosha__toast.default{background-color:#fff}.mosha__toast.default .mosha__toast__content{color:#616161}.mosha__toast.default .mosha__toast__close-icon::before{color:#616161}.mosha__toast.default .mosha__toast__close-icon:hover::before{color:#d0d4d4}.mosha__toast.default .mosha__toast__progress{background-image:linear-gradient(-225deg,#69eacb 0,#eaccf8 48%,#6654f1 100%)}@media only screen and (max-width:475px){.mosha__toast{max-width:95.2%;left:0;right:0;margin:0 auto}}.mosha__icon{margin-right:16px}.mosha__bounceInRight-enter-active{-webkit-animation:bounceInRight .7s;animation:bounceInRight .7s}.mosha__bounceInRight-leave-active{-webkit-animation:bounceOutLeft .7s;animation:bounceOutLeft .7s}.mosha__bounceInLeft-enter-active{-webkit-animation:bounceInLeft .7s;animation:bounceInLeft .7s}.mosha__bounceInLeft-leave-active{-webkit-animation:bounceOutRight .7s;animation:bounceOutRight .7s}.mosha__bounceInDown-enter-active{-webkit-animation:bounceInDown .7s;animation:bounceInDown .7s}.mosha__bounceInDown-leave-active{-webkit-animation:bounceOutUp .7s;animation:bounceOutUp .7s}.mosha__bounceInUp-enter-active{-webkit-animation:bounceInUp .7s;animation:bounceInUp .7s}.mosha__bounceInUp-leave-active{-webkit-animation:bounceOutDown .7s;animation:bounceOutDown .7s}@-webkit-keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(2000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(2000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(-2000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(-2000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes bounceOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}@keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}@-webkit-keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.mosha__slideInRight-enter-active{-webkit-animation:slideInRight .5s;animation:slideInRight .5s}.mosha__slideInRight-leave-active{-webkit-animation:slideOutRight .5s;animation:slideOutRight .5s}.mosha__slideInLeft-enter-active{-webkit-animation:slideInLeft .5s;animation:slideInLeft .5s}.mosha__slideInLeft-leave-active{-webkit-animation:slideOutLeft .5s;animation:slideOutLeft .5s}.mosha__slideInDown-enter-active{-webkit-animation:slideInDown .5s;animation:slideInDown .5s}.mosha__slideInDown-leave-active{-webkit-animation:slideOutUp .5s;animation:slideOutUp .5s}.mosha__slideInUp-enter-active{-webkit-animation:slideInUp .5s;animation:slideInUp .5s}.mosha__slideInUp-leave-active{-webkit-animation:slideOutDown .5s;animation:slideOutDown .5s}@-webkit-keyframes slideInRight{from{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInRight{from{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutLeft{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes slideOutLeft{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes slideInLeft{from{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInLeft{from{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutRight{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes slideOutRight{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes slideInUp{from{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInUp{from{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideInDown{from{opacity:0;transform:translate3d(0,-120%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes slideInDown{from{opacity:0;transform:translate3d(0,-120%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutDown{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes slideOutDown{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes slideOutUp{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes slideOutUp{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.mosha__zoomIn-enter-active{-webkit-animation:zoomIn .5s;animation:zoomIn .5s}.mosha__zoomIn-leave-active{-webkit-animation:zoomOut .5s;animation:zoomOut .5s}@-webkit-keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.mosha__fadeOutRight-leave-active{-webkit-animation:fadeOutRight .5s;animation:fadeOutRight .5s}.mosha__fadeOutLeft-leave-active{-webkit-animation:fadeOutLeft .5s;animation:fadeOutLeft .5s}@-webkit-keyframes fadeOutLeft{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@-webkit-keyframes fadeOutRight{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}\", \"\",{\"version\":3,\"sources\":[\"webpack://node_modules/mosha-vue-toastify/dist/style.css\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,CAAC,cAAc,iBAAiB,CAAC,YAAY,CAAC,6BAA6B,CAAC,cAAc,CAAC,eAAe,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,uDAAuD,CAAC,iBAAiB,CAAC,mEAAmE,CAAC,aAAa,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,+BAA+B,YAAY,CAAC,kBAAkB,CAAC,uBAAuB,sBAAsB,CAAC,gBAAgB,CAAC,YAAY,CAAC,qBAAqB,CAAC,UAAU,CAAC,6BAA6B,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,oCAAoC,cAAc,CAAC,eAAe,CAAC,4BAA4B,UAAU,CAAC,kCAAkC,cAAc,CAAC,cAAc,CAAC,WAAW,CAAC,UAAU,CAAC,oBAAoB,CAAC,eAAe,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,wCAAwC,UAAU,CAAC,wBAAwB,yBAAyB,CAAC,iBAAiB,CAAC,YAAY,CAAC,UAAU,CAAC,qCAAqC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,sBAAsB,wBAAwB,CAAC,sBAAsB,wBAAwB,CAAC,mBAAmB,wBAAwB,CAAC,qBAAqB,wBAAwB,CAAC,sBAAsB,qBAAqB,CAAC,6CA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CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC,4BAA4B,CAAC,CAAC,gCAAgC,KAAK,4BAA4B,CAAC,GAAG,iBAAiB,CAAC,gCAAgC,CAAC,CAAC,wBAAwB,KAAK,4BAA4B,CAAC,GAAG,iBAAiB,CAAC,gCAAgC,CAAC,CAAC,8BAA8B,KAAK,4BAA4B,CAAC,GAAG,iBAAiB,CAAC,iCAAiC,CAAC,CAAC,sBAAsB,KAAK,4BAA4B,CAAC,GAAG,iBAAiB,CAAC,iCAAiC,CAAC,CAAC,4BAA4B,4BAA4B,CAAC,oBAAoB,CAAC,4BAA4B,6BAA6B,CAAC,qBAAqB,CAAC,0BAA0B,KAAK,SAAS,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC,CAAC,kBAAkB,KAAK,SAAS,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC,CAAC,2BAA2B,KAAK,SAAS,CAAC,IAAI,SAAS,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,CAAC,mBAAmB,KAAK,SAAS,CAAC,IAAI,SAAS,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,CAAC,kCAAkC,kCAAkC,CAAC,0BAA0B,CAAC,iCAAiC,iCAAiC,CAAC,yBAAyB,CAAC,+BAA+B,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC,gCAAgC,CAAC,CAAC,uBAAuB,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC,gCAAgC,CAAC,CAAC,gCAAgC,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC,+BAA+B,CAAC,CAAC,wBAAwB,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC,+BAA+B,CAAC\",\"sourcesContent\":[\"@charset \\\"UTF-8\\\";.mosha__toast{touch-action:none;display:flex;justify-content:space-between;position:fixed;min-height:64px;max-height:800px;box-sizing:border-box;overflow:hidden;padding:12px 8px;word-break:break-word;min-width:312px;max-width:480px;z-index:9999;width:-webkit-max-content;width:-moz-max-content;width:max-content;transition:top .3s ease-out .5s,bottom .3s ease-out .5s;border-radius:8px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);margin:0 16px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mosha__toast__content-wrapper{display:flex;align-items:center}.mosha__toast__content{font-family:sans-serif;line-height:20px;display:flex;flex-direction:column;color:#fff}.mosha__toast__content__text{margin-bottom:2px;font-size:16px;font-weight:700}.mosha__toast__content__description{font-size:14px;font-weight:400}.mosha__toast__slot-wrapper{width:100%}.mosha__toast__close-icon::before{font-size:20px;cursor:pointer;content:\\\"×\\\";color:#fff;transition:color .3s;font-weight:600;margin-left:10px;position:relative;top:-12px}.mosha__toast__close-icon:hover::before{color:grey}.mosha__toast__progress{transition:all linear .2s;position:absolute;z-index:9999;height:8px;background-color:rgba(255,255,255,.6);bottom:0;margin-left:-8px}.mosha__toast.success{background-color:#06d6a0}.mosha__toast.warning{background-color:#ffc43d}.mosha__toast.info{background-color:#1b9aaa}.mosha__toast.danger{background-color:#ef476f}.mosha__toast.default{background-color:#fff}.mosha__toast.default .mosha__toast__content{color:#616161}.mosha__toast.default .mosha__toast__close-icon::before{color:#616161}.mosha__toast.default .mosha__toast__close-icon:hover::before{color:#d0d4d4}.mosha__toast.default .mosha__toast__progress{background-image:linear-gradient(-225deg,#69eacb 0,#eaccf8 48%,#6654f1 100%)}@media only screen and (max-width:475px){.mosha__toast{max-width:95.2%;left:0;right:0;margin:0 auto}}.mosha__icon{margin-right:16px}.mosha__bounceInRight-enter-active{-webkit-animation:bounceInRight .7s;animation:bounceInRight .7s}.mosha__bounceInRight-leave-active{-webkit-animation:bounceOutLeft .7s;animation:bounceOutLeft .7s}.mosha__bounceInLeft-enter-active{-webkit-animation:bounceInLeft .7s;animation:bounceInLeft .7s}.mosha__bounceInLeft-leave-active{-webkit-animation:bounceOutRight .7s;animation:bounceOutRight .7s}.mosha__bounceInDown-enter-active{-webkit-animation:bounceInDown .7s;animation:bounceInDown .7s}.mosha__bounceInDown-leave-active{-webkit-animation:bounceOutUp .7s;animation:bounceOutUp .7s}.mosha__bounceInUp-enter-active{-webkit-animation:bounceInUp .7s;animation:bounceInUp .7s}.mosha__bounceInUp-leave-active{-webkit-animation:bounceOutDown .7s;animation:bounceOutDown .7s}@-webkit-keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(2000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(2000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(-2000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(-2000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes bounceOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}@keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}from{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}@-webkit-keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.mosha__slideInRight-enter-active{-webkit-animation:slideInRight .5s;animation:slideInRight .5s}.mosha__slideInRight-leave-active{-webkit-animation:slideOutRight .5s;animation:slideOutRight .5s}.mosha__slideInLeft-enter-active{-webkit-animation:slideInLeft .5s;animation:slideInLeft .5s}.mosha__slideInLeft-leave-active{-webkit-animation:slideOutLeft .5s;animation:slideOutLeft .5s}.mosha__slideInDown-enter-active{-webkit-animation:slideInDown .5s;animation:slideInDown .5s}.mosha__slideInDown-leave-active{-webkit-animation:slideOutUp .5s;animation:slideOutUp .5s}.mosha__slideInUp-enter-active{-webkit-animation:slideInUp .5s;animation:slideInUp .5s}.mosha__slideInUp-leave-active{-webkit-animation:slideOutDown .5s;animation:slideOutDown .5s}@-webkit-keyframes slideInRight{from{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInRight{from{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutLeft{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes slideOutLeft{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes slideInLeft{from{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInLeft{from{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutRight{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes slideOutRight{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes slideInUp{from{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,0,0)}}@keyframes slideInUp{from{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,0,0)}}@-webkit-keyframes slideInDown{from{opacity:0;transform:translate3d(0,-120%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes slideInDown{from{opacity:0;transform:translate3d(0,-120%,0)}to{opacity:1;transform:translate3d(0,0,0)}}@-webkit-keyframes slideOutDown{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes slideOutDown{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes slideOutUp{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes slideOutUp{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.mosha__zoomIn-enter-active{-webkit-animation:zoomIn .5s;animation:zoomIn .5s}.mosha__zoomIn-leave-active{-webkit-animation:zoomOut .5s;animation:zoomOut .5s}@-webkit-keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.mosha__fadeOutRight-leave-active{-webkit-animation:fadeOutRight .5s;animation:fadeOutRight .5s}.mosha__fadeOutLeft-leave-active{-webkit-animation:fadeOutLeft .5s;animation:fadeOutLeft .5s}@-webkit-keyframes fadeOutLeft{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@-webkit-keyframes fadeOutRight{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-73028eea]{flex-direction:row !important}nav ul li.nav-item[data-v-73028eea]{display:block;margin-right:0}.modal[data-v-73028eea]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-73028eea]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-73028eea]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-73028eea]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-73028eea]{border-radius:0}.thumbnail .badge svg[data-v-73028eea]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-73028eea]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-73028eea]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-73028eea]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-8dd1db2e]{flex-direction:row !important}nav ul li.nav-item[data-v-8dd1db2e]{display:block;margin-right:0}.modal[data-v-8dd1db2e]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-8dd1db2e]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-8dd1db2e]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-8dd1db2e]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-8dd1db2e]{border-radius:0}.thumbnail .badge svg[data-v-8dd1db2e]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-8dd1db2e]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-8dd1db2e]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-8dd1db2e]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-383b5f7e]{flex-direction:row !important}nav ul li.nav-item[data-v-383b5f7e]{display:block;margin-right:0}.modal[data-v-383b5f7e]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-383b5f7e]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-383b5f7e]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-383b5f7e]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-383b5f7e]{border-radius:0}.thumbnail .badge svg[data-v-383b5f7e]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-383b5f7e]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-383b5f7e]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-383b5f7e]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-442bc4f7]{flex-direction:row !important}nav ul li.nav-item[data-v-442bc4f7]{display:block;margin-right:0}.modal[data-v-442bc4f7]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-442bc4f7]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-442bc4f7]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-442bc4f7]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-442bc4f7]{border-radius:0}.thumbnail .badge svg[data-v-442bc4f7]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-442bc4f7]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-442bc4f7]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-442bc4f7]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-6897cd9a]{flex-direction:row !important}nav ul li.nav-item[data-v-6897cd9a]{display:block;margin-right:0}.modal[data-v-6897cd9a]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-6897cd9a]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-6897cd9a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-6897cd9a]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-6897cd9a]{border-radius:0}.thumbnail .badge svg[data-v-6897cd9a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-6897cd9a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-6897cd9a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-6897cd9a]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-e123753a]{flex-direction:row !important}nav ul li.nav-item[data-v-e123753a]{display:block;margin-right:0}.modal[data-v-e123753a]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-e123753a]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-e123753a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-e123753a]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-e123753a]{border-radius:0}.thumbnail .badge svg[data-v-e123753a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-e123753a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-e123753a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-e123753a]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-6ddd12f4]{flex-direction:row !important}nav ul li.nav-item[data-v-6ddd12f4]{display:block;margin-right:0}.modal[data-v-6ddd12f4]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-6ddd12f4]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-6ddd12f4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-6ddd12f4]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-6ddd12f4]{border-radius:0}.thumbnail .badge svg[data-v-6ddd12f4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-6ddd12f4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-6ddd12f4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-6ddd12f4]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-9fc08a20]{flex-direction:row !important}nav ul li.nav-item[data-v-9fc08a20]{display:block;margin-right:0}.modal[data-v-9fc08a20]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-9fc08a20]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-9fc08a20]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-9fc08a20]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-9fc08a20]{border-radius:0}.thumbnail .badge svg[data-v-9fc08a20]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-9fc08a20]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-9fc08a20]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-9fc08a20]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-0f4ddb7b]{flex-direction:row !important}nav ul li.nav-item[data-v-0f4ddb7b]{display:block;margin-right:0}.modal[data-v-0f4ddb7b]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-0f4ddb7b]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-0f4ddb7b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-0f4ddb7b]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-0f4ddb7b]{border-radius:0}.thumbnail .badge svg[data-v-0f4ddb7b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-0f4ddb7b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-0f4ddb7b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-0f4ddb7b]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-917bd8c8]{flex-direction:row !important}nav ul li.nav-item[data-v-917bd8c8]{display:block;margin-right:0}.modal[data-v-917bd8c8]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-917bd8c8]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-917bd8c8]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-917bd8c8]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-917bd8c8]{border-radius:0}.thumbnail .badge svg[data-v-917bd8c8]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-917bd8c8]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-917bd8c8]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-917bd8c8]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-0daa576b]{flex-direction:row !important}nav ul li.nav-item[data-v-0daa576b]{display:block;margin-right:0}.modal[data-v-0daa576b]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-0daa576b]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-0daa576b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-0daa576b]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-0daa576b]{border-radius:0}.thumbnail .badge svg[data-v-0daa576b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-0daa576b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-0daa576b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-0daa576b]{background-color:#fff3cd}.loader[data-v-0daa576b]{display:flex;justify-content:center;padding:1rem 0}.skeleton-loader[data-v-0daa576b]{padding:1rem 0}.skeleton-loader .skeleton-line[data-v-0daa576b]{height:20px;background:linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);background-size:200% 100%;animation:loading-0daa576b 1.5s infinite;border-radius:4px;margin-bottom:.5rem}.skeleton-loader .skeleton-line[data-v-0daa576b]:last-child{width:60%}@keyframes loading-0daa576b{0%{background-position:200% 0}100%{background-position:-200% 0}}.stripe-input[data-v-0daa576b]{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;height:38px}.error-message[data-v-0daa576b]{font-size:15px}.error-padding[data-v-0daa576b]{padding-top:15px}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/global/Global_PaymentInformation.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCEA,yBACE,YAAA,CACA,sBAAA,CACA,cAAA,CAGF,kCACE,cAAA,CAEA,iDACE,WAAA,CACA,wEAAA,CACA,yBAAA,CACA,wCAAA,CACA,iBAAA,CACA,mBAAA,CAEA,4DACE,SAAA,CAKN,4BACE,GACE,0BAAA,CAEF,KACE,2BAAA,CAAA,CAIJ,+BACE,aAAA,CACA,UAAA,CACA,sBAAA,CACA,cAAA,CACA,eAAA,CACA,eAAA,CACA,aAAA,CACA,qBAAA,CACA,2BAAA,CACA,wBAAA,CACA,eAAA,CACA,oBAAA,CACA,oEAAA,CACA,WAAA,CAGF,gCACE,cAAA,CAGF,gCACE,gBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n  .loader {\\n    display: flex;\\n    justify-content: center;\\n    padding: 1rem 0;\\n  }\\n\\n  .skeleton-loader {\\n    padding: 1rem 0;\\n    \\n    .skeleton-line {\\n      height: 20px;\\n      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);\\n      background-size: 200% 100%;\\n      animation: loading 1.5s infinite;\\n      border-radius: 4px;\\n      margin-bottom: 0.5rem;\\n      \\n      &:last-child {\\n        width: 60%;\\n      }\\n    }\\n  }\\n\\n  @keyframes loading {\\n    0% {\\n      background-position: 200% 0;\\n    }\\n    100% {\\n      background-position: -200% 0;\\n    }\\n  }\\n\\n  .stripe-input {\\n    display: block;\\n    width: 100%;\\n    padding: 0.375rem 0.75rem;\\n    font-size: 1rem;\\n    font-weight: 400;\\n    line-height: 1.5;\\n    color: #212529;\\n    background-color: #fff;\\n    background-clip: padding-box;\\n    border: 1px solid #ced4da;\\n    appearance: none;\\n    border-radius: 0.25rem;\\n    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\\n    height: 38px;\\n  }\\n\\n  .error-message {\\n    font-size: 15px;\\n  }\\n\\n  .error-padding {\\n    padding-top: 15px;\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-4da1cc81]{flex-direction:row !important}nav ul li.nav-item[data-v-4da1cc81]{display:block;margin-right:0}.modal[data-v-4da1cc81]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-4da1cc81]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-4da1cc81]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-4da1cc81]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-4da1cc81]{border-radius:0}.thumbnail .badge svg[data-v-4da1cc81]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-4da1cc81]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-4da1cc81]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-4da1cc81]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-9895ae4a]{flex-direction:row !important}nav ul li.nav-item[data-v-9895ae4a]{display:block;margin-right:0}.modal[data-v-9895ae4a]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-9895ae4a]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-9895ae4a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-9895ae4a]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-9895ae4a]{border-radius:0}.thumbnail .badge svg[data-v-9895ae4a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-9895ae4a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-9895ae4a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-9895ae4a]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-f9d8e9d8]{flex-direction:row !important}nav ul li.nav-item[data-v-f9d8e9d8]{display:block;margin-right:0}.modal[data-v-f9d8e9d8]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-f9d8e9d8]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-f9d8e9d8]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-f9d8e9d8]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-f9d8e9d8]{border-radius:0}.thumbnail .badge svg[data-v-f9d8e9d8]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-f9d8e9d8]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-f9d8e9d8]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-f9d8e9d8]{background-color:#fff3cd}.bottle-weight[data-v-f9d8e9d8]{max-width:10rem}.bottle-weight .st0[data-v-f9d8e9d8]{fill:#1c430b}.bottle-weight .st1[data-v-f9d8e9d8]{fill:#b7cc40}.bottle-weight .st2[data-v-f9d8e9d8]{fill:#fff}.bottle-weight .st3[data-v-f9d8e9d8]{enable-background:new;opacity:.1}.bottle-weight .st4[data-v-f9d8e9d8]{fill:#9b9b9b}.bottle-weight .st5[data-v-f9d8e9d8]{fill:#b9a6da}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/global/Global_SubscriptionPausedInterstitial.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCEA,gCACE,eAAA,CAEA,qCACE,YAAA,CAGF,qCACE,YAAA,CAGF,qCACE,SAAA,CAGF,qCACE,qBAAA,CACA,UAAA,CAGF,qCACE,YAAA,CAGF,qCACE,YAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n  .bottle-weight {\\n    max-width: 10rem;\\n\\n    .st0 {\\n      fill: #1c430b;\\n    }\\n\\n    .st1 {\\n      fill: #b7cc40;\\n    }\\n\\n    .st2 {\\n      fill: #ffffff;\\n    }\\n\\n    .st3 {\\n      enable-background: new;\\n      opacity: 0.1;\\n    }\\n\\n    .st4 {\\n      fill: #9b9b9b;\\n    }\\n\\n    .st5 {\\n      fill: #b9a6da;\\n    }\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-295818f9]{flex-direction:row !important}nav ul li.nav-item[data-v-295818f9]{display:block;margin-right:0}.modal[data-v-295818f9]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-295818f9]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-295818f9]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-295818f9]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-295818f9]{border-radius:0}.thumbnail .badge svg[data-v-295818f9]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-295818f9]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-295818f9]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-295818f9]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-73f532a4]{flex-direction:row !important}nav ul li.nav-item[data-v-73f532a4]{display:block;margin-right:0}.modal[data-v-73f532a4]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-73f532a4]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-73f532a4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-73f532a4]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-73f532a4]{border-radius:0}.thumbnail .badge svg[data-v-73f532a4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-73f532a4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-73f532a4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-73f532a4]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-3ffd3dfe]{flex-direction:row !important}nav ul li.nav-item[data-v-3ffd3dfe]{display:block;margin-right:0}.modal[data-v-3ffd3dfe]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-3ffd3dfe]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-3ffd3dfe]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-3ffd3dfe]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-3ffd3dfe]{border-radius:0}.thumbnail .badge svg[data-v-3ffd3dfe]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-3ffd3dfe]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-3ffd3dfe]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-3ffd3dfe]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-7995b8b2]{flex-direction:row !important}nav ul li.nav-item[data-v-7995b8b2]{display:block;margin-right:0}.modal[data-v-7995b8b2]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-7995b8b2]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-7995b8b2]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-7995b8b2]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-7995b8b2]{border-radius:0}.thumbnail .badge svg[data-v-7995b8b2]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-7995b8b2]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-7995b8b2]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-7995b8b2]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-44479b1a]{flex-direction:row !important}nav ul li.nav-item[data-v-44479b1a]{display:block;margin-right:0}.modal[data-v-44479b1a]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-44479b1a]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-44479b1a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-44479b1a]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-44479b1a]{border-radius:0}.thumbnail .badge svg[data-v-44479b1a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-44479b1a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-44479b1a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-44479b1a]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-76d276cb]{flex-direction:row !important}nav ul li.nav-item[data-v-76d276cb]{display:block;margin-right:0}.modal[data-v-76d276cb]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-76d276cb]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-76d276cb]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-76d276cb]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-76d276cb]{border-radius:0}.thumbnail .badge svg[data-v-76d276cb]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-76d276cb]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-76d276cb]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-76d276cb]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-7bc3c6fc]{flex-direction:row !important}nav ul li.nav-item[data-v-7bc3c6fc]{display:block;margin-right:0}.modal[data-v-7bc3c6fc]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-7bc3c6fc]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-7bc3c6fc]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-7bc3c6fc]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-7bc3c6fc]{border-radius:0}.thumbnail .badge svg[data-v-7bc3c6fc]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-7bc3c6fc]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-7bc3c6fc]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-7bc3c6fc]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-329f7d7b]{flex-direction:row !important}nav ul li.nav-item[data-v-329f7d7b]{display:block;margin-right:0}.modal[data-v-329f7d7b]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-329f7d7b]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-329f7d7b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-329f7d7b]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-329f7d7b]{border-radius:0}.thumbnail .badge svg[data-v-329f7d7b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-329f7d7b]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-329f7d7b]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-329f7d7b]{background-color:#fff3cd}.col-purchase[data-v-329f7d7b]{border:solid 1px red}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/subscriber/account/Account_Purchases.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCEE,+BACI,oBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n    .col-purchase {\\n        border: solid 1px red;\\n    }\\n\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-4965ced4]{flex-direction:row !important}nav ul li.nav-item[data-v-4965ced4]{display:block;margin-right:0}.modal[data-v-4965ced4]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-4965ced4]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-4965ced4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-4965ced4]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-4965ced4]{border-radius:0}.thumbnail .badge svg[data-v-4965ced4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-4965ced4]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-4965ced4]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-4965ced4]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-2f092336]{flex-direction:row !important}nav ul li.nav-item[data-v-2f092336]{display:block;margin-right:0}.modal[data-v-2f092336]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-2f092336]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-2f092336]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-2f092336]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-2f092336]{border-radius:0}.thumbnail .badge svg[data-v-2f092336]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-2f092336]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-2f092336]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-2f092336]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-5cfba55f]{flex-direction:row !important}nav ul li.nav-item[data-v-5cfba55f]{display:block;margin-right:0}.modal[data-v-5cfba55f]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-5cfba55f]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-5cfba55f]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-5cfba55f]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-5cfba55f]{border-radius:0}.thumbnail .badge svg[data-v-5cfba55f]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-5cfba55f]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-5cfba55f]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-5cfba55f]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-501c11e6]{flex-direction:row !important}nav ul li.nav-item[data-v-501c11e6]{display:block;margin-right:0}.modal[data-v-501c11e6]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-501c11e6]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-501c11e6]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-501c11e6]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-501c11e6]{border-radius:0}.thumbnail .badge svg[data-v-501c11e6]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-501c11e6]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-501c11e6]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-501c11e6]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-711546b3]{flex-direction:row !important}nav ul li.nav-item[data-v-711546b3]{display:block;margin-right:0}.modal[data-v-711546b3]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-711546b3]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-711546b3]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-711546b3]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-711546b3]{border-radius:0}.thumbnail .badge svg[data-v-711546b3]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-711546b3]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-711546b3]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-711546b3]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-2649459f]{flex-direction:row !important}nav ul li.nav-item[data-v-2649459f]{display:block;margin-right:0}.modal[data-v-2649459f]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-2649459f]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-2649459f]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-2649459f]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-2649459f]{border-radius:0}.thumbnail .badge svg[data-v-2649459f]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-2649459f]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-2649459f]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-2649459f]{background-color:#fff3cd}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-5d23a33a]{flex-direction:row !important}nav ul li.nav-item[data-v-5d23a33a]{display:block;margin-right:0}.modal[data-v-5d23a33a]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-5d23a33a]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-5d23a33a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-5d23a33a]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-5d23a33a]{border-radius:0}.thumbnail .badge svg[data-v-5d23a33a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-5d23a33a]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-5d23a33a]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-5d23a33a]{background-color:#fff3cd}.btn-primary[data-v-5d23a33a]{color:#fff}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/subscriber/browse/Browse_FilterTabList.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCCA,8BACE,UAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n  .btn-primary {\\n    color: #fff;\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".nu-list li.event-tagged[data-v-3243534c]{position:relative}.nu-list li.event-tagged[data-v-3243534c]::after{background-color:#ee3238;content:\\\"\\\";width:.32em;height:.32em;border-radius:50%;position:absolute;bottom:-8px}.nu-list li.selected-day[data-v-3243534c]{padding:3px;background-color:#ee3238}.nu-list li.selected-day p a .day[data-v-3243534c],.nu-list li.selected-day p a .date[data-v-3243534c]{color:#fff}.nu-list li.selected-day[data-v-3243534c]:hover{background-color:#ee3238}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/components/subscriber/livestream/Livestream_Calendar.vue\"],\"names\":[],\"mappings\":\"AAIM,0CACE,iBAAA,CACA,iDACE,wBAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,iBAAA,CACA,iBAAA,CACA,WAAA,CAGJ,0CACE,WAAA,CACA,wBAAA,CAGI,uGACE,UAAA,CAIN,gDACE,wBAAA\",\"sourcesContent\":[\"\\n\\n  .nu-list {\\n    li {\\n      &.event-tagged {\\n        position: relative;\\n        &::after {\\n          background-color: #ee3238;\\n          content: '';\\n          width: 0.32em;\\n          height: 0.32em;\\n          border-radius: 50%;\\n          position: absolute;\\n          bottom: -8px;\\n        }\\n      }\\n      &.selected-day {\\n        padding: 3px;\\n        background-color: #ee3238;\\n        p {\\n          a {\\n            .day, .date {\\n              color: #fff;\\n            }\\n          }\\n        }\\n        &:hover {\\n          background-color: #ee3238;\\n        }\\n      }\\n    }\\n  }\\n\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"body{position:relative}#app{position:relative}.modal-overlay{background-color:rgba(0,0,0,.3);bottom:0;left:0;position:fixed;right:0;top:0;z-index:98}.fade-enter-active,.fade-leave-active{transition:opacity .5s}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/components/subscriber/livestream/Livestream_PricingModal.vue\"],\"names\":[],\"mappings\":\"AACE,KACE,iBAAA,CAGF,KACE,iBAAA,CAGF,eACE,+BAAA,CACA,QAAA,CACA,MAAA,CACA,cAAA,CACA,OAAA,CACA,KAAA,CACA,UAAA,CAGF,sCAEE,sBAAA\",\"sourcesContent\":[\"\\n  body {\\n    position: relative;\\n  }\\n\\n  #app {\\n    position: relative;\\n  }\\n\\n  .modal-overlay {\\n    background-color: rgba(0, 0, 0, 0.3);\\n    bottom: 0;\\n    left: 0;\\n    position: fixed;\\n    right: 0;\\n    top: 0;\\n    z-index: 98;\\n  }\\n\\n  .fade-enter-active,\\n  .fade-leave-active {\\n    transition: opacity 0.5s;\\n  }\\n\\n  .fade-enter,\\n  .fade-leave-to {\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-36b3d389]{flex-direction:row !important}nav ul li.nav-item[data-v-36b3d389]{display:block;margin-right:0}.modal[data-v-36b3d389]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-36b3d389]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-36b3d389]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-36b3d389]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-36b3d389]{border-radius:0}.thumbnail .badge svg[data-v-36b3d389]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-36b3d389]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-36b3d389]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-36b3d389]{background-color:#fff3cd}.ratio-9x16[data-v-36b3d389]{--bs-aspect-ratio: 178%}.thumbnail__title[data-v-36b3d389]{min-height:50px}.thumbnail__description[data-v-36b3d389]{font-size:16px;line-height:30px}.text-end .duration[data-v-36b3d389]{font-size:16px;line-height:30px}.ellipsis[data-v-36b3d389]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal.fade.show[data-v-36b3d389]{display:block}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/subscriber/media/Media_AssetThumbnail.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCEA,6BACE,uBAAA,CAIA,mCACE,eAAA,CAGF,yCACE,cAAA,CACA,gBAAA,CAKF,qCACE,cAAA,CACA,gBAAA,CAIJ,2BACE,eAAA,CACA,sBAAA,CACA,kBAAA,CAGF,kCACE,aAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n  .ratio-9x16 {\\n    --bs-aspect-ratio: 178%;\\n  }\\n\\n  .thumbnail {\\n    &__title {\\n      min-height: 50px;\\n    }\\n\\n    &__description {\\n      font-size: 16px;\\n      line-height: 30px;\\n    }\\n  }\\n\\n  .text-end {\\n    .duration {\\n      font-size: 16px;\\n      line-height: 30px;\\n    }\\n  }\\n\\n  .ellipsis {\\n    overflow: hidden;\\n    text-overflow: ellipsis;\\n    white-space: nowrap;\\n  }\\n\\n  .modal.fade.show {\\n    display: block;\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-bc5c0b32]{flex-direction:row !important}nav ul li.nav-item[data-v-bc5c0b32]{display:block;margin-right:0}.modal[data-v-bc5c0b32]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-bc5c0b32]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-bc5c0b32]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-bc5c0b32]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-bc5c0b32]{border-radius:0}.thumbnail .badge svg[data-v-bc5c0b32]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-bc5c0b32]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-bc5c0b32]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-bc5c0b32]{background-color:#fff3cd}.ratio-9x16[data-v-bc5c0b32]{--bs-aspect-ratio: 178%}.ellipsis[data-v-bc5c0b32]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/subscriber/media/Media_ProductThumbnail.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCEA,6BACE,uBAAA,CAGF,2BACE,eAAA,CACA,sBAAA,CACA,kBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n  .ratio-9x16 {\\n    --bs-aspect-ratio: 178%;\\n  }\\n\\n  .ellipsis {\\n    overflow: hidden;\\n    text-overflow: ellipsis;\\n    white-space: nowrap;\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/mosha-vue-toastify/dist/style.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".row[data-v-f8aab4ae]{flex-direction:row !important}nav ul li.nav-item[data-v-f8aab4ae]{display:block;margin-right:0}.modal[data-v-f8aab4ae]{backdrop-filter:blur(0);background-color:rgba(51,51,51,0);transition:backdrop-filter .25s ease-in-out,background-color .25s ease-in-out}.modal.show[data-v-f8aab4ae]{backdrop-filter:blur(5px);background-color:rgba(51,51,51,.5);display:block}.icon svg[data-v-f8aab4ae]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail__poster[data-v-f8aab4ae]{background-position:center center;background-size:cover;position:relative}.thumbnail .progress[data-v-f8aab4ae]{border-radius:0}.thumbnail .badge svg[data-v-f8aab4ae]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .btn svg[data-v-f8aab4ae]{display:inline-block;fill:currentColor;height:.75em;vertical-align:baseline;width:auto}.thumbnail .icon svg[data-v-f8aab4ae]{fill:currentColor;height:.75em;vertical-align:baseline;width:auto}#paused-subscription-banner[data-v-f8aab4ae]{background-color:#fff3cd}.rating .icon[data-v-f8aab4ae]{font-size:20px;margin-right:2px}\", \"\",{\"version\":3,\"sources\":[\"webpack://src/scss/_overrides.scss\",\"webpack://src/scss/components/_icon.scss\",\"webpack://src/scss/components/_thumbnail.scss\",\"webpack://src/scss/components/_paused-subscription-banner.scss\",\"webpack://src/components/subscriber/media/Media_RateVideo.vue\"],\"names\":[],\"mappings\":\"AAAA,sBACE,6BAAA,CAGF,oCACE,aAAA,CACA,cAAA,CAGF,wBACE,uBAAA,CACA,iCAAA,CACA,6EAAA,CAEA,6BACE,yBAAA,CACA,kCAAA,CACA,aAAA,CChBF,2BACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CCJF,oCACE,iCAAA,CACA,qBAAA,CACA,iBAAA,CAWF,sCACE,eAAA,CAIA,uCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,qCACE,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CAKF,sCACE,iBAAA,CACA,YAAA,CACA,uBAAA,CACA,UAAA,CC5CN,6CACE,wBAAA,CCGE,+BACE,cAAA,CACA,gBAAA\",\"sourcesContent\":[\".row {\\n  flex-direction: row !important;\\n}\\n\\nnav ul li.nav-item {\\n  display: block;\\n  margin-right: 0;\\n}\\n\\n.modal {\\n  backdrop-filter: blur(0);\\n  background-color: rgba(#333333, 0);\\n  transition: backdrop-filter 0.25s ease-in-out, background-color 0.25s ease-in-out;\\n\\n  &.show {\\n    backdrop-filter: blur(5px);\\n    background-color: rgba(#333333, 0.5);\\n    display: block;\\n  }\\n}\\n\",\".icon {\\n  svg {\\n    fill: currentColor;\\n    height: 0.75em;\\n    vertical-align: baseline;\\n    width: auto;\\n  }\\n}\\n\",\".thumbnail {\\n  &__poster {\\n    background-position: center center;\\n    background-size: cover;\\n    position: relative;\\n  }\\n\\n  &__meta {\\n    .rating {\\n    }\\n  }\\n\\n  &__description {\\n  }\\n\\n  .progress {\\n    border-radius: 0;\\n  }\\n\\n  .badge {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .btn {\\n    svg {\\n      display: inline-block;\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n\\n  .icon {\\n    svg {\\n      fill: currentColor;\\n      height: 0.75em;\\n      vertical-align: baseline;\\n      width: auto;\\n    }\\n  }\\n}\\n\",\"#paused-subscription-banner {\\n  background-color: #FFF3CD;\\n}\\n\",\"\\n  @import \\\"src/scss/app\\\";\\n\\n  .rating {\\n    .icon {\\n      font-size: 20px;\\n      margin-right: 2px;\\n    }\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n.table-container {\\n  position: relative;\\n  width: 100%;\\n  overflow-x: auto;\\ntable {\\n    width: 100%;\\n    border-collapse: collapse;\\n    table-layout: auto;\\n}\\nth, td {\\n    padding: 12px 16px;\\n    text-align: center;\\n    white-space: nowrap;\\n}\\nth:nth-child(1),\\n  td:nth-child(1) {\\n    text-align: center;\\n}\\nth:nth-child(2),\\n  td:nth-child(2),\\n  th:nth-child(3),\\n  td:nth-child(3),\\n  th:nth-child(4),\\n  td:nth-child(4) {\\n    width: 20%;\\n}\\n.status-success {\\n    color: #2f855a;\\n    font-weight: 600;\\n}\\n.status-failed {\\n    color: #c53030;\\n    font-weight: 600;\\n}\\n}\\n.pagination {\\n    display: flex;\\n    justify-content: flex-end;\\n    align-items: center;\\n    margin-top: 12px;\\n    gap: 8px;\\n}\\n.pagination a {\\n    cursor: pointer;\\n    padding: 6px 12px;\\n    border: 1px solid #ccc;\\n    background-color: #f5f5f5;\\n    border-radius: 4px;\\n    text-decoration: none;\\n    color: #333;\\n&.disabled {\\n      pointer-events: none;\\n      opacity: 0.5;\\n      cursor: not-allowed;\\n}\\n}\\n\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://src/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue\"],\"names\":[],\"mappings\":\";AAuCE;EACA,kBAAkB;EAClB,WAAW;EACX,gBAAgB;AAEhB;IACE,WAAW;IACX,yBAAyB;IACzB,kBAAkB;AACpB;AAEA;IACE,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;AACrB;AAEA;;IAEE,kBAAkB;AACpB;AAEA;;;;;;IAME,UAAU;AACZ;AAEA;IACE,cAAc;IACd,gBAAgB;AAClB;AAEA;IACE,cAAc;IACd,gBAAgB;AAClB;AACF;AAEA;IACI,aAAa;IACb,yBAAyB;IACzB,mBAAmB;IACnB,gBAAgB;IAChB,QAAQ;AACV;AAEA;IACE,eAAe;IACf,iBAAiB;IACjB,sBAAsB;IACtB,yBAAyB;IACzB,kBAAkB;IAClB,qBAAqB;IACrB,WAAW;AAEX;MACE,oBAAoB;MACpB,YAAY;MACZ,mBAAmB;AACrB;AACF\",\"sourcesContent\":[\"<template>\\n  <div v-if=\\\"showTransactions === true\\\">\\n    <div class=\\\"table-container\\\">\\n      <table>\\n        <thead>\\n          <tr>\\n            <th>Amount</th>\\n            <th>Transaction Date</th>\\n            <th>Transaction Type</th>\\n            <th>Status</th>\\n          </tr>\\n        </thead>\\n\\n        <tbody>\\n          <tr v-if=\\\"!hasTransactions\\\">\\n            <td colspan=\\\"4\\\" class=\\\"text-center py-3\\\">No transaction history available</td>\\n          </tr>\\n          <tr v-else v-for=\\\"(transaction, i) in paginatedTransactions\\\"\\n              :key=\\\"`transaction_${subscription.product_id}_${i}`\\\"\\n          >\\n            <td>{{ formatAmount(transaction.amount, transaction.total, transaction.tax, subscription.tax_percentage, transaction.discount) }}</td>\\n            <td>{{ formatShortDate(transaction.txn_date) }}</td>\\n            <td>{{ capitalize(transaction.type) }}</td>\\n            <td :data-label=\\\"'Status'\\\" :class=\\\"statusClass(transaction.status)\\\">\\n              {{capitalize(transaction.status) }}\\n            </td>\\n          </tr>\\n        </tbody>\\n      </table>\\n    </div>\\n    <div class=\\\"pagination\\\" v-if=\\\"totalPages > 1\\\">\\n      <a @click=\\\"goToPrevPage\\\" :class=\\\"{ disabled: currentPage === 1 }\\\">Previous</a>\\n      <span>Page {{ currentPage }} of {{ totalPages }}</span>\\n      <a @click=\\\"goToNextPage\\\" :class=\\\"{ disabled: currentPage === totalPages }\\\">Next</a>\\n    </div>\\n  </div>\\n</template>\\n\\n<style>\\n  .table-container {\\n  position: relative;\\n  width: 100%;\\n  overflow-x: auto;\\n\\n  table {\\n    width: 100%;\\n    border-collapse: collapse;\\n    table-layout: auto;\\n  }\\n\\n  th, td {\\n    padding: 12px 16px;\\n    text-align: center;\\n    white-space: nowrap;\\n  }\\n\\n  th:nth-child(1),\\n  td:nth-child(1) {\\n    text-align: center;\\n  }\\n\\n  th:nth-child(2),\\n  td:nth-child(2),\\n  th:nth-child(3),\\n  td:nth-child(3),\\n  th:nth-child(4),\\n  td:nth-child(4) {\\n    width: 20%;\\n  }\\n\\n  .status-success {\\n    color: #2f855a;\\n    font-weight: 600;\\n  }\\n\\n  .status-failed {\\n    color: #c53030;\\n    font-weight: 600;\\n  }\\n}\\n\\n.pagination {\\n    display: flex;\\n    justify-content: flex-end;\\n    align-items: center;\\n    margin-top: 12px;\\n    gap: 8px;\\n  }\\n\\n  .pagination a {\\n    cursor: pointer;\\n    padding: 6px 12px;\\n    border: 1px solid #ccc;\\n    background-color: #f5f5f5;\\n    border-radius: 4px;\\n    text-decoration: none;\\n    color: #333;\\n\\n    &.disabled {\\n      pointer-events: none;\\n      opacity: 0.5;\\n      cursor: not-allowed;\\n    }\\n  }\\n\\n</style>\\n<script lang=\\\"ts\\\">\\n  import { Component, defineComponent } from \\\"vue\\\";\\n  import Time from \\\"@/lib/Time\\\";\\n  import LooseObject from \\\"@/interfaces/LooseObject\\\";\\n  import dayjs, { Dayjs } from \\\"dayjs\\\";\\n  import StringUtils from \\\"@/lib/StringUtils\\\";\\n\\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\\n    data() {\\n      return {\\n        currentPage: 1,\\n        perPage: 10, // number of transactions per page\\n      };\\n    },\\n    components: {},\\n    props: {\\n      \\\"subscription\\\": {\\n        type: Object,\\n        required: true\\n      },\\n      \\\"showTransactions\\\": {\\n        type: Boolean,\\n        required: false,\\n        default: false\\n      }\\n    },\\n    computed: {\\n      hasTransactions() {\\n        return this.subscription.transactions && this.subscription.transactions.length > 0;\\n      },\\n      paginatedTransactions() {\\n        if (!this.hasTransactions) return [];\\n        const start = (this.currentPage - 1) * this.perPage;\\n        const end = start + this.perPage;\\n        return this.subscription.transactions.slice(start, end);\\n      },\\n      totalPages() {\\n        if (!this.hasTransactions) return 0;\\n        return Math.ceil(this.subscription.transactions.length / this.perPage);\\n      }\\n    },\\n    methods: {\\n      capitalize(status: string) {\\n        return status.charAt(0).toUpperCase() + status.slice(1).toLowerCase();\\n      },\\n      statusClass(status: string) {\\n        const normalized = status.toLowerCase();\\n        return {\\n          'status-success': normalized === 'succeeded',\\n          'status-failed': normalized === 'failed'\\n        };\\n      },\\n      goToPrevPage() {\\n        if (this.currentPage > 1) {\\n          this.currentPage--;\\n        }\\n      },\\n      goToNextPage() {\\n        if (this.currentPage < this.totalPages) {\\n          this.currentPage++;\\n        }\\n      }\\n    },\\n    setup() {\\n      const formatLongDate = (n: string): string => {\\n        return new Time().formatLongDate(n);\\n      };\\n\\n      const formatShortDate = (date: string | dayjs.Dayjs): string => {\\n        return dayjs(date).format('MM/DD/YYYY');\\n      };\\n\\n      const formatCurrency = (n: number): string => {\\n        return new StringUtils().formatCurrency(n);\\n      };\\n\\n      const formatTaxAmount = (amount: number, recurring_amount: number, has_initial_price: boolean, tax_percentage: string, discount: number, total_initial_price: number, sub_total_initial_price: number) => {\\n        // Parse tax_percentage as a float\\n        const parsedTaxPercentage = parseFloat(tax_percentage);\\n\\n        if (amount !== 0 && parsedTaxPercentage !== 0.0) {\\n          if(has_initial_price){\\n            if(discount) {\\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} - $${formatCurrency(discount * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\\n            } else{\\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\\n            }\\n          } else {\\n            const totalPrice = amount * (parsedTaxPercentage / 100) + amount;\\n            return `$${formatCurrency(totalPrice)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\\n          }\\n        } else {\\n          return `$${formatCurrency(amount)}`;\\n        }\\n      }\\n\\n      const formatAmount = (amount: number, total: number, tax: number, tax_percentage: string, discount: number) => {\\n        // Parse tax_percentage as a float\\n        const parsedTaxPercentage = parseFloat(tax_percentage);\\n\\n        if (amount !== 0) {\\n          if (parsedTaxPercentage !== 0.0) {\\n            if (discount) {\\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)} + ${parsedTaxPercentage}% Sale Tax)`;\\n            } else {\\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\\n            }\\n          } else {\\n            if (discount) {\\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)})`;\\n            } else {\\n              return `$${formatCurrency(total)}`;\\n            }\\n          }\\n        } else {\\n          return `$${formatCurrency(amount)}`;\\n        }\\n      }\\n\\n      return {\\n        formatLongDate,\\n        formatShortDate,\\n        formatCurrency,\\n        formatTaxAmount,\\n        formatAmount\\n      };\\n    }\\n  });\\n\\n  export default Account_Subscriptions_ListItem;\\n</script>\\n\\n<style lang=\\\"scss\\\"\\n       scoped>\\n  @import \\\"src/scss/app\\\";\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_BootstrapInput.vue?vue&type=style&index=0&id=73028eea&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_BootstrapInputGroup.vue?vue&type=style&index=0&id=8dd1db2e&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_BootstrapSelect.vue?vue&type=style&index=0&id=383b5f7e&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_BootstrapSelectGroup.vue?vue&type=style&index=0&id=442bc4f7&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_BootstrapTextarea.vue?vue&type=style&index=0&id=6897cd9a&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_ChangePassword.vue?vue&type=style&index=0&id=e123753a&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_ContactInformation.vue?vue&type=style&index=0&id=6ddd12f4&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_Input.vue?vue&type=style&index=0&id=9fc08a20&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_Modal.vue?vue&type=style&index=0&id=0f4ddb7b&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_PausedSubscriptionBanner.vue?vue&type=style&index=0&id=917bd8c8&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_PaymentInformation.vue?vue&type=style&index=0&id=0daa576b&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_PersonalInformation.vue?vue&type=style&index=0&id=4da1cc81&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_Select.vue?vue&type=style&index=0&id=9895ae4a&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_SubscriptionPausedInterstitial.vue?vue&type=style&index=0&id=f9d8e9d8&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_Toasts.vue?vue&type=style&index=0&id=295818f9&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Global_ToastsCard.vue?vue&type=style&index=0&id=73f532a4&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account.vue?vue&type=style&index=0&id=3ffd3dfe&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_FtmBanner.vue?vue&type=style&index=0&id=7995b8b2&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Overview.vue?vue&type=style&index=0&id=44479b1a&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Payments.vue?vue&type=style&index=0&id=76d276cb&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Profile.vue?vue&type=style&index=0&id=7bc3c6fc&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Purchases.vue?vue&type=style&index=0&id=329f7d7b&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions.vue?vue&type=style&index=0&id=4965ced4&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_CancellationOtherSrcSystem.vue?vue&type=style&index=0&id=2f092336&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_CancellationQuestionsForm.vue?vue&type=style&index=0&id=5cfba55f&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_ListItem.vue?vue&type=style&index=0&id=501c11e6&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_ListItem_PauseForm.vue?vue&type=style&index=0&id=711546b3&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_ListItem_Transactions.vue?vue&type=style&index=1&id=2649459f&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Browse_FilterTabList.vue?vue&type=style&index=0&id=5d23a33a&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Livestream_Calendar.vue?vue&type=style&index=0&id=3243534c&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Livestream_PricingModal.vue?vue&type=style&index=0&lang=scss\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Media_AssetThumbnail.vue?vue&type=style&index=0&id=36b3d389&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Media_ProductThumbnail.vue?vue&type=style&index=0&id=bc5c0b32&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Media_RateVideo.vue?vue&type=style&index=0&id=f8aab4ae&lang=scss&scoped=true\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var api = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n            var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0]!./Account_Subscriptions_ListItem_Transactions.vue?vue&type=style&index=0&lang=css\");\n\n            content = content.__esModule ? content.default : content;\n\n            if (typeof content === 'string') {\n              content = [[module.id, content, '']];\n            }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n  var memo;\n  return function memorize() {\n    if (typeof memo === 'undefined') {\n      // Test for IE <= 9 as proposed by Browserhacks\n      // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n      // Tests for existence of standard globals is to allow style-loader\n      // to operate correctly into non-standard environments\n      // @see https://github.com/webpack-contrib/style-loader/issues/177\n      memo = Boolean(window && document && document.all && !window.atob);\n    }\n\n    return memo;\n  };\n}();\n\nvar getTarget = function getTarget() {\n  var memo = {};\n  return function memorize(target) {\n    if (typeof memo[target] === 'undefined') {\n      var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n      if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n        try {\n          // This will throw an exception if access to iframe is blocked\n          // due to cross-origin restrictions\n          styleTarget = styleTarget.contentDocument.head;\n        } catch (e) {\n          // istanbul ignore next\n          styleTarget = null;\n        }\n      }\n\n      memo[target] = styleTarget;\n    }\n\n    return memo[target];\n  };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n  var result = -1;\n\n  for (var i = 0; i < stylesInDom.length; i++) {\n    if (stylesInDom[i].identifier === identifier) {\n      result = i;\n      break;\n    }\n  }\n\n  return result;\n}\n\nfunction modulesToDom(list, options) {\n  var idCountMap = {};\n  var identifiers = [];\n\n  for (var i = 0; i < list.length; i++) {\n    var item = list[i];\n    var id = options.base ? item[0] + options.base : item[0];\n    var count = idCountMap[id] || 0;\n    var identifier = \"\".concat(id, \" \").concat(count);\n    idCountMap[id] = count + 1;\n    var index = getIndexByIdentifier(identifier);\n    var obj = {\n      css: item[1],\n      media: item[2],\n      sourceMap: item[3]\n    };\n\n    if (index !== -1) {\n      stylesInDom[index].references++;\n      stylesInDom[index].updater(obj);\n    } else {\n      stylesInDom.push({\n        identifier: identifier,\n        updater: addStyle(obj, options),\n        references: 1\n      });\n    }\n\n    identifiers.push(identifier);\n  }\n\n  return identifiers;\n}\n\nfunction insertStyleElement(options) {\n  var style = document.createElement('style');\n  var attributes = options.attributes || {};\n\n  if (typeof attributes.nonce === 'undefined') {\n    var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n    if (nonce) {\n      attributes.nonce = nonce;\n    }\n  }\n\n  Object.keys(attributes).forEach(function (key) {\n    style.setAttribute(key, attributes[key]);\n  });\n\n  if (typeof options.insert === 'function') {\n    options.insert(style);\n  } else {\n    var target = getTarget(options.insert || 'head');\n\n    if (!target) {\n      throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n    }\n\n    target.appendChild(style);\n  }\n\n  return style;\n}\n\nfunction removeStyleElement(style) {\n  // istanbul ignore if\n  if (style.parentNode === null) {\n    return false;\n  }\n\n  style.parentNode.removeChild(style);\n}\n/* istanbul ignore next  */\n\n\nvar replaceText = function replaceText() {\n  var textStore = [];\n  return function replace(index, replacement) {\n    textStore[index] = replacement;\n    return textStore.filter(Boolean).join('\\n');\n  };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n  var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n  /* istanbul ignore if  */\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = replaceText(index, css);\n  } else {\n    var cssNode = document.createTextNode(css);\n    var childNodes = style.childNodes;\n\n    if (childNodes[index]) {\n      style.removeChild(childNodes[index]);\n    }\n\n    if (childNodes.length) {\n      style.insertBefore(cssNode, childNodes[index]);\n    } else {\n      style.appendChild(cssNode);\n    }\n  }\n}\n\nfunction applyToTag(style, options, obj) {\n  var css = obj.css;\n  var media = obj.media;\n  var sourceMap = obj.sourceMap;\n\n  if (media) {\n    style.setAttribute('media', media);\n  } else {\n    style.removeAttribute('media');\n  }\n\n  if (sourceMap && typeof btoa !== 'undefined') {\n    css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n  } // For old IE\n\n  /* istanbul ignore if  */\n\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    while (style.firstChild) {\n      style.removeChild(style.firstChild);\n    }\n\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n  var style;\n  var update;\n  var remove;\n\n  if (options.singleton) {\n    var styleIndex = singletonCounter++;\n    style = singleton || (singleton = insertStyleElement(options));\n    update = applyToSingletonTag.bind(null, style, styleIndex, false);\n    remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n  } else {\n    style = insertStyleElement(options);\n    update = applyToTag.bind(null, style, options);\n\n    remove = function remove() {\n      removeStyleElement(style);\n    };\n  }\n\n  update(obj);\n  return function updateStyle(newObj) {\n    if (newObj) {\n      if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n        return;\n      }\n\n      update(obj = newObj);\n    } else {\n      remove();\n    }\n  };\n}\n\nmodule.exports = function (list, options) {\n  options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n  // tags it will allow on a page\n\n  if (!options.singleton && typeof options.singleton !== 'boolean') {\n    options.singleton = isOldIE();\n  }\n\n  list = list || [];\n  var lastIdentifiers = modulesToDom(list, options);\n  return function update(newList) {\n    newList = newList || [];\n\n    if (Object.prototype.toString.call(newList) !== '[object Array]') {\n      return;\n    }\n\n    for (var i = 0; i < lastIdentifiers.length; i++) {\n      var identifier = lastIdentifiers[i];\n      var index = getIndexByIdentifier(identifier);\n      stylesInDom[index].references--;\n    }\n\n    var newLastIdentifiers = modulesToDom(newList, options);\n\n    for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n      var _identifier = lastIdentifiers[_i];\n\n      var _index = getIndexByIdentifier(_identifier);\n\n      if (stylesInDom[_index].references === 0) {\n        stylesInDom[_index].updater();\n\n        stylesInDom.splice(_index, 1);\n      }\n    }\n\n    lastIdentifiers = newLastIdentifiers;\n  };\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\r\n * Make a map and return a function for checking if a key\r\n * is in that map.\r\n * IMPORTANT: all calls of this function must be prefixed with\r\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\r\n * So that rollup can tree-shake them if necessary.\r\n */\r\nfunction makeMap(str, expectsLowerCase) {\r\n    const map = Object.create(null);\r\n    const list = str.split(',');\r\n    for (let i = 0; i < list.length; i++) {\r\n        map[list[i]] = true;\r\n    }\r\n    return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\r\n}\n\n/**\r\n * dev only flag -> name mapping\r\n */\r\nconst PatchFlagNames = {\r\n    [1 /* TEXT */]: `TEXT`,\r\n    [2 /* CLASS */]: `CLASS`,\r\n    [4 /* STYLE */]: `STYLE`,\r\n    [8 /* PROPS */]: `PROPS`,\r\n    [16 /* FULL_PROPS */]: `FULL_PROPS`,\r\n    [32 /* HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\r\n    [64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\r\n    [128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\r\n    [256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\r\n    [512 /* NEED_PATCH */]: `NEED_PATCH`,\r\n    [1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\r\n    [2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\r\n    [-1 /* HOISTED */]: `HOISTED`,\r\n    [-2 /* BAIL */]: `BAIL`\r\n};\n\n/**\r\n * Dev only\r\n */\r\nconst slotFlagsText = {\r\n    [1 /* STABLE */]: 'STABLE',\r\n    [2 /* DYNAMIC */]: 'DYNAMIC',\r\n    [3 /* FORWARDED */]: 'FORWARDED'\r\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\r\n    'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\r\n    'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\r\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\r\nfunction generateCodeFrame(source, start = 0, end = source.length) {\r\n    // Split the content into individual lines but capture the newline sequence\r\n    // that separated each line. This is important because the actual sequence is\r\n    // needed to properly take into account the full line length for offset\r\n    // comparison\r\n    let lines = source.split(/(\\r?\\n)/);\r\n    // Separate the lines and newline sequences into separate arrays for easier referencing\r\n    const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\r\n    lines = lines.filter((_, idx) => idx % 2 === 0);\r\n    let count = 0;\r\n    const res = [];\r\n    for (let i = 0; i < lines.length; i++) {\r\n        count +=\r\n            lines[i].length +\r\n                ((newlineSequences[i] && newlineSequences[i].length) || 0);\r\n        if (count >= start) {\r\n            for (let j = i - range; j <= i + range || end > count; j++) {\r\n                if (j < 0 || j >= lines.length)\r\n                    continue;\r\n                const line = j + 1;\r\n                res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`);\r\n                const lineLength = lines[j].length;\r\n                const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\r\n                if (j === i) {\r\n                    // push underline\r\n                    const pad = start - (count - (lineLength + newLineSeqLength));\r\n                    const length = Math.max(1, end > count ? lineLength - pad : end - start);\r\n                    res.push(`   |  ` + ' '.repeat(pad) + '^'.repeat(length));\r\n                }\r\n                else if (j > i) {\r\n                    if (end > count) {\r\n                        const length = Math.max(Math.min(end - count, lineLength), 1);\r\n                        res.push(`   |  ` + '^'.repeat(length));\r\n                    }\r\n                    count += lineLength + newLineSeqLength;\r\n                }\r\n            }\r\n            break;\r\n        }\r\n    }\r\n    return res.join('\\n');\r\n}\n\n/**\r\n * On the client we only need to offer special cases for boolean attributes that\r\n * have different names from their corresponding dom properties:\r\n * - itemscope -> N/A\r\n * - allowfullscreen -> allowFullscreen\r\n * - formnovalidate -> formNoValidate\r\n * - ismap -> isMap\r\n * - nomodule -> noModule\r\n * - novalidate -> noValidate\r\n * - readonly -> readOnly\r\n */\r\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\r\nconst isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);\r\n/**\r\n * The full list is needed during SSR to produce the correct initial markup.\r\n */\r\nconst isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +\r\n    `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +\r\n    `loop,open,required,reversed,scoped,seamless,` +\r\n    `checked,muted,multiple,selected`);\r\n/**\r\n * Boolean attributes should be included if the value is truthy or ''.\r\n * e.g. <select multiple> compiles to { multiple: '' }\r\n */\r\nfunction includeBooleanAttr(value) {\r\n    return !!value || value === '';\r\n}\r\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\r\nconst attrValidationCache = {};\r\nfunction isSSRSafeAttrName(name) {\r\n    if (attrValidationCache.hasOwnProperty(name)) {\r\n        return attrValidationCache[name];\r\n    }\r\n    const isUnsafe = unsafeAttrCharRE.test(name);\r\n    if (isUnsafe) {\r\n        console.error(`unsafe attribute name: ${name}`);\r\n    }\r\n    return (attrValidationCache[name] = !isUnsafe);\r\n}\r\nconst propsToAttrMap = {\r\n    acceptCharset: 'accept-charset',\r\n    className: 'class',\r\n    htmlFor: 'for',\r\n    httpEquiv: 'http-equiv'\r\n};\r\n/**\r\n * CSS properties that accept plain numbers\r\n */\r\nconst isNoUnitNumericStyleProp = /*#__PURE__*/ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,` +\r\n    `border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,` +\r\n    `columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,` +\r\n    `grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,` +\r\n    `grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,` +\r\n    `line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,` +\r\n    // SVG\r\n    `fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,` +\r\n    `stroke-miterlimit,stroke-opacity,stroke-width`);\r\n/**\r\n * Known attributes, this is used for stringification of runtime static nodes\r\n * so that we don't stringify bindings that cannot be set from HTML.\r\n * Don't also forget to allow `data-*` and `aria-*`!\r\n * Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes\r\n */\r\nconst isKnownHtmlAttr = /*#__PURE__*/ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,` +\r\n    `autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +\r\n    `border,buffered,capture,challenge,charset,checked,cite,class,code,` +\r\n    `codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,` +\r\n    `coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +\r\n    `disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +\r\n    `formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +\r\n    `height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +\r\n    `ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +\r\n    `manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +\r\n    `open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +\r\n    `referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,` +\r\n    `selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,` +\r\n    `start,step,style,summary,tabindex,target,title,translate,type,usemap,` +\r\n    `value,width,wrap`);\r\n/**\r\n * Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute\r\n */\r\nconst isKnownSvgAttr = /*#__PURE__*/ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +\r\n    `arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +\r\n    `baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +\r\n    `clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,` +\r\n    `color-interpolation-filters,color-profile,color-rendering,` +\r\n    `contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,` +\r\n    `descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,` +\r\n    `dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,` +\r\n    `fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,` +\r\n    `font-family,font-size,font-size-adjust,font-stretch,font-style,` +\r\n    `font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,` +\r\n    `glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,` +\r\n    `gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,` +\r\n    `horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,` +\r\n    `k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,` +\r\n    `lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,` +\r\n    `marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,` +\r\n    `mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,` +\r\n    `name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,` +\r\n    `overflow,overline-position,overline-thickness,panose-1,paint-order,path,` +\r\n    `pathLength,patternContentUnits,patternTransform,patternUnits,ping,` +\r\n    `pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,` +\r\n    `preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,` +\r\n    `rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,` +\r\n    `restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,` +\r\n    `specularConstant,specularExponent,speed,spreadMethod,startOffset,` +\r\n    `stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,` +\r\n    `strikethrough-position,strikethrough-thickness,string,stroke,` +\r\n    `stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,` +\r\n    `stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,` +\r\n    `systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,` +\r\n    `text-decoration,text-rendering,textLength,to,transform,transform-origin,` +\r\n    `type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,` +\r\n    `unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,` +\r\n    `v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,` +\r\n    `vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,` +\r\n    `writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,` +\r\n    `xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,` +\r\n    `xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\n\nfunction normalizeStyle(value) {\r\n    if (isArray(value)) {\r\n        const res = {};\r\n        for (let i = 0; i < value.length; i++) {\r\n            const item = value[i];\r\n            const normalized = isString(item)\r\n                ? parseStringStyle(item)\r\n                : normalizeStyle(item);\r\n            if (normalized) {\r\n                for (const key in normalized) {\r\n                    res[key] = normalized[key];\r\n                }\r\n            }\r\n        }\r\n        return res;\r\n    }\r\n    else if (isString(value)) {\r\n        return value;\r\n    }\r\n    else if (isObject(value)) {\r\n        return value;\r\n    }\r\n}\r\nconst listDelimiterRE = /;(?![^(]*\\))/g;\r\nconst propertyDelimiterRE = /:(.+)/;\r\nfunction parseStringStyle(cssText) {\r\n    const ret = {};\r\n    cssText.split(listDelimiterRE).forEach(item => {\r\n        if (item) {\r\n            const tmp = item.split(propertyDelimiterRE);\r\n            tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\r\n        }\r\n    });\r\n    return ret;\r\n}\r\nfunction stringifyStyle(styles) {\r\n    let ret = '';\r\n    if (!styles || isString(styles)) {\r\n        return ret;\r\n    }\r\n    for (const key in styles) {\r\n        const value = styles[key];\r\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\r\n        if (isString(value) ||\r\n            (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) {\r\n            // only render valid values\r\n            ret += `${normalizedKey}:${value};`;\r\n        }\r\n    }\r\n    return ret;\r\n}\r\nfunction normalizeClass(value) {\r\n    let res = '';\r\n    if (isString(value)) {\r\n        res = value;\r\n    }\r\n    else if (isArray(value)) {\r\n        for (let i = 0; i < value.length; i++) {\r\n            const normalized = normalizeClass(value[i]);\r\n            if (normalized) {\r\n                res += normalized + ' ';\r\n            }\r\n        }\r\n    }\r\n    else if (isObject(value)) {\r\n        for (const name in value) {\r\n            if (value[name]) {\r\n                res += name + ' ';\r\n            }\r\n        }\r\n    }\r\n    return res.trim();\r\n}\r\nfunction normalizeProps(props) {\r\n    if (!props)\r\n        return null;\r\n    let { class: klass, style } = props;\r\n    if (klass && !isString(klass)) {\r\n        props.class = normalizeClass(klass);\r\n    }\r\n    if (style) {\r\n        props.style = normalizeStyle(style);\r\n    }\r\n    return props;\r\n}\n\n// These tag configs are shared between compiler-dom and runtime-dom, so they\r\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element\r\nconst HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +\r\n    'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +\r\n    'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +\r\n    'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +\r\n    'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +\r\n    'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +\r\n    'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +\r\n    'option,output,progress,select,textarea,details,dialog,menu,' +\r\n    'summary,template,blockquote,iframe,tfoot';\r\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element\r\nconst SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +\r\n    'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +\r\n    'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +\r\n    'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +\r\n    'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +\r\n    'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +\r\n    'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +\r\n    'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +\r\n    'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +\r\n    'text,textPath,title,tspan,unknown,use,view';\r\nconst VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';\r\nconst isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);\r\nconst isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);\r\nconst isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);\n\nconst escapeRE = /[\"'&<>]/;\r\nfunction escapeHtml(string) {\r\n    const str = '' + string;\r\n    const match = escapeRE.exec(str);\r\n    if (!match) {\r\n        return str;\r\n    }\r\n    let html = '';\r\n    let escaped;\r\n    let index;\r\n    let lastIndex = 0;\r\n    for (index = match.index; index < str.length; index++) {\r\n        switch (str.charCodeAt(index)) {\r\n            case 34: // \"\r\n                escaped = '&quot;';\r\n                break;\r\n            case 38: // &\r\n                escaped = '&amp;';\r\n                break;\r\n            case 39: // '\r\n                escaped = '&#39;';\r\n                break;\r\n            case 60: // <\r\n                escaped = '&lt;';\r\n                break;\r\n            case 62: // >\r\n                escaped = '&gt;';\r\n                break;\r\n            default:\r\n                continue;\r\n        }\r\n        if (lastIndex !== index) {\r\n            html += str.substring(lastIndex, index);\r\n        }\r\n        lastIndex = index + 1;\r\n        html += escaped;\r\n    }\r\n    return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\r\n}\r\n// https://www.w3.org/TR/html52/syntax.html#comments\r\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\r\nfunction escapeHtmlComment(src) {\r\n    return src.replace(commentStripRE, '');\r\n}\n\nfunction looseCompareArrays(a, b) {\r\n    if (a.length !== b.length)\r\n        return false;\r\n    let equal = true;\r\n    for (let i = 0; equal && i < a.length; i++) {\r\n        equal = looseEqual(a[i], b[i]);\r\n    }\r\n    return equal;\r\n}\r\nfunction looseEqual(a, b) {\r\n    if (a === b)\r\n        return true;\r\n    let aValidType = isDate(a);\r\n    let bValidType = isDate(b);\r\n    if (aValidType || bValidType) {\r\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\r\n    }\r\n    aValidType = isArray(a);\r\n    bValidType = isArray(b);\r\n    if (aValidType || bValidType) {\r\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\r\n    }\r\n    aValidType = isObject(a);\r\n    bValidType = isObject(b);\r\n    if (aValidType || bValidType) {\r\n        /* istanbul ignore if: this if will probably never be called */\r\n        if (!aValidType || !bValidType) {\r\n            return false;\r\n        }\r\n        const aKeysCount = Object.keys(a).length;\r\n        const bKeysCount = Object.keys(b).length;\r\n        if (aKeysCount !== bKeysCount) {\r\n            return false;\r\n        }\r\n        for (const key in a) {\r\n            const aHasKey = a.hasOwnProperty(key);\r\n            const bHasKey = b.hasOwnProperty(key);\r\n            if ((aHasKey && !bHasKey) ||\r\n                (!aHasKey && bHasKey) ||\r\n                !looseEqual(a[key], b[key])) {\r\n                return false;\r\n            }\r\n        }\r\n    }\r\n    return String(a) === String(b);\r\n}\r\nfunction looseIndexOf(arr, val) {\r\n    return arr.findIndex(item => looseEqual(item, val));\r\n}\n\n/**\r\n * For converting {{ interpolation }} values to displayed strings.\r\n * @private\r\n */\r\nconst toDisplayString = (val) => {\r\n    return val == null\r\n        ? ''\r\n        : isArray(val) ||\r\n            (isObject(val) &&\r\n                (val.toString === objectToString || !isFunction(val.toString)))\r\n            ? JSON.stringify(val, replacer, 2)\r\n            : String(val);\r\n};\r\nconst replacer = (_key, val) => {\r\n    // can't use isRef here since @vue/shared has no deps\r\n    if (val && val.__v_isRef) {\r\n        return replacer(_key, val.value);\r\n    }\r\n    else if (isMap(val)) {\r\n        return {\r\n            [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => {\r\n                entries[`${key} =>`] = val;\r\n                return entries;\r\n            }, {})\r\n        };\r\n    }\r\n    else if (isSet(val)) {\r\n        return {\r\n            [`Set(${val.size})`]: [...val.values()]\r\n        };\r\n    }\r\n    else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\r\n        return String(val);\r\n    }\r\n    return val;\r\n};\n\n/**\r\n * List of @babel/parser plugins that are used for template expression\r\n * transforms and SFC script transforms. By default we enable proposals slated\r\n * for ES2020. This will need to be updated as the spec moves forward.\r\n * Full list at https://babeljs.io/docs/en/next/babel-parser#plugins\r\n */\r\nconst babelParserDefaultPlugins = [\r\n    'bigInt',\r\n    'optionalChaining',\r\n    'nullishCoalescingOperator'\r\n];\r\nconst EMPTY_OBJ = (process.env.NODE_ENV !== 'production')\r\n    ? Object.freeze({})\r\n    : {};\r\nconst EMPTY_ARR = (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];\r\nconst NOOP = () => { };\r\n/**\r\n * Always return false.\r\n */\r\nconst NO = () => false;\r\nconst onRE = /^on[^a-z]/;\r\nconst isOn = (key) => onRE.test(key);\r\nconst isModelListener = (key) => key.startsWith('onUpdate:');\r\nconst extend = Object.assign;\r\nconst remove = (arr, el) => {\r\n    const i = arr.indexOf(el);\r\n    if (i > -1) {\r\n        arr.splice(i, 1);\r\n    }\r\n};\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\r\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\r\nconst isArray = Array.isArray;\r\nconst isMap = (val) => toTypeString(val) === '[object Map]';\r\nconst isSet = (val) => toTypeString(val) === '[object Set]';\r\nconst isDate = (val) => val instanceof Date;\r\nconst isFunction = (val) => typeof val === 'function';\r\nconst isString = (val) => typeof val === 'string';\r\nconst isSymbol = (val) => typeof val === 'symbol';\r\nconst isObject = (val) => val !== null && typeof val === 'object';\r\nconst isPromise = (val) => {\r\n    return isObject(val) && isFunction(val.then) && isFunction(val.catch);\r\n};\r\nconst objectToString = Object.prototype.toString;\r\nconst toTypeString = (value) => objectToString.call(value);\r\nconst toRawType = (value) => {\r\n    // extract \"RawType\" from strings like \"[object RawType]\"\r\n    return toTypeString(value).slice(8, -1);\r\n};\r\nconst isPlainObject = (val) => toTypeString(val) === '[object Object]';\r\nconst isIntegerKey = (key) => isString(key) &&\r\n    key !== 'NaN' &&\r\n    key[0] !== '-' &&\r\n    '' + parseInt(key, 10) === key;\r\nconst isReservedProp = /*#__PURE__*/ makeMap(\r\n// the leading comma is intentional so empty string \"\" is also included\r\n',key,ref,' +\r\n    'onVnodeBeforeMount,onVnodeMounted,' +\r\n    'onVnodeBeforeUpdate,onVnodeUpdated,' +\r\n    'onVnodeBeforeUnmount,onVnodeUnmounted');\r\nconst cacheStringFunction = (fn) => {\r\n    const cache = Object.create(null);\r\n    return ((str) => {\r\n        const hit = cache[str];\r\n        return hit || (cache[str] = fn(str));\r\n    });\r\n};\r\nconst camelizeRE = /-(\\w)/g;\r\n/**\r\n * @private\r\n */\r\nconst camelize = cacheStringFunction((str) => {\r\n    return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));\r\n});\r\nconst hyphenateRE = /\\B([A-Z])/g;\r\n/**\r\n * @private\r\n */\r\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());\r\n/**\r\n * @private\r\n */\r\nconst capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));\r\n/**\r\n * @private\r\n */\r\nconst toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);\r\n// compare whether a value has changed, accounting for NaN.\r\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\r\nconst invokeArrayFns = (fns, arg) => {\r\n    for (let i = 0; i < fns.length; i++) {\r\n        fns[i](arg);\r\n    }\r\n};\r\nconst def = (obj, key, value) => {\r\n    Object.defineProperty(obj, key, {\r\n        configurable: true,\r\n        enumerable: false,\r\n        value\r\n    });\r\n};\r\nconst toNumber = (val) => {\r\n    const n = parseFloat(val);\r\n    return isNaN(n) ? val : n;\r\n};\r\nlet _globalThis;\r\nconst getGlobalThis = () => {\r\n    return (_globalThis ||\r\n        (_globalThis =\r\n            typeof globalThis !== 'undefined'\r\n                ? globalThis\r\n                : typeof self !== 'undefined'\r\n                    ? self\r\n                    : typeof window !== 'undefined'\r\n                        ? window\r\n                        : typeof global !== 'undefined'\r\n                            ? global\r\n                            : {}));\r\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, babelParserDefaultPlugins, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isModelListener, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","import { extend, isArray, isMap, isIntegerKey, isSymbol, hasOwn, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\r\n    console.warn(`[Vue warn] ${msg}`, ...args);\r\n}\n\nlet activeEffectScope;\r\nconst effectScopeStack = [];\r\nclass EffectScope {\r\n    constructor(detached = false) {\r\n        this.active = true;\r\n        this.effects = [];\r\n        this.cleanups = [];\r\n        if (!detached && activeEffectScope) {\r\n            this.parent = activeEffectScope;\r\n            this.index =\r\n                (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\r\n        }\r\n    }\r\n    run(fn) {\r\n        if (this.active) {\r\n            try {\r\n                this.on();\r\n                return fn();\r\n            }\r\n            finally {\r\n                this.off();\r\n            }\r\n        }\r\n        else if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`cannot run an inactive effect scope.`);\r\n        }\r\n    }\r\n    on() {\r\n        if (this.active) {\r\n            effectScopeStack.push(this);\r\n            activeEffectScope = this;\r\n        }\r\n    }\r\n    off() {\r\n        if (this.active) {\r\n            effectScopeStack.pop();\r\n            activeEffectScope = effectScopeStack[effectScopeStack.length - 1];\r\n        }\r\n    }\r\n    stop(fromParent) {\r\n        if (this.active) {\r\n            this.effects.forEach(e => e.stop());\r\n            this.cleanups.forEach(cleanup => cleanup());\r\n            if (this.scopes) {\r\n                this.scopes.forEach(e => e.stop(true));\r\n            }\r\n            // nested scope, dereference from parent to avoid memory leaks\r\n            if (this.parent && !fromParent) {\r\n                // optimized O(1) removal\r\n                const last = this.parent.scopes.pop();\r\n                if (last && last !== this) {\r\n                    this.parent.scopes[this.index] = last;\r\n                    last.index = this.index;\r\n                }\r\n            }\r\n            this.active = false;\r\n        }\r\n    }\r\n}\r\nfunction effectScope(detached) {\r\n    return new EffectScope(detached);\r\n}\r\nfunction recordEffectScope(effect, scope) {\r\n    scope = scope || activeEffectScope;\r\n    if (scope && scope.active) {\r\n        scope.effects.push(effect);\r\n    }\r\n}\r\nfunction getCurrentScope() {\r\n    return activeEffectScope;\r\n}\r\nfunction onScopeDispose(fn) {\r\n    if (activeEffectScope) {\r\n        activeEffectScope.cleanups.push(fn);\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn(`onScopeDispose() is called when there is no active effect scope` +\r\n            ` to be associated with.`);\r\n    }\r\n}\n\nconst createDep = (effects) => {\r\n    const dep = new Set(effects);\r\n    dep.w = 0;\r\n    dep.n = 0;\r\n    return dep;\r\n};\r\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\r\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\r\nconst initDepMarkers = ({ deps }) => {\r\n    if (deps.length) {\r\n        for (let i = 0; i < deps.length; i++) {\r\n            deps[i].w |= trackOpBit; // set was tracked\r\n        }\r\n    }\r\n};\r\nconst finalizeDepMarkers = (effect) => {\r\n    const { deps } = effect;\r\n    if (deps.length) {\r\n        let ptr = 0;\r\n        for (let i = 0; i < deps.length; i++) {\r\n            const dep = deps[i];\r\n            if (wasTracked(dep) && !newTracked(dep)) {\r\n                dep.delete(effect);\r\n            }\r\n            else {\r\n                deps[ptr++] = dep;\r\n            }\r\n            // clear bits\r\n            dep.w &= ~trackOpBit;\r\n            dep.n &= ~trackOpBit;\r\n        }\r\n        deps.length = ptr;\r\n    }\r\n};\n\nconst targetMap = new WeakMap();\r\n// The number of effects currently being tracked recursively.\r\nlet effectTrackDepth = 0;\r\nlet trackOpBit = 1;\r\n/**\r\n * The bitwise track markers support at most 30 levels op recursion.\r\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\r\n * When recursion depth is greater, fall back to using a full cleanup.\r\n */\r\nconst maxMarkerBits = 30;\r\nconst effectStack = [];\r\nlet activeEffect;\r\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\r\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\r\nclass ReactiveEffect {\r\n    constructor(fn, scheduler = null, scope) {\r\n        this.fn = fn;\r\n        this.scheduler = scheduler;\r\n        this.active = true;\r\n        this.deps = [];\r\n        recordEffectScope(this, scope);\r\n    }\r\n    run() {\r\n        if (!this.active) {\r\n            return this.fn();\r\n        }\r\n        if (!effectStack.includes(this)) {\r\n            try {\r\n                effectStack.push((activeEffect = this));\r\n                enableTracking();\r\n                trackOpBit = 1 << ++effectTrackDepth;\r\n                if (effectTrackDepth <= maxMarkerBits) {\r\n                    initDepMarkers(this);\r\n                }\r\n                else {\r\n                    cleanupEffect(this);\r\n                }\r\n                return this.fn();\r\n            }\r\n            finally {\r\n                if (effectTrackDepth <= maxMarkerBits) {\r\n                    finalizeDepMarkers(this);\r\n                }\r\n                trackOpBit = 1 << --effectTrackDepth;\r\n                resetTracking();\r\n                effectStack.pop();\r\n                const n = effectStack.length;\r\n                activeEffect = n > 0 ? effectStack[n - 1] : undefined;\r\n            }\r\n        }\r\n    }\r\n    stop() {\r\n        if (this.active) {\r\n            cleanupEffect(this);\r\n            if (this.onStop) {\r\n                this.onStop();\r\n            }\r\n            this.active = false;\r\n        }\r\n    }\r\n}\r\nfunction cleanupEffect(effect) {\r\n    const { deps } = effect;\r\n    if (deps.length) {\r\n        for (let i = 0; i < deps.length; i++) {\r\n            deps[i].delete(effect);\r\n        }\r\n        deps.length = 0;\r\n    }\r\n}\r\nfunction effect(fn, options) {\r\n    if (fn.effect) {\r\n        fn = fn.effect.fn;\r\n    }\r\n    const _effect = new ReactiveEffect(fn);\r\n    if (options) {\r\n        extend(_effect, options);\r\n        if (options.scope)\r\n            recordEffectScope(_effect, options.scope);\r\n    }\r\n    if (!options || !options.lazy) {\r\n        _effect.run();\r\n    }\r\n    const runner = _effect.run.bind(_effect);\r\n    runner.effect = _effect;\r\n    return runner;\r\n}\r\nfunction stop(runner) {\r\n    runner.effect.stop();\r\n}\r\nlet shouldTrack = true;\r\nconst trackStack = [];\r\nfunction pauseTracking() {\r\n    trackStack.push(shouldTrack);\r\n    shouldTrack = false;\r\n}\r\nfunction enableTracking() {\r\n    trackStack.push(shouldTrack);\r\n    shouldTrack = true;\r\n}\r\nfunction resetTracking() {\r\n    const last = trackStack.pop();\r\n    shouldTrack = last === undefined ? true : last;\r\n}\r\nfunction track(target, type, key) {\r\n    if (!isTracking()) {\r\n        return;\r\n    }\r\n    let depsMap = targetMap.get(target);\r\n    if (!depsMap) {\r\n        targetMap.set(target, (depsMap = new Map()));\r\n    }\r\n    let dep = depsMap.get(key);\r\n    if (!dep) {\r\n        depsMap.set(key, (dep = createDep()));\r\n    }\r\n    const eventInfo = (process.env.NODE_ENV !== 'production')\r\n        ? { effect: activeEffect, target, type, key }\r\n        : undefined;\r\n    trackEffects(dep, eventInfo);\r\n}\r\nfunction isTracking() {\r\n    return shouldTrack && activeEffect !== undefined;\r\n}\r\nfunction trackEffects(dep, debuggerEventExtraInfo) {\r\n    let shouldTrack = false;\r\n    if (effectTrackDepth <= maxMarkerBits) {\r\n        if (!newTracked(dep)) {\r\n            dep.n |= trackOpBit; // set newly tracked\r\n            shouldTrack = !wasTracked(dep);\r\n        }\r\n    }\r\n    else {\r\n        // Full cleanup mode.\r\n        shouldTrack = !dep.has(activeEffect);\r\n    }\r\n    if (shouldTrack) {\r\n        dep.add(activeEffect);\r\n        activeEffect.deps.push(dep);\r\n        if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\r\n            activeEffect.onTrack(Object.assign({\r\n                effect: activeEffect\r\n            }, debuggerEventExtraInfo));\r\n        }\r\n    }\r\n}\r\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\r\n    const depsMap = targetMap.get(target);\r\n    if (!depsMap) {\r\n        // never been tracked\r\n        return;\r\n    }\r\n    let deps = [];\r\n    if (type === \"clear\" /* CLEAR */) {\r\n        // collection being cleared\r\n        // trigger all effects for target\r\n        deps = [...depsMap.values()];\r\n    }\r\n    else if (key === 'length' && isArray(target)) {\r\n        depsMap.forEach((dep, key) => {\r\n            if (key === 'length' || key >= newValue) {\r\n                deps.push(dep);\r\n            }\r\n        });\r\n    }\r\n    else {\r\n        // schedule runs for SET | ADD | DELETE\r\n        if (key !== void 0) {\r\n            deps.push(depsMap.get(key));\r\n        }\r\n        // also run for iteration key on ADD | DELETE | Map.SET\r\n        switch (type) {\r\n            case \"add\" /* ADD */:\r\n                if (!isArray(target)) {\r\n                    deps.push(depsMap.get(ITERATE_KEY));\r\n                    if (isMap(target)) {\r\n                        deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n                    }\r\n                }\r\n                else if (isIntegerKey(key)) {\r\n                    // new index added to array -> length changes\r\n                    deps.push(depsMap.get('length'));\r\n                }\r\n                break;\r\n            case \"delete\" /* DELETE */:\r\n                if (!isArray(target)) {\r\n                    deps.push(depsMap.get(ITERATE_KEY));\r\n                    if (isMap(target)) {\r\n                        deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n                    }\r\n                }\r\n                break;\r\n            case \"set\" /* SET */:\r\n                if (isMap(target)) {\r\n                    deps.push(depsMap.get(ITERATE_KEY));\r\n                }\r\n                break;\r\n        }\r\n    }\r\n    const eventInfo = (process.env.NODE_ENV !== 'production')\r\n        ? { target, type, key, newValue, oldValue, oldTarget }\r\n        : undefined;\r\n    if (deps.length === 1) {\r\n        if (deps[0]) {\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                triggerEffects(deps[0], eventInfo);\r\n            }\r\n            else {\r\n                triggerEffects(deps[0]);\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        const effects = [];\r\n        for (const dep of deps) {\r\n            if (dep) {\r\n                effects.push(...dep);\r\n            }\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            triggerEffects(createDep(effects), eventInfo);\r\n        }\r\n        else {\r\n            triggerEffects(createDep(effects));\r\n        }\r\n    }\r\n}\r\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\r\n    // spread into array for stabilization\r\n    for (const effect of isArray(dep) ? dep : [...dep]) {\r\n        if (effect !== activeEffect || effect.allowRecurse) {\r\n            if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\r\n                effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\r\n            }\r\n            if (effect.scheduler) {\r\n                effect.scheduler();\r\n            }\r\n            else {\r\n                effect.run();\r\n            }\r\n        }\r\n    }\r\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\r\nconst builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol)\r\n    .map(key => Symbol[key])\r\n    .filter(isSymbol));\r\nconst get = /*#__PURE__*/ createGetter();\r\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\r\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\r\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\r\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\r\nfunction createArrayInstrumentations() {\r\n    const instrumentations = {};\r\n    ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\r\n        instrumentations[key] = function (...args) {\r\n            const arr = toRaw(this);\r\n            for (let i = 0, l = this.length; i < l; i++) {\r\n                track(arr, \"get\" /* GET */, i + '');\r\n            }\r\n            // we run the method using the original args first (which may be reactive)\r\n            const res = arr[key](...args);\r\n            if (res === -1 || res === false) {\r\n                // if that didn't work, run it again using raw values.\r\n                return arr[key](...args.map(toRaw));\r\n            }\r\n            else {\r\n                return res;\r\n            }\r\n        };\r\n    });\r\n    ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\r\n        instrumentations[key] = function (...args) {\r\n            pauseTracking();\r\n            const res = toRaw(this)[key].apply(this, args);\r\n            resetTracking();\r\n            return res;\r\n        };\r\n    });\r\n    return instrumentations;\r\n}\r\nfunction createGetter(isReadonly = false, shallow = false) {\r\n    return function get(target, key, receiver) {\r\n        if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n            return !isReadonly;\r\n        }\r\n        else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n            return isReadonly;\r\n        }\r\n        else if (key === \"__v_raw\" /* RAW */ &&\r\n            receiver ===\r\n                (isReadonly\r\n                    ? shallow\r\n                        ? shallowReadonlyMap\r\n                        : readonlyMap\r\n                    : shallow\r\n                        ? shallowReactiveMap\r\n                        : reactiveMap).get(target)) {\r\n            return target;\r\n        }\r\n        const targetIsArray = isArray(target);\r\n        if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\r\n            return Reflect.get(arrayInstrumentations, key, receiver);\r\n        }\r\n        const res = Reflect.get(target, key, receiver);\r\n        if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\r\n            return res;\r\n        }\r\n        if (!isReadonly) {\r\n            track(target, \"get\" /* GET */, key);\r\n        }\r\n        if (shallow) {\r\n            return res;\r\n        }\r\n        if (isRef(res)) {\r\n            // ref unwrapping - does not apply for Array + integer key.\r\n            const shouldUnwrap = !targetIsArray || !isIntegerKey(key);\r\n            return shouldUnwrap ? res.value : res;\r\n        }\r\n        if (isObject(res)) {\r\n            // Convert returned value into a proxy as well. we do the isObject check\r\n            // here to avoid invalid value warning. Also need to lazy access readonly\r\n            // and reactive here to avoid circular dependency.\r\n            return isReadonly ? readonly(res) : reactive(res);\r\n        }\r\n        return res;\r\n    };\r\n}\r\nconst set = /*#__PURE__*/ createSetter();\r\nconst shallowSet = /*#__PURE__*/ createSetter(true);\r\nfunction createSetter(shallow = false) {\r\n    return function set(target, key, value, receiver) {\r\n        let oldValue = target[key];\r\n        if (!shallow) {\r\n            value = toRaw(value);\r\n            oldValue = toRaw(oldValue);\r\n            if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\r\n                oldValue.value = value;\r\n                return true;\r\n            }\r\n        }\r\n        const hadKey = isArray(target) && isIntegerKey(key)\r\n            ? Number(key) < target.length\r\n            : hasOwn(target, key);\r\n        const result = Reflect.set(target, key, value, receiver);\r\n        // don't trigger if target is something up in the prototype chain of original\r\n        if (target === toRaw(receiver)) {\r\n            if (!hadKey) {\r\n                trigger(target, \"add\" /* ADD */, key, value);\r\n            }\r\n            else if (hasChanged(value, oldValue)) {\r\n                trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n            }\r\n        }\r\n        return result;\r\n    };\r\n}\r\nfunction deleteProperty(target, key) {\r\n    const hadKey = hasOwn(target, key);\r\n    const oldValue = target[key];\r\n    const result = Reflect.deleteProperty(target, key);\r\n    if (result && hadKey) {\r\n        trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n    }\r\n    return result;\r\n}\r\nfunction has(target, key) {\r\n    const result = Reflect.has(target, key);\r\n    if (!isSymbol(key) || !builtInSymbols.has(key)) {\r\n        track(target, \"has\" /* HAS */, key);\r\n    }\r\n    return result;\r\n}\r\nfunction ownKeys(target) {\r\n    track(target, \"iterate\" /* ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\r\n    return Reflect.ownKeys(target);\r\n}\r\nconst mutableHandlers = {\r\n    get,\r\n    set,\r\n    deleteProperty,\r\n    has,\r\n    ownKeys\r\n};\r\nconst readonlyHandlers = {\r\n    get: readonlyGet,\r\n    set(target, key) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            console.warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n        }\r\n        return true;\r\n    },\r\n    deleteProperty(target, key) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            console.warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n        }\r\n        return true;\r\n    }\r\n};\r\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\r\n    get: shallowGet,\r\n    set: shallowSet\r\n});\r\n// Props handlers are special in the sense that it should not unwrap top-level\r\n// refs (in order to allow refs to be explicitly passed down), but should\r\n// retain the reactivity of the normal readonly object.\r\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\r\n    get: shallowReadonlyGet\r\n});\n\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\r\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\r\nconst toShallow = (value) => value;\r\nconst getProto = (v) => Reflect.getPrototypeOf(v);\r\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\r\n    // #1772: readonly(reactive(Map)) should return readonly + reactive version\r\n    // of the value\r\n    target = target[\"__v_raw\" /* RAW */];\r\n    const rawTarget = toRaw(target);\r\n    const rawKey = toRaw(key);\r\n    if (key !== rawKey) {\r\n        !isReadonly && track(rawTarget, \"get\" /* GET */, key);\r\n    }\r\n    !isReadonly && track(rawTarget, \"get\" /* GET */, rawKey);\r\n    const { has } = getProto(rawTarget);\r\n    const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n    if (has.call(rawTarget, key)) {\r\n        return wrap(target.get(key));\r\n    }\r\n    else if (has.call(rawTarget, rawKey)) {\r\n        return wrap(target.get(rawKey));\r\n    }\r\n    else if (target !== rawTarget) {\r\n        // #3602 readonly(reactive(Map))\r\n        // ensure that the nested reactive `Map` can do tracking for itself\r\n        target.get(key);\r\n    }\r\n}\r\nfunction has$1(key, isReadonly = false) {\r\n    const target = this[\"__v_raw\" /* RAW */];\r\n    const rawTarget = toRaw(target);\r\n    const rawKey = toRaw(key);\r\n    if (key !== rawKey) {\r\n        !isReadonly && track(rawTarget, \"has\" /* HAS */, key);\r\n    }\r\n    !isReadonly && track(rawTarget, \"has\" /* HAS */, rawKey);\r\n    return key === rawKey\r\n        ? target.has(key)\r\n        : target.has(key) || target.has(rawKey);\r\n}\r\nfunction size(target, isReadonly = false) {\r\n    target = target[\"__v_raw\" /* RAW */];\r\n    !isReadonly && track(toRaw(target), \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n    return Reflect.get(target, 'size', target);\r\n}\r\nfunction add(value) {\r\n    value = toRaw(value);\r\n    const target = toRaw(this);\r\n    const proto = getProto(target);\r\n    const hadKey = proto.has.call(target, value);\r\n    if (!hadKey) {\r\n        target.add(value);\r\n        trigger(target, \"add\" /* ADD */, value, value);\r\n    }\r\n    return this;\r\n}\r\nfunction set$1(key, value) {\r\n    value = toRaw(value);\r\n    const target = toRaw(this);\r\n    const { has, get } = getProto(target);\r\n    let hadKey = has.call(target, key);\r\n    if (!hadKey) {\r\n        key = toRaw(key);\r\n        hadKey = has.call(target, key);\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        checkIdentityKeys(target, has, key);\r\n    }\r\n    const oldValue = get.call(target, key);\r\n    target.set(key, value);\r\n    if (!hadKey) {\r\n        trigger(target, \"add\" /* ADD */, key, value);\r\n    }\r\n    else if (hasChanged(value, oldValue)) {\r\n        trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n    }\r\n    return this;\r\n}\r\nfunction deleteEntry(key) {\r\n    const target = toRaw(this);\r\n    const { has, get } = getProto(target);\r\n    let hadKey = has.call(target, key);\r\n    if (!hadKey) {\r\n        key = toRaw(key);\r\n        hadKey = has.call(target, key);\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        checkIdentityKeys(target, has, key);\r\n    }\r\n    const oldValue = get ? get.call(target, key) : undefined;\r\n    // forward the operation before queueing reactions\r\n    const result = target.delete(key);\r\n    if (hadKey) {\r\n        trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n    }\r\n    return result;\r\n}\r\nfunction clear() {\r\n    const target = toRaw(this);\r\n    const hadItems = target.size !== 0;\r\n    const oldTarget = (process.env.NODE_ENV !== 'production')\r\n        ? isMap(target)\r\n            ? new Map(target)\r\n            : new Set(target)\r\n        : undefined;\r\n    // forward the operation before queueing reactions\r\n    const result = target.clear();\r\n    if (hadItems) {\r\n        trigger(target, \"clear\" /* CLEAR */, undefined, undefined, oldTarget);\r\n    }\r\n    return result;\r\n}\r\nfunction createForEach(isReadonly, isShallow) {\r\n    return function forEach(callback, thisArg) {\r\n        const observed = this;\r\n        const target = observed[\"__v_raw\" /* RAW */];\r\n        const rawTarget = toRaw(target);\r\n        const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n        !isReadonly && track(rawTarget, \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n        return target.forEach((value, key) => {\r\n            // important: make sure the callback is\r\n            // 1. invoked with the reactive map as `this` and 3rd arg\r\n            // 2. the value received should be a corresponding reactive/readonly.\r\n            return callback.call(thisArg, wrap(value), wrap(key), observed);\r\n        });\r\n    };\r\n}\r\nfunction createIterableMethod(method, isReadonly, isShallow) {\r\n    return function (...args) {\r\n        const target = this[\"__v_raw\" /* RAW */];\r\n        const rawTarget = toRaw(target);\r\n        const targetIsMap = isMap(rawTarget);\r\n        const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\r\n        const isKeyOnly = method === 'keys' && targetIsMap;\r\n        const innerIterator = target[method](...args);\r\n        const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n        !isReadonly &&\r\n            track(rawTarget, \"iterate\" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\r\n        // return a wrapped iterator which returns observed versions of the\r\n        // values emitted from the real iterator\r\n        return {\r\n            // iterator protocol\r\n            next() {\r\n                const { value, done } = innerIterator.next();\r\n                return done\r\n                    ? { value, done }\r\n                    : {\r\n                        value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\r\n                        done\r\n                    };\r\n            },\r\n            // iterable protocol\r\n            [Symbol.iterator]() {\r\n                return this;\r\n            }\r\n        };\r\n    };\r\n}\r\nfunction createReadonlyMethod(type) {\r\n    return function (...args) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            const key = args[0] ? `on key \"${args[0]}\" ` : ``;\r\n            console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\r\n        }\r\n        return type === \"delete\" /* DELETE */ ? false : this;\r\n    };\r\n}\r\nfunction createInstrumentations() {\r\n    const mutableInstrumentations = {\r\n        get(key) {\r\n            return get$1(this, key);\r\n        },\r\n        get size() {\r\n            return size(this);\r\n        },\r\n        has: has$1,\r\n        add,\r\n        set: set$1,\r\n        delete: deleteEntry,\r\n        clear,\r\n        forEach: createForEach(false, false)\r\n    };\r\n    const shallowInstrumentations = {\r\n        get(key) {\r\n            return get$1(this, key, false, true);\r\n        },\r\n        get size() {\r\n            return size(this);\r\n        },\r\n        has: has$1,\r\n        add,\r\n        set: set$1,\r\n        delete: deleteEntry,\r\n        clear,\r\n        forEach: createForEach(false, true)\r\n    };\r\n    const readonlyInstrumentations = {\r\n        get(key) {\r\n            return get$1(this, key, true);\r\n        },\r\n        get size() {\r\n            return size(this, true);\r\n        },\r\n        has(key) {\r\n            return has$1.call(this, key, true);\r\n        },\r\n        add: createReadonlyMethod(\"add\" /* ADD */),\r\n        set: createReadonlyMethod(\"set\" /* SET */),\r\n        delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n        clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n        forEach: createForEach(true, false)\r\n    };\r\n    const shallowReadonlyInstrumentations = {\r\n        get(key) {\r\n            return get$1(this, key, true, true);\r\n        },\r\n        get size() {\r\n            return size(this, true);\r\n        },\r\n        has(key) {\r\n            return has$1.call(this, key, true);\r\n        },\r\n        add: createReadonlyMethod(\"add\" /* ADD */),\r\n        set: createReadonlyMethod(\"set\" /* SET */),\r\n        delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n        clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n        forEach: createForEach(true, true)\r\n    };\r\n    const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\r\n    iteratorMethods.forEach(method => {\r\n        mutableInstrumentations[method] = createIterableMethod(method, false, false);\r\n        readonlyInstrumentations[method] = createIterableMethod(method, true, false);\r\n        shallowInstrumentations[method] = createIterableMethod(method, false, true);\r\n        shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\r\n    });\r\n    return [\r\n        mutableInstrumentations,\r\n        readonlyInstrumentations,\r\n        shallowInstrumentations,\r\n        shallowReadonlyInstrumentations\r\n    ];\r\n}\r\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\r\nfunction createInstrumentationGetter(isReadonly, shallow) {\r\n    const instrumentations = shallow\r\n        ? isReadonly\r\n            ? shallowReadonlyInstrumentations\r\n            : shallowInstrumentations\r\n        : isReadonly\r\n            ? readonlyInstrumentations\r\n            : mutableInstrumentations;\r\n    return (target, key, receiver) => {\r\n        if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n            return !isReadonly;\r\n        }\r\n        else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n            return isReadonly;\r\n        }\r\n        else if (key === \"__v_raw\" /* RAW */) {\r\n            return target;\r\n        }\r\n        return Reflect.get(hasOwn(instrumentations, key) && key in target\r\n            ? instrumentations\r\n            : target, key, receiver);\r\n    };\r\n}\r\nconst mutableCollectionHandlers = {\r\n    get: /*#__PURE__*/ createInstrumentationGetter(false, false)\r\n};\r\nconst shallowCollectionHandlers = {\r\n    get: /*#__PURE__*/ createInstrumentationGetter(false, true)\r\n};\r\nconst readonlyCollectionHandlers = {\r\n    get: /*#__PURE__*/ createInstrumentationGetter(true, false)\r\n};\r\nconst shallowReadonlyCollectionHandlers = {\r\n    get: /*#__PURE__*/ createInstrumentationGetter(true, true)\r\n};\r\nfunction checkIdentityKeys(target, has, key) {\r\n    const rawKey = toRaw(key);\r\n    if (rawKey !== key && has.call(target, rawKey)) {\r\n        const type = toRawType(target);\r\n        console.warn(`Reactive ${type} contains both the raw and reactive ` +\r\n            `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\r\n            `which can lead to inconsistencies. ` +\r\n            `Avoid differentiating between the raw and reactive versions ` +\r\n            `of an object and only use the reactive version if possible.`);\r\n    }\r\n}\n\nconst reactiveMap = new WeakMap();\r\nconst shallowReactiveMap = new WeakMap();\r\nconst readonlyMap = new WeakMap();\r\nconst shallowReadonlyMap = new WeakMap();\r\nfunction targetTypeMap(rawType) {\r\n    switch (rawType) {\r\n        case 'Object':\r\n        case 'Array':\r\n            return 1 /* COMMON */;\r\n        case 'Map':\r\n        case 'Set':\r\n        case 'WeakMap':\r\n        case 'WeakSet':\r\n            return 2 /* COLLECTION */;\r\n        default:\r\n            return 0 /* INVALID */;\r\n    }\r\n}\r\nfunction getTargetType(value) {\r\n    return value[\"__v_skip\" /* SKIP */] || !Object.isExtensible(value)\r\n        ? 0 /* INVALID */\r\n        : targetTypeMap(toRawType(value));\r\n}\r\nfunction reactive(target) {\r\n    // if trying to observe a readonly proxy, return the readonly version.\r\n    if (target && target[\"__v_isReadonly\" /* IS_READONLY */]) {\r\n        return target;\r\n    }\r\n    return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\r\n}\r\n/**\r\n * Return a shallowly-reactive copy of the original object, where only the root\r\n * level properties are reactive. It also does not auto-unwrap refs (even at the\r\n * root level).\r\n */\r\nfunction shallowReactive(target) {\r\n    return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\r\n}\r\n/**\r\n * Creates a readonly copy of the original object. Note the returned copy is not\r\n * made reactive, but `readonly` can be called on an already reactive object.\r\n */\r\nfunction readonly(target) {\r\n    return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\r\n}\r\n/**\r\n * Returns a reactive-copy of the original object, where only the root level\r\n * properties are readonly, and does NOT unwrap refs nor recursively convert\r\n * returned properties.\r\n * This is used for creating the props proxy object for stateful components.\r\n */\r\nfunction shallowReadonly(target) {\r\n    return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\r\n}\r\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\r\n    if (!isObject(target)) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            console.warn(`value cannot be made reactive: ${String(target)}`);\r\n        }\r\n        return target;\r\n    }\r\n    // target is already a Proxy, return it.\r\n    // exception: calling readonly() on a reactive object\r\n    if (target[\"__v_raw\" /* RAW */] &&\r\n        !(isReadonly && target[\"__v_isReactive\" /* IS_REACTIVE */])) {\r\n        return target;\r\n    }\r\n    // target already has corresponding Proxy\r\n    const existingProxy = proxyMap.get(target);\r\n    if (existingProxy) {\r\n        return existingProxy;\r\n    }\r\n    // only a whitelist of value types can be observed.\r\n    const targetType = getTargetType(target);\r\n    if (targetType === 0 /* INVALID */) {\r\n        return target;\r\n    }\r\n    const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);\r\n    proxyMap.set(target, proxy);\r\n    return proxy;\r\n}\r\nfunction isReactive(value) {\r\n    if (isReadonly(value)) {\r\n        return isReactive(value[\"__v_raw\" /* RAW */]);\r\n    }\r\n    return !!(value && value[\"__v_isReactive\" /* IS_REACTIVE */]);\r\n}\r\nfunction isReadonly(value) {\r\n    return !!(value && value[\"__v_isReadonly\" /* IS_READONLY */]);\r\n}\r\nfunction isProxy(value) {\r\n    return isReactive(value) || isReadonly(value);\r\n}\r\nfunction toRaw(observed) {\r\n    const raw = observed && observed[\"__v_raw\" /* RAW */];\r\n    return raw ? toRaw(raw) : observed;\r\n}\r\nfunction markRaw(value) {\r\n    def(value, \"__v_skip\" /* SKIP */, true);\r\n    return value;\r\n}\n\nfunction trackRefValue(ref) {\r\n    if (isTracking()) {\r\n        ref = toRaw(ref);\r\n        if (!ref.dep) {\r\n            ref.dep = createDep();\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            trackEffects(ref.dep, {\r\n                target: ref,\r\n                type: \"get\" /* GET */,\r\n                key: 'value'\r\n            });\r\n        }\r\n        else {\r\n            trackEffects(ref.dep);\r\n        }\r\n    }\r\n}\r\nfunction triggerRefValue(ref, newVal) {\r\n    ref = toRaw(ref);\r\n    if (ref.dep) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            triggerEffects(ref.dep, {\r\n                target: ref,\r\n                type: \"set\" /* SET */,\r\n                key: 'value',\r\n                newValue: newVal\r\n            });\r\n        }\r\n        else {\r\n            triggerEffects(ref.dep);\r\n        }\r\n    }\r\n}\r\nconst convert = (val) => isObject(val) ? reactive(val) : val;\r\nfunction isRef(r) {\r\n    return Boolean(r && r.__v_isRef === true);\r\n}\r\nfunction ref(value) {\r\n    return createRef(value, false);\r\n}\r\nfunction shallowRef(value) {\r\n    return createRef(value, true);\r\n}\r\nclass RefImpl {\r\n    constructor(value, _shallow) {\r\n        this._shallow = _shallow;\r\n        this.dep = undefined;\r\n        this.__v_isRef = true;\r\n        this._rawValue = _shallow ? value : toRaw(value);\r\n        this._value = _shallow ? value : convert(value);\r\n    }\r\n    get value() {\r\n        trackRefValue(this);\r\n        return this._value;\r\n    }\r\n    set value(newVal) {\r\n        newVal = this._shallow ? newVal : toRaw(newVal);\r\n        if (hasChanged(newVal, this._rawValue)) {\r\n            this._rawValue = newVal;\r\n            this._value = this._shallow ? newVal : convert(newVal);\r\n            triggerRefValue(this, newVal);\r\n        }\r\n    }\r\n}\r\nfunction createRef(rawValue, shallow) {\r\n    if (isRef(rawValue)) {\r\n        return rawValue;\r\n    }\r\n    return new RefImpl(rawValue, shallow);\r\n}\r\nfunction triggerRef(ref) {\r\n    triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\r\n}\r\nfunction unref(ref) {\r\n    return isRef(ref) ? ref.value : ref;\r\n}\r\nconst shallowUnwrapHandlers = {\r\n    get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\r\n    set: (target, key, value, receiver) => {\r\n        const oldValue = target[key];\r\n        if (isRef(oldValue) && !isRef(value)) {\r\n            oldValue.value = value;\r\n            return true;\r\n        }\r\n        else {\r\n            return Reflect.set(target, key, value, receiver);\r\n        }\r\n    }\r\n};\r\nfunction proxyRefs(objectWithRefs) {\r\n    return isReactive(objectWithRefs)\r\n        ? objectWithRefs\r\n        : new Proxy(objectWithRefs, shallowUnwrapHandlers);\r\n}\r\nclass CustomRefImpl {\r\n    constructor(factory) {\r\n        this.dep = undefined;\r\n        this.__v_isRef = true;\r\n        const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\r\n        this._get = get;\r\n        this._set = set;\r\n    }\r\n    get value() {\r\n        return this._get();\r\n    }\r\n    set value(newVal) {\r\n        this._set(newVal);\r\n    }\r\n}\r\nfunction customRef(factory) {\r\n    return new CustomRefImpl(factory);\r\n}\r\nfunction toRefs(object) {\r\n    if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\r\n        console.warn(`toRefs() expects a reactive object but received a plain one.`);\r\n    }\r\n    const ret = isArray(object) ? new Array(object.length) : {};\r\n    for (const key in object) {\r\n        ret[key] = toRef(object, key);\r\n    }\r\n    return ret;\r\n}\r\nclass ObjectRefImpl {\r\n    constructor(_object, _key) {\r\n        this._object = _object;\r\n        this._key = _key;\r\n        this.__v_isRef = true;\r\n    }\r\n    get value() {\r\n        return this._object[this._key];\r\n    }\r\n    set value(newVal) {\r\n        this._object[this._key] = newVal;\r\n    }\r\n}\r\nfunction toRef(object, key) {\r\n    const val = object[key];\r\n    return isRef(val) ? val : new ObjectRefImpl(object, key);\r\n}\n\nclass ComputedRefImpl {\r\n    constructor(getter, _setter, isReadonly) {\r\n        this._setter = _setter;\r\n        this.dep = undefined;\r\n        this._dirty = true;\r\n        this.__v_isRef = true;\r\n        this.effect = new ReactiveEffect(getter, () => {\r\n            if (!this._dirty) {\r\n                this._dirty = true;\r\n                triggerRefValue(this);\r\n            }\r\n        });\r\n        this[\"__v_isReadonly\" /* IS_READONLY */] = isReadonly;\r\n    }\r\n    get value() {\r\n        // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n        const self = toRaw(this);\r\n        trackRefValue(self);\r\n        if (self._dirty) {\r\n            self._dirty = false;\r\n            self._value = self.effect.run();\r\n        }\r\n        return self._value;\r\n    }\r\n    set value(newValue) {\r\n        this._setter(newValue);\r\n    }\r\n}\r\nfunction computed(getterOrOptions, debugOptions) {\r\n    let getter;\r\n    let setter;\r\n    if (isFunction(getterOrOptions)) {\r\n        getter = getterOrOptions;\r\n        setter = (process.env.NODE_ENV !== 'production')\r\n            ? () => {\r\n                console.warn('Write operation failed: computed value is readonly');\r\n            }\r\n            : NOOP;\r\n    }\r\n    else {\r\n        getter = getterOrOptions.get;\r\n        setter = getterOrOptions.set;\r\n    }\r\n    const cRef = new ComputedRefImpl(getter, setter, isFunction(getterOrOptions) || !getterOrOptions.set);\r\n    if ((process.env.NODE_ENV !== 'production') && debugOptions) {\r\n        cRef.effect.onTrack = debugOptions.onTrack;\r\n        cRef.effect.onTrigger = debugOptions.onTrigger;\r\n    }\r\n    return cRef;\r\n}\n\nvar _a;\r\nconst tick = Promise.resolve();\r\nconst queue = [];\r\nlet queued = false;\r\nconst scheduler = (fn) => {\r\n    queue.push(fn);\r\n    if (!queued) {\r\n        queued = true;\r\n        tick.then(flush);\r\n    }\r\n};\r\nconst flush = () => {\r\n    for (let i = 0; i < queue.length; i++) {\r\n        queue[i]();\r\n    }\r\n    queue.length = 0;\r\n    queued = false;\r\n};\r\nclass DeferredComputedRefImpl {\r\n    constructor(getter) {\r\n        this.dep = undefined;\r\n        this._dirty = true;\r\n        this.__v_isRef = true;\r\n        this[_a] = true;\r\n        let compareTarget;\r\n        let hasCompareTarget = false;\r\n        let scheduled = false;\r\n        this.effect = new ReactiveEffect(getter, (computedTrigger) => {\r\n            if (this.dep) {\r\n                if (computedTrigger) {\r\n                    compareTarget = this._value;\r\n                    hasCompareTarget = true;\r\n                }\r\n                else if (!scheduled) {\r\n                    const valueToCompare = hasCompareTarget ? compareTarget : this._value;\r\n                    scheduled = true;\r\n                    hasCompareTarget = false;\r\n                    scheduler(() => {\r\n                        if (this.effect.active && this._get() !== valueToCompare) {\r\n                            triggerRefValue(this);\r\n                        }\r\n                        scheduled = false;\r\n                    });\r\n                }\r\n                // chained upstream computeds are notified synchronously to ensure\r\n                // value invalidation in case of sync access; normal effects are\r\n                // deferred to be triggered in scheduler.\r\n                for (const e of this.dep) {\r\n                    if (e.computed) {\r\n                        e.scheduler(true /* computedTrigger */);\r\n                    }\r\n                }\r\n            }\r\n            this._dirty = true;\r\n        });\r\n        this.effect.computed = true;\r\n    }\r\n    _get() {\r\n        if (this._dirty) {\r\n            this._dirty = false;\r\n            return (this._value = this.effect.run());\r\n        }\r\n        return this._value;\r\n    }\r\n    get value() {\r\n        trackRefValue(this);\r\n        // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n        return toRaw(this)._get();\r\n    }\r\n}\r\n_a = \"__v_isReadonly\" /* IS_READONLY */;\r\nfunction deferredComputed(getter) {\r\n    return new DeferredComputedRefImpl(getter);\r\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { toRaw, ref, pauseTracking, resetTracking, reactive, computed, isRef, shallowReactive, trigger, ReactiveEffect, isProxy, shallowReadonly, track, EffectScope, markRaw, proxyRefs, isReactive, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, computed, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { extend, isFunction as isFunction$1, isArray, hasOwn, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isOn, isModelListener, isObject as isObject$1, remove, isString, invokeArrayFns, isPromise as isPromise$1, NOOP, def, isReservedProp, EMPTY_ARR, capitalize, toRawType, makeMap, NO, getGlobalThis, normalizeClass, normalizeStyle, isGloballyWhitelisted, hasChanged, isSet, isMap, isPlainObject } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\n/* eslint-disable no-restricted-globals */\r\nlet isHmrUpdating = false;\r\nconst hmrDirtyComponents = new Set();\r\n// Expose the HMR runtime on the global object\r\n// This makes it entirely tree-shakable without polluting the exports and makes\r\n// it easier to be used in toolings like vue-loader\r\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\r\n// to be set so that its instances can be registered / removed.\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n    const globalObject = typeof global !== 'undefined'\r\n        ? global\r\n        : typeof self !== 'undefined'\r\n            ? self\r\n            : typeof window !== 'undefined'\r\n                ? window\r\n                : {};\r\n    globalObject.__VUE_HMR_RUNTIME__ = {\r\n        createRecord: tryWrap(createRecord),\r\n        rerender: tryWrap(rerender),\r\n        reload: tryWrap(reload)\r\n    };\r\n}\r\nconst map = new Map();\r\nfunction registerHMR(instance) {\r\n    const id = instance.type.__hmrId;\r\n    let record = map.get(id);\r\n    if (!record) {\r\n        createRecord(id, instance.type);\r\n        record = map.get(id);\r\n    }\r\n    record.instances.add(instance);\r\n}\r\nfunction unregisterHMR(instance) {\r\n    map.get(instance.type.__hmrId).instances.delete(instance);\r\n}\r\nfunction createRecord(id, component) {\r\n    if (!component) {\r\n        warn(`HMR API usage is out of date.\\n` +\r\n            `Please upgrade vue-loader/vite/rollup-plugin-vue or other relevant ` +\r\n            `dependency that handles Vue SFC compilation.`);\r\n        component = {};\r\n    }\r\n    if (map.has(id)) {\r\n        return false;\r\n    }\r\n    map.set(id, {\r\n        component: isClassComponent(component) ? component.__vccOpts : component,\r\n        instances: new Set()\r\n    });\r\n    return true;\r\n}\r\nfunction rerender(id, newRender) {\r\n    const record = map.get(id);\r\n    if (!record)\r\n        return;\r\n    if (newRender)\r\n        record.component.render = newRender;\r\n    // Array.from creates a snapshot which avoids the set being mutated during\r\n    // updates\r\n    Array.from(record.instances).forEach(instance => {\r\n        if (newRender) {\r\n            instance.render = newRender;\r\n        }\r\n        instance.renderCache = [];\r\n        // this flag forces child components with slot content to update\r\n        isHmrUpdating = true;\r\n        instance.update();\r\n        isHmrUpdating = false;\r\n    });\r\n}\r\nfunction reload(id, newComp) {\r\n    const record = map.get(id);\r\n    if (!record)\r\n        return;\r\n    // Array.from creates a snapshot which avoids the set being mutated during\r\n    // updates\r\n    const { component, instances } = record;\r\n    if (!hmrDirtyComponents.has(component)) {\r\n        // 1. Update existing comp definition to match new one\r\n        newComp = isClassComponent(newComp) ? newComp.__vccOpts : newComp;\r\n        extend(component, newComp);\r\n        for (const key in component) {\r\n            if (key !== '__file' && !(key in newComp)) {\r\n                delete component[key];\r\n            }\r\n        }\r\n        // 2. Mark component dirty. This forces the renderer to replace the component\r\n        // on patch.\r\n        hmrDirtyComponents.add(component);\r\n        // 3. Make sure to unmark the component after the reload.\r\n        queuePostFlushCb(() => {\r\n            hmrDirtyComponents.delete(component);\r\n        });\r\n    }\r\n    Array.from(instances).forEach(instance => {\r\n        // invalidate options resolution cache\r\n        instance.appContext.optionsCache.delete(instance.type);\r\n        if (instance.ceReload) {\r\n            // custom element\r\n            hmrDirtyComponents.add(component);\r\n            instance.ceReload(newComp.styles);\r\n            hmrDirtyComponents.delete(component);\r\n        }\r\n        else if (instance.parent) {\r\n            // 4. Force the parent instance to re-render. This will cause all updated\r\n            // components to be unmounted and re-mounted. Queue the update so that we\r\n            // don't end up forcing the same parent to re-render multiple times.\r\n            queueJob(instance.parent.update);\r\n            // instance is the inner component of an async custom element\r\n            // invoke to reset styles\r\n            if (instance.parent.type.__asyncLoader &&\r\n                instance.parent.ceReload) {\r\n                instance.parent.ceReload(newComp.styles);\r\n            }\r\n        }\r\n        else if (instance.appContext.reload) {\r\n            // root instance mounted via createApp() has a reload method\r\n            instance.appContext.reload();\r\n        }\r\n        else if (typeof window !== 'undefined') {\r\n            // root instance inside tree created via raw render(). Force reload.\r\n            window.location.reload();\r\n        }\r\n        else {\r\n            console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\r\n        }\r\n    });\r\n}\r\nfunction tryWrap(fn) {\r\n    return (id, arg) => {\r\n        try {\r\n            return fn(id, arg);\r\n        }\r\n        catch (e) {\r\n            console.error(e);\r\n            console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\r\n                `Full reload required.`);\r\n        }\r\n    };\r\n}\n\nlet devtools;\r\nfunction setDevtoolsHook(hook) {\r\n    devtools = hook;\r\n}\r\nfunction devtoolsInitApp(app, version) {\r\n    // TODO queue if devtools is undefined\r\n    if (!devtools)\r\n        return;\r\n    devtools.emit(\"app:init\" /* APP_INIT */, app, version, {\r\n        Fragment,\r\n        Text,\r\n        Comment,\r\n        Static\r\n    });\r\n}\r\nfunction devtoolsUnmountApp(app) {\r\n    if (!devtools)\r\n        return;\r\n    devtools.emit(\"app:unmount\" /* APP_UNMOUNT */, app);\r\n}\r\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\r\nconst devtoolsComponentUpdated = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\r\nconst devtoolsComponentRemoved = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* COMPONENT_REMOVED */);\r\nfunction createDevtoolsComponentHook(hook) {\r\n    return (component) => {\r\n        if (!devtools)\r\n            return;\r\n        devtools.emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\r\n    };\r\n}\r\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\r\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\r\nfunction createDevtoolsPerformanceHook(hook) {\r\n    return (component, type, time) => {\r\n        if (!devtools)\r\n            return;\r\n        devtools.emit(hook, component.appContext.app, component.uid, component, type, time);\r\n    };\r\n}\r\nfunction devtoolsComponentEmit(component, event, params) {\r\n    if (!devtools)\r\n        return;\r\n    devtools.emit(\"component:emit\" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);\r\n}\n\nconst deprecationData = {\r\n    [\"GLOBAL_MOUNT\" /* GLOBAL_MOUNT */]: {\r\n        message: `The global app bootstrapping API has changed: vm.$mount() and the \"el\" ` +\r\n            `option have been removed. Use createApp(RootComponent).mount() instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/global-api.html#mounting-app-instance`\r\n    },\r\n    [\"GLOBAL_MOUNT_CONTAINER\" /* GLOBAL_MOUNT_CONTAINER */]: {\r\n        message: `Vue detected directives on the mount container. ` +\r\n            `In Vue 3, the container is no longer considered part of the template ` +\r\n            `and will not be processed/replaced.`,\r\n        link: `https://v3.vuejs.org/guide/migration/mount-changes.html`\r\n    },\r\n    [\"GLOBAL_EXTEND\" /* GLOBAL_EXTEND */]: {\r\n        message: `Vue.extend() has been removed in Vue 3. ` +\r\n            `Use defineComponent() instead.`,\r\n        link: `https://v3.vuejs.org/api/global-api.html#definecomponent`\r\n    },\r\n    [\"GLOBAL_PROTOTYPE\" /* GLOBAL_PROTOTYPE */]: {\r\n        message: `Vue.prototype is no longer available in Vue 3. ` +\r\n            `Use app.config.globalProperties instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/global-api.html#vue-prototype-replaced-by-config-globalproperties`\r\n    },\r\n    [\"GLOBAL_SET\" /* GLOBAL_SET */]: {\r\n        message: `Vue.set() has been removed as it is no longer needed in Vue 3. ` +\r\n            `Simply use native JavaScript mutations.`\r\n    },\r\n    [\"GLOBAL_DELETE\" /* GLOBAL_DELETE */]: {\r\n        message: `Vue.delete() has been removed as it is no longer needed in Vue 3. ` +\r\n            `Simply use native JavaScript mutations.`\r\n    },\r\n    [\"GLOBAL_OBSERVABLE\" /* GLOBAL_OBSERVABLE */]: {\r\n        message: `Vue.observable() has been removed. ` +\r\n            `Use \\`import { reactive } from \"vue\"\\` from Composition API instead.`,\r\n        link: `https://v3.vuejs.org/api/basic-reactivity.html`\r\n    },\r\n    [\"GLOBAL_PRIVATE_UTIL\" /* GLOBAL_PRIVATE_UTIL */]: {\r\n        message: `Vue.util has been removed. Please refactor to avoid its usage ` +\r\n            `since it was an internal API even in Vue 2.`\r\n    },\r\n    [\"CONFIG_SILENT\" /* CONFIG_SILENT */]: {\r\n        message: `config.silent has been removed because it is not good practice to ` +\r\n            `intentionally suppress warnings. You can use your browser console's ` +\r\n            `filter features to focus on relevant messages.`\r\n    },\r\n    [\"CONFIG_DEVTOOLS\" /* CONFIG_DEVTOOLS */]: {\r\n        message: `config.devtools has been removed. To enable devtools for ` +\r\n            `production, configure the __VUE_PROD_DEVTOOLS__ compile-time flag.`,\r\n        link: `https://github.com/vuejs/vue-next/tree/master/packages/vue#bundler-build-feature-flags`\r\n    },\r\n    [\"CONFIG_KEY_CODES\" /* CONFIG_KEY_CODES */]: {\r\n        message: `config.keyCodes has been removed. ` +\r\n            `In Vue 3, you can directly use the kebab-case key names as v-on modifiers.`,\r\n        link: `https://v3.vuejs.org/guide/migration/keycode-modifiers.html`\r\n    },\r\n    [\"CONFIG_PRODUCTION_TIP\" /* CONFIG_PRODUCTION_TIP */]: {\r\n        message: `config.productionTip has been removed.`,\r\n        link: `https://v3.vuejs.org/guide/migration/global-api.html#config-productiontip-removed`\r\n    },\r\n    [\"CONFIG_IGNORED_ELEMENTS\" /* CONFIG_IGNORED_ELEMENTS */]: {\r\n        message: () => {\r\n            let msg = `config.ignoredElements has been removed.`;\r\n            if (isRuntimeOnly()) {\r\n                msg += ` Pass the \"isCustomElement\" option to @vue/compiler-dom instead.`;\r\n            }\r\n            else {\r\n                msg += ` Use config.isCustomElement instead.`;\r\n            }\r\n            return msg;\r\n        },\r\n        link: `https://v3.vuejs.org/guide/migration/global-api.html#config-ignoredelements-is-now-config-iscustomelement`\r\n    },\r\n    [\"CONFIG_WHITESPACE\" /* CONFIG_WHITESPACE */]: {\r\n        // this warning is only relevant in the full build when using runtime\r\n        // compilation, so it's put in the runtime compatConfig list.\r\n        message: `Vue 3 compiler's whitespace option will default to \"condense\" instead of ` +\r\n            `\"preserve\". To suppress this warning, provide an explicit value for ` +\r\n            `\\`config.compilerOptions.whitespace\\`.`\r\n    },\r\n    [\"CONFIG_OPTION_MERGE_STRATS\" /* CONFIG_OPTION_MERGE_STRATS */]: {\r\n        message: `config.optionMergeStrategies no longer exposes internal strategies. ` +\r\n            `Use custom merge functions instead.`\r\n    },\r\n    [\"INSTANCE_SET\" /* INSTANCE_SET */]: {\r\n        message: `vm.$set() has been removed as it is no longer needed in Vue 3. ` +\r\n            `Simply use native JavaScript mutations.`\r\n    },\r\n    [\"INSTANCE_DELETE\" /* INSTANCE_DELETE */]: {\r\n        message: `vm.$delete() has been removed as it is no longer needed in Vue 3. ` +\r\n            `Simply use native JavaScript mutations.`\r\n    },\r\n    [\"INSTANCE_DESTROY\" /* INSTANCE_DESTROY */]: {\r\n        message: `vm.$destroy() has been removed. Use app.unmount() instead.`,\r\n        link: `https://v3.vuejs.org/api/application-api.html#unmount`\r\n    },\r\n    [\"INSTANCE_EVENT_EMITTER\" /* INSTANCE_EVENT_EMITTER */]: {\r\n        message: `vm.$on/$once/$off() have been removed. ` +\r\n            `Use an external event emitter library instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/events-api.html`\r\n    },\r\n    [\"INSTANCE_EVENT_HOOKS\" /* INSTANCE_EVENT_HOOKS */]: {\r\n        message: event => `\"${event}\" lifecycle events are no longer supported. From templates, ` +\r\n            `use the \"vnode\" prefix instead of \"hook:\". For example, @${event} ` +\r\n            `should be changed to @vnode-${event.slice(5)}. ` +\r\n            `From JavaScript, use Composition API to dynamically register lifecycle ` +\r\n            `hooks.`,\r\n        link: `https://v3.vuejs.org/guide/migration/vnode-lifecycle-events.html`\r\n    },\r\n    [\"INSTANCE_CHILDREN\" /* INSTANCE_CHILDREN */]: {\r\n        message: `vm.$children has been removed. Consider refactoring your logic ` +\r\n            `to avoid relying on direct access to child components.`,\r\n        link: `https://v3.vuejs.org/guide/migration/children.html`\r\n    },\r\n    [\"INSTANCE_LISTENERS\" /* INSTANCE_LISTENERS */]: {\r\n        message: `vm.$listeners has been removed. In Vue 3, parent v-on listeners are ` +\r\n            `included in vm.$attrs and it is no longer necessary to separately use ` +\r\n            `v-on=\"$listeners\" if you are already using v-bind=\"$attrs\". ` +\r\n            `(Note: the Vue 3 behavior only applies if this compat config is disabled)`,\r\n        link: `https://v3.vuejs.org/guide/migration/listeners-removed.html`\r\n    },\r\n    [\"INSTANCE_SCOPED_SLOTS\" /* INSTANCE_SCOPED_SLOTS */]: {\r\n        message: `vm.$scopedSlots has been removed. Use vm.$slots instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/slots-unification.html`\r\n    },\r\n    [\"INSTANCE_ATTRS_CLASS_STYLE\" /* INSTANCE_ATTRS_CLASS_STYLE */]: {\r\n        message: componentName => `Component <${componentName || 'Anonymous'}> has \\`inheritAttrs: false\\` but is ` +\r\n            `relying on class/style fallthrough from parent. In Vue 3, class/style ` +\r\n            `are now included in $attrs and will no longer fallthrough when ` +\r\n            `inheritAttrs is false. If you are already using v-bind=\"$attrs\" on ` +\r\n            `component root it should render the same end result. ` +\r\n            `If you are binding $attrs to a non-root element and expecting ` +\r\n            `class/style to fallthrough on root, you will need to now manually bind ` +\r\n            `them on root via :class=\"$attrs.class\".`,\r\n        link: `https://v3.vuejs.org/guide/migration/attrs-includes-class-style.html`\r\n    },\r\n    [\"OPTIONS_DATA_FN\" /* OPTIONS_DATA_FN */]: {\r\n        message: `The \"data\" option can no longer be a plain object. ` +\r\n            `Always use a function.`,\r\n        link: `https://v3.vuejs.org/guide/migration/data-option.html`\r\n    },\r\n    [\"OPTIONS_DATA_MERGE\" /* OPTIONS_DATA_MERGE */]: {\r\n        message: (key) => `Detected conflicting key \"${key}\" when merging data option values. ` +\r\n            `In Vue 3, data keys are merged shallowly and will override one another.`,\r\n        link: `https://v3.vuejs.org/guide/migration/data-option.html#mixin-merge-behavior-change`\r\n    },\r\n    [\"OPTIONS_BEFORE_DESTROY\" /* OPTIONS_BEFORE_DESTROY */]: {\r\n        message: `\\`beforeDestroy\\` has been renamed to \\`beforeUnmount\\`.`\r\n    },\r\n    [\"OPTIONS_DESTROYED\" /* OPTIONS_DESTROYED */]: {\r\n        message: `\\`destroyed\\` has been renamed to \\`unmounted\\`.`\r\n    },\r\n    [\"WATCH_ARRAY\" /* WATCH_ARRAY */]: {\r\n        message: `\"watch\" option or vm.$watch on an array value will no longer ` +\r\n            `trigger on array mutation unless the \"deep\" option is specified. ` +\r\n            `If current usage is intended, you can disable the compat behavior and ` +\r\n            `suppress this warning with:` +\r\n            `\\n\\n  configureCompat({ ${\"WATCH_ARRAY\" /* WATCH_ARRAY */}: false })\\n`,\r\n        link: `https://v3.vuejs.org/guide/migration/watch.html`\r\n    },\r\n    [\"PROPS_DEFAULT_THIS\" /* PROPS_DEFAULT_THIS */]: {\r\n        message: (key) => `props default value function no longer has access to \"this\". The compat ` +\r\n            `build only offers access to this.$options.` +\r\n            `(found in prop \"${key}\")`,\r\n        link: `https://v3.vuejs.org/guide/migration/props-default-this.html`\r\n    },\r\n    [\"CUSTOM_DIR\" /* CUSTOM_DIR */]: {\r\n        message: (legacyHook, newHook) => `Custom directive hook \"${legacyHook}\" has been removed. ` +\r\n            `Use \"${newHook}\" instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/custom-directives.html`\r\n    },\r\n    [\"V_FOR_REF\" /* V_FOR_REF */]: {\r\n        message: `Ref usage on v-for no longer creates array ref values in Vue 3. ` +\r\n            `Consider using function refs or refactor to avoid ref usage altogether.`,\r\n        link: `https://v3.vuejs.org/guide/migration/array-refs.html`\r\n    },\r\n    [\"V_ON_KEYCODE_MODIFIER\" /* V_ON_KEYCODE_MODIFIER */]: {\r\n        message: `Using keyCode as v-on modifier is no longer supported. ` +\r\n            `Use kebab-case key name modifiers instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/keycode-modifiers.html`\r\n    },\r\n    [\"ATTR_FALSE_VALUE\" /* ATTR_FALSE_VALUE */]: {\r\n        message: (name) => `Attribute \"${name}\" with v-bind value \\`false\\` will render ` +\r\n            `${name}=\"false\" instead of removing it in Vue 3. To remove the attribute, ` +\r\n            `use \\`null\\` or \\`undefined\\` instead. If the usage is intended, ` +\r\n            `you can disable the compat behavior and suppress this warning with:` +\r\n            `\\n\\n  configureCompat({ ${\"ATTR_FALSE_VALUE\" /* ATTR_FALSE_VALUE */}: false })\\n`,\r\n        link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`\r\n    },\r\n    [\"ATTR_ENUMERATED_COERCION\" /* ATTR_ENUMERATED_COERCION */]: {\r\n        message: (name, value, coerced) => `Enumerated attribute \"${name}\" with v-bind value \\`${value}\\` will ` +\r\n            `${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to \"${coerced}\" in Vue 3. ` +\r\n            `Always use explicit \"true\" or \"false\" values for enumerated attributes. ` +\r\n            `If the usage is intended, ` +\r\n            `you can disable the compat behavior and suppress this warning with:` +\r\n            `\\n\\n  configureCompat({ ${\"ATTR_ENUMERATED_COERCION\" /* ATTR_ENUMERATED_COERCION */}: false })\\n`,\r\n        link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`\r\n    },\r\n    [\"TRANSITION_CLASSES\" /* TRANSITION_CLASSES */]: {\r\n        message: `` // this feature cannot be runtime-detected\r\n    },\r\n    [\"TRANSITION_GROUP_ROOT\" /* TRANSITION_GROUP_ROOT */]: {\r\n        message: `<TransitionGroup> no longer renders a root <span> element by ` +\r\n            `default if no \"tag\" prop is specified. If you do not rely on the span ` +\r\n            `for styling, you can disable the compat behavior and suppress this ` +\r\n            `warning with:` +\r\n            `\\n\\n  configureCompat({ ${\"TRANSITION_GROUP_ROOT\" /* TRANSITION_GROUP_ROOT */}: false })\\n`,\r\n        link: `https://v3.vuejs.org/guide/migration/transition-group.html`\r\n    },\r\n    [\"COMPONENT_ASYNC\" /* COMPONENT_ASYNC */]: {\r\n        message: (comp) => {\r\n            const name = getComponentName(comp);\r\n            return (`Async component${name ? ` <${name}>` : `s`} should be explicitly created via \\`defineAsyncComponent()\\` ` +\r\n                `in Vue 3. Plain functions will be treated as functional components in ` +\r\n                `non-compat build. If you have already migrated all async component ` +\r\n                `usage and intend to use plain functions for functional components, ` +\r\n                `you can disable the compat behavior and suppress this ` +\r\n                `warning with:` +\r\n                `\\n\\n  configureCompat({ ${\"COMPONENT_ASYNC\" /* COMPONENT_ASYNC */}: false })\\n`);\r\n        },\r\n        link: `https://v3.vuejs.org/guide/migration/async-components.html`\r\n    },\r\n    [\"COMPONENT_FUNCTIONAL\" /* COMPONENT_FUNCTIONAL */]: {\r\n        message: (comp) => {\r\n            const name = getComponentName(comp);\r\n            return (`Functional component${name ? ` <${name}>` : `s`} should be defined as a plain function in Vue 3. The \"functional\" ` +\r\n                `option has been removed. NOTE: Before migrating to use plain ` +\r\n                `functions for functional components, first make sure that all async ` +\r\n                `components usage have been migrated and its compat behavior has ` +\r\n                `been disabled.`);\r\n        },\r\n        link: `https://v3.vuejs.org/guide/migration/functional-components.html`\r\n    },\r\n    [\"COMPONENT_V_MODEL\" /* COMPONENT_V_MODEL */]: {\r\n        message: (comp) => {\r\n            const configMsg = `opt-in to ` +\r\n                `Vue 3 behavior on a per-component basis with \\`compatConfig: { ${\"COMPONENT_V_MODEL\" /* COMPONENT_V_MODEL */}: false }\\`.`;\r\n            if (comp.props &&\r\n                (isArray(comp.props)\r\n                    ? comp.props.includes('modelValue')\r\n                    : hasOwn(comp.props, 'modelValue'))) {\r\n                return (`Component delcares \"modelValue\" prop, which is Vue 3 usage, but ` +\r\n                    `is running under Vue 2 compat v-model behavior. You can ${configMsg}`);\r\n            }\r\n            return (`v-model usage on component has changed in Vue 3. Component that expects ` +\r\n                `to work with v-model should now use the \"modelValue\" prop and emit the ` +\r\n                `\"update:modelValue\" event. You can update the usage and then ${configMsg}`);\r\n        },\r\n        link: `https://v3.vuejs.org/guide/migration/v-model.html`\r\n    },\r\n    [\"RENDER_FUNCTION\" /* RENDER_FUNCTION */]: {\r\n        message: `Vue 3's render function API has changed. ` +\r\n            `You can opt-in to the new API with:` +\r\n            `\\n\\n  configureCompat({ ${\"RENDER_FUNCTION\" /* RENDER_FUNCTION */}: false })\\n` +\r\n            `\\n  (This can also be done per-component via the \"compatConfig\" option.)`,\r\n        link: `https://v3.vuejs.org/guide/migration/render-function-api.html`\r\n    },\r\n    [\"FILTERS\" /* FILTERS */]: {\r\n        message: `filters have been removed in Vue 3. ` +\r\n            `The \"|\" symbol will be treated as native JavaScript bitwise OR operator. ` +\r\n            `Use method calls or computed properties instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/filters.html`\r\n    },\r\n    [\"PRIVATE_APIS\" /* PRIVATE_APIS */]: {\r\n        message: name => `\"${name}\" is a Vue 2 private API that no longer exists in Vue 3. ` +\r\n            `If you are seeing this warning only due to a dependency, you can ` +\r\n            `suppress this warning via { PRIVATE_APIS: 'supress-warning' }.`\r\n    }\r\n};\r\nconst instanceWarned = Object.create(null);\r\nconst warnCount = Object.create(null);\r\nfunction warnDeprecation(key, instance, ...args) {\r\n    if (!(process.env.NODE_ENV !== 'production')) {\r\n        return;\r\n    }\r\n    instance = instance || getCurrentInstance();\r\n    // check user config\r\n    const config = getCompatConfigForKey(key, instance);\r\n    if (config === 'suppress-warning') {\r\n        return;\r\n    }\r\n    const dupKey = key + args.join('');\r\n    let compId = instance && formatComponentName(instance, instance.type);\r\n    if (compId === 'Anonymous' && instance) {\r\n        compId = instance.uid;\r\n    }\r\n    // skip if the same warning is emitted for the same component type\r\n    const componentDupKey = dupKey + compId;\r\n    if (componentDupKey in instanceWarned) {\r\n        return;\r\n    }\r\n    instanceWarned[componentDupKey] = true;\r\n    // same warning, but different component. skip the long message and just\r\n    // log the key and count.\r\n    if (dupKey in warnCount) {\r\n        warn(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);\r\n        return;\r\n    }\r\n    warnCount[dupKey] = 0;\r\n    const { message, link } = deprecationData[key];\r\n    warn(`(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\\n  Details: ${link}` : ``}`);\r\n    if (!isCompatEnabled(key, instance, true)) {\r\n        console.error(`^ The above deprecation's compat behavior is disabled and will likely ` +\r\n            `lead to runtime errors.`);\r\n    }\r\n}\r\nconst globalCompatConfig = {\r\n    MODE: 2\r\n};\r\nfunction getCompatConfigForKey(key, instance) {\r\n    const instanceConfig = instance && instance.type.compatConfig;\r\n    if (instanceConfig && key in instanceConfig) {\r\n        return instanceConfig[key];\r\n    }\r\n    return globalCompatConfig[key];\r\n}\r\nfunction isCompatEnabled(key, instance, enableForBuiltIn = false) {\r\n    // skip compat for built-in components\r\n    if (!enableForBuiltIn && instance && instance.type.__isBuiltIn) {\r\n        return false;\r\n    }\r\n    const rawMode = getCompatConfigForKey('MODE', instance) || 2;\r\n    const val = getCompatConfigForKey(key, instance);\r\n    const mode = isFunction$1(rawMode)\r\n        ? rawMode(instance && instance.type)\r\n        : rawMode;\r\n    if (mode === 2) {\r\n        return val !== false;\r\n    }\r\n    else {\r\n        return val === true || val === 'suppress-warning';\r\n    }\r\n}\n\nfunction emit(instance, event, ...rawArgs) {\r\n    const props = instance.vnode.props || EMPTY_OBJ;\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        const { emitsOptions, propsOptions: [propsOptions] } = instance;\r\n        if (emitsOptions) {\r\n            if (!(event in emitsOptions) &&\r\n                !(false )) {\r\n                if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\r\n                    warn(`Component emitted event \"${event}\" but it is neither declared in ` +\r\n                        `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\r\n                }\r\n            }\r\n            else {\r\n                const validator = emitsOptions[event];\r\n                if (isFunction$1(validator)) {\r\n                    const isValid = validator(...rawArgs);\r\n                    if (!isValid) {\r\n                        warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    let args = rawArgs;\r\n    const isModelListener = event.startsWith('update:');\r\n    // for v-model update:xxx events, apply modifiers on args\r\n    const modelArg = isModelListener && event.slice(7);\r\n    if (modelArg && modelArg in props) {\r\n        const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\r\n        const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\r\n        if (trim) {\r\n            args = rawArgs.map(a => a.trim());\r\n        }\r\n        else if (number) {\r\n            args = rawArgs.map(toNumber);\r\n        }\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n        devtoolsComponentEmit(instance, event, args);\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        const lowerCaseEvent = event.toLowerCase();\r\n        if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\r\n            warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\r\n                `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\r\n                `Note that HTML attributes are case-insensitive and you cannot use ` +\r\n                `v-on to listen to camelCase events when using in-DOM templates. ` +\r\n                `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\r\n        }\r\n    }\r\n    let handlerName;\r\n    let handler = props[(handlerName = toHandlerKey(event))] ||\r\n        // also try camelCase event handler (#2249)\r\n        props[(handlerName = toHandlerKey(camelize(event)))];\r\n    // for v-model update:xxx events, also trigger kebab-case equivalent\r\n    // for props passed via kebab-case\r\n    if (!handler && isModelListener) {\r\n        handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\r\n    }\r\n    if (handler) {\r\n        callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n    }\r\n    const onceHandler = props[handlerName + `Once`];\r\n    if (onceHandler) {\r\n        if (!instance.emitted) {\r\n            instance.emitted = {};\r\n        }\r\n        else if (instance.emitted[handlerName]) {\r\n            return;\r\n        }\r\n        instance.emitted[handlerName] = true;\r\n        callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n    }\r\n}\r\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\r\n    const cache = appContext.emitsCache;\r\n    const cached = cache.get(comp);\r\n    if (cached !== undefined) {\r\n        return cached;\r\n    }\r\n    const raw = comp.emits;\r\n    let normalized = {};\r\n    // apply mixin/extends props\r\n    let hasExtends = false;\r\n    if (__VUE_OPTIONS_API__ && !isFunction$1(comp)) {\r\n        const extendEmits = (raw) => {\r\n            const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\r\n            if (normalizedFromExtend) {\r\n                hasExtends = true;\r\n                extend(normalized, normalizedFromExtend);\r\n            }\r\n        };\r\n        if (!asMixin && appContext.mixins.length) {\r\n            appContext.mixins.forEach(extendEmits);\r\n        }\r\n        if (comp.extends) {\r\n            extendEmits(comp.extends);\r\n        }\r\n        if (comp.mixins) {\r\n            comp.mixins.forEach(extendEmits);\r\n        }\r\n    }\r\n    if (!raw && !hasExtends) {\r\n        cache.set(comp, null);\r\n        return null;\r\n    }\r\n    if (isArray(raw)) {\r\n        raw.forEach(key => (normalized[key] = null));\r\n    }\r\n    else {\r\n        extend(normalized, raw);\r\n    }\r\n    cache.set(comp, normalized);\r\n    return normalized;\r\n}\r\n// Check if an incoming prop key is a declared emit event listener.\r\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\r\n// both considered matched listeners.\r\nfunction isEmitListener(options, key) {\r\n    if (!options || !isOn(key)) {\r\n        return false;\r\n    }\r\n    key = key.slice(2).replace(/Once$/, '');\r\n    return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\r\n        hasOwn(options, hyphenate(key)) ||\r\n        hasOwn(options, key));\r\n}\n\n/**\r\n * mark the current rendering instance for asset resolution (e.g.\r\n * resolveComponent, resolveDirective) during render\r\n */\r\nlet currentRenderingInstance = null;\r\nlet currentScopeId = null;\r\n/**\r\n * Note: rendering calls maybe nested. The function returns the parent rendering\r\n * instance if present, which should be restored after the render is done:\r\n *\r\n * ```js\r\n * const prev = setCurrentRenderingInstance(i)\r\n * // ...render\r\n * setCurrentRenderingInstance(prev)\r\n * ```\r\n */\r\nfunction setCurrentRenderingInstance(instance) {\r\n    const prev = currentRenderingInstance;\r\n    currentRenderingInstance = instance;\r\n    currentScopeId = (instance && instance.type.__scopeId) || null;\r\n    return prev;\r\n}\r\n/**\r\n * Set scope id when creating hoisted vnodes.\r\n * @private compiler helper\r\n */\r\nfunction pushScopeId(id) {\r\n    currentScopeId = id;\r\n}\r\n/**\r\n * Technically we no longer need this after 3.0.8 but we need to keep the same\r\n * API for backwards compat w/ code generated by compilers.\r\n * @private\r\n */\r\nfunction popScopeId() {\r\n    currentScopeId = null;\r\n}\r\n/**\r\n * Only for backwards compat\r\n * @private\r\n */\r\nconst withScopeId = (_id) => withCtx;\r\n/**\r\n * Wrap a slot function to memoize current rendering instance\r\n * @private compiler helper\r\n */\r\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\r\n) {\r\n    if (!ctx)\r\n        return fn;\r\n    // already normalized\r\n    if (fn._n) {\r\n        return fn;\r\n    }\r\n    const renderFnWithContext = (...args) => {\r\n        // If a user calls a compiled slot inside a template expression (#1745), it\r\n        // can mess up block tracking, so by default we disable block tracking and\r\n        // force bail out when invoking a compiled slot (indicated by the ._d flag).\r\n        // This isn't necessary if rendering a compiled `<slot>`, so we flip the\r\n        // ._d flag off when invoking the wrapped fn inside `renderSlot`.\r\n        if (renderFnWithContext._d) {\r\n            setBlockTracking(-1);\r\n        }\r\n        const prevInstance = setCurrentRenderingInstance(ctx);\r\n        const res = fn(...args);\r\n        setCurrentRenderingInstance(prevInstance);\r\n        if (renderFnWithContext._d) {\r\n            setBlockTracking(1);\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n            devtoolsComponentUpdated(ctx);\r\n        }\r\n        return res;\r\n    };\r\n    // mark normalized to avoid duplicated wrapping\r\n    renderFnWithContext._n = true;\r\n    // mark this as compiled by default\r\n    // this is used in vnode.ts -> normalizeChildren() to set the slot\r\n    // rendering flag.\r\n    renderFnWithContext._c = true;\r\n    // disable block tracking by default\r\n    renderFnWithContext._d = true;\r\n    return renderFnWithContext;\r\n}\n\n/**\r\n * dev only flag to track whether $attrs was used during render.\r\n * If $attrs was used during render then the warning for failed attrs\r\n * fallthrough can be suppressed.\r\n */\r\nlet accessedAttrs = false;\r\nfunction markAttrsAccessed() {\r\n    accessedAttrs = true;\r\n}\r\nfunction renderComponentRoot(instance) {\r\n    const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\r\n    let result;\r\n    const prev = setCurrentRenderingInstance(instance);\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        accessedAttrs = false;\r\n    }\r\n    try {\r\n        let fallthroughAttrs;\r\n        if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {\r\n            // withProxy is a proxy with a different `has` trap only for\r\n            // runtime-compiled render functions using `with` block.\r\n            const proxyToUse = withProxy || proxy;\r\n            result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\r\n            fallthroughAttrs = attrs;\r\n        }\r\n        else {\r\n            // functional\r\n            const render = Component;\r\n            // in dev, mark attrs accessed if optional props (attrs === props)\r\n            if ((process.env.NODE_ENV !== 'production') && attrs === props) {\r\n                markAttrsAccessed();\r\n            }\r\n            result = normalizeVNode(render.length > 1\r\n                ? render(props, (process.env.NODE_ENV !== 'production')\r\n                    ? {\r\n                        get attrs() {\r\n                            markAttrsAccessed();\r\n                            return attrs;\r\n                        },\r\n                        slots,\r\n                        emit\r\n                    }\r\n                    : { attrs, slots, emit })\r\n                : render(props, null /* we know it doesn't need it */));\r\n            fallthroughAttrs = Component.props\r\n                ? attrs\r\n                : getFunctionalFallthrough(attrs);\r\n        }\r\n        // attr merging\r\n        // in dev mode, comments are preserved, and it's possible for a template\r\n        // to have comments along side the root element which makes it a fragment\r\n        let root = result;\r\n        let setRoot = undefined;\r\n        if ((process.env.NODE_ENV !== 'production') &&\r\n            result.patchFlag > 0 &&\r\n            result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {\r\n            ;\r\n            [root, setRoot] = getChildRoot(result);\r\n        }\r\n        if (fallthroughAttrs && inheritAttrs !== false) {\r\n            const keys = Object.keys(fallthroughAttrs);\r\n            const { shapeFlag } = root;\r\n            if (keys.length) {\r\n                if (shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) {\r\n                    if (propsOptions && keys.some(isModelListener)) {\r\n                        // If a v-model listener (onUpdate:xxx) has a corresponding declared\r\n                        // prop, it indicates this component expects to handle v-model and\r\n                        // it should not fallthrough.\r\n                        // related: #1543, #1643, #1989\r\n                        fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\r\n                    }\r\n                    root = cloneVNode(root, fallthroughAttrs);\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment) {\r\n                    const allAttrs = Object.keys(attrs);\r\n                    const eventAttrs = [];\r\n                    const extraAttrs = [];\r\n                    for (let i = 0, l = allAttrs.length; i < l; i++) {\r\n                        const key = allAttrs[i];\r\n                        if (isOn(key)) {\r\n                            // ignore v-model handlers when they fail to fallthrough\r\n                            if (!isModelListener(key)) {\r\n                                // remove `on`, lowercase first letter to reflect event casing\r\n                                // accurately\r\n                                eventAttrs.push(key[2].toLowerCase() + key.slice(3));\r\n                            }\r\n                        }\r\n                        else {\r\n                            extraAttrs.push(key);\r\n                        }\r\n                    }\r\n                    if (extraAttrs.length) {\r\n                        warn(`Extraneous non-props attributes (` +\r\n                            `${extraAttrs.join(', ')}) ` +\r\n                            `were passed to component but could not be automatically inherited ` +\r\n                            `because component renders fragment or text root nodes.`);\r\n                    }\r\n                    if (eventAttrs.length) {\r\n                        warn(`Extraneous non-emits event listeners (` +\r\n                            `${eventAttrs.join(', ')}) ` +\r\n                            `were passed to component but could not be automatically inherited ` +\r\n                            `because component renders fragment or text root nodes. ` +\r\n                            `If the listener is intended to be a component custom event listener only, ` +\r\n                            `declare it using the \"emits\" option.`);\r\n                    }\r\n                }\r\n            }\r\n        }\r\n        if (false &&\r\n            isCompatEnabled(\"INSTANCE_ATTRS_CLASS_STYLE\" /* INSTANCE_ATTRS_CLASS_STYLE */, instance) &&\r\n            vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */ &&\r\n            root.shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) ;\r\n        // inherit directives\r\n        if (vnode.dirs) {\r\n            if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n                warn(`Runtime directive used on component with non-element root node. ` +\r\n                    `The directives will not function as intended.`);\r\n            }\r\n            root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\r\n        }\r\n        // inherit transition data\r\n        if (vnode.transition) {\r\n            if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n                warn(`Component inside <Transition> renders non-element root node ` +\r\n                    `that cannot be animated.`);\r\n            }\r\n            root.transition = vnode.transition;\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') && setRoot) {\r\n            setRoot(root);\r\n        }\r\n        else {\r\n            result = root;\r\n        }\r\n    }\r\n    catch (err) {\r\n        blockStack.length = 0;\r\n        handleError(err, instance, 1 /* RENDER_FUNCTION */);\r\n        result = createVNode(Comment);\r\n    }\r\n    setCurrentRenderingInstance(prev);\r\n    return result;\r\n}\r\n/**\r\n * dev only\r\n * In dev mode, template root level comments are rendered, which turns the\r\n * template into a fragment root, but we need to locate the single element\r\n * root for attrs and scope id processing.\r\n */\r\nconst getChildRoot = (vnode) => {\r\n    const rawChildren = vnode.children;\r\n    const dynamicChildren = vnode.dynamicChildren;\r\n    const childRoot = filterSingleRoot(rawChildren);\r\n    if (!childRoot) {\r\n        return [vnode, undefined];\r\n    }\r\n    const index = rawChildren.indexOf(childRoot);\r\n    const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\r\n    const setRoot = (updatedRoot) => {\r\n        rawChildren[index] = updatedRoot;\r\n        if (dynamicChildren) {\r\n            if (dynamicIndex > -1) {\r\n                dynamicChildren[dynamicIndex] = updatedRoot;\r\n            }\r\n            else if (updatedRoot.patchFlag > 0) {\r\n                vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\r\n            }\r\n        }\r\n    };\r\n    return [normalizeVNode(childRoot), setRoot];\r\n};\r\nfunction filterSingleRoot(children) {\r\n    let singleRoot;\r\n    for (let i = 0; i < children.length; i++) {\r\n        const child = children[i];\r\n        if (isVNode(child)) {\r\n            // ignore user comment\r\n            if (child.type !== Comment || child.children === 'v-if') {\r\n                if (singleRoot) {\r\n                    // has more than 1 non-comment child, return now\r\n                    return;\r\n                }\r\n                else {\r\n                    singleRoot = child;\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            return;\r\n        }\r\n    }\r\n    return singleRoot;\r\n}\r\nconst getFunctionalFallthrough = (attrs) => {\r\n    let res;\r\n    for (const key in attrs) {\r\n        if (key === 'class' || key === 'style' || isOn(key)) {\r\n            (res || (res = {}))[key] = attrs[key];\r\n        }\r\n    }\r\n    return res;\r\n};\r\nconst filterModelListeners = (attrs, props) => {\r\n    const res = {};\r\n    for (const key in attrs) {\r\n        if (!isModelListener(key) || !(key.slice(9) in props)) {\r\n            res[key] = attrs[key];\r\n        }\r\n    }\r\n    return res;\r\n};\r\nconst isElementRoot = (vnode) => {\r\n    return (vnode.shapeFlag & (6 /* COMPONENT */ | 1 /* ELEMENT */) ||\r\n        vnode.type === Comment // potential v-if branch switch\r\n    );\r\n};\r\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\r\n    const { props: prevProps, children: prevChildren, component } = prevVNode;\r\n    const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\r\n    const emits = component.emitsOptions;\r\n    // Parent component's render function was hot-updated. Since this may have\r\n    // caused the child component's slots content to have changed, we need to\r\n    // force the child to update as well.\r\n    if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\r\n        return true;\r\n    }\r\n    // force child update for runtime directive or transition on component vnode.\r\n    if (nextVNode.dirs || nextVNode.transition) {\r\n        return true;\r\n    }\r\n    if (optimized && patchFlag >= 0) {\r\n        if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {\r\n            // slot content that references values that might have changed,\r\n            // e.g. in a v-for\r\n            return true;\r\n        }\r\n        if (patchFlag & 16 /* FULL_PROPS */) {\r\n            if (!prevProps) {\r\n                return !!nextProps;\r\n            }\r\n            // presence of this flag indicates props are always non-null\r\n            return hasPropsChanged(prevProps, nextProps, emits);\r\n        }\r\n        else if (patchFlag & 8 /* PROPS */) {\r\n            const dynamicProps = nextVNode.dynamicProps;\r\n            for (let i = 0; i < dynamicProps.length; i++) {\r\n                const key = dynamicProps[i];\r\n                if (nextProps[key] !== prevProps[key] &&\r\n                    !isEmitListener(emits, key)) {\r\n                    return true;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        // this path is only taken by manually written render functions\r\n        // so presence of any children leads to a forced update\r\n        if (prevChildren || nextChildren) {\r\n            if (!nextChildren || !nextChildren.$stable) {\r\n                return true;\r\n            }\r\n        }\r\n        if (prevProps === nextProps) {\r\n            return false;\r\n        }\r\n        if (!prevProps) {\r\n            return !!nextProps;\r\n        }\r\n        if (!nextProps) {\r\n            return true;\r\n        }\r\n        return hasPropsChanged(prevProps, nextProps, emits);\r\n    }\r\n    return false;\r\n}\r\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\r\n    const nextKeys = Object.keys(nextProps);\r\n    if (nextKeys.length !== Object.keys(prevProps).length) {\r\n        return true;\r\n    }\r\n    for (let i = 0; i < nextKeys.length; i++) {\r\n        const key = nextKeys[i];\r\n        if (nextProps[key] !== prevProps[key] &&\r\n            !isEmitListener(emitsOptions, key)) {\r\n            return true;\r\n        }\r\n    }\r\n    return false;\r\n}\r\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\r\n) {\r\n    while (parent && parent.subTree === vnode) {\r\n        (vnode = parent.vnode).el = el;\r\n        parent = parent.parent;\r\n    }\r\n}\n\nconst isSuspense = (type) => type.__isSuspense;\r\n// Suspense exposes a component-like API, and is treated like a component\r\n// in the compiler, but internally it's a special built-in type that hooks\r\n// directly into the renderer.\r\nconst SuspenseImpl = {\r\n    name: 'Suspense',\r\n    // In order to make Suspense tree-shakable, we need to avoid importing it\r\n    // directly in the renderer. The renderer checks for the __isSuspense flag\r\n    // on a vnode's type and calls the `process` method, passing in renderer\r\n    // internals.\r\n    __isSuspense: true,\r\n    process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \r\n    // platform-specific impl passed from renderer\r\n    rendererInternals) {\r\n        if (n1 == null) {\r\n            mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\r\n        }\r\n        else {\r\n            patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\r\n        }\r\n    },\r\n    hydrate: hydrateSuspense,\r\n    create: createSuspenseBoundary,\r\n    normalize: normalizeSuspenseChildren\r\n};\r\n// Force-casted public typing for h and TSX props inference\r\nconst Suspense = (SuspenseImpl );\r\nfunction triggerEvent(vnode, name) {\r\n    const eventListener = vnode.props && vnode.props[name];\r\n    if (isFunction$1(eventListener)) {\r\n        eventListener();\r\n    }\r\n}\r\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\r\n    const { p: patch, o: { createElement } } = rendererInternals;\r\n    const hiddenContainer = createElement('div');\r\n    const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\r\n    // start mounting the content subtree in an off-dom container\r\n    patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\r\n    // now check if we have encountered any async deps\r\n    if (suspense.deps > 0) {\r\n        // has async\r\n        // invoke @fallback event\r\n        triggerEvent(vnode, 'onPending');\r\n        triggerEvent(vnode, 'onFallback');\r\n        // mount the fallback tree\r\n        patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n        isSVG, slotScopeIds);\r\n        setActiveBranch(suspense, vnode.ssFallback);\r\n    }\r\n    else {\r\n        // Suspense has no async deps. Just resolve.\r\n        suspense.resolve();\r\n    }\r\n}\r\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\r\n    const suspense = (n2.suspense = n1.suspense);\r\n    suspense.vnode = n2;\r\n    n2.el = n1.el;\r\n    const newBranch = n2.ssContent;\r\n    const newFallback = n2.ssFallback;\r\n    const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\r\n    if (pendingBranch) {\r\n        suspense.pendingBranch = newBranch;\r\n        if (isSameVNodeType(newBranch, pendingBranch)) {\r\n            // same root type but content may have changed.\r\n            patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n            if (suspense.deps <= 0) {\r\n                suspense.resolve();\r\n            }\r\n            else if (isInFallback) {\r\n                patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n                isSVG, slotScopeIds, optimized);\r\n                setActiveBranch(suspense, newFallback);\r\n            }\r\n        }\r\n        else {\r\n            // toggled before pending tree is resolved\r\n            suspense.pendingId++;\r\n            if (isHydrating) {\r\n                // if toggled before hydration is finished, the current DOM tree is\r\n                // no longer valid. set it as the active branch so it will be unmounted\r\n                // when resolved\r\n                suspense.isHydrating = false;\r\n                suspense.activeBranch = pendingBranch;\r\n            }\r\n            else {\r\n                unmount(pendingBranch, parentComponent, suspense);\r\n            }\r\n            // increment pending ID. this is used to invalidate async callbacks\r\n            // reset suspense state\r\n            suspense.deps = 0;\r\n            // discard effects from pending branch\r\n            suspense.effects.length = 0;\r\n            // discard previous container\r\n            suspense.hiddenContainer = createElement('div');\r\n            if (isInFallback) {\r\n                // already in fallback state\r\n                patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n                if (suspense.deps <= 0) {\r\n                    suspense.resolve();\r\n                }\r\n                else {\r\n                    patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n                    isSVG, slotScopeIds, optimized);\r\n                    setActiveBranch(suspense, newFallback);\r\n                }\r\n            }\r\n            else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n                // toggled \"back\" to current active branch\r\n                patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n                // force resolve\r\n                suspense.resolve(true);\r\n            }\r\n            else {\r\n                // switched to a 3rd branch\r\n                patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n                if (suspense.deps <= 0) {\r\n                    suspense.resolve();\r\n                }\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n            // root did not change, just normal patch\r\n            patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n            setActiveBranch(suspense, newBranch);\r\n        }\r\n        else {\r\n            // root node toggled\r\n            // invoke @pending event\r\n            triggerEvent(n2, 'onPending');\r\n            // mount pending branch in off-dom container\r\n            suspense.pendingBranch = newBranch;\r\n            suspense.pendingId++;\r\n            patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n            if (suspense.deps <= 0) {\r\n                // incoming branch has no async deps, resolve now.\r\n                suspense.resolve();\r\n            }\r\n            else {\r\n                const { timeout, pendingId } = suspense;\r\n                if (timeout > 0) {\r\n                    setTimeout(() => {\r\n                        if (suspense.pendingId === pendingId) {\r\n                            suspense.fallback(newFallback);\r\n                        }\r\n                    }, timeout);\r\n                }\r\n                else if (timeout === 0) {\r\n                    suspense.fallback(newFallback);\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\nlet hasWarned = false;\r\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\r\n    /* istanbul ignore if */\r\n    if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\r\n        hasWarned = true;\r\n        // @ts-ignore `console.info` cannot be null error\r\n        console[console.info ? 'info' : 'log'](`<Suspense> is an experimental feature and its API will likely change.`);\r\n    }\r\n    const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\r\n    const timeout = toNumber(vnode.props && vnode.props.timeout);\r\n    const suspense = {\r\n        vnode,\r\n        parent,\r\n        parentComponent,\r\n        isSVG,\r\n        container,\r\n        hiddenContainer,\r\n        anchor,\r\n        deps: 0,\r\n        pendingId: 0,\r\n        timeout: typeof timeout === 'number' ? timeout : -1,\r\n        activeBranch: null,\r\n        pendingBranch: null,\r\n        isInFallback: true,\r\n        isHydrating,\r\n        isUnmounted: false,\r\n        effects: [],\r\n        resolve(resume = false) {\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                if (!resume && !suspense.pendingBranch) {\r\n                    throw new Error(`suspense.resolve() is called without a pending branch.`);\r\n                }\r\n                if (suspense.isUnmounted) {\r\n                    throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\r\n                }\r\n            }\r\n            const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\r\n            if (suspense.isHydrating) {\r\n                suspense.isHydrating = false;\r\n            }\r\n            else if (!resume) {\r\n                const delayEnter = activeBranch &&\r\n                    pendingBranch.transition &&\r\n                    pendingBranch.transition.mode === 'out-in';\r\n                if (delayEnter) {\r\n                    activeBranch.transition.afterLeave = () => {\r\n                        if (pendingId === suspense.pendingId) {\r\n                            move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n                        }\r\n                    };\r\n                }\r\n                // this is initial anchor on mount\r\n                let { anchor } = suspense;\r\n                // unmount current active tree\r\n                if (activeBranch) {\r\n                    // if the fallback tree was mounted, it may have been moved\r\n                    // as part of a parent suspense. get the latest anchor for insertion\r\n                    anchor = next(activeBranch);\r\n                    unmount(activeBranch, parentComponent, suspense, true);\r\n                }\r\n                if (!delayEnter) {\r\n                    // move content from off-dom container to actual container\r\n                    move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n                }\r\n            }\r\n            setActiveBranch(suspense, pendingBranch);\r\n            suspense.pendingBranch = null;\r\n            suspense.isInFallback = false;\r\n            // flush buffered effects\r\n            // check if there is a pending parent suspense\r\n            let parent = suspense.parent;\r\n            let hasUnresolvedAncestor = false;\r\n            while (parent) {\r\n                if (parent.pendingBranch) {\r\n                    // found a pending parent suspense, merge buffered post jobs\r\n                    // into that parent\r\n                    parent.effects.push(...effects);\r\n                    hasUnresolvedAncestor = true;\r\n                    break;\r\n                }\r\n                parent = parent.parent;\r\n            }\r\n            // no pending parent suspense, flush all jobs\r\n            if (!hasUnresolvedAncestor) {\r\n                queuePostFlushCb(effects);\r\n            }\r\n            suspense.effects = [];\r\n            // invoke @resolve event\r\n            triggerEvent(vnode, 'onResolve');\r\n        },\r\n        fallback(fallbackVNode) {\r\n            if (!suspense.pendingBranch) {\r\n                return;\r\n            }\r\n            const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\r\n            // invoke @fallback event\r\n            triggerEvent(vnode, 'onFallback');\r\n            const anchor = next(activeBranch);\r\n            const mountFallback = () => {\r\n                if (!suspense.isInFallback) {\r\n                    return;\r\n                }\r\n                // mount the fallback tree\r\n                patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n                isSVG, slotScopeIds, optimized);\r\n                setActiveBranch(suspense, fallbackVNode);\r\n            };\r\n            const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\r\n            if (delayEnter) {\r\n                activeBranch.transition.afterLeave = mountFallback;\r\n            }\r\n            suspense.isInFallback = true;\r\n            // unmount current active branch\r\n            unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\r\n            true // shouldRemove\r\n            );\r\n            if (!delayEnter) {\r\n                mountFallback();\r\n            }\r\n        },\r\n        move(container, anchor, type) {\r\n            suspense.activeBranch &&\r\n                move(suspense.activeBranch, container, anchor, type);\r\n            suspense.container = container;\r\n        },\r\n        next() {\r\n            return suspense.activeBranch && next(suspense.activeBranch);\r\n        },\r\n        registerDep(instance, setupRenderEffect) {\r\n            const isInPendingSuspense = !!suspense.pendingBranch;\r\n            if (isInPendingSuspense) {\r\n                suspense.deps++;\r\n            }\r\n            const hydratedEl = instance.vnode.el;\r\n            instance\r\n                .asyncDep.catch(err => {\r\n                handleError(err, instance, 0 /* SETUP_FUNCTION */);\r\n            })\r\n                .then(asyncSetupResult => {\r\n                // retry when the setup() promise resolves.\r\n                // component may have been unmounted before resolve.\r\n                if (instance.isUnmounted ||\r\n                    suspense.isUnmounted ||\r\n                    suspense.pendingId !== instance.suspenseId) {\r\n                    return;\r\n                }\r\n                // retry from this component\r\n                instance.asyncResolved = true;\r\n                const { vnode } = instance;\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    pushWarningContext(vnode);\r\n                }\r\n                handleSetupResult(instance, asyncSetupResult, false);\r\n                if (hydratedEl) {\r\n                    // vnode may have been replaced if an update happened before the\r\n                    // async dep is resolved.\r\n                    vnode.el = hydratedEl;\r\n                }\r\n                const placeholder = !hydratedEl && instance.subTree.el;\r\n                setupRenderEffect(instance, vnode, \r\n                // component may have been moved before resolve.\r\n                // if this is not a hydration, instance.subTree will be the comment\r\n                // placeholder.\r\n                parentNode(hydratedEl || instance.subTree.el), \r\n                // anchor will not be used if this is hydration, so only need to\r\n                // consider the comment placeholder case.\r\n                hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\r\n                if (placeholder) {\r\n                    remove(placeholder);\r\n                }\r\n                updateHOCHostEl(instance, vnode.el);\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    popWarningContext();\r\n                }\r\n                // only decrease deps count if suspense is not already resolved\r\n                if (isInPendingSuspense && --suspense.deps === 0) {\r\n                    suspense.resolve();\r\n                }\r\n            });\r\n        },\r\n        unmount(parentSuspense, doRemove) {\r\n            suspense.isUnmounted = true;\r\n            if (suspense.activeBranch) {\r\n                unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\r\n            }\r\n            if (suspense.pendingBranch) {\r\n                unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\r\n            }\r\n        }\r\n    };\r\n    return suspense;\r\n}\r\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\r\n    /* eslint-disable no-restricted-globals */\r\n    const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\r\n    // there are two possible scenarios for server-rendered suspense:\r\n    // - success: ssr content should be fully resolved\r\n    // - failure: ssr content should be the fallback branch.\r\n    // however, on the client we don't really know if it has failed or not\r\n    // attempt to hydrate the DOM assuming it has succeeded, but we still\r\n    // need to construct a suspense boundary first\r\n    const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\r\n    if (suspense.deps === 0) {\r\n        suspense.resolve();\r\n    }\r\n    return result;\r\n    /* eslint-enable no-restricted-globals */\r\n}\r\nfunction normalizeSuspenseChildren(vnode) {\r\n    const { shapeFlag, children } = vnode;\r\n    const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;\r\n    vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\r\n    vnode.ssFallback = isSlotChildren\r\n        ? normalizeSuspenseSlot(children.fallback)\r\n        : createVNode(Comment);\r\n}\r\nfunction normalizeSuspenseSlot(s) {\r\n    let block;\r\n    if (isFunction$1(s)) {\r\n        const isCompiledSlot = s._c;\r\n        if (isCompiledSlot) {\r\n            // disableTracking: false\r\n            // allow block tracking for compiled slots\r\n            // (see ./componentRenderContext.ts)\r\n            s._d = false;\r\n            openBlock();\r\n        }\r\n        s = s();\r\n        if (isCompiledSlot) {\r\n            s._d = true;\r\n            block = currentBlock;\r\n            closeBlock();\r\n        }\r\n    }\r\n    if (isArray(s)) {\r\n        const singleChild = filterSingleRoot(s);\r\n        if ((process.env.NODE_ENV !== 'production') && !singleChild) {\r\n            warn(`<Suspense> slots expect a single root node.`);\r\n        }\r\n        s = singleChild;\r\n    }\r\n    s = normalizeVNode(s);\r\n    if (block && !s.dynamicChildren) {\r\n        s.dynamicChildren = block.filter(c => c !== s);\r\n    }\r\n    return s;\r\n}\r\nfunction queueEffectWithSuspense(fn, suspense) {\r\n    if (suspense && suspense.pendingBranch) {\r\n        if (isArray(fn)) {\r\n            suspense.effects.push(...fn);\r\n        }\r\n        else {\r\n            suspense.effects.push(fn);\r\n        }\r\n    }\r\n    else {\r\n        queuePostFlushCb(fn);\r\n    }\r\n}\r\nfunction setActiveBranch(suspense, branch) {\r\n    suspense.activeBranch = branch;\r\n    const { vnode, parentComponent } = suspense;\r\n    const el = (vnode.el = branch.el);\r\n    // in case suspense is the root node of a component,\r\n    // recursively update the HOC el\r\n    if (parentComponent && parentComponent.subTree === vnode) {\r\n        parentComponent.vnode.el = el;\r\n        updateHOCHostEl(parentComponent, el);\r\n    }\r\n}\n\nfunction provide(key, value) {\r\n    if (!currentInstance) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`provide() can only be used inside setup().`);\r\n        }\r\n    }\r\n    else {\r\n        let provides = currentInstance.provides;\r\n        // by default an instance inherits its parent's provides object\r\n        // but when it needs to provide values of its own, it creates its\r\n        // own provides object using parent provides object as prototype.\r\n        // this way in `inject` we can simply look up injections from direct\r\n        // parent and let the prototype chain do the work.\r\n        const parentProvides = currentInstance.parent && currentInstance.parent.provides;\r\n        if (parentProvides === provides) {\r\n            provides = currentInstance.provides = Object.create(parentProvides);\r\n        }\r\n        // TS doesn't allow symbol as index type\r\n        provides[key] = value;\r\n    }\r\n}\r\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\r\n    // fallback to `currentRenderingInstance` so that this can be called in\r\n    // a functional component\r\n    const instance = currentInstance || currentRenderingInstance;\r\n    if (instance) {\r\n        // #2400\r\n        // to support `app.use` plugins,\r\n        // fallback to appContext's `provides` if the intance is at root\r\n        const provides = instance.parent == null\r\n            ? instance.vnode.appContext && instance.vnode.appContext.provides\r\n            : instance.parent.provides;\r\n        if (provides && key in provides) {\r\n            // TS doesn't allow symbol as index type\r\n            return provides[key];\r\n        }\r\n        else if (arguments.length > 1) {\r\n            return treatDefaultAsFactory && isFunction$1(defaultValue)\r\n                ? defaultValue.call(instance.proxy)\r\n                : defaultValue;\r\n        }\r\n        else if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`injection \"${String(key)}\" not found.`);\r\n        }\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn(`inject() can only be used inside setup() or functional components.`);\r\n    }\r\n}\n\nfunction useTransitionState() {\r\n    const state = {\r\n        isMounted: false,\r\n        isLeaving: false,\r\n        isUnmounting: false,\r\n        leavingVNodes: new Map()\r\n    };\r\n    onMounted(() => {\r\n        state.isMounted = true;\r\n    });\r\n    onBeforeUnmount(() => {\r\n        state.isUnmounting = true;\r\n    });\r\n    return state;\r\n}\r\nconst TransitionHookValidator = [Function, Array];\r\nconst BaseTransitionImpl = {\r\n    name: `BaseTransition`,\r\n    props: {\r\n        mode: String,\r\n        appear: Boolean,\r\n        persisted: Boolean,\r\n        // enter\r\n        onBeforeEnter: TransitionHookValidator,\r\n        onEnter: TransitionHookValidator,\r\n        onAfterEnter: TransitionHookValidator,\r\n        onEnterCancelled: TransitionHookValidator,\r\n        // leave\r\n        onBeforeLeave: TransitionHookValidator,\r\n        onLeave: TransitionHookValidator,\r\n        onAfterLeave: TransitionHookValidator,\r\n        onLeaveCancelled: TransitionHookValidator,\r\n        // appear\r\n        onBeforeAppear: TransitionHookValidator,\r\n        onAppear: TransitionHookValidator,\r\n        onAfterAppear: TransitionHookValidator,\r\n        onAppearCancelled: TransitionHookValidator\r\n    },\r\n    setup(props, { slots }) {\r\n        const instance = getCurrentInstance();\r\n        const state = useTransitionState();\r\n        let prevTransitionKey;\r\n        return () => {\r\n            const children = slots.default && getTransitionRawChildren(slots.default(), true);\r\n            if (!children || !children.length) {\r\n                return;\r\n            }\r\n            // warn multiple elements\r\n            if ((process.env.NODE_ENV !== 'production') && children.length > 1) {\r\n                warn('<transition> can only be used on a single element or component. Use ' +\r\n                    '<transition-group> for lists.');\r\n            }\r\n            // there's no need to track reactivity for these props so use the raw\r\n            // props for a bit better perf\r\n            const rawProps = toRaw(props);\r\n            const { mode } = rawProps;\r\n            // check mode\r\n            if ((process.env.NODE_ENV !== 'production') && mode && !['in-out', 'out-in', 'default'].includes(mode)) {\r\n                warn(`invalid <transition> mode: ${mode}`);\r\n            }\r\n            // at this point children has a guaranteed length of 1.\r\n            const child = children[0];\r\n            if (state.isLeaving) {\r\n                return emptyPlaceholder(child);\r\n            }\r\n            // in the case of <transition><keep-alive/></transition>, we need to\r\n            // compare the type of the kept-alive children.\r\n            const innerChild = getKeepAliveChild(child);\r\n            if (!innerChild) {\r\n                return emptyPlaceholder(child);\r\n            }\r\n            const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\r\n            setTransitionHooks(innerChild, enterHooks);\r\n            const oldChild = instance.subTree;\r\n            const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\r\n            let transitionKeyChanged = false;\r\n            const { getTransitionKey } = innerChild.type;\r\n            if (getTransitionKey) {\r\n                const key = getTransitionKey();\r\n                if (prevTransitionKey === undefined) {\r\n                    prevTransitionKey = key;\r\n                }\r\n                else if (key !== prevTransitionKey) {\r\n                    prevTransitionKey = key;\r\n                    transitionKeyChanged = true;\r\n                }\r\n            }\r\n            // handle mode\r\n            if (oldInnerChild &&\r\n                oldInnerChild.type !== Comment &&\r\n                (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\r\n                const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\r\n                // update old tree's hooks in case of dynamic transition\r\n                setTransitionHooks(oldInnerChild, leavingHooks);\r\n                // switching between different views\r\n                if (mode === 'out-in') {\r\n                    state.isLeaving = true;\r\n                    // return placeholder node and queue update when leave finishes\r\n                    leavingHooks.afterLeave = () => {\r\n                        state.isLeaving = false;\r\n                        instance.update();\r\n                    };\r\n                    return emptyPlaceholder(child);\r\n                }\r\n                else if (mode === 'in-out' && innerChild.type !== Comment) {\r\n                    leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\r\n                        const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\r\n                        leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\r\n                        // early removal callback\r\n                        el._leaveCb = () => {\r\n                            earlyRemove();\r\n                            el._leaveCb = undefined;\r\n                            delete enterHooks.delayedLeave;\r\n                        };\r\n                        enterHooks.delayedLeave = delayedLeave;\r\n                    };\r\n                }\r\n            }\r\n            return child;\r\n        };\r\n    }\r\n};\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\nconst BaseTransition = BaseTransitionImpl;\r\nfunction getLeavingNodesForType(state, vnode) {\r\n    const { leavingVNodes } = state;\r\n    let leavingVNodesCache = leavingVNodes.get(vnode.type);\r\n    if (!leavingVNodesCache) {\r\n        leavingVNodesCache = Object.create(null);\r\n        leavingVNodes.set(vnode.type, leavingVNodesCache);\r\n    }\r\n    return leavingVNodesCache;\r\n}\r\n// The transition hooks are attached to the vnode as vnode.transition\r\n// and will be called at appropriate timing in the renderer.\r\nfunction resolveTransitionHooks(vnode, props, state, instance) {\r\n    const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\r\n    const key = String(vnode.key);\r\n    const leavingVNodesCache = getLeavingNodesForType(state, vnode);\r\n    const callHook = (hook, args) => {\r\n        hook &&\r\n            callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);\r\n    };\r\n    const hooks = {\r\n        mode,\r\n        persisted,\r\n        beforeEnter(el) {\r\n            let hook = onBeforeEnter;\r\n            if (!state.isMounted) {\r\n                if (appear) {\r\n                    hook = onBeforeAppear || onBeforeEnter;\r\n                }\r\n                else {\r\n                    return;\r\n                }\r\n            }\r\n            // for same element (v-show)\r\n            if (el._leaveCb) {\r\n                el._leaveCb(true /* cancelled */);\r\n            }\r\n            // for toggled element with same key (v-if)\r\n            const leavingVNode = leavingVNodesCache[key];\r\n            if (leavingVNode &&\r\n                isSameVNodeType(vnode, leavingVNode) &&\r\n                leavingVNode.el._leaveCb) {\r\n                // force early removal (not cancelled)\r\n                leavingVNode.el._leaveCb();\r\n            }\r\n            callHook(hook, [el]);\r\n        },\r\n        enter(el) {\r\n            let hook = onEnter;\r\n            let afterHook = onAfterEnter;\r\n            let cancelHook = onEnterCancelled;\r\n            if (!state.isMounted) {\r\n                if (appear) {\r\n                    hook = onAppear || onEnter;\r\n                    afterHook = onAfterAppear || onAfterEnter;\r\n                    cancelHook = onAppearCancelled || onEnterCancelled;\r\n                }\r\n                else {\r\n                    return;\r\n                }\r\n            }\r\n            let called = false;\r\n            const done = (el._enterCb = (cancelled) => {\r\n                if (called)\r\n                    return;\r\n                called = true;\r\n                if (cancelled) {\r\n                    callHook(cancelHook, [el]);\r\n                }\r\n                else {\r\n                    callHook(afterHook, [el]);\r\n                }\r\n                if (hooks.delayedLeave) {\r\n                    hooks.delayedLeave();\r\n                }\r\n                el._enterCb = undefined;\r\n            });\r\n            if (hook) {\r\n                hook(el, done);\r\n                if (hook.length <= 1) {\r\n                    done();\r\n                }\r\n            }\r\n            else {\r\n                done();\r\n            }\r\n        },\r\n        leave(el, remove) {\r\n            const key = String(vnode.key);\r\n            if (el._enterCb) {\r\n                el._enterCb(true /* cancelled */);\r\n            }\r\n            if (state.isUnmounting) {\r\n                return remove();\r\n            }\r\n            callHook(onBeforeLeave, [el]);\r\n            let called = false;\r\n            const done = (el._leaveCb = (cancelled) => {\r\n                if (called)\r\n                    return;\r\n                called = true;\r\n                remove();\r\n                if (cancelled) {\r\n                    callHook(onLeaveCancelled, [el]);\r\n                }\r\n                else {\r\n                    callHook(onAfterLeave, [el]);\r\n                }\r\n                el._leaveCb = undefined;\r\n                if (leavingVNodesCache[key] === vnode) {\r\n                    delete leavingVNodesCache[key];\r\n                }\r\n            });\r\n            leavingVNodesCache[key] = vnode;\r\n            if (onLeave) {\r\n                onLeave(el, done);\r\n                if (onLeave.length <= 1) {\r\n                    done();\r\n                }\r\n            }\r\n            else {\r\n                done();\r\n            }\r\n        },\r\n        clone(vnode) {\r\n            return resolveTransitionHooks(vnode, props, state, instance);\r\n        }\r\n    };\r\n    return hooks;\r\n}\r\n// the placeholder really only handles one special case: KeepAlive\r\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\r\n// placeholder with empty content to avoid the KeepAlive instance from being\r\n// unmounted.\r\nfunction emptyPlaceholder(vnode) {\r\n    if (isKeepAlive(vnode)) {\r\n        vnode = cloneVNode(vnode);\r\n        vnode.children = null;\r\n        return vnode;\r\n    }\r\n}\r\nfunction getKeepAliveChild(vnode) {\r\n    return isKeepAlive(vnode)\r\n        ? vnode.children\r\n            ? vnode.children[0]\r\n            : undefined\r\n        : vnode;\r\n}\r\nfunction setTransitionHooks(vnode, hooks) {\r\n    if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {\r\n        setTransitionHooks(vnode.component.subTree, hooks);\r\n    }\r\n    else if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n        vnode.ssContent.transition = hooks.clone(vnode.ssContent);\r\n        vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\r\n    }\r\n    else {\r\n        vnode.transition = hooks;\r\n    }\r\n}\r\nfunction getTransitionRawChildren(children, keepComment = false) {\r\n    let ret = [];\r\n    let keyedFragmentCount = 0;\r\n    for (let i = 0; i < children.length; i++) {\r\n        const child = children[i];\r\n        // handle fragment children case, e.g. v-for\r\n        if (child.type === Fragment) {\r\n            if (child.patchFlag & 128 /* KEYED_FRAGMENT */)\r\n                keyedFragmentCount++;\r\n            ret = ret.concat(getTransitionRawChildren(child.children, keepComment));\r\n        }\r\n        // comment placeholders should be skipped, e.g. v-if\r\n        else if (keepComment || child.type !== Comment) {\r\n            ret.push(child);\r\n        }\r\n    }\r\n    // #1126 if a transition children list contains multiple sub fragments, these\r\n    // fragments will be merged into a flat children array. Since each v-for\r\n    // fragment may contain different static bindings inside, we need to de-op\r\n    // these children to force full diffs to ensure correct behavior.\r\n    if (keyedFragmentCount > 1) {\r\n        for (let i = 0; i < ret.length; i++) {\r\n            ret[i].patchFlag = -2 /* BAIL */;\r\n        }\r\n    }\r\n    return ret;\r\n}\n\n// implementation, close to no-op\r\nfunction defineComponent(options) {\r\n    return isFunction$1(options) ? { setup: options, name: options.name } : options;\r\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\r\nfunction defineAsyncComponent(source) {\r\n    if (isFunction$1(source)) {\r\n        source = { loader: source };\r\n    }\r\n    const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out\r\n    suspensible = true, onError: userOnError } = source;\r\n    let pendingRequest = null;\r\n    let resolvedComp;\r\n    let retries = 0;\r\n    const retry = () => {\r\n        retries++;\r\n        pendingRequest = null;\r\n        return load();\r\n    };\r\n    const load = () => {\r\n        let thisRequest;\r\n        return (pendingRequest ||\r\n            (thisRequest = pendingRequest =\r\n                loader()\r\n                    .catch(err => {\r\n                    err = err instanceof Error ? err : new Error(String(err));\r\n                    if (userOnError) {\r\n                        return new Promise((resolve, reject) => {\r\n                            const userRetry = () => resolve(retry());\r\n                            const userFail = () => reject(err);\r\n                            userOnError(err, userRetry, userFail, retries + 1);\r\n                        });\r\n                    }\r\n                    else {\r\n                        throw err;\r\n                    }\r\n                })\r\n                    .then((comp) => {\r\n                    if (thisRequest !== pendingRequest && pendingRequest) {\r\n                        return pendingRequest;\r\n                    }\r\n                    if ((process.env.NODE_ENV !== 'production') && !comp) {\r\n                        warn(`Async component loader resolved to undefined. ` +\r\n                            `If you are using retry(), make sure to return its return value.`);\r\n                    }\r\n                    // interop module default\r\n                    if (comp &&\r\n                        (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\r\n                        comp = comp.default;\r\n                    }\r\n                    if ((process.env.NODE_ENV !== 'production') && comp && !isObject$1(comp) && !isFunction$1(comp)) {\r\n                        throw new Error(`Invalid async component load result: ${comp}`);\r\n                    }\r\n                    resolvedComp = comp;\r\n                    return comp;\r\n                })));\r\n    };\r\n    return defineComponent({\r\n        name: 'AsyncComponentWrapper',\r\n        __asyncLoader: load,\r\n        get __asyncResolved() {\r\n            return resolvedComp;\r\n        },\r\n        setup() {\r\n            const instance = currentInstance;\r\n            // already resolved\r\n            if (resolvedComp) {\r\n                return () => createInnerComp(resolvedComp, instance);\r\n            }\r\n            const onError = (err) => {\r\n                pendingRequest = null;\r\n                handleError(err, instance, 13 /* ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);\r\n            };\r\n            // suspense-controlled or SSR.\r\n            if ((suspensible && instance.suspense) ||\r\n                (false )) {\r\n                return load()\r\n                    .then(comp => {\r\n                    return () => createInnerComp(comp, instance);\r\n                })\r\n                    .catch(err => {\r\n                    onError(err);\r\n                    return () => errorComponent\r\n                        ? createVNode(errorComponent, {\r\n                            error: err\r\n                        })\r\n                        : null;\r\n                });\r\n            }\r\n            const loaded = ref(false);\r\n            const error = ref();\r\n            const delayed = ref(!!delay);\r\n            if (delay) {\r\n                setTimeout(() => {\r\n                    delayed.value = false;\r\n                }, delay);\r\n            }\r\n            if (timeout != null) {\r\n                setTimeout(() => {\r\n                    if (!loaded.value && !error.value) {\r\n                        const err = new Error(`Async component timed out after ${timeout}ms.`);\r\n                        onError(err);\r\n                        error.value = err;\r\n                    }\r\n                }, timeout);\r\n            }\r\n            load()\r\n                .then(() => {\r\n                loaded.value = true;\r\n                if (instance.parent && isKeepAlive(instance.parent.vnode)) {\r\n                    // parent is keep-alive, force update so the loaded component's\r\n                    // name is taken into account\r\n                    queueJob(instance.parent.update);\r\n                }\r\n            })\r\n                .catch(err => {\r\n                onError(err);\r\n                error.value = err;\r\n            });\r\n            return () => {\r\n                if (loaded.value && resolvedComp) {\r\n                    return createInnerComp(resolvedComp, instance);\r\n                }\r\n                else if (error.value && errorComponent) {\r\n                    return createVNode(errorComponent, {\r\n                        error: error.value\r\n                    });\r\n                }\r\n                else if (loadingComponent && !delayed.value) {\r\n                    return createVNode(loadingComponent);\r\n                }\r\n            };\r\n        }\r\n    });\r\n}\r\nfunction createInnerComp(comp, { vnode: { ref, props, children } }) {\r\n    const vnode = createVNode(comp, props, children);\r\n    // ensure inner component inherits the async wrapper's ref owner\r\n    vnode.ref = ref;\r\n    return vnode;\r\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\r\nconst KeepAliveImpl = {\r\n    name: `KeepAlive`,\r\n    // Marker for special handling inside the renderer. We are not using a ===\r\n    // check directly on KeepAlive in the renderer, because importing it directly\r\n    // would prevent it from being tree-shaken.\r\n    __isKeepAlive: true,\r\n    props: {\r\n        include: [String, RegExp, Array],\r\n        exclude: [String, RegExp, Array],\r\n        max: [String, Number]\r\n    },\r\n    setup(props, { slots }) {\r\n        const instance = getCurrentInstance();\r\n        // KeepAlive communicates with the instantiated renderer via the\r\n        // ctx where the renderer passes in its internals,\r\n        // and the KeepAlive instance exposes activate/deactivate implementations.\r\n        // The whole point of this is to avoid importing KeepAlive directly in the\r\n        // renderer to facilitate tree-shaking.\r\n        const sharedContext = instance.ctx;\r\n        // if the internal renderer is not registered, it indicates that this is server-side rendering,\r\n        // for KeepAlive, we just need to render its children\r\n        if (!sharedContext.renderer) {\r\n            return slots.default;\r\n        }\r\n        const cache = new Map();\r\n        const keys = new Set();\r\n        let current = null;\r\n        if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n            instance.__v_cache = cache;\r\n        }\r\n        const parentSuspense = instance.suspense;\r\n        const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;\r\n        const storageContainer = createElement('div');\r\n        sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\r\n            const instance = vnode.component;\r\n            move(vnode, container, anchor, 0 /* ENTER */, parentSuspense);\r\n            // in case props have changed\r\n            patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);\r\n            queuePostRenderEffect(() => {\r\n                instance.isDeactivated = false;\r\n                if (instance.a) {\r\n                    invokeArrayFns(instance.a);\r\n                }\r\n                const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\r\n                if (vnodeHook) {\r\n                    invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n                }\r\n            }, parentSuspense);\r\n            if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                // Update components tree\r\n                devtoolsComponentAdded(instance);\r\n            }\r\n        };\r\n        sharedContext.deactivate = (vnode) => {\r\n            const instance = vnode.component;\r\n            move(vnode, storageContainer, null, 1 /* LEAVE */, parentSuspense);\r\n            queuePostRenderEffect(() => {\r\n                if (instance.da) {\r\n                    invokeArrayFns(instance.da);\r\n                }\r\n                const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\r\n                if (vnodeHook) {\r\n                    invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n                }\r\n                instance.isDeactivated = true;\r\n            }, parentSuspense);\r\n            if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                // Update components tree\r\n                devtoolsComponentAdded(instance);\r\n            }\r\n        };\r\n        function unmount(vnode) {\r\n            // reset the shapeFlag so it can be properly unmounted\r\n            resetShapeFlag(vnode);\r\n            _unmount(vnode, instance, parentSuspense);\r\n        }\r\n        function pruneCache(filter) {\r\n            cache.forEach((vnode, key) => {\r\n                const name = getComponentName(vnode.type);\r\n                if (name && (!filter || !filter(name))) {\r\n                    pruneCacheEntry(key);\r\n                }\r\n            });\r\n        }\r\n        function pruneCacheEntry(key) {\r\n            const cached = cache.get(key);\r\n            if (!current || cached.type !== current.type) {\r\n                unmount(cached);\r\n            }\r\n            else if (current) {\r\n                // current active instance should no longer be kept-alive.\r\n                // we can't unmount it now but it might be later, so reset its flag now.\r\n                resetShapeFlag(current);\r\n            }\r\n            cache.delete(key);\r\n            keys.delete(key);\r\n        }\r\n        // prune cache on include/exclude prop change\r\n        watch(() => [props.include, props.exclude], ([include, exclude]) => {\r\n            include && pruneCache(name => matches(include, name));\r\n            exclude && pruneCache(name => !matches(exclude, name));\r\n        }, \r\n        // prune post-render after `current` has been updated\r\n        { flush: 'post', deep: true });\r\n        // cache sub tree after render\r\n        let pendingCacheKey = null;\r\n        const cacheSubtree = () => {\r\n            // fix #1621, the pendingCacheKey could be 0\r\n            if (pendingCacheKey != null) {\r\n                cache.set(pendingCacheKey, getInnerChild(instance.subTree));\r\n            }\r\n        };\r\n        onMounted(cacheSubtree);\r\n        onUpdated(cacheSubtree);\r\n        onBeforeUnmount(() => {\r\n            cache.forEach(cached => {\r\n                const { subTree, suspense } = instance;\r\n                const vnode = getInnerChild(subTree);\r\n                if (cached.type === vnode.type) {\r\n                    // current instance will be unmounted as part of keep-alive's unmount\r\n                    resetShapeFlag(vnode);\r\n                    // but invoke its deactivated hook here\r\n                    const da = vnode.component.da;\r\n                    da && queuePostRenderEffect(da, suspense);\r\n                    return;\r\n                }\r\n                unmount(cached);\r\n            });\r\n        });\r\n        return () => {\r\n            pendingCacheKey = null;\r\n            if (!slots.default) {\r\n                return null;\r\n            }\r\n            const children = slots.default();\r\n            const rawVNode = children[0];\r\n            if (children.length > 1) {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`KeepAlive should contain exactly one component child.`);\r\n                }\r\n                current = null;\r\n                return children;\r\n            }\r\n            else if (!isVNode(rawVNode) ||\r\n                (!(rawVNode.shapeFlag & 4 /* STATEFUL_COMPONENT */) &&\r\n                    !(rawVNode.shapeFlag & 128 /* SUSPENSE */))) {\r\n                current = null;\r\n                return rawVNode;\r\n            }\r\n            let vnode = getInnerChild(rawVNode);\r\n            const comp = vnode.type;\r\n            // for async components, name check should be based in its loaded\r\n            // inner component if available\r\n            const name = getComponentName(isAsyncWrapper(vnode)\r\n                ? vnode.type.__asyncResolved || {}\r\n                : comp);\r\n            const { include, exclude, max } = props;\r\n            if ((include && (!name || !matches(include, name))) ||\r\n                (exclude && name && matches(exclude, name))) {\r\n                current = vnode;\r\n                return rawVNode;\r\n            }\r\n            const key = vnode.key == null ? comp : vnode.key;\r\n            const cachedVNode = cache.get(key);\r\n            // clone vnode if it's reused because we are going to mutate it\r\n            if (vnode.el) {\r\n                vnode = cloneVNode(vnode);\r\n                if (rawVNode.shapeFlag & 128 /* SUSPENSE */) {\r\n                    rawVNode.ssContent = vnode;\r\n                }\r\n            }\r\n            // #1513 it's possible for the returned vnode to be cloned due to attr\r\n            // fallthrough or scopeId, so the vnode here may not be the final vnode\r\n            // that is mounted. Instead of caching it directly, we store the pending\r\n            // key and cache `instance.subTree` (the normalized vnode) in\r\n            // beforeMount/beforeUpdate hooks.\r\n            pendingCacheKey = key;\r\n            if (cachedVNode) {\r\n                // copy over mounted state\r\n                vnode.el = cachedVNode.el;\r\n                vnode.component = cachedVNode.component;\r\n                if (vnode.transition) {\r\n                    // recursively update transition hooks on subTree\r\n                    setTransitionHooks(vnode, vnode.transition);\r\n                }\r\n                // avoid vnode being mounted as fresh\r\n                vnode.shapeFlag |= 512 /* COMPONENT_KEPT_ALIVE */;\r\n                // make this key the freshest\r\n                keys.delete(key);\r\n                keys.add(key);\r\n            }\r\n            else {\r\n                keys.add(key);\r\n                // prune oldest entry\r\n                if (max && keys.size > parseInt(max, 10)) {\r\n                    pruneCacheEntry(keys.values().next().value);\r\n                }\r\n            }\r\n            // avoid vnode being unmounted\r\n            vnode.shapeFlag |= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n            current = vnode;\r\n            return rawVNode;\r\n        };\r\n    }\r\n};\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\nconst KeepAlive = KeepAliveImpl;\r\nfunction matches(pattern, name) {\r\n    if (isArray(pattern)) {\r\n        return pattern.some((p) => matches(p, name));\r\n    }\r\n    else if (isString(pattern)) {\r\n        return pattern.split(',').indexOf(name) > -1;\r\n    }\r\n    else if (pattern.test) {\r\n        return pattern.test(name);\r\n    }\r\n    /* istanbul ignore next */\r\n    return false;\r\n}\r\nfunction onActivated(hook, target) {\r\n    registerKeepAliveHook(hook, \"a\" /* ACTIVATED */, target);\r\n}\r\nfunction onDeactivated(hook, target) {\r\n    registerKeepAliveHook(hook, \"da\" /* DEACTIVATED */, target);\r\n}\r\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\r\n    // cache the deactivate branch check wrapper for injected hooks so the same\r\n    // hook can be properly deduped by the scheduler. \"__wdc\" stands for \"with\r\n    // deactivation check\".\r\n    const wrappedHook = hook.__wdc ||\r\n        (hook.__wdc = () => {\r\n            // only fire the hook if the target instance is NOT in a deactivated branch.\r\n            let current = target;\r\n            while (current) {\r\n                if (current.isDeactivated) {\r\n                    return;\r\n                }\r\n                current = current.parent;\r\n            }\r\n            hook();\r\n        });\r\n    injectHook(type, wrappedHook, target);\r\n    // In addition to registering it on the target instance, we walk up the parent\r\n    // chain and register it on all ancestor instances that are keep-alive roots.\r\n    // This avoids the need to walk the entire component tree when invoking these\r\n    // hooks, and more importantly, avoids the need to track child components in\r\n    // arrays.\r\n    if (target) {\r\n        let current = target.parent;\r\n        while (current && current.parent) {\r\n            if (isKeepAlive(current.parent.vnode)) {\r\n                injectToKeepAliveRoot(wrappedHook, type, target, current);\r\n            }\r\n            current = current.parent;\r\n        }\r\n    }\r\n}\r\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\r\n    // injectHook wraps the original for error handling, so make sure to remove\r\n    // the wrapped version.\r\n    const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);\r\n    onUnmounted(() => {\r\n        remove(keepAliveRoot[type], injected);\r\n    }, target);\r\n}\r\nfunction resetShapeFlag(vnode) {\r\n    let shapeFlag = vnode.shapeFlag;\r\n    if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {\r\n        shapeFlag -= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n    }\r\n    if (shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {\r\n        shapeFlag -= 512 /* COMPONENT_KEPT_ALIVE */;\r\n    }\r\n    vnode.shapeFlag = shapeFlag;\r\n}\r\nfunction getInnerChild(vnode) {\r\n    return vnode.shapeFlag & 128 /* SUSPENSE */ ? vnode.ssContent : vnode;\r\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\r\n    if (target) {\r\n        const hooks = target[type] || (target[type] = []);\r\n        // cache the error handling wrapper for injected hooks so the same hook\r\n        // can be properly deduped by the scheduler. \"__weh\" stands for \"with error\r\n        // handling\".\r\n        const wrappedHook = hook.__weh ||\r\n            (hook.__weh = (...args) => {\r\n                if (target.isUnmounted) {\r\n                    return;\r\n                }\r\n                // disable tracking inside all lifecycle hooks\r\n                // since they can potentially be called inside effects.\r\n                pauseTracking();\r\n                // Set currentInstance during hook invocation.\r\n                // This assumes the hook does not synchronously trigger other hooks, which\r\n                // can only be false when the user does something really funky.\r\n                setCurrentInstance(target);\r\n                const res = callWithAsyncErrorHandling(hook, target, type, args);\r\n                unsetCurrentInstance();\r\n                resetTracking();\r\n                return res;\r\n            });\r\n        if (prepend) {\r\n            hooks.unshift(wrappedHook);\r\n        }\r\n        else {\r\n            hooks.push(wrappedHook);\r\n        }\r\n        return wrappedHook;\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ''));\r\n        warn(`${apiName} is called when there is no active component instance to be ` +\r\n            `associated with. ` +\r\n            `Lifecycle injection APIs can only be used during execution of setup().` +\r\n            (` If you are using async setup(), make sure to register lifecycle ` +\r\n                    `hooks before the first await statement.`\r\n                ));\r\n    }\r\n}\r\nconst createHook = (lifecycle) => (hook, target = currentInstance) => \r\n// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\r\n(!isInSSRComponentSetup || lifecycle === \"sp\" /* SERVER_PREFETCH */) &&\r\n    injectHook(lifecycle, hook, target);\r\nconst onBeforeMount = createHook(\"bm\" /* BEFORE_MOUNT */);\r\nconst onMounted = createHook(\"m\" /* MOUNTED */);\r\nconst onBeforeUpdate = createHook(\"bu\" /* BEFORE_UPDATE */);\r\nconst onUpdated = createHook(\"u\" /* UPDATED */);\r\nconst onBeforeUnmount = createHook(\"bum\" /* BEFORE_UNMOUNT */);\r\nconst onUnmounted = createHook(\"um\" /* UNMOUNTED */);\r\nconst onServerPrefetch = createHook(\"sp\" /* SERVER_PREFETCH */);\r\nconst onRenderTriggered = createHook(\"rtg\" /* RENDER_TRIGGERED */);\r\nconst onRenderTracked = createHook(\"rtc\" /* RENDER_TRACKED */);\r\nfunction onErrorCaptured(hook, target = currentInstance) {\r\n    injectHook(\"ec\" /* ERROR_CAPTURED */, hook, target);\r\n}\n\nfunction createDuplicateChecker() {\r\n    const cache = Object.create(null);\r\n    return (type, key) => {\r\n        if (cache[key]) {\r\n            warn(`${type} property \"${key}\" is already defined in ${cache[key]}.`);\r\n        }\r\n        else {\r\n            cache[key] = type;\r\n        }\r\n    };\r\n}\r\nlet shouldCacheAccess = true;\r\nfunction applyOptions(instance) {\r\n    const options = resolveMergedOptions(instance);\r\n    const publicThis = instance.proxy;\r\n    const ctx = instance.ctx;\r\n    // do not cache property access on public proxy during state initialization\r\n    shouldCacheAccess = false;\r\n    // call beforeCreate first before accessing other options since\r\n    // the hook may mutate resolved options (#2791)\r\n    if (options.beforeCreate) {\r\n        callHook(options.beforeCreate, instance, \"bc\" /* BEFORE_CREATE */);\r\n    }\r\n    const { \r\n    // state\r\n    data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions, \r\n    // lifecycle\r\n    created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch, \r\n    // public API\r\n    expose, inheritAttrs, \r\n    // assets\r\n    components, directives, filters } = options;\r\n    const checkDuplicateProperties = (process.env.NODE_ENV !== 'production') ? createDuplicateChecker() : null;\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        const [propsOptions] = instance.propsOptions;\r\n        if (propsOptions) {\r\n            for (const key in propsOptions) {\r\n                checkDuplicateProperties(\"Props\" /* PROPS */, key);\r\n            }\r\n        }\r\n    }\r\n    // options initialization order (to be consistent with Vue 2):\r\n    // - props (already done outside of this function)\r\n    // - inject\r\n    // - methods\r\n    // - data (deferred since it relies on `this` access)\r\n    // - computed\r\n    // - watch (deferred since it relies on `this` access)\r\n    if (injectOptions) {\r\n        resolveInjections(injectOptions, ctx, checkDuplicateProperties, instance.appContext.config.unwrapInjectedRef);\r\n    }\r\n    if (methods) {\r\n        for (const key in methods) {\r\n            const methodHandler = methods[key];\r\n            if (isFunction$1(methodHandler)) {\r\n                // In dev mode, we use the `createRenderContext` function to define\r\n                // methods to the proxy target, and those are read-only but\r\n                // reconfigurable, so it needs to be redefined here\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    Object.defineProperty(ctx, key, {\r\n                        value: methodHandler.bind(publicThis),\r\n                        configurable: true,\r\n                        enumerable: true,\r\n                        writable: true\r\n                    });\r\n                }\r\n                else {\r\n                    ctx[key] = methodHandler.bind(publicThis);\r\n                }\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    checkDuplicateProperties(\"Methods\" /* METHODS */, key);\r\n                }\r\n            }\r\n            else if ((process.env.NODE_ENV !== 'production')) {\r\n                warn(`Method \"${key}\" has type \"${typeof methodHandler}\" in the component definition. ` +\r\n                    `Did you reference the function correctly?`);\r\n            }\r\n        }\r\n    }\r\n    if (dataOptions) {\r\n        if ((process.env.NODE_ENV !== 'production') && !isFunction$1(dataOptions)) {\r\n            warn(`The data option must be a function. ` +\r\n                `Plain object usage is no longer supported.`);\r\n        }\r\n        const data = dataOptions.call(publicThis, publicThis);\r\n        if ((process.env.NODE_ENV !== 'production') && isPromise$1(data)) {\r\n            warn(`data() returned a Promise - note data() cannot be async; If you ` +\r\n                `intend to perform data fetching before component renders, use ` +\r\n                `async setup() + <Suspense>.`);\r\n        }\r\n        if (!isObject$1(data)) {\r\n            (process.env.NODE_ENV !== 'production') && warn(`data() should return an object.`);\r\n        }\r\n        else {\r\n            instance.data = reactive(data);\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                for (const key in data) {\r\n                    checkDuplicateProperties(\"Data\" /* DATA */, key);\r\n                    // expose data on ctx during dev\r\n                    if (key[0] !== '$' && key[0] !== '_') {\r\n                        Object.defineProperty(ctx, key, {\r\n                            configurable: true,\r\n                            enumerable: true,\r\n                            get: () => data[key],\r\n                            set: NOOP\r\n                        });\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    // state initialization complete at this point - start caching access\r\n    shouldCacheAccess = true;\r\n    if (computedOptions) {\r\n        for (const key in computedOptions) {\r\n            const opt = computedOptions[key];\r\n            const get = isFunction$1(opt)\r\n                ? opt.bind(publicThis, publicThis)\r\n                : isFunction$1(opt.get)\r\n                    ? opt.get.bind(publicThis, publicThis)\r\n                    : NOOP;\r\n            if ((process.env.NODE_ENV !== 'production') && get === NOOP) {\r\n                warn(`Computed property \"${key}\" has no getter.`);\r\n            }\r\n            const set = !isFunction$1(opt) && isFunction$1(opt.set)\r\n                ? opt.set.bind(publicThis)\r\n                : (process.env.NODE_ENV !== 'production')\r\n                    ? () => {\r\n                        warn(`Write operation failed: computed property \"${key}\" is readonly.`);\r\n                    }\r\n                    : NOOP;\r\n            const c = computed({\r\n                get,\r\n                set\r\n            });\r\n            Object.defineProperty(ctx, key, {\r\n                enumerable: true,\r\n                configurable: true,\r\n                get: () => c.value,\r\n                set: v => (c.value = v)\r\n            });\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                checkDuplicateProperties(\"Computed\" /* COMPUTED */, key);\r\n            }\r\n        }\r\n    }\r\n    if (watchOptions) {\r\n        for (const key in watchOptions) {\r\n            createWatcher(watchOptions[key], ctx, publicThis, key);\r\n        }\r\n    }\r\n    if (provideOptions) {\r\n        const provides = isFunction$1(provideOptions)\r\n            ? provideOptions.call(publicThis)\r\n            : provideOptions;\r\n        Reflect.ownKeys(provides).forEach(key => {\r\n            provide(key, provides[key]);\r\n        });\r\n    }\r\n    if (created) {\r\n        callHook(created, instance, \"c\" /* CREATED */);\r\n    }\r\n    function registerLifecycleHook(register, hook) {\r\n        if (isArray(hook)) {\r\n            hook.forEach(_hook => register(_hook.bind(publicThis)));\r\n        }\r\n        else if (hook) {\r\n            register(hook.bind(publicThis));\r\n        }\r\n    }\r\n    registerLifecycleHook(onBeforeMount, beforeMount);\r\n    registerLifecycleHook(onMounted, mounted);\r\n    registerLifecycleHook(onBeforeUpdate, beforeUpdate);\r\n    registerLifecycleHook(onUpdated, updated);\r\n    registerLifecycleHook(onActivated, activated);\r\n    registerLifecycleHook(onDeactivated, deactivated);\r\n    registerLifecycleHook(onErrorCaptured, errorCaptured);\r\n    registerLifecycleHook(onRenderTracked, renderTracked);\r\n    registerLifecycleHook(onRenderTriggered, renderTriggered);\r\n    registerLifecycleHook(onBeforeUnmount, beforeUnmount);\r\n    registerLifecycleHook(onUnmounted, unmounted);\r\n    registerLifecycleHook(onServerPrefetch, serverPrefetch);\r\n    if (isArray(expose)) {\r\n        if (expose.length) {\r\n            const exposed = instance.exposed || (instance.exposed = {});\r\n            expose.forEach(key => {\r\n                Object.defineProperty(exposed, key, {\r\n                    get: () => publicThis[key],\r\n                    set: val => (publicThis[key] = val)\r\n                });\r\n            });\r\n        }\r\n        else if (!instance.exposed) {\r\n            instance.exposed = {};\r\n        }\r\n    }\r\n    // options that are handled when creating the instance but also need to be\r\n    // applied from mixins\r\n    if (render && instance.render === NOOP) {\r\n        instance.render = render;\r\n    }\r\n    if (inheritAttrs != null) {\r\n        instance.inheritAttrs = inheritAttrs;\r\n    }\r\n    // asset options.\r\n    if (components)\r\n        instance.components = components;\r\n    if (directives)\r\n        instance.directives = directives;\r\n}\r\nfunction resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP, unwrapRef = false) {\r\n    if (isArray(injectOptions)) {\r\n        injectOptions = normalizeInject(injectOptions);\r\n    }\r\n    for (const key in injectOptions) {\r\n        const opt = injectOptions[key];\r\n        let injected;\r\n        if (isObject$1(opt)) {\r\n            if ('default' in opt) {\r\n                injected = inject(opt.from || key, opt.default, true /* treat default function as factory */);\r\n            }\r\n            else {\r\n                injected = inject(opt.from || key);\r\n            }\r\n        }\r\n        else {\r\n            injected = inject(opt);\r\n        }\r\n        if (isRef(injected)) {\r\n            // TODO remove the check in 3.3\r\n            if (unwrapRef) {\r\n                Object.defineProperty(ctx, key, {\r\n                    enumerable: true,\r\n                    configurable: true,\r\n                    get: () => injected.value,\r\n                    set: v => (injected.value = v)\r\n                });\r\n            }\r\n            else {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`injected property \"${key}\" is a ref and will be auto-unwrapped ` +\r\n                        `and no longer needs \\`.value\\` in the next minor release. ` +\r\n                        `To opt-in to the new behavior now, ` +\r\n                        `set \\`app.config.unwrapInjectedRef = true\\` (this config is ` +\r\n                        `temporary and will not be needed in the future.)`);\r\n                }\r\n                ctx[key] = injected;\r\n            }\r\n        }\r\n        else {\r\n            ctx[key] = injected;\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            checkDuplicateProperties(\"Inject\" /* INJECT */, key);\r\n        }\r\n    }\r\n}\r\nfunction callHook(hook, instance, type) {\r\n    callWithAsyncErrorHandling(isArray(hook)\r\n        ? hook.map(h => h.bind(instance.proxy))\r\n        : hook.bind(instance.proxy), instance, type);\r\n}\r\nfunction createWatcher(raw, ctx, publicThis, key) {\r\n    const getter = key.includes('.')\r\n        ? createPathGetter(publicThis, key)\r\n        : () => publicThis[key];\r\n    if (isString(raw)) {\r\n        const handler = ctx[raw];\r\n        if (isFunction$1(handler)) {\r\n            watch(getter, handler);\r\n        }\r\n        else if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`Invalid watch handler specified by key \"${raw}\"`, handler);\r\n        }\r\n    }\r\n    else if (isFunction$1(raw)) {\r\n        watch(getter, raw.bind(publicThis));\r\n    }\r\n    else if (isObject$1(raw)) {\r\n        if (isArray(raw)) {\r\n            raw.forEach(r => createWatcher(r, ctx, publicThis, key));\r\n        }\r\n        else {\r\n            const handler = isFunction$1(raw.handler)\r\n                ? raw.handler.bind(publicThis)\r\n                : ctx[raw.handler];\r\n            if (isFunction$1(handler)) {\r\n                watch(getter, handler, raw);\r\n            }\r\n            else if ((process.env.NODE_ENV !== 'production')) {\r\n                warn(`Invalid watch handler specified by key \"${raw.handler}\"`, handler);\r\n            }\r\n        }\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn(`Invalid watch option: \"${key}\"`, raw);\r\n    }\r\n}\r\n/**\r\n * Resolve merged options and cache it on the component.\r\n * This is done only once per-component since the merging does not involve\r\n * instances.\r\n */\r\nfunction resolveMergedOptions(instance) {\r\n    const base = instance.type;\r\n    const { mixins, extends: extendsOptions } = base;\r\n    const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;\r\n    const cached = cache.get(base);\r\n    let resolved;\r\n    if (cached) {\r\n        resolved = cached;\r\n    }\r\n    else if (!globalMixins.length && !mixins && !extendsOptions) {\r\n        {\r\n            resolved = base;\r\n        }\r\n    }\r\n    else {\r\n        resolved = {};\r\n        if (globalMixins.length) {\r\n            globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));\r\n        }\r\n        mergeOptions(resolved, base, optionMergeStrategies);\r\n    }\r\n    cache.set(base, resolved);\r\n    return resolved;\r\n}\r\nfunction mergeOptions(to, from, strats, asMixin = false) {\r\n    const { mixins, extends: extendsOptions } = from;\r\n    if (extendsOptions) {\r\n        mergeOptions(to, extendsOptions, strats, true);\r\n    }\r\n    if (mixins) {\r\n        mixins.forEach((m) => mergeOptions(to, m, strats, true));\r\n    }\r\n    for (const key in from) {\r\n        if (asMixin && key === 'expose') {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`\"expose\" option is ignored when declared in mixins or extends. ` +\r\n                    `It should only be declared in the base component itself.`);\r\n        }\r\n        else {\r\n            const strat = internalOptionMergeStrats[key] || (strats && strats[key]);\r\n            to[key] = strat ? strat(to[key], from[key]) : from[key];\r\n        }\r\n    }\r\n    return to;\r\n}\r\nconst internalOptionMergeStrats = {\r\n    data: mergeDataFn,\r\n    props: mergeObjectOptions,\r\n    emits: mergeObjectOptions,\r\n    // objects\r\n    methods: mergeObjectOptions,\r\n    computed: mergeObjectOptions,\r\n    // lifecycle\r\n    beforeCreate: mergeAsArray,\r\n    created: mergeAsArray,\r\n    beforeMount: mergeAsArray,\r\n    mounted: mergeAsArray,\r\n    beforeUpdate: mergeAsArray,\r\n    updated: mergeAsArray,\r\n    beforeDestroy: mergeAsArray,\r\n    beforeUnmount: mergeAsArray,\r\n    destroyed: mergeAsArray,\r\n    unmounted: mergeAsArray,\r\n    activated: mergeAsArray,\r\n    deactivated: mergeAsArray,\r\n    errorCaptured: mergeAsArray,\r\n    serverPrefetch: mergeAsArray,\r\n    // assets\r\n    components: mergeObjectOptions,\r\n    directives: mergeObjectOptions,\r\n    // watch\r\n    watch: mergeWatchOptions,\r\n    // provide / inject\r\n    provide: mergeDataFn,\r\n    inject: mergeInject\r\n};\r\nfunction mergeDataFn(to, from) {\r\n    if (!from) {\r\n        return to;\r\n    }\r\n    if (!to) {\r\n        return from;\r\n    }\r\n    return function mergedDataFn() {\r\n        return (extend)(isFunction$1(to) ? to.call(this, this) : to, isFunction$1(from) ? from.call(this, this) : from);\r\n    };\r\n}\r\nfunction mergeInject(to, from) {\r\n    return mergeObjectOptions(normalizeInject(to), normalizeInject(from));\r\n}\r\nfunction normalizeInject(raw) {\r\n    if (isArray(raw)) {\r\n        const res = {};\r\n        for (let i = 0; i < raw.length; i++) {\r\n            res[raw[i]] = raw[i];\r\n        }\r\n        return res;\r\n    }\r\n    return raw;\r\n}\r\nfunction mergeAsArray(to, from) {\r\n    return to ? [...new Set([].concat(to, from))] : from;\r\n}\r\nfunction mergeObjectOptions(to, from) {\r\n    return to ? extend(extend(Object.create(null), to), from) : from;\r\n}\r\nfunction mergeWatchOptions(to, from) {\r\n    if (!to)\r\n        return from;\r\n    if (!from)\r\n        return to;\r\n    const merged = extend(Object.create(null), to);\r\n    for (const key in from) {\r\n        merged[key] = mergeAsArray(to[key], from[key]);\r\n    }\r\n    return merged;\r\n}\n\nfunction initProps(instance, rawProps, isStateful, // result of bitwise flag comparison\r\nisSSR = false) {\r\n    const props = {};\r\n    const attrs = {};\r\n    def(attrs, InternalObjectKey, 1);\r\n    instance.propsDefaults = Object.create(null);\r\n    setFullProps(instance, rawProps, props, attrs);\r\n    // ensure all declared prop keys are present\r\n    for (const key in instance.propsOptions[0]) {\r\n        if (!(key in props)) {\r\n            props[key] = undefined;\r\n        }\r\n    }\r\n    // validation\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        validateProps(rawProps || {}, props, instance);\r\n    }\r\n    if (isStateful) {\r\n        // stateful\r\n        instance.props = isSSR ? props : shallowReactive(props);\r\n    }\r\n    else {\r\n        if (!instance.type.props) {\r\n            // functional w/ optional props, props === attrs\r\n            instance.props = attrs;\r\n        }\r\n        else {\r\n            // functional w/ declared props\r\n            instance.props = props;\r\n        }\r\n    }\r\n    instance.attrs = attrs;\r\n}\r\nfunction updateProps(instance, rawProps, rawPrevProps, optimized) {\r\n    const { props, attrs, vnode: { patchFlag } } = instance;\r\n    const rawCurrentProps = toRaw(props);\r\n    const [options] = instance.propsOptions;\r\n    let hasAttrsChanged = false;\r\n    if (\r\n    // always force full diff in dev\r\n    // - #1942 if hmr is enabled with sfc component\r\n    // - vite#872 non-sfc component used by sfc component\r\n    !((process.env.NODE_ENV !== 'production') &&\r\n        (instance.type.__hmrId ||\r\n            (instance.parent && instance.parent.type.__hmrId))) &&\r\n        (optimized || patchFlag > 0) &&\r\n        !(patchFlag & 16 /* FULL_PROPS */)) {\r\n        if (patchFlag & 8 /* PROPS */) {\r\n            // Compiler-generated props & no keys change, just set the updated\r\n            // the props.\r\n            const propsToUpdate = instance.vnode.dynamicProps;\r\n            for (let i = 0; i < propsToUpdate.length; i++) {\r\n                let key = propsToUpdate[i];\r\n                // PROPS flag guarantees rawProps to be non-null\r\n                const value = rawProps[key];\r\n                if (options) {\r\n                    // attr / props separation was done on init and will be consistent\r\n                    // in this code path, so just check if attrs have it.\r\n                    if (hasOwn(attrs, key)) {\r\n                        if (value !== attrs[key]) {\r\n                            attrs[key] = value;\r\n                            hasAttrsChanged = true;\r\n                        }\r\n                    }\r\n                    else {\r\n                        const camelizedKey = camelize(key);\r\n                        props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);\r\n                    }\r\n                }\r\n                else {\r\n                    if (value !== attrs[key]) {\r\n                        attrs[key] = value;\r\n                        hasAttrsChanged = true;\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        // full props update.\r\n        if (setFullProps(instance, rawProps, props, attrs)) {\r\n            hasAttrsChanged = true;\r\n        }\r\n        // in case of dynamic props, check if we need to delete keys from\r\n        // the props object\r\n        let kebabKey;\r\n        for (const key in rawCurrentProps) {\r\n            if (!rawProps ||\r\n                // for camelCase\r\n                (!hasOwn(rawProps, key) &&\r\n                    // it's possible the original props was passed in as kebab-case\r\n                    // and converted to camelCase (#955)\r\n                    ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey)))) {\r\n                if (options) {\r\n                    if (rawPrevProps &&\r\n                        // for camelCase\r\n                        (rawPrevProps[key] !== undefined ||\r\n                            // for kebab-case\r\n                            rawPrevProps[kebabKey] !== undefined)) {\r\n                        props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);\r\n                    }\r\n                }\r\n                else {\r\n                    delete props[key];\r\n                }\r\n            }\r\n        }\r\n        // in the case of functional component w/o props declaration, props and\r\n        // attrs point to the same object so it should already have been updated.\r\n        if (attrs !== rawCurrentProps) {\r\n            for (const key in attrs) {\r\n                if (!rawProps || !hasOwn(rawProps, key)) {\r\n                    delete attrs[key];\r\n                    hasAttrsChanged = true;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    // trigger updates for $attrs in case it's used in component slots\r\n    if (hasAttrsChanged) {\r\n        trigger(instance, \"set\" /* SET */, '$attrs');\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        validateProps(rawProps || {}, props, instance);\r\n    }\r\n}\r\nfunction setFullProps(instance, rawProps, props, attrs) {\r\n    const [options, needCastKeys] = instance.propsOptions;\r\n    let hasAttrsChanged = false;\r\n    let rawCastValues;\r\n    if (rawProps) {\r\n        for (let key in rawProps) {\r\n            // key, ref are reserved and never passed down\r\n            if (isReservedProp(key)) {\r\n                continue;\r\n            }\r\n            const value = rawProps[key];\r\n            // prop option names are camelized during normalization, so to support\r\n            // kebab -> camel conversion here we need to camelize the key.\r\n            let camelKey;\r\n            if (options && hasOwn(options, (camelKey = camelize(key)))) {\r\n                if (!needCastKeys || !needCastKeys.includes(camelKey)) {\r\n                    props[camelKey] = value;\r\n                }\r\n                else {\r\n                    (rawCastValues || (rawCastValues = {}))[camelKey] = value;\r\n                }\r\n            }\r\n            else if (!isEmitListener(instance.emitsOptions, key)) {\r\n                if (value !== attrs[key]) {\r\n                    attrs[key] = value;\r\n                    hasAttrsChanged = true;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    if (needCastKeys) {\r\n        const rawCurrentProps = toRaw(props);\r\n        const castValues = rawCastValues || EMPTY_OBJ;\r\n        for (let i = 0; i < needCastKeys.length; i++) {\r\n            const key = needCastKeys[i];\r\n            props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !hasOwn(castValues, key));\r\n        }\r\n    }\r\n    return hasAttrsChanged;\r\n}\r\nfunction resolvePropValue(options, props, key, value, instance, isAbsent) {\r\n    const opt = options[key];\r\n    if (opt != null) {\r\n        const hasDefault = hasOwn(opt, 'default');\r\n        // default values\r\n        if (hasDefault && value === undefined) {\r\n            const defaultValue = opt.default;\r\n            if (opt.type !== Function && isFunction$1(defaultValue)) {\r\n                const { propsDefaults } = instance;\r\n                if (key in propsDefaults) {\r\n                    value = propsDefaults[key];\r\n                }\r\n                else {\r\n                    setCurrentInstance(instance);\r\n                    value = propsDefaults[key] = defaultValue.call(null, props);\r\n                    unsetCurrentInstance();\r\n                }\r\n            }\r\n            else {\r\n                value = defaultValue;\r\n            }\r\n        }\r\n        // boolean casting\r\n        if (opt[0 /* shouldCast */]) {\r\n            if (isAbsent && !hasDefault) {\r\n                value = false;\r\n            }\r\n            else if (opt[1 /* shouldCastTrue */] &&\r\n                (value === '' || value === hyphenate(key))) {\r\n                value = true;\r\n            }\r\n        }\r\n    }\r\n    return value;\r\n}\r\nfunction normalizePropsOptions(comp, appContext, asMixin = false) {\r\n    const cache = appContext.propsCache;\r\n    const cached = cache.get(comp);\r\n    if (cached) {\r\n        return cached;\r\n    }\r\n    const raw = comp.props;\r\n    const normalized = {};\r\n    const needCastKeys = [];\r\n    // apply mixin/extends props\r\n    let hasExtends = false;\r\n    if (__VUE_OPTIONS_API__ && !isFunction$1(comp)) {\r\n        const extendProps = (raw) => {\r\n            hasExtends = true;\r\n            const [props, keys] = normalizePropsOptions(raw, appContext, true);\r\n            extend(normalized, props);\r\n            if (keys)\r\n                needCastKeys.push(...keys);\r\n        };\r\n        if (!asMixin && appContext.mixins.length) {\r\n            appContext.mixins.forEach(extendProps);\r\n        }\r\n        if (comp.extends) {\r\n            extendProps(comp.extends);\r\n        }\r\n        if (comp.mixins) {\r\n            comp.mixins.forEach(extendProps);\r\n        }\r\n    }\r\n    if (!raw && !hasExtends) {\r\n        cache.set(comp, EMPTY_ARR);\r\n        return EMPTY_ARR;\r\n    }\r\n    if (isArray(raw)) {\r\n        for (let i = 0; i < raw.length; i++) {\r\n            if ((process.env.NODE_ENV !== 'production') && !isString(raw[i])) {\r\n                warn(`props must be strings when using array syntax.`, raw[i]);\r\n            }\r\n            const normalizedKey = camelize(raw[i]);\r\n            if (validatePropName(normalizedKey)) {\r\n                normalized[normalizedKey] = EMPTY_OBJ;\r\n            }\r\n        }\r\n    }\r\n    else if (raw) {\r\n        if ((process.env.NODE_ENV !== 'production') && !isObject$1(raw)) {\r\n            warn(`invalid props options`, raw);\r\n        }\r\n        for (const key in raw) {\r\n            const normalizedKey = camelize(key);\r\n            if (validatePropName(normalizedKey)) {\r\n                const opt = raw[key];\r\n                const prop = (normalized[normalizedKey] =\r\n                    isArray(opt) || isFunction$1(opt) ? { type: opt } : opt);\r\n                if (prop) {\r\n                    const booleanIndex = getTypeIndex(Boolean, prop.type);\r\n                    const stringIndex = getTypeIndex(String, prop.type);\r\n                    prop[0 /* shouldCast */] = booleanIndex > -1;\r\n                    prop[1 /* shouldCastTrue */] =\r\n                        stringIndex < 0 || booleanIndex < stringIndex;\r\n                    // if the prop needs boolean casting or default value\r\n                    if (booleanIndex > -1 || hasOwn(prop, 'default')) {\r\n                        needCastKeys.push(normalizedKey);\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    const res = [normalized, needCastKeys];\r\n    cache.set(comp, res);\r\n    return res;\r\n}\r\nfunction validatePropName(key) {\r\n    if (key[0] !== '$') {\r\n        return true;\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn(`Invalid prop name: \"${key}\" is a reserved property.`);\r\n    }\r\n    return false;\r\n}\r\n// use function string name to check type constructors\r\n// so that it works across vms / iframes.\r\nfunction getType(ctor) {\r\n    const match = ctor && ctor.toString().match(/^\\s*function (\\w+)/);\r\n    return match ? match[1] : ctor === null ? 'null' : '';\r\n}\r\nfunction isSameType(a, b) {\r\n    return getType(a) === getType(b);\r\n}\r\nfunction getTypeIndex(type, expectedTypes) {\r\n    if (isArray(expectedTypes)) {\r\n        return expectedTypes.findIndex(t => isSameType(t, type));\r\n    }\r\n    else if (isFunction$1(expectedTypes)) {\r\n        return isSameType(expectedTypes, type) ? 0 : -1;\r\n    }\r\n    return -1;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProps(rawProps, props, instance) {\r\n    const resolvedValues = toRaw(props);\r\n    const options = instance.propsOptions[0];\r\n    for (const key in options) {\r\n        let opt = options[key];\r\n        if (opt == null)\r\n            continue;\r\n        validateProp(key, resolvedValues[key], opt, !hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key)));\r\n    }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProp(name, value, prop, isAbsent) {\r\n    const { type, required, validator } = prop;\r\n    // required!\r\n    if (required && isAbsent) {\r\n        warn('Missing required prop: \"' + name + '\"');\r\n        return;\r\n    }\r\n    // missing but optional\r\n    if (value == null && !prop.required) {\r\n        return;\r\n    }\r\n    // type check\r\n    if (type != null && type !== true) {\r\n        let isValid = false;\r\n        const types = isArray(type) ? type : [type];\r\n        const expectedTypes = [];\r\n        // value is valid as long as one of the specified types match\r\n        for (let i = 0; i < types.length && !isValid; i++) {\r\n            const { valid, expectedType } = assertType(value, types[i]);\r\n            expectedTypes.push(expectedType || '');\r\n            isValid = valid;\r\n        }\r\n        if (!isValid) {\r\n            warn(getInvalidTypeMessage(name, value, expectedTypes));\r\n            return;\r\n        }\r\n    }\r\n    // custom validator\r\n    if (validator && !validator(value)) {\r\n        warn('Invalid prop: custom validator check failed for prop \"' + name + '\".');\r\n    }\r\n}\r\nconst isSimpleType = /*#__PURE__*/ makeMap('String,Number,Boolean,Function,Symbol,BigInt');\r\n/**\r\n * dev only\r\n */\r\nfunction assertType(value, type) {\r\n    let valid;\r\n    const expectedType = getType(type);\r\n    if (isSimpleType(expectedType)) {\r\n        const t = typeof value;\r\n        valid = t === expectedType.toLowerCase();\r\n        // for primitive wrapper objects\r\n        if (!valid && t === 'object') {\r\n            valid = value instanceof type;\r\n        }\r\n    }\r\n    else if (expectedType === 'Object') {\r\n        valid = isObject$1(value);\r\n    }\r\n    else if (expectedType === 'Array') {\r\n        valid = isArray(value);\r\n    }\r\n    else if (expectedType === 'null') {\r\n        valid = value === null;\r\n    }\r\n    else {\r\n        valid = value instanceof type;\r\n    }\r\n    return {\r\n        valid,\r\n        expectedType\r\n    };\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\r\n    let message = `Invalid prop: type check failed for prop \"${name}\".` +\r\n        ` Expected ${expectedTypes.map(capitalize).join(' | ')}`;\r\n    const expectedType = expectedTypes[0];\r\n    const receivedType = toRawType(value);\r\n    const expectedValue = styleValue(value, expectedType);\r\n    const receivedValue = styleValue(value, receivedType);\r\n    // check if we need to specify expected value\r\n    if (expectedTypes.length === 1 &&\r\n        isExplicable(expectedType) &&\r\n        !isBoolean(expectedType, receivedType)) {\r\n        message += ` with value ${expectedValue}`;\r\n    }\r\n    message += `, got ${receivedType} `;\r\n    // check if we need to specify received value\r\n    if (isExplicable(receivedType)) {\r\n        message += `with value ${receivedValue}.`;\r\n    }\r\n    return message;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction styleValue(value, type) {\r\n    if (type === 'String') {\r\n        return `\"${value}\"`;\r\n    }\r\n    else if (type === 'Number') {\r\n        return `${Number(value)}`;\r\n    }\r\n    else {\r\n        return `${value}`;\r\n    }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isExplicable(type) {\r\n    const explicitTypes = ['string', 'number', 'boolean'];\r\n    return explicitTypes.some(elem => type.toLowerCase() === elem);\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isBoolean(...args) {\r\n    return args.some(elem => elem.toLowerCase() === 'boolean');\r\n}\n\nconst isInternalKey = (key) => key[0] === '_' || key === '$stable';\r\nconst normalizeSlotValue = (value) => isArray(value)\r\n    ? value.map(normalizeVNode)\r\n    : [normalizeVNode(value)];\r\nconst normalizeSlot = (key, rawSlot, ctx) => {\r\n    const normalized = withCtx((...args) => {\r\n        if ((process.env.NODE_ENV !== 'production') && currentInstance) {\r\n            warn(`Slot \"${key}\" invoked outside of the render function: ` +\r\n                `this will not track dependencies used in the slot. ` +\r\n                `Invoke the slot function inside the render function instead.`);\r\n        }\r\n        return normalizeSlotValue(rawSlot(...args));\r\n    }, ctx);\r\n    normalized._c = false;\r\n    return normalized;\r\n};\r\nconst normalizeObjectSlots = (rawSlots, slots, instance) => {\r\n    const ctx = rawSlots._ctx;\r\n    for (const key in rawSlots) {\r\n        if (isInternalKey(key))\r\n            continue;\r\n        const value = rawSlots[key];\r\n        if (isFunction$1(value)) {\r\n            slots[key] = normalizeSlot(key, value, ctx);\r\n        }\r\n        else if (value != null) {\r\n            if ((process.env.NODE_ENV !== 'production') &&\r\n                !(false )) {\r\n                warn(`Non-function value encountered for slot \"${key}\". ` +\r\n                    `Prefer function slots for better performance.`);\r\n            }\r\n            const normalized = normalizeSlotValue(value);\r\n            slots[key] = () => normalized;\r\n        }\r\n    }\r\n};\r\nconst normalizeVNodeSlots = (instance, children) => {\r\n    if ((process.env.NODE_ENV !== 'production') &&\r\n        !isKeepAlive(instance.vnode) &&\r\n        !(false )) {\r\n        warn(`Non-function value encountered for default slot. ` +\r\n            `Prefer function slots for better performance.`);\r\n    }\r\n    const normalized = normalizeSlotValue(children);\r\n    instance.slots.default = () => normalized;\r\n};\r\nconst initSlots = (instance, children) => {\r\n    if (instance.vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n        const type = children._;\r\n        if (type) {\r\n            // users can get the shallow readonly version of the slots object through `this.$slots`,\r\n            // we should avoid the proxy object polluting the slots of the internal instance\r\n            instance.slots = toRaw(children);\r\n            // make compiler marker non-enumerable\r\n            def(children, '_', type);\r\n        }\r\n        else {\r\n            normalizeObjectSlots(children, (instance.slots = {}));\r\n        }\r\n    }\r\n    else {\r\n        instance.slots = {};\r\n        if (children) {\r\n            normalizeVNodeSlots(instance, children);\r\n        }\r\n    }\r\n    def(instance.slots, InternalObjectKey, 1);\r\n};\r\nconst updateSlots = (instance, children, optimized) => {\r\n    const { vnode, slots } = instance;\r\n    let needDeletionCheck = true;\r\n    let deletionComparisonTarget = EMPTY_OBJ;\r\n    if (vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n        const type = children._;\r\n        if (type) {\r\n            // compiled slots.\r\n            if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n                // Parent was HMR updated so slot content may have changed.\r\n                // force update slots and mark instance for hmr as well\r\n                extend(slots, children);\r\n            }\r\n            else if (optimized && type === 1 /* STABLE */) {\r\n                // compiled AND stable.\r\n                // no need to update, and skip stale slots removal.\r\n                needDeletionCheck = false;\r\n            }\r\n            else {\r\n                // compiled but dynamic (v-if/v-for on slots) - update slots, but skip\r\n                // normalization.\r\n                extend(slots, children);\r\n                // #2893\r\n                // when rendering the optimized slots by manually written render function,\r\n                // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,\r\n                // i.e. let the `renderSlot` create the bailed Fragment\r\n                if (!optimized && type === 1 /* STABLE */) {\r\n                    delete slots._;\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            needDeletionCheck = !children.$stable;\r\n            normalizeObjectSlots(children, slots);\r\n        }\r\n        deletionComparisonTarget = children;\r\n    }\r\n    else if (children) {\r\n        // non slot object children (direct value) passed to a component\r\n        normalizeVNodeSlots(instance, children);\r\n        deletionComparisonTarget = { default: 1 };\r\n    }\r\n    // delete stale slots\r\n    if (needDeletionCheck) {\r\n        for (const key in slots) {\r\n            if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {\r\n                delete slots[key];\r\n            }\r\n        }\r\n    }\r\n};\n\n/**\r\nRuntime helper for applying directives to a vnode. Example usage:\r\n\nconst comp = resolveComponent('comp')\r\nconst foo = resolveDirective('foo')\r\nconst bar = resolveDirective('bar')\r\n\nreturn withDirectives(h(comp), [\r\n  [foo, this.x],\r\n  [bar, this.y]\r\n])\r\n*/\r\nconst isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text');\r\nfunction validateDirectiveName(name) {\r\n    if (isBuiltInDirective(name)) {\r\n        warn('Do not use built-in directive ids as custom directive id: ' + name);\r\n    }\r\n}\r\n/**\r\n * Adds directives to a VNode.\r\n */\r\nfunction withDirectives(vnode, directives) {\r\n    const internalInstance = currentRenderingInstance;\r\n    if (internalInstance === null) {\r\n        (process.env.NODE_ENV !== 'production') && warn(`withDirectives can only be used inside render functions.`);\r\n        return vnode;\r\n    }\r\n    const instance = internalInstance.proxy;\r\n    const bindings = vnode.dirs || (vnode.dirs = []);\r\n    for (let i = 0; i < directives.length; i++) {\r\n        let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\r\n        if (isFunction$1(dir)) {\r\n            dir = {\r\n                mounted: dir,\r\n                updated: dir\r\n            };\r\n        }\r\n        if (dir.deep) {\r\n            traverse(value);\r\n        }\r\n        bindings.push({\r\n            dir,\r\n            instance,\r\n            value,\r\n            oldValue: void 0,\r\n            arg,\r\n            modifiers\r\n        });\r\n    }\r\n    return vnode;\r\n}\r\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\r\n    const bindings = vnode.dirs;\r\n    const oldBindings = prevVNode && prevVNode.dirs;\r\n    for (let i = 0; i < bindings.length; i++) {\r\n        const binding = bindings[i];\r\n        if (oldBindings) {\r\n            binding.oldValue = oldBindings[i].value;\r\n        }\r\n        let hook = binding.dir[name];\r\n        if (hook) {\r\n            // disable tracking inside all lifecycle hooks\r\n            // since they can potentially be called inside effects.\r\n            pauseTracking();\r\n            callWithAsyncErrorHandling(hook, instance, 8 /* DIRECTIVE_HOOK */, [\r\n                vnode.el,\r\n                binding,\r\n                vnode,\r\n                prevVNode\r\n            ]);\r\n            resetTracking();\r\n        }\r\n    }\r\n}\n\nfunction createAppContext() {\r\n    return {\r\n        app: null,\r\n        config: {\r\n            isNativeTag: NO,\r\n            performance: false,\r\n            globalProperties: {},\r\n            optionMergeStrategies: {},\r\n            errorHandler: undefined,\r\n            warnHandler: undefined,\r\n            compilerOptions: {}\r\n        },\r\n        mixins: [],\r\n        components: {},\r\n        directives: {},\r\n        provides: Object.create(null),\r\n        optionsCache: new WeakMap(),\r\n        propsCache: new WeakMap(),\r\n        emitsCache: new WeakMap()\r\n    };\r\n}\r\nlet uid = 0;\r\nfunction createAppAPI(render, hydrate) {\r\n    return function createApp(rootComponent, rootProps = null) {\r\n        if (rootProps != null && !isObject$1(rootProps)) {\r\n            (process.env.NODE_ENV !== 'production') && warn(`root props passed to app.mount() must be an object.`);\r\n            rootProps = null;\r\n        }\r\n        const context = createAppContext();\r\n        const installedPlugins = new Set();\r\n        let isMounted = false;\r\n        const app = (context.app = {\r\n            _uid: uid++,\r\n            _component: rootComponent,\r\n            _props: rootProps,\r\n            _container: null,\r\n            _context: context,\r\n            _instance: null,\r\n            version,\r\n            get config() {\r\n                return context.config;\r\n            },\r\n            set config(v) {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`app.config cannot be replaced. Modify individual options instead.`);\r\n                }\r\n            },\r\n            use(plugin, ...options) {\r\n                if (installedPlugins.has(plugin)) {\r\n                    (process.env.NODE_ENV !== 'production') && warn(`Plugin has already been applied to target app.`);\r\n                }\r\n                else if (plugin && isFunction$1(plugin.install)) {\r\n                    installedPlugins.add(plugin);\r\n                    plugin.install(app, ...options);\r\n                }\r\n                else if (isFunction$1(plugin)) {\r\n                    installedPlugins.add(plugin);\r\n                    plugin(app, ...options);\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`A plugin must either be a function or an object with an \"install\" ` +\r\n                        `function.`);\r\n                }\r\n                return app;\r\n            },\r\n            mixin(mixin) {\r\n                if (__VUE_OPTIONS_API__) {\r\n                    if (!context.mixins.includes(mixin)) {\r\n                        context.mixins.push(mixin);\r\n                    }\r\n                    else if ((process.env.NODE_ENV !== 'production')) {\r\n                        warn('Mixin has already been applied to target app' +\r\n                            (mixin.name ? `: ${mixin.name}` : ''));\r\n                    }\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn('Mixins are only available in builds supporting Options API');\r\n                }\r\n                return app;\r\n            },\r\n            component(name, component) {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    validateComponentName(name, context.config);\r\n                }\r\n                if (!component) {\r\n                    return context.components[name];\r\n                }\r\n                if ((process.env.NODE_ENV !== 'production') && context.components[name]) {\r\n                    warn(`Component \"${name}\" has already been registered in target app.`);\r\n                }\r\n                context.components[name] = component;\r\n                return app;\r\n            },\r\n            directive(name, directive) {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    validateDirectiveName(name);\r\n                }\r\n                if (!directive) {\r\n                    return context.directives[name];\r\n                }\r\n                if ((process.env.NODE_ENV !== 'production') && context.directives[name]) {\r\n                    warn(`Directive \"${name}\" has already been registered in target app.`);\r\n                }\r\n                context.directives[name] = directive;\r\n                return app;\r\n            },\r\n            mount(rootContainer, isHydrate, isSVG) {\r\n                if (!isMounted) {\r\n                    const vnode = createVNode(rootComponent, rootProps);\r\n                    // store app context on the root VNode.\r\n                    // this will be set on the root instance on initial mount.\r\n                    vnode.appContext = context;\r\n                    // HMR root reload\r\n                    if ((process.env.NODE_ENV !== 'production')) {\r\n                        context.reload = () => {\r\n                            render(cloneVNode(vnode), rootContainer, isSVG);\r\n                        };\r\n                    }\r\n                    if (isHydrate && hydrate) {\r\n                        hydrate(vnode, rootContainer);\r\n                    }\r\n                    else {\r\n                        render(vnode, rootContainer, isSVG);\r\n                    }\r\n                    isMounted = true;\r\n                    app._container = rootContainer;\r\n                    rootContainer.__vue_app__ = app;\r\n                    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                        app._instance = vnode.component;\r\n                        devtoolsInitApp(app, version);\r\n                    }\r\n                    return vnode.component.proxy;\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`App has already been mounted.\\n` +\r\n                        `If you want to remount the same app, move your app creation logic ` +\r\n                        `into a factory function and create fresh app instances for each ` +\r\n                        `mount - e.g. \\`const createMyApp = () => createApp(App)\\``);\r\n                }\r\n            },\r\n            unmount() {\r\n                if (isMounted) {\r\n                    render(null, app._container);\r\n                    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                        app._instance = null;\r\n                        devtoolsUnmountApp(app);\r\n                    }\r\n                    delete app._container.__vue_app__;\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`Cannot unmount an app that is not mounted.`);\r\n                }\r\n            },\r\n            provide(key, value) {\r\n                if ((process.env.NODE_ENV !== 'production') && key in context.provides) {\r\n                    warn(`App already provides property with key \"${String(key)}\". ` +\r\n                        `It will be overwritten with the new value.`);\r\n                }\r\n                // TypeScript doesn't allow symbols as index type\r\n                // https://github.com/Microsoft/TypeScript/issues/24587\r\n                context.provides[key] = value;\r\n                return app;\r\n            }\r\n        });\r\n        return app;\r\n    };\r\n}\n\nlet hasMismatch = false;\r\nconst isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';\r\nconst isComment = (node) => node.nodeType === 8 /* COMMENT */;\r\n// Note: hydration is DOM-specific\r\n// But we have to place it in core due to tight coupling with core - splitting\r\n// it out creates a ton of unnecessary complexity.\r\n// Hydration also depends on some renderer internal logic which needs to be\r\n// passed in via arguments.\r\nfunction createHydrationFunctions(rendererInternals) {\r\n    const { mt: mountComponent, p: patch, o: { patchProp, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;\r\n    const hydrate = (vnode, container) => {\r\n        if (!container.hasChildNodes()) {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`Attempting to hydrate existing markup but container is empty. ` +\r\n                    `Performing full mount instead.`);\r\n            patch(null, vnode, container);\r\n            flushPostFlushCbs();\r\n            return;\r\n        }\r\n        hasMismatch = false;\r\n        hydrateNode(container.firstChild, vnode, null, null, null);\r\n        flushPostFlushCbs();\r\n        if (hasMismatch && !false) {\r\n            // this error should show up in production\r\n            console.error(`Hydration completed but contains mismatches.`);\r\n        }\r\n    };\r\n    const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\r\n        const isFragmentStart = isComment(node) && node.data === '[';\r\n        const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);\r\n        const { type, ref, shapeFlag } = vnode;\r\n        const domType = node.nodeType;\r\n        vnode.el = node;\r\n        let nextNode = null;\r\n        switch (type) {\r\n            case Text:\r\n                if (domType !== 3 /* TEXT */) {\r\n                    nextNode = onMismatch();\r\n                }\r\n                else {\r\n                    if (node.data !== vnode.children) {\r\n                        hasMismatch = true;\r\n                        (process.env.NODE_ENV !== 'production') &&\r\n                            warn(`Hydration text mismatch:` +\r\n                                `\\n- Client: ${JSON.stringify(node.data)}` +\r\n                                `\\n- Server: ${JSON.stringify(vnode.children)}`);\r\n                        node.data = vnode.children;\r\n                    }\r\n                    nextNode = nextSibling(node);\r\n                }\r\n                break;\r\n            case Comment:\r\n                if (domType !== 8 /* COMMENT */ || isFragmentStart) {\r\n                    nextNode = onMismatch();\r\n                }\r\n                else {\r\n                    nextNode = nextSibling(node);\r\n                }\r\n                break;\r\n            case Static:\r\n                if (domType !== 1 /* ELEMENT */) {\r\n                    nextNode = onMismatch();\r\n                }\r\n                else {\r\n                    // determine anchor, adopt content\r\n                    nextNode = node;\r\n                    // if the static vnode has its content stripped during build,\r\n                    // adopt it from the server-rendered HTML.\r\n                    const needToAdoptContent = !vnode.children.length;\r\n                    for (let i = 0; i < vnode.staticCount; i++) {\r\n                        if (needToAdoptContent)\r\n                            vnode.children += nextNode.outerHTML;\r\n                        if (i === vnode.staticCount - 1) {\r\n                            vnode.anchor = nextNode;\r\n                        }\r\n                        nextNode = nextSibling(nextNode);\r\n                    }\r\n                    return nextNode;\r\n                }\r\n                break;\r\n            case Fragment:\r\n                if (!isFragmentStart) {\r\n                    nextNode = onMismatch();\r\n                }\r\n                else {\r\n                    nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n                }\r\n                break;\r\n            default:\r\n                if (shapeFlag & 1 /* ELEMENT */) {\r\n                    if (domType !== 1 /* ELEMENT */ ||\r\n                        vnode.type.toLowerCase() !==\r\n                            node.tagName.toLowerCase()) {\r\n                        nextNode = onMismatch();\r\n                    }\r\n                    else {\r\n                        nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n                    }\r\n                }\r\n                else if (shapeFlag & 6 /* COMPONENT */) {\r\n                    // when setting up the render effect, if the initial vnode already\r\n                    // has .el set, the component will perform hydration instead of mount\r\n                    // on its sub-tree.\r\n                    vnode.slotScopeIds = slotScopeIds;\r\n                    const container = parentNode(node);\r\n                    mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);\r\n                    // component may be async, so in the case of fragments we cannot rely\r\n                    // on component's rendered output to determine the end of the fragment\r\n                    // instead, we do a lookahead to find the end anchor node.\r\n                    nextNode = isFragmentStart\r\n                        ? locateClosingAsyncAnchor(node)\r\n                        : nextSibling(node);\r\n                    // #3787\r\n                    // if component is async, it may get moved / unmounted before its\r\n                    // inner component is loaded, so we need to give it a placeholder\r\n                    // vnode that matches its adopted DOM.\r\n                    if (isAsyncWrapper(vnode)) {\r\n                        let subTree;\r\n                        if (isFragmentStart) {\r\n                            subTree = createVNode(Fragment);\r\n                            subTree.anchor = nextNode\r\n                                ? nextNode.previousSibling\r\n                                : container.lastChild;\r\n                        }\r\n                        else {\r\n                            subTree =\r\n                                node.nodeType === 3 ? createTextVNode('') : createVNode('div');\r\n                        }\r\n                        subTree.el = node;\r\n                        vnode.component.subTree = subTree;\r\n                    }\r\n                }\r\n                else if (shapeFlag & 64 /* TELEPORT */) {\r\n                    if (domType !== 8 /* COMMENT */) {\r\n                        nextNode = onMismatch();\r\n                    }\r\n                    else {\r\n                        nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);\r\n                    }\r\n                }\r\n                else if (shapeFlag & 128 /* SUSPENSE */) {\r\n                    nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn('Invalid HostVNode type:', type, `(${typeof type})`);\r\n                }\r\n        }\r\n        if (ref != null) {\r\n            setRef(ref, null, parentSuspense, vnode);\r\n        }\r\n        return nextNode;\r\n    };\r\n    const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n        optimized = optimized || !!vnode.dynamicChildren;\r\n        const { type, props, patchFlag, shapeFlag, dirs } = vnode;\r\n        // #4006 for form elements with non-string v-model value bindings\r\n        // e.g. <option :value=\"obj\">, <input type=\"checkbox\" :true-value=\"1\">\r\n        const forcePatchValue = (type === 'input' && dirs) || type === 'option';\r\n        // skip props & children if this is hoisted static nodes\r\n        if (forcePatchValue || patchFlag !== -1 /* HOISTED */) {\r\n            if (dirs) {\r\n                invokeDirectiveHook(vnode, null, parentComponent, 'created');\r\n            }\r\n            // props\r\n            if (props) {\r\n                if (forcePatchValue ||\r\n                    !optimized ||\r\n                    patchFlag & (16 /* FULL_PROPS */ | 32 /* HYDRATE_EVENTS */)) {\r\n                    for (const key in props) {\r\n                        if ((forcePatchValue && key.endsWith('value')) ||\r\n                            (isOn(key) && !isReservedProp(key))) {\r\n                            patchProp(el, key, null, props[key]);\r\n                        }\r\n                    }\r\n                }\r\n                else if (props.onClick) {\r\n                    // Fast path for click listeners (which is most often) to avoid\r\n                    // iterating through props.\r\n                    patchProp(el, 'onClick', null, props.onClick);\r\n                }\r\n            }\r\n            // vnode / directive hooks\r\n            let vnodeHooks;\r\n            if ((vnodeHooks = props && props.onVnodeBeforeMount)) {\r\n                invokeVNodeHook(vnodeHooks, parentComponent, vnode);\r\n            }\r\n            if (dirs) {\r\n                invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');\r\n            }\r\n            if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {\r\n                queueEffectWithSuspense(() => {\r\n                    vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\r\n                    dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');\r\n                }, parentSuspense);\r\n            }\r\n            // children\r\n            if (shapeFlag & 16 /* ARRAY_CHILDREN */ &&\r\n                // skip if element has innerHTML / textContent\r\n                !(props && (props.innerHTML || props.textContent))) {\r\n                let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n                let hasWarned = false;\r\n                while (next) {\r\n                    hasMismatch = true;\r\n                    if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\r\n                        warn(`Hydration children mismatch in <${vnode.type}>: ` +\r\n                            `server rendered element contains more child nodes than client vdom.`);\r\n                        hasWarned = true;\r\n                    }\r\n                    // The SSRed DOM contains more nodes than it should. Remove them.\r\n                    const cur = next;\r\n                    next = next.nextSibling;\r\n                    remove(cur);\r\n                }\r\n            }\r\n            else if (shapeFlag & 8 /* TEXT_CHILDREN */) {\r\n                if (el.textContent !== vnode.children) {\r\n                    hasMismatch = true;\r\n                    (process.env.NODE_ENV !== 'production') &&\r\n                        warn(`Hydration text content mismatch in <${vnode.type}>:\\n` +\r\n                            `- Client: ${el.textContent}\\n` +\r\n                            `- Server: ${vnode.children}`);\r\n                    el.textContent = vnode.children;\r\n                }\r\n            }\r\n        }\r\n        return el.nextSibling;\r\n    };\r\n    const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n        optimized = optimized || !!parentVNode.dynamicChildren;\r\n        const children = parentVNode.children;\r\n        const l = children.length;\r\n        let hasWarned = false;\r\n        for (let i = 0; i < l; i++) {\r\n            const vnode = optimized\r\n                ? children[i]\r\n                : (children[i] = normalizeVNode(children[i]));\r\n            if (node) {\r\n                node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n            }\r\n            else if (vnode.type === Text && !vnode.children) {\r\n                continue;\r\n            }\r\n            else {\r\n                hasMismatch = true;\r\n                if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\r\n                    warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +\r\n                        `server rendered element contains fewer child nodes than client vdom.`);\r\n                    hasWarned = true;\r\n                }\r\n                // the SSRed DOM didn't contain enough nodes. Mount the missing ones.\r\n                patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\r\n            }\r\n        }\r\n        return node;\r\n    };\r\n    const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n        const { slotScopeIds: fragmentSlotScopeIds } = vnode;\r\n        if (fragmentSlotScopeIds) {\r\n            slotScopeIds = slotScopeIds\r\n                ? slotScopeIds.concat(fragmentSlotScopeIds)\r\n                : fragmentSlotScopeIds;\r\n        }\r\n        const container = parentNode(node);\r\n        const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n        if (next && isComment(next) && next.data === ']') {\r\n            return nextSibling((vnode.anchor = next));\r\n        }\r\n        else {\r\n            // fragment didn't hydrate successfully, since we didn't get a end anchor\r\n            // back. This should have led to node/children mismatch warnings.\r\n            hasMismatch = true;\r\n            // since the anchor is missing, we need to create one and insert it\r\n            insert((vnode.anchor = createComment(`]`)), container, next);\r\n            return next;\r\n        }\r\n    };\r\n    const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\r\n        hasMismatch = true;\r\n        (process.env.NODE_ENV !== 'production') &&\r\n            warn(`Hydration node mismatch:\\n- Client vnode:`, vnode.type, `\\n- Server rendered DOM:`, node, node.nodeType === 3 /* TEXT */\r\n                ? `(text)`\r\n                : isComment(node) && node.data === '['\r\n                    ? `(start of fragment)`\r\n                    : ``);\r\n        vnode.el = null;\r\n        if (isFragment) {\r\n            // remove excessive fragment nodes\r\n            const end = locateClosingAsyncAnchor(node);\r\n            while (true) {\r\n                const next = nextSibling(node);\r\n                if (next && next !== end) {\r\n                    remove(next);\r\n                }\r\n                else {\r\n                    break;\r\n                }\r\n            }\r\n        }\r\n        const next = nextSibling(node);\r\n        const container = parentNode(node);\r\n        remove(node);\r\n        patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\r\n        return next;\r\n    };\r\n    const locateClosingAsyncAnchor = (node) => {\r\n        let match = 0;\r\n        while (node) {\r\n            node = nextSibling(node);\r\n            if (node && isComment(node)) {\r\n                if (node.data === '[')\r\n                    match++;\r\n                if (node.data === ']') {\r\n                    if (match === 0) {\r\n                        return nextSibling(node);\r\n                    }\r\n                    else {\r\n                        match--;\r\n                    }\r\n                }\r\n            }\r\n        }\r\n        return node;\r\n    };\r\n    return [hydrate, hydrateNode];\r\n}\n\nlet supported;\r\nlet perf;\r\nfunction startMeasure(instance, type) {\r\n    if (instance.appContext.config.performance && isSupported()) {\r\n        perf.mark(`vue-${type}-${instance.uid}`);\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n        devtoolsPerfStart(instance, type, supported ? perf.now() : Date.now());\r\n    }\r\n}\r\nfunction endMeasure(instance, type) {\r\n    if (instance.appContext.config.performance && isSupported()) {\r\n        const startTag = `vue-${type}-${instance.uid}`;\r\n        const endTag = startTag + `:end`;\r\n        perf.mark(endTag);\r\n        perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);\r\n        perf.clearMarks(startTag);\r\n        perf.clearMarks(endTag);\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n        devtoolsPerfEnd(instance, type, supported ? perf.now() : Date.now());\r\n    }\r\n}\r\nfunction isSupported() {\r\n    if (supported !== undefined) {\r\n        return supported;\r\n    }\r\n    /* eslint-disable no-restricted-globals */\r\n    if (typeof window !== 'undefined' && window.performance) {\r\n        supported = true;\r\n        perf = window.performance;\r\n    }\r\n    else {\r\n        supported = false;\r\n    }\r\n    /* eslint-enable no-restricted-globals */\r\n    return supported;\r\n}\n\n/**\r\n * This is only called in esm-bundler builds.\r\n * It is called when a renderer is created, in `baseCreateRenderer` so that\r\n * importing runtime-core is side-effects free.\r\n *\r\n * istanbul-ignore-next\r\n */\r\nfunction initFeatureFlags() {\r\n    let needWarn = false;\r\n    if (typeof __VUE_OPTIONS_API__ !== 'boolean') {\r\n        needWarn = true;\r\n        getGlobalThis().__VUE_OPTIONS_API__ = true;\r\n    }\r\n    if (typeof __VUE_PROD_DEVTOOLS__ !== 'boolean') {\r\n        needWarn = true;\r\n        getGlobalThis().__VUE_PROD_DEVTOOLS__ = false;\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') && needWarn) {\r\n        console.warn(`You are running the esm-bundler build of Vue. It is recommended to ` +\r\n            `configure your bundler to explicitly replace feature flag globals ` +\r\n            `with boolean literals to get proper tree-shaking in the final bundle. ` +\r\n            `See http://link.vuejs.org/feature-flags for more details.`);\r\n    }\r\n}\n\nconst queuePostRenderEffect = queueEffectWithSuspense\r\n    ;\r\n/**\r\n * The createRenderer function accepts two generic arguments:\r\n * HostNode and HostElement, corresponding to Node and Element types in the\r\n * host environment. For example, for runtime-dom, HostNode would be the DOM\r\n * `Node` interface and HostElement would be the DOM `Element` interface.\r\n *\r\n * Custom renderers can pass in the platform specific types like this:\r\n *\r\n * ``` js\r\n * const { render, createApp } = createRenderer<Node, Element>({\r\n *   patchProp,\r\n *   ...nodeOps\r\n * })\r\n * ```\r\n */\r\nfunction createRenderer(options) {\r\n    return baseCreateRenderer(options);\r\n}\r\n// Separate API for creating hydration-enabled renderer.\r\n// Hydration logic is only used when calling this function, making it\r\n// tree-shakable.\r\nfunction createHydrationRenderer(options) {\r\n    return baseCreateRenderer(options, createHydrationFunctions);\r\n}\r\n// implementation\r\nfunction baseCreateRenderer(options, createHydrationFns) {\r\n    // compile-time feature flags check\r\n    {\r\n        initFeatureFlags();\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n        const target = getGlobalThis();\r\n        target.__VUE__ = true;\r\n        setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__);\r\n    }\r\n    const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = NOOP, cloneNode: hostCloneNode, insertStaticContent: hostInsertStaticContent } = options;\r\n    // Note: functions inside this closure should use `const xxx = () => {}`\r\n    // style in order to prevent being inlined by minifiers.\r\n    const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = (process.env.NODE_ENV !== 'production') && isHmrUpdating ? false : !!n2.dynamicChildren) => {\r\n        if (n1 === n2) {\r\n            return;\r\n        }\r\n        // patching & not same type, unmount old tree\r\n        if (n1 && !isSameVNodeType(n1, n2)) {\r\n            anchor = getNextHostNode(n1);\r\n            unmount(n1, parentComponent, parentSuspense, true);\r\n            n1 = null;\r\n        }\r\n        if (n2.patchFlag === -2 /* BAIL */) {\r\n            optimized = false;\r\n            n2.dynamicChildren = null;\r\n        }\r\n        const { type, ref, shapeFlag } = n2;\r\n        switch (type) {\r\n            case Text:\r\n                processText(n1, n2, container, anchor);\r\n                break;\r\n            case Comment:\r\n                processCommentNode(n1, n2, container, anchor);\r\n                break;\r\n            case Static:\r\n                if (n1 == null) {\r\n                    mountStaticNode(n2, container, anchor, isSVG);\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    patchStaticNode(n1, n2, container, isSVG);\r\n                }\r\n                break;\r\n            case Fragment:\r\n                processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                break;\r\n            default:\r\n                if (shapeFlag & 1 /* ELEMENT */) {\r\n                    processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n                else if (shapeFlag & 6 /* COMPONENT */) {\r\n                    processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n                else if (shapeFlag & 64 /* TELEPORT */) {\r\n                    type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\r\n                }\r\n                else if (shapeFlag & 128 /* SUSPENSE */) {\r\n                    type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn('Invalid VNode type:', type, `(${typeof type})`);\r\n                }\r\n        }\r\n        // set ref\r\n        if (ref != null && parentComponent) {\r\n            setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);\r\n        }\r\n    };\r\n    const processText = (n1, n2, container, anchor) => {\r\n        if (n1 == null) {\r\n            hostInsert((n2.el = hostCreateText(n2.children)), container, anchor);\r\n        }\r\n        else {\r\n            const el = (n2.el = n1.el);\r\n            if (n2.children !== n1.children) {\r\n                hostSetText(el, n2.children);\r\n            }\r\n        }\r\n    };\r\n    const processCommentNode = (n1, n2, container, anchor) => {\r\n        if (n1 == null) {\r\n            hostInsert((n2.el = hostCreateComment(n2.children || '')), container, anchor);\r\n        }\r\n        else {\r\n            // there's no support for dynamic comments\r\n            n2.el = n1.el;\r\n        }\r\n    };\r\n    const mountStaticNode = (n2, container, anchor, isSVG) => {\r\n        [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\r\n    };\r\n    /**\r\n     * Dev / HMR only\r\n     */\r\n    const patchStaticNode = (n1, n2, container, isSVG) => {\r\n        // static nodes are only patched during dev for HMR\r\n        if (n2.children !== n1.children) {\r\n            const anchor = hostNextSibling(n1.anchor);\r\n            // remove existing\r\n            removeStaticNode(n1);\r\n            [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\r\n        }\r\n        else {\r\n            n2.el = n1.el;\r\n            n2.anchor = n1.anchor;\r\n        }\r\n    };\r\n    const moveStaticNode = ({ el, anchor }, container, nextSibling) => {\r\n        let next;\r\n        while (el && el !== anchor) {\r\n            next = hostNextSibling(el);\r\n            hostInsert(el, container, nextSibling);\r\n            el = next;\r\n        }\r\n        hostInsert(anchor, container, nextSibling);\r\n    };\r\n    const removeStaticNode = ({ el, anchor }) => {\r\n        let next;\r\n        while (el && el !== anchor) {\r\n            next = hostNextSibling(el);\r\n            hostRemove(el);\r\n            el = next;\r\n        }\r\n        hostRemove(anchor);\r\n    };\r\n    const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        isSVG = isSVG || n2.type === 'svg';\r\n        if (n1 == null) {\r\n            mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n        }\r\n        else {\r\n            patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n        }\r\n    };\r\n    const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        let el;\r\n        let vnodeHook;\r\n        const { type, props, shapeFlag, transition, patchFlag, dirs } = vnode;\r\n        if (!(process.env.NODE_ENV !== 'production') &&\r\n            vnode.el &&\r\n            hostCloneNode !== undefined &&\r\n            patchFlag === -1 /* HOISTED */) {\r\n            // If a vnode has non-null el, it means it's being reused.\r\n            // Only static vnodes can be reused, so its mounted DOM nodes should be\r\n            // exactly the same, and we can simply do a clone here.\r\n            // only do this in production since cloned trees cannot be HMR updated.\r\n            el = vnode.el = hostCloneNode(vnode.el);\r\n        }\r\n        else {\r\n            el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);\r\n            // mount children first, since some props may rely on child content\r\n            // being already rendered, e.g. `<select value>`\r\n            if (shapeFlag & 8 /* TEXT_CHILDREN */) {\r\n                hostSetElementText(el, vnode.children);\r\n            }\r\n            else if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                mountChildren(vnode.children, el, null, parentComponent, parentSuspense, isSVG && type !== 'foreignObject', slotScopeIds, optimized);\r\n            }\r\n            if (dirs) {\r\n                invokeDirectiveHook(vnode, null, parentComponent, 'created');\r\n            }\r\n            // props\r\n            if (props) {\r\n                for (const key in props) {\r\n                    if (key !== 'value' && !isReservedProp(key)) {\r\n                        hostPatchProp(el, key, null, props[key], isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\r\n                    }\r\n                }\r\n                /**\r\n                 * Special case for setting value on DOM elements:\r\n                 * - it can be order-sensitive (e.g. should be set *after* min/max, #2325, #4024)\r\n                 * - it needs to be forced (#1471)\r\n                 * #2353 proposes adding another renderer option to configure this, but\r\n                 * the properties affects are so finite it is worth special casing it\r\n                 * here to reduce the complexity. (Special casing it also should not\r\n                 * affect non-DOM renderers)\r\n                 */\r\n                if ('value' in props) {\r\n                    hostPatchProp(el, 'value', null, props.value);\r\n                }\r\n                if ((vnodeHook = props.onVnodeBeforeMount)) {\r\n                    invokeVNodeHook(vnodeHook, parentComponent, vnode);\r\n                }\r\n            }\r\n            // scopeId\r\n            setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n            Object.defineProperty(el, '__vnode', {\r\n                value: vnode,\r\n                enumerable: false\r\n            });\r\n            Object.defineProperty(el, '__vueParentComponent', {\r\n                value: parentComponent,\r\n                enumerable: false\r\n            });\r\n        }\r\n        if (dirs) {\r\n            invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');\r\n        }\r\n        // #1583 For inside suspense + suspense not resolved case, enter hook should call when suspense resolved\r\n        // #1689 For inside suspense + suspense resolved case, just call it\r\n        const needCallTransitionHooks = (!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) &&\r\n            transition &&\r\n            !transition.persisted;\r\n        if (needCallTransitionHooks) {\r\n            transition.beforeEnter(el);\r\n        }\r\n        hostInsert(el, container, anchor);\r\n        if ((vnodeHook = props && props.onVnodeMounted) ||\r\n            needCallTransitionHooks ||\r\n            dirs) {\r\n            queuePostRenderEffect(() => {\r\n                vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\r\n                needCallTransitionHooks && transition.enter(el);\r\n                dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');\r\n            }, parentSuspense);\r\n        }\r\n    };\r\n    const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {\r\n        if (scopeId) {\r\n            hostSetScopeId(el, scopeId);\r\n        }\r\n        if (slotScopeIds) {\r\n            for (let i = 0; i < slotScopeIds.length; i++) {\r\n                hostSetScopeId(el, slotScopeIds[i]);\r\n            }\r\n        }\r\n        if (parentComponent) {\r\n            let subTree = parentComponent.subTree;\r\n            if ((process.env.NODE_ENV !== 'production') &&\r\n                subTree.patchFlag > 0 &&\r\n                subTree.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {\r\n                subTree =\r\n                    filterSingleRoot(subTree.children) || subTree;\r\n            }\r\n            if (vnode === subTree) {\r\n                const parentVNode = parentComponent.vnode;\r\n                setScopeId(el, parentVNode, parentVNode.scopeId, parentVNode.slotScopeIds, parentComponent.parent);\r\n            }\r\n        }\r\n    };\r\n    const mountChildren = (children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, start = 0) => {\r\n        for (let i = start; i < children.length; i++) {\r\n            const child = (children[i] = optimized\r\n                ? cloneIfMounted(children[i])\r\n                : normalizeVNode(children[i]));\r\n            patch(null, child, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n        }\r\n    };\r\n    const patchElement = (n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        const el = (n2.el = n1.el);\r\n        let { patchFlag, dynamicChildren, dirs } = n2;\r\n        // #1426 take the old vnode's patch flag into account since user may clone a\r\n        // compiler-generated vnode, which de-opts to FULL_PROPS\r\n        patchFlag |= n1.patchFlag & 16 /* FULL_PROPS */;\r\n        const oldProps = n1.props || EMPTY_OBJ;\r\n        const newProps = n2.props || EMPTY_OBJ;\r\n        let vnodeHook;\r\n        if ((vnodeHook = newProps.onVnodeBeforeUpdate)) {\r\n            invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\r\n        }\r\n        if (dirs) {\r\n            invokeDirectiveHook(n2, n1, parentComponent, 'beforeUpdate');\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n            // HMR updated, force full diff\r\n            patchFlag = 0;\r\n            optimized = false;\r\n            dynamicChildren = null;\r\n        }\r\n        const areChildrenSVG = isSVG && n2.type !== 'foreignObject';\r\n        if (dynamicChildren) {\r\n            patchBlockChildren(n1.dynamicChildren, dynamicChildren, el, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds);\r\n            if ((process.env.NODE_ENV !== 'production') && parentComponent && parentComponent.type.__hmrId) {\r\n                traverseStaticChildren(n1, n2);\r\n            }\r\n        }\r\n        else if (!optimized) {\r\n            // full diff\r\n            patchChildren(n1, n2, el, null, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds, false);\r\n        }\r\n        if (patchFlag > 0) {\r\n            // the presence of a patchFlag means this element's render code was\r\n            // generated by the compiler and can take the fast path.\r\n            // in this path old node and new node are guaranteed to have the same shape\r\n            // (i.e. at the exact same position in the source template)\r\n            if (patchFlag & 16 /* FULL_PROPS */) {\r\n                // element props contain dynamic keys, full diff needed\r\n                patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\r\n            }\r\n            else {\r\n                // class\r\n                // this flag is matched when the element has dynamic class bindings.\r\n                if (patchFlag & 2 /* CLASS */) {\r\n                    if (oldProps.class !== newProps.class) {\r\n                        hostPatchProp(el, 'class', null, newProps.class, isSVG);\r\n                    }\r\n                }\r\n                // style\r\n                // this flag is matched when the element has dynamic style bindings\r\n                if (patchFlag & 4 /* STYLE */) {\r\n                    hostPatchProp(el, 'style', oldProps.style, newProps.style, isSVG);\r\n                }\r\n                // props\r\n                // This flag is matched when the element has dynamic prop/attr bindings\r\n                // other than class and style. The keys of dynamic prop/attrs are saved for\r\n                // faster iteration.\r\n                // Note dynamic keys like :[foo]=\"bar\" will cause this optimization to\r\n                // bail out and go through a full diff because we need to unset the old key\r\n                if (patchFlag & 8 /* PROPS */) {\r\n                    // if the flag is present then dynamicProps must be non-null\r\n                    const propsToUpdate = n2.dynamicProps;\r\n                    for (let i = 0; i < propsToUpdate.length; i++) {\r\n                        const key = propsToUpdate[i];\r\n                        const prev = oldProps[key];\r\n                        const next = newProps[key];\r\n                        // #1471 force patch value\r\n                        if (next !== prev || key === 'value') {\r\n                            hostPatchProp(el, key, prev, next, isSVG, n1.children, parentComponent, parentSuspense, unmountChildren);\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n            // text\r\n            // This flag is matched when the element has only dynamic text children.\r\n            if (patchFlag & 1 /* TEXT */) {\r\n                if (n1.children !== n2.children) {\r\n                    hostSetElementText(el, n2.children);\r\n                }\r\n            }\r\n        }\r\n        else if (!optimized && dynamicChildren == null) {\r\n            // unoptimized, full diff\r\n            patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\r\n        }\r\n        if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {\r\n            queuePostRenderEffect(() => {\r\n                vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\r\n                dirs && invokeDirectiveHook(n2, n1, parentComponent, 'updated');\r\n            }, parentSuspense);\r\n        }\r\n    };\r\n    // The fast path for blocks.\r\n    const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, isSVG, slotScopeIds) => {\r\n        for (let i = 0; i < newChildren.length; i++) {\r\n            const oldVNode = oldChildren[i];\r\n            const newVNode = newChildren[i];\r\n            // Determine the container (parent element) for the patch.\r\n            const container = \r\n            // oldVNode may be an errored async setup() component inside Suspense\r\n            // which will not have a mounted element\r\n            oldVNode.el &&\r\n                // - In the case of a Fragment, we need to provide the actual parent\r\n                // of the Fragment itself so it can move its children.\r\n                (oldVNode.type === Fragment ||\r\n                    // - In the case of different nodes, there is going to be a replacement\r\n                    // which also requires the correct parent container\r\n                    !isSameVNodeType(oldVNode, newVNode) ||\r\n                    // - In the case of a component, it could contain anything.\r\n                    oldVNode.shapeFlag & (6 /* COMPONENT */ | 64 /* TELEPORT */))\r\n                ? hostParentNode(oldVNode.el)\r\n                : // In other cases, the parent container is not actually used so we\r\n                    // just pass the block element here to avoid a DOM parentNode call.\r\n                    fallbackContainer;\r\n            patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true);\r\n        }\r\n    };\r\n    const patchProps = (el, vnode, oldProps, newProps, parentComponent, parentSuspense, isSVG) => {\r\n        if (oldProps !== newProps) {\r\n            for (const key in newProps) {\r\n                // empty string is not valid prop\r\n                if (isReservedProp(key))\r\n                    continue;\r\n                const next = newProps[key];\r\n                const prev = oldProps[key];\r\n                // defer patching value\r\n                if (next !== prev && key !== 'value') {\r\n                    hostPatchProp(el, key, prev, next, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\r\n                }\r\n            }\r\n            if (oldProps !== EMPTY_OBJ) {\r\n                for (const key in oldProps) {\r\n                    if (!isReservedProp(key) && !(key in newProps)) {\r\n                        hostPatchProp(el, key, oldProps[key], null, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\r\n                    }\r\n                }\r\n            }\r\n            if ('value' in newProps) {\r\n                hostPatchProp(el, 'value', oldProps.value, newProps.value);\r\n            }\r\n        }\r\n    };\r\n    const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        const fragmentStartAnchor = (n2.el = n1 ? n1.el : hostCreateText(''));\r\n        const fragmentEndAnchor = (n2.anchor = n1 ? n1.anchor : hostCreateText(''));\r\n        let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;\r\n        if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n            // HMR updated, force full diff\r\n            patchFlag = 0;\r\n            optimized = false;\r\n            dynamicChildren = null;\r\n        }\r\n        // check if this is a slot fragment with :slotted scope ids\r\n        if (fragmentSlotScopeIds) {\r\n            slotScopeIds = slotScopeIds\r\n                ? slotScopeIds.concat(fragmentSlotScopeIds)\r\n                : fragmentSlotScopeIds;\r\n        }\r\n        if (n1 == null) {\r\n            hostInsert(fragmentStartAnchor, container, anchor);\r\n            hostInsert(fragmentEndAnchor, container, anchor);\r\n            // a fragment can only have array children\r\n            // since they are either generated by the compiler, or implicitly created\r\n            // from arrays.\r\n            mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n        }\r\n        else {\r\n            if (patchFlag > 0 &&\r\n                patchFlag & 64 /* STABLE_FRAGMENT */ &&\r\n                dynamicChildren &&\r\n                // #2715 the previous fragment could've been a BAILed one as a result\r\n                // of renderSlot() with no valid children\r\n                n1.dynamicChildren) {\r\n                // a stable fragment (template root or <template v-for>) doesn't need to\r\n                // patch children order, but it may contain dynamicChildren.\r\n                patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);\r\n                if ((process.env.NODE_ENV !== 'production') && parentComponent && parentComponent.type.__hmrId) {\r\n                    traverseStaticChildren(n1, n2);\r\n                }\r\n                else if (\r\n                // #2080 if the stable fragment has a key, it's a <template v-for> that may\r\n                //  get moved around. Make sure all root level vnodes inherit el.\r\n                // #2134 or if it's a component root, it may also get moved around\r\n                // as the component is being moved.\r\n                n2.key != null ||\r\n                    (parentComponent && n2 === parentComponent.subTree)) {\r\n                    traverseStaticChildren(n1, n2, true /* shallow */);\r\n                }\r\n            }\r\n            else {\r\n                // keyed / unkeyed, or manual fragments.\r\n                // for keyed & unkeyed, since they are compiler generated from v-for,\r\n                // each child is guaranteed to be a block so the fragment will never\r\n                // have dynamicChildren.\r\n                patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n            }\r\n        }\r\n    };\r\n    const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        n2.slotScopeIds = slotScopeIds;\r\n        if (n1 == null) {\r\n            if (n2.shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {\r\n                parentComponent.ctx.activate(n2, container, anchor, isSVG, optimized);\r\n            }\r\n            else {\r\n                mountComponent(n2, container, anchor, parentComponent, parentSuspense, isSVG, optimized);\r\n            }\r\n        }\r\n        else {\r\n            updateComponent(n1, n2, optimized);\r\n        }\r\n    };\r\n    const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, isSVG, optimized) => {\r\n        const instance = (initialVNode.component = createComponentInstance(initialVNode, parentComponent, parentSuspense));\r\n        if ((process.env.NODE_ENV !== 'production') && instance.type.__hmrId) {\r\n            registerHMR(instance);\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            pushWarningContext(initialVNode);\r\n            startMeasure(instance, `mount`);\r\n        }\r\n        // inject renderer internals for keepAlive\r\n        if (isKeepAlive(initialVNode)) {\r\n            instance.ctx.renderer = internals;\r\n        }\r\n        // resolve props and slots for setup context\r\n        {\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                startMeasure(instance, `init`);\r\n            }\r\n            setupComponent(instance);\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                endMeasure(instance, `init`);\r\n            }\r\n        }\r\n        // setup() is async. This component relies on async logic to be resolved\r\n        // before proceeding\r\n        if (instance.asyncDep) {\r\n            parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect);\r\n            // Give it a placeholder if this is not hydration\r\n            // TODO handle self-defined fallback\r\n            if (!initialVNode.el) {\r\n                const placeholder = (instance.subTree = createVNode(Comment));\r\n                processCommentNode(null, placeholder, container, anchor);\r\n            }\r\n            return;\r\n        }\r\n        setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized);\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            popWarningContext();\r\n            endMeasure(instance, `mount`);\r\n        }\r\n    };\r\n    const updateComponent = (n1, n2, optimized) => {\r\n        const instance = (n2.component = n1.component);\r\n        if (shouldUpdateComponent(n1, n2, optimized)) {\r\n            if (instance.asyncDep &&\r\n                !instance.asyncResolved) {\r\n                // async & still pending - just update props and slots\r\n                // since the component's reactive effect for render isn't set-up yet\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    pushWarningContext(n2);\r\n                }\r\n                updateComponentPreRender(instance, n2, optimized);\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    popWarningContext();\r\n                }\r\n                return;\r\n            }\r\n            else {\r\n                // normal update\r\n                instance.next = n2;\r\n                // in case the child component is also queued, remove it to avoid\r\n                // double updating the same child component in the same flush.\r\n                invalidateJob(instance.update);\r\n                // instance.update is the reactive effect.\r\n                instance.update();\r\n            }\r\n        }\r\n        else {\r\n            // no update needed. just copy over properties\r\n            n2.component = n1.component;\r\n            n2.el = n1.el;\r\n            instance.vnode = n2;\r\n        }\r\n    };\r\n    const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized) => {\r\n        const componentUpdateFn = () => {\r\n            if (!instance.isMounted) {\r\n                let vnodeHook;\r\n                const { el, props } = initialVNode;\r\n                const { bm, m, parent } = instance;\r\n                const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);\r\n                effect.allowRecurse = false;\r\n                // beforeMount hook\r\n                if (bm) {\r\n                    invokeArrayFns(bm);\r\n                }\r\n                // onVnodeBeforeMount\r\n                if (!isAsyncWrapperVNode &&\r\n                    (vnodeHook = props && props.onVnodeBeforeMount)) {\r\n                    invokeVNodeHook(vnodeHook, parent, initialVNode);\r\n                }\r\n                effect.allowRecurse = true;\r\n                if (el && hydrateNode) {\r\n                    // vnode has adopted host node - perform hydration instead of mount.\r\n                    const hydrateSubTree = () => {\r\n                        if ((process.env.NODE_ENV !== 'production')) {\r\n                            startMeasure(instance, `render`);\r\n                        }\r\n                        instance.subTree = renderComponentRoot(instance);\r\n                        if ((process.env.NODE_ENV !== 'production')) {\r\n                            endMeasure(instance, `render`);\r\n                        }\r\n                        if ((process.env.NODE_ENV !== 'production')) {\r\n                            startMeasure(instance, `hydrate`);\r\n                        }\r\n                        hydrateNode(el, instance.subTree, instance, parentSuspense, null);\r\n                        if ((process.env.NODE_ENV !== 'production')) {\r\n                            endMeasure(instance, `hydrate`);\r\n                        }\r\n                    };\r\n                    if (isAsyncWrapperVNode) {\r\n                        initialVNode.type.__asyncLoader().then(\r\n                        // note: we are moving the render call into an async callback,\r\n                        // which means it won't track dependencies - but it's ok because\r\n                        // a server-rendered async wrapper is already in resolved state\r\n                        // and it will never need to change.\r\n                        () => !instance.isUnmounted && hydrateSubTree());\r\n                    }\r\n                    else {\r\n                        hydrateSubTree();\r\n                    }\r\n                }\r\n                else {\r\n                    if ((process.env.NODE_ENV !== 'production')) {\r\n                        startMeasure(instance, `render`);\r\n                    }\r\n                    const subTree = (instance.subTree = renderComponentRoot(instance));\r\n                    if ((process.env.NODE_ENV !== 'production')) {\r\n                        endMeasure(instance, `render`);\r\n                    }\r\n                    if ((process.env.NODE_ENV !== 'production')) {\r\n                        startMeasure(instance, `patch`);\r\n                    }\r\n                    patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);\r\n                    if ((process.env.NODE_ENV !== 'production')) {\r\n                        endMeasure(instance, `patch`);\r\n                    }\r\n                    initialVNode.el = subTree.el;\r\n                }\r\n                // mounted hook\r\n                if (m) {\r\n                    queuePostRenderEffect(m, parentSuspense);\r\n                }\r\n                // onVnodeMounted\r\n                if (!isAsyncWrapperVNode &&\r\n                    (vnodeHook = props && props.onVnodeMounted)) {\r\n                    const scopedInitialVNode = initialVNode;\r\n                    queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);\r\n                }\r\n                // activated hook for keep-alive roots.\r\n                // #1742 activated hook must be accessed after first render\r\n                // since the hook may be injected by a child keep-alive\r\n                if (initialVNode.shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {\r\n                    instance.a && queuePostRenderEffect(instance.a, parentSuspense);\r\n                }\r\n                instance.isMounted = true;\r\n                if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                    devtoolsComponentAdded(instance);\r\n                }\r\n                // #2458: deference mount-only object parameters to prevent memleaks\r\n                initialVNode = container = anchor = null;\r\n            }\r\n            else {\r\n                // updateComponent\r\n                // This is triggered by mutation of component's own state (next: null)\r\n                // OR parent calling processComponent (next: VNode)\r\n                let { next, bu, u, parent, vnode } = instance;\r\n                let originNext = next;\r\n                let vnodeHook;\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    pushWarningContext(next || instance.vnode);\r\n                }\r\n                // Disallow component effect recursion during pre-lifecycle hooks.\r\n                effect.allowRecurse = false;\r\n                if (next) {\r\n                    next.el = vnode.el;\r\n                    updateComponentPreRender(instance, next, optimized);\r\n                }\r\n                else {\r\n                    next = vnode;\r\n                }\r\n                // beforeUpdate hook\r\n                if (bu) {\r\n                    invokeArrayFns(bu);\r\n                }\r\n                // onVnodeBeforeUpdate\r\n                if ((vnodeHook = next.props && next.props.onVnodeBeforeUpdate)) {\r\n                    invokeVNodeHook(vnodeHook, parent, next, vnode);\r\n                }\r\n                effect.allowRecurse = true;\r\n                // render\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    startMeasure(instance, `render`);\r\n                }\r\n                const nextTree = renderComponentRoot(instance);\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    endMeasure(instance, `render`);\r\n                }\r\n                const prevTree = instance.subTree;\r\n                instance.subTree = nextTree;\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    startMeasure(instance, `patch`);\r\n                }\r\n                patch(prevTree, nextTree, \r\n                // parent may have changed if it's in a teleport\r\n                hostParentNode(prevTree.el), \r\n                // anchor may have changed if it's in a fragment\r\n                getNextHostNode(prevTree), instance, parentSuspense, isSVG);\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    endMeasure(instance, `patch`);\r\n                }\r\n                next.el = nextTree.el;\r\n                if (originNext === null) {\r\n                    // self-triggered update. In case of HOC, update parent component\r\n                    // vnode el. HOC is indicated by parent instance's subTree pointing\r\n                    // to child component's vnode\r\n                    updateHOCHostEl(instance, nextTree.el);\r\n                }\r\n                // updated hook\r\n                if (u) {\r\n                    queuePostRenderEffect(u, parentSuspense);\r\n                }\r\n                // onVnodeUpdated\r\n                if ((vnodeHook = next.props && next.props.onVnodeUpdated)) {\r\n                    queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);\r\n                }\r\n                if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n                    devtoolsComponentUpdated(instance);\r\n                }\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    popWarningContext();\r\n                }\r\n            }\r\n        };\r\n        // create reactive effect for rendering\r\n        const effect = new ReactiveEffect(componentUpdateFn, () => queueJob(instance.update), instance.scope // track it in component's effect scope\r\n        );\r\n        const update = (instance.update = effect.run.bind(effect));\r\n        update.id = instance.uid;\r\n        // allowRecurse\r\n        // #1801, #2043 component render effects should allow recursive updates\r\n        effect.allowRecurse = update.allowRecurse = true;\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            effect.onTrack = instance.rtc\r\n                ? e => invokeArrayFns(instance.rtc, e)\r\n                : void 0;\r\n            effect.onTrigger = instance.rtg\r\n                ? e => invokeArrayFns(instance.rtg, e)\r\n                : void 0;\r\n            // @ts-ignore (for scheduler)\r\n            update.ownerInstance = instance;\r\n        }\r\n        update();\r\n    };\r\n    const updateComponentPreRender = (instance, nextVNode, optimized) => {\r\n        nextVNode.component = instance;\r\n        const prevProps = instance.vnode.props;\r\n        instance.vnode = nextVNode;\r\n        instance.next = null;\r\n        updateProps(instance, nextVNode.props, prevProps, optimized);\r\n        updateSlots(instance, nextVNode.children, optimized);\r\n        pauseTracking();\r\n        // props update may have triggered pre-flush watchers.\r\n        // flush them before the render update.\r\n        flushPreFlushCbs(undefined, instance.update);\r\n        resetTracking();\r\n    };\r\n    const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {\r\n        const c1 = n1 && n1.children;\r\n        const prevShapeFlag = n1 ? n1.shapeFlag : 0;\r\n        const c2 = n2.children;\r\n        const { patchFlag, shapeFlag } = n2;\r\n        // fast path\r\n        if (patchFlag > 0) {\r\n            if (patchFlag & 128 /* KEYED_FRAGMENT */) {\r\n                // this could be either fully-keyed or mixed (some keyed some not)\r\n                // presence of patchFlag means children are guaranteed to be arrays\r\n                patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                return;\r\n            }\r\n            else if (patchFlag & 256 /* UNKEYED_FRAGMENT */) {\r\n                // unkeyed\r\n                patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                return;\r\n            }\r\n        }\r\n        // children has 3 possibilities: text, array or no children.\r\n        if (shapeFlag & 8 /* TEXT_CHILDREN */) {\r\n            // text children fast path\r\n            if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                unmountChildren(c1, parentComponent, parentSuspense);\r\n            }\r\n            if (c2 !== c1) {\r\n                hostSetElementText(container, c2);\r\n            }\r\n        }\r\n        else {\r\n            if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                // prev children was array\r\n                if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                    // two arrays, cannot assume anything, do full diff\r\n                    patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n                else {\r\n                    // no new children, just unmount old\r\n                    unmountChildren(c1, parentComponent, parentSuspense, true);\r\n                }\r\n            }\r\n            else {\r\n                // prev children was text OR null\r\n                // new children is array OR null\r\n                if (prevShapeFlag & 8 /* TEXT_CHILDREN */) {\r\n                    hostSetElementText(container, '');\r\n                }\r\n                // mount new if array\r\n                if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                    mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n            }\r\n        }\r\n    };\r\n    const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        c1 = c1 || EMPTY_ARR;\r\n        c2 = c2 || EMPTY_ARR;\r\n        const oldLength = c1.length;\r\n        const newLength = c2.length;\r\n        const commonLength = Math.min(oldLength, newLength);\r\n        let i;\r\n        for (i = 0; i < commonLength; i++) {\r\n            const nextChild = (c2[i] = optimized\r\n                ? cloneIfMounted(c2[i])\r\n                : normalizeVNode(c2[i]));\r\n            patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n        }\r\n        if (oldLength > newLength) {\r\n            // remove old\r\n            unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);\r\n        }\r\n        else {\r\n            // mount new\r\n            mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);\r\n        }\r\n    };\r\n    // can be all-keyed or mixed\r\n    const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n        let i = 0;\r\n        const l2 = c2.length;\r\n        let e1 = c1.length - 1; // prev ending index\r\n        let e2 = l2 - 1; // next ending index\r\n        // 1. sync from start\r\n        // (a b) c\r\n        // (a b) d e\r\n        while (i <= e1 && i <= e2) {\r\n            const n1 = c1[i];\r\n            const n2 = (c2[i] = optimized\r\n                ? cloneIfMounted(c2[i])\r\n                : normalizeVNode(c2[i]));\r\n            if (isSameVNodeType(n1, n2)) {\r\n                patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n            }\r\n            else {\r\n                break;\r\n            }\r\n            i++;\r\n        }\r\n        // 2. sync from end\r\n        // a (b c)\r\n        // d e (b c)\r\n        while (i <= e1 && i <= e2) {\r\n            const n1 = c1[e1];\r\n            const n2 = (c2[e2] = optimized\r\n                ? cloneIfMounted(c2[e2])\r\n                : normalizeVNode(c2[e2]));\r\n            if (isSameVNodeType(n1, n2)) {\r\n                patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n            }\r\n            else {\r\n                break;\r\n            }\r\n            e1--;\r\n            e2--;\r\n        }\r\n        // 3. common sequence + mount\r\n        // (a b)\r\n        // (a b) c\r\n        // i = 2, e1 = 1, e2 = 2\r\n        // (a b)\r\n        // c (a b)\r\n        // i = 0, e1 = -1, e2 = 0\r\n        if (i > e1) {\r\n            if (i <= e2) {\r\n                const nextPos = e2 + 1;\r\n                const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;\r\n                while (i <= e2) {\r\n                    patch(null, (c2[i] = optimized\r\n                        ? cloneIfMounted(c2[i])\r\n                        : normalizeVNode(c2[i])), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                    i++;\r\n                }\r\n            }\r\n        }\r\n        // 4. common sequence + unmount\r\n        // (a b) c\r\n        // (a b)\r\n        // i = 2, e1 = 2, e2 = 1\r\n        // a (b c)\r\n        // (b c)\r\n        // i = 0, e1 = 0, e2 = -1\r\n        else if (i > e2) {\r\n            while (i <= e1) {\r\n                unmount(c1[i], parentComponent, parentSuspense, true);\r\n                i++;\r\n            }\r\n        }\r\n        // 5. unknown sequence\r\n        // [i ... e1 + 1]: a b [c d e] f g\r\n        // [i ... e2 + 1]: a b [e d c h] f g\r\n        // i = 2, e1 = 4, e2 = 5\r\n        else {\r\n            const s1 = i; // prev starting index\r\n            const s2 = i; // next starting index\r\n            // 5.1 build key:index map for newChildren\r\n            const keyToNewIndexMap = new Map();\r\n            for (i = s2; i <= e2; i++) {\r\n                const nextChild = (c2[i] = optimized\r\n                    ? cloneIfMounted(c2[i])\r\n                    : normalizeVNode(c2[i]));\r\n                if (nextChild.key != null) {\r\n                    if ((process.env.NODE_ENV !== 'production') && keyToNewIndexMap.has(nextChild.key)) {\r\n                        warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);\r\n                    }\r\n                    keyToNewIndexMap.set(nextChild.key, i);\r\n                }\r\n            }\r\n            // 5.2 loop through old children left to be patched and try to patch\r\n            // matching nodes & remove nodes that are no longer present\r\n            let j;\r\n            let patched = 0;\r\n            const toBePatched = e2 - s2 + 1;\r\n            let moved = false;\r\n            // used to track whether any node has moved\r\n            let maxNewIndexSoFar = 0;\r\n            // works as Map<newIndex, oldIndex>\r\n            // Note that oldIndex is offset by +1\r\n            // and oldIndex = 0 is a special value indicating the new node has\r\n            // no corresponding old node.\r\n            // used for determining longest stable subsequence\r\n            const newIndexToOldIndexMap = new Array(toBePatched);\r\n            for (i = 0; i < toBePatched; i++)\r\n                newIndexToOldIndexMap[i] = 0;\r\n            for (i = s1; i <= e1; i++) {\r\n                const prevChild = c1[i];\r\n                if (patched >= toBePatched) {\r\n                    // all new children have been patched so this can only be a removal\r\n                    unmount(prevChild, parentComponent, parentSuspense, true);\r\n                    continue;\r\n                }\r\n                let newIndex;\r\n                if (prevChild.key != null) {\r\n                    newIndex = keyToNewIndexMap.get(prevChild.key);\r\n                }\r\n                else {\r\n                    // key-less node, try to locate a key-less node of the same type\r\n                    for (j = s2; j <= e2; j++) {\r\n                        if (newIndexToOldIndexMap[j - s2] === 0 &&\r\n                            isSameVNodeType(prevChild, c2[j])) {\r\n                            newIndex = j;\r\n                            break;\r\n                        }\r\n                    }\r\n                }\r\n                if (newIndex === undefined) {\r\n                    unmount(prevChild, parentComponent, parentSuspense, true);\r\n                }\r\n                else {\r\n                    newIndexToOldIndexMap[newIndex - s2] = i + 1;\r\n                    if (newIndex >= maxNewIndexSoFar) {\r\n                        maxNewIndexSoFar = newIndex;\r\n                    }\r\n                    else {\r\n                        moved = true;\r\n                    }\r\n                    patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                    patched++;\r\n                }\r\n            }\r\n            // 5.3 move and mount\r\n            // generate longest stable subsequence only when nodes have moved\r\n            const increasingNewIndexSequence = moved\r\n                ? getSequence(newIndexToOldIndexMap)\r\n                : EMPTY_ARR;\r\n            j = increasingNewIndexSequence.length - 1;\r\n            // looping backwards so that we can use last patched node as anchor\r\n            for (i = toBePatched - 1; i >= 0; i--) {\r\n                const nextIndex = s2 + i;\r\n                const nextChild = c2[nextIndex];\r\n                const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;\r\n                if (newIndexToOldIndexMap[i] === 0) {\r\n                    // mount new\r\n                    patch(null, nextChild, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n                else if (moved) {\r\n                    // move if:\r\n                    // There is no stable subsequence (e.g. a reverse)\r\n                    // OR current node is not among the stable sequence\r\n                    if (j < 0 || i !== increasingNewIndexSequence[j]) {\r\n                        move(nextChild, container, anchor, 2 /* REORDER */);\r\n                    }\r\n                    else {\r\n                        j--;\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    };\r\n    const move = (vnode, container, anchor, moveType, parentSuspense = null) => {\r\n        const { el, type, transition, children, shapeFlag } = vnode;\r\n        if (shapeFlag & 6 /* COMPONENT */) {\r\n            move(vnode.component.subTree, container, anchor, moveType);\r\n            return;\r\n        }\r\n        if (shapeFlag & 128 /* SUSPENSE */) {\r\n            vnode.suspense.move(container, anchor, moveType);\r\n            return;\r\n        }\r\n        if (shapeFlag & 64 /* TELEPORT */) {\r\n            type.move(vnode, container, anchor, internals);\r\n            return;\r\n        }\r\n        if (type === Fragment) {\r\n            hostInsert(el, container, anchor);\r\n            for (let i = 0; i < children.length; i++) {\r\n                move(children[i], container, anchor, moveType);\r\n            }\r\n            hostInsert(vnode.anchor, container, anchor);\r\n            return;\r\n        }\r\n        if (type === Static) {\r\n            moveStaticNode(vnode, container, anchor);\r\n            return;\r\n        }\r\n        // single nodes\r\n        const needTransition = moveType !== 2 /* REORDER */ &&\r\n            shapeFlag & 1 /* ELEMENT */ &&\r\n            transition;\r\n        if (needTransition) {\r\n            if (moveType === 0 /* ENTER */) {\r\n                transition.beforeEnter(el);\r\n                hostInsert(el, container, anchor);\r\n                queuePostRenderEffect(() => transition.enter(el), parentSuspense);\r\n            }\r\n            else {\r\n                const { leave, delayLeave, afterLeave } = transition;\r\n                const remove = () => hostInsert(el, container, anchor);\r\n                const performLeave = () => {\r\n                    leave(el, () => {\r\n                        remove();\r\n                        afterLeave && afterLeave();\r\n                    });\r\n                };\r\n                if (delayLeave) {\r\n                    delayLeave(el, remove, performLeave);\r\n                }\r\n                else {\r\n                    performLeave();\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            hostInsert(el, container, anchor);\r\n        }\r\n    };\r\n    const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {\r\n        const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs } = vnode;\r\n        // unset ref\r\n        if (ref != null) {\r\n            setRef(ref, null, parentSuspense, vnode, true);\r\n        }\r\n        if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {\r\n            parentComponent.ctx.deactivate(vnode);\r\n            return;\r\n        }\r\n        const shouldInvokeDirs = shapeFlag & 1 /* ELEMENT */ && dirs;\r\n        const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);\r\n        let vnodeHook;\r\n        if (shouldInvokeVnodeHook &&\r\n            (vnodeHook = props && props.onVnodeBeforeUnmount)) {\r\n            invokeVNodeHook(vnodeHook, parentComponent, vnode);\r\n        }\r\n        if (shapeFlag & 6 /* COMPONENT */) {\r\n            unmountComponent(vnode.component, parentSuspense, doRemove);\r\n        }\r\n        else {\r\n            if (shapeFlag & 128 /* SUSPENSE */) {\r\n                vnode.suspense.unmount(parentSuspense, doRemove);\r\n                return;\r\n            }\r\n            if (shouldInvokeDirs) {\r\n                invokeDirectiveHook(vnode, null, parentComponent, 'beforeUnmount');\r\n            }\r\n            if (shapeFlag & 64 /* TELEPORT */) {\r\n                vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);\r\n            }\r\n            else if (dynamicChildren &&\r\n                // #1153: fast path should not be taken for non-stable (v-for) fragments\r\n                (type !== Fragment ||\r\n                    (patchFlag > 0 && patchFlag & 64 /* STABLE_FRAGMENT */))) {\r\n                // fast path for block nodes: only need to unmount dynamic children.\r\n                unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);\r\n            }\r\n            else if ((type === Fragment &&\r\n                patchFlag &\r\n                    (128 /* KEYED_FRAGMENT */ | 256 /* UNKEYED_FRAGMENT */)) ||\r\n                (!optimized && shapeFlag & 16 /* ARRAY_CHILDREN */)) {\r\n                unmountChildren(children, parentComponent, parentSuspense);\r\n            }\r\n            if (doRemove) {\r\n                remove(vnode);\r\n            }\r\n        }\r\n        if ((shouldInvokeVnodeHook &&\r\n            (vnodeHook = props && props.onVnodeUnmounted)) ||\r\n            shouldInvokeDirs) {\r\n            queuePostRenderEffect(() => {\r\n                vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\r\n                shouldInvokeDirs &&\r\n                    invokeDirectiveHook(vnode, null, parentComponent, 'unmounted');\r\n            }, parentSuspense);\r\n        }\r\n    };\r\n    const remove = vnode => {\r\n        const { type, el, anchor, transition } = vnode;\r\n        if (type === Fragment) {\r\n            removeFragment(el, anchor);\r\n            return;\r\n        }\r\n        if (type === Static) {\r\n            removeStaticNode(vnode);\r\n            return;\r\n        }\r\n        const performRemove = () => {\r\n            hostRemove(el);\r\n            if (transition && !transition.persisted && transition.afterLeave) {\r\n                transition.afterLeave();\r\n            }\r\n        };\r\n        if (vnode.shapeFlag & 1 /* ELEMENT */ &&\r\n            transition &&\r\n            !transition.persisted) {\r\n            const { leave, delayLeave } = transition;\r\n            const performLeave = () => leave(el, performRemove);\r\n            if (delayLeave) {\r\n                delayLeave(vnode.el, performRemove, performLeave);\r\n            }\r\n            else {\r\n                performLeave();\r\n            }\r\n        }\r\n        else {\r\n            performRemove();\r\n        }\r\n    };\r\n    const removeFragment = (cur, end) => {\r\n        // For fragments, directly remove all contained DOM nodes.\r\n        // (fragment child nodes cannot have transition)\r\n        let next;\r\n        while (cur !== end) {\r\n            next = hostNextSibling(cur);\r\n            hostRemove(cur);\r\n            cur = next;\r\n        }\r\n        hostRemove(end);\r\n    };\r\n    const unmountComponent = (instance, parentSuspense, doRemove) => {\r\n        if ((process.env.NODE_ENV !== 'production') && instance.type.__hmrId) {\r\n            unregisterHMR(instance);\r\n        }\r\n        const { bum, scope, update, subTree, um } = instance;\r\n        // beforeUnmount hook\r\n        if (bum) {\r\n            invokeArrayFns(bum);\r\n        }\r\n        // stop effects in component scope\r\n        scope.stop();\r\n        // update may be null if a component is unmounted before its async\r\n        // setup has resolved.\r\n        if (update) {\r\n            // so that scheduler will no longer invoke it\r\n            update.active = false;\r\n            unmount(subTree, instance, parentSuspense, doRemove);\r\n        }\r\n        // unmounted hook\r\n        if (um) {\r\n            queuePostRenderEffect(um, parentSuspense);\r\n        }\r\n        queuePostRenderEffect(() => {\r\n            instance.isUnmounted = true;\r\n        }, parentSuspense);\r\n        // A component with async dep inside a pending suspense is unmounted before\r\n        // its async dep resolves. This should remove the dep from the suspense, and\r\n        // cause the suspense to resolve immediately if that was the last dep.\r\n        if (parentSuspense &&\r\n            parentSuspense.pendingBranch &&\r\n            !parentSuspense.isUnmounted &&\r\n            instance.asyncDep &&\r\n            !instance.asyncResolved &&\r\n            instance.suspenseId === parentSuspense.pendingId) {\r\n            parentSuspense.deps--;\r\n            if (parentSuspense.deps === 0) {\r\n                parentSuspense.resolve();\r\n            }\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n            devtoolsComponentRemoved(instance);\r\n        }\r\n    };\r\n    const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {\r\n        for (let i = start; i < children.length; i++) {\r\n            unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);\r\n        }\r\n    };\r\n    const getNextHostNode = vnode => {\r\n        if (vnode.shapeFlag & 6 /* COMPONENT */) {\r\n            return getNextHostNode(vnode.component.subTree);\r\n        }\r\n        if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n            return vnode.suspense.next();\r\n        }\r\n        return hostNextSibling((vnode.anchor || vnode.el));\r\n    };\r\n    const render = (vnode, container, isSVG) => {\r\n        if (vnode == null) {\r\n            if (container._vnode) {\r\n                unmount(container._vnode, null, null, true);\r\n            }\r\n        }\r\n        else {\r\n            patch(container._vnode || null, vnode, container, null, null, null, isSVG);\r\n        }\r\n        flushPostFlushCbs();\r\n        container._vnode = vnode;\r\n    };\r\n    const internals = {\r\n        p: patch,\r\n        um: unmount,\r\n        m: move,\r\n        r: remove,\r\n        mt: mountComponent,\r\n        mc: mountChildren,\r\n        pc: patchChildren,\r\n        pbc: patchBlockChildren,\r\n        n: getNextHostNode,\r\n        o: options\r\n    };\r\n    let hydrate;\r\n    let hydrateNode;\r\n    if (createHydrationFns) {\r\n        [hydrate, hydrateNode] = createHydrationFns(internals);\r\n    }\r\n    return {\r\n        render,\r\n        hydrate,\r\n        createApp: createAppAPI(render, hydrate)\r\n    };\r\n}\r\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\r\n    if (isArray(rawRef)) {\r\n        rawRef.forEach((r, i) => setRef(r, oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));\r\n        return;\r\n    }\r\n    if (isAsyncWrapper(vnode) && !isUnmount) {\r\n        // when mounting async components, nothing needs to be done,\r\n        // because the template ref is forwarded to inner component\r\n        return;\r\n    }\r\n    const refValue = vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */\r\n        ? getExposeProxy(vnode.component) || vnode.component.proxy\r\n        : vnode.el;\r\n    const value = isUnmount ? null : refValue;\r\n    const { i: owner, r: ref } = rawRef;\r\n    if ((process.env.NODE_ENV !== 'production') && !owner) {\r\n        warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +\r\n            `A vnode with ref must be created inside the render function.`);\r\n        return;\r\n    }\r\n    const oldRef = oldRawRef && oldRawRef.r;\r\n    const refs = owner.refs === EMPTY_OBJ ? (owner.refs = {}) : owner.refs;\r\n    const setupState = owner.setupState;\r\n    // dynamic ref changed. unset old ref\r\n    if (oldRef != null && oldRef !== ref) {\r\n        if (isString(oldRef)) {\r\n            refs[oldRef] = null;\r\n            if (hasOwn(setupState, oldRef)) {\r\n                setupState[oldRef] = null;\r\n            }\r\n        }\r\n        else if (isRef(oldRef)) {\r\n            oldRef.value = null;\r\n        }\r\n    }\r\n    if (isString(ref)) {\r\n        const doSet = () => {\r\n            {\r\n                refs[ref] = value;\r\n            }\r\n            if (hasOwn(setupState, ref)) {\r\n                setupState[ref] = value;\r\n            }\r\n        };\r\n        // #1789: for non-null values, set them after render\r\n        // null values means this is unmount and it should not overwrite another\r\n        // ref with the same key\r\n        if (value) {\r\n            doSet.id = -1;\r\n            queuePostRenderEffect(doSet, parentSuspense);\r\n        }\r\n        else {\r\n            doSet();\r\n        }\r\n    }\r\n    else if (isRef(ref)) {\r\n        const doSet = () => {\r\n            ref.value = value;\r\n        };\r\n        if (value) {\r\n            doSet.id = -1;\r\n            queuePostRenderEffect(doSet, parentSuspense);\r\n        }\r\n        else {\r\n            doSet();\r\n        }\r\n    }\r\n    else if (isFunction$1(ref)) {\r\n        callWithErrorHandling(ref, owner, 12 /* FUNCTION_REF */, [value, refs]);\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn('Invalid template ref type:', value, `(${typeof value})`);\r\n    }\r\n}\r\nfunction invokeVNodeHook(hook, instance, vnode, prevVNode = null) {\r\n    callWithAsyncErrorHandling(hook, instance, 7 /* VNODE_HOOK */, [\r\n        vnode,\r\n        prevVNode\r\n    ]);\r\n}\r\n/**\r\n * #1156\r\n * When a component is HMR-enabled, we need to make sure that all static nodes\r\n * inside a block also inherit the DOM element from the previous tree so that\r\n * HMR updates (which are full updates) can retrieve the element for patching.\r\n *\r\n * #2080\r\n * Inside keyed `template` fragment static children, if a fragment is moved,\r\n * the children will always moved so that need inherit el form previous nodes\r\n * to ensure correct moved position.\r\n */\r\nfunction traverseStaticChildren(n1, n2, shallow = false) {\r\n    const ch1 = n1.children;\r\n    const ch2 = n2.children;\r\n    if (isArray(ch1) && isArray(ch2)) {\r\n        for (let i = 0; i < ch1.length; i++) {\r\n            // this is only called in the optimized path so array children are\r\n            // guaranteed to be vnodes\r\n            const c1 = ch1[i];\r\n            let c2 = ch2[i];\r\n            if (c2.shapeFlag & 1 /* ELEMENT */ && !c2.dynamicChildren) {\r\n                if (c2.patchFlag <= 0 || c2.patchFlag === 32 /* HYDRATE_EVENTS */) {\r\n                    c2 = ch2[i] = cloneIfMounted(ch2[i]);\r\n                    c2.el = c1.el;\r\n                }\r\n                if (!shallow)\r\n                    traverseStaticChildren(c1, c2);\r\n            }\r\n            // also inherit for comment nodes, but not placeholders (e.g. v-if which\r\n            // would have received .el during block patch)\r\n            if ((process.env.NODE_ENV !== 'production') && c2.type === Comment && !c2.el) {\r\n                c2.el = c1.el;\r\n            }\r\n        }\r\n    }\r\n}\r\n// https://en.wikipedia.org/wiki/Longest_increasing_subsequence\r\nfunction getSequence(arr) {\r\n    const p = arr.slice();\r\n    const result = [0];\r\n    let i, j, u, v, c;\r\n    const len = arr.length;\r\n    for (i = 0; i < len; i++) {\r\n        const arrI = arr[i];\r\n        if (arrI !== 0) {\r\n            j = result[result.length - 1];\r\n            if (arr[j] < arrI) {\r\n                p[i] = j;\r\n                result.push(i);\r\n                continue;\r\n            }\r\n            u = 0;\r\n            v = result.length - 1;\r\n            while (u < v) {\r\n                c = (u + v) >> 1;\r\n                if (arr[result[c]] < arrI) {\r\n                    u = c + 1;\r\n                }\r\n                else {\r\n                    v = c;\r\n                }\r\n            }\r\n            if (arrI < arr[result[u]]) {\r\n                if (u > 0) {\r\n                    p[i] = result[u - 1];\r\n                }\r\n                result[u] = i;\r\n            }\r\n        }\r\n    }\r\n    u = result.length;\r\n    v = result[u - 1];\r\n    while (u-- > 0) {\r\n        result[u] = v;\r\n        v = p[v];\r\n    }\r\n    return result;\r\n}\n\nconst isTeleport = (type) => type.__isTeleport;\r\nconst isTeleportDisabled = (props) => props && (props.disabled || props.disabled === '');\r\nconst isTargetSVG = (target) => typeof SVGElement !== 'undefined' && target instanceof SVGElement;\r\nconst resolveTarget = (props, select) => {\r\n    const targetSelector = props && props.to;\r\n    if (isString(targetSelector)) {\r\n        if (!select) {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`Current renderer does not support string target for Teleports. ` +\r\n                    `(missing querySelector renderer option)`);\r\n            return null;\r\n        }\r\n        else {\r\n            const target = select(targetSelector);\r\n            if (!target) {\r\n                (process.env.NODE_ENV !== 'production') &&\r\n                    warn(`Failed to locate Teleport target with selector \"${targetSelector}\". ` +\r\n                        `Note the target element must exist before the component is mounted - ` +\r\n                        `i.e. the target cannot be rendered by the component itself, and ` +\r\n                        `ideally should be outside of the entire Vue component tree.`);\r\n            }\r\n            return target;\r\n        }\r\n    }\r\n    else {\r\n        if ((process.env.NODE_ENV !== 'production') && !targetSelector && !isTeleportDisabled(props)) {\r\n            warn(`Invalid Teleport target: ${targetSelector}`);\r\n        }\r\n        return targetSelector;\r\n    }\r\n};\r\nconst TeleportImpl = {\r\n    __isTeleport: true,\r\n    process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {\r\n        const { mc: mountChildren, pc: patchChildren, pbc: patchBlockChildren, o: { insert, querySelector, createText, createComment } } = internals;\r\n        const disabled = isTeleportDisabled(n2.props);\r\n        let { shapeFlag, children, dynamicChildren } = n2;\r\n        // #3302\r\n        // HMR updated, force full diff\r\n        if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n            optimized = false;\r\n            dynamicChildren = null;\r\n        }\r\n        if (n1 == null) {\r\n            // insert anchors in the main view\r\n            const placeholder = (n2.el = (process.env.NODE_ENV !== 'production')\r\n                ? createComment('teleport start')\r\n                : createText(''));\r\n            const mainAnchor = (n2.anchor = (process.env.NODE_ENV !== 'production')\r\n                ? createComment('teleport end')\r\n                : createText(''));\r\n            insert(placeholder, container, anchor);\r\n            insert(mainAnchor, container, anchor);\r\n            const target = (n2.target = resolveTarget(n2.props, querySelector));\r\n            const targetAnchor = (n2.targetAnchor = createText(''));\r\n            if (target) {\r\n                insert(targetAnchor, target);\r\n                // #2652 we could be teleporting from a non-SVG tree into an SVG tree\r\n                isSVG = isSVG || isTargetSVG(target);\r\n            }\r\n            else if ((process.env.NODE_ENV !== 'production') && !disabled) {\r\n                warn('Invalid Teleport target on mount:', target, `(${typeof target})`);\r\n            }\r\n            const mount = (container, anchor) => {\r\n                // Teleport *always* has Array children. This is enforced in both the\r\n                // compiler and vnode children normalization.\r\n                if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                    mountChildren(children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n                }\r\n            };\r\n            if (disabled) {\r\n                mount(container, mainAnchor);\r\n            }\r\n            else if (target) {\r\n                mount(target, targetAnchor);\r\n            }\r\n        }\r\n        else {\r\n            // update content\r\n            n2.el = n1.el;\r\n            const mainAnchor = (n2.anchor = n1.anchor);\r\n            const target = (n2.target = n1.target);\r\n            const targetAnchor = (n2.targetAnchor = n1.targetAnchor);\r\n            const wasDisabled = isTeleportDisabled(n1.props);\r\n            const currentContainer = wasDisabled ? container : target;\r\n            const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;\r\n            isSVG = isSVG || isTargetSVG(target);\r\n            if (dynamicChildren) {\r\n                // fast path when the teleport happens to be a block root\r\n                patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);\r\n                // even in block tree mode we need to make sure all root-level nodes\r\n                // in the teleport inherit previous DOM references so that they can\r\n                // be moved in future patches.\r\n                traverseStaticChildren(n1, n2, true);\r\n            }\r\n            else if (!optimized) {\r\n                patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);\r\n            }\r\n            if (disabled) {\r\n                if (!wasDisabled) {\r\n                    // enabled -> disabled\r\n                    // move into main container\r\n                    moveTeleport(n2, container, mainAnchor, internals, 1 /* TOGGLE */);\r\n                }\r\n            }\r\n            else {\r\n                // target changed\r\n                if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {\r\n                    const nextTarget = (n2.target = resolveTarget(n2.props, querySelector));\r\n                    if (nextTarget) {\r\n                        moveTeleport(n2, nextTarget, null, internals, 0 /* TARGET_CHANGE */);\r\n                    }\r\n                    else if ((process.env.NODE_ENV !== 'production')) {\r\n                        warn('Invalid Teleport target on update:', target, `(${typeof target})`);\r\n                    }\r\n                }\r\n                else if (wasDisabled) {\r\n                    // disabled -> enabled\r\n                    // move into teleport target\r\n                    moveTeleport(n2, target, targetAnchor, internals, 1 /* TOGGLE */);\r\n                }\r\n            }\r\n        }\r\n    },\r\n    remove(vnode, parentComponent, parentSuspense, optimized, { um: unmount, o: { remove: hostRemove } }, doRemove) {\r\n        const { shapeFlag, children, anchor, targetAnchor, target, props } = vnode;\r\n        if (target) {\r\n            hostRemove(targetAnchor);\r\n        }\r\n        // an unmounted teleport should always remove its children if not disabled\r\n        if (doRemove || !isTeleportDisabled(props)) {\r\n            hostRemove(anchor);\r\n            if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n                for (let i = 0; i < children.length; i++) {\r\n                    const child = children[i];\r\n                    unmount(child, parentComponent, parentSuspense, true, !!child.dynamicChildren);\r\n                }\r\n            }\r\n        }\r\n    },\r\n    move: moveTeleport,\r\n    hydrate: hydrateTeleport\r\n};\r\nfunction moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2 /* REORDER */) {\r\n    // move target anchor if this is a target change.\r\n    if (moveType === 0 /* TARGET_CHANGE */) {\r\n        insert(vnode.targetAnchor, container, parentAnchor);\r\n    }\r\n    const { el, anchor, shapeFlag, children, props } = vnode;\r\n    const isReorder = moveType === 2 /* REORDER */;\r\n    // move main view anchor if this is a re-order.\r\n    if (isReorder) {\r\n        insert(el, container, parentAnchor);\r\n    }\r\n    // if this is a re-order and teleport is enabled (content is in target)\r\n    // do not move children. So the opposite is: only move children if this\r\n    // is not a reorder, or the teleport is disabled\r\n    if (!isReorder || isTeleportDisabled(props)) {\r\n        // Teleport has either Array children or no children.\r\n        if (shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n            for (let i = 0; i < children.length; i++) {\r\n                move(children[i], container, parentAnchor, 2 /* REORDER */);\r\n            }\r\n        }\r\n    }\r\n    // move main view anchor if this is a re-order.\r\n    if (isReorder) {\r\n        insert(anchor, container, parentAnchor);\r\n    }\r\n}\r\nfunction hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector } }, hydrateChildren) {\r\n    const target = (vnode.target = resolveTarget(vnode.props, querySelector));\r\n    if (target) {\r\n        // if multiple teleports rendered to the same target element, we need to\r\n        // pick up from where the last teleport finished instead of the first node\r\n        const targetNode = target._lpa || target.firstChild;\r\n        if (vnode.shapeFlag & 16 /* ARRAY_CHILDREN */) {\r\n            if (isTeleportDisabled(vnode.props)) {\r\n                vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);\r\n                vnode.targetAnchor = targetNode;\r\n            }\r\n            else {\r\n                vnode.anchor = nextSibling(node);\r\n                vnode.targetAnchor = hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n            }\r\n            target._lpa =\r\n                vnode.targetAnchor && nextSibling(vnode.targetAnchor);\r\n        }\r\n    }\r\n    return vnode.anchor && nextSibling(vnode.anchor);\r\n}\r\n// Force-casted public typing for h and TSX props inference\r\nconst Teleport = TeleportImpl;\n\nconst COMPONENTS = 'components';\r\nconst DIRECTIVES = 'directives';\r\n/**\r\n * @private\r\n */\r\nfunction resolveComponent(name, maybeSelfReference) {\r\n    return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\r\n}\r\nconst NULL_DYNAMIC_COMPONENT = Symbol();\r\n/**\r\n * @private\r\n */\r\nfunction resolveDynamicComponent(component) {\r\n    if (isString(component)) {\r\n        return resolveAsset(COMPONENTS, component, false) || component;\r\n    }\r\n    else {\r\n        // invalid types will fallthrough to createVNode and raise warning\r\n        return (component || NULL_DYNAMIC_COMPONENT);\r\n    }\r\n}\r\n/**\r\n * @private\r\n */\r\nfunction resolveDirective(name) {\r\n    return resolveAsset(DIRECTIVES, name);\r\n}\r\n// implementation\r\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\r\n    const instance = currentRenderingInstance || currentInstance;\r\n    if (instance) {\r\n        const Component = instance.type;\r\n        // explicit self name has highest priority\r\n        if (type === COMPONENTS) {\r\n            const selfName = getComponentName(Component);\r\n            if (selfName &&\r\n                (selfName === name ||\r\n                    selfName === camelize(name) ||\r\n                    selfName === capitalize(camelize(name)))) {\r\n                return Component;\r\n            }\r\n        }\r\n        const res = \r\n        // local registration\r\n        // check instance[type] first which is resolved for options API\r\n        resolve(instance[type] || Component[type], name) ||\r\n            // global registration\r\n            resolve(instance.appContext[type], name);\r\n        if (!res && maybeSelfReference) {\r\n            // fallback to implicit self-reference\r\n            return Component;\r\n        }\r\n        if ((process.env.NODE_ENV !== 'production') && warnMissing && !res) {\r\n            warn(`Failed to resolve ${type.slice(0, -1)}: ${name}`);\r\n        }\r\n        return res;\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production')) {\r\n        warn(`resolve${capitalize(type.slice(0, -1))} ` +\r\n            `can only be used in render() or setup().`);\r\n    }\r\n}\r\nfunction resolve(registry, name) {\r\n    return (registry &&\r\n        (registry[name] ||\r\n            registry[camelize(name)] ||\r\n            registry[capitalize(camelize(name))]));\r\n}\n\nconst Fragment = Symbol((process.env.NODE_ENV !== 'production') ? 'Fragment' : undefined);\r\nconst Text = Symbol((process.env.NODE_ENV !== 'production') ? 'Text' : undefined);\r\nconst Comment = Symbol((process.env.NODE_ENV !== 'production') ? 'Comment' : undefined);\r\nconst Static = Symbol((process.env.NODE_ENV !== 'production') ? 'Static' : undefined);\r\n// Since v-if and v-for are the two possible ways node structure can dynamically\r\n// change, once we consider v-if branches and each v-for fragment a block, we\r\n// can divide a template into nested blocks, and within each block the node\r\n// structure would be stable. This allows us to skip most children diffing\r\n// and only worry about the dynamic nodes (indicated by patch flags).\r\nconst blockStack = [];\r\nlet currentBlock = null;\r\n/**\r\n * Open a block.\r\n * This must be called before `createBlock`. It cannot be part of `createBlock`\r\n * because the children of the block are evaluated before `createBlock` itself\r\n * is called. The generated code typically looks like this:\r\n *\r\n * ```js\r\n * function render() {\r\n *   return (openBlock(),createBlock('div', null, [...]))\r\n * }\r\n * ```\r\n * disableTracking is true when creating a v-for fragment block, since a v-for\r\n * fragment always diffs its children.\r\n *\r\n * @private\r\n */\r\nfunction openBlock(disableTracking = false) {\r\n    blockStack.push((currentBlock = disableTracking ? null : []));\r\n}\r\nfunction closeBlock() {\r\n    blockStack.pop();\r\n    currentBlock = blockStack[blockStack.length - 1] || null;\r\n}\r\n// Whether we should be tracking dynamic child nodes inside a block.\r\n// Only tracks when this value is > 0\r\n// We are not using a simple boolean because this value may need to be\r\n// incremented/decremented by nested usage of v-once (see below)\r\nlet isBlockTreeEnabled = 1;\r\n/**\r\n * Block tracking sometimes needs to be disabled, for example during the\r\n * creation of a tree that needs to be cached by v-once. The compiler generates\r\n * code like this:\r\n *\r\n * ``` js\r\n * _cache[1] || (\r\n *   setBlockTracking(-1),\r\n *   _cache[1] = createVNode(...),\r\n *   setBlockTracking(1),\r\n *   _cache[1]\r\n * )\r\n * ```\r\n *\r\n * @private\r\n */\r\nfunction setBlockTracking(value) {\r\n    isBlockTreeEnabled += value;\r\n}\r\nfunction setupBlock(vnode) {\r\n    // save current block children on the block vnode\r\n    vnode.dynamicChildren =\r\n        isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null;\r\n    // close block\r\n    closeBlock();\r\n    // a block is always going to be patched, so track it as a child of its\r\n    // parent block\r\n    if (isBlockTreeEnabled > 0 && currentBlock) {\r\n        currentBlock.push(vnode);\r\n    }\r\n    return vnode;\r\n}\r\n/**\r\n * @private\r\n */\r\nfunction createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {\r\n    return setupBlock(createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, true /* isBlock */));\r\n}\r\n/**\r\n * Create a block root vnode. Takes the same exact arguments as `createVNode`.\r\n * A block root keeps track of dynamic nodes within the block in the\r\n * `dynamicChildren` array.\r\n *\r\n * @private\r\n */\r\nfunction createBlock(type, props, children, patchFlag, dynamicProps) {\r\n    return setupBlock(createVNode(type, props, children, patchFlag, dynamicProps, true /* isBlock: prevent a block from tracking itself */));\r\n}\r\nfunction isVNode(value) {\r\n    return value ? value.__v_isVNode === true : false;\r\n}\r\nfunction isSameVNodeType(n1, n2) {\r\n    if ((process.env.NODE_ENV !== 'production') &&\r\n        n2.shapeFlag & 6 /* COMPONENT */ &&\r\n        hmrDirtyComponents.has(n2.type)) {\r\n        // HMR only: if the component has been hot-updated, force a reload.\r\n        return false;\r\n    }\r\n    return n1.type === n2.type && n1.key === n2.key;\r\n}\r\nlet vnodeArgsTransformer;\r\n/**\r\n * Internal API for registering an arguments transform for createVNode\r\n * used for creating stubs in the test-utils\r\n * It is *internal* but needs to be exposed for test-utils to pick up proper\r\n * typings\r\n */\r\nfunction transformVNodeArgs(transformer) {\r\n    vnodeArgsTransformer = transformer;\r\n}\r\nconst createVNodeWithArgsTransform = (...args) => {\r\n    return _createVNode(...(vnodeArgsTransformer\r\n        ? vnodeArgsTransformer(args, currentRenderingInstance)\r\n        : args));\r\n};\r\nconst InternalObjectKey = `__vInternal`;\r\nconst normalizeKey = ({ key }) => key != null ? key : null;\r\nconst normalizeRef = ({ ref }) => {\r\n    return (ref != null\r\n        ? isString(ref) || isRef(ref) || isFunction$1(ref)\r\n            ? { i: currentRenderingInstance, r: ref }\r\n            : ref\r\n        : null);\r\n};\r\nfunction createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1 /* ELEMENT */, isBlockNode = false, needFullChildrenNormalization = false) {\r\n    const vnode = {\r\n        __v_isVNode: true,\r\n        __v_skip: true,\r\n        type,\r\n        props,\r\n        key: props && normalizeKey(props),\r\n        ref: props && normalizeRef(props),\r\n        scopeId: currentScopeId,\r\n        slotScopeIds: null,\r\n        children,\r\n        component: null,\r\n        suspense: null,\r\n        ssContent: null,\r\n        ssFallback: null,\r\n        dirs: null,\r\n        transition: null,\r\n        el: null,\r\n        anchor: null,\r\n        target: null,\r\n        targetAnchor: null,\r\n        staticCount: 0,\r\n        shapeFlag,\r\n        patchFlag,\r\n        dynamicProps,\r\n        dynamicChildren: null,\r\n        appContext: null\r\n    };\r\n    if (needFullChildrenNormalization) {\r\n        normalizeChildren(vnode, children);\r\n        // normalize suspense children\r\n        if (shapeFlag & 128 /* SUSPENSE */) {\r\n            type.normalize(vnode);\r\n        }\r\n    }\r\n    else if (children) {\r\n        // compiled element vnode - if children is passed, only possible types are\r\n        // string or Array.\r\n        vnode.shapeFlag |= isString(children)\r\n            ? 8 /* TEXT_CHILDREN */\r\n            : 16 /* ARRAY_CHILDREN */;\r\n    }\r\n    // validate key\r\n    if ((process.env.NODE_ENV !== 'production') && vnode.key !== vnode.key) {\r\n        warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);\r\n    }\r\n    // track vnode for block tree\r\n    if (isBlockTreeEnabled > 0 &&\r\n        // avoid a block node from tracking itself\r\n        !isBlockNode &&\r\n        // has current parent block\r\n        currentBlock &&\r\n        // presence of a patch flag indicates this node needs patching on updates.\r\n        // component nodes also should always be patched, because even if the\r\n        // component doesn't need to update, it needs to persist the instance on to\r\n        // the next vnode so that it can be properly unmounted later.\r\n        (vnode.patchFlag > 0 || shapeFlag & 6 /* COMPONENT */) &&\r\n        // the EVENTS flag is only for hydration and if it is the only flag, the\r\n        // vnode should not be considered dynamic due to handler caching.\r\n        vnode.patchFlag !== 32 /* HYDRATE_EVENTS */) {\r\n        currentBlock.push(vnode);\r\n    }\r\n    return vnode;\r\n}\r\nconst createVNode = ((process.env.NODE_ENV !== 'production') ? createVNodeWithArgsTransform : _createVNode);\r\nfunction _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {\r\n    if (!type || type === NULL_DYNAMIC_COMPONENT) {\r\n        if ((process.env.NODE_ENV !== 'production') && !type) {\r\n            warn(`Invalid vnode type when creating vnode: ${type}.`);\r\n        }\r\n        type = Comment;\r\n    }\r\n    if (isVNode(type)) {\r\n        // createVNode receiving an existing vnode. This happens in cases like\r\n        // <component :is=\"vnode\"/>\r\n        // #2078 make sure to merge refs during the clone instead of overwriting it\r\n        const cloned = cloneVNode(type, props, true /* mergeRef: true */);\r\n        if (children) {\r\n            normalizeChildren(cloned, children);\r\n        }\r\n        return cloned;\r\n    }\r\n    // class component normalization.\r\n    if (isClassComponent(type)) {\r\n        type = type.__vccOpts;\r\n    }\r\n    // class & style normalization.\r\n    if (props) {\r\n        // for reactive or proxy objects, we need to clone it to enable mutation.\r\n        props = guardReactiveProps(props);\r\n        let { class: klass, style } = props;\r\n        if (klass && !isString(klass)) {\r\n            props.class = normalizeClass(klass);\r\n        }\r\n        if (isObject$1(style)) {\r\n            // reactive state objects need to be cloned since they are likely to be\r\n            // mutated\r\n            if (isProxy(style) && !isArray(style)) {\r\n                style = extend({}, style);\r\n            }\r\n            props.style = normalizeStyle(style);\r\n        }\r\n    }\r\n    // encode the vnode type information into a bitmap\r\n    const shapeFlag = isString(type)\r\n        ? 1 /* ELEMENT */\r\n        : isSuspense(type)\r\n            ? 128 /* SUSPENSE */\r\n            : isTeleport(type)\r\n                ? 64 /* TELEPORT */\r\n                : isObject$1(type)\r\n                    ? 4 /* STATEFUL_COMPONENT */\r\n                    : isFunction$1(type)\r\n                        ? 2 /* FUNCTIONAL_COMPONENT */\r\n                        : 0;\r\n    if ((process.env.NODE_ENV !== 'production') && shapeFlag & 4 /* STATEFUL_COMPONENT */ && isProxy(type)) {\r\n        type = toRaw(type);\r\n        warn(`Vue received a Component which was made a reactive object. This can ` +\r\n            `lead to unnecessary performance overhead, and should be avoided by ` +\r\n            `marking the component with \\`markRaw\\` or using \\`shallowRef\\` ` +\r\n            `instead of \\`ref\\`.`, `\\nComponent that was made reactive: `, type);\r\n    }\r\n    return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);\r\n}\r\nfunction guardReactiveProps(props) {\r\n    if (!props)\r\n        return null;\r\n    return isProxy(props) || InternalObjectKey in props\r\n        ? extend({}, props)\r\n        : props;\r\n}\r\nfunction cloneVNode(vnode, extraProps, mergeRef = false) {\r\n    // This is intentionally NOT using spread or extend to avoid the runtime\r\n    // key enumeration cost.\r\n    const { props, ref, patchFlag, children } = vnode;\r\n    const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;\r\n    const cloned = {\r\n        __v_isVNode: true,\r\n        __v_skip: true,\r\n        type: vnode.type,\r\n        props: mergedProps,\r\n        key: mergedProps && normalizeKey(mergedProps),\r\n        ref: extraProps && extraProps.ref\r\n            ? // #2078 in the case of <component :is=\"vnode\" ref=\"extra\"/>\r\n                // if the vnode itself already has a ref, cloneVNode will need to merge\r\n                // the refs so the single vnode can be set on multiple refs\r\n                mergeRef && ref\r\n                    ? isArray(ref)\r\n                        ? ref.concat(normalizeRef(extraProps))\r\n                        : [ref, normalizeRef(extraProps)]\r\n                    : normalizeRef(extraProps)\r\n            : ref,\r\n        scopeId: vnode.scopeId,\r\n        slotScopeIds: vnode.slotScopeIds,\r\n        children: (process.env.NODE_ENV !== 'production') && patchFlag === -1 /* HOISTED */ && isArray(children)\r\n            ? children.map(deepCloneVNode)\r\n            : children,\r\n        target: vnode.target,\r\n        targetAnchor: vnode.targetAnchor,\r\n        staticCount: vnode.staticCount,\r\n        shapeFlag: vnode.shapeFlag,\r\n        // if the vnode is cloned with extra props, we can no longer assume its\r\n        // existing patch flag to be reliable and need to add the FULL_PROPS flag.\r\n        // note: perserve flag for fragments since they use the flag for children\r\n        // fast paths only.\r\n        patchFlag: extraProps && vnode.type !== Fragment\r\n            ? patchFlag === -1 // hoisted node\r\n                ? 16 /* FULL_PROPS */\r\n                : patchFlag | 16 /* FULL_PROPS */\r\n            : patchFlag,\r\n        dynamicProps: vnode.dynamicProps,\r\n        dynamicChildren: vnode.dynamicChildren,\r\n        appContext: vnode.appContext,\r\n        dirs: vnode.dirs,\r\n        transition: vnode.transition,\r\n        // These should technically only be non-null on mounted VNodes. However,\r\n        // they *should* be copied for kept-alive vnodes. So we just always copy\r\n        // them since them being non-null during a mount doesn't affect the logic as\r\n        // they will simply be overwritten.\r\n        component: vnode.component,\r\n        suspense: vnode.suspense,\r\n        ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),\r\n        ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),\r\n        el: vnode.el,\r\n        anchor: vnode.anchor\r\n    };\r\n    return cloned;\r\n}\r\n/**\r\n * Dev only, for HMR of hoisted vnodes reused in v-for\r\n * https://github.com/vitejs/vite/issues/2022\r\n */\r\nfunction deepCloneVNode(vnode) {\r\n    const cloned = cloneVNode(vnode);\r\n    if (isArray(vnode.children)) {\r\n        cloned.children = vnode.children.map(deepCloneVNode);\r\n    }\r\n    return cloned;\r\n}\r\n/**\r\n * @private\r\n */\r\nfunction createTextVNode(text = ' ', flag = 0) {\r\n    return createVNode(Text, null, text, flag);\r\n}\r\n/**\r\n * @private\r\n */\r\nfunction createStaticVNode(content, numberOfNodes) {\r\n    // A static vnode can contain multiple stringified elements, and the number\r\n    // of elements is necessary for hydration.\r\n    const vnode = createVNode(Static, null, content);\r\n    vnode.staticCount = numberOfNodes;\r\n    return vnode;\r\n}\r\n/**\r\n * @private\r\n */\r\nfunction createCommentVNode(text = '', \r\n// when used as the v-else branch, the comment node must be created as a\r\n// block to ensure correct updates.\r\nasBlock = false) {\r\n    return asBlock\r\n        ? (openBlock(), createBlock(Comment, null, text))\r\n        : createVNode(Comment, null, text);\r\n}\r\nfunction normalizeVNode(child) {\r\n    if (child == null || typeof child === 'boolean') {\r\n        // empty placeholder\r\n        return createVNode(Comment);\r\n    }\r\n    else if (isArray(child)) {\r\n        // fragment\r\n        return createVNode(Fragment, null, \r\n        // #3666, avoid reference pollution when reusing vnode\r\n        child.slice());\r\n    }\r\n    else if (typeof child === 'object') {\r\n        // already vnode, this should be the most common since compiled templates\r\n        // always produce all-vnode children arrays\r\n        return cloneIfMounted(child);\r\n    }\r\n    else {\r\n        // strings and numbers\r\n        return createVNode(Text, null, String(child));\r\n    }\r\n}\r\n// optimized normalization for template-compiled render fns\r\nfunction cloneIfMounted(child) {\r\n    return child.el === null || child.memo ? child : cloneVNode(child);\r\n}\r\nfunction normalizeChildren(vnode, children) {\r\n    let type = 0;\r\n    const { shapeFlag } = vnode;\r\n    if (children == null) {\r\n        children = null;\r\n    }\r\n    else if (isArray(children)) {\r\n        type = 16 /* ARRAY_CHILDREN */;\r\n    }\r\n    else if (typeof children === 'object') {\r\n        if (shapeFlag & (1 /* ELEMENT */ | 64 /* TELEPORT */)) {\r\n            // Normalize slot to plain children for plain element and Teleport\r\n            const slot = children.default;\r\n            if (slot) {\r\n                // _c marker is added by withCtx() indicating this is a compiled slot\r\n                slot._c && (slot._d = false);\r\n                normalizeChildren(vnode, slot());\r\n                slot._c && (slot._d = true);\r\n            }\r\n            return;\r\n        }\r\n        else {\r\n            type = 32 /* SLOTS_CHILDREN */;\r\n            const slotFlag = children._;\r\n            if (!slotFlag && !(InternalObjectKey in children)) {\r\n                children._ctx = currentRenderingInstance;\r\n            }\r\n            else if (slotFlag === 3 /* FORWARDED */ && currentRenderingInstance) {\r\n                // a child component receives forwarded slots from the parent.\r\n                // its slot type is determined by its parent's slot type.\r\n                if (currentRenderingInstance.slots._ === 1 /* STABLE */) {\r\n                    children._ = 1 /* STABLE */;\r\n                }\r\n                else {\r\n                    children._ = 2 /* DYNAMIC */;\r\n                    vnode.patchFlag |= 1024 /* DYNAMIC_SLOTS */;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    else if (isFunction$1(children)) {\r\n        children = { default: children, _ctx: currentRenderingInstance };\r\n        type = 32 /* SLOTS_CHILDREN */;\r\n    }\r\n    else {\r\n        children = String(children);\r\n        // force teleport children to array so it can be moved around\r\n        if (shapeFlag & 64 /* TELEPORT */) {\r\n            type = 16 /* ARRAY_CHILDREN */;\r\n            children = [createTextVNode(children)];\r\n        }\r\n        else {\r\n            type = 8 /* TEXT_CHILDREN */;\r\n        }\r\n    }\r\n    vnode.children = children;\r\n    vnode.shapeFlag |= type;\r\n}\r\nfunction mergeProps(...args) {\r\n    const ret = {};\r\n    for (let i = 0; i < args.length; i++) {\r\n        const toMerge = args[i];\r\n        for (const key in toMerge) {\r\n            if (key === 'class') {\r\n                if (ret.class !== toMerge.class) {\r\n                    ret.class = normalizeClass([ret.class, toMerge.class]);\r\n                }\r\n            }\r\n            else if (key === 'style') {\r\n                ret.style = normalizeStyle([ret.style, toMerge.style]);\r\n            }\r\n            else if (isOn(key)) {\r\n                const existing = ret[key];\r\n                const incoming = toMerge[key];\r\n                if (existing !== incoming) {\r\n                    ret[key] = existing\r\n                        ? [].concat(existing, incoming)\r\n                        : incoming;\r\n                }\r\n            }\r\n            else if (key !== '') {\r\n                ret[key] = toMerge[key];\r\n            }\r\n        }\r\n    }\r\n    return ret;\r\n}\n\n/**\r\n * Actual implementation\r\n */\r\nfunction renderList(source, renderItem, cache, index) {\r\n    let ret;\r\n    const cached = (cache && cache[index]);\r\n    if (isArray(source) || isString(source)) {\r\n        ret = new Array(source.length);\r\n        for (let i = 0, l = source.length; i < l; i++) {\r\n            ret[i] = renderItem(source[i], i, undefined, cached && cached[i]);\r\n        }\r\n    }\r\n    else if (typeof source === 'number') {\r\n        if ((process.env.NODE_ENV !== 'production') && !Number.isInteger(source)) {\r\n            warn(`The v-for range expect an integer value but got ${source}.`);\r\n            return [];\r\n        }\r\n        ret = new Array(source);\r\n        for (let i = 0; i < source; i++) {\r\n            ret[i] = renderItem(i + 1, i, undefined, cached && cached[i]);\r\n        }\r\n    }\r\n    else if (isObject$1(source)) {\r\n        if (source[Symbol.iterator]) {\r\n            ret = Array.from(source, (item, i) => renderItem(item, i, undefined, cached && cached[i]));\r\n        }\r\n        else {\r\n            const keys = Object.keys(source);\r\n            ret = new Array(keys.length);\r\n            for (let i = 0, l = keys.length; i < l; i++) {\r\n                const key = keys[i];\r\n                ret[i] = renderItem(source[key], key, i, cached && cached[i]);\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        ret = [];\r\n    }\r\n    if (cache) {\r\n        cache[index] = ret;\r\n    }\r\n    return ret;\r\n}\n\n/**\r\n * Compiler runtime helper for creating dynamic slots object\r\n * @private\r\n */\r\nfunction createSlots(slots, dynamicSlots) {\r\n    for (let i = 0; i < dynamicSlots.length; i++) {\r\n        const slot = dynamicSlots[i];\r\n        // array of dynamic slot generated by <template v-for=\"...\" #[...]>\r\n        if (isArray(slot)) {\r\n            for (let j = 0; j < slot.length; j++) {\r\n                slots[slot[j].name] = slot[j].fn;\r\n            }\r\n        }\r\n        else if (slot) {\r\n            // conditional single slot generated by <template v-if=\"...\" #foo>\r\n            slots[slot.name] = slot.fn;\r\n        }\r\n    }\r\n    return slots;\r\n}\n\n/**\r\n * Compiler runtime helper for rendering `<slot/>`\r\n * @private\r\n */\r\nfunction renderSlot(slots, name, props = {}, \r\n// this is not a user-facing function, so the fallback is always generated by\r\n// the compiler and guaranteed to be a function returning an array\r\nfallback, noSlotted) {\r\n    if (currentRenderingInstance.isCE) {\r\n        return createVNode('slot', name === 'default' ? null : { name }, fallback && fallback());\r\n    }\r\n    let slot = slots[name];\r\n    if ((process.env.NODE_ENV !== 'production') && slot && slot.length > 1) {\r\n        warn(`SSR-optimized slot function detected in a non-SSR-optimized render ` +\r\n            `function. You need to mark this component with $dynamic-slots in the ` +\r\n            `parent template.`);\r\n        slot = () => [];\r\n    }\r\n    // a compiled slot disables block tracking by default to avoid manual\r\n    // invocation interfering with template-based block tracking, but in\r\n    // `renderSlot` we can be sure that it's template-based so we can force\r\n    // enable it.\r\n    if (slot && slot._c) {\r\n        slot._d = false;\r\n    }\r\n    openBlock();\r\n    const validSlotContent = slot && ensureValidVNode(slot(props));\r\n    const rendered = createBlock(Fragment, { key: props.key || `_${name}` }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 /* STABLE */\r\n        ? 64 /* STABLE_FRAGMENT */\r\n        : -2 /* BAIL */);\r\n    if (!noSlotted && rendered.scopeId) {\r\n        rendered.slotScopeIds = [rendered.scopeId + '-s'];\r\n    }\r\n    if (slot && slot._c) {\r\n        slot._d = true;\r\n    }\r\n    return rendered;\r\n}\r\nfunction ensureValidVNode(vnodes) {\r\n    return vnodes.some(child => {\r\n        if (!isVNode(child))\r\n            return true;\r\n        if (child.type === Comment)\r\n            return false;\r\n        if (child.type === Fragment &&\r\n            !ensureValidVNode(child.children))\r\n            return false;\r\n        return true;\r\n    })\r\n        ? vnodes\r\n        : null;\r\n}\n\n/**\r\n * For prefixing keys in v-on=\"obj\" with \"on\"\r\n * @private\r\n */\r\nfunction toHandlers(obj) {\r\n    const ret = {};\r\n    if ((process.env.NODE_ENV !== 'production') && !isObject$1(obj)) {\r\n        warn(`v-on with no argument expects an object value.`);\r\n        return ret;\r\n    }\r\n    for (const key in obj) {\r\n        ret[toHandlerKey(key)] = obj[key];\r\n    }\r\n    return ret;\r\n}\n\n/**\r\n * #2437 In Vue 3, functional components do not have a public instance proxy but\r\n * they exist in the internal parent chain. For code that relies on traversing\r\n * public $parent chains, skip functional ones and go to the parent instead.\r\n */\r\nconst getPublicInstance = (i) => {\r\n    if (!i)\r\n        return null;\r\n    if (isStatefulComponent(i))\r\n        return getExposeProxy(i) || i.proxy;\r\n    return getPublicInstance(i.parent);\r\n};\r\nconst publicPropertiesMap = extend(Object.create(null), {\r\n    $: i => i,\r\n    $el: i => i.vnode.el,\r\n    $data: i => i.data,\r\n    $props: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.props) : i.props),\r\n    $attrs: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.attrs) : i.attrs),\r\n    $slots: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.slots) : i.slots),\r\n    $refs: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.refs) : i.refs),\r\n    $parent: i => getPublicInstance(i.parent),\r\n    $root: i => getPublicInstance(i.root),\r\n    $emit: i => i.emit,\r\n    $options: i => (__VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type),\r\n    $forceUpdate: i => () => queueJob(i.update),\r\n    $nextTick: i => nextTick.bind(i.proxy),\r\n    $watch: i => (__VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP)\r\n});\r\nconst PublicInstanceProxyHandlers = {\r\n    get({ _: instance }, key) {\r\n        const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\r\n        // for internal formatters to know that this is a Vue instance\r\n        if ((process.env.NODE_ENV !== 'production') && key === '__isVue') {\r\n            return true;\r\n        }\r\n        // prioritize <script setup> bindings during dev.\r\n        // this allows even properties that start with _ or $ to be used - so that\r\n        // it aligns with the production behavior where the render fn is inlined and\r\n        // indeed has access to all declared variables.\r\n        if ((process.env.NODE_ENV !== 'production') &&\r\n            setupState !== EMPTY_OBJ &&\r\n            setupState.__isScriptSetup &&\r\n            hasOwn(setupState, key)) {\r\n            return setupState[key];\r\n        }\r\n        // data / props / ctx\r\n        // This getter gets called for every property access on the render context\r\n        // during render and is a major hotspot. The most expensive part of this\r\n        // is the multiple hasOwn() calls. It's much faster to do a simple property\r\n        // access on a plain object, so we use an accessCache object (with null\r\n        // prototype) to memoize what access type a key corresponds to.\r\n        let normalizedProps;\r\n        if (key[0] !== '$') {\r\n            const n = accessCache[key];\r\n            if (n !== undefined) {\r\n                switch (n) {\r\n                    case 0 /* SETUP */:\r\n                        return setupState[key];\r\n                    case 1 /* DATA */:\r\n                        return data[key];\r\n                    case 3 /* CONTEXT */:\r\n                        return ctx[key];\r\n                    case 2 /* PROPS */:\r\n                        return props[key];\r\n                    // default: just fallthrough\r\n                }\r\n            }\r\n            else if (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) {\r\n                accessCache[key] = 0 /* SETUP */;\r\n                return setupState[key];\r\n            }\r\n            else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\r\n                accessCache[key] = 1 /* DATA */;\r\n                return data[key];\r\n            }\r\n            else if (\r\n            // only cache other properties when instance has declared (thus stable)\r\n            // props\r\n            (normalizedProps = instance.propsOptions[0]) &&\r\n                hasOwn(normalizedProps, key)) {\r\n                accessCache[key] = 2 /* PROPS */;\r\n                return props[key];\r\n            }\r\n            else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\r\n                accessCache[key] = 3 /* CONTEXT */;\r\n                return ctx[key];\r\n            }\r\n            else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\r\n                accessCache[key] = 4 /* OTHER */;\r\n            }\r\n        }\r\n        const publicGetter = publicPropertiesMap[key];\r\n        let cssModule, globalProperties;\r\n        // public $xxx properties\r\n        if (publicGetter) {\r\n            if (key === '$attrs') {\r\n                track(instance, \"get\" /* GET */, key);\r\n                (process.env.NODE_ENV !== 'production') && markAttrsAccessed();\r\n            }\r\n            return publicGetter(instance);\r\n        }\r\n        else if (\r\n        // css module (injected by vue-loader)\r\n        (cssModule = type.__cssModules) &&\r\n            (cssModule = cssModule[key])) {\r\n            return cssModule;\r\n        }\r\n        else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\r\n            // user may set custom properties to `this` that start with `$`\r\n            accessCache[key] = 3 /* CONTEXT */;\r\n            return ctx[key];\r\n        }\r\n        else if (\r\n        // global properties\r\n        ((globalProperties = appContext.config.globalProperties),\r\n            hasOwn(globalProperties, key))) {\r\n            {\r\n                return globalProperties[key];\r\n            }\r\n        }\r\n        else if ((process.env.NODE_ENV !== 'production') &&\r\n            currentRenderingInstance &&\r\n            (!isString(key) ||\r\n                // #1091 avoid internal isRef/isVNode checks on component instance leading\r\n                // to infinite warning loop\r\n                key.indexOf('__v') !== 0)) {\r\n            if (data !== EMPTY_OBJ &&\r\n                (key[0] === '$' || key[0] === '_') &&\r\n                hasOwn(data, key)) {\r\n                warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +\r\n                    `character (\"$\" or \"_\") and is not proxied on the render context.`);\r\n            }\r\n            else if (instance === currentRenderingInstance) {\r\n                warn(`Property ${JSON.stringify(key)} was accessed during render ` +\r\n                    `but is not defined on instance.`);\r\n            }\r\n        }\r\n    },\r\n    set({ _: instance }, key, value) {\r\n        const { data, setupState, ctx } = instance;\r\n        if (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) {\r\n            setupState[key] = value;\r\n        }\r\n        else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\r\n            data[key] = value;\r\n        }\r\n        else if (hasOwn(instance.props, key)) {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`Attempting to mutate prop \"${key}\". Props are readonly.`, instance);\r\n            return false;\r\n        }\r\n        if (key[0] === '$' && key.slice(1) in instance) {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`Attempting to mutate public property \"${key}\". ` +\r\n                    `Properties starting with $ are reserved and readonly.`, instance);\r\n            return false;\r\n        }\r\n        else {\r\n            if ((process.env.NODE_ENV !== 'production') && key in instance.appContext.config.globalProperties) {\r\n                Object.defineProperty(ctx, key, {\r\n                    enumerable: true,\r\n                    configurable: true,\r\n                    value\r\n                });\r\n            }\r\n            else {\r\n                ctx[key] = value;\r\n            }\r\n        }\r\n        return true;\r\n    },\r\n    has({ _: { data, setupState, accessCache, ctx, appContext, propsOptions } }, key) {\r\n        let normalizedProps;\r\n        return (accessCache[key] !== undefined ||\r\n            (data !== EMPTY_OBJ && hasOwn(data, key)) ||\r\n            (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) ||\r\n            ((normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key)) ||\r\n            hasOwn(ctx, key) ||\r\n            hasOwn(publicPropertiesMap, key) ||\r\n            hasOwn(appContext.config.globalProperties, key));\r\n    }\r\n};\r\nif ((process.env.NODE_ENV !== 'production') && !false) {\r\n    PublicInstanceProxyHandlers.ownKeys = (target) => {\r\n        warn(`Avoid app logic that relies on enumerating keys on a component instance. ` +\r\n            `The keys will be empty in production mode to avoid performance overhead.`);\r\n        return Reflect.ownKeys(target);\r\n    };\r\n}\r\nconst RuntimeCompiledPublicInstanceProxyHandlers = /*#__PURE__*/ extend({}, PublicInstanceProxyHandlers, {\r\n    get(target, key) {\r\n        // fast path for unscopables when using `with` block\r\n        if (key === Symbol.unscopables) {\r\n            return;\r\n        }\r\n        return PublicInstanceProxyHandlers.get(target, key, target);\r\n    },\r\n    has(_, key) {\r\n        const has = key[0] !== '_' && !isGloballyWhitelisted(key);\r\n        if ((process.env.NODE_ENV !== 'production') && !has && PublicInstanceProxyHandlers.has(_, key)) {\r\n            warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);\r\n        }\r\n        return has;\r\n    }\r\n});\r\n// dev only\r\n// In dev mode, the proxy target exposes the same properties as seen on `this`\r\n// for easier console inspection. In prod mode it will be an empty object so\r\n// these properties definitions can be skipped.\r\nfunction createDevRenderContext(instance) {\r\n    const target = {};\r\n    // expose internal instance for proxy handlers\r\n    Object.defineProperty(target, `_`, {\r\n        configurable: true,\r\n        enumerable: false,\r\n        get: () => instance\r\n    });\r\n    // expose public properties\r\n    Object.keys(publicPropertiesMap).forEach(key => {\r\n        Object.defineProperty(target, key, {\r\n            configurable: true,\r\n            enumerable: false,\r\n            get: () => publicPropertiesMap[key](instance),\r\n            // intercepted by the proxy so no need for implementation,\r\n            // but needed to prevent set errors\r\n            set: NOOP\r\n        });\r\n    });\r\n    return target;\r\n}\r\n// dev only\r\nfunction exposePropsOnRenderContext(instance) {\r\n    const { ctx, propsOptions: [propsOptions] } = instance;\r\n    if (propsOptions) {\r\n        Object.keys(propsOptions).forEach(key => {\r\n            Object.defineProperty(ctx, key, {\r\n                enumerable: true,\r\n                configurable: true,\r\n                get: () => instance.props[key],\r\n                set: NOOP\r\n            });\r\n        });\r\n    }\r\n}\r\n// dev only\r\nfunction exposeSetupStateOnRenderContext(instance) {\r\n    const { ctx, setupState } = instance;\r\n    Object.keys(toRaw(setupState)).forEach(key => {\r\n        if (!setupState.__isScriptSetup && (key[0] === '$' || key[0] === '_')) {\r\n            warn(`setup() return property ${JSON.stringify(key)} should not start with \"$\" or \"_\" ` +\r\n                `which are reserved prefixes for Vue internals.`);\r\n            return;\r\n        }\r\n        Object.defineProperty(ctx, key, {\r\n            enumerable: true,\r\n            configurable: true,\r\n            get: () => setupState[key],\r\n            set: NOOP\r\n        });\r\n    });\r\n}\n\nconst emptyAppContext = createAppContext();\r\nlet uid$1 = 0;\r\nfunction createComponentInstance(vnode, parent, suspense) {\r\n    const type = vnode.type;\r\n    // inherit parent app context - or - if root, adopt from root vnode\r\n    const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;\r\n    const instance = {\r\n        uid: uid$1++,\r\n        vnode,\r\n        type,\r\n        parent,\r\n        appContext,\r\n        root: null,\r\n        next: null,\r\n        subTree: null,\r\n        update: null,\r\n        scope: new EffectScope(true /* detached */),\r\n        render: null,\r\n        proxy: null,\r\n        exposed: null,\r\n        exposeProxy: null,\r\n        withProxy: null,\r\n        provides: parent ? parent.provides : Object.create(appContext.provides),\r\n        accessCache: null,\r\n        renderCache: [],\r\n        // local resovled assets\r\n        components: null,\r\n        directives: null,\r\n        // resolved props and emits options\r\n        propsOptions: normalizePropsOptions(type, appContext),\r\n        emitsOptions: normalizeEmitsOptions(type, appContext),\r\n        // emit\r\n        emit: null,\r\n        emitted: null,\r\n        // props default value\r\n        propsDefaults: EMPTY_OBJ,\r\n        // inheritAttrs\r\n        inheritAttrs: type.inheritAttrs,\r\n        // state\r\n        ctx: EMPTY_OBJ,\r\n        data: EMPTY_OBJ,\r\n        props: EMPTY_OBJ,\r\n        attrs: EMPTY_OBJ,\r\n        slots: EMPTY_OBJ,\r\n        refs: EMPTY_OBJ,\r\n        setupState: EMPTY_OBJ,\r\n        setupContext: null,\r\n        // suspense related\r\n        suspense,\r\n        suspenseId: suspense ? suspense.pendingId : 0,\r\n        asyncDep: null,\r\n        asyncResolved: false,\r\n        // lifecycle hooks\r\n        // not using enums here because it results in computed properties\r\n        isMounted: false,\r\n        isUnmounted: false,\r\n        isDeactivated: false,\r\n        bc: null,\r\n        c: null,\r\n        bm: null,\r\n        m: null,\r\n        bu: null,\r\n        u: null,\r\n        um: null,\r\n        bum: null,\r\n        da: null,\r\n        a: null,\r\n        rtg: null,\r\n        rtc: null,\r\n        ec: null,\r\n        sp: null\r\n    };\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        instance.ctx = createDevRenderContext(instance);\r\n    }\r\n    else {\r\n        instance.ctx = { _: instance };\r\n    }\r\n    instance.root = parent ? parent.root : instance;\r\n    instance.emit = emit.bind(null, instance);\r\n    // apply custom element special handling\r\n    if (vnode.ce) {\r\n        vnode.ce(instance);\r\n    }\r\n    return instance;\r\n}\r\nlet currentInstance = null;\r\nconst getCurrentInstance = () => currentInstance || currentRenderingInstance;\r\nconst setCurrentInstance = (instance) => {\r\n    currentInstance = instance;\r\n    instance.scope.on();\r\n};\r\nconst unsetCurrentInstance = () => {\r\n    currentInstance && currentInstance.scope.off();\r\n    currentInstance = null;\r\n};\r\nconst isBuiltInTag = /*#__PURE__*/ makeMap('slot,component');\r\nfunction validateComponentName(name, config) {\r\n    const appIsNativeTag = config.isNativeTag || NO;\r\n    if (isBuiltInTag(name) || appIsNativeTag(name)) {\r\n        warn('Do not use built-in or reserved HTML elements as component id: ' + name);\r\n    }\r\n}\r\nfunction isStatefulComponent(instance) {\r\n    return instance.vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */;\r\n}\r\nlet isInSSRComponentSetup = false;\r\nfunction setupComponent(instance, isSSR = false) {\r\n    isInSSRComponentSetup = isSSR;\r\n    const { props, children } = instance.vnode;\r\n    const isStateful = isStatefulComponent(instance);\r\n    initProps(instance, props, isStateful, isSSR);\r\n    initSlots(instance, children);\r\n    const setupResult = isStateful\r\n        ? setupStatefulComponent(instance, isSSR)\r\n        : undefined;\r\n    isInSSRComponentSetup = false;\r\n    return setupResult;\r\n}\r\nfunction setupStatefulComponent(instance, isSSR) {\r\n    const Component = instance.type;\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        if (Component.name) {\r\n            validateComponentName(Component.name, instance.appContext.config);\r\n        }\r\n        if (Component.components) {\r\n            const names = Object.keys(Component.components);\r\n            for (let i = 0; i < names.length; i++) {\r\n                validateComponentName(names[i], instance.appContext.config);\r\n            }\r\n        }\r\n        if (Component.directives) {\r\n            const names = Object.keys(Component.directives);\r\n            for (let i = 0; i < names.length; i++) {\r\n                validateDirectiveName(names[i]);\r\n            }\r\n        }\r\n        if (Component.compilerOptions && isRuntimeOnly()) {\r\n            warn(`\"compilerOptions\" is only supported when using a build of Vue that ` +\r\n                `includes the runtime compiler. Since you are using a runtime-only ` +\r\n                `build, the options should be passed via your build tool config instead.`);\r\n        }\r\n    }\r\n    // 0. create render proxy property access cache\r\n    instance.accessCache = Object.create(null);\r\n    // 1. create public instance / render proxy\r\n    // also mark it raw so it's never observed\r\n    instance.proxy = markRaw(new Proxy(instance.ctx, PublicInstanceProxyHandlers));\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        exposePropsOnRenderContext(instance);\r\n    }\r\n    // 2. call setup()\r\n    const { setup } = Component;\r\n    if (setup) {\r\n        const setupContext = (instance.setupContext =\r\n            setup.length > 1 ? createSetupContext(instance) : null);\r\n        setCurrentInstance(instance);\r\n        pauseTracking();\r\n        const setupResult = callWithErrorHandling(setup, instance, 0 /* SETUP_FUNCTION */, [(process.env.NODE_ENV !== 'production') ? shallowReadonly(instance.props) : instance.props, setupContext]);\r\n        resetTracking();\r\n        unsetCurrentInstance();\r\n        if (isPromise$1(setupResult)) {\r\n            setupResult.then(unsetCurrentInstance, unsetCurrentInstance);\r\n            if (isSSR) {\r\n                // return the promise so server-renderer can wait on it\r\n                return setupResult\r\n                    .then((resolvedResult) => {\r\n                    handleSetupResult(instance, resolvedResult, isSSR);\r\n                })\r\n                    .catch(e => {\r\n                    handleError(e, instance, 0 /* SETUP_FUNCTION */);\r\n                });\r\n            }\r\n            else {\r\n                // async setup returned Promise.\r\n                // bail here and wait for re-entry.\r\n                instance.asyncDep = setupResult;\r\n            }\r\n        }\r\n        else {\r\n            handleSetupResult(instance, setupResult, isSSR);\r\n        }\r\n    }\r\n    else {\r\n        finishComponentSetup(instance, isSSR);\r\n    }\r\n}\r\nfunction handleSetupResult(instance, setupResult, isSSR) {\r\n    if (isFunction$1(setupResult)) {\r\n        // setup returned an inline render function\r\n        {\r\n            instance.render = setupResult;\r\n        }\r\n    }\r\n    else if (isObject$1(setupResult)) {\r\n        if ((process.env.NODE_ENV !== 'production') && isVNode(setupResult)) {\r\n            warn(`setup() should not return VNodes directly - ` +\r\n                `return a render function instead.`);\r\n        }\r\n        // setup returned bindings.\r\n        // assuming a render function compiled from template is present.\r\n        if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n            instance.devtoolsRawSetupState = setupResult;\r\n        }\r\n        instance.setupState = proxyRefs(setupResult);\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            exposeSetupStateOnRenderContext(instance);\r\n        }\r\n    }\r\n    else if ((process.env.NODE_ENV !== 'production') && setupResult !== undefined) {\r\n        warn(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);\r\n    }\r\n    finishComponentSetup(instance, isSSR);\r\n}\r\nlet compile;\r\nlet installWithProxy;\r\n/**\r\n * For runtime-dom to register the compiler.\r\n * Note the exported method uses any to avoid d.ts relying on the compiler types.\r\n */\r\nfunction registerRuntimeCompiler(_compile) {\r\n    compile = _compile;\r\n    installWithProxy = i => {\r\n        if (i.render._rc) {\r\n            i.withProxy = new Proxy(i.ctx, RuntimeCompiledPublicInstanceProxyHandlers);\r\n        }\r\n    };\r\n}\r\n// dev only\r\nconst isRuntimeOnly = () => !compile;\r\nfunction finishComponentSetup(instance, isSSR, skipOptions) {\r\n    const Component = instance.type;\r\n    // template / render function normalization\r\n    if (!instance.render) {\r\n        // could be set from setup()\r\n        if (compile && !Component.render) {\r\n            const template = Component.template;\r\n            if (template) {\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    startMeasure(instance, `compile`);\r\n                }\r\n                const { isCustomElement, compilerOptions } = instance.appContext.config;\r\n                const { delimiters, compilerOptions: componentCompilerOptions } = Component;\r\n                const finalCompilerOptions = extend(extend({\r\n                    isCustomElement,\r\n                    delimiters\r\n                }, compilerOptions), componentCompilerOptions);\r\n                Component.render = compile(template, finalCompilerOptions);\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    endMeasure(instance, `compile`);\r\n                }\r\n            }\r\n        }\r\n        instance.render = (Component.render || NOOP);\r\n        // for runtime-compiled render functions using `with` blocks, the render\r\n        // proxy used needs a different `has` handler which is more performant and\r\n        // also only allows a whitelist of globals to fallthrough.\r\n        if (installWithProxy) {\r\n            installWithProxy(instance);\r\n        }\r\n    }\r\n    // support for 2.x options\r\n    if (__VUE_OPTIONS_API__ && !(false )) {\r\n        setCurrentInstance(instance);\r\n        pauseTracking();\r\n        applyOptions(instance);\r\n        resetTracking();\r\n        unsetCurrentInstance();\r\n    }\r\n    // warn missing template/render\r\n    // the runtime compilation of template in SSR is done by server-render\r\n    if ((process.env.NODE_ENV !== 'production') && !Component.render && instance.render === NOOP && !isSSR) {\r\n        /* istanbul ignore if */\r\n        if (!compile && Component.template) {\r\n            warn(`Component provided template option but ` +\r\n                `runtime compilation is not supported in this build of Vue.` +\r\n                (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\r\n                    ) /* should not happen */);\r\n        }\r\n        else {\r\n            warn(`Component is missing template or render function.`);\r\n        }\r\n    }\r\n}\r\nfunction createAttrsProxy(instance) {\r\n    return new Proxy(instance.attrs, (process.env.NODE_ENV !== 'production')\r\n        ? {\r\n            get(target, key) {\r\n                markAttrsAccessed();\r\n                track(instance, \"get\" /* GET */, '$attrs');\r\n                return target[key];\r\n            },\r\n            set() {\r\n                warn(`setupContext.attrs is readonly.`);\r\n                return false;\r\n            },\r\n            deleteProperty() {\r\n                warn(`setupContext.attrs is readonly.`);\r\n                return false;\r\n            }\r\n        }\r\n        : {\r\n            get(target, key) {\r\n                track(instance, \"get\" /* GET */, '$attrs');\r\n                return target[key];\r\n            }\r\n        });\r\n}\r\nfunction createSetupContext(instance) {\r\n    const expose = exposed => {\r\n        if ((process.env.NODE_ENV !== 'production') && instance.exposed) {\r\n            warn(`expose() should be called only once per setup().`);\r\n        }\r\n        instance.exposed = exposed || {};\r\n    };\r\n    let attrs;\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        // We use getters in dev in case libs like test-utils overwrite instance\r\n        // properties (overwrites should not be done in prod)\r\n        return Object.freeze({\r\n            get attrs() {\r\n                return attrs || (attrs = createAttrsProxy(instance));\r\n            },\r\n            get slots() {\r\n                return shallowReadonly(instance.slots);\r\n            },\r\n            get emit() {\r\n                return (event, ...args) => instance.emit(event, ...args);\r\n            },\r\n            expose\r\n        });\r\n    }\r\n    else {\r\n        return {\r\n            get attrs() {\r\n                return attrs || (attrs = createAttrsProxy(instance));\r\n            },\r\n            slots: instance.slots,\r\n            emit: instance.emit,\r\n            expose\r\n        };\r\n    }\r\n}\r\nfunction getExposeProxy(instance) {\r\n    if (instance.exposed) {\r\n        return (instance.exposeProxy ||\r\n            (instance.exposeProxy = new Proxy(proxyRefs(markRaw(instance.exposed)), {\r\n                get(target, key) {\r\n                    if (key in target) {\r\n                        return target[key];\r\n                    }\r\n                    else if (key in publicPropertiesMap) {\r\n                        return publicPropertiesMap[key](instance);\r\n                    }\r\n                }\r\n            })));\r\n    }\r\n}\r\nconst classifyRE = /(?:^|[-_])(\\w)/g;\r\nconst classify = (str) => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '');\r\nfunction getComponentName(Component) {\r\n    return isFunction$1(Component)\r\n        ? Component.displayName || Component.name\r\n        : Component.name;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatComponentName(instance, Component, isRoot = false) {\r\n    let name = getComponentName(Component);\r\n    if (!name && Component.__file) {\r\n        const match = Component.__file.match(/([^/\\\\]+)\\.\\w+$/);\r\n        if (match) {\r\n            name = match[1];\r\n        }\r\n    }\r\n    if (!name && instance && instance.parent) {\r\n        // try to infer the name based on reverse resolution\r\n        const inferFromRegistry = (registry) => {\r\n            for (const key in registry) {\r\n                if (registry[key] === Component) {\r\n                    return key;\r\n                }\r\n            }\r\n        };\r\n        name =\r\n            inferFromRegistry(instance.components ||\r\n                instance.parent.type.components) || inferFromRegistry(instance.appContext.components);\r\n    }\r\n    return name ? classify(name) : isRoot ? `App` : `Anonymous`;\r\n}\r\nfunction isClassComponent(value) {\r\n    return isFunction$1(value) && '__vccOpts' in value;\r\n}\n\nconst stack = [];\r\nfunction pushWarningContext(vnode) {\r\n    stack.push(vnode);\r\n}\r\nfunction popWarningContext() {\r\n    stack.pop();\r\n}\r\nfunction warn(msg, ...args) {\r\n    // avoid props formatting or warn handler tracking deps that might be mutated\r\n    // during patch, leading to infinite recursion.\r\n    pauseTracking();\r\n    const instance = stack.length ? stack[stack.length - 1].component : null;\r\n    const appWarnHandler = instance && instance.appContext.config.warnHandler;\r\n    const trace = getComponentTrace();\r\n    if (appWarnHandler) {\r\n        callWithErrorHandling(appWarnHandler, instance, 11 /* APP_WARN_HANDLER */, [\r\n            msg + args.join(''),\r\n            instance && instance.proxy,\r\n            trace\r\n                .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\r\n                .join('\\n'),\r\n            trace\r\n        ]);\r\n    }\r\n    else {\r\n        const warnArgs = [`[Vue warn]: ${msg}`, ...args];\r\n        /* istanbul ignore if */\r\n        if (trace.length &&\r\n            // avoid spamming console during tests\r\n            !false) {\r\n            warnArgs.push(`\\n`, ...formatTrace(trace));\r\n        }\r\n        console.warn(...warnArgs);\r\n    }\r\n    resetTracking();\r\n}\r\nfunction getComponentTrace() {\r\n    let currentVNode = stack[stack.length - 1];\r\n    if (!currentVNode) {\r\n        return [];\r\n    }\r\n    // we can't just use the stack because it will be incomplete during updates\r\n    // that did not start from the root. Re-construct the parent chain using\r\n    // instance parent pointers.\r\n    const normalizedStack = [];\r\n    while (currentVNode) {\r\n        const last = normalizedStack[0];\r\n        if (last && last.vnode === currentVNode) {\r\n            last.recurseCount++;\r\n        }\r\n        else {\r\n            normalizedStack.push({\r\n                vnode: currentVNode,\r\n                recurseCount: 0\r\n            });\r\n        }\r\n        const parentInstance = currentVNode.component && currentVNode.component.parent;\r\n        currentVNode = parentInstance && parentInstance.vnode;\r\n    }\r\n    return normalizedStack;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatTrace(trace) {\r\n    const logs = [];\r\n    trace.forEach((entry, i) => {\r\n        logs.push(...(i === 0 ? [] : [`\\n`]), ...formatTraceEntry(entry));\r\n    });\r\n    return logs;\r\n}\r\nfunction formatTraceEntry({ vnode, recurseCount }) {\r\n    const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\r\n    const isRoot = vnode.component ? vnode.component.parent == null : false;\r\n    const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\r\n    const close = `>` + postfix;\r\n    return vnode.props\r\n        ? [open, ...formatProps(vnode.props), close]\r\n        : [open + close];\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProps(props) {\r\n    const res = [];\r\n    const keys = Object.keys(props);\r\n    keys.slice(0, 3).forEach(key => {\r\n        res.push(...formatProp(key, props[key]));\r\n    });\r\n    if (keys.length > 3) {\r\n        res.push(` ...`);\r\n    }\r\n    return res;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProp(key, value, raw) {\r\n    if (isString(value)) {\r\n        value = JSON.stringify(value);\r\n        return raw ? value : [`${key}=${value}`];\r\n    }\r\n    else if (typeof value === 'number' ||\r\n        typeof value === 'boolean' ||\r\n        value == null) {\r\n        return raw ? value : [`${key}=${value}`];\r\n    }\r\n    else if (isRef(value)) {\r\n        value = formatProp(key, toRaw(value.value), true);\r\n        return raw ? value : [`${key}=Ref<`, value, `>`];\r\n    }\r\n    else if (isFunction$1(value)) {\r\n        return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\r\n    }\r\n    else {\r\n        value = toRaw(value);\r\n        return raw ? value : [`${key}=`, value];\r\n    }\r\n}\n\nconst ErrorTypeStrings = {\r\n    [\"sp\" /* SERVER_PREFETCH */]: 'serverPrefetch hook',\r\n    [\"bc\" /* BEFORE_CREATE */]: 'beforeCreate hook',\r\n    [\"c\" /* CREATED */]: 'created hook',\r\n    [\"bm\" /* BEFORE_MOUNT */]: 'beforeMount hook',\r\n    [\"m\" /* MOUNTED */]: 'mounted hook',\r\n    [\"bu\" /* BEFORE_UPDATE */]: 'beforeUpdate hook',\r\n    [\"u\" /* UPDATED */]: 'updated',\r\n    [\"bum\" /* BEFORE_UNMOUNT */]: 'beforeUnmount hook',\r\n    [\"um\" /* UNMOUNTED */]: 'unmounted hook',\r\n    [\"a\" /* ACTIVATED */]: 'activated hook',\r\n    [\"da\" /* DEACTIVATED */]: 'deactivated hook',\r\n    [\"ec\" /* ERROR_CAPTURED */]: 'errorCaptured hook',\r\n    [\"rtc\" /* RENDER_TRACKED */]: 'renderTracked hook',\r\n    [\"rtg\" /* RENDER_TRIGGERED */]: 'renderTriggered hook',\r\n    [0 /* SETUP_FUNCTION */]: 'setup function',\r\n    [1 /* RENDER_FUNCTION */]: 'render function',\r\n    [2 /* WATCH_GETTER */]: 'watcher getter',\r\n    [3 /* WATCH_CALLBACK */]: 'watcher callback',\r\n    [4 /* WATCH_CLEANUP */]: 'watcher cleanup function',\r\n    [5 /* NATIVE_EVENT_HANDLER */]: 'native event handler',\r\n    [6 /* COMPONENT_EVENT_HANDLER */]: 'component event handler',\r\n    [7 /* VNODE_HOOK */]: 'vnode hook',\r\n    [8 /* DIRECTIVE_HOOK */]: 'directive hook',\r\n    [9 /* TRANSITION_HOOK */]: 'transition hook',\r\n    [10 /* APP_ERROR_HANDLER */]: 'app errorHandler',\r\n    [11 /* APP_WARN_HANDLER */]: 'app warnHandler',\r\n    [12 /* FUNCTION_REF */]: 'ref function',\r\n    [13 /* ASYNC_COMPONENT_LOADER */]: 'async component loader',\r\n    [14 /* SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\r\n        'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next'\r\n};\r\nfunction callWithErrorHandling(fn, instance, type, args) {\r\n    let res;\r\n    try {\r\n        res = args ? fn(...args) : fn();\r\n    }\r\n    catch (err) {\r\n        handleError(err, instance, type);\r\n    }\r\n    return res;\r\n}\r\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\r\n    if (isFunction$1(fn)) {\r\n        const res = callWithErrorHandling(fn, instance, type, args);\r\n        if (res && isPromise$1(res)) {\r\n            res.catch(err => {\r\n                handleError(err, instance, type);\r\n            });\r\n        }\r\n        return res;\r\n    }\r\n    const values = [];\r\n    for (let i = 0; i < fn.length; i++) {\r\n        values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\r\n    }\r\n    return values;\r\n}\r\nfunction handleError(err, instance, type, throwInDev = true) {\r\n    const contextVNode = instance ? instance.vnode : null;\r\n    if (instance) {\r\n        let cur = instance.parent;\r\n        // the exposed instance is the render proxy to keep it consistent with 2.x\r\n        const exposedInstance = instance.proxy;\r\n        // in production the hook receives only the error code\r\n        const errorInfo = (process.env.NODE_ENV !== 'production') ? ErrorTypeStrings[type] : type;\r\n        while (cur) {\r\n            const errorCapturedHooks = cur.ec;\r\n            if (errorCapturedHooks) {\r\n                for (let i = 0; i < errorCapturedHooks.length; i++) {\r\n                    if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\r\n                        return;\r\n                    }\r\n                }\r\n            }\r\n            cur = cur.parent;\r\n        }\r\n        // app-level handling\r\n        const appErrorHandler = instance.appContext.config.errorHandler;\r\n        if (appErrorHandler) {\r\n            callWithErrorHandling(appErrorHandler, null, 10 /* APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\r\n            return;\r\n        }\r\n    }\r\n    logError(err, type, contextVNode, throwInDev);\r\n}\r\nfunction logError(err, type, contextVNode, throwInDev = true) {\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        const info = ErrorTypeStrings[type];\r\n        if (contextVNode) {\r\n            pushWarningContext(contextVNode);\r\n        }\r\n        warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\r\n        if (contextVNode) {\r\n            popWarningContext();\r\n        }\r\n        // crash in dev by default so it's more noticeable\r\n        if (throwInDev) {\r\n            throw err;\r\n        }\r\n        else {\r\n            console.error(err);\r\n        }\r\n    }\r\n    else {\r\n        // recover in prod to reduce the impact on end-user\r\n        console.error(err);\r\n    }\r\n}\n\nlet isFlushing = false;\r\nlet isFlushPending = false;\r\nconst queue = [];\r\nlet flushIndex = 0;\r\nconst pendingPreFlushCbs = [];\r\nlet activePreFlushCbs = null;\r\nlet preFlushIndex = 0;\r\nconst pendingPostFlushCbs = [];\r\nlet activePostFlushCbs = null;\r\nlet postFlushIndex = 0;\r\nconst resolvedPromise = Promise.resolve();\r\nlet currentFlushPromise = null;\r\nlet currentPreFlushParentJob = null;\r\nconst RECURSION_LIMIT = 100;\r\nfunction nextTick(fn) {\r\n    const p = currentFlushPromise || resolvedPromise;\r\n    return fn ? p.then(this ? fn.bind(this) : fn) : p;\r\n}\r\n// #2768\r\n// Use binary-search to find a suitable position in the queue,\r\n// so that the queue maintains the increasing order of job's id,\r\n// which can prevent the job from being skipped and also can avoid repeated patching.\r\nfunction findInsertionIndex(id) {\r\n    // the start index should be `flushIndex + 1`\r\n    let start = flushIndex + 1;\r\n    let end = queue.length;\r\n    while (start < end) {\r\n        const middle = (start + end) >>> 1;\r\n        const middleJobId = getId(queue[middle]);\r\n        middleJobId < id ? (start = middle + 1) : (end = middle);\r\n    }\r\n    return start;\r\n}\r\nfunction queueJob(job) {\r\n    // the dedupe search uses the startIndex argument of Array.includes()\r\n    // by default the search index includes the current job that is being run\r\n    // so it cannot recursively trigger itself again.\r\n    // if the job is a watch() callback, the search will start with a +1 index to\r\n    // allow it recursively trigger itself - it is the user's responsibility to\r\n    // ensure it doesn't end up in an infinite loop.\r\n    if ((!queue.length ||\r\n        !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) &&\r\n        job !== currentPreFlushParentJob) {\r\n        if (job.id == null) {\r\n            queue.push(job);\r\n        }\r\n        else {\r\n            queue.splice(findInsertionIndex(job.id), 0, job);\r\n        }\r\n        queueFlush();\r\n    }\r\n}\r\nfunction queueFlush() {\r\n    if (!isFlushing && !isFlushPending) {\r\n        isFlushPending = true;\r\n        currentFlushPromise = resolvedPromise.then(flushJobs);\r\n    }\r\n}\r\nfunction invalidateJob(job) {\r\n    const i = queue.indexOf(job);\r\n    if (i > flushIndex) {\r\n        queue.splice(i, 1);\r\n    }\r\n}\r\nfunction queueCb(cb, activeQueue, pendingQueue, index) {\r\n    if (!isArray(cb)) {\r\n        if (!activeQueue ||\r\n            !activeQueue.includes(cb, cb.allowRecurse ? index + 1 : index)) {\r\n            pendingQueue.push(cb);\r\n        }\r\n    }\r\n    else {\r\n        // if cb is an array, it is a component lifecycle hook which can only be\r\n        // triggered by a job, which is already deduped in the main queue, so\r\n        // we can skip duplicate check here to improve perf\r\n        pendingQueue.push(...cb);\r\n    }\r\n    queueFlush();\r\n}\r\nfunction queuePreFlushCb(cb) {\r\n    queueCb(cb, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex);\r\n}\r\nfunction queuePostFlushCb(cb) {\r\n    queueCb(cb, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex);\r\n}\r\nfunction flushPreFlushCbs(seen, parentJob = null) {\r\n    if (pendingPreFlushCbs.length) {\r\n        currentPreFlushParentJob = parentJob;\r\n        activePreFlushCbs = [...new Set(pendingPreFlushCbs)];\r\n        pendingPreFlushCbs.length = 0;\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            seen = seen || new Map();\r\n        }\r\n        for (preFlushIndex = 0; preFlushIndex < activePreFlushCbs.length; preFlushIndex++) {\r\n            if ((process.env.NODE_ENV !== 'production') &&\r\n                checkRecursiveUpdates(seen, activePreFlushCbs[preFlushIndex])) {\r\n                continue;\r\n            }\r\n            activePreFlushCbs[preFlushIndex]();\r\n        }\r\n        activePreFlushCbs = null;\r\n        preFlushIndex = 0;\r\n        currentPreFlushParentJob = null;\r\n        // recursively flush until it drains\r\n        flushPreFlushCbs(seen, parentJob);\r\n    }\r\n}\r\nfunction flushPostFlushCbs(seen) {\r\n    if (pendingPostFlushCbs.length) {\r\n        const deduped = [...new Set(pendingPostFlushCbs)];\r\n        pendingPostFlushCbs.length = 0;\r\n        // #1947 already has active queue, nested flushPostFlushCbs call\r\n        if (activePostFlushCbs) {\r\n            activePostFlushCbs.push(...deduped);\r\n            return;\r\n        }\r\n        activePostFlushCbs = deduped;\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            seen = seen || new Map();\r\n        }\r\n        activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\r\n        for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\r\n            if ((process.env.NODE_ENV !== 'production') &&\r\n                checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\r\n                continue;\r\n            }\r\n            activePostFlushCbs[postFlushIndex]();\r\n        }\r\n        activePostFlushCbs = null;\r\n        postFlushIndex = 0;\r\n    }\r\n}\r\nconst getId = (job) => job.id == null ? Infinity : job.id;\r\nfunction flushJobs(seen) {\r\n    isFlushPending = false;\r\n    isFlushing = true;\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        seen = seen || new Map();\r\n    }\r\n    flushPreFlushCbs(seen);\r\n    // Sort queue before flush.\r\n    // This ensures that:\r\n    // 1. Components are updated from parent to child. (because parent is always\r\n    //    created before the child so its render effect will have smaller\r\n    //    priority number)\r\n    // 2. If a component is unmounted during a parent component's update,\r\n    //    its update can be skipped.\r\n    queue.sort((a, b) => getId(a) - getId(b));\r\n    try {\r\n        for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\r\n            const job = queue[flushIndex];\r\n            if (job && job.active !== false) {\r\n                if ((process.env.NODE_ENV !== 'production') && checkRecursiveUpdates(seen, job)) {\r\n                    continue;\r\n                }\r\n                // console.log(`running:`, job.id)\r\n                callWithErrorHandling(job, null, 14 /* SCHEDULER */);\r\n            }\r\n        }\r\n    }\r\n    finally {\r\n        flushIndex = 0;\r\n        queue.length = 0;\r\n        flushPostFlushCbs(seen);\r\n        isFlushing = false;\r\n        currentFlushPromise = null;\r\n        // some postFlushCb queued jobs!\r\n        // keep flushing until it drains.\r\n        if (queue.length ||\r\n            pendingPreFlushCbs.length ||\r\n            pendingPostFlushCbs.length) {\r\n            flushJobs(seen);\r\n        }\r\n    }\r\n}\r\nfunction checkRecursiveUpdates(seen, fn) {\r\n    if (!seen.has(fn)) {\r\n        seen.set(fn, 1);\r\n    }\r\n    else {\r\n        const count = seen.get(fn);\r\n        if (count > RECURSION_LIMIT) {\r\n            const instance = fn.ownerInstance;\r\n            const componentName = instance && getComponentName(instance.type);\r\n            warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\r\n                `This means you have a reactive effect that is mutating its own ` +\r\n                `dependencies and thus recursively triggering itself. Possible sources ` +\r\n                `include component template, render function, updated hook or ` +\r\n                `watcher source function.`);\r\n            return true;\r\n        }\r\n        else {\r\n            seen.set(fn, count + 1);\r\n        }\r\n    }\r\n}\n\n// Simple effect.\r\nfunction watchEffect(effect, options) {\r\n    return doWatch(effect, null, options);\r\n}\r\nfunction watchPostEffect(effect, options) {\r\n    return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\r\n        ? Object.assign(options || {}, { flush: 'post' })\r\n        : { flush: 'post' }));\r\n}\r\nfunction watchSyncEffect(effect, options) {\r\n    return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\r\n        ? Object.assign(options || {}, { flush: 'sync' })\r\n        : { flush: 'sync' }));\r\n}\r\n// initial value for watchers to trigger on undefined initial values\r\nconst INITIAL_WATCHER_VALUE = {};\r\n// implementation\r\nfunction watch(source, cb, options) {\r\n    if ((process.env.NODE_ENV !== 'production') && !isFunction$1(cb)) {\r\n        warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\r\n            `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\r\n            `supports \\`watch(source, cb, options?) signature.`);\r\n    }\r\n    return doWatch(source, cb, options);\r\n}\r\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\r\n    if ((process.env.NODE_ENV !== 'production') && !cb) {\r\n        if (immediate !== undefined) {\r\n            warn(`watch() \"immediate\" option is only respected when using the ` +\r\n                `watch(source, callback, options?) signature.`);\r\n        }\r\n        if (deep !== undefined) {\r\n            warn(`watch() \"deep\" option is only respected when using the ` +\r\n                `watch(source, callback, options?) signature.`);\r\n        }\r\n    }\r\n    const warnInvalidSource = (s) => {\r\n        warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\r\n            `a reactive object, or an array of these types.`);\r\n    };\r\n    const instance = currentInstance;\r\n    let getter;\r\n    let forceTrigger = false;\r\n    let isMultiSource = false;\r\n    if (isRef(source)) {\r\n        getter = () => source.value;\r\n        forceTrigger = !!source._shallow;\r\n    }\r\n    else if (isReactive(source)) {\r\n        getter = () => source;\r\n        deep = true;\r\n    }\r\n    else if (isArray(source)) {\r\n        isMultiSource = true;\r\n        forceTrigger = source.some(isReactive);\r\n        getter = () => source.map(s => {\r\n            if (isRef(s)) {\r\n                return s.value;\r\n            }\r\n            else if (isReactive(s)) {\r\n                return traverse(s);\r\n            }\r\n            else if (isFunction$1(s)) {\r\n                return callWithErrorHandling(s, instance, 2 /* WATCH_GETTER */);\r\n            }\r\n            else {\r\n                (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\r\n            }\r\n        });\r\n    }\r\n    else if (isFunction$1(source)) {\r\n        if (cb) {\r\n            // getter with cb\r\n            getter = () => callWithErrorHandling(source, instance, 2 /* WATCH_GETTER */);\r\n        }\r\n        else {\r\n            // no cb -> simple effect\r\n            getter = () => {\r\n                if (instance && instance.isUnmounted) {\r\n                    return;\r\n                }\r\n                if (cleanup) {\r\n                    cleanup();\r\n                }\r\n                return callWithAsyncErrorHandling(source, instance, 3 /* WATCH_CALLBACK */, [onInvalidate]);\r\n            };\r\n        }\r\n    }\r\n    else {\r\n        getter = NOOP;\r\n        (process.env.NODE_ENV !== 'production') && warnInvalidSource(source);\r\n    }\r\n    if (cb && deep) {\r\n        const baseGetter = getter;\r\n        getter = () => traverse(baseGetter());\r\n    }\r\n    let cleanup;\r\n    let onInvalidate = (fn) => {\r\n        cleanup = effect.onStop = () => {\r\n            callWithErrorHandling(fn, instance, 4 /* WATCH_CLEANUP */);\r\n        };\r\n    };\r\n    let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\r\n    const job = () => {\r\n        if (!effect.active) {\r\n            return;\r\n        }\r\n        if (cb) {\r\n            // watch(source, cb)\r\n            const newValue = effect.run();\r\n            if (deep ||\r\n                forceTrigger ||\r\n                (isMultiSource\r\n                    ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\r\n                    : hasChanged(newValue, oldValue)) ||\r\n                (false  )) {\r\n                // cleanup before running cb again\r\n                if (cleanup) {\r\n                    cleanup();\r\n                }\r\n                callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [\r\n                    newValue,\r\n                    // pass undefined as the old value when it's changed for the first time\r\n                    oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\r\n                    onInvalidate\r\n                ]);\r\n                oldValue = newValue;\r\n            }\r\n        }\r\n        else {\r\n            // watchEffect\r\n            effect.run();\r\n        }\r\n    };\r\n    // important: mark the job as a watcher callback so that scheduler knows\r\n    // it is allowed to self-trigger (#1727)\r\n    job.allowRecurse = !!cb;\r\n    let scheduler;\r\n    if (flush === 'sync') {\r\n        scheduler = job; // the scheduler function gets called directly\r\n    }\r\n    else if (flush === 'post') {\r\n        scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\r\n    }\r\n    else {\r\n        // default: 'pre'\r\n        scheduler = () => {\r\n            if (!instance || instance.isMounted) {\r\n                queuePreFlushCb(job);\r\n            }\r\n            else {\r\n                // with 'pre' option, the first call must happen before\r\n                // the component is mounted so it is called synchronously.\r\n                job();\r\n            }\r\n        };\r\n    }\r\n    const effect = new ReactiveEffect(getter, scheduler);\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        effect.onTrack = onTrack;\r\n        effect.onTrigger = onTrigger;\r\n    }\r\n    // initial run\r\n    if (cb) {\r\n        if (immediate) {\r\n            job();\r\n        }\r\n        else {\r\n            oldValue = effect.run();\r\n        }\r\n    }\r\n    else if (flush === 'post') {\r\n        queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);\r\n    }\r\n    else {\r\n        effect.run();\r\n    }\r\n    return () => {\r\n        effect.stop();\r\n        if (instance && instance.scope) {\r\n            remove(instance.scope.effects, effect);\r\n        }\r\n    };\r\n}\r\n// this.$watch\r\nfunction instanceWatch(source, value, options) {\r\n    const publicThis = this.proxy;\r\n    const getter = isString(source)\r\n        ? source.includes('.')\r\n            ? createPathGetter(publicThis, source)\r\n            : () => publicThis[source]\r\n        : source.bind(publicThis, publicThis);\r\n    let cb;\r\n    if (isFunction$1(value)) {\r\n        cb = value;\r\n    }\r\n    else {\r\n        cb = value.handler;\r\n        options = value;\r\n    }\r\n    const cur = currentInstance;\r\n    setCurrentInstance(this);\r\n    const res = doWatch(getter, cb.bind(publicThis), options);\r\n    if (cur) {\r\n        setCurrentInstance(cur);\r\n    }\r\n    else {\r\n        unsetCurrentInstance();\r\n    }\r\n    return res;\r\n}\r\nfunction createPathGetter(ctx, path) {\r\n    const segments = path.split('.');\r\n    return () => {\r\n        let cur = ctx;\r\n        for (let i = 0; i < segments.length && cur; i++) {\r\n            cur = cur[segments[i]];\r\n        }\r\n        return cur;\r\n    };\r\n}\r\nfunction traverse(value, seen = new Set()) {\r\n    if (!isObject$1(value) || value[\"__v_skip\" /* SKIP */]) {\r\n        return value;\r\n    }\r\n    seen = seen || new Set();\r\n    if (seen.has(value)) {\r\n        return value;\r\n    }\r\n    seen.add(value);\r\n    if (isRef(value)) {\r\n        traverse(value.value, seen);\r\n    }\r\n    else if (isArray(value)) {\r\n        for (let i = 0; i < value.length; i++) {\r\n            traverse(value[i], seen);\r\n        }\r\n    }\r\n    else if (isSet(value) || isMap(value)) {\r\n        value.forEach((v) => {\r\n            traverse(v, seen);\r\n        });\r\n    }\r\n    else if (isPlainObject(value)) {\r\n        for (const key in value) {\r\n            traverse(value[key], seen);\r\n        }\r\n    }\r\n    return value;\r\n}\n\n(process.env.NODE_ENV !== 'production')\r\n    ? Object.freeze({})\r\n    : {};\r\n(process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];\r\nconst isFunction = (val) => typeof val === 'function';\r\nconst isObject = (val) => val !== null && typeof val === 'object';\r\nconst isPromise = (val) => {\r\n    return isObject(val) && isFunction(val.then) && isFunction(val.catch);\r\n};\n\n// dev only\r\nconst warnRuntimeUsage = (method) => warn(`${method}() is a compiler-hint helper that is only usable inside ` +\r\n    `<script setup> of a single file component. Its arguments should be ` +\r\n    `compiled away and passing it at runtime has no effect.`);\r\n// implementation\r\nfunction defineProps() {\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        warnRuntimeUsage(`defineProps`);\r\n    }\r\n    return null;\r\n}\r\n// implementation\r\nfunction defineEmits() {\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        warnRuntimeUsage(`defineEmits`);\r\n    }\r\n    return null;\r\n}\r\n/**\r\n * Vue `<script setup>` compiler macro for declaring a component's exposed\r\n * instance properties when it is accessed by a parent component via template\r\n * refs.\r\n *\r\n * `<script setup>` components are closed by default - i.e. varaibles inside\r\n * the `<script setup>` scope is not exposed to parent unless explicitly exposed\r\n * via `defineExpose`.\r\n *\r\n * This is only usable inside `<script setup>`, is compiled away in the\r\n * output and should **not** be actually called at runtime.\r\n */\r\nfunction defineExpose(exposed) {\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        warnRuntimeUsage(`defineExpose`);\r\n    }\r\n}\r\n/**\r\n * Vue `<script setup>` compiler macro for providing props default values when\r\n * using type-based `defineProps` declaration.\r\n *\r\n * Example usage:\r\n * ```ts\r\n * withDefaults(defineProps<{\r\n *   size?: number\r\n *   labels?: string[]\r\n * }>(), {\r\n *   size: 3,\r\n *   labels: () => ['default label']\r\n * })\r\n * ```\r\n *\r\n * This is only usable inside `<script setup>`, is compiled away in the output\r\n * and should **not** be actually called at runtime.\r\n */\r\nfunction withDefaults(props, defaults) {\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        warnRuntimeUsage(`withDefaults`);\r\n    }\r\n    return null;\r\n}\r\nfunction useSlots() {\r\n    return getContext().slots;\r\n}\r\nfunction useAttrs() {\r\n    return getContext().attrs;\r\n}\r\nfunction getContext() {\r\n    const i = getCurrentInstance();\r\n    if ((process.env.NODE_ENV !== 'production') && !i) {\r\n        warn(`useContext() called without active instance.`);\r\n    }\r\n    return i.setupContext || (i.setupContext = createSetupContext(i));\r\n}\r\n/**\r\n * Runtime helper for merging default declarations. Imported by compiled code\r\n * only.\r\n * @internal\r\n */\r\nfunction mergeDefaults(\r\n// the base props is compiler-generated and guaranteed to be in this shape.\r\nprops, defaults) {\r\n    for (const key in defaults) {\r\n        const val = props[key];\r\n        if (val) {\r\n            val.default = defaults[key];\r\n        }\r\n        else if (val === null) {\r\n            props[key] = { default: defaults[key] };\r\n        }\r\n        else if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`props default key \"${key}\" has no corresponding declaration.`);\r\n        }\r\n    }\r\n    return props;\r\n}\r\n/**\r\n * `<script setup>` helper for persisting the current instance context over\r\n * async/await flows.\r\n *\r\n * `@vue/compiler-sfc` converts the following:\r\n *\r\n * ```ts\r\n * const x = await foo()\r\n * ```\r\n *\r\n * into:\r\n *\r\n * ```ts\r\n * let __temp, __restore\r\n * const x = (([__temp, __restore] = withAsyncContext(() => foo())),__temp=await __temp,__restore(),__temp)\r\n * ```\r\n * @internal\r\n */\r\nfunction withAsyncContext(getAwaitable) {\r\n    const ctx = getCurrentInstance();\r\n    if ((process.env.NODE_ENV !== 'production') && !ctx) {\r\n        warn(`withAsyncContext called without active current instance. ` +\r\n            `This is likely a bug.`);\r\n    }\r\n    let awaitable = getAwaitable();\r\n    unsetCurrentInstance();\r\n    if (isPromise(awaitable)) {\r\n        awaitable = awaitable.catch(e => {\r\n            setCurrentInstance(ctx);\r\n            throw e;\r\n        });\r\n    }\r\n    return [awaitable, () => setCurrentInstance(ctx)];\r\n}\n\n// Actual implementation\r\nfunction h(type, propsOrChildren, children) {\r\n    const l = arguments.length;\r\n    if (l === 2) {\r\n        if (isObject$1(propsOrChildren) && !isArray(propsOrChildren)) {\r\n            // single vnode without props\r\n            if (isVNode(propsOrChildren)) {\r\n                return createVNode(type, null, [propsOrChildren]);\r\n            }\r\n            // props without children\r\n            return createVNode(type, propsOrChildren);\r\n        }\r\n        else {\r\n            // omit props\r\n            return createVNode(type, null, propsOrChildren);\r\n        }\r\n    }\r\n    else {\r\n        if (l > 3) {\r\n            children = Array.prototype.slice.call(arguments, 2);\r\n        }\r\n        else if (l === 3 && isVNode(children)) {\r\n            children = [children];\r\n        }\r\n        return createVNode(type, propsOrChildren, children);\r\n    }\r\n}\n\nconst ssrContextKey = Symbol((process.env.NODE_ENV !== 'production') ? `ssrContext` : ``);\r\nconst useSSRContext = () => {\r\n    {\r\n        const ctx = inject(ssrContextKey);\r\n        if (!ctx) {\r\n            warn(`Server rendering context not provided. Make sure to only call ` +\r\n                `useSSRContext() conditionally in the server build.`);\r\n        }\r\n        return ctx;\r\n    }\r\n};\n\nfunction initCustomFormatter() {\r\n    /* eslint-disable no-restricted-globals */\r\n    if (!(process.env.NODE_ENV !== 'production') || typeof window === 'undefined') {\r\n        return;\r\n    }\r\n    const vueStyle = { style: 'color:#3ba776' };\r\n    const numberStyle = { style: 'color:#0b1bc9' };\r\n    const stringStyle = { style: 'color:#b62e24' };\r\n    const keywordStyle = { style: 'color:#9d288c' };\r\n    // custom formatter for Chrome\r\n    // https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html\r\n    const formatter = {\r\n        header(obj) {\r\n            // TODO also format ComponentPublicInstance & ctx.slots/attrs in setup\r\n            if (!isObject$1(obj)) {\r\n                return null;\r\n            }\r\n            if (obj.__isVue) {\r\n                return ['div', vueStyle, `VueInstance`];\r\n            }\r\n            else if (isRef(obj)) {\r\n                return [\r\n                    'div',\r\n                    {},\r\n                    ['span', vueStyle, genRefFlag(obj)],\r\n                    '<',\r\n                    formatValue(obj.value),\r\n                    `>`\r\n                ];\r\n            }\r\n            else if (isReactive(obj)) {\r\n                return [\r\n                    'div',\r\n                    {},\r\n                    ['span', vueStyle, 'Reactive'],\r\n                    '<',\r\n                    formatValue(obj),\r\n                    `>${isReadonly(obj) ? ` (readonly)` : ``}`\r\n                ];\r\n            }\r\n            else if (isReadonly(obj)) {\r\n                return [\r\n                    'div',\r\n                    {},\r\n                    ['span', vueStyle, 'Readonly'],\r\n                    '<',\r\n                    formatValue(obj),\r\n                    '>'\r\n                ];\r\n            }\r\n            return null;\r\n        },\r\n        hasBody(obj) {\r\n            return obj && obj.__isVue;\r\n        },\r\n        body(obj) {\r\n            if (obj && obj.__isVue) {\r\n                return [\r\n                    'div',\r\n                    {},\r\n                    ...formatInstance(obj.$)\r\n                ];\r\n            }\r\n        }\r\n    };\r\n    function formatInstance(instance) {\r\n        const blocks = [];\r\n        if (instance.type.props && instance.props) {\r\n            blocks.push(createInstanceBlock('props', toRaw(instance.props)));\r\n        }\r\n        if (instance.setupState !== EMPTY_OBJ) {\r\n            blocks.push(createInstanceBlock('setup', instance.setupState));\r\n        }\r\n        if (instance.data !== EMPTY_OBJ) {\r\n            blocks.push(createInstanceBlock('data', toRaw(instance.data)));\r\n        }\r\n        const computed = extractKeys(instance, 'computed');\r\n        if (computed) {\r\n            blocks.push(createInstanceBlock('computed', computed));\r\n        }\r\n        const injected = extractKeys(instance, 'inject');\r\n        if (injected) {\r\n            blocks.push(createInstanceBlock('injected', injected));\r\n        }\r\n        blocks.push([\r\n            'div',\r\n            {},\r\n            [\r\n                'span',\r\n                {\r\n                    style: keywordStyle.style + ';opacity:0.66'\r\n                },\r\n                '$ (internal): '\r\n            ],\r\n            ['object', { object: instance }]\r\n        ]);\r\n        return blocks;\r\n    }\r\n    function createInstanceBlock(type, target) {\r\n        target = extend({}, target);\r\n        if (!Object.keys(target).length) {\r\n            return ['span', {}];\r\n        }\r\n        return [\r\n            'div',\r\n            { style: 'line-height:1.25em;margin-bottom:0.6em' },\r\n            [\r\n                'div',\r\n                {\r\n                    style: 'color:#476582'\r\n                },\r\n                type\r\n            ],\r\n            [\r\n                'div',\r\n                {\r\n                    style: 'padding-left:1.25em'\r\n                },\r\n                ...Object.keys(target).map(key => {\r\n                    return [\r\n                        'div',\r\n                        {},\r\n                        ['span', keywordStyle, key + ': '],\r\n                        formatValue(target[key], false)\r\n                    ];\r\n                })\r\n            ]\r\n        ];\r\n    }\r\n    function formatValue(v, asRaw = true) {\r\n        if (typeof v === 'number') {\r\n            return ['span', numberStyle, v];\r\n        }\r\n        else if (typeof v === 'string') {\r\n            return ['span', stringStyle, JSON.stringify(v)];\r\n        }\r\n        else if (typeof v === 'boolean') {\r\n            return ['span', keywordStyle, v];\r\n        }\r\n        else if (isObject$1(v)) {\r\n            return ['object', { object: asRaw ? toRaw(v) : v }];\r\n        }\r\n        else {\r\n            return ['span', stringStyle, String(v)];\r\n        }\r\n    }\r\n    function extractKeys(instance, type) {\r\n        const Comp = instance.type;\r\n        if (isFunction$1(Comp)) {\r\n            return;\r\n        }\r\n        const extracted = {};\r\n        for (const key in instance.ctx) {\r\n            if (isKeyOfType(Comp, key, type)) {\r\n                extracted[key] = instance.ctx[key];\r\n            }\r\n        }\r\n        return extracted;\r\n    }\r\n    function isKeyOfType(Comp, key, type) {\r\n        const opts = Comp[type];\r\n        if ((isArray(opts) && opts.includes(key)) ||\r\n            (isObject$1(opts) && key in opts)) {\r\n            return true;\r\n        }\r\n        if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {\r\n            return true;\r\n        }\r\n        if (Comp.mixins && Comp.mixins.some(m => isKeyOfType(m, key, type))) {\r\n            return true;\r\n        }\r\n    }\r\n    function genRefFlag(v) {\r\n        if (v._shallow) {\r\n            return `ShallowRef`;\r\n        }\r\n        if (v.effect) {\r\n            return `ComputedRef`;\r\n        }\r\n        return `Ref`;\r\n    }\r\n    if (window.devtoolsFormatters) {\r\n        window.devtoolsFormatters.push(formatter);\r\n    }\r\n    else {\r\n        window.devtoolsFormatters = [formatter];\r\n    }\r\n}\n\nfunction withMemo(memo, render, cache, index) {\r\n    const cached = cache[index];\r\n    if (cached && isMemoSame(cached, memo)) {\r\n        return cached;\r\n    }\r\n    const ret = render();\r\n    // shallow clone\r\n    ret.memo = memo.slice();\r\n    return (cache[index] = ret);\r\n}\r\nfunction isMemoSame(cached, memo) {\r\n    const prev = cached.memo;\r\n    if (prev.length != memo.length) {\r\n        return false;\r\n    }\r\n    for (let i = 0; i < prev.length; i++) {\r\n        if (prev[i] !== memo[i]) {\r\n            return false;\r\n        }\r\n    }\r\n    // make sure to let parent block track it when returning cached\r\n    if (isBlockTreeEnabled > 0 && currentBlock) {\r\n        currentBlock.push(cached);\r\n    }\r\n    return true;\r\n}\n\n// Core API ------------------------------------------------------------------\r\nconst version = \"3.2.9\";\r\nconst _ssrUtils = {\r\n    createComponentInstance,\r\n    setupComponent,\r\n    renderComponentRoot,\r\n    setCurrentRenderingInstance,\r\n    isVNode,\r\n    normalizeVNode\r\n};\r\n/**\r\n * SSR utils for \\@vue/server-renderer. Only exposed in cjs builds.\r\n * @internal\r\n */\r\nconst ssrUtils = (_ssrUtils );\r\n/**\r\n * @internal only exposed in compat builds\r\n */\r\nconst resolveFilter = null;\r\n/**\r\n * @internal only exposed in compat builds.\r\n */\r\nconst compatUtils = (null);\n\nexport { BaseTransition, Comment, Fragment, KeepAlive, Static, Suspense, Teleport, Text, callWithAsyncErrorHandling, callWithErrorHandling, cloneVNode, compatUtils, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createRenderer, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, defineEmits, defineExpose, defineProps, devtools, getCurrentInstance, getTransitionRawChildren, guardReactiveProps, h, handleError, initCustomFormatter, inject, isMemoSame, isRuntimeOnly, isVNode, mergeDefaults, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, openBlock, popScopeId, provide, pushScopeId, queuePostFlushCb, registerRuntimeCompiler, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, ssrContextKey, ssrUtils, toHandlers, transformVNodeArgs, useAttrs, useSSRContext, useSlots, useTransitionState, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withMemo, withScopeId };\n","import { camelize, warn, callWithAsyncErrorHandling, defineComponent, nextTick, createVNode, getCurrentInstance, watchPostEffect, onMounted, onUnmounted, Fragment, Static, h, BaseTransition, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, createRenderer, isRuntimeOnly, createHydrationRenderer } from '@vue/runtime-core';\nexport * from '@vue/runtime-core';\nimport { isString, isArray, hyphenate, capitalize, isSpecialBooleanAttr, includeBooleanAttr, isOn, isModelListener, isFunction, camelize as camelize$1, toNumber, extend, EMPTY_OBJ, isObject, invokeArrayFns, looseIndexOf, isSet, looseEqual, isHTMLTag, isSVGTag } from '@vue/shared';\n\nconst svgNS = 'http://www.w3.org/2000/svg';\r\nconst doc = (typeof document !== 'undefined' ? document : null);\r\nconst staticTemplateCache = new Map();\r\nconst nodeOps = {\r\n    insert: (child, parent, anchor) => {\r\n        parent.insertBefore(child, anchor || null);\r\n    },\r\n    remove: child => {\r\n        const parent = child.parentNode;\r\n        if (parent) {\r\n            parent.removeChild(child);\r\n        }\r\n    },\r\n    createElement: (tag, isSVG, is, props) => {\r\n        const el = isSVG\r\n            ? doc.createElementNS(svgNS, tag)\r\n            : doc.createElement(tag, is ? { is } : undefined);\r\n        if (tag === 'select' && props && props.multiple != null) {\r\n            el.setAttribute('multiple', props.multiple);\r\n        }\r\n        return el;\r\n    },\r\n    createText: text => doc.createTextNode(text),\r\n    createComment: text => doc.createComment(text),\r\n    setText: (node, text) => {\r\n        node.nodeValue = text;\r\n    },\r\n    setElementText: (el, text) => {\r\n        el.textContent = text;\r\n    },\r\n    parentNode: node => node.parentNode,\r\n    nextSibling: node => node.nextSibling,\r\n    querySelector: selector => doc.querySelector(selector),\r\n    setScopeId(el, id) {\r\n        el.setAttribute(id, '');\r\n    },\r\n    cloneNode(el) {\r\n        const cloned = el.cloneNode(true);\r\n        // #3072\r\n        // - in `patchDOMProp`, we store the actual value in the `el._value` property.\r\n        // - normally, elements using `:value` bindings will not be hoisted, but if\r\n        //   the bound value is a constant, e.g. `:value=\"true\"` - they do get\r\n        //   hoisted.\r\n        // - in production, hoisted nodes are cloned when subsequent inserts, but\r\n        //   cloneNode() does not copy the custom property we attached.\r\n        // - This may need to account for other custom DOM properties we attach to\r\n        //   elements in addition to `_value` in the future.\r\n        if (`_value` in el) {\r\n            cloned._value = el._value;\r\n        }\r\n        return cloned;\r\n    },\r\n    // __UNSAFE__\r\n    // Reason: innerHTML.\r\n    // Static content here can only come from compiled templates.\r\n    // As long as the user only uses trusted templates, this is safe.\r\n    insertStaticContent(content, parent, anchor, isSVG) {\r\n        // <parent> before | first ... last | anchor </parent>\r\n        const before = anchor ? anchor.previousSibling : parent.lastChild;\r\n        let template = staticTemplateCache.get(content);\r\n        if (!template) {\r\n            const t = doc.createElement('template');\r\n            t.innerHTML = isSVG ? `<svg>${content}</svg>` : content;\r\n            template = t.content;\r\n            if (isSVG) {\r\n                // remove outer svg wrapper\r\n                const wrapper = template.firstChild;\r\n                while (wrapper.firstChild) {\r\n                    template.appendChild(wrapper.firstChild);\r\n                }\r\n                template.removeChild(wrapper);\r\n            }\r\n            staticTemplateCache.set(content, template);\r\n        }\r\n        parent.insertBefore(template.cloneNode(true), anchor);\r\n        return [\r\n            // first\r\n            before ? before.nextSibling : parent.firstChild,\r\n            // last\r\n            anchor ? anchor.previousSibling : parent.lastChild\r\n        ];\r\n    }\r\n};\n\n// compiler should normalize class + :class bindings on the same element\r\n// into a single binding ['staticClass', dynamic]\r\nfunction patchClass(el, value, isSVG) {\r\n    // directly setting className should be faster than setAttribute in theory\r\n    // if this is an element during a transition, take the temporary transition\r\n    // classes into account.\r\n    const transitionClasses = el._vtc;\r\n    if (transitionClasses) {\r\n        value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(' ');\r\n    }\r\n    if (value == null) {\r\n        el.removeAttribute('class');\r\n    }\r\n    else if (isSVG) {\r\n        el.setAttribute('class', value);\r\n    }\r\n    else {\r\n        el.className = value;\r\n    }\r\n}\n\nfunction patchStyle(el, prev, next) {\r\n    const style = el.style;\r\n    if (!next) {\r\n        el.removeAttribute('style');\r\n    }\r\n    else if (isString(next)) {\r\n        if (prev !== next) {\r\n            const current = style.display;\r\n            style.cssText = next;\r\n            // indicates that the `display` of the element is controlled by `v-show`,\r\n            // so we always keep the current `display` value regardless of the `style` value,\r\n            // thus handing over control to `v-show`.\r\n            if ('_vod' in el) {\r\n                style.display = current;\r\n            }\r\n        }\r\n    }\r\n    else {\r\n        for (const key in next) {\r\n            setStyle(style, key, next[key]);\r\n        }\r\n        if (prev && !isString(prev)) {\r\n            for (const key in prev) {\r\n                if (next[key] == null) {\r\n                    setStyle(style, key, '');\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\nconst importantRE = /\\s*!important$/;\r\nfunction setStyle(style, name, val) {\r\n    if (isArray(val)) {\r\n        val.forEach(v => setStyle(style, name, v));\r\n    }\r\n    else {\r\n        if (name.startsWith('--')) {\r\n            // custom property definition\r\n            style.setProperty(name, val);\r\n        }\r\n        else {\r\n            const prefixed = autoPrefix(style, name);\r\n            if (importantRE.test(val)) {\r\n                // !important\r\n                style.setProperty(hyphenate(prefixed), val.replace(importantRE, ''), 'important');\r\n            }\r\n            else {\r\n                style[prefixed] = val;\r\n            }\r\n        }\r\n    }\r\n}\r\nconst prefixes = ['Webkit', 'Moz', 'ms'];\r\nconst prefixCache = {};\r\nfunction autoPrefix(style, rawName) {\r\n    const cached = prefixCache[rawName];\r\n    if (cached) {\r\n        return cached;\r\n    }\r\n    let name = camelize(rawName);\r\n    if (name !== 'filter' && name in style) {\r\n        return (prefixCache[rawName] = name);\r\n    }\r\n    name = capitalize(name);\r\n    for (let i = 0; i < prefixes.length; i++) {\r\n        const prefixed = prefixes[i] + name;\r\n        if (prefixed in style) {\r\n            return (prefixCache[rawName] = prefixed);\r\n        }\r\n    }\r\n    return rawName;\r\n}\n\nconst xlinkNS = 'http://www.w3.org/1999/xlink';\r\nfunction patchAttr(el, key, value, isSVG, instance) {\r\n    if (isSVG && key.startsWith('xlink:')) {\r\n        if (value == null) {\r\n            el.removeAttributeNS(xlinkNS, key.slice(6, key.length));\r\n        }\r\n        else {\r\n            el.setAttributeNS(xlinkNS, key, value);\r\n        }\r\n    }\r\n    else {\r\n        // note we are only checking boolean attributes that don't have a\r\n        // corresponding dom prop of the same name here.\r\n        const isBoolean = isSpecialBooleanAttr(key);\r\n        if (value == null || (isBoolean && !includeBooleanAttr(value))) {\r\n            el.removeAttribute(key);\r\n        }\r\n        else {\r\n            el.setAttribute(key, isBoolean ? '' : value);\r\n        }\r\n    }\r\n}\n\n// __UNSAFE__\r\n// functions. The user is responsible for using them with only trusted content.\r\nfunction patchDOMProp(el, key, value, \r\n// the following args are passed only due to potential innerHTML/textContent\r\n// overriding existing VNodes, in which case the old tree must be properly\r\n// unmounted.\r\nprevChildren, parentComponent, parentSuspense, unmountChildren) {\r\n    if (key === 'innerHTML' || key === 'textContent') {\r\n        if (prevChildren) {\r\n            unmountChildren(prevChildren, parentComponent, parentSuspense);\r\n        }\r\n        el[key] = value == null ? '' : value;\r\n        return;\r\n    }\r\n    if (key === 'value' && el.tagName !== 'PROGRESS') {\r\n        // store value as _value as well since\r\n        // non-string values will be stringified.\r\n        el._value = value;\r\n        const newValue = value == null ? '' : value;\r\n        if (el.value !== newValue) {\r\n            el.value = newValue;\r\n        }\r\n        if (value == null) {\r\n            el.removeAttribute(key);\r\n        }\r\n        return;\r\n    }\r\n    if (value === '' || value == null) {\r\n        const type = typeof el[key];\r\n        if (type === 'boolean') {\r\n            // e.g. <select multiple> compiles to { multiple: '' }\r\n            el[key] = includeBooleanAttr(value);\r\n            return;\r\n        }\r\n        else if (value == null && type === 'string') {\r\n            // e.g. <div :id=\"null\">\r\n            el[key] = '';\r\n            el.removeAttribute(key);\r\n            return;\r\n        }\r\n        else if (type === 'number') {\r\n            // e.g. <img :width=\"null\">\r\n            // the value of some IDL attr must be greater than 0, e.g. input.size = 0 -> error\r\n            try {\r\n                el[key] = 0;\r\n            }\r\n            catch (_a) { }\r\n            el.removeAttribute(key);\r\n            return;\r\n        }\r\n    }\r\n    // some properties perform value validation and throw\r\n    try {\r\n        el[key] = value;\r\n    }\r\n    catch (e) {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            warn(`Failed setting prop \"${key}\" on <${el.tagName.toLowerCase()}>: ` +\r\n                `value ${value} is invalid.`, e);\r\n        }\r\n    }\r\n}\n\n// Async edge case fix requires storing an event listener's attach timestamp.\r\nlet _getNow = Date.now;\r\nlet skipTimestampCheck = false;\r\nif (typeof window !== 'undefined') {\r\n    // Determine what event timestamp the browser is using. Annoyingly, the\r\n    // timestamp can either be hi-res (relative to page load) or low-res\r\n    // (relative to UNIX epoch), so in order to compare time we have to use the\r\n    // same timestamp type when saving the flush timestamp.\r\n    if (_getNow() > document.createEvent('Event').timeStamp) {\r\n        // if the low-res timestamp which is bigger than the event timestamp\r\n        // (which is evaluated AFTER) it means the event is using a hi-res timestamp,\r\n        // and we need to use the hi-res version for event listeners as well.\r\n        _getNow = () => performance.now();\r\n    }\r\n    // #3485: Firefox <= 53 has incorrect Event.timeStamp implementation\r\n    // and does not fire microtasks in between event propagation, so safe to exclude.\r\n    const ffMatch = navigator.userAgent.match(/firefox\\/(\\d+)/i);\r\n    skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53);\r\n}\r\n// To avoid the overhead of repeatedly calling performance.now(), we cache\r\n// and use the same timestamp for all event listeners attached in the same tick.\r\nlet cachedNow = 0;\r\nconst p = Promise.resolve();\r\nconst reset = () => {\r\n    cachedNow = 0;\r\n};\r\nconst getNow = () => cachedNow || (p.then(reset), (cachedNow = _getNow()));\r\nfunction addEventListener(el, event, handler, options) {\r\n    el.addEventListener(event, handler, options);\r\n}\r\nfunction removeEventListener(el, event, handler, options) {\r\n    el.removeEventListener(event, handler, options);\r\n}\r\nfunction patchEvent(el, rawName, prevValue, nextValue, instance = null) {\r\n    // vei = vue event invokers\r\n    const invokers = el._vei || (el._vei = {});\r\n    const existingInvoker = invokers[rawName];\r\n    if (nextValue && existingInvoker) {\r\n        // patch\r\n        existingInvoker.value = nextValue;\r\n    }\r\n    else {\r\n        const [name, options] = parseName(rawName);\r\n        if (nextValue) {\r\n            // add\r\n            const invoker = (invokers[rawName] = createInvoker(nextValue, instance));\r\n            addEventListener(el, name, invoker, options);\r\n        }\r\n        else if (existingInvoker) {\r\n            // remove\r\n            removeEventListener(el, name, existingInvoker, options);\r\n            invokers[rawName] = undefined;\r\n        }\r\n    }\r\n}\r\nconst optionsModifierRE = /(?:Once|Passive|Capture)$/;\r\nfunction parseName(name) {\r\n    let options;\r\n    if (optionsModifierRE.test(name)) {\r\n        options = {};\r\n        let m;\r\n        while ((m = name.match(optionsModifierRE))) {\r\n            name = name.slice(0, name.length - m[0].length);\r\n            options[m[0].toLowerCase()] = true;\r\n        }\r\n    }\r\n    return [hyphenate(name.slice(2)), options];\r\n}\r\nfunction createInvoker(initialValue, instance) {\r\n    const invoker = (e) => {\r\n        // async edge case #6566: inner click event triggers patch, event handler\r\n        // attached to outer element during patch, and triggered again. This\r\n        // happens because browsers fire microtask ticks between event propagation.\r\n        // the solution is simple: we save the timestamp when a handler is attached,\r\n        // and the handler would only fire if the event passed to it was fired\r\n        // AFTER it was attached.\r\n        const timeStamp = e.timeStamp || _getNow();\r\n        if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {\r\n            callWithAsyncErrorHandling(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* NATIVE_EVENT_HANDLER */, [e]);\r\n        }\r\n    };\r\n    invoker.value = initialValue;\r\n    invoker.attached = getNow();\r\n    return invoker;\r\n}\r\nfunction patchStopImmediatePropagation(e, value) {\r\n    if (isArray(value)) {\r\n        const originalStop = e.stopImmediatePropagation;\r\n        e.stopImmediatePropagation = () => {\r\n            originalStop.call(e);\r\n            e._stopped = true;\r\n        };\r\n        return value.map(fn => (e) => !e._stopped && fn(e));\r\n    }\r\n    else {\r\n        return value;\r\n    }\r\n}\n\nconst nativeOnRE = /^on[a-z]/;\r\nconst patchProp = (el, key, prevValue, nextValue, isSVG = false, prevChildren, parentComponent, parentSuspense, unmountChildren) => {\r\n    if (key === 'class') {\r\n        patchClass(el, nextValue, isSVG);\r\n    }\r\n    else if (key === 'style') {\r\n        patchStyle(el, prevValue, nextValue);\r\n    }\r\n    else if (isOn(key)) {\r\n        // ignore v-model listeners\r\n        if (!isModelListener(key)) {\r\n            patchEvent(el, key, prevValue, nextValue, parentComponent);\r\n        }\r\n    }\r\n    else if (key[0] === '.'\r\n        ? ((key = key.slice(1)), true)\r\n        : key[0] === '^'\r\n            ? ((key = key.slice(1)), false)\r\n            : shouldSetAsProp(el, key, nextValue, isSVG)) {\r\n        patchDOMProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);\r\n    }\r\n    else {\r\n        // special case for <input v-model type=\"checkbox\"> with\r\n        // :true-value & :false-value\r\n        // store value as dom properties since non-string values will be\r\n        // stringified.\r\n        if (key === 'true-value') {\r\n            el._trueValue = nextValue;\r\n        }\r\n        else if (key === 'false-value') {\r\n            el._falseValue = nextValue;\r\n        }\r\n        patchAttr(el, key, nextValue, isSVG);\r\n    }\r\n};\r\nfunction shouldSetAsProp(el, key, value, isSVG) {\r\n    if (isSVG) {\r\n        // most keys must be set as attribute on svg elements to work\r\n        // ...except innerHTML & textContent\r\n        if (key === 'innerHTML' || key === 'textContent') {\r\n            return true;\r\n        }\r\n        // or native onclick with function values\r\n        if (key in el && nativeOnRE.test(key) && isFunction(value)) {\r\n            return true;\r\n        }\r\n        return false;\r\n    }\r\n    // spellcheck and draggable are numerated attrs, however their\r\n    // corresponding DOM properties are actually booleans - this leads to\r\n    // setting it with a string \"false\" value leading it to be coerced to\r\n    // `true`, so we need to always treat them as attributes.\r\n    // Note that `contentEditable` doesn't have this problem: its DOM\r\n    // property is also enumerated string values.\r\n    if (key === 'spellcheck' || key === 'draggable') {\r\n        return false;\r\n    }\r\n    // #1787, #2840 form property on form elements is readonly and must be set as\r\n    // attribute.\r\n    if (key === 'form') {\r\n        return false;\r\n    }\r\n    // #1526 <input list> must be set as attribute\r\n    if (key === 'list' && el.tagName === 'INPUT') {\r\n        return false;\r\n    }\r\n    // #2766 <textarea type> must be set as attribute\r\n    if (key === 'type' && el.tagName === 'TEXTAREA') {\r\n        return false;\r\n    }\r\n    // native onclick with string value, must be set as attribute\r\n    if (nativeOnRE.test(key) && isString(value)) {\r\n        return false;\r\n    }\r\n    return key in el;\r\n}\n\nfunction defineCustomElement(options, hydate) {\r\n    const Comp = defineComponent(options);\r\n    class VueCustomElement extends VueElement {\r\n        constructor(initialProps) {\r\n            super(Comp, initialProps, hydate);\r\n        }\r\n    }\r\n    VueCustomElement.def = Comp;\r\n    return VueCustomElement;\r\n}\r\nconst defineSSRCustomElement = ((options) => {\r\n    // @ts-ignore\r\n    return defineCustomElement(options, hydrate);\r\n});\r\nconst BaseClass = (typeof HTMLElement !== 'undefined' ? HTMLElement : class {\r\n});\r\nclass VueElement extends BaseClass {\r\n    constructor(_def, _props = {}, hydrate) {\r\n        super();\r\n        this._def = _def;\r\n        this._props = _props;\r\n        /**\r\n         * @internal\r\n         */\r\n        this._instance = null;\r\n        this._connected = false;\r\n        this._resolved = false;\r\n        if (this.shadowRoot && hydrate) {\r\n            hydrate(this._createVNode(), this.shadowRoot);\r\n        }\r\n        else {\r\n            if ((process.env.NODE_ENV !== 'production') && this.shadowRoot) {\r\n                warn(`Custom element has pre-rendered declarative shadow root but is not ` +\r\n                    `defined as hydratable. Use \\`defineSSRCustomElement\\`.`);\r\n            }\r\n            this.attachShadow({ mode: 'open' });\r\n        }\r\n        // set initial attrs\r\n        for (let i = 0; i < this.attributes.length; i++) {\r\n            this._setAttr(this.attributes[i].name);\r\n        }\r\n        // watch future attr changes\r\n        const observer = new MutationObserver(mutations => {\r\n            for (const m of mutations) {\r\n                this._setAttr(m.attributeName);\r\n            }\r\n        });\r\n        observer.observe(this, { attributes: true });\r\n    }\r\n    connectedCallback() {\r\n        this._connected = true;\r\n        if (!this._instance) {\r\n            this._resolveDef();\r\n            render(this._createVNode(), this.shadowRoot);\r\n        }\r\n    }\r\n    disconnectedCallback() {\r\n        this._connected = false;\r\n        nextTick(() => {\r\n            if (!this._connected) {\r\n                render(null, this.shadowRoot);\r\n                this._instance = null;\r\n            }\r\n        });\r\n    }\r\n    /**\r\n     * resolve inner component definition (handle possible async component)\r\n     */\r\n    _resolveDef() {\r\n        if (this._resolved) {\r\n            return;\r\n        }\r\n        const resolve = (def) => {\r\n            this._resolved = true;\r\n            // check if there are props set pre-upgrade or connect\r\n            for (const key of Object.keys(this)) {\r\n                if (key[0] !== '_') {\r\n                    this._setProp(key, this[key]);\r\n                }\r\n            }\r\n            const { props, styles } = def;\r\n            // defining getter/setters on prototype\r\n            const rawKeys = props ? (isArray(props) ? props : Object.keys(props)) : [];\r\n            for (const key of rawKeys.map(camelize$1)) {\r\n                Object.defineProperty(this, key, {\r\n                    get() {\r\n                        return this._getProp(key);\r\n                    },\r\n                    set(val) {\r\n                        this._setProp(key, val);\r\n                    }\r\n                });\r\n            }\r\n            this._applyStyles(styles);\r\n        };\r\n        const asyncDef = this._def.__asyncLoader;\r\n        if (asyncDef) {\r\n            asyncDef().then(resolve);\r\n        }\r\n        else {\r\n            resolve(this._def);\r\n        }\r\n    }\r\n    _setAttr(key) {\r\n        this._setProp(camelize$1(key), toNumber(this.getAttribute(key)), false);\r\n    }\r\n    /**\r\n     * @internal\r\n     */\r\n    _getProp(key) {\r\n        return this._props[key];\r\n    }\r\n    /**\r\n     * @internal\r\n     */\r\n    _setProp(key, val, shouldReflect = true) {\r\n        if (val !== this._props[key]) {\r\n            this._props[key] = val;\r\n            if (this._instance) {\r\n                render(this._createVNode(), this.shadowRoot);\r\n            }\r\n            // reflect\r\n            if (shouldReflect) {\r\n                if (val === true) {\r\n                    this.setAttribute(hyphenate(key), '');\r\n                }\r\n                else if (typeof val === 'string' || typeof val === 'number') {\r\n                    this.setAttribute(hyphenate(key), val + '');\r\n                }\r\n                else if (!val) {\r\n                    this.removeAttribute(hyphenate(key));\r\n                }\r\n            }\r\n        }\r\n    }\r\n    _createVNode() {\r\n        const vnode = createVNode(this._def, extend({}, this._props));\r\n        if (!this._instance) {\r\n            vnode.ce = instance => {\r\n                this._instance = instance;\r\n                instance.isCE = true;\r\n                // HMR\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    instance.ceReload = newStyles => {\r\n                        // alawys reset styles\r\n                        if (this._styles) {\r\n                            this._styles.forEach(s => this.shadowRoot.removeChild(s));\r\n                            this._styles.length = 0;\r\n                        }\r\n                        this._applyStyles(newStyles);\r\n                        // if this is an async component, ceReload is called from the inner\r\n                        // component so no need to reload the async wrapper\r\n                        if (!this._def.__asyncLoader) {\r\n                            // reload\r\n                            this._instance = null;\r\n                            render(this._createVNode(), this.shadowRoot);\r\n                        }\r\n                    };\r\n                }\r\n                // intercept emit\r\n                instance.emit = (event, ...args) => {\r\n                    this.dispatchEvent(new CustomEvent(event, {\r\n                        detail: args\r\n                    }));\r\n                };\r\n                // locate nearest Vue custom element parent for provide/inject\r\n                let parent = this;\r\n                while ((parent =\r\n                    parent && (parent.parentNode || parent.host))) {\r\n                    if (parent instanceof VueElement) {\r\n                        instance.parent = parent._instance;\r\n                        break;\r\n                    }\r\n                }\r\n            };\r\n        }\r\n        return vnode;\r\n    }\r\n    _applyStyles(styles) {\r\n        if (styles) {\r\n            styles.forEach(css => {\r\n                const s = document.createElement('style');\r\n                s.textContent = css;\r\n                this.shadowRoot.appendChild(s);\r\n                // record for HMR\r\n                if ((process.env.NODE_ENV !== 'production')) {\r\n                    (this._styles || (this._styles = [])).push(s);\r\n                }\r\n            });\r\n        }\r\n    }\r\n}\n\nfunction useCssModule(name = '$style') {\r\n    /* istanbul ignore else */\r\n    {\r\n        const instance = getCurrentInstance();\r\n        if (!instance) {\r\n            (process.env.NODE_ENV !== 'production') && warn(`useCssModule must be called inside setup()`);\r\n            return EMPTY_OBJ;\r\n        }\r\n        const modules = instance.type.__cssModules;\r\n        if (!modules) {\r\n            (process.env.NODE_ENV !== 'production') && warn(`Current instance does not have CSS modules injected.`);\r\n            return EMPTY_OBJ;\r\n        }\r\n        const mod = modules[name];\r\n        if (!mod) {\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                warn(`Current instance does not have CSS module named \"${name}\".`);\r\n            return EMPTY_OBJ;\r\n        }\r\n        return mod;\r\n    }\r\n}\n\n/**\r\n * Runtime helper for SFC's CSS variable injection feature.\r\n * @private\r\n */\r\nfunction useCssVars(getter) {\r\n    const instance = getCurrentInstance();\r\n    /* istanbul ignore next */\r\n    if (!instance) {\r\n        (process.env.NODE_ENV !== 'production') &&\r\n            warn(`useCssVars is called without current active component instance.`);\r\n        return;\r\n    }\r\n    const setVars = () => setVarsOnVNode(instance.subTree, getter(instance.proxy));\r\n    watchPostEffect(setVars);\r\n    onMounted(() => {\r\n        const ob = new MutationObserver(setVars);\r\n        ob.observe(instance.subTree.el.parentNode, { childList: true });\r\n        onUnmounted(() => ob.disconnect());\r\n    });\r\n}\r\nfunction setVarsOnVNode(vnode, vars) {\r\n    if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n        const suspense = vnode.suspense;\r\n        vnode = suspense.activeBranch;\r\n        if (suspense.pendingBranch && !suspense.isHydrating) {\r\n            suspense.effects.push(() => {\r\n                setVarsOnVNode(suspense.activeBranch, vars);\r\n            });\r\n        }\r\n    }\r\n    // drill down HOCs until it's a non-component vnode\r\n    while (vnode.component) {\r\n        vnode = vnode.component.subTree;\r\n    }\r\n    if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) {\r\n        setVarsOnNode(vnode.el, vars);\r\n    }\r\n    else if (vnode.type === Fragment) {\r\n        vnode.children.forEach(c => setVarsOnVNode(c, vars));\r\n    }\r\n    else if (vnode.type === Static) {\r\n        let { el, anchor } = vnode;\r\n        while (el) {\r\n            setVarsOnNode(el, vars);\r\n            if (el === anchor)\r\n                break;\r\n            el = el.nextSibling;\r\n        }\r\n    }\r\n}\r\nfunction setVarsOnNode(el, vars) {\r\n    if (el.nodeType === 1) {\r\n        const style = el.style;\r\n        for (const key in vars) {\r\n            style.setProperty(`--${key}`, vars[key]);\r\n        }\r\n    }\r\n}\n\nconst TRANSITION = 'transition';\r\nconst ANIMATION = 'animation';\r\n// DOM Transition is a higher-order-component based on the platform-agnostic\r\n// base Transition component, with DOM-specific logic.\r\nconst Transition = (props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots);\r\nTransition.displayName = 'Transition';\r\nconst DOMTransitionPropsValidators = {\r\n    name: String,\r\n    type: String,\r\n    css: {\r\n        type: Boolean,\r\n        default: true\r\n    },\r\n    duration: [String, Number, Object],\r\n    enterFromClass: String,\r\n    enterActiveClass: String,\r\n    enterToClass: String,\r\n    appearFromClass: String,\r\n    appearActiveClass: String,\r\n    appearToClass: String,\r\n    leaveFromClass: String,\r\n    leaveActiveClass: String,\r\n    leaveToClass: String\r\n};\r\nconst TransitionPropsValidators = (Transition.props =\r\n    /*#__PURE__*/ extend({}, BaseTransition.props, DOMTransitionPropsValidators));\r\n/**\r\n * #3227 Incoming hooks may be merged into arrays when wrapping Transition\r\n * with custom HOCs.\r\n */\r\nconst callHook = (hook, args = []) => {\r\n    if (isArray(hook)) {\r\n        hook.forEach(h => h(...args));\r\n    }\r\n    else if (hook) {\r\n        hook(...args);\r\n    }\r\n};\r\n/**\r\n * Check if a hook expects a callback (2nd arg), which means the user\r\n * intends to explicitly control the end of the transition.\r\n */\r\nconst hasExplicitCallback = (hook) => {\r\n    return hook\r\n        ? isArray(hook)\r\n            ? hook.some(h => h.length > 1)\r\n            : hook.length > 1\r\n        : false;\r\n};\r\nfunction resolveTransitionProps(rawProps) {\r\n    const baseProps = {};\r\n    for (const key in rawProps) {\r\n        if (!(key in DOMTransitionPropsValidators)) {\r\n            baseProps[key] = rawProps[key];\r\n        }\r\n    }\r\n    if (rawProps.css === false) {\r\n        return baseProps;\r\n    }\r\n    const { name = 'v', type, duration, enterFromClass = `${name}-enter-from`, enterActiveClass = `${name}-enter-active`, enterToClass = `${name}-enter-to`, appearFromClass = enterFromClass, appearActiveClass = enterActiveClass, appearToClass = enterToClass, leaveFromClass = `${name}-leave-from`, leaveActiveClass = `${name}-leave-active`, leaveToClass = `${name}-leave-to` } = rawProps;\r\n    const durations = normalizeDuration(duration);\r\n    const enterDuration = durations && durations[0];\r\n    const leaveDuration = durations && durations[1];\r\n    const { onBeforeEnter, onEnter, onEnterCancelled, onLeave, onLeaveCancelled, onBeforeAppear = onBeforeEnter, onAppear = onEnter, onAppearCancelled = onEnterCancelled } = baseProps;\r\n    const finishEnter = (el, isAppear, done) => {\r\n        removeTransitionClass(el, isAppear ? appearToClass : enterToClass);\r\n        removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);\r\n        done && done();\r\n    };\r\n    const finishLeave = (el, done) => {\r\n        removeTransitionClass(el, leaveToClass);\r\n        removeTransitionClass(el, leaveActiveClass);\r\n        done && done();\r\n    };\r\n    const makeEnterHook = (isAppear) => {\r\n        return (el, done) => {\r\n            const hook = isAppear ? onAppear : onEnter;\r\n            const resolve = () => finishEnter(el, isAppear, done);\r\n            callHook(hook, [el, resolve]);\r\n            nextFrame(() => {\r\n                removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);\r\n                addTransitionClass(el, isAppear ? appearToClass : enterToClass);\r\n                if (!hasExplicitCallback(hook)) {\r\n                    whenTransitionEnds(el, type, enterDuration, resolve);\r\n                }\r\n            });\r\n        };\r\n    };\r\n    return extend(baseProps, {\r\n        onBeforeEnter(el) {\r\n            callHook(onBeforeEnter, [el]);\r\n            addTransitionClass(el, enterFromClass);\r\n            addTransitionClass(el, enterActiveClass);\r\n        },\r\n        onBeforeAppear(el) {\r\n            callHook(onBeforeAppear, [el]);\r\n            addTransitionClass(el, appearFromClass);\r\n            addTransitionClass(el, appearActiveClass);\r\n        },\r\n        onEnter: makeEnterHook(false),\r\n        onAppear: makeEnterHook(true),\r\n        onLeave(el, done) {\r\n            const resolve = () => finishLeave(el, done);\r\n            addTransitionClass(el, leaveFromClass);\r\n            // force reflow so *-leave-from classes immediately take effect (#2593)\r\n            forceReflow();\r\n            addTransitionClass(el, leaveActiveClass);\r\n            nextFrame(() => {\r\n                removeTransitionClass(el, leaveFromClass);\r\n                addTransitionClass(el, leaveToClass);\r\n                if (!hasExplicitCallback(onLeave)) {\r\n                    whenTransitionEnds(el, type, leaveDuration, resolve);\r\n                }\r\n            });\r\n            callHook(onLeave, [el, resolve]);\r\n        },\r\n        onEnterCancelled(el) {\r\n            finishEnter(el, false);\r\n            callHook(onEnterCancelled, [el]);\r\n        },\r\n        onAppearCancelled(el) {\r\n            finishEnter(el, true);\r\n            callHook(onAppearCancelled, [el]);\r\n        },\r\n        onLeaveCancelled(el) {\r\n            finishLeave(el);\r\n            callHook(onLeaveCancelled, [el]);\r\n        }\r\n    });\r\n}\r\nfunction normalizeDuration(duration) {\r\n    if (duration == null) {\r\n        return null;\r\n    }\r\n    else if (isObject(duration)) {\r\n        return [NumberOf(duration.enter), NumberOf(duration.leave)];\r\n    }\r\n    else {\r\n        const n = NumberOf(duration);\r\n        return [n, n];\r\n    }\r\n}\r\nfunction NumberOf(val) {\r\n    const res = toNumber(val);\r\n    if ((process.env.NODE_ENV !== 'production'))\r\n        validateDuration(res);\r\n    return res;\r\n}\r\nfunction validateDuration(val) {\r\n    if (typeof val !== 'number') {\r\n        warn(`<transition> explicit duration is not a valid number - ` +\r\n            `got ${JSON.stringify(val)}.`);\r\n    }\r\n    else if (isNaN(val)) {\r\n        warn(`<transition> explicit duration is NaN - ` +\r\n            'the duration expression might be incorrect.');\r\n    }\r\n}\r\nfunction addTransitionClass(el, cls) {\r\n    cls.split(/\\s+/).forEach(c => c && el.classList.add(c));\r\n    (el._vtc ||\r\n        (el._vtc = new Set())).add(cls);\r\n}\r\nfunction removeTransitionClass(el, cls) {\r\n    cls.split(/\\s+/).forEach(c => c && el.classList.remove(c));\r\n    const { _vtc } = el;\r\n    if (_vtc) {\r\n        _vtc.delete(cls);\r\n        if (!_vtc.size) {\r\n            el._vtc = undefined;\r\n        }\r\n    }\r\n}\r\nfunction nextFrame(cb) {\r\n    requestAnimationFrame(() => {\r\n        requestAnimationFrame(cb);\r\n    });\r\n}\r\nlet endId = 0;\r\nfunction whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {\r\n    const id = (el._endId = ++endId);\r\n    const resolveIfNotStale = () => {\r\n        if (id === el._endId) {\r\n            resolve();\r\n        }\r\n    };\r\n    if (explicitTimeout) {\r\n        return setTimeout(resolveIfNotStale, explicitTimeout);\r\n    }\r\n    const { type, timeout, propCount } = getTransitionInfo(el, expectedType);\r\n    if (!type) {\r\n        return resolve();\r\n    }\r\n    const endEvent = type + 'end';\r\n    let ended = 0;\r\n    const end = () => {\r\n        el.removeEventListener(endEvent, onEnd);\r\n        resolveIfNotStale();\r\n    };\r\n    const onEnd = (e) => {\r\n        if (e.target === el && ++ended >= propCount) {\r\n            end();\r\n        }\r\n    };\r\n    setTimeout(() => {\r\n        if (ended < propCount) {\r\n            end();\r\n        }\r\n    }, timeout + 1);\r\n    el.addEventListener(endEvent, onEnd);\r\n}\r\nfunction getTransitionInfo(el, expectedType) {\r\n    const styles = window.getComputedStyle(el);\r\n    // JSDOM may return undefined for transition properties\r\n    const getStyleProperties = (key) => (styles[key] || '').split(', ');\r\n    const transitionDelays = getStyleProperties(TRANSITION + 'Delay');\r\n    const transitionDurations = getStyleProperties(TRANSITION + 'Duration');\r\n    const transitionTimeout = getTimeout(transitionDelays, transitionDurations);\r\n    const animationDelays = getStyleProperties(ANIMATION + 'Delay');\r\n    const animationDurations = getStyleProperties(ANIMATION + 'Duration');\r\n    const animationTimeout = getTimeout(animationDelays, animationDurations);\r\n    let type = null;\r\n    let timeout = 0;\r\n    let propCount = 0;\r\n    /* istanbul ignore if */\r\n    if (expectedType === TRANSITION) {\r\n        if (transitionTimeout > 0) {\r\n            type = TRANSITION;\r\n            timeout = transitionTimeout;\r\n            propCount = transitionDurations.length;\r\n        }\r\n    }\r\n    else if (expectedType === ANIMATION) {\r\n        if (animationTimeout > 0) {\r\n            type = ANIMATION;\r\n            timeout = animationTimeout;\r\n            propCount = animationDurations.length;\r\n        }\r\n    }\r\n    else {\r\n        timeout = Math.max(transitionTimeout, animationTimeout);\r\n        type =\r\n            timeout > 0\r\n                ? transitionTimeout > animationTimeout\r\n                    ? TRANSITION\r\n                    : ANIMATION\r\n                : null;\r\n        propCount = type\r\n            ? type === TRANSITION\r\n                ? transitionDurations.length\r\n                : animationDurations.length\r\n            : 0;\r\n    }\r\n    const hasTransform = type === TRANSITION &&\r\n        /\\b(transform|all)(,|$)/.test(styles[TRANSITION + 'Property']);\r\n    return {\r\n        type,\r\n        timeout,\r\n        propCount,\r\n        hasTransform\r\n    };\r\n}\r\nfunction getTimeout(delays, durations) {\r\n    while (delays.length < durations.length) {\r\n        delays = delays.concat(delays);\r\n    }\r\n    return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));\r\n}\r\n// Old versions of Chromium (below 61.0.3163.100) formats floating pointer\r\n// numbers in a locale-dependent way, using a comma instead of a dot.\r\n// If comma is not replaced with a dot, the input will be rounded down\r\n// (i.e. acting as a floor function) causing unexpected behaviors\r\nfunction toMs(s) {\r\n    return Number(s.slice(0, -1).replace(',', '.')) * 1000;\r\n}\r\n// synchronously force layout to put elements into a certain state\r\nfunction forceReflow() {\r\n    return document.body.offsetHeight;\r\n}\n\nconst positionMap = new WeakMap();\r\nconst newPositionMap = new WeakMap();\r\nconst TransitionGroupImpl = {\r\n    name: 'TransitionGroup',\r\n    props: /*#__PURE__*/ extend({}, TransitionPropsValidators, {\r\n        tag: String,\r\n        moveClass: String\r\n    }),\r\n    setup(props, { slots }) {\r\n        const instance = getCurrentInstance();\r\n        const state = useTransitionState();\r\n        let prevChildren;\r\n        let children;\r\n        onUpdated(() => {\r\n            // children is guaranteed to exist after initial render\r\n            if (!prevChildren.length) {\r\n                return;\r\n            }\r\n            const moveClass = props.moveClass || `${props.name || 'v'}-move`;\r\n            if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {\r\n                return;\r\n            }\r\n            // we divide the work into three loops to avoid mixing DOM reads and writes\r\n            // in each iteration - which helps prevent layout thrashing.\r\n            prevChildren.forEach(callPendingCbs);\r\n            prevChildren.forEach(recordPosition);\r\n            const movedChildren = prevChildren.filter(applyTranslation);\r\n            // force reflow to put everything in position\r\n            forceReflow();\r\n            movedChildren.forEach(c => {\r\n                const el = c.el;\r\n                const style = el.style;\r\n                addTransitionClass(el, moveClass);\r\n                style.transform = style.webkitTransform = style.transitionDuration = '';\r\n                const cb = (el._moveCb = (e) => {\r\n                    if (e && e.target !== el) {\r\n                        return;\r\n                    }\r\n                    if (!e || /transform$/.test(e.propertyName)) {\r\n                        el.removeEventListener('transitionend', cb);\r\n                        el._moveCb = null;\r\n                        removeTransitionClass(el, moveClass);\r\n                    }\r\n                });\r\n                el.addEventListener('transitionend', cb);\r\n            });\r\n        });\r\n        return () => {\r\n            const rawProps = toRaw(props);\r\n            const cssTransitionProps = resolveTransitionProps(rawProps);\r\n            let tag = rawProps.tag || Fragment;\r\n            prevChildren = children;\r\n            children = slots.default ? getTransitionRawChildren(slots.default()) : [];\r\n            for (let i = 0; i < children.length; i++) {\r\n                const child = children[i];\r\n                if (child.key != null) {\r\n                    setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));\r\n                }\r\n                else if ((process.env.NODE_ENV !== 'production')) {\r\n                    warn(`<TransitionGroup> children must be keyed.`);\r\n                }\r\n            }\r\n            if (prevChildren) {\r\n                for (let i = 0; i < prevChildren.length; i++) {\r\n                    const child = prevChildren[i];\r\n                    setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));\r\n                    positionMap.set(child, child.el.getBoundingClientRect());\r\n                }\r\n            }\r\n            return createVNode(tag, null, children);\r\n        };\r\n    }\r\n};\r\nconst TransitionGroup = TransitionGroupImpl;\r\nfunction callPendingCbs(c) {\r\n    const el = c.el;\r\n    if (el._moveCb) {\r\n        el._moveCb();\r\n    }\r\n    if (el._enterCb) {\r\n        el._enterCb();\r\n    }\r\n}\r\nfunction recordPosition(c) {\r\n    newPositionMap.set(c, c.el.getBoundingClientRect());\r\n}\r\nfunction applyTranslation(c) {\r\n    const oldPos = positionMap.get(c);\r\n    const newPos = newPositionMap.get(c);\r\n    const dx = oldPos.left - newPos.left;\r\n    const dy = oldPos.top - newPos.top;\r\n    if (dx || dy) {\r\n        const s = c.el.style;\r\n        s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;\r\n        s.transitionDuration = '0s';\r\n        return c;\r\n    }\r\n}\r\nfunction hasCSSTransform(el, root, moveClass) {\r\n    // Detect whether an element with the move class applied has\r\n    // CSS transitions. Since the element may be inside an entering\r\n    // transition at this very moment, we make a clone of it and remove\r\n    // all other transition classes applied to ensure only the move class\r\n    // is applied.\r\n    const clone = el.cloneNode();\r\n    if (el._vtc) {\r\n        el._vtc.forEach(cls => {\r\n            cls.split(/\\s+/).forEach(c => c && clone.classList.remove(c));\r\n        });\r\n    }\r\n    moveClass.split(/\\s+/).forEach(c => c && clone.classList.add(c));\r\n    clone.style.display = 'none';\r\n    const container = (root.nodeType === 1 ? root : root.parentNode);\r\n    container.appendChild(clone);\r\n    const { hasTransform } = getTransitionInfo(clone);\r\n    container.removeChild(clone);\r\n    return hasTransform;\r\n}\n\nconst getModelAssigner = (vnode) => {\r\n    const fn = vnode.props['onUpdate:modelValue'];\r\n    return isArray(fn) ? value => invokeArrayFns(fn, value) : fn;\r\n};\r\nfunction onCompositionStart(e) {\r\n    e.target.composing = true;\r\n}\r\nfunction onCompositionEnd(e) {\r\n    const target = e.target;\r\n    if (target.composing) {\r\n        target.composing = false;\r\n        trigger(target, 'input');\r\n    }\r\n}\r\nfunction trigger(el, type) {\r\n    const e = document.createEvent('HTMLEvents');\r\n    e.initEvent(type, true, true);\r\n    el.dispatchEvent(e);\r\n}\r\n// We are exporting the v-model runtime directly as vnode hooks so that it can\r\n// be tree-shaken in case v-model is never used.\r\nconst vModelText = {\r\n    created(el, { modifiers: { lazy, trim, number } }, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n        const castToNumber = number || (vnode.props && vnode.props.type === 'number');\r\n        addEventListener(el, lazy ? 'change' : 'input', e => {\r\n            if (e.target.composing)\r\n                return;\r\n            let domValue = el.value;\r\n            if (trim) {\r\n                domValue = domValue.trim();\r\n            }\r\n            else if (castToNumber) {\r\n                domValue = toNumber(domValue);\r\n            }\r\n            el._assign(domValue);\r\n        });\r\n        if (trim) {\r\n            addEventListener(el, 'change', () => {\r\n                el.value = el.value.trim();\r\n            });\r\n        }\r\n        if (!lazy) {\r\n            addEventListener(el, 'compositionstart', onCompositionStart);\r\n            addEventListener(el, 'compositionend', onCompositionEnd);\r\n            // Safari < 10.2 & UIWebView doesn't fire compositionend when\r\n            // switching focus before confirming composition choice\r\n            // this also fixes the issue where some browsers e.g. iOS Chrome\r\n            // fires \"change\" instead of \"input\" on autocomplete.\r\n            addEventListener(el, 'change', onCompositionEnd);\r\n        }\r\n    },\r\n    // set value on mounted so it's after min/max for type=\"range\"\r\n    mounted(el, { value }) {\r\n        el.value = value == null ? '' : value;\r\n    },\r\n    beforeUpdate(el, { value, modifiers: { lazy, trim, number } }, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n        // avoid clearing unresolved text. #2302\r\n        if (el.composing)\r\n            return;\r\n        if (document.activeElement === el) {\r\n            if (lazy) {\r\n                return;\r\n            }\r\n            if (trim && el.value.trim() === value) {\r\n                return;\r\n            }\r\n            if ((number || el.type === 'number') && toNumber(el.value) === value) {\r\n                return;\r\n            }\r\n        }\r\n        const newValue = value == null ? '' : value;\r\n        if (el.value !== newValue) {\r\n            el.value = newValue;\r\n        }\r\n    }\r\n};\r\nconst vModelCheckbox = {\r\n    // #4096 array checkboxes need to be deep traversed\r\n    deep: true,\r\n    created(el, _, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n        addEventListener(el, 'change', () => {\r\n            const modelValue = el._modelValue;\r\n            const elementValue = getValue(el);\r\n            const checked = el.checked;\r\n            const assign = el._assign;\r\n            if (isArray(modelValue)) {\r\n                const index = looseIndexOf(modelValue, elementValue);\r\n                const found = index !== -1;\r\n                if (checked && !found) {\r\n                    assign(modelValue.concat(elementValue));\r\n                }\r\n                else if (!checked && found) {\r\n                    const filtered = [...modelValue];\r\n                    filtered.splice(index, 1);\r\n                    assign(filtered);\r\n                }\r\n            }\r\n            else if (isSet(modelValue)) {\r\n                const cloned = new Set(modelValue);\r\n                if (checked) {\r\n                    cloned.add(elementValue);\r\n                }\r\n                else {\r\n                    cloned.delete(elementValue);\r\n                }\r\n                assign(cloned);\r\n            }\r\n            else {\r\n                assign(getCheckboxValue(el, checked));\r\n            }\r\n        });\r\n    },\r\n    // set initial checked on mount to wait for true-value/false-value\r\n    mounted: setChecked,\r\n    beforeUpdate(el, binding, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n        setChecked(el, binding, vnode);\r\n    }\r\n};\r\nfunction setChecked(el, { value, oldValue }, vnode) {\r\n    el._modelValue = value;\r\n    if (isArray(value)) {\r\n        el.checked = looseIndexOf(value, vnode.props.value) > -1;\r\n    }\r\n    else if (isSet(value)) {\r\n        el.checked = value.has(vnode.props.value);\r\n    }\r\n    else if (value !== oldValue) {\r\n        el.checked = looseEqual(value, getCheckboxValue(el, true));\r\n    }\r\n}\r\nconst vModelRadio = {\r\n    created(el, { value }, vnode) {\r\n        el.checked = looseEqual(value, vnode.props.value);\r\n        el._assign = getModelAssigner(vnode);\r\n        addEventListener(el, 'change', () => {\r\n            el._assign(getValue(el));\r\n        });\r\n    },\r\n    beforeUpdate(el, { value, oldValue }, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n        if (value !== oldValue) {\r\n            el.checked = looseEqual(value, vnode.props.value);\r\n        }\r\n    }\r\n};\r\nconst vModelSelect = {\r\n    // <select multiple> value need to be deep traversed\r\n    deep: true,\r\n    created(el, { value, modifiers: { number } }, vnode) {\r\n        const isSetModel = isSet(value);\r\n        addEventListener(el, 'change', () => {\r\n            const selectedVal = Array.prototype.filter\r\n                .call(el.options, (o) => o.selected)\r\n                .map((o) => number ? toNumber(getValue(o)) : getValue(o));\r\n            el._assign(el.multiple\r\n                ? isSetModel\r\n                    ? new Set(selectedVal)\r\n                    : selectedVal\r\n                : selectedVal[0]);\r\n        });\r\n        el._assign = getModelAssigner(vnode);\r\n    },\r\n    // set value in mounted & updated because <select> relies on its children\r\n    // <option>s.\r\n    mounted(el, { value }) {\r\n        setSelected(el, value);\r\n    },\r\n    beforeUpdate(el, _binding, vnode) {\r\n        el._assign = getModelAssigner(vnode);\r\n    },\r\n    updated(el, { value }) {\r\n        setSelected(el, value);\r\n    }\r\n};\r\nfunction setSelected(el, value) {\r\n    const isMultiple = el.multiple;\r\n    if (isMultiple && !isArray(value) && !isSet(value)) {\r\n        (process.env.NODE_ENV !== 'production') &&\r\n            warn(`<select multiple v-model> expects an Array or Set value for its binding, ` +\r\n                `but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);\r\n        return;\r\n    }\r\n    for (let i = 0, l = el.options.length; i < l; i++) {\r\n        const option = el.options[i];\r\n        const optionValue = getValue(option);\r\n        if (isMultiple) {\r\n            if (isArray(value)) {\r\n                option.selected = looseIndexOf(value, optionValue) > -1;\r\n            }\r\n            else {\r\n                option.selected = value.has(optionValue);\r\n            }\r\n        }\r\n        else {\r\n            if (looseEqual(getValue(option), value)) {\r\n                if (el.selectedIndex !== i)\r\n                    el.selectedIndex = i;\r\n                return;\r\n            }\r\n        }\r\n    }\r\n    if (!isMultiple && el.selectedIndex !== -1) {\r\n        el.selectedIndex = -1;\r\n    }\r\n}\r\n// retrieve raw value set via :value bindings\r\nfunction getValue(el) {\r\n    return '_value' in el ? el._value : el.value;\r\n}\r\n// retrieve raw value for true-value and false-value set via :true-value or :false-value bindings\r\nfunction getCheckboxValue(el, checked) {\r\n    const key = checked ? '_trueValue' : '_falseValue';\r\n    return key in el ? el[key] : checked;\r\n}\r\nconst vModelDynamic = {\r\n    created(el, binding, vnode) {\r\n        callModelHook(el, binding, vnode, null, 'created');\r\n    },\r\n    mounted(el, binding, vnode) {\r\n        callModelHook(el, binding, vnode, null, 'mounted');\r\n    },\r\n    beforeUpdate(el, binding, vnode, prevVNode) {\r\n        callModelHook(el, binding, vnode, prevVNode, 'beforeUpdate');\r\n    },\r\n    updated(el, binding, vnode, prevVNode) {\r\n        callModelHook(el, binding, vnode, prevVNode, 'updated');\r\n    }\r\n};\r\nfunction callModelHook(el, binding, vnode, prevVNode, hook) {\r\n    let modelToUse;\r\n    switch (el.tagName) {\r\n        case 'SELECT':\r\n            modelToUse = vModelSelect;\r\n            break;\r\n        case 'TEXTAREA':\r\n            modelToUse = vModelText;\r\n            break;\r\n        default:\r\n            switch (vnode.props && vnode.props.type) {\r\n                case 'checkbox':\r\n                    modelToUse = vModelCheckbox;\r\n                    break;\r\n                case 'radio':\r\n                    modelToUse = vModelRadio;\r\n                    break;\r\n                default:\r\n                    modelToUse = vModelText;\r\n            }\r\n    }\r\n    const fn = modelToUse[hook];\r\n    fn && fn(el, binding, vnode, prevVNode);\r\n}\n\nconst systemModifiers = ['ctrl', 'shift', 'alt', 'meta'];\r\nconst modifierGuards = {\r\n    stop: e => e.stopPropagation(),\r\n    prevent: e => e.preventDefault(),\r\n    self: e => e.target !== e.currentTarget,\r\n    ctrl: e => !e.ctrlKey,\r\n    shift: e => !e.shiftKey,\r\n    alt: e => !e.altKey,\r\n    meta: e => !e.metaKey,\r\n    left: e => 'button' in e && e.button !== 0,\r\n    middle: e => 'button' in e && e.button !== 1,\r\n    right: e => 'button' in e && e.button !== 2,\r\n    exact: (e, modifiers) => systemModifiers.some(m => e[`${m}Key`] && !modifiers.includes(m))\r\n};\r\n/**\r\n * @private\r\n */\r\nconst withModifiers = (fn, modifiers) => {\r\n    return (event, ...args) => {\r\n        for (let i = 0; i < modifiers.length; i++) {\r\n            const guard = modifierGuards[modifiers[i]];\r\n            if (guard && guard(event, modifiers))\r\n                return;\r\n        }\r\n        return fn(event, ...args);\r\n    };\r\n};\r\n// Kept for 2.x compat.\r\n// Note: IE11 compat for `spacebar` and `del` is removed for now.\r\nconst keyNames = {\r\n    esc: 'escape',\r\n    space: ' ',\r\n    up: 'arrow-up',\r\n    left: 'arrow-left',\r\n    right: 'arrow-right',\r\n    down: 'arrow-down',\r\n    delete: 'backspace'\r\n};\r\n/**\r\n * @private\r\n */\r\nconst withKeys = (fn, modifiers) => {\r\n    return (event) => {\r\n        if (!('key' in event)) {\r\n            return;\r\n        }\r\n        const eventKey = hyphenate(event.key);\r\n        if (modifiers.some(k => k === eventKey || keyNames[k] === eventKey)) {\r\n            return fn(event);\r\n        }\r\n    };\r\n};\n\nconst vShow = {\r\n    beforeMount(el, { value }, { transition }) {\r\n        el._vod = el.style.display === 'none' ? '' : el.style.display;\r\n        if (transition && value) {\r\n            transition.beforeEnter(el);\r\n        }\r\n        else {\r\n            setDisplay(el, value);\r\n        }\r\n    },\r\n    mounted(el, { value }, { transition }) {\r\n        if (transition && value) {\r\n            transition.enter(el);\r\n        }\r\n    },\r\n    updated(el, { value, oldValue }, { transition }) {\r\n        if (!value === !oldValue)\r\n            return;\r\n        if (transition) {\r\n            if (value) {\r\n                transition.beforeEnter(el);\r\n                setDisplay(el, true);\r\n                transition.enter(el);\r\n            }\r\n            else {\r\n                transition.leave(el, () => {\r\n                    setDisplay(el, false);\r\n                });\r\n            }\r\n        }\r\n        else {\r\n            setDisplay(el, value);\r\n        }\r\n    },\r\n    beforeUnmount(el, { value }) {\r\n        setDisplay(el, value);\r\n    }\r\n};\r\nfunction setDisplay(el, value) {\r\n    el.style.display = value ? el._vod : 'none';\r\n}\n\nconst rendererOptions = extend({ patchProp }, nodeOps);\r\n// lazy create the renderer - this makes core renderer logic tree-shakable\r\n// in case the user only imports reactivity utilities from Vue.\r\nlet renderer;\r\nlet enabledHydration = false;\r\nfunction ensureRenderer() {\r\n    return (renderer ||\r\n        (renderer = createRenderer(rendererOptions)));\r\n}\r\nfunction ensureHydrationRenderer() {\r\n    renderer = enabledHydration\r\n        ? renderer\r\n        : createHydrationRenderer(rendererOptions);\r\n    enabledHydration = true;\r\n    return renderer;\r\n}\r\n// use explicit type casts here to avoid import() calls in rolled-up d.ts\r\nconst render = ((...args) => {\r\n    ensureRenderer().render(...args);\r\n});\r\nconst hydrate = ((...args) => {\r\n    ensureHydrationRenderer().hydrate(...args);\r\n});\r\nconst createApp = ((...args) => {\r\n    const app = ensureRenderer().createApp(...args);\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        injectNativeTagCheck(app);\r\n        injectCompilerOptionsCheck(app);\r\n    }\r\n    const { mount } = app;\r\n    app.mount = (containerOrSelector) => {\r\n        const container = normalizeContainer(containerOrSelector);\r\n        if (!container)\r\n            return;\r\n        const component = app._component;\r\n        if (!isFunction(component) && !component.render && !component.template) {\r\n            // __UNSAFE__\r\n            // Reason: potential execution of JS expressions in in-DOM template.\r\n            // The user must make sure the in-DOM template is trusted. If it's\r\n            // rendered by the server, the template should not contain any user data.\r\n            component.template = container.innerHTML;\r\n        }\r\n        // clear content before mounting\r\n        container.innerHTML = '';\r\n        const proxy = mount(container, false, container instanceof SVGElement);\r\n        if (container instanceof Element) {\r\n            container.removeAttribute('v-cloak');\r\n            container.setAttribute('data-v-app', '');\r\n        }\r\n        return proxy;\r\n    };\r\n    return app;\r\n});\r\nconst createSSRApp = ((...args) => {\r\n    const app = ensureHydrationRenderer().createApp(...args);\r\n    if ((process.env.NODE_ENV !== 'production')) {\r\n        injectNativeTagCheck(app);\r\n        injectCompilerOptionsCheck(app);\r\n    }\r\n    const { mount } = app;\r\n    app.mount = (containerOrSelector) => {\r\n        const container = normalizeContainer(containerOrSelector);\r\n        if (container) {\r\n            return mount(container, true, container instanceof SVGElement);\r\n        }\r\n    };\r\n    return app;\r\n});\r\nfunction injectNativeTagCheck(app) {\r\n    // Inject `isNativeTag`\r\n    // this is used for component name validation (dev only)\r\n    Object.defineProperty(app.config, 'isNativeTag', {\r\n        value: (tag) => isHTMLTag(tag) || isSVGTag(tag),\r\n        writable: false\r\n    });\r\n}\r\n// dev only\r\nfunction injectCompilerOptionsCheck(app) {\r\n    if (isRuntimeOnly()) {\r\n        const isCustomElement = app.config.isCustomElement;\r\n        Object.defineProperty(app.config, 'isCustomElement', {\r\n            get() {\r\n                return isCustomElement;\r\n            },\r\n            set() {\r\n                warn(`The \\`isCustomElement\\` config option is deprecated. Use ` +\r\n                    `\\`compilerOptions.isCustomElement\\` instead.`);\r\n            }\r\n        });\r\n        const compilerOptions = app.config.compilerOptions;\r\n        const msg = `The \\`compilerOptions\\` config option is only respected when using ` +\r\n            `a build of Vue.js that includes the runtime compiler (aka \"full build\"). ` +\r\n            `Since you are using the runtime-only build, \\`compilerOptions\\` ` +\r\n            `must be passed to \\`@vue/compiler-dom\\` in the build setup instead.\\n` +\r\n            `- For vue-loader: pass it via vue-loader's \\`compilerOptions\\` loader option.\\n` +\r\n            `- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\\n` +\r\n            `- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`;\r\n        Object.defineProperty(app.config, 'compilerOptions', {\r\n            get() {\r\n                warn(msg);\r\n                return compilerOptions;\r\n            },\r\n            set() {\r\n                warn(msg);\r\n            }\r\n        });\r\n    }\r\n}\r\nfunction normalizeContainer(container) {\r\n    if (isString(container)) {\r\n        const res = document.querySelector(container);\r\n        if ((process.env.NODE_ENV !== 'production') && !res) {\r\n            warn(`Failed to mount app: mount target selector \"${container}\" returned null.`);\r\n        }\r\n        return res;\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') &&\r\n        window.ShadowRoot &&\r\n        container instanceof window.ShadowRoot &&\r\n        container.mode === 'closed') {\r\n        warn(`mounting on a ShadowRoot with \\`{mode: \"closed\"}\\` may lead to unpredictable bugs`);\r\n    }\r\n    return container;\r\n}\n\nexport { Transition, TransitionGroup, VueElement, createApp, createSSRApp, defineCustomElement, defineSSRCustomElement, hydrate, render, useCssModule, useCssVars, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, withKeys, withModifiers };\n","import { isString, hyphenate, extend, isObject, NO, isArray, makeMap, isSymbol, NOOP, EMPTY_OBJ, capitalize, camelize as camelize$1, PatchFlagNames, slotFlagsText, isOn, isReservedProp, toHandlerKey } from '@vue/shared';\nexport { generateCodeFrame } from '@vue/shared';\n\nfunction defaultOnError(error) {\r\n    throw error;\r\n}\r\nfunction defaultOnWarn(msg) {\r\n    (process.env.NODE_ENV !== 'production') && console.warn(`[Vue warn] ${msg.message}`);\r\n}\r\nfunction createCompilerError(code, loc, messages, additionalMessage) {\r\n    const msg = (process.env.NODE_ENV !== 'production') || !true\r\n        ? (messages || errorMessages)[code] + (additionalMessage || ``)\r\n        : code;\r\n    const error = new SyntaxError(String(msg));\r\n    error.code = code;\r\n    error.loc = loc;\r\n    return error;\r\n}\r\nconst errorMessages = {\r\n    // parse errors\r\n    [0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */]: 'Illegal comment.',\r\n    [1 /* CDATA_IN_HTML_CONTENT */]: 'CDATA section is allowed only in XML context.',\r\n    [2 /* DUPLICATE_ATTRIBUTE */]: 'Duplicate attribute.',\r\n    [3 /* END_TAG_WITH_ATTRIBUTES */]: 'End tag cannot have attributes.',\r\n    [4 /* END_TAG_WITH_TRAILING_SOLIDUS */]: \"Illegal '/' in tags.\",\r\n    [5 /* EOF_BEFORE_TAG_NAME */]: 'Unexpected EOF in tag.',\r\n    [6 /* EOF_IN_CDATA */]: 'Unexpected EOF in CDATA section.',\r\n    [7 /* EOF_IN_COMMENT */]: 'Unexpected EOF in comment.',\r\n    [8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */]: 'Unexpected EOF in script.',\r\n    [9 /* EOF_IN_TAG */]: 'Unexpected EOF in tag.',\r\n    [10 /* INCORRECTLY_CLOSED_COMMENT */]: 'Incorrectly closed comment.',\r\n    [11 /* INCORRECTLY_OPENED_COMMENT */]: 'Incorrectly opened comment.',\r\n    [12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */]: \"Illegal tag name. Use '&lt;' to print '<'.\",\r\n    [13 /* MISSING_ATTRIBUTE_VALUE */]: 'Attribute value was expected.',\r\n    [14 /* MISSING_END_TAG_NAME */]: 'End tag name was expected.',\r\n    [15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */]: 'Whitespace was expected.',\r\n    [16 /* NESTED_COMMENT */]: \"Unexpected '<!--' in comment.\",\r\n    [17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */]: 'Attribute name cannot contain U+0022 (\"), U+0027 (\\'), and U+003C (<).',\r\n    [18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */]: 'Unquoted attribute value cannot contain U+0022 (\"), U+0027 (\\'), U+003C (<), U+003D (=), and U+0060 (`).',\r\n    [19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */]: \"Attribute name cannot start with '='.\",\r\n    [21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */]: \"'<?' is allowed only in XML context.\",\r\n    [20 /* UNEXPECTED_NULL_CHARACTER */]: `Unexpected null character.`,\r\n    [22 /* UNEXPECTED_SOLIDUS_IN_TAG */]: \"Illegal '/' in tags.\",\r\n    // Vue-specific parse errors\r\n    [23 /* X_INVALID_END_TAG */]: 'Invalid end tag.',\r\n    [24 /* X_MISSING_END_TAG */]: 'Element is missing end tag.',\r\n    [25 /* X_MISSING_INTERPOLATION_END */]: 'Interpolation end sign was not found.',\r\n    [27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */]: 'End bracket for dynamic directive argument was not found. ' +\r\n        'Note that dynamic directive argument cannot contain spaces.',\r\n    [26 /* X_MISSING_DIRECTIVE_NAME */]: 'Legal directive name was expected.',\r\n    // transform errors\r\n    [28 /* X_V_IF_NO_EXPRESSION */]: `v-if/v-else-if is missing expression.`,\r\n    [29 /* X_V_IF_SAME_KEY */]: `v-if/else branches must use unique keys.`,\r\n    [30 /* X_V_ELSE_NO_ADJACENT_IF */]: `v-else/v-else-if has no adjacent v-if.`,\r\n    [31 /* X_V_FOR_NO_EXPRESSION */]: `v-for is missing expression.`,\r\n    [32 /* X_V_FOR_MALFORMED_EXPRESSION */]: `v-for has invalid expression.`,\r\n    [33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */]: `<template v-for> key should be placed on the <template> tag.`,\r\n    [34 /* X_V_BIND_NO_EXPRESSION */]: `v-bind is missing expression.`,\r\n    [35 /* X_V_ON_NO_EXPRESSION */]: `v-on is missing expression.`,\r\n    [36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */]: `Unexpected custom directive on <slot> outlet.`,\r\n    [37 /* X_V_SLOT_MIXED_SLOT_USAGE */]: `Mixed v-slot usage on both the component and nested <template>.` +\r\n        `When there are multiple named slots, all slots should use <template> ` +\r\n        `syntax to avoid scope ambiguity.`,\r\n    [38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */]: `Duplicate slot names found. `,\r\n    [39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */]: `Extraneous children found when component already has explicitly named ` +\r\n        `default slot. These children will be ignored.`,\r\n    [40 /* X_V_SLOT_MISPLACED */]: `v-slot can only be used on components or <template> tags.`,\r\n    [41 /* X_V_MODEL_NO_EXPRESSION */]: `v-model is missing expression.`,\r\n    [42 /* X_V_MODEL_MALFORMED_EXPRESSION */]: `v-model value must be a valid JavaScript member expression.`,\r\n    [43 /* X_V_MODEL_ON_SCOPE_VARIABLE */]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,\r\n    [44 /* X_INVALID_EXPRESSION */]: `Error parsing JavaScript expression: `,\r\n    [45 /* X_KEEP_ALIVE_INVALID_CHILDREN */]: `<KeepAlive> expects exactly one child component.`,\r\n    // generic errors\r\n    [46 /* X_PREFIX_ID_NOT_SUPPORTED */]: `\"prefixIdentifiers\" option is not supported in this build of compiler.`,\r\n    [47 /* X_MODULE_MODE_NOT_SUPPORTED */]: `ES module mode is not supported in this build of compiler.`,\r\n    [48 /* X_CACHE_HANDLER_NOT_SUPPORTED */]: `\"cacheHandlers\" option is only supported when the \"prefixIdentifiers\" option is enabled.`,\r\n    [49 /* X_SCOPE_ID_NOT_SUPPORTED */]: `\"scopeId\" option is only supported in module mode.`,\r\n    // just to fullfill types\r\n    [50 /* __EXTEND_POINT__ */]: ``\r\n};\n\nconst FRAGMENT = Symbol((process.env.NODE_ENV !== 'production') ? `Fragment` : ``);\r\nconst TELEPORT = Symbol((process.env.NODE_ENV !== 'production') ? `Teleport` : ``);\r\nconst SUSPENSE = Symbol((process.env.NODE_ENV !== 'production') ? `Suspense` : ``);\r\nconst KEEP_ALIVE = Symbol((process.env.NODE_ENV !== 'production') ? `KeepAlive` : ``);\r\nconst BASE_TRANSITION = Symbol((process.env.NODE_ENV !== 'production') ? `BaseTransition` : ``);\r\nconst OPEN_BLOCK = Symbol((process.env.NODE_ENV !== 'production') ? `openBlock` : ``);\r\nconst CREATE_BLOCK = Symbol((process.env.NODE_ENV !== 'production') ? `createBlock` : ``);\r\nconst CREATE_ELEMENT_BLOCK = Symbol((process.env.NODE_ENV !== 'production') ? `createElementBlock` : ``);\r\nconst CREATE_VNODE = Symbol((process.env.NODE_ENV !== 'production') ? `createVNode` : ``);\r\nconst CREATE_ELEMENT_VNODE = Symbol((process.env.NODE_ENV !== 'production') ? `createElementVNode` : ``);\r\nconst CREATE_COMMENT = Symbol((process.env.NODE_ENV !== 'production') ? `createCommentVNode` : ``);\r\nconst CREATE_TEXT = Symbol((process.env.NODE_ENV !== 'production') ? `createTextVNode` : ``);\r\nconst CREATE_STATIC = Symbol((process.env.NODE_ENV !== 'production') ? `createStaticVNode` : ``);\r\nconst RESOLVE_COMPONENT = Symbol((process.env.NODE_ENV !== 'production') ? `resolveComponent` : ``);\r\nconst RESOLVE_DYNAMIC_COMPONENT = Symbol((process.env.NODE_ENV !== 'production') ? `resolveDynamicComponent` : ``);\r\nconst RESOLVE_DIRECTIVE = Symbol((process.env.NODE_ENV !== 'production') ? `resolveDirective` : ``);\r\nconst RESOLVE_FILTER = Symbol((process.env.NODE_ENV !== 'production') ? `resolveFilter` : ``);\r\nconst WITH_DIRECTIVES = Symbol((process.env.NODE_ENV !== 'production') ? `withDirectives` : ``);\r\nconst RENDER_LIST = Symbol((process.env.NODE_ENV !== 'production') ? `renderList` : ``);\r\nconst RENDER_SLOT = Symbol((process.env.NODE_ENV !== 'production') ? `renderSlot` : ``);\r\nconst CREATE_SLOTS = Symbol((process.env.NODE_ENV !== 'production') ? `createSlots` : ``);\r\nconst TO_DISPLAY_STRING = Symbol((process.env.NODE_ENV !== 'production') ? `toDisplayString` : ``);\r\nconst MERGE_PROPS = Symbol((process.env.NODE_ENV !== 'production') ? `mergeProps` : ``);\r\nconst NORMALIZE_CLASS = Symbol((process.env.NODE_ENV !== 'production') ? `normalizeClass` : ``);\r\nconst NORMALIZE_STYLE = Symbol((process.env.NODE_ENV !== 'production') ? `normalizeStyle` : ``);\r\nconst NORMALIZE_PROPS = Symbol((process.env.NODE_ENV !== 'production') ? `normalizeProps` : ``);\r\nconst GUARD_REACTIVE_PROPS = Symbol((process.env.NODE_ENV !== 'production') ? `guardReactiveProps` : ``);\r\nconst TO_HANDLERS = Symbol((process.env.NODE_ENV !== 'production') ? `toHandlers` : ``);\r\nconst CAMELIZE = Symbol((process.env.NODE_ENV !== 'production') ? `camelize` : ``);\r\nconst CAPITALIZE = Symbol((process.env.NODE_ENV !== 'production') ? `capitalize` : ``);\r\nconst TO_HANDLER_KEY = Symbol((process.env.NODE_ENV !== 'production') ? `toHandlerKey` : ``);\r\nconst SET_BLOCK_TRACKING = Symbol((process.env.NODE_ENV !== 'production') ? `setBlockTracking` : ``);\r\nconst PUSH_SCOPE_ID = Symbol((process.env.NODE_ENV !== 'production') ? `pushScopeId` : ``);\r\nconst POP_SCOPE_ID = Symbol((process.env.NODE_ENV !== 'production') ? `popScopeId` : ``);\r\nconst WITH_CTX = Symbol((process.env.NODE_ENV !== 'production') ? `withCtx` : ``);\r\nconst UNREF = Symbol((process.env.NODE_ENV !== 'production') ? `unref` : ``);\r\nconst IS_REF = Symbol((process.env.NODE_ENV !== 'production') ? `isRef` : ``);\r\nconst WITH_MEMO = Symbol((process.env.NODE_ENV !== 'production') ? `withMemo` : ``);\r\nconst IS_MEMO_SAME = Symbol((process.env.NODE_ENV !== 'production') ? `isMemoSame` : ``);\r\n// Name mapping for runtime helpers that need to be imported from 'vue' in\r\n// generated code. Make sure these are correctly exported in the runtime!\r\n// Using `any` here because TS doesn't allow symbols as index type.\r\nconst helperNameMap = {\r\n    [FRAGMENT]: `Fragment`,\r\n    [TELEPORT]: `Teleport`,\r\n    [SUSPENSE]: `Suspense`,\r\n    [KEEP_ALIVE]: `KeepAlive`,\r\n    [BASE_TRANSITION]: `BaseTransition`,\r\n    [OPEN_BLOCK]: `openBlock`,\r\n    [CREATE_BLOCK]: `createBlock`,\r\n    [CREATE_ELEMENT_BLOCK]: `createElementBlock`,\r\n    [CREATE_VNODE]: `createVNode`,\r\n    [CREATE_ELEMENT_VNODE]: `createElementVNode`,\r\n    [CREATE_COMMENT]: `createCommentVNode`,\r\n    [CREATE_TEXT]: `createTextVNode`,\r\n    [CREATE_STATIC]: `createStaticVNode`,\r\n    [RESOLVE_COMPONENT]: `resolveComponent`,\r\n    [RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`,\r\n    [RESOLVE_DIRECTIVE]: `resolveDirective`,\r\n    [RESOLVE_FILTER]: `resolveFilter`,\r\n    [WITH_DIRECTIVES]: `withDirectives`,\r\n    [RENDER_LIST]: `renderList`,\r\n    [RENDER_SLOT]: `renderSlot`,\r\n    [CREATE_SLOTS]: `createSlots`,\r\n    [TO_DISPLAY_STRING]: `toDisplayString`,\r\n    [MERGE_PROPS]: `mergeProps`,\r\n    [NORMALIZE_CLASS]: `normalizeClass`,\r\n    [NORMALIZE_STYLE]: `normalizeStyle`,\r\n    [NORMALIZE_PROPS]: `normalizeProps`,\r\n    [GUARD_REACTIVE_PROPS]: `guardReactiveProps`,\r\n    [TO_HANDLERS]: `toHandlers`,\r\n    [CAMELIZE]: `camelize`,\r\n    [CAPITALIZE]: `capitalize`,\r\n    [TO_HANDLER_KEY]: `toHandlerKey`,\r\n    [SET_BLOCK_TRACKING]: `setBlockTracking`,\r\n    [PUSH_SCOPE_ID]: `pushScopeId`,\r\n    [POP_SCOPE_ID]: `popScopeId`,\r\n    [WITH_CTX]: `withCtx`,\r\n    [UNREF]: `unref`,\r\n    [IS_REF]: `isRef`,\r\n    [WITH_MEMO]: `withMemo`,\r\n    [IS_MEMO_SAME]: `isMemoSame`\r\n};\r\nfunction registerRuntimeHelpers(helpers) {\r\n    Object.getOwnPropertySymbols(helpers).forEach(s => {\r\n        helperNameMap[s] = helpers[s];\r\n    });\r\n}\n\n// AST Utilities ---------------------------------------------------------------\r\n// Some expressions, e.g. sequence and conditional expressions, are never\r\n// associated with template nodes, so their source locations are just a stub.\r\n// Container types like CompoundExpression also don't need a real location.\r\nconst locStub = {\r\n    source: '',\r\n    start: { line: 1, column: 1, offset: 0 },\r\n    end: { line: 1, column: 1, offset: 0 }\r\n};\r\nfunction createRoot(children, loc = locStub) {\r\n    return {\r\n        type: 0 /* ROOT */,\r\n        children,\r\n        helpers: [],\r\n        components: [],\r\n        directives: [],\r\n        hoists: [],\r\n        imports: [],\r\n        cached: 0,\r\n        temps: 0,\r\n        codegenNode: undefined,\r\n        loc\r\n    };\r\n}\r\nfunction createVNodeCall(context, tag, props, children, patchFlag, dynamicProps, directives, isBlock = false, disableTracking = false, isComponent = false, loc = locStub) {\r\n    if (context) {\r\n        if (isBlock) {\r\n            context.helper(OPEN_BLOCK);\r\n            context.helper(getVNodeBlockHelper(context.inSSR, isComponent));\r\n        }\r\n        else {\r\n            context.helper(getVNodeHelper(context.inSSR, isComponent));\r\n        }\r\n        if (directives) {\r\n            context.helper(WITH_DIRECTIVES);\r\n        }\r\n    }\r\n    return {\r\n        type: 13 /* VNODE_CALL */,\r\n        tag,\r\n        props,\r\n        children,\r\n        patchFlag,\r\n        dynamicProps,\r\n        directives,\r\n        isBlock,\r\n        disableTracking,\r\n        isComponent,\r\n        loc\r\n    };\r\n}\r\nfunction createArrayExpression(elements, loc = locStub) {\r\n    return {\r\n        type: 17 /* JS_ARRAY_EXPRESSION */,\r\n        loc,\r\n        elements\r\n    };\r\n}\r\nfunction createObjectExpression(properties, loc = locStub) {\r\n    return {\r\n        type: 15 /* JS_OBJECT_EXPRESSION */,\r\n        loc,\r\n        properties\r\n    };\r\n}\r\nfunction createObjectProperty(key, value) {\r\n    return {\r\n        type: 16 /* JS_PROPERTY */,\r\n        loc: locStub,\r\n        key: isString(key) ? createSimpleExpression(key, true) : key,\r\n        value\r\n    };\r\n}\r\nfunction createSimpleExpression(content, isStatic = false, loc = locStub, constType = 0 /* NOT_CONSTANT */) {\r\n    return {\r\n        type: 4 /* SIMPLE_EXPRESSION */,\r\n        loc,\r\n        content,\r\n        isStatic,\r\n        constType: isStatic ? 3 /* CAN_STRINGIFY */ : constType\r\n    };\r\n}\r\nfunction createInterpolation(content, loc) {\r\n    return {\r\n        type: 5 /* INTERPOLATION */,\r\n        loc,\r\n        content: isString(content)\r\n            ? createSimpleExpression(content, false, loc)\r\n            : content\r\n    };\r\n}\r\nfunction createCompoundExpression(children, loc = locStub) {\r\n    return {\r\n        type: 8 /* COMPOUND_EXPRESSION */,\r\n        loc,\r\n        children\r\n    };\r\n}\r\nfunction createCallExpression(callee, args = [], loc = locStub) {\r\n    return {\r\n        type: 14 /* JS_CALL_EXPRESSION */,\r\n        loc,\r\n        callee,\r\n        arguments: args\r\n    };\r\n}\r\nfunction createFunctionExpression(params, returns = undefined, newline = false, isSlot = false, loc = locStub) {\r\n    return {\r\n        type: 18 /* JS_FUNCTION_EXPRESSION */,\r\n        params,\r\n        returns,\r\n        newline,\r\n        isSlot,\r\n        loc\r\n    };\r\n}\r\nfunction createConditionalExpression(test, consequent, alternate, newline = true) {\r\n    return {\r\n        type: 19 /* JS_CONDITIONAL_EXPRESSION */,\r\n        test,\r\n        consequent,\r\n        alternate,\r\n        newline,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createCacheExpression(index, value, isVNode = false) {\r\n    return {\r\n        type: 20 /* JS_CACHE_EXPRESSION */,\r\n        index,\r\n        value,\r\n        isVNode,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createBlockStatement(body) {\r\n    return {\r\n        type: 21 /* JS_BLOCK_STATEMENT */,\r\n        body,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createTemplateLiteral(elements) {\r\n    return {\r\n        type: 22 /* JS_TEMPLATE_LITERAL */,\r\n        elements,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createIfStatement(test, consequent, alternate) {\r\n    return {\r\n        type: 23 /* JS_IF_STATEMENT */,\r\n        test,\r\n        consequent,\r\n        alternate,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createAssignmentExpression(left, right) {\r\n    return {\r\n        type: 24 /* JS_ASSIGNMENT_EXPRESSION */,\r\n        left,\r\n        right,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createSequenceExpression(expressions) {\r\n    return {\r\n        type: 25 /* JS_SEQUENCE_EXPRESSION */,\r\n        expressions,\r\n        loc: locStub\r\n    };\r\n}\r\nfunction createReturnStatement(returns) {\r\n    return {\r\n        type: 26 /* JS_RETURN_STATEMENT */,\r\n        returns,\r\n        loc: locStub\r\n    };\r\n}\n\nconst isStaticExp = (p) => p.type === 4 /* SIMPLE_EXPRESSION */ && p.isStatic;\r\nconst isBuiltInType = (tag, expected) => tag === expected || tag === hyphenate(expected);\r\nfunction isCoreComponent(tag) {\r\n    if (isBuiltInType(tag, 'Teleport')) {\r\n        return TELEPORT;\r\n    }\r\n    else if (isBuiltInType(tag, 'Suspense')) {\r\n        return SUSPENSE;\r\n    }\r\n    else if (isBuiltInType(tag, 'KeepAlive')) {\r\n        return KEEP_ALIVE;\r\n    }\r\n    else if (isBuiltInType(tag, 'BaseTransition')) {\r\n        return BASE_TRANSITION;\r\n    }\r\n}\r\nconst nonIdentifierRE = /^\\d|[^\\$\\w]/;\r\nconst isSimpleIdentifier = (name) => !nonIdentifierRE.test(name);\r\nconst validFirstIdentCharRE = /[A-Za-z_$\\xA0-\\uFFFF]/;\r\nconst validIdentCharRE = /[\\.\\?\\w$\\xA0-\\uFFFF]/;\r\nconst whitespaceRE = /\\s+[.[]\\s*|\\s*[.[]\\s+/g;\r\n/**\r\n * Simple lexer to check if an expression is a member expression. This is\r\n * lax and only checks validity at the root level (i.e. does not validate exps\r\n * inside square brackets), but it's ok since these are only used on template\r\n * expressions and false positives are invalid expressions in the first place.\r\n */\r\nconst isMemberExpression = (path) => {\r\n    // remove whitespaces around . or [ first\r\n    path = path.trim().replace(whitespaceRE, s => s.trim());\r\n    let state = 0 /* inMemberExp */;\r\n    let stateStack = [];\r\n    let currentOpenBracketCount = 0;\r\n    let currentOpenParensCount = 0;\r\n    let currentStringType = null;\r\n    for (let i = 0; i < path.length; i++) {\r\n        const char = path.charAt(i);\r\n        switch (state) {\r\n            case 0 /* inMemberExp */:\r\n                if (char === '[') {\r\n                    stateStack.push(state);\r\n                    state = 1 /* inBrackets */;\r\n                    currentOpenBracketCount++;\r\n                }\r\n                else if (char === '(') {\r\n                    stateStack.push(state);\r\n                    state = 2 /* inParens */;\r\n                    currentOpenParensCount++;\r\n                }\r\n                else if (!(i === 0 ? validFirstIdentCharRE : validIdentCharRE).test(char)) {\r\n                    return false;\r\n                }\r\n                break;\r\n            case 1 /* inBrackets */:\r\n                if (char === `'` || char === `\"` || char === '`') {\r\n                    stateStack.push(state);\r\n                    state = 3 /* inString */;\r\n                    currentStringType = char;\r\n                }\r\n                else if (char === `[`) {\r\n                    currentOpenBracketCount++;\r\n                }\r\n                else if (char === `]`) {\r\n                    if (!--currentOpenBracketCount) {\r\n                        state = stateStack.pop();\r\n                    }\r\n                }\r\n                break;\r\n            case 2 /* inParens */:\r\n                if (char === `'` || char === `\"` || char === '`') {\r\n                    stateStack.push(state);\r\n                    state = 3 /* inString */;\r\n                    currentStringType = char;\r\n                }\r\n                else if (char === `(`) {\r\n                    currentOpenParensCount++;\r\n                }\r\n                else if (char === `)`) {\r\n                    // if the exp ends as a call then it should not be considered valid\r\n                    if (i === path.length - 1) {\r\n                        return false;\r\n                    }\r\n                    if (!--currentOpenParensCount) {\r\n                        state = stateStack.pop();\r\n                    }\r\n                }\r\n                break;\r\n            case 3 /* inString */:\r\n                if (char === currentStringType) {\r\n                    state = stateStack.pop();\r\n                    currentStringType = null;\r\n                }\r\n                break;\r\n        }\r\n    }\r\n    return !currentOpenBracketCount && !currentOpenParensCount;\r\n};\r\nfunction getInnerRange(loc, offset, length) {\r\n    const source = loc.source.substr(offset, length);\r\n    const newLoc = {\r\n        source,\r\n        start: advancePositionWithClone(loc.start, loc.source, offset),\r\n        end: loc.end\r\n    };\r\n    if (length != null) {\r\n        newLoc.end = advancePositionWithClone(loc.start, loc.source, offset + length);\r\n    }\r\n    return newLoc;\r\n}\r\nfunction advancePositionWithClone(pos, source, numberOfCharacters = source.length) {\r\n    return advancePositionWithMutation(extend({}, pos), source, numberOfCharacters);\r\n}\r\n// advance by mutation without cloning (for performance reasons), since this\r\n// gets called a lot in the parser\r\nfunction advancePositionWithMutation(pos, source, numberOfCharacters = source.length) {\r\n    let linesCount = 0;\r\n    let lastNewLinePos = -1;\r\n    for (let i = 0; i < numberOfCharacters; i++) {\r\n        if (source.charCodeAt(i) === 10 /* newline char code */) {\r\n            linesCount++;\r\n            lastNewLinePos = i;\r\n        }\r\n    }\r\n    pos.offset += numberOfCharacters;\r\n    pos.line += linesCount;\r\n    pos.column =\r\n        lastNewLinePos === -1\r\n            ? pos.column + numberOfCharacters\r\n            : numberOfCharacters - lastNewLinePos;\r\n    return pos;\r\n}\r\nfunction assert(condition, msg) {\r\n    /* istanbul ignore if */\r\n    if (!condition) {\r\n        throw new Error(msg || `unexpected compiler condition`);\r\n    }\r\n}\r\nfunction findDir(node, name, allowEmpty = false) {\r\n    for (let i = 0; i < node.props.length; i++) {\r\n        const p = node.props[i];\r\n        if (p.type === 7 /* DIRECTIVE */ &&\r\n            (allowEmpty || p.exp) &&\r\n            (isString(name) ? p.name === name : name.test(p.name))) {\r\n            return p;\r\n        }\r\n    }\r\n}\r\nfunction findProp(node, name, dynamicOnly = false, allowEmpty = false) {\r\n    for (let i = 0; i < node.props.length; i++) {\r\n        const p = node.props[i];\r\n        if (p.type === 6 /* ATTRIBUTE */) {\r\n            if (dynamicOnly)\r\n                continue;\r\n            if (p.name === name && (p.value || allowEmpty)) {\r\n                return p;\r\n            }\r\n        }\r\n        else if (p.name === 'bind' &&\r\n            (p.exp || allowEmpty) &&\r\n            isBindKey(p.arg, name)) {\r\n            return p;\r\n        }\r\n    }\r\n}\r\nfunction isBindKey(arg, name) {\r\n    return !!(arg && isStaticExp(arg) && arg.content === name);\r\n}\r\nfunction hasDynamicKeyVBind(node) {\r\n    return node.props.some(p => p.type === 7 /* DIRECTIVE */ &&\r\n        p.name === 'bind' &&\r\n        (!p.arg || // v-bind=\"obj\"\r\n            p.arg.type !== 4 /* SIMPLE_EXPRESSION */ || // v-bind:[_ctx.foo]\r\n            !p.arg.isStatic) // v-bind:[foo]\r\n    );\r\n}\r\nfunction isText(node) {\r\n    return node.type === 5 /* INTERPOLATION */ || node.type === 2 /* TEXT */;\r\n}\r\nfunction isVSlot(p) {\r\n    return p.type === 7 /* DIRECTIVE */ && p.name === 'slot';\r\n}\r\nfunction isTemplateNode(node) {\r\n    return (node.type === 1 /* ELEMENT */ && node.tagType === 3 /* TEMPLATE */);\r\n}\r\nfunction isSlotOutlet(node) {\r\n    return node.type === 1 /* ELEMENT */ && node.tagType === 2 /* SLOT */;\r\n}\r\nfunction getVNodeHelper(ssr, isComponent) {\r\n    return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;\r\n}\r\nfunction getVNodeBlockHelper(ssr, isComponent) {\r\n    return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;\r\n}\r\nconst propsHelperSet = new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);\r\nfunction getUnnormalizedProps(props, callPath = []) {\r\n    if (props &&\r\n        !isString(props) &&\r\n        props.type === 14 /* JS_CALL_EXPRESSION */) {\r\n        const callee = props.callee;\r\n        if (!isString(callee) && propsHelperSet.has(callee)) {\r\n            return getUnnormalizedProps(props.arguments[0], callPath.concat(props));\r\n        }\r\n    }\r\n    return [props, callPath];\r\n}\r\nfunction injectProp(node, prop, context) {\r\n    let propsWithInjection;\r\n    const originalProps = node.type === 13 /* VNODE_CALL */ ? node.props : node.arguments[2];\r\n    /**\r\n     * 1. mergeProps(...)\r\n     * 2. toHandlers(...)\r\n     * 3. normalizeProps(...)\r\n     * 4. normalizeProps(guardReactiveProps(...))\r\n     *\r\n     * we need to get the real props before normalization\r\n     */\r\n    let props = originalProps;\r\n    let callPath = [];\r\n    let parentCall;\r\n    if (props &&\r\n        !isString(props) &&\r\n        props.type === 14 /* JS_CALL_EXPRESSION */) {\r\n        const ret = getUnnormalizedProps(props);\r\n        props = ret[0];\r\n        callPath = ret[1];\r\n        parentCall = callPath[callPath.length - 1];\r\n    }\r\n    if (props == null || isString(props)) {\r\n        propsWithInjection = createObjectExpression([prop]);\r\n    }\r\n    else if (props.type === 14 /* JS_CALL_EXPRESSION */) {\r\n        // merged props... add ours\r\n        // only inject key to object literal if it's the first argument so that\r\n        // if doesn't override user provided keys\r\n        const first = props.arguments[0];\r\n        if (!isString(first) && first.type === 15 /* JS_OBJECT_EXPRESSION */) {\r\n            first.properties.unshift(prop);\r\n        }\r\n        else {\r\n            if (props.callee === TO_HANDLERS) {\r\n                // #2366\r\n                propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [\r\n                    createObjectExpression([prop]),\r\n                    props\r\n                ]);\r\n            }\r\n            else {\r\n                props.arguments.unshift(createObjectExpression([prop]));\r\n            }\r\n        }\r\n        !propsWithInjection && (propsWithInjection = props);\r\n    }\r\n    else if (props.type === 15 /* JS_OBJECT_EXPRESSION */) {\r\n        let alreadyExists = false;\r\n        // check existing key to avoid overriding user provided keys\r\n        if (prop.key.type === 4 /* SIMPLE_EXPRESSION */) {\r\n            const propKeyName = prop.key.content;\r\n            alreadyExists = props.properties.some(p => p.key.type === 4 /* SIMPLE_EXPRESSION */ &&\r\n                p.key.content === propKeyName);\r\n        }\r\n        if (!alreadyExists) {\r\n            props.properties.unshift(prop);\r\n        }\r\n        propsWithInjection = props;\r\n    }\r\n    else {\r\n        // single v-bind with expression, return a merged replacement\r\n        propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [\r\n            createObjectExpression([prop]),\r\n            props\r\n        ]);\r\n        // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(props))`,\r\n        // it will be rewritten as `normalizeProps(mergeProps({ key: 0 }, props))`,\r\n        // the `guardReactiveProps` will no longer be needed\r\n        if (parentCall && parentCall.callee === GUARD_REACTIVE_PROPS) {\r\n            parentCall = callPath[callPath.length - 2];\r\n        }\r\n    }\r\n    if (node.type === 13 /* VNODE_CALL */) {\r\n        if (parentCall) {\r\n            parentCall.arguments[0] = propsWithInjection;\r\n        }\r\n        else {\r\n            node.props = propsWithInjection;\r\n        }\r\n    }\r\n    else {\r\n        if (parentCall) {\r\n            parentCall.arguments[0] = propsWithInjection;\r\n        }\r\n        else {\r\n            node.arguments[2] = propsWithInjection;\r\n        }\r\n    }\r\n}\r\nfunction toValidAssetId(name, type) {\r\n    // see issue#4422, we need adding identifier on validAssetId if variable `name` has specific character\r\n    return `_${type}_${name.replace(/[^\\w]/g, (searchValue, replaceValue) => {\r\n        return searchValue === '-' ? '_' : name.charCodeAt(replaceValue).toString();\r\n    })}`;\r\n}\r\n// Check if a node contains expressions that reference current context scope ids\r\nfunction hasScopeRef(node, ids) {\r\n    if (!node || Object.keys(ids).length === 0) {\r\n        return false;\r\n    }\r\n    switch (node.type) {\r\n        case 1 /* ELEMENT */:\r\n            for (let i = 0; i < node.props.length; i++) {\r\n                const p = node.props[i];\r\n                if (p.type === 7 /* DIRECTIVE */ &&\r\n                    (hasScopeRef(p.arg, ids) || hasScopeRef(p.exp, ids))) {\r\n                    return true;\r\n                }\r\n            }\r\n            return node.children.some(c => hasScopeRef(c, ids));\r\n        case 11 /* FOR */:\r\n            if (hasScopeRef(node.source, ids)) {\r\n                return true;\r\n            }\r\n            return node.children.some(c => hasScopeRef(c, ids));\r\n        case 9 /* IF */:\r\n            return node.branches.some(b => hasScopeRef(b, ids));\r\n        case 10 /* IF_BRANCH */:\r\n            if (hasScopeRef(node.condition, ids)) {\r\n                return true;\r\n            }\r\n            return node.children.some(c => hasScopeRef(c, ids));\r\n        case 4 /* SIMPLE_EXPRESSION */:\r\n            return (!node.isStatic &&\r\n                isSimpleIdentifier(node.content) &&\r\n                !!ids[node.content]);\r\n        case 8 /* COMPOUND_EXPRESSION */:\r\n            return node.children.some(c => isObject(c) && hasScopeRef(c, ids));\r\n        case 5 /* INTERPOLATION */:\r\n        case 12 /* TEXT_CALL */:\r\n            return hasScopeRef(node.content, ids);\r\n        case 2 /* TEXT */:\r\n        case 3 /* COMMENT */:\r\n            return false;\r\n        default:\r\n            if ((process.env.NODE_ENV !== 'production')) ;\r\n            return false;\r\n    }\r\n}\r\nfunction getMemoedVNodeCall(node) {\r\n    if (node.type === 14 /* JS_CALL_EXPRESSION */ && node.callee === WITH_MEMO) {\r\n        return node.arguments[1].returns;\r\n    }\r\n    else {\r\n        return node;\r\n    }\r\n}\r\nfunction makeBlock(node, { helper, removeHelper, inSSR }) {\r\n    if (!node.isBlock) {\r\n        node.isBlock = true;\r\n        removeHelper(getVNodeHelper(inSSR, node.isComponent));\r\n        helper(OPEN_BLOCK);\r\n        helper(getVNodeBlockHelper(inSSR, node.isComponent));\r\n    }\r\n}\n\nconst deprecationData = {\r\n    [\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */]: {\r\n        message: `Platform-native elements with \"is\" prop will no longer be ` +\r\n            `treated as components in Vue 3 unless the \"is\" value is explicitly ` +\r\n            `prefixed with \"vue:\".`,\r\n        link: `https://v3.vuejs.org/guide/migration/custom-elements-interop.html`\r\n    },\r\n    [\"COMPILER_V_BIND_SYNC\" /* COMPILER_V_BIND_SYNC */]: {\r\n        message: key => `.sync modifier for v-bind has been removed. Use v-model with ` +\r\n            `argument instead. \\`v-bind:${key}.sync\\` should be changed to ` +\r\n            `\\`v-model:${key}\\`.`,\r\n        link: `https://v3.vuejs.org/guide/migration/v-model.html`\r\n    },\r\n    [\"COMPILER_V_BIND_PROP\" /* COMPILER_V_BIND_PROP */]: {\r\n        message: `.prop modifier for v-bind has been removed and no longer necessary. ` +\r\n            `Vue 3 will automatically set a binding as DOM property when appropriate.`\r\n    },\r\n    [\"COMPILER_V_BIND_OBJECT_ORDER\" /* COMPILER_V_BIND_OBJECT_ORDER */]: {\r\n        message: `v-bind=\"obj\" usage is now order sensitive and behaves like JavaScript ` +\r\n            `object spread: it will now overwrite an existing non-mergeable attribute ` +\r\n            `that appears before v-bind in the case of conflict. ` +\r\n            `To retain 2.x behavior, move v-bind to make it the first attribute. ` +\r\n            `You can also suppress this warning if the usage is intended.`,\r\n        link: `https://v3.vuejs.org/guide/migration/v-bind.html`\r\n    },\r\n    [\"COMPILER_V_ON_NATIVE\" /* COMPILER_V_ON_NATIVE */]: {\r\n        message: `.native modifier for v-on has been removed as is no longer necessary.`,\r\n        link: `https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html`\r\n    },\r\n    [\"COMPILER_V_IF_V_FOR_PRECEDENCE\" /* COMPILER_V_IF_V_FOR_PRECEDENCE */]: {\r\n        message: `v-if / v-for precedence when used on the same element has changed ` +\r\n            `in Vue 3: v-if now takes higher precedence and will no longer have ` +\r\n            `access to v-for scope variables. It is best to avoid the ambiguity ` +\r\n            `with <template> tags or use a computed property that filters v-for ` +\r\n            `data source.`,\r\n        link: `https://v3.vuejs.org/guide/migration/v-if-v-for.html`\r\n    },\r\n    [\"COMPILER_V_FOR_REF\" /* COMPILER_V_FOR_REF */]: {\r\n        message: `Ref usage on v-for no longer creates array ref values in Vue 3. ` +\r\n            `Consider using function refs or refactor to avoid ref usage altogether.`,\r\n        link: `https://v3.vuejs.org/guide/migration/array-refs.html`\r\n    },\r\n    [\"COMPILER_NATIVE_TEMPLATE\" /* COMPILER_NATIVE_TEMPLATE */]: {\r\n        message: `<template> with no special directives will render as a native template ` +\r\n            `element instead of its inner content in Vue 3.`\r\n    },\r\n    [\"COMPILER_INLINE_TEMPLATE\" /* COMPILER_INLINE_TEMPLATE */]: {\r\n        message: `\"inline-template\" has been removed in Vue 3.`,\r\n        link: `https://v3.vuejs.org/guide/migration/inline-template-attribute.html`\r\n    },\r\n    [\"COMPILER_FILTER\" /* COMPILER_FILTERS */]: {\r\n        message: `filters have been removed in Vue 3. ` +\r\n            `The \"|\" symbol will be treated as native JavaScript bitwise OR operator. ` +\r\n            `Use method calls or computed properties instead.`,\r\n        link: `https://v3.vuejs.org/guide/migration/filters.html`\r\n    }\r\n};\r\nfunction getCompatValue(key, context) {\r\n    const config = context.options\r\n        ? context.options.compatConfig\r\n        : context.compatConfig;\r\n    const value = config && config[key];\r\n    if (key === 'MODE') {\r\n        return value || 3; // compiler defaults to v3 behavior\r\n    }\r\n    else {\r\n        return value;\r\n    }\r\n}\r\nfunction isCompatEnabled(key, context) {\r\n    const mode = getCompatValue('MODE', context);\r\n    const value = getCompatValue(key, context);\r\n    // in v3 mode, only enable if explicitly set to true\r\n    // otherwise enable for any non-false value\r\n    return mode === 3 ? value === true : value !== false;\r\n}\r\nfunction checkCompatEnabled(key, context, loc, ...args) {\r\n    const enabled = isCompatEnabled(key, context);\r\n    if ((process.env.NODE_ENV !== 'production') && enabled) {\r\n        warnDeprecation(key, context, loc, ...args);\r\n    }\r\n    return enabled;\r\n}\r\nfunction warnDeprecation(key, context, loc, ...args) {\r\n    const val = getCompatValue(key, context);\r\n    if (val === 'suppress-warning') {\r\n        return;\r\n    }\r\n    const { message, link } = deprecationData[key];\r\n    const msg = `(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\\n  Details: ${link}` : ``}`;\r\n    const err = new SyntaxError(msg);\r\n    err.code = key;\r\n    if (loc)\r\n        err.loc = loc;\r\n    context.onWarn(err);\r\n}\n\n// The default decoder only provides escapes for characters reserved as part of\r\n// the template syntax, and is only used if the custom renderer did not provide\r\n// a platform-specific decoder.\r\nconst decodeRE = /&(gt|lt|amp|apos|quot);/g;\r\nconst decodeMap = {\r\n    gt: '>',\r\n    lt: '<',\r\n    amp: '&',\r\n    apos: \"'\",\r\n    quot: '\"'\r\n};\r\nconst defaultParserOptions = {\r\n    delimiters: [`{{`, `}}`],\r\n    getNamespace: () => 0 /* HTML */,\r\n    getTextMode: () => 0 /* DATA */,\r\n    isVoidTag: NO,\r\n    isPreTag: NO,\r\n    isCustomElement: NO,\r\n    decodeEntities: (rawText) => rawText.replace(decodeRE, (_, p1) => decodeMap[p1]),\r\n    onError: defaultOnError,\r\n    onWarn: defaultOnWarn,\r\n    comments: (process.env.NODE_ENV !== 'production')\r\n};\r\nfunction baseParse(content, options = {}) {\r\n    const context = createParserContext(content, options);\r\n    const start = getCursor(context);\r\n    return createRoot(parseChildren(context, 0 /* DATA */, []), getSelection(context, start));\r\n}\r\nfunction createParserContext(content, rawOptions) {\r\n    const options = extend({}, defaultParserOptions);\r\n    let key;\r\n    for (key in rawOptions) {\r\n        // @ts-ignore\r\n        options[key] =\r\n            rawOptions[key] === undefined\r\n                ? defaultParserOptions[key]\r\n                : rawOptions[key];\r\n    }\r\n    return {\r\n        options,\r\n        column: 1,\r\n        line: 1,\r\n        offset: 0,\r\n        originalSource: content,\r\n        source: content,\r\n        inPre: false,\r\n        inVPre: false,\r\n        onWarn: options.onWarn\r\n    };\r\n}\r\nfunction parseChildren(context, mode, ancestors) {\r\n    const parent = last(ancestors);\r\n    const ns = parent ? parent.ns : 0 /* HTML */;\r\n    const nodes = [];\r\n    while (!isEnd(context, mode, ancestors)) {\r\n        const s = context.source;\r\n        let node = undefined;\r\n        if (mode === 0 /* DATA */ || mode === 1 /* RCDATA */) {\r\n            if (!context.inVPre && startsWith(s, context.options.delimiters[0])) {\r\n                // '{{'\r\n                node = parseInterpolation(context, mode);\r\n            }\r\n            else if (mode === 0 /* DATA */ && s[0] === '<') {\r\n                // https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state\r\n                if (s.length === 1) {\r\n                    emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 1);\r\n                }\r\n                else if (s[1] === '!') {\r\n                    // https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state\r\n                    if (startsWith(s, '<!--')) {\r\n                        node = parseComment(context);\r\n                    }\r\n                    else if (startsWith(s, '<!DOCTYPE')) {\r\n                        // Ignore DOCTYPE by a limitation.\r\n                        node = parseBogusComment(context);\r\n                    }\r\n                    else if (startsWith(s, '<![CDATA[')) {\r\n                        if (ns !== 0 /* HTML */) {\r\n                            node = parseCDATA(context, ancestors);\r\n                        }\r\n                        else {\r\n                            emitError(context, 1 /* CDATA_IN_HTML_CONTENT */);\r\n                            node = parseBogusComment(context);\r\n                        }\r\n                    }\r\n                    else {\r\n                        emitError(context, 11 /* INCORRECTLY_OPENED_COMMENT */);\r\n                        node = parseBogusComment(context);\r\n                    }\r\n                }\r\n                else if (s[1] === '/') {\r\n                    // https://html.spec.whatwg.org/multipage/parsing.html#end-tag-open-state\r\n                    if (s.length === 2) {\r\n                        emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 2);\r\n                    }\r\n                    else if (s[2] === '>') {\r\n                        emitError(context, 14 /* MISSING_END_TAG_NAME */, 2);\r\n                        advanceBy(context, 3);\r\n                        continue;\r\n                    }\r\n                    else if (/[a-z]/i.test(s[2])) {\r\n                        emitError(context, 23 /* X_INVALID_END_TAG */);\r\n                        parseTag(context, 1 /* End */, parent);\r\n                        continue;\r\n                    }\r\n                    else {\r\n                        emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 2);\r\n                        node = parseBogusComment(context);\r\n                    }\r\n                }\r\n                else if (/[a-z]/i.test(s[1])) {\r\n                    node = parseElement(context, ancestors);\r\n                    // 2.x <template> with no directive compat\r\n                    if (isCompatEnabled(\"COMPILER_NATIVE_TEMPLATE\" /* COMPILER_NATIVE_TEMPLATE */, context) &&\r\n                        node &&\r\n                        node.tag === 'template' &&\r\n                        !node.props.some(p => p.type === 7 /* DIRECTIVE */ &&\r\n                            isSpecialTemplateDirective(p.name))) {\r\n                        (process.env.NODE_ENV !== 'production') &&\r\n                            warnDeprecation(\"COMPILER_NATIVE_TEMPLATE\" /* COMPILER_NATIVE_TEMPLATE */, context, node.loc);\r\n                        node = node.children;\r\n                    }\r\n                }\r\n                else if (s[1] === '?') {\r\n                    emitError(context, 21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */, 1);\r\n                    node = parseBogusComment(context);\r\n                }\r\n                else {\r\n                    emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 1);\r\n                }\r\n            }\r\n        }\r\n        if (!node) {\r\n            node = parseText(context, mode);\r\n        }\r\n        if (isArray(node)) {\r\n            for (let i = 0; i < node.length; i++) {\r\n                pushNode(nodes, node[i]);\r\n            }\r\n        }\r\n        else {\r\n            pushNode(nodes, node);\r\n        }\r\n    }\r\n    // Whitespace handling strategy like v2\r\n    let removedWhitespace = false;\r\n    if (mode !== 2 /* RAWTEXT */ && mode !== 1 /* RCDATA */) {\r\n        const shouldCondense = context.options.whitespace !== 'preserve';\r\n        for (let i = 0; i < nodes.length; i++) {\r\n            const node = nodes[i];\r\n            if (!context.inPre && node.type === 2 /* TEXT */) {\r\n                if (!/[^\\t\\r\\n\\f ]/.test(node.content)) {\r\n                    const prev = nodes[i - 1];\r\n                    const next = nodes[i + 1];\r\n                    // Remove if:\r\n                    // - the whitespace is the first or last node, or:\r\n                    // - (condense mode) the whitespace is adjacent to a comment, or:\r\n                    // - (condense mode) the whitespace is between two elements AND contains newline\r\n                    if (!prev ||\r\n                        !next ||\r\n                        (shouldCondense &&\r\n                            (prev.type === 3 /* COMMENT */ ||\r\n                                next.type === 3 /* COMMENT */ ||\r\n                                (prev.type === 1 /* ELEMENT */ &&\r\n                                    next.type === 1 /* ELEMENT */ &&\r\n                                    /[\\r\\n]/.test(node.content))))) {\r\n                        removedWhitespace = true;\r\n                        nodes[i] = null;\r\n                    }\r\n                    else {\r\n                        // Otherwise, the whitespace is condensed into a single space\r\n                        node.content = ' ';\r\n                    }\r\n                }\r\n                else if (shouldCondense) {\r\n                    // in condense mode, consecutive whitespaces in text are condensed\r\n                    // down to a single space.\r\n                    node.content = node.content.replace(/[\\t\\r\\n\\f ]+/g, ' ');\r\n                }\r\n            }\r\n            // Remove comment nodes if desired by configuration.\r\n            else if (node.type === 3 /* COMMENT */ && !context.options.comments) {\r\n                removedWhitespace = true;\r\n                nodes[i] = null;\r\n            }\r\n        }\r\n        if (context.inPre && parent && context.options.isPreTag(parent.tag)) {\r\n            // remove leading newline per html spec\r\n            // https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element\r\n            const first = nodes[0];\r\n            if (first && first.type === 2 /* TEXT */) {\r\n                first.content = first.content.replace(/^\\r?\\n/, '');\r\n            }\r\n        }\r\n    }\r\n    return removedWhitespace ? nodes.filter(Boolean) : nodes;\r\n}\r\nfunction pushNode(nodes, node) {\r\n    if (node.type === 2 /* TEXT */) {\r\n        const prev = last(nodes);\r\n        // Merge if both this and the previous node are text and those are\r\n        // consecutive. This happens for cases like \"a < b\".\r\n        if (prev &&\r\n            prev.type === 2 /* TEXT */ &&\r\n            prev.loc.end.offset === node.loc.start.offset) {\r\n            prev.content += node.content;\r\n            prev.loc.end = node.loc.end;\r\n            prev.loc.source += node.loc.source;\r\n            return;\r\n        }\r\n    }\r\n    nodes.push(node);\r\n}\r\nfunction parseCDATA(context, ancestors) {\r\n    advanceBy(context, 9);\r\n    const nodes = parseChildren(context, 3 /* CDATA */, ancestors);\r\n    if (context.source.length === 0) {\r\n        emitError(context, 6 /* EOF_IN_CDATA */);\r\n    }\r\n    else {\r\n        advanceBy(context, 3);\r\n    }\r\n    return nodes;\r\n}\r\nfunction parseComment(context) {\r\n    const start = getCursor(context);\r\n    let content;\r\n    // Regular comment.\r\n    const match = /--(\\!)?>/.exec(context.source);\r\n    if (!match) {\r\n        content = context.source.slice(4);\r\n        advanceBy(context, context.source.length);\r\n        emitError(context, 7 /* EOF_IN_COMMENT */);\r\n    }\r\n    else {\r\n        if (match.index <= 3) {\r\n            emitError(context, 0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */);\r\n        }\r\n        if (match[1]) {\r\n            emitError(context, 10 /* INCORRECTLY_CLOSED_COMMENT */);\r\n        }\r\n        content = context.source.slice(4, match.index);\r\n        // Advancing with reporting nested comments.\r\n        const s = context.source.slice(0, match.index);\r\n        let prevIndex = 1, nestedIndex = 0;\r\n        while ((nestedIndex = s.indexOf('<!--', prevIndex)) !== -1) {\r\n            advanceBy(context, nestedIndex - prevIndex + 1);\r\n            if (nestedIndex + 4 < s.length) {\r\n                emitError(context, 16 /* NESTED_COMMENT */);\r\n            }\r\n            prevIndex = nestedIndex + 1;\r\n        }\r\n        advanceBy(context, match.index + match[0].length - prevIndex + 1);\r\n    }\r\n    return {\r\n        type: 3 /* COMMENT */,\r\n        content,\r\n        loc: getSelection(context, start)\r\n    };\r\n}\r\nfunction parseBogusComment(context) {\r\n    const start = getCursor(context);\r\n    const contentStart = context.source[1] === '?' ? 1 : 2;\r\n    let content;\r\n    const closeIndex = context.source.indexOf('>');\r\n    if (closeIndex === -1) {\r\n        content = context.source.slice(contentStart);\r\n        advanceBy(context, context.source.length);\r\n    }\r\n    else {\r\n        content = context.source.slice(contentStart, closeIndex);\r\n        advanceBy(context, closeIndex + 1);\r\n    }\r\n    return {\r\n        type: 3 /* COMMENT */,\r\n        content,\r\n        loc: getSelection(context, start)\r\n    };\r\n}\r\nfunction parseElement(context, ancestors) {\r\n    // Start tag.\r\n    const wasInPre = context.inPre;\r\n    const wasInVPre = context.inVPre;\r\n    const parent = last(ancestors);\r\n    const element = parseTag(context, 0 /* Start */, parent);\r\n    const isPreBoundary = context.inPre && !wasInPre;\r\n    const isVPreBoundary = context.inVPre && !wasInVPre;\r\n    if (element.isSelfClosing || context.options.isVoidTag(element.tag)) {\r\n        // #4030 self-closing <pre> tag\r\n        if (isPreBoundary) {\r\n            context.inPre = false;\r\n        }\r\n        if (isVPreBoundary) {\r\n            context.inVPre = false;\r\n        }\r\n        return element;\r\n    }\r\n    // Children.\r\n    ancestors.push(element);\r\n    const mode = context.options.getTextMode(element, parent);\r\n    const children = parseChildren(context, mode, ancestors);\r\n    ancestors.pop();\r\n    // 2.x inline-template compat\r\n    {\r\n        const inlineTemplateProp = element.props.find(p => p.type === 6 /* ATTRIBUTE */ && p.name === 'inline-template');\r\n        if (inlineTemplateProp &&\r\n            checkCompatEnabled(\"COMPILER_INLINE_TEMPLATE\" /* COMPILER_INLINE_TEMPLATE */, context, inlineTemplateProp.loc)) {\r\n            const loc = getSelection(context, element.loc.end);\r\n            inlineTemplateProp.value = {\r\n                type: 2 /* TEXT */,\r\n                content: loc.source,\r\n                loc\r\n            };\r\n        }\r\n    }\r\n    element.children = children;\r\n    // End tag.\r\n    if (startsWithEndTagOpen(context.source, element.tag)) {\r\n        parseTag(context, 1 /* End */, parent);\r\n    }\r\n    else {\r\n        emitError(context, 24 /* X_MISSING_END_TAG */, 0, element.loc.start);\r\n        if (context.source.length === 0 && element.tag.toLowerCase() === 'script') {\r\n            const first = children[0];\r\n            if (first && startsWith(first.loc.source, '<!--')) {\r\n                emitError(context, 8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */);\r\n            }\r\n        }\r\n    }\r\n    element.loc = getSelection(context, element.loc.start);\r\n    if (isPreBoundary) {\r\n        context.inPre = false;\r\n    }\r\n    if (isVPreBoundary) {\r\n        context.inVPre = false;\r\n    }\r\n    return element;\r\n}\r\nconst isSpecialTemplateDirective = /*#__PURE__*/ makeMap(`if,else,else-if,for,slot`);\r\nfunction parseTag(context, type, parent) {\r\n    // Tag open.\r\n    const start = getCursor(context);\r\n    const match = /^<\\/?([a-z][^\\t\\r\\n\\f />]*)/i.exec(context.source);\r\n    const tag = match[1];\r\n    const ns = context.options.getNamespace(tag, parent);\r\n    advanceBy(context, match[0].length);\r\n    advanceSpaces(context);\r\n    // save current state in case we need to re-parse attributes with v-pre\r\n    const cursor = getCursor(context);\r\n    const currentSource = context.source;\r\n    // check <pre> tag\r\n    if (context.options.isPreTag(tag)) {\r\n        context.inPre = true;\r\n    }\r\n    // Attributes.\r\n    let props = parseAttributes(context, type);\r\n    // check v-pre\r\n    if (type === 0 /* Start */ &&\r\n        !context.inVPre &&\r\n        props.some(p => p.type === 7 /* DIRECTIVE */ && p.name === 'pre')) {\r\n        context.inVPre = true;\r\n        // reset context\r\n        extend(context, cursor);\r\n        context.source = currentSource;\r\n        // re-parse attrs and filter out v-pre itself\r\n        props = parseAttributes(context, type).filter(p => p.name !== 'v-pre');\r\n    }\r\n    // Tag close.\r\n    let isSelfClosing = false;\r\n    if (context.source.length === 0) {\r\n        emitError(context, 9 /* EOF_IN_TAG */);\r\n    }\r\n    else {\r\n        isSelfClosing = startsWith(context.source, '/>');\r\n        if (type === 1 /* End */ && isSelfClosing) {\r\n            emitError(context, 4 /* END_TAG_WITH_TRAILING_SOLIDUS */);\r\n        }\r\n        advanceBy(context, isSelfClosing ? 2 : 1);\r\n    }\r\n    if (type === 1 /* End */) {\r\n        return;\r\n    }\r\n    // 2.x deprecation checks\r\n    if ((process.env.NODE_ENV !== 'production') &&\r\n        isCompatEnabled(\"COMPILER_V_IF_V_FOR_PRECEDENCE\" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context)) {\r\n        let hasIf = false;\r\n        let hasFor = false;\r\n        for (let i = 0; i < props.length; i++) {\r\n            const p = props[i];\r\n            if (p.type === 7 /* DIRECTIVE */) {\r\n                if (p.name === 'if') {\r\n                    hasIf = true;\r\n                }\r\n                else if (p.name === 'for') {\r\n                    hasFor = true;\r\n                }\r\n            }\r\n            if (hasIf && hasFor) {\r\n                warnDeprecation(\"COMPILER_V_IF_V_FOR_PRECEDENCE\" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context, getSelection(context, start));\r\n            }\r\n        }\r\n    }\r\n    let tagType = 0 /* ELEMENT */;\r\n    if (!context.inVPre) {\r\n        if (tag === 'slot') {\r\n            tagType = 2 /* SLOT */;\r\n        }\r\n        else if (tag === 'template') {\r\n            if (props.some(p => p.type === 7 /* DIRECTIVE */ && isSpecialTemplateDirective(p.name))) {\r\n                tagType = 3 /* TEMPLATE */;\r\n            }\r\n        }\r\n        else if (isComponent(tag, props, context)) {\r\n            tagType = 1 /* COMPONENT */;\r\n        }\r\n    }\r\n    return {\r\n        type: 1 /* ELEMENT */,\r\n        ns,\r\n        tag,\r\n        tagType,\r\n        props,\r\n        isSelfClosing,\r\n        children: [],\r\n        loc: getSelection(context, start),\r\n        codegenNode: undefined // to be created during transform phase\r\n    };\r\n}\r\nfunction isComponent(tag, props, context) {\r\n    const options = context.options;\r\n    if (options.isCustomElement(tag)) {\r\n        return false;\r\n    }\r\n    if (tag === 'component' ||\r\n        /^[A-Z]/.test(tag) ||\r\n        isCoreComponent(tag) ||\r\n        (options.isBuiltInComponent && options.isBuiltInComponent(tag)) ||\r\n        (options.isNativeTag && !options.isNativeTag(tag))) {\r\n        return true;\r\n    }\r\n    // at this point the tag should be a native tag, but check for potential \"is\"\r\n    // casting\r\n    for (let i = 0; i < props.length; i++) {\r\n        const p = props[i];\r\n        if (p.type === 6 /* ATTRIBUTE */) {\r\n            if (p.name === 'is' && p.value) {\r\n                if (p.value.content.startsWith('vue:')) {\r\n                    return true;\r\n                }\r\n                else if (checkCompatEnabled(\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {\r\n                    return true;\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            // directive\r\n            // v-is (TODO Deprecate)\r\n            if (p.name === 'is') {\r\n                return true;\r\n            }\r\n            else if (\r\n            // :is on plain element - only treat as component in compat mode\r\n            p.name === 'bind' &&\r\n                isBindKey(p.arg, 'is') &&\r\n                true &&\r\n                checkCompatEnabled(\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {\r\n                return true;\r\n            }\r\n        }\r\n    }\r\n}\r\nfunction parseAttributes(context, type) {\r\n    const props = [];\r\n    const attributeNames = new Set();\r\n    while (context.source.length > 0 &&\r\n        !startsWith(context.source, '>') &&\r\n        !startsWith(context.source, '/>')) {\r\n        if (startsWith(context.source, '/')) {\r\n            emitError(context, 22 /* UNEXPECTED_SOLIDUS_IN_TAG */);\r\n            advanceBy(context, 1);\r\n            advanceSpaces(context);\r\n            continue;\r\n        }\r\n        if (type === 1 /* End */) {\r\n            emitError(context, 3 /* END_TAG_WITH_ATTRIBUTES */);\r\n        }\r\n        const attr = parseAttribute(context, attributeNames);\r\n        if (type === 0 /* Start */) {\r\n            props.push(attr);\r\n        }\r\n        if (/^[^\\t\\r\\n\\f />]/.test(context.source)) {\r\n            emitError(context, 15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */);\r\n        }\r\n        advanceSpaces(context);\r\n    }\r\n    return props;\r\n}\r\nfunction parseAttribute(context, nameSet) {\r\n    // Name.\r\n    const start = getCursor(context);\r\n    const match = /^[^\\t\\r\\n\\f />][^\\t\\r\\n\\f />=]*/.exec(context.source);\r\n    const name = match[0];\r\n    if (nameSet.has(name)) {\r\n        emitError(context, 2 /* DUPLICATE_ATTRIBUTE */);\r\n    }\r\n    nameSet.add(name);\r\n    if (name[0] === '=') {\r\n        emitError(context, 19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */);\r\n    }\r\n    {\r\n        const pattern = /[\"'<]/g;\r\n        let m;\r\n        while ((m = pattern.exec(name))) {\r\n            emitError(context, 17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */, m.index);\r\n        }\r\n    }\r\n    advanceBy(context, name.length);\r\n    // Value\r\n    let value = undefined;\r\n    if (/^[\\t\\r\\n\\f ]*=/.test(context.source)) {\r\n        advanceSpaces(context);\r\n        advanceBy(context, 1);\r\n        advanceSpaces(context);\r\n        value = parseAttributeValue(context);\r\n        if (!value) {\r\n            emitError(context, 13 /* MISSING_ATTRIBUTE_VALUE */);\r\n        }\r\n    }\r\n    const loc = getSelection(context, start);\r\n    if (!context.inVPre && /^(v-[A-Za-z0-9-]|:|\\.|@|#)/.test(name)) {\r\n        const match = /(?:^v-([a-z0-9-]+))?(?:(?::|^\\.|^@|^#)(\\[[^\\]]+\\]|[^\\.]+))?(.+)?$/i.exec(name);\r\n        let isPropShorthand = startsWith(name, '.');\r\n        let dirName = match[1] ||\r\n            (isPropShorthand || startsWith(name, ':')\r\n                ? 'bind'\r\n                : startsWith(name, '@')\r\n                    ? 'on'\r\n                    : 'slot');\r\n        let arg;\r\n        if (match[2]) {\r\n            const isSlot = dirName === 'slot';\r\n            const startOffset = name.lastIndexOf(match[2]);\r\n            const loc = getSelection(context, getNewPosition(context, start, startOffset), getNewPosition(context, start, startOffset + match[2].length + ((isSlot && match[3]) || '').length));\r\n            let content = match[2];\r\n            let isStatic = true;\r\n            if (content.startsWith('[')) {\r\n                isStatic = false;\r\n                if (!content.endsWith(']')) {\r\n                    emitError(context, 27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */);\r\n                }\r\n                content = content.substr(1, content.length - 2);\r\n            }\r\n            else if (isSlot) {\r\n                // #1241 special case for v-slot: vuetify relies extensively on slot\r\n                // names containing dots. v-slot doesn't have any modifiers and Vue 2.x\r\n                // supports such usage so we are keeping it consistent with 2.x.\r\n                content += match[3] || '';\r\n            }\r\n            arg = {\r\n                type: 4 /* SIMPLE_EXPRESSION */,\r\n                content,\r\n                isStatic,\r\n                constType: isStatic\r\n                    ? 3 /* CAN_STRINGIFY */\r\n                    : 0 /* NOT_CONSTANT */,\r\n                loc\r\n            };\r\n        }\r\n        if (value && value.isQuoted) {\r\n            const valueLoc = value.loc;\r\n            valueLoc.start.offset++;\r\n            valueLoc.start.column++;\r\n            valueLoc.end = advancePositionWithClone(valueLoc.start, value.content);\r\n            valueLoc.source = valueLoc.source.slice(1, -1);\r\n        }\r\n        const modifiers = match[3] ? match[3].substr(1).split('.') : [];\r\n        if (isPropShorthand)\r\n            modifiers.push('prop');\r\n        // 2.x compat v-bind:foo.sync -> v-model:foo\r\n        if (dirName === 'bind' && arg) {\r\n            if (modifiers.includes('sync') &&\r\n                checkCompatEnabled(\"COMPILER_V_BIND_SYNC\" /* COMPILER_V_BIND_SYNC */, context, loc, arg.loc.source)) {\r\n                dirName = 'model';\r\n                modifiers.splice(modifiers.indexOf('sync'), 1);\r\n            }\r\n            if ((process.env.NODE_ENV !== 'production') && modifiers.includes('prop')) {\r\n                checkCompatEnabled(\"COMPILER_V_BIND_PROP\" /* COMPILER_V_BIND_PROP */, context, loc);\r\n            }\r\n        }\r\n        return {\r\n            type: 7 /* DIRECTIVE */,\r\n            name: dirName,\r\n            exp: value && {\r\n                type: 4 /* SIMPLE_EXPRESSION */,\r\n                content: value.content,\r\n                isStatic: false,\r\n                // Treat as non-constant by default. This can be potentially set to\r\n                // other values by `transformExpression` to make it eligible for hoisting.\r\n                constType: 0 /* NOT_CONSTANT */,\r\n                loc: value.loc\r\n            },\r\n            arg,\r\n            modifiers,\r\n            loc\r\n        };\r\n    }\r\n    // missing directive name or illegal directive name\r\n    if (!context.inVPre && startsWith(name, 'v-')) {\r\n        emitError(context, 26 /* X_MISSING_DIRECTIVE_NAME */);\r\n    }\r\n    return {\r\n        type: 6 /* ATTRIBUTE */,\r\n        name,\r\n        value: value && {\r\n            type: 2 /* TEXT */,\r\n            content: value.content,\r\n            loc: value.loc\r\n        },\r\n        loc\r\n    };\r\n}\r\nfunction parseAttributeValue(context) {\r\n    const start = getCursor(context);\r\n    let content;\r\n    const quote = context.source[0];\r\n    const isQuoted = quote === `\"` || quote === `'`;\r\n    if (isQuoted) {\r\n        // Quoted value.\r\n        advanceBy(context, 1);\r\n        const endIndex = context.source.indexOf(quote);\r\n        if (endIndex === -1) {\r\n            content = parseTextData(context, context.source.length, 4 /* ATTRIBUTE_VALUE */);\r\n        }\r\n        else {\r\n            content = parseTextData(context, endIndex, 4 /* ATTRIBUTE_VALUE */);\r\n            advanceBy(context, 1);\r\n        }\r\n    }\r\n    else {\r\n        // Unquoted\r\n        const match = /^[^\\t\\r\\n\\f >]+/.exec(context.source);\r\n        if (!match) {\r\n            return undefined;\r\n        }\r\n        const unexpectedChars = /[\"'<=`]/g;\r\n        let m;\r\n        while ((m = unexpectedChars.exec(match[0]))) {\r\n            emitError(context, 18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */, m.index);\r\n        }\r\n        content = parseTextData(context, match[0].length, 4 /* ATTRIBUTE_VALUE */);\r\n    }\r\n    return { content, isQuoted, loc: getSelection(context, start) };\r\n}\r\nfunction parseInterpolation(context, mode) {\r\n    const [open, close] = context.options.delimiters;\r\n    const closeIndex = context.source.indexOf(close, open.length);\r\n    if (closeIndex === -1) {\r\n        emitError(context, 25 /* X_MISSING_INTERPOLATION_END */);\r\n        return undefined;\r\n    }\r\n    const start = getCursor(context);\r\n    advanceBy(context, open.length);\r\n    const innerStart = getCursor(context);\r\n    const innerEnd = getCursor(context);\r\n    const rawContentLength = closeIndex - open.length;\r\n    const rawContent = context.source.slice(0, rawContentLength);\r\n    const preTrimContent = parseTextData(context, rawContentLength, mode);\r\n    const content = preTrimContent.trim();\r\n    const startOffset = preTrimContent.indexOf(content);\r\n    if (startOffset > 0) {\r\n        advancePositionWithMutation(innerStart, rawContent, startOffset);\r\n    }\r\n    const endOffset = rawContentLength - (preTrimContent.length - content.length - startOffset);\r\n    advancePositionWithMutation(innerEnd, rawContent, endOffset);\r\n    advanceBy(context, close.length);\r\n    return {\r\n        type: 5 /* INTERPOLATION */,\r\n        content: {\r\n            type: 4 /* SIMPLE_EXPRESSION */,\r\n            isStatic: false,\r\n            // Set `isConstant` to false by default and will decide in transformExpression\r\n            constType: 0 /* NOT_CONSTANT */,\r\n            content,\r\n            loc: getSelection(context, innerStart, innerEnd)\r\n        },\r\n        loc: getSelection(context, start)\r\n    };\r\n}\r\nfunction parseText(context, mode) {\r\n    const endTokens = mode === 3 /* CDATA */ ? [']]>'] : ['<', context.options.delimiters[0]];\r\n    let endIndex = context.source.length;\r\n    for (let i = 0; i < endTokens.length; i++) {\r\n        const index = context.source.indexOf(endTokens[i], 1);\r\n        if (index !== -1 && endIndex > index) {\r\n            endIndex = index;\r\n        }\r\n    }\r\n    const start = getCursor(context);\r\n    const content = parseTextData(context, endIndex, mode);\r\n    return {\r\n        type: 2 /* TEXT */,\r\n        content,\r\n        loc: getSelection(context, start)\r\n    };\r\n}\r\n/**\r\n * Get text data with a given length from the current location.\r\n * This translates HTML entities in the text data.\r\n */\r\nfunction parseTextData(context, length, mode) {\r\n    const rawText = context.source.slice(0, length);\r\n    advanceBy(context, length);\r\n    if (mode === 2 /* RAWTEXT */ ||\r\n        mode === 3 /* CDATA */ ||\r\n        rawText.indexOf('&') === -1) {\r\n        return rawText;\r\n    }\r\n    else {\r\n        // DATA or RCDATA containing \"&\"\". Entity decoding required.\r\n        return context.options.decodeEntities(rawText, mode === 4 /* ATTRIBUTE_VALUE */);\r\n    }\r\n}\r\nfunction getCursor(context) {\r\n    const { column, line, offset } = context;\r\n    return { column, line, offset };\r\n}\r\nfunction getSelection(context, start, end) {\r\n    end = end || getCursor(context);\r\n    return {\r\n        start,\r\n        end,\r\n        source: context.originalSource.slice(start.offset, end.offset)\r\n    };\r\n}\r\nfunction last(xs) {\r\n    return xs[xs.length - 1];\r\n}\r\nfunction startsWith(source, searchString) {\r\n    return source.startsWith(searchString);\r\n}\r\nfunction advanceBy(context, numberOfCharacters) {\r\n    const { source } = context;\r\n    advancePositionWithMutation(context, source, numberOfCharacters);\r\n    context.source = source.slice(numberOfCharacters);\r\n}\r\nfunction advanceSpaces(context) {\r\n    const match = /^[\\t\\r\\n\\f ]+/.exec(context.source);\r\n    if (match) {\r\n        advanceBy(context, match[0].length);\r\n    }\r\n}\r\nfunction getNewPosition(context, start, numberOfCharacters) {\r\n    return advancePositionWithClone(start, context.originalSource.slice(start.offset, numberOfCharacters), numberOfCharacters);\r\n}\r\nfunction emitError(context, code, offset, loc = getCursor(context)) {\r\n    if (offset) {\r\n        loc.offset += offset;\r\n        loc.column += offset;\r\n    }\r\n    context.options.onError(createCompilerError(code, {\r\n        start: loc,\r\n        end: loc,\r\n        source: ''\r\n    }));\r\n}\r\nfunction isEnd(context, mode, ancestors) {\r\n    const s = context.source;\r\n    switch (mode) {\r\n        case 0 /* DATA */:\r\n            if (startsWith(s, '</')) {\r\n                // TODO: probably bad performance\r\n                for (let i = ancestors.length - 1; i >= 0; --i) {\r\n                    if (startsWithEndTagOpen(s, ancestors[i].tag)) {\r\n                        return true;\r\n                    }\r\n                }\r\n            }\r\n            break;\r\n        case 1 /* RCDATA */:\r\n        case 2 /* RAWTEXT */: {\r\n            const parent = last(ancestors);\r\n            if (parent && startsWithEndTagOpen(s, parent.tag)) {\r\n                return true;\r\n            }\r\n            break;\r\n        }\r\n        case 3 /* CDATA */:\r\n            if (startsWith(s, ']]>')) {\r\n                return true;\r\n            }\r\n            break;\r\n    }\r\n    return !s;\r\n}\r\nfunction startsWithEndTagOpen(source, tag) {\r\n    return (startsWith(source, '</') &&\r\n        source.substr(2, tag.length).toLowerCase() === tag.toLowerCase() &&\r\n        /[\\t\\r\\n\\f />]/.test(source[2 + tag.length] || '>'));\r\n}\n\nfunction hoistStatic(root, context) {\r\n    walk(root, context, \r\n    // Root node is unfortunately non-hoistable due to potential parent\r\n    // fallthrough attributes.\r\n    isSingleElementRoot(root, root.children[0]));\r\n}\r\nfunction isSingleElementRoot(root, child) {\r\n    const { children } = root;\r\n    return (children.length === 1 &&\r\n        child.type === 1 /* ELEMENT */ &&\r\n        !isSlotOutlet(child));\r\n}\r\nfunction walk(node, context, doNotHoistNode = false) {\r\n    // Some transforms, e.g. transformAssetUrls from @vue/compiler-sfc, replaces\r\n    // static bindings with expressions. These expressions are guaranteed to be\r\n    // constant so they are still eligible for hoisting, but they are only\r\n    // available at runtime and therefore cannot be evaluated ahead of time.\r\n    // This is only a concern for pre-stringification (via transformHoist by\r\n    // @vue/compiler-dom), but doing it here allows us to perform only one full\r\n    // walk of the AST and allow `stringifyStatic` to stop walking as soon as its\r\n    // stringficiation threshold is met.\r\n    let canStringify = true;\r\n    const { children } = node;\r\n    const originalCount = children.length;\r\n    let hoistedCount = 0;\r\n    for (let i = 0; i < children.length; i++) {\r\n        const child = children[i];\r\n        // only plain elements & text calls are eligible for hoisting.\r\n        if (child.type === 1 /* ELEMENT */ &&\r\n            child.tagType === 0 /* ELEMENT */) {\r\n            const constantType = doNotHoistNode\r\n                ? 0 /* NOT_CONSTANT */\r\n                : getConstantType(child, context);\r\n            if (constantType > 0 /* NOT_CONSTANT */) {\r\n                if (constantType < 3 /* CAN_STRINGIFY */) {\r\n                    canStringify = false;\r\n                }\r\n                if (constantType >= 2 /* CAN_HOIST */) {\r\n                    child.codegenNode.patchFlag =\r\n                        -1 /* HOISTED */ + ((process.env.NODE_ENV !== 'production') ? ` /* HOISTED */` : ``);\r\n                    child.codegenNode = context.hoist(child.codegenNode);\r\n                    hoistedCount++;\r\n                    continue;\r\n                }\r\n            }\r\n            else {\r\n                // node may contain dynamic children, but its props may be eligible for\r\n                // hoisting.\r\n                const codegenNode = child.codegenNode;\r\n                if (codegenNode.type === 13 /* VNODE_CALL */) {\r\n                    const flag = getPatchFlag(codegenNode);\r\n                    if ((!flag ||\r\n                        flag === 512 /* NEED_PATCH */ ||\r\n                        flag === 1 /* TEXT */) &&\r\n                        getGeneratedPropsConstantType(child, context) >=\r\n                            2 /* CAN_HOIST */) {\r\n                        const props = getNodeProps(child);\r\n                        if (props) {\r\n                            codegenNode.props = context.hoist(props);\r\n                        }\r\n                    }\r\n                    if (codegenNode.dynamicProps) {\r\n                        codegenNode.dynamicProps = context.hoist(codegenNode.dynamicProps);\r\n                    }\r\n                }\r\n            }\r\n        }\r\n        else if (child.type === 12 /* TEXT_CALL */) {\r\n            const contentType = getConstantType(child.content, context);\r\n            if (contentType > 0) {\r\n                if (contentType < 3 /* CAN_STRINGIFY */) {\r\n                    canStringify = false;\r\n                }\r\n                if (contentType >= 2 /* CAN_HOIST */) {\r\n                    child.codegenNode = context.hoist(child.codegenNode);\r\n                    hoistedCount++;\r\n                }\r\n            }\r\n        }\r\n        // walk further\r\n        if (child.type === 1 /* ELEMENT */) {\r\n            const isComponent = child.tagType === 1 /* COMPONENT */;\r\n            if (isComponent) {\r\n                context.scopes.vSlot++;\r\n            }\r\n            walk(child, context);\r\n            if (isComponent) {\r\n                context.scopes.vSlot--;\r\n            }\r\n        }\r\n        else if (child.type === 11 /* FOR */) {\r\n            // Do not hoist v-for single child because it has to be a block\r\n            walk(child, context, child.children.length === 1);\r\n        }\r\n        else if (child.type === 9 /* IF */) {\r\n            for (let i = 0; i < child.branches.length; i++) {\r\n                // Do not hoist v-if single child because it has to be a block\r\n                walk(child.branches[i], context, child.branches[i].children.length === 1);\r\n            }\r\n        }\r\n    }\r\n    if (canStringify && hoistedCount && context.transformHoist) {\r\n        context.transformHoist(children, context, node);\r\n    }\r\n    // all children were hoisted - the entire children array is hoistable.\r\n    if (hoistedCount &&\r\n        hoistedCount === originalCount &&\r\n        node.type === 1 /* ELEMENT */ &&\r\n        node.tagType === 0 /* ELEMENT */ &&\r\n        node.codegenNode &&\r\n        node.codegenNode.type === 13 /* VNODE_CALL */ &&\r\n        isArray(node.codegenNode.children)) {\r\n        node.codegenNode.children = context.hoist(createArrayExpression(node.codegenNode.children));\r\n    }\r\n}\r\nfunction getConstantType(node, context) {\r\n    const { constantCache } = context;\r\n    switch (node.type) {\r\n        case 1 /* ELEMENT */:\r\n            if (node.tagType !== 0 /* ELEMENT */) {\r\n                return 0 /* NOT_CONSTANT */;\r\n            }\r\n            const cached = constantCache.get(node);\r\n            if (cached !== undefined) {\r\n                return cached;\r\n            }\r\n            const codegenNode = node.codegenNode;\r\n            if (codegenNode.type !== 13 /* VNODE_CALL */) {\r\n                return 0 /* NOT_CONSTANT */;\r\n            }\r\n            const flag = getPatchFlag(codegenNode);\r\n            if (!flag) {\r\n                let returnType = 3 /* CAN_STRINGIFY */;\r\n                // Element itself has no patch flag. However we still need to check:\r\n                // 1. Even for a node with no patch flag, it is possible for it to contain\r\n                // non-hoistable expressions that refers to scope variables, e.g. compiler\r\n                // injected keys or cached event handlers. Therefore we need to always\r\n                // check the codegenNode's props to be sure.\r\n                const generatedPropsType = getGeneratedPropsConstantType(node, context);\r\n                if (generatedPropsType === 0 /* NOT_CONSTANT */) {\r\n                    constantCache.set(node, 0 /* NOT_CONSTANT */);\r\n                    return 0 /* NOT_CONSTANT */;\r\n                }\r\n                if (generatedPropsType < returnType) {\r\n                    returnType = generatedPropsType;\r\n                }\r\n                // 2. its children.\r\n                for (let i = 0; i < node.children.length; i++) {\r\n                    const childType = getConstantType(node.children[i], context);\r\n                    if (childType === 0 /* NOT_CONSTANT */) {\r\n                        constantCache.set(node, 0 /* NOT_CONSTANT */);\r\n                        return 0 /* NOT_CONSTANT */;\r\n                    }\r\n                    if (childType < returnType) {\r\n                        returnType = childType;\r\n                    }\r\n                }\r\n                // 3. if the type is not already CAN_SKIP_PATCH which is the lowest non-0\r\n                // type, check if any of the props can cause the type to be lowered\r\n                // we can skip can_patch because it's guaranteed by the absence of a\r\n                // patchFlag.\r\n                if (returnType > 1 /* CAN_SKIP_PATCH */) {\r\n                    for (let i = 0; i < node.props.length; i++) {\r\n                        const p = node.props[i];\r\n                        if (p.type === 7 /* DIRECTIVE */ && p.name === 'bind' && p.exp) {\r\n                            const expType = getConstantType(p.exp, context);\r\n                            if (expType === 0 /* NOT_CONSTANT */) {\r\n                                constantCache.set(node, 0 /* NOT_CONSTANT */);\r\n                                return 0 /* NOT_CONSTANT */;\r\n                            }\r\n                            if (expType < returnType) {\r\n                                returnType = expType;\r\n                            }\r\n                        }\r\n                    }\r\n                }\r\n                // only svg/foreignObject could be block here, however if they are\r\n                // static then they don't need to be blocks since there will be no\r\n                // nested updates.\r\n                if (codegenNode.isBlock) {\r\n                    context.removeHelper(OPEN_BLOCK);\r\n                    context.removeHelper(getVNodeBlockHelper(context.inSSR, codegenNode.isComponent));\r\n                    codegenNode.isBlock = false;\r\n                    context.helper(getVNodeHelper(context.inSSR, codegenNode.isComponent));\r\n                }\r\n                constantCache.set(node, returnType);\r\n                return returnType;\r\n            }\r\n            else {\r\n                constantCache.set(node, 0 /* NOT_CONSTANT */);\r\n                return 0 /* NOT_CONSTANT */;\r\n            }\r\n        case 2 /* TEXT */:\r\n        case 3 /* COMMENT */:\r\n            return 3 /* CAN_STRINGIFY */;\r\n        case 9 /* IF */:\r\n        case 11 /* FOR */:\r\n        case 10 /* IF_BRANCH */:\r\n            return 0 /* NOT_CONSTANT */;\r\n        case 5 /* INTERPOLATION */:\r\n        case 12 /* TEXT_CALL */:\r\n            return getConstantType(node.content, context);\r\n        case 4 /* SIMPLE_EXPRESSION */:\r\n            return node.constType;\r\n        case 8 /* COMPOUND_EXPRESSION */:\r\n            let returnType = 3 /* CAN_STRINGIFY */;\r\n            for (let i = 0; i < node.children.length; i++) {\r\n                const child = node.children[i];\r\n                if (isString(child) || isSymbol(child)) {\r\n                    continue;\r\n                }\r\n                const childType = getConstantType(child, context);\r\n                if (childType === 0 /* NOT_CONSTANT */) {\r\n                    return 0 /* NOT_CONSTANT */;\r\n                }\r\n                else if (childType < returnType) {\r\n                    returnType = childType;\r\n                }\r\n            }\r\n            return returnType;\r\n        default:\r\n            if ((process.env.NODE_ENV !== 'production')) ;\r\n            return 0 /* NOT_CONSTANT */;\r\n    }\r\n}\r\nconst allowHoistedHelperSet = new Set([\r\n    NORMALIZE_CLASS,\r\n    NORMALIZE_STYLE,\r\n    NORMALIZE_PROPS,\r\n    GUARD_REACTIVE_PROPS\r\n]);\r\nfunction getConstantTypeOfHelperCall(value, context) {\r\n    if (value.type === 14 /* JS_CALL_EXPRESSION */ &&\r\n        !isString(value.callee) &&\r\n        allowHoistedHelperSet.has(value.callee)) {\r\n        const arg = value.arguments[0];\r\n        if (arg.type === 4 /* SIMPLE_EXPRESSION */) {\r\n            return getConstantType(arg, context);\r\n        }\r\n        else if (arg.type === 14 /* JS_CALL_EXPRESSION */) {\r\n            // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(exp))`\r\n            return getConstantTypeOfHelperCall(arg, context);\r\n        }\r\n    }\r\n    return 0 /* NOT_CONSTANT */;\r\n}\r\nfunction getGeneratedPropsConstantType(node, context) {\r\n    let returnType = 3 /* CAN_STRINGIFY */;\r\n    const props = getNodeProps(node);\r\n    if (props && props.type === 15 /* JS_OBJECT_EXPRESSION */) {\r\n        const { properties } = props;\r\n        for (let i = 0; i < properties.length; i++) {\r\n            const { key, value } = properties[i];\r\n            const keyType = getConstantType(key, context);\r\n            if (keyType === 0 /* NOT_CONSTANT */) {\r\n                return keyType;\r\n            }\r\n            if (keyType < returnType) {\r\n                returnType = keyType;\r\n            }\r\n            let valueType;\r\n            if (value.type === 4 /* SIMPLE_EXPRESSION */) {\r\n                valueType = getConstantType(value, context);\r\n            }\r\n            else if (value.type === 14 /* JS_CALL_EXPRESSION */) {\r\n                // some helper calls can be hoisted,\r\n                // such as the `normalizeProps` generated by the compiler for pre-normalize class,\r\n                // in this case we need to respect the ConstanType of the helper's argments\r\n                valueType = getConstantTypeOfHelperCall(value, context);\r\n            }\r\n            else {\r\n                valueType = 0 /* NOT_CONSTANT */;\r\n            }\r\n            if (valueType === 0 /* NOT_CONSTANT */) {\r\n                return valueType;\r\n            }\r\n            if (valueType < returnType) {\r\n                returnType = valueType;\r\n            }\r\n        }\r\n    }\r\n    return returnType;\r\n}\r\nfunction getNodeProps(node) {\r\n    const codegenNode = node.codegenNode;\r\n    if (codegenNode.type === 13 /* VNODE_CALL */) {\r\n        return codegenNode.props;\r\n    }\r\n}\r\nfunction getPatchFlag(node) {\r\n    const flag = node.patchFlag;\r\n    return flag ? parseInt(flag, 10) : undefined;\r\n}\n\nfunction createTransformContext(root, { filename = '', prefixIdentifiers = false, hoistStatic = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = NOOP, isCustomElement = NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {\r\n    const nameMatch = filename.replace(/\\?.*$/, '').match(/([^/\\\\]+)\\.\\w+$/);\r\n    const context = {\r\n        // options\r\n        selfName: nameMatch && capitalize(camelize$1(nameMatch[1])),\r\n        prefixIdentifiers,\r\n        hoistStatic,\r\n        cacheHandlers,\r\n        nodeTransforms,\r\n        directiveTransforms,\r\n        transformHoist,\r\n        isBuiltInComponent,\r\n        isCustomElement,\r\n        expressionPlugins,\r\n        scopeId,\r\n        slotted,\r\n        ssr,\r\n        inSSR,\r\n        ssrCssVars,\r\n        bindingMetadata,\r\n        inline,\r\n        isTS,\r\n        onError,\r\n        onWarn,\r\n        compatConfig,\r\n        // state\r\n        root,\r\n        helpers: new Map(),\r\n        components: new Set(),\r\n        directives: new Set(),\r\n        hoists: [],\r\n        imports: [],\r\n        constantCache: new Map(),\r\n        temps: 0,\r\n        cached: 0,\r\n        identifiers: Object.create(null),\r\n        scopes: {\r\n            vFor: 0,\r\n            vSlot: 0,\r\n            vPre: 0,\r\n            vOnce: 0\r\n        },\r\n        parent: null,\r\n        currentNode: root,\r\n        childIndex: 0,\r\n        inVOnce: false,\r\n        // methods\r\n        helper(name) {\r\n            const count = context.helpers.get(name) || 0;\r\n            context.helpers.set(name, count + 1);\r\n            return name;\r\n        },\r\n        removeHelper(name) {\r\n            const count = context.helpers.get(name);\r\n            if (count) {\r\n                const currentCount = count - 1;\r\n                if (!currentCount) {\r\n                    context.helpers.delete(name);\r\n                }\r\n                else {\r\n                    context.helpers.set(name, currentCount);\r\n                }\r\n            }\r\n        },\r\n        helperString(name) {\r\n            return `_${helperNameMap[context.helper(name)]}`;\r\n        },\r\n        replaceNode(node) {\r\n            /* istanbul ignore if */\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                if (!context.currentNode) {\r\n                    throw new Error(`Node being replaced is already removed.`);\r\n                }\r\n                if (!context.parent) {\r\n                    throw new Error(`Cannot replace root node.`);\r\n                }\r\n            }\r\n            context.parent.children[context.childIndex] = context.currentNode = node;\r\n        },\r\n        removeNode(node) {\r\n            if ((process.env.NODE_ENV !== 'production') && !context.parent) {\r\n                throw new Error(`Cannot remove root node.`);\r\n            }\r\n            const list = context.parent.children;\r\n            const removalIndex = node\r\n                ? list.indexOf(node)\r\n                : context.currentNode\r\n                    ? context.childIndex\r\n                    : -1;\r\n            /* istanbul ignore if */\r\n            if ((process.env.NODE_ENV !== 'production') && removalIndex < 0) {\r\n                throw new Error(`node being removed is not a child of current parent`);\r\n            }\r\n            if (!node || node === context.currentNode) {\r\n                // current node removed\r\n                context.currentNode = null;\r\n                context.onNodeRemoved();\r\n            }\r\n            else {\r\n                // sibling node removed\r\n                if (context.childIndex > removalIndex) {\r\n                    context.childIndex--;\r\n                    context.onNodeRemoved();\r\n                }\r\n            }\r\n            context.parent.children.splice(removalIndex, 1);\r\n        },\r\n        onNodeRemoved: () => { },\r\n        addIdentifiers(exp) {\r\n        },\r\n        removeIdentifiers(exp) {\r\n        },\r\n        hoist(exp) {\r\n            if (isString(exp))\r\n                exp = createSimpleExpression(exp);\r\n            context.hoists.push(exp);\r\n            const identifier = createSimpleExpression(`_hoisted_${context.hoists.length}`, false, exp.loc, 2 /* CAN_HOIST */);\r\n            identifier.hoisted = exp;\r\n            return identifier;\r\n        },\r\n        cache(exp, isVNode = false) {\r\n            return createCacheExpression(context.cached++, exp, isVNode);\r\n        }\r\n    };\r\n    {\r\n        context.filters = new Set();\r\n    }\r\n    return context;\r\n}\r\nfunction transform(root, options) {\r\n    const context = createTransformContext(root, options);\r\n    traverseNode(root, context);\r\n    if (options.hoistStatic) {\r\n        hoistStatic(root, context);\r\n    }\r\n    if (!options.ssr) {\r\n        createRootCodegen(root, context);\r\n    }\r\n    // finalize meta information\r\n    root.helpers = [...context.helpers.keys()];\r\n    root.components = [...context.components];\r\n    root.directives = [...context.directives];\r\n    root.imports = context.imports;\r\n    root.hoists = context.hoists;\r\n    root.temps = context.temps;\r\n    root.cached = context.cached;\r\n    {\r\n        root.filters = [...context.filters];\r\n    }\r\n}\r\nfunction createRootCodegen(root, context) {\r\n    const { helper } = context;\r\n    const { children } = root;\r\n    if (children.length === 1) {\r\n        const child = children[0];\r\n        // if the single child is an element, turn it into a block.\r\n        if (isSingleElementRoot(root, child) && child.codegenNode) {\r\n            // single element root is never hoisted so codegenNode will never be\r\n            // SimpleExpressionNode\r\n            const codegenNode = child.codegenNode;\r\n            if (codegenNode.type === 13 /* VNODE_CALL */) {\r\n                makeBlock(codegenNode, context);\r\n            }\r\n            root.codegenNode = codegenNode;\r\n        }\r\n        else {\r\n            // - single <slot/>, IfNode, ForNode: already blocks.\r\n            // - single text node: always patched.\r\n            // root codegen falls through via genNode()\r\n            root.codegenNode = child;\r\n        }\r\n    }\r\n    else if (children.length > 1) {\r\n        // root has multiple nodes - return a fragment block.\r\n        let patchFlag = 64 /* STABLE_FRAGMENT */;\r\n        let patchFlagText = PatchFlagNames[64 /* STABLE_FRAGMENT */];\r\n        // check if the fragment actually contains a single valid child with\r\n        // the rest being comments\r\n        if ((process.env.NODE_ENV !== 'production') &&\r\n            children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {\r\n            patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;\r\n            patchFlagText += `, ${PatchFlagNames[2048 /* DEV_ROOT_FRAGMENT */]}`;\r\n        }\r\n        root.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, root.children, patchFlag + ((process.env.NODE_ENV !== 'production') ? ` /* ${patchFlagText} */` : ``), undefined, undefined, true, undefined, false /* isComponent */);\r\n    }\r\n    else ;\r\n}\r\nfunction traverseChildren(parent, context) {\r\n    let i = 0;\r\n    const nodeRemoved = () => {\r\n        i--;\r\n    };\r\n    for (; i < parent.children.length; i++) {\r\n        const child = parent.children[i];\r\n        if (isString(child))\r\n            continue;\r\n        context.parent = parent;\r\n        context.childIndex = i;\r\n        context.onNodeRemoved = nodeRemoved;\r\n        traverseNode(child, context);\r\n    }\r\n}\r\nfunction traverseNode(node, context) {\r\n    context.currentNode = node;\r\n    // apply transform plugins\r\n    const { nodeTransforms } = context;\r\n    const exitFns = [];\r\n    for (let i = 0; i < nodeTransforms.length; i++) {\r\n        const onExit = nodeTransforms[i](node, context);\r\n        if (onExit) {\r\n            if (isArray(onExit)) {\r\n                exitFns.push(...onExit);\r\n            }\r\n            else {\r\n                exitFns.push(onExit);\r\n            }\r\n        }\r\n        if (!context.currentNode) {\r\n            // node was removed\r\n            return;\r\n        }\r\n        else {\r\n            // node may have been replaced\r\n            node = context.currentNode;\r\n        }\r\n    }\r\n    switch (node.type) {\r\n        case 3 /* COMMENT */:\r\n            if (!context.ssr) {\r\n                // inject import for the Comment symbol, which is needed for creating\r\n                // comment nodes with `createVNode`\r\n                context.helper(CREATE_COMMENT);\r\n            }\r\n            break;\r\n        case 5 /* INTERPOLATION */:\r\n            // no need to traverse, but we need to inject toString helper\r\n            if (!context.ssr) {\r\n                context.helper(TO_DISPLAY_STRING);\r\n            }\r\n            break;\r\n        // for container types, further traverse downwards\r\n        case 9 /* IF */:\r\n            for (let i = 0; i < node.branches.length; i++) {\r\n                traverseNode(node.branches[i], context);\r\n            }\r\n            break;\r\n        case 10 /* IF_BRANCH */:\r\n        case 11 /* FOR */:\r\n        case 1 /* ELEMENT */:\r\n        case 0 /* ROOT */:\r\n            traverseChildren(node, context);\r\n            break;\r\n    }\r\n    // exit transforms\r\n    context.currentNode = node;\r\n    let i = exitFns.length;\r\n    while (i--) {\r\n        exitFns[i]();\r\n    }\r\n}\r\nfunction createStructuralDirectiveTransform(name, fn) {\r\n    const matches = isString(name)\r\n        ? (n) => n === name\r\n        : (n) => name.test(n);\r\n    return (node, context) => {\r\n        if (node.type === 1 /* ELEMENT */) {\r\n            const { props } = node;\r\n            // structural directive transforms are not concerned with slots\r\n            // as they are handled separately in vSlot.ts\r\n            if (node.tagType === 3 /* TEMPLATE */ && props.some(isVSlot)) {\r\n                return;\r\n            }\r\n            const exitFns = [];\r\n            for (let i = 0; i < props.length; i++) {\r\n                const prop = props[i];\r\n                if (prop.type === 7 /* DIRECTIVE */ && matches(prop.name)) {\r\n                    // structural directives are removed to avoid infinite recursion\r\n                    // also we remove them *before* applying so that it can further\r\n                    // traverse itself in case it moves the node around\r\n                    props.splice(i, 1);\r\n                    i--;\r\n                    const onExit = fn(node, prop, context);\r\n                    if (onExit)\r\n                        exitFns.push(onExit);\r\n                }\r\n            }\r\n            return exitFns;\r\n        }\r\n    };\r\n}\n\nconst PURE_ANNOTATION = `/*#__PURE__*/`;\r\nfunction createCodegenContext(ast, { mode = 'function', prefixIdentifiers = mode === 'module', sourceMap = false, filename = `template.vue.html`, scopeId = null, optimizeImports = false, runtimeGlobalName = `Vue`, runtimeModuleName = `vue`, ssr = false, isTS = false, inSSR = false }) {\r\n    const context = {\r\n        mode,\r\n        prefixIdentifiers,\r\n        sourceMap,\r\n        filename,\r\n        scopeId,\r\n        optimizeImports,\r\n        runtimeGlobalName,\r\n        runtimeModuleName,\r\n        ssr,\r\n        isTS,\r\n        inSSR,\r\n        source: ast.loc.source,\r\n        code: ``,\r\n        column: 1,\r\n        line: 1,\r\n        offset: 0,\r\n        indentLevel: 0,\r\n        pure: false,\r\n        map: undefined,\r\n        helper(key) {\r\n            return `_${helperNameMap[key]}`;\r\n        },\r\n        push(code, node) {\r\n            context.code += code;\r\n        },\r\n        indent() {\r\n            newline(++context.indentLevel);\r\n        },\r\n        deindent(withoutNewLine = false) {\r\n            if (withoutNewLine) {\r\n                --context.indentLevel;\r\n            }\r\n            else {\r\n                newline(--context.indentLevel);\r\n            }\r\n        },\r\n        newline() {\r\n            newline(context.indentLevel);\r\n        }\r\n    };\r\n    function newline(n) {\r\n        context.push('\\n' + `  `.repeat(n));\r\n    }\r\n    return context;\r\n}\r\nfunction generate(ast, options = {}) {\r\n    const context = createCodegenContext(ast, options);\r\n    if (options.onContextCreated)\r\n        options.onContextCreated(context);\r\n    const { mode, push, prefixIdentifiers, indent, deindent, newline, scopeId, ssr } = context;\r\n    const hasHelpers = ast.helpers.length > 0;\r\n    const useWithBlock = !prefixIdentifiers && mode !== 'module';\r\n    // preambles\r\n    // in setup() inline mode, the preamble is generated in a sub context\r\n    // and returned separately.\r\n    const preambleContext = context;\r\n    {\r\n        genFunctionPreamble(ast, preambleContext);\r\n    }\r\n    // enter render function\r\n    const functionName = ssr ? `ssrRender` : `render`;\r\n    const args = ssr ? ['_ctx', '_push', '_parent', '_attrs'] : ['_ctx', '_cache'];\r\n    const signature = args.join(', ');\r\n    {\r\n        push(`function ${functionName}(${signature}) {`);\r\n    }\r\n    indent();\r\n    if (useWithBlock) {\r\n        push(`with (_ctx) {`);\r\n        indent();\r\n        // function mode const declarations should be inside with block\r\n        // also they should be renamed to avoid collision with user properties\r\n        if (hasHelpers) {\r\n            push(`const { ${ast.helpers\r\n                .map(s => `${helperNameMap[s]}: _${helperNameMap[s]}`)\r\n                .join(', ')} } = _Vue`);\r\n            push(`\\n`);\r\n            newline();\r\n        }\r\n    }\r\n    // generate asset resolution statements\r\n    if (ast.components.length) {\r\n        genAssets(ast.components, 'component', context);\r\n        if (ast.directives.length || ast.temps > 0) {\r\n            newline();\r\n        }\r\n    }\r\n    if (ast.directives.length) {\r\n        genAssets(ast.directives, 'directive', context);\r\n        if (ast.temps > 0) {\r\n            newline();\r\n        }\r\n    }\r\n    if (ast.filters && ast.filters.length) {\r\n        newline();\r\n        genAssets(ast.filters, 'filter', context);\r\n        newline();\r\n    }\r\n    if (ast.temps > 0) {\r\n        push(`let `);\r\n        for (let i = 0; i < ast.temps; i++) {\r\n            push(`${i > 0 ? `, ` : ``}_temp${i}`);\r\n        }\r\n    }\r\n    if (ast.components.length || ast.directives.length || ast.temps) {\r\n        push(`\\n`);\r\n        newline();\r\n    }\r\n    // generate the VNode tree expression\r\n    if (!ssr) {\r\n        push(`return `);\r\n    }\r\n    if (ast.codegenNode) {\r\n        genNode(ast.codegenNode, context);\r\n    }\r\n    else {\r\n        push(`null`);\r\n    }\r\n    if (useWithBlock) {\r\n        deindent();\r\n        push(`}`);\r\n    }\r\n    deindent();\r\n    push(`}`);\r\n    return {\r\n        ast,\r\n        code: context.code,\r\n        preamble: ``,\r\n        // SourceMapGenerator does have toJSON() method but it's not in the types\r\n        map: context.map ? context.map.toJSON() : undefined\r\n    };\r\n}\r\nfunction genFunctionPreamble(ast, context) {\r\n    const { ssr, prefixIdentifiers, push, newline, runtimeModuleName, runtimeGlobalName } = context;\r\n    const VueBinding = runtimeGlobalName;\r\n    const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;\r\n    // Generate const declaration for helpers\r\n    // In prefix mode, we place the const declaration at top so it's done\r\n    // only once; But if we not prefixing, we place the declaration inside the\r\n    // with block so it doesn't incur the `in` check cost for every helper access.\r\n    if (ast.helpers.length > 0) {\r\n        {\r\n            // \"with\" mode.\r\n            // save Vue in a separate variable to avoid collision\r\n            push(`const _Vue = ${VueBinding}\\n`);\r\n            // in \"with\" mode, helpers are declared inside the with block to avoid\r\n            // has check cost, but hoists are lifted out of the function - we need\r\n            // to provide the helper here.\r\n            if (ast.hoists.length) {\r\n                const staticHelpers = [\r\n                    CREATE_VNODE,\r\n                    CREATE_ELEMENT_VNODE,\r\n                    CREATE_COMMENT,\r\n                    CREATE_TEXT,\r\n                    CREATE_STATIC\r\n                ]\r\n                    .filter(helper => ast.helpers.includes(helper))\r\n                    .map(aliasHelper)\r\n                    .join(', ');\r\n                push(`const { ${staticHelpers} } = _Vue\\n`);\r\n            }\r\n        }\r\n    }\r\n    genHoists(ast.hoists, context);\r\n    newline();\r\n    push(`return `);\r\n}\r\nfunction genAssets(assets, type, { helper, push, newline, isTS }) {\r\n    const resolver = helper(type === 'filter'\r\n        ? RESOLVE_FILTER\r\n        : type === 'component'\r\n            ? RESOLVE_COMPONENT\r\n            : RESOLVE_DIRECTIVE);\r\n    for (let i = 0; i < assets.length; i++) {\r\n        let id = assets[i];\r\n        // potential component implicit self-reference inferred from SFC filename\r\n        const maybeSelfReference = id.endsWith('__self');\r\n        if (maybeSelfReference) {\r\n            id = id.slice(0, -6);\r\n        }\r\n        push(`const ${toValidAssetId(id, type)} = ${resolver}(${JSON.stringify(id)}${maybeSelfReference ? `, true` : ``})${isTS ? `!` : ``}`);\r\n        if (i < assets.length - 1) {\r\n            newline();\r\n        }\r\n    }\r\n}\r\nfunction genHoists(hoists, context) {\r\n    if (!hoists.length) {\r\n        return;\r\n    }\r\n    context.pure = true;\r\n    const { push, newline, helper, scopeId, mode } = context;\r\n    newline();\r\n    hoists.forEach((exp, i) => {\r\n        if (exp) {\r\n            push(`const _hoisted_${i + 1} = `);\r\n            genNode(exp, context);\r\n            newline();\r\n        }\r\n    });\r\n    context.pure = false;\r\n}\r\nfunction isText$1(n) {\r\n    return (isString(n) ||\r\n        n.type === 4 /* SIMPLE_EXPRESSION */ ||\r\n        n.type === 2 /* TEXT */ ||\r\n        n.type === 5 /* INTERPOLATION */ ||\r\n        n.type === 8 /* COMPOUND_EXPRESSION */);\r\n}\r\nfunction genNodeListAsArray(nodes, context) {\r\n    const multilines = nodes.length > 3 ||\r\n        (((process.env.NODE_ENV !== 'production')) && nodes.some(n => isArray(n) || !isText$1(n)));\r\n    context.push(`[`);\r\n    multilines && context.indent();\r\n    genNodeList(nodes, context, multilines);\r\n    multilines && context.deindent();\r\n    context.push(`]`);\r\n}\r\nfunction genNodeList(nodes, context, multilines = false, comma = true) {\r\n    const { push, newline } = context;\r\n    for (let i = 0; i < nodes.length; i++) {\r\n        const node = nodes[i];\r\n        if (isString(node)) {\r\n            push(node);\r\n        }\r\n        else if (isArray(node)) {\r\n            genNodeListAsArray(node, context);\r\n        }\r\n        else {\r\n            genNode(node, context);\r\n        }\r\n        if (i < nodes.length - 1) {\r\n            if (multilines) {\r\n                comma && push(',');\r\n                newline();\r\n            }\r\n            else {\r\n                comma && push(', ');\r\n            }\r\n        }\r\n    }\r\n}\r\nfunction genNode(node, context) {\r\n    if (isString(node)) {\r\n        context.push(node);\r\n        return;\r\n    }\r\n    if (isSymbol(node)) {\r\n        context.push(context.helper(node));\r\n        return;\r\n    }\r\n    switch (node.type) {\r\n        case 1 /* ELEMENT */:\r\n        case 9 /* IF */:\r\n        case 11 /* FOR */:\r\n            (process.env.NODE_ENV !== 'production') &&\r\n                assert(node.codegenNode != null, `Codegen node is missing for element/if/for node. ` +\r\n                    `Apply appropriate transforms first.`);\r\n            genNode(node.codegenNode, context);\r\n            break;\r\n        case 2 /* TEXT */:\r\n            genText(node, context);\r\n            break;\r\n        case 4 /* SIMPLE_EXPRESSION */:\r\n            genExpression(node, context);\r\n            break;\r\n        case 5 /* INTERPOLATION */:\r\n            genInterpolation(node, context);\r\n            break;\r\n        case 12 /* TEXT_CALL */:\r\n            genNode(node.codegenNode, context);\r\n            break;\r\n        case 8 /* COMPOUND_EXPRESSION */:\r\n            genCompoundExpression(node, context);\r\n            break;\r\n        case 3 /* COMMENT */:\r\n            genComment(node, context);\r\n            break;\r\n        case 13 /* VNODE_CALL */:\r\n            genVNodeCall(node, context);\r\n            break;\r\n        case 14 /* JS_CALL_EXPRESSION */:\r\n            genCallExpression(node, context);\r\n            break;\r\n        case 15 /* JS_OBJECT_EXPRESSION */:\r\n            genObjectExpression(node, context);\r\n            break;\r\n        case 17 /* JS_ARRAY_EXPRESSION */:\r\n            genArrayExpression(node, context);\r\n            break;\r\n        case 18 /* JS_FUNCTION_EXPRESSION */:\r\n            genFunctionExpression(node, context);\r\n            break;\r\n        case 19 /* JS_CONDITIONAL_EXPRESSION */:\r\n            genConditionalExpression(node, context);\r\n            break;\r\n        case 20 /* JS_CACHE_EXPRESSION */:\r\n            genCacheExpression(node, context);\r\n            break;\r\n        case 21 /* JS_BLOCK_STATEMENT */:\r\n            genNodeList(node.body, context, true, false);\r\n            break;\r\n        // SSR only types\r\n        case 22 /* JS_TEMPLATE_LITERAL */:\r\n            break;\r\n        case 23 /* JS_IF_STATEMENT */:\r\n            break;\r\n        case 24 /* JS_ASSIGNMENT_EXPRESSION */:\r\n            break;\r\n        case 25 /* JS_SEQUENCE_EXPRESSION */:\r\n            break;\r\n        case 26 /* JS_RETURN_STATEMENT */:\r\n            break;\r\n        /* istanbul ignore next */\r\n        case 10 /* IF_BRANCH */:\r\n            // noop\r\n            break;\r\n        default:\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                assert(false, `unhandled codegen node type: ${node.type}`);\r\n                // make sure we exhaust all possible types\r\n                const exhaustiveCheck = node;\r\n                return exhaustiveCheck;\r\n            }\r\n    }\r\n}\r\nfunction genText(node, context) {\r\n    context.push(JSON.stringify(node.content), node);\r\n}\r\nfunction genExpression(node, context) {\r\n    const { content, isStatic } = node;\r\n    context.push(isStatic ? JSON.stringify(content) : content, node);\r\n}\r\nfunction genInterpolation(node, context) {\r\n    const { push, helper, pure } = context;\r\n    if (pure)\r\n        push(PURE_ANNOTATION);\r\n    push(`${helper(TO_DISPLAY_STRING)}(`);\r\n    genNode(node.content, context);\r\n    push(`)`);\r\n}\r\nfunction genCompoundExpression(node, context) {\r\n    for (let i = 0; i < node.children.length; i++) {\r\n        const child = node.children[i];\r\n        if (isString(child)) {\r\n            context.push(child);\r\n        }\r\n        else {\r\n            genNode(child, context);\r\n        }\r\n    }\r\n}\r\nfunction genExpressionAsPropertyKey(node, context) {\r\n    const { push } = context;\r\n    if (node.type === 8 /* COMPOUND_EXPRESSION */) {\r\n        push(`[`);\r\n        genCompoundExpression(node, context);\r\n        push(`]`);\r\n    }\r\n    else if (node.isStatic) {\r\n        // only quote keys if necessary\r\n        const text = isSimpleIdentifier(node.content)\r\n            ? node.content\r\n            : JSON.stringify(node.content);\r\n        push(text, node);\r\n    }\r\n    else {\r\n        push(`[${node.content}]`, node);\r\n    }\r\n}\r\nfunction genComment(node, context) {\r\n    const { push, helper, pure } = context;\r\n    if (pure) {\r\n        push(PURE_ANNOTATION);\r\n    }\r\n    push(`${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`, node);\r\n}\r\nfunction genVNodeCall(node, context) {\r\n    const { push, helper, pure } = context;\r\n    const { tag, props, children, patchFlag, dynamicProps, directives, isBlock, disableTracking, isComponent } = node;\r\n    if (directives) {\r\n        push(helper(WITH_DIRECTIVES) + `(`);\r\n    }\r\n    if (isBlock) {\r\n        push(`(${helper(OPEN_BLOCK)}(${disableTracking ? `true` : ``}), `);\r\n    }\r\n    if (pure) {\r\n        push(PURE_ANNOTATION);\r\n    }\r\n    const callHelper = isBlock\r\n        ? getVNodeBlockHelper(context.inSSR, isComponent)\r\n        : getVNodeHelper(context.inSSR, isComponent);\r\n    push(helper(callHelper) + `(`, node);\r\n    genNodeList(genNullableArgs([tag, props, children, patchFlag, dynamicProps]), context);\r\n    push(`)`);\r\n    if (isBlock) {\r\n        push(`)`);\r\n    }\r\n    if (directives) {\r\n        push(`, `);\r\n        genNode(directives, context);\r\n        push(`)`);\r\n    }\r\n}\r\nfunction genNullableArgs(args) {\r\n    let i = args.length;\r\n    while (i--) {\r\n        if (args[i] != null)\r\n            break;\r\n    }\r\n    return args.slice(0, i + 1).map(arg => arg || `null`);\r\n}\r\n// JavaScript\r\nfunction genCallExpression(node, context) {\r\n    const { push, helper, pure } = context;\r\n    const callee = isString(node.callee) ? node.callee : helper(node.callee);\r\n    if (pure) {\r\n        push(PURE_ANNOTATION);\r\n    }\r\n    push(callee + `(`, node);\r\n    genNodeList(node.arguments, context);\r\n    push(`)`);\r\n}\r\nfunction genObjectExpression(node, context) {\r\n    const { push, indent, deindent, newline } = context;\r\n    const { properties } = node;\r\n    if (!properties.length) {\r\n        push(`{}`, node);\r\n        return;\r\n    }\r\n    const multilines = properties.length > 1 ||\r\n        (((process.env.NODE_ENV !== 'production')) &&\r\n            properties.some(p => p.value.type !== 4 /* SIMPLE_EXPRESSION */));\r\n    push(multilines ? `{` : `{ `);\r\n    multilines && indent();\r\n    for (let i = 0; i < properties.length; i++) {\r\n        const { key, value } = properties[i];\r\n        // key\r\n        genExpressionAsPropertyKey(key, context);\r\n        push(`: `);\r\n        // value\r\n        genNode(value, context);\r\n        if (i < properties.length - 1) {\r\n            // will only reach this if it's multilines\r\n            push(`,`);\r\n            newline();\r\n        }\r\n    }\r\n    multilines && deindent();\r\n    push(multilines ? `}` : ` }`);\r\n}\r\nfunction genArrayExpression(node, context) {\r\n    genNodeListAsArray(node.elements, context);\r\n}\r\nfunction genFunctionExpression(node, context) {\r\n    const { push, indent, deindent } = context;\r\n    const { params, returns, body, newline, isSlot } = node;\r\n    if (isSlot) {\r\n        // wrap slot functions with owner context\r\n        push(`_${helperNameMap[WITH_CTX]}(`);\r\n    }\r\n    push(`(`, node);\r\n    if (isArray(params)) {\r\n        genNodeList(params, context);\r\n    }\r\n    else if (params) {\r\n        genNode(params, context);\r\n    }\r\n    push(`) => `);\r\n    if (newline || body) {\r\n        push(`{`);\r\n        indent();\r\n    }\r\n    if (returns) {\r\n        if (newline) {\r\n            push(`return `);\r\n        }\r\n        if (isArray(returns)) {\r\n            genNodeListAsArray(returns, context);\r\n        }\r\n        else {\r\n            genNode(returns, context);\r\n        }\r\n    }\r\n    else if (body) {\r\n        genNode(body, context);\r\n    }\r\n    if (newline || body) {\r\n        deindent();\r\n        push(`}`);\r\n    }\r\n    if (isSlot) {\r\n        if (node.isNonScopedSlot) {\r\n            push(`, undefined, true`);\r\n        }\r\n        push(`)`);\r\n    }\r\n}\r\nfunction genConditionalExpression(node, context) {\r\n    const { test, consequent, alternate, newline: needNewline } = node;\r\n    const { push, indent, deindent, newline } = context;\r\n    if (test.type === 4 /* SIMPLE_EXPRESSION */) {\r\n        const needsParens = !isSimpleIdentifier(test.content);\r\n        needsParens && push(`(`);\r\n        genExpression(test, context);\r\n        needsParens && push(`)`);\r\n    }\r\n    else {\r\n        push(`(`);\r\n        genNode(test, context);\r\n        push(`)`);\r\n    }\r\n    needNewline && indent();\r\n    context.indentLevel++;\r\n    needNewline || push(` `);\r\n    push(`? `);\r\n    genNode(consequent, context);\r\n    context.indentLevel--;\r\n    needNewline && newline();\r\n    needNewline || push(` `);\r\n    push(`: `);\r\n    const isNested = alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */;\r\n    if (!isNested) {\r\n        context.indentLevel++;\r\n    }\r\n    genNode(alternate, context);\r\n    if (!isNested) {\r\n        context.indentLevel--;\r\n    }\r\n    needNewline && deindent(true /* without newline */);\r\n}\r\nfunction genCacheExpression(node, context) {\r\n    const { push, helper, indent, deindent, newline } = context;\r\n    push(`_cache[${node.index}] || (`);\r\n    if (node.isVNode) {\r\n        indent();\r\n        push(`${helper(SET_BLOCK_TRACKING)}(-1),`);\r\n        newline();\r\n    }\r\n    push(`_cache[${node.index}] = `);\r\n    genNode(node.value, context);\r\n    if (node.isVNode) {\r\n        push(`,`);\r\n        newline();\r\n        push(`${helper(SET_BLOCK_TRACKING)}(1),`);\r\n        newline();\r\n        push(`_cache[${node.index}]`);\r\n        deindent();\r\n    }\r\n    push(`)`);\r\n}\n\nfunction walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {\r\n    {\r\n        return;\r\n    }\r\n}\r\nfunction isReferencedIdentifier(id, parent, parentStack) {\r\n    {\r\n        return false;\r\n    }\r\n}\r\nfunction isInDestructureAssignment(parent, parentStack) {\r\n    if (parent &&\r\n        (parent.type === 'ObjectProperty' || parent.type === 'ArrayPattern')) {\r\n        let i = parentStack.length;\r\n        while (i--) {\r\n            const p = parentStack[i];\r\n            if (p.type === 'AssignmentExpression') {\r\n                return true;\r\n            }\r\n            else if (p.type !== 'ObjectProperty' && !p.type.endsWith('Pattern')) {\r\n                break;\r\n            }\r\n        }\r\n    }\r\n    return false;\r\n}\r\nfunction walkFunctionParams(node, onIdent) {\r\n    for (const p of node.params) {\r\n        for (const id of extractIdentifiers(p)) {\r\n            onIdent(id);\r\n        }\r\n    }\r\n}\r\nfunction walkBlockDeclarations(block, onIdent) {\r\n    for (const stmt of block.body) {\r\n        if (stmt.type === 'VariableDeclaration') {\r\n            if (stmt.declare)\r\n                continue;\r\n            for (const decl of stmt.declarations) {\r\n                for (const id of extractIdentifiers(decl.id)) {\r\n                    onIdent(id);\r\n                }\r\n            }\r\n        }\r\n        else if (stmt.type === 'FunctionDeclaration' ||\r\n            stmt.type === 'ClassDeclaration') {\r\n            if (stmt.declare || !stmt.id)\r\n                continue;\r\n            onIdent(stmt.id);\r\n        }\r\n    }\r\n}\r\nfunction extractIdentifiers(param, nodes = []) {\r\n    switch (param.type) {\r\n        case 'Identifier':\r\n            nodes.push(param);\r\n            break;\r\n        case 'MemberExpression':\r\n            let object = param;\r\n            while (object.type === 'MemberExpression') {\r\n                object = object.object;\r\n            }\r\n            nodes.push(object);\r\n            break;\r\n        case 'ObjectPattern':\r\n            for (const prop of param.properties) {\r\n                if (prop.type === 'RestElement') {\r\n                    extractIdentifiers(prop.argument, nodes);\r\n                }\r\n                else {\r\n                    extractIdentifiers(prop.value, nodes);\r\n                }\r\n            }\r\n            break;\r\n        case 'ArrayPattern':\r\n            param.elements.forEach(element => {\r\n                if (element)\r\n                    extractIdentifiers(element, nodes);\r\n            });\r\n            break;\r\n        case 'RestElement':\r\n            extractIdentifiers(param.argument, nodes);\r\n            break;\r\n        case 'AssignmentPattern':\r\n            extractIdentifiers(param.left, nodes);\r\n            break;\r\n    }\r\n    return nodes;\r\n}\r\nconst isFunctionType = (node) => {\r\n    return /Function(?:Expression|Declaration)$|Method$/.test(node.type);\r\n};\r\nconst isStaticProperty = (node) => node &&\r\n    (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') &&\r\n    !node.computed;\r\nconst isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;\n\n// these keywords should not appear inside expressions, but operators like\r\n// typeof, instanceof and in are allowed\r\nconst prohibitedKeywordRE = new RegExp('\\\\b' +\r\n    ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' +\r\n        'super,throw,while,yield,delete,export,import,return,switch,default,' +\r\n        'extends,finally,continue,debugger,function,arguments,typeof,void')\r\n        .split(',')\r\n        .join('\\\\b|\\\\b') +\r\n    '\\\\b');\r\n// strip strings in expressions\r\nconst stripStringRE = /'(?:[^'\\\\]|\\\\.)*'|\"(?:[^\"\\\\]|\\\\.)*\"|`(?:[^`\\\\]|\\\\.)*\\$\\{|\\}(?:[^`\\\\]|\\\\.)*`|`(?:[^`\\\\]|\\\\.)*`/g;\r\n/**\r\n * Validate a non-prefixed expression.\r\n * This is only called when using the in-browser runtime compiler since it\r\n * doesn't prefix expressions.\r\n */\r\nfunction validateBrowserExpression(node, context, asParams = false, asRawStatements = false) {\r\n    const exp = node.content;\r\n    // empty expressions are validated per-directive since some directives\r\n    // do allow empty expressions.\r\n    if (!exp.trim()) {\r\n        return;\r\n    }\r\n    try {\r\n        new Function(asRawStatements\r\n            ? ` ${exp} `\r\n            : `return ${asParams ? `(${exp}) => {}` : `(${exp})`}`);\r\n    }\r\n    catch (e) {\r\n        let message = e.message;\r\n        const keywordMatch = exp\r\n            .replace(stripStringRE, '')\r\n            .match(prohibitedKeywordRE);\r\n        if (keywordMatch) {\r\n            message = `avoid using JavaScript keyword as property name: \"${keywordMatch[0]}\"`;\r\n        }\r\n        context.onError(createCompilerError(44 /* X_INVALID_EXPRESSION */, node.loc, undefined, message));\r\n    }\r\n}\n\nconst transformExpression = (node, context) => {\r\n    if (node.type === 5 /* INTERPOLATION */) {\r\n        node.content = processExpression(node.content, context);\r\n    }\r\n    else if (node.type === 1 /* ELEMENT */) {\r\n        // handle directives on element\r\n        for (let i = 0; i < node.props.length; i++) {\r\n            const dir = node.props[i];\r\n            // do not process for v-on & v-for since they are special handled\r\n            if (dir.type === 7 /* DIRECTIVE */ && dir.name !== 'for') {\r\n                const exp = dir.exp;\r\n                const arg = dir.arg;\r\n                // do not process exp if this is v-on:arg - we need special handling\r\n                // for wrapping inline statements.\r\n                if (exp &&\r\n                    exp.type === 4 /* SIMPLE_EXPRESSION */ &&\r\n                    !(dir.name === 'on' && arg)) {\r\n                    dir.exp = processExpression(exp, context, \r\n                    // slot args must be processed as function params\r\n                    dir.name === 'slot');\r\n                }\r\n                if (arg && arg.type === 4 /* SIMPLE_EXPRESSION */ && !arg.isStatic) {\r\n                    dir.arg = processExpression(arg, context);\r\n                }\r\n            }\r\n        }\r\n    }\r\n};\r\n// Important: since this function uses Node.js only dependencies, it should\r\n// always be used with a leading !true check so that it can be\r\n// tree-shaken from the browser build.\r\nfunction processExpression(node, context, \r\n// some expressions like v-slot props & v-for aliases should be parsed as\r\n// function params\r\nasParams = false, \r\n// v-on handler values may contain multiple statements\r\nasRawStatements = false, localVars = Object.create(context.identifiers)) {\r\n    {\r\n        if ((process.env.NODE_ENV !== 'production')) {\r\n            // simple in-browser validation (same logic in 2.x)\r\n            validateBrowserExpression(node, context, asParams, asRawStatements);\r\n        }\r\n        return node;\r\n    }\r\n}\n\nconst transformIf = createStructuralDirectiveTransform(/^(if|else|else-if)$/, (node, dir, context) => {\r\n    return processIf(node, dir, context, (ifNode, branch, isRoot) => {\r\n        // #1587: We need to dynamically increment the key based on the current\r\n        // node's sibling nodes, since chained v-if/else branches are\r\n        // rendered at the same depth\r\n        const siblings = context.parent.children;\r\n        let i = siblings.indexOf(ifNode);\r\n        let key = 0;\r\n        while (i-- >= 0) {\r\n            const sibling = siblings[i];\r\n            if (sibling && sibling.type === 9 /* IF */) {\r\n                key += sibling.branches.length;\r\n            }\r\n        }\r\n        // Exit callback. Complete the codegenNode when all children have been\r\n        // transformed.\r\n        return () => {\r\n            if (isRoot) {\r\n                ifNode.codegenNode = createCodegenNodeForBranch(branch, key, context);\r\n            }\r\n            else {\r\n                // attach this branch's codegen node to the v-if root.\r\n                const parentCondition = getParentCondition(ifNode.codegenNode);\r\n                parentCondition.alternate = createCodegenNodeForBranch(branch, key + ifNode.branches.length - 1, context);\r\n            }\r\n        };\r\n    });\r\n});\r\n// target-agnostic transform used for both Client and SSR\r\nfunction processIf(node, dir, context, processCodegen) {\r\n    if (dir.name !== 'else' &&\r\n        (!dir.exp || !dir.exp.content.trim())) {\r\n        const loc = dir.exp ? dir.exp.loc : node.loc;\r\n        context.onError(createCompilerError(28 /* X_V_IF_NO_EXPRESSION */, dir.loc));\r\n        dir.exp = createSimpleExpression(`true`, false, loc);\r\n    }\r\n    if ((process.env.NODE_ENV !== 'production') && true && dir.exp) {\r\n        validateBrowserExpression(dir.exp, context);\r\n    }\r\n    if (dir.name === 'if') {\r\n        const branch = createIfBranch(node, dir);\r\n        const ifNode = {\r\n            type: 9 /* IF */,\r\n            loc: node.loc,\r\n            branches: [branch]\r\n        };\r\n        context.replaceNode(ifNode);\r\n        if (processCodegen) {\r\n            return processCodegen(ifNode, branch, true);\r\n        }\r\n    }\r\n    else {\r\n        // locate the adjacent v-if\r\n        const siblings = context.parent.children;\r\n        const comments = [];\r\n        let i = siblings.indexOf(node);\r\n        while (i-- >= -1) {\r\n            const sibling = siblings[i];\r\n            if ((process.env.NODE_ENV !== 'production') && sibling && sibling.type === 3 /* COMMENT */) {\r\n                context.removeNode(sibling);\r\n                comments.unshift(sibling);\r\n                continue;\r\n            }\r\n            if (sibling &&\r\n                sibling.type === 2 /* TEXT */ &&\r\n                !sibling.content.trim().length) {\r\n                context.removeNode(sibling);\r\n                continue;\r\n            }\r\n            if (sibling && sibling.type === 9 /* IF */) {\r\n                // move the node to the if node's branches\r\n                context.removeNode();\r\n                const branch = createIfBranch(node, dir);\r\n                if ((process.env.NODE_ENV !== 'production') &&\r\n                    comments.length &&\r\n                    // #3619 ignore comments if the v-if is direct child of <transition>\r\n                    !(context.parent &&\r\n                        context.parent.type === 1 /* ELEMENT */ &&\r\n                        isBuiltInType(context.parent.tag, 'transition'))) {\r\n                    branch.children = [...comments, ...branch.children];\r\n                }\r\n                // check if user is forcing same key on different branches\r\n                if ((process.env.NODE_ENV !== 'production') || !true) {\r\n                    const key = branch.userKey;\r\n                    if (key) {\r\n                        sibling.branches.forEach(({ userKey }) => {\r\n                            if (isSameKey(userKey, key)) {\r\n                                context.onError(createCompilerError(29 /* X_V_IF_SAME_KEY */, branch.userKey.loc));\r\n                            }\r\n                        });\r\n                    }\r\n                }\r\n                sibling.branches.push(branch);\r\n                const onExit = processCodegen && processCodegen(sibling, branch, false);\r\n                // since the branch was removed, it will not be traversed.\r\n                // make sure to traverse here.\r\n                traverseNode(branch, context);\r\n                // call on exit\r\n                if (onExit)\r\n                    onExit();\r\n                // make sure to reset currentNode after traversal to indicate this\r\n                // node has been removed.\r\n                context.currentNode = null;\r\n            }\r\n            else {\r\n                context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, node.loc));\r\n            }\r\n            break;\r\n        }\r\n    }\r\n}\r\nfunction createIfBranch(node, dir) {\r\n    return {\r\n        type: 10 /* IF_BRANCH */,\r\n        loc: node.loc,\r\n        condition: dir.name === 'else' ? undefined : dir.exp,\r\n        children: node.tagType === 3 /* TEMPLATE */ && !findDir(node, 'for')\r\n            ? node.children\r\n            : [node],\r\n        userKey: findProp(node, `key`)\r\n    };\r\n}\r\nfunction createCodegenNodeForBranch(branch, keyIndex, context) {\r\n    if (branch.condition) {\r\n        return createConditionalExpression(branch.condition, createChildrenCodegenNode(branch, keyIndex, context), \r\n        // make sure to pass in asBlock: true so that the comment node call\r\n        // closes the current block.\r\n        createCallExpression(context.helper(CREATE_COMMENT), [\r\n            (process.env.NODE_ENV !== 'production') ? '\"v-if\"' : '\"\"',\r\n            'true'\r\n        ]));\r\n    }\r\n    else {\r\n        return createChildrenCodegenNode(branch, keyIndex, context);\r\n    }\r\n}\r\nfunction createChildrenCodegenNode(branch, keyIndex, context) {\r\n    const { helper } = context;\r\n    const keyProperty = createObjectProperty(`key`, createSimpleExpression(`${keyIndex}`, false, locStub, 2 /* CAN_HOIST */));\r\n    const { children } = branch;\r\n    const firstChild = children[0];\r\n    const needFragmentWrapper = children.length !== 1 || firstChild.type !== 1 /* ELEMENT */;\r\n    if (needFragmentWrapper) {\r\n        if (children.length === 1 && firstChild.type === 11 /* FOR */) {\r\n            // optimize away nested fragments when child is a ForNode\r\n            const vnodeCall = firstChild.codegenNode;\r\n            injectProp(vnodeCall, keyProperty, context);\r\n            return vnodeCall;\r\n        }\r\n        else {\r\n            let patchFlag = 64 /* STABLE_FRAGMENT */;\r\n            let patchFlagText = PatchFlagNames[64 /* STABLE_FRAGMENT */];\r\n            // check if the fragment actually contains a single valid child with\r\n            // the rest being comments\r\n            if ((process.env.NODE_ENV !== 'production') &&\r\n                children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {\r\n                patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;\r\n                patchFlagText += `, ${PatchFlagNames[2048 /* DEV_ROOT_FRAGMENT */]}`;\r\n            }\r\n            return createVNodeCall(context, helper(FRAGMENT), createObjectExpression([keyProperty]), children, patchFlag + ((process.env.NODE_ENV !== 'production') ? ` /* ${patchFlagText} */` : ``), undefined, undefined, true, false, false /* isComponent */, branch.loc);\r\n        }\r\n    }\r\n    else {\r\n        const ret = firstChild.codegenNode;\r\n        const vnodeCall = getMemoedVNodeCall(ret);\r\n        // Change createVNode to createBlock.\r\n        if (vnodeCall.type === 13 /* VNODE_CALL */) {\r\n            makeBlock(vnodeCall, context);\r\n        }\r\n        // inject branch key\r\n        injectProp(vnodeCall, keyProperty, context);\r\n        return ret;\r\n    }\r\n}\r\nfunction isSameKey(a, b) {\r\n    if (!a || a.type !== b.type) {\r\n        return false;\r\n    }\r\n    if (a.type === 6 /* ATTRIBUTE */) {\r\n        if (a.value.content !== b.value.content) {\r\n            return false;\r\n        }\r\n    }\r\n    else {\r\n        // directive\r\n        const exp = a.exp;\r\n        const branchExp = b.exp;\r\n        if (exp.type !== branchExp.type) {\r\n            return false;\r\n        }\r\n        if (exp.type !== 4 /* SIMPLE_EXPRESSION */ ||\r\n            exp.isStatic !== branchExp.isStatic ||\r\n            exp.content !== branchExp.content) {\r\n            return false;\r\n        }\r\n    }\r\n    return true;\r\n}\r\nfunction getParentCondition(node) {\r\n    while (true) {\r\n        if (node.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {\r\n            if (node.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {\r\n                node = node.alternate;\r\n            }\r\n            else {\r\n                return node;\r\n            }\r\n        }\r\n        else if (node.type === 20 /* JS_CACHE_EXPRESSION */) {\r\n            node = node.value;\r\n        }\r\n    }\r\n}\n\nconst transformFor = createStructuralDirectiveTransform('for', (node, dir, context) => {\r\n    const { helper, removeHelper } = context;\r\n    return processFor(node, dir, context, forNode => {\r\n        // create the loop render function expression now, and add the\r\n        // iterator on exit after all children have been traversed\r\n        const renderExp = createCallExpression(helper(RENDER_LIST), [\r\n            forNode.source\r\n        ]);\r\n        const memo = findDir(node, 'memo');\r\n        const keyProp = findProp(node, `key`);\r\n        const keyExp = keyProp &&\r\n            (keyProp.type === 6 /* ATTRIBUTE */\r\n                ? createSimpleExpression(keyProp.value.content, true)\r\n                : keyProp.exp);\r\n        const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;\r\n        const isStableFragment = forNode.source.type === 4 /* SIMPLE_EXPRESSION */ &&\r\n            forNode.source.constType > 0 /* NOT_CONSTANT */;\r\n        const fragmentFlag = isStableFragment\r\n            ? 64 /* STABLE_FRAGMENT */\r\n            : keyProp\r\n                ? 128 /* KEYED_FRAGMENT */\r\n                : 256 /* UNKEYED_FRAGMENT */;\r\n        forNode.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, renderExp, fragmentFlag +\r\n            ((process.env.NODE_ENV !== 'production') ? ` /* ${PatchFlagNames[fragmentFlag]} */` : ``), undefined, undefined, true /* isBlock */, !isStableFragment /* disableTracking */, false /* isComponent */, node.loc);\r\n        return () => {\r\n            // finish the codegen now that all children have been traversed\r\n            let childBlock;\r\n            const isTemplate = isTemplateNode(node);\r\n            const { children } = forNode;\r\n            // check <template v-for> key placement\r\n            if (((process.env.NODE_ENV !== 'production') || !true) && isTemplate) {\r\n                node.children.some(c => {\r\n                    if (c.type === 1 /* ELEMENT */) {\r\n                        const key = findProp(c, 'key');\r\n                        if (key) {\r\n                            context.onError(createCompilerError(33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */, key.loc));\r\n                            return true;\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            const needFragmentWrapper = children.length !== 1 || children[0].type !== 1 /* ELEMENT */;\r\n            const slotOutlet = isSlotOutlet(node)\r\n                ? node\r\n                : isTemplate &&\r\n                    node.children.length === 1 &&\r\n                    isSlotOutlet(node.children[0])\r\n                    ? node.children[0] // api-extractor somehow fails to infer this\r\n                    : null;\r\n            if (slotOutlet) {\r\n                // <slot v-for=\"...\"> or <template v-for=\"...\"><slot/></template>\r\n                childBlock = slotOutlet.codegenNode;\r\n                if (isTemplate && keyProperty) {\r\n                    // <template v-for=\"...\" :key=\"...\"><slot/></template>\r\n                    // we need to inject the key to the renderSlot() call.\r\n                    // the props for renderSlot is passed as the 3rd argument.\r\n                    injectProp(childBlock, keyProperty, context);\r\n                }\r\n            }\r\n            else if (needFragmentWrapper) {\r\n                // <template v-for=\"...\"> with text or multi-elements\r\n                // should generate a fragment block for each loop\r\n                childBlock = createVNodeCall(context, helper(FRAGMENT), keyProperty ? createObjectExpression([keyProperty]) : undefined, node.children, 64 /* STABLE_FRAGMENT */ +\r\n                    ((process.env.NODE_ENV !== 'production')\r\n                        ? ` /* ${PatchFlagNames[64 /* STABLE_FRAGMENT */]} */`\r\n                        : ``), undefined, undefined, true, undefined, false /* isComponent */);\r\n            }\r\n            else {\r\n                // Normal element v-for. Directly use the child's codegenNode\r\n                // but mark it as a block.\r\n                childBlock = children[0]\r\n                    .codegenNode;\r\n                if (isTemplate && keyProperty) {\r\n                    injectProp(childBlock, keyProperty, context);\r\n                }\r\n                if (childBlock.isBlock !== !isStableFragment) {\r\n                    if (childBlock.isBlock) {\r\n                        // switch from block to vnode\r\n                        removeHelper(OPEN_BLOCK);\r\n                        removeHelper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));\r\n                    }\r\n                    else {\r\n                        // switch from vnode to block\r\n                        removeHelper(getVNodeHelper(context.inSSR, childBlock.isComponent));\r\n                    }\r\n                }\r\n                childBlock.isBlock = !isStableFragment;\r\n                if (childBlock.isBlock) {\r\n                    helper(OPEN_BLOCK);\r\n                    helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));\r\n                }\r\n                else {\r\n                    helper(getVNodeHelper(context.inSSR, childBlock.isComponent));\r\n                }\r\n            }\r\n            if (memo) {\r\n                const loop = createFunctionExpression(createForLoopParams(forNode.parseResult, [\r\n                    createSimpleExpression(`_cached`)\r\n                ]));\r\n                loop.body = createBlockStatement([\r\n                    createCompoundExpression([`const _memo = (`, memo.exp, `)`]),\r\n                    createCompoundExpression([\r\n                        `if (_cached`,\r\n                        ...(keyExp ? [` && _cached.key === `, keyExp] : []),\r\n                        ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`\r\n                    ]),\r\n                    createCompoundExpression([`const _item = `, childBlock]),\r\n                    createSimpleExpression(`_item.memo = _memo`),\r\n                    createSimpleExpression(`return _item`)\r\n                ]);\r\n                renderExp.arguments.push(loop, createSimpleExpression(`_cache`), createSimpleExpression(String(context.cached++)));\r\n            }\r\n            else {\r\n                renderExp.arguments.push(createFunctionExpression(createForLoopParams(forNode.parseResult), childBlock, true /* force newline */));\r\n            }\r\n        };\r\n    });\r\n});\r\n// target-agnostic transform used for both Client and SSR\r\nfunction processFor(node, dir, context, processCodegen) {\r\n    if (!dir.exp) {\r\n        context.onError(createCompilerError(31 /* X_V_FOR_NO_EXPRESSION */, dir.loc));\r\n        return;\r\n    }\r\n    const parseResult = parseForExpression(\r\n    // can only be simple expression because vFor transform is applied\r\n    // before expression transform.\r\n    dir.exp, context);\r\n    if (!parseResult) {\r\n        context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, dir.loc));\r\n        return;\r\n    }\r\n    const { addIdentifiers, removeIdentifiers, scopes } = context;\r\n    const { source, value, key, index } = parseResult;\r\n    const forNode = {\r\n        type: 11 /* FOR */,\r\n        loc: dir.loc,\r\n        source,\r\n        valueAlias: value,\r\n        keyAlias: key,\r\n        objectIndexAlias: index,\r\n        parseResult,\r\n        children: isTemplateNode(node) ? node.children : [node]\r\n    };\r\n    context.replaceNode(forNode);\r\n    // bookkeeping\r\n    scopes.vFor++;\r\n    const onExit = processCodegen && processCodegen(forNode);\r\n    return () => {\r\n        scopes.vFor--;\r\n        if (onExit)\r\n            onExit();\r\n    };\r\n}\r\nconst forAliasRE = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/;\r\n// This regex doesn't cover the case if key or index aliases have destructuring,\r\n// but those do not make sense in the first place, so this works in practice.\r\nconst forIteratorRE = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/;\r\nconst stripParensRE = /^\\(|\\)$/g;\r\nfunction parseForExpression(input, context) {\r\n    const loc = input.loc;\r\n    const exp = input.content;\r\n    const inMatch = exp.match(forAliasRE);\r\n    if (!inMatch)\r\n        return;\r\n    const [, LHS, RHS] = inMatch;\r\n    const result = {\r\n        source: createAliasExpression(loc, RHS.trim(), exp.indexOf(RHS, LHS.length)),\r\n        value: undefined,\r\n        key: undefined,\r\n        index: undefined\r\n    };\r\n    if ((process.env.NODE_ENV !== 'production') && true) {\r\n        validateBrowserExpression(result.source, context);\r\n    }\r\n    let valueContent = LHS.trim().replace(stripParensRE, '').trim();\r\n    const trimmedOffset = LHS.indexOf(valueContent);\r\n    const iteratorMatch = valueContent.match(forIteratorRE);\r\n    if (iteratorMatch) {\r\n        valueContent = valueContent.replace(forIteratorRE, '').trim();\r\n        const keyContent = iteratorMatch[1].trim();\r\n        let keyOffset;\r\n        if (keyContent) {\r\n            keyOffset = exp.indexOf(keyContent, trimmedOffset + valueContent.length);\r\n            result.key = createAliasExpression(loc, keyContent, keyOffset);\r\n            if ((process.env.NODE_ENV !== 'production') && true) {\r\n                validateBrowserExpression(result.key, context, true);\r\n            }\r\n        }\r\n        if (iteratorMatch[2]) {\r\n            const indexContent = iteratorMatch[2].trim();\r\n            if (indexContent) {\r\n                result.index = createAliasExpression(loc, indexContent, exp.indexOf(indexContent, result.key\r\n                    ? keyOffset + keyContent.length\r\n                    : trimmedOffset + valueContent.length));\r\n                if ((process.env.NODE_ENV !== 'production') && true) {\r\n                    validateBrowserExpression(result.index, context, true);\r\n                }\r\n            }\r\n        }\r\n    }\r\n    if (valueContent) {\r\n        result.value = createAliasExpression(loc, valueContent, trimmedOffset);\r\n        if ((process.env.NODE_ENV !== 'production') && true) {\r\n            validateBrowserExpression(result.value, context, true);\r\n        }\r\n    }\r\n    return result;\r\n}\r\nfunction createAliasExpression(range, content, offset) {\r\n    return createSimpleExpression(content, false, getInnerRange(range, offset, content.length));\r\n}\r\nfunction createForLoopParams({ value, key, index }, memoArgs = []) {\r\n    return createParamsList([value, key, index, ...memoArgs]);\r\n}\r\nfunction createParamsList(args) {\r\n    let i = args.length;\r\n    while (i--) {\r\n        if (args[i])\r\n            break;\r\n    }\r\n    return args\r\n        .slice(0, i + 1)\r\n        .map((arg, i) => arg || createSimpleExpression(`_`.repeat(i + 1), false));\r\n}\n\nconst defaultFallback = createSimpleExpression(`undefined`, false);\r\n// A NodeTransform that:\r\n// 1. Tracks scope identifiers for scoped slots so that they don't get prefixed\r\n//    by transformExpression. This is only applied in non-browser builds with\r\n//    { prefixIdentifiers: true }.\r\n// 2. Track v-slot depths so that we know a slot is inside another slot.\r\n//    Note the exit callback is executed before buildSlots() on the same node,\r\n//    so only nested slots see positive numbers.\r\nconst trackSlotScopes = (node, context) => {\r\n    if (node.type === 1 /* ELEMENT */ &&\r\n        (node.tagType === 1 /* COMPONENT */ ||\r\n            node.tagType === 3 /* TEMPLATE */)) {\r\n        // We are only checking non-empty v-slot here\r\n        // since we only care about slots that introduce scope variables.\r\n        const vSlot = findDir(node, 'slot');\r\n        if (vSlot) {\r\n            vSlot.exp;\r\n            context.scopes.vSlot++;\r\n            return () => {\r\n                context.scopes.vSlot--;\r\n            };\r\n        }\r\n    }\r\n};\r\n// A NodeTransform that tracks scope identifiers for scoped slots with v-for.\r\n// This transform is only applied in non-browser builds with { prefixIdentifiers: true }\r\nconst trackVForSlotScopes = (node, context) => {\r\n    let vFor;\r\n    if (isTemplateNode(node) &&\r\n        node.props.some(isVSlot) &&\r\n        (vFor = findDir(node, 'for'))) {\r\n        const result = (vFor.parseResult = parseForExpression(vFor.exp, context));\r\n        if (result) {\r\n            const { value, key, index } = result;\r\n            const { addIdentifiers, removeIdentifiers } = context;\r\n            value && addIdentifiers(value);\r\n            key && addIdentifiers(key);\r\n            index && addIdentifiers(index);\r\n            return () => {\r\n                value && removeIdentifiers(value);\r\n                key && removeIdentifiers(key);\r\n                index && removeIdentifiers(index);\r\n            };\r\n        }\r\n    }\r\n};\r\nconst buildClientSlotFn = (props, children, loc) => createFunctionExpression(props, children, false /* newline */, true /* isSlot */, children.length ? children[0].loc : loc);\r\n// Instead of being a DirectiveTransform, v-slot processing is called during\r\n// transformElement to build the slots object for a component.\r\nfunction buildSlots(node, context, buildSlotFn = buildClientSlotFn) {\r\n    context.helper(WITH_CTX);\r\n    const { children, loc } = node;\r\n    const slotsProperties = [];\r\n    const dynamicSlots = [];\r\n    // If the slot is inside a v-for or another v-slot, force it to be dynamic\r\n    // since it likely uses a scope variable.\r\n    let hasDynamicSlots = context.scopes.vSlot > 0 || context.scopes.vFor > 0;\r\n    // 1. Check for slot with slotProps on component itself.\r\n    //    <Comp v-slot=\"{ prop }\"/>\r\n    const onComponentSlot = findDir(node, 'slot', true);\r\n    if (onComponentSlot) {\r\n        const { arg, exp } = onComponentSlot;\r\n        if (arg && !isStaticExp(arg)) {\r\n            hasDynamicSlots = true;\r\n        }\r\n        slotsProperties.push(createObjectProperty(arg || createSimpleExpression('default', true), buildSlotFn(exp, children, loc)));\r\n    }\r\n    // 2. Iterate through children and check for template slots\r\n    //    <template v-slot:foo=\"{ prop }\">\r\n    let hasTemplateSlots = false;\r\n    let hasNamedDefaultSlot = false;\r\n    const implicitDefaultChildren = [];\r\n    const seenSlotNames = new Set();\r\n    for (let i = 0; i < children.length; i++) {\r\n        const slotElement = children[i];\r\n        let slotDir;\r\n        if (!isTemplateNode(slotElement) ||\r\n            !(slotDir = findDir(slotElement, 'slot', true))) {\r\n            // not a <template v-slot>, skip.\r\n            if (slotElement.type !== 3 /* COMMENT */) {\r\n                implicitDefaultChildren.push(slotElement);\r\n            }\r\n            continue;\r\n        }\r\n        if (onComponentSlot) {\r\n            // already has on-component slot - this is incorrect usage.\r\n            context.onError(createCompilerError(37 /* X_V_SLOT_MIXED_SLOT_USAGE */, slotDir.loc));\r\n            break;\r\n        }\r\n        hasTemplateSlots = true;\r\n        const { children: slotChildren, loc: slotLoc } = slotElement;\r\n        const { arg: slotName = createSimpleExpression(`default`, true), exp: slotProps, loc: dirLoc } = slotDir;\r\n        // check if name is dynamic.\r\n        let staticSlotName;\r\n        if (isStaticExp(slotName)) {\r\n            staticSlotName = slotName ? slotName.content : `default`;\r\n        }\r\n        else {\r\n            hasDynamicSlots = true;\r\n        }\r\n        const slotFunction = buildSlotFn(slotProps, slotChildren, slotLoc);\r\n        // check if this slot is conditional (v-if/v-for)\r\n        let vIf;\r\n        let vElse;\r\n        let vFor;\r\n        if ((vIf = findDir(slotElement, 'if'))) {\r\n            hasDynamicSlots = true;\r\n            dynamicSlots.push(createConditionalExpression(vIf.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback));\r\n        }\r\n        else if ((vElse = findDir(slotElement, /^else(-if)?$/, true /* allowEmpty */))) {\r\n            // find adjacent v-if\r\n            let j = i;\r\n            let prev;\r\n            while (j--) {\r\n                prev = children[j];\r\n                if (prev.type !== 3 /* COMMENT */) {\r\n                    break;\r\n                }\r\n            }\r\n            if (prev && isTemplateNode(prev) && findDir(prev, 'if')) {\r\n                // remove node\r\n                children.splice(i, 1);\r\n                i--;\r\n                // attach this slot to previous conditional\r\n                let conditional = dynamicSlots[dynamicSlots.length - 1];\r\n                while (conditional.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {\r\n                    conditional = conditional.alternate;\r\n                }\r\n                conditional.alternate = vElse.exp\r\n                    ? createConditionalExpression(vElse.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback)\r\n                    : buildDynamicSlot(slotName, slotFunction);\r\n            }\r\n            else {\r\n                context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, vElse.loc));\r\n            }\r\n        }\r\n        else if ((vFor = findDir(slotElement, 'for'))) {\r\n            hasDynamicSlots = true;\r\n            const parseResult = vFor.parseResult ||\r\n                parseForExpression(vFor.exp, context);\r\n            if (parseResult) {\r\n                // Render the dynamic slots as an array and add it to the createSlot()\r\n                // args. The runtime knows how to handle it appropriately.\r\n                dynamicSlots.push(createCallExpression(context.helper(RENDER_LIST), [\r\n                    parseResult.source,\r\n                    createFunctionExpression(createForLoopParams(parseResult), buildDynamicSlot(slotName, slotFunction), true /* force newline */)\r\n                ]));\r\n            }\r\n            else {\r\n                context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, vFor.loc));\r\n            }\r\n        }\r\n        else {\r\n            // check duplicate static names\r\n            if (staticSlotName) {\r\n                if (seenSlotNames.has(staticSlotName)) {\r\n                    context.onError(createCompilerError(38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */, dirLoc));\r\n                    continue;\r\n                }\r\n                seenSlotNames.add(staticSlotName);\r\n                if (staticSlotName === 'default') {\r\n                    hasNamedDefaultSlot = true;\r\n                }\r\n            }\r\n            slotsProperties.push(createObjectProperty(slotName, slotFunction));\r\n        }\r\n    }\r\n    if (!onComponentSlot) {\r\n        const buildDefaultSlotProperty = (props, children) => {\r\n            const fn = buildSlotFn(props, children, loc);\r\n            if (context.compatConfig) {\r\n                fn.isNonScopedSlot = true;\r\n            }\r\n            return createObjectProperty(`default`, fn);\r\n        };\r\n        if (!hasTemplateSlots) {\r\n            // implicit default slot (on component)\r\n            slotsProperties.push(buildDefaultSlotProperty(undefined, children));\r\n        }\r\n        else if (implicitDefaultChildren.length &&\r\n            // #3766\r\n            // with whitespace: 'preserve', whitespaces between slots will end up in\r\n            // implicitDefaultChildren. Ignore if all implicit children are whitespaces.\r\n            implicitDefaultChildren.some(node => isNonWhitespaceContent(node))) {\r\n            // implicit default slot (mixed with named slots)\r\n            if (hasNamedDefaultSlot) {\r\n                context.onError(createCompilerError(39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */, implicitDefaultChildren[0].loc));\r\n            }\r\n            else {\r\n                slotsProperties.push(buildDefaultSlotProperty(undefined, implicitDefaultChildren));\r\n            }\r\n        }\r\n    }\r\n    const slotFlag = hasDynamicSlots\r\n        ? 2 /* DYNAMIC */\r\n        : hasForwardedSlots(node.children)\r\n            ? 3 /* FORWARDED */\r\n            : 1 /* STABLE */;\r\n    let slots = createObjectExpression(slotsProperties.concat(createObjectProperty(`_`, \r\n    // 2 = compiled but dynamic = can skip normalization, but must run diff\r\n    // 1 = compiled and static = can skip normalization AND diff as optimized\r\n    createSimpleExpression(slotFlag + ((process.env.NODE_ENV !== 'production') ? ` /* ${slotFlagsText[slotFlag]} */` : ``), false))), loc);\r\n    if (dynamicSlots.length) {\r\n        slots = createCallExpression(context.helper(CREATE_SLOTS), [\r\n            slots,\r\n            createArrayExpression(dynamicSlots)\r\n        ]);\r\n    }\r\n    return {\r\n        slots,\r\n        hasDynamicSlots\r\n    };\r\n}\r\nfunction buildDynamicSlot(name, fn) {\r\n    return createObjectExpression([\r\n        createObjectProperty(`name`, name),\r\n        createObjectProperty(`fn`, fn)\r\n    ]);\r\n}\r\nfunction hasForwardedSlots(children) {\r\n    for (let i = 0; i < children.length; i++) {\r\n        const child = children[i];\r\n        switch (child.type) {\r\n            case 1 /* ELEMENT */:\r\n                if (child.tagType === 2 /* SLOT */ ||\r\n                    hasForwardedSlots(child.children)) {\r\n                    return true;\r\n                }\r\n                break;\r\n            case 9 /* IF */:\r\n                if (hasForwardedSlots(child.branches))\r\n                    return true;\r\n                break;\r\n            case 10 /* IF_BRANCH */:\r\n            case 11 /* FOR */:\r\n                if (hasForwardedSlots(child.children))\r\n                    return true;\r\n                break;\r\n        }\r\n    }\r\n    return false;\r\n}\r\nfunction isNonWhitespaceContent(node) {\r\n    if (node.type !== 2 /* TEXT */ && node.type !== 12 /* TEXT_CALL */)\r\n        return true;\r\n    return node.type === 2 /* TEXT */\r\n        ? !!node.content.trim()\r\n        : isNonWhitespaceContent(node.content);\r\n}\n\n// some directive transforms (e.g. v-model) may return a symbol for runtime\r\n// import, which should be used instead of a resolveDirective call.\r\nconst directiveImportMap = new WeakMap();\r\n// generate a JavaScript AST for this element's codegen\r\nconst transformElement = (node, context) => {\r\n    // perform the work on exit, after all child expressions have been\r\n    // processed and merged.\r\n    return function postTransformElement() {\r\n        node = context.currentNode;\r\n        if (!(node.type === 1 /* ELEMENT */ &&\r\n            (node.tagType === 0 /* ELEMENT */ ||\r\n                node.tagType === 1 /* COMPONENT */))) {\r\n            return;\r\n        }\r\n        const { tag, props } = node;\r\n        const isComponent = node.tagType === 1 /* COMPONENT */;\r\n        // The goal of the transform is to create a codegenNode implementing the\r\n        // VNodeCall interface.\r\n        let vnodeTag = isComponent\r\n            ? resolveComponentType(node, context)\r\n            : `\"${tag}\"`;\r\n        const isDynamicComponent = isObject(vnodeTag) && vnodeTag.callee === RESOLVE_DYNAMIC_COMPONENT;\r\n        let vnodeProps;\r\n        let vnodeChildren;\r\n        let vnodePatchFlag;\r\n        let patchFlag = 0;\r\n        let vnodeDynamicProps;\r\n        let dynamicPropNames;\r\n        let vnodeDirectives;\r\n        let shouldUseBlock = \r\n        // dynamic component may resolve to plain elements\r\n        isDynamicComponent ||\r\n            vnodeTag === TELEPORT ||\r\n            vnodeTag === SUSPENSE ||\r\n            (!isComponent &&\r\n                // <svg> and <foreignObject> must be forced into blocks so that block\r\n                // updates inside get proper isSVG flag at runtime. (#639, #643)\r\n                // This is technically web-specific, but splitting the logic out of core\r\n                // leads to too much unnecessary complexity.\r\n                (tag === 'svg' ||\r\n                    tag === 'foreignObject' ||\r\n                    // #938: elements with dynamic keys should be forced into blocks\r\n                    findProp(node, 'key', true)));\r\n        // props\r\n        if (props.length > 0) {\r\n            const propsBuildResult = buildProps(node, context);\r\n            vnodeProps = propsBuildResult.props;\r\n            patchFlag = propsBuildResult.patchFlag;\r\n            dynamicPropNames = propsBuildResult.dynamicPropNames;\r\n            const directives = propsBuildResult.directives;\r\n            vnodeDirectives =\r\n                directives && directives.length\r\n                    ? createArrayExpression(directives.map(dir => buildDirectiveArgs(dir, context)))\r\n                    : undefined;\r\n        }\r\n        // children\r\n        if (node.children.length > 0) {\r\n            if (vnodeTag === KEEP_ALIVE) {\r\n                // Although a built-in component, we compile KeepAlive with raw children\r\n                // instead of slot functions so that it can be used inside Transition\r\n                // or other Transition-wrapping HOCs.\r\n                // To ensure correct updates with block optimizations, we need to:\r\n                // 1. Force keep-alive into a block. This avoids its children being\r\n                //    collected by a parent block.\r\n                shouldUseBlock = true;\r\n                // 2. Force keep-alive to always be updated, since it uses raw children.\r\n                patchFlag |= 1024 /* DYNAMIC_SLOTS */;\r\n                if ((process.env.NODE_ENV !== 'production') && node.children.length > 1) {\r\n                    context.onError(createCompilerError(45 /* X_KEEP_ALIVE_INVALID_CHILDREN */, {\r\n                        start: node.children[0].loc.start,\r\n                        end: node.children[node.children.length - 1].loc.end,\r\n                        source: ''\r\n                    }));\r\n                }\r\n            }\r\n            const shouldBuildAsSlots = isComponent &&\r\n                // Teleport is not a real component and has dedicated runtime handling\r\n                vnodeTag !== TELEPORT &&\r\n                // explained above.\r\n                vnodeTag !== KEEP_ALIVE;\r\n            if (shouldBuildAsSlots) {\r\n                const { slots, hasDynamicSlots } = buildSlots(node, context);\r\n                vnodeChildren = slots;\r\n                if (hasDynamicSlots) {\r\n                    patchFlag |= 1024 /* DYNAMIC_SLOTS */;\r\n                }\r\n            }\r\n            else if (node.children.length === 1 && vnodeTag !== TELEPORT) {\r\n                const child = node.children[0];\r\n                const type = child.type;\r\n                // check for dynamic text children\r\n                const hasDynamicTextChild = type === 5 /* INTERPOLATION */ ||\r\n                    type === 8 /* COMPOUND_EXPRESSION */;\r\n                if (hasDynamicTextChild &&\r\n                    getConstantType(child, context) === 0 /* NOT_CONSTANT */) {\r\n                    patchFlag |= 1 /* TEXT */;\r\n                }\r\n                // pass directly if the only child is a text node\r\n                // (plain / interpolation / expression)\r\n                if (hasDynamicTextChild || type === 2 /* TEXT */) {\r\n                    vnodeChildren = child;\r\n                }\r\n                else {\r\n                    vnodeChildren = node.children;\r\n                }\r\n            }\r\n            else {\r\n                vnodeChildren = node.children;\r\n            }\r\n        }\r\n        // patchFlag & dynamicPropNames\r\n        if (patchFlag !== 0) {\r\n            if ((process.env.NODE_ENV !== 'production')) {\r\n                if (patchFlag < 0) {\r\n                    // special flags (negative and mutually exclusive)\r\n                    vnodePatchFlag = patchFlag + ` /* ${PatchFlagNames[patchFlag]} */`;\r\n                }\r\n                else {\r\n                    // bitwise flags\r\n                    const flagNames = Object.keys(PatchFlagNames)\r\n                        .map(Number)\r\n                        .filter(n => n > 0 && patchFlag & n)\r\n                        .map(n => PatchFlagNames[n])\r\n                        .join(`, `);\r\n                    vnodePatchFlag = patchFlag + ` /* ${flagNames} */`;\r\n                }\r\n            }\r\n            else {\r\n                vnodePatchFlag = String(patchFlag);\r\n            }\r\n            if (dynamicPropNames && dynamicPropNames.length) {\r\n                vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);\r\n            }\r\n        }\r\n        node.codegenNode = createVNodeCall(context, vnodeTag, vnodeProps, vnodeChildren, vnodePatchFlag, vnodeDynamicProps, vnodeDirectives, !!shouldUseBlock, false /* disableTracking */, isComponent, node.loc);\r\n    };\r\n};\r\nfunction resolveComponentType(node, context, ssr = false) {\r\n    let { tag } = node;\r\n    // 1. dynamic component\r\n    const isExplicitDynamic = isComponentTag(tag);\r\n    const isProp = findProp(node, 'is');\r\n    if (isProp) {\r\n        if (isExplicitDynamic ||\r\n            (isCompatEnabled(\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */, context))) {\r\n            const exp = isProp.type === 6 /* ATTRIBUTE */\r\n                ? isProp.value && createSimpleExpression(isProp.value.content, true)\r\n                : isProp.exp;\r\n            if (exp) {\r\n                return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [\r\n                    exp\r\n                ]);\r\n            }\r\n        }\r\n        else if (isProp.type === 6 /* ATTRIBUTE */ &&\r\n            isProp.value.content.startsWith('vue:')) {\r\n            // <button is=\"vue:xxx\">\r\n            // if not <component>, only is value that starts with \"vue:\" will be\r\n            // treated as component by the parse phase and reach here, unless it's\r\n            // compat mode where all is values are considered components\r\n            tag = isProp.value.content.slice(4);\r\n        }\r\n    }\r\n    // 1.5 v-is (TODO: Deprecate)\r\n    const isDir = !isExplicitDynamic && findDir(node, 'is');\r\n    if (isDir && isDir.exp) {\r\n        return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [\r\n            isDir.exp\r\n        ]);\r\n    }\r\n    // 2. built-in components (Teleport, Transition, KeepAlive, Suspense...)\r\n    const builtIn = isCoreComponent(tag) || context.isBuiltInComponent(tag);\r\n    if (builtIn) {\r\n        // built-ins are simply fallthroughs / have special handling during ssr\r\n        // so we don't need to import their runtime equivalents\r\n        if (!ssr)\r\n            context.helper(builtIn);\r\n        return builtIn;\r\n    }\r\n    // 5. user component (resolve)\r\n    context.helper(RESOLVE_COMPONENT);\r\n    context.components.add(tag);\r\n    return toValidAssetId(tag, `component`);\r\n}\r\nfunction buildProps(node, context, props = node.props, ssr = false) {\r\n    const { tag, loc: elementLoc } = node;\r\n    const isComponent = node.tagType === 1 /* COMPONENT */;\r\n    let properties = [];\r\n    const mergeArgs = [];\r\n    const runtimeDirectives = [];\r\n    // patchFlag analysis\r\n    let patchFlag = 0;\r\n    let hasRef = false;\r\n    let hasClassBinding = false;\r\n    let hasStyleBinding = false;\r\n    let hasHydrationEventBinding = false;\r\n    let hasDynamicKeys = false;\r\n    let hasVnodeHook = false;\r\n    const dynamicPropNames = [];\r\n    const analyzePatchFlag = ({ key, value }) => {\r\n        if (isStaticExp(key)) {\r\n            const name = key.content;\r\n            const isEventHandler = isOn(name);\r\n            if (!isComponent &&\r\n                isEventHandler &&\r\n                // omit the flag for click handlers because hydration gives click\r\n                // dedicated fast path.\r\n                name.toLowerCase() !== 'onclick' &&\r\n                // omit v-model handlers\r\n                name !== 'onUpdate:modelValue' &&\r\n                // omit onVnodeXXX hooks\r\n                !isReservedProp(name)) {\r\n                hasHydrationEventBinding = true;\r\n            }\r\n            if (isEventHandler && isReservedProp(name)) {\r\n                hasVnodeHook = true;\r\n            }\r\n            if (value.type === 20 /* JS_CACHE_EXPRESSION */ ||\r\n                ((value.type === 4 /* SIMPLE_EXPRESSION */ ||\r\n                    value.type === 8 /* COMPOUND_EXPRESSION */) &&\r\n                    getConstantType(value, context) > 0)) {\r\n                // skip if the prop is a cached handler or has constant value\r\n                return;\r\n            }\r\n            if (name === 'ref') {\r\n                hasRef = true;\r\n            }\r\n            else if (name === 'class') {\r\n                hasClassBinding = true;\r\n            }\r\n            else if (name === 'style') {\r\n                hasStyleBinding = true;\r\n            }\r\n            else if (name !== 'key' && !dynamicPropNames.includes(name)) {\r\n                dynamicPropNames.push(name);\r\n            }\r\n            // treat the dynamic class and style binding of the component as dynamic props\r\n            if (isComponent &&\r\n                (name === 'class' || name === 'style') &&\r\n                !dynamicPropNames.includes(name)) {\r\n                dynamicPropNames.push(name);\r\n            }\r\n        }\r\n        else {\r\n            hasDynamicKeys = true;\r\n        }\r\n    };\r\n    for (let i = 0; i < props.length; i++) {\r\n        // static attribute\r\n        const prop = props[i];\r\n        if (prop.type === 6 /* ATTRIBUTE */) {\r\n            const { loc, name, value } = prop;\r\n            let valueNode = createSimpleExpression(value ? value.content : '', true, value ? value.loc : loc);\r\n            if (name === 'ref') {\r\n                hasRef = true;\r\n            }\r\n            // skip is on <component>, or is=\"vue:xxx\"\r\n            if (name === 'is' &&\r\n                (isComponentTag(tag) ||\r\n                    (value && value.content.startsWith('vue:')) ||\r\n                    (isCompatEnabled(\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */, context)))) {\r\n                continue;\r\n            }\r\n            properties.push(createObjectProperty(createSimpleExpression(name, true, getInnerRange(loc, 0, name.length)), valueNode));\r\n        }\r\n        else {\r\n            // directives\r\n            const { name, arg, exp, loc } = prop;\r\n            const isVBind = name === 'bind';\r\n            const isVOn = name === 'on';\r\n            // skip v-slot - it is handled by its dedicated transform.\r\n            if (name === 'slot') {\r\n                if (!isComponent) {\r\n                    context.onError(createCompilerError(40 /* X_V_SLOT_MISPLACED */, loc));\r\n                }\r\n                continue;\r\n            }\r\n            // skip v-once/v-memo - they are handled by dedicated transforms.\r\n            if (name === 'once' || name === 'memo') {\r\n                continue;\r\n            }\r\n            // skip v-is and :is on <component>\r\n            if (name === 'is' ||\r\n                (isVBind &&\r\n                    isBindKey(arg, 'is') &&\r\n                    (isComponentTag(tag) ||\r\n                        (isCompatEnabled(\"COMPILER_IS_ON_ELEMENT\" /* COMPILER_IS_ON_ELEMENT */, context))))) {\r\n                continue;\r\n            }\r\n            // skip v-on in SSR compilation\r\n            if (isVOn && ssr) {\r\n                continue;\r\n            }\r\n            // special case for v-bind and v-on with no argument\r\n            if (!arg && (isVBind || isVOn)) {\r\n                hasDynamicKeys = true;\r\n                if (exp) {\r\n                    if (properties.length) {\r\n                        mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));\r\n                        properties = [];\r\n                    }\r\n                    if (isVBind) {\r\n                        {\r\n                            // 2.x v-bind object order compat\r\n                            if ((process.env.NODE_ENV !== 'production')) {\r\n                                const hasOverridableKeys = mergeArgs.some(arg => {\r\n                                    if (arg.type === 15 /* JS_OBJECT_EXPRESSION */) {\r\n                                        return arg.properties.some(({ key }) => {\r\n                                            if (key.type !== 4 /* SIMPLE_EXPRESSION */ ||\r\n                                                !key.isStatic) {\r\n                                                return true;\r\n                                            }\r\n                                            return (key.content !== 'class' &&\r\n                                                key.content !== 'style' &&\r\n                                                !isOn(key.content));\r\n                                        });\r\n                                    }\r\n                                    else {\r\n                                        // dynamic expression\r\n                                        return true;\r\n                                    }\r\n                                });\r\n                                if (hasOverridableKeys) {\r\n                                    checkCompatEnabled(\"COMPILER_V_BIND_OBJECT_ORDER\" /* COMPILER_V_BIND_OBJECT_ORDER */, context, loc);\r\n                                }\r\n                            }\r\n                            if (isCompatEnabled(\"COMPILER_V_BIND_OBJECT_ORDER\" /* COMPILER_V_BIND_OBJECT_ORDER */, context)) {\r\n                                mergeArgs.unshift(exp);\r\n                                continue;\r\n                            }\r\n                        }\r\n                        mergeArgs.push(exp);\r\n                    }\r\n                    else {\r\n                        // v-on=\"obj\" -> toHandlers(obj)\r\n                        mergeArgs.push({\r\n                            type: 14 /* JS_CALL_EXPRESSION */,\r\n                            loc,\r\n                            callee: context.helper(TO_HANDLERS),\r\n                            arguments: [exp]\r\n                        });\r\n                    }\r\n                }\r\n                else {\r\n                    context.onError(createCompilerError(isVBind\r\n                        ? 34 /* X_V_BIND_NO_EXPRESSION */\r\n                        : 35 /* X_V_ON_NO_EXPRESSION */, loc));\r\n                }\r\n                continue;\r\n            }\r\n            const directiveTransform = context.directiveTransforms[name];\r\n            if (directiveTransform) {\r\n                // has built-in directive transform.\r\n                const { props, needRuntime } = directiveTransform(prop, node, context);\r\n                !ssr && props.forEach(analyzePatchFlag);\r\n                properties.push(...props);\r\n                if (needRuntime) {\r\n                    runtimeDirectives.push(prop);\r\n                    if (isSymbol(needRuntime)) {\r\n                        directiveImportMap.set(prop, needRuntime);\r\n                    }\r\n                }\r\n            }\r\n            else {\r\n                // no built-in transform, this is a user custom directive.\r\n                runtimeDirectives.push(prop);\r\n            }\r\n        }\r\n        if (prop.type === 6 /* ATTRIBUTE */ &&\r\n            prop.name === 'ref' &&\r\n            context.scopes.vFor > 0 &&\r\n            checkCompatEnabled(\"COMPILER_V_FOR_REF\" /* COMPILER_V_FOR_REF */, context, prop.loc)) {\r\n            properties.push(createObjectProperty(createSimpleExpression('refInFor', true), createSimpleExpression('true', false)));\r\n        }\r\n    }\r\n    let propsExpression = undefined;\r\n    // has v-bind=\"object\" or v-on=\"object\", wrap with mergeProps\r\n    if (mergeArgs.length) {\r\n        if (properties.length) {\r\n            mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));\r\n        }\r\n        if (mergeArgs.length > 1) {\r\n            propsExpression = createCallExpression(context.helper(MERGE_PROPS), mergeArgs, elementLoc);\r\n        }\r\n        else {\r\n            // single v-bind with nothing else - no need for a mergeProps call\r\n            propsExpression = mergeArgs[0];\r\n        }\r\n    }\r\n    else if (properties.length) {\r\n        propsExpression = createObjectExpression(dedupeProperties(properties), elementLoc);\r\n    }\r\n    // patchFlag analysis\r\n    if (hasDynamicKeys) {\r\n        patchFlag |= 16 /* FULL_PROPS */;\r\n    }\r\n    else {\r\n        if (hasClassBinding && !isComponent) {\r\n            patchFlag |= 2 /* CLASS */;\r\n        }\r\n        if (hasStyleBinding && !isComponent) {\r\n            patchFlag |= 4 /* STYLE */;\r\n        }\r\n        if (dynamicPropNames.length) {\r\n            patchFlag |= 8 /* PROPS */;\r\n        }\r\n        if (hasHydrationEventBinding) {\r\n            patchFlag |= 32 /* HYDRATE_EVENTS */;\r\n        }\r\n    }\r\n    if ((patchFlag === 0 || patchFlag === 32 /* HYDRATE_EVENTS */) &&\r\n        (hasRef || hasVnodeHook || runtimeDirectives.length > 0)) {\r\n        patchFlag |= 512 /* NEED_PATCH */;\r\n    }\r\n    // pre-normalize props, SSR is skipped for now\r\n    if (!context.inSSR && propsExpression) {\r\n        switch (propsExpression.type) {\r\n            case 15 /* JS_OBJECT_EXPRESSION */:\r\n                // means that there is no v-bind,\r\n                // but still need to deal with dynamic key binding\r\n                let classKeyIndex = -1;\r\n                let styleKeyIndex = -1;\r\n                let hasDynamicKey = false;\r\n                for (let i = 0; i < propsExpression.properties.length; i++) {\r\n                    const key = propsExpression.properties[i].key;\r\n                    if (isStaticExp(key)) {\r\n                        if (key.content === 'class') {\r\n                            classKeyIndex = i;\r\n                        }\r\n                        else if (key.content === 'style') {\r\n                            styleKeyIndex = i;\r\n                        }\r\n                    }\r\n                    else if (!key.isHandlerKey) {\r\n                        hasDynamicKey = true;\r\n                    }\r\n                }\r\n                const classProp = propsExpression.properties[classKeyIndex];\r\n                const styleProp = propsExpression.properties[styleKeyIndex];\r\n                // no dynamic key\r\n                if (!hasDynamicKey) {\r\n                    if (classProp && !isStaticExp(classProp.value)) {\r\n                        classProp.value = createCallExpression(context.helper(NORMALIZE_CLASS), [classProp.value]);\r\n                    }\r\n                    if (styleProp &&\r\n                        !isStaticExp(styleProp.value) &&\r\n                        // the static style is compiled into an object,\r\n                        // so use `hasStyleBinding` to ensure that it is a dynamic style binding\r\n                        (hasStyleBinding ||\r\n                            // v-bind:style and style both exist,\r\n                            // v-bind:style with static literal object\r\n                            styleProp.value.type === 17 /* JS_ARRAY_EXPRESSION */)) {\r\n                        styleProp.value = createCallExpression(context.helper(NORMALIZE_STYLE), [styleProp.value]);\r\n                    }\r\n                }\r\n                else {\r\n                    // dynamic key binding, wrap with `normalizeProps`\r\n                    propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [propsExpression]);\r\n                }\r\n                break;\r\n            case 14 /* JS_CALL_EXPRESSION */:\r\n                // mergeProps call, do nothing\r\n                break;\r\n            default:\r\n                // single v-bind\r\n                propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [\r\n                    createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [\r\n                        propsExpression\r\n                    ])\r\n                ]);\r\n                break;\r\n        }\r\n    }\r\n    return {\r\n        props: propsExpression,\r\n        directives: runtimeDirectives,\r\n        patchFlag,\r\n        dynamicPropNames\r\n    };\r\n}\r\n// Dedupe props in an object literal.\r\n// Literal duplicated attributes would have been warned during the parse phase,\r\n// however, it's possible to encounter duplicated `onXXX` handlers with different\r\n// modifiers. We also need to merge static and dynamic class / style attributes.\r\n// - onXXX handlers / style: merge into array\r\n// - class: merge into single expression with concatenation\r\nfunction dedupeProperties(properties) {\r\n    const knownProps = new Map();\r\n    const deduped = [];\r\n    for (let i = 0; i < properties.length; i++) {\r\n        const prop = properties[i];\r\n        // dynamic keys are always allowed\r\n        if (prop.key.type === 8 /* COMPOUND_EXPRESSION */ || !prop.key.isStatic) {\r\n            deduped.push(prop);\r\n            continue;\r\n        }\r\n        const name = prop.key.content;\r\n        const existing = knownProps.get(name);\r\n        if (existing) {\r\n            if (name === 'style' || name === 'class' || name.startsWith('on')) {\r\n                mergeAsArray(existing, prop);\r\n            }\r\n            // unexpected duplicate, should have emitted error during parse\r\n        }\r\n        else {\r\n            knownProps.set(name, prop);\r\n            deduped.push(prop);\r\n        }\r\n    }\r\n    return deduped;\r\n}\r\nfunction mergeAsArray(existing, incoming) {\r\n    if (existing.value.type === 17 /* JS_ARRAY_EXPRESSION */) {\r\n        existing.value.elements.push(incoming.value);\r\n    }\r\n    else {\r\n        existing.value = createArrayExpression([existing.value, incoming.value], existing.loc);\r\n    }\r\n}\r\nfunction buildDirectiveArgs(dir, context) {\r\n    const dirArgs = [];\r\n    const runtime = directiveImportMap.get(dir);\r\n    if (runtime) {\r\n        // built-in directive with runtime\r\n        dirArgs.push(context.helperString(runtime));\r\n    }\r\n    else {\r\n        {\r\n            // inject statement for resolving directive\r\n            context.helper(RESOLVE_DIRECTIVE);\r\n            context.directives.add(dir.name);\r\n            dirArgs.push(toValidAssetId(dir.name, `directive`));\r\n        }\r\n    }\r\n    const { loc } = dir;\r\n    if (dir.exp)\r\n        dirArgs.push(dir.exp);\r\n    if (dir.arg) {\r\n        if (!dir.exp) {\r\n            dirArgs.push(`void 0`);\r\n        }\r\n        dirArgs.push(dir.arg);\r\n    }\r\n    if (Object.keys(dir.modifiers).length) {\r\n        if (!dir.arg) {\r\n            if (!dir.exp) {\r\n                dirArgs.push(`void 0`);\r\n            }\r\n            dirArgs.push(`void 0`);\r\n        }\r\n        const trueExpression = createSimpleExpression(`true`, false, loc);\r\n        dirArgs.push(createObjectExpression(dir.modifiers.map(modifier => createObjectProperty(modifier, trueExpression)), loc));\r\n    }\r\n    return createArrayExpression(dirArgs, dir.loc);\r\n}\r\nfunction stringifyDynamicPropNames(props) {\r\n    let propsNamesString = `[`;\r\n    for (let i = 0, l = props.length; i < l; i++) {\r\n        propsNamesString += JSON.stringify(props[i]);\r\n        if (i < l - 1)\r\n            propsNamesString += ', ';\r\n    }\r\n    return propsNamesString + `]`;\r\n}\r\nfunction isComponentTag(tag) {\r\n    return tag[0].toLowerCase() + tag.slice(1) === 'component';\r\n}\n\n(process.env.NODE_ENV !== 'production')\r\n    ? Object.freeze({})\r\n    : {};\r\n(process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];\r\nconst cacheStringFunction = (fn) => {\r\n    const cache = Object.create(null);\r\n    return ((str) => {\r\n        const hit = cache[str];\r\n        return hit || (cache[str] = fn(str));\r\n    });\r\n};\r\nconst camelizeRE = /-(\\w)/g;\r\n/**\r\n * @private\r\n */\r\nconst camelize = cacheStringFunction((str) => {\r\n    return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));\r\n});\n\nconst transformSlotOutlet = (node, context) => {\r\n    if (isSlotOutlet(node)) {\r\n        const { children, loc } = node;\r\n        const { slotName, slotProps } = processSlotOutlet(node, context);\r\n        const slotArgs = [\r\n            context.prefixIdentifiers ? `_ctx.$slots` : `$slots`,\r\n            slotName\r\n        ];\r\n        if (slotProps) {\r\n            slotArgs.push(slotProps);\r\n        }\r\n        if (children.length) {\r\n            if (!slotProps) {\r\n                slotArgs.push(`{}`);\r\n            }\r\n            slotArgs.push(createFunctionExpression([], children, false, false, loc));\r\n        }\r\n        if (context.scopeId && !context.slotted) {\r\n            if (!slotProps) {\r\n                slotArgs.push(`{}`);\r\n            }\r\n            if (!children.length) {\r\n                slotArgs.push(`undefined`);\r\n            }\r\n            slotArgs.push(`true`);\r\n        }\r\n        node.codegenNode = createCallExpression(context.helper(RENDER_SLOT), slotArgs, loc);\r\n    }\r\n};\r\nfunction processSlotOutlet(node, context) {\r\n    let slotName = `\"default\"`;\r\n    let slotProps = undefined;\r\n    const nonNameProps = [];\r\n    for (let i = 0; i < node.props.length; i++) {\r\n        const p = node.props[i];\r\n        if (p.type === 6 /* ATTRIBUTE */) {\r\n            if (p.value) {\r\n                if (p.name === 'name') {\r\n                    slotName = JSON.stringify(p.value.content);\r\n                }\r\n                else {\r\n                    p.name = camelize(p.name);\r\n                    nonNameProps.push(p);\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            if (p.name === 'bind' && isBindKey(p.arg, 'name')) {\r\n                if (p.exp)\r\n                    slotName = p.exp;\r\n            }\r\n            else {\r\n                if (p.name === 'bind' && p.arg && isStaticExp(p.arg)) {\r\n                    p.arg.content = camelize(p.arg.content);\r\n                }\r\n                nonNameProps.push(p);\r\n            }\r\n        }\r\n    }\r\n    if (nonNameProps.length > 0) {\r\n        const { props, directives } = buildProps(node, context, nonNameProps);\r\n        slotProps = props;\r\n        if (directives.length) {\r\n            context.onError(createCompilerError(36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */, directives[0].loc));\r\n        }\r\n    }\r\n    return {\r\n        slotName,\r\n        slotProps\r\n    };\r\n}\n\nconst fnExpRE = /^\\s*([\\w$_]+|\\([^)]*?\\))\\s*=>|^\\s*function(?:\\s+[\\w$]+)?\\s*\\(/;\r\nconst transformOn = (dir, node, context, augmentor) => {\r\n    const { loc, modifiers, arg } = dir;\r\n    if (!dir.exp && !modifiers.length) {\r\n        context.onError(createCompilerError(35 /* X_V_ON_NO_EXPRESSION */, loc));\r\n    }\r\n    let eventName;\r\n    if (arg.type === 4 /* SIMPLE_EXPRESSION */) {\r\n        if (arg.isStatic) {\r\n            const rawName = arg.content;\r\n            // for all event listeners, auto convert it to camelCase. See issue #2249\r\n            eventName = createSimpleExpression(toHandlerKey(camelize$1(rawName)), true, arg.loc);\r\n        }\r\n        else {\r\n            // #2388\r\n            eventName = createCompoundExpression([\r\n                `${context.helperString(TO_HANDLER_KEY)}(`,\r\n                arg,\r\n                `)`\r\n            ]);\r\n        }\r\n    }\r\n    else {\r\n        // already a compound expression.\r\n        eventName = arg;\r\n        eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`);\r\n        eventName.children.push(`)`);\r\n    }\r\n    // handler processing\r\n    let exp = dir.exp;\r\n    if (exp && !exp.content.trim()) {\r\n        exp = undefined;\r\n    }\r\n    let shouldCache = context.cacheHandlers && !exp && !context.inVOnce;\r\n    if (exp) {\r\n        const isMemberExp = isMemberExpression(exp.content);\r\n        const isInlineStatement = !(isMemberExp || fnExpRE.test(exp.content));\r\n        const hasMultipleStatements = exp.content.includes(`;`);\r\n        if ((process.env.NODE_ENV !== 'production') && true) {\r\n            validateBrowserExpression(exp, context, false, hasMultipleStatements);\r\n        }\r\n        if (isInlineStatement || (shouldCache && isMemberExp)) {\r\n            // wrap inline statement in a function expression\r\n            exp = createCompoundExpression([\r\n                `${isInlineStatement\r\n                    ? `$event`\r\n                    : `${``}(...args)`} => ${hasMultipleStatements ? `{` : `(`}`,\r\n                exp,\r\n                hasMultipleStatements ? `}` : `)`\r\n            ]);\r\n        }\r\n    }\r\n    let ret = {\r\n        props: [\r\n            createObjectProperty(eventName, exp || createSimpleExpression(`() => {}`, false, loc))\r\n        ]\r\n    };\r\n    // apply extended compiler augmentor\r\n    if (augmentor) {\r\n        ret = augmentor(ret);\r\n    }\r\n    if (shouldCache) {\r\n        // cache handlers so that it's always the same handler being passed down.\r\n        // this avoids unnecessary re-renders when users use inline handlers on\r\n        // components.\r\n        ret.props[0].value = context.cache(ret.props[0].value);\r\n    }\r\n    // mark the key as handler for props normalization check\r\n    ret.props.forEach(p => (p.key.isHandlerKey = true));\r\n    return ret;\r\n};\n\n// v-bind without arg is handled directly in ./transformElements.ts due to it affecting\r\n// codegen for the entire props object. This transform here is only for v-bind\r\n// *with* args.\r\nconst transformBind = (dir, _node, context) => {\r\n    const { exp, modifiers, loc } = dir;\r\n    const arg = dir.arg;\r\n    if (arg.type !== 4 /* SIMPLE_EXPRESSION */) {\r\n        arg.children.unshift(`(`);\r\n        arg.children.push(`) || \"\"`);\r\n    }\r\n    else if (!arg.isStatic) {\r\n        arg.content = `${arg.content} || \"\"`;\r\n    }\r\n    // .sync is replaced by v-model:arg\r\n    if (modifiers.includes('camel')) {\r\n        if (arg.type === 4 /* SIMPLE_EXPRESSION */) {\r\n            if (arg.isStatic) {\r\n                arg.content = camelize$1(arg.content);\r\n            }\r\n            else {\r\n                arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;\r\n            }\r\n        }\r\n        else {\r\n            arg.children.unshift(`${context.helperString(CAMELIZE)}(`);\r\n            arg.children.push(`)`);\r\n        }\r\n    }\r\n    if (!context.inSSR) {\r\n        if (modifiers.includes('prop')) {\r\n            injectPrefix(arg, '.');\r\n        }\r\n        if (modifiers.includes('attr')) {\r\n            injectPrefix(arg, '^');\r\n        }\r\n    }\r\n    if (!exp ||\r\n        (exp.type === 4 /* SIMPLE_EXPRESSION */ && !exp.content.trim())) {\r\n        context.onError(createCompilerError(34 /* X_V_BIND_NO_EXPRESSION */, loc));\r\n        return {\r\n            props: [createObjectProperty(arg, createSimpleExpression('', true, loc))]\r\n        };\r\n    }\r\n    return {\r\n        props: [createObjectProperty(arg, exp)]\r\n    };\r\n};\r\nconst injectPrefix = (arg, prefix) => {\r\n    if (arg.type === 4 /* SIMPLE_EXPRESSION */) {\r\n        if (arg.isStatic) {\r\n            arg.content = prefix + arg.content;\r\n        }\r\n        else {\r\n            arg.content = `\\`${prefix}\\${${arg.content}}\\``;\r\n        }\r\n    }\r\n    else {\r\n        arg.children.unshift(`'${prefix}' + (`);\r\n        arg.children.push(`)`);\r\n    }\r\n};\n\n// Merge adjacent text nodes and expressions into a single expression\r\n// e.g. <div>abc {{ d }} {{ e }}</div> should have a single expression node as child.\r\nconst transformText = (node, context) => {\r\n    if (node.type === 0 /* ROOT */ ||\r\n        node.type === 1 /* ELEMENT */ ||\r\n        node.type === 11 /* FOR */ ||\r\n        node.type === 10 /* IF_BRANCH */) {\r\n        // perform the transform on node exit so that all expressions have already\r\n        // been processed.\r\n        return () => {\r\n            const children = node.children;\r\n            let currentContainer = undefined;\r\n            let hasText = false;\r\n            for (let i = 0; i < children.length; i++) {\r\n                const child = children[i];\r\n                if (isText(child)) {\r\n                    hasText = true;\r\n                    for (let j = i + 1; j < children.length; j++) {\r\n                        const next = children[j];\r\n                        if (isText(next)) {\r\n                            if (!currentContainer) {\r\n                                currentContainer = children[i] = {\r\n                                    type: 8 /* COMPOUND_EXPRESSION */,\r\n                                    loc: child.loc,\r\n                                    children: [child]\r\n                                };\r\n                            }\r\n                            // merge adjacent text node into current\r\n                            currentContainer.children.push(` + `, next);\r\n                            children.splice(j, 1);\r\n                            j--;\r\n                        }\r\n                        else {\r\n                            currentContainer = undefined;\r\n                            break;\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n            if (!hasText ||\r\n                // if this is a plain element with a single text child, leave it\r\n                // as-is since the runtime has dedicated fast path for this by directly\r\n                // setting textContent of the element.\r\n                // for component root it's always normalized anyway.\r\n                (children.length === 1 &&\r\n                    (node.type === 0 /* ROOT */ ||\r\n                        (node.type === 1 /* ELEMENT */ &&\r\n                            node.tagType === 0 /* ELEMENT */ &&\r\n                            // #3756\r\n                            // custom directives can potentially add DOM elements arbitrarily,\r\n                            // we need to avoid setting textContent of the element at runtime\r\n                            // to avoid accidentally overwriting the DOM elements added\r\n                            // by the user through custom directives.\r\n                            !node.props.find(p => p.type === 7 /* DIRECTIVE */ &&\r\n                                !context.directiveTransforms[p.name]) &&\r\n                            // in compat mode, <template> tags with no special directives\r\n                            // will be rendered as a fragment so its children must be\r\n                            // converted into vnodes.\r\n                            !(node.tag === 'template'))))) {\r\n                return;\r\n            }\r\n            // pre-convert text nodes into createTextVNode(text) calls to avoid\r\n            // runtime normalization.\r\n            for (let i = 0; i < children.length; i++) {\r\n                const child = children[i];\r\n                if (isText(child) || child.type === 8 /* COMPOUND_EXPRESSION */) {\r\n                    const callArgs = [];\r\n                    // createTextVNode defaults to single whitespace, so if it is a\r\n                    // single space the code could be an empty call to save bytes.\r\n                    if (child.type !== 2 /* TEXT */ || child.content !== ' ') {\r\n                        callArgs.push(child);\r\n                    }\r\n                    // mark dynamic text with flag so it gets patched inside a block\r\n                    if (!context.ssr &&\r\n                        getConstantType(child, context) === 0 /* NOT_CONSTANT */) {\r\n                        callArgs.push(1 /* TEXT */ +\r\n                            ((process.env.NODE_ENV !== 'production') ? ` /* ${PatchFlagNames[1 /* TEXT */]} */` : ``));\r\n                    }\r\n                    children[i] = {\r\n                        type: 12 /* TEXT_CALL */,\r\n                        content: child,\r\n                        loc: child.loc,\r\n                        codegenNode: createCallExpression(context.helper(CREATE_TEXT), callArgs)\r\n                    };\r\n                }\r\n            }\r\n        };\r\n    }\r\n};\n\nconst seen = new WeakSet();\r\nconst transformOnce = (node, context) => {\r\n    if (node.type === 1 /* ELEMENT */ && findDir(node, 'once', true)) {\r\n        if (seen.has(node) || context.inVOnce) {\r\n            return;\r\n        }\r\n        seen.add(node);\r\n        context.inVOnce = true;\r\n        context.helper(SET_BLOCK_TRACKING);\r\n        return () => {\r\n            context.inVOnce = false;\r\n            const cur = context.currentNode;\r\n            if (cur.codegenNode) {\r\n                cur.codegenNode = context.cache(cur.codegenNode, true /* isVNode */);\r\n            }\r\n        };\r\n    }\r\n};\n\nconst transformModel = (dir, node, context) => {\r\n    const { exp, arg } = dir;\r\n    if (!exp) {\r\n        context.onError(createCompilerError(41 /* X_V_MODEL_NO_EXPRESSION */, dir.loc));\r\n        return createTransformProps();\r\n    }\r\n    const rawExp = exp.loc.source;\r\n    const expString = exp.type === 4 /* SIMPLE_EXPRESSION */ ? exp.content : rawExp;\r\n    // im SFC <script setup> inline mode, the exp may have been transformed into\r\n    // _unref(exp)\r\n    context.bindingMetadata[rawExp];\r\n    const maybeRef = !true    /* SETUP_CONST */;\r\n    if (!expString.trim() || (!isMemberExpression(expString) && !maybeRef)) {\r\n        context.onError(createCompilerError(42 /* X_V_MODEL_MALFORMED_EXPRESSION */, exp.loc));\r\n        return createTransformProps();\r\n    }\r\n    const propName = arg ? arg : createSimpleExpression('modelValue', true);\r\n    const eventName = arg\r\n        ? isStaticExp(arg)\r\n            ? `onUpdate:${arg.content}`\r\n            : createCompoundExpression(['\"onUpdate:\" + ', arg])\r\n        : `onUpdate:modelValue`;\r\n    let assignmentExp;\r\n    const eventArg = context.isTS ? `($event: any)` : `$event`;\r\n    {\r\n        assignmentExp = createCompoundExpression([\r\n            `${eventArg} => (`,\r\n            exp,\r\n            ` = $event)`\r\n        ]);\r\n    }\r\n    const props = [\r\n        // modelValue: foo\r\n        createObjectProperty(propName, dir.exp),\r\n        // \"onUpdate:modelValue\": $event => (foo = $event)\r\n        createObjectProperty(eventName, assignmentExp)\r\n    ];\r\n    // modelModifiers: { foo: true, \"bar-baz\": true }\r\n    if (dir.modifiers.length && node.tagType === 1 /* COMPONENT */) {\r\n        const modifiers = dir.modifiers\r\n            .map(m => (isSimpleIdentifier(m) ? m : JSON.stringify(m)) + `: true`)\r\n            .join(`, `);\r\n        const modifiersKey = arg\r\n            ? isStaticExp(arg)\r\n                ? `${arg.content}Modifiers`\r\n                : createCompoundExpression([arg, ' + \"Modifiers\"'])\r\n            : `modelModifiers`;\r\n        props.push(createObjectProperty(modifiersKey, createSimpleExpression(`{ ${modifiers} }`, false, dir.loc, 2 /* CAN_HOIST */)));\r\n    }\r\n    return createTransformProps(props);\r\n};\r\nfunction createTransformProps(props = []) {\r\n    return { props };\r\n}\n\nconst validDivisionCharRE = /[\\w).+\\-_$\\]]/;\r\nconst transformFilter = (node, context) => {\r\n    if (!isCompatEnabled(\"COMPILER_FILTER\" /* COMPILER_FILTERS */, context)) {\r\n        return;\r\n    }\r\n    if (node.type === 5 /* INTERPOLATION */) {\r\n        // filter rewrite is applied before expression transform so only\r\n        // simple expressions are possible at this stage\r\n        rewriteFilter(node.content, context);\r\n    }\r\n    if (node.type === 1 /* ELEMENT */) {\r\n        node.props.forEach((prop) => {\r\n            if (prop.type === 7 /* DIRECTIVE */ &&\r\n                prop.name !== 'for' &&\r\n                prop.exp) {\r\n                rewriteFilter(prop.exp, context);\r\n            }\r\n        });\r\n    }\r\n};\r\nfunction rewriteFilter(node, context) {\r\n    if (node.type === 4 /* SIMPLE_EXPRESSION */) {\r\n        parseFilter(node, context);\r\n    }\r\n    else {\r\n        for (let i = 0; i < node.children.length; i++) {\r\n            const child = node.children[i];\r\n            if (typeof child !== 'object')\r\n                continue;\r\n            if (child.type === 4 /* SIMPLE_EXPRESSION */) {\r\n                parseFilter(child, context);\r\n            }\r\n            else if (child.type === 8 /* COMPOUND_EXPRESSION */) {\r\n                rewriteFilter(node, context);\r\n            }\r\n            else if (child.type === 5 /* INTERPOLATION */) {\r\n                rewriteFilter(child.content, context);\r\n            }\r\n        }\r\n    }\r\n}\r\nfunction parseFilter(node, context) {\r\n    const exp = node.content;\r\n    let inSingle = false;\r\n    let inDouble = false;\r\n    let inTemplateString = false;\r\n    let inRegex = false;\r\n    let curly = 0;\r\n    let square = 0;\r\n    let paren = 0;\r\n    let lastFilterIndex = 0;\r\n    let c, prev, i, expression, filters = [];\r\n    for (i = 0; i < exp.length; i++) {\r\n        prev = c;\r\n        c = exp.charCodeAt(i);\r\n        if (inSingle) {\r\n            if (c === 0x27 && prev !== 0x5c)\r\n                inSingle = false;\r\n        }\r\n        else if (inDouble) {\r\n            if (c === 0x22 && prev !== 0x5c)\r\n                inDouble = false;\r\n        }\r\n        else if (inTemplateString) {\r\n            if (c === 0x60 && prev !== 0x5c)\r\n                inTemplateString = false;\r\n        }\r\n        else if (inRegex) {\r\n            if (c === 0x2f && prev !== 0x5c)\r\n                inRegex = false;\r\n        }\r\n        else if (c === 0x7c && // pipe\r\n            exp.charCodeAt(i + 1) !== 0x7c &&\r\n            exp.charCodeAt(i - 1) !== 0x7c &&\r\n            !curly &&\r\n            !square &&\r\n            !paren) {\r\n            if (expression === undefined) {\r\n                // first filter, end of expression\r\n                lastFilterIndex = i + 1;\r\n                expression = exp.slice(0, i).trim();\r\n            }\r\n            else {\r\n                pushFilter();\r\n            }\r\n        }\r\n        else {\r\n            switch (c) {\r\n                case 0x22:\r\n                    inDouble = true;\r\n                    break; // \"\r\n                case 0x27:\r\n                    inSingle = true;\r\n                    break; // '\r\n                case 0x60:\r\n                    inTemplateString = true;\r\n                    break; // `\r\n                case 0x28:\r\n                    paren++;\r\n                    break; // (\r\n                case 0x29:\r\n                    paren--;\r\n                    break; // )\r\n                case 0x5b:\r\n                    square++;\r\n                    break; // [\r\n                case 0x5d:\r\n                    square--;\r\n                    break; // ]\r\n                case 0x7b:\r\n                    curly++;\r\n                    break; // {\r\n                case 0x7d:\r\n                    curly--;\r\n                    break; // }\r\n            }\r\n            if (c === 0x2f) {\r\n                // /\r\n                let j = i - 1;\r\n                let p;\r\n                // find first non-whitespace prev char\r\n                for (; j >= 0; j--) {\r\n                    p = exp.charAt(j);\r\n                    if (p !== ' ')\r\n                        break;\r\n                }\r\n                if (!p || !validDivisionCharRE.test(p)) {\r\n                    inRegex = true;\r\n                }\r\n            }\r\n        }\r\n    }\r\n    if (expression === undefined) {\r\n        expression = exp.slice(0, i).trim();\r\n    }\r\n    else if (lastFilterIndex !== 0) {\r\n        pushFilter();\r\n    }\r\n    function pushFilter() {\r\n        filters.push(exp.slice(lastFilterIndex, i).trim());\r\n        lastFilterIndex = i + 1;\r\n    }\r\n    if (filters.length) {\r\n        (process.env.NODE_ENV !== 'production') &&\r\n            warnDeprecation(\"COMPILER_FILTER\" /* COMPILER_FILTERS */, context, node.loc);\r\n        for (i = 0; i < filters.length; i++) {\r\n            expression = wrapFilter(expression, filters[i], context);\r\n        }\r\n        node.content = expression;\r\n    }\r\n}\r\nfunction wrapFilter(exp, filter, context) {\r\n    context.helper(RESOLVE_FILTER);\r\n    const i = filter.indexOf('(');\r\n    if (i < 0) {\r\n        context.filters.add(filter);\r\n        return `${toValidAssetId(filter, 'filter')}(${exp})`;\r\n    }\r\n    else {\r\n        const name = filter.slice(0, i);\r\n        const args = filter.slice(i + 1);\r\n        context.filters.add(name);\r\n        return `${toValidAssetId(name, 'filter')}(${exp}${args !== ')' ? ',' + args : args}`;\r\n    }\r\n}\n\nconst seen$1 = new WeakSet();\r\nconst transformMemo = (node, context) => {\r\n    if (node.type === 1 /* ELEMENT */) {\r\n        const dir = findDir(node, 'memo');\r\n        if (!dir || seen$1.has(node)) {\r\n            return;\r\n        }\r\n        seen$1.add(node);\r\n        return () => {\r\n            const codegenNode = node.codegenNode ||\r\n                context.currentNode.codegenNode;\r\n            if (codegenNode && codegenNode.type === 13 /* VNODE_CALL */) {\r\n                // non-component sub tree should be turned into a block\r\n                if (node.tagType !== 1 /* COMPONENT */) {\r\n                    makeBlock(codegenNode, context);\r\n                }\r\n                node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [\r\n                    dir.exp,\r\n                    createFunctionExpression(undefined, codegenNode),\r\n                    `_cache`,\r\n                    String(context.cached++)\r\n                ]);\r\n            }\r\n        };\r\n    }\r\n};\n\nfunction getBaseTransformPreset(prefixIdentifiers) {\r\n    return [\r\n        [\r\n            transformOnce,\r\n            transformIf,\r\n            transformMemo,\r\n            transformFor,\r\n            ...([transformFilter] ),\r\n            ...((process.env.NODE_ENV !== 'production')\r\n                    ? [transformExpression]\r\n                    : []),\r\n            transformSlotOutlet,\r\n            transformElement,\r\n            trackSlotScopes,\r\n            transformText\r\n        ],\r\n        {\r\n            on: transformOn,\r\n            bind: transformBind,\r\n            model: transformModel\r\n        }\r\n    ];\r\n}\r\n// we name it `baseCompile` so that higher order compilers like\r\n// @vue/compiler-dom can export `compile` while re-exporting everything else.\r\nfunction baseCompile(template, options = {}) {\r\n    const onError = options.onError || defaultOnError;\r\n    const isModuleMode = options.mode === 'module';\r\n    /* istanbul ignore if */\r\n    {\r\n        if (options.prefixIdentifiers === true) {\r\n            onError(createCompilerError(46 /* X_PREFIX_ID_NOT_SUPPORTED */));\r\n        }\r\n        else if (isModuleMode) {\r\n            onError(createCompilerError(47 /* X_MODULE_MODE_NOT_SUPPORTED */));\r\n        }\r\n    }\r\n    const prefixIdentifiers = !true ;\r\n    if (options.cacheHandlers) {\r\n        onError(createCompilerError(48 /* X_CACHE_HANDLER_NOT_SUPPORTED */));\r\n    }\r\n    if (options.scopeId && !isModuleMode) {\r\n        onError(createCompilerError(49 /* X_SCOPE_ID_NOT_SUPPORTED */));\r\n    }\r\n    const ast = isString(template) ? baseParse(template, options) : template;\r\n    const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();\r\n    transform(ast, extend({}, options, {\r\n        prefixIdentifiers,\r\n        nodeTransforms: [\r\n            ...nodeTransforms,\r\n            ...(options.nodeTransforms || []) // user transforms\r\n        ],\r\n        directiveTransforms: extend({}, directiveTransforms, options.directiveTransforms || {} // user transforms\r\n        )\r\n    }));\r\n    return generate(ast, extend({}, options, {\r\n        prefixIdentifiers\r\n    }));\r\n}\n\nconst noopDirectiveTransform = () => ({ props: [] });\n\nexport { BASE_TRANSITION, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildProps, buildSlots, checkCompatEnabled, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, extractIdentifiers, findDir, findProp, generate, getBaseTransformPreset, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBindKey, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText, isVSlot, locStub, makeBlock, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, traverseNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };\n","import { registerRuntimeHelpers, isBuiltInType, createSimpleExpression, createCompilerError, createObjectProperty, createCallExpression, TO_DISPLAY_STRING, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, transformOn as transformOn$1, createCompoundExpression, isStaticExp, checkCompatEnabled, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';\nexport * from '@vue/compiler-core';\nimport { isVoidTag, isHTMLTag, isSVGTag, makeMap, parseStringStyle, capitalize, extend } from '@vue/shared';\n\nconst V_MODEL_RADIO = Symbol((process.env.NODE_ENV !== 'production') ? `vModelRadio` : ``);\r\nconst V_MODEL_CHECKBOX = Symbol((process.env.NODE_ENV !== 'production') ? `vModelCheckbox` : ``);\r\nconst V_MODEL_TEXT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelText` : ``);\r\nconst V_MODEL_SELECT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelSelect` : ``);\r\nconst V_MODEL_DYNAMIC = Symbol((process.env.NODE_ENV !== 'production') ? `vModelDynamic` : ``);\r\nconst V_ON_WITH_MODIFIERS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnModifiersGuard` : ``);\r\nconst V_ON_WITH_KEYS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnKeysGuard` : ``);\r\nconst V_SHOW = Symbol((process.env.NODE_ENV !== 'production') ? `vShow` : ``);\r\nconst TRANSITION = Symbol((process.env.NODE_ENV !== 'production') ? `Transition` : ``);\r\nconst TRANSITION_GROUP = Symbol((process.env.NODE_ENV !== 'production') ? `TransitionGroup` : ``);\r\nregisterRuntimeHelpers({\r\n    [V_MODEL_RADIO]: `vModelRadio`,\r\n    [V_MODEL_CHECKBOX]: `vModelCheckbox`,\r\n    [V_MODEL_TEXT]: `vModelText`,\r\n    [V_MODEL_SELECT]: `vModelSelect`,\r\n    [V_MODEL_DYNAMIC]: `vModelDynamic`,\r\n    [V_ON_WITH_MODIFIERS]: `withModifiers`,\r\n    [V_ON_WITH_KEYS]: `withKeys`,\r\n    [V_SHOW]: `vShow`,\r\n    [TRANSITION]: `Transition`,\r\n    [TRANSITION_GROUP]: `TransitionGroup`\r\n});\n\n/* eslint-disable no-restricted-globals */\r\nlet decoder;\r\nfunction decodeHtmlBrowser(raw, asAttr = false) {\r\n    if (!decoder) {\r\n        decoder = document.createElement('div');\r\n    }\r\n    if (asAttr) {\r\n        decoder.innerHTML = `<div foo=\"${raw.replace(/\"/g, '&quot;')}\">`;\r\n        return decoder.children[0].getAttribute('foo');\r\n    }\r\n    else {\r\n        decoder.innerHTML = raw;\r\n        return decoder.textContent;\r\n    }\r\n}\n\nconst isRawTextContainer = /*#__PURE__*/ makeMap('style,iframe,script,noscript', true);\r\nconst parserOptions = {\r\n    isVoidTag,\r\n    isNativeTag: tag => isHTMLTag(tag) || isSVGTag(tag),\r\n    isPreTag: tag => tag === 'pre',\r\n    decodeEntities: decodeHtmlBrowser ,\r\n    isBuiltInComponent: (tag) => {\r\n        if (isBuiltInType(tag, `Transition`)) {\r\n            return TRANSITION;\r\n        }\r\n        else if (isBuiltInType(tag, `TransitionGroup`)) {\r\n            return TRANSITION_GROUP;\r\n        }\r\n    },\r\n    // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher\r\n    getNamespace(tag, parent) {\r\n        let ns = parent ? parent.ns : 0 /* HTML */;\r\n        if (parent && ns === 2 /* MATH_ML */) {\r\n            if (parent.tag === 'annotation-xml') {\r\n                if (tag === 'svg') {\r\n                    return 1 /* SVG */;\r\n                }\r\n                if (parent.props.some(a => a.type === 6 /* ATTRIBUTE */ &&\r\n                    a.name === 'encoding' &&\r\n                    a.value != null &&\r\n                    (a.value.content === 'text/html' ||\r\n                        a.value.content === 'application/xhtml+xml'))) {\r\n                    ns = 0 /* HTML */;\r\n                }\r\n            }\r\n            else if (/^m(?:[ions]|text)$/.test(parent.tag) &&\r\n                tag !== 'mglyph' &&\r\n                tag !== 'malignmark') {\r\n                ns = 0 /* HTML */;\r\n            }\r\n        }\r\n        else if (parent && ns === 1 /* SVG */) {\r\n            if (parent.tag === 'foreignObject' ||\r\n                parent.tag === 'desc' ||\r\n                parent.tag === 'title') {\r\n                ns = 0 /* HTML */;\r\n            }\r\n        }\r\n        if (ns === 0 /* HTML */) {\r\n            if (tag === 'svg') {\r\n                return 1 /* SVG */;\r\n            }\r\n            if (tag === 'math') {\r\n                return 2 /* MATH_ML */;\r\n            }\r\n        }\r\n        return ns;\r\n    },\r\n    // https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments\r\n    getTextMode({ tag, ns }) {\r\n        if (ns === 0 /* HTML */) {\r\n            if (tag === 'textarea' || tag === 'title') {\r\n                return 1 /* RCDATA */;\r\n            }\r\n            if (isRawTextContainer(tag)) {\r\n                return 2 /* RAWTEXT */;\r\n            }\r\n        }\r\n        return 0 /* DATA */;\r\n    }\r\n};\n\n// Parse inline CSS strings for static style attributes into an object.\r\n// This is a NodeTransform since it works on the static `style` attribute and\r\n// converts it into a dynamic equivalent:\r\n// style=\"color: red\" -> :style='{ \"color\": \"red\" }'\r\n// It is then processed by `transformElement` and included in the generated\r\n// props.\r\nconst transformStyle = node => {\r\n    if (node.type === 1 /* ELEMENT */) {\r\n        node.props.forEach((p, i) => {\r\n            if (p.type === 6 /* ATTRIBUTE */ && p.name === 'style' && p.value) {\r\n                // replace p with an expression node\r\n                node.props[i] = {\r\n                    type: 7 /* DIRECTIVE */,\r\n                    name: `bind`,\r\n                    arg: createSimpleExpression(`style`, true, p.loc),\r\n                    exp: parseInlineCSS(p.value.content, p.loc),\r\n                    modifiers: [],\r\n                    loc: p.loc\r\n                };\r\n            }\r\n        });\r\n    }\r\n};\r\nconst parseInlineCSS = (cssText, loc) => {\r\n    const normalized = parseStringStyle(cssText);\r\n    return createSimpleExpression(JSON.stringify(normalized), false, loc, 3 /* CAN_STRINGIFY */);\r\n};\n\nfunction createDOMCompilerError(code, loc) {\r\n    return createCompilerError(code, loc, (process.env.NODE_ENV !== 'production') || !true ? DOMErrorMessages : undefined);\r\n}\r\nconst DOMErrorMessages = {\r\n    [50 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`,\r\n    [51 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`,\r\n    [52 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`,\r\n    [53 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`,\r\n    [54 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`,\r\n    [55 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`,\r\n    [56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,\r\n    [57 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,\r\n    [58 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,\r\n    [59 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`,\r\n    [60 /* X_IGNORED_SIDE_EFFECT_TAG */]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`\r\n};\n\nconst transformVHtml = (dir, node, context) => {\r\n    const { exp, loc } = dir;\r\n    if (!exp) {\r\n        context.onError(createDOMCompilerError(50 /* X_V_HTML_NO_EXPRESSION */, loc));\r\n    }\r\n    if (node.children.length) {\r\n        context.onError(createDOMCompilerError(51 /* X_V_HTML_WITH_CHILDREN */, loc));\r\n        node.children.length = 0;\r\n    }\r\n    return {\r\n        props: [\r\n            createObjectProperty(createSimpleExpression(`innerHTML`, true, loc), exp || createSimpleExpression('', true))\r\n        ]\r\n    };\r\n};\n\nconst transformVText = (dir, node, context) => {\r\n    const { exp, loc } = dir;\r\n    if (!exp) {\r\n        context.onError(createDOMCompilerError(52 /* X_V_TEXT_NO_EXPRESSION */, loc));\r\n    }\r\n    if (node.children.length) {\r\n        context.onError(createDOMCompilerError(53 /* X_V_TEXT_WITH_CHILDREN */, loc));\r\n        node.children.length = 0;\r\n    }\r\n    return {\r\n        props: [\r\n            createObjectProperty(createSimpleExpression(`textContent`, true), exp\r\n                ? createCallExpression(context.helperString(TO_DISPLAY_STRING), [exp], loc)\r\n                : createSimpleExpression('', true))\r\n        ]\r\n    };\r\n};\n\nconst transformModel = (dir, node, context) => {\r\n    const baseResult = transformModel$1(dir, node, context);\r\n    // base transform has errors OR component v-model (only need props)\r\n    if (!baseResult.props.length || node.tagType === 1 /* COMPONENT */) {\r\n        return baseResult;\r\n    }\r\n    if (dir.arg) {\r\n        context.onError(createDOMCompilerError(55 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));\r\n    }\r\n    function checkDuplicatedValue() {\r\n        const value = findProp(node, 'value');\r\n        if (value) {\r\n            context.onError(createDOMCompilerError(57 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));\r\n        }\r\n    }\r\n    const { tag } = node;\r\n    const isCustomElement = context.isCustomElement(tag);\r\n    if (tag === 'input' ||\r\n        tag === 'textarea' ||\r\n        tag === 'select' ||\r\n        isCustomElement) {\r\n        let directiveToUse = V_MODEL_TEXT;\r\n        let isInvalidType = false;\r\n        if (tag === 'input' || isCustomElement) {\r\n            const type = findProp(node, `type`);\r\n            if (type) {\r\n                if (type.type === 7 /* DIRECTIVE */) {\r\n                    // :type=\"foo\"\r\n                    directiveToUse = V_MODEL_DYNAMIC;\r\n                }\r\n                else if (type.value) {\r\n                    switch (type.value.content) {\r\n                        case 'radio':\r\n                            directiveToUse = V_MODEL_RADIO;\r\n                            break;\r\n                        case 'checkbox':\r\n                            directiveToUse = V_MODEL_CHECKBOX;\r\n                            break;\r\n                        case 'file':\r\n                            isInvalidType = true;\r\n                            context.onError(createDOMCompilerError(56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));\r\n                            break;\r\n                        default:\r\n                            // text type\r\n                            (process.env.NODE_ENV !== 'production') && checkDuplicatedValue();\r\n                            break;\r\n                    }\r\n                }\r\n            }\r\n            else if (hasDynamicKeyVBind(node)) {\r\n                // element has bindings with dynamic keys, which can possibly contain\r\n                // \"type\".\r\n                directiveToUse = V_MODEL_DYNAMIC;\r\n            }\r\n            else {\r\n                // text type\r\n                (process.env.NODE_ENV !== 'production') && checkDuplicatedValue();\r\n            }\r\n        }\r\n        else if (tag === 'select') {\r\n            directiveToUse = V_MODEL_SELECT;\r\n        }\r\n        else {\r\n            // textarea\r\n            (process.env.NODE_ENV !== 'production') && checkDuplicatedValue();\r\n        }\r\n        // inject runtime directive\r\n        // by returning the helper symbol via needRuntime\r\n        // the import will replaced a resolveDirective call.\r\n        if (!isInvalidType) {\r\n            baseResult.needRuntime = context.helper(directiveToUse);\r\n        }\r\n    }\r\n    else {\r\n        context.onError(createDOMCompilerError(54 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));\r\n    }\r\n    // native vmodel doesn't need the `modelValue` props since they are also\r\n    // passed to the runtime as `binding.value`. removing it reduces code size.\r\n    baseResult.props = baseResult.props.filter(p => !(p.key.type === 4 /* SIMPLE_EXPRESSION */ &&\r\n        p.key.content === 'modelValue'));\r\n    return baseResult;\r\n};\n\nconst isEventOptionModifier = /*#__PURE__*/ makeMap(`passive,once,capture`);\r\nconst isNonKeyModifier = /*#__PURE__*/ makeMap(\r\n// event propagation management\r\n`stop,prevent,self,` +\r\n    // system modifiers + exact\r\n    `ctrl,shift,alt,meta,exact,` +\r\n    // mouse\r\n    `middle`);\r\n// left & right could be mouse or key modifiers based on event type\r\nconst maybeKeyModifier = /*#__PURE__*/ makeMap('left,right');\r\nconst isKeyboardEvent = /*#__PURE__*/ makeMap(`onkeyup,onkeydown,onkeypress`, true);\r\nconst resolveModifiers = (key, modifiers, context, loc) => {\r\n    const keyModifiers = [];\r\n    const nonKeyModifiers = [];\r\n    const eventOptionModifiers = [];\r\n    for (let i = 0; i < modifiers.length; i++) {\r\n        const modifier = modifiers[i];\r\n        if (modifier === 'native' &&\r\n            checkCompatEnabled(\"COMPILER_V_ON_NATIVE\" /* COMPILER_V_ON_NATIVE */, context, loc)) {\r\n            eventOptionModifiers.push(modifier);\r\n        }\r\n        else if (isEventOptionModifier(modifier)) {\r\n            // eventOptionModifiers: modifiers for addEventListener() options,\r\n            // e.g. .passive & .capture\r\n            eventOptionModifiers.push(modifier);\r\n        }\r\n        else {\r\n            // runtimeModifiers: modifiers that needs runtime guards\r\n            if (maybeKeyModifier(modifier)) {\r\n                if (isStaticExp(key)) {\r\n                    if (isKeyboardEvent(key.content)) {\r\n                        keyModifiers.push(modifier);\r\n                    }\r\n                    else {\r\n                        nonKeyModifiers.push(modifier);\r\n                    }\r\n                }\r\n                else {\r\n                    keyModifiers.push(modifier);\r\n                    nonKeyModifiers.push(modifier);\r\n                }\r\n            }\r\n            else {\r\n                if (isNonKeyModifier(modifier)) {\r\n                    nonKeyModifiers.push(modifier);\r\n                }\r\n                else {\r\n                    keyModifiers.push(modifier);\r\n                }\r\n            }\r\n        }\r\n    }\r\n    return {\r\n        keyModifiers,\r\n        nonKeyModifiers,\r\n        eventOptionModifiers\r\n    };\r\n};\r\nconst transformClick = (key, event) => {\r\n    const isStaticClick = isStaticExp(key) && key.content.toLowerCase() === 'onclick';\r\n    return isStaticClick\r\n        ? createSimpleExpression(event, true)\r\n        : key.type !== 4 /* SIMPLE_EXPRESSION */\r\n            ? createCompoundExpression([\r\n                `(`,\r\n                key,\r\n                `) === \"onClick\" ? \"${event}\" : (`,\r\n                key,\r\n                `)`\r\n            ])\r\n            : key;\r\n};\r\nconst transformOn = (dir, node, context) => {\r\n    return transformOn$1(dir, node, context, baseResult => {\r\n        const { modifiers } = dir;\r\n        if (!modifiers.length)\r\n            return baseResult;\r\n        let { key, value: handlerExp } = baseResult.props[0];\r\n        const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = resolveModifiers(key, modifiers, context, dir.loc);\r\n        // normalize click.right and click.middle since they don't actually fire\r\n        if (nonKeyModifiers.includes('right')) {\r\n            key = transformClick(key, `onContextmenu`);\r\n        }\r\n        if (nonKeyModifiers.includes('middle')) {\r\n            key = transformClick(key, `onMouseup`);\r\n        }\r\n        if (nonKeyModifiers.length) {\r\n            handlerExp = createCallExpression(context.helper(V_ON_WITH_MODIFIERS), [\r\n                handlerExp,\r\n                JSON.stringify(nonKeyModifiers)\r\n            ]);\r\n        }\r\n        if (keyModifiers.length &&\r\n            // if event name is dynamic, always wrap with keys guard\r\n            (!isStaticExp(key) || isKeyboardEvent(key.content))) {\r\n            handlerExp = createCallExpression(context.helper(V_ON_WITH_KEYS), [\r\n                handlerExp,\r\n                JSON.stringify(keyModifiers)\r\n            ]);\r\n        }\r\n        if (eventOptionModifiers.length) {\r\n            const modifierPostfix = eventOptionModifiers.map(capitalize).join('');\r\n            key = isStaticExp(key)\r\n                ? createSimpleExpression(`${key.content}${modifierPostfix}`, true)\r\n                : createCompoundExpression([`(`, key, `) + \"${modifierPostfix}\"`]);\r\n        }\r\n        return {\r\n            props: [createObjectProperty(key, handlerExp)]\r\n        };\r\n    });\r\n};\n\nconst transformShow = (dir, node, context) => {\r\n    const { exp, loc } = dir;\r\n    if (!exp) {\r\n        context.onError(createDOMCompilerError(58 /* X_V_SHOW_NO_EXPRESSION */, loc));\r\n    }\r\n    return {\r\n        props: [],\r\n        needRuntime: context.helper(V_SHOW)\r\n    };\r\n};\n\nconst warnTransitionChildren = (node, context) => {\r\n    if (node.type === 1 /* ELEMENT */ &&\r\n        node.tagType === 1 /* COMPONENT */) {\r\n        const component = context.isBuiltInComponent(node.tag);\r\n        if (component === TRANSITION) {\r\n            return () => {\r\n                if (node.children.length && hasMultipleChildren(node)) {\r\n                    context.onError(createDOMCompilerError(59 /* X_TRANSITION_INVALID_CHILDREN */, {\r\n                        start: node.children[0].loc.start,\r\n                        end: node.children[node.children.length - 1].loc.end,\r\n                        source: ''\r\n                    }));\r\n                }\r\n            };\r\n        }\r\n    }\r\n};\r\nfunction hasMultipleChildren(node) {\r\n    // #1352 filter out potential comment nodes.\r\n    const children = (node.children = node.children.filter(c => c.type !== 3 /* COMMENT */));\r\n    const child = children[0];\r\n    return (children.length !== 1 ||\r\n        child.type === 11 /* FOR */ ||\r\n        (child.type === 9 /* IF */ && child.branches.some(hasMultipleChildren)));\r\n}\n\nconst ignoreSideEffectTags = (node, context) => {\r\n    if (node.type === 1 /* ELEMENT */ &&\r\n        node.tagType === 0 /* ELEMENT */ &&\r\n        (node.tag === 'script' || node.tag === 'style')) {\r\n        context.onError(createDOMCompilerError(60 /* X_IGNORED_SIDE_EFFECT_TAG */, node.loc));\r\n        context.removeNode();\r\n    }\r\n};\n\nconst DOMNodeTransforms = [\r\n    transformStyle,\r\n    ...((process.env.NODE_ENV !== 'production') ? [warnTransitionChildren] : [])\r\n];\r\nconst DOMDirectiveTransforms = {\r\n    cloak: noopDirectiveTransform,\r\n    html: transformVHtml,\r\n    text: transformVText,\r\n    model: transformModel,\r\n    on: transformOn,\r\n    show: transformShow\r\n};\r\nfunction compile(template, options = {}) {\r\n    return baseCompile(template, extend({}, parserOptions, options, {\r\n        nodeTransforms: [\r\n            // ignore <script> and <tag>\r\n            // this is not put inside DOMNodeTransforms because that list is used\r\n            // by compiler-ssr to generate vnode fallback branches\r\n            ignoreSideEffectTags,\r\n            ...DOMNodeTransforms,\r\n            ...(options.nodeTransforms || [])\r\n        ],\r\n        directiveTransforms: extend({}, DOMDirectiveTransforms, options.directiveTransforms || {}),\r\n        transformHoist: null \r\n    }));\r\n}\r\nfunction parse(template, options = {}) {\r\n    return baseParse(template, extend({}, parserOptions, options));\r\n}\n\nexport { DOMDirectiveTransforms, DOMNodeTransforms, TRANSITION, TRANSITION_GROUP, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, compile, createDOMCompilerError, parse, parserOptions, transformStyle };\n","import * as runtimeDom from '@vue/runtime-dom';\nimport { initCustomFormatter, warn, registerRuntimeCompiler } from '@vue/runtime-dom';\nexport * from '@vue/runtime-dom';\nimport { compile } from '@vue/compiler-dom';\nimport { isString, NOOP, extend, generateCodeFrame } from '@vue/shared';\n\nfunction initDev() {\r\n    {\r\n        initCustomFormatter();\r\n    }\r\n}\n\n// This entry is the \"full-build\" that includes both the runtime\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n    initDev();\r\n}\r\nconst compileCache = Object.create(null);\r\nfunction compileToFunction(template, options) {\r\n    if (!isString(template)) {\r\n        if (template.nodeType) {\r\n            template = template.innerHTML;\r\n        }\r\n        else {\r\n            (process.env.NODE_ENV !== 'production') && warn(`invalid template option: `, template);\r\n            return NOOP;\r\n        }\r\n    }\r\n    const key = template;\r\n    const cached = compileCache[key];\r\n    if (cached) {\r\n        return cached;\r\n    }\r\n    if (template[0] === '#') {\r\n        const el = document.querySelector(template);\r\n        if ((process.env.NODE_ENV !== 'production') && !el) {\r\n            warn(`Template element not found or is empty: ${template}`);\r\n        }\r\n        // __UNSAFE__\r\n        // Reason: potential execution of JS expressions in in-DOM template.\r\n        // The user must make sure the in-DOM template is trusted. If it's rendered\r\n        // by the server, the template should not contain any user data.\r\n        template = el ? el.innerHTML : ``;\r\n    }\r\n    const { code } = compile(template, extend({\r\n        hoistStatic: true,\r\n        onError: (process.env.NODE_ENV !== 'production') ? onError : undefined,\r\n        onWarn: (process.env.NODE_ENV !== 'production') ? e => onError(e, true) : NOOP\r\n    }, options));\r\n    function onError(err, asWarning = false) {\r\n        const message = asWarning\r\n            ? err.message\r\n            : `Template compilation error: ${err.message}`;\r\n        const codeFrame = err.loc &&\r\n            generateCodeFrame(template, err.loc.start.offset, err.loc.end.offset);\r\n        warn(codeFrame ? `${message}\\n${codeFrame}` : message);\r\n    }\r\n    // The wildcard import results in a huge object with every export\r\n    // with keys that cannot be mangled, and can be quite heavy size-wise.\r\n    // In the global build we know `Vue` is available globally so we can avoid\r\n    // the wildcard object.\r\n    const render = (new Function('Vue', code)(runtimeDom));\r\n    render._rc = true;\r\n    return (compileCache[key] = render);\r\n}\r\nregisterRuntimeCompiler(compileToFunction);\n\nexport { compileToFunction as compile };\n","export function getDevtoolsGlobalHook() {\n    return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;\n}\nexport function getTarget() {\n    // @ts-ignore\n    return typeof navigator !== 'undefined'\n        ? window\n        : typeof global !== 'undefined'\n            ? global\n            : {};\n}\n","/*!\n * vuex v4.0.2\n * (c) 2021 Evan You\n * @license MIT\n */\nimport { inject, reactive, watch } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\nvar storeKey = 'store';\n\nfunction useStore (key) {\n  if ( key === void 0 ) key = null;\n\n  return inject(key !== null ? key : storeKey)\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find (list, f) {\n  return list.filter(f)[0]\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array<Object>} cache\n * @return {*}\n */\nfunction deepCopy (obj, cache) {\n  if ( cache === void 0 ) cache = [];\n\n  // just return if obj is immutable value\n  if (obj === null || typeof obj !== 'object') {\n    return obj\n  }\n\n  // if obj is hit, it is in circular structure\n  var hit = find(cache, function (c) { return c.original === obj; });\n  if (hit) {\n    return hit.copy\n  }\n\n  var copy = Array.isArray(obj) ? [] : {};\n  // put the copy into cache at first\n  // because we want to refer it in recursive deepCopy\n  cache.push({\n    original: obj,\n    copy: copy\n  });\n\n  Object.keys(obj).forEach(function (key) {\n    copy[key] = deepCopy(obj[key], cache);\n  });\n\n  return copy\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n  Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n  return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n  return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n  if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n  return function () {\n    return fn(arg)\n  }\n}\n\nfunction genericSubscribe (fn, subs, options) {\n  if (subs.indexOf(fn) < 0) {\n    options && options.prepend\n      ? subs.unshift(fn)\n      : subs.push(fn);\n  }\n  return function () {\n    var i = subs.indexOf(fn);\n    if (i > -1) {\n      subs.splice(i, 1);\n    }\n  }\n}\n\nfunction resetStore (store, hot) {\n  store._actions = Object.create(null);\n  store._mutations = Object.create(null);\n  store._wrappedGetters = Object.create(null);\n  store._modulesNamespaceMap = Object.create(null);\n  var state = store.state;\n  // init all modules\n  installModule(store, state, [], store._modules.root, true);\n  // reset state\n  resetStoreState(store, state, hot);\n}\n\nfunction resetStoreState (store, state, hot) {\n  var oldState = store._state;\n\n  // bind store public getters\n  store.getters = {};\n  // reset local getters cache\n  store._makeLocalGettersCache = Object.create(null);\n  var wrappedGetters = store._wrappedGetters;\n  var computedObj = {};\n  forEachValue(wrappedGetters, function (fn, key) {\n    // use computed to leverage its lazy-caching mechanism\n    // direct inline function use will lead to closure preserving oldState.\n    // using partial to return function with only arguments preserved in closure environment.\n    computedObj[key] = partial(fn, store);\n    Object.defineProperty(store.getters, key, {\n      // TODO: use `computed` when it's possible. at the moment we can't due to\n      // https://github.com/vuejs/vuex/pull/1883\n      get: function () { return computedObj[key](); },\n      enumerable: true // for local getters\n    });\n  });\n\n  store._state = reactive({\n    data: state\n  });\n\n  // enable strict mode for new state\n  if (store.strict) {\n    enableStrictMode(store);\n  }\n\n  if (oldState) {\n    if (hot) {\n      // dispatch changes in all subscribed watchers\n      // to force getter re-evaluation for hot reloading.\n      store._withCommit(function () {\n        oldState.data = null;\n      });\n    }\n  }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n  var isRoot = !path.length;\n  var namespace = store._modules.getNamespace(path);\n\n  // register in namespace map\n  if (module.namespaced) {\n    if (store._modulesNamespaceMap[namespace] && (process.env.NODE_ENV !== 'production')) {\n      console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n    }\n    store._modulesNamespaceMap[namespace] = module;\n  }\n\n  // set state\n  if (!isRoot && !hot) {\n    var parentState = getNestedState(rootState, path.slice(0, -1));\n    var moduleName = path[path.length - 1];\n    store._withCommit(function () {\n      if ((process.env.NODE_ENV !== 'production')) {\n        if (moduleName in parentState) {\n          console.warn(\n            (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n          );\n        }\n      }\n      parentState[moduleName] = module.state;\n    });\n  }\n\n  var local = module.context = makeLocalContext(store, namespace, path);\n\n  module.forEachMutation(function (mutation, key) {\n    var namespacedType = namespace + key;\n    registerMutation(store, namespacedType, mutation, local);\n  });\n\n  module.forEachAction(function (action, key) {\n    var type = action.root ? key : namespace + key;\n    var handler = action.handler || action;\n    registerAction(store, type, handler, local);\n  });\n\n  module.forEachGetter(function (getter, key) {\n    var namespacedType = namespace + key;\n    registerGetter(store, namespacedType, getter, local);\n  });\n\n  module.forEachChild(function (child, key) {\n    installModule(store, rootState, path.concat(key), child, hot);\n  });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n  var noNamespace = namespace === '';\n\n  var local = {\n    dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n      var args = unifyObjectStyle(_type, _payload, _options);\n      var payload = args.payload;\n      var options = args.options;\n      var type = args.type;\n\n      if (!options || !options.root) {\n        type = namespace + type;\n        if ((process.env.NODE_ENV !== 'production') && !store._actions[type]) {\n          console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n          return\n        }\n      }\n\n      return store.dispatch(type, payload)\n    },\n\n    commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n      var args = unifyObjectStyle(_type, _payload, _options);\n      var payload = args.payload;\n      var options = args.options;\n      var type = args.type;\n\n      if (!options || !options.root) {\n        type = namespace + type;\n        if ((process.env.NODE_ENV !== 'production') && !store._mutations[type]) {\n          console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n          return\n        }\n      }\n\n      store.commit(type, payload, options);\n    }\n  };\n\n  // getters and state object must be gotten lazily\n  // because they will be changed by state update\n  Object.defineProperties(local, {\n    getters: {\n      get: noNamespace\n        ? function () { return store.getters; }\n        : function () { return makeLocalGetters(store, namespace); }\n    },\n    state: {\n      get: function () { return getNestedState(store.state, path); }\n    }\n  });\n\n  return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n  if (!store._makeLocalGettersCache[namespace]) {\n    var gettersProxy = {};\n    var splitPos = namespace.length;\n    Object.keys(store.getters).forEach(function (type) {\n      // skip if the target getter is not match this namespace\n      if (type.slice(0, splitPos) !== namespace) { return }\n\n      // extract local getter type\n      var localType = type.slice(splitPos);\n\n      // Add a port to the getters proxy.\n      // Define as getter property because\n      // we do not want to evaluate the getters in this time.\n      Object.defineProperty(gettersProxy, localType, {\n        get: function () { return store.getters[type]; },\n        enumerable: true\n      });\n    });\n    store._makeLocalGettersCache[namespace] = gettersProxy;\n  }\n\n  return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n  var entry = store._mutations[type] || (store._mutations[type] = []);\n  entry.push(function wrappedMutationHandler (payload) {\n    handler.call(store, local.state, payload);\n  });\n}\n\nfunction registerAction (store, type, handler, local) {\n  var entry = store._actions[type] || (store._actions[type] = []);\n  entry.push(function wrappedActionHandler (payload) {\n    var res = handler.call(store, {\n      dispatch: local.dispatch,\n      commit: local.commit,\n      getters: local.getters,\n      state: local.state,\n      rootGetters: store.getters,\n      rootState: store.state\n    }, payload);\n    if (!isPromise(res)) {\n      res = Promise.resolve(res);\n    }\n    if (store._devtoolHook) {\n      return res.catch(function (err) {\n        store._devtoolHook.emit('vuex:error', err);\n        throw err\n      })\n    } else {\n      return res\n    }\n  });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n  if (store._wrappedGetters[type]) {\n    if ((process.env.NODE_ENV !== 'production')) {\n      console.error((\"[vuex] duplicate getter key: \" + type));\n    }\n    return\n  }\n  store._wrappedGetters[type] = function wrappedGetter (store) {\n    return rawGetter(\n      local.state, // local state\n      local.getters, // local getters\n      store.state, // root state\n      store.getters // root getters\n    )\n  };\n}\n\nfunction enableStrictMode (store) {\n  watch(function () { return store._state.data; }, function () {\n    if ((process.env.NODE_ENV !== 'production')) {\n      assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n    }\n  }, { deep: true, flush: 'sync' });\n}\n\nfunction getNestedState (state, path) {\n  return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n  if (isObject(type) && type.type) {\n    options = payload;\n    payload = type;\n    type = type.type;\n  }\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n  }\n\n  return { type: type, payload: payload, options: options }\n}\n\nvar LABEL_VUEX_BINDINGS = 'vuex bindings';\nvar MUTATIONS_LAYER_ID = 'vuex:mutations';\nvar ACTIONS_LAYER_ID = 'vuex:actions';\nvar INSPECTOR_ID = 'vuex';\n\nvar actionId = 0;\n\nfunction addDevtools (app, store) {\n  setupDevtoolsPlugin(\n    {\n      id: 'org.vuejs.vuex',\n      app: app,\n      label: 'Vuex',\n      homepage: 'https://next.vuex.vuejs.org/',\n      logo: 'https://vuejs.org/images/icons/favicon-96x96.png',\n      packageName: 'vuex',\n      componentStateTypes: [LABEL_VUEX_BINDINGS]\n    },\n    function (api) {\n      api.addTimelineLayer({\n        id: MUTATIONS_LAYER_ID,\n        label: 'Vuex Mutations',\n        color: COLOR_LIME_500\n      });\n\n      api.addTimelineLayer({\n        id: ACTIONS_LAYER_ID,\n        label: 'Vuex Actions',\n        color: COLOR_LIME_500\n      });\n\n      api.addInspector({\n        id: INSPECTOR_ID,\n        label: 'Vuex',\n        icon: 'storage',\n        treeFilterPlaceholder: 'Filter stores...'\n      });\n\n      api.on.getInspectorTree(function (payload) {\n        if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n          if (payload.filter) {\n            var nodes = [];\n            flattenStoreForInspectorTree(nodes, store._modules.root, payload.filter, '');\n            payload.rootNodes = nodes;\n          } else {\n            payload.rootNodes = [\n              formatStoreForInspectorTree(store._modules.root, '')\n            ];\n          }\n        }\n      });\n\n      api.on.getInspectorState(function (payload) {\n        if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n          var modulePath = payload.nodeId;\n          makeLocalGetters(store, modulePath);\n          payload.state = formatStoreForInspectorState(\n            getStoreModule(store._modules, modulePath),\n            modulePath === 'root' ? store.getters : store._makeLocalGettersCache,\n            modulePath\n          );\n        }\n      });\n\n      api.on.editInspectorState(function (payload) {\n        if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n          var modulePath = payload.nodeId;\n          var path = payload.path;\n          if (modulePath !== 'root') {\n            path = modulePath.split('/').filter(Boolean).concat( path);\n          }\n          store._withCommit(function () {\n            payload.set(store._state.data, path, payload.state.value);\n          });\n        }\n      });\n\n      store.subscribe(function (mutation, state) {\n        var data = {};\n\n        if (mutation.payload) {\n          data.payload = mutation.payload;\n        }\n\n        data.state = state;\n\n        api.notifyComponentUpdate();\n        api.sendInspectorTree(INSPECTOR_ID);\n        api.sendInspectorState(INSPECTOR_ID);\n\n        api.addTimelineEvent({\n          layerId: MUTATIONS_LAYER_ID,\n          event: {\n            time: Date.now(),\n            title: mutation.type,\n            data: data\n          }\n        });\n      });\n\n      store.subscribeAction({\n        before: function (action, state) {\n          var data = {};\n          if (action.payload) {\n            data.payload = action.payload;\n          }\n          action._id = actionId++;\n          action._time = Date.now();\n          data.state = state;\n\n          api.addTimelineEvent({\n            layerId: ACTIONS_LAYER_ID,\n            event: {\n              time: action._time,\n              title: action.type,\n              groupId: action._id,\n              subtitle: 'start',\n              data: data\n            }\n          });\n        },\n        after: function (action, state) {\n          var data = {};\n          var duration = Date.now() - action._time;\n          data.duration = {\n            _custom: {\n              type: 'duration',\n              display: (duration + \"ms\"),\n              tooltip: 'Action duration',\n              value: duration\n            }\n          };\n          if (action.payload) {\n            data.payload = action.payload;\n          }\n          data.state = state;\n\n          api.addTimelineEvent({\n            layerId: ACTIONS_LAYER_ID,\n            event: {\n              time: Date.now(),\n              title: action.type,\n              groupId: action._id,\n              subtitle: 'end',\n              data: data\n            }\n          });\n        }\n      });\n    }\n  );\n}\n\n// extracted from tailwind palette\nvar COLOR_LIME_500 = 0x84cc16;\nvar COLOR_DARK = 0x666666;\nvar COLOR_WHITE = 0xffffff;\n\nvar TAG_NAMESPACED = {\n  label: 'namespaced',\n  textColor: COLOR_WHITE,\n  backgroundColor: COLOR_DARK\n};\n\n/**\n * @param {string} path\n */\nfunction extractNameFromPath (path) {\n  return path && path !== 'root' ? path.split('/').slice(-2, -1)[0] : 'Root'\n}\n\n/**\n * @param {*} module\n * @return {import('@vue/devtools-api').CustomInspectorNode}\n */\nfunction formatStoreForInspectorTree (module, path) {\n  return {\n    id: path || 'root',\n    // all modules end with a `/`, we want the last segment only\n    // cart/ -> cart\n    // nested/cart/ -> cart\n    label: extractNameFromPath(path),\n    tags: module.namespaced ? [TAG_NAMESPACED] : [],\n    children: Object.keys(module._children).map(function (moduleName) { return formatStoreForInspectorTree(\n        module._children[moduleName],\n        path + moduleName + '/'\n      ); }\n    )\n  }\n}\n\n/**\n * @param {import('@vue/devtools-api').CustomInspectorNode[]} result\n * @param {*} module\n * @param {string} filter\n * @param {string} path\n */\nfunction flattenStoreForInspectorTree (result, module, filter, path) {\n  if (path.includes(filter)) {\n    result.push({\n      id: path || 'root',\n      label: path.endsWith('/') ? path.slice(0, path.length - 1) : path || 'Root',\n      tags: module.namespaced ? [TAG_NAMESPACED] : []\n    });\n  }\n  Object.keys(module._children).forEach(function (moduleName) {\n    flattenStoreForInspectorTree(result, module._children[moduleName], filter, path + moduleName + '/');\n  });\n}\n\n/**\n * @param {*} module\n * @return {import('@vue/devtools-api').CustomInspectorState}\n */\nfunction formatStoreForInspectorState (module, getters, path) {\n  getters = path === 'root' ? getters : getters[path];\n  var gettersKeys = Object.keys(getters);\n  var storeState = {\n    state: Object.keys(module.state).map(function (key) { return ({\n      key: key,\n      editable: true,\n      value: module.state[key]\n    }); })\n  };\n\n  if (gettersKeys.length) {\n    var tree = transformPathsToObjectTree(getters);\n    storeState.getters = Object.keys(tree).map(function (key) { return ({\n      key: key.endsWith('/') ? extractNameFromPath(key) : key,\n      editable: false,\n      value: canThrow(function () { return tree[key]; })\n    }); });\n  }\n\n  return storeState\n}\n\nfunction transformPathsToObjectTree (getters) {\n  var result = {};\n  Object.keys(getters).forEach(function (key) {\n    var path = key.split('/');\n    if (path.length > 1) {\n      var target = result;\n      var leafKey = path.pop();\n      path.forEach(function (p) {\n        if (!target[p]) {\n          target[p] = {\n            _custom: {\n              value: {},\n              display: p,\n              tooltip: 'Module',\n              abstract: true\n            }\n          };\n        }\n        target = target[p]._custom.value;\n      });\n      target[leafKey] = canThrow(function () { return getters[key]; });\n    } else {\n      result[key] = canThrow(function () { return getters[key]; });\n    }\n  });\n  return result\n}\n\nfunction getStoreModule (moduleMap, path) {\n  var names = path.split('/').filter(function (n) { return n; });\n  return names.reduce(\n    function (module, moduleName, i) {\n      var child = module[moduleName];\n      if (!child) {\n        throw new Error((\"Missing module \\\"\" + moduleName + \"\\\" for path \\\"\" + path + \"\\\".\"))\n      }\n      return i === names.length - 1 ? child : child._children\n    },\n    path === 'root' ? moduleMap : moduleMap.root._children\n  )\n}\n\nfunction canThrow (cb) {\n  try {\n    return cb()\n  } catch (e) {\n    return e\n  }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n  this.runtime = runtime;\n  // Store some children item\n  this._children = Object.create(null);\n  // Store the origin module object which passed by programmer\n  this._rawModule = rawModule;\n  var rawState = rawModule.state;\n\n  // Store the origin module's state\n  this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors$1 = { namespaced: { configurable: true } };\n\nprototypeAccessors$1.namespaced.get = function () {\n  return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n  this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n  delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n  return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n  return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n  this._rawModule.namespaced = rawModule.namespaced;\n  if (rawModule.actions) {\n    this._rawModule.actions = rawModule.actions;\n  }\n  if (rawModule.mutations) {\n    this._rawModule.mutations = rawModule.mutations;\n  }\n  if (rawModule.getters) {\n    this._rawModule.getters = rawModule.getters;\n  }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n  forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n  if (this._rawModule.getters) {\n    forEachValue(this._rawModule.getters, fn);\n  }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n  if (this._rawModule.actions) {\n    forEachValue(this._rawModule.actions, fn);\n  }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n  if (this._rawModule.mutations) {\n    forEachValue(this._rawModule.mutations, fn);\n  }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors$1 );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n  // register root module (Vuex.Store options)\n  this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n  return path.reduce(function (module, key) {\n    return module.getChild(key)\n  }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n  var module = this.root;\n  return path.reduce(function (namespace, key) {\n    module = module.getChild(key);\n    return namespace + (module.namespaced ? key + '/' : '')\n  }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n  update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n    var this$1$1 = this;\n    if ( runtime === void 0 ) runtime = true;\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assertRawModule(path, rawModule);\n  }\n\n  var newModule = new Module(rawModule, runtime);\n  if (path.length === 0) {\n    this.root = newModule;\n  } else {\n    var parent = this.get(path.slice(0, -1));\n    parent.addChild(path[path.length - 1], newModule);\n  }\n\n  // register nested modules\n  if (rawModule.modules) {\n    forEachValue(rawModule.modules, function (rawChildModule, key) {\n      this$1$1.register(path.concat(key), rawChildModule, runtime);\n    });\n  }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n  var parent = this.get(path.slice(0, -1));\n  var key = path[path.length - 1];\n  var child = parent.getChild(key);\n\n  if (!child) {\n    if ((process.env.NODE_ENV !== 'production')) {\n      console.warn(\n        \"[vuex] trying to unregister module '\" + key + \"', which is \" +\n        \"not registered\"\n      );\n    }\n    return\n  }\n\n  if (!child.runtime) {\n    return\n  }\n\n  parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n  var parent = this.get(path.slice(0, -1));\n  var key = path[path.length - 1];\n\n  if (parent) {\n    return parent.hasChild(key)\n  }\n\n  return false\n};\n\nfunction update (path, targetModule, newModule) {\n  if ((process.env.NODE_ENV !== 'production')) {\n    assertRawModule(path, newModule);\n  }\n\n  // update target module\n  targetModule.update(newModule);\n\n  // update nested modules\n  if (newModule.modules) {\n    for (var key in newModule.modules) {\n      if (!targetModule.getChild(key)) {\n        if ((process.env.NODE_ENV !== 'production')) {\n          console.warn(\n            \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n            'manual reload is needed'\n          );\n        }\n        return\n      }\n      update(\n        path.concat(key),\n        targetModule.getChild(key),\n        newModule.modules[key]\n      );\n    }\n  }\n}\n\nvar functionAssert = {\n  assert: function (value) { return typeof value === 'function'; },\n  expected: 'function'\n};\n\nvar objectAssert = {\n  assert: function (value) { return typeof value === 'function' ||\n    (typeof value === 'object' && typeof value.handler === 'function'); },\n  expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n  getters: functionAssert,\n  mutations: functionAssert,\n  actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n  Object.keys(assertTypes).forEach(function (key) {\n    if (!rawModule[key]) { return }\n\n    var assertOptions = assertTypes[key];\n\n    forEachValue(rawModule[key], function (value, type) {\n      assert(\n        assertOptions.assert(value),\n        makeAssertionMessage(path, key, type, value, assertOptions.expected)\n      );\n    });\n  });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n  var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n  if (path.length > 0) {\n    buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n  }\n  buf += \" is \" + (JSON.stringify(value)) + \".\";\n  return buf\n}\n\nfunction createStore (options) {\n  return new Store(options)\n}\n\nvar Store = function Store (options) {\n  var this$1$1 = this;\n  if ( options === void 0 ) options = {};\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n    assert(this instanceof Store, \"store must be called with the new operator.\");\n  }\n\n  var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n  var strict = options.strict; if ( strict === void 0 ) strict = false;\n  var devtools = options.devtools;\n\n  // store internal state\n  this._committing = false;\n  this._actions = Object.create(null);\n  this._actionSubscribers = [];\n  this._mutations = Object.create(null);\n  this._wrappedGetters = Object.create(null);\n  this._modules = new ModuleCollection(options);\n  this._modulesNamespaceMap = Object.create(null);\n  this._subscribers = [];\n  this._makeLocalGettersCache = Object.create(null);\n  this._devtools = devtools;\n\n  // bind commit and dispatch to self\n  var store = this;\n  var ref = this;\n  var dispatch = ref.dispatch;\n  var commit = ref.commit;\n  this.dispatch = function boundDispatch (type, payload) {\n    return dispatch.call(store, type, payload)\n  };\n  this.commit = function boundCommit (type, payload, options) {\n    return commit.call(store, type, payload, options)\n  };\n\n  // strict mode\n  this.strict = strict;\n\n  var state = this._modules.root.state;\n\n  // init root module.\n  // this also recursively registers all sub-modules\n  // and collects all module getters inside this._wrappedGetters\n  installModule(this, state, [], this._modules.root);\n\n  // initialize the store state, which is responsible for the reactivity\n  // (also registers _wrappedGetters as computed properties)\n  resetStoreState(this, state);\n\n  // apply plugins\n  plugins.forEach(function (plugin) { return plugin(this$1$1); });\n};\n\nvar prototypeAccessors = { state: { configurable: true } };\n\nStore.prototype.install = function install (app, injectKey) {\n  app.provide(injectKey || storeKey, this);\n  app.config.globalProperties.$store = this;\n\n  var useDevtools = this._devtools !== undefined\n    ? this._devtools\n    : (process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__;\n\n  if (useDevtools) {\n    addDevtools(app, this);\n  }\n};\n\nprototypeAccessors.state.get = function () {\n  return this._state.data\n};\n\nprototypeAccessors.state.set = function (v) {\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(false, \"use store.replaceState() to explicit replace store state.\");\n  }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n    var this$1$1 = this;\n\n  // check object-style commit\n  var ref = unifyObjectStyle(_type, _payload, _options);\n    var type = ref.type;\n    var payload = ref.payload;\n    var options = ref.options;\n\n  var mutation = { type: type, payload: payload };\n  var entry = this._mutations[type];\n  if (!entry) {\n    if ((process.env.NODE_ENV !== 'production')) {\n      console.error((\"[vuex] unknown mutation type: \" + type));\n    }\n    return\n  }\n  this._withCommit(function () {\n    entry.forEach(function commitIterator (handler) {\n      handler(payload);\n    });\n  });\n\n  this._subscribers\n    .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n    .forEach(function (sub) { return sub(mutation, this$1$1.state); });\n\n  if (\n    (process.env.NODE_ENV !== 'production') &&\n    options && options.silent\n  ) {\n    console.warn(\n      \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n      'Use the filter functionality in the vue-devtools'\n    );\n  }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n    var this$1$1 = this;\n\n  // check object-style dispatch\n  var ref = unifyObjectStyle(_type, _payload);\n    var type = ref.type;\n    var payload = ref.payload;\n\n  var action = { type: type, payload: payload };\n  var entry = this._actions[type];\n  if (!entry) {\n    if ((process.env.NODE_ENV !== 'production')) {\n      console.error((\"[vuex] unknown action type: \" + type));\n    }\n    return\n  }\n\n  try {\n    this._actionSubscribers\n      .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n      .filter(function (sub) { return sub.before; })\n      .forEach(function (sub) { return sub.before(action, this$1$1.state); });\n  } catch (e) {\n    if ((process.env.NODE_ENV !== 'production')) {\n      console.warn(\"[vuex] error in before action subscribers: \");\n      console.error(e);\n    }\n  }\n\n  var result = entry.length > 1\n    ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n    : entry[0](payload);\n\n  return new Promise(function (resolve, reject) {\n    result.then(function (res) {\n      try {\n        this$1$1._actionSubscribers\n          .filter(function (sub) { return sub.after; })\n          .forEach(function (sub) { return sub.after(action, this$1$1.state); });\n      } catch (e) {\n        if ((process.env.NODE_ENV !== 'production')) {\n          console.warn(\"[vuex] error in after action subscribers: \");\n          console.error(e);\n        }\n      }\n      resolve(res);\n    }, function (error) {\n      try {\n        this$1$1._actionSubscribers\n          .filter(function (sub) { return sub.error; })\n          .forEach(function (sub) { return sub.error(action, this$1$1.state, error); });\n      } catch (e) {\n        if ((process.env.NODE_ENV !== 'production')) {\n          console.warn(\"[vuex] error in error action subscribers: \");\n          console.error(e);\n        }\n      }\n      reject(error);\n    });\n  })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n  return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n  var subs = typeof fn === 'function' ? { before: fn } : fn;\n  return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch$1 (getter, cb, options) {\n    var this$1$1 = this;\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n  }\n  return watch(function () { return getter(this$1$1.state, this$1$1.getters); }, cb, Object.assign({}, options))\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n    var this$1$1 = this;\n\n  this._withCommit(function () {\n    this$1$1._state.data = state;\n  });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n    if ( options === void 0 ) options = {};\n\n  if (typeof path === 'string') { path = [path]; }\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n    assert(path.length > 0, 'cannot register the root module by using registerModule.');\n  }\n\n  this._modules.register(path, rawModule);\n  installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n  // reset store to update getters...\n  resetStoreState(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n    var this$1$1 = this;\n\n  if (typeof path === 'string') { path = [path]; }\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n  }\n\n  this._modules.unregister(path);\n  this._withCommit(function () {\n    var parentState = getNestedState(this$1$1.state, path.slice(0, -1));\n    delete parentState[path[path.length - 1]];\n  });\n  resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n  if (typeof path === 'string') { path = [path]; }\n\n  if ((process.env.NODE_ENV !== 'production')) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n  }\n\n  return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n  this._modules.update(newOptions);\n  resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n  var committing = this._committing;\n  this._committing = true;\n  fn();\n  this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors );\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n  var res = {};\n  if ((process.env.NODE_ENV !== 'production') && !isValidMap(states)) {\n    console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(states).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n\n    res[key] = function mappedState () {\n      var state = this.$store.state;\n      var getters = this.$store.getters;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n        if (!module) {\n          return\n        }\n        state = module.context.state;\n        getters = module.context.getters;\n      }\n      return typeof val === 'function'\n        ? val.call(this, state, getters)\n        : state[val]\n    };\n    // mark vuex getter for devtools\n    res[key].vuex = true;\n  });\n  return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n  var res = {};\n  if ((process.env.NODE_ENV !== 'production') && !isValidMap(mutations)) {\n    console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(mutations).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n\n    res[key] = function mappedMutation () {\n      var args = [], len = arguments.length;\n      while ( len-- ) args[ len ] = arguments[ len ];\n\n      // Get the commit method from store\n      var commit = this.$store.commit;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n        if (!module) {\n          return\n        }\n        commit = module.context.commit;\n      }\n      return typeof val === 'function'\n        ? val.apply(this, [commit].concat(args))\n        : commit.apply(this.$store, [val].concat(args))\n    };\n  });\n  return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n  var res = {};\n  if ((process.env.NODE_ENV !== 'production') && !isValidMap(getters)) {\n    console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(getters).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n\n    // The namespace has been mutated by normalizeNamespace\n    val = namespace + val;\n    res[key] = function mappedGetter () {\n      if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n        return\n      }\n      if ((process.env.NODE_ENV !== 'production') && !(val in this.$store.getters)) {\n        console.error((\"[vuex] unknown getter: \" + val));\n        return\n      }\n      return this.$store.getters[val]\n    };\n    // mark vuex getter for devtools\n    res[key].vuex = true;\n  });\n  return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n  var res = {};\n  if ((process.env.NODE_ENV !== 'production') && !isValidMap(actions)) {\n    console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(actions).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n\n    res[key] = function mappedAction () {\n      var args = [], len = arguments.length;\n      while ( len-- ) args[ len ] = arguments[ len ];\n\n      // get dispatch function from store\n      var dispatch = this.$store.dispatch;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n        if (!module) {\n          return\n        }\n        dispatch = module.context.dispatch;\n      }\n      return typeof val === 'function'\n        ? val.apply(this, [dispatch].concat(args))\n        : dispatch.apply(this.$store, [val].concat(args))\n    };\n  });\n  return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n  mapState: mapState.bind(null, namespace),\n  mapGetters: mapGetters.bind(null, namespace),\n  mapMutations: mapMutations.bind(null, namespace),\n  mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n  if (!isValidMap(map)) {\n    return []\n  }\n  return Array.isArray(map)\n    ? map.map(function (key) { return ({ key: key, val: key }); })\n    : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n  return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n  return function (namespace, map) {\n    if (typeof namespace !== 'string') {\n      map = namespace;\n      namespace = '';\n    } else if (namespace.charAt(namespace.length - 1) !== '/') {\n      namespace += '/';\n    }\n    return fn(namespace, map)\n  }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n  var module = store._modulesNamespaceMap[namespace];\n  if ((process.env.NODE_ENV !== 'production') && !module) {\n    console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n  }\n  return module\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger (ref) {\n  if ( ref === void 0 ) ref = {};\n  var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;\n  var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };\n  var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };\n  var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };\n  var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };\n  var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };\n  var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;\n  var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;\n  var logger = ref.logger; if ( logger === void 0 ) logger = console;\n\n  return function (store) {\n    var prevState = deepCopy(store.state);\n\n    if (typeof logger === 'undefined') {\n      return\n    }\n\n    if (logMutations) {\n      store.subscribe(function (mutation, state) {\n        var nextState = deepCopy(state);\n\n        if (filter(mutation, prevState, nextState)) {\n          var formattedTime = getFormattedTime();\n          var formattedMutation = mutationTransformer(mutation);\n          var message = \"mutation \" + (mutation.type) + formattedTime;\n\n          startMessage(logger, message, collapsed);\n          logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n          logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n          logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n          endMessage(logger);\n        }\n\n        prevState = nextState;\n      });\n    }\n\n    if (logActions) {\n      store.subscribeAction(function (action, state) {\n        if (actionFilter(action, state)) {\n          var formattedTime = getFormattedTime();\n          var formattedAction = actionTransformer(action);\n          var message = \"action \" + (action.type) + formattedTime;\n\n          startMessage(logger, message, collapsed);\n          logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n          endMessage(logger);\n        }\n      });\n    }\n  }\n}\n\nfunction startMessage (logger, message, collapsed) {\n  var startMessage = collapsed\n    ? logger.groupCollapsed\n    : logger.group;\n\n  // render\n  try {\n    startMessage.call(logger, message);\n  } catch (e) {\n    logger.log(message);\n  }\n}\n\nfunction endMessage (logger) {\n  try {\n    logger.groupEnd();\n  } catch (e) {\n    logger.log('—— log end ——');\n  }\n}\n\nfunction getFormattedTime () {\n  var time = new Date();\n  return (\" @ \" + (pad(time.getHours(), 2)) + \":\" + (pad(time.getMinutes(), 2)) + \":\" + (pad(time.getSeconds(), 2)) + \".\" + (pad(time.getMilliseconds(), 3)))\n}\n\nfunction repeat (str, times) {\n  return (new Array(times + 1)).join(str)\n}\n\nfunction pad (num, maxLength) {\n  return repeat('0', maxLength - num.toString().length) + num\n}\n\nvar index = {\n  version: '4.0.2',\n  Store: Store,\n  storeKey: storeKey,\n  createStore: createStore,\n  useStore: useStore,\n  mapState: mapState,\n  mapMutations: mapMutations,\n  mapGetters: mapGetters,\n  mapActions: mapActions,\n  createNamespacedHelpers: createNamespacedHelpers,\n  createLogger: createLogger\n};\n\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, createStore, mapActions, mapGetters, mapMutations, mapState, storeKey, useStore };\n","import { getTarget, getDevtoolsGlobalHook } from './env';\nimport { HOOK_SETUP } from './const';\nexport * from './api';\nexport function setupDevtoolsPlugin(pluginDescriptor, setupFn) {\n    const hook = getDevtoolsGlobalHook();\n    if (hook) {\n        hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);\n    }\n    else {\n        const target = getTarget();\n        const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];\n        list.push({\n            pluginDescriptor,\n            setupFn\n        });\n    }\n}\n","export const HOOK_SETUP = 'devtools-plugin:setup';\n","import LooseObject from \"@/interfaces/LooseObject\";\nimport StoreModule from \"@/interfaces/StoreModule\";\nimport dayjs from \"dayjs\";\nimport timezone from \"dayjs/plugin/timezone\";\nimport utc from \"dayjs/plugin/utc\";\nimport { ActionContext } from \"vuex\";\nimport axios from \"axios\";\n\nconst giftDefaultState = (): LooseObject => {\n  return {\n    giftingDirectory: <string>\"/gift\",\n    gift: <LooseObject | null>null,\n    giftee_first_name: <string>\"\",\n    giftee_last_name: <string>\"\",\n    giftee_email: <string>\"\",\n    gifter_first_name: <string>\"\",\n    gifter_last_name: <string>\"\",\n    gifter_email: <string>\"\",\n    send_immediately: <boolean>true,\n    send_date: <string | null>null, // YYYY-MM-DD\n    send_date_day: dayjs()\n      .format(\"DD\"),\n    send_date_month: dayjs()\n      .format(\"MM\"),\n    send_date_year: dayjs()\n      .format(\"YYYY\"),\n    send_date_hour: dayjs()\n      .format(\"hh\"),\n    send_date_minute: (15 * Math.round(parseInt(dayjs()\n      .format(\"m\")) / 15)).toString()\n      .padStart(2, \"0\"),\n    send_date_meridian: dayjs()\n      .format(\"A\"),\n    send_time: <string | null>null,\n    send_timezone: <string | null>null,\n    tos: <boolean>false,\n    message: <string>\"\",\n    cc_name: <string>\"\",\n    cc_number: <string>\"\",\n    cc_exp_month: <number | null>null,\n    cc_exp_year: <number | null>null,\n    cc_cvc: <number | null>null,\n    billing_address: <string>\"\",\n    billing_suite: <string>\"\",\n    billing_city: <string>\"\",\n    billing_state: <string>\"\",\n    billing_zip: <string>\"\",\n    billing_country: <string>\"\",\n    payment_processor_data: <LooseObject | null>null,\n    redeemed_at: <string | null>null,\n    isVerified: <boolean>false,\n    redemption_code: <string | null>null,\n    isProcessing: <boolean>false\n  };\n};\n\nconst GiftModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => giftDefaultState(),\n\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = giftDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    postGift(context: ActionContext<any, any>, payload: LooseObject) {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.tz.setDefault(context.state.send_timezone);\n\n      let deliver_at = \"\";\n      if (context.state.send_immediately === true) {\n        deliver_at = dayjs()\n          .format();\n      } else {\n        deliver_at = dayjs(`${context.state.send_date_year}-${context.state.send_date_month}-${context.state.send_date_day}T:${context.state.send_date_hour}:${context.state.send_date_minute}:00`)\n          .format();\n      }\n\n      context.commit(\"setProperty\", {\n        property: \"send_date\",\n        data: deliver_at\n      });\n\n      const giftPayload: LooseObject = {\n        gifter_email: context.state.gifter_email,\n        gifter_first_name: context.state.gifter_first_name,\n        gifter_last_name: context.state.gifter_last_name,\n        giftee_email: context.state.giftee_email,\n        giftee_first_name: context.state.giftee_first_name,\n        giftee_last_name: context.state.giftee_last_name,\n        deliver_at: deliver_at,\n        price_id: payload.price_id,\n        payment_processor_data: context.state.payment_processor_data,\n        message: context.state.message,\n        user_data: {\n          billing_address: {\n            address1: context.state.billing_country === \"United States\" ? context.state.billing_address : null,\n            address2: context.state.billing_country === \"United States\" ? context.state.billing_suite : null,\n            city: context.state.billing_country === \"United States\" ? context.state.billing_city : null,\n            state: context.state.billing_country === \"United States\" ? context.state.billing_state : null,\n            country: context.state.billing_country,\n            zip: context.state.billing_zip\n          }\n        }\n      };\n\n      axios\n        .post(\"/api/apps/v3/gifts\", giftPayload, {\n          withCredentials: true\n        })\n        .then((response) => {\n          context.commit(\"setProperty\", {\n            property: \"gift\",\n            data: response.data.gift\n          });\n          setTimeout(() => {\n            window.location.href = `${context.state.giftingDirectory}/success`;\n          }, 500);\n        })\n        .catch(() => {\n          context.commit(\"setProperty\", {\n            property: \"isProcessing\",\n            data: false\n          });\n          setTimeout(() => {\n            window.location.href = `${context.state.giftingDirectory}/failure`;\n          }, 500);\n        });\n    },\n    processingPaymentStatus(context: ActionContext<any, any>, payload: boolean) {\n      context.commit(\"setProperty\", {\n        property: \"isProcessing\",\n        data: payload\n      });\n    }\n  },\n  getters: {}\n};\n\nexport default GiftModule;\n","import StoreModule from \"@/interfaces/StoreModule\";\nimport LiveStream from \"@/interfaces/LiveStream\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport axios, { AxiosResponse } from \"axios\";\nimport MediaItem from \"@/interfaces/MediaItem\";\n\nconst livestreamDefaultState = (): LooseObject => {\n  return {\n    selectedDate: <string>\"\",\n    loadingOptIn: <boolean>false,\n    modalId: <number>0,\n    showModal: <boolean>false,\n    loadingLivestreams: false,\n    livestreams: <Array<LiveStream>>[],\n    livestreamCustomPeriodData: <Array<LiveStream>>[],\n    livestream: <LiveStream>{},\n    liveSvodCap: <number>0,\n    loadingMyLivestreams: <boolean>false,\n    myLivestreams: <Array<LiveStream>>[],\n    timezone: <string>\"\"\n  };\n};\n\nconst LivestreamModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => livestreamDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    toggleModal(state: LooseObject) {\n      state.showModal = !state.showModal;\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = livestreamDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    loadLiveStreamsByDate(context: ActionContext<any, any>): void {\n      context.commit(\"setProperty\", {\n        property: \"loadingLivestreams\",\n        data: true\n      });\n\n      axios\n        .get(\"/api/apps/v3/live_streams\", {\n          withCredentials: true,\n          params: {\n            date_from: context.state.selectedDate.format(\"YYYY-MM-DD\"),\n            date_to: context.state.selectedDate.format(\"YYYY-MM-DD\"),\n            date_timezone: context.state.timezone,\n            includes: \"associations\"\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"loadingLivestreams\",\n            data: false\n          });\n\n          // Remove streams that don't have associated subscriptions\n          const filteredStreams: Array<LiveStream> = response.data.media.filter((o: MediaItem) => {\n            return o.associated_products.length > 0;\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"livestreams\",\n            data: filteredStreams\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"liveSvodCap\",\n            data: response.data.metadata.live_svod_cap\n          });\n        });\n    },\n    fetchLiveStream(context: ActionContext<any, any>, {date_from, date_to}: {date_from: string; date_to: string}) {\n      context.commit(\"setProperty\", {\n        property: \"loadingLivestreams\",\n        data: true\n      });\n\n      axios\n        .get(\"/api/apps/v3/live_streams\", {\n          withCredentials: true,\n          params: {\n            date_from,\n            date_to,\n            date_timezone: context.state.timezone,\n            includes: \"associations\"\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          // Remove streams that don't have associated subscriptions\n          const filteredStreams: Array<LiveStream> = response.data.media.filter((o: MediaItem) => {\n            return o.associated_products.length > 0;\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"livestreamCustomPeriodData\",\n            data: filteredStreams\n          });\n\n        }).finally(() => {\n          context.commit(\"setProperty\", {\n            property: \"loadingLivestreams\",\n            data: false\n          });\n        })\n    },\n    loadMyLiveStreams(context: ActionContext<any, any>): void {\n      axios\n        .get(\"/api/apps/v3/live_streams\", {\n          withCredentials: true,\n          params: {\n            includes: \"associations\",\n            registered: true\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"myLivestreams\",\n            data: response.data.media\n          });\n        });\n    },\n    loadLivestream(context: ActionContext<any, any>, id: number): void {\n      axios\n        .get(`/api/apps/v3/live_streams/${id}`, {\n          withCredentials: true\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"liveSvodCap\",\n            data: response.data.metadata.live_svod_cap\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"livestream\",\n            data: response.data.media\n          });\n        });\n    }\n  },\n  getters: {\n    getLivestreamById:\n      (state: LooseObject) =>\n        (id: number): LiveStream => {\n          return <LiveStream>state.livestreams.filter((o: any) => {\n            return o.resource_id === id;\n          })[0];\n        }\n  }\n};\n\nexport default LivestreamModule;\n","import LooseObject from \"@/interfaces/LooseObject\";\nimport Product from \"@/interfaces/Product\";\nimport StoreModule from \"@/interfaces/StoreModule\";\nimport axios, { AxiosResponse } from \"axios\";\nimport { ActionContext } from \"vuex\";\n\nconst productDefaultState = (): LooseObject => {\n  return {\n    products: {\n      // gift product type\n      gift: <Array<Product>>[],\n      // subscription product type\n      subscription: <Array<Product>>[]\n    },\n    product: <Product>{},\n    product_id: <number | null>null, // Not necessary for payload\n    price_id: <number | null>null,\n    tax_rate: <LooseObject | null>null\n  };\n};\n\nconst ProductModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => productDefaultState(),\n\n  mutations: <LooseObject>{\n    setProducts(state: LooseObject, payload: LooseObject): void {\n      state.products[payload.pricing_type] = payload.data;\n    },\n    setProduct(state: LooseObject, n: Product): void {\n      state.product = n;\n    },\n    setProductId(state: LooseObject, n: number) {\n      state.product_id = n;\n    },\n    setPriceId(state: LooseObject, n: number) {\n      state.price_id = n;\n    },\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = productDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    loadProducts(context: ActionContext<any, any>, pricing_type: string): void {\n      axios\n        .get(`/api/apps/v3/accounts/${context.rootState.account.id}/products`, {\n          withCredentials: true,\n          params: {\n            \"include[prices]\": \"true\",\n            \"filter[prices][pricing_type]\": pricing_type\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"products\",\n            subProperty: pricing_type,\n            data: response.data.products\n          });\n        });\n    },\n    getTaxRate(context: ActionContext<any, any>, payload: LooseObject) {\n      context.commit(\"setProperty\", {\n        property: \"tax_rate\",\n        data: null\n      });\n\n      if (typeof payload.zip !== \"undefined\" && payload.zip.length >= 5 && typeof payload.country !== \"undefined\" && payload.country === \"United States\") {\n        axios\n          .get(`/api/apps/v3/prices/${payload.id}/tax_rate`, {\n            withCredentials: true,\n            params: {\n              address1: payload.address1,\n              address2: payload.address2,\n              city: payload.city,\n              state: payload.state,\n              zip: payload.zip\n            }\n          })\n          .then((response: AxiosResponse) => {\n            context.commit(\"setProperty\", {\n              property: \"tax_rate\",\n              data: response.data.prices\n            });\n          })\n          .catch((error) => {\n            console.log(error);\n          });\n      }\n    }\n  },\n  getters: {}\n};\n\nexport default ProductModule;\n","import StoreModule from \"@/interfaces/StoreModule\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport axios, { AxiosResponse } from \"axios\";\nimport CalendarEvent from \"@/interfaces/CalendarEvent\";\nimport dayjs, { Dayjs } from \"dayjs\";\nimport utc from \"dayjs/plugin/utc\";\nimport timezone from \"dayjs/plugin/timezone\";\nimport weekOfYear from \"dayjs/plugin/weekOfYear\";\nimport calendar from \"dayjs/plugin/calendar\";\n\ndayjs.extend(utc);\ndayjs.extend(timezone);\ndayjs.extend(weekOfYear);\ndayjs.extend(calendar);\n\nconst calendarDefaultState = (): LooseObject => {\n  return {\n    calendarEvents: <Array<CalendarEvent>>[],\n    selectedDateEvents: <Array<CalendarEvent>>[],\n    loadingEvents: <boolean>false,\n    loadingDateEvents: <boolean>false,\n    selectedDate: <string | Dayjs>dayjs(),\n    calendarDate: <string | Dayjs>dayjs(),\n    viewMode: <string>\"week\",\n    userTimezone: dayjs.tz.guess()\n  };\n};\n\nconst CalendarModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => calendarDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = calendarDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    loadEventsByDate(context: ActionContext<any, any>, dates: LooseObject): void {\n      context.commit(\"setProperty\", {\n        property: \"loadingEvents\",\n        data: true\n      });\n\n      axios\n        .get(\"/api/apps/v3/calendar_events\", {\n          withCredentials: true,\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          },\n          params: {\n            \"filter[from_date]\": dayjs(dates.from)\n              .hour(0)\n              .minute(0)\n              .second(0)\n              .utc()\n              .local()\n              .format(),\n            \"filter[authorized_media]\": dates.deliveryMethod.value === \"delivery_only\" ? true : false,\n            \"filter[to_date]\": dayjs(dates.to)\n              .hour(23)\n              .minute(59)\n              .second(59)\n              .utc()\n              .local()\n              .format(),\n            \"per_page\": 99999\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"loadingEvents\",\n            data: false\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"calendarEvents\",\n            data: response.data.calendar_events\n          });\n        });\n    },\n\n    loadSelectedDateEvents(context: ActionContext<any, any>, deliveryMethod: LooseObject): void {\n      context.commit(\"setProperty\", {\n        property: \"loadingDateEvents\",\n        data: true\n      });\n\n      axios\n        .get(\"/api/apps/v3/calendar_events\", {\n          withCredentials: true,\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          },\n          params: {\n            \"filter[from_date]\": dayjs(context.state.selectedDate)\n              .hour(0)\n              .minute(0)\n              .second(0)\n              .utc()\n              .local()\n              .format(),\n            \"filter[authorized_media]\": deliveryMethod.deliveryMethod.value === \"delivery_only\" ? true : false,\n            \"filter[to_date]\": dayjs(context.state.selectedDate)\n              .hour(23)\n              .minute(59)\n              .second(59)\n              .utc()\n              .local()\n              .format(),\n            \"per_page\": 99999\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"loadingDateEvents\",\n            data: false\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"selectedDateEvents\",\n            data: response.data.calendar_events\n          });\n        });\n    }\n  },\n  getters: {}\n};\n\nexport default CalendarModule;\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n  // lazy load so that environments that need to polyfill have a chance to do so\n  if (!getRandomValues) {\n    // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n    // find the complete implementation of crypto (msCrypto) on IE11.\n    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n    if (!getRandomValues) {\n      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n    }\n  }\n\n  return getRandomValues(rnds8);\n}","import StoreModule from \"@/interfaces/StoreModule\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport axios from \"axios\";\nimport MediaItem from \"@/interfaces/MediaItem\";\nimport FilterGroup from \"@/interfaces/FilterGroup\";\n\nconst mediaDefaultState = (): LooseObject => {\n  return {\n    mediaId: <string | null>null,\n    mediaItem: <LooseObject>{},\n    loadingMedia: <boolean>false,\n    openRatingModal: <boolean>false,\n    mediaItems: <Array<MediaItem>>[],\n    filterGroups: <Array<FilterGroup>>[]\n  };\n};\n\nconst MediaModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => mediaDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = mediaDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    loadFilters(context: ActionContext<any, any>): void {\n      axios\n        .get(`/api/apps/v3/filters`, {\n          withCredentials: false,\n          params: {\n            per_page: 999999\n          }\n        })\n        .then((response) => {\n          context.commit(\"setProperty\", {\n            property: \"filterGroups\",\n            data: response.data.filter_groups\n          });\n        });\n    },\n    loadMediaItem(context: ActionContext<any, any>, mediaId: number): void {\n      context.commit(\"setProperty\", {\n        property: \"loadingMedia\",\n        data: true\n      });\n\n      axios\n        .get(`/api/apps/v3/media/${mediaId}`, {\n          withCredentials: true\n        })\n        .then((response) => {\n          context.commit(\"setProperty\", {\n            property: \"loadingMedia\",\n            data: false\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"mediaItem\",\n            data: response.data\n          });\n        });\n    }\n  },\n  getters: {}\n};\n\nexport default MediaModule;\n","import StoreModule from \"@/interfaces/StoreModule\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport Memo from \"@/interfaces/Memo\";\nimport dayjs from \"dayjs\";\nimport axios, { AxiosResponse } from \"axios\";\n\nconst memoDefaultState = (): LooseObject => {\n  return {\n    memos: <Array<Memo>>[],\n    loadingMemos: <boolean>false,\n    lastUpdated: <string | null>null,\n    reviewedDate: <string | null>null\n  };\n};\n\nconst MemoModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => memoDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = memoDefaultState();\n\n      for (const i in defaultState) {\n        if (i !== \"reviewedDate\") {\n          state[i] = defaultState[i];\n        }\n      }\n    }\n  },\n  actions: {\n    loadMemos(context: ActionContext<any, any>): void {\n      context.commit(\"setProperty\", {\n        property: \"loadingMemos\",\n        data: true\n      });\n\n      axios\n        .get(\"/api/apps/v3/memos\", {\n          withCredentials: true,\n          params: {\n            type: \"bulletin\",\n            active: true,\n            order_by: \"last_updated\",\n            per_page: 5\n          },\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"loadingMemos\",\n            data: false\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"memos\",\n            data: response.data.memos.sort((a: Memo, b: Memo) => {\n              return Date.parse(b.updated_at) - Date.parse(a.updated_at);\n            })\n          });\n\n          if (context.state.memos.length) {\n            context.commit(\"setProperty\", {\n              property: \"lastUpdated\",\n              data: dayjs(context.state.memos[0].updated_at)\n                .toISOString()\n            });\n          }\n        });\n    },\n    viewMemos(context: ActionContext<any, any>) {\n      context.state.memos.forEach((e: Memo) => {\n        axios.patch(\n          `/api/apps/v3/memos/${e.id}/view`,\n          {},\n          {\n            withCredentials: true\n          }\n        );\n      });\n    }\n  },\n  getters: {}\n};\n\nexport default MemoModule;\n","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n  byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  // Note: Be careful editing this code!  It's been tuned for performance\n  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one\n  // of the following:\n  // - One or more input array values don't map to a hex octet (leading to\n  // \"undefined\" in the uuid)\n  // - Invalid input values for the RFC `version` or `variant` fields\n\n  if (!validate(uuid)) {\n    throw TypeError('Stringified UUID is invalid');\n  }\n\n  return uuid;\n}\n\nexport default stringify;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n  return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n  options = options || {};\n  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n  rnds[6] = rnds[6] & 0x0f | 0x40;\n  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n  if (buf) {\n    offset = offset || 0;\n\n    for (var i = 0; i < 16; ++i) {\n      buf[offset + i] = rnds[i];\n    }\n\n    return buf;\n  }\n\n  return stringify(rnds);\n}\n\nexport default v4;","import StoreModule from \"@/interfaces/StoreModule\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport Toast from \"@/interfaces/Toast\";\nimport * as uuid from \"uuid\";\n\nconst toastDefaultState = (): LooseObject => {\n  return {\n    toasts: <Array<Toast>>[]\n  };\n};\n\nconst ToastModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => toastDefaultState(),\n  mutations: {\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = toastDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    },\n    addToast(state: LooseObject, toast: Toast) {\n      toast.id = uuid.v4();\n      state.toasts.push(toast);\n    },\n    removeToast(state: LooseObject, id: string) {\n      const toast: Toast = state.toasts.find((t: Toast) => {\n        return t.id === id;\n      });\n\n      if (typeof toast !== \"undefined\") {\n        state.toasts.splice(state.toasts.indexOf(toast), 1);\n      }\n    }\n  },\n  actions: {},\n  getters: {}\n};\n\nexport default ToastModule;\n","import StoreModule from \"@/interfaces/StoreModule\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport axios, { AxiosResponse } from \"axios\";\nimport Feature from \"@/interfaces/Feature\";\n\nconst featureDefaultState = (): LooseObject => {\n  return {\n    features: <Array<Feature>>[],\n    loadingFeatures: <boolean>false\n  };\n};\n\nconst FeatureModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => featureDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = featureDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    loadFeatures(context: ActionContext<any, any>): void {\n      if (typeof context.rootState.account.id !== \"undefined\") {\n        context.commit(\"setProperty\", {\n          property: \"loadingFeatures\",\n          data: true\n        });\n\n        axios\n          .get(\"/api/apps/v3/features/status\", {\n            withCredentials: true,\n            params: {\n              page_size: 100000\n            },\n            headers: {\n              \"Account-ID\": context.rootState.account.id\n            }\n          })\n          .then((response: AxiosResponse<LooseObject>) => {\n            context.commit(\"setProperty\", {\n              property: \"loadingFeatures\",\n              data: false\n            });\n\n            context.commit(\"setProperty\", {\n              property: \"features\",\n              data: response.data\n            });\n          });\n      } else {\n        setTimeout(() => {\n          context.dispatch(\"loadFeatures\");\n        }, 500);\n      }\n    }\n  },\n  getters: {}\n};\n\nexport default FeatureModule;\n","var e=Object.defineProperty,t=Object.defineProperties,o=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,r=(t,o,n)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,l=(e,t)=>{for(var o in t||(t={}))s.call(t,o)&&r(e,o,t[o]);if(n)for(var o of n(t))i.call(t,o)&&r(e,o,t[o]);return e},a=(e,n)=>t(e,o(n));import{ref as u,onMounted as p,onUnmounted as c,computed as h,createVNode as d,defineComponent as v,openBlock as m,createBlock as f,watchEffect as g,resolveComponent as _,Transition as w,withCtx as y,createCommentVNode as b,toDisplayString as I,renderSlot as T,render as x}from\"vue\";const C={type:\"default\",timeout:5e3,showCloseButton:!0,position:\"top-right\",transition:\"bounce\",hideProgressBar:!1,swipeClose:!0};var M,E;(E=M||(M={}))[E.TITLE_ONLY=0]=\"TITLE_ONLY\",E[E.TITLE_DESCRIPTION=1]=\"TITLE_DESCRIPTION\",E[E.COMPONENT=2]=\"COMPONENT\",E[E.VNODE=3]=\"VNODE\";const z={\"top-left\":{bounce:\"mosha__bounceInLeft\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInLeft\"},\"top-right\":{bounce:\"mosha__bounceInRight\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInRight\"},\"top-center\":{bounce:\"mosha__bounceInDown\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInDown\"},\"bottom-center\":{bounce:\"mosha__bounceInUp\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInUp\"},\"bottom-right\":{bounce:\"mosha__bounceInRight\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInRight\"},\"bottom-left\":{bounce:\"mosha__bounceInLeft\",zoom:\"mosha__zoomIn\",slide:\"mosha__slideInLeft\"}},S=(e,t)=>d(e,t),L=(e,t=300)=>{let o;return(...n)=>{o&&(clearTimeout(o),o=void 0),o=setTimeout((()=>e(...n)),t)}},O=(e,t,o)=>{const n=u(),s=u(void 0),i=u(),r=e=>e instanceof MouseEvent,p=u=>{!1!==o&&n.value&&(r(u)?s.value=n.value.clientX-u.clientX:s.value=n.value.touches[0].clientX-u.touches[0].clientX,i.value=a(l({},i.value),{transition:\"none\"}),e.endsWith(\"left\")?i.value.left=-s.value+\"px !important\":e.endsWith(\"right\")?i.value.right=`${s.value}px !important`:s.value>0?i.value.left=-s.value+\"px !important\":i.value.right=`${s.value}px !important`,Math.abs(s.value)>200&&t())},h=e=>{!1!==o&&(n.value&&(n.value=void 0),s.value&&(s.value=void 0),removeEventListener(e,p))};return c((()=>{!1!==o&&(h(\"mousemove\"),h(\"touchmove\"))})),{swipedDiff:s,swipeStart:n,swipeStyle:i,swipeHandler:p,startSwipeHandler:t=>{if(!1===o)return;n.value=t;const a=r(t)?\"mousemove\":\"touchmove\",u=r(t)?\"mouseup\":\"touchend\";addEventListener(a,p),addEventListener(u,(()=>(t=>{const o={transition:\"left .3s ease-out\",left:0},r={transition:\"right .3s ease-out\",right:0},a={transition:\"all .3s ease-out\",left:0,right:0};e.endsWith(\"left\")?i.value=l(l({},i.value),o):e.endsWith(\"right\")?i.value=l(l({},i.value),r):i.value=l(l({},i.value),a),n.value=void 0,s.value=void 0,removeEventListener(t,p)})(a)))},cleanUpMove:h}};var N=v({props:{type:{type:String,default:\"default\"}}});const B={class:\"mosha__icon\"},P={key:0,xmlns:\"http://www.w3.org/2000/svg\",height:\"32px\",viewBox:\"0 0 24 24\",width:\"32px\",fill:\"#ffffff\"},D=d(\"path\",{d:\"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z\"},null,-1),H={key:1,xmlns:\"http://www.w3.org/2000/svg\",height:\"32px\",viewBox:\"0 0 24 24\",width:\"32px\",fill:\"#ffffff\"},k=d(\"path\",{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 11c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z\"},null,-1),V={key:2,xmlns:\"http://www.w3.org/2000/svg\",height:\"32px\",viewBox:\"0 0 24 24\",width:\"32px\",fill:\"#ffffff\"},R=d(\"path\",{d:\"M0 0h24v24H0V0z\",fill:\"none\"},null,-1),$=d(\"path\",{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29L5.7 12.7c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z\"},null,-1),j={key:3,xmlns:\"http://www.w3.org/2000/svg\",height:\"32px\",viewBox:\"0 0 24 24\",width:\"32px\",fill:\"#616161\"},W=d(\"path\",{d:\"M0 0h24v24H0z\",fill:\"none\"},null,-1),q=d(\"path\",{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"},null,-1),U={key:4,xmlns:\"http://www.w3.org/2000/svg\",height:\"32px\",viewBox:\"0 0 24 24\",width:\"32px\",fill:\"#ffffff\"},X=d(\"path\",{d:\"M0 0h24v24H0z\",fill:\"none\"},null,-1),F=d(\"path\",{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"},null,-1);N.render=function(e,t,o,n,s,i){return m(),f(\"span\",B,[\"warning\"===e.type?(m(),f(\"svg\",P,[D])):\"danger\"===e.type?(m(),f(\"svg\",H,[k])):\"success\"===e.type?(m(),f(\"svg\",V,[R,$])):\"default\"===e.type?(m(),f(\"svg\",j,[W,q])):(m(),f(\"svg\",U,[X,F]))])};var Y=v({name:\"MToast\",components:{MIcon:N},props:{visible:Boolean,text:{type:String,default:\"\"},description:{type:String,default:\"\"},toastBackgroundColor:{type:String,default:\"\"},type:{type:String,default:\"default\"},onClose:{type:Function,default:()=>null},onCloseHandler:{type:Function,required:!0},offset:{type:Number,required:!0},id:{type:Number,required:!0},timeout:{type:Number,default:5e3},position:{type:String,required:!0},showCloseButton:{type:Boolean,default:!0},swipeClose:{type:Boolean,default:!0},hideProgressBar:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},transition:{type:String,default:\"bounce\"}},setup(e,t){const o=u(),{width:n}=(()=>{const e=u(-1),t=u(-1),o=o=>{null!==o&&null!==o.currentTarget&&(e.value=o.currentTarget.innerWidth,t.value=o.currentTarget.innerHeight)};return p((()=>{window.innerWidth>0&&(e.value=window.innerWidth,t.value=window.innerHeight),window.addEventListener(\"resize\",L(o))})),c((()=>{window.removeEventListener(\"resize\",L(o))})),{width:e,height:t}})(),{swipedDiff:s,startSwipeHandler:i,swipeStyle:r,cleanUpMove:l}=O(e.position,e.onCloseHandler,e.swipeClose),{transitionType:a}=(d=e.position,v=e.transition,m=s,{transitionType:h((()=>m.value>200?\"mosha__fadeOutLeft\":m.value<-200?\"mosha__fadeOutRight\":z[d][v]))});var d,v,m;const{start:f,stop:_,progress:w}=((e,t)=>{const o=u(),n=u(0),s=u(t),i=u(),r=u(100),l=()=>{clearInterval(i.value),clearTimeout(o.value)};return p((()=>{})),c((()=>{l()})),{start:()=>{n.value=Date.now(),clearTimeout(o.value),i.value=setInterval((()=>{r.value--}),t/100-5),o.value=setTimeout(e,s.value)},stop:()=>{clearInterval(i.value),clearTimeout(o.value),s.value-=Date.now()-n.value},clear:l,progress:r}})((()=>{e.onCloseHandler()}),e.timeout),y=h((()=>t.slots.default)),b=h((()=>/<\\/?[a-z][\\s\\S]*>/i.test(e.description))),I=()=>{e.timeout>0&&f()};return g((()=>{const{customStyle:t}=((e,t,o)=>{const n=h((()=>{switch(e){case\"top-left\":return{left:\"0\",top:`${t}px`};case\"bottom-left\":return{left:\"0\",bottom:`${t}px`};case\"bottom-right\":return{right:\"0\",bottom:`${t}px`};case\"top-center\":return{top:`${t}px`,left:\"0\",right:\"0\",marginRight:\"auto\",marginLeft:\"auto\"};case\"bottom-center\":return{bottom:`${t}px`,left:\"0\",right:\"0\",marginRight:\"auto\",marginLeft:\"auto\"};default:return{right:\"0\",top:`${t}px`}}}));return o.length>0&&(n.value.backgroundColor=o),{customStyle:n}})(e.position,e.offset,e.toastBackgroundColor);o.value=t.value})),p((()=>{I()})),{style:o,transitionType:a,startTimer:I,progress:w,onTouchStart:e=>{i(e)},onMouseLeave:()=>{l(\"mousemove\"),I()},onMouseDown:e=>{i(e)},swipeStyle:r,isSlotPassed:y,isDescriptionHtml:b,onMouseEnter:()=>{e.timeout>0&&n.value>425&&_()}}}});const A={class:\"mosha__toast__content-wrapper\"},G={class:\"mosha__toast__content\"},J={class:\"mosha__toast__content__text\"},K={key:1,class:\"mosha__toast__content__description\"},Q={key:0,class:\"mosha__toast__slot-wrapper\"};Y.render=function(e,t,o,n,s,i){const r=_(\"MIcon\");return m(),f(w,{name:e.transitionType,type:\"animation\"},{default:y((()=>[e.visible?(m(),f(\"div\",{key:0,class:[\"mosha__toast\",e.toastBackgroundColor?null:e.type],style:[e.style,e.swipeStyle],onMouseenter:t[2]||(t[2]=(...t)=>e.onMouseEnter&&e.onMouseEnter(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.onMouseLeave&&e.onMouseLeave(...t)),onTouchstartPassive:t[4]||(t[4]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onMousedown:t[5]||(t[5]=(...t)=>e.onMouseDown&&e.onMouseDown(...t))},[d(\"div\",A,[e.showIcon?(m(),f(r,{key:0,type:e.type},null,8,[\"type\"])):b(\"\",!0),d(\"div\",G,[d(\"div\",J,I(e.text),1),e.description.length>0&&e.isDescriptionHtml?(m(),f(\"div\",{key:0,class:\"mosha__toast__content__description\",innerHTML:e.description},null,8,[\"innerHTML\"])):b(\"\",!0),e.description.length>0&&!e.isDescriptionHtml?(m(),f(\"div\",K,I(e.description),1)):b(\"\",!0)])]),e.isSlotPassed?(m(),f(\"div\",Q,[T(e.$slots,\"default\")])):b(\"\",!0),e.showCloseButton?(m(),f(\"div\",{key:1,class:\"mosha__toast__close-icon\",onClick:t[1]||(t[1]=(...t)=>e.onCloseHandler&&e.onCloseHandler(...t))})):b(\"\",!0),e.hideProgressBar?b(\"\",!0):(m(),f(\"div\",{key:2,class:\"mosha__toast__progress\",style:{width:`${e.progress}%`}},null,4))],38)):b(\"\",!0)])),_:3},8,[\"name\"])};const Z={\"top-left\":[],\"top-right\":[],\"bottom-left\":[],\"bottom-right\":[],\"top-center\":[],\"bottom-center\":[]};let ee=0;const te=(e,t)=>{const o=ee++,n=t?se(t):C;if(e.__v_isVNode)return oe(o,M.VNODE,n,e),{close:()=>le(o,n.position)};if(e.hasOwnProperty(\"render\"))return oe(o,M.COMPONENT,n,e),{close:()=>le(o,n.position)};const s=ie(e);return oe(o,M.TITLE_DESCRIPTION,n,s),{close:()=>le(o,n.position)}},oe=(e,t,o,n)=>{setTimeout((()=>{const s=re(o,Z,12),i=document.createElement(\"div\");let r;document.body.appendChild(i),r=t===M.VNODE?d(Y,ne(o,e,s,le),(()=>[n])):t===M.TITLE_DESCRIPTION?d(Y,ne(o,e,s,le,n)):d(Y,ne(o,e,s,le),(()=>[d(n)])),x(r,i),Z[o.position].push({toastVNode:r,container:i}),r.component&&(r.component.props.visible=!0)}),1)},ne=(e,t,o,n,s)=>a(l(l({},e),s),{id:t,offset:o,visible:!1,onCloseHandler:()=>{n(t,e.position?e.position:\"top-right\")}}),se=e=>{const t=a(l({},e),{type:e.type||C.type,timeout:e.timeout||C.timeout,showCloseButton:e.showCloseButton,position:e.position||C.position,showIcon:e.showIcon,swipeClose:e.swipeClose,transition:e.transition||C.transition});return t.hideProgressBar=void 0!==t.timeout&&t.timeout<=0,void 0!==e.hideProgressBar&&(t.hideProgressBar=e.hideProgressBar),t},ie=e=>({text:\"string\"==typeof e?e:e.title,description:\"string\"==typeof e?void 0:e.description}),re=(e,t,o)=>{let n=o;if(!e.position)throw new Error(\"no position\");return t[e.position].forEach((({toastVNode:e})=>{const t=e.el.offsetHeight+o;n+=t||0})),n},le=(e,t)=>{const o=Z[t],n=o.findIndex((({toastVNode:t})=>t.props&&e===t.props.id));if(-1===n)return;const{container:s,toastVNode:i}=o[n];if(!i.el)return;const r=i.el.offsetHeight;Z[t].splice(n,1),((e,t,o,n)=>{for(let s=e;s<t.length;s++){const{toastVNode:e}=t[s];if(!e.el)return;const i=o.split(\"-\")[0]||\"top\",r=parseInt(e.el.style[i],10)-n-12;if(!e.component)return;e.component.props.offset=r}})(n,o,t,r),i.component&&(i.component.props.visible=!1,i.component.props.onClose&&i.component.props.onClose(),setTimeout((()=>{x(null,s),document.body.removeChild(s)}),1e3))},ae=()=>{Object.entries(Z).forEach((([e,t])=>{if(t.length>0){t.map((e=>e.toastVNode.props.id)).forEach((t=>{le(t,e)}))}}))};var ue={install:e=>{e.config.globalProperties.$moshaToast=te,e.provide(\"moshaToast\",te)}};export default ue;export{M as ToastContentType,ae as clearToasts,te as createToast,S as withProps};\n","import { createToast } from \"mosha-vue-toastify\";\n// Documentation https://szboynono.github.io/mosha-vue-toastify/#playground \n\nconst toasts = {\n  successToast: (message: string): any => {\n    createToast({\n      title: \"Success\",\n      description: message\n    },\n      {\n        timeout: 4000,\n        type: \"success\",\n        position: \"bottom-right\",\n        transition: \"zoom\"\n      });\n  },\n\n  errorToast: (message: string): any => {\n    createToast({\n      title: \"Oh No...\",\n      description: message\n    },\n      {\n        timeout: 6000,\n        type: \"danger\",\n        position: \"bottom-right\",\n        transition: \"zoom\"\n      });\n    },\n\n  warningToast: (message : string): any => {\n    createToast({\n      title: \"Warning...\",\n      description: message\n    }, \n      {\n        timeout: 6000,\n        type: \"warning\",\n        position: \"bottom-right\",\n        transition: \"zoom\"\n      });\n    }\n  };\n\nexport default toasts;","import axios, { AxiosResponse } from \"axios\";\nimport { ActionContext, createStore, Store } from \"vuex\";\nimport GiftModule from \"@/store/GiftModule\";\nimport LivestreamModule from \"@/store/LivestreamModule\";\nimport ProductModule from \"@/store/ProductModule\";\nimport CalendarModule from \"@/store/CalendarModule\";\nimport MediaModule from \"@/store/MediaModule\";\nimport MemoModule from \"@/store/MemoModule\";\nimport ToastModule from \"@/store/ToastModule\";\nimport Account from \"@/interfaces/Account\";\nimport LooseObject from \"@/interfaces/LooseObject\";\nimport Token from \"@/interfaces/Token\";\nimport Product from \"@/interfaces/Product\";\nimport User from \"@/interfaces/User\";\nimport FeatureModule from \"@/store/FeatureModule\";\nimport Subscription from \"@/interfaces/Subscription\";\nimport AccountIntegrationsModule from \"./AccountIntegrationsModule\";\n\nconst storeDefaultState = (): LooseObject => {\n  return {\n    domain: <string | null>null,\n    account: <Account>{},\n    user: <User>{},\n    subscriptions: <Array<Product>>[],\n    products: <Array<Product>>[],\n    authenticated: <boolean>false,\n    token: <Token | null>null,\n    clearStorageRoutes: <LooseObject>{\n      \"gift/give\": [\n        \"gift\",\n        \"product\"\n      ],\n      \"gift/redeem?redemption_code\": [\n        \"gift\",\n        \"product\"\n      ],\n      \"livestream\": [\"livestream\"],\n      \"calendar\": [\"calendar\"]\n    }\n  };\n};\n\nconst GlobalStore: Store<LooseObject> = createStore({\n  // global state\n  state: storeDefaultState(),\n\n  // feature-specific states\n  modules: {\n    gift: GiftModule,\n    livestream: LivestreamModule,\n    product: ProductModule,\n    calendar: CalendarModule,\n    memo: MemoModule,\n    toast: ToastModule,\n    feature: FeatureModule,\n    media: MediaModule,\n    accountIntegrations: AccountIntegrationsModule\n  },\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.hasOwnProperty(\"subSubProperty\") && payload.subSubProperty !== null) {\n        state[payload.property][payload.subProperty][payload.subSubProperty] = payload.data;\n      } else if (payload.hasOwnProperty(\"subProperty\") && payload.subProperty !== null) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setState(state: LooseObject) {\n      if (localStorage.getItem(\"store\")) {\n        const newStore: string | null = localStorage.getItem(\"store\");\n        this.replaceState(Object.assign(state, JSON.parse(newStore === null ? \"\" : newStore)));\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = storeDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    },\n    updateUserSubscriptionById(state: LooseObject, payload: LooseObject) {\n      let sub: Subscription = state.subscriptions.find((s: Subscription) => {\n        return (s.product_id === payload.id);\n      });\n\n      if (typeof sub !== \"undefined\") {\n        sub = Object.assign(sub, payload.data);\n      }\n    }\n  },\n  actions: {\n    initStore: function(context: ActionContext<any, any>) {\n      // Load state from LocalStorage\n      context.commit(\"setState\");\n\n      // Clear Store base state\n      context.commit(\"setDefaultState\");\n\n      // Clear memos on page-load\n      context.commit(\"memo/setDefaultState\");\n\n      // Clear toasts on page-load\n      context.commit(\"toast/setDefaultState\");\n\n      // Clear features on page-load\n      context.commit(\"feature/setDefaultState\");\n\n      // Clear media on page-load\n      context.commit(\"media/setDefaultState\");\n\n      // Iterate through list of routes that need to have storage wiped\n      for (const route in context.state.clearStorageRoutes) {\n        // If the current URL matches the iterated route\n        if (window.location.href.indexOf(route) > -1) {\n          // Special handling for livestream routes - only clear on main list page, not detail pages\n          if (route === \"livestream\") {\n            // Only clear if it's the main livestreams page (/livestreams), not a detail page (/livestream/slug?id=id)\n            if (window.location.href.includes(\"/livestreams\") && !window.location.href.includes(\"/livestream/\")) {\n              context.state.clearStorageRoutes[route].forEach((v: string) => {\n                context.commit(`${v}/setDefaultState`);\n              });\n            }\n          } else {\n            // For other routes, clear normally\n            context.state.clearStorageRoutes[route].forEach((v: string) => {\n              context.commit(`${v}/setDefaultState`);\n            });\n          }\n        }\n      }\n    },\n\n    // get account information by domain name\n    getAccount(context: ActionContext<any, any>) {\n      axios\n        .get(\"/api/apps/v3/accounts\", {\n          withCredentials: true,\n          params: {\n            \"domain[name]\": context.state.domain\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"account\",\n            data: response.data.accounts[0]\n          });\n        })\n        .catch((error) => {\n          console.log(error);\n        });\n    },\n    getUser(context: ActionContext<any, any>) {\n      axios\n        .get(\"/api/apps/v3/user\", {\n          withCredentials: true\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"authenticated\",\n            data: true\n          });\n\n          context.commit(\"setProperty\", {\n            property: \"user\",\n            data: response.data.user\n          });\n        })\n        .catch((error) => {\n          context.commit(\"setProperty\", {\n            property: \"authenticated\",\n            data: false\n          });\n          console.log(error);\n        });\n    },\n    getUserSubscriptions(context: ActionContext<any, any>) {\n      axios\n        .get(\"/api/apps/v3/subscriptions\", {\n          withCredentials: true,\n          params: {\n            \"include[prices]\": \"true\"\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"subscriptions\",\n            data: response.data.subscriptions\n          });\n        })\n        .catch((error) => {\n          context.commit(\"setProperty\", {\n            property: \"authenticated\",\n            data: false\n          });\n          console.log(error);\n        });\n    },\n    getUserPurchases(context: ActionContext<any, any>, payload: LooseObject) {\n      axios\n        .get(\"/api/apps/v3/purchases\", {\n          withCredentials: true,\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          },\n          params: {\n            \"filter[subscription]\": false\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"purchases\",\n            data: response.data.purchases\n          });\n        })\n        .catch((error) => {\n          context.commit(\"setProperty\", {\n            property: \"authenticated\",\n            data: false\n          });\n          console.log(error);\n        });\n    }    \n  }\n});\n\nexport default GlobalStore;\n","import LooseObject from \"@/interfaces/LooseObject\";\nimport { ActionContext } from \"vuex\";\nimport axios, { AxiosResponse, AxiosError } from \"axios\";\nimport StoreModule from \"@/interfaces/StoreModule\";\nimport toastify from \"../services/toasts\";\n\nconst AccountIntegrationsDefaultState = (): LooseObject => {\n  return {\n    accountIntegrations: <Array<any>> [],\n    clientIntegrations:<Array<any>> [],\n    oidcAccountID:<string | null> null,\n    integrationId:<number | null> null,\n    configurationId:<number | null> null\n\n  };\n};\n\nconst AccountIntegrationsModule: StoreModule = {\n  strict: true,\n  namespaced: true,\n  state: () => AccountIntegrationsDefaultState(),\n  mutations: {\n    setProperty(state: LooseObject, payload: LooseObject) {\n      if (payload.subProperty) {\n        state[payload.property][payload.subProperty] = payload.data;\n      } else {\n        state[payload.property] = payload.data;\n      }\n    },\n    setDefaultState(state: LooseObject) {\n      const defaultState: LooseObject = AccountIntegrationsDefaultState();\n\n      for (const i in defaultState) {\n        state[i] = defaultState[i];\n      }\n    }\n  },\n  actions: {\n    \n    loadAccountIntegrations(context: ActionContext<any, any>): void {\n      axios\n          .get(`/api/apps/v3/external_integrations`, {\n          })\n          .then((response: AxiosResponse<LooseObject>) => {\n            context.commit(\"setProperty\", {\n              property: \"accountIntegrations\",\n              data: response.data.external_integrations\n            });\n          })\n          .catch((error: AxiosError) => {\n            throw new Error(error.message);\n        });\n    },\n\n    loadClientIntegrations(context: ActionContext<any, any>): void {\n      axios\n        .get(`/api/apps/v3/external_integration_accounts`, {\n          withCredentials: true,\n          headers: {\n            \"Content-Type\": \"application/json\",\n            \"Account-id\" : context.rootState.account.id\n          }\n        })\n        .then((response: AxiosResponse<LooseObject>) => {\n          context.commit(\"setProperty\", {\n            property: \"clientIntegrations\",\n            data: response.data.external_integration_accounts\n          \n          });\n        })\n        .catch((error: AxiosError) => {\n          throw new Error(error.message);\n      });\n    },\n\n    postOidcIntegrationsID(context: ActionContext<any, any>, payload: LooseObject) {\n      axios\n        .post(\"/api/apps/v3/external_integration_accounts\", {\n          \"external_integration_account\":{\n            \"external_integration_id\": payload.integrationID,\n            \"settings\":[\n              {\n                \"name\":\"external_account_id\",\n                \"value\": payload.oidcID\n              }\n            ]\n          }\n        }, \n        {\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          }          \n        })\n        .then(() => {\n          toastify.successToast(\"Your integration id has been saved!\");\n          setTimeout(function(){\n            context.dispatch(\"accountIntegrations/loadClientIntegrations\");\n          }, 1500);          \n          context.commit(\"setProperty\", {\n            property: \"oidcAccountID\",\n            data: payload.oidcID\n          });\n        }).catch((error) => {\n          toastify.errorToast(`There was an error and your integration was not saved. ${error.message}`);\n          throw new Error(error.response.data.error);\n        });\n    },\n    deleteIntegration(context: ActionContext<any, any>, id: number) {\n      axios\n        .delete(`/api/apps/v3/external_integration_accounts/${id}`)\n        .then(() => {\n          toastify.successToast(\"Your integration has been deleted\");\n          setTimeout(function(){\n            context.dispatch(\"accountIntegrations/loadClientIntegrations\");\n          }, 1500); \n        }).catch((error) => {\n          toastify.errorToast(`There was an error and your integration was not deleted. ${error.message}`);\n          throw new Error(error.response.data.error);\n        });\n        context.commit(\"setProperty\", {\n          property: \"integrationId\",\n          data: null\n        });\n        context.commit(\"setProperty\", {\n          property: \"oidcAccountID\",\n          data: null\n        });\n    },\n    modifyIntegration(context: ActionContext<any, any>, new_value: string) {\n      axios\n        .patch(`/api/apps/v3/external_integration_accounts/${context.rootState.accountIntegrations.configurationId}`, {\n          \"external_integration_account\":{\n            \"settings\":[\n              {\n                \"name\":\"external_account_id\",\n                \"value\": new_value\n              }\n            ]\n          }\n        }, \n        {\n          headers: {\n            \"Account-ID\": context.rootState.account.id\n          }          \n        })\n        .then(() => {\n          toastify.successToast(\"Your integration id has been saved!\");\n          setTimeout(function(){\n            context.dispatch(\"accountIntegrations/loadClientIntegrations\");\n          }, 1500); \n          context.commit(\"setProperty\", {\n            property: \"oidcAccountID\",\n            data: new_value\n          });\n        }).catch((error) => {\n          toastify.errorToast(`There was an error and your integration was not saved. ${error.message}`);\n          throw new Error(error.response.data.error);\n        });\n    },\n    setConfigID(context: ActionContext<any, any>, payload: LooseObject) {\n      context.commit(\"setProperty\", {\n        property: \"configurationId\",\n        data: payload.id\n      });\n    }\n  },\n  getters: {}\n};\n\nexport default AccountIntegrationsModule;\n","import LooseObject from \"@/interfaces/LooseObject\";\n\nexport default class StringUtils {\n  readonly options: LooseObject = {\n    // List of HTML elements that are potentially unfavorable to edit directly\n    excludeElements: <Array<string>>[\n      \"html\",\n      \"head\",\n      \"style\",\n      \"title\",\n      \"meta\",\n      \"script\",\n      \"noscript\",\n      \"object\",\n      \"iframe\",\n      \"link\"\n    ]\n  };\n\n  constructor(options: LooseObject = {}) {\n    this.options = Object.assign(this.options, options);\n  }\n\n  public replaceInElement(element: HTMLElement, searchString: string, replaceString: string): void {\n      if (element.nodeType === 1 && element.innerText) {\n\t// Is element\n        element.innerText = this.replaceText(element.innerText, searchString, replaceString);\n      } else if (element.nodeType === 3 && element.data) {\n\t// Is text\n        element.data = this.replaceText(element.data, searchString, replaceString);\n      }\n    //}\n  }\n\n  public replaceInElements(element: HTMLElement, searchString: string, replaceString: string): void {\n    if (element.hasChildNodes()) {\n      element.childNodes.forEach((e: any) => {\n        if (this.validToReplace(e)) {\n          this.replaceInElements(e, searchString, replaceString);\n        }\n      });\n    } else if (this.validToReplace(element)) {\n        this.replaceInElement(element, searchString, replaceString);\n    }\n  }\n\n  public replaceText(context: string, searchString: string, replaceString: string): string {\n    var escapedSearchString = searchString.replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n    var regex = new RegExp(escapedSearchString, \"g\");\n    return context.replace(regex, replaceString);\n  }\n\n  public formatCurrency(context: number): string {\n    return (context / 100).toFixed(2);\n  }\n\n  public validToReplace(element: HTMLElement): boolean {\n    return this.options.excludeElements.indexOf(element.nodeName.replace(/#/g,'').toLowerCase()) === -1;\n  }\n}\n","<template>\n  <div v-if=\"filterGroups.length\"\n       class=\"container p-3\"\n  >\n    <div>\n      <p>\n        <strong>Filter Content:</strong>\n      </p>\n    </div>\n\n    <div class=\"btn-group\"\n         role=\"group\"\n    >\n      <button v-for=\"f in filterGroups\"\n              :key=\"`filterGroup_${f.id}`\"\n              :class=\"{ active: f.id === filterGroupId }\"\n              class=\"btn btn-outline-primary\"\n              type=\"button\"\n              @click=\"onFilterGroupSelect(f.id)\"\n      >\n        {{ f.name }}\n      </button>\n    </div>\n\n    <div v-if=\"filters && showFilters === true\"\n         class=\"w-100 p-4 rounded-3\"\n         style=\"background-color: #fff\"\n    >\n      <div class=\"d-flex flex-wrap\">\n        <button v-for=\"f in filters\"\n                :key=\"`filter_${f.id}`\"\n                :class=\"{ active: filterIds.indexOf(f) > -1 }\"\n                class=\"btn btn-outline-secondary rounded-pill me-4 mb-4\"\n                type=\"button\"\n                @click=\"onFilterSelect(f)\"\n        >\n          {{ f.name }}\n        </button>\n      </div>\n\n      <div>\n        <button class=\"btn btn-outline-primary me-4\" @click=\"onClearFilters\">\n          Clear All Filters\n        </button>\n        <button class=\"btn btn-outline-primary\" @click=\"onCloseFilters\">\n          Close Filter Selection\n        </button>\n      </div>\n    </div>\n\n    <div v-if=\"filterIds.length\"\n         class=\"d-md-flex mt-4\"\n    >\n      <div class=\"me-2 flex-shrink-0\">\n        Active Filters:\n      </div>\n\n      <div class=\"flex-grow-1 mb-4 mb-md-0\">\n        <button v-for=\"f in filterIds\"\n                :key=\"`filterId_${f.id}`\"\n                class=\"btn btn-primary btn-sm rounded-pill me-2\"\n                type=\"button\"\n                @click=\"onFilterDeselect(f)\"\n        >\n          {{ f.name }}\n          <span class=\"ms-1\">×</span>\n        </button>\n      </div>\n\n      <div v-if=\"showFilters === false\"\n           class=\"flex-shrink-1 text-md-end\"\n      >\n        <button class=\"btn btn-sm btn-outline-primary\"\n                @click=\"onClearFilters\"\n        >\n          Clear All Filters\n        </button>\n        <button class=\"btn btn-sm btn-outline-primary ms-2\"\n                @click=\"onOpenFilters\"\n        >\n          Edit Filters\n        </button>\n      </div>\n    </div>\n\n    <div class=\"mt-4 d-md-flex justify-content-between\">\n      <div class=\"me-4 flex-shrink-0\">\n        <strong>Showing {{ mediaItems.length }} results</strong>\n      </div>\n\n      <div class=\"flex-shrink-0\">\n        <global_bootstrap-select id=\"sort_order\"\n                                 v-model:value=\"sortOrder\"\n                                 :inline-label=\"true\"\n                                 :input-list=\"sortOptions\"\n                                 label=\"Sort By\"\n                                 name=\"sort_order\"\n        />\n      </div>\n    </div>\n\n    <div v-if=\"isLoading\"\n         class=\"mt-4\"\n    >\n      Loading...\n    </div>\n\n    <div v-if=\"!mediaItems.length && !isLoading\"\n         class=\"mt-4\"\n    >\n      No results.\n    </div>\n\n    <div v-if=\"mediaItems.length && !isLoading\"\n         class=\"mt-4\"\n    >\n      <ul class=\"row row-cols-1 row-cols-sm-2 row-cols-lg-4\"\n          style=\"list-style: none\"\n      >\n        <media_asset-thumbnail v-for=\"media in mediaItems\"\n                               :key=\"`media_${media.resource_id}`\"\n                               :asset-url=\"media.url\"\n                               :has-access=\"true\"\n                               :is-new=\"media.is_new\"\n                               :is-playlist=\"false\"\n                               :is-small=\"false\"\n                               :media-id=\"media.resource_id\"\n                               :playlist-id=\"null\"\n                               :show-description=\"true\"\n        />\n      </ul>\n      <div class=\"d-flex justify-content-center\" v-if=\"pageInfo.total_items > resultsPerPage\">\n        <button class=\"btn btn-primary\" :disabled=\"pageInfo.previous_page === null\" @click=\"onPreviousPage()\">Previous Page</button>\n        &nbsp;&nbsp;\n        <button class=\"btn btn-primary\" :disabled=\"pageInfo.next_page === null\" @click=\"onNextPage()\">Next Page</button>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, watch } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Taxonomy from \"@/interfaces/Taxonomy\";\n  import FilterGroup from \"@/interfaces/FilterGroup\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n  import Media_AssetThumbnail from \"@/components/subscriber/media/Media_AssetThumbnail.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n\n  const Browse_FilterTabList: Component<LooseObject> = defineComponent({\n    components: {\n      \"media_asset-thumbnail\": Media_AssetThumbnail,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const isLoading: Ref<boolean> = ref(false);\n      const filterGroupId: Ref<number | null> = ref(null);\n      const filterIds: Ref<Array<Taxonomy>> = ref([]);\n      const showFilters: Ref<boolean> = ref(true);\n      const mediaItems: Ref<Array<MediaItem>> = ref([]);\n      const currentPage: Ref<number> = ref(1);\n      const pageInfo: Ref = ref({});\n      const resultsPerPage: Ref<number> = ref(20);\n\n      const filterGroups: ComputedRef<Array<FilterGroup>> = computed(() => {\n        return store.state.media.filterGroups;\n      });\n\n      const filters: ComputedRef<Array<Taxonomy> | undefined> = computed(() => {\n        return filterGroups.value.find((f: FilterGroup) => {\n          return f.id === filterGroupId.value;\n        })?.filters;\n      });\n\n      const sortOrder: Ref<string> = ref(\"updated_at_descending\");\n      const sortOptions: LooseObject = [\n        {\n          label: \"Alphabetically A → Z\",\n          value: \"alpha_ascending\"\n        },\n        {\n          label: \"Alphabetically Z → A\",\n          value: \"alpha_descending\"\n        },\n        {\n          label: \"Date added Newest → Oldest\",\n          value: \"updated_at_descending\"\n        },\n        {\n          label: \"Date added Oldest → Newest\",\n          value: \"updated_at_ascending\"\n        },\n        {\n          label: \"Duration Shortest → Longest\",\n          value: \"duration_ascending\"\n        },\n        {\n          label: \"Duration Longest → Shortest\",\n          value: \"duration_descending\"\n        },\n        {\n          label: \"Rating Lowest → Highest\",\n          value: \"rating_ascending\"\n        },\n        {\n          label: \"Rating Highest → Lowest\",\n          value: \"rating_descending\"\n        }\n      ];\n\n      const loadMediaItems = (): void => {\n        isLoading.value = true;\n        mediaItems.value = [];\n\n        axios\n          .get(\"/api/apps/v3/media\", {\n            params: {\n              filters: filterIds.value\n                .map((f) => {\n                  return f.id;\n                })\n                .toString(),\n              per_page: resultsPerPage.value,\n              page_number: currentPage.value\n            }\n          })\n          .catch((error: AxiosError) => {\n            console.log(error);\n          })\n          .then((response: void | AxiosResponse) => {\n            mediaItems.value = response?.data.media;\n            pageInfo.value = response?.data.page_info;\n            onSort();\n          })\n          .finally(() => {\n            isLoading.value = false;\n          });\n      };\n\n      const onPreviousPage = (): void => {\n        if(pageInfo.value.previous_page != null) {\n          currentPage.value -= 1;\n          pageInfo.value = {};\n          loadMediaItems();\n        }\n      }\n\n      const onNextPage = (): void => {\n        if(pageInfo.value.next_page != null) {\n          currentPage.value += 1;\n          pageInfo.value = {};\n          loadMediaItems();\n        }        \n      }\n      const onFilterGroupSelect = (id: number | null): void => {\n        showFilters.value = true;\n        filterGroupId.value = id;\n      };\n\n      const onFilterSelect = (f: Taxonomy): void => {\n        if (filterIds.value.indexOf(f) < 0) {\n          filterIds.value.push(f);\n        } else {\n          onFilterDeselect(f);\n        }\n        loadMediaItems();\n      };\n\n      const onFilterDeselect = (f: Taxonomy): void => {\n        filterIds.value.splice(filterIds.value.indexOf(f), 1);\n        loadMediaItems();\n      };\n\n      const onClearFilters = (): void => {\n        filterIds.value = [];\n        filterGroupId.value = null;\n        loadMediaItems();\n      };\n\n      const onCloseFilters = (): void => {\n        showFilters.value = false;\n      };\n\n      const onOpenFilters = (): void => {\n        showFilters.value = true;\n      };\n\n      const onSort = (): void => {\n        switch (sortOrder.value) {\n          case \"alpha_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.title < b.title ? -1 : 1;\n            });\n            break;\n          case \"alpha_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.title > b.title ? -1 : 1;\n            });\n            break;\n          case \"duration_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.duration - b.duration;\n            });\n            break;\n          case \"duration_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return b.duration - a.duration;\n            });\n            break;\n          case \"updated_at_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.updated_at - b.updated_at;\n            });\n            break;\n          case \"updated_at_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return b.updated_at - a.updated_at;\n            });\n            break;\n          case \"rating_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              let ar = 0;\n              let br = 0;\n              if (typeof a.rating !== \"undefined\" && a.rating.rating_avg !== null) {\n                ar = a.rating.rating_avg;\n              }\n\n              if (typeof b.rating !== \"undefined\" && b.rating.rating_avg !== null) {\n                br = b.rating.rating_avg;\n              }\n              return ar - br;\n            });\n            break;\n          case \"rating_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              let ar = 0;\n              let br = 0;\n              if (typeof a.rating !== \"undefined\" && a.rating.rating_avg !== null) {\n                ar = a.rating.rating_avg;\n              }\n\n              if (typeof b.rating !== \"undefined\" && b.rating.rating_avg !== null) {\n                br = b.rating.rating_avg;\n              }\n              return br - ar;\n            });\n            break;\n        }\n      };\n\n      watch([sortOrder], onSort);\n\n      const checkAccountId = (): void => {\n        if (typeof store.state.account.id === \"undefined\") {\n          setTimeout(checkAccountId, 250);\n        } else {\n          store.dispatch(\"media/loadFilters\");\n          loadMediaItems();\n        }\n      };\n      checkAccountId();\n\n      return {\n        isLoading,\n        filterGroups,\n        filters,\n        filterGroupId,\n        filterIds,\n        showFilters,\n        mediaItems,\n        sortOrder,\n        sortOptions,\n        currentPage,\n        pageInfo,\n        resultsPerPage,\n        onFilterGroupSelect,\n        onFilterSelect,\n        onFilterDeselect,\n        onClearFilters,\n        onCloseFilters,\n        onOpenFilters,\n        onPreviousPage,\n        onNextPage\n      };\n    }\n  });\n\n  export default Browse_FilterTabList;\n</script>\n\n<style lang=\"scss\" scoped>\n  @import \"src/scss/app\";\n  .btn-primary {\n    color: #fff;\n  }\n</style>\n","<template>\n  <li v-if=\"!mediaItem && mediaItem !== null\"\n      :id=\"playlistId ? playlistId : mediaId\"\n      class=\"col thumbnail position-relative mb-5\"\n  >\n    <div :style=\"{ backgroundColor: '#999999' }\"\n         class=\"ratio-16x9 thumbnail__poster ratio position-relative mb-2\"\n    />\n\n    <div>Loading...</div>\n  </li>\n\n  <li v-if=\"mediaItem\"\n      :id=\"playlistId ? playlistId : mediaId\"\n      class=\"col thumbnail position-relative mb-5\"\n  >\n    <!-- Drag & Drop Playlist -->\n    <div v-if=\"isPlaylist\"\n         class=\"playlist-icon\"\n    >\n      <i id=\"playlist-hamburger\"\n         class=\"fa fa-bars playlist-sort-handle playlist-icon-hide\"\n      />\n    </div>\n    <!-- /Drag & Drop Playlist -->\n\n    <!-- Poster Image -->\n    <div :style=\"{ backgroundImage: `url(${posterImage})` }\"\n         class=\"ratio-16x9 thumbnail__poster ratio position-relative mb-2\"\n    >\n      <div class=\"thumbnail__poster__overlay\">\n        <!-- Favorite Icon -->\n        <div class=\"position-absolute top-0 end-0 py-1 px-2\">\n          <span v-if=\"mediaItem.favorite\"\n                class=\"badge bg-dark text-light\"\n          >\n            <svg class=\"favorite\"\n                 viewBox=\"0 0 512 512\"\n            >\n              <title>Favorite</title>\n              <path d=\"M472.096 270.486L278.946 470.196C266.304 483.268 245.616 483.268 232.974 470.196L39.824 270.486C-16.197 212.517 -13.104 116.653 49.041 62.862C103.316 15.884 186.371 24.359 236.32 75.925L256.007 96.249L275.694 75.925C325.641 24.36 408.694 15.884 462.969 62.859C525.118 116.649 528.212 212.515 472.096 270.486Z\" />\n            </svg>\n          </span>\n        </div>\n        <!-- /Favorite Icon -->\n\n        <!-- New Icon -->\n        <div class=\"position-absolute top-0 start-0 py-1 px-2\">\n          <span v-if=\"isNew\"\n                class=\"badge bg-dark text-light\"\n          > NEW\n          </span>\n        </div>\n        <!-- /New Icon -->\n\n        <!-- User does not have access -->\n        <div v-if=\"!hasAccess\" class=\"position-absolute top-50 start-50 translate-middle\">\n          <div v-if=\"mediaItem.is_member && !mediaItem.is_active_member\">\n            <button class=\"btn btn-lg btn-dark text-light\" @click=\"openModal\">\n              <svg class=\"lock\" viewBox=\"0 0 448 512\" xmlns=\"http://www.w3.org/2000/svg\">\n                <title>You do not have access to this media</title>\n                <path d=\"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z\" fill=\"white\"/>\n              </svg>\n            </button>\n          </div>\n          <div v-if=\"((mediaItem.is_member && mediaItem.is_active_member) || !mediaItem.is_member)\">\n            <a :href=\"mediaUrl\"\n             class=\"btn btn-lg btn-dark text-light\"\n            >\n              <svg class=\"lock\"\n                   viewBox=\"0 0 448 512\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <title>You do not have access to this media</title>\n                <path d=\"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z\"\n                      fill=\"white\"\n                />\n              </svg>\n            </a>\n          </div>\n        </div>\n        <div v-if=\"mediaItem.should_show_popup\">\n          <div v-if=\"isModalOpen\" id=\"BlockMediaModal\" class=\"modal fade show d-block\" style=\"background: rgba(0, 0, 0, 0.5);\">\n            <div class=\"modal-dialog modal-dialog-centered\">\n              <div class=\"modal-content login-info-modal-content\">\n                <button\n                  type=\"button\"\n                  class=\"btn-close custom-close-button\"\n                  aria-label=\"Close\"\n                  @click=\"closeModal\"\n                />\n                <div id=\"login_info\">\n                  <div class=\"modal-header\">\n                    <h1 class=\"modal-title\">{{mediaItem.popup_title}}</h1>\n                  </div>\n                  <div class=\"modal-body\">\n                    <p>{{mediaItem.popup_description}}</p>\n                  </div>\n                  <div v-if=\"mediaItem.need_sign_up_button\" >\n                    <div class=\"modal-footer d-flex justify-content-between\">\n                      <a\n                        :href=\"mediaItem.popup_redirection_link || 'javascript:void(0);'\"\n                        :target=\"mediaItem.is_past_due_member ? '_blank' : '_self'\"\n                        class=\"without-signup-button\"\n                        @click.prevent=\"handleLinkClick\"\n                      >\n                        {{ mediaItem.positive_button_label }}\n                      </a>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n        <!-- /User does not have access -->\n\n        <!-- User has access -->\n        <div v-if=\"hasAccess\"\n             class=\"position-absolute top-50 translate-middle-y start-0 end-0 text-center\"\n        >\n          <!-- Document Icon -->\n          <a v-if=\"mediaItem.type === 'Document'\"\n             :href=\"mediaUrl\"\n             class=\"btn btn-lg btn-dark text-light rounded-circle\"\n          >\n            <svg class=\"document\"\n                 viewBox=\"0 0 384 512\"\n            >\n              <title>Download</title>\n              <path d=\"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z\"\n                    fill=\"currentColor\"\n              />\n            </svg>\n          </a>\n\n          <!-- Play Icon -->\n          <a v-if=\"mediaItem.type === 'Audio' || mediaItem.type === 'Video'\"\n             :href=\"isFeatureActivated('watched') ? mediaUrlWithProgress : mediaUrl\"\n             class=\"btn btn-lg btn-dark text-light rounded-circle mx-1\"\n             title=\"Play At Current Position\"\n          >\n            <svg class=\"play\"\n                 fill=\"none\"\n                 viewBox=\"0 0 11 14\"\n                 xmlns=\"http://www.w3.org/2000/svg\"\n            >\n              <title>Play</title>\n              <path d=\"M0.000732422 0V14L11.0007 7L0.000732422 0Z\"\n                    fill=\"currentColor\"\n              />\n            </svg>\n          </a>\n\n          <!-- Play From Beginning Icon -->\n          <a v-if=\"isFeatureActivated('watched') && (mediaItem.type === 'Audio' || mediaItem.type === 'Video') && typeof mediaItem.viewing_info !== 'undefined' && mediaItem.viewing_info.duration_viewed > 0\"\n             :href=\"mediaUrl\"\n             class=\"btn btn-lg btn-dark text-light rounded-circle mx-1\"\n             title=\"Play From Beginning\"\n          >\n            <svg class=\"replay\"\n                 fill=\"none\"\n                 viewBox=\"0 0 16 20\"\n                 xmlns=\"http://www.w3.org/2000/svg\"\n            >\n              <title>Play From Beginning</title>\n              <path d=\"M8.00073 4V0L3.00073 5L8.00073 10V6C11.3107 6 14.0007 8.69 14.0007 12C14.0007 15.31 11.3107 18 8.00073 18C4.69073 18 2.00073 15.31 2.00073 12H0.000732422C0.000732422 16.42 3.58073 20 8.00073 20C12.4207 20 16.0007 16.42 16.0007 12C16.0007 7.58 12.4207 4 8.00073 4Z\"\n                    fill=\"white\"\n              />\n            </svg>\n          </a>\n        </div>\n        <!-- /User has access -->\n\n        <!-- Progress Bar -->\n        <div v-if=\"isFeatureActivated('watched') && typeof mediaItem.viewing_info !== 'undefined' && mediaItem.viewing_info.duration_viewed > 0\"\n             class=\"position-absolute bottom-0 start-0 end-0\"\n        >\n          <div class=\"progress\">\n            <div :style=\"{\n                   width: `${mediaItem.viewing_info.progress_percent * 100}%`\n                 }\"\n                 class=\"progress-bar\"\n            />\n          </div>\n        </div>\n        <!-- /Progress Bar -->\n      </div>\n    </div>\n    <!-- /Poster Image -->\n\n    <div class=\"thumbnail__title mb-2\">\n      <h5 class=\"mb-0 ellipsis\">\n        {{ mediaItem.title }}\n      </h5>\n    </div>\n\n    <!-- Meta Information -->\n    <div class=\"thumbnail__meta d-flex justify-content-between mb-2\">\n      <!-- Rating -->\n      <div class=\"rating\">\n        <media_rate-video :media-item=\"mediaItem\" />\n      </div>\n      <!-- /Rating -->\n\n      <!-- Duration -->\n      <div v-if=\"mediaItem.type === 'Audio' || mediaItem.type === 'Video'\"\n           class=\"text-end flex-grow-1\"\n      >\n        <span v-if=\"isFeatureActivated('watched') && typeof mediaItem.viewing_info !== 'undefined' && mediaItem.viewing_info.watch_count > 0\"\n              class=\"badge bg-dark\"\n        >WATCHED\n        </span>\n\n        <span class=\"text-nowrap ms-1 duration\">\n          <span class=\"icon\">\n            <svg fill=\"none\"\n                 height=\"20\"\n                 viewBox=\"0 0 20 20\"\n                 width=\"20\"\n                 xmlns=\"http://www.w3.org/2000/svg\"\n            >\n              <path d=\"M11.1242 5.16479V10.7269C11.1242 10.8428 11.0869 10.9379 11.0124 11.0124C10.9379 11.0869 10.8428 11.1242 10.7269 11.1242H6.75396C6.63808 11.1242 6.5429 11.0869 6.46841 11.0124C6.39391 10.9379 6.35667 10.8428 6.35667 10.7269V9.93229C6.35667 9.81641 6.39391 9.72123 6.46841 9.64674C6.5429 9.57225 6.63808 9.535 6.75396 9.535H9.535V5.16479C9.535 5.04891 9.57225 4.95373 9.64674 4.87924C9.72123 4.80475 9.81641 4.7675 9.93229 4.7675H10.7269C10.8428 4.7675 10.9379 4.80475 11.0124 4.87924C11.0869 4.95373 11.1242 5.04891 11.1242 5.16479ZM15.3826 12.9244C15.9869 11.8898 16.289 10.76 16.289 9.535C16.289 8.31001 15.9869 7.18022 15.3826 6.14561C14.7784 5.11099 13.959 4.29158 12.9244 3.68736C11.8898 3.08315 10.76 2.78104 9.535 2.78104C8.31001 2.78104 7.18022 3.08315 6.14561 3.68736C5.11099 4.29158 4.29158 5.11099 3.68736 6.14561C3.08315 7.18022 2.78104 8.31001 2.78104 9.535C2.78104 10.76 3.08315 11.8898 3.68736 12.9244C4.29158 13.959 5.11099 14.7784 6.14561 15.3826C7.18022 15.9869 8.31001 16.289 9.535 16.289C10.76 16.289 11.8898 15.9869 12.9244 15.3826C13.959 14.7784 14.7784 13.959 15.3826 12.9244ZM17.7912 4.75508C18.6437 6.21183 19.07 7.80512 19.07 9.535C19.07 11.2649 18.6437 12.8602 17.7912 14.3211C16.9387 15.782 15.782 16.9387 14.3211 17.7912C12.8602 18.6437 11.2649 19.07 9.535 19.07C7.80512 19.07 6.20976 18.6437 4.74888 17.7912C3.28799 16.9387 2.13131 15.782 1.27878 14.3211C0.426257 12.8602 0 11.2649 0 9.535C0 7.80512 0.426257 6.20976 1.27878 4.74888C2.13131 3.28799 3.28799 2.13131 4.74888 1.27878C6.20976 0.426257 7.80512 0 9.535 0C11.2649 0 12.8602 0.426257 14.3211 1.27878C15.782 2.13131 16.9387 3.29006 17.7912 4.75508Z\" />\n            </svg>\n          </span>\n\n          {{ getDuration(mediaItem.duration) }}\n        </span>\n      </div>\n      <!-- /Duration -->\n    </div>\n    <!-- Meta Information -->\n\n    <!-- Description -->\n    <div v-if=\"showDescription && mediaItem.description\"\n         class=\"thumbnail__description\"\n    >\n      <p class=\"mb-0\">\n        {{ truncateText(mediaItem.description, 100, \"…\") }}\n      </p>\n    </div>\n    <!-- /Description -->\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref,  ref, nextTick, onMounted, onUnmounted, watch} from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import Media_RateVideo from \"@/components/subscriber/media/Media_RateVideo.vue\";\n  import Feature from \"@/interfaces/Feature\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Media_AssetThumbnail: Component<LooseObject> = defineComponent({\n    components: {\n      \"media_rate-video\": Media_RateVideo\n    },\n    props: {\n      \"mediaId\": {\n        type: Number,\n        required: true\n      },\n      \"hasAccess\": {\n        type: Boolean,\n        required: true\n      },\n      \"isNew\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"isSmall\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"isPlaylist\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"playlistId\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"assetUrl\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"showDescription\": {\n        type: Boolean,\n        required: true\n      },\n      \"isVertical\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"category\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"mediaData\": {\n        type: Object,\n        required: false,\n        default: undefined\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const mediaItem: Ref = ref(props.mediaData);\n\n      const readMore: Ref = ref(false);\n\n      const filter = computed(() => {\n        const params = new URLSearchParams(window.location.search);\n        return params.get(\"filters\");\n      });\n\n      const mediaUrl: ComputedRef = computed(() => {\n        if (!mediaItem.value) return null;\n\n        const filtersParam = `&filters=${filter.value ? 'true' : 'false'}`;\n        const categoryParam = props.category ? `&category=\"${props.category}\"` : '&category=All';\n\n        switch (mediaItem.value.type) {\n          case \"Document\":\n            return props.hasAccess === true ? mediaItem.value.download_url : mediaItem.value.share_url;\n          case \"Video\":\n          case \"Audio\":\n            if (!props.assetUrl) {\n              return `${mediaItem.value.share_url}?autoplay=true${filtersParam}${categoryParam}`;\n            } else {\n              return `${props.assetUrl}?autoplay=true&progress=0${filtersParam}${categoryParam}`;\n            }\n        }\n        return null;\n      });\n\n      const mediaUrlWithProgress: ComputedRef = computed(() => {\n        if (!mediaItem.value) return null;\n        \n        switch (mediaItem.value.type) {\n          case \"Document\":\n            return props.hasAccess === true ? mediaItem.value.download_url : mediaItem.value.share_url;\n          case \"Video\":\n          case \"Audio\":\n            if (!props.assetUrl) {\n              return `${mediaItem.value.share_url}?autoplay=true`;\n            } else {\n              return `${props.assetUrl}?autoplay=true&progress=${mediaItem.value.viewing_info ? mediaItem.value.viewing_info.duration_viewed : 0}`;\n            }\n        }\n        return null;\n      });\n\n      const posterImage: ComputedRef = computed(() => {\n        if (!mediaItem.value || !mediaItem.value.cover_art) return '';\n        return mediaItem.value.cover_art.small.replace(\"https:\", \"\")\n          .replace(\"http:\", \"\");\n      });\n\n      const isFeatureActivated = (fname: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === fname;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      const getDuration = (n: number): string => {\n        return new Date(n * 1000).toISOString()\n          .substr(11, 8);\n      };\n\n      const truncateText = (text: string, limit: number, ellipsis: string): string => {\n        if (text.length > limit) {\n          return text.substring(0, limit) + ellipsis;\n        } else {\n          return text;\n        }\n      };\n\n      const formatDate = (date: string): string => {\n        return dayjs(date)\n          .format(\"MMM D, YYYY\");\n      };\n\n      const checkBatchCache = (): boolean => {\n        const globalMediaCache = (window as any).__batchLoadedMedia;\n        if (globalMediaCache && globalMediaCache[props.mediaId]) {\n          const cachedMedia = globalMediaCache[props.mediaId];\n          const mediaData = { ...cachedMedia };\n          mediaData.loaded = true;\n          mediaItem.value = mediaData;\n          return true;\n        }\n        return false;\n      };\n\n      const loadMedia = (): void => {\n        if (props.mediaData) {\n          mediaItem.value = props.mediaData;\n          return;\n        }\n\n        if (checkBatchCache()) {\n          return;\n        }\n\n        axios\n          .get(`/api/apps/v3/media/${props.mediaId}`, {\n            withCredentials: true\n          })\n          .then((response) => {\n            response.data.loaded = true;\n            mediaItem.value = response.data;\n            if (!(window as any).__batchLoadedMedia) {\n              (window as any).__batchLoadedMedia = {};\n            }\n            (window as any).__batchLoadedMedia[props.mediaId] = response.data;\n          })\n          .catch((error) => {\n            if (error.response && error.response.status === 404) {\n              mediaItem.value = null;\n            }\n          });\n      };\n\n      const toggleReadMore = (): void => {\n        readMore.value = !readMore.value;\n      };\n\n      const handleBatchMediaLoaded = (): void => {\n        if (!mediaItem.value && !props.mediaData) {\n          const found = checkBatchCache();\n          if (found) {\n            nextTick(() => {\n              mediaItem.value = { ...mediaItem.value };\n            });\n          }\n        }\n      };\n\n      if (!props.mediaData) {\n        if (!checkBatchCache()) {\n          let checkCount = 0;\n          const maxChecks = 20;\n\n          const checkInterval = setInterval(() => {\n            checkCount++;\n            if (checkBatchCache()) {\n              clearInterval(checkInterval);\n            } else if (checkCount >= maxChecks) {\n              clearInterval(checkInterval);\n              if (!mediaItem.value) {\n                loadMedia();\n              }\n            }\n          }, 100);\n        }\n      }\n\n      onMounted(() => {\n        window.addEventListener('batch-media-loaded', handleBatchMediaLoaded);\n        window.addEventListener('batch-media-complete', handleBatchMediaLoaded);\n        if (!props.mediaData && !mediaItem.value) {\n          checkBatchCache();\n        }\n      });\n\n      onUnmounted(() => {\n        window.removeEventListener('batch-media-loaded', handleBatchMediaLoaded);\n        window.removeEventListener('batch-media-complete', handleBatchMediaLoaded);\n      });\n\n      return {\n        mediaItem,\n        mediaUrl,\n        mediaUrlWithProgress,\n        posterImage,\n        readMore,\n        getDuration,\n        truncateText,\n        formatDate,\n        toggleReadMore,\n        isFeatureActivated\n      };\n    },\n    data() {\n      return {\n        isModalOpen: false\n      };\n    },\n    methods: {\n      // Helper function to get the video element from the iframe\n      getVideoElement() {\n        const iframe = document.querySelector(\"iframe\");\n        return iframe ? iframe.contentWindow.document.querySelector(\"video\") : null;\n      },\n\n      openModal() {\n        this.$nextTick(() => {\n          const videoElement = this.getVideoElement();\n\n          if (videoElement && !videoElement.paused) {\n            videoElement.pause();  // Pause the video\n          }\n\n          this.isModalOpen = true;\n\n          document.body.classList.add('alert-modal-open');\n        });\n      },\n\n      handleLinkClick(event) {\n        if (!this.mediaItem.popup_redirection_link) {\n          this.closeModal();\n        } else {\n          const target = this.mediaItem.is_past_due_member ? '_blank' : '_self';\n          window.open(this.mediaItem.popup_redirection_link, target);\n        }\n        this.closeModal();\n      },\n\n      closeModal() {\n        this.$nextTick(() => {\n          const videoElement = this.getVideoElement();\n\n          if (videoElement && videoElement.paused) {\n            videoElement.play();  // Play the video\n          }\n\n          this.isModalOpen = false;\n          document.body.classList.remove('alert-modal-open');\n        });\n      }\n    }\n  });\n\n  export default Media_AssetThumbnail;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n  .ratio-9x16 {\n    --bs-aspect-ratio: 178%;\n  }\n\n  .thumbnail {\n    &__title {\n      min-height: 50px;\n    }\n\n    &__description {\n      font-size: 16px;\n      line-height: 30px;\n    }\n  }\n\n  .text-end {\n    .duration {\n      font-size: 16px;\n      line-height: 30px;\n    }\n  }\n\n  .ellipsis {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  }\n\n  .modal.fade.show {\n    display: block;\n  }\n</style>","<template>\n  <div v-if=\"isFeatureActivated('rating') && typeof mediaItemRef.rating !== 'undefined'\"\n       class=\"rating d-flex justify-content-start flex-wrap\"\n  >\n    <div class=\"rating__stars me-1 text-nowrap\">\n      <span v-for=\"i in 5\"\n            :key=\"i\"\n            class=\"icon\"\n      >\n        <!-- Full Star -->\n        <svg v-if=\"i <= rating\"\n             fill=\"none\"\n             height=\"20\"\n             viewBox=\"0 0 20 20\"\n             width=\"20\"\n             xmlns=\"http://www.w3.org/2000/svg\"\n        >\n          <path d=\"M20 7.39183C20 7.56811 19.8958 7.76042 19.6875 7.96875L15.3245 12.2236L16.3582 18.2332C16.3662 18.2893 16.3702 18.3694 16.3702 18.4736C16.3702 18.6418 16.3281 18.7841 16.244 18.9002C16.1599 19.0164 16.0377 19.0745 15.8774 19.0745C15.7252 19.0745 15.5649 19.0264 15.3966 18.9303L10 16.0938L4.60337 18.9303C4.42708 19.0264 4.26683 19.0745 4.1226 19.0745C3.95433 19.0745 3.82813 19.0164 3.74399 18.9002C3.65986 18.7841 3.61779 18.6418 3.61779 18.4736C3.61779 18.4255 3.6258 18.3454 3.64183 18.2332L4.67548 12.2236L0.30048 7.96875C0.100159 7.7524 0 7.5601 0 7.39183C0 7.09535 0.224357 6.91106 0.673077 6.83894L6.70673 5.96154L9.41106 0.492788C9.5633 0.164261 9.75961 0 10 0C10.2404 0 10.4367 0.164261 10.5889 0.492788L13.2933 5.96154L19.3269 6.83894C19.7756 6.91106 20 7.09535 20 7.39183Z\" />\n        </svg>\n        <!-- /Full Star -->\n\n        <!-- Half Star -->\n        <svg v-if=\"ratingDecimal !== null && i === ratingDecimal\"\n             fill=\"none\"\n             height=\"20\"\n             viewBox=\"0 0 20 20\"\n             width=\"20\"\n             xmlns=\"http://www.w3.org/2000/svg\"\n        >\n          <path d=\"M13.6659 11.6827L17.3438 8.11298L12.2716 7.36779L10 2.77644L7.72837 7.36779L2.65625 8.11298L6.33414 11.6827L5.45673 16.7428L10 14.351L14.5312 16.7428L13.6659 11.6827ZM20 7.39183C20 7.56811 19.8958 7.76042 19.6875 7.96875L15.3245 12.2236L16.3582 18.2332C16.3662 18.2893 16.3702 18.3694 16.3702 18.4736C16.3702 18.8742 16.2059 19.0745 15.8774 19.0745C15.7252 19.0745 15.5649 19.0264 15.3966 18.9303L10 16.0938L4.60337 18.9303C4.42708 19.0264 4.26683 19.0745 4.1226 19.0745C3.95433 19.0745 3.82813 19.0164 3.74399 18.9002C3.65986 18.7841 3.61779 18.6418 3.61779 18.4736C3.61779 18.4255 3.6258 18.3454 3.64183 18.2332L4.67548 12.2236L0.30048 7.96875C0.100159 7.7524 0 7.5601 0 7.39183C0 7.09535 0.224357 6.91106 0.673077 6.83894L6.70673 5.96154L9.41106 0.492788C9.5633 0.164261 9.75961 0 10 0C10.2404 0 10.4367 0.164261 10.5889 0.492788L13.2933 5.96154L19.3269 6.83894C19.7756 6.91106 20 7.09535 20 7.39183Z\" />\n          <path d=\"M9.99763 0V16.0899L4.60227 18.9258C4.42603 19.0219 4.26582 19.07 4.12162 19.07C3.95339 19.07 3.82722 19.0119 3.7431 18.8958C3.65899 18.7796 3.61693 18.6374 3.61693 18.4692C3.61693 18.4211 3.62494 18.341 3.64096 18.2289L4.67437 12.2207L0.300409 7.96686C0.100135 7.75057 0 7.55831 0 7.39008C0 7.09367 0.224304 6.90942 0.672917 6.83732L6.70514 5.96013L9.40883 0.492672C9.56104 0.164222 9.7573 0 9.99763 0Z\" />\n        </svg>\n        <!-- /Half Star -->\n\n        <!-- Empty Star -->\n        <svg v-if=\"i > rating && (ratingDecimal === null || i > ratingDecimal)\"\n             fill=\"none\"\n             height=\"20\"\n             viewBox=\"0 0 20 20\"\n             width=\"20\"\n             xmlns=\"http://www.w3.org/2000/svg\"\n        >\n          <path d=\"M13.6659 11.6827L17.3438 8.11298L12.2716 7.36779L10 2.77644L7.72837 7.36779L2.65625 8.11298L6.33414 11.6827L5.45673 16.7428L10 14.351L14.5312 16.7428L13.6659 11.6827ZM20 7.39183C20 7.56811 19.8958 7.76042 19.6875 7.96875L15.3245 12.2236L16.3582 18.2332C16.3662 18.2893 16.3702 18.3694 16.3702 18.4736C16.3702 18.8742 16.2059 19.0745 15.8774 19.0745C15.7252 19.0745 15.5649 19.0264 15.3966 18.9303L10 16.0938L4.60337 18.9303C4.42708 19.0264 4.26683 19.0745 4.1226 19.0745C3.95433 19.0745 3.82813 19.0164 3.74399 18.9002C3.65986 18.7841 3.61779 18.6418 3.61779 18.4736C3.61779 18.4255 3.6258 18.3454 3.64183 18.2332L4.67548 12.2236L0.30048 7.96875C0.100159 7.7524 0 7.5601 0 7.39183C0 7.09535 0.224357 6.91106 0.673077 6.83894L6.70673 5.96154L9.41106 0.492788C9.5633 0.164261 9.75961 0 10 0C10.2404 0 10.4367 0.164261 10.5889 0.492788L13.2933 5.96154L19.3269 6.83894C19.7756 6.91106 20 7.09535 20 7.39183Z\" />\n        </svg>\n\n        <!-- /Empty Star -->\n      </span>\n    </div>\n\n    <div class=\"rating__count\">\n      {{ mediaItemRef.rating.rating_count > 0 ? mediaItemRef.rating.rating_count : \"No\" }}\n      <span v-if=\"mediaItemRef.rating.rating_count !== 1\"> Ratings</span>\n      <span v-if=\"mediaItemRef.rating.rating_count === 1\"> Rating</span>\n    </div>\n\n    <div v-if=\"showRatingButton\"\n         class=\"ms-3 mb-3\"\n    >\n      <button class=\"btn btn-primary\"\n              style=\"background-color: #DE325B; border-color: #DE325B;\"\n              @click.prevent=\"onRateVideo\"\n      >\n        Rate this Video\n      </button>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Feature from \"@/interfaces/Feature\";\n  // import axios from \"axios\";\n\n  const Media_RateVideo: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"mediaItem\": {\n        type: Object,\n        required: true\n      },\n      \"mediaId\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"showRatingButton\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const mediaItemRef: ComputedRef = computed(() => {\n        if (typeof props.mediaItem !== \"undefined\") {\n          // props.mediaItem is defined for use with thumbnails\n          return props.mediaItem;\n        } else {\n          // store.state.media.mediaItem is defined for use with media detail\n          return store.state.media.mediaItem;\n        }\n      });\n\n      const rating: ComputedRef = computed(() => {\n        if (typeof mediaItemRef.value !== \"undefined\") {\n          return mediaItemRef.value.rating.rating_avg;\n        } else {\n          return null;\n        }\n      });\n\n      const onRateVideo = (): void => {\n        store.commit(\"media/setProperty\", {\n          property: \"openRatingModal\",\n          data: true\n        });\n      };\n\n      const ratingDecimal: ComputedRef = computed(() => {\n        if (Math.round(rating.value) > Math.floor(rating.value)) {\n          return Math.ceil(rating.value);\n        } else {\n          return null;\n        }\n      });\n\n      if (typeof props.mediaItem === \"undefined\") {\n        store.dispatch(\"media/loadMediaItem\", props.mediaId);\n      }\n\n      const isFeatureActivated = (fname: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === fname;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      return {\n        rating,\n        ratingDecimal,\n        mediaItemRef,\n        onRateVideo,\n        isFeatureActivated\n      };\n    }\n  });\n\n  export default Media_RateVideo;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n  .rating {\n    .icon {\n      font-size: 20px;\n      margin-right: 2px;\n    }\n  }\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Feature from \"@/interfaces/Feature\";\n  // import axios from \"axios\";\n\n  const Media_RateVideo: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"mediaItem\": {\n        type: Object,\n        required: true\n      },\n      \"mediaId\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"showRatingButton\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const mediaItemRef: ComputedRef = computed(() => {\n        if (typeof props.mediaItem !== \"undefined\") {\n          // props.mediaItem is defined for use with thumbnails\n          return props.mediaItem;\n        } else {\n          // store.state.media.mediaItem is defined for use with media detail\n          return store.state.media.mediaItem;\n        }\n      });\n\n      const rating: ComputedRef = computed(() => {\n        if (typeof mediaItemRef.value !== \"undefined\") {\n          return mediaItemRef.value.rating.rating_avg;\n        } else {\n          return null;\n        }\n      });\n\n      const onRateVideo = (): void => {\n        store.commit(\"media/setProperty\", {\n          property: \"openRatingModal\",\n          data: true\n        });\n      };\n\n      const ratingDecimal: ComputedRef = computed(() => {\n        if (Math.round(rating.value) > Math.floor(rating.value)) {\n          return Math.ceil(rating.value);\n        } else {\n          return null;\n        }\n      });\n\n      if (typeof props.mediaItem === \"undefined\") {\n        store.dispatch(\"media/loadMediaItem\", props.mediaId);\n      }\n\n      const isFeatureActivated = (fname: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === fname;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      return {\n        rating,\n        ratingDecimal,\n        mediaItemRef,\n        onRateVideo,\n        isFeatureActivated\n      };\n    }\n  });\n\n  export default Media_RateVideo;\n","import { render } from \"./Media_RateVideo.vue?vue&type=template&id=f8aab4ae&scoped=true&bindings={}\"\nimport script from \"./Media_RateVideo.vue?vue&type=script&lang=ts\"\nexport * from \"./Media_RateVideo.vue?vue&type=script&lang=ts\"\n\nimport \"./Media_RateVideo.vue?vue&type=style&index=0&id=f8aab4ae&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-f8aab4ae\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, Ref,  ref, nextTick, onMounted, onUnmounted, watch} from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import Media_RateVideo from \"@/components/subscriber/media/Media_RateVideo.vue\";\n  import Feature from \"@/interfaces/Feature\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Media_AssetThumbnail: Component<LooseObject> = defineComponent({\n    components: {\n      \"media_rate-video\": Media_RateVideo\n    },\n    props: {\n      \"mediaId\": {\n        type: Number,\n        required: true\n      },\n      \"hasAccess\": {\n        type: Boolean,\n        required: true\n      },\n      \"isNew\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"isSmall\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"isPlaylist\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"playlistId\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"assetUrl\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"showDescription\": {\n        type: Boolean,\n        required: true\n      },\n      \"isVertical\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"category\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"mediaData\": {\n        type: Object,\n        required: false,\n        default: undefined\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const mediaItem: Ref = ref(props.mediaData);\n\n      const readMore: Ref = ref(false);\n\n      const filter = computed(() => {\n        const params = new URLSearchParams(window.location.search);\n        return params.get(\"filters\");\n      });\n\n      const mediaUrl: ComputedRef = computed(() => {\n        if (!mediaItem.value) return null;\n\n        const filtersParam = `&filters=${filter.value ? 'true' : 'false'}`;\n        const categoryParam = props.category ? `&category=\"${props.category}\"` : '&category=All';\n\n        switch (mediaItem.value.type) {\n          case \"Document\":\n            return props.hasAccess === true ? mediaItem.value.download_url : mediaItem.value.share_url;\n          case \"Video\":\n          case \"Audio\":\n            if (!props.assetUrl) {\n              return `${mediaItem.value.share_url}?autoplay=true${filtersParam}${categoryParam}`;\n            } else {\n              return `${props.assetUrl}?autoplay=true&progress=0${filtersParam}${categoryParam}`;\n            }\n        }\n        return null;\n      });\n\n      const mediaUrlWithProgress: ComputedRef = computed(() => {\n        if (!mediaItem.value) return null;\n        \n        switch (mediaItem.value.type) {\n          case \"Document\":\n            return props.hasAccess === true ? mediaItem.value.download_url : mediaItem.value.share_url;\n          case \"Video\":\n          case \"Audio\":\n            if (!props.assetUrl) {\n              return `${mediaItem.value.share_url}?autoplay=true`;\n            } else {\n              return `${props.assetUrl}?autoplay=true&progress=${mediaItem.value.viewing_info ? mediaItem.value.viewing_info.duration_viewed : 0}`;\n            }\n        }\n        return null;\n      });\n\n      const posterImage: ComputedRef = computed(() => {\n        if (!mediaItem.value || !mediaItem.value.cover_art) return '';\n        return mediaItem.value.cover_art.small.replace(\"https:\", \"\")\n          .replace(\"http:\", \"\");\n      });\n\n      const isFeatureActivated = (fname: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === fname;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      const getDuration = (n: number): string => {\n        return new Date(n * 1000).toISOString()\n          .substr(11, 8);\n      };\n\n      const truncateText = (text: string, limit: number, ellipsis: string): string => {\n        if (text.length > limit) {\n          return text.substring(0, limit) + ellipsis;\n        } else {\n          return text;\n        }\n      };\n\n      const formatDate = (date: string): string => {\n        return dayjs(date)\n          .format(\"MMM D, YYYY\");\n      };\n\n      const checkBatchCache = (): boolean => {\n        const globalMediaCache = (window as any).__batchLoadedMedia;\n        if (globalMediaCache && globalMediaCache[props.mediaId]) {\n          const cachedMedia = globalMediaCache[props.mediaId];\n          const mediaData = { ...cachedMedia };\n          mediaData.loaded = true;\n          mediaItem.value = mediaData;\n          return true;\n        }\n        return false;\n      };\n\n      const loadMedia = (): void => {\n        if (props.mediaData) {\n          mediaItem.value = props.mediaData;\n          return;\n        }\n\n        if (checkBatchCache()) {\n          return;\n        }\n\n        axios\n          .get(`/api/apps/v3/media/${props.mediaId}`, {\n            withCredentials: true\n          })\n          .then((response) => {\n            response.data.loaded = true;\n            mediaItem.value = response.data;\n            if (!(window as any).__batchLoadedMedia) {\n              (window as any).__batchLoadedMedia = {};\n            }\n            (window as any).__batchLoadedMedia[props.mediaId] = response.data;\n          })\n          .catch((error) => {\n            if (error.response && error.response.status === 404) {\n              mediaItem.value = null;\n            }\n          });\n      };\n\n      const toggleReadMore = (): void => {\n        readMore.value = !readMore.value;\n      };\n\n      const handleBatchMediaLoaded = (): void => {\n        if (!mediaItem.value && !props.mediaData) {\n          const found = checkBatchCache();\n          if (found) {\n            nextTick(() => {\n              mediaItem.value = { ...mediaItem.value };\n            });\n          }\n        }\n      };\n\n      if (!props.mediaData) {\n        if (!checkBatchCache()) {\n          let checkCount = 0;\n          const maxChecks = 20;\n\n          const checkInterval = setInterval(() => {\n            checkCount++;\n            if (checkBatchCache()) {\n              clearInterval(checkInterval);\n            } else if (checkCount >= maxChecks) {\n              clearInterval(checkInterval);\n              if (!mediaItem.value) {\n                loadMedia();\n              }\n            }\n          }, 100);\n        }\n      }\n\n      onMounted(() => {\n        window.addEventListener('batch-media-loaded', handleBatchMediaLoaded);\n        window.addEventListener('batch-media-complete', handleBatchMediaLoaded);\n        if (!props.mediaData && !mediaItem.value) {\n          checkBatchCache();\n        }\n      });\n\n      onUnmounted(() => {\n        window.removeEventListener('batch-media-loaded', handleBatchMediaLoaded);\n        window.removeEventListener('batch-media-complete', handleBatchMediaLoaded);\n      });\n\n      return {\n        mediaItem,\n        mediaUrl,\n        mediaUrlWithProgress,\n        posterImage,\n        readMore,\n        getDuration,\n        truncateText,\n        formatDate,\n        toggleReadMore,\n        isFeatureActivated\n      };\n    },\n    data() {\n      return {\n        isModalOpen: false\n      };\n    },\n    methods: {\n      // Helper function to get the video element from the iframe\n      getVideoElement() {\n        const iframe = document.querySelector(\"iframe\");\n        return iframe ? iframe.contentWindow.document.querySelector(\"video\") : null;\n      },\n\n      openModal() {\n        this.$nextTick(() => {\n          const videoElement = this.getVideoElement();\n\n          if (videoElement && !videoElement.paused) {\n            videoElement.pause();  // Pause the video\n          }\n\n          this.isModalOpen = true;\n\n          document.body.classList.add('alert-modal-open');\n        });\n      },\n\n      handleLinkClick(event) {\n        if (!this.mediaItem.popup_redirection_link) {\n          this.closeModal();\n        } else {\n          const target = this.mediaItem.is_past_due_member ? '_blank' : '_self';\n          window.open(this.mediaItem.popup_redirection_link, target);\n        }\n        this.closeModal();\n      },\n\n      closeModal() {\n        this.$nextTick(() => {\n          const videoElement = this.getVideoElement();\n\n          if (videoElement && videoElement.paused) {\n            videoElement.play();  // Play the video\n          }\n\n          this.isModalOpen = false;\n          document.body.classList.remove('alert-modal-open');\n        });\n      }\n    }\n  });\n\n  export default Media_AssetThumbnail;\n","import { render } from \"./Media_AssetThumbnail.vue?vue&type=template&id=36b3d389&scoped=true&bindings={}\"\nimport script from \"./Media_AssetThumbnail.vue?vue&type=script&lang=ts\"\nexport * from \"./Media_AssetThumbnail.vue?vue&type=script&lang=ts\"\n\nimport \"./Media_AssetThumbnail.vue?vue&type=style&index=0&id=36b3d389&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-36b3d389\"\n\nexport default script","<template>\n  <div>\n    <label :class=\"{\n             'me-2': inlineLabel === true\n           }\"\n           :for=\"id\"\n           :style=\"{\n             display: inlineLabel === true ? `inline-block` : undefined\n           }\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\">*</span>\n    </label>\n\n    <select :id=\"id\"\n            v-model=\"inputValue\"\n            :class=\"{\n              'is-invalid': typeof validationRule !== 'undefined' && !validationRule\n            }\"\n            :name=\"name\"\n            :required=\"required === 'required' ? 'required' : undefined\"\n            :style=\"{\n              display: inlineLabel === true ? `inline-block` : undefined,\n              width: inlineLabel === true ? `auto` : undefined\n            }\"\n            class=\"form-select form-select-md\"\n    >\n      <option :value=\"null\">\n        Please Select...\n      </option>\n      <option v-for=\"(item, index) in inputList\"\n              :key=\"name + index\"\n              :value=\"item.value\"\n      >\n        {{ item.label }}\n      </option>\n    </select>\n\n    <div v-if=\"typeof validationRule !== 'undefined' && !validationRule\"\n         class=\"invalid-feedback d-block\"\n    >\n      {{ validationMessage }}\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapSelect: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"inlineLabel\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: Array,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      const isValid: ComputedRef = computed(() => {\n        return typeof props.validationRule !== \"undefined\" && !props.validationRule;\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        inputValue,\n        isValid\n      };\n    }\n  });\n\n  export default Global_BootstrapSelect;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapSelect: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"inlineLabel\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: Array,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      const isValid: ComputedRef = computed(() => {\n        return typeof props.validationRule !== \"undefined\" && !props.validationRule;\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        inputValue,\n        isValid\n      };\n    }\n  });\n\n  export default Global_BootstrapSelect;\n","import { render } from \"./Global_BootstrapSelect.vue?vue&type=template&id=383b5f7e&scoped=true&bindings={}\"\nimport script from \"./Global_BootstrapSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_BootstrapSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_BootstrapSelect.vue?vue&type=style&index=0&id=383b5f7e&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-383b5f7e\"\n\nexport default script","\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, watch } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Taxonomy from \"@/interfaces/Taxonomy\";\n  import FilterGroup from \"@/interfaces/FilterGroup\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n  import Media_AssetThumbnail from \"@/components/subscriber/media/Media_AssetThumbnail.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n\n  const Browse_FilterTabList: Component<LooseObject> = defineComponent({\n    components: {\n      \"media_asset-thumbnail\": Media_AssetThumbnail,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const isLoading: Ref<boolean> = ref(false);\n      const filterGroupId: Ref<number | null> = ref(null);\n      const filterIds: Ref<Array<Taxonomy>> = ref([]);\n      const showFilters: Ref<boolean> = ref(true);\n      const mediaItems: Ref<Array<MediaItem>> = ref([]);\n      const currentPage: Ref<number> = ref(1);\n      const pageInfo: Ref = ref({});\n      const resultsPerPage: Ref<number> = ref(20);\n\n      const filterGroups: ComputedRef<Array<FilterGroup>> = computed(() => {\n        return store.state.media.filterGroups;\n      });\n\n      const filters: ComputedRef<Array<Taxonomy> | undefined> = computed(() => {\n        return filterGroups.value.find((f: FilterGroup) => {\n          return f.id === filterGroupId.value;\n        })?.filters;\n      });\n\n      const sortOrder: Ref<string> = ref(\"updated_at_descending\");\n      const sortOptions: LooseObject = [\n        {\n          label: \"Alphabetically A → Z\",\n          value: \"alpha_ascending\"\n        },\n        {\n          label: \"Alphabetically Z → A\",\n          value: \"alpha_descending\"\n        },\n        {\n          label: \"Date added Newest → Oldest\",\n          value: \"updated_at_descending\"\n        },\n        {\n          label: \"Date added Oldest → Newest\",\n          value: \"updated_at_ascending\"\n        },\n        {\n          label: \"Duration Shortest → Longest\",\n          value: \"duration_ascending\"\n        },\n        {\n          label: \"Duration Longest → Shortest\",\n          value: \"duration_descending\"\n        },\n        {\n          label: \"Rating Lowest → Highest\",\n          value: \"rating_ascending\"\n        },\n        {\n          label: \"Rating Highest → Lowest\",\n          value: \"rating_descending\"\n        }\n      ];\n\n      const loadMediaItems = (): void => {\n        isLoading.value = true;\n        mediaItems.value = [];\n\n        axios\n          .get(\"/api/apps/v3/media\", {\n            params: {\n              filters: filterIds.value\n                .map((f) => {\n                  return f.id;\n                })\n                .toString(),\n              per_page: resultsPerPage.value,\n              page_number: currentPage.value\n            }\n          })\n          .catch((error: AxiosError) => {\n            console.log(error);\n          })\n          .then((response: void | AxiosResponse) => {\n            mediaItems.value = response?.data.media;\n            pageInfo.value = response?.data.page_info;\n            onSort();\n          })\n          .finally(() => {\n            isLoading.value = false;\n          });\n      };\n\n      const onPreviousPage = (): void => {\n        if(pageInfo.value.previous_page != null) {\n          currentPage.value -= 1;\n          pageInfo.value = {};\n          loadMediaItems();\n        }\n      }\n\n      const onNextPage = (): void => {\n        if(pageInfo.value.next_page != null) {\n          currentPage.value += 1;\n          pageInfo.value = {};\n          loadMediaItems();\n        }        \n      }\n      const onFilterGroupSelect = (id: number | null): void => {\n        showFilters.value = true;\n        filterGroupId.value = id;\n      };\n\n      const onFilterSelect = (f: Taxonomy): void => {\n        if (filterIds.value.indexOf(f) < 0) {\n          filterIds.value.push(f);\n        } else {\n          onFilterDeselect(f);\n        }\n        loadMediaItems();\n      };\n\n      const onFilterDeselect = (f: Taxonomy): void => {\n        filterIds.value.splice(filterIds.value.indexOf(f), 1);\n        loadMediaItems();\n      };\n\n      const onClearFilters = (): void => {\n        filterIds.value = [];\n        filterGroupId.value = null;\n        loadMediaItems();\n      };\n\n      const onCloseFilters = (): void => {\n        showFilters.value = false;\n      };\n\n      const onOpenFilters = (): void => {\n        showFilters.value = true;\n      };\n\n      const onSort = (): void => {\n        switch (sortOrder.value) {\n          case \"alpha_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.title < b.title ? -1 : 1;\n            });\n            break;\n          case \"alpha_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.title > b.title ? -1 : 1;\n            });\n            break;\n          case \"duration_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.duration - b.duration;\n            });\n            break;\n          case \"duration_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return b.duration - a.duration;\n            });\n            break;\n          case \"updated_at_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return a.updated_at - b.updated_at;\n            });\n            break;\n          case \"updated_at_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              return b.updated_at - a.updated_at;\n            });\n            break;\n          case \"rating_ascending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              let ar = 0;\n              let br = 0;\n              if (typeof a.rating !== \"undefined\" && a.rating.rating_avg !== null) {\n                ar = a.rating.rating_avg;\n              }\n\n              if (typeof b.rating !== \"undefined\" && b.rating.rating_avg !== null) {\n                br = b.rating.rating_avg;\n              }\n              return ar - br;\n            });\n            break;\n          case \"rating_descending\":\n            mediaItems.value = mediaItems.value.sort((a: MediaItem, b: MediaItem) => {\n              let ar = 0;\n              let br = 0;\n              if (typeof a.rating !== \"undefined\" && a.rating.rating_avg !== null) {\n                ar = a.rating.rating_avg;\n              }\n\n              if (typeof b.rating !== \"undefined\" && b.rating.rating_avg !== null) {\n                br = b.rating.rating_avg;\n              }\n              return br - ar;\n            });\n            break;\n        }\n      };\n\n      watch([sortOrder], onSort);\n\n      const checkAccountId = (): void => {\n        if (typeof store.state.account.id === \"undefined\") {\n          setTimeout(checkAccountId, 250);\n        } else {\n          store.dispatch(\"media/loadFilters\");\n          loadMediaItems();\n        }\n      };\n      checkAccountId();\n\n      return {\n        isLoading,\n        filterGroups,\n        filters,\n        filterGroupId,\n        filterIds,\n        showFilters,\n        mediaItems,\n        sortOrder,\n        sortOptions,\n        currentPage,\n        pageInfo,\n        resultsPerPage,\n        onFilterGroupSelect,\n        onFilterSelect,\n        onFilterDeselect,\n        onClearFilters,\n        onCloseFilters,\n        onOpenFilters,\n        onPreviousPage,\n        onNextPage\n      };\n    }\n  });\n\n  export default Browse_FilterTabList;\n","import { render } from \"./Browse_FilterTabList.vue?vue&type=template&id=5d23a33a&scoped=true&bindings={}\"\nimport script from \"./Browse_FilterTabList.vue?vue&type=script&lang=ts\"\nexport * from \"./Browse_FilterTabList.vue?vue&type=script&lang=ts\"\n\nimport \"./Browse_FilterTabList.vue?vue&type=style&index=0&id=5d23a33a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5d23a33a\"\n\nexport default script","<template>\n  <div id=\"account-settings\"\n       class=\"container mb-5\"\n  >\n    <h1 class=\"\">\n      Account Settings\n    </h1>\n    <p class=\"mb-3\">\n      Manage your profile, subscriptions, and payment information\n    </p>\n\n    <div class=\"row d-flex flex-column align-items-stretch\">\n      <nav class=\"d-flex flex-column bg-light col-lg-3 p-1 p-lg-3 mb-4 mb-lg-0\">\n        <ul class=\"nav d-flex nav-pills nav-fill flex-row flex-lg-column mb-auto justify-content-center justify-content-lg-start\">\n          <li class=\"nav-item me-lg-0 text-lg-start\" v-if=\"posSrc == 'true'\">\n            <a :aria-current=\"activeLink === 'overview' ? 'page' : undefined\"\n               :class=\"{ active: activeLink === 'overview' }\"\n               :href=\"`${accountBase}/`\"\n               class=\"nav-link\"\n            >\n              <svg class=\"icon d-none d-lg-inline-block\"\n                   fill=\"none\"\n                    style=\"width: 28px;transform: translateY(2px);\"\n                   viewBox=\"0 0 24 19\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path clip-rule=\"evenodd\"\n                      d=\"M20.2493 10.8271V17.8596C20.2493 18.1136 20.1566 18.3333 19.971 18.5189C19.7854 18.7045 19.5656 18.7973 19.3117 18.7973H13.6857V13.1713H9.93502V18.7973H4.30903C4.05508 18.7973 3.83531 18.7045 3.64973 18.5189C3.46415 18.3333 3.37136 18.1136 3.37136 17.8596V10.8271C3.37136 10.8173 3.3738 10.8027 3.37869 10.7832C3.38357 10.7636 3.38601 10.749 3.38601 10.7392L11.8103 3.79461L20.2347 10.7392C20.2444 10.7587 20.2493 10.788 20.2493 10.8271ZM23.5165 9.81619L22.6082 10.9004C22.53 10.9883 22.4275 11.042 22.3005 11.0615H22.2565C22.1296 11.0615 22.027 11.0273 21.9489 10.959L11.8103 2.50533L1.67184 10.959C1.55464 11.0371 1.43743 11.0713 1.32022 11.0615C1.19324 11.042 1.09069 10.9883 1.01255 10.9004L0.104185 9.81619C0.0260459 9.71851 -0.00813948 9.60375 0.00162792 9.47189C0.0113953 9.34003 0.0651152 9.23503 0.162789 9.15689L10.6969 0.380933C11.0094 0.126974 11.3806 0 11.8103 0C12.2401 0 12.6113 0.126974 12.9238 0.380933L16.4987 3.36974V0.512786C16.4987 0.376043 16.5426 0.263728 16.6305 0.175819C16.7184 0.0879093 16.8308 0.0439546 16.9675 0.0439546H19.7805C19.9173 0.0439546 20.0296 0.0879093 20.1175 0.175819C20.2054 0.263728 20.2493 0.376043 20.2493 0.512786V6.49041L23.4579 9.15689C23.5556 9.23503 23.6093 9.34003 23.6191 9.47189C23.6288 9.60375 23.5947 9.71851 23.5165 9.81619Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n              </svg>\n              <div class=\"d-inline-block\" style=\"margin-left: 15px;\">Overview</div>\n            </a>\n          </li>\n\n          <li class=\"nav-item me-lg-0 text-lg-start\" v-if=\"!discountPlan\">\n            <a :aria-current=\"activeLink === 'profile' ? 'page' : undefined\"\n               :class=\"{ active: activeLink === 'profile' }\"\n               :href=\"`${accountBase}/profile`\"\n               class=\"nav-link\"\n            >\n              <svg class=\"icon d-none d-lg-inline-block\"\n                   fill=\"none\"\n                   style=\"width: 28px;transform: translateY(2px);\"\n                   viewBox=\"0 0 24 24\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path clip-rule=\"evenodd\"\n                      d=\"M12 13.4737C13.4971 13.4737 15.1345 13.6842 16.9123 14.1053C18.6901 14.5263 20.3158 15.2281 21.7895 16.2105C23.2632 17.193 24 18.2924 24 19.5088V24H0V19.5088C0 18.2924 0.736835 17.193 2.21053 16.2105C3.68422 15.2281 5.30993 14.5263 7.08772 14.1053C8.86551 13.6842 10.5029 13.4737 12 13.4737Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n                <path clip-rule=\"evenodd\"\n                      d=\"M12 0C13.6374 0 15.0409 0.596484 16.2105 1.78948C17.3801 2.98246 17.9649 4.39765 17.9649 6.03509C17.9649 7.67252 17.3801 9.07602 16.2105 10.2456C15.0409 11.4152 13.6374 12 12 12C10.3626 12 8.95907 11.4152 7.78947 10.2456C6.61988 9.07602 6.03509 7.67252 6.03509 6.03509C6.03509 4.39765 6.61988 2.98246 7.78947 1.78948C8.95907 0.596484 10.3626 0 12 0Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n                <path clip-rule=\"evenodd\"\n                      d=\"M12 16.3509C9.94151 16.3509 7.90644 16.7369 5.89474 17.5088C3.88303 18.2807 2.87719 18.9474 2.87719 19.5088V21.1228H21.1228V19.5088C21.1228 18.9474 20.117 18.2807 18.1053 17.5088C16.0936 16.7369 14.0585 16.3509 12 16.3509Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n                <path clip-rule=\"evenodd\"\n                      d=\"M12 2.8772C11.1111 2.8772 10.3626 3.18129 9.75439 3.78948C9.1462 4.39767 8.84211 5.1462 8.84211 6.03509C8.84211 6.92399 9.1462 7.66082 9.75439 8.24562C10.3626 8.83041 11.1111 9.12281 12 9.12281C12.8889 9.12281 13.6374 8.83041 14.2456 8.24562C14.8538 7.66082 15.1579 6.92399 15.1579 6.03509C15.1579 5.1462 14.8538 4.39767 14.2456 3.78948C13.6374 3.18129 12.8889 2.8772 12 2.8772Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n              </svg>\n              <div class=\"d-inline-block\" style=\"margin-left: 15px;\">Profile</div>\n            </a>\n          </li>\n\n          <li class=\"nav-item me-lg-0 text-lg-start\" v-if=\"posSrc == 'true'\">\n            <a :aria-current=\"activeLink === 'subscriptions' ? 'page' : undefined\"\n               :class=\"{ active: activeLink === 'subscriptions' }\"\n               :href=\"`${accountBase}/subscriptions`\"\n               class=\"nav-link\"\n            >\n              <svg class=\"icon d-none d-lg-inline-block\"\n                   fill=\"none\"\n                   style=\"width: 28px;transform: translateY(2px);\"\n                   viewBox=\"0 0 22 22\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path clip-rule=\"evenodd\"\n                      d=\"M15.2495 15.2495L8.69936 11.7185V18.8316L15.2495 15.2495ZM21.7996 10.8998V19.6503C21.7996 20.2303 21.5864 20.7335 21.1599 21.1599C20.7335 21.5864 20.2303 21.7996 19.6503 21.7996H2.14925C1.56929 21.7996 1.0661 21.5864 0.639659 21.1599C0.213217 20.7335 0 20.2303 0 19.6503V10.8998C0 10.3198 0.213217 9.80811 0.639659 9.36461C1.0661 8.9211 1.56929 8.69936 2.14925 8.69936H19.6503C20.2303 8.69936 20.7335 8.9211 21.1599 9.36461C21.5864 9.80811 21.7996 10.3198 21.7996 10.8998ZM17.4499 0V2.14925H4.34968V0H17.4499ZM19.6503 6.55011H2.14925V4.34967H19.6503V6.55011Z\"\n                      fill=\"currentColor\"\n                      fill-rule=\"evenodd\"\n                />\n              </svg>\n              <div class=\"d-inline-block\" style=\"margin-left: 15px;\">Subscriptions</div>\n            </a>\n          </li>\n\n          <li class=\"nav-item me-lg-0 text-lg-start\" v-if=\"posSrc == 'true'\">\n            <a :aria-current=\"activeLink === 'payments' ? 'page' : undefined\"\n               :class=\"{ active: activeLink === 'payments' }\"\n               :href=\"`${accountBase}/payments`\"\n               class=\"nav-link\"\n            >\n              <svg class=\"icon d-none d-lg-inline-block\"\n                   fill=\"none\"\n                   height=\"19\"\n                   style=\"transform: translateY(2px);\"\n                   viewBox=\"0 0 28 19\"\n                   width=\"28\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <g clip-path=\"url(#clip0)\">\n                  <path d=\"M0 16.7222V9.33333H28V16.7222C28 17.2569 27.8096 17.7147 27.4288 18.0955C27.048 18.4763 26.5903 18.6667 26.0556 18.6667H1.94444C1.40972 18.6667 0.951969 18.4763 0.57118 18.0955C0.190391 17.7147 0 17.2569 0 16.7222ZM7.77778 14V15.5556H12.4444V14H7.77778ZM3.11111 14V15.5556H6.22222V14H3.11111ZM26.0556 0C26.5903 0 27.048 0.190391 27.4288 0.57118C27.8096 0.951969 28 1.40972 28 1.94444V4.66667H0V1.94444C0 1.40972 0.190391 0.951969 0.57118 0.57118C0.951969 0.190391 1.40972 0 1.94444 0H26.0556Z\"\n                        fill=\"currentColor\"\n                  />\n                </g>\n                <defs>\n                  <clipPath id=\"clip0\">\n                    <rect fill=\"white\"\n                          height=\"18.6667\"\n                          width=\"28\"\n                    />\n                  </clipPath>\n                </defs>\n              </svg>\n              <div class=\"d-inline-block\" style=\"margin-left: 15px;\">Payments</div>\n            </a>\n          </li>\n\n          <!-- \"We will enable the purchase section in the future. Currently, the product purchase feature is disabled, and only subscriptions are available.\".#CRUN-79 -->\n          <!-- <li class=\"nav-item me-lg-0 text-lg-start\" v-if=\"posSrc == 'true' && !discountPlan\">\n            <a :aria-current=\"activeLink === 'purchases' ? 'page' : undefined\"\n               :class=\"{ active: activeLink === 'purchases' }\"\n               :href=\"`${accountBase}/purchases`\"\n               class=\"nav-link\"\n            >\n            <svg class=\"icon d-none d-lg-inline-block\" style=\"width: 28px;transform: translateY(2px);\" viewBox=\"0 0 30 21\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                 <path stroke=\"none\" stroke-width=\"1\" fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M28.5,0 C28.90625,0 29.25781,0.14844 29.55469,0.44531 C29.85156,0.74219 30,1.09375 30,1.5 L30,19.5 C30,19.906252 29.85156,20.257811 29.55469,20.5546875 C29.25781,20.851564 28.90625,21 28.5,21 L1.5,21 C1.093748,21 0.742189,20.851564 0.4453125,20.5546875 C0.148436,20.257811 0,19.906252 0,19.5 L0,1.5 C0,1.09375 0.148436,0.74219 0.4453125,0.44531 C0.742189,0.14844 1.093748,0 1.5,0 L28.5,0 Z M8.25,13.875 C8.531251,13.875 8.796874,13.812501 9.046875,13.6875 C9.296876,13.562499 9.507812,13.406251 9.679688,13.21875 C9.851563,13.031249 9.992187,12.812501 10.10156,12.5625 C10.21094,12.312499 10.26562,12.046876 10.26562,11.765625 C10.26562,11.296873 10.125,10.875 9.84375,10.5 C9.562499,10.125 9.203127,9.85938 8.765625,9.70312 L6.65625,9.09375 C6.374999,9 6.234375,8.79688 6.234375,8.48438 C6.234375,8.32812 6.289062,8.1875 6.398438,8.0625 C6.507813,7.9375 6.640624,7.875 6.796875,7.875 L8.109375,7.875 C8.328126,7.875 8.531249,7.9375 8.71875,8.0625 C8.906251,8.15625 9.062499,8.14063 9.1875,8.01562 L9.75,7.5 C9.968751,7.28125 9.953126,7.09375 9.703125,6.9375 C9.265623,6.59375 8.781253,6.40625 8.25,6.375 L8.25,5.625 C8.25,5.375 8.125001,5.25 7.875,5.25 L7.125,5.25 C6.874999,5.25 6.75,5.375 6.75,5.625 L6.75,6.375 C6.187497,6.40625 5.710939,6.625 5.320312,7.03125 C4.929686,7.4375 4.734375,7.92187 4.734375,8.48438 C4.734375,8.95313 4.874999,9.375 5.15625,9.75 C5.437501,10.125 5.796873,10.39062 6.234375,10.54688 L8.34375,11.15625 C8.625001,11.25 8.765625,11.453123 8.765625,11.765625 C8.765625,11.921876 8.710938,12.062499 8.601562,12.1875 C8.492187,12.312501 8.359376,12.375 8.203125,12.375 L6.890625,12.375 C6.671874,12.375 6.468751,12.312501 6.28125,12.1875 C6.093749,12.09375 5.937501,12.109374 5.8125,12.234375 L5.25,12.75 C5.031249,12.968751 5.046874,13.156249 5.296875,13.3125 C5.734375,13.656252 6.218747,13.84375 6.75,13.875 L6.75,14.625 C6.75,14.875001 6.874999,15 7.125,15 L7.875,15 C8.125001,15 8.25,14.875001 8.25,14.625 L8.25,13.875 Z M19.5,13.125 L19.5,12.375 C19.5,12.124999 19.375,12 19.125,12 L13.875,12 C13.625,12 13.5,12.124999 13.5,12.375 L13.5,13.125 C13.5,13.375001 13.625,13.5 13.875,13.5 L19.125,13.5 C19.375,13.5 19.5,13.375001 19.5,13.125 Z M27,13.125 L27,12.375 C27,12.124999 26.875,12 26.625,12 L22.875,12 C22.625,12 22.5,12.124999 22.5,12.375 L22.5,13.125 C22.5,13.375001 22.625,13.5 22.875,13.5 L26.625,13.5 C26.875,13.5 27,13.375001 27,13.125 Z M27,8.625 L27,7.875 C27,7.625 26.875,7.5 26.625,7.5 L13.875,7.5 C13.625,7.5 13.5,7.625 13.5,7.875 L13.5,8.625 C13.5,8.875 13.625,9 13.875,9 L26.625,9 C26.875,9 27,8.875 27,8.625 Z\"></path>\n            </svg>\n              <div class=\"d-inline-block\" style=\"margin-left: 15px;\">Purchases</div>\n            </a>\n          </li> -->\n        </ul>\n      </nav>\n\n      <div class=\"col-lg-9 flex-column px-lg-3\">\n        <account_overview v-if=\"activeLink === 'overview'\" />\n        <account_subscriptions v-if=\"activeLink === 'subscriptions'\" />\n        <account_profile v-if=\"activeLink === 'profile'\" />\n        <account_payments v-if=\"activeLink === 'payments'\" />\n        <account_purchases v-if=\"activeLink === 'purchases'\" />\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, onMounted, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Account_Overview from \"@/components/subscriber/account/Account_Overview.vue\";\n  import Account_Payments from \"@/components/subscriber/account/Account_Payments.vue\";\n  import Account_Profile from \"@/components/subscriber/account/Account_Profile.vue\";\n  import Account_Subscriptions from \"@/components/subscriber/account/Account_Subscriptions.vue\";\n  import Account_Purchases from \"@/components/subscriber/account/Account_Purchases.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account: Component<LooseObject> = defineComponent({\n    components: {\n      account_overview: Account_Overview,\n      account_payments: Account_Payments,\n      account_profile: Account_Profile,\n      account_subscriptions: Account_Subscriptions,\n      account_purchases: Account_Purchases\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const accountBase: Ref = ref(\"/accounts\");\n      const activeLink: Ref = ref(\"\");\n      const discountPlan: Ref = ref(false);\n      const posSrc = document.getElementById(\"pos_src\").value;\n      const isLocationLogin = document.getElementById(\"show_location_login\");\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n      let discountPriceID = ref(\"\");\n      let dscEditProfileURL = ref(\"\");\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n     \n     if(posSrc == \"false\" && window.location.pathname != \"/accounts/profile\") {\n       location.href = \"/accounts/profile\";\n     }\n      onBeforeMount(() => {\n        store.dispatch(\"getUserSubscriptions\");\n        \n        if(isLocationLogin.value == \"true\") {\n          discountPriceID = document.getElementById(\"cr_dsc_pid\");\n          dscEditProfileURL = document.getElementById(\"cr_dsc_epURL\");\n\n          setTimeout(() => {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (mySubscriptions.value[s].active_price_id == parseInt(discountPriceID.value)) {\n                var a = (typeof a === 'undefined') ? document.getElementById(\"profile-edit\") : a;\n                if(a != null) {\n                  a.href = dscEditProfileURL.value;\n                  a.target = \"_blank\";\n                }\n                discountPlan.value = true;\n              }\n            }\n          }, 2000);\n        }\n      \n        activeLink.value = window.location.pathname.replace(\"/accounts/\", \"\");\n        if (activeLink.value === \"\") {\n          activeLink.value = \"overview\";\n        }\n      });\n\n      return {\n        accountBase,\n        activeLink,\n        user,\n        posSrc,\n        discountPriceID,\n        discountPlan,\n        mySubscriptions,\n        dscEditProfileURL        \n      };\n    }\n  });\n\n  export default Account;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div>\n    <h2 class=\"mb-4 custom-font-color\">\n      Account Overview\n    </h2>\n    <div v-if=\"user.subscriptions !== 'undefined'\"\n         class=\"row row-cols-1 row-cols-md-2\"\n    >\n      <div v-for=\"sub in subscriptions\"\n           :key=\"sub.product_id\"\n           class=\"col mb-3\"\n      >\n        <div class=\"card h-100\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              Current Subscription\n            </h3>\n          </div>\n\n          <div class=\"card-body\">\n            <div class=\"mb-3\">\n              <h3>{{ sub.title }}</h3>\n              <p>\n                {{ sub.description }}\n              </p>\n            </div>\n\n            <div>\n              <h4>Next Payment</h4>\n              <p class=\"mb-0\">\n                ${{ getActivePriceAmount(sub.active_price_id, sub.prices) }} on {{ formatLongDate(sub.next_bill_date) }}\n              </p>\n            </div>\n          </div>\n\n          <div class=\"card-footer\">\n            <a :href=\"`/accounts/subscriptions?subscription_id=${sub.product_id}`\"\n               class=\"btn btn-primary text-light text-uppercase\"\n            >Manage Subscription\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div v-if=\"typeof user.email !== 'undefined'\"\n           class=\"col mb-3\"\n      >\n        <div class=\"card h-100\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              User Profile\n            </h3>\n          </div>\n\n          <div class=\"card-body\">\n            <div class=\"mb-3\">\n              <h4>Personal Information</h4>\n              <p>\n                {{ user.first_name }} {{ user.last_name }}\n                <br>\n                {{ user.email }}\n              </p>\n            </div>\n\n            <div v-if=\"user.shipping_address !== null\">\n              <h4>Shipping Address</h4>\n              <p class=\"mb-0\">\n                {{ user.shipping_address.address1 }}\n                <br>\n                <template v-if=\"user.shipping_address.address2 !== null\">\n                  {{ user.shipping_address.address2 }}\n                  <br>\n                </template>\n                {{ user.shipping_address.city }}, {{ user.shipping_address.state }} {{ user.shipping_address.zip }}\n                <br>\n              </p>\n            </div>\n          </div>\n\n          <div class=\"card-footer\">\n            <a id=\"profile-edit\" class=\"btn btn-primary text-light text-uppercase\"\n               href=\"/accounts/profile\"\n            >Edit Profile\n            </a> \n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Subscription from \"@/interfaces/Subscription\";\n  import StringUtils from \"@/lib/StringUtils\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Overview: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const subscriptions: ComputedRef = computed(() => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === \"ACTIVE\";\n        });\n      });\n\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      const getActivePriceAmount = (active_price_id: number, prices: Array<ProductPrice>): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\") {\n          return formatCurrency(price.amount);\n        } else {\n          return null;\n        }\n      };\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        user,\n        subscriptions,\n        formatLongDate,\n        getActivePriceAmount\n      };\n    }\n  });\n\n  export default Account_Overview;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","import dayjs, { Dayjs } from \"dayjs\";\nimport timezone from \"dayjs/plugin/timezone\";\nimport utc from \"dayjs/plugin/utc\";\n\ndayjs.extend(utc);\ndayjs.extend(timezone);\n\nclass Time {\n  constructor() {\n    return this;\n  }\n\n  public formatTime(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"hh:mm A\");\n  }\n\n  public formatDate(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"dddd, MMMM DD\");\n  }\n\n  public formatLongDate(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"MMMM DD, YYYY\");\n  }\n\n  public formatShortDate(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"YYYY-MM-DD\");\n  }\n\n  public formatDateTime(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"dddd, MMMM DD [at] hh:mm A\");\n  }\n\n  public formatShortDateTime(t: string | Dayjs, ttz: string = dayjs.tz.guess()): string {\n    return dayjs(t)\n      .tz(ttz)\n      .format(\"MM/DD/YYYY [at] hh:mm A\");\n  }\n}\n\nexport default Time;\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Subscription from \"@/interfaces/Subscription\";\n  import StringUtils from \"@/lib/StringUtils\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Overview: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const subscriptions: ComputedRef = computed(() => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === \"ACTIVE\";\n        });\n      });\n\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      const getActivePriceAmount = (active_price_id: number, prices: Array<ProductPrice>): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\") {\n          return formatCurrency(price.amount);\n        } else {\n          return null;\n        }\n      };\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        user,\n        subscriptions,\n        formatLongDate,\n        getActivePriceAmount\n      };\n    }\n  });\n\n  export default Account_Overview;\n","import { render } from \"./Account_Overview.vue?vue&type=template&id=44479b1a&scoped=true&bindings={}\"\nimport script from \"./Account_Overview.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Overview.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Overview.vue?vue&type=style&index=0&id=44479b1a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-44479b1a\"\n\nexport default script","<template>\n  <div v-if=\"account.payment_processors\"\n       id=\"account-payments\"\n  >\n    <h2 class=\"mb-4 custom-font-color\">\n      Edit Payment Information\n    </h2>\n\n    <form @submit.prevent=\"onSubmit\">\n      <div class=\"card mb-3\">\n        <div class=\"card-header\">\n          <h3 class=\"fs-5 m-0\">\n            Change Default Payment Method\n          </h3>\n        </div>\n        <div class=\"card-body pe-0 ps-3\">\n          <global_payment-information v-model:is-empty=\"isPaymentEmpty\"\n                                      v-model:is-valid=\"isPaymentValid\"\n                                      :errors=\"errors\"\n            />\n        </div>\n      </div>\n\n      <div class=\"card\">\n        <div class=\"card-header\">\n          <h3 class=\"fs-5 m-0\">\n            Billing Address\n          </h3>\n        </div>\n        <div v-if=\"typeof tmpAddress !== 'undefined'\"\n             class=\"card-body pe-0 ps-3\"\n        >\n          <global_contact-information v-model:address=\"tmpAddress\"\n                                      v-model:is-valid=\"isAddressValid\"\n                                      :is-billing=\"true\"\n          />\n        </div>\n      </div>\n\n      <div class=\"row mt-3\">\n        <div class=\"col\">\n          <button  :disabled=\"\n                      isPaymentEmpty ||\n                      !isAddressValid ||\n                      !isPaymentValid ||\n                      isSaving ||\n                      stripeState.cardNumberError ||\n                      stripeState.cardExpiryError ||\n                      stripeState.cardCvcError ||\n                      !stripeState.cardNumberComplete ||\n                      !stripeState.cardExpiryComplete ||\n                      !stripeState.cardCvcComplete\"\n                  class=\"btn btn-primary\"\n                  type=\"submit\"\n          >\n            <span v-if=\"isSaving\">Saving</span>\n            <span v-if=\"!isSaving\">Save</span>\n            Payment Information\n          </button>\n        </div>\n      </div>\n    </form>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, onMounted , nextTick, watch} from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import Global_ContactInformation from \"@/components/global/Global_ContactInformation.vue\";\n  import Global_PaymentInformation from \"@/components/global/Global_PaymentInformation.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Payments: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_payment-information\": Global_PaymentInformation,\n      \"global_contact-information\": Global_ContactInformation\n    },\n    props: [],\n    setup(_, { emit }) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, subSubProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          subSubProperty,\n          data\n        });\n      };\n\n      const errors = ref({ cardNumber: \"\", cardExpiry: \"\", cardCvc: \"\" });\n\n      const card = ref(null);\n      const stripeInstance = ref(null)\n      const cardNumber = ref(null);\n      const cardExpiry = ref(null);\n      const cardCvc = ref(null);\n\n      const stripeState = ref({\n        cardNumberComplete: false,\n        cardExpiryComplete: false,\n        cardCvcComplete: false,\n        cardNumberError: false,\n        cardExpiryError: false,\n        cardCvcError: false,\n      });\n\n      const user: ComputedRef = computed((): void => {\n        return store.state.user;\n      });\n\n      const account: ComputedRef = computed((): void => {\n        return store.state.account;\n      });\n\n      const paymentInformation: ComputedRef = computed((): void => {\n        return store.state.paymentInformation;\n      });\n\n      const tmpAddress: Ref = ref();\n      const transactionData: Ref = ref({\n        full_name: null,\n        billing_address: null,\n        opaque_data: null,\n        stripeToken: null\n      });\n\n      const setAddress = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          tmpAddress.value = store.state.user.billing_address;\n\n          // Check if address is populated. If it is not, set a temp object\n          if (tmpAddress.value === null) {\n            tmpAddress.value = {\n              address1: null,\n              address2: null,\n              city: null,\n              state: null,\n              zip: null,\n              country: null\n            };\n          }\n        } else {\n          setTimeout(setAddress, 500);\n        }\n      };\n\n      const isAddressValid: Ref<boolean> = ref(true);\n      const isPaymentValid: Ref<boolean> = ref(true);\n      const isPaymentEmpty: Ref<boolean> = ref(true);\n      const isSaving: Ref<boolean> = ref(false);\n\n      const clearCCData = (): void => {\n        setProperty(\"paymentInformation\", null, null, {\n          cc_name: null\n        });\n      };\n\n      const onSubmitError = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Oops, something went wrong.\",\n          type: \"danger\",\n          viewed: false,\n          delay: 5000\n        });\n      };\n\n      const onSubmitFailure = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Your credit card or billing information was not accepted. Please verify that your information is correct and try again.\",\n          type: \"danger\",\n          viewed: false,\n          delay: 5000\n        });\n\n      };\n\n      const onSubmitSuccess = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Your payment information has been updated.\",\n          type: \"success\",\n          viewed: false,\n          delay: 5000\n        });\n\n        setTimeout(() => {\n          window.location.reload();\n        }, 1000);\n      };\n\n      const patchUser = (): void => {\n        setProperty(\"user\", \"billing_address\", null, tmpAddress.value);\n\n        axios\n          .patch(\n            \"/api/apps/v3/payments/update_credit_card\",\n            {\n              user_data: transactionData.value\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response: AxiosResponse) => {\n            setProperty(\"user\", null, null, response.data.user);\n            onSubmitSuccess();\n          })\n          .catch((error: AxiosError) => {\n            onSubmitFailure();\n\n            console.log(error);\n          });\n      };\n\n      const onSubmit = (): void => {\n        isSaving.value = true;\n\n        const Accept: LooseObject = window.Accept;\n        const Stripe: LooseObject = window.Stripe;\n        let paymentForm: HTMLFormElement | null = document.querySelector(\"#account-payments form\");\n\n        transactionData.value.full_name = paymentInformation.value.cc_name;\n        transactionData.value.billing_address = tmpAddress.value;\n\n        const stripeInfo: LooseObject = store.state.account?.payment_processors?.find((p: LooseObject) => {\n          return typeof p !== \"undefined\" ? p.type === \"stripe\" : false;\n        });\n\n        const authNetInfo: LooseObject = store.state.account?.payment_processors?.find((p: LooseObject) => {\n          return typeof p !== \"undefined\" ? p.type === \"authorize.net\" : false;\n        });\n        \n        const processor: LooseObject = stripeInfo || authNetInfo;\n\n        switch (processor.type) {\n          case \"stripe\":\n            try {\n              stripeInstance.value.createToken(cardNumber.value, {name: paymentInformation.value.cc_name}).then(result => {\n                  if (result.error) {\n                      onSubmitFailure();\n                  } else {\n                      transactionData.value.stripeToken = result.token.id;\n                      setProperty(\"user\", \"payment_processor_data\", null, {\n                        token: result.token.id\n                      });\n                      patchUser();\n                  }\n              });\n            } catch (err) {\n              onSubmitError();\n            }\n            break;\n\n          case \"authorize.net\":\n\n            try {\n              Accept.dispatchData(\n                {\n                  authData: {\n                    clientKey: authNetInfo.api_public_key,\n                    apiLoginID: authNetInfo.api_login_id\n                  },\n                  cardData: {\n                    fullName: paymentInformation.value.cc_name,\n                    cardNumber: paymentInformation.value.cc_number.replace(/\\s/g, \"\"),\n                    month: paymentInformation.value.cc_exp_month,\n                    year: paymentInformation.value.cc_exp_year.toString().substring(2),\n                    cardCode: paymentInformation.value.cc_cvc.toString(),\n                    zip: user.value.billing_address.zip\n                  }\n                },\n                (response: LooseObject) => {\n                  if (response.messages.resultCode === \"Ok\") {\n                    transactionData.value.opaque_data = response.opaqueData;\n\n                    setProperty(\"user\", \"payment_processor_data\", null, {\n                      data_value: response.opaqueData.dataValue,\n                      data_descriptor: response.opaqueData.dataDescriptor\n                    });\n                    patchUser();\n                  } else {\n                    onSubmitFailure();\n                  }\n                }\n              );\n            } catch (err) {\n              onSubmitError();\n            }\n            break;\n        }\n      };\n\n      // Add function to load Stripe script\n      const loadStripeScript = (): Promise<void> => {\n        return new Promise((resolve, reject) => {\n          if ((window as any).Stripe) {\n            resolve();\n            return;\n          }\n \n          const script = document.createElement('script');\n          script.src = 'https://js.stripe.com/v3/';\n          script.type = 'text/javascript';\n          script.onload = () => resolve();\n          script.onerror = () => reject(new Error('Failed to load Stripe.js'));\n          document.head.appendChild(script);\n        });\n      };\n\n      // Initialize Stripe and the card element after the script is loaded\n      const initializeStripe = (): void => {\n        if (window.Stripe) {\n          const paymentProcessors = store.state.account?.payment_processors;\n          const stripeInfo: LooseObject = paymentProcessors.find((p: LooseObject) => p?.type === \"stripe\");\n          const stripe = Stripe(stripeInfo.publishable_key);\n          const elements = stripe.elements();\n\n          const style = {\n            base: {\n              fontSize: \"16px\",\n              fontFamily: \"Arial, sans-serif\",\n              color: \"#32325d\",\n              \"::placeholder\": { color: \"#aab7c4\" },\n            },\n            invalid: {\n              iconColor: \"#fa755a\",\n              color: \"#000000\"\n            },\n          };\n\n          // Ensuring the DOM is updated using nextTick\n          nextTick(() => {\n            const mountCardElement = () => {\n              const cardElementContainer = document.querySelector(\"#card_number_element\")\n\n              if (cardElementContainer) {\n                cardNumber.value = elements.create(\"cardNumber\", { style });\n                cardExpiry.value = elements.create(\"cardExpiry\", { style });\n                cardCvc.value = elements.create(\"cardCvc\", { style });\n                cardNumber.value.mount(\"#card_number_element\");\n                cardExpiry.value.mount(\"#card_expiry_element\");\n                cardCvc.value.mount(\"#card_cvc_element\");\n                stripeInstance.value = stripe;\n\n                const handleStripeChange = (event: any, field: keyof typeof stripeState.value, errorField: keyof typeof stripeState.value) => {\n                  stripeState.value[field] = event.complete;\n                  stripeState.value[errorField] = !!event.error; // true if error exists, false otherwise\n                };\n\n                // Attach event listeners\n                cardNumber.value.on(\"change\", (event) => handleStripeChange(event, \"cardNumberComplete\", \"cardNumberError\"));\n                cardExpiry.value.on(\"change\", (event) => handleStripeChange(event, \"cardExpiryComplete\", \"cardExpiryError\"));\n                cardCvc.value.on(\"change\", (event) => handleStripeChange(event, \"cardCvcComplete\", \"cardCvcError\"));\n\n                [cardNumber, cardExpiry, cardCvc].forEach((element, index) => {\n                  const field = [\"cardNumber\", \"cardExpiry\", \"cardCvc\"][index];\n\n                  element.value.on(\"change\", (event) => {\n                    errors.value[field] = event.error ? event.error.message : \"\";\n                    emit(\"update:errors\", errors.value);\n                  });\n                });\n              } else {\n                console.error(\"The card element container was not found.\");\n              }\n            };\n\n            // Try mounting card element and retry if it's not found after 100ms\n            mountCardElement();\n            const retry = setInterval(() => {\n              if (document.querySelector(\"#card_number_element\")) {\n                clearInterval(retry); // Stop retrying once it finds the element\n                mountCardElement();\n              }\n            }, 100);\n\n            // Set timeout to stop retrying after 2 seconds to avoid infinite loop\n            setTimeout(() => clearInterval(retry), 2000);\n          });\n        } else {\n          console.error(\"Stripe is not available.\");\n        }\n      };\n\n      // Load script when component mounts\n     onMounted(() => {\n      loadStripeScript()\n        .then(() => {\n          // Watch for changes in payment_processors and initialize Stripe when available\n          watch(\n            () => store.state.account?.payment_processors,\n            (processors) => {\n              if (Array.isArray(processors) && processors.length > 0) {\n                initializeStripe();\n              }\n            },\n            { immediate: true } // Runs immediately if data is already available\n          );\n        })\n        .catch(console.error);\n      });\n\n      clearCCData();\n      setAddress();\n\n      return {\n        user,\n        account,\n        tmpAddress,\n        isAddressValid,\n        isPaymentValid,\n        isPaymentEmpty,\n        isSaving,\n        card,\n        stripeInstance,\n        stripeState,\n        onSubmit,\n        errors\n      };\n    }\n  });\n\n  export default Account_Payments;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <fieldset v-if=\"typeof address !== 'undefined' && address !== null\">\n    <div class=\"row d-flex flex-column\">\n      <global_bootstrap-select id=\"country\"\n                               v-model:value=\"country\"\n                               :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_country' }]\"\n                               :input-list=\"countryOptions\"\n                               :required=\"isFieldRequired('country') ? 'required' : undefined\"\n                               :validation-rule=\"isBilling === true ? country !== null : undefined\"\n                               class=\"flex-column col-lg-6 mb-3\"\n                               label=\"Country\"\n                               name=\"country\"\n                               validation-message=\"Country is required.\"\n      />\n    </div>\n\n    <div v-if=\"country !== null\"\n         class=\"row d-flex flex-column\"\n    >\n      <global_bootstrap-input v-if=\"isFieldVisible('address1')\"\n                              id=\"address1\"\n                              v-model:value=\"address1\"\n                              :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_line1' }]\"\n                              :required=\"isFieldRequired('address1') ? 'required' : undefined\"\n                              :validation-rule=\"address1 !== null && address1.length\"\n                              class=\"flex-column col-lg-9 mb-3\"\n                              label=\"Address\"\n                              name=\"address1\"\n                              type=\"text\"\n                              validation-message=\"Address is required.\"\n      />\n\n      <global_bootstrap-input v-if=\"isFieldVisible('address2')\"\n                              id=\"address2\"\n                              v-model:value=\"address2\"\n                              :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_line2' }]\"\n                              :required=\"undefined\"\n                              class=\"flex-column col-lg-3 mb-3\"\n                              label=\"Suite\"\n                              name=\"address2\"\n                              type=\"text\"\n      />\n    </div>\n\n    <div v-if=\"country !== null\"\n         class=\"row d-flex flex-column\"\n    >\n      <global_bootstrap-input v-if=\"isFieldVisible('city')\"\n                              id=\"city\"\n                              v-model:value=\"city\"\n                              :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_city' }]\"\n                              :required=\"isFieldRequired('city') ? 'required' : undefined\"\n                              :validation-rule=\"city !== null && city.length\"\n                              class=\"flex-column col-lg-4 mb-3 mb-lg-0\"\n                              label=\"City\"\n                              name=\"city\"\n                              type=\"text\"\n                              validation-message=\"City is required.\"\n      />\n\n      <global_bootstrap-select v-if=\"country === 'United States' && isFieldVisible('state')\"\n                               id=\"state\"\n                               v-model:value=\"state\"\n                               :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_state' }]\"\n                               :input-list=\"stateOptions\"\n                               :required=\"isFieldRequired('state') ? 'required' : undefined\"\n                               :validation-rule=\"state !== null\"\n                               class=\"flex-column col-lg-4 mb-3 mb-lg-0\"\n                               label=\"State\"\n                               name=\"state\"\n                               validation-message=\"State is required.\"\n      />\n\n      <global_bootstrap-input v-if=\"country !== 'United States' && isFieldVisible('state')\"\n                              id=\"state\"\n                              v-model:value=\"state\"\n                              :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_state' }]\"\n                              :required=\"isFieldRequired('state') ? 'required' : undefined\"\n                              :validation-rule=\"state !== null && state.length\"\n                              class=\"flex-column col-lg-4 mb-3 mb-lg-0\"\n                              label=\"State/Province\"\n                              name=\"state\"\n                              type=\"text\"\n                              validation-message=\"State/Province is required.\"\n      />\n\n      <global_bootstrap-input v-if=\"isFieldVisible('zip')\"\n                              id=\"zip\"\n                              v-model:value=\"zip\"\n                              :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_zip' }]\"\n                              :required=\"isFieldRequired('zip') ? 'required' : undefined\"\n                              :validation-rule=\"zip !== null && zip.length\"\n                              class=\"flex-column col-lg-4 mb-3 mb-lg-0\"\n                              label=\"Zipcode\"\n                              name=\"zip\"\n                              type=\"text\"\n                              validation-message=\"Zipcode is required.\"\n      />\n    </div>\n  </fieldset>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, watch } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import countries from \"@/lib/countries\";\n  import states from \"@/lib/states\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ContactInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    props: {\n      \"isBilling\": {\n        type: Boolean,\n        required: true\n      },\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      },\n      \"address\": {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\n      \"update:isValid\",\n      \"update:address\"\n    ],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const taxProviderPresent: ComputedRef = computed(() => {\n        return store.state.account.tax_provider_present;\n      });\n\n      const country: Ref = ref(props.address?.country);\n      const address1: Ref = ref(props.address?.address1);\n      const address2: Ref = ref(props.address?.address2);\n      const city: Ref = ref(props.address?.city);\n      const state: Ref = ref(props.address?.state);\n      const zip: Ref = ref(props.address?.zip);\n\n      const countryOptions: ComputedRef = computed(() => {\n        return countries.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const stateOptions: ComputedRef = computed(() => {\n        return states.map((s) => {\n          return {\n            label: s.name,\n            value: s.name\n          };\n        });\n      });\n\n      const isFieldRequired = (fieldName: string): boolean => {\n        switch (fieldName) {\n          case \"address1\":\n          case \"address2\":\n          case \"city\":\n          case \"state\":\n            return (props.isBilling === true && taxProviderPresent.value === true && country.value !== null) || (props.isBilling === false && country.value !== null);\n          case \"country\":\n          case \"zip\":\n            return props.isBilling === true || country.value !== null;\n          default:\n            return false;\n        }\n      };\n      const isFieldVisible = (fieldName: string): boolean => {\n        switch (fieldName) {\n          case \"address1\":\n          case \"address2\":\n          case \"city\":\n          case \"state\":\n            return (props.isBilling === true && taxProviderPresent.value === true && country.value !== null) || (props.isBilling === false && country.value !== null);\n          default:\n            return true;\n        }\n      };\n\n      const isFullCheck: ComputedRef = computed(() => {\n        return address1.value !== null && address1.value.length > 0 && city.value !== null && city.value.length > 0 && state.value !== null && state.value.length > 0 && zip.value !== null && zip.value.length > 0 && country.value !== null && country.value.length > 0;\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        return (address1.value === null || address1.value.length === 0) && (city.value === null || city.value.length === 0) && (state.value === null || state.value.length === 0) && (zip.value === null || zip.value.length === 0) && (country.value === null || country.value.length === 0);\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        // Billing contact information\n        if (props.isBilling === true) {\n          if (taxProviderPresent.value === true) {\n            return isFullCheck.value;\n          } else {\n            return zip.value !== null && zip.value.length > 0 && country.value !== null && country.value.length > 0;\n          }\n        } else {\n          return isFullCheck.value || isEmptyCheck.value;\n        }\n      });\n\n      // Emit is-valid property changes\n      watch([\n        address1,\n        address2,\n        city,\n        state,\n        zip,\n        country\n      ], () => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n        context.emit(\"update:address\", {\n          country: country.value,\n          address1: address1.value,\n          address2: address2.value,\n          city: city.value,\n          state: state.value,\n          zip: zip.value\n        });\n      });\n\n      return {\n        country,\n        address1,\n        address2,\n        city,\n        state,\n        zip,\n        countryOptions,\n        stateOptions,\n        taxProviderPresent,\n        isFullCheck,\n        isEmptyCheck,\n        isFieldRequired,\n        isFieldVisible\n      };\n    }\n  });\n\n  export default Global_ContactInformation;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div>\n    <label :for=\"id\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\">*</span>\n    </label>\n\n    <input :id=\"id\"\n           v-model=\"inputValue\"\n           :class=\"{\n             'is-invalid': typeof validationRule !== 'undefined' && !validationRule\n           }\"\n           :disabled=\"disabled\"\n           :autocomplete=\"autocomplete\"\n           :max=\"max\"\n           :maxlength=\"maxlength\"\n           :min=\"min\"\n           :name=\"name\"\n           :placeholder=\"placeholder\"\n           :required=\"required\"\n           :type=\"type\"\n           class=\"form-control\"\n    >\n\n    <div v-if=\"typeof validationRule !== 'undefined' && !validationRule\"\n         class=\"invalid-feedback d-block\"\n    >\n      {{ validationMessage }}\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_BootstrapInput: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"autocomplete\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"placeholder\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapInput;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_BootstrapInput: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"autocomplete\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"placeholder\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapInput;\n","import { render } from \"./Global_BootstrapInput.vue?vue&type=template&id=73028eea&scoped=true&bindings={}\"\nimport script from \"./Global_BootstrapInput.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_BootstrapInput.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_BootstrapInput.vue?vue&type=style&index=0&id=73028eea&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-73028eea\"\n\nexport default script","const countries: Array<string> = [\n  \"United States\",\n  \"Canada\",\n  \"United States Minor Outlying Islands\",\n  \"Afghanistan\",\n  \"Albania\",\n  \"Algeria\",\n  \"Andorra\",\n  \"Angola\",\n  \"Anguilla\",\n  \"Antigua & Barbuda\",\n  \"Argentina\",\n  \"Armenia\",\n  \"Aruba\",\n  \"Australia\",\n  \"Austria\",\n  \"Azerbaijan\",\n  \"Bahamas\",\n  \"Bahrain\",\n  \"Bangladesh\",\n  \"Barbados\",\n  \"Belarus\",\n  \"Belgium\",\n  \"Belize\",\n  \"Benin\",\n  \"Bermuda\",\n  \"Bhutan\",\n  \"Bolivia\",\n  \"Bosnia & Herzegovina\",\n  \"Botswana\",\n  \"Brazil\",\n  \"British Virgin Islands\",\n  \"Brunei\",\n  \"Bulgaria\",\n  \"Burkina Faso\",\n  \"Burundi\",\n  \"Cambodia\",\n  \"Cameroon\",\n  \"Cape Verde\",\n  \"Cayman Islands\",\n  \"Chad\",\n  \"Chile\",\n  \"China\",\n  \"Colombia\",\n  \"Congo\",\n  \"Cook Islands\",\n  \"Costa Rica\",\n  \"Cote D Ivoire\",\n  \"Croatia\",\n  \"Cruise Ship\",\n  \"Cuba\",\n  \"Cyprus\",\n  \"Czech Republic\",\n  \"Denmark\",\n  \"Djibouti\",\n  \"Dominica\",\n  \"Dominican Republic\",\n  \"Ecuador\",\n  \"Egypt\",\n  \"El Salvador\",\n  \"Equatorial Guinea\",\n  \"Estonia\",\n  \"Ethiopia\",\n  \"Falkland Islands\",\n  \"Faroe Islands\",\n  \"Fiji\",\n  \"Finland\",\n  \"France\",\n  \"French Polynesia\",\n  \"French West Indies\",\n  \"Gabon\",\n  \"Gambia\",\n  \"Georgia\",\n  \"Germany\",\n  \"Ghana\",\n  \"Gibraltar\",\n  \"Greece\",\n  \"Greenland\",\n  \"Grenada\",\n  \"Guam\",\n  \"Guatemala\",\n  \"Guernsey\",\n  \"Guinea\",\n  \"Guinea Bissau\",\n  \"Guyana\",\n  \"Haiti\",\n  \"Honduras\",\n  \"Hong Kong\",\n  \"Hungary\",\n  \"Iceland\",\n  \"India\",\n  \"Indonesia\",\n  \"Iran\",\n  \"Iraq\",\n  \"Ireland\",\n  \"Isle of Man\",\n  \"Israel\",\n  \"Italy\",\n  \"Jamaica\",\n  \"Japan\",\n  \"Jersey\",\n  \"Jordan\",\n  \"Kazakhstan\",\n  \"Kenya\",\n  \"Kuwait\",\n  \"Kyrgyz Republic\",\n  \"Laos\",\n  \"Latvia\",\n  \"Lebanon\",\n  \"Lesotho\",\n  \"Liberia\",\n  \"Libya\",\n  \"Liechtenstein\",\n  \"Lithuania\",\n  \"Luxembourg\",\n  \"Macau\",\n  \"Macedonia\",\n  \"Madagascar\",\n  \"Malawi\",\n  \"Malaysia\",\n  \"Maldives\",\n  \"Mali\",\n  \"Malta\",\n  \"Mauritania\",\n  \"Mauritius\",\n  \"Mexico\",\n  \"Moldova\",\n  \"Monaco\",\n  \"Mongolia\",\n  \"Montenegro\",\n  \"Montserrat\",\n  \"Morocco\",\n  \"Mozambique\",\n  \"Namibia\",\n  \"Nepal\",\n  \"Netherlands\",\n  \"Netherlands Antilles\",\n  \"New Caledonia\",\n  \"New Zealand\",\n  \"Nicaragua\",\n  \"Niger\",\n  \"Nigeria\",\n  \"Norway\",\n  \"Oman\",\n  \"Pakistan\",\n  \"Palestine\",\n  \"Panama\",\n  \"Papua New Guinea\",\n  \"Paraguay\",\n  \"Peru\",\n  \"Philippines\",\n  \"Poland\",\n  \"Portugal\",\n  \"Puerto Rico\",\n  \"Qatar\",\n  \"Reunion\",\n  \"Romania\",\n  \"Russia\",\n  \"Rwanda\",\n  \"Saint Pierre & Miquelon\",\n  \"Samoa\",\n  \"San Marino\",\n  \"Satellite\",\n  \"Saudi Arabia\",\n  \"Senegal\",\n  \"Serbia\",\n  \"Seychelles\",\n  \"Sierra Leone\",\n  \"Singapore\",\n  \"Slovakia\",\n  \"Slovenia\",\n  \"South Africa\",\n  \"South Korea\",\n  \"Spain\",\n  \"Sri Lanka\",\n  \"St Kitts & Nevis\",\n  \"St Lucia\",\n  \"St Vincent\",\n  \"St. Lucia\",\n  \"Sudan\",\n  \"Suriname\",\n  \"Swaziland\",\n  \"Sweden\",\n  \"Switzerland\",\n  \"Syria\",\n  \"Taiwan\",\n  \"Tajikistan\",\n  \"Tanzania\",\n  \"Thailand\",\n  \"Timor L'Este\",\n  \"Togo\",\n  \"Tonga\",\n  \"Trinidad & Tobago\",\n  \"Tunisia\",\n  \"Turkey\",\n  \"Turkmenistan\",\n  \"Turks & Caicos\",\n  \"Uganda\",\n  \"Ukraine\",\n  \"United Arab Emirates\",\n  \"United Kingdom\",\n  \"Uruguay\",\n  \"Uzbekistan\",\n  \"Venezuela\",\n  \"Vietnam\",\n  \"Virgin Islands (US)\",\n  \"Yemen\",\n  \"Zambia\",\n  \"Zimbabwe\"\n];\nexport default countries;\n","const states: Array<{ name: string; abbreviation: string }> = [\n  {\n    name: \"Alabama\",\n    abbreviation: \"AL\"\n  },\n  {\n    name: \"Alaska\",\n    abbreviation: \"AK\"\n  },\n  {\n    name: \"American Samoa\",\n    abbreviation: \"AS\"\n  },\n  {\n    name: \"Arizona\",\n    abbreviation: \"AZ\"\n  },\n  {\n    name: \"Arkansas\",\n    abbreviation: \"AR\"\n  },\n  {\n    name: \"California\",\n    abbreviation: \"CA\"\n  },\n  {\n    name: \"Colorado\",\n    abbreviation: \"CO\"\n  },\n  {\n    name: \"Connecticut\",\n    abbreviation: \"CT\"\n  },\n  {\n    name: \"Delaware\",\n    abbreviation: \"DE\"\n  },\n  {\n    name: \"District Of Columbia\",\n    abbreviation: \"DC\"\n  },\n  {\n    name: \"Federated States Of Micronesia\",\n    abbreviation: \"FM\"\n  },\n  {\n    name: \"Florida\",\n    abbreviation: \"FL\"\n  },\n  {\n    name: \"Georgia\",\n    abbreviation: \"GA\"\n  },\n  {\n    name: \"Guam\",\n    abbreviation: \"GU\"\n  },\n  {\n    name: \"Hawaii\",\n    abbreviation: \"HI\"\n  },\n  {\n    name: \"Idaho\",\n    abbreviation: \"ID\"\n  },\n  {\n    name: \"Illinois\",\n    abbreviation: \"IL\"\n  },\n  {\n    name: \"Indiana\",\n    abbreviation: \"IN\"\n  },\n  {\n    name: \"Iowa\",\n    abbreviation: \"IA\"\n  },\n  {\n    name: \"Kansas\",\n    abbreviation: \"KS\"\n  },\n  {\n    name: \"Kentucky\",\n    abbreviation: \"KY\"\n  },\n  {\n    name: \"Louisiana\",\n    abbreviation: \"LA\"\n  },\n  {\n    name: \"Maine\",\n    abbreviation: \"ME\"\n  },\n  {\n    name: \"Marshall Islands\",\n    abbreviation: \"MH\"\n  },\n  {\n    name: \"Maryland\",\n    abbreviation: \"MD\"\n  },\n  {\n    name: \"Massachusetts\",\n    abbreviation: \"MA\"\n  },\n  {\n    name: \"Michigan\",\n    abbreviation: \"MI\"\n  },\n  {\n    name: \"Minnesota\",\n    abbreviation: \"MN\"\n  },\n  {\n    name: \"Mississippi\",\n    abbreviation: \"MS\"\n  },\n  {\n    name: \"Missouri\",\n    abbreviation: \"MO\"\n  },\n  {\n    name: \"Montana\",\n    abbreviation: \"MT\"\n  },\n  {\n    name: \"Nebraska\",\n    abbreviation: \"NE\"\n  },\n  {\n    name: \"Nevada\",\n    abbreviation: \"NV\"\n  },\n  {\n    name: \"New Hampshire\",\n    abbreviation: \"NH\"\n  },\n  {\n    name: \"New Jersey\",\n    abbreviation: \"NJ\"\n  },\n  {\n    name: \"New Mexico\",\n    abbreviation: \"NM\"\n  },\n  {\n    name: \"New York\",\n    abbreviation: \"NY\"\n  },\n  {\n    name: \"North Carolina\",\n    abbreviation: \"NC\"\n  },\n  {\n    name: \"North Dakota\",\n    abbreviation: \"ND\"\n  },\n  {\n    name: \"Northern Mariana Islands\",\n    abbreviation: \"MP\"\n  },\n  {\n    name: \"Ohio\",\n    abbreviation: \"OH\"\n  },\n  {\n    name: \"Oklahoma\",\n    abbreviation: \"OK\"\n  },\n  {\n    name: \"Oregon\",\n    abbreviation: \"OR\"\n  },\n  {\n    name: \"Palau\",\n    abbreviation: \"PW\"\n  },\n  {\n    name: \"Pennsylvania\",\n    abbreviation: \"PA\"\n  },\n  {\n    name: \"Puerto Rico\",\n    abbreviation: \"PR\"\n  },\n  {\n    name: \"Rhode Island\",\n    abbreviation: \"RI\"\n  },\n  {\n    name: \"South Carolina\",\n    abbreviation: \"SC\"\n  },\n  {\n    name: \"South Dakota\",\n    abbreviation: \"SD\"\n  },\n  {\n    name: \"Tennessee\",\n    abbreviation: \"TN\"\n  },\n  {\n    name: \"Texas\",\n    abbreviation: \"TX\"\n  },\n  {\n    name: \"Utah\",\n    abbreviation: \"UT\"\n  },\n  {\n    name: \"Vermont\",\n    abbreviation: \"VT\"\n  },\n  {\n    name: \"Virgin Islands\",\n    abbreviation: \"VI\"\n  },\n  {\n    name: \"Virginia\",\n    abbreviation: \"VA\"\n  },\n  {\n    name: \"Washington\",\n    abbreviation: \"WA\"\n  },\n  {\n    name: \"West Virginia\",\n    abbreviation: \"WV\"\n  },\n  {\n    name: \"Wisconsin\",\n    abbreviation: \"WI\"\n  },\n  {\n    name: \"Wyoming\",\n    abbreviation: \"WY\"\n  }\n];\n\nexport default states;\n","\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, watch } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import countries from \"@/lib/countries\";\n  import states from \"@/lib/states\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ContactInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    props: {\n      \"isBilling\": {\n        type: Boolean,\n        required: true\n      },\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      },\n      \"address\": {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\n      \"update:isValid\",\n      \"update:address\"\n    ],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const taxProviderPresent: ComputedRef = computed(() => {\n        return store.state.account.tax_provider_present;\n      });\n\n      const country: Ref = ref(props.address?.country);\n      const address1: Ref = ref(props.address?.address1);\n      const address2: Ref = ref(props.address?.address2);\n      const city: Ref = ref(props.address?.city);\n      const state: Ref = ref(props.address?.state);\n      const zip: Ref = ref(props.address?.zip);\n\n      const countryOptions: ComputedRef = computed(() => {\n        return countries.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const stateOptions: ComputedRef = computed(() => {\n        return states.map((s) => {\n          return {\n            label: s.name,\n            value: s.name\n          };\n        });\n      });\n\n      const isFieldRequired = (fieldName: string): boolean => {\n        switch (fieldName) {\n          case \"address1\":\n          case \"address2\":\n          case \"city\":\n          case \"state\":\n            return (props.isBilling === true && taxProviderPresent.value === true && country.value !== null) || (props.isBilling === false && country.value !== null);\n          case \"country\":\n          case \"zip\":\n            return props.isBilling === true || country.value !== null;\n          default:\n            return false;\n        }\n      };\n      const isFieldVisible = (fieldName: string): boolean => {\n        switch (fieldName) {\n          case \"address1\":\n          case \"address2\":\n          case \"city\":\n          case \"state\":\n            return (props.isBilling === true && taxProviderPresent.value === true && country.value !== null) || (props.isBilling === false && country.value !== null);\n          default:\n            return true;\n        }\n      };\n\n      const isFullCheck: ComputedRef = computed(() => {\n        return address1.value !== null && address1.value.length > 0 && city.value !== null && city.value.length > 0 && state.value !== null && state.value.length > 0 && zip.value !== null && zip.value.length > 0 && country.value !== null && country.value.length > 0;\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        return (address1.value === null || address1.value.length === 0) && (city.value === null || city.value.length === 0) && (state.value === null || state.value.length === 0) && (zip.value === null || zip.value.length === 0) && (country.value === null || country.value.length === 0);\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        // Billing contact information\n        if (props.isBilling === true) {\n          if (taxProviderPresent.value === true) {\n            return isFullCheck.value;\n          } else {\n            return zip.value !== null && zip.value.length > 0 && country.value !== null && country.value.length > 0;\n          }\n        } else {\n          return isFullCheck.value || isEmptyCheck.value;\n        }\n      });\n\n      // Emit is-valid property changes\n      watch([\n        address1,\n        address2,\n        city,\n        state,\n        zip,\n        country\n      ], () => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n        context.emit(\"update:address\", {\n          country: country.value,\n          address1: address1.value,\n          address2: address2.value,\n          city: city.value,\n          state: state.value,\n          zip: zip.value\n        });\n      });\n\n      return {\n        country,\n        address1,\n        address2,\n        city,\n        state,\n        zip,\n        countryOptions,\n        stateOptions,\n        taxProviderPresent,\n        isFullCheck,\n        isEmptyCheck,\n        isFieldRequired,\n        isFieldVisible\n      };\n    }\n  });\n\n  export default Global_ContactInformation;\n","import { render } from \"./Global_ContactInformation.vue?vue&type=template&id=6ddd12f4&scoped=true&bindings={}\"\nimport script from \"./Global_ContactInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_ContactInformation.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_ContactInformation.vue?vue&type=style&index=0&id=6ddd12f4&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6ddd12f4\"\n\nexport default script","<template>\n  <fieldset id=\"payment_information\">\n    <div class=\"row\">\n      <!-- Name on Card (Full Width) -->\n      <div class=\"col-lg-6 mb-3\">\n        <label for=\"cc_name\" class=\"form-label\">Name on Card *</label>\n        <global_bootstrap-input\n          id=\"cc_name\"\n          v-model:value=\"cc_name\"\n          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'name' }]\"\n          class=\"w-100\"\n          name=\"cc_name\"\n          type=\"text\"\n          placeholder=\"Card holder name\"\n        />\n        <p v-if=\"ccNameError\" class=\"text-danger error-message\">{{ ccNameError }}</p>\n      </div>\n\n      <!-- Card Number -->\n      <div class=\"col-lg-6 mb-3\">\n        <label for=\"card_number_element\" class=\"form-label\">Card Number *</label>\n        <div id=\"card_number_element\" class=\"stripe-input\"></div>\n        <p v-if=\"errors.cardNumber\" class=\"text-danger error-message error-padding\">{{ errors.cardNumber }}</p>\n      </div>\n\n      <!-- Expiration Date -->\n      <div class=\"col-lg-6 mb-3\">\n        <label for=\"card_expiry_element\" class=\"form-label\">Expiration Date *</label>\n        <div id=\"card_expiry_element\" class=\"stripe-input\"></div>\n        <p v-if=\"errors.cardExpiry\" class=\"text-danger error-message error-padding\">{{ errors.cardExpiry }}</p>\n      </div>\n\n      <!-- CVC -->\n      <div class=\"col-lg-6 mb-3\">\n        <label for=\"card_cvc_element\" class=\"form-label\">CVC *</label>\n        <div id=\"card_cvc_element\" class=\"stripe-input\"></div>\n        <p v-if=\"errors.cardCvc\" class=\"text-danger error-message error-padding\">{{ errors.cardCvc }}</p>\n      </div>\n    </div>\n    <div class=\"flex-column col-lg-6 saved-cards\">\n      <label>\n        <input v-model=\"isUseSaveCard\" type=\"checkbox\" />\n        Show saved card details\n      </label>\n      <div v-if=\"isLoading\" class=\"skeleton-loader\">\n        <div class=\"skeleton-line\"></div>\n        <div class=\"skeleton-line\"></div>\n      </div>\n      <div\n        class=\"card-details\"\n        v-else-if=\"savedCardDetails && isUseSaveCard && !apiErrorMessage\"\n      >\n        <div class=\"card-item\">\n          <p class=\"d-flex align-items-center gap-2\">\n            <component :is=\"cardIcons\" />\n            **** **** **** {{ savedCardDetails.card.last4 }}\n          </p>\n          <p class=\"d-flex gap-2\">\n            <span>Expires:</span>\n            <span>\n              {{ savedCardDetails.card.exp_month }}/{{\n                savedCardDetails.card.exp_year.toString().slice(-2)\n              }}\n            </span>\n          </p>\n        </div>\n      </div>\n      <div class=\"no-card-message\" v-else-if=\"apiErrorMessage && isUseSaveCard\">\n        <p>No saved card found.</p>\n      </div>\n    </div>\n  </fieldset>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import months from \"@/lib/months\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import axios from \"axios\";\n  import Mastercard_Icon from \"./Mastercard_Icon.vue\";\n  import Default_Icon from \"./Default_Icon.vue\";\n  import Amex_Icon from \"./Amex_Icon.vue\";\n  import Visa_Icon from \"./Visa_Icon.vue\";\n  type BillingDetails = {\n    address: {\n      city: string | null;\n      country: string | null;\n      line1: string | null;\n      line2: string | null;\n      postal_code: string | null;\n      state: string | null;\n    };\n    email: string | null;\n    name: string | null;\n    phone: string | null;\n  };\n  type CardType = {\n    brand: string;\n    checks: {\n      address_line1_check: string | null;\n      address_postal_code_check: string | null;\n      cvc_check: string;\n    };\n    country: string;\n    display_brand: string;\n    exp_month: number;\n    exp_year: number;\n    fingerprint: string;\n    funding: string;\n    generated_from: string | null;\n    last4: string;\n    networks: {\n      available: string[];\n      preferred: null;\n    };\n    three_d_secure_usage: {\n      supported: true;\n    };\n    wallet: null;\n  };\n  type CardDetails = {\n    id: string;\n    object: string;\n    billing_details: BillingDetails;\n    card: CardType;\n    created: number;\n    customer: string;\n    livemode: boolean;\n    metadata: unknown;\n    type: string;\n  };\n\n  const Global_PaymentInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    props: {\n      \"is-valid\": {\n        type: Boolean,\n        required: true\n      },\n      \"is-empty\": {\n        type: Boolean,\n        required: true\n      },\n      errors: {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\n      \"update:isValid\",\n      \"update:isEmpty\"\n    ],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const user = computed<any>((): void => {\n        return store.state.user;\n      });\n\n      const ccNameError = ref<string | null>(null);\n\n      const isUseSaveCard = ref(false);\n      const savedCardDetails = ref<CardDetails>();\n      const apiErrorMessage = ref<any | null>(null);\n      const isLoading = ref(false);\n\n      const setProperty = (property: string, subProperty: string | null, subSubProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          subSubProperty,\n          data\n        });\n      };\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const yearOptions: ComputedRef = computed(() => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: string }> = [];\n\n        for (let i: number = d; i < d + 15; i++) {\n          y.push({\n            label: i,\n            value: `${i}`\n          });\n        }\n\n        return y;\n      });\n\n      const cc_format = (value: string | null): string | null => {\n        if (value !== null) {\n          const v: string = value.replace(/\\s+/g, \"\")\n            .replace(/[^0-9]/gi, \"\");\n          const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n          const match: string = (matches && matches[0]) || \"\";\n          const parts: Array<string> = [];\n          for (let i = 0; i < match.length; i += 4) {\n            parts.push(match.substring(i, i + 4));\n          }\n          if (parts.length) {\n            return parts.join(\" \");\n          } else {\n            return value;\n          }\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n      const paymentInformation: ComputedRef = computed(() => {\n        if (typeof store.state.paymentInformation === \"undefined\" || store.state.paymentInformation === null) {\n          setProperty(\"paymentInformation\", null, null, {\n            cc_name: null,\n            cc_number: null,\n            cc_exp_month: null,\n            cc_exp_year: null,\n            cc_cvc: null\n          });\n        }\n        return store.state.paymentInformation;\n      });\n\n      const cc_name: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_name;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          }\n          setProperty(\"paymentInformation\", \"cc_name\", null, n);\n        }\n      });\n\n      const cc_number: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_number;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          }\n          setProperty(\"paymentInformation\", \"cc_number\", null, cc_format(n));\n        }\n      });\n\n      const cc_exp_month: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_exp_month;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = `${n}`.padStart(2, \"0\");\n          }\n          setProperty(\"paymentInformation\", \"cc_exp_month\", null, n);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_exp_year;\n        },\n        set: (n: number | string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = parseInt(n);\n          }\n          setProperty(\"paymentInformation\", \"cc_exp_year\", null, n);\n        }\n      });\n\n      const cc_cvc: WritableComputedRef<number | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_cvc;\n        },\n        set: (n: number | string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = parseInt(n);\n          }\n          setProperty(\"paymentInformation\", \"cc_cvc\", null, n);\n        }\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        // everything should be null\n        return (\n          cc_name.value === null\n        );\n      });\n\n      const isFullCheck: ComputedRef = computed(() => {\n        // everything should be not-null\n        return (\n          cc_name.value !== null\n        );\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        return (isFullCheck.value && !isEmptyCheck.value) || (!isFullCheck.value && isEmptyCheck.value);\n      });\n\n      // Emit is-valid and is-empty property changes\n      watch(cc_name, (newVal) => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n        context.emit(\"update:isEmpty\", isEmptyCheck.value);\n        if (!newVal || newVal.trim().length === 0) {\n          ccNameError.value = \"Name on card is required.\";\n        } else {\n          ccNameError.value = null;\n        }\n      });\n\n      watch(isUseSaveCard, async (newVal) => {\n        if (newVal && user.value.stripe_id) {\n          try {\n            isLoading.value = true;\n            const response = await axios.get(\n              \"/api/apps/v3/user/get_payment_methods\"\n            );\n            savedCardDetails.value = response.data?.data as CardDetails;\n            apiErrorMessage.value = null;\n          } catch (e: any) {\n            console.log(e);\n            apiErrorMessage.value = e;\n            console.log(e?.message);\n          } finally {\n            isLoading.value = false;\n          }\n        }\n      });\n\n      const cardIcons = computed(() => {\n        if (!savedCardDetails.value?.card?.brand) return \"\";\n        switch (savedCardDetails.value?.card?.brand) {\n          case \"visa\":\n            return Visa_Icon;\n          case \"amex\":\n            return Amex_Icon;\n          case \"mastercard\":\n            return Mastercard_Icon;\n          default: {\n            return Default_Icon;\n          }\n        }\n      });\n\n      return {\n        cc_name,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_cvc,\n        monthOptions,\n        yearOptions,\n        isValidCheck,\n        isEmptyCheck,\n        isFullCheck,\n        isUseSaveCard,\n        savedCardDetails,\n        cardIcons,\n        apiErrorMessage,\n        isLoading,\n        ccNameError\n      };\n    }\n  });\n\n  export default Global_PaymentInformation;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n  .loader {\n    display: flex;\n    justify-content: center;\n    padding: 1rem 0;\n  }\n\n  .skeleton-loader {\n    padding: 1rem 0;\n    \n    .skeleton-line {\n      height: 20px;\n      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);\n      background-size: 200% 100%;\n      animation: loading 1.5s infinite;\n      border-radius: 4px;\n      margin-bottom: 0.5rem;\n      \n      &:last-child {\n        width: 60%;\n      }\n    }\n  }\n\n  @keyframes loading {\n    0% {\n      background-position: 200% 0;\n    }\n    100% {\n      background-position: -200% 0;\n    }\n  }\n\n  .stripe-input {\n    display: block;\n    width: 100%;\n    padding: 0.375rem 0.75rem;\n    font-size: 1rem;\n    font-weight: 400;\n    line-height: 1.5;\n    color: #212529;\n    background-color: #fff;\n    background-clip: padding-box;\n    border: 1px solid #ced4da;\n    appearance: none;\n    border-radius: 0.25rem;\n    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n    height: 38px;\n  }\n\n  .error-message {\n    font-size: 15px;\n  }\n\n  .error-padding {\n    padding-top: 15px;\n  }\n</style>\n\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    if (typeof b !== \"function\" && b !== null)\r\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n        if (ar || !(i in from)) {\r\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n            ar[i] = from[i];\r\n        }\r\n    }\r\n    return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n    Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n    o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n    __setModuleDefault(result, mod);\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n    if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n    if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n    return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n    if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n    if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n    if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n    return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","const months: Array<string> = [\n  \"January\",\n  \"February\",\n  \"March\",\n  \"April\",\n  \"May\",\n  \"June\",\n  \"July\",\n  \"August\",\n  \"September\",\n  \"October\",\n  \"November\",\n  \"December\"\n];\nexport default months;\n","<template>\n  <svg xmlns=\"http://www.w3.org/2000/svg\"  viewBox=\"0 0 48 48\" width=\"48px\" height=\"48px\"><path fill=\"#3F51B5\" d=\"M45,35c0,2.209-1.791,4-4,4H7c-2.209,0-4-1.791-4-4V13c0-2.209,1.791-4,4-4h34c2.209,0,4,1.791,4,4V35z\"/><path fill=\"#FFC107\" d=\"M30 14A10 10 0 1 0 30 34A10 10 0 1 0 30 14Z\"/><path fill=\"#FF3D00\" d=\"M22.014,30c-0.464-0.617-0.863-1.284-1.176-2h5.325c0.278-0.636,0.496-1.304,0.637-2h-6.598C20.07,25.354,20,24.686,20,24h7c0-0.686-0.07-1.354-0.201-2h-6.598c0.142-0.696,0.359-1.364,0.637-2h5.325c-0.313-0.716-0.711-1.383-1.176-2h-2.973c0.437-0.58,0.93-1.122,1.481-1.595C21.747,14.909,19.481,14,17,14c-5.523,0-10,4.477-10,10s4.477,10,10,10c3.269,0,6.162-1.575,7.986-4H22.014z\"/></svg>\n</template>\n\n<script lang=\"ts\">\nexport default {\n  name: 'MasterCardIcon',\n};\n</script>","\nexport default {\n  name: 'MasterCardIcon',\n};\n","import { render } from \"./Mastercard_Icon.vue?vue&type=template&id=45a567b2&bindings={}\"\nimport script from \"./Mastercard_Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Mastercard_Icon.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" id=\"credit-card\">\n  <path d=\"M30 4H2a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 22H2V14h28v12zM2 10.084V6h28v4.084H2zM5 24h10a1 1 0 0 0 0-2H5a1 1 0 0 0 0 2zm13-1a1 1 1080 1 0 2 0 1 1 1080 1 0-2 0zm4 0a1 1 1080 1 0 2 0 1 1 1080 1 0-2 0zm4 0a1 1 1080 1 0 2 0 1 1 1080 1 0-2 0z\"></path>\n</svg>\n</template>\n\n<script lang=\"ts\">\nexport default {\n  name: 'DefaultIcon',\n};\n</script>","\nexport default {\n  name: 'DefaultIcon',\n};\n","import { render } from \"./Default_Icon.vue?vue&type=template&id=21140583&bindings={}\"\nimport script from \"./Default_Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Default_Icon.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <svg xmlns=\"http://www.w3.org/2000/svg\"  viewBox=\"0 0 48 48\" width=\"48px\" height=\"48px\"><path fill=\"#1976D2\" d=\"M45,35c0,2.209-1.791,4-4,4H7c-2.209,0-4-1.791-4-4V13c0-2.209,1.791-4,4-4h34c2.209,0,4,1.791,4,4V35z\"/><path fill=\"#FFF\" d=\"M22.255 20l-2.113 4.683L18.039 20h-2.695v6.726L12.341 20h-2.274L7 26.981h1.815l.671-1.558h3.432l.682 1.558h3.465v-5.185l2.299 5.185h1.563l2.351-5.095v5.095H25V20H22.255zM10.135 23.915l1.026-2.44 1.066 2.44H10.135zM37.883 23.413L41 20.018h-2.217l-1.994 2.164L34.86 20H28v6.982h6.635l2.092-2.311L38.767 27h2.21L37.883 23.413zM33.728 25.516h-4.011v-1.381h3.838v-1.323h-3.838v-1.308l4.234.012 1.693 1.897L33.728 25.516z\"/></svg>\n</template>\n\n<script lang=\"ts\">\nexport default {\n  name: 'AmexIcon',\n};\n</script>","\nexport default {\n  name: 'AmexIcon',\n};\n","import { render } from \"./Amex_Icon.vue?vue&type=template&id=94968dfe&bindings={}\"\nimport script from \"./Amex_Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Amex_Icon.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <svg xmlns=\"http://www.w3.org/2000/svg\"  viewBox=\"0 0 48 48\" width=\"48px\" height=\"48px\"><path fill=\"#2100c4\" d=\"M45,35c0,2.209-1.791,4-4,4H7c-2.209,0-4-1.791-4-4V13c0-2.209,1.791-4,4-4h34c2.209,0,4,1.791,4,4 V35z\"/><path fill=\"#fff\" d=\"M15.186,19l-2.626,7.832c0,0-0.667-3.313-0.733-3.729c-1.495-3.411-3.701-3.221-3.701-3.221 L10.726,30v-0.002h3.161L18.258,19H15.186z M17.689,30h2.871l1.736-11h-2.907L17.689,30z M38.008,19h-3.021l-4.71,11h2.852 l0.588-1.571h3.596L37.619,30h2.613L38.008,19z M34.513,26.328l1.563-4.157l0.818,4.157H34.513z M26.369,22.206 c0-0.606,0.498-1.057,1.926-1.057c0.928,0,1.991,0.674,1.991,0.674l0.466-2.309c0,0-1.358-0.515-2.691-0.515 c-3.019,0-4.576,1.444-4.576,3.272c0,3.306,3.979,2.853,3.979,4.551c0,0.291-0.231,0.964-1.888,0.964 c-1.662,0-2.759-0.609-2.759-0.609l-0.495,2.216c0,0,1.063,0.606,3.117,0.606c2.059,0,4.915-1.54,4.915-3.752 C30.354,23.586,26.369,23.394,26.369,22.206z\"/><path fill=\"#f5bc00\" d=\"M12.212,24.945l-0.966-4.748c0,0-0.437-1.029-1.573-1.029s-4.44,0-4.44,0 S10.894,20.84,12.212,24.945z\"/></svg>\n</template>\n\n<script lang=\"ts\">\nexport default {\n  name: 'VisaIcon',\n};\n</script>","\nexport default {\n  name: 'VisaIcon',\n};\n","import { render } from \"./Visa_Icon.vue?vue&type=template&id=eb4e8d70&bindings={}\"\nimport script from \"./Visa_Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Visa_Icon.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import months from \"@/lib/months\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import axios from \"axios\";\n  import Mastercard_Icon from \"./Mastercard_Icon.vue\";\n  import Default_Icon from \"./Default_Icon.vue\";\n  import Amex_Icon from \"./Amex_Icon.vue\";\n  import Visa_Icon from \"./Visa_Icon.vue\";\n  type BillingDetails = {\n    address: {\n      city: string | null;\n      country: string | null;\n      line1: string | null;\n      line2: string | null;\n      postal_code: string | null;\n      state: string | null;\n    };\n    email: string | null;\n    name: string | null;\n    phone: string | null;\n  };\n  type CardType = {\n    brand: string;\n    checks: {\n      address_line1_check: string | null;\n      address_postal_code_check: string | null;\n      cvc_check: string;\n    };\n    country: string;\n    display_brand: string;\n    exp_month: number;\n    exp_year: number;\n    fingerprint: string;\n    funding: string;\n    generated_from: string | null;\n    last4: string;\n    networks: {\n      available: string[];\n      preferred: null;\n    };\n    three_d_secure_usage: {\n      supported: true;\n    };\n    wallet: null;\n  };\n  type CardDetails = {\n    id: string;\n    object: string;\n    billing_details: BillingDetails;\n    card: CardType;\n    created: number;\n    customer: string;\n    livemode: boolean;\n    metadata: unknown;\n    type: string;\n  };\n\n  const Global_PaymentInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput,\n      \"global_bootstrap-select\": Global_BootstrapSelect\n    },\n    props: {\n      \"is-valid\": {\n        type: Boolean,\n        required: true\n      },\n      \"is-empty\": {\n        type: Boolean,\n        required: true\n      },\n      errors: {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\n      \"update:isValid\",\n      \"update:isEmpty\"\n    ],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const user = computed<any>((): void => {\n        return store.state.user;\n      });\n\n      const ccNameError = ref<string | null>(null);\n\n      const isUseSaveCard = ref(false);\n      const savedCardDetails = ref<CardDetails>();\n      const apiErrorMessage = ref<any | null>(null);\n      const isLoading = ref(false);\n\n      const setProperty = (property: string, subProperty: string | null, subSubProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          subSubProperty,\n          data\n        });\n      };\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const yearOptions: ComputedRef = computed(() => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: string }> = [];\n\n        for (let i: number = d; i < d + 15; i++) {\n          y.push({\n            label: i,\n            value: `${i}`\n          });\n        }\n\n        return y;\n      });\n\n      const cc_format = (value: string | null): string | null => {\n        if (value !== null) {\n          const v: string = value.replace(/\\s+/g, \"\")\n            .replace(/[^0-9]/gi, \"\");\n          const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n          const match: string = (matches && matches[0]) || \"\";\n          const parts: Array<string> = [];\n          for (let i = 0; i < match.length; i += 4) {\n            parts.push(match.substring(i, i + 4));\n          }\n          if (parts.length) {\n            return parts.join(\" \");\n          } else {\n            return value;\n          }\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n      const paymentInformation: ComputedRef = computed(() => {\n        if (typeof store.state.paymentInformation === \"undefined\" || store.state.paymentInformation === null) {\n          setProperty(\"paymentInformation\", null, null, {\n            cc_name: null,\n            cc_number: null,\n            cc_exp_month: null,\n            cc_exp_year: null,\n            cc_cvc: null\n          });\n        }\n        return store.state.paymentInformation;\n      });\n\n      const cc_name: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_name;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          }\n          setProperty(\"paymentInformation\", \"cc_name\", null, n);\n        }\n      });\n\n      const cc_number: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_number;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          }\n          setProperty(\"paymentInformation\", \"cc_number\", null, cc_format(n));\n        }\n      });\n\n      const cc_exp_month: WritableComputedRef<string | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_exp_month;\n        },\n        set: (n: string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = `${n}`.padStart(2, \"0\");\n          }\n          setProperty(\"paymentInformation\", \"cc_exp_month\", null, n);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_exp_year;\n        },\n        set: (n: number | string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = parseInt(n);\n          }\n          setProperty(\"paymentInformation\", \"cc_exp_year\", null, n);\n        }\n      });\n\n      const cc_cvc: WritableComputedRef<number | null> = computed({\n        get: () => {\n          return paymentInformation.value.cc_cvc;\n        },\n        set: (n: number | string | null) => {\n          if (n === \"\") {\n            n = null;\n          } else if (n !== null) {\n            n = parseInt(n);\n          }\n          setProperty(\"paymentInformation\", \"cc_cvc\", null, n);\n        }\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        // everything should be null\n        return (\n          cc_name.value === null\n        );\n      });\n\n      const isFullCheck: ComputedRef = computed(() => {\n        // everything should be not-null\n        return (\n          cc_name.value !== null\n        );\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        return (isFullCheck.value && !isEmptyCheck.value) || (!isFullCheck.value && isEmptyCheck.value);\n      });\n\n      // Emit is-valid and is-empty property changes\n      watch(cc_name, (newVal) => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n        context.emit(\"update:isEmpty\", isEmptyCheck.value);\n        if (!newVal || newVal.trim().length === 0) {\n          ccNameError.value = \"Name on card is required.\";\n        } else {\n          ccNameError.value = null;\n        }\n      });\n\n      watch(isUseSaveCard, async (newVal) => {\n        if (newVal && user.value.stripe_id) {\n          try {\n            isLoading.value = true;\n            const response = await axios.get(\n              \"/api/apps/v3/user/get_payment_methods\"\n            );\n            savedCardDetails.value = response.data?.data as CardDetails;\n            apiErrorMessage.value = null;\n          } catch (e: any) {\n            console.log(e);\n            apiErrorMessage.value = e;\n            console.log(e?.message);\n          } finally {\n            isLoading.value = false;\n          }\n        }\n      });\n\n      const cardIcons = computed(() => {\n        if (!savedCardDetails.value?.card?.brand) return \"\";\n        switch (savedCardDetails.value?.card?.brand) {\n          case \"visa\":\n            return Visa_Icon;\n          case \"amex\":\n            return Amex_Icon;\n          case \"mastercard\":\n            return Mastercard_Icon;\n          default: {\n            return Default_Icon;\n          }\n        }\n      });\n\n      return {\n        cc_name,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_cvc,\n        monthOptions,\n        yearOptions,\n        isValidCheck,\n        isEmptyCheck,\n        isFullCheck,\n        isUseSaveCard,\n        savedCardDetails,\n        cardIcons,\n        apiErrorMessage,\n        isLoading,\n        ccNameError\n      };\n    }\n  });\n\n  export default Global_PaymentInformation;\n","import { render } from \"./Global_PaymentInformation.vue?vue&type=template&id=0daa576b&scoped=true&bindings={}\"\nimport script from \"./Global_PaymentInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_PaymentInformation.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_PaymentInformation.vue?vue&type=style&index=0&id=0daa576b&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-0daa576b\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, onMounted , nextTick, watch} from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import Global_ContactInformation from \"@/components/global/Global_ContactInformation.vue\";\n  import Global_PaymentInformation from \"@/components/global/Global_PaymentInformation.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Payments: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_payment-information\": Global_PaymentInformation,\n      \"global_contact-information\": Global_ContactInformation\n    },\n    props: [],\n    setup(_, { emit }) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, subSubProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          subSubProperty,\n          data\n        });\n      };\n\n      const errors = ref({ cardNumber: \"\", cardExpiry: \"\", cardCvc: \"\" });\n\n      const card = ref(null);\n      const stripeInstance = ref(null)\n      const cardNumber = ref(null);\n      const cardExpiry = ref(null);\n      const cardCvc = ref(null);\n\n      const stripeState = ref({\n        cardNumberComplete: false,\n        cardExpiryComplete: false,\n        cardCvcComplete: false,\n        cardNumberError: false,\n        cardExpiryError: false,\n        cardCvcError: false,\n      });\n\n      const user: ComputedRef = computed((): void => {\n        return store.state.user;\n      });\n\n      const account: ComputedRef = computed((): void => {\n        return store.state.account;\n      });\n\n      const paymentInformation: ComputedRef = computed((): void => {\n        return store.state.paymentInformation;\n      });\n\n      const tmpAddress: Ref = ref();\n      const transactionData: Ref = ref({\n        full_name: null,\n        billing_address: null,\n        opaque_data: null,\n        stripeToken: null\n      });\n\n      const setAddress = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          tmpAddress.value = store.state.user.billing_address;\n\n          // Check if address is populated. If it is not, set a temp object\n          if (tmpAddress.value === null) {\n            tmpAddress.value = {\n              address1: null,\n              address2: null,\n              city: null,\n              state: null,\n              zip: null,\n              country: null\n            };\n          }\n        } else {\n          setTimeout(setAddress, 500);\n        }\n      };\n\n      const isAddressValid: Ref<boolean> = ref(true);\n      const isPaymentValid: Ref<boolean> = ref(true);\n      const isPaymentEmpty: Ref<boolean> = ref(true);\n      const isSaving: Ref<boolean> = ref(false);\n\n      const clearCCData = (): void => {\n        setProperty(\"paymentInformation\", null, null, {\n          cc_name: null\n        });\n      };\n\n      const onSubmitError = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Oops, something went wrong.\",\n          type: \"danger\",\n          viewed: false,\n          delay: 5000\n        });\n      };\n\n      const onSubmitFailure = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Your credit card or billing information was not accepted. Please verify that your information is correct and try again.\",\n          type: \"danger\",\n          viewed: false,\n          delay: 5000\n        });\n\n      };\n\n      const onSubmitSuccess = (): void => {\n        isSaving.value = false;\n\n        store.commit(\"toast/addToast\", {\n          message: \"Your payment information has been updated.\",\n          type: \"success\",\n          viewed: false,\n          delay: 5000\n        });\n\n        setTimeout(() => {\n          window.location.reload();\n        }, 1000);\n      };\n\n      const patchUser = (): void => {\n        setProperty(\"user\", \"billing_address\", null, tmpAddress.value);\n\n        axios\n          .patch(\n            \"/api/apps/v3/payments/update_credit_card\",\n            {\n              user_data: transactionData.value\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response: AxiosResponse) => {\n            setProperty(\"user\", null, null, response.data.user);\n            onSubmitSuccess();\n          })\n          .catch((error: AxiosError) => {\n            onSubmitFailure();\n\n            console.log(error);\n          });\n      };\n\n      const onSubmit = (): void => {\n        isSaving.value = true;\n\n        const Accept: LooseObject = window.Accept;\n        const Stripe: LooseObject = window.Stripe;\n        let paymentForm: HTMLFormElement | null = document.querySelector(\"#account-payments form\");\n\n        transactionData.value.full_name = paymentInformation.value.cc_name;\n        transactionData.value.billing_address = tmpAddress.value;\n\n        const stripeInfo: LooseObject = store.state.account?.payment_processors?.find((p: LooseObject) => {\n          return typeof p !== \"undefined\" ? p.type === \"stripe\" : false;\n        });\n\n        const authNetInfo: LooseObject = store.state.account?.payment_processors?.find((p: LooseObject) => {\n          return typeof p !== \"undefined\" ? p.type === \"authorize.net\" : false;\n        });\n        \n        const processor: LooseObject = stripeInfo || authNetInfo;\n\n        switch (processor.type) {\n          case \"stripe\":\n            try {\n              stripeInstance.value.createToken(cardNumber.value, {name: paymentInformation.value.cc_name}).then(result => {\n                  if (result.error) {\n                      onSubmitFailure();\n                  } else {\n                      transactionData.value.stripeToken = result.token.id;\n                      setProperty(\"user\", \"payment_processor_data\", null, {\n                        token: result.token.id\n                      });\n                      patchUser();\n                  }\n              });\n            } catch (err) {\n              onSubmitError();\n            }\n            break;\n\n          case \"authorize.net\":\n\n            try {\n              Accept.dispatchData(\n                {\n                  authData: {\n                    clientKey: authNetInfo.api_public_key,\n                    apiLoginID: authNetInfo.api_login_id\n                  },\n                  cardData: {\n                    fullName: paymentInformation.value.cc_name,\n                    cardNumber: paymentInformation.value.cc_number.replace(/\\s/g, \"\"),\n                    month: paymentInformation.value.cc_exp_month,\n                    year: paymentInformation.value.cc_exp_year.toString().substring(2),\n                    cardCode: paymentInformation.value.cc_cvc.toString(),\n                    zip: user.value.billing_address.zip\n                  }\n                },\n                (response: LooseObject) => {\n                  if (response.messages.resultCode === \"Ok\") {\n                    transactionData.value.opaque_data = response.opaqueData;\n\n                    setProperty(\"user\", \"payment_processor_data\", null, {\n                      data_value: response.opaqueData.dataValue,\n                      data_descriptor: response.opaqueData.dataDescriptor\n                    });\n                    patchUser();\n                  } else {\n                    onSubmitFailure();\n                  }\n                }\n              );\n            } catch (err) {\n              onSubmitError();\n            }\n            break;\n        }\n      };\n\n      // Add function to load Stripe script\n      const loadStripeScript = (): Promise<void> => {\n        return new Promise((resolve, reject) => {\n          if ((window as any).Stripe) {\n            resolve();\n            return;\n          }\n \n          const script = document.createElement('script');\n          script.src = 'https://js.stripe.com/v3/';\n          script.type = 'text/javascript';\n          script.onload = () => resolve();\n          script.onerror = () => reject(new Error('Failed to load Stripe.js'));\n          document.head.appendChild(script);\n        });\n      };\n\n      // Initialize Stripe and the card element after the script is loaded\n      const initializeStripe = (): void => {\n        if (window.Stripe) {\n          const paymentProcessors = store.state.account?.payment_processors;\n          const stripeInfo: LooseObject = paymentProcessors.find((p: LooseObject) => p?.type === \"stripe\");\n          const stripe = Stripe(stripeInfo.publishable_key);\n          const elements = stripe.elements();\n\n          const style = {\n            base: {\n              fontSize: \"16px\",\n              fontFamily: \"Arial, sans-serif\",\n              color: \"#32325d\",\n              \"::placeholder\": { color: \"#aab7c4\" },\n            },\n            invalid: {\n              iconColor: \"#fa755a\",\n              color: \"#000000\"\n            },\n          };\n\n          // Ensuring the DOM is updated using nextTick\n          nextTick(() => {\n            const mountCardElement = () => {\n              const cardElementContainer = document.querySelector(\"#card_number_element\")\n\n              if (cardElementContainer) {\n                cardNumber.value = elements.create(\"cardNumber\", { style });\n                cardExpiry.value = elements.create(\"cardExpiry\", { style });\n                cardCvc.value = elements.create(\"cardCvc\", { style });\n                cardNumber.value.mount(\"#card_number_element\");\n                cardExpiry.value.mount(\"#card_expiry_element\");\n                cardCvc.value.mount(\"#card_cvc_element\");\n                stripeInstance.value = stripe;\n\n                const handleStripeChange = (event: any, field: keyof typeof stripeState.value, errorField: keyof typeof stripeState.value) => {\n                  stripeState.value[field] = event.complete;\n                  stripeState.value[errorField] = !!event.error; // true if error exists, false otherwise\n                };\n\n                // Attach event listeners\n                cardNumber.value.on(\"change\", (event) => handleStripeChange(event, \"cardNumberComplete\", \"cardNumberError\"));\n                cardExpiry.value.on(\"change\", (event) => handleStripeChange(event, \"cardExpiryComplete\", \"cardExpiryError\"));\n                cardCvc.value.on(\"change\", (event) => handleStripeChange(event, \"cardCvcComplete\", \"cardCvcError\"));\n\n                [cardNumber, cardExpiry, cardCvc].forEach((element, index) => {\n                  const field = [\"cardNumber\", \"cardExpiry\", \"cardCvc\"][index];\n\n                  element.value.on(\"change\", (event) => {\n                    errors.value[field] = event.error ? event.error.message : \"\";\n                    emit(\"update:errors\", errors.value);\n                  });\n                });\n              } else {\n                console.error(\"The card element container was not found.\");\n              }\n            };\n\n            // Try mounting card element and retry if it's not found after 100ms\n            mountCardElement();\n            const retry = setInterval(() => {\n              if (document.querySelector(\"#card_number_element\")) {\n                clearInterval(retry); // Stop retrying once it finds the element\n                mountCardElement();\n              }\n            }, 100);\n\n            // Set timeout to stop retrying after 2 seconds to avoid infinite loop\n            setTimeout(() => clearInterval(retry), 2000);\n          });\n        } else {\n          console.error(\"Stripe is not available.\");\n        }\n      };\n\n      // Load script when component mounts\n     onMounted(() => {\n      loadStripeScript()\n        .then(() => {\n          // Watch for changes in payment_processors and initialize Stripe when available\n          watch(\n            () => store.state.account?.payment_processors,\n            (processors) => {\n              if (Array.isArray(processors) && processors.length > 0) {\n                initializeStripe();\n              }\n            },\n            { immediate: true } // Runs immediately if data is already available\n          );\n        })\n        .catch(console.error);\n      });\n\n      clearCCData();\n      setAddress();\n\n      return {\n        user,\n        account,\n        tmpAddress,\n        isAddressValid,\n        isPaymentValid,\n        isPaymentEmpty,\n        isSaving,\n        card,\n        stripeInstance,\n        stripeState,\n        onSubmit,\n        errors\n      };\n    }\n  });\n\n  export default Account_Payments;\n","import { render } from \"./Account_Payments.vue?vue&type=template&id=76d276cb&scoped=true&bindings={}\"\nimport script from \"./Account_Payments.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Payments.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Payments.vue?vue&type=style&index=0&id=76d276cb&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-76d276cb\"\n\nexport default script","<template>\n  <div v-if=\"typeof user.email !== 'undefined'\">\n    <h2 class=\"mb-4 custom-font-color\">\n      Edit Profile\n    </h2>\n\n    <form novalidate\n          @submit.prevent=\"onSubmit\"\n    >\n      <div class=\"card mb-3\" v-if=\"posSrc == 'true'\">\n        <div class=\"card-header\">\n          <h3 class=\"fs-5 m-0\">\n            Personal Information\n          </h3>\n        </div>\n        <div class=\"card-body pe-0 ps-3\">\n          <global_personal-information v-model:is-valid=\"isPersonalInformationValid\" />\n        </div>\n      </div>\n\n      <div class=\"card mb-3\">\n        <div class=\"card-header\">\n          <h3 class=\"fs-5 m-0\">\n            Update Password\n          </h3>\n        </div>\n        <div class=\"card-body pe-0 ps-3\">\n          <global_change-password v-model:is-valid=\"isPasswordValid\" />\n        </div>\n      </div>\n\n      <div class=\"card\" v-if=\"posSrc == 'true'\">\n        <div class=\"card-header\">\n          <h3 class=\"fs-5 m-0\">\n            Shipping Address\n          </h3>\n        </div>\n        <div v-if=\"typeof tmpAddress !== 'undefined'\"\n             class=\"card-body pe-0 ps-3\"\n        >\n          <global_contact-information v-model:address=\"tmpAddress\"\n                                      v-model:is-valid=\"isAddressValid\"\n                                      :is-billing=\"false\"\n          />\n        </div>\n      </div>\n\n      <div class=\"row mt-3\">\n        <div class=\"col\">\n          <button v-if=\"posSrc == 'true'\" :disabled=\"!isPersonalInformationValid || !isPasswordValid || !isAddressValid || isSaving\"\n                  class=\"btn btn-primary\"\n                  type=\"submit\"\n          >\n            <span v-if=\"isSaving\">Saving</span>\n            <span v-if=\"!isSaving\">Save</span>\n            Profile\n          </button>\n\n          <button v-if=\"posSrc == 'false'\" :disabled=\"!isPasswordValid || isSaving\"\n                  class=\"btn btn-primary\"\n                  type=\"submit\"\n          >\n            <span v-if=\"isSaving\">Saving</span>\n            <span v-if=\"!isSaving\">Save</span>\n            Profile\n          </button>          \n        </div>\n      </div>\n    </form>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_ContactInformation from \"@/components/global/Global_ContactInformation.vue\";\n  import Global_PersonalInformation from \"@/components/global/Global_PersonalInformation.vue\";\n  import Global_ChangePassword from \"@/components/global/Global_ChangePassword.vue\";\n  import axios, { AxiosError } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Profile: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_personal-information\": Global_PersonalInformation,\n      \"global_change-password\": Global_ChangePassword,\n      \"global_contact-information\": Global_ContactInformation\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const posSrc = document.getElementById(\"pos_src\").value;\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const tmpAddress: Ref = ref();\n\n      const setAddress = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          tmpAddress.value = store.state.user.shipping_address;\n\n          // Check if address is populated. If it is not, set a temp object\n          if (tmpAddress.value === null) {\n            tmpAddress.value = {\n              address1: null,\n              address2: null,\n              city: null,\n              state: null,\n              zip: null,\n              country: null\n            };\n          }\n        } else {\n          setTimeout(setAddress, 500);\n        }\n      };\n      setAddress();\n\n      const isPasswordValid: Ref = ref(true);\n      const isPersonalInformationValid: Ref = ref(true);\n      const isSaving: Ref = ref(false);\n\n       const isAddressValid = computed(() => {\n        return tmpAddress.value && tmpAddress.value.address1 && tmpAddress.value.city && tmpAddress.value.state && tmpAddress.value.zip && tmpAddress.value.country;\n      });\n\n\n      const onSubmit = (): void => {\n        // Reset to null state if user has de-selected country\n        if (tmpAddress.value.country === null) {\n          tmpAddress.value = null;\n        }\n\n        store.commit(\"setProperty\", {\n          property: \"user\",\n          subProperty: \"shipping_address\",\n          data: tmpAddress.value\n        });\n\n        isSaving.value = true;\n        axios\n          .patch(\n            \"/api/apps/v3/user\",\n            {\n              user: user.value\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            const successMessage = response.data?.message || \"Your profile has been updated.\";\n            store.commit(\"toast/addToast\", {\n              message: successMessage,\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            let errorMessage = error.response?.data?.message || \"Oops, something went wrong.\";\n\n            // Map backend error messages to user-friendly messages\n            if (errorMessage === \"Email has already been taken\") {\n              errorMessage = \"This email is already associated with another account.\";\n            }\n\n            store.commit(\"toast/addToast\", {\n              message: errorMessage,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n\n            console.log(error);\n          })\n          .finally(() => {\n            isSaving.value = false;\n            setAddress();\n\n            // If password change, redirect user to login page\n            if (typeof store.state.user.password !== \"undefined\" && typeof store.state.user.password_confirmation !== \"undefined\" && store.state.user.password.length && store.state.user.password_confirmation.length && store.state.user.password === store.state.user.password_confirmation) {\n              window.location.href = \"/accounts/login\";\n            }\n          });\n      };\n\n      return {\n        user,\n        tmpAddress,\n        isPersonalInformationValid,\n        isPasswordValid,\n        isAddressValid,\n        isSaving,\n        posSrc,\n        onSubmit\n      };\n    }\n  });\n\n  export default Account_Profile;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <fieldset>\n    <div class=\"row d-flex flex-column\">\n      <global_bootstrap-input id=\"first_name\"\n                              v-model:value=\"first_name\"\n                              :validation-rule=\"first_name.length\"\n                              class=\"flex-column col-lg-6 mb-3\"\n                              label=\"First Name\"\n                              required=\"required\"\n                              type=\"text\"\n                              validation-message=\"First name is required.\"\n      />\n\n      <global_bootstrap-input id=\"last_name\"\n                              v-model:value=\"last_name\"\n                              :validation-rule=\"last_name.length\"\n                              class=\"flex-column col-lg-6 mb-3\"\n                              label=\"Last Name\"\n                              required=\"required\"\n                              type=\"text\"\n                              validation-message=\"Last name is required.\"\n      />\n\n      <global_bootstrap-input id=\"email\"\n                              v-model:value=\"email\"\n                              :validation-rule=\"email.length && emailIsValid\"\n                              class=\"flex-column col-lg-6 mb-3 mb-lg-0\"\n                              label=\"Email Address\"\n                              required=\"required\"\n                              type=\"email\"\n                              validation-message=\"A valid email address is required.\"\n      />\n\n      <global_bootstrap-input id=\"phone_number\"\n                              v-model:value=\"phone_number\"\n                              class=\"flex-column col-lg-6 mb-3 mb-lg-0\"\n                              label=\"Phone Number\"\n                              type=\"text\"\n      />\n    </div>\n  </fieldset>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_PersonalInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput\n    },\n    props: {\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    emits: [\"update:isValid\"],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          data\n        });\n      };\n\n      const first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.first_name;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"first_name\", n);\n        }\n      });\n      const last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.last_name;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"last_name\", n);\n        }\n      });\n      const email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.email;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"email\", n);\n        }\n      });\n      const phone_number: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.phone_number;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"phone_number\", n);\n        }\n      });\n\n      const emailIsValid: ComputedRef = computed(() => {\n        const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n        return re.test(String(email.value)\n          .toLowerCase());\n      });\n\n      // Emit is-valid property changes\n      watch([\n        first_name,\n        last_name,\n        email,\n        emailIsValid\n      ], () => {\n        context.emit(\"update:isValid\", first_name.value.length && last_name.value.length && email.value.length && emailIsValid.value === true);\n      });\n\n      return {\n        first_name,\n        last_name,\n        email,\n        phone_number,\n        emailIsValid\n      };\n    }\n  });\n\n  export default Global_PersonalInformation;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_PersonalInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput\n    },\n    props: {\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    emits: [\"update:isValid\"],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          data\n        });\n      };\n\n      const first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.first_name;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"first_name\", n);\n        }\n      });\n      const last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.last_name;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"last_name\", n);\n        }\n      });\n      const email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.email;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"email\", n);\n        }\n      });\n      const phone_number: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.phone_number;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"phone_number\", n);\n        }\n      });\n\n      const emailIsValid: ComputedRef = computed(() => {\n        const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n        return re.test(String(email.value)\n          .toLowerCase());\n      });\n\n      // Emit is-valid property changes\n      watch([\n        first_name,\n        last_name,\n        email,\n        emailIsValid\n      ], () => {\n        context.emit(\"update:isValid\", first_name.value.length && last_name.value.length && email.value.length && emailIsValid.value === true);\n      });\n\n      return {\n        first_name,\n        last_name,\n        email,\n        phone_number,\n        emailIsValid\n      };\n    }\n  });\n\n  export default Global_PersonalInformation;\n","import { render } from \"./Global_PersonalInformation.vue?vue&type=template&id=4da1cc81&scoped=true&bindings={}\"\nimport script from \"./Global_PersonalInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_PersonalInformation.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_PersonalInformation.vue?vue&type=style&index=0&id=4da1cc81&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4da1cc81\"\n\nexport default script","<template>\n  <fieldset>\n    <div class=\"row d-flex flex-column\">\n      <global_bootstrap-input id=\"password\"\n                              v-model:value=\"password\"\n                              :required=\"password_confirmation !== null || password !== null ? 'required' : undefined\"\n                              :validation-rule=\"password === null || (password !== null && password.length >= 6)\"\n                              autocomplete=\"new-password\"\n                              class=\"flex-column col-lg-6 mb-3 mb-lg-0\"\n                              label=\"Change Password\"\n                              type=\"password\"\n                              validation-message=\"Password must be at least 6 characters long.\"\n      />\n\n      <global_bootstrap-input id=\"password_confirmation\"\n                              v-model:value=\"password_confirmation\"\n                              :required=\"password_confirmation !== null || password !== null ? 'required' : undefined\"\n                              :validation-rule=\"password === password_confirmation\"\n                              autocomplete=\"new-password\"\n                              class=\"flex-column col-lg-6 mb-3 mb-lg-0\"\n                              label=\"Password Confirmation\"\n                              type=\"password\"\n                              validation-message=\"Password and and password confirmation must match.\"\n      />\n    </div>\n  </fieldset>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ChangePassword: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput\n    },\n    props: {\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    emits: [\"update:isValid\"],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          data\n        });\n      };\n\n      const password: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.password || null;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"password\", n);\n        }\n      });\n\n      const password_confirmation: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.password_confirmation || null;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"password_confirmation\", n);\n        }\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        return (password.value === null || password.value.length === 0) && (password_confirmation.value === null || password_confirmation.value.length === 0);\n      });\n\n      const isFullCheck: ComputedRef = computed(() => {\n        return password.value !== null && password.value.length >= 6 && password_confirmation.value !== null && password_confirmation.value.length >= 6;\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        return isEmptyCheck.value || (isFullCheck.value && password.value === password_confirmation.value);\n      });\n\n      // Emit is-valid property changes\n      watch([\n        password,\n        password_confirmation\n      ], () => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n      });\n\n      return {\n        password,\n        password_confirmation\n      };\n    }\n  });\n\n  export default Global_ChangePassword;\n</script>\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent, watch, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_BootstrapInput from \"@/components/global/Global_BootstrapInput.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ChangePassword: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input\": Global_BootstrapInput\n    },\n    props: {\n      \"isValid\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    emits: [\"update:isValid\"],\n    setup(props, context) {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, subProperty: string | null, data: any): void => {\n        store.commit(\"setProperty\", {\n          property,\n          subProperty,\n          data\n        });\n      };\n\n      const password: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.password || null;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"password\", n);\n        }\n      });\n\n      const password_confirmation: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user?.password_confirmation || null;\n        },\n        set: (n) => {\n          setProperty(\"user\", \"password_confirmation\", n);\n        }\n      });\n\n      const isEmptyCheck: ComputedRef = computed(() => {\n        return (password.value === null || password.value.length === 0) && (password_confirmation.value === null || password_confirmation.value.length === 0);\n      });\n\n      const isFullCheck: ComputedRef = computed(() => {\n        return password.value !== null && password.value.length >= 6 && password_confirmation.value !== null && password_confirmation.value.length >= 6;\n      });\n\n      const isValidCheck: ComputedRef = computed(() => {\n        return isEmptyCheck.value || (isFullCheck.value && password.value === password_confirmation.value);\n      });\n\n      // Emit is-valid property changes\n      watch([\n        password,\n        password_confirmation\n      ], () => {\n        context.emit(\"update:isValid\", isValidCheck.value);\n      });\n\n      return {\n        password,\n        password_confirmation\n      };\n    }\n  });\n\n  export default Global_ChangePassword;\n","import { render } from \"./Global_ChangePassword.vue?vue&type=template&id=e123753a&scoped=true&bindings={}\"\nimport script from \"./Global_ChangePassword.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_ChangePassword.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_ChangePassword.vue?vue&type=style&index=0&id=e123753a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-e123753a\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Global_ContactInformation from \"@/components/global/Global_ContactInformation.vue\";\n  import Global_PersonalInformation from \"@/components/global/Global_PersonalInformation.vue\";\n  import Global_ChangePassword from \"@/components/global/Global_ChangePassword.vue\";\n  import axios, { AxiosError } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account_Profile: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_personal-information\": Global_PersonalInformation,\n      \"global_change-password\": Global_ChangePassword,\n      \"global_contact-information\": Global_ContactInformation\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const posSrc = document.getElementById(\"pos_src\").value;\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const tmpAddress: Ref = ref();\n\n      const setAddress = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          tmpAddress.value = store.state.user.shipping_address;\n\n          // Check if address is populated. If it is not, set a temp object\n          if (tmpAddress.value === null) {\n            tmpAddress.value = {\n              address1: null,\n              address2: null,\n              city: null,\n              state: null,\n              zip: null,\n              country: null\n            };\n          }\n        } else {\n          setTimeout(setAddress, 500);\n        }\n      };\n      setAddress();\n\n      const isPasswordValid: Ref = ref(true);\n      const isPersonalInformationValid: Ref = ref(true);\n      const isSaving: Ref = ref(false);\n\n       const isAddressValid = computed(() => {\n        return tmpAddress.value && tmpAddress.value.address1 && tmpAddress.value.city && tmpAddress.value.state && tmpAddress.value.zip && tmpAddress.value.country;\n      });\n\n\n      const onSubmit = (): void => {\n        // Reset to null state if user has de-selected country\n        if (tmpAddress.value.country === null) {\n          tmpAddress.value = null;\n        }\n\n        store.commit(\"setProperty\", {\n          property: \"user\",\n          subProperty: \"shipping_address\",\n          data: tmpAddress.value\n        });\n\n        isSaving.value = true;\n        axios\n          .patch(\n            \"/api/apps/v3/user\",\n            {\n              user: user.value\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            const successMessage = response.data?.message || \"Your profile has been updated.\";\n            store.commit(\"toast/addToast\", {\n              message: successMessage,\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            let errorMessage = error.response?.data?.message || \"Oops, something went wrong.\";\n\n            // Map backend error messages to user-friendly messages\n            if (errorMessage === \"Email has already been taken\") {\n              errorMessage = \"This email is already associated with another account.\";\n            }\n\n            store.commit(\"toast/addToast\", {\n              message: errorMessage,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n\n            console.log(error);\n          })\n          .finally(() => {\n            isSaving.value = false;\n            setAddress();\n\n            // If password change, redirect user to login page\n            if (typeof store.state.user.password !== \"undefined\" && typeof store.state.user.password_confirmation !== \"undefined\" && store.state.user.password.length && store.state.user.password_confirmation.length && store.state.user.password === store.state.user.password_confirmation) {\n              window.location.href = \"/accounts/login\";\n            }\n          });\n      };\n\n      return {\n        user,\n        tmpAddress,\n        isPersonalInformationValid,\n        isPasswordValid,\n        isAddressValid,\n        isSaving,\n        posSrc,\n        onSubmit\n      };\n    }\n  });\n\n  export default Account_Profile;\n","import { render } from \"./Account_Profile.vue?vue&type=template&id=7bc3c6fc&scoped=true&bindings={}\"\nimport script from \"./Account_Profile.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Profile.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Profile.vue?vue&type=style&index=0&id=7bc3c6fc&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7bc3c6fc\"\n\nexport default script","<template>\n  <div>\n    <h2 class=\"mb-4 custom-font-color\">\n      Manage Your Subscriptions\n    </h2>\n\n    <!-- Active Subscriptions -->\n    <div v-if=\"typeof activeSubscriptions !== 'undefined' && activeSubscriptions.length\"\n         class=\"row row-cols-1 mb-3\"\n    >\n      <div class=\"col\">\n        <div class=\"card\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              <svg class=\"icon icon-small\"\n                   fill=\"none\"\n                   height=\"18\"\n                   viewBox=\"0 0 18 18\"\n                   width=\"18\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path d=\"M9 11.2394L14.4085 7.1831L9 3.12676V11.2394ZM16.2254 0C16.7042 0 17.1197 0.176055 17.4718 0.528169C17.8239 0.880283 18 1.29577 18 1.77465V12.5915C18 13.0704 17.8239 13.493 17.4718 13.8592C17.1197 14.2254 16.7042 14.4085 16.2254 14.4085H5.40845C4.92957 14.4085 4.50704 14.2254 4.14084 13.8592C3.77465 13.493 3.59155 13.0704 3.59155 12.5915V1.77465C3.59155 1.29577 3.77465 0.880283 4.14084 0.528169C4.50704 0.176055 4.92957 0 5.40845 0H16.2254ZM1.77465 3.59155V16.2254H14.4085V18H1.77465C1.29577 18 0.880283 17.8239 0.528169 17.4718C0.176055 17.1197 0 16.7042 0 16.2254V3.59155H1.77465Z\"\n                      fill=\"currentColor\"\n                />\n              </svg>\n              Active Subscriptions\n            </h3>\n          </div>\n\n          <div class=\"card-body p-0\">\n            <ul class=\"list-group list-group-flush\">\n              <account_subscriptions_list-item v-for=\"sub in activeSubscriptions\"\n                                               :key=\"sub.product_id\"\n                                               :subscription=\"sub\"\n              />\n            </ul>\n          </div>\n        </div>\n      </div>\n    </div>\n    <!-- /Active Subscriptions -->\n\n    <!-- Paused Subscriptions -->\n    <div v-if=\"typeof pausedSubscriptions !== 'undefined' && pausedSubscriptions.length\"\n         class=\"row row-cols-1 mb-3\"\n    >\n      <div class=\"col\">\n        <div class=\"card\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              <svg class=\"icon icon-small\"\n                   fill=\"none\"\n                   height=\"18\"\n                   viewBox=\"0 0 18 18\"\n                   width=\"18\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path d=\"M2.6129 2.64919C4.37904 0.883056 6.50805 0 9 0C11.4919 0 13.6149 0.877007 15.369 2.63105C17.123 4.38509 18 6.50805 18 9C18 11.4919 17.123 13.6149 15.369 15.369C13.6149 17.123 11.4919 18 9 18C6.50805 18 4.38509 17.123 2.63105 15.369C0.877007 13.6149 0 11.4919 0 9C0 6.50805 0.870959 4.39114 2.6129 2.64919ZM8.41935 11.9032V6.09677C8.41935 5.92742 8.36492 5.78831 8.25605 5.67944C8.14718 5.57056 8.00807 5.51613 7.83871 5.51613H6.09677C5.92742 5.51613 5.78831 5.57056 5.67944 5.67944C5.57056 5.78831 5.51613 5.92742 5.51613 6.09677V11.9032C5.51613 12.0726 5.57056 12.2117 5.67944 12.3206C5.78831 12.4294 5.92742 12.4839 6.09677 12.4839H7.83871C8.00807 12.4839 8.14718 12.4294 8.25605 12.3206C8.36492 12.2117 8.41935 12.0726 8.41935 11.9032ZM12.4839 11.9032V6.09677C12.4839 5.92742 12.4294 5.78831 12.3206 5.67944C12.2117 5.57056 12.0726 5.51613 11.9032 5.51613H10.1613C9.99193 5.51613 9.85282 5.57056 9.74395 5.67944C9.63508 5.78831 9.58064 5.92742 9.58064 6.09677V11.9032C9.58064 12.0726 9.63508 12.2117 9.74395 12.3206C9.85282 12.4294 9.99193 12.4839 10.1613 12.4839H11.9032C12.0726 12.4839 12.2117 12.4294 12.3206 12.3206C12.4294 12.2117 12.4839 12.0726 12.4839 11.9032Z\"\n                      fill=\"currentColor\"\n                />\n              </svg>\n\n              Paused Subscriptions\n            </h3>\n          </div>\n          <div class=\"card-body p-0\">\n            <ul class=\"list-group list-group-flush\">\n              <account_subscriptions_list-item v-for=\"sub in pausedSubscriptions\"\n                                               :key=\"sub.product_id\"\n                                               :subscription=\"sub\"\n              />\n            </ul>\n          </div>\n        </div>\n      </div>\n    </div>\n    <!-- /Paused Subscriptions -->\n\n    <!-- Inactive Subscriptions -->\n    <div v-if=\"typeof inactiveSubscriptions !== 'undefined' && inactiveSubscriptions.length\"\n         class=\"row row-cols-1 mb-3\"\n    >\n      <div class=\"col\">\n        <div class=\"card\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              <svg class=\"icon icon-small\"\n                   fill=\"none\"\n                   height=\"18\"\n                   viewBox=\"0 0 18 18\"\n                   width=\"18\"\n                   xmlns=\"http://www.w3.org/2000/svg\"\n              >\n                <path d=\"M9 11.2394L14.4085 7.1831L9 3.12676V11.2394ZM16.2254 0C16.7042 0 17.1197 0.176055 17.4718 0.528169C17.8239 0.880283 18 1.29577 18 1.77465V12.5915C18 13.0704 17.8239 13.493 17.4718 13.8592C17.1197 14.2254 16.7042 14.4085 16.2254 14.4085H5.40845C4.92957 14.4085 4.50704 14.2254 4.14084 13.8592C3.77465 13.493 3.59155 13.0704 3.59155 12.5915V1.77465C3.59155 1.29577 3.77465 0.880283 4.14084 0.528169C4.50704 0.176055 4.92957 0 5.40845 0H16.2254ZM1.77465 3.59155V16.2254H14.4085V18H1.77465C1.29577 18 0.880283 17.8239 0.528169 17.4718C0.176055 17.1197 0 16.7042 0 16.2254V3.59155H1.77465Z\"\n                      fill=\"currentColor\"\n                />\n              </svg>\n              Inactive Subscriptions\n            </h3>\n          </div>\n          <div class=\"card-body p-0\">\n            <ul class=\"list-group list-group-flush\">\n              <account_subscriptions_list-item v-for=\"sub in inactiveSubscriptions\"\n                                               :key=\"sub.product_id\"\n                                               :subscription=\"sub\"\n              />\n            </ul>\n          </div>\n        </div>\n      </div>\n      <!-- Subscribe Now Button -->\n      <div class=\"mt-3\">\n        <a\n          v-if=\"activeSubscriptions.length === 0\"\n          class=\"btn btn-primary mb-3\"\n          href=\"/crunch_subscriptions\"\n          >\n          Subscribe Now\n        </a>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Subscription from \"@/interfaces/Subscription\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Account_Subscriptions_ListItem from \"@/components/subscriber/account/Account_Subscriptions_ListItem.vue\";\n\n  const Account_Subscriptions: Component<LooseObject> = defineComponent({\n    components: {\n      \"account_subscriptions_list-item\": Account_Subscriptions_ListItem\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const getSubscriptionsByStatus = (status: string): Array<Subscription> => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === status;\n        });\n      };\n\n      const activeSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"ACTIVE\");\n      });\n\n      const pausedSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"PAUSED\");\n      });\n\n      const inactiveSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"COMPLETED\")\n          .concat(getSubscriptionsByStatus(\"PAST_DUE\"))\n          .concat(getSubscriptionsByStatus(\"CANCELED\"))\n          .concat(getSubscriptionsByStatus(\"EXPIRED\"));\n      });\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        activeSubscriptions,\n        pausedSubscriptions,\n        inactiveSubscriptions\n      };\n    }\n  });\n\n  export default Account_Subscriptions;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <li :id=\"`subscription_${subscription.product_id}`\"\n      class=\"list-group-item p-3\"\n  >\n    <h3>{{ subscription.title }}</h3>\n\n    <div class=\"d-md-flex d-sm-inline-flex w-100 justify-content-between align-items-start\">\n      <div class=\"col-md-7\">\n        <p class=\"mb-4\">{{ subscription.description }}</p>\n      </div>\n\n      <!-- Subscription Actions --> \n      <div class=\"col-md-4\">\n        <button v-if=\"canUpdate\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-primary w-100 mb-3\"\n                @click=\"onUpdate\"\n        >\n          Update\n        </button>\n\n        <!-- Pause -->\n        <button v-if=\"canPause\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-primary w-100 mb-3\"\n                @click=\"onPauseClick\"\n        >\n          <span v-if=\"subscription.pause_at\">Edit</span>\n          Pause\n        </button>\n        <!-- Pause -->\n\n        <!-- Cancel Pause -->\n        <button v-if=\"subscription.status === 'ACTIVE' && subscription.pause_at\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-outline-primary w-100 mb-3\"\n                @click=\"onUnPause\"\n        >\n          Cancel Pause\n        </button>\n        <!-- /Cancel Pause -->\n\n        <!-- Un-Pause -->\n        <button v-if=\"subscription.status === 'PAUSED'\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-primary w-100 mb-3\"\n                @click=\"onUnPause\"\n        >\n          Resume\n        </button>\n        <!-- /UnPause -->\n\n        <!-- Cancel -->\n        <button v-if=\"canCancel\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-link w-100\"\n                @click=\"onCancelClick\"\n        >\n          Cancel Subscription\n        </button>\n        <!-- /Cancel -->\n\n        <!-- Un-Cancel -->\n        <button v-if=\"canUnCancel\"\n                :disabled=\"showForm !== null\"\n                class=\"btn btn-outline-primary w-100 mb-3\"\n                @click=\"onUnCancel\"\n        >\n          Un-Cancel\n        </button>\n        <!-- /Un-Cancel -->\n      </div>\n      <!-- /Active Subscription Actions -->\n    </div>\n\n    <!-- Subscription Update Modals -->\n    <div v-if=\"showForm !== null\"\n         class=\"rounded-1 bg-light p-3 mb-3 position-relative\"\n    >\n      <!-- Close Button -->\n      <button class=\"btn btn-sm rounded-circle bg-secondary text-light position-absolute top-0 end-0 me-3 mt-3\"\n              style=\"line-height: 1rem\"\n              @click=\"onClose\"\n      >\n        <span style=\"font-weight: 700; text-shadow: 0 0 1px currentColor\">×</span>\n      </button>\n\n      <!-- Pause Inner Modal -->\n      <div v-if=\"showForm === 'pause'\">\n        <account_subscriptions_list-item_pause-form v-model:show-modal=\"showForm\"\n                                                    :subscription=\"subscription\"\n        />\n      </div>\n      <!-- /Pause Inner Modal -->\n\n      <div v-if=\"showForm === 'pause-cancel'\">\n        <p v-if=\"typeof subscription.pause_at !== 'undefined' && subscription.pause_at !== null\">\n          In order to cancel your subscription, you must first end your pause.\n        </p>\n\n        <p v-if=\"typeof subscription.cancel_at !== 'undefined' && subscription.cancel_at !== null\">\n          In order to pause your subscription, you must first revert your cancellation.\n        </p>\n      </div>\n    </div>\n    <!-- /Subscription Update Modals -->\n\n    <!-- Cancel Status Indicator -->\n    <div v-if=\"subscription.status === 'ACTIVE' && subscription.cancel_at\"\n         class=\"mb-3\"\n    >\n      <p class=\"fs-6\">\n        <strong>This subscription is scheduled to be cancelled on {{ formatLongDate(subscription.end_at) }}</strong>\n      </p>\n    </div>\n\n    <!-- Pause Status Indicator -->\n    <div v-if=\"subscription.status === 'ACTIVE' && subscription.pause_at\"\n         class=\"mb-3\"\n    >\n      <p class=\"fs-6\">\n        <strong>This subscription is scheduled to be paused on {{ formatLongDate(subscription.pause_at) }}</strong>\n      </p>\n    </div>\n\n    <!-- Payment Information -->\n    <div>\n      <p v-if=\"!subscription.cancel_at\">\n        <span v-if=\"subscription.scheduled_subscription && subscription.src_system != 'pos'\">\n          Next Payment: ${{ formatCurrency(subscription.scheduled_subscription_total_amount * 100) }}\n          {{ getScheduledSubscriptionPriceAmount(subscription.scheduled_subscription_recurring_amount * 100, subscription.scheduled_subscription_tax_percentage, 0) }}\n          on {{ formatLongDate(subscription.scheduled_subscription_scheduled_at) }}\n        </span>\n        <span v-else-if=\"subscription.total_recurring_amount === 0\">\n          Next Payment: N/A\n        </span>\n        <span v-else-if=\"getActivePriceAmount !== null && subscription.tax_percentage !== '0.0'\">\n          Next Payment: ${{ getTotalPriceAmount(subscription.active_price_id, subscription.prices, subscription.total_recurring_amount) }}\n          {{ getActivePriceAmount(subscription.active_price_id, subscription.prices, subscription.tax_percentage, subscription.discount) }}\n          on {{ formatLongDate(subscription.next_bill_date) }}\n        </span>\n        <span v-else>\n          Next Payment: ${{ getTotalPriceAmount(subscription.active_price_id, subscription.prices, subscription.total_recurring_amount) }}\n          on {{ formatLongDate(subscription.next_bill_date) }}\n        </span>\n      </p>\n\n      <p>\n        <button class=\"btn btn-link p-0\"\n                type=\"button\"\n                @click=\"toggleTransactions\"\n        >\n          {{ showTransactions === true ? \"hide\" : \"show\" }} Payment History\n        </button>\n      </p>\n\n      <account_subscriptions_list-item_transactions :show-transactions=\"showTransactions\"\n                                                    :subscription=\"subscription\"\n      />\n    </div>\n    <!-- /Payment Information -->\n\n    <!-- Cancellation modal -->\n    <Teleport to=\"#global_modal--target\">\n      <global_modal v-model:show-modal=\"showModal\"\n                    :modal-title=\"modalTitle\"\n                    :show-modal=\"showModal !== null\"\n      >\n        <account_subscriptions_cancellation-other-src-system v-if=\"showModal === 'cancelOtherSrcSystem'\"\n                                                             v-model:show-modal=\"showModal\"\n                                                             :modal-title=\"modalTitle\"\n                                                             :src-system=\"srcSystem\"\n        />\n        <account_subscriptions_cancellation-questions-form v-if=\"showModal === 'cancel'\"\n                                                           v-model:cancellation-reasons=\"cancellationReasons\"\n                                                           v-model:show-modal=\"showModal\"\n                                                           :modal-title=\"modalTitle\"\n                                                           :on-cancel=\"onCancel\"\n                                                           :on-pause=\"onPauseClick\"\n                                                           :on-update=\"onUpdate\"\n                                                           :show-modal=\"showModal\"\n                                                           :subscription=\"subscription\"\n                                                           :canPause=\"canPause\"\n        />\n      </global_modal>\n    </Teleport>\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n\n  import Time from \"@/lib/Time\";\n  import StringUtils from \"@/lib/StringUtils\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Feature from \"@/interfaces/Feature\";\n\n  import Account_Subscriptions_ListItem_Transactions from \"@/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue\";\n  import Account_Subscriptions_ListItem_pauseForm from \"@/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue\";\n  import Account_Subscriptions_CancellationQuestionsForm from \"@/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue\";\n  import Account_Subscriptions_CancellationOtherSrcSystem from \"@/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue\";\n  import Global_Modal from \"@/components/global/Global_Modal.vue\";\n  import { CANCEL_SUBSCRIPTION_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    components: {\n      \"account_subscriptions_list-item_transactions\": Account_Subscriptions_ListItem_Transactions,\n      \"account_subscriptions_list-item_pause-form\": Account_Subscriptions_ListItem_pauseForm,\n      \"account_subscriptions_cancellation-questions-form\": Account_Subscriptions_CancellationQuestionsForm,\n      \"account_subscriptions_cancellation-other-src-system\": Account_Subscriptions_CancellationOtherSrcSystem,\n      \"global_modal\": Global_Modal\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const showForm: Ref<string | null> = ref(null);\n      const showModal: Ref<string | null> = ref(null);\n      const modalTitle: Ref<string | null> = ref(null);\n      const cancellationReasons: Ref = ref([]);\n      const showTransactions: Ref<boolean> = ref(false);\n      const srcSystem: Ref<string> = ref(props.subscription.src_system);\n\n      // Show/Hide transactions\n      const toggleTransactions = (): void => {\n        showTransactions.value = !showTransactions.value;\n      };\n\n      // Feature Activation Check\n      const isFeatureActivated = (n: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === n;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      // Check for ability to update\n      const canUpdate: ComputedRef = computed(() => {\n        return false;\n      });\n\n      // Check for ability to pause\n      const canPause: ComputedRef = computed(() => {\n        return (\n          isFeatureActivated(\"pause\") &&\n          props.subscription.status !== \"PAUSED\" &&\n          props.subscription.type === \"Subscription\" &&\n          (srcSystem.value.toLowerCase() === \"stripe\" || srcSystem.value.toLowerCase() === \"authorize.net\") &&\n          (props.subscription.current_state === \"SUBSCRIBING\" || props.subscription.current_state === \"PROMOING\")\n        );\n      });\n\n      // Check for ability to cancel\n      const canCancel: ComputedRef = computed(() => {\n        return !props.subscription.cancel_at;\n      });\n\n      // Check for ability to un-cancel\n      const canUnCancel: ComputedRef = computed(() => {\n        return (props.subscription.cancel_at && props.subscription.status === \"ACTIVE\");\n      });\n\n      // Long date formatting\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      // Currency formatting\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      // Return active pricing plan for subscription\n      const getTotalPriceAmount = (active_price_id: number, prices: Array<ProductPrice>, total_recurring_amount: number): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\") {\n          return formatCurrency(total_recurring_amount * 100);\n        } else {\n          return null;\n        }\n      };\n\n      const getActivePriceAmount = (active_price_id: number, prices: Array<ProductPrice>, tax_percentage: string, discount: number): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\" && price?.recurring_amount !== 0 && tax_percentage !== '0.0') {\n          if(discount > 0){\n            return `($${formatCurrency(price.recurring_amount)} - $${discount} Discount + ${tax_percentage}% Sales Tax)`;\n          } else{\n            return `($${formatCurrency(price.recurring_amount)} + ${tax_percentage}% Sales Tax)`;\n          }\n        } else {\n          return null;\n        }\n      };\n\n      const getScheduledSubscriptionPriceAmount = (recurring_amount: number, tax_percentage: string, discount: number): string | null => {\n        if (recurring_amount !== 0 && tax_percentage !== '0.0') {\n          if(discount > 0){\n            return `($${formatCurrency(recurring_amount)} - $${discount} Discount + ${tax_percentage}% Sales Tax)`;\n          } else{\n            return `($${formatCurrency(recurring_amount)} + ${tax_percentage}% Sales Tax)`;\n          }\n        } else {\n          return null;\n        }\n      };\n\n      const onUpdate = (): void => {\n        showForm.value = \"update\";\n      };\n\n      const onPauseClick = (): void => {\n        if (typeof props.subscription.cancel_at === \"undefined\" || props.subscription.cancel_at === null) {\n          showForm.value = \"pause\";\n        } else {\n          showForm.value = \"pause-cancel\";\n        }\n      };\n\n      const onUnPause = (): void => {\n        const pauseAction: string = props.subscription.status === \"PAUSED\" ? \"unpause\" : \"cancel_pause\";\n\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/${pauseAction}`)\n          .then(() => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                pause_at: null,\n                pause_duration: null,\n                unpause_at: null,\n                current_state: \"SUBSCRIBING\",\n                status: \"ACTIVE\"\n              }\n            });\n            store.dispatch(\"getUserSubscriptions\");\n            showForm.value = null;\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription has been unpaused.\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Unfortunately, We're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onCancelClick = (): void => {\n        const show_cancellation_questions = document.getElementById(\"show_cq\").value;\n\n        if (srcSystem.value.toLowerCase() === \"stripe\" || srcSystem.value.toLowerCase() === \"authorize.net\" || ((srcSystem.value.toLowerCase() === \"pos\") && props.subscription.scheduled_subscription) ) {\n          // Stripe or Authorize.net\n          if (props.subscription.status === \"ACTIVE\" && (props.subscription.pause_at === null || typeof props.subscription.pause_at === \"undefined\")) {\n            showModal.value = \"cancel\";\n            modalTitle.value = \"Cancel Subscription\";\n          } else {\n            if(isFeatureActivated(\"pause\") === false) {\n              console.log(\"pause not enabled, direct to cancel\");\n              onCancel();\n            }\n            else {\n              console.log(\"pause enabled, direct to pause\");\n              showForm.value = \"pause-cancel\";\n            }\n          }\n        } else {\n          // Everything Else\n          showModal.value = \"cancelOtherSrcSystem\";\n          modalTitle.value = \"Cancel Subscription\";\n        }\n      };\n\n      const onCancel = (): void => {\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/cancel`, {\n            reason_response_data: cancellationReasons.value,\n            id: props.subscription.product_id\n          })\n          .then((response: AxiosResponse) => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                cancel_at: response.data.cancel_at,\n                end_at: response.data.cancel_at\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription cancellation request has been received.\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n            const payloadCancelSubscription = {\n              'event': CANCEL_SUBSCRIPTION_EVENT,\n              'user_id': user.value.encrypted_user_email,\n              'crunch_fitness_member': props.subscription.status === \"ACTIVE\",\n              'membership_plan': props.subscription.title,\n              'value': getTotalPriceAmount(props.subscription.active_price_id, props.subscription.prices, props.subscription.total_recurring_amount )\n            };\n            dataLayer.push(payloadCancelSubscription);\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: \"Unfortunately, we're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.\",\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onUnCancel = (): void => {\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/reactivate`, {\n            id: props.subscription.product_id\n          })\n          .then(() => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                cancel_at: null\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription has been un-cancelled\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Unfortunately, We're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onClose = (): void => {\n        showForm.value = null;\n      };\n\n      return {\n        srcSystem,\n        cancellationReasons,\n        canUpdate,\n        canCancel,\n        canUnCancel,\n        canPause,\n        modalTitle,\n        showForm,\n        showModal,\n        showTransactions,\n        toggleTransactions,\n        getActivePriceAmount,\n        getScheduledSubscriptionPriceAmount,\n        getTotalPriceAmount,\n        formatLongDate,\n        formatCurrency,\n        isFeatureActivated,\n        onPauseClick,\n        onUnPause,\n        onCancelClick,\n        onCancel,\n        onUnCancel,\n        onClose,\n        onUpdate\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div v-if=\"showTransactions === true\">\n    <div class=\"table-container\">\n      <table>\n        <thead>\n          <tr>\n            <th>Amount</th>\n            <th>Transaction Date</th>\n            <th>Transaction Type</th>\n            <th>Status</th>\n          </tr>\n        </thead>\n\n        <tbody>\n          <tr v-if=\"!hasTransactions\">\n            <td colspan=\"4\" class=\"text-center py-3\">No transaction history available</td>\n          </tr>\n          <tr v-else v-for=\"(transaction, i) in paginatedTransactions\"\n              :key=\"`transaction_${subscription.product_id}_${i}`\"\n          >\n            <td>{{ formatAmount(transaction.amount, transaction.total, transaction.tax, subscription.tax_percentage, transaction.discount) }}</td>\n            <td>{{ formatShortDate(transaction.txn_date) }}</td>\n            <td>{{ capitalize(transaction.type) }}</td>\n            <td :data-label=\"'Status'\" :class=\"statusClass(transaction.status)\">\n              {{capitalize(transaction.status) }}\n            </td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n    <div class=\"pagination\" v-if=\"totalPages > 1\">\n      <a @click=\"goToPrevPage\" :class=\"{ disabled: currentPage === 1 }\">Previous</a>\n      <span>Page {{ currentPage }} of {{ totalPages }}</span>\n      <a @click=\"goToNextPage\" :class=\"{ disabled: currentPage === totalPages }\">Next</a>\n    </div>\n  </div>\n</template>\n\n<style>\n  .table-container {\n  position: relative;\n  width: 100%;\n  overflow-x: auto;\n\n  table {\n    width: 100%;\n    border-collapse: collapse;\n    table-layout: auto;\n  }\n\n  th, td {\n    padding: 12px 16px;\n    text-align: center;\n    white-space: nowrap;\n  }\n\n  th:nth-child(1),\n  td:nth-child(1) {\n    text-align: center;\n  }\n\n  th:nth-child(2),\n  td:nth-child(2),\n  th:nth-child(3),\n  td:nth-child(3),\n  th:nth-child(4),\n  td:nth-child(4) {\n    width: 20%;\n  }\n\n  .status-success {\n    color: #2f855a;\n    font-weight: 600;\n  }\n\n  .status-failed {\n    color: #c53030;\n    font-weight: 600;\n  }\n}\n\n.pagination {\n    display: flex;\n    justify-content: flex-end;\n    align-items: center;\n    margin-top: 12px;\n    gap: 8px;\n  }\n\n  .pagination a {\n    cursor: pointer;\n    padding: 6px 12px;\n    border: 1px solid #ccc;\n    background-color: #f5f5f5;\n    border-radius: 4px;\n    text-decoration: none;\n    color: #333;\n\n    &.disabled {\n      pointer-events: none;\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n  }\n\n</style>\n<script lang=\"ts\">\n  import { Component, defineComponent } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import StringUtils from \"@/lib/StringUtils\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    data() {\n      return {\n        currentPage: 1,\n        perPage: 10, // number of transactions per page\n      };\n    },\n    components: {},\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showTransactions\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    computed: {\n      hasTransactions() {\n        return this.subscription.transactions && this.subscription.transactions.length > 0;\n      },\n      paginatedTransactions() {\n        if (!this.hasTransactions) return [];\n        const start = (this.currentPage - 1) * this.perPage;\n        const end = start + this.perPage;\n        return this.subscription.transactions.slice(start, end);\n      },\n      totalPages() {\n        if (!this.hasTransactions) return 0;\n        return Math.ceil(this.subscription.transactions.length / this.perPage);\n      }\n    },\n    methods: {\n      capitalize(status: string) {\n        return status.charAt(0).toUpperCase() + status.slice(1).toLowerCase();\n      },\n      statusClass(status: string) {\n        const normalized = status.toLowerCase();\n        return {\n          'status-success': normalized === 'succeeded',\n          'status-failed': normalized === 'failed'\n        };\n      },\n      goToPrevPage() {\n        if (this.currentPage > 1) {\n          this.currentPage--;\n        }\n      },\n      goToNextPage() {\n        if (this.currentPage < this.totalPages) {\n          this.currentPage++;\n        }\n      }\n    },\n    setup() {\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatShortDate = (date: string | dayjs.Dayjs): string => {\n        return dayjs(date).format('MM/DD/YYYY');\n      };\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      const formatTaxAmount = (amount: number, recurring_amount: number, has_initial_price: boolean, tax_percentage: string, discount: number, total_initial_price: number, sub_total_initial_price: number) => {\n        // Parse tax_percentage as a float\n        const parsedTaxPercentage = parseFloat(tax_percentage);\n\n        if (amount !== 0 && parsedTaxPercentage !== 0.0) {\n          if(has_initial_price){\n            if(discount) {\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} - $${formatCurrency(discount * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\n            } else{\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\n            }\n          } else {\n            const totalPrice = amount * (parsedTaxPercentage / 100) + amount;\n            return `$${formatCurrency(totalPrice)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\n          }\n        } else {\n          return `$${formatCurrency(amount)}`;\n        }\n      }\n\n      const formatAmount = (amount: number, total: number, tax: number, tax_percentage: string, discount: number) => {\n        // Parse tax_percentage as a float\n        const parsedTaxPercentage = parseFloat(tax_percentage);\n\n        if (amount !== 0) {\n          if (parsedTaxPercentage !== 0.0) {\n            if (discount) {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)} + ${parsedTaxPercentage}% Sale Tax)`;\n            } else {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\n            }\n          } else {\n            if (discount) {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)})`;\n            } else {\n              return `$${formatCurrency(total)}`;\n            }\n          }\n        } else {\n          return `$${formatCurrency(amount)}`;\n        }\n      }\n\n      return {\n        formatLongDate,\n        formatShortDate,\n        formatCurrency,\n        formatTaxAmount,\n        formatAmount\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, defineComponent } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import StringUtils from \"@/lib/StringUtils\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    data() {\n      return {\n        currentPage: 1,\n        perPage: 10, // number of transactions per page\n      };\n    },\n    components: {},\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showTransactions\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    computed: {\n      hasTransactions() {\n        return this.subscription.transactions && this.subscription.transactions.length > 0;\n      },\n      paginatedTransactions() {\n        if (!this.hasTransactions) return [];\n        const start = (this.currentPage - 1) * this.perPage;\n        const end = start + this.perPage;\n        return this.subscription.transactions.slice(start, end);\n      },\n      totalPages() {\n        if (!this.hasTransactions) return 0;\n        return Math.ceil(this.subscription.transactions.length / this.perPage);\n      }\n    },\n    methods: {\n      capitalize(status: string) {\n        return status.charAt(0).toUpperCase() + status.slice(1).toLowerCase();\n      },\n      statusClass(status: string) {\n        const normalized = status.toLowerCase();\n        return {\n          'status-success': normalized === 'succeeded',\n          'status-failed': normalized === 'failed'\n        };\n      },\n      goToPrevPage() {\n        if (this.currentPage > 1) {\n          this.currentPage--;\n        }\n      },\n      goToNextPage() {\n        if (this.currentPage < this.totalPages) {\n          this.currentPage++;\n        }\n      }\n    },\n    setup() {\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatShortDate = (date: string | dayjs.Dayjs): string => {\n        return dayjs(date).format('MM/DD/YYYY');\n      };\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      const formatTaxAmount = (amount: number, recurring_amount: number, has_initial_price: boolean, tax_percentage: string, discount: number, total_initial_price: number, sub_total_initial_price: number) => {\n        // Parse tax_percentage as a float\n        const parsedTaxPercentage = parseFloat(tax_percentage);\n\n        if (amount !== 0 && parsedTaxPercentage !== 0.0) {\n          if(has_initial_price){\n            if(discount) {\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} - $${formatCurrency(discount * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\n            } else{\n              return `$${formatCurrency(total_initial_price * 100)} ($${formatCurrency(sub_total_initial_price * 100)} + ${parsedTaxPercentage}% Sale Tax)`;\n            }\n          } else {\n            const totalPrice = amount * (parsedTaxPercentage / 100) + amount;\n            return `$${formatCurrency(totalPrice)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\n          }\n        } else {\n          return `$${formatCurrency(amount)}`;\n        }\n      }\n\n      const formatAmount = (amount: number, total: number, tax: number, tax_percentage: string, discount: number) => {\n        // Parse tax_percentage as a float\n        const parsedTaxPercentage = parseFloat(tax_percentage);\n\n        if (amount !== 0) {\n          if (parsedTaxPercentage !== 0.0) {\n            if (discount) {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)} + ${parsedTaxPercentage}% Sale Tax)`;\n            } else {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} + ${parsedTaxPercentage}% Sale Tax)`;\n            }\n          } else {\n            if (discount) {\n              return `$${formatCurrency(total)} ($${formatCurrency(amount)} - $${formatCurrency(discount)})`;\n            } else {\n              return `$${formatCurrency(total)}`;\n            }\n          }\n        } else {\n          return `$${formatCurrency(amount)}`;\n        }\n      }\n\n      return {\n        formatLongDate,\n        formatShortDate,\n        formatCurrency,\n        formatTaxAmount,\n        formatAmount\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n","import { render } from \"./Account_Subscriptions_ListItem_Transactions.vue?vue&type=template&id=2649459f&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions_ListItem_Transactions.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions_ListItem_Transactions.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions_ListItem_Transactions.vue?vue&type=style&index=0&lang=css\"\nimport \"./Account_Subscriptions_ListItem_Transactions.vue?vue&type=style&index=1&id=2649459f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2649459f\"\n\nexport default script","<template>\n  <h4>Update Pause Details</h4>\n\n  <div v-if=\"subscription.pause_count >= pauseLimit\">\n    We’re sorry, you can only pause a subscription a total of {{ pauseLimit }} times per year.\n  </div>\n\n  <form v-if=\"subscription.pause_count < pauseLimit\"\n        @submit=\"onPauseSubmit\"\n  >\n    <div class=\"row d-flex flex-column align-items-lg-end mb-3\">\n      <global_bootstrap-input-group id=\"pause_start\"\n                                    v-model:value=\"pauseAt\"\n                                    :min=\"pauseMinDate\"\n                                    :validation-rule=\"(pauseAt === null && pauseDuration === null) || (pauseAt !== null && pauseDuration !== null)\"\n                                    class=\"flex-column col-lg-5 mb-sm-3 mb-lg-0 align-self-start\"\n                                    label=\"Pause Start Date\"\n                                    placeholder=\"mm/dd/yyyy\"\n                                    required=\"required\"\n                                    type=\"date\"\n                                    validation-message=\"Pause start date is required. (mm/dd/yyyy)\"\n      >\n        <span class=\"icon\">\n          <svg fill=\"none\"\n               height=\"21\"\n               viewBox=\"0 0 18 21\"\n               width=\"18\"\n               xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <path d=\"M3.98438 9H9V14.0156H3.98438V9ZM15.9844 18V7.03125H2.01562V18H15.9844ZM15.9844 2.01562C16.5156 2.01562 16.9844 2.21875 17.3906 2.625C17.7969 3.03125 18 3.5 18 4.03125V18C18 18.5313 17.7969 19 17.3906 19.4062C16.9844 19.8125 16.5156 20.0156 15.9844 20.0156H2.01562C1.45312 20.0156 0.976564 19.8125 0.585938 19.4062C0.195311 19 0 18.5313 0 18V4.03125C0 3.5 0.195311 3.03125 0.585938 2.625C0.976564 2.21875 1.45312 2.01562 2.01562 2.01562H3V0H5.01562V2.01562H12.9844V0H15V2.01562H15.9844Z\"\n                  fill=\"#2F2F2F\"\n            />\n          </svg>\n        </span>\n      </global_bootstrap-input-group>\n\n      <global_bootstrap-select-group id=\"pause_duration\"\n                                     v-model:value=\"pauseDuration\"\n                                     :input-list=\"pauseDurationOptions\"\n                                     :validation-rule=\"(pauseAt === null && pauseDuration === null) || (pauseAt !== null && pauseDuration !== null)\"\n                                     class=\"flex-column col-lg-5 mb-sm-3 mb-lg-0 align-self-start\"\n                                     label=\"Pause Duration\"\n                                     name=\"pause_duration\"\n                                     required=\"required\"\n                                     validation-message=\"Pause duration is required.\"\n      >\n        <span class=\"icon\">\n          <svg fill=\"none\"\n               height=\"21\"\n               viewBox=\"0 0 18 21\"\n               width=\"18\"\n               xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <g clip-path=\"url(#clip0)\">\n              <path d=\"M15.9844 18V6.98438H2.01562V18H15.9844ZM15.9844 1.96875C16.5156 1.96875 16.9844 2.17187 17.3906 2.57812C17.7969 2.98438 18 3.45312 18 3.98438V18C18 18.5313 17.7969 18.9922 17.3906 19.3828C16.9844 19.7734 16.5156 19.9688 15.9844 19.9688H2.01562C1.45312 19.9688 0.976564 19.7734 0.585938 19.3828C0.195311 18.9922 0 18.5313 0 18V3.98438C0 3.45312 0.195311 2.98438 0.585938 2.57812C0.976564 2.17187 1.45312 1.96875 2.01562 1.96875H3V0H5.01562V1.96875H12.9844V0H15V1.96875H15.9844ZM14.0156 9V10.9688H12V9H14.0156ZM9.98438 9V10.9688H8.01562V9H9.98438ZM6 9V10.9688H3.98438V9H6Z\"\n                    fill=\"#2F2F2F\"\n              />\n            </g>\n            <defs>\n              <clipPath id=\"clip0\">\n                <rect fill=\"white\"\n                      height=\"19.9688\"\n                      width=\"18\"\n                />\n              </clipPath>\n            </defs>\n          </svg>\n        </span>\n      </global_bootstrap-select-group>\n\n      <div class=\"flex-column col-lg-2\">\n        <button class=\"btn btn-primary w-100\"\n                @click=\"onPauseSubmit\"\n        >\n          Save\n        </button>\n      </div>\n    </div>\n\n    <div>You have paused this subscription {{ subscription.pause_count }} out of {{ pauseLimit }} times this year.</div>\n  </form>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\n  import utc from \"dayjs/plugin/utc\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import Global_BootstrapInputGroup from \"@/components/global/Global_BootstrapInputGroup.vue\";\n  import Global_BootstrapSelectGroup from \"@/components/global/Global_BootstrapSelectGroup.vue\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input-group\": Global_BootstrapInputGroup,\n      \"global_bootstrap-select-group\": Global_BootstrapSelectGroup\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\"update:showModal\"],\n    setup(props, context) {\n      dayjs.extend(isSameOrAfter);\n      dayjs.extend(utc);\n\n      const store: Store<LooseObject> = useStore();\n\n      const maxPauseMonths = 3;\n      const pauseLimit = 3;\n\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatShortDate = (n: string | Dayjs): string => {\n        return new Time().formatShortDate(n);\n      };\n\n      const pauseMinDate: Ref = ref(formatShortDate(dayjs()));\n      const pauseAt: Ref = ref(typeof props.subscription.pause_at !== \"undefined\" ? formatShortDate(props.subscription.pause_at) : null);\n      const pauseDuration: Ref = ref(typeof props.subscription.pause_duration !== \"undefined\" ? props.subscription.pause_duration : null);\n      const pauseCount: Ref<number> = ref(props.subscription.pause_count);\n\n      const pauseDurationOptions: ComputedRef = computed(() => {\n        const months: Array<{ label: string; value: any }> = [];\n        for (let i = 1; i <= maxPauseMonths; i++) {\n          months.push({\n            label: `${i} month${i > 1 ? \"s\" : \"\"}`,\n            value: i * 30\n          });\n        }\n        return months;\n      }); \n\n      const onPauseSubmit = (e: Event): boolean => {\n        e.preventDefault();\n\n        const pauseAction: string = typeof props.subscription.pause_at === \"undefined\" || props.subscription.pause_at === null ? \"pause\" : \"edit_pause\";\n\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/${pauseAction}`, {\n            pause_at: dayjs(pauseAt.value)\n              .utc()\n              .format(),\n            pause_duration: pauseDuration.value\n          })\n          .then((response: AxiosResponse) => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                pause_count: pauseCount.value,\n                next_bill_date: response.data.next_bill_date,\n                status: dayjs()\n                  .isSameOrAfter(dayjs(pauseAt.value)) ? \"PAUSED\" : \"ACTIVE\",\n                pause_at: formatShortDate(pauseAt.value),\n                pause_duration: pauseDuration.value,\n                unpause_at: formatShortDate(dayjs(pauseAt.value)\n                  .add(pauseDuration.value, \"day\"))\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: `${pauseAction === \"pause\" ? \"Your subscription has been paused\" : \"Your subscription pause has been updated\"}`,\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Could not pause your subscription: ${error.response?.data.error}`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .finally(() => {\n            context.emit(\"update:showModal\", null);\n          });\n\n        return false;\n      };\n\n      return {\n        formatLongDate,\n        formatShortDate,\n        onPauseSubmit,\n        pauseLimit,\n        pauseMinDate,\n        pauseAt,\n        pauseDuration,\n        pauseDurationOptions\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div>\n    <label :for=\"id\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\">*</span>\n    </label>\n\n    <div class=\"input-group\">\n      <span class=\"input-group-text\">\n        <slot />\n      </span>\n      <input :id=\"id\"\n             v-model=\"inputValue\"\n             :class=\"{\n               'is-invalid': typeof validationRule !== 'undefined' && !validationRule\n             }\"\n             :disabled=\"disabled\"\n             :max=\"max\"\n             :maxlength=\"maxlength\"\n             :min=\"min\"\n             :name=\"name\"\n             :placeholder=\"placeholder\"\n             :required=\"required\"\n             :type=\"type\"\n             class=\"form-control\"\n             style=\"margin-bottom: 0\"\n      >\n    </div>\n    <div v-if=\"typeof validationRule !== 'undefined' && !validationRule\"\n         class=\"invalid-feedback d-block\"\n    >\n      {{ validationMessage }}\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapInputGroup: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"placeholder\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"addonValue\": {\n        type: String,\n        required: true\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapInputGroup;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapInputGroup: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"placeholder\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"addonValue\": {\n        type: String,\n        required: true\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapInputGroup;\n","import { render } from \"./Global_BootstrapInputGroup.vue?vue&type=template&id=8dd1db2e&scoped=true&bindings={}\"\nimport script from \"./Global_BootstrapInputGroup.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_BootstrapInputGroup.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_BootstrapInputGroup.vue?vue&type=style&index=0&id=8dd1db2e&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-8dd1db2e\"\n\nexport default script","<template>\n  <div>\n    <label :for=\"id\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\">*</span>\n    </label>\n\n    <div class=\"input-group\">\n      <span class=\"input-group-text\">\n        <slot />\n      </span>\n      <select :id=\"id\"\n              v-model=\"inputValue\"\n              :class=\"{\n                'is-invalid': typeof validationRule !== 'undefined' && !validationRule\n              }\"\n              :name=\"name\"\n              :required=\"required === 'required' ? 'required' : undefined\"\n              class=\"form-select form-select-md\"\n              style=\"margin-bottom: 0\"\n      >\n        <option :value=\"null\">\n          Please Select...\n        </option>\n        <option v-for=\"(item, index) in inputList\"\n                :key=\"name + index\"\n                :value=\"item.value\"\n        >\n          {{ item.label }}\n        </option>\n      </select>\n    </div>\n\n    <div v-if=\"typeof validationRule !== 'undefined' && !validationRule\"\n         class=\"invalid-feedback d-block\"\n    >\n      {{ validationMessage }}\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapSelectGroup: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      const isValid: ComputedRef = computed(() => {\n        return typeof props.validationRule !== \"undefined\" && !props.validationRule;\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        inputValue,\n        isValid\n      };\n    }\n  });\n\n  export default Global_BootstrapSelectGroup;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapSelectGroup: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      const isValid: ComputedRef = computed(() => {\n        return typeof props.validationRule !== \"undefined\" && !props.validationRule;\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        inputValue,\n        isValid\n      };\n    }\n  });\n\n  export default Global_BootstrapSelectGroup;\n","import { render } from \"./Global_BootstrapSelectGroup.vue?vue&type=template&id=442bc4f7&scoped=true&bindings={}\"\nimport script from \"./Global_BootstrapSelectGroup.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_BootstrapSelectGroup.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_BootstrapSelectGroup.vue?vue&type=style&index=0&id=442bc4f7&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-442bc4f7\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\n  import utc from \"dayjs/plugin/utc\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n  import Global_BootstrapInputGroup from \"@/components/global/Global_BootstrapInputGroup.vue\";\n  import Global_BootstrapSelectGroup from \"@/components/global/Global_BootstrapSelectGroup.vue\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-input-group\": Global_BootstrapInputGroup,\n      \"global_bootstrap-select-group\": Global_BootstrapSelectGroup\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Object,\n        required: true\n      }\n    },\n    emits: [\"update:showModal\"],\n    setup(props, context) {\n      dayjs.extend(isSameOrAfter);\n      dayjs.extend(utc);\n\n      const store: Store<LooseObject> = useStore();\n\n      const maxPauseMonths = 3;\n      const pauseLimit = 3;\n\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const formatShortDate = (n: string | Dayjs): string => {\n        return new Time().formatShortDate(n);\n      };\n\n      const pauseMinDate: Ref = ref(formatShortDate(dayjs()));\n      const pauseAt: Ref = ref(typeof props.subscription.pause_at !== \"undefined\" ? formatShortDate(props.subscription.pause_at) : null);\n      const pauseDuration: Ref = ref(typeof props.subscription.pause_duration !== \"undefined\" ? props.subscription.pause_duration : null);\n      const pauseCount: Ref<number> = ref(props.subscription.pause_count);\n\n      const pauseDurationOptions: ComputedRef = computed(() => {\n        const months: Array<{ label: string; value: any }> = [];\n        for (let i = 1; i <= maxPauseMonths; i++) {\n          months.push({\n            label: `${i} month${i > 1 ? \"s\" : \"\"}`,\n            value: i * 30\n          });\n        }\n        return months;\n      }); \n\n      const onPauseSubmit = (e: Event): boolean => {\n        e.preventDefault();\n\n        const pauseAction: string = typeof props.subscription.pause_at === \"undefined\" || props.subscription.pause_at === null ? \"pause\" : \"edit_pause\";\n\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/${pauseAction}`, {\n            pause_at: dayjs(pauseAt.value)\n              .utc()\n              .format(),\n            pause_duration: pauseDuration.value\n          })\n          .then((response: AxiosResponse) => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                pause_count: pauseCount.value,\n                next_bill_date: response.data.next_bill_date,\n                status: dayjs()\n                  .isSameOrAfter(dayjs(pauseAt.value)) ? \"PAUSED\" : \"ACTIVE\",\n                pause_at: formatShortDate(pauseAt.value),\n                pause_duration: pauseDuration.value,\n                unpause_at: formatShortDate(dayjs(pauseAt.value)\n                  .add(pauseDuration.value, \"day\"))\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: `${pauseAction === \"pause\" ? \"Your subscription has been paused\" : \"Your subscription pause has been updated\"}`,\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Could not pause your subscription: ${error.response?.data.error}`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .finally(() => {\n            context.emit(\"update:showModal\", null);\n          });\n\n        return false;\n      };\n\n      return {\n        formatLongDate,\n        formatShortDate,\n        onPauseSubmit,\n        pauseLimit,\n        pauseMinDate,\n        pauseAt,\n        pauseDuration,\n        pauseDurationOptions\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n","import { render } from \"./Account_Subscriptions_ListItem_PauseForm.vue?vue&type=template&id=711546b3&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions_ListItem_PauseForm.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions_ListItem_PauseForm.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions_ListItem_PauseForm.vue?vue&type=style&index=0&id=711546b3&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-711546b3\"\n\nexport default script","<template>\n  <form @submit=\"onSubmit\">\n    <div v-if=\"screen === 1\"\n         class=\"row d-flex flex-column\"\n    >\n      <p>\n        Please answer the questions below to continue your cancellation request for\n        <strong>{{ subscription.title }}</strong>\n      </p>\n\n      <!-- Primary Reason -->\n      <global_bootstrap-select :id=\"primaryReasonField\"\n                               v-model:value=\"primaryReason\"\n                               :input-list=\"primaryReasonOptions\"\n                               :label=\"primaryReasonLabel\"\n                               :name=\"primaryReasonField\"\n                               :validation-rule=\"primaryReason !== null\"\n                               class=\"flex-column col-12 mb-sm-3\"\n                               required=\"required\"\n                               validation-message=\"You must choose an option\"\n      />\n\n      <!-- Resubscribe -->\n      <global_bootstrap-select :id=\"resubscribeField\"\n                               v-model:value=\"resubscribe\"\n                               :input-list=\"resubscribeOptions\"\n                               :label=\"resubscribeLabel\"\n                               :name=\"resubscribeField\"\n                               :validation-rule=\"resubscribe !== null\"\n                               class=\"flex-column col-12 mb-sm-3\"\n                               required=\"required\"\n                               validation-message=\"You must choose an option\"\n      />\n\n      <!-- Viewing Location -->\n      <global_bootstrap-select :id=\"viewingLocationField\"\n                               v-model:value=\"viewingLocation\"\n                               :input-list=\"viewingLocationOptions\"\n                               :label=\"viewingLocationLabel\"\n                               :name=\"viewingLocationField\"\n                               :validation-rule=\"viewingLocation !== null\"\n                               class=\"flex-column col-12 mb-sm-3\"\n                               required=\"required\"\n                               validation-message=\"You must choose an option\"\n      />\n\n      <!-- Suggested Improvements -->\n      <global_bootstrap-textarea :id=\"suggestedImprovementsField\"\n                                 v-model:value=\"suggestedImprovements\"\n                                 :label=\"suggestedImprovementsLabel\"\n                                 :name=\"suggestedImprovementsField\"\n                                 class=\"flex-column col-12 mb-sm-3\"\n                                 rows=\"3\"\n      />\n\n      <div class=\"flex-column col-12\">\n        <button v-if=\"canPause\" :disabled=\"viewingLocation === null || resubscribe === null || primaryReason === null\"\n                class=\"btn btn-primary\"\n                type=\"button\"\n                @click=\"onContinue\"\n        >\n          Continue\n        </button>\n        <button v-if=\"!canPause\" :disabled=\"viewingLocation === null || resubscribe === null || primaryReason === null\"\n                class=\"btn btn-primary\"\n                type=\"button\"\n                @click=\"onCancelClick\"\n        >\n          Cancel Subscription\n        </button>        \n      </div>\n    </div>\n\n    <div v-if=\"screen === 2\"\n         class=\"row d-flex flex-column justify-content-center\"\n    >\n      <div class=\"flex-column col-12 mb-3\">\n        <h2>Before you go!</h2>\n        <p>\n          Whether you need a different plan or need to take a break, you have additional subscription management options\n          below that might interest you.\n        </p>\n      </div>\n      <!--\n      <div class=\"flex-column col-lg-6 mb-3\">\n        <div class=\"card\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              Change Plan\n            </h3>\n          </div>\n          <div class=\"card-body\">\n            <p>Select a different plan that better suits your needs.</p>\n            <button class=\"btn btn-secondary w-100\"\n                    type=\"button\"\n                    v-on:click=\"onChange\">I want to change plans\n            </button>\n          </div>\n        </div>\n      </div>\n      -->\n\n      <div class=\"flex-column col-lg-6 mb-3\">\n        <div class=\"card\">\n          <div class=\"card-header\">\n            <h3 class=\"fs-5 m-0\">\n              Pause Subscription\n            </h3>\n          </div>\n          <div class=\"card-body\">\n            <p>Pause your subscription and come back when you’re ready.</p>\n            <button class=\"btn btn-secondary w-100\"\n                    type=\"button\"\n                    @click=\"onPauseClick\"\n            >\n              I want to pause\n            </button>\n          </div>\n        </div>\n      </div>\n\n      <div class=\"flex-column col-12 text-center\">\n        <button class=\"btn btn-link\"\n                type=\"button\"\n                @click=\"onCancelClick\"\n        >\n          No thanks, I want to cancel\n        </button>\n      </div>\n    </div>\n  </form>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import Global_BootstrapTextarea from \"@/components/global/Global_BootstrapTextarea.vue\";\n\n  const Account_Subscriptions_CancellationQuestionsForm: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-select\": Global_BootstrapSelect,\n      \"global_bootstrap-textarea\": Global_BootstrapTextarea\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Boolean,\n        required: true\n      },\n      \"canPause\": {\n        type: Boolean,\n        required: true\n      },\n      \"modalTitle\": {\n        type: String,\n        required: true\n      },\n      \"onPause\": {\n        type: Function,\n        required: true\n      },\n      \"onUpdate\": {\n        type: Function,\n        required: true\n      },\n      \"onCancel\": {\n        type: Function,\n        required: true\n      },\n      \"cancellationReasons\": {\n        type: Array,\n        required: true\n      }\n    },\n    emits: [\n      \"update:cancellation-reasons\",\n      \"update:show-modal\"\n    ],\n    setup(props, context) {\n      const screen: Ref = ref(1);\n      const show_cancellation_questions = document.getElementById(\"show_cq\").value;\n\n      if(show_cancellation_questions === \"false\") {\n        screen.value = 2;\n      }\n\n      // Primary Cancellation Reason\n      const primaryReasonLabel: Ref = ref(\"What is your primary reason for cancelling?\");\n      const primaryReasonField: Ref = ref(\"primary_reason\");\n      const primaryReason: Ref = ref(null);\n      const primaryReasonOptions: Ref = ref([\n        {\n          label: \"Lack of Content Overall\",\n          value: \"Lack of Content Overall\"\n        },\n        {\n          label: \"Poor Quality Content\",\n          value: \"Poor Quality Content\"\n        },\n        {\n          label: \"Lack of New Content\",\n          value: \"Lack of New Content\"\n        },\n        {\n          label: \"Buffering Issues / Poor Video Performance\",\n          value: \"Buffering Issues / Poor Video Performance\"\n        },\n        {\n          label: \"Didn't Like the Navigation and/or Layout\",\n          value: \"Didn't Like the Navigation and/or Layout\"\n        },\n        {\n          label: \"No Time\",\n          value: \"No Time\"\n        },\n        {\n          label: \"Too Expensive\",\n          value: \"Too Expensive\"\n        }\n      ]);\n\n      // Suggested Improvements\n      const suggestedImprovementsLabel: Ref = ref(\"What could we do to improve our subscription?\");\n      const suggestedImprovementsField: Ref = ref(\"suggested_improvements\");\n      const suggestedImprovements: Ref = ref(null);\n\n      // Resubscribe\n      const resubscribeLabel: Ref = ref(\"If we continued to improve our subscription, would you consider re-subscribing?\");\n      const resubscribeField: Ref = ref(\"resubscribe\");\n      const resubscribe: Ref = ref(null);\n      const resubscribeOptions: Ref = ref([\n        {\n          label: \"Yes\",\n          value: \"Yes\"\n        },\n        {\n          label: \"No\",\n          value: \"No\"\n        }\n      ]);\n\n      // Primary Viewing Location\n      const viewingLocationLabel: Ref = ref(\"Where do you normally watch these videos?\");\n      const viewingLocationField: Ref = ref(\"viewing_location\");\n      const viewingLocation: Ref = ref(null);\n      const viewingLocationOptions: Ref = ref([\n        {\n          label: \"At Home\",\n          value: \"At Home\"\n        },\n        {\n          label: \"While Traveling\",\n          value: \"While Traveling\"\n        },\n        {\n          label: \"In Studio/Gym\",\n          value: \"In Studio/Gym\"\n        },\n        {\n          label: \"Outdoors\",\n          value: \"Outdoors\"\n        }\n      ]);\n\n      const onSubmit = (e): void => {\n        e.preventDefault();\n      };\n\n      const onContinue = (): void => {\n        screen.value = 2;\n      };\n\n      const onChangeClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        props.onUpdate();\n      };\n\n      const onPauseClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        props.onPause();\n      };\n\n      const onCancelClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        context.emit(\"update:cancellation-reasons\", [\n          {\n            field_name: primaryReasonField.value,\n            label: primaryReasonLabel.value,\n            value: primaryReason.value\n          },\n          {\n            field_name: suggestedImprovementsField.value,\n            label: suggestedImprovementsLabel.value,\n            value: suggestedImprovements.value\n          },\n          {\n            field_name: resubscribeField.value,\n            label: resubscribeLabel.value,\n            value: resubscribe.value\n          },\n          {\n            field_name: viewingLocationField.value,\n            label: viewingLocationLabel.value,\n            value: viewingLocation.value\n          }\n        ]);\n        props.onCancel();\n      };\n\n      if(show_cancellation_questions === \"false\" && !props.canPause) {\n        screen.value = 0;\n        onCancelClick();\n      }\n      \n      return {\n        screen,\n\n        primaryReason,\n        primaryReasonField,\n        primaryReasonLabel,\n        primaryReasonOptions,\n\n        suggestedImprovements,\n        suggestedImprovementsField,\n        suggestedImprovementsLabel,\n\n        resubscribe,\n        resubscribeField,\n        resubscribeLabel,\n        resubscribeOptions,\n\n        viewingLocation,\n        viewingLocationField,\n        viewingLocationLabel,\n        viewingLocationOptions,\n\n        onSubmit,\n        onContinue,\n        onChangeClick,\n        onPauseClick,\n        onCancelClick\n      };\n    }\n  });\n\n  export default Account_Subscriptions_CancellationQuestionsForm;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div>\n    <label :for=\"id\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\">*</span>\n    </label>\n\n    <textarea :id=\"id\"\n              v-model=\"inputValue\"\n              :class=\"{\n                'is-invalid': typeof validationRule !== 'undefined' && !validationRule\n              }\"\n              :disabled=\"disabled\"\n              :maxlength=\"maxlength\"\n              :name=\"name\"\n              :required=\"required\"\n              :rows=\"rows\"\n              class=\"form-control\"\n    />\n\n    <div v-if=\"typeof validationRule !== 'undefined' && !validationRule\"\n         class=\"invalid-feedback d-block\"\n    >\n      {{ validationMessage }}\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapTextarea: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"rows\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<string> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapTextarea;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_BootstrapTextarea: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"value\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"maxlength\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"rows\": {\n        type: Number,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationRule\": {\n        type: Boolean,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: Array,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:value\"],\n    setup(props, context) {\n      const inputValue: WritableComputedRef<string> = computed({\n        get: () => {\n          return props.value;\n        },\n        set: (n) => {\n          context.emit(\"update:value\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n      return {\n        inputValue\n      };\n    }\n  });\n\n  export default Global_BootstrapTextarea;\n","import { render } from \"./Global_BootstrapTextarea.vue?vue&type=template&id=6897cd9a&scoped=true&bindings={}\"\nimport script from \"./Global_BootstrapTextarea.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_BootstrapTextarea.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_BootstrapTextarea.vue?vue&type=style&index=0&id=6897cd9a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6897cd9a\"\n\nexport default script","\n  import { Component, defineComponent, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Global_BootstrapSelect from \"@/components/global/Global_BootstrapSelect.vue\";\n  import Global_BootstrapTextarea from \"@/components/global/Global_BootstrapTextarea.vue\";\n\n  const Account_Subscriptions_CancellationQuestionsForm: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_bootstrap-select\": Global_BootstrapSelect,\n      \"global_bootstrap-textarea\": Global_BootstrapTextarea\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Boolean,\n        required: true\n      },\n      \"canPause\": {\n        type: Boolean,\n        required: true\n      },\n      \"modalTitle\": {\n        type: String,\n        required: true\n      },\n      \"onPause\": {\n        type: Function,\n        required: true\n      },\n      \"onUpdate\": {\n        type: Function,\n        required: true\n      },\n      \"onCancel\": {\n        type: Function,\n        required: true\n      },\n      \"cancellationReasons\": {\n        type: Array,\n        required: true\n      }\n    },\n    emits: [\n      \"update:cancellation-reasons\",\n      \"update:show-modal\"\n    ],\n    setup(props, context) {\n      const screen: Ref = ref(1);\n      const show_cancellation_questions = document.getElementById(\"show_cq\").value;\n\n      if(show_cancellation_questions === \"false\") {\n        screen.value = 2;\n      }\n\n      // Primary Cancellation Reason\n      const primaryReasonLabel: Ref = ref(\"What is your primary reason for cancelling?\");\n      const primaryReasonField: Ref = ref(\"primary_reason\");\n      const primaryReason: Ref = ref(null);\n      const primaryReasonOptions: Ref = ref([\n        {\n          label: \"Lack of Content Overall\",\n          value: \"Lack of Content Overall\"\n        },\n        {\n          label: \"Poor Quality Content\",\n          value: \"Poor Quality Content\"\n        },\n        {\n          label: \"Lack of New Content\",\n          value: \"Lack of New Content\"\n        },\n        {\n          label: \"Buffering Issues / Poor Video Performance\",\n          value: \"Buffering Issues / Poor Video Performance\"\n        },\n        {\n          label: \"Didn't Like the Navigation and/or Layout\",\n          value: \"Didn't Like the Navigation and/or Layout\"\n        },\n        {\n          label: \"No Time\",\n          value: \"No Time\"\n        },\n        {\n          label: \"Too Expensive\",\n          value: \"Too Expensive\"\n        }\n      ]);\n\n      // Suggested Improvements\n      const suggestedImprovementsLabel: Ref = ref(\"What could we do to improve our subscription?\");\n      const suggestedImprovementsField: Ref = ref(\"suggested_improvements\");\n      const suggestedImprovements: Ref = ref(null);\n\n      // Resubscribe\n      const resubscribeLabel: Ref = ref(\"If we continued to improve our subscription, would you consider re-subscribing?\");\n      const resubscribeField: Ref = ref(\"resubscribe\");\n      const resubscribe: Ref = ref(null);\n      const resubscribeOptions: Ref = ref([\n        {\n          label: \"Yes\",\n          value: \"Yes\"\n        },\n        {\n          label: \"No\",\n          value: \"No\"\n        }\n      ]);\n\n      // Primary Viewing Location\n      const viewingLocationLabel: Ref = ref(\"Where do you normally watch these videos?\");\n      const viewingLocationField: Ref = ref(\"viewing_location\");\n      const viewingLocation: Ref = ref(null);\n      const viewingLocationOptions: Ref = ref([\n        {\n          label: \"At Home\",\n          value: \"At Home\"\n        },\n        {\n          label: \"While Traveling\",\n          value: \"While Traveling\"\n        },\n        {\n          label: \"In Studio/Gym\",\n          value: \"In Studio/Gym\"\n        },\n        {\n          label: \"Outdoors\",\n          value: \"Outdoors\"\n        }\n      ]);\n\n      const onSubmit = (e): void => {\n        e.preventDefault();\n      };\n\n      const onContinue = (): void => {\n        screen.value = 2;\n      };\n\n      const onChangeClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        props.onUpdate();\n      };\n\n      const onPauseClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        props.onPause();\n      };\n\n      const onCancelClick = (): void => {\n        screen.value = 1;\n        context.emit(\"update:show-modal\", null);\n        context.emit(\"update:cancellation-reasons\", [\n          {\n            field_name: primaryReasonField.value,\n            label: primaryReasonLabel.value,\n            value: primaryReason.value\n          },\n          {\n            field_name: suggestedImprovementsField.value,\n            label: suggestedImprovementsLabel.value,\n            value: suggestedImprovements.value\n          },\n          {\n            field_name: resubscribeField.value,\n            label: resubscribeLabel.value,\n            value: resubscribe.value\n          },\n          {\n            field_name: viewingLocationField.value,\n            label: viewingLocationLabel.value,\n            value: viewingLocation.value\n          }\n        ]);\n        props.onCancel();\n      };\n\n      if(show_cancellation_questions === \"false\" && !props.canPause) {\n        screen.value = 0;\n        onCancelClick();\n      }\n      \n      return {\n        screen,\n\n        primaryReason,\n        primaryReasonField,\n        primaryReasonLabel,\n        primaryReasonOptions,\n\n        suggestedImprovements,\n        suggestedImprovementsField,\n        suggestedImprovementsLabel,\n\n        resubscribe,\n        resubscribeField,\n        resubscribeLabel,\n        resubscribeOptions,\n\n        viewingLocation,\n        viewingLocationField,\n        viewingLocationLabel,\n        viewingLocationOptions,\n\n        onSubmit,\n        onContinue,\n        onChangeClick,\n        onPauseClick,\n        onCancelClick\n      };\n    }\n  });\n\n  export default Account_Subscriptions_CancellationQuestionsForm;\n","import { render } from \"./Account_Subscriptions_CancellationQuestionsForm.vue?vue&type=template&id=5cfba55f&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions_CancellationQuestionsForm.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions_CancellationQuestionsForm.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions_CancellationQuestionsForm.vue?vue&type=style&index=0&id=5cfba55f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5cfba55f\"\n\nexport default script","<template>\n  <div>\n    <p v-if=\"srcSystem === 'apple'\">\n      We're sorry to see you go. Since you originally signed up with {{ clientName }} via Apple, you can to manage your\n      subscription via the App Store. Visit the link below for instructions.\n    </p>\n    <p v-if=\"srcSystem === 'apple'\">\n      <a href=\"https://support.crunchplus.com/hc/en-us/articles/360018224873\"\n         rel=\"noreferrer\"\n         target=\"_blank\"\n      >Canceling a Subscription via iTunes\n      </a>\n    </p>\n\n    <p v-if=\"srcSystem === 'roku'\">\n      We're sorry to see you go. Since you originally signed up with {{ clientName }} via Roku, you can manage your\n      subscription via your Roku device. Visit the link below for instructions.\n    </p>\n\n    <p v-if=\"srcSystem === 'roku'\">\n      <a href=\"https://support.crunchplus.com/hc/en-us/articles/360018073614-Cancel-Subscription-on-Roku-Device\"\n         rel=\"noreferrer\"\n         target=\"_blank\"\n      >Canceling a Subscription via Roku\n      </a>\n    </p>\n\n    <p v-if=\"srcSystem === 'pos'\">\n      Your access on this site is currently managed by your studio, club, or general membership. Please contact them\n      directly to make any updates to your subscription.\n    </p>\n\n    <p v-if=\"srcSystem !== 'apple' && srcSystem !== 'roku' && srcSystem !== 'pos'\">\n      We're sorry to see you go. Please contact\n      <a :href=\"`mailto:${customerSupportEmail}`\"\n         rel=\"noreferrer\"\n      >{{ clientName }}\n      </a>\n      to manage your subscription.\n    </p>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Store, useStore } from \"vuex\";\n\n  const Account_Subscriptions_CancellatioOtherSrcSystem: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"srcSystem\": {\n        type: String,\n        required: true\n      },\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Boolean,\n        required: true\n      },\n      \"modalTitle\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const clientEmail: Ref<string> = ref(store.state.account.client_email);\n      const supportEmail: Ref<string> = ref(store.state.account.support_email);\n      const clientName: Ref<string> = ref(store.state.account.name);\n\n      const customerSupportEmail: ComputedRef = computed(() => {\n        switch (props.srcSystem) {\n          case \"std-jwt\":\n          case \"batch-csv\":\n            return clientEmail.value;\n          default:\n            return supportEmail.value;\n        }\n      });\n\n      return {\n        clientName,\n        customerSupportEmail\n      };\n    }\n  });\n\n  export default Account_Subscriptions_CancellatioOtherSrcSystem;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Store, useStore } from \"vuex\";\n\n  const Account_Subscriptions_CancellatioOtherSrcSystem: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"srcSystem\": {\n        type: String,\n        required: true\n      },\n      \"subscription\": {\n        type: Object,\n        required: true\n      },\n      \"showModal\": {\n        type: Boolean,\n        required: true\n      },\n      \"modalTitle\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const clientEmail: Ref<string> = ref(store.state.account.client_email);\n      const supportEmail: Ref<string> = ref(store.state.account.support_email);\n      const clientName: Ref<string> = ref(store.state.account.name);\n\n      const customerSupportEmail: ComputedRef = computed(() => {\n        switch (props.srcSystem) {\n          case \"std-jwt\":\n          case \"batch-csv\":\n            return clientEmail.value;\n          default:\n            return supportEmail.value;\n        }\n      });\n\n      return {\n        clientName,\n        customerSupportEmail\n      };\n    }\n  });\n\n  export default Account_Subscriptions_CancellatioOtherSrcSystem;\n","import { render } from \"./Account_Subscriptions_CancellationOtherSrcSystem.vue?vue&type=template&id=2f092336&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions_CancellationOtherSrcSystem.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions_CancellationOtherSrcSystem.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions_CancellationOtherSrcSystem.vue?vue&type=style&index=0&id=2f092336&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2f092336\"\n\nexport default script","<template>\n  <div :class=\"{ show: showModal }\"\n       class=\"modal\"\n  >\n    <div class=\"modal-dialog modal-dialog-centered modal-lg modal-dialog-scrollable\">\n      <div class=\"modal-content\">\n        <div class=\"modal-header\">\n          <h5 class=\"modal-title\">\n            {{ modalTitle }}\n          </h5>\n          <button class=\"btn-close\"\n                  type=\"button\"\n                  @click=\"onClose\"\n          />\n        </div>\n\n        <div class=\"modal-body\">\n          <slot />\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Modal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"showModal\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"modalTitle\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:show-modal\"],\n    setup(props, context) {\n      const onClose = (): void => {\n        context.emit(\"update:show-modal\", null);\n      };\n\n      return {\n        onClose\n      };\n    }\n  });\n\n  export default Global_Modal;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, defineComponent } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Modal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"showModal\": {\n        type: Boolean,\n        required: false,\n        default: false\n      },\n      \"modalTitle\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:show-modal\"],\n    setup(props, context) {\n      const onClose = (): void => {\n        context.emit(\"update:show-modal\", null);\n      };\n\n      return {\n        onClose\n      };\n    }\n  });\n\n  export default Global_Modal;\n","import { render } from \"./Global_Modal.vue?vue&type=template&id=0f4ddb7b&scoped=true&bindings={}\"\nimport script from \"./Global_Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_Modal.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_Modal.vue?vue&type=style&index=0&id=0f4ddb7b&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-0f4ddb7b\"\n\nexport default script","// gtag names constant. Remaining are in config/application.yml\nexport const LIVESTREAM_OPT_IN_EVENT = 'livestream_opt_in';\nexport const CANCEL_SUBSCRIPTION_EVENT = 'cancel_subscription';\nexport const LIVESTREAM_CALENDAR_EVENT = 'livestream_calendar_event';\nexport const RATE_VIDEO_EVENT = 'rate_video';","\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosError, AxiosResponse } from \"axios\";\n\n  import Time from \"@/lib/Time\";\n  import StringUtils from \"@/lib/StringUtils\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Feature from \"@/interfaces/Feature\";\n\n  import Account_Subscriptions_ListItem_Transactions from \"@/components/subscriber/account/Account_Subscriptions_ListItem_Transactions.vue\";\n  import Account_Subscriptions_ListItem_pauseForm from \"@/components/subscriber/account/Account_Subscriptions_ListItem_PauseForm.vue\";\n  import Account_Subscriptions_CancellationQuestionsForm from \"@/components/subscriber/account/Account_Subscriptions_CancellationQuestionsForm.vue\";\n  import Account_Subscriptions_CancellationOtherSrcSystem from \"@/components/subscriber/account/Account_Subscriptions_CancellationOtherSrcSystem.vue\";\n  import Global_Modal from \"@/components/global/Global_Modal.vue\";\n  import { CANCEL_SUBSCRIPTION_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Account_Subscriptions_ListItem: Component<LooseObject> = defineComponent({\n    components: {\n      \"account_subscriptions_list-item_transactions\": Account_Subscriptions_ListItem_Transactions,\n      \"account_subscriptions_list-item_pause-form\": Account_Subscriptions_ListItem_pauseForm,\n      \"account_subscriptions_cancellation-questions-form\": Account_Subscriptions_CancellationQuestionsForm,\n      \"account_subscriptions_cancellation-other-src-system\": Account_Subscriptions_CancellationOtherSrcSystem,\n      \"global_modal\": Global_Modal\n    },\n    props: {\n      \"subscription\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const showForm: Ref<string | null> = ref(null);\n      const showModal: Ref<string | null> = ref(null);\n      const modalTitle: Ref<string | null> = ref(null);\n      const cancellationReasons: Ref = ref([]);\n      const showTransactions: Ref<boolean> = ref(false);\n      const srcSystem: Ref<string> = ref(props.subscription.src_system);\n\n      // Show/Hide transactions\n      const toggleTransactions = (): void => {\n        showTransactions.value = !showTransactions.value;\n      };\n\n      // Feature Activation Check\n      const isFeatureActivated = (n: string): boolean => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === n;\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      };\n\n      // Check for ability to update\n      const canUpdate: ComputedRef = computed(() => {\n        return false;\n      });\n\n      // Check for ability to pause\n      const canPause: ComputedRef = computed(() => {\n        return (\n          isFeatureActivated(\"pause\") &&\n          props.subscription.status !== \"PAUSED\" &&\n          props.subscription.type === \"Subscription\" &&\n          (srcSystem.value.toLowerCase() === \"stripe\" || srcSystem.value.toLowerCase() === \"authorize.net\") &&\n          (props.subscription.current_state === \"SUBSCRIBING\" || props.subscription.current_state === \"PROMOING\")\n        );\n      });\n\n      // Check for ability to cancel\n      const canCancel: ComputedRef = computed(() => {\n        return !props.subscription.cancel_at;\n      });\n\n      // Check for ability to un-cancel\n      const canUnCancel: ComputedRef = computed(() => {\n        return (props.subscription.cancel_at && props.subscription.status === \"ACTIVE\");\n      });\n\n      // Long date formatting\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      // Currency formatting\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n\n      // Return active pricing plan for subscription\n      const getTotalPriceAmount = (active_price_id: number, prices: Array<ProductPrice>, total_recurring_amount: number): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\") {\n          return formatCurrency(total_recurring_amount * 100);\n        } else {\n          return null;\n        }\n      };\n\n      const getActivePriceAmount = (active_price_id: number, prices: Array<ProductPrice>, tax_percentage: string, discount: number): string | null => {\n        let price: ProductPrice | undefined = prices.find((p: ProductPrice) => {\n          return p.price_id === active_price_id;\n        });\n\n        if (typeof price !== \"undefined\" && price?.recurring_amount !== 0 && tax_percentage !== '0.0') {\n          if(discount > 0){\n            return `($${formatCurrency(price.recurring_amount)} - $${discount} Discount + ${tax_percentage}% Sales Tax)`;\n          } else{\n            return `($${formatCurrency(price.recurring_amount)} + ${tax_percentage}% Sales Tax)`;\n          }\n        } else {\n          return null;\n        }\n      };\n\n      const getScheduledSubscriptionPriceAmount = (recurring_amount: number, tax_percentage: string, discount: number): string | null => {\n        if (recurring_amount !== 0 && tax_percentage !== '0.0') {\n          if(discount > 0){\n            return `($${formatCurrency(recurring_amount)} - $${discount} Discount + ${tax_percentage}% Sales Tax)`;\n          } else{\n            return `($${formatCurrency(recurring_amount)} + ${tax_percentage}% Sales Tax)`;\n          }\n        } else {\n          return null;\n        }\n      };\n\n      const onUpdate = (): void => {\n        showForm.value = \"update\";\n      };\n\n      const onPauseClick = (): void => {\n        if (typeof props.subscription.cancel_at === \"undefined\" || props.subscription.cancel_at === null) {\n          showForm.value = \"pause\";\n        } else {\n          showForm.value = \"pause-cancel\";\n        }\n      };\n\n      const onUnPause = (): void => {\n        const pauseAction: string = props.subscription.status === \"PAUSED\" ? \"unpause\" : \"cancel_pause\";\n\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/${pauseAction}`)\n          .then(() => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                pause_at: null,\n                pause_duration: null,\n                unpause_at: null,\n                current_state: \"SUBSCRIBING\",\n                status: \"ACTIVE\"\n              }\n            });\n            store.dispatch(\"getUserSubscriptions\");\n            showForm.value = null;\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription has been unpaused.\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Unfortunately, We're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onCancelClick = (): void => {\n        const show_cancellation_questions = document.getElementById(\"show_cq\").value;\n\n        if (srcSystem.value.toLowerCase() === \"stripe\" || srcSystem.value.toLowerCase() === \"authorize.net\" || ((srcSystem.value.toLowerCase() === \"pos\") && props.subscription.scheduled_subscription) ) {\n          // Stripe or Authorize.net\n          if (props.subscription.status === \"ACTIVE\" && (props.subscription.pause_at === null || typeof props.subscription.pause_at === \"undefined\")) {\n            showModal.value = \"cancel\";\n            modalTitle.value = \"Cancel Subscription\";\n          } else {\n            if(isFeatureActivated(\"pause\") === false) {\n              console.log(\"pause not enabled, direct to cancel\");\n              onCancel();\n            }\n            else {\n              console.log(\"pause enabled, direct to pause\");\n              showForm.value = \"pause-cancel\";\n            }\n          }\n        } else {\n          // Everything Else\n          showModal.value = \"cancelOtherSrcSystem\";\n          modalTitle.value = \"Cancel Subscription\";\n        }\n      };\n\n      const onCancel = (): void => {\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/cancel`, {\n            reason_response_data: cancellationReasons.value,\n            id: props.subscription.product_id\n          })\n          .then((response: AxiosResponse) => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                cancel_at: response.data.cancel_at,\n                end_at: response.data.cancel_at\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription cancellation request has been received.\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n            const payloadCancelSubscription = {\n              'event': CANCEL_SUBSCRIPTION_EVENT,\n              'user_id': user.value.encrypted_user_email,\n              'crunch_fitness_member': props.subscription.status === \"ACTIVE\",\n              'membership_plan': props.subscription.title,\n              'value': getTotalPriceAmount(props.subscription.active_price_id, props.subscription.prices, props.subscription.total_recurring_amount )\n            };\n            dataLayer.push(payloadCancelSubscription);\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: \"Unfortunately, we're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.\",\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onUnCancel = (): void => {\n        axios\n          .post(`/api/apps/v3/subscriptions/${props.subscription.product_id}/reactivate`, {\n            id: props.subscription.product_id\n          })\n          .then(() => {\n            store.commit(\"updateUserSubscriptionById\", {\n              id: props.subscription.product_id,\n              data: {\n                cancel_at: null\n              }\n            });\n\n            store.commit(\"toast/addToast\", {\n              message: \"Your subscription has been un-cancelled\",\n              type: \"success\",\n              viewed: false,\n              delay: 5000\n            });\n          })\n          .catch((error: AxiosError) => {\n            store.commit(\"toast/addToast\", {\n              message: `Unfortunately, We're unable to cancel your subscription. Kindly contact our customer support crunchplus@crunch.com.`,\n              type: \"danger\",\n              viewed: false,\n              delay: 5000\n            });\n          });\n      };\n\n      const onClose = (): void => {\n        showForm.value = null;\n      };\n\n      return {\n        srcSystem,\n        cancellationReasons,\n        canUpdate,\n        canCancel,\n        canUnCancel,\n        canPause,\n        modalTitle,\n        showForm,\n        showModal,\n        showTransactions,\n        toggleTransactions,\n        getActivePriceAmount,\n        getScheduledSubscriptionPriceAmount,\n        getTotalPriceAmount,\n        formatLongDate,\n        formatCurrency,\n        isFeatureActivated,\n        onPauseClick,\n        onUnPause,\n        onCancelClick,\n        onCancel,\n        onUnCancel,\n        onClose,\n        onUpdate\n      };\n    }\n  });\n\n  export default Account_Subscriptions_ListItem;\n","import { render } from \"./Account_Subscriptions_ListItem.vue?vue&type=template&id=501c11e6&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions_ListItem.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions_ListItem.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions_ListItem.vue?vue&type=style&index=0&id=501c11e6&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-501c11e6\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Subscription from \"@/interfaces/Subscription\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Account_Subscriptions_ListItem from \"@/components/subscriber/account/Account_Subscriptions_ListItem.vue\";\n\n  const Account_Subscriptions: Component<LooseObject> = defineComponent({\n    components: {\n      \"account_subscriptions_list-item\": Account_Subscriptions_ListItem\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const getSubscriptionsByStatus = (status: string): Array<Subscription> => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === status;\n        });\n      };\n\n      const activeSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"ACTIVE\");\n      });\n\n      const pausedSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"PAUSED\");\n      });\n\n      const inactiveSubscriptions: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"COMPLETED\")\n          .concat(getSubscriptionsByStatus(\"PAST_DUE\"))\n          .concat(getSubscriptionsByStatus(\"CANCELED\"))\n          .concat(getSubscriptionsByStatus(\"EXPIRED\"));\n      });\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        activeSubscriptions,\n        pausedSubscriptions,\n        inactiveSubscriptions\n      };\n    }\n  });\n\n  export default Account_Subscriptions;\n","import { render } from \"./Account_Subscriptions.vue?vue&type=template&id=4965ced4&scoped=true&bindings={}\"\nimport script from \"./Account_Subscriptions.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Subscriptions.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Subscriptions.vue?vue&type=style&index=0&id=4965ced4&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4965ced4\"\n\nexport default script","<template>\n    <div>\n        <div v-if=\"purchases.length > 0\">\n            <div class=\"container\">\n                <h2 class=\"mb-4\">\n                    Purchase History\n                </h2>            \n                <div class=\"row\">\n                    <div class=\"col-sm-4\" v-for=\"purchase in purchases\">\n                        <div class=\"card h-100\">\n                            <div class=\"card-header\">\n                                <h4 class=\"fs-5 m-0\">\n                                    {{ purchase.title }}\n                                </h4>\n                            </div>\n                            <div class=\"card-body\">\n                                <div class=\"mb-3\">\n                                    <strong>Date:</strong>&nbsp;&nbsp;&nbsp;{{ formatLongDate(purchase.created_at) }}<br />\n                                    <strong>Type:</strong>&nbsp;&nbsp;&nbsp;{{ purchase.type }}<br />\n                                    <strong>Price:</strong>&nbsp;&nbsp;&nbsp;${{ formatCurrency(purchase.amount) }}<br />\n                                    <strong>Status:</strong>&nbsp;{{ purchase.status }}\n                                </div>\n\n                                <div>\n                                    <p class=\"mb-0\">\n                                        <a :href=\"'/products/' + purchase.product_id\" target=\"_new\" class=\"btn btn-primary text-light text-uppercase\">View Product</a>\n                                    </p>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n        <div v-else>\n            You have no purchases associated with this account.\n        </div>\n    </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Store, useStore } from \"vuex\";\n  import Time from \"@/lib/Time\";\n  import StringUtils from \"@/lib/StringUtils\";\n\n  const Account_Purchases: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const purchases: ComputedRef = computed(() => {\n        return store.state.purchases;\n      });\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const loadPurchases = (): void => {\n        if (typeof store.state.account.id !== \"undefined\" && typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"getUserPurchases\", user);\n        }\n      };\n    setTimeout(() => {\n        loadPurchases();\n        }, 1500);\n      \n      \n      return {\n          user,\n          purchases,\n          formatLongDate,\n          formatCurrency\n      };\n    }\n  });\n\n  export default Account_Purchases;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n    .col-purchase {\n        border: solid 1px red;\n    }\n\n</style>","\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, Ref, ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Store, useStore } from \"vuex\";\n  import Time from \"@/lib/Time\";\n  import StringUtils from \"@/lib/StringUtils\";\n\n  const Account_Purchases: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const purchases: ComputedRef = computed(() => {\n        return store.state.purchases;\n      });\n\n      const formatCurrency = (n: number): string => {\n        return new StringUtils().formatCurrency(n);\n      };\n      const formatLongDate = (n: string): string => {\n        return new Time().formatLongDate(n);\n      };\n\n      const loadPurchases = (): void => {\n        if (typeof store.state.account.id !== \"undefined\" && typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"getUserPurchases\", user);\n        }\n      };\n    setTimeout(() => {\n        loadPurchases();\n        }, 1500);\n      \n      \n      return {\n          user,\n          purchases,\n          formatLongDate,\n          formatCurrency\n      };\n    }\n  });\n\n  export default Account_Purchases;\n","import { render } from \"./Account_Purchases.vue?vue&type=template&id=329f7d7b&scoped=true&bindings={}\"\nimport script from \"./Account_Purchases.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_Purchases.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_Purchases.vue?vue&type=style&index=0&id=329f7d7b&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-329f7d7b\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, onMounted, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Account_Overview from \"@/components/subscriber/account/Account_Overview.vue\";\n  import Account_Payments from \"@/components/subscriber/account/Account_Payments.vue\";\n  import Account_Profile from \"@/components/subscriber/account/Account_Profile.vue\";\n  import Account_Subscriptions from \"@/components/subscriber/account/Account_Subscriptions.vue\";\n  import Account_Purchases from \"@/components/subscriber/account/Account_Purchases.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Account: Component<LooseObject> = defineComponent({\n    components: {\n      account_overview: Account_Overview,\n      account_payments: Account_Payments,\n      account_profile: Account_Profile,\n      account_subscriptions: Account_Subscriptions,\n      account_purchases: Account_Purchases\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const accountBase: Ref = ref(\"/accounts\");\n      const activeLink: Ref = ref(\"\");\n      const discountPlan: Ref = ref(false);\n      const posSrc = document.getElementById(\"pos_src\").value;\n      const isLocationLogin = document.getElementById(\"show_location_login\");\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n      let discountPriceID = ref(\"\");\n      let dscEditProfileURL = ref(\"\");\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n     \n     if(posSrc == \"false\" && window.location.pathname != \"/accounts/profile\") {\n       location.href = \"/accounts/profile\";\n     }\n      onBeforeMount(() => {\n        store.dispatch(\"getUserSubscriptions\");\n        \n        if(isLocationLogin.value == \"true\") {\n          discountPriceID = document.getElementById(\"cr_dsc_pid\");\n          dscEditProfileURL = document.getElementById(\"cr_dsc_epURL\");\n\n          setTimeout(() => {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (mySubscriptions.value[s].active_price_id == parseInt(discountPriceID.value)) {\n                var a = (typeof a === 'undefined') ? document.getElementById(\"profile-edit\") : a;\n                if(a != null) {\n                  a.href = dscEditProfileURL.value;\n                  a.target = \"_blank\";\n                }\n                discountPlan.value = true;\n              }\n            }\n          }, 2000);\n        }\n      \n        activeLink.value = window.location.pathname.replace(\"/accounts/\", \"\");\n        if (activeLink.value === \"\") {\n          activeLink.value = \"overview\";\n        }\n      });\n\n      return {\n        accountBase,\n        activeLink,\n        user,\n        posSrc,\n        discountPriceID,\n        discountPlan,\n        mySubscriptions,\n        dscEditProfileURL        \n      };\n    }\n  });\n\n  export default Account;\n","import { render } from \"./Account.vue?vue&type=template&id=3ffd3dfe&scoped=true&bindings={}\"\nimport script from \"./Account.vue?vue&type=script&lang=ts\"\nexport * from \"./Account.vue?vue&type=script&lang=ts\"\n\nimport \"./Account.vue?vue&type=style&index=0&id=3ffd3dfe&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-3ffd3dfe\"\n\nexport default script","<template>\n  <div v-if=\"showBanner && checkCSV\"\n       class=\"p-3 text-center\"\n       style=\"background-color: #FFF3CD;\"\n  >\n    <p>\n      You have one or more subscriptions that are managed by an external system. Please contact\n      <a href=\"mailto:support@thefastingmethod.com\">\n        support@thefastingmethod.com\n      </a>\n      for assistance with making changes to your subscriptions or updating your payment method.\n    </p>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Subscription from \"@/interfaces/Subscription\";\n\n  const Account_FtmBanner: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const targetAccountIds: Array<number> = [\n        2135,\n        29\n      ];\n\n      const showBanner: ComputedRef<boolean> = computed(() => {\n        return targetAccountIds.indexOf(store.state.account.id) > -1;\n      });\n\n      const checkCSV: ComputedRef<boolean> = computed(() => {\n        let subscriptions: Array<Subscription> = store.state.subscriptions;\n        return subscriptions.filter((s: Subscription) => {\n          return (\n            s.src_system.toLowerCase() === \"batch-csv\" &&\n            s.status === \"ACTIVE\"\n          );\n        }).length > 0;\n      });\n\n      onBeforeMount(() => {\n        store.dispatch(\"getUserSubscriptions\");\n      });\n\n      return {\n        showBanner,\n        checkCSV\n      };\n    }\n  });\n\n  export default Account_FtmBanner;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Subscription from \"@/interfaces/Subscription\";\n\n  const Account_FtmBanner: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const targetAccountIds: Array<number> = [\n        2135,\n        29\n      ];\n\n      const showBanner: ComputedRef<boolean> = computed(() => {\n        return targetAccountIds.indexOf(store.state.account.id) > -1;\n      });\n\n      const checkCSV: ComputedRef<boolean> = computed(() => {\n        let subscriptions: Array<Subscription> = store.state.subscriptions;\n        return subscriptions.filter((s: Subscription) => {\n          return (\n            s.src_system.toLowerCase() === \"batch-csv\" &&\n            s.status === \"ACTIVE\"\n          );\n        }).length > 0;\n      });\n\n      onBeforeMount(() => {\n        store.dispatch(\"getUserSubscriptions\");\n      });\n\n      return {\n        showBanner,\n        checkCSV\n      };\n    }\n  });\n\n  export default Account_FtmBanner;\n","import { render } from \"./Account_FtmBanner.vue?vue&type=template&id=7995b8b2&scoped=true&bindings={}\"\nimport script from \"./Account_FtmBanner.vue?vue&type=script&lang=ts\"\nexport * from \"./Account_FtmBanner.vue?vue&type=script&lang=ts\"\n\nimport \"./Account_FtmBanner.vue?vue&type=style&index=0&id=7995b8b2&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7995b8b2\"\n\nexport default script","<template>\n  <div v-if=\"product_id\"\n       class=\"inner tabbed_content\"\n  >\n    <section class=\"text\">\n      <form @click.prevent=\"onCompletePurchase\">\n        <div class=\"form__wrapper\">\n          <fieldset id=\"payment_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <div class=\"header-plus-option\">\n              <h2>Payment Method</h2>\n              <a :href=\"`${giftingDirectory}/payment_information`\"> Update Card</a>\n            </div>\n            <div class=\"card-on-file\">\n              <div class=\"card-nr\">\n                <span>Card #</span>\n                <span>**** {{ cc_number }}</span>\n              </div>\n              <div class=\"card-exp\">\n                <span>Expires</span>\n                <span>{{ cc_exp_month }}/{{ cc_exp_year }}</span>\n              </div>\n            </div>\n          </fieldset>\n\n          <fieldset id=\"gift_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <div class=\"header-plus-option\">\n              <h2>Your Gift</h2>\n              <a :href=\"`${giftingDirectory}/give`\">Change Purchase</a>\n            </div>\n            <gifting_gift-totals />\n          </fieldset>\n\n          <fieldset class=\"form__field margin-auto\">\n            <p>\n              <button :disabled=\"isProcessing === true\"\n                      class=\"button\"\n                      type=\"submit\"\n              >\n                <span v-if=\"isProcessing\">\n                  <span class=\"loader\" />\n                  Processing\n                </span>\n                <span v-else>Complete Purchase</span>\n              </button>\n            </p>\n            <p>\n              <button class=\"button secondary\"\n                      @click.prevent=\"onCancelPurchase\"\n              >\n                Cancel\n              </button>\n            </p>\n          </fieldset>\n        </div>\n      </form>\n    </section>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_GiftTotals from \"@/components/subscriber/gifting/Gifting_GiftTotals.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_PaymenDetails: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_gift-totals\": Gifting_GiftTotals\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftingDirectory: ComputedRef = computed(() => store.state.gift.giftingDirectory);\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const setProperty = (property: string, data: any): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const cc_format = (value: string): string => {\n        const v: string = value.replace(/\\s+/g, \"\")\n          .replace(/[^0-9]/gi, \"\");\n        const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n        const match: string = (matches && matches[0]) || \"\";\n        const parts: Array<string> = [];\n        for (let i = 0; i < match.length; i += 4) {\n          parts.push(match.substring(i, i + 4));\n        }\n        if (parts.length) {\n          return parts.join(\" \");\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n\n      const cc_number: ComputedRef = computed(() => {\n        return store.state.gift.cc_number.substr(-4, 4);\n      });\n\n      const cc_exp_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_month;\n        },\n        set: (data: number) => {\n          setProperty(\"cc_exp_month\", data);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_year;\n        },\n        set: (data: number) => {\n          setProperty(\"cc_exp_year\", data);\n        }\n      });\n\n      const isProcessing: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isProcessing;\n        },\n        set: (data: boolean) => {\n          setProperty(\"isProcessing\", data);\n        }\n      });\n\n      const onCompletePurchase = (): void => {\n        store.dispatch(\"gift/processingPaymentStatus\", true)\n          .then(() => {\n            store.dispatch(\"gift/postGift\", {\n              price_id: price_id.value,\n              product_id: product_id.value\n            });\n          });\n      };\n\n      const onCancelPurchase = (): void => {\n        if (window.confirm(\"Are you sure you want to cancel your purchase?\")) {\n          setTimeout(() => {\n            window.location.href = `${store.state.gift.giftingDirectory}/give`;\n          }, 500);\n        }\n      };\n\n      return {\n        price_id,\n        product_id,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_format,\n        onCompletePurchase,\n        onCancelPurchase,\n        giftingDirectory,\n        isProcessing\n      };\n    }\n  });\n\n  export default Gifting_PaymenDetails;\n</script>\n","<template>\n  <div v-if=\"product_id !== null && price_id !== null\"\n       class=\"receipt\"\n  >\n    <div class=\"plan item\">\n      <h4>{{ price.title }}</h4>\n      <p v-if=\"tax_rate !== null\">\n        ${{ formatCurrency(tax_rate.amount) }}\n      </p>\n      <p v-if=\"tax_rate === null\">\n        ${{ formatCurrency(price.amount) }}\n      </p>\n    </div>\n\n    <div v-if=\"tax_rate !== null\"\n         class=\"plan item\"\n    >\n      <h4>Taxes ({{ formatTax(tax_rate.tax_rate) }}%)</h4>\n      <p>${{ formatCurrency(tax_rate.tax_amount) }}</p>\n    </div>\n\n    <div class=\"plan total\">\n      <h4>Total</h4>\n      <p v-if=\"tax_rate !== null\">\n        ${{ formatCurrency(tax_rate.total_amount) }}\n      </p>\n      <p v-if=\"tax_rate === null\">\n        ${{ formatCurrency(price.amount) }}\n      </p>\n    </div>\n\n    <p v-if=\"tax_rate === null\"\n       class=\"sub-text\"\n    >\n      * plus applicable taxes\n    </p>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import Product from \"@/interfaces/Product\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_GiftTotals: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      const tax_rate: ComputedRef = computed(() => {\n        return store.state.product.tax_rate;\n      });\n\n      const formatCurrency = (n: number): string => {\n        return (n / 100).toFixed(2);\n      };\n\n      const formatTax = (n: number): string => {\n        return (n * 100).toFixed(2);\n      };\n\n      return {\n        price,\n        product_id,\n        price_id,\n        tax_rate,\n        formatCurrency,\n        formatTax\n      };\n    }\n  });\n\n  export default Gifting_GiftTotals;\n</script>\n","\n  import Product from \"@/interfaces/Product\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_GiftTotals: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      const tax_rate: ComputedRef = computed(() => {\n        return store.state.product.tax_rate;\n      });\n\n      const formatCurrency = (n: number): string => {\n        return (n / 100).toFixed(2);\n      };\n\n      const formatTax = (n: number): string => {\n        return (n * 100).toFixed(2);\n      };\n\n      return {\n        price,\n        product_id,\n        price_id,\n        tax_rate,\n        formatCurrency,\n        formatTax\n      };\n    }\n  });\n\n  export default Gifting_GiftTotals;\n","import { render } from \"./Gifting_GiftTotals.vue?vue&type=template&id=05f4b28c&bindings={}\"\nimport script from \"./Gifting_GiftTotals.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_GiftTotals.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_GiftTotals from \"@/components/subscriber/gifting/Gifting_GiftTotals.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_PaymenDetails: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_gift-totals\": Gifting_GiftTotals\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftingDirectory: ComputedRef = computed(() => store.state.gift.giftingDirectory);\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const setProperty = (property: string, data: any): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const cc_format = (value: string): string => {\n        const v: string = value.replace(/\\s+/g, \"\")\n          .replace(/[^0-9]/gi, \"\");\n        const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n        const match: string = (matches && matches[0]) || \"\";\n        const parts: Array<string> = [];\n        for (let i = 0; i < match.length; i += 4) {\n          parts.push(match.substring(i, i + 4));\n        }\n        if (parts.length) {\n          return parts.join(\" \");\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n\n      const cc_number: ComputedRef = computed(() => {\n        return store.state.gift.cc_number.substr(-4, 4);\n      });\n\n      const cc_exp_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_month;\n        },\n        set: (data: number) => {\n          setProperty(\"cc_exp_month\", data);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_year;\n        },\n        set: (data: number) => {\n          setProperty(\"cc_exp_year\", data);\n        }\n      });\n\n      const isProcessing: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isProcessing;\n        },\n        set: (data: boolean) => {\n          setProperty(\"isProcessing\", data);\n        }\n      });\n\n      const onCompletePurchase = (): void => {\n        store.dispatch(\"gift/processingPaymentStatus\", true)\n          .then(() => {\n            store.dispatch(\"gift/postGift\", {\n              price_id: price_id.value,\n              product_id: product_id.value\n            });\n          });\n      };\n\n      const onCancelPurchase = (): void => {\n        if (window.confirm(\"Are you sure you want to cancel your purchase?\")) {\n          setTimeout(() => {\n            window.location.href = `${store.state.gift.giftingDirectory}/give`;\n          }, 500);\n        }\n      };\n\n      return {\n        price_id,\n        product_id,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_format,\n        onCompletePurchase,\n        onCancelPurchase,\n        giftingDirectory,\n        isProcessing\n      };\n    }\n  });\n\n  export default Gifting_PaymenDetails;\n","import { render } from \"./Gifting_PaymentDetails.vue?vue&type=template&id=5f51db94&bindings={}\"\nimport script from \"./Gifting_PaymentDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_PaymentDetails.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div class=\"inner tabbed_content gift-plans\">\n    <section class=\"text\">\n      <form id=\"payment-form\"\n            @reset.prevent=\"onCancelPurchase\"\n            @submit.prevent=\"onCompletePurchase\"\n      >\n        <div class=\"form__wrapper\">\n          <fieldset id=\"payment_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <h2>Payment Information</h2>\n            <global_input :id=\"`cc_name`\"\n                          v-model:input-value=\"cc_name\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'name' }]\"\n                          label=\"Name on Card\"\n                          name=\"cc_name\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input id=\"cc_number\"\n                          v-model:input-value=\"cc_number\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'number' }]\"\n                          char-limit=\"19\"\n                          label=\"Card Number\"\n                          name=\"cc_number\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <div class=\"small-data-fields\">\n              <global_select id=\"cc_exp_month\"\n                             v-model:input-value=\"cc_exp_month\"\n                             :custom-attributes=\"[{ attribute: 'data-stripe', value: 'exp_month' }]\"\n                             :input-list=\"monthOptions\"\n                             class=\"inline\"\n                             label=\"Month\"\n                             name=\"cc_exp_month\"\n                             required=\"required\"\n              />\n\n              <global_select id=\"cc_exp_year\"\n                             v-model:input-value=\"cc_exp_year\"\n                             :custom-attributes=\"[{ attribute: 'data-stripe', value: 'exp_year' }]\"\n                             :input-list=\"yearOptions\"\n                             class=\"inline\"\n                             label=\"Year\"\n                             name=\"cc_exp_year\"\n                             required=\"required\"\n              />\n\n              <global_input id=\"cc_cvc\"\n                            v-model:input-value=\"cc_cvc\"\n                            :custom-attributes=\"[{ attribute: 'data-stripe', value: 'cvc' }]\"\n                            label=\"CVC\"\n                            name=\"cc_cvc\"\n                            required=\"required\"\n                            type=\"number\"\n              />\n            </div>\n          </fieldset>\n\n          <fieldset id=\"billing_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <h2>Billing Information</h2>\n\n            <global_input v-if=\"billing_country === 'United States'\"\n                          id=\"billing_address\"\n                          v-model:input-value=\"billing_address\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_line1' }]\"\n                          label=\"Address\"\n                          name=\"billing_address\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input v-if=\"billing_country === 'United States'\"\n                          id=\"billing_suite\"\n                          v-model:input-value=\"billing_suite\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_line2' }]\"\n                          :required=\"false\"\n                          label=\"Suite\"\n                          name=\"billing_suite\"\n                          type=\"text\"\n            />\n\n            <global_input v-if=\"billing_country === 'United States'\"\n                          id=\"billing_city\"\n                          v-model:input-value=\"billing_city\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_city' }]\"\n                          label=\"City\"\n                          name=\"billing_city\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_select v-if=\"billing_country === 'United States'\"\n                           id=\"billing_state\"\n                           v-model:input-value=\"billing_state\"\n                           :input-list=\"stateOptions\"\n                           label=\"State\"\n                           name=\"billing_state\"\n                           required=\"required\"\n            />\n\n            <global_input v-if=\"billing_country !== ''\"\n                          id=\"billing_zip\"\n                          v-model:input-value=\"billing_zip\"\n                          :custom-attributes=\"[{ attribute: 'data-stripe', value: 'address_zip' }]\"\n                          label=\"Zipcode\"\n                          name=\"billing_zip\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_select id=\"billing_country\"\n                           v-model:input-value=\"billing_country\"\n                           :input-list=\"countryOptions\"\n                           label=\"Country\"\n                           name=\"billing_country\"\n                           required=\"required\"\n            />\n          </fieldset>\n\n          <fieldset class=\"form__field margin-auto\">\n            <h3>Your Gift</h3>\n\n            <gifting_gift-totals />\n          </fieldset>\n\n          <fieldset class=\"form__field margin-auto\">\n            <p>\n              <button :disabled=\"isProcessing === true || isFormValid === false\"\n                      class=\"button\"\n                      type=\"submit\"\n              >\n                <span v-if=\"isProcessing\">\n                  <span class=\"loader\" />\n                  Processing\n                </span>\n                <span v-else>Complete Purchase</span>\n              </button>\n            </p>\n\n            <p>\n              <button class=\"button secondary\"\n                      type=\"reset\"\n              >\n                Cancel\n              </button>\n            </p>\n          </fieldset>\n        </div>\n      </form>\n    </section>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import Global_Select from \"@/components/global/Global_Select.vue\";\n  import Gifting_GiftTotals from \"@/components/subscriber/gifting/Gifting_GiftTotals.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import countries from \"@/lib/countries\";\n  import months from \"@/lib/months\";\n  import states from \"@/lib/states\";\n\n  const Gifting_PaymentInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_input\": Global_Input,\n      \"global_select\": Global_Select,\n      \"gifting_gift-totals\": Gifting_GiftTotals\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, data: any): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      const countryOptions: ComputedRef = computed(() => {\n        return countries.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const cc_format = (value: string): string => {\n        const v: string = value.replace(/\\s+/g, \"\")\n          .replace(/[^0-9]/gi, \"\");\n        const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n        const match: string = matches !== null ? matches[0] : \"\";\n        const parts: Array<string> = [];\n        for (let i = 0; i < match.length; i += 4) {\n          parts.push(match.substring(i, i + 4));\n        }\n        if (parts.length) {\n          return parts.join(\" \");\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n      const cc_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.cc_name;\n        },\n        set: (data) => {\n          setProperty(\"cc_name\", data);\n        }\n      });\n\n      const cc_number: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.cc_number;\n        },\n        set: (data: string) => {\n          setProperty(\"cc_number\", cc_format(data));\n        }\n      });\n\n      const cc_exp_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_month;\n        },\n        set: (data) => {\n          setProperty(\"cc_exp_month\", data);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_year;\n        },\n        set: (data) => {\n          setProperty(\"cc_exp_year\", data);\n        }\n      });\n\n      const cc_cvc: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_cvc;\n        },\n        set: (data) => {\n          setProperty(\"cc_cvc\", data);\n        }\n      });\n\n      // Billing Information\n      const billing_address: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_address;\n        },\n        set: (data) => {\n          setProperty(\"billing_address\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_suite: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_suite;\n        },\n        set: (data) => {\n          setProperty(\"billing_suite\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_city: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_city;\n        },\n        set: (data) => {\n          setProperty(\"billing_city\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_state: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_state;\n        },\n        set: (data) => {\n          setProperty(\"billing_state\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const stateOptions: WritableComputedRef<LooseObject> = computed(() => {\n        return states.map((s) => {\n          return {\n            label: s.name,\n            value: s.name\n          };\n        });\n      });\n\n      const billing_zip: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_zip;\n        },\n        set: (data) => {\n          setProperty(\"billing_zip\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_country: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_country;\n        },\n        set: (data) => {\n          setProperty(\"billing_country\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const yearOptions: ComputedRef = computed((): Array<{ label: number; value: number }> => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: number }> = [];\n\n        for (let i: number = d; i < d + 15; i++) {\n          y.push({\n            label: i,\n            value: i\n          });\n        }\n\n        return y;\n      });\n\n      const isFormValid: ComputedRef<boolean> = computed(() => {\n        return billing_zip.value.length > 0 && billing_country.value.length > 0 && cc_name.value.length > 0 && cc_number.value.length > 0 && cc_exp_month.value > 0 && cc_exp_year.value > 0 && cc_cvc.value > 0;\n      });\n\n      const isProcessing: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isProcessing;\n        },\n        set: (data) => {\n          setProperty(\"isProcessing\", data);\n        }\n      });\n\n      const onCompletePurchase = (): void => {\n        // Set processing boolean that plays nice with async\n        store.dispatch(\"gift/processingPaymentStatus\", true)\n          .then(() => {\n            setProperty(\"payment_processor_data\", null);\n\n            const stripeInfo: LooseObject = store.state.account.payment_processors.find((p: LooseObject) => {\n              return p.type === \"stripe\";\n            });\n\n            const authNetInfo: LooseObject = store.state.account.payment_processors.find((p: LooseObject) => {\n              return p.type === \"authorize.net\";\n            });\n\n            // Stripe\n            if (typeof stripeInfo !== \"undefined\") {\n              let paymentForm: HTMLElement | null = document.getElementById(\"payment-form\");\n              const Stripe: LooseObject = window.Stripe;\n\n              try {\n                Stripe.setPublishableKey(stripeInfo.publishable_key);\n                Stripe.createToken(paymentForm, (status: number, response: LooseObject) => {\n                  if (status === 200) {\n                    setProperty(\"payment_processor_data\", { token: response.id });\n                    store.dispatch(\"gift/postGift\", {\n                      price_id: price_id.value,\n                      product_id: product_id.value\n                    });\n                  } else {\n                    store.dispatch(\"gift/processingPaymentStatus\", false);\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                    }, 500);\n                  }\n                });\n              } catch (err) {\n                store.dispatch(\"gift/processingPaymentStatus\", false);\n                setTimeout(() => {\n                  window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                }, 500);\n              }\n            }\n            // Authorize.net\n            if (typeof authNetInfo !== \"undefined\") {\n              const Accept: LooseObject = window.Accept;\n\n              try {\n                Accept.dispatchData(\n                  {\n                    authData: {\n                      clientKey: authNetInfo.api_public_key,\n                      apiLoginID: authNetInfo.api_login_id\n                    },\n                    cardData: {\n                      fullName: cc_name.value,\n                      cardNumber: cc_number.value.replace(/\\s/g, \"\"),\n                      month: cc_exp_month.value,\n                      year: cc_exp_year.value.toString().substring(2),\n                      cardCode: cc_cvc.value.toString(),\n                      zip: billing_zip.value\n                    }\n                  },\n                  (response: LooseObject) => {\n                    if (response.messages.resultCode === \"Ok\") {\n                      setProperty(\"payment_processor_data\", {\n                        data_value: response.opaqueData.dataValue,\n                        data_descriptor: response.opaqueData.dataDescriptor\n                      });\n                      store.dispatch(\"gift/postGift\", {\n                        price_id: price_id.value,\n                        product_id: product_id.value\n                      });\n                    } else {\n                      setTimeout(() => {\n                        window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                      }, 500);\n                    }\n                  }\n                );\n              } catch (err) {\n                store.dispatch(\"gift/processingPaymentStatus\", false);\n                setTimeout(() => {\n                  window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                }, 500);\n              }\n            }\n          });\n      };\n\n      const onCancelPurchase = (): void => {\n        if (window.confirm(\"Are you sure you want to cancel your purchase?\")) {\n          setTimeout(() => {\n            window.location.href = `${store.state.gift.giftingDirectory}/give`;\n          }, 500);\n        }\n      };\n\n      const getTaxRate = (): void => {\n        store.dispatch(\"product/getTaxRate\", {\n          id: price_id.value,\n          address1: billing_address.value,\n          address2: billing_suite.value,\n          city: billing_city.value,\n          state: billing_state.value,\n          zip: billing_zip.value,\n          country: billing_country.value\n        });\n      };\n\n      getTaxRate();\n\n      return {\n        price_id,\n        price,\n        product_id,\n        product,\n        cc_name,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_cvc,\n        billing_address,\n        billing_city,\n        billing_country,\n        billing_state,\n        billing_suite,\n        billing_zip,\n        countryOptions,\n        monthOptions,\n        yearOptions,\n        stateOptions,\n        onCompletePurchase,\n        onCancelPurchase,\n        isProcessing,\n        isFormValid\n      };\n    }\n  });\n\n  export default Gifting_PaymentInformation;\n</script>\n","<template>\n  <div :class=\"`input-${type}`\">\n    <label \n      :for=\"id\"\n      class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\"\n            class=\"field-req\"\n      >*\n      </span>\n    </label>\n\n    <input \n      :id=\"id\"\n      v-model=\"value\"\n      :class=\"{\n        'is-invalid': typeof validationMessage !== 'undefined' && validationMessage !== null && validationMessage.status !== null\n      }\"\n      :disabled=\"disabled\"\n      :max=\"max\"\n      :maxlength=\"charLimit\"\n      :min=\"min\"\n      :name=\"name\"\n      :required=\"required === 'required'\"\n      :type=\"type\"\n      class=\"form-control\"\n    >\n\n    <div \n      v-if=\"typeof validationMessage !== 'undefined'\"\n      :class=\"`input-message--${validationMessage.status}`\"\n      class=\"input-message invalid-feedback\"\n    >\n      <span v-html=\"validationMessage.message\" />\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Input: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"inputValue\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"charLimit\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:inputValue\"],\n    setup(props, context) {\n      const value: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.inputValue;\n        },\n        set: (n) => {\n          context.emit(\"update:inputValue\", n);\n        }\n      });\n\n      onMounted(() => {\n        // Custom Attributes\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        value\n      };\n    }\n  });\n\n  export default Global_Input;\n</script>\n\n<style \n  lang=\"scss\"\n  scoped\n>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Input: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"inputValue\": {\n        type: String,\n        required: true\n      },\n      \"type\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"charLimit\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"min\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"max\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"validationMessage\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"customAttributes\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"disabled\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\"update:inputValue\"],\n    setup(props, context) {\n      const value: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.inputValue;\n        },\n        set: (n) => {\n          context.emit(\"update:inputValue\", n);\n        }\n      });\n\n      onMounted(() => {\n        // Custom Attributes\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        value\n      };\n    }\n  });\n\n  export default Global_Input;\n","import { render } from \"./Global_Input.vue?vue&type=template&id=9fc08a20&scoped=true&bindings={}\"\nimport script from \"./Global_Input.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_Input.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_Input.vue?vue&type=style&index=0&id=9fc08a20&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-9fc08a20\"\n\nexport default script","<template>\n  <div class=\"input-select\">\n    <label :for=\"id\"\n           class=\"form-label\"\n    >{{ label }}\n      <span v-if=\"required === 'required'\"\n            class=\"field-req\"\n      >*\n      </span>\n    </label>\n\n    <select :id=\"id\"\n            v-model=\"value\"\n            :name=\"name\"\n            :required=\"required === 'required' ? 'required' : undefined\"\n            class=\"form-select form-select-md\"\n    >\n      <option v-for=\"(item, index) in inputList\"\n              :key=\"name + index\"\n              :value=\"item.value\"\n      >\n        {{ item.label }}\n      </option>\n    </select>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_Select: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: String,\n        required: true\n      },\n      \"inputValue\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\n      \"update:inputValue\"\n    ],\n    setup(props, context) {\n      const value: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.inputValue;\n        },\n        set: (n) => {\n          context.emit(\"update:inputValue\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        value\n      };\n    }\n  });\n\n  export default Global_Select;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, defineComponent, onMounted, WritableComputedRef } from \"vue\";\n\n  const Global_Select: Component<LooseObject> = defineComponent({\n    props: {\n      \"id\": {\n        type: String,\n        required: true\n      },\n      \"name\": {\n        type: String,\n        required: true\n      },\n      \"label\": {\n        type: String,\n        required: true\n      },\n      \"required\": {\n        type: String,\n        required: false,\n        default: undefined\n      },\n      \"inputList\": {\n        type: String,\n        required: true\n      },\n      \"inputValue\": {\n        type: String,\n        required: true\n      },\n      \"customAttributes\": {\n        type: String,\n        required: false,\n        default: undefined\n      }\n    },\n    emits: [\n      \"update:inputValue\"\n    ],\n    setup(props, context) {\n      const value: WritableComputedRef<any> = computed({\n        get: () => {\n          return props.inputValue;\n        },\n        set: (n) => {\n          context.emit(\"update:inputValue\", n);\n        }\n      });\n\n      onMounted(() => {\n        if (typeof props.customAttributes !== \"undefined\") {\n          for (let i = 0; i < props.customAttributes.length; i++) {\n            document.getElementById(props.id)\n              ?.setAttribute(props.customAttributes[i].attribute, props.customAttributes[i].value);\n          }\n        }\n      });\n\n      return {\n        value\n      };\n    }\n  });\n\n  export default Global_Select;\n","import { render } from \"./Global_Select.vue?vue&type=template&id=9895ae4a&scoped=true&bindings={}\"\nimport script from \"./Global_Select.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_Select.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_Select.vue?vue&type=style&index=0&id=9895ae4a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-9895ae4a\"\n\nexport default script","\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import Global_Select from \"@/components/global/Global_Select.vue\";\n  import Gifting_GiftTotals from \"@/components/subscriber/gifting/Gifting_GiftTotals.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import countries from \"@/lib/countries\";\n  import months from \"@/lib/months\";\n  import states from \"@/lib/states\";\n\n  const Gifting_PaymentInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_input\": Global_Input,\n      \"global_select\": Global_Select,\n      \"gifting_gift-totals\": Gifting_GiftTotals\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, data: any): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      const countryOptions: ComputedRef = computed(() => {\n        return countries.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const cc_format = (value: string): string => {\n        const v: string = value.replace(/\\s+/g, \"\")\n          .replace(/[^0-9]/gi, \"\");\n        const matches: RegExpMatchArray | null = v.match(/\\d{4,16}/g);\n        const match: string = matches !== null ? matches[0] : \"\";\n        const parts: Array<string> = [];\n        for (let i = 0; i < match.length; i += 4) {\n          parts.push(match.substring(i, i + 4));\n        }\n        if (parts.length) {\n          return parts.join(\" \");\n        } else {\n          return value;\n        }\n      };\n\n      // Payment Information\n      const cc_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.cc_name;\n        },\n        set: (data) => {\n          setProperty(\"cc_name\", data);\n        }\n      });\n\n      const cc_number: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.cc_number;\n        },\n        set: (data: string) => {\n          setProperty(\"cc_number\", cc_format(data));\n        }\n      });\n\n      const cc_exp_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_month;\n        },\n        set: (data) => {\n          setProperty(\"cc_exp_month\", data);\n        }\n      });\n\n      const cc_exp_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_exp_year;\n        },\n        set: (data) => {\n          setProperty(\"cc_exp_year\", data);\n        }\n      });\n\n      const cc_cvc: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.cc_cvc;\n        },\n        set: (data) => {\n          setProperty(\"cc_cvc\", data);\n        }\n      });\n\n      // Billing Information\n      const billing_address: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_address;\n        },\n        set: (data) => {\n          setProperty(\"billing_address\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_suite: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_suite;\n        },\n        set: (data) => {\n          setProperty(\"billing_suite\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_city: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_city;\n        },\n        set: (data) => {\n          setProperty(\"billing_city\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_state: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_state;\n        },\n        set: (data) => {\n          setProperty(\"billing_state\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const stateOptions: WritableComputedRef<LooseObject> = computed(() => {\n        return states.map((s) => {\n          return {\n            label: s.name,\n            value: s.name\n          };\n        });\n      });\n\n      const billing_zip: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_zip;\n        },\n        set: (data) => {\n          setProperty(\"billing_zip\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const billing_country: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.billing_country;\n        },\n        set: (data) => {\n          setProperty(\"billing_country\", data);\n\n          getTaxRate();\n        }\n      });\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const yearOptions: ComputedRef = computed((): Array<{ label: number; value: number }> => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: number }> = [];\n\n        for (let i: number = d; i < d + 15; i++) {\n          y.push({\n            label: i,\n            value: i\n          });\n        }\n\n        return y;\n      });\n\n      const isFormValid: ComputedRef<boolean> = computed(() => {\n        return billing_zip.value.length > 0 && billing_country.value.length > 0 && cc_name.value.length > 0 && cc_number.value.length > 0 && cc_exp_month.value > 0 && cc_exp_year.value > 0 && cc_cvc.value > 0;\n      });\n\n      const isProcessing: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isProcessing;\n        },\n        set: (data) => {\n          setProperty(\"isProcessing\", data);\n        }\n      });\n\n      const onCompletePurchase = (): void => {\n        // Set processing boolean that plays nice with async\n        store.dispatch(\"gift/processingPaymentStatus\", true)\n          .then(() => {\n            setProperty(\"payment_processor_data\", null);\n\n            const stripeInfo: LooseObject = store.state.account.payment_processors.find((p: LooseObject) => {\n              return p.type === \"stripe\";\n            });\n\n            const authNetInfo: LooseObject = store.state.account.payment_processors.find((p: LooseObject) => {\n              return p.type === \"authorize.net\";\n            });\n\n            // Stripe\n            if (typeof stripeInfo !== \"undefined\") {\n              let paymentForm: HTMLElement | null = document.getElementById(\"payment-form\");\n              const Stripe: LooseObject = window.Stripe;\n\n              try {\n                Stripe.setPublishableKey(stripeInfo.publishable_key);\n                Stripe.createToken(paymentForm, (status: number, response: LooseObject) => {\n                  if (status === 200) {\n                    setProperty(\"payment_processor_data\", { token: response.id });\n                    store.dispatch(\"gift/postGift\", {\n                      price_id: price_id.value,\n                      product_id: product_id.value\n                    });\n                  } else {\n                    store.dispatch(\"gift/processingPaymentStatus\", false);\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                    }, 500);\n                  }\n                });\n              } catch (err) {\n                store.dispatch(\"gift/processingPaymentStatus\", false);\n                setTimeout(() => {\n                  window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                }, 500);\n              }\n            }\n            // Authorize.net\n            if (typeof authNetInfo !== \"undefined\") {\n              const Accept: LooseObject = window.Accept;\n\n              try {\n                Accept.dispatchData(\n                  {\n                    authData: {\n                      clientKey: authNetInfo.api_public_key,\n                      apiLoginID: authNetInfo.api_login_id\n                    },\n                    cardData: {\n                      fullName: cc_name.value,\n                      cardNumber: cc_number.value.replace(/\\s/g, \"\"),\n                      month: cc_exp_month.value,\n                      year: cc_exp_year.value.toString().substring(2),\n                      cardCode: cc_cvc.value.toString(),\n                      zip: billing_zip.value\n                    }\n                  },\n                  (response: LooseObject) => {\n                    if (response.messages.resultCode === \"Ok\") {\n                      setProperty(\"payment_processor_data\", {\n                        data_value: response.opaqueData.dataValue,\n                        data_descriptor: response.opaqueData.dataDescriptor\n                      });\n                      store.dispatch(\"gift/postGift\", {\n                        price_id: price_id.value,\n                        product_id: product_id.value\n                      });\n                    } else {\n                      setTimeout(() => {\n                        window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                      }, 500);\n                    }\n                  }\n                );\n              } catch (err) {\n                store.dispatch(\"gift/processingPaymentStatus\", false);\n                setTimeout(() => {\n                  window.location.href = `${store.state.gift.giftingDirectory}/failure`;\n                }, 500);\n              }\n            }\n          });\n      };\n\n      const onCancelPurchase = (): void => {\n        if (window.confirm(\"Are you sure you want to cancel your purchase?\")) {\n          setTimeout(() => {\n            window.location.href = `${store.state.gift.giftingDirectory}/give`;\n          }, 500);\n        }\n      };\n\n      const getTaxRate = (): void => {\n        store.dispatch(\"product/getTaxRate\", {\n          id: price_id.value,\n          address1: billing_address.value,\n          address2: billing_suite.value,\n          city: billing_city.value,\n          state: billing_state.value,\n          zip: billing_zip.value,\n          country: billing_country.value\n        });\n      };\n\n      getTaxRate();\n\n      return {\n        price_id,\n        price,\n        product_id,\n        product,\n        cc_name,\n        cc_number,\n        cc_exp_month,\n        cc_exp_year,\n        cc_cvc,\n        billing_address,\n        billing_city,\n        billing_country,\n        billing_state,\n        billing_suite,\n        billing_zip,\n        countryOptions,\n        monthOptions,\n        yearOptions,\n        stateOptions,\n        onCompletePurchase,\n        onCancelPurchase,\n        isProcessing,\n        isFormValid\n      };\n    }\n  });\n\n  export default Gifting_PaymentInformation;\n","import { render } from \"./Gifting_PaymentInformation.vue?vue&type=template&id=0c1a48ca&bindings={}\"\nimport script from \"./Gifting_PaymentInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_PaymentInformation.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div class=\"inner tabbed_content\">\n    <section class=\"text\">\n      <p>\n        Your\n        <strong>{{ price.title }}</strong>\n        gift was successfully emailed to\n      </p>\n\n      <p>\n        <strong>{{ giftee_first_name }} {{ giftee_last_name }}</strong>\n        <br>\n        <strong>{{ giftee_email }}</strong>\n      </p>\n\n      <p>\n        Gift Message:\n        <br>\n        {{ message }}\n      </p>\n\n      <p>\n        Delivery Date:\n        <strong>{{ send_date }}</strong>\n      </p>\n\n      <p>\n        We have emailed a receipt to:\n        <strong>{{ gifter_email }}</strong>\n      </p>\n    </section>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import dayjs from \"dayjs\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n\n  const Gifting_PaymenSuccess: Component<LooseObject> = defineComponent({\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftee_first_name: ComputedRef = computed(() => {\n        return store.state.gift.giftee_first_name;\n      });\n      const giftee_last_name: ComputedRef = computed(() => {\n        return store.state.gift.giftee_last_name;\n      });\n      const giftee_email: ComputedRef = computed(() => {\n        return store.state.gift.giftee_email;\n      });\n      const gifter_email: ComputedRef = computed(() => {\n        return store.state.gift.gifter_email;\n      });\n      const message: ComputedRef = computed(() => {\n        return store.state.gift.message;\n      });\n      const send_date: ComputedRef = computed(() => {\n        return dayjs(store.state.gift.send_date)\n          .format(\"MM/DD/YYYY\");\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      return {\n        giftee_first_name,\n        giftee_last_name,\n        giftee_email,\n        price,\n        message,\n        send_date,\n        gifter_email\n      };\n    }\n  });\n\n  export default Gifting_PaymenSuccess;\n</script>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import dayjs from \"dayjs\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n\n  const Gifting_PaymenSuccess: Component<LooseObject> = defineComponent({\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftee_first_name: ComputedRef = computed(() => {\n        return store.state.gift.giftee_first_name;\n      });\n      const giftee_last_name: ComputedRef = computed(() => {\n        return store.state.gift.giftee_last_name;\n      });\n      const giftee_email: ComputedRef = computed(() => {\n        return store.state.gift.giftee_email;\n      });\n      const gifter_email: ComputedRef = computed(() => {\n        return store.state.gift.gifter_email;\n      });\n      const message: ComputedRef = computed(() => {\n        return store.state.gift.message;\n      });\n      const send_date: ComputedRef = computed(() => {\n        return dayjs(store.state.gift.send_date)\n          .format(\"MM/DD/YYYY\");\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      return {\n        giftee_first_name,\n        giftee_last_name,\n        giftee_email,\n        price,\n        message,\n        send_date,\n        gifter_email\n      };\n    }\n  });\n\n  export default Gifting_PaymenSuccess;\n","import { render } from \"./Gifting_PaymentSuccess.vue?vue&type=template&id=706bc6b2&bindings={}\"\nimport script from \"./Gifting_PaymentSuccess.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_PaymentSuccess.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div :class=\"{ active: price_id === price.price_id }\"\n       class=\"card selectable\"\n       @click=\"onPriceSelect(price.price_id)\"\n  >\n    <span class=\"card-content\">\n      <span class=\"card-title\">{{ price.title }}</span>\n\n      <span v-if=\"price.description\"\n            class=\"card-description\"\n      >{{ price.description }}\n      </span>\n\n      <span class=\"card-gift-plan-pricing\">\n        <!-- Non-Discounted Price -->\n        <span v-if=\"price.compare_at_price\"\n              class=\"card-compare-at\"\n        >${{ formatCurrency(price.compare_at_price) }}\n        </span>\n\n        <!-- Discounted Price -->\n        <span class=\"card-price\">${{ formatCurrency(price.amount) }}</span>\n        <sup>*</sup>\n\n        <!-- Discount Value -->\n        <span v-if=\"price.discount_type === '$' && price.discount !== 0\"\n              class=\"card-discount\"\n        > (${{ formatCurrency(price.discount) }} off)\n        </span>\n        <span v-if=\"price.discount_type === '%' && price.discount !== 0\"\n              class=\"card-discount\"\n        >({{ price.discount }}% off)\n        </span>\n      </span>\n    </span>\n\n    <template v-if=\"single === false\">\n      <i class=\"fa fa-chevron-right\" />\n    </template>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_productsListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"price\": {\n        type: Object,\n        required: true\n      },\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"single\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const onPriceSelect = (n: number): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"price_id\",\n          data: n\n        });\n      };\n\n      const formatCurrency = (n: number): string => {\n        return (n / 100).toFixed(2);\n      };\n\n      return {\n        price_id,\n        onPriceSelect,\n        formatCurrency\n      };\n    }\n  });\n\n  export default Gifting_productsListCard;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_productsListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"price\": {\n        type: Object,\n        required: true\n      },\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"single\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const onPriceSelect = (n: number): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"price_id\",\n          data: n\n        });\n      };\n\n      const formatCurrency = (n: number): string => {\n        return (n / 100).toFixed(2);\n      };\n\n      return {\n        price_id,\n        onPriceSelect,\n        formatCurrency\n      };\n    }\n  });\n\n  export default Gifting_productsListCard;\n","import { render } from \"./Gifting_PricesListCard.vue?vue&type=template&id=b2db532a&bindings={}\"\nimport script from \"./Gifting_PricesListCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_PricesListCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"product_id !== null && prices.length\">\n    <div v-if=\"products.length > 1\"\n         class=\"breadcrumb\"\n    >\n      <span class=\"fa fa-chevron-left\" />\n\n      <a :href=\"`${giftingDirectory}/give`\"\n         @click.prevent=\"clearProduct\"\n      > Gift Subscriptions\n      </a>\n    </div>\n\n    <div class=\"associated-sub\">\n      <h2>{{ product.title }}</h2>\n      <p class=\"sub-description\">\n        {{ product.description }}\n      </p>\n    </div>\n\n    <div class=\"cards\">\n      <gifting_prices-list-card v-for=\"price in prices\"\n                                :key=\"price.id\"\n                                :price=\"price\"\n                                :product=\"product\"\n                                :tmp-price-id=\"tmpPrice_id\"\n                                single=\"false\"\n                                @click.prevent=\"onPriceSelect(price.price_id)\"\n      />\n    </div>\n    <p class=\"sub-text\">\n      <sup>*</sup>\n      plus applicable taxes.\n    </p>\n    <div class=\"action-btns\">\n      <button :disabled=\"tmpPrice_id !== null ? false : 'disabled'\"\n              style=\"margin: auto\"\n              @click.prevent=\"onContinue\"\n      >\n        Select a Gift price\n      </button>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import Product from \"@/interfaces/Product\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_PricesListCard from \"@/components/subscriber/gifting/Gifting_PricesListCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n\n  const Gifting_PricesList: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_prices-list-card\": Gifting_PricesListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftingDirectory: ComputedRef = computed(() => store.state.gift.giftingDirectory);\n\n      let tmpPrice_id: Ref = ref(JSON.parse(JSON.stringify(store.state.product.price_id)));\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const products: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((g: Product) => {\n          return (\n            g.prices.filter((p: ProductPrice) => {\n              return p.visible;\n            }).length > 0\n          );\n        });\n      });\n\n      const product: ComputedRef = computed(() => {\n        return products.value.find((o: Product) => {\n          return o.product_id === product_id.value;\n        });\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const prices: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          const prices: Array<ProductPrice> = product.value.prices.filter((p: ProductPrice) => {\n            return p.visible;\n          });\n\n          if (prices.length === 1) {\n            store.commit(\"product/setProperty\", {\n              property: \"price_id\",\n              data: product.value.prices[0].price_id\n            });\n          }\n\n          return prices;\n        } else {\n          return [];\n        }\n      });\n\n      const onPriceSelect = (n: number): void => {\n        tmpPrice_id.value = n;\n      };\n\n      const clearProduct = (): void => {\n        setTimeout(() => {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }, 500);\n      };\n\n      const onContinue = (): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"price_id\",\n          data: tmpPrice_id.value\n        });\n\n        setTimeout(() => {\n          window.location.href = `${store.state.gift.giftingDirectory}/recipient_information`;\n        }, 500);\n      };\n\n      return {\n        prices,\n        product_id,\n        products,\n        product,\n        price_id,\n        tmpPrice_id,\n        clearProduct,\n        onContinue,\n        onPriceSelect,\n        giftingDirectory\n      };\n    }\n  });\n\n  export default Gifting_PricesList;\n</script>\n","\n  import Product from \"@/interfaces/Product\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_PricesListCard from \"@/components/subscriber/gifting/Gifting_PricesListCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n\n  const Gifting_PricesList: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_prices-list-card\": Gifting_PricesListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const giftingDirectory: ComputedRef = computed(() => store.state.gift.giftingDirectory);\n\n      let tmpPrice_id: Ref = ref(JSON.parse(JSON.stringify(store.state.product.price_id)));\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const products: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((g: Product) => {\n          return (\n            g.prices.filter((p: ProductPrice) => {\n              return p.visible;\n            }).length > 0\n          );\n        });\n      });\n\n      const product: ComputedRef = computed(() => {\n        return products.value.find((o: Product) => {\n          return o.product_id === product_id.value;\n        });\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const prices: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          const prices: Array<ProductPrice> = product.value.prices.filter((p: ProductPrice) => {\n            return p.visible;\n          });\n\n          if (prices.length === 1) {\n            store.commit(\"product/setProperty\", {\n              property: \"price_id\",\n              data: product.value.prices[0].price_id\n            });\n          }\n\n          return prices;\n        } else {\n          return [];\n        }\n      });\n\n      const onPriceSelect = (n: number): void => {\n        tmpPrice_id.value = n;\n      };\n\n      const clearProduct = (): void => {\n        setTimeout(() => {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }, 500);\n      };\n\n      const onContinue = (): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"price_id\",\n          data: tmpPrice_id.value\n        });\n\n        setTimeout(() => {\n          window.location.href = `${store.state.gift.giftingDirectory}/recipient_information`;\n        }, 500);\n      };\n\n      return {\n        prices,\n        product_id,\n        products,\n        product,\n        price_id,\n        tmpPrice_id,\n        clearProduct,\n        onContinue,\n        onPriceSelect,\n        giftingDirectory\n      };\n    }\n  });\n\n  export default Gifting_PricesList;\n","import { render } from \"./Gifting_PricesList.vue?vue&type=template&id=3eb2320b&bindings={}\"\nimport script from \"./Gifting_PricesList.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_PricesList.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div class=\"inner\">\n    <div class=\"text gift-plans\">\n      <div v-if=\"product_id\"\n           class=\"cards\"\n      >\n        <gifting_prices-list-card :price=\"price\"\n                                  single=\"true\"\n        />\n      </div>\n      <p class=\"sub-text\">\n        <sup>*</sup>\n        plus applicable taxes.\n      </p>\n    </div>\n\n    <div class=\"text\">\n      <form @submit.prevent=\"onCreateGift\">\n        <div class=\"form__wrapper\">\n          <fieldset id=\"giftee_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <h2>Gift To:</h2>\n\n            <global_input id=\"giftee_first_name\"\n                          v-model:input-value=\"giftee_first_name\"\n                          label=\"First Name\"\n                          name=\"giftee_first_name\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input id=\"giftee_last_name\"\n                          v-model:input-value=\"giftee_last_name\"\n                          label=\"Last Name\"\n                          name=\"giftee_last_name\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input id=\"giftee_email\"\n                          v-model:input-value=\"giftee_email\"\n                          label=\"Email Address\"\n                          name=\"giftee_email\"\n                          required=\"required\"\n                          type=\"email\"\n            />\n          </fieldset>\n\n          <fieldset id=\"gifter_information\"\n                    class=\"form__field margin-auto\"\n          >\n            <h2>Gift From:</h2>\n\n            <global_input id=\"gifter_first_name\"\n                          v-model:input-value=\"gifter_first_name\"\n                          label=\"First Name\"\n                          name=\"gifter_first_name\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input id=\"gifter_last_name\"\n                          v-model:input-value=\"gifter_last_name\"\n                          label=\"Last Name\"\n                          name=\"gifter_last_name\"\n                          required=\"required\"\n                          type=\"text\"\n            />\n\n            <global_input id=\"gifter_email\"\n                          v-model:input-value=\"gifter_email\"\n                          :disabled=\"user !== null && typeof user.email !== 'undefined' ? 'disabled' : false\"\n                          :validation-message=\"emailValidationMessage\"\n                          label=\"Email Address\"\n                          name=\"gifter_email\"\n                          required=\"required\"\n                          type=\"email\"\n                          @update=\"emailValidation\"\n            />\n\n            <div class=\"input-textarea\">\n              <label for=\"message\">Message</label>\n              <textarea id=\"message\"\n                        v-model=\"message\"\n                        name=\"message\"\n              />\n            </div>\n\n            <div class=\"input-radio\">\n              <input id=\"send_immediately_true\"\n                     v-model=\"send_immediately\"\n                     :value=\"true\"\n                     checked=\"checked\"\n                     name=\"send_immediately\"\n                     type=\"radio\"\n              >\n              <label for=\"send_immediately_true\">Send Immediately</label>\n            </div>\n\n            <div class=\"input-radio\">\n              <input id=\"send_immediately_false\"\n                     v-model=\"send_immediately\"\n                     :value=\"false\"\n                     name=\"send_immediately\"\n                     type=\"radio\"\n              >\n              <label for=\"send_immediately_false\">Send on Date</label>\n            </div>\n\n            <div class=\"small-data-fields\">\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_month\"\n                             v-model:input-value=\"send_date_month\"\n                             :input-list=\"monthOptions\"\n                             class=\"inline\"\n                             label=\"Month\"\n                             name=\"send_date_month\"\n                             required=\"required\"\n              />\n\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_day\"\n                             v-model:input-value=\"send_date_day\"\n                             :input-list=\"dayOptions\"\n                             class=\"inline\"\n                             label=\"Day\"\n                             name=\"send_date_day\"\n                             required=\"required\"\n              />\n\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_year\"\n                             v-model:input-value=\"send_date_year\"\n                             :input-list=\"yearOptions\"\n                             class=\"inline\"\n                             label=\"Year\"\n                             name=\"send_date_year\"\n                             required=\"required\"\n              />\n            </div>\n\n            <div class=\"small-data-fields\">\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_hour\"\n                             v-model:input-value=\"send_date_hour\"\n                             :input-list=\"hourOptions\"\n                             class=\"inline\"\n                             label=\"Hour\"\n                             name=\"send_date_hour\"\n                             required=\"required\"\n              />\n\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_minute\"\n                             v-model:input-value=\"send_date_minute\"\n                             :input-list=\"minuteOptions\"\n                             class=\"inline\"\n                             label=\"Minute\"\n                             name=\"send_date_minute\"\n                             required=\"required\"\n              />\n\n              <global_select v-if=\"send_immediately === false\"\n                             id=\"send_date_meridian\"\n                             v-model:input-value=\"send_date_meridian\"\n                             :input-list=\"meridianOptions\"\n                             class=\"inline\"\n                             label=\"Meridian\"\n                             name=\"send_date_meridian\"\n                             required=\"required\"\n              />\n            </div>\n\n            <global_select v-if=\"send_immediately === false\"\n                           id=\"send_timezone\"\n                           v-model:input-value=\"send_timezone\"\n                           :input-list=\"timezoneOptions\"\n                           class=\"inline\"\n                           label=\"Timezone\"\n                           name=\"send_timezone\"\n                           required=\"required\"\n            />\n\n            <div class=\"input-checkbox toc\">\n              <input id=\"tos\"\n                     v-model=\"tos\"\n                     name=\"tos\"\n                     required\n                     type=\"checkbox\"\n                     value=\"true\"\n              >\n              <label for=\"tos\">I agree to the\n                <a href=\"/page/privacy/\"\n                   rel=\"noopener noreferrer\"\n                   target=\"_blank\"\n                >privacy policy\n                </a>\n                and\n                <a href=\"/page/terms-of-service/\"\n                   rel=\"noopener noreferrer\"\n                   target=\"_blank\"\n                >terms of service\n                </a>\n                .\n              </label>\n            </div>\n          </fieldset>\n\n          <fieldset class=\"form__field margin-auto\">\n            <button class=\"button primary\"\n                    type=\"submit\"\n            >\n              Continue to Payment\n            </button>\n          </fieldset>\n        </div>\n      </form>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import Gifting_pricesListCard from \"@/components/subscriber/gifting/Gifting_PricesListCard.vue\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import Global_Select from \"@/components/global/Global_Select.vue\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import timezones from \"@/lib/timezones\";\n  import meridians from \"@/lib/meridians\";\n  import months from \"@/lib/months\";\n  import axios from \"axios\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RecipientInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_prices-list-card\": Gifting_pricesListCard,\n      \"global_input\": Global_Input,\n      \"global_select\": Global_Select\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, data: LooseObject): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      // Recipient Information\n      const giftee_first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_first_name;\n        },\n        set: (data) => {\n          setProperty(\"giftee_first_name\", data);\n        }\n      });\n\n      const giftee_last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_last_name;\n        },\n        set: (data) => {\n          setProperty(\"giftee_last_name\", data);\n        }\n      });\n\n      const giftee_email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_email;\n        },\n        set: (data) => {\n          setProperty(\"giftee_email\", data);\n        }\n      });\n\n      // Presenter Information\n      const gifter_first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_first_name;\n        },\n        set: (data) => {\n          setProperty(\"gifter_first_name\", data);\n        }\n      });\n\n      const gifter_last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_last_name;\n        },\n        set: (data) => {\n          setProperty(\"gifter_last_name\", data);\n        }\n      });\n\n      const gifter_email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_email;\n        },\n        set: (data) => {\n          setProperty(\"gifter_email\", data);\n        }\n      });\n\n      const send_immediately: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.send_immediately;\n        },\n        set: (data) => {\n          setProperty(\"send_immediately\", data);\n        }\n      });\n\n      // Date\n      const send_date_day: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_day;\n        },\n        set: (data) => {\n          setProperty(\"send_date_day\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_month;\n        },\n        set: (data) => {\n          setProperty(\"send_date_month\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_year;\n        },\n        set: (data) => {\n          setProperty(\"send_date_year\", data);\n        }\n      });\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const dayOptions: ComputedRef = computed(() => {\n        const DIM: number = new Date(send_date_year.value, send_date_month.value, 0).getDate();\n\n        const d: Array<{ label: string; value: string }> = [];\n        for (let i = 0; i < DIM; i++) {\n          d.push({\n            label: `${i + 1}`.padStart(2, \"0\"),\n            value: `${i + 1}`.padStart(2, \"0\")\n          });\n        }\n\n        return d;\n      });\n\n      const yearOptions: ComputedRef = computed(() => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: number }> = [];\n        for (let i: number = d; i < d + 5; i++) {\n          y.push({\n            label: i,\n            value: i\n          });\n        }\n\n        return y;\n      });\n\n      // Time\n      const timezoneOptions: ComputedRef = computed(() => {\n        return timezones.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const hourOptions: ComputedRef = computed(() => {\n        const h: Array<{ label: string; value: string }> = [];\n        for (let i = 1; i < 13; i++) {\n          h.push({\n            label: `${i}`.padStart(2, \"0\"),\n            value: `${i}`.padStart(2, \"0\")\n          });\n        }\n\n        return h;\n      });\n\n      const minuteOptions: ComputedRef = computed(() => {\n        const m: Array<{ label: string; value: string }> = [];\n        for (let i = 0; i < 60; i += 15) {\n          m.push({\n            label: `${i}`.padStart(2, \"0\"),\n            value: `${i}`.padStart(2, \"0\")\n          });\n        }\n\n        return m;\n      });\n\n      const meridianOptions: ComputedRef = computed(() => {\n        return meridians.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const send_timezone: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_timezone;\n        },\n        set: (data) => {\n          setProperty(\"send_timezone\", data);\n        }\n      });\n\n      const send_date_hour: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_hour;\n        },\n        set: (data) => {\n          setProperty(\"send_date_hour\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_minute: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_minute;\n        },\n        set: (data) => {\n          setProperty(\"send_date_minute\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_meridian: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_meridian;\n        },\n        set: (data) => {\n          setProperty(\"send_date_meridian\", data);\n        }\n      });\n\n      const message: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.message;\n        },\n        set: (data) => {\n          setProperty(\"message\", data);\n        }\n      });\n\n      const tos: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.tos;\n        },\n        set: (data) => {\n          setProperty(\"tos\", data);\n        }\n      });\n\n      const emailValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const emailValidation = async (): Promise<void> => {\n        emailValidationMessage.value.status = null;\n        emailValidationMessage.value.message = null;\n\n        return axios\n          .get(\"/api/apps/v3/users/exist\", {\n            withCredentials: true,\n            params: {\n              email: gifter_email.value\n            },\n            headers: {\n              \"account-id\": store.state.account.id\n            }\n          })\n          .then((response) => {\n            if (response.data.user === true && typeof store.state.user.id === \"undefined\") {\n              emailValidationMessage.value.status = \"error\";\n              emailValidationMessage.value.message = `An account with this email address already exists, <a href=\"/login?redirect_uri=${store.state.gift.giftingDirectory}/recipient_information\">please log in</a>.`;\n            }\n          });\n      };\n\n      const onCreateGift = async (): Promise<void> => {\n        await emailValidation();\n\n        if (emailValidationMessage.value.status === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/payment_information`;\n        }\n      };\n\n      const populateGifter = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          if (store.state.user.first_name !== null) {\n            setProperty(\"gifter_first_name\", store.state.user.first_name);\n          }\n\n          if (store.state.user.last_name !== null) {\n            setProperty(\"gifter_last_name\", store.state.user.last_name);\n          }\n\n          if (store.state.user.email !== null) {\n            setProperty(\"gifter_email\", store.state.user.email);\n          }\n        } else {\n          // Keep trying\n          setTimeout(populateGifter, 250);\n        }\n      };\n\n      populateGifter();\n\n      return {\n        product,\n        price,\n        price_id,\n        product_id,\n        giftee_first_name,\n        giftee_last_name,\n        giftee_email,\n        gifter_first_name,\n        gifter_last_name,\n        gifter_email,\n        send_immediately,\n        send_date_day,\n        send_date_month,\n        send_date_year,\n        send_date_hour,\n        send_date_meridian,\n        send_date_minute,\n        send_timezone,\n        monthOptions,\n        dayOptions,\n        yearOptions,\n        timezoneOptions,\n        meridianOptions,\n        hourOptions,\n        minuteOptions,\n        message,\n        tos,\n        onCreateGift,\n        emailValidationMessage,\n        emailValidation,\n        user\n      };\n    }\n  });\n\n  export default Gifting_RecipientInformation;\n</script>\n","const timezones: Array<string> = [\n  \"Pacific/Pago Pago\",\n  \"Pacific/Honolulu\",\n  \"America/Los Angeles\",\n  \"America/Tijuana\",\n  \"America/Denver\",\n  \"America/Phoenix\",\n  \"America/Mazatlan\",\n  \"America/Chicago\",\n  \"America/Mexico City\",\n  \"America/Regina\",\n  \"America/Guatemala\",\n  \"America/Bogota\",\n  \"America/New York\",\n  \"America/Lima\",\n  \"America/Caracas\",\n  \"America/Halifax\",\n  \"America/Guyana\",\n  \"America/La Paz\",\n  \"America/Argentina/Buenos Aires\",\n  \"America/Godthab\",\n  \"America/Montevideo\",\n  \"America/St Johns\",\n  \"America/Santiago\",\n  \"America/Sao Paulo\",\n  \"Atlantic/South Georgia\",\n  \"Atlantic/Azores\",\n  \"Atlantic/Cape Verde\",\n  \"Africa/Casablanca\",\n  \"Europe/Dublin\",\n  \"Europe/Lisbon\",\n  \"Europe/London\",\n  \"Africa/Monrovia\",\n  \"Africa/Algiers\",\n  \"Europe/Amsterdam\",\n  \"Europe/Berlin\",\n  \"Europe/Brussels\",\n  \"Europe/Budapest\",\n  \"Europe/Belgrade\",\n  \"Europe/Prague\",\n  \"Europe/Copenhagen\",\n  \"Europe/Madrid\",\n  \"Europe/Paris\",\n  \"Europe/Rome\",\n  \"Europe/Stockholm\",\n  \"Europe/Vienna\",\n  \"Europe/Warsaw\",\n  \"Europe/Athens\",\n  \"Europe/Bucharest\",\n  \"Africa/Cairo\",\n  \"Asia/Jerusalem\",\n  \"Africa/Johannesburg\",\n  \"Europe/Helsinki\",\n  \"Europe/Kiev\",\n  \"Europe/Kaliningrad\",\n  \"Europe/Riga\",\n  \"Europe/Sofia\",\n  \"Europe/Tallinn\",\n  \"Europe/Vilnius\",\n  \"Europe/Istanbul\",\n  \"Europe/Istanbul\",\n  \"Asia/Baghdad\",\n  \"Africa/Nairobi\",\n  \"Europe/Minsk\",\n  \"Asia/Riyadh\",\n  \"Europe/Moscow\",\n  \"Asia/Tehran\",\n  \"Asia/Baku\",\n  \"Europe/Samara\",\n  \"Asia/Tbilisi\",\n  \"Asia/Yerevan\",\n  \"Asia/Kabul\",\n  \"Asia/Karachi\",\n  \"Asia/Yekaterinburg\",\n  \"Asia/Tashkent\",\n  \"Asia/Colombo\",\n  \"Asia/Almaty\",\n  \"Asia/Dhaka\",\n  \"Asia/Rangoon\",\n  \"Asia/Bangkok\",\n  \"Asia/Jakarta\",\n  \"Asia/Krasnoyarsk\",\n  \"Asia/Shanghai\",\n  \"Asia/Hong Kong\",\n  \"Asia/Kuala Lumpur\",\n  \"Asia/Irkutsk\",\n  \"Asia/Singapore\",\n  \"Asia/Taipei\",\n  \"Asia/Ulaanbaatar\",\n  \"Australia/Perth\",\n  \"Asia/Yakutsk\",\n  \"Asia/Seoul\",\n  \"Asia/Tokyo\",\n  \"Australia/Darwin\",\n  \"Australia/Brisbane\",\n  \"Pacific/Pacific\",\n  \"Asia/Magadan\",\n  \"Asia/Vladivostok\",\n  \"Pacific/Port Moresby\",\n  \"Australia/Adelaide\",\n  \"Australia/Hobart\",\n  \"Australia/Sydney\",\n  \"Pacific/Guadalcanal\",\n  \"Pacific/Noumea\",\n  \"Pacific/Majuro\",\n  \"Asia/Kamchatka\",\n  \"Pacific/Auckland\",\n  \"Pacific/Fakaofo\",\n  \"Pacific/Fiji\",\n  \"Pacific/Tongatapu\",\n  \"Pacific/Apia\"\n];\nexport default timezones;\n","const meridians: Array<string> = [\n  \"AM\",\n  \"PM\"\n];\nexport default meridians;\n","\n  import Gifting_pricesListCard from \"@/components/subscriber/gifting/Gifting_PricesListCard.vue\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import Global_Select from \"@/components/global/Global_Select.vue\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import timezones from \"@/lib/timezones\";\n  import meridians from \"@/lib/meridians\";\n  import months from \"@/lib/months\";\n  import axios from \"axios\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RecipientInformation: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_prices-list-card\": Gifting_pricesListCard,\n      \"global_input\": Global_Input,\n      \"global_select\": Global_Select\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const setProperty = (property: string, data: LooseObject): void => {\n        store.commit(\"gift/setProperty\", {\n          property,\n          data\n        });\n      };\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        if (store.state.product.product_id === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/give`;\n        }\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        return product.value.prices.filter((o: ProductPrice) => {\n          return o.price_id === price_id.value;\n        })[0];\n      });\n\n      // Recipient Information\n      const giftee_first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_first_name;\n        },\n        set: (data) => {\n          setProperty(\"giftee_first_name\", data);\n        }\n      });\n\n      const giftee_last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_last_name;\n        },\n        set: (data) => {\n          setProperty(\"giftee_last_name\", data);\n        }\n      });\n\n      const giftee_email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.giftee_email;\n        },\n        set: (data) => {\n          setProperty(\"giftee_email\", data);\n        }\n      });\n\n      // Presenter Information\n      const gifter_first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_first_name;\n        },\n        set: (data) => {\n          setProperty(\"gifter_first_name\", data);\n        }\n      });\n\n      const gifter_last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_last_name;\n        },\n        set: (data) => {\n          setProperty(\"gifter_last_name\", data);\n        }\n      });\n\n      const gifter_email: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.gifter_email;\n        },\n        set: (data) => {\n          setProperty(\"gifter_email\", data);\n        }\n      });\n\n      const send_immediately: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.send_immediately;\n        },\n        set: (data) => {\n          setProperty(\"send_immediately\", data);\n        }\n      });\n\n      // Date\n      const send_date_day: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_day;\n        },\n        set: (data) => {\n          setProperty(\"send_date_day\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_month: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_month;\n        },\n        set: (data) => {\n          setProperty(\"send_date_month\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_year: WritableComputedRef<number> = computed({\n        get: () => {\n          return store.state.gift.send_date_year;\n        },\n        set: (data) => {\n          setProperty(\"send_date_year\", data);\n        }\n      });\n\n      const monthOptions: ComputedRef = computed(() => {\n        return months.map((m, i) => {\n          return {\n            label: m,\n            value: `${i + 1}`.padStart(2, \"0\")\n          };\n        });\n      });\n\n      const dayOptions: ComputedRef = computed(() => {\n        const DIM: number = new Date(send_date_year.value, send_date_month.value, 0).getDate();\n\n        const d: Array<{ label: string; value: string }> = [];\n        for (let i = 0; i < DIM; i++) {\n          d.push({\n            label: `${i + 1}`.padStart(2, \"0\"),\n            value: `${i + 1}`.padStart(2, \"0\")\n          });\n        }\n\n        return d;\n      });\n\n      const yearOptions: ComputedRef = computed(() => {\n        const d: number = new Date().getFullYear();\n\n        const y: Array<{ label: number; value: number }> = [];\n        for (let i: number = d; i < d + 5; i++) {\n          y.push({\n            label: i,\n            value: i\n          });\n        }\n\n        return y;\n      });\n\n      // Time\n      const timezoneOptions: ComputedRef = computed(() => {\n        return timezones.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const hourOptions: ComputedRef = computed(() => {\n        const h: Array<{ label: string; value: string }> = [];\n        for (let i = 1; i < 13; i++) {\n          h.push({\n            label: `${i}`.padStart(2, \"0\"),\n            value: `${i}`.padStart(2, \"0\")\n          });\n        }\n\n        return h;\n      });\n\n      const minuteOptions: ComputedRef = computed(() => {\n        const m: Array<{ label: string; value: string }> = [];\n        for (let i = 0; i < 60; i += 15) {\n          m.push({\n            label: `${i}`.padStart(2, \"0\"),\n            value: `${i}`.padStart(2, \"0\")\n          });\n        }\n\n        return m;\n      });\n\n      const meridianOptions: ComputedRef = computed(() => {\n        return meridians.map((m) => {\n          return {\n            label: m,\n            value: m\n          };\n        });\n      });\n\n      const send_timezone: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_timezone;\n        },\n        set: (data) => {\n          setProperty(\"send_timezone\", data);\n        }\n      });\n\n      const send_date_hour: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_hour;\n        },\n        set: (data) => {\n          setProperty(\"send_date_hour\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_minute: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_minute;\n        },\n        set: (data) => {\n          setProperty(\"send_date_minute\", data.padStart(2, \"0\"));\n        }\n      });\n\n      const send_date_meridian: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.send_date_meridian;\n        },\n        set: (data) => {\n          setProperty(\"send_date_meridian\", data);\n        }\n      });\n\n      const message: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.message;\n        },\n        set: (data) => {\n          setProperty(\"message\", data);\n        }\n      });\n\n      const tos: ComputedRef = computed({\n        get: () => {\n          return store.state.gift.tos;\n        },\n        set: (data) => {\n          setProperty(\"tos\", data);\n        }\n      });\n\n      const emailValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const emailValidation = async (): Promise<void> => {\n        emailValidationMessage.value.status = null;\n        emailValidationMessage.value.message = null;\n\n        return axios\n          .get(\"/api/apps/v3/users/exist\", {\n            withCredentials: true,\n            params: {\n              email: gifter_email.value\n            },\n            headers: {\n              \"account-id\": store.state.account.id\n            }\n          })\n          .then((response) => {\n            if (response.data.user === true && typeof store.state.user.id === \"undefined\") {\n              emailValidationMessage.value.status = \"error\";\n              emailValidationMessage.value.message = `An account with this email address already exists, <a href=\"/login?redirect_uri=${store.state.gift.giftingDirectory}/recipient_information\">please log in</a>.`;\n            }\n          });\n      };\n\n      const onCreateGift = async (): Promise<void> => {\n        await emailValidation();\n\n        if (emailValidationMessage.value.status === null) {\n          window.location.href = `${store.state.gift.giftingDirectory}/payment_information`;\n        }\n      };\n\n      const populateGifter = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          if (store.state.user.first_name !== null) {\n            setProperty(\"gifter_first_name\", store.state.user.first_name);\n          }\n\n          if (store.state.user.last_name !== null) {\n            setProperty(\"gifter_last_name\", store.state.user.last_name);\n          }\n\n          if (store.state.user.email !== null) {\n            setProperty(\"gifter_email\", store.state.user.email);\n          }\n        } else {\n          // Keep trying\n          setTimeout(populateGifter, 250);\n        }\n      };\n\n      populateGifter();\n\n      return {\n        product,\n        price,\n        price_id,\n        product_id,\n        giftee_first_name,\n        giftee_last_name,\n        giftee_email,\n        gifter_first_name,\n        gifter_last_name,\n        gifter_email,\n        send_immediately,\n        send_date_day,\n        send_date_month,\n        send_date_year,\n        send_date_hour,\n        send_date_meridian,\n        send_date_minute,\n        send_timezone,\n        monthOptions,\n        dayOptions,\n        yearOptions,\n        timezoneOptions,\n        meridianOptions,\n        hourOptions,\n        minuteOptions,\n        message,\n        tos,\n        onCreateGift,\n        emailValidationMessage,\n        emailValidation,\n        user\n      };\n    }\n  });\n\n  export default Gifting_RecipientInformation;\n","import { render } from \"./Gifting_RecipientInformation.vue?vue&type=template&id=d21d8038&bindings={}\"\nimport script from \"./Gifting_RecipientInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_RecipientInformation.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"product.prices.length > 0\"\n       :id=\"product.product_id\"\n       :class=\"{ active: tmpProduct_id === product.product_id }\"\n       class=\"card selectable\"\n       style=\"cursor: pointer\"\n  >\n    <span class=\"card-content\">\n      <span class=\"card-title\">{{ product.title }}</span>\n\n      <span v-if=\"product.description\"\n            class=\"card-description\"\n      >{{ product.description }}\n      </span>\n\n      <span class=\"card-price\">Starting at ${{ formatCurrency(getCheapestprice(product).amount) }}\n        <sup>*</sup>\n      </span>\n    </span>\n\n    <template v-if=\"single === false\">\n      <i class=\"fa fa-chevron-right\" />\n    </template>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_productsListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"single\": {\n        type: Boolean,\n        required: true\n      },\n      \"tmpProduct_id\": {\n        type: Number,\n        required: false,\n        default: null\n      },\n      \"isCurrentPlan\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const getCheapestprice = (product: Product): ProductPrice => {\n        return product.prices\n          .filter((p: ProductPrice) => {\n            return p.visible === true;\n          })\n          .sort(function(a, b) {\n            return a.amount - b.amount;\n          })[0];\n      };\n\n      const onProductSelect = (n: number): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"product_id\",\n          data: n\n        });\n      };\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        product_id,\n        onProductSelect,\n        getCheapestprice,\n        formatCurrency\n      };\n    }\n  });\n\n  export default Gifting_productsListCard;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_productsListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"single\": {\n        type: Boolean,\n        required: true\n      },\n      \"tmpProduct_id\": {\n        type: Number,\n        required: false,\n        default: null\n      },\n      \"isCurrentPlan\": {\n        type: Boolean,\n        required: false,\n        default: false\n      }\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const getCheapestprice = (product: Product): ProductPrice => {\n        return product.prices\n          .filter((p: ProductPrice) => {\n            return p.visible === true;\n          })\n          .sort(function(a, b) {\n            return a.amount - b.amount;\n          })[0];\n      };\n\n      const onProductSelect = (n: number): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"product_id\",\n          data: n\n        });\n      };\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        product_id,\n        onProductSelect,\n        getCheapestprice,\n        formatCurrency\n      };\n    }\n  });\n\n  export default Gifting_productsListCard;\n","import { render } from \"./Gifting_ProductsListCard.vue?vue&type=template&id=5d3cda12&bindings={}\"\nimport script from \"./Gifting_ProductsListCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_ProductsListCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"product_id === null\"\n       class=\"inner tabbed_content\"\n  >\n    <section class=\"text\">\n      <h2>Select a Gift Subscription</h2>\n      <div v-if=\"products.length\"\n           class=\"cards\"\n      >\n        <gifting_products-list-card v-for=\"(product, i) in products\"\n                                    :key=\"i\"\n                                    :product=\"product\"\n                                    :single=\"false\"\n                                    :tmp-product_id=\"tmpProduct_id\"\n                                    @click.prevent=\"onProductSelect(product.product_id)\"\n        />\n      </div>\n\n      <p class=\"sub-text\">\n        <sup>*</sup>\n        plus applicable taxes.\n      </p>\n\n      <div class=\"action-btns\">\n        <button :disabled=\"tmpProduct_id !== null ? false : 'disabled'\"\n                style=\"margin: auto\"\n                @click.prevent=\"onContinue\"\n        >\n          Select a Gift Subscription\n        </button>\n      </div>\n    </section>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_ProductsListCard from \"@/components/subscriber/gifting/Gifting_ProductsListCard.vue\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_ProductsList: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_products-list-card\": Gifting_ProductsListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      let tmpProduct_id: Ref = ref(parseInt(store.state.product.product_id));\n\n      const products: ComputedRef = computed(() => {\n        const products: Array<Product> = store.state.product.products.gift.filter((p: Product) => {\n          const prices: Array<ProductPrice> = p.prices.filter((pp: ProductPrice) => {\n            return pp.visible;\n          });\n          return prices.length > 0;\n        });\n\n        if (products.length === 1) {\n          store.commit(\"product/setProperty\", {\n            property: \"product_id\",\n            data: products[0].product_id\n          });\n        }\n\n        return products;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const onProductSelect = (n: number): void => {\n        tmpProduct_id.value = n;\n      };\n\n      const onContinue = (): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"product_id\",\n          data: tmpProduct_id.value\n        });\n      };\n\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 500);\n        }\n      };\n\n      loadProducts();\n\n      return {\n        products,\n        product_id,\n        tmpProduct_id,\n        onProductSelect,\n        onContinue\n      };\n    }\n  });\n\n  export default Gifting_ProductsList;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Gifting_ProductsListCard from \"@/components/subscriber/gifting/Gifting_ProductsListCard.vue\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_ProductsList: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_products-list-card\": Gifting_ProductsListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      let tmpProduct_id: Ref = ref(parseInt(store.state.product.product_id));\n\n      const products: ComputedRef = computed(() => {\n        const products: Array<Product> = store.state.product.products.gift.filter((p: Product) => {\n          const prices: Array<ProductPrice> = p.prices.filter((pp: ProductPrice) => {\n            return pp.visible;\n          });\n          return prices.length > 0;\n        });\n\n        if (products.length === 1) {\n          store.commit(\"product/setProperty\", {\n            property: \"product_id\",\n            data: products[0].product_id\n          });\n        }\n\n        return products;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const onProductSelect = (n: number): void => {\n        tmpProduct_id.value = n;\n      };\n\n      const onContinue = (): void => {\n        store.commit(\"product/setProperty\", {\n          property: \"product_id\",\n          data: tmpProduct_id.value\n        });\n      };\n\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 500);\n        }\n      };\n\n      loadProducts();\n\n      return {\n        products,\n        product_id,\n        tmpProduct_id,\n        onProductSelect,\n        onContinue\n      };\n    }\n  });\n\n  export default Gifting_ProductsList;\n","import { render } from \"./Gifting_ProductsList.vue?vue&type=template&id=3d9ced1a&bindings={}\"\nimport script from \"./Gifting_ProductsList.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_ProductsList.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <!-- If verification has not been performed -->\n    <div v-if=\"isVerified === false\">\n      <p>Loading...</p>\n    </div>\n\n    <!-- If verification has been performed -->\n    <div v-if=\"isVerified === true\">\n      <!-- If redemption code is not valid -->\n      <div v-if=\"isValid === false\">\n        <p class=\"error\">\n          Looks like this redemption code is not valid. If you believe this is an error, please\n          <a href=\"mailto:support@crunchplus.com\">contact us</a>\n        </p>\n      </div>\n\n      <!-- If redemption has been redeemed -->\n      <div v-if=\"redeemed_at !== null\">\n        <p class=\"error\">\n          Looks like this gift has been redeemed. If you believe this is an error, please\n          <a href=\"mailto:support@crunchplus.com\">contact us</a>\n        </p>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosResponse } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Redeem: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const isValid: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isValid;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isValid\",\n            data: n\n          });\n        }\n      });\n\n      const isVerified: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isVerified;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isVerified\",\n            data: n\n          });\n        }\n      });\n\n      const redeemed_at: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.redeemed_at;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"redeemed_at\",\n            data: n\n          });\n        }\n      });\n\n      const redemption_code: ComputedRef = computed(() => {\n        return store.state.gift.redemption_code;\n      });\n\n      const loadAndValidate = (): void => {\n        // Check that account information has been populated\n        if (typeof store.state.account.id !== \"undefined\") {\n          // Set validation and verification values to false\n          isValid.value = false;\n          isVerified.value = false;\n\n          // Verify\n          axios\n            .get(\"/api/apps/v3/gifts/verify\", {\n              withCredentials: true,\n              params: {\n                redemption_code: redemption_code.value\n              }\n            })\n            .then((response: AxiosResponse) => {\n              // Set verification status to true\n              isVerified.value = true;\n\n              // Set redemption code validation status\n              if (typeof response.data.gift === \"undefined\") {\n                isValid.value = false;\n              } else {\n                isValid.value = true;\n\n                // iterate through the gift data and populate the store\n                for (let i in response.data.gift) {\n                  let module = \"\";\n                  switch (i) {\n                    case \"price_id\":\n                    case \"product_id\":\n                      module = \"product\";\n                      break;\n                    default:\n                      module = \"gift\";\n                      break;\n                  }\n\n                  store.commit(`${module}/setProperty`, {\n                    property: i,\n                    data: response.data.gift[i]\n                  });\n                }\n\n                // If gift hasn't been redeemed yet\n                if (store.state.gift.redeemed_at === null) {\n                  // If user is logged in, redirect to activation\n                  if (typeof user.value.id !== \"undefined\" && typeof user.value.id !== \"undefined\") {\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/activate`;\n                    }, 500);\n                  }\n\n                  // If user is not logged in and there is no gift user\n                  // Pre-populate new user info and redirect to sign up\n                  if (typeof user.value.id === \"undefined\" && store.state.gift.giftee_id === null) {\n                    store.commit(\"setProperty\", {\n                      property: \"user\",\n                      data: {\n                        first_name: store.state.gift.giftee_first_name,\n                        last_name: store.state.gift.giftee_last_name,\n                        email: store.state.gift.giftee_email\n                      }\n                    });\n\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/create_account`;\n                    }, 500);\n                  }\n\n                  // If user is not logged in and there is a gift user\n                  if (typeof user.value.id === \"undefined\" && store.state.gift.giftee_id !== null) {\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/login`;\n                    }, 500);\n                  }\n                }\n              }\n            })\n            .catch((error) => {\n              console.log(error);\n            });\n        } else {\n          setTimeout(loadAndValidate, 500);\n        }\n      };\n\n      // Set redemption code\n      store.commit(\"gift/setProperty\", {\n        property: \"redemption_code\",\n        data: new URLSearchParams(window.location.search).get(\"redemption_code\")\n      });\n\n      // Validate redemption code and load products\n      loadAndValidate();\n\n      return {\n        isValid,\n        redeemed_at,\n        isVerified\n      };\n    }\n  });\n\n  export default Gifting_Redeem;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios, { AxiosResponse } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Redeem: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const isValid: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isValid;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isValid\",\n            data: n\n          });\n        }\n      });\n\n      const isVerified: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isVerified;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isVerified\",\n            data: n\n          });\n        }\n      });\n\n      const redeemed_at: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.gift.redeemed_at;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"redeemed_at\",\n            data: n\n          });\n        }\n      });\n\n      const redemption_code: ComputedRef = computed(() => {\n        return store.state.gift.redemption_code;\n      });\n\n      const loadAndValidate = (): void => {\n        // Check that account information has been populated\n        if (typeof store.state.account.id !== \"undefined\") {\n          // Set validation and verification values to false\n          isValid.value = false;\n          isVerified.value = false;\n\n          // Verify\n          axios\n            .get(\"/api/apps/v3/gifts/verify\", {\n              withCredentials: true,\n              params: {\n                redemption_code: redemption_code.value\n              }\n            })\n            .then((response: AxiosResponse) => {\n              // Set verification status to true\n              isVerified.value = true;\n\n              // Set redemption code validation status\n              if (typeof response.data.gift === \"undefined\") {\n                isValid.value = false;\n              } else {\n                isValid.value = true;\n\n                // iterate through the gift data and populate the store\n                for (let i in response.data.gift) {\n                  let module = \"\";\n                  switch (i) {\n                    case \"price_id\":\n                    case \"product_id\":\n                      module = \"product\";\n                      break;\n                    default:\n                      module = \"gift\";\n                      break;\n                  }\n\n                  store.commit(`${module}/setProperty`, {\n                    property: i,\n                    data: response.data.gift[i]\n                  });\n                }\n\n                // If gift hasn't been redeemed yet\n                if (store.state.gift.redeemed_at === null) {\n                  // If user is logged in, redirect to activation\n                  if (typeof user.value.id !== \"undefined\" && typeof user.value.id !== \"undefined\") {\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/activate`;\n                    }, 500);\n                  }\n\n                  // If user is not logged in and there is no gift user\n                  // Pre-populate new user info and redirect to sign up\n                  if (typeof user.value.id === \"undefined\" && store.state.gift.giftee_id === null) {\n                    store.commit(\"setProperty\", {\n                      property: \"user\",\n                      data: {\n                        first_name: store.state.gift.giftee_first_name,\n                        last_name: store.state.gift.giftee_last_name,\n                        email: store.state.gift.giftee_email\n                      }\n                    });\n\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/create_account`;\n                    }, 500);\n                  }\n\n                  // If user is not logged in and there is a gift user\n                  if (typeof user.value.id === \"undefined\" && store.state.gift.giftee_id !== null) {\n                    setTimeout(() => {\n                      window.location.href = `${store.state.gift.giftingDirectory}/redeem/login`;\n                    }, 500);\n                  }\n                }\n              }\n            })\n            .catch((error) => {\n              console.log(error);\n            });\n        } else {\n          setTimeout(loadAndValidate, 500);\n        }\n      };\n\n      // Set redemption code\n      store.commit(\"gift/setProperty\", {\n        property: \"redemption_code\",\n        data: new URLSearchParams(window.location.search).get(\"redemption_code\")\n      });\n\n      // Validate redemption code and load products\n      loadAndValidate();\n\n      return {\n        isValid,\n        redeemed_at,\n        isVerified\n      };\n    }\n  });\n\n  export default Gifting_Redeem;\n","import { render } from \"./Gifting_Redeem.vue?vue&type=template&id=ecb1f3ba&bindings={}\"\nimport script from \"./Gifting_Redeem.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_Redeem.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <!-- If verification has not been performed -->\n    <div v-if=\"isVerified === false\">\n      <p>Loading...</p>\n    </div>\n\n    <!-- If verification has been performed -->\n    <div v-if=\"isVerified === true\">\n      <!-- If redemption code is not valid -->\n      <div v-if=\"isValid === false\">\n        <p class=\"error\">\n          Looks like this redemption code is not valid. If you believe this is an error, please\n          <a href=\"mailto:support@crunchplus.com\">contact us</a>\n        </p>\n      </div>\n\n      <!-- If redemption code is valid -->\n      <div v-if=\"isValid === true && user !== null\">\n        <div class=\"text-section align-center\">\n          <p>Hi {{ user.first_name }}! Here is the gift for you to activate.</p>\n        </div>\n\n        <!-- If code has been redeemed -->\n        <div v-if=\"isRedeemed === true\"\n             class=\"error\"\n        >\n          <p>\n            Looks like this gift has already been redeemed. If you believe this is an error, please\n            <a href=\"mailto:support@crunchplus.com\">contact us</a>\n          </p>\n        </div>\n\n        <!-- If code has not been redeemed -->\n        <div v-if=\"isRedeemed !== true\">\n          <!-- If prices are loading -->\n          <div v-if=\"price === null\">\n            <p>Loading...</p>\n          </div>\n\n          <!-- If prices have been loaded and filtered -->\n          <div v-if=\"price !== null\">\n            <!-- If a user had existing subscriptions but they're not allowed -->\n            <div v-if=\"hasDisallowedGiftedSubscription\"\n                 class=\"error\"\n            >\n              We're sorry, we can't apply this gift to any of your current subscriptions.\n              <a href=\"mailto:support@crunchplus.com\">Contact Us</a>\n              to find out your options.\n            </div>\n\n            <!-- If a user has existing subscriptions but not the gifted subscription -->\n            <div v-if=\"hasAllowedSubscriptions && !hasAllowedGiftedSubscription && !hasDisallowedGiftedSubscription\"\n                 class=\"error\"\n            >\n              Heads up! We can't apply this gift to any of your current subscriptions. Activating this\n              gift will create a new subscription under your account.\n            </div>\n\n            <div class=\"redeem-available-gift\">\n              <h2>Available Gift</h2>\n              <div class=\"cards\">\n                <gifting_redeem-price-card :price=\"price\"\n                                           :user-subscription=\"allowedUserProduct\"\n                />\n              </div>\n            </div>\n\n            <div v-if=\"hasAllowedSubscriptions || hasDisallowedSubscriptions\">\n              <h2>Your Active Subscriptions</h2>\n\n              <!-- If a user had existing subscriptions but they're not allowed -->\n              <div v-if=\"hasDisallowedGiftedSubscription\"\n                   class=\"redeem-current-sub\"\n              >\n                <p>\n                  We're sorry, we can't apply this gift to any of your current subscriptions.\n                  <a href=\"mailto:support@crunchplus.com\">Contact Us</a>\n                  to find out your options.\n                </p>\n              </div>\n\n              <!-- If a user has existing subscriptions but not the gifted subscription -->\n              <div v-if=\"hasAllowedSubscriptions && !hasAllowedGiftedSubscription && !hasDisallowedGiftedSubscription\"\n                   class=\"redeem-current-sub\"\n              >\n                <p>\n                  Heads up! We can't apply this gift to any of your current subscriptions. Activating this gift will\n                  create a new subscription under your account.\n                </p>\n              </div>\n\n              <div v-if=\"hasAllowedGiftedSubscription\"\n                   class=\"redeem-current-sub\"\n              >\n                <p>\n                  By adding\n                  <strong>{{ addedSubDate.dateString }}</strong>\n                  to your current subscription, you will not be billed until\n                  <strong> {{ addedSubDate.dateFormatted }}</strong>\n                  .\n                </p>\n              </div>\n\n              <div class=\"cards\">\n                <gifting_redeem-product-card v-for=\"u in userSubscriptions\"\n                                             :key=\"u.product_id\"\n                                             :is-active=\"allowedUserProduct !== null && allowedUserProduct.product_id === u.product_id\"\n                                             :price=\"price\"\n                                             :product=\"u\"\n                />\n              </div>\n            </div>\n\n            <div v-if=\"!hasDisallowedGiftedSubscription\"\n                 class=\"action-btns\"\n            >\n              <button @click.prevent=\"onActivate\">\n                Activate My Gift\n              </button>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Gifting_RedeemPriceCard from \"@/components/subscriber/gifting/Gifting_RedeemPriceCard.vue\";\n  import Gifting_RedeemProductCard from \"@/components/subscriber/gifting/Gifting_RedeemProductCard.vue\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Activate: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_redeem-price-card\": Gifting_RedeemPriceCard,\n      \"gifting_redeem-product-card\": Gifting_RedeemProductCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const allowedSrcSystems: Array<string> = [\n        \"authorize.net\",\n        \"stripe\"\n      ];\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const isValid: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isValid;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isValid\",\n            data: n\n          });\n        }\n      });\n\n      const isVerified: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isVerified;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isVerified\",\n            data: n\n          });\n        }\n      });\n\n      const isRedeemed: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isRedeemed;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isRedeemed\",\n            data: n\n          });\n        }\n      });\n\n      const redemption_code: ComputedRef = computed(() => {\n        return store.state.gift.redemption_code;\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          return product.value.prices.filter((o: ProductPrice) => {\n            return o.price_id === price_id.value;\n          })[0];\n        } else {\n          return null;\n        }\n      });\n\n      const userSubscriptions: ComputedRef = computed(() => {\n        return store.state.subscriptions;\n      });\n\n      const allowedUserProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value && allowedSrcSystems.indexOf(o.src_system) > -1;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const disallowedUserProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value && allowedSrcSystems.indexOf(o.src_system) === -1;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const allowedSubscriptions: ComputedRef = computed(() => {\n        if (typeof store.state.subscriptions !== \"undefined\") {\n          const s: Array<Product> = store.state.subscriptions.filter((s: Product) => {\n            return allowedSrcSystems.indexOf(s.src_system) > -1;\n          });\n\n          if (typeof s === \"undefined\") {\n            return [];\n          }\n\n          return s;\n        }\n\n        return [];\n      });\n\n      const disallowedSubscriptions: ComputedRef = computed(() => {\n        const s: Array<Product> = store.state.subscriptions.filter((s: Product) => {\n          return allowedSrcSystems.indexOf(s.src_system) === -1;\n        });\n\n        if (typeof s === \"undefined\") {\n          return [];\n        }\n\n        return s;\n      });\n\n      const addedSubDate: ComputedRef = computed(() => {\n        if (allowedUserProduct.value !== null) {\n          const pl: string = parseInt(price.value.duration.split(\" \")[0]) > 1 ? \"s\" : \"\";\n\n          return {\n            dateString: `${price.value.duration.split(\" \")[0]} free month${pl}`,\n            dateFormatted: dayjs(allowedUserProduct.value.next_bill_date)\n              .add(price.value.duration.split(\" \")[0], price.value.duration.split(\" \")[1])\n              .format(\"MM/DD/YYYY\")\n          };\n        } else {\n          return null;\n        }\n      });\n\n      const onActivate = (): void => {\n        axios\n          .post(\n            \"/api/apps/v3/gifts/redeem\",\n            {\n              redemption_code: store.state.gift.redemption_code\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            if (response.data.redeemed === true) {\n              setTimeout(() => {\n                window.location.href = `${store.state.gift.giftingDirectory}/redeem/active`;\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n          });\n      };\n\n      const hasAllowedSubscriptions: ComputedRef = computed(() => {\n        return allowedSubscriptions.value.length > 0;\n      });\n\n      const hasDisallowedSubscriptions: ComputedRef = computed(() => {\n        return disallowedSubscriptions.value.length > 0;\n      });\n\n      const hasAllowedGiftedSubscription: ComputedRef = computed(() => {\n        return allowedUserProduct.value !== null;\n      });\n\n      const hasDisallowedGiftedSubscription: ComputedRef = computed(() => {\n        return disallowedUserProduct.value !== null;\n      });\n\n      // Load initial set of gifts\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      // Load user's subscriptions\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        redemption_code,\n        product,\n        price,\n        onActivate,\n        isValid,\n        isRedeemed,\n        isVerified,\n        allowedSubscriptions,\n        disallowedSubscriptions,\n        userSubscriptions,\n        allowedUserProduct,\n        disallowedUserProduct,\n        addedSubDate,\n        user,\n        hasAllowedSubscriptions,\n        hasDisallowedSubscriptions,\n        hasAllowedGiftedSubscription,\n        hasDisallowedGiftedSubscription\n      };\n    }\n  });\n\n  export default Gifting_Activate;\n</script>\n","<template>\n  <div :id=\"price.price_id\"\n       class=\"active card\"\n  >\n    <div class=\"card-content\">\n      <div class=\"card-title\">\n        {{ price.title }}\n      </div>\n\n      <div v-if=\"price.description\"\n           class=\"card-description\"\n      >\n        {{ price.description }}\n      </div>\n\n      <div class=\"card-bill-date\">\n        You will have access until: {{ accessDate }}\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RedeemPriceCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"price\": {\n        type: Number,\n        required: true\n      },\n      \"userSubscription\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const accessDate: ComputedRef = computed(() => {\n        if (props.userSubscription) {\n          // existing subscription first\n          return dayjs(props.userSubscription.next_bill_date)\n            .add(props.price.duration.split(\" \")[0], props.price.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return dayjs()\n            .add(props.price.duration.split(\" \")[0], props.price.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        }\n      });\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        formatCurrency,\n        accessDate\n      };\n    }\n  });\n\n  export default Gifting_RedeemPriceCard;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RedeemPriceCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"price\": {\n        type: Number,\n        required: true\n      },\n      \"userSubscription\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const accessDate: ComputedRef = computed(() => {\n        if (props.userSubscription) {\n          // existing subscription first\n          return dayjs(props.userSubscription.next_bill_date)\n            .add(props.price.duration.split(\" \")[0], props.price.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return dayjs()\n            .add(props.price.duration.split(\" \")[0], props.price.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        }\n      });\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        formatCurrency,\n        accessDate\n      };\n    }\n  });\n\n  export default Gifting_RedeemPriceCard;\n","import { render } from \"./Gifting_RedeemPriceCard.vue?vue&type=template&id=7d9cd080&bindings={}\"\nimport script from \"./Gifting_RedeemPriceCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_RedeemPriceCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div :id=\"product.product_id\"\n       :class=\"{ active: isActive }\"\n       class=\"card\"\n  >\n    <div class=\"card-content\">\n      <div class=\"card-title\">\n        {{ product.title }}\n        <span v-if=\"isActive\"\n              class=\"tag\"\n        >Current Plan\n        </span>\n      </div>\n\n      <div v-if=\"product.description\"\n           class=\"card-description\"\n      >\n        {{ product.description }}\n      </div>\n\n      <div v-if=\"nextBillingDate !== false\"\n           class=\"card-bill-date\"\n      >\n        Next Bill Date: {{ nextBillingDate }}\n      </div>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RedeemProductCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"price\": {\n        type: Number,\n        required: true\n      },\n      \"isActive\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup(props) {\n      const nextBillingDate: ComputedRef = computed(() => {\n        if (props.product.value.next_bill_date !== null) {\n          return dayjs(props.product.value.next_bill_date)\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return false;\n        }\n      });\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        formatCurrency,\n        nextBillingDate\n      };\n    }\n  });\n\n  export default Gifting_RedeemProductCard;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_RedeemProductCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"product\": {\n        type: Object,\n        required: true\n      },\n      \"price\": {\n        type: Number,\n        required: true\n      },\n      \"isActive\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup(props) {\n      const nextBillingDate: ComputedRef = computed(() => {\n        if (props.product.value.next_bill_date !== null) {\n          return dayjs(props.product.value.next_bill_date)\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return false;\n        }\n      });\n\n      const formatCurrency = (n: number): number => {\n        return n / 100;\n      };\n\n      return {\n        formatCurrency,\n        nextBillingDate\n      };\n    }\n  });\n\n  export default Gifting_RedeemProductCard;\n","import { render } from \"./Gifting_RedeemProductCard.vue?vue&type=template&id=8a2b77a2&bindings={}\"\nimport script from \"./Gifting_RedeemProductCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_RedeemProductCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Gifting_RedeemPriceCard from \"@/components/subscriber/gifting/Gifting_RedeemPriceCard.vue\";\n  import Gifting_RedeemProductCard from \"@/components/subscriber/gifting/Gifting_RedeemProductCard.vue\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Activate: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_redeem-price-card\": Gifting_RedeemPriceCard,\n      \"gifting_redeem-product-card\": Gifting_RedeemProductCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const allowedSrcSystems: Array<string> = [\n        \"authorize.net\",\n        \"stripe\"\n      ];\n\n      const user: ComputedRef = computed(() => {\n        return store.state.user;\n      });\n\n      const isValid: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isValid;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isValid\",\n            data: n\n          });\n        }\n      });\n\n      const isVerified: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isVerified;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isVerified\",\n            data: n\n          });\n        }\n      });\n\n      const isRedeemed: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.gift.isRedeemed;\n        },\n        set: (n) => {\n          store.commit(\"gift/setProperty\", {\n            property: \"isRedeemed\",\n            data: n\n          });\n        }\n      });\n\n      const redemption_code: ComputedRef = computed(() => {\n        return store.state.gift.redemption_code;\n      });\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          return product.value.prices.filter((o: ProductPrice) => {\n            return o.price_id === price_id.value;\n          })[0];\n        } else {\n          return null;\n        }\n      });\n\n      const userSubscriptions: ComputedRef = computed(() => {\n        return store.state.subscriptions;\n      });\n\n      const allowedUserProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value && allowedSrcSystems.indexOf(o.src_system) > -1;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const disallowedUserProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value && allowedSrcSystems.indexOf(o.src_system) === -1;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const allowedSubscriptions: ComputedRef = computed(() => {\n        if (typeof store.state.subscriptions !== \"undefined\") {\n          const s: Array<Product> = store.state.subscriptions.filter((s: Product) => {\n            return allowedSrcSystems.indexOf(s.src_system) > -1;\n          });\n\n          if (typeof s === \"undefined\") {\n            return [];\n          }\n\n          return s;\n        }\n\n        return [];\n      });\n\n      const disallowedSubscriptions: ComputedRef = computed(() => {\n        const s: Array<Product> = store.state.subscriptions.filter((s: Product) => {\n          return allowedSrcSystems.indexOf(s.src_system) === -1;\n        });\n\n        if (typeof s === \"undefined\") {\n          return [];\n        }\n\n        return s;\n      });\n\n      const addedSubDate: ComputedRef = computed(() => {\n        if (allowedUserProduct.value !== null) {\n          const pl: string = parseInt(price.value.duration.split(\" \")[0]) > 1 ? \"s\" : \"\";\n\n          return {\n            dateString: `${price.value.duration.split(\" \")[0]} free month${pl}`,\n            dateFormatted: dayjs(allowedUserProduct.value.next_bill_date)\n              .add(price.value.duration.split(\" \")[0], price.value.duration.split(\" \")[1])\n              .format(\"MM/DD/YYYY\")\n          };\n        } else {\n          return null;\n        }\n      });\n\n      const onActivate = (): void => {\n        axios\n          .post(\n            \"/api/apps/v3/gifts/redeem\",\n            {\n              redemption_code: store.state.gift.redemption_code\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            if (response.data.redeemed === true) {\n              setTimeout(() => {\n                window.location.href = `${store.state.gift.giftingDirectory}/redeem/active`;\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n          });\n      };\n\n      const hasAllowedSubscriptions: ComputedRef = computed(() => {\n        return allowedSubscriptions.value.length > 0;\n      });\n\n      const hasDisallowedSubscriptions: ComputedRef = computed(() => {\n        return disallowedSubscriptions.value.length > 0;\n      });\n\n      const hasAllowedGiftedSubscription: ComputedRef = computed(() => {\n        return allowedUserProduct.value !== null;\n      });\n\n      const hasDisallowedGiftedSubscription: ComputedRef = computed(() => {\n        return disallowedUserProduct.value !== null;\n      });\n\n      // Load initial set of gifts\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      // Load user's subscriptions\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        redemption_code,\n        product,\n        price,\n        onActivate,\n        isValid,\n        isRedeemed,\n        isVerified,\n        allowedSubscriptions,\n        disallowedSubscriptions,\n        userSubscriptions,\n        allowedUserProduct,\n        disallowedUserProduct,\n        addedSubDate,\n        user,\n        hasAllowedSubscriptions,\n        hasDisallowedSubscriptions,\n        hasAllowedGiftedSubscription,\n        hasDisallowedGiftedSubscription\n      };\n    }\n  });\n\n  export default Gifting_Activate;\n","import { render } from \"./Gifting_Activate.vue?vue&type=template&id=8db64ad0&bindings={}\"\nimport script from \"./Gifting_Activate.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_Activate.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <div v-if=\"price !== null && userProduct !== null\">\n      <p>\n        Your\n        <strong>{{ price.title }}</strong>\n        gift was successfully added to your {{ userProduct.title }} subscription! You will not be billed until\n        <strong>{{ expiration }}</strong>\n        .\n      </p>\n\n      <div v-if=\"userProduct !== null\">\n        <h2>Your Active Subscription</h2>\n        <div class=\"cards\">\n          <gifting_redeem-product-card :is-activated=\"true\"\n                                       :price=\"price\"\n                                       :product=\"userProduct\"\n          />\n        </div>\n      </div>\n    </div>\n  </div>\n  <div class=\"action-btns\">\n    <button @click=\"onSee\">\n      See What's New\n    </button>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import dayjs from \"dayjs\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Gifting_RedeemProductCard from \"@/components/subscriber/gifting/Gifting_RedeemProductCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Active: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_redeem-product-card\": Gifting_RedeemProductCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          return product.value.prices.filter((o: ProductPrice) => {\n            return o.price_id === price_id.value;\n          })[0];\n        } else {\n          return null;\n        }\n      });\n\n      const userProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const expiration: ComputedRef = computed(() => {\n        if (userProduct.value.next_bill_date !== null) {\n          return dayjs(userProduct.value.next_bill_date)\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return dayjs()\n            .add(price.value.duration.split(\" \")[0], price.value.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        }\n      });\n\n      const onSee = (): void => {\n        setTimeout(() => {\n          window.location.href = \"/categories\";\n        }, 500);\n      };\n\n      // Load initial set of gifts\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      // Load user's subscriptions\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        price,\n        expiration,\n        userProduct,\n        onSee\n      };\n    }\n  });\n\n  export default Gifting_Active;\n</script>\n","\n  import dayjs from \"dayjs\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Product from \"@/interfaces/Product\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import Gifting_RedeemProductCard from \"@/components/subscriber/gifting/Gifting_RedeemProductCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Gifting_Active: Component<LooseObject> = defineComponent({\n    components: {\n      \"gifting_redeem-product-card\": Gifting_RedeemProductCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const price_id: ComputedRef = computed(() => {\n        return store.state.product.price_id;\n      });\n\n      const product_id: ComputedRef = computed(() => {\n        return store.state.product.product_id;\n      });\n\n      const product: ComputedRef = computed(() => {\n        return store.state.product.products.gift.filter((o: Product) => {\n          return o.product_id === product_id.value;\n        })[0];\n      });\n\n      const price: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\") {\n          return product.value.prices.filter((o: ProductPrice) => {\n            return o.price_id === price_id.value;\n          })[0];\n        } else {\n          return null;\n        }\n      });\n\n      const userProduct: ComputedRef = computed(() => {\n        if (typeof product.value !== \"undefined\" && store.state.subscriptions !== null) {\n          let p: Product = store.state.subscriptions.find((o: Product) => {\n            return o.product_id === product_id.value;\n          });\n          if (typeof p === \"undefined\") {\n            return null;\n          }\n          return p;\n        } else {\n          return null;\n        }\n      });\n\n      const expiration: ComputedRef = computed(() => {\n        if (userProduct.value.next_bill_date !== null) {\n          return dayjs(userProduct.value.next_bill_date)\n            .format(\"MM/DD/YYYY\");\n        } else {\n          return dayjs()\n            .add(price.value.duration.split(\" \")[0], price.value.duration.split(\" \")[1])\n            .format(\"MM/DD/YYYY\");\n        }\n      });\n\n      const onSee = (): void => {\n        setTimeout(() => {\n          window.location.href = \"/categories\";\n        }, 500);\n      };\n\n      // Load initial set of gifts\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"gift\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      // Load user's subscriptions\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        price,\n        expiration,\n        userProduct,\n        onSee\n      };\n    }\n  });\n\n  export default Gifting_Active;\n","import { render } from \"./Gifting_Active.vue?vue&type=template&id=2aa129cd&bindings={}\"\nimport script from \"./Gifting_Active.vue?vue&type=script&lang=ts\"\nexport * from \"./Gifting_Active.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <section class=\"schedule\">\n    <section class=\"nu-slider\">\n      <div class=\"calendar\">\n        <div class=\"calendar-header\">\n          <p class=\"date-range\">\n            <span>{{ weekDates[0].format(\"MMMM DD\") }} - {{ weekDates[6].format(\"MMMM DD\") }}\n              <span class=\"year\">{{ weekDates[0].format(\"YYYY\") }}</span>\n            </span>\n          </p>\n          <span v-if=\"weekIndex > 0\"\n                class=\"nav-arrow fa fa-chevron-left left\"\n                @click=\"onPrevWeek\"\n          />\n          <span class=\"nav-arrow fa fa-chevron-right right\"\n                @click=\"onNextWeek\"\n          />\n        </div>\n\n        <ul class=\"nu-list week-calendar\">\n          <li v-for=\"(day, index) in weekDates\"\n              :key=\"index\"\n              :class=\"{\n                'selected-day': selectedDate.format('YYYY-MM-DD') === day.format('YYYY-MM-DD'),\n                'event-tagged': liveStreamDayArray && liveStreamDayArray[day.format('D')],\n              }\"\n          >\n            <p>\n              <a @click=\"onDateSelect(day)\">\n                <span class=\"day\">{{ day.format(\"dd\") }}</span>\n                <span class=\"date\">{{ day.format(\"DD\") }}</span>\n              </a>\n            </p>\n          </li>\n        </ul>\n      </div>\n    </section>\n  </section>\n</template>\n\n<style lang=\"scss\" scoped>\n\n  .nu-list {\n    li {\n      &.event-tagged {\n        position: relative;\n        &::after {\n          background-color: #ee3238;\n          content: '';\n          width: 0.32em;\n          height: 0.32em;\n          border-radius: 50%;\n          position: absolute;\n          bottom: -8px;\n        }\n      }\n      &.selected-day {\n        padding: 3px;\n        background-color: #ee3238;\n        p {\n          a {\n            .day, .date {\n              color: #fff;\n            }\n          }\n        }\n        &:hover {\n          background-color: #ee3238;\n        }\n      }\n    }\n  }\n\n</style>\n\n<script lang=\"ts\">\n  import dayjs, { Dayjs } from \"dayjs\";\n  import { Store, useStore } from \"vuex\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import utc from \"dayjs/plugin/utc\";\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, onMounted, watch } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_Calendar: Component<LooseObject> = defineComponent({\n    name: \"LivestreamCalendar\",\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const store: Store<LooseObject> = useStore();\n      const today: Ref<Dayjs> = ref(dayjs());\n      const weekIndex: Ref = ref<number>(0);\n      const weekDates: Ref<Array<Dayjs>> = ref([]);\n\n      const selectedDate: ComputedRef = computed(() => store.state.livestream.selectedDate);\n      const liveStreamDayArray: ComputedRef = computed(() => {\n        const tempObj = store.state.livestream.livestreamCustomPeriodData?.reduce((acc: any, curr: any) => {\n          acc[dayjs(curr.ext_data.live_starts_at).format('D')] = true;\n          return acc;\n        }, {});\n        return tempObj;\n      });\n\n      const onDateSelect = (d: Dayjs): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"selectedDate\",\n          data: d\n        });\n        store.dispatch(\"livestream/loadLiveStreamsByDate\");\n      };\n\n      const onPrevWeek = (): void => {\n        weekIndex.value = weekIndex.value - 1;\n        if (weekIndex.value < 0) {\n          weekIndex.value = 1;\n        }\n        setWeekArray();\n      };\n\n      const onNextWeek = (): void => {\n        let wi: number = weekIndex.value;\n        weekIndex.value = wi + 1;\n\n        setWeekArray();\n      };\n\n      const setWeekArray = (): void => {\n        weekDates.value = [];\n        for (let i = 0; i < 7; i++) {\n          weekDates.value[i] = dayjs(today.value)\n            .add(i, \"day\")\n            .add(weekIndex.value, \"week\");\n        }\n      };\n\n      const loadData = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"getUserSubscriptions\");\n          store.dispatch(\"product/loadProducts\", \"subscription\");\n        } else {\n          setTimeout(loadData, 500);\n        }\n      };\n\n      const loadMyLivestreams = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"livestream/loadMyLiveStreams\");\n        } else {\n          setTimeout(loadData, 500);\n        }\n      };\n\n      store.commit(\"livestream/setProperty\", {\n        property: \"timezone\",\n        data: dayjs.tz.guess()\n      });\n\n      onMounted(() => {\n        setWeekArray();\n      });\n\n      watch(\n        () => [...weekDates.value], // the reactive property to watch\n        (newWeekDates, oldWeekDates) => {\n          const payload = {\n            date_from: newWeekDates[0]?.format('YYYY-MM-DD'),\n            date_to: newWeekDates[6]?.format('YYYY-MM-DD') \n          };\n          store.dispatch(\"livestream/fetchLiveStream\", payload);\n        },\n        { deep: true },\n      );\n\n\n      onDateSelect(today.value);\n\n      loadData();\n      loadMyLivestreams();\n\n      return {\n        today,\n        weekIndex,\n        weekDates,\n        selectedDate,\n        onDateSelect,\n        onPrevWeek,\n        onNextWeek,\n        liveStreamDayArray,\n      };\n    }\n  });\n\n  export default Livestream_Calendar;\n</script>\n","\n  import dayjs, { Dayjs } from \"dayjs\";\n  import { Store, useStore } from \"vuex\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import utc from \"dayjs/plugin/utc\";\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, onMounted, watch } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_Calendar: Component<LooseObject> = defineComponent({\n    name: \"LivestreamCalendar\",\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const store: Store<LooseObject> = useStore();\n      const today: Ref<Dayjs> = ref(dayjs());\n      const weekIndex: Ref = ref<number>(0);\n      const weekDates: Ref<Array<Dayjs>> = ref([]);\n\n      const selectedDate: ComputedRef = computed(() => store.state.livestream.selectedDate);\n      const liveStreamDayArray: ComputedRef = computed(() => {\n        const tempObj = store.state.livestream.livestreamCustomPeriodData?.reduce((acc: any, curr: any) => {\n          acc[dayjs(curr.ext_data.live_starts_at).format('D')] = true;\n          return acc;\n        }, {});\n        return tempObj;\n      });\n\n      const onDateSelect = (d: Dayjs): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"selectedDate\",\n          data: d\n        });\n        store.dispatch(\"livestream/loadLiveStreamsByDate\");\n      };\n\n      const onPrevWeek = (): void => {\n        weekIndex.value = weekIndex.value - 1;\n        if (weekIndex.value < 0) {\n          weekIndex.value = 1;\n        }\n        setWeekArray();\n      };\n\n      const onNextWeek = (): void => {\n        let wi: number = weekIndex.value;\n        weekIndex.value = wi + 1;\n\n        setWeekArray();\n      };\n\n      const setWeekArray = (): void => {\n        weekDates.value = [];\n        for (let i = 0; i < 7; i++) {\n          weekDates.value[i] = dayjs(today.value)\n            .add(i, \"day\")\n            .add(weekIndex.value, \"week\");\n        }\n      };\n\n      const loadData = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"getUserSubscriptions\");\n          store.dispatch(\"product/loadProducts\", \"subscription\");\n        } else {\n          setTimeout(loadData, 500);\n        }\n      };\n\n      const loadMyLivestreams = (): void => {\n        if (typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"livestream/loadMyLiveStreams\");\n        } else {\n          setTimeout(loadData, 500);\n        }\n      };\n\n      store.commit(\"livestream/setProperty\", {\n        property: \"timezone\",\n        data: dayjs.tz.guess()\n      });\n\n      onMounted(() => {\n        setWeekArray();\n      });\n\n      watch(\n        () => [...weekDates.value], // the reactive property to watch\n        (newWeekDates, oldWeekDates) => {\n          const payload = {\n            date_from: newWeekDates[0]?.format('YYYY-MM-DD'),\n            date_to: newWeekDates[6]?.format('YYYY-MM-DD') \n          };\n          store.dispatch(\"livestream/fetchLiveStream\", payload);\n        },\n        { deep: true },\n      );\n\n\n      onDateSelect(today.value);\n\n      loadData();\n      loadMyLivestreams();\n\n      return {\n        today,\n        weekIndex,\n        weekDates,\n        selectedDate,\n        onDateSelect,\n        onPrevWeek,\n        onNextWeek,\n        liveStreamDayArray,\n      };\n    }\n  });\n\n  export default Livestream_Calendar;\n","import { render } from \"./Livestream_Calendar.vue?vue&type=template&id=3243534c&scoped=true&bindings={}\"\nimport script from \"./Livestream_Calendar.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_Calendar.vue?vue&type=script&lang=ts\"\n\nimport \"./Livestream_Calendar.vue?vue&type=style&index=0&id=3243534c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-3243534c\"\n\nexport default script","<template>\n  <div v-if=\"livestream.stream_info && livestream.cover_art\"\n       class=\"livestream-detail-wrapper\"\n  >\n    <div class=\"livestream-detail\">\n      <div :style=\"{ backgroundImage: `url(${livestream.cover_art.large})` }\"\n           class=\"ls-hero hero media\"\n      >\n        <div class=\"opacity\">\n          <div class=\"inner\">\n            <!-- Livestream is scheduled and User is subscribed and registered -->\n            <div v-if=\"livestream.stream_info.stream_status !== 'on_air' && livestream.stream_info.stream_status !== 'ended' && livestream.live_stream_registration_id && userIsSubscribed\">\n              <p class=\"player-status-message\">\n                We are excited to have you join us soon!\n              </p>\n              <p class=\"ls-icon big\">\n                <span class=\"icon\">\n                  <img alt=\"Livestream\"\n                       src=\"/assets/volt/icon-broadcast-white.svg\"\n                  >\n                </span>\n              </p>\n            </div>\n            <!-- /Livestream is scheduled and User is subscribed and registered -->\n\n            <!-- Livestream is scheduled and User is subscribed and not registered -->\n            <div v-if=\"livestream.stream_info.stream_status !== 'ended' && !livestream.live_stream_registration_id && userIsSubscribed\">\n              <p class=\"player-status-message\">\n                <span v-if=\"livestream.live_svod_count < liveSvodCap\"> Click the button below to sign up for this class\n                </span>\n                <span v-if=\"livestream.live_svod_count >= liveSvodCap\"> Sorry, this class is Full</span>\n              </p>\n            </div>\n            <!-- /Livestream is scheduled and User is subscribed and not registered -->\n\n            <!-- Livestream is scheduled and User is not subscribed and not registered -->\n            <div v-if=\"livestream.stream_info.stream_status !== 'ended' && !livestream.live_stream_registration_id && !userIsSubscribed\">\n              <p class=\"player-status-message\">\n                <span v-if=\"livestream.live_svod_count < liveSvodCap\"> Sorry, you need to upgrade your plan to access\n                  this Livestream. Click the button below to sign\n                  up for this class\n                </span>\n                <span v-if=\"livestream.live_svod_count >= liveSvodCap\"> Sorry, this class is Full</span>\n              </p>\n            </div>\n            <!-- /Livestream is scheduled and User is not subscribed and not registered -->\n\n            <!-- Livestream is ended -->\n            <div v-if=\"livestream.stream_info.stream_status === 'ended'\">\n              <p class=\"player-status-message\">\n                This class has ended or is off air\n              </p>\n            </div>\n            <!-- /Livestream is ended -->\n\n            <!-- Livestream is on_air and User is subscribed and registered -->\n            <div v-if=\"livestream.stream_info.stream_status === 'on_air' && livestream.live_stream_registration_id\">\n              <div class=\"video-player\"\n                   style=\"width: 800px\"\n              >\n                <iframe ref=\"livestreamIframe\"\n                        :src=\"`/embed/v1/v/${livestream.resource_id}?autoplay=true`\"\n                        allowfullscreen\n                        class=\"livestream i-frame\"\n                        frameborder=\"0\"\n                        mozallowfullscreen\n                        webkitAllowFullScreen\n                        @load=\"onIframeLoad\"\n                />\n              </div>\n            </div>\n            <!-- /Livestream is on_air and User is registered -->\n\n            <livestream_status-display />\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <main class=\"content\">\n      <div class=\"inner nu-inner\">\n        <article class=\"ls-details\"\n                 style=\"float: none; margin: auto\"\n        >\n          <!-- Opt-in/out Button -->\n          <section v-if=\"(livestream.stream_info.stream_status !== 'ended' && !livestream.live_stream_registration_id) || livestream.stream_info.stream_status === 'scheduled'\"\n                   class=\"ls-opt-in\"\n          >\n            <livestream_opt-in-button :livestream=\"livestream\" />\n          </section>\n          <!-- /Opt-in/out Button -->\n\n          <section class=\"ls-description\">\n            <!-- Breadcrumb link back to Livestreams -->\n            <p class=\"nu-small small nu-breadcrumb\">\n              <a alt=\"Back to Livestream\"\n                 href=\"/live_streams\"\n              >\n                <span class=\"fa fa-chevron-left\" />\n                Livestreams\n              </a>\n            </p>\n            <!-- /Breadcrumb link back to Livestreams -->\n\n            <p v-if=\"livestream.stream_info.stream_status === 'scheduled'\"\n               class=\"nu-small small\"\n            >\n              This class has\n              <span v-if=\"livestream.live_registration_count > 0\"> {{ livestream.live_registration_count }} sign-ups\n              </span>\n              <span v-if=\"livestream.live_registration_count === 0\">no sign-ups yet, be the first!</span> &bull; Live on\n              {{ formatDateTime(livestream.ext_data.live_starts_at, livestream.ext_data.timezone) }}\n            </p>\n\n            <p v-if=\"livestream.stream_info.stream_status === 'stream_live'\"\n               class=\"nu-small small\"\n            >\n              <span v-if=\"livestream.stream_info.live_participating_count > 1\">\n                {{ livestream.stream_info.live_participating_count }} others are waiting &bull; This Livestream will\n                start at {{ formatDateTime(livestream.ext_data.live_starts_at, livestream.ext_data.timezone) }}\n              </span>\n              <span v-if=\"livestream.stream_info.live_participating_count === 1\">\n                You are the only one here, but hang tight! &bull; This Livestream will start on\n                {{ formatDateTime(livestream.ext_data.live_starts_at, livestream.ext_data.timezone) }}\n              </span>\n            </p>\n\n            <p v-if=\"livestream.stream_info.stream_status === 'on_air'\"\n               class=\"nu-small small\"\n            >\n              <span v-if=\"livestream.stream_info.live_participating_count > 1\"> There are\n                {{ livestream.stream_info.live_participating_count\n                }} others in class with you &bull; This\n                class is now live\n              </span>\n              <span v-if=\"livestream.stream_info.live_participating_count === 1\"> This class is now live</span>\n            </p>\n\n            <p v-if=\"livestream.stream_info.stream_status === 'off_air' || livestream.stream_info.stream_status === 'ended'\"\n               class=\"nu-small small\"\n            >\n              This class originally aired on\n              {{ formatDateTime(livestream.ext_data.live_starts_at, livestream.ext_data.timezone) }}\n            </p>\n\n            <h1>\n              {{ livestream.title }}\n            </h1>\n\n            <p v-if=\"livestream.ext_data.live_instructor_name\">\n              {{ livestream.ext_data.live_instructor_name }}\n            </p>\n\n            <div v-if=\"livestream.description\"\n                 class=\"description asset\"\n            >\n              <div class=\"html_output\"\n                   v-html=\"toHyperlink(livestream.description)\"\n              />\n            </div>\n          </section>\n        </article>\n      </div>\n    </main>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  import Time from \"@/lib/Time\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import utc from \"dayjs/plugin/utc\";\n  import { Component, computed, ComputedRef, defineComponent, onBeforeUnmount } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Livestream_OptInButton from \"@/components/subscriber/livestream/Livestream_OptInButton.vue\";\n  import Livestream_StatusDisplay from \"@/components/subscriber/livestream/Livestream_StatusDisplay.vue\";\n\n  const Livestream_Detail: Component<LooseObject> = defineComponent({\n    name: \"LivestreamDetail\",\n    components: {\n      \"livestream_opt-in-button\": Livestream_OptInButton,\n      \"livestream_status-display\": Livestream_StatusDisplay\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(isSameOrAfter);\n\n      const formatDateTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatDateTime(n);\n      };\n\n      const userTimezone: string = dayjs.tz.guess();\n      const urlParams: URLSearchParams = new URLSearchParams(window.location.search);\n\n      // Status\n      let attendedAt: string = new Date().toISOString();\n      let oldStatus = \"\";\n      let status = \"\";\n\n      // Watch Duration Tracking\n      let watchStartTime: number | null = null;\n      let totalWatchTime = 0;\n      let watchTimer: number | null = null;\n      let isCurrentlyWatching = false;\n      const WATCH_UPDATE_INTERVAL = 10000; // Log watch progress every 10 seconds\n      const MIN_WATCH_SEGMENT = 2000; // Minimum 2 seconds to count as watching\n\n      // Initialize total watch time from localStorage if available\n      const initializeTotalWatchTime = (): void => {\n        if (livestreamId) {\n          const stored = localStorage.getItem(`livestream_watch_${livestreamId}`);\n          if (stored) {\n            totalWatchTime = parseInt(stored, 10);\n            console.log(`Restored watch time from storage: ${Math.round(totalWatchTime / 1000)}s`);\n          }\n        }\n      };\n\n      // Save total watch time to localStorage\n      const saveTotalWatchTime = (): void => {\n        if (livestreamId) {\n          localStorage.setItem(`livestream_watch_${livestreamId}`, totalWatchTime.toString());\n        }\n      };\n\n      // Clean up localStorage for this livestream\n      const cleanupWatchTime = (): void => {\n        if (livestreamId) {\n          localStorage.removeItem(`livestream_watch_${livestreamId}`);\n        }\n      };\n\n      // Livestream\n      const livestreamId: string | null = urlParams.get(\"id\");\n      store.commit(\"livestream/setProperty\", {\n        property: \"modalId\",\n        data: livestreamId\n      });\n\n      // Initialize total watch time from localStorage\n      initializeTotalWatchTime();\n\n      const livestream: ComputedRef = computed(() => store.state.livestream.livestream);\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const livestreamInfoLoaded: ComputedRef = computed(() => {\n        return livestream.value !== null && typeof livestream.value.stream_info !== \"undefined\" && typeof livestream.value.live_stream_registration_id !== \"undefined\" && livestream.value.live_stream_registration_id !== null;\n      });\n\n      const userIsSubscribed: ComputedRef = computed(() => {\n        if (typeof store.state.user.id === \"undefined\") {\n          return false;\n        }\n\n        if (typeof mySubscriptions.value !== \"undefined\" && mySubscriptions.value.length) {\n          for (let a = 0; a < livestream.value.associated_products.length; a++) {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (livestream.value.associated_products[a].id === mySubscriptions.value[s].product_id) {\n                // If a subscription ID and livestream associated_product ID match, return true\n                return true;\n              }\n            }\n          }\n        }\n        return false;\n      });\n\n      // Status\n      const updateWaitingStatus = (): void => {\n        if (livestreamInfoLoaded.value === true) {\n          if (minutesBeforeStart(30)) {\n            if (livestream.value.stream_info.stream_status !== \"ended\") {\n              axios\n                .patch(\n                  `/api/apps/v3/live_stream_registrations/${livestream.value.live_stream_registration_id}`,\n                  {\n                    live_stream_registration: {\n                      media_id: livestreamId,\n                      attended_at: attendedAt,\n                      progress_at: livestream.value.stream_info.stream_status === \"on_air\" ? new Date().toISOString() : null,\n                      waiting_for_on_air: livestream.value.stream_info.stream_status !== \"on_air\",\n                      actual_watch_duration: getCurrentWatchDuration()\n                    }\n                  },\n                  {\n                    withCredentials: true\n                  }\n                )\n                .then(() => {\n                  const currentDuration = getCurrentWatchDuration();\n                  if (currentDuration > 0) {\n                    console.log(`Updated live stream registration with watch duration: ${currentDuration} seconds`);\n                  }\n                })\n                .catch((error) => {\n                  console.log(error);\n                })\n                .finally(() => {\n                  setTimeout(updateWaitingStatus, 10000);\n                });\n            }\n          }\n        } else {\n          setTimeout(updateWaitingStatus, 1000);\n        }\n      };\n\n      const getStreamStatus = (): void => {\n        if (typeof livestream.value.stream_info === \"undefined\" || livestream.value.stream_info.stream_status !== \"ended\") {\n          axios\n            .get(`/api/apps/v3/live_streams/${livestreamId}/status`, {\n              params: {\n                includes: \"associations\"\n              },\n              withCredentials: true\n            })\n            .then((response) => {\n              store.commit(\"livestream/setProperty\", {\n                property: \"livestream\",\n                subProperty: \"stream_info\",\n                data: response.data.media\n              });\n            })\n            .catch((error) => {\n              console.log(error);\n            })\n            .finally(() => {\n              oldStatus = status;\n              status = store.state.livestream.livestream.stream_info;\n\n              // check for status change and set progress_at value\n              if (status === \"on_air\" && oldStatus !== \"on_air\") {\n                attendedAt = new Date().toISOString();\n                // Only start watching if we don't have iframe communication yet\n                if (livestream.value?.live_stream_registration_id && !document.hidden) {\n                  startWatching();\n                }\n              }\n\n              // Stop watching if stream is no longer on air\n              if (oldStatus === \"on_air\" && status !== \"on_air\") {\n                stopWatching();\n              }\n\n              // Clean up localStorage if stream has ended\n              if (status === \"ended\") {\n                cleanupWatchTime();\n              }\n\n              setTimeout(getStreamStatus, 5000);\n            });\n        }\n      };\n\n      // Utilities\n      const toHyperlink = (str: string): string => {\n        // URLs with protocol\n        const pattern1 = /(\\b(https?|ftp|file):\\/\\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gi;\n        const str1: string = str.replace(pattern1, \"<a href='$1'>$1</a>\");\n\n        // URLs without protocol\n        const pattern2 = /(^|[^/])(www\\.[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gim;\n        const str2: string = str1.replace(pattern2, `$1<a target=\"_blank\" href=\"http://$2\">$2</a>`);\n\n        return str2;\n      };\n\n      const minutesBeforeStart = (n: number): boolean => {\n        return typeof livestream.value.ext_data !== \"undefined\" && dayjs()\n          .isSameOrAfter(dayjs(livestream.value.ext_data.live_starts_at, livestream.value.ext_data.timezone)\n            .tz(userTimezone)\n            .subtract(n, \"minute\"));\n      };\n\n      // Watch Duration Tracking Functions\n      const startWatching = (): void => {\n        if (!isCurrentlyWatching && livestream.value?.live_stream_registration_id) {\n          watchStartTime = Date.now();\n          isCurrentlyWatching = true;\n          console.log(\"Started watching livestream\");\n          \n          // Set up periodic updates\n          if (watchTimer) {\n            clearInterval(watchTimer);\n          }\n          watchTimer = setInterval(updateWatchDuration, WATCH_UPDATE_INTERVAL);\n        }\n      };\n\n      const stopWatching = (): void => {\n        if (isCurrentlyWatching && watchStartTime) {\n          const sessionTime = Date.now() - watchStartTime;\n          if (sessionTime >= MIN_WATCH_SEGMENT) {\n            totalWatchTime += sessionTime;\n            saveTotalWatchTime(); // Save to localStorage\n            console.log(`Stopped watching. Session time: ${Math.round(sessionTime / 1000)}s, Total: ${Math.round(totalWatchTime / 1000)}s`);\n          }\n          \n          isCurrentlyWatching = false;\n          watchStartTime = null;\n          \n          if (watchTimer) {\n            clearInterval(watchTimer);\n            watchTimer = null;\n          }\n        }\n      };\n\n      const updateWatchDuration = (): void => {\n        if (isCurrentlyWatching && watchStartTime) {\n          console.log(`Currently watching: ${Math.round((Date.now() - watchStartTime) / 1000)}s this session, ${Math.round(totalWatchTime / 1000)}s total`);\n        }\n      };\n\n      const getCurrentWatchDuration = (): number => {\n        let currentTotal = totalWatchTime;\n        if (isCurrentlyWatching && watchStartTime) {\n          currentTotal += Date.now() - watchStartTime;\n        }\n        return Math.round(currentTotal / 1000); // Convert to seconds\n      };\n\n      const handleVisibilityChange = (): void => {\n        if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n          if (document.hidden) {\n            stopWatching();\n          } else {\n            // Small delay to ensure page is fully visible\n            setTimeout(() => {\n              if (!document.hidden) {\n                startWatching();\n              }\n            }, 100);\n          }\n        }\n      };\n\n      // Set up visibility change listener\n      document.addEventListener(\"visibilitychange\", handleVisibilityChange);\n\n      // Set up beforeunload listener to save watch time before page closes\n      const handleBeforeUnload = (): void => {\n        stopWatching();\n      };\n      window.addEventListener(\"beforeunload\", handleBeforeUnload);\n\n      // Set up message listener for iframe video play/pause events\n      const handleVideoMessage = (event: MessageEvent): void => {\n        if (event.data && event.data.type) {\n          if (event.data.type === 'videoPlaying') {\n            // Video started playing in iframe\n            if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n              if (!document.hidden) {\n                startWatching();\n              }\n            }\n          } else if (event.data.type === 'videoPaused') {\n            // Video paused in iframe\n            stopWatching();\n          }\n        }\n      };\n      window.addEventListener(\"message\", handleVideoMessage);\n\n      // Iframe and Intersection Observer\n      let intersectionObserver: IntersectionObserver | null = null;\n\n      const onIframeLoad = (): void => {\n        console.log(\"Livestream iframe loaded\");\n        if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n          setupIntersectionObserver();\n        }\n      };\n\n      const setupIntersectionObserver = (): void => {\n        if (intersectionObserver) {\n          intersectionObserver.disconnect();\n        }\n\n        const iframe = document.querySelector<HTMLElement>(\".livestream.i-frame\");\n        if (!iframe) return;\n\n        intersectionObserver = new IntersectionObserver((entries) => {\n          entries.forEach((entry) => {\n            if (entry.isIntersecting && entry.intersectionRatio >= 0.5) {\n              // Iframe is at least 50% visible\n              if (!isCurrentlyWatching && !document.hidden) {\n                startWatching();\n              }\n            } else {\n              // Iframe is not sufficiently visible\n              if (isCurrentlyWatching) {\n                stopWatching();\n              }\n            }\n          });\n        }, {\n          threshold: [0.5] // Trigger when 50% of iframe is visible\n        });\n\n        intersectionObserver.observe(iframe);\n      };\n\n      // Cleanup function\n      const cleanup = (): void => {\n        stopWatching();\n        \n        if (intersectionObserver) {\n          intersectionObserver.disconnect();\n          intersectionObserver = null;\n        }\n        \n        document.removeEventListener(\"visibilitychange\", handleVisibilityChange);\n        window.removeEventListener(\"beforeunload\", handleBeforeUnload);\n        window.removeEventListener(\"message\", handleVideoMessage);\n        \n        if (watchTimer) {\n          clearInterval(watchTimer);\n          watchTimer = null;\n        }\n      };\n\n      // Cleanup on component unmount\n      onBeforeUnmount(() => {\n        cleanup();\n      });\n\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"subscription\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      store.dispatch(\"livestream/loadLivestream\", livestreamId);\n      store.dispatch(\"livestream/loadMyLiveStreams\");\n      getStreamStatus();\n      updateWaitingStatus();\n\n      return {\n        livestream,\n        liveSvodCap,\n        formatDateTime,\n        userIsSubscribed,\n        userTimezone,\n        toHyperlink,\n        onIframeLoad\n      };\n    }\n  });\n\n  // Livestream Detail\n  export default Livestream_Detail;\n</script>","<template>\n  <div>\n    <!-- User Is Subscribed -->\n    <div v-if=\"userIsSubscribed === true\">\n      <div v-if=\"(userIsCrunchMember === true) && (userIsActiveMember === false)\">\n        <div class=\"nu-class-action\">\n          <p>\n            <a v-if=\"livestream.live_svod_count < liveSvodCap\"\n             :disabled=\"loadingOptIn === true\"\n             class=\"button outline\"\n             @click=\"openAlertModal\"\n            > Sign Me Up!\n          </a>\n          </p>\n        </div>\n        <div v-if=\"shouldShowPopup\">\n          <div v-if=\"showMembershipModal\" id=\"BlockMediaModal\" class=\"modal fade show d-block\" style=\"background: rgba(0, 0, 0, 0.5);\">\n            <div class=\"modal-dialog modal-dialog-centered\">\n              <div class=\"modal-content login-info-modal-content\">\n                <button\n                  type=\"button\"\n                  class=\"btn-close custom-close-button\"\n                  aria-label=\"Close\"\n                  @click=\"closeAlertModal\"\n                />\n                <div id=\"login_info\">\n                  <div class=\"modal-header\">\n                    <h1 class=\"modal-title\">{{popupTitle}}</h1>\n                  </div>\n                  <div class=\"modal-body\">\n                    <p style=\"font-size: 16px; !important\">{{popupDescription}}</p>\n                  </div>\n                  <div v-if=\"needSignUpButton\" >\n                    <div class=\"modal-footer d-flex justify-content-between\">\n                      <a\n                        :href=\"popupRedirectionLink || 'javascript:void(0);'\"\n                        :target=\"isPastDueMember ? '_blank' : '_self'\"\n                        class=\"without-signup-button\"\n                        @click.prevent=\"handleLinkClick\"\n                      >\n                        {{ positiveButtonLabel }}\n                      </a>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n      <div v-if=\"(userIsCrunchMember === true) && (userIsActiveMember === true) || (userIsCrunchMember === false)\">\n        <!-- Stream Scheduled -->\n        <div v-if=\"livestream.stream_info.stream_status === 'scheduled'\"\n             class=\"nu-class-action\">\n          <!-- User Is Registered -->\n          <p v-if=\"live_stream_registration_id\"\n             class=\"toggle-btn\"\n          >\n            <a :class=\"{ disabled: loadingOptIn === true }\"\n               :disabled=\"loadingOptIn === true\"\n               class=\"button primary\"\n               @click=\"optOut\"\n            >You Are In!\n            </a>\n\n            <a :class=\"{ disabled: loadingOptIn === true }\"\n               :disabled=\"loadingOptIn === true\"\n               class=\"button secondary\"\n               @click=\"optOut\"\n            >Remove Class\n            </a>\n          </p>\n\n          <div v-if=\"live_stream_registration_id\">\n            <div style=\"display: block; margin-top: 0.75rem; font-size: 0.75rem; line-height: 1.5\">\n              <div>\n                <strong>Add this class to your calendar</strong>\n              </div>\n              <div>\n                <a href=\"#\"\n                   @click.prevent=\"saveCalendar\"\n                >iCal/Outlook\n                </a>\n                <span>&nbsp;&nbsp;</span>\n                <a\n                  href=\"#\"\n                  @click.prevent=\"goToGoogleCalendar\"\n                >Google Calendar\n                </a>\n              </div>\n            </div>\n          </div>\n          <!-- /User Is Registered -->\n\n          <!-- User Is Not Registered -->\n          <p v-if=\"!live_stream_registration_id\"\n             class=\"toggle-btn\"\n          >\n            <a v-if=\"livestream.live_svod_count < liveSvodCap\"\n               :class=\"{ disabled: loadingOptIn === true }\"\n               :disabled=\"loadingOptIn === true\"\n               class=\"button outline\"\n               @click=\"optIn\"\n            > Sign Me Up!\n            </a>\n            <a v-if=\"livestream.live_svod_count >= liveSvodCap\"\n               class=\"button disabled\"\n               disabled\n            > Class is Full\n            </a>\n          </p>\n          <!-- /User Is Not Registered -->\n        </div>\n        <!-- /Stream Scheduled -->\n\n        <!-- Stream On Air -->\n        <div v-if=\"livestream.stream_info.stream_status === 'on_air' || livestream.stream_info.stream_status === 'stream_live'\"\n             class=\"nu-class-action\">\n          <!-- User Is Registered -->\n          <p v-if=\"live_stream_registration_id\">\n            <a :href=\"livestream.share_url + '?id=' + livestream.resource_id\"\n               class=\"button primary\"\n            >\n              <span class=\"icon\">\n                <img alt=\"Livestream\"\n                     src=\"/assets/volt/icon-broadcast-white.svg\"\n                >\n              </span>\n              Join Class\n            </a>\n          </p>\n          <!-- /User Is Registered -->\n\n          <!-- User Is Not Registered -->\n          <p v-if=\"!live_stream_registration_id\"\n             class=\"toggle-btn\"\n          >\n            <a v-if=\"livestream.live_svod_count < liveSvodCap\"\n               :class=\"{ disabled: loadingOptIn === true }\"\n               :disabled=\"loadingOptIn === true\"\n               class=\"button outline\"\n               @click=\"optIn\"\n            > Sign Me Up!\n            </a>\n            <a v-if=\"livestream.live_svod_count >= liveSvodCap\"\n               class=\"button disabled\"\n               disabled\n            > Class is Full\n            </a>\n          </p>\n          <!-- /User Is Not Registered -->\n        </div>\n        <!-- /Stream On Air -->\n\n        <!-- Stream Ended -->\n        <div v-if=\"livestream.stream_info.stream_status === 'ended'\"\n             class=\"nu-class-action\">\n          <p class=\"toggle-btn\">\n            <a class=\"button disabled\"\n               disabled\n            > Class Ended\n            </a>\n          </p>\n        </div>\n        <!-- Stream Ended -->\n      </div>\n    </div>\n    <!-- /User Is Subscribed -->\n    \n    <div v-if=\"userIsSubscribed === false && accountDeliveryMethod === 'delivery_only'\">\n      <div class=\"nu-class-action\">\n        <p>\n          <a :href=\"deliveryOnlyLink\"\n             class=\"button upgrade\"\n             target=\"_blank\"\n          > Upgrade Plan\n          </a>\n        </p>\n      </div>\n    </div>\n    \n    <!-- User Is Not Subscribed -->\n    <div v-if=\"userIsSubscribed === false && accountDeliveryMethod != 'delivery_only'\">\n      <div class=\"nu-class-action\">\n        <p v-if=\"visibleAssociatedProducts.length > 1\">\n          <a class=\"button upgrade\"\n             @click=\"openModal\"\n          > Upgrade Plan\n          </a>\n        </p>\n\n        <p v-if=\"visibleAssociatedProducts.length === 1\">\n          <a :href=\"'/crunch_subscriptions'\"\n             class=\"button upgrade\"\n          > Upgrade Plan\n          </a>\n        </p>\n      </div>\n    </div>\n    <!-- /User Is Not Subscribed -->\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import axios from \"axios\";\n  import * as uuid from \"uuid\";\n  import FileSaver from \"file-saver\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, watch } from \"vue\";\n  import Product from \"@/interfaces/Product\";\n  import LooseObject from \"@/interfaces/LooseObject\";\nimport { LIVESTREAM_CALENDAR_EVENT, LIVESTREAM_OPT_IN_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Livestream_OptInButton: Component<LooseObject> = defineComponent({\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const live_stream_registration_id: Ref = ref(props.livestream.live_stream_registration_id);\n\n      const registrationURL = \"/api/apps/v3/live_stream_registrations\";\n\n      watch(\n        () => props.livestream.live_stream_registration_id,\n        (newVal) => {\n          live_stream_registration_id.value = newVal;\n        },\n        { immediate: true }\n      );\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const deliveryOnlyLink: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryUpgradeLinkElement: HTMLInputElement | null = document.getElementById(\"general_messaging_restricted_button_link\") as HTMLInputElement;\n        const deliveryUpgradeLink: string | null = deliveryUpgradeLinkElement?.value || null;\n        return deliveryUpgradeLink;\n      });\n\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const loadingOptIn: ComputedRef = computed(() => store.state.livestream.loadingOptIn);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const visibleAssociatedProducts: ComputedRef = computed(() => {\n        const products: Array<Product> = props.livestream.associated_products.filter((o: Product) => {\n          return o.visible;\n        });\n\n        return products;\n      });\n\n      const calendarInfo: Ref = ref({\n        name: props.livestream.title,\n        timezone: props.livestream.ext_data.timezone,\n        url: `${props.livestream.share_url}?id=${props.livestream.resource_id}`,\n        start: `${dayjs(props.livestream.ext_data.live_starts_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00`,\n        end: `${dayjs(props.livestream.ext_data.live_ends_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00`\n      });\n\n      const isUserLoggedIn = () => typeof store.state.user.id !== \"undefined\";\n      const hasSubscriptions = () => mySubscriptions.value && mySubscriptions.value.length;\n\n      const userIsSubscribed = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return props.livestream.associated_products.some(product =>\n          mySubscriptions.value.some(sub =>\n            sub.product_id === product.id &&\n            sub.status === \"ACTIVE\"\n          )\n        );\n      });\n\n      const userIsCrunchMember = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return props.livestream.associated_products.some(product =>\n          mySubscriptions.value.some(sub =>\n            sub.product_id === product.id &&\n            sub.is_member\n          )\n        );\n      });\n\n      const userIsActiveMember = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return mySubscriptions.value.some(sub =>\n          sub.is_member && sub.is_active_member\n        );\n      });\n\n      const isEligibleForPopup = () => isUserLoggedIn() && hasSubscriptions();\n\n      const getFirstMatchingField = (field: keyof typeof mySubscriptions.value[0]) => {\n        if (!isEligibleForPopup()) return false;\n        const match = mySubscriptions.value.find(sub => sub[field]);\n        return match ? match[field] : false;\n      };\n\n      const shouldShowPopup = computed(() => getFirstMatchingField('should_show_popup'));\n      const popupTitle = computed(() => getFirstMatchingField('popup_title'));\n      const popupDescription = computed(() => getFirstMatchingField('popup_description'));\n      const positiveButtonLabel = computed(() => getFirstMatchingField('positive_button_label'));\n      const popupRedirectionLink = computed(() => getFirstMatchingField('popup_redirection_link'));\n      const isPastDueMember = computed(() => getFirstMatchingField('is_past_due_member'));\n      const needSignUpButton = computed(() => getFirstMatchingField('need_sign_up_button'));\n\n      const openModal = (): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"modalId\",\n          data: props.livestream.resource_id\n        });\n\n        store.commit(\"livestream/toggleModal\");\n      };\n\n      const getGtagValues = (type?: string) => {\n        const eventData = {\n          livestream_name: props.livestream.title,\n          livestream_duration: props.livestream.ext_data.live_duration_minutes,\n          livestream_time: props.livestream.ext_data.live_starts_at,\n        }\n        if(type) {\n          return {...eventData, livestream_calendar: type}\n        }\n        return eventData;\n      }\n\n      const goToGoogleCalendar = () => {\n        const payloadGoToGoogleCalendar = {\n          \"event\": LIVESTREAM_CALENDAR_EVENT,\n           ...getGtagValues(\"Google Calendar\")\n        };\n        dataLayer.push(payloadGoToGoogleCalendar);\n        window.open(gCalUrl.value, '_blank');\n      };\n\n      const optIn = (): void => {\n        const payloadOptIn = {\n          \"event\": LIVESTREAM_OPT_IN_EVENT,\n          ...getGtagValues()\n        };\n        dataLayer.push(payloadOptIn);\n        \n        store.commit(\"livestream/setProperty\", {\n          property: \"loadingOptIn\",\n          data: true\n        });\n\n        axios\n          .post(\n            registrationURL,\n            {\n              live_stream_registration: {\n                media_id: props.livestream.resource_id\n              }\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            if (response.status === 200) {\n              live_stream_registration_id.value = response.data.live_stream_registration.id;\n\n              // Give the server some breathing room before loading subscriptions\n              setTimeout(() => {\n                store.commit(\"livestream/setProperty\", {\n                  property: \"loadingOptIn\",\n                  data: false\n                });\n\n                store.dispatch(\"livestream/loadMyLiveStreams\");\n                store.commit(\"toast/addToast\", {\n                  type: \"success\",\n                  message: \"You have successfully opted-in to this Live Stream.\",\n                  delay: 5000,\n                  viewed: false\n                });\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n            store.commit(\"livestream/setProperty\", {\n              property: \"loadingOptIn\",\n              data: false\n            });\n          });\n      };\n\n      const optOut = (): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"loadingOptIn\",\n          data: true\n        });\n\n        axios\n          .delete(`${registrationURL}/${live_stream_registration_id.value}`, {\n            withCredentials: true\n          })\n          .then((response) => {\n            if (response.status === 204) {\n              live_stream_registration_id.value = null;\n\n              // Give the server some breathing room before loading subscriptions\n              setTimeout(() => {\n                store.commit(\"livestream/setProperty\", {\n                  property: \"loadingOptIn\",\n                  data: false\n                });\n\n                store.dispatch(\"livestream/loadMyLiveStreams\");\n\n                store.commit(\"toast/addToast\", {\n                  type: \"success\",\n                  message: \"You have successfully opted-out of this Live Stream.\",\n                  delay: 5000,\n                  viewed: false\n                });\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n            store.commit(\"livestream/setProperty\", {\n              property: \"loadingOptIn\",\n              data: false\n            });\n          });\n      };\n\n      const gCalUrl: ComputedRef = computed(() => {\n        let urlString = `http://www.google.com/calendar/r/eventedit`;\n        urlString += `?text=${props.livestream.title}`;\n        urlString += `&dates=${calendarInfo.value.start}/${calendarInfo.value.end}`;\n        urlString += `&ctz=${props.livestream.ext_data.timezone}`;\n        urlString += `&details=%3Cb%3E${props.livestream.title}%3C%2Fb%3E%0D%0A%0D%0A`;\n        if (props.livestream.description !== null) {\n          urlString += `${props.livestream.description}%0D%0A%0D%0A`;\n        }\n        urlString += `%3Ca%20href%3D%22${props.livestream.share_url}%22%3E${props.livestream.share_url}%3C%2Fa%3E`;\n\n        return urlString;\n      });\n\n      const saveCalendar = (): void => {\n        const payloadSaveCal = {\n          \"event\": LIVESTREAM_CALENDAR_EVENT,\n          ...accountDeliveryMethodgetGtagValues(\"iCal/Outlook\")\n        };\n        dataLayer.push(payloadSaveCal);\n\n        const eol = \"\\n\";\n        let calString = `BEGIN:VCALENDAR${eol}`;\n        calString += `METHOD:PUBLISH${eol}`;\n        calString += `PRODID:InteliVideo${eol}`;\n        calString += `VERSION:2.0${eol}`;\n        calString += `NAME:${props.livestream.title}${eol}`;\n        calString += `UID:${uuid.v4()}${eol}`;\n\n        calString += `BEGIN:TIMEZONE${eol}`;\n        calString += `TZID:${props.livestream.ext_data.timezone}${eol}`;\n        calString += `END:TIMEZONE${eol}`;\n\n        calString += `BEGIN:VEVENT${eol}`;\n        calString += `SUMMARY:${props.livestream.title}${eol}`;\n        calString += `DESCRIPTION:${props.livestream.title}\\\\n\\\\n`;\n        if (props.livestream.description !== null) {\n          calString += `${props.livestream.description}\\\\n\\\\n`;\n        }\n        calString += `${props.livestream.share_url}?id=${props.livestream.resource_id}${eol}`;\n        calString += `URL:${props.livestream.share_url}${eol}`;\n        calString += `DTSTAMP:${dayjs()\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTSTART:${dayjs(props.livestream.ext_data.live_starts_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTEND:${dayjs(props.livestream.ext_data.live_ends_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `END:VEVENT${eol}`;\n        calString += `END:VCALENDAR${eol}`;\n\n        const blob: Blob = new Blob([calString], { type: \"text/calendar\" });\n        FileSaver.saveAs(blob, \"livestream.ics\");\n      };\n\n      return {\n        userIsSubscribed,\n        visibleAssociatedProducts,\n        calendarInfo,\n        gCalUrl,\n        loadingOptIn,\n        saveCalendar,\n        optIn,\n        optOut,\n        liveSvodCap,\n        openModal,\n        accountDeliveryMethod,\n        deliveryOnlyLink,\n        live_stream_registration_id,\n        goToGoogleCalendar,\n        userIsCrunchMember,\n        userIsActiveMember,\n        shouldShowPopup,\n        popupTitle,\n        popupDescription,\n        positiveButtonLabel,\n        popupRedirectionLink,\n        isPastDueMember,\n        needSignUpButton\n      };\n    },\n    data() {\n      return {\n        showMembershipModal: false\n      };\n    },\n    methods: { \n      openAlertModal() {\n        this.showMembershipModal = true;\n        document.body.classList.add('alert-modal-open');\n      },\n\n      handleLinkClick(event) {\n        const link = this.popupRedirectionLink;\n\n        if (!link) {\n          this.closeAlertModal();\n          return;\n        }\n\n        const target = this.isPastDueMember ? '_blank' : '_self';\n        window.open(link, target);\n\n        this.closeAlertModal();\n      },\n\n      closeAlertModal() {\n        this.showMembershipModal = false;\n        document.body.classList.remove('alert-modal-open');\n      }\n    }\n  });\n\n  export default Livestream_OptInButton;\n</script>","\n  import axios from \"axios\";\n  import * as uuid from \"uuid\";\n  import FileSaver from \"file-saver\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref, watch } from \"vue\";\n  import Product from \"@/interfaces/Product\";\n  import LooseObject from \"@/interfaces/LooseObject\";\nimport { LIVESTREAM_CALENDAR_EVENT, LIVESTREAM_OPT_IN_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Livestream_OptInButton: Component<LooseObject> = defineComponent({\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const live_stream_registration_id: Ref = ref(props.livestream.live_stream_registration_id);\n\n      const registrationURL = \"/api/apps/v3/live_stream_registrations\";\n\n      watch(\n        () => props.livestream.live_stream_registration_id,\n        (newVal) => {\n          live_stream_registration_id.value = newVal;\n        },\n        { immediate: true }\n      );\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const deliveryOnlyLink: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryUpgradeLinkElement: HTMLInputElement | null = document.getElementById(\"general_messaging_restricted_button_link\") as HTMLInputElement;\n        const deliveryUpgradeLink: string | null = deliveryUpgradeLinkElement?.value || null;\n        return deliveryUpgradeLink;\n      });\n\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const loadingOptIn: ComputedRef = computed(() => store.state.livestream.loadingOptIn);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const visibleAssociatedProducts: ComputedRef = computed(() => {\n        const products: Array<Product> = props.livestream.associated_products.filter((o: Product) => {\n          return o.visible;\n        });\n\n        return products;\n      });\n\n      const calendarInfo: Ref = ref({\n        name: props.livestream.title,\n        timezone: props.livestream.ext_data.timezone,\n        url: `${props.livestream.share_url}?id=${props.livestream.resource_id}`,\n        start: `${dayjs(props.livestream.ext_data.live_starts_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00`,\n        end: `${dayjs(props.livestream.ext_data.live_ends_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00`\n      });\n\n      const isUserLoggedIn = () => typeof store.state.user.id !== \"undefined\";\n      const hasSubscriptions = () => mySubscriptions.value && mySubscriptions.value.length;\n\n      const userIsSubscribed = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return props.livestream.associated_products.some(product =>\n          mySubscriptions.value.some(sub =>\n            sub.product_id === product.id &&\n            sub.status === \"ACTIVE\"\n          )\n        );\n      });\n\n      const userIsCrunchMember = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return props.livestream.associated_products.some(product =>\n          mySubscriptions.value.some(sub =>\n            sub.product_id === product.id &&\n            sub.is_member\n          )\n        );\n      });\n\n      const userIsActiveMember = computed(() => {\n        if (!isUserLoggedIn() || !hasSubscriptions()) return false;\n\n        return mySubscriptions.value.some(sub =>\n          sub.is_member && sub.is_active_member\n        );\n      });\n\n      const isEligibleForPopup = () => isUserLoggedIn() && hasSubscriptions();\n\n      const getFirstMatchingField = (field: keyof typeof mySubscriptions.value[0]) => {\n        if (!isEligibleForPopup()) return false;\n        const match = mySubscriptions.value.find(sub => sub[field]);\n        return match ? match[field] : false;\n      };\n\n      const shouldShowPopup = computed(() => getFirstMatchingField('should_show_popup'));\n      const popupTitle = computed(() => getFirstMatchingField('popup_title'));\n      const popupDescription = computed(() => getFirstMatchingField('popup_description'));\n      const positiveButtonLabel = computed(() => getFirstMatchingField('positive_button_label'));\n      const popupRedirectionLink = computed(() => getFirstMatchingField('popup_redirection_link'));\n      const isPastDueMember = computed(() => getFirstMatchingField('is_past_due_member'));\n      const needSignUpButton = computed(() => getFirstMatchingField('need_sign_up_button'));\n\n      const openModal = (): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"modalId\",\n          data: props.livestream.resource_id\n        });\n\n        store.commit(\"livestream/toggleModal\");\n      };\n\n      const getGtagValues = (type?: string) => {\n        const eventData = {\n          livestream_name: props.livestream.title,\n          livestream_duration: props.livestream.ext_data.live_duration_minutes,\n          livestream_time: props.livestream.ext_data.live_starts_at,\n        }\n        if(type) {\n          return {...eventData, livestream_calendar: type}\n        }\n        return eventData;\n      }\n\n      const goToGoogleCalendar = () => {\n        const payloadGoToGoogleCalendar = {\n          \"event\": LIVESTREAM_CALENDAR_EVENT,\n           ...getGtagValues(\"Google Calendar\")\n        };\n        dataLayer.push(payloadGoToGoogleCalendar);\n        window.open(gCalUrl.value, '_blank');\n      };\n\n      const optIn = (): void => {\n        const payloadOptIn = {\n          \"event\": LIVESTREAM_OPT_IN_EVENT,\n          ...getGtagValues()\n        };\n        dataLayer.push(payloadOptIn);\n        \n        store.commit(\"livestream/setProperty\", {\n          property: \"loadingOptIn\",\n          data: true\n        });\n\n        axios\n          .post(\n            registrationURL,\n            {\n              live_stream_registration: {\n                media_id: props.livestream.resource_id\n              }\n            },\n            {\n              withCredentials: true\n            }\n          )\n          .then((response) => {\n            if (response.status === 200) {\n              live_stream_registration_id.value = response.data.live_stream_registration.id;\n\n              // Give the server some breathing room before loading subscriptions\n              setTimeout(() => {\n                store.commit(\"livestream/setProperty\", {\n                  property: \"loadingOptIn\",\n                  data: false\n                });\n\n                store.dispatch(\"livestream/loadMyLiveStreams\");\n                store.commit(\"toast/addToast\", {\n                  type: \"success\",\n                  message: \"You have successfully opted-in to this Live Stream.\",\n                  delay: 5000,\n                  viewed: false\n                });\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n            store.commit(\"livestream/setProperty\", {\n              property: \"loadingOptIn\",\n              data: false\n            });\n          });\n      };\n\n      const optOut = (): void => {\n        store.commit(\"livestream/setProperty\", {\n          property: \"loadingOptIn\",\n          data: true\n        });\n\n        axios\n          .delete(`${registrationURL}/${live_stream_registration_id.value}`, {\n            withCredentials: true\n          })\n          .then((response) => {\n            if (response.status === 204) {\n              live_stream_registration_id.value = null;\n\n              // Give the server some breathing room before loading subscriptions\n              setTimeout(() => {\n                store.commit(\"livestream/setProperty\", {\n                  property: \"loadingOptIn\",\n                  data: false\n                });\n\n                store.dispatch(\"livestream/loadMyLiveStreams\");\n\n                store.commit(\"toast/addToast\", {\n                  type: \"success\",\n                  message: \"You have successfully opted-out of this Live Stream.\",\n                  delay: 5000,\n                  viewed: false\n                });\n              }, 500);\n            }\n          })\n          .catch((error) => {\n            console.log(error);\n            store.commit(\"livestream/setProperty\", {\n              property: \"loadingOptIn\",\n              data: false\n            });\n          });\n      };\n\n      const gCalUrl: ComputedRef = computed(() => {\n        let urlString = `http://www.google.com/calendar/r/eventedit`;\n        urlString += `?text=${props.livestream.title}`;\n        urlString += `&dates=${calendarInfo.value.start}/${calendarInfo.value.end}`;\n        urlString += `&ctz=${props.livestream.ext_data.timezone}`;\n        urlString += `&details=%3Cb%3E${props.livestream.title}%3C%2Fb%3E%0D%0A%0D%0A`;\n        if (props.livestream.description !== null) {\n          urlString += `${props.livestream.description}%0D%0A%0D%0A`;\n        }\n        urlString += `%3Ca%20href%3D%22${props.livestream.share_url}%22%3E${props.livestream.share_url}%3C%2Fa%3E`;\n\n        return urlString;\n      });\n\n      const saveCalendar = (): void => {\n        const payloadSaveCal = {\n          \"event\": LIVESTREAM_CALENDAR_EVENT,\n          ...accountDeliveryMethodgetGtagValues(\"iCal/Outlook\")\n        };\n        dataLayer.push(payloadSaveCal);\n\n        const eol = \"\\n\";\n        let calString = `BEGIN:VCALENDAR${eol}`;\n        calString += `METHOD:PUBLISH${eol}`;\n        calString += `PRODID:InteliVideo${eol}`;\n        calString += `VERSION:2.0${eol}`;\n        calString += `NAME:${props.livestream.title}${eol}`;\n        calString += `UID:${uuid.v4()}${eol}`;\n\n        calString += `BEGIN:TIMEZONE${eol}`;\n        calString += `TZID:${props.livestream.ext_data.timezone}${eol}`;\n        calString += `END:TIMEZONE${eol}`;\n\n        calString += `BEGIN:VEVENT${eol}`;\n        calString += `SUMMARY:${props.livestream.title}${eol}`;\n        calString += `DESCRIPTION:${props.livestream.title}\\\\n\\\\n`;\n        if (props.livestream.description !== null) {\n          calString += `${props.livestream.description}\\\\n\\\\n`;\n        }\n        calString += `${props.livestream.share_url}?id=${props.livestream.resource_id}${eol}`;\n        calString += `URL:${props.livestream.share_url}${eol}`;\n        calString += `DTSTAMP:${dayjs()\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTSTART:${dayjs(props.livestream.ext_data.live_starts_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTEND:${dayjs(props.livestream.ext_data.live_ends_at)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `END:VEVENT${eol}`;\n        calString += `END:VCALENDAR${eol}`;\n\n        const blob: Blob = new Blob([calString], { type: \"text/calendar\" });\n        FileSaver.saveAs(blob, \"livestream.ics\");\n      };\n\n      return {\n        userIsSubscribed,\n        visibleAssociatedProducts,\n        calendarInfo,\n        gCalUrl,\n        loadingOptIn,\n        saveCalendar,\n        optIn,\n        optOut,\n        liveSvodCap,\n        openModal,\n        accountDeliveryMethod,\n        deliveryOnlyLink,\n        live_stream_registration_id,\n        goToGoogleCalendar,\n        userIsCrunchMember,\n        userIsActiveMember,\n        shouldShowPopup,\n        popupTitle,\n        popupDescription,\n        positiveButtonLabel,\n        popupRedirectionLink,\n        isPastDueMember,\n        needSignUpButton\n      };\n    },\n    data() {\n      return {\n        showMembershipModal: false\n      };\n    },\n    methods: { \n      openAlertModal() {\n        this.showMembershipModal = true;\n        document.body.classList.add('alert-modal-open');\n      },\n\n      handleLinkClick(event) {\n        const link = this.popupRedirectionLink;\n\n        if (!link) {\n          this.closeAlertModal();\n          return;\n        }\n\n        const target = this.isPastDueMember ? '_blank' : '_self';\n        window.open(link, target);\n\n        this.closeAlertModal();\n      },\n\n      closeAlertModal() {\n        this.showMembershipModal = false;\n        document.body.classList.remove('alert-modal-open');\n      }\n    }\n  });\n\n  export default Livestream_OptInButton;\n","import { render } from \"./Livestream_OptInButton.vue?vue&type=template&id=6fbbcd9a&bindings={}\"\nimport script from \"./Livestream_OptInButton.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_OptInButton.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"typeof livestream.stream_info !== 'undefined'\"\n       class=\"ls-tag\"\n  >\n    <p class=\"ls-live\">\n      <span class=\"icon\">\n        <img alt=\"Livestream\"\n             src=\"/assets/volt/icon-broadcast-white.svg\"\n        >\n      </span>\n      <span v-if=\"livestream.stream_info.stream_status === 'on_air'\"\n            class=\"ls-bc-date\"\n      >\n        <span class=\"ls-countdown\">Now Live</span>\n        <span class=\"ls-bc-timestamp\">\n          {{ formatShortDateTime(livestream.ext_data.live_starts_at) }}\n        </span>\n      </span>\n\n      <span v-if=\"livestream.stream_info.stream_status === 'ended'\"\n            class=\"ls-bc-date\"\n      >\n        <span class=\"ls-countdown\">This livestream has expired</span>\n        <span class=\"ls-bc-timestamp\">\n          {{ formatShortDateTime(livestream.ext_data.live_starts_at) }}\n        </span>\n      </span>\n\n      <span v-if=\"livestream.stream_info.stream_status === 'scheduled' || livestream.stream_info.stream_status === 'stream_live'\"\n            class=\"ls-bc-date\"\n      >\n        <span class=\"ls-countdown\">Starting soon</span>\n        <span class=\"ls-bc-timestamp\">\n          {{ formatShortDateTime(livestream.ext_data.live_starts_at) }}\n        </span>\n      </span>\n    </p>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Store, useStore } from \"vuex\";\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import LiveStream from \"@/interfaces/LiveStream\";\n\n  const Livestream_StatusDisplay: Component<LooseObject> = defineComponent({\n    name: \"LivestreamStatusDisplay\",\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const formatShortDateTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatShortDateTime(n);\n      };\n\n      const livestream: Ref = ref<LiveStream>(store.state.livestream.livestream);\n\n      return {\n        livestream,\n        formatShortDateTime\n      };\n    }\n  });\n\n  export default Livestream_StatusDisplay;\n</script>\n","\n  import { Store, useStore } from \"vuex\";\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import LiveStream from \"@/interfaces/LiveStream\";\n\n  const Livestream_StatusDisplay: Component<LooseObject> = defineComponent({\n    name: \"LivestreamStatusDisplay\",\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const formatShortDateTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatShortDateTime(n);\n      };\n\n      const livestream: Ref = ref<LiveStream>(store.state.livestream.livestream);\n\n      return {\n        livestream,\n        formatShortDateTime\n      };\n    }\n  });\n\n  export default Livestream_StatusDisplay;\n","import { render } from \"./Livestream_StatusDisplay.vue?vue&type=template&id=76b689f8&bindings={}\"\nimport script from \"./Livestream_StatusDisplay.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_StatusDisplay.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  import Time from \"@/lib/Time\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import utc from \"dayjs/plugin/utc\";\n  import { Component, computed, ComputedRef, defineComponent, onBeforeUnmount } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Livestream_OptInButton from \"@/components/subscriber/livestream/Livestream_OptInButton.vue\";\n  import Livestream_StatusDisplay from \"@/components/subscriber/livestream/Livestream_StatusDisplay.vue\";\n\n  const Livestream_Detail: Component<LooseObject> = defineComponent({\n    name: \"LivestreamDetail\",\n    components: {\n      \"livestream_opt-in-button\": Livestream_OptInButton,\n      \"livestream_status-display\": Livestream_StatusDisplay\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(isSameOrAfter);\n\n      const formatDateTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatDateTime(n);\n      };\n\n      const userTimezone: string = dayjs.tz.guess();\n      const urlParams: URLSearchParams = new URLSearchParams(window.location.search);\n\n      // Status\n      let attendedAt: string = new Date().toISOString();\n      let oldStatus = \"\";\n      let status = \"\";\n\n      // Watch Duration Tracking\n      let watchStartTime: number | null = null;\n      let totalWatchTime = 0;\n      let watchTimer: number | null = null;\n      let isCurrentlyWatching = false;\n      const WATCH_UPDATE_INTERVAL = 10000; // Log watch progress every 10 seconds\n      const MIN_WATCH_SEGMENT = 2000; // Minimum 2 seconds to count as watching\n\n      // Initialize total watch time from localStorage if available\n      const initializeTotalWatchTime = (): void => {\n        if (livestreamId) {\n          const stored = localStorage.getItem(`livestream_watch_${livestreamId}`);\n          if (stored) {\n            totalWatchTime = parseInt(stored, 10);\n            console.log(`Restored watch time from storage: ${Math.round(totalWatchTime / 1000)}s`);\n          }\n        }\n      };\n\n      // Save total watch time to localStorage\n      const saveTotalWatchTime = (): void => {\n        if (livestreamId) {\n          localStorage.setItem(`livestream_watch_${livestreamId}`, totalWatchTime.toString());\n        }\n      };\n\n      // Clean up localStorage for this livestream\n      const cleanupWatchTime = (): void => {\n        if (livestreamId) {\n          localStorage.removeItem(`livestream_watch_${livestreamId}`);\n        }\n      };\n\n      // Livestream\n      const livestreamId: string | null = urlParams.get(\"id\");\n      store.commit(\"livestream/setProperty\", {\n        property: \"modalId\",\n        data: livestreamId\n      });\n\n      // Initialize total watch time from localStorage\n      initializeTotalWatchTime();\n\n      const livestream: ComputedRef = computed(() => store.state.livestream.livestream);\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const livestreamInfoLoaded: ComputedRef = computed(() => {\n        return livestream.value !== null && typeof livestream.value.stream_info !== \"undefined\" && typeof livestream.value.live_stream_registration_id !== \"undefined\" && livestream.value.live_stream_registration_id !== null;\n      });\n\n      const userIsSubscribed: ComputedRef = computed(() => {\n        if (typeof store.state.user.id === \"undefined\") {\n          return false;\n        }\n\n        if (typeof mySubscriptions.value !== \"undefined\" && mySubscriptions.value.length) {\n          for (let a = 0; a < livestream.value.associated_products.length; a++) {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (livestream.value.associated_products[a].id === mySubscriptions.value[s].product_id) {\n                // If a subscription ID and livestream associated_product ID match, return true\n                return true;\n              }\n            }\n          }\n        }\n        return false;\n      });\n\n      // Status\n      const updateWaitingStatus = (): void => {\n        if (livestreamInfoLoaded.value === true) {\n          if (minutesBeforeStart(30)) {\n            if (livestream.value.stream_info.stream_status !== \"ended\") {\n              axios\n                .patch(\n                  `/api/apps/v3/live_stream_registrations/${livestream.value.live_stream_registration_id}`,\n                  {\n                    live_stream_registration: {\n                      media_id: livestreamId,\n                      attended_at: attendedAt,\n                      progress_at: livestream.value.stream_info.stream_status === \"on_air\" ? new Date().toISOString() : null,\n                      waiting_for_on_air: livestream.value.stream_info.stream_status !== \"on_air\",\n                      actual_watch_duration: getCurrentWatchDuration()\n                    }\n                  },\n                  {\n                    withCredentials: true\n                  }\n                )\n                .then(() => {\n                  const currentDuration = getCurrentWatchDuration();\n                  if (currentDuration > 0) {\n                    console.log(`Updated live stream registration with watch duration: ${currentDuration} seconds`);\n                  }\n                })\n                .catch((error) => {\n                  console.log(error);\n                })\n                .finally(() => {\n                  setTimeout(updateWaitingStatus, 10000);\n                });\n            }\n          }\n        } else {\n          setTimeout(updateWaitingStatus, 1000);\n        }\n      };\n\n      const getStreamStatus = (): void => {\n        if (typeof livestream.value.stream_info === \"undefined\" || livestream.value.stream_info.stream_status !== \"ended\") {\n          axios\n            .get(`/api/apps/v3/live_streams/${livestreamId}/status`, {\n              params: {\n                includes: \"associations\"\n              },\n              withCredentials: true\n            })\n            .then((response) => {\n              store.commit(\"livestream/setProperty\", {\n                property: \"livestream\",\n                subProperty: \"stream_info\",\n                data: response.data.media\n              });\n            })\n            .catch((error) => {\n              console.log(error);\n            })\n            .finally(() => {\n              oldStatus = status;\n              status = store.state.livestream.livestream.stream_info;\n\n              // check for status change and set progress_at value\n              if (status === \"on_air\" && oldStatus !== \"on_air\") {\n                attendedAt = new Date().toISOString();\n                // Only start watching if we don't have iframe communication yet\n                if (livestream.value?.live_stream_registration_id && !document.hidden) {\n                  startWatching();\n                }\n              }\n\n              // Stop watching if stream is no longer on air\n              if (oldStatus === \"on_air\" && status !== \"on_air\") {\n                stopWatching();\n              }\n\n              // Clean up localStorage if stream has ended\n              if (status === \"ended\") {\n                cleanupWatchTime();\n              }\n\n              setTimeout(getStreamStatus, 5000);\n            });\n        }\n      };\n\n      // Utilities\n      const toHyperlink = (str: string): string => {\n        // URLs with protocol\n        const pattern1 = /(\\b(https?|ftp|file):\\/\\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gi;\n        const str1: string = str.replace(pattern1, \"<a href='$1'>$1</a>\");\n\n        // URLs without protocol\n        const pattern2 = /(^|[^/])(www\\.[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gim;\n        const str2: string = str1.replace(pattern2, `$1<a target=\"_blank\" href=\"http://$2\">$2</a>`);\n\n        return str2;\n      };\n\n      const minutesBeforeStart = (n: number): boolean => {\n        return typeof livestream.value.ext_data !== \"undefined\" && dayjs()\n          .isSameOrAfter(dayjs(livestream.value.ext_data.live_starts_at, livestream.value.ext_data.timezone)\n            .tz(userTimezone)\n            .subtract(n, \"minute\"));\n      };\n\n      // Watch Duration Tracking Functions\n      const startWatching = (): void => {\n        if (!isCurrentlyWatching && livestream.value?.live_stream_registration_id) {\n          watchStartTime = Date.now();\n          isCurrentlyWatching = true;\n          console.log(\"Started watching livestream\");\n          \n          // Set up periodic updates\n          if (watchTimer) {\n            clearInterval(watchTimer);\n          }\n          watchTimer = setInterval(updateWatchDuration, WATCH_UPDATE_INTERVAL);\n        }\n      };\n\n      const stopWatching = (): void => {\n        if (isCurrentlyWatching && watchStartTime) {\n          const sessionTime = Date.now() - watchStartTime;\n          if (sessionTime >= MIN_WATCH_SEGMENT) {\n            totalWatchTime += sessionTime;\n            saveTotalWatchTime(); // Save to localStorage\n            console.log(`Stopped watching. Session time: ${Math.round(sessionTime / 1000)}s, Total: ${Math.round(totalWatchTime / 1000)}s`);\n          }\n          \n          isCurrentlyWatching = false;\n          watchStartTime = null;\n          \n          if (watchTimer) {\n            clearInterval(watchTimer);\n            watchTimer = null;\n          }\n        }\n      };\n\n      const updateWatchDuration = (): void => {\n        if (isCurrentlyWatching && watchStartTime) {\n          console.log(`Currently watching: ${Math.round((Date.now() - watchStartTime) / 1000)}s this session, ${Math.round(totalWatchTime / 1000)}s total`);\n        }\n      };\n\n      const getCurrentWatchDuration = (): number => {\n        let currentTotal = totalWatchTime;\n        if (isCurrentlyWatching && watchStartTime) {\n          currentTotal += Date.now() - watchStartTime;\n        }\n        return Math.round(currentTotal / 1000); // Convert to seconds\n      };\n\n      const handleVisibilityChange = (): void => {\n        if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n          if (document.hidden) {\n            stopWatching();\n          } else {\n            // Small delay to ensure page is fully visible\n            setTimeout(() => {\n              if (!document.hidden) {\n                startWatching();\n              }\n            }, 100);\n          }\n        }\n      };\n\n      // Set up visibility change listener\n      document.addEventListener(\"visibilitychange\", handleVisibilityChange);\n\n      // Set up beforeunload listener to save watch time before page closes\n      const handleBeforeUnload = (): void => {\n        stopWatching();\n      };\n      window.addEventListener(\"beforeunload\", handleBeforeUnload);\n\n      // Set up message listener for iframe video play/pause events\n      const handleVideoMessage = (event: MessageEvent): void => {\n        if (event.data && event.data.type) {\n          if (event.data.type === 'videoPlaying') {\n            // Video started playing in iframe\n            if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n              if (!document.hidden) {\n                startWatching();\n              }\n            }\n          } else if (event.data.type === 'videoPaused') {\n            // Video paused in iframe\n            stopWatching();\n          }\n        }\n      };\n      window.addEventListener(\"message\", handleVideoMessage);\n\n      // Iframe and Intersection Observer\n      let intersectionObserver: IntersectionObserver | null = null;\n\n      const onIframeLoad = (): void => {\n        console.log(\"Livestream iframe loaded\");\n        if (livestream.value?.stream_info?.stream_status === \"on_air\" && livestream.value?.live_stream_registration_id) {\n          setupIntersectionObserver();\n        }\n      };\n\n      const setupIntersectionObserver = (): void => {\n        if (intersectionObserver) {\n          intersectionObserver.disconnect();\n        }\n\n        const iframe = document.querySelector<HTMLElement>(\".livestream.i-frame\");\n        if (!iframe) return;\n\n        intersectionObserver = new IntersectionObserver((entries) => {\n          entries.forEach((entry) => {\n            if (entry.isIntersecting && entry.intersectionRatio >= 0.5) {\n              // Iframe is at least 50% visible\n              if (!isCurrentlyWatching && !document.hidden) {\n                startWatching();\n              }\n            } else {\n              // Iframe is not sufficiently visible\n              if (isCurrentlyWatching) {\n                stopWatching();\n              }\n            }\n          });\n        }, {\n          threshold: [0.5] // Trigger when 50% of iframe is visible\n        });\n\n        intersectionObserver.observe(iframe);\n      };\n\n      // Cleanup function\n      const cleanup = (): void => {\n        stopWatching();\n        \n        if (intersectionObserver) {\n          intersectionObserver.disconnect();\n          intersectionObserver = null;\n        }\n        \n        document.removeEventListener(\"visibilitychange\", handleVisibilityChange);\n        window.removeEventListener(\"beforeunload\", handleBeforeUnload);\n        window.removeEventListener(\"message\", handleVideoMessage);\n        \n        if (watchTimer) {\n          clearInterval(watchTimer);\n          watchTimer = null;\n        }\n      };\n\n      // Cleanup on component unmount\n      onBeforeUnmount(() => {\n        cleanup();\n      });\n\n      const loadProducts = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"product/loadProducts\", \"subscription\");\n        } else {\n          setTimeout(loadProducts, 250);\n        }\n      };\n      loadProducts();\n\n      store.dispatch(\"livestream/loadLivestream\", livestreamId);\n      store.dispatch(\"livestream/loadMyLiveStreams\");\n      getStreamStatus();\n      updateWaitingStatus();\n\n      return {\n        livestream,\n        liveSvodCap,\n        formatDateTime,\n        userIsSubscribed,\n        userTimezone,\n        toHyperlink,\n        onIframeLoad\n      };\n    }\n  });\n\n  // Livestream Detail\n  export default Livestream_Detail;\n","import { render } from \"./Livestream_Detail.vue?vue&type=template&id=062f9b81&bindings={}\"\nimport script from \"./Livestream_Detail.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_Detail.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <li v-if=\"livestream.ext_data\">\n    <div class=\"nu-wrapper\">\n      <div class=\"nu-class-info\">\n        <!-- Time -->\n        <div class=\"time\">\n          <p>{{ formatTime(livestream.ext_data.live_starts_at) }}</p>\n        </div>\n        <!-- /Time -->\n\n        <!-- Thumbnail -->\n        <div>\n          <figure>\n            <div :style=\"{\n                   backgroundImage: `url(${livestream.cover_art.thumbnail})`\n                 }\"\n                 class=\"mask\"\n            >\n              <span v-if=\"livestream.stream_info.stream_status === 'on_air'\"\n                    class=\"icon\"\n              >\n                <img alt=\"Livestream\"\n                     src=\"/assets/volt/icon-broadcast-white.svg\"\n                >\n              </span>\n            </div>\n          </figure>\n        </div>\n        <!-- /Thumbnail -->\n\n        <div>\n          <!-- Title -->\n          <p v-if=\"livestream.live_svod_count < liveSvodCap && userIsSubscribed && livestream.live_stream_registration_id\"\n             class=\"title\"\n          >\n            <a :href=\"`${livestream.share_url}?id=${livestream.resource_id}`\">\n              {{ livestream.title }}\n            </a>\n          </p>\n\n          <p v-else\n             class=\"title\"\n          >\n            {{ livestream.title }}\n          </p>\n          <!-- /Title -->\n\n          <!-- Instructor -->\n          <p v-if=\"livestream.ext_data.live_instructor_name\">\n            {{ livestream.ext_data.live_instructor_name }}\n          </p>\n          <!-- /Instructor -->\n\n          <!-- Duration -->\n          <p class=\"note\">\n            <span v-if=\"livestream.ext_data.live_duration_minutes\"> {{ livestream.ext_data.live_duration_minutes }} min\n              •\n            </span>\n\n            <span v-else> No Duration •</span>\n\n            <span v-if=\"livestream.stream_info.stream_status === 'scheduled' && livestream.live_svod_count < liveSvodCap\">\n              Available\n            </span>\n\n            <span v-if=\"livestream.stream_info.stream_status === 'scheduled' && livestream.live_svod_count >= liveSvodCap\">\n              This class is full\n            </span>\n\n            <span v-if=\"livestream.stream_info.stream_status === 'on_air' || livestream.stream_info.stream_status === 'stream_live'\">\n              On Air\n            </span>\n\n            <span v-if=\"livestream.stream_info.stream_status === 'off_air' || livestream.stream_info.stream_status === 'ended'\">\n              Ended\n            </span>\n          </p>\n          <!-- /Duration -->\n        </div>\n      </div>\n\n      <!-- Opt-In/Opt-Out Button -->\n      <div class=\"nu-class-action\">\n        <livestream_opt-in-button :livestream=\"livestream\" />\n      </div>\n      <!-- /Opt-In/Opt-Out Button -->\n    </div>\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import Livestream_OptInButton from \"@/components/subscriber/livestream/Livestream_OptInButton.vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_ListCard: Component<LooseObject> = defineComponent({\n    components: { \"livestream_opt-in-button\": Livestream_OptInButton },\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const formatTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatTime(n);\n      };\n\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const userIsSubscribed: ComputedRef = computed(() => {\n        if (typeof store.state.user.id === \"undefined\") {\n          return false;\n        }\n\n        if (typeof mySubscriptions.value !== \"undefined\" && mySubscriptions.value.length) {\n          for (let a = 0; a < props.livestream.associated_products.length; a++) {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (props.livestream.associated_products[a].id === mySubscriptions.value[s].product_id) {\n                // If a subscription ID and livestream associated_product ID match, return true\n                return true;\n              }\n            }\n          }\n        }\n        return false;\n      });\n\n      return {\n        formatTime,\n        liveSvodCap,\n        userIsSubscribed\n      };\n    }\n  });\n\n  export default Livestream_ListCard;\n</script>\n","\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import Livestream_OptInButton from \"@/components/subscriber/livestream/Livestream_OptInButton.vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_ListCard: Component<LooseObject> = defineComponent({\n    components: { \"livestream_opt-in-button\": Livestream_OptInButton },\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const formatTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatTime(n);\n      };\n\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n      const mySubscriptions: ComputedRef = computed(() => store.state.subscriptions);\n\n      const userIsSubscribed: ComputedRef = computed(() => {\n        if (typeof store.state.user.id === \"undefined\") {\n          return false;\n        }\n\n        if (typeof mySubscriptions.value !== \"undefined\" && mySubscriptions.value.length) {\n          for (let a = 0; a < props.livestream.associated_products.length; a++) {\n            for (let s = 0; s < mySubscriptions.value.length; s++) {\n              if (props.livestream.associated_products[a].id === mySubscriptions.value[s].product_id) {\n                // If a subscription ID and livestream associated_product ID match, return true\n                return true;\n              }\n            }\n          }\n        }\n        return false;\n      });\n\n      return {\n        formatTime,\n        liveSvodCap,\n        userIsSubscribed\n      };\n    }\n  });\n\n  export default Livestream_ListCard;\n","import { render } from \"./Livestream_ListCard.vue?vue&type=template&id=7442741d&bindings={}\"\nimport script from \"./Livestream_ListCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_ListCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <section class=\"schedule nu-slider\">\n    <div class=\"week-schedule\">\n      <h3>{{ formatDate(selectedDate) }}</h3>\n\n      <section class=\"livestream\">\n        <!-- Loading Notification -->\n        <p v-if=\"loadingLivestreams\">\n          Loading...\n        </p>\n        <!-- /Loading Notification -->\n\n        <!-- No Livestreams Notification -->\n        <p v-if=\"!loadingLivestreams && !livestreams.length\">\n          There are no livestreams scheduled for today\n        </p>\n        <!-- /No Livestreams Notification -->\n\n        <!-- Livestream List -->\n        <ul v-if=\"!loadingLivestreams && livestreams.length\"\n            class=\"nu-list cards\"\n        >\n          <livestream_list-card v-for=\"(livestream, index) in livestreams\"\n                                :key=\"index\"\n                                :livestream=\"livestream\"\n          />\n        </ul>\n        <!-- /Livestream List -->\n      </section>\n    </div>\n  </section>\n</template>\n\n<script lang=\"ts\">\n  import Time from \"@/lib/Time\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Livestream_ListCard from \"@/components/subscriber/livestream/Livestream_ListCard.vue\";\n  import { generateICS } from \"@/utils/utils\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_List: Component<LooseObject> = defineComponent({\n    components: {\n      \"livestream_list-card\": Livestream_ListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const formatDate = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatDate(n);\n      };\n\n      const livestreams: ComputedRef = computed(() => store.state.livestream.livestreams);\n      const loadingLivestreams: ComputedRef = computed(() => store.state.livestream.loadingLivestreams);\n      const selectedDate: ComputedRef = computed(() => store.state.livestream.selectedDate);\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n\n      return {\n        livestreams,\n        loadingLivestreams,\n        selectedDate,\n        liveSvodCap,\n        formatDate,\n      };\n    }\n  });\n\n  export default Livestream_List;\n</script>\n","\n  import Time from \"@/lib/Time\";\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import Livestream_ListCard from \"@/components/subscriber/livestream/Livestream_ListCard.vue\";\n  import { generateICS } from \"@/utils/utils\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_List: Component<LooseObject> = defineComponent({\n    components: {\n      \"livestream_list-card\": Livestream_ListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const formatDate = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatDate(n);\n      };\n\n      const livestreams: ComputedRef = computed(() => store.state.livestream.livestreams);\n      const loadingLivestreams: ComputedRef = computed(() => store.state.livestream.loadingLivestreams);\n      const selectedDate: ComputedRef = computed(() => store.state.livestream.selectedDate);\n      const liveSvodCap: ComputedRef = computed(() => store.state.livestream.liveSvodCap);\n\n      return {\n        livestreams,\n        loadingLivestreams,\n        selectedDate,\n        liveSvodCap,\n        formatDate,\n      };\n    }\n  });\n\n  export default Livestream_List;\n","import { render } from \"./Livestream_List.vue?vue&type=template&id=1f7aeb0f&bindings={}\"\nimport script from \"./Livestream_List.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_List.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <li class=\"media\">\n    <div class=\"inner-wrapper\">\n      <div class=\"banner media\">\n        <a :href=\"livestream.share_url + '?id=' + livestream.resource_id\"\n           class=\"wrapper\"\n        >\n          <div class=\"opacity\">\n            <p v-if=\"livestream.stream_info.stream_status === 'on_air'\"\n               class=\"ls-icon big\"\n            >\n              <span class=\"icon\">\n                <img alt=\"Live Stream\"\n                     src=\"/assets/volt/icon-broadcast-white.svg\"\n                >\n              </span>\n            </p>\n\n            <span v-if=\"livestream.stream_info.stream_status === 'on_air'\"\n                  class=\"ls-tag\"\n            >\n              <span class=\"ls-live\">\n                <span class=\"icon\">\n                  <img alt=\"Live Stream\"\n                       src=\"/assets/volt/icon-broadcast-white.svg\"\n                  >\n                </span>\n\n                <span class=\"ls-bc-date\">\n                  <span class=\"ls-countdown\">LIVE</span>\n                </span>\n              </span>\n            </span>\n          </div>\n        </a>\n\n        <span class=\"cover_art\">\n          <img v-if=\"livestream.cover_art.thumbnail\"\n               :alt=\"livestream.title\"\n               :src=\"livestream.cover_art.thumbnail\"\n          >\n          <img v-else\n               :src=\"'/volt/' + cover_art_fallback.png\"\n               alt=\"\"\n               class=\"horizontal\"\n          >\n        </span>\n      </div>\n\n      <div class=\"details\">\n        <div class=\"footer\">\n          <div class=\"meta\">\n            <p class=\"title\">\n              <a :href=\"livestream.share_url + '?id=' + livestream.resource_id\">\n                {{ livestream.title }}\n              </a>\n            </p>\n\n            <p class=\"note type\">\n              <span v-if=\"livestream.ext_data.live_duration_minutes\"> {{ livestream.ext_data.live_duration_minutes }}\n                min\n              </span>\n\n              <span v-else>No Duration</span>\n\n              <span>Scheduled for {{ formatTime(livestream.ext_data.live_starts_at, livestream.ext_data.timezone) }}\n              </span>\n            </p>\n          </div>\n        </div>\n      </div>\n    </div>\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_MyListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup() {\n      const formatTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatTime(n);\n      };\n\n      return {\n        formatTime\n      };\n    }\n  });\n  export default Livestream_MyListCard;\n</script>\n","\n  import { Component, defineComponent } from \"vue\";\n  import Time from \"@/lib/Time\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Livestream_MyListCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"livestream\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup() {\n      const formatTime = (n: string): string => {\n        const time: Time = new Time();\n        return time.formatTime(n);\n      };\n\n      return {\n        formatTime\n      };\n    }\n  });\n  export default Livestream_MyListCard;\n","import { render } from \"./Livestream_MyListCard.vue?vue&type=template&id=5b086266&bindings={}\"\nimport script from \"./Livestream_MyListCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_MyListCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <section v-if=\"!filteredStreams.length\"\n             id=\"my_livestreams\"\n             class=\"browse browse-feed-items\"\n    >\n      <p>You have no upcoming livestreams</p>\n    </section>\n\n    <section v-if=\"filteredStreams.length\"\n             id=\"my_livestreams\"\n             class=\"browse browse-feed-items\"\n    >\n      <div class=\"overflow-scroll\">\n          <ul class=\"default thumbnails grid\">\n            <livestream_my-list-card v-for=\"(livestream, index) in filteredStreams\"\n                                     :key=\"index\"\n                                     :livestream=\"livestream\"\n            />\n          </ul>\n      </div>\n      <button class=\"button primary custom-border\" style=\"margin: 10px; font-size: 18px; padding: 15px;\" @click.prevent=\"onDownloadEvents\">Add to Calendar</button>\n    </section>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n\n  import Livestream_MyListCard from \"@/components/subscriber/livestream/Livestream_MyListCard.vue\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { generateICS } from \"@/utils/utils\";\n\n  const LiveStreamsMyLivestreamsList: Component<LooseObject> = defineComponent({\n    components: {\n      \"livestream_my-list-card\": Livestream_MyListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const currentTime: Ref = ref(dayjs());\n      \n      const downloadICSFile = (icsContent: string) => {\n        const blob = new Blob([icsContent], { type: 'text/calendar;charset=utf-8' });\n        const downloadLink = document.createElement('a');\n        downloadLink.href = URL.createObjectURL(blob);\n        const fileName = `mylivestreams.ics`;\n        downloadLink.download = fileName;\n        downloadLink.click();\n      };\n\n      const filteredStreams: ComputedRef = computed(() => {\n        return store.state.livestream.myLivestreams.filter((o: MediaItem) => {\n          return currentTime.value.isBefore(o.ext_data.live_ends_at);\n        });\n      });\n\n      const onDownloadEvents = () => {\n        if(filteredStreams.value.length) {\n          const icsContent = generateICS(filteredStreams.value);\n          downloadICSFile(icsContent)\n        }\n      };\n\n      store.dispatch(\"livestream/loadMyLiveStreams\");\n\n      return {\n        filteredStreams,\n        onDownloadEvents\n      };\n    }\n  });\n\n  export default LiveStreamsMyLivestreamsList;\n</script>\n","\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n\n  import Livestream_MyListCard from \"@/components/subscriber/livestream/Livestream_MyListCard.vue\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { generateICS } from \"@/utils/utils\";\n\n  const LiveStreamsMyLivestreamsList: Component<LooseObject> = defineComponent({\n    components: {\n      \"livestream_my-list-card\": Livestream_MyListCard\n    },\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n\n      const currentTime: Ref = ref(dayjs());\n      \n      const downloadICSFile = (icsContent: string) => {\n        const blob = new Blob([icsContent], { type: 'text/calendar;charset=utf-8' });\n        const downloadLink = document.createElement('a');\n        downloadLink.href = URL.createObjectURL(blob);\n        const fileName = `mylivestreams.ics`;\n        downloadLink.download = fileName;\n        downloadLink.click();\n      };\n\n      const filteredStreams: ComputedRef = computed(() => {\n        return store.state.livestream.myLivestreams.filter((o: MediaItem) => {\n          return currentTime.value.isBefore(o.ext_data.live_ends_at);\n        });\n      });\n\n      const onDownloadEvents = () => {\n        if(filteredStreams.value.length) {\n          const icsContent = generateICS(filteredStreams.value);\n          downloadICSFile(icsContent)\n        }\n      };\n\n      store.dispatch(\"livestream/loadMyLiveStreams\");\n\n      return {\n        filteredStreams,\n        onDownloadEvents\n      };\n    }\n  });\n\n  export default LiveStreamsMyLivestreamsList;\n","import MediaItem from \"@/interfaces/MediaItem\";\nimport dayjs from \"dayjs\";\nimport * as uuid from \"uuid\";\n\nexport const generateICS = (events: MediaItem[]): string => {\n    let icsContent = 'BEGIN:VCALENDAR\\nVERSION:2.0\\n';\n    events.forEach(function(event) {\n        icsContent += 'BEGIN:VEVENT\\n';\n        icsContent += 'BEGIN:TIMEZONE\\n';\n        icsContent += 'TZID:'+ event.ext_data.timezone + '\\n';\n        icsContent += 'END:TIMEZONE\\n';\n        icsContent += 'UID:' + uuid.v4() + '\\n';\n        icsContent += 'URL:' + event.share_url + '\\n'\n        const dtstamp = dayjs().format(\"YYYYMMDD[T]HHmm00\");\n        icsContent += 'DTSTAMP:' + dtstamp + \"\\n\";\n        const dtstart = dayjs(event.ext_data.live_starts_at).format(\"YYYYMMDD[T]HHmm00\");\n        icsContent += \"DTSTART:\" + dtstart + \"\\n\";\n        const dtend = dayjs(event.ext_data.live_ends_at).format(\"YYYYMMDD[T]HHmm00\");\n        icsContent += \"DTEND:\" + dtend + \"\\n\";\n        icsContent += 'SUMMARY:' + event.title + '\\n';\n        icsContent += `DESCRIPTION:${event.title}\\\\n\\\\n`;\n        if (event.description !== null) {\n          icsContent += `${event.description}\\\\n\\\\n`;\n        }\n        icsContent += `${event.share_url}?id=${event.resource_id}\\n`;\n        icsContent += 'END:VEVENT\\n';\n    });\n    icsContent += 'END:VCALENDAR\\n';\n    return icsContent;\n};\n","import { render } from \"./Livestream_MyList.vue?vue&type=template&id=583463a2&bindings={}\"\nimport script from \"./Livestream_MyList.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_MyList.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"showModal === true && typeof livestream !== 'undefined'\">\n    <!-- Modal Overlay -->\n    <div v-if=\"showModal === true\"\n         class=\"modal-overlay\"\n         @click=\"toggleModal\"\n    />\n    <!-- /Modal Overlay -->\n\n    <!-- Modal -->\n    <div class=\"modal checkout\">\n      <div class=\"wrapper\">\n        <h1>Choose your Subscription</h1>\n        <p>This livestream is included in the following subscriptions:</p>\n\n        <div class=\"nu-plans\">\n          <template v-for=\"sub in livestream.associated_products\">\n            <a v-if=\"sub.visible === true\"\n               :id=\"sub.id\"\n               :key=\"sub.id\"\n               :href=\"'/orders/' + sub.slug\"\n               class=\"card half not-selected plan-selector\"\n            >\n              <div class=\"card-options\">\n                <h2 class=\"title\">{{ sub.title }}</h2>\n                <p v-if=\"sub.short_description\"\n                   class=\"short-description\"\n                >\n                  {{ sub.short_description }}\n                </p>\n              </div>\n              <div class=\"card-section\">\n                <p>\n                  Starting at\n                  <strong>{{ sub.recurring_amount }}</strong>\n                  / {{ sub.frequency }}\n                </p>\n                <p>\n                  <span class=\"button outline\"> Select</span>\n                </p>\n              </div>\n            </a>\n          </template>\n        </div>\n        <p>\n          <a class=\"plain-link\"\n             href=\"#\"\n             @click=\"toggleModal\"\n          >Close Modal\n          </a>\n        </p>\n      </div>\n    </div>\n    <!-- /Modal -->\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import LiveStream from \"@/interfaces/LiveStream\";\n\n  const PricingModal: Component<LooseObject> = defineComponent({\n    name: \"PricingModal\",\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const modalId: Ref = ref<number>(store.state.livestream.modalId);\n      const showModal: Ref = ref<boolean>(store.state.livestream.showModal);\n\n      const livestream: ComputedRef = computed((): LiveStream => {\n        let livestream: LiveStream = store.state.livestream.livestream;\n\n        if (store.state.livestream.livestreams.length) {\n          livestream = store.state.livestream.livestreams.find((l: LiveStream) => {\n            return l.resource_id === modalId.value;\n          });\n        }\n        return livestream;\n      });\n\n      const toggleModal = (): void => {\n        store.commit(\"livestream/toggleModal\");\n      };\n\n      return {\n        modalId,\n        showModal,\n        livestream,\n        toggleModal\n      };\n    }\n  });\n\n  export default PricingModal;\n</script>\n\n<style lang=\"scss\">\n  body {\n    position: relative;\n  }\n\n  #app {\n    position: relative;\n  }\n\n  .modal-overlay {\n    background-color: rgba(0, 0, 0, 0.3);\n    bottom: 0;\n    left: 0;\n    position: fixed;\n    right: 0;\n    top: 0;\n    z-index: 98;\n  }\n\n  .fade-enter-active,\n  .fade-leave-active {\n    transition: opacity 0.5s;\n  }\n\n  .fade-enter,\n  .fade-leave-to {\n  }\n</style>\n","\n  import { Store, useStore } from \"vuex\";\n  import { Component, computed, ComputedRef, defineComponent, ref, Ref } from \"vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import LiveStream from \"@/interfaces/LiveStream\";\n\n  const PricingModal: Component<LooseObject> = defineComponent({\n    name: \"PricingModal\",\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const modalId: Ref = ref<number>(store.state.livestream.modalId);\n      const showModal: Ref = ref<boolean>(store.state.livestream.showModal);\n\n      const livestream: ComputedRef = computed((): LiveStream => {\n        let livestream: LiveStream = store.state.livestream.livestream;\n\n        if (store.state.livestream.livestreams.length) {\n          livestream = store.state.livestream.livestreams.find((l: LiveStream) => {\n            return l.resource_id === modalId.value;\n          });\n        }\n        return livestream;\n      });\n\n      const toggleModal = (): void => {\n        store.commit(\"livestream/toggleModal\");\n      };\n\n      return {\n        modalId,\n        showModal,\n        livestream,\n        toggleModal\n      };\n    }\n  });\n\n  export default PricingModal;\n","import { render } from \"./Livestream_PricingModal.vue?vue&type=template&id=3d16aa8d&bindings={}\"\nimport script from \"./Livestream_PricingModal.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_PricingModal.vue?vue&type=script&lang=ts\"\n\nimport \"./Livestream_PricingModal.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script","<template>\n  <ul class=\"nu-list tabbed-nav\">\n    <li>\n      <a class=\"here\"\n         href=\"#live_stream_calendar\"\n      >Livestream Schedule\n      </a>\n    </li>\n    <li>\n      <a href=\"#my_live_streams\">My Livestreams</a>\n    </li>\n  </ul>\n</template>\n\n<script lang=\"ts\">\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, defineComponent } from \"vue\";\n\n  const Livestream_TabMenu: Component<LooseObject> = defineComponent({\n    name: \"LivestreamTabMenu\"\n  });\n\n  export default Livestream_TabMenu;\n</script>\n","\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import { Component, defineComponent } from \"vue\";\n\n  const Livestream_TabMenu: Component<LooseObject> = defineComponent({\n    name: \"LivestreamTabMenu\"\n  });\n\n  export default Livestream_TabMenu;\n","import { render } from \"./Livestream_TabMenu.vue?vue&type=template&id=0a31370e&bindings={}\"\nimport script from \"./Livestream_TabMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./Livestream_TabMenu.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <section class=\"my-calendar__header\">\n    <div class=\"date-range\">\n      <div class=\"date-range__nav\">\n        <button class=\"unstyled\"\n                @click.prevent=\"onDateSubtract\"\n        >\n          <i class=\"fa fa-chevron-left left\" />\n        </button>\n        <button class=\"unstyled\"\n                @click.prevent=\"onDateAdd\"\n        >\n          <i class=\"fa fa-chevron-right right\" />\n        </button>\n      </div>\n\n      <div class=\"date-range__display\">\n        <span class=\"month\">{{ displayMonth }}</span>\n        <span class=\"year\">{{ displayYear }}</span>\n      </div>\n    </div>\n\n    <div class=\"view-select\">\n      <select v-model=\"viewMode\">\n        <option value=\"month\">\n          Month\n        </option>\n        <option value=\"week\">\n          Week\n        </option>\n      </select>\n    </div>\n  </section>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Calendar_DateNav: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const selectedDate: ComputedRef = computed({\n        get: () => {\n          return store.state.calendar.selectedDate;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"selectedDate\",\n            data: n\n          });\n        }\n      });\n\n      const calendarDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.calendarDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"calendarDate\",\n            data: n\n          });\n        }\n      });\n\n      const viewMode: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.calendar.viewMode;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"viewMode\",\n            data: n\n          });\n\n          calendarDate.value = selectedDate.value;\n\n          loadEvents();\n        }\n      });\n\n      const displayMonth: ComputedRef = computed(() => {\n        return calendarDate.value.format(\"MMMM\");\n      });\n\n      const displayYear: ComputedRef = computed(() => {\n        return calendarDate.value.format(\"YYYY\");\n      });\n\n      const weekDates: ComputedRef = computed(() => {\n        const startDay: number = calendarDate.value.day();\n\n        const weekStart: Dayjs = calendarDate.value.subtract(startDay, \"days\");\n\n        const weekArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < 7; i++) {\n          weekArray.push(weekStart.add(i, \"days\"));\n        }\n\n        return weekArray;\n      });\n\n      const monthDates: ComputedRef = computed(() => {\n        const startMonth: Dayjs = dayjs(`${calendarDate.value.year()}-${calendarDate.value.month() + 1}-01`);\n\n        const startDay: number = startMonth.day();\n\n        const monthStart: Dayjs = startMonth.subtract(startDay, \"days\");\n\n        let daysInMonth: number = startMonth.daysInMonth() + startDay;\n\n        // Populate calendar for full weeks\n        if (daysInMonth % 7 > 0) {\n          daysInMonth += 7 - (daysInMonth % 7);\n        }\n\n        const monthArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < daysInMonth; i++) {\n          monthArray.push(monthStart.add(i, \"days\"));\n        }\n\n        return monthArray;\n      });\n\n      const loadEvents = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          switch (viewMode.value) {\n            case \"month\":\n              store.dispatch(\"calendar/loadEventsByDate\", {\n                from: monthDates.value[0].format(\"YYYY-MM-DD\"),\n                to: monthDates.value[monthDates.value.length - 1].format(\"YYYY-MM-DD\"),\n                deliveryMethod: accountDeliveryMethod\n              });\n              break;\n            case \"week\":\n              store.dispatch(\"calendar/loadEventsByDate\", {\n                from: weekDates.value[0].format(\"YYYY-MM-DD\"),\n                to: weekDates.value[weekDates.value.length - 1].format(\"YYYY-MM-DD\"),\n                deliveryMethod: accountDeliveryMethod\n              });\n              break;\n          }\n        } else {\n          setTimeout(loadEvents, 250);\n        }\n      };\n\n      const onDateAdd = (): void => {\n        switch (viewMode.value) {\n          case \"month\":\n            calendarDate.value = calendarDate.value.add(1, \"month\");\n            break;\n\n          case \"week\":\n            calendarDate.value = calendarDate.value.add(1, \"week\");\n            break;\n        }\n\n        loadEvents();\n      };\n\n      const onDateSubtract = (): void => {\n        switch (viewMode.value) {\n          case \"month\":\n            calendarDate.value = calendarDate.value.subtract(1, \"month\");\n            break;\n\n          case \"week\":\n            calendarDate.value = calendarDate.value.subtract(1, \"week\");\n            break;\n        }\n\n        loadEvents();\n      };\n\n      // Initial load\n      loadEvents();\n\n      return {\n        accountDeliveryMethod,\n        viewMode,\n        onDateSubtract,\n        onDateAdd,\n        displayMonth,\n        displayYear\n      };\n    }\n  });\n\n  export default Calendar_DateNav;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Calendar_DateNav: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const selectedDate: ComputedRef = computed({\n        get: () => {\n          return store.state.calendar.selectedDate;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"selectedDate\",\n            data: n\n          });\n        }\n      });\n\n      const calendarDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.calendarDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"calendarDate\",\n            data: n\n          });\n        }\n      });\n\n      const viewMode: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.calendar.viewMode;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"viewMode\",\n            data: n\n          });\n\n          calendarDate.value = selectedDate.value;\n\n          loadEvents();\n        }\n      });\n\n      const displayMonth: ComputedRef = computed(() => {\n        return calendarDate.value.format(\"MMMM\");\n      });\n\n      const displayYear: ComputedRef = computed(() => {\n        return calendarDate.value.format(\"YYYY\");\n      });\n\n      const weekDates: ComputedRef = computed(() => {\n        const startDay: number = calendarDate.value.day();\n\n        const weekStart: Dayjs = calendarDate.value.subtract(startDay, \"days\");\n\n        const weekArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < 7; i++) {\n          weekArray.push(weekStart.add(i, \"days\"));\n        }\n\n        return weekArray;\n      });\n\n      const monthDates: ComputedRef = computed(() => {\n        const startMonth: Dayjs = dayjs(`${calendarDate.value.year()}-${calendarDate.value.month() + 1}-01`);\n\n        const startDay: number = startMonth.day();\n\n        const monthStart: Dayjs = startMonth.subtract(startDay, \"days\");\n\n        let daysInMonth: number = startMonth.daysInMonth() + startDay;\n\n        // Populate calendar for full weeks\n        if (daysInMonth % 7 > 0) {\n          daysInMonth += 7 - (daysInMonth % 7);\n        }\n\n        const monthArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < daysInMonth; i++) {\n          monthArray.push(monthStart.add(i, \"days\"));\n        }\n\n        return monthArray;\n      });\n\n      const loadEvents = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          switch (viewMode.value) {\n            case \"month\":\n              store.dispatch(\"calendar/loadEventsByDate\", {\n                from: monthDates.value[0].format(\"YYYY-MM-DD\"),\n                to: monthDates.value[monthDates.value.length - 1].format(\"YYYY-MM-DD\"),\n                deliveryMethod: accountDeliveryMethod\n              });\n              break;\n            case \"week\":\n              store.dispatch(\"calendar/loadEventsByDate\", {\n                from: weekDates.value[0].format(\"YYYY-MM-DD\"),\n                to: weekDates.value[weekDates.value.length - 1].format(\"YYYY-MM-DD\"),\n                deliveryMethod: accountDeliveryMethod\n              });\n              break;\n          }\n        } else {\n          setTimeout(loadEvents, 250);\n        }\n      };\n\n      const onDateAdd = (): void => {\n        switch (viewMode.value) {\n          case \"month\":\n            calendarDate.value = calendarDate.value.add(1, \"month\");\n            break;\n\n          case \"week\":\n            calendarDate.value = calendarDate.value.add(1, \"week\");\n            break;\n        }\n\n        loadEvents();\n      };\n\n      const onDateSubtract = (): void => {\n        switch (viewMode.value) {\n          case \"month\":\n            calendarDate.value = calendarDate.value.subtract(1, \"month\");\n            break;\n\n          case \"week\":\n            calendarDate.value = calendarDate.value.subtract(1, \"week\");\n            break;\n        }\n\n        loadEvents();\n      };\n\n      // Initial load\n      loadEvents();\n\n      return {\n        accountDeliveryMethod,\n        viewMode,\n        onDateSubtract,\n        onDateAdd,\n        displayMonth,\n        displayYear\n      };\n    }\n  });\n\n  export default Calendar_DateNav;\n","import { render } from \"./Calendar_DateNav.vue?vue&type=template&id=5d02ce9d&bindings={}\"\nimport script from \"./Calendar_DateNav.vue?vue&type=script&lang=ts\"\nexport * from \"./Calendar_DateNav.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div class=\"my-calendar__calendar\">\n    <table>\n      <thead>\n        <tr>\n          <th>\n            <abbr title=\"Sunday\">S</abbr>\n          </th>\n          <th>\n            <abbr title=\"Monday\">M</abbr>\n          </th>\n          <th>\n            <abbr title=\"Tuesday\">T</abbr>\n          </th>\n          <th>\n            <abbr title=\"Wednesday\">W</abbr>\n          </th>\n          <th>\n            <abbr title=\"Thursday\">T</abbr>\n          </th>\n          <th>\n            <abbr title=\"Friday\">F</abbr>\n          </th>\n          <th>\n            <abbr title=\"Saturday\">S</abbr>\n          </th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr v-for=\"(week, w) in displayDates\"\n            :key=\"w\"\n        >\n          <td v-for=\"(day, d) in week\"\n              :key=\"d\"\n          >\n            <button :class=\"{\n                      'number--current': isCurrentDay(day) && !isSelectedDay(day),\n                      'number--active': isSelectedDay(day) && !isCurrentDay(day),\n                      'number--current-active': isCurrentDay(day) && isSelectedDay(day),\n                      'number--outside-month': isOutsideMonth(day)\n                    }\"\n                    class=\"number\"\n                    @click.prevent=\"onDateSelect(day)\"\n            >\n              {{ day.format(\"D\") }}\n            </button>\n\n            <div class=\"dots\">\n              <div v-if=\"containsEvents(day)\"\n                   class=\"dots__dot\"\n              />\n            </div>\n          </td>\n        </tr>\n      </tbody>\n    </table>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import CalendarEvent from \"@/interfaces/CalendarEvent\";\n\n  const Calendar_DateList: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const chunk = (arr: Array<LooseObject>, size: number): Array<LooseObject> => Array.from({ length: Math.ceil(arr.length / size) }, (v, i) => arr.slice(i * size, i * size + size));\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const viewMode: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.calendar.viewMode;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"viewMode\",\n            data: n\n          });\n        }\n      });\n\n      const selectedDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.selectedDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"selectedDate\",\n            data: n\n          });\n        }\n      });\n\n      const calendarDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.calendarDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"calendarDate\",\n            data: n\n          });\n        }\n      });\n\n      const weekDates: ComputedRef = computed(() => {\n        const startDay: number = calendarDate.value.day();\n\n        const weekStart: Dayjs = calendarDate.value.subtract(startDay, \"days\");\n\n        const weekArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < 7; i++) {\n          weekArray.push(weekStart.add(i, \"days\"));\n        }\n\n        return weekArray;\n      });\n\n      const monthDates: ComputedRef = computed(() => {\n        const startMonth: Dayjs = dayjs(`${calendarDate.value.year()}-${calendarDate.value.month() + 1}-01`);\n\n        const startDay: number = startMonth.day();\n\n        const monthStart: Dayjs = startMonth.subtract(startDay, \"days\");\n\n        let daysInMonth: number = startMonth.daysInMonth() + startDay;\n\n        // Populate calendar for full weeks\n        if (daysInMonth % 7 > 0) {\n          daysInMonth += 7 - (daysInMonth % 7);\n        }\n\n        const monthArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < daysInMonth; i++) {\n          monthArray.push(monthStart.add(i, \"days\"));\n        }\n\n        return monthArray;\n      });\n\n      const displayDates: ComputedRef = computed(() => {\n        switch (viewMode.value) {\n          case \"week\":\n            return chunk(weekDates.value, 7);\n          case \"month\":\n            return chunk(monthDates.value, 7);\n          default:\n            return [];\n        }\n      });\n\n      const isCurrentDay = (day: Dayjs): boolean => {\n        return dayjs()\n          .isSame(day, \"date\");\n      };\n\n      const isSelectedDay = (day: Dayjs): boolean => {\n        return dayjs(selectedDate.value)\n          .isSame(day, \"date\");\n      };\n\n      const isOutsideMonth = (day: Dayjs): boolean => {\n        return !calendarDate.value.isSame(day, \"month\");\n      };\n\n      const containsEvents = (day: Dayjs): boolean => {\n        const events: Array<CalendarEvent> = store.state.calendar.calendarEvents.filter((e: CalendarEvent) => {\n          return dayjs(e.date)\n            .isSame(day, \"date\");\n        });\n\n        return typeof events !== \"undefined\" && events.length >= 1;\n      };\n\n      const onDateSelect = (n: Dayjs): void => {\n        selectedDate.value = n;\n\n        if (containsEvents(n)) {\n          let elem: HTMLElement | null = document.getElementById(\"calEventsList\");\n          if (elem !== null) {\n            elem.scrollIntoView({ behavior: \"smooth\" });\n          }\n        }\n\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"calendar/loadSelectedDateEvents\", {\n            deliveryMethod: accountDeliveryMethod\n          });\n        } else {\n          setTimeout(() => {\n            onDateSelect(n);\n          }, 250);\n        }\n      };\n\n      return {\n        accountDeliveryMethod,\n        viewMode,\n        displayDates,\n        isCurrentDay,\n        isSelectedDay,\n        isOutsideMonth,\n        containsEvents,\n        onDateSelect,\n        selectedDate\n      };\n    }\n  });\n\n  export default Calendar_DateList;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs, { Dayjs } from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import CalendarEvent from \"@/interfaces/CalendarEvent\";\n\n  const Calendar_DateList: Component<LooseObject> = defineComponent({\n    components: {},\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const chunk = (arr: Array<LooseObject>, size: number): Array<LooseObject> => Array.from({ length: Math.ceil(arr.length / size) }, (v, i) => arr.slice(i * size, i * size + size));\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const viewMode: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.calendar.viewMode;\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"viewMode\",\n            data: n\n          });\n        }\n      });\n\n      const selectedDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.selectedDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"selectedDate\",\n            data: n\n          });\n        }\n      });\n\n      const calendarDate: WritableComputedRef<Dayjs> = computed({\n        get: () => {\n          return dayjs(store.state.calendar.calendarDate);\n        },\n        set: (n) => {\n          store.commit(\"calendar/setProperty\", {\n            property: \"calendarDate\",\n            data: n\n          });\n        }\n      });\n\n      const weekDates: ComputedRef = computed(() => {\n        const startDay: number = calendarDate.value.day();\n\n        const weekStart: Dayjs = calendarDate.value.subtract(startDay, \"days\");\n\n        const weekArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < 7; i++) {\n          weekArray.push(weekStart.add(i, \"days\"));\n        }\n\n        return weekArray;\n      });\n\n      const monthDates: ComputedRef = computed(() => {\n        const startMonth: Dayjs = dayjs(`${calendarDate.value.year()}-${calendarDate.value.month() + 1}-01`);\n\n        const startDay: number = startMonth.day();\n\n        const monthStart: Dayjs = startMonth.subtract(startDay, \"days\");\n\n        let daysInMonth: number = startMonth.daysInMonth() + startDay;\n\n        // Populate calendar for full weeks\n        if (daysInMonth % 7 > 0) {\n          daysInMonth += 7 - (daysInMonth % 7);\n        }\n\n        const monthArray: Array<Dayjs> = [];\n\n        for (let i = 0; i < daysInMonth; i++) {\n          monthArray.push(monthStart.add(i, \"days\"));\n        }\n\n        return monthArray;\n      });\n\n      const displayDates: ComputedRef = computed(() => {\n        switch (viewMode.value) {\n          case \"week\":\n            return chunk(weekDates.value, 7);\n          case \"month\":\n            return chunk(monthDates.value, 7);\n          default:\n            return [];\n        }\n      });\n\n      const isCurrentDay = (day: Dayjs): boolean => {\n        return dayjs()\n          .isSame(day, \"date\");\n      };\n\n      const isSelectedDay = (day: Dayjs): boolean => {\n        return dayjs(selectedDate.value)\n          .isSame(day, \"date\");\n      };\n\n      const isOutsideMonth = (day: Dayjs): boolean => {\n        return !calendarDate.value.isSame(day, \"month\");\n      };\n\n      const containsEvents = (day: Dayjs): boolean => {\n        const events: Array<CalendarEvent> = store.state.calendar.calendarEvents.filter((e: CalendarEvent) => {\n          return dayjs(e.date)\n            .isSame(day, \"date\");\n        });\n\n        return typeof events !== \"undefined\" && events.length >= 1;\n      };\n\n      const onDateSelect = (n: Dayjs): void => {\n        selectedDate.value = n;\n\n        if (containsEvents(n)) {\n          let elem: HTMLElement | null = document.getElementById(\"calEventsList\");\n          if (elem !== null) {\n            elem.scrollIntoView({ behavior: \"smooth\" });\n          }\n        }\n\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"calendar/loadSelectedDateEvents\", {\n            deliveryMethod: accountDeliveryMethod\n          });\n        } else {\n          setTimeout(() => {\n            onDateSelect(n);\n          }, 250);\n        }\n      };\n\n      return {\n        accountDeliveryMethod,\n        viewMode,\n        displayDates,\n        isCurrentDay,\n        isSelectedDay,\n        isOutsideMonth,\n        containsEvents,\n        onDateSelect,\n        selectedDate\n      };\n    }\n  });\n\n  export default Calendar_DateList;\n","import { render } from \"./Calendar_DateList.vue?vue&type=template&id=e8e5d944&bindings={}\"\nimport script from \"./Calendar_DateList.vue?vue&type=script&lang=ts\"\nexport * from \"./Calendar_DateList.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div id=\"calEventsList\"\n       class=\"my-calendar-events__list\"\n  >\n    <h4>\n      <span class=\"day\">{{ displayDay }}</span>\n      ,\n      <span class=\"date\">{{ displayDate }}</span>\n      <a class=\"back-to-calendar\"\n         @click.prevent=\"scrollView('app')\"\n      >\n        <i class=\"fa fa-angle-double-up\" />&nbsp;Back to Calendar\n      </a>\n    </h4>\n\n    <div v-if=\"loadingDateEvents\">\n      Loading...\n    </div>\n\n    <div v-if=\"selectedDateEvents.length === 0 && !loadingDateEvents\"\n         class=\"no-events\"\n    >\n      There are no events scheduled for today.\n    </div>\n\n    <ul v-if=\"selectedDateEvents.length > 0 && !loadingDateEvents\"\n        class=\"my-calendar-events__list__cards\"\n    >\n      <calendar_event-list-card v-for=\"event in selectedDateEvents\"\n                                :key=\"event.id\"\n                                :event=\"event\"\n      />\n    </ul>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import Calendar_EventListCard from \"@/components/subscriber/calendar/Calendar_EventListCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Calendar_EventList: Component<LooseObject> = defineComponent({\n    components: {\n      \"calendar_event-list-card\": Calendar_EventListCard\n    },\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const displayDay: ComputedRef = computed(() => {\n        return dayjs(store.state.calendar.selectedDate)\n          .format(\"dddd\");\n      });\n\n      const displayDate: ComputedRef = computed(() => {\n        return dayjs(store.state.calendar.selectedDate)\n          .format(\"MMMM D\");\n      });\n\n      const selectedDateEvents: ComputedRef = computed(() => {\n        return store.state.calendar.selectedDateEvents;\n      });\n\n      const loadingDateEvents: ComputedRef = computed(() => {\n        return store.state.calendar.loadingDateEvents;\n      });\n\n      const scrollView = (elemId: string): void => {\n        let elem: HTMLElement | null = document.getElementById(elemId);\n        if (elem !== null) {\n          elem.scrollIntoView({ behavior: \"smooth\" });\n        }\n      };\n\n      const loadEvents = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"calendar/loadSelectedDateEvents\", {\n            deliveryMethod: accountDeliveryMethod\n          });\n        } else {\n          setTimeout(loadEvents, 250);\n        }\n      };\n\n      // Load initial date events\n      loadEvents();\n\n      return {\n        accountDeliveryMethod,\n        displayDay,\n        displayDate,\n        scrollView,\n        selectedDateEvents,\n        loadingDateEvents\n      };\n    }\n  });\n\n  export default Calendar_EventList;\n</script>\n","<template>\n  <li v-if=\"mediaObject.title\"\n      class=\"my-calendar-events__list__cards__card\"\n  >\n    <a :href=\"mediaObject.share_url + '?rel=cal'\">\n      <div v-if=\"mediaObject.duration !== null\"\n           class=\"duration\"\n      >\n        <i class=\"fa fa-clock-o\" />\n        {{ getDuration(mediaObject.duration) }}\n      </div>\n\n      <div class=\"title\">{{ mediaObject.title }}</div>\n\n      <div class=\"chevron\">\n        <i class=\"fa fa-chevron-right\" />\n      </div>\n    </a>\n\n    <div class=\"calendar-invites\">\n      <strong>Add this event to your calendar:</strong>\n      <a href=\"#\"\n         @click.prevent=\"saveCalendar\"\n      >iCal/Outlook\n      </a>\n      <a :href=\"gCalUrl\"\n         target=\"_blank\"\n      >Google Calendar\n      </a>\n    </div>\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, Ref, ref } from \"vue\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import axios, { AxiosResponse } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import * as uuid from \"uuid\";\n  import FileSaver from \"file-saver\";\n\n  const Calendar_EventListCard: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"event\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const mediaObject: Ref = ref({});\n      const event: Ref = ref(props.event);\n\n      const getDuration = (n: number): string => {\n        return new Date(n * 1000).toISOString()\n          .substr(11, 8);\n      };\n\n      const calendarInfo: Ref = ref({});\n\n      const gCalUrl: ComputedRef = computed(() => {\n        let urlString = `http://www.google.com/calendar/r/eventedit`;\n        urlString += `?text=${calendarInfo.value.name}`;\n        urlString += `&dates=${calendarInfo.value.start}/${calendarInfo.value.end}`;\n        urlString += `&details=%3Cb%3E${calendarInfo.value.name}%3C%2Fb%3E%0D%0A%0D%0A`;\n        if (mediaObject.value.description !== null) {\n          urlString += `${mediaObject.value.description}%0D%0A%0D%0A`;\n        }\n        urlString += `%3Ca%20href%3D%22${mediaObject.value.share_url}%22%3E${mediaObject.value.share_url}%3C%2Fa%3E`;\n        urlString += `&ctz=${calendarInfo.value.timezone}`;\n\n        return urlString;\n      });\n\n      const saveCalendar = (): void => {\n        const eol = \"\\n\";\n        let calString = `BEGIN:VCALENDAR${eol}`;\n        calString += `METHOD:PUBLISH${eol}`;\n        calString += `PRODID:InteliVideo${eol}`;\n        calString += `VERSION:2.0${eol}`;\n        calString += `NAME:${mediaObject.value.title}${eol}`;\n        calString += `UID:${uuid.v4()}${eol}`;\n        calString += `BEGIN:TIMEZONE${eol}`;\n        calString += `TZID:${dayjs.tz.guess()}${eol}`;\n        calString += `END:TIMEZONE${eol}`;\n        calString += `BEGIN:VEVENT${eol}`;\n        calString += `SUMMARY:${mediaObject.value.title}${eol}`;\n        calString += `DESCRIPTION:${mediaObject.value.title}\\\\n\\\\n`;\n        if (mediaObject.value.description !== null) {\n          calString += `${mediaObject.value.description}\\\\n\\\\n`;\n        }\n        calString += `${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}${eol}`;\n        calString += `URL:${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}${eol}`;\n        calString += `DTSTAMP:${dayjs()\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTSTART:${dayjs(event.value.date)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTEND:${dayjs(event.value.date)\n          .add(mediaObject.value.duration, \"seconds\")\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `END:VEVENT${eol}`;\n        calString += `END:VCALENDAR${eol}`;\n\n        const blob: Blob = new Blob([calString], { type: \"text/calendar\" });\n        FileSaver.saveAs(blob, `${mediaObject.value.title}.ics`);\n      };\n\n      onBeforeMount(() => {\n        axios\n          .get(`/api/apps/v3/media/${props.event.reference_id}`, {\n            withCredentials: true\n          })\n          .then((response: AxiosResponse<LooseObject>) => {\n            mediaObject.value = response.data;\n            calendarInfo.value = {\n              name: event.value.title,\n              timezone: dayjs.tz.guess(),\n              url: `${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}`,\n              start: `${dayjs(event.value.date)\n                .format(\"YYYYMMDD[T]HHmm\")}00`,\n              end: `${dayjs(event.value.date)\n                .add(mediaObject.value.duration, \"seconds\")\n                .format(\"YYYYMMDD[T]HHmm\")}00`\n            };\n          });\n      });\n      return {\n        mediaObject,\n        calendarInfo,\n        gCalUrl,\n        getDuration,\n        saveCalendar\n      };\n    }\n  });\n\n  export default Calendar_EventListCard;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, onBeforeMount, Ref, ref } from \"vue\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import axios, { AxiosResponse } from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import * as uuid from \"uuid\";\n  import FileSaver from \"file-saver\";\n\n  const Calendar_EventListCard: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"event\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const mediaObject: Ref = ref({});\n      const event: Ref = ref(props.event);\n\n      const getDuration = (n: number): string => {\n        return new Date(n * 1000).toISOString()\n          .substr(11, 8);\n      };\n\n      const calendarInfo: Ref = ref({});\n\n      const gCalUrl: ComputedRef = computed(() => {\n        let urlString = `http://www.google.com/calendar/r/eventedit`;\n        urlString += `?text=${calendarInfo.value.name}`;\n        urlString += `&dates=${calendarInfo.value.start}/${calendarInfo.value.end}`;\n        urlString += `&details=%3Cb%3E${calendarInfo.value.name}%3C%2Fb%3E%0D%0A%0D%0A`;\n        if (mediaObject.value.description !== null) {\n          urlString += `${mediaObject.value.description}%0D%0A%0D%0A`;\n        }\n        urlString += `%3Ca%20href%3D%22${mediaObject.value.share_url}%22%3E${mediaObject.value.share_url}%3C%2Fa%3E`;\n        urlString += `&ctz=${calendarInfo.value.timezone}`;\n\n        return urlString;\n      });\n\n      const saveCalendar = (): void => {\n        const eol = \"\\n\";\n        let calString = `BEGIN:VCALENDAR${eol}`;\n        calString += `METHOD:PUBLISH${eol}`;\n        calString += `PRODID:InteliVideo${eol}`;\n        calString += `VERSION:2.0${eol}`;\n        calString += `NAME:${mediaObject.value.title}${eol}`;\n        calString += `UID:${uuid.v4()}${eol}`;\n        calString += `BEGIN:TIMEZONE${eol}`;\n        calString += `TZID:${dayjs.tz.guess()}${eol}`;\n        calString += `END:TIMEZONE${eol}`;\n        calString += `BEGIN:VEVENT${eol}`;\n        calString += `SUMMARY:${mediaObject.value.title}${eol}`;\n        calString += `DESCRIPTION:${mediaObject.value.title}\\\\n\\\\n`;\n        if (mediaObject.value.description !== null) {\n          calString += `${mediaObject.value.description}\\\\n\\\\n`;\n        }\n        calString += `${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}${eol}`;\n        calString += `URL:${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}${eol}`;\n        calString += `DTSTAMP:${dayjs()\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTSTART:${dayjs(event.value.date)\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `DTEND:${dayjs(event.value.date)\n          .add(mediaObject.value.duration, \"seconds\")\n          .format(\"YYYYMMDD[T]HHmm\")}00${eol}`;\n        calString += `END:VEVENT${eol}`;\n        calString += `END:VCALENDAR${eol}`;\n\n        const blob: Blob = new Blob([calString], { type: \"text/calendar\" });\n        FileSaver.saveAs(blob, `${mediaObject.value.title}.ics`);\n      };\n\n      onBeforeMount(() => {\n        axios\n          .get(`/api/apps/v3/media/${props.event.reference_id}`, {\n            withCredentials: true\n          })\n          .then((response: AxiosResponse<LooseObject>) => {\n            mediaObject.value = response.data;\n            calendarInfo.value = {\n              name: event.value.title,\n              timezone: dayjs.tz.guess(),\n              url: `${mediaObject.value.share_url}?id=${mediaObject.value.resource_id}`,\n              start: `${dayjs(event.value.date)\n                .format(\"YYYYMMDD[T]HHmm\")}00`,\n              end: `${dayjs(event.value.date)\n                .add(mediaObject.value.duration, \"seconds\")\n                .format(\"YYYYMMDD[T]HHmm\")}00`\n            };\n          });\n      });\n      return {\n        mediaObject,\n        calendarInfo,\n        gCalUrl,\n        getDuration,\n        saveCalendar\n      };\n    }\n  });\n\n  export default Calendar_EventListCard;\n","import { render } from \"./Calendar_EventListCard.vue?vue&type=template&id=670cdda9&bindings={}\"\nimport script from \"./Calendar_EventListCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Calendar_EventListCard.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import dayjs from \"dayjs\";\n  import utc from \"dayjs/plugin/utc\";\n  import timezone from \"dayjs/plugin/timezone\";\n  import weekOfYear from \"dayjs/plugin/weekOfYear\";\n  import calendar from \"dayjs/plugin/calendar\";\n  import Calendar_EventListCard from \"@/components/subscriber/calendar/Calendar_EventListCard.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Calendar_EventList: Component<LooseObject> = defineComponent({\n    components: {\n      \"calendar_event-list-card\": Calendar_EventListCard\n    },\n    setup() {\n      dayjs.extend(utc);\n      dayjs.extend(timezone);\n      dayjs.extend(weekOfYear);\n      dayjs.extend(calendar);\n      dayjs.tz.setDefault(dayjs.tz.guess());\n\n      const store: Store<LooseObject> = useStore();\n\n      const accountDeliveryMethod: ComputedRef = computed(() => {\n        // For some reason Webpack chokes on this and it won't let us use <HTMLInputElement>document.getElementById(...)\n        // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n        const deliveryHiddenElement: HTMLInputElement | null = document.getElementById(\"content_delivery_preference\") as HTMLInputElement;\n        const deliveryMethod: string | null = deliveryHiddenElement?.value || null;\n        return deliveryMethod;\n      });\n\n      const displayDay: ComputedRef = computed(() => {\n        return dayjs(store.state.calendar.selectedDate)\n          .format(\"dddd\");\n      });\n\n      const displayDate: ComputedRef = computed(() => {\n        return dayjs(store.state.calendar.selectedDate)\n          .format(\"MMMM D\");\n      });\n\n      const selectedDateEvents: ComputedRef = computed(() => {\n        return store.state.calendar.selectedDateEvents;\n      });\n\n      const loadingDateEvents: ComputedRef = computed(() => {\n        return store.state.calendar.loadingDateEvents;\n      });\n\n      const scrollView = (elemId: string): void => {\n        let elem: HTMLElement | null = document.getElementById(elemId);\n        if (elem !== null) {\n          elem.scrollIntoView({ behavior: \"smooth\" });\n        }\n      };\n\n      const loadEvents = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          store.dispatch(\"calendar/loadSelectedDateEvents\", {\n            deliveryMethod: accountDeliveryMethod\n          });\n        } else {\n          setTimeout(loadEvents, 250);\n        }\n      };\n\n      // Load initial date events\n      loadEvents();\n\n      return {\n        accountDeliveryMethod,\n        displayDay,\n        displayDate,\n        scrollView,\n        selectedDateEvents,\n        loadingDateEvents\n      };\n    }\n  });\n\n  export default Calendar_EventList;\n","import { render } from \"./Calendar_EventList.vue?vue&type=template&id=3da3d625&bindings={}\"\nimport script from \"./Calendar_EventList.vue?vue&type=script&lang=ts\"\nexport * from \"./Calendar_EventList.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <form @submit.prevent=\"onCreateAccount\">\n      <div class=\"form__wrapper\">\n        <fieldset class=\"form__field margin-auto\">\n          <global_input id=\"first_name\"\n                        v-model:input-value=\"first_name\"\n                        label=\"First Name\"\n                        name=\"first_name\"\n                        required=\"required\"\n                        type=\"text\"\n          />\n\n          <global_input id=\"last_name\"\n                        v-model:input-value=\"last_name\"\n                        label=\"Last Name\"\n                        name=\"last_name\"\n                        required=\"required\"\n                        type=\"text\"\n          />\n\n          <global_input id=\"email\"\n                        v-model:input-value=\"email\"\n                        :validation-message=\"emailValidationMessage\"\n                        label=\"Email Address\"\n                        name=\"email\"\n                        required=\"required\"\n                        type=\"email\"\n          />\n        </fieldset>\n\n        <fieldset class=\"form__field margin-auto\">\n          <global_input id=\"password\"\n                        v-model:input-value=\"password\"\n                        :validation-message=\"passwordValidationMessage\"\n                        label=\"Password\"\n                        name=\"password\"\n                        required=\"required\"\n                        type=\"password\"\n          />\n\n          <global_input id=\"password_confirm\"\n                        v-model:input-value=\"password_confirm\"\n                        :validation-message=\"passwordValidationMessage\"\n                        label=\"Confirm Password\"\n                        name=\"password_confirm\"\n                        required=\"required\"\n                        type=\"password\"\n          />\n        </fieldset>\n\n        <div class=\"input-checkbox toc\">\n          <input id=\"tos\"\n                 v-model=\"tos\"\n                 name=\"tos\"\n                 required\n                 type=\"checkbox\"\n                 value=\"true\"\n          >\n          <label for=\"tos\">I agree to the\n            <a href=\"/page/privacy/\"\n               rel=\"noopener noreferrer\"\n               target=\"_blank\"\n            >privacy policy\n            </a>\n            and\n            <a href=\"/page/terms-of-service/\"\n               rel=\"noopener noreferrer\"\n               target=\"_blank\"\n            >terms of service\n            </a>\n            *\n          </label>\n        </div>\n\n        <div class=\"action-btns\">\n          <button type=\"submit\">\n            Create My Account\n          </button>\n        </div>\n      </div>\n    </form>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_CreateAccount: Component<LooseObject> = defineComponent({\n    components: {\n      global_input: Global_Input\n    },\n    props: {\n      \"redirectUri\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.first_name;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"first_name\",\n            data: n\n          });\n        }\n      });\n\n      const last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.last_name;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"last_name\",\n            data: n\n          });\n        }\n      });\n\n      const email: ComputedRef = computed({\n        get: () => {\n          return store.state.user.email;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"email\",\n            data: n\n          });\n        }\n      });\n\n      let password: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.password;\n        },\n        set: (n: string) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"password\",\n            data: n\n          });\n        }\n      });\n\n      let password_confirm: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.password_confirm;\n        },\n        set: (n: string) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"password_confirm\",\n            data: n\n          });\n        }\n      });\n\n      // Clear out any saved password data\n      password.value = \"\";\n      password_confirm.value = \"\";\n\n      const tos: Ref = ref(false);\n\n      // Validation\n      const emailValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const passwordValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const onCreateAccount = (): void => {\n        // Set validation messages to null\n        emailValidationMessage.value.status = null;\n        emailValidationMessage.value.message = null;\n\n        passwordValidationMessage.value.status = null;\n        passwordValidationMessage.value.message = null;\n\n        let isValid = true;\n\n        // Validate password requirements\n        if (password.value.length < 6) {\n          isValid = false;\n\n          passwordValidationMessage.value.status = \"error\";\n          passwordValidationMessage.value.message = \"Password must be at least 6 characters\";\n        }\n\n        // Make sure passwords match\n        if (password.value !== password_confirm.value) {\n          isValid = false;\n\n          passwordValidationMessage.value.status = \"error\";\n          passwordValidationMessage.value.message = \"Password and Password Confirmation must match\";\n        }\n\n        if (isValid) {\n          axios\n            .post(\n              `/api/apps/v3/public/account/${store.state.account.id}/users`,\n              {\n                first_name: first_name.value,\n                last_name: last_name.value,\n                email: email.value,\n                password: password.value\n              },\n              {\n                withCredentials: true\n              }\n            )\n            .then((response) => {\n              // Set user ID\n              store.commit(\"setProperty\", {\n                property: \"user\",\n                subProperty: \"id \",\n                data: response.data.user.id\n              });\n\n              // Set JWT to exchange for session token\n              store.commit(\"setProperty\", {\n                property: \"token\",\n                data: response.data.user.token\n              });\n\n              // Exchange JWT for session token\n              axios\n                .get(\"/api/apps/v3/users/session\", {\n                  withCredentials: true,\n                  headers: {\n                    Authorization: `Bearer ${store.state.token.access_token}`\n                  }\n                })\n                .then(() => {\n                  if (typeof props.redirectUri !== \"undefined\") {\n                    setTimeout(() => {\n                      window.location.href = props.redirectUri;\n                    }, 500);\n                  }\n                })\n                .catch((error) => {\n                  console.log(error);\n                });\n            })\n            .catch((error) => {\n              switch (error.response.data.error.field) {\n                case \"email\":\n                  emailValidationMessage.value.status = error;\n                  emailValidationMessage.value.message = error.response.data.error.message;\n                  break;\n              }\n            });\n        }\n      };\n\n      return {\n        onCreateAccount,\n        first_name,\n        last_name,\n        email,\n        password,\n        password_confirm,\n        tos,\n        emailValidationMessage,\n        passwordValidationMessage\n      };\n    }\n  });\n\n  export default Global_CreateAccount;\n</script>\n","\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_CreateAccount: Component<LooseObject> = defineComponent({\n    components: {\n      global_input: Global_Input\n    },\n    props: {\n      \"redirectUri\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const first_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.first_name;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"first_name\",\n            data: n\n          });\n        }\n      });\n\n      const last_name: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.last_name;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"last_name\",\n            data: n\n          });\n        }\n      });\n\n      const email: ComputedRef = computed({\n        get: () => {\n          return store.state.user.email;\n        },\n        set: (n) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"email\",\n            data: n\n          });\n        }\n      });\n\n      let password: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.password;\n        },\n        set: (n: string) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"password\",\n            data: n\n          });\n        }\n      });\n\n      let password_confirm: WritableComputedRef<string> = computed({\n        get: () => {\n          return store.state.user.password_confirm;\n        },\n        set: (n: string) => {\n          store.commit(\"setProperty\", {\n            property: \"user\",\n            subProperty: \"password_confirm\",\n            data: n\n          });\n        }\n      });\n\n      // Clear out any saved password data\n      password.value = \"\";\n      password_confirm.value = \"\";\n\n      const tos: Ref = ref(false);\n\n      // Validation\n      const emailValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const passwordValidationMessage: Ref = ref({\n        status: null,\n        message: null\n      });\n\n      const onCreateAccount = (): void => {\n        // Set validation messages to null\n        emailValidationMessage.value.status = null;\n        emailValidationMessage.value.message = null;\n\n        passwordValidationMessage.value.status = null;\n        passwordValidationMessage.value.message = null;\n\n        let isValid = true;\n\n        // Validate password requirements\n        if (password.value.length < 6) {\n          isValid = false;\n\n          passwordValidationMessage.value.status = \"error\";\n          passwordValidationMessage.value.message = \"Password must be at least 6 characters\";\n        }\n\n        // Make sure passwords match\n        if (password.value !== password_confirm.value) {\n          isValid = false;\n\n          passwordValidationMessage.value.status = \"error\";\n          passwordValidationMessage.value.message = \"Password and Password Confirmation must match\";\n        }\n\n        if (isValid) {\n          axios\n            .post(\n              `/api/apps/v3/public/account/${store.state.account.id}/users`,\n              {\n                first_name: first_name.value,\n                last_name: last_name.value,\n                email: email.value,\n                password: password.value\n              },\n              {\n                withCredentials: true\n              }\n            )\n            .then((response) => {\n              // Set user ID\n              store.commit(\"setProperty\", {\n                property: \"user\",\n                subProperty: \"id \",\n                data: response.data.user.id\n              });\n\n              // Set JWT to exchange for session token\n              store.commit(\"setProperty\", {\n                property: \"token\",\n                data: response.data.user.token\n              });\n\n              // Exchange JWT for session token\n              axios\n                .get(\"/api/apps/v3/users/session\", {\n                  withCredentials: true,\n                  headers: {\n                    Authorization: `Bearer ${store.state.token.access_token}`\n                  }\n                })\n                .then(() => {\n                  if (typeof props.redirectUri !== \"undefined\") {\n                    setTimeout(() => {\n                      window.location.href = props.redirectUri;\n                    }, 500);\n                  }\n                })\n                .catch((error) => {\n                  console.log(error);\n                });\n            })\n            .catch((error) => {\n              switch (error.response.data.error.field) {\n                case \"email\":\n                  emailValidationMessage.value.status = error;\n                  emailValidationMessage.value.message = error.response.data.error.message;\n                  break;\n              }\n            });\n        }\n      };\n\n      return {\n        onCreateAccount,\n        first_name,\n        last_name,\n        email,\n        password,\n        password_confirm,\n        tos,\n        emailValidationMessage,\n        passwordValidationMessage\n      };\n    }\n  });\n\n  export default Global_CreateAccount;\n","import { render } from \"./Global_CreateAccount.vue?vue&type=template&id=1f54493d&bindings={}\"\nimport script from \"./Global_CreateAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_CreateAccount.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div>\n    <form @submit.prevent=\"onLogIn\">\n      <global_input id=\"auth_email\"\n                    v-model:input-value=\"authEmail\"\n                    label=\"Email Address\"\n                    name=\"auth_email\"\n                    required=\"required\"\n                    type=\"email\"\n      />\n\n      <global_input id=\"auth_password\"\n                    v-model:input-value=\"authPassword\"\n                    label=\"Password\"\n                    name=\"auth_password\"\n                    required=\"required\"\n                    type=\"password\"\n      />\n\n      <div v-if=\"authenticationMessage !== null\"\n           class=\"error\"\n      >\n        {{ authenticationMessage }}\n      </div>\n\n      <button type=\"submit\">\n        Log In\n      </button>\n    </form>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_LogIn: Component<LooseObject> = defineComponent({\n    components: {\n      global_input: Global_Input\n    },\n    props: {\n      \"redirectUri\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const authEmail: Ref = ref(\"\");\n      const authPassword: Ref = ref(\"\");\n      const authenticationMessage: Ref = ref(null);\n\n      const onLogIn = (): void => {\n        authenticationMessage.value = null;\n\n        axios\n          .post(\"/oauth/token\", {\n            grant_type: \"password\",\n            account_id: store.state.account.id,\n            email: authEmail.value,\n            password: authPassword.value\n          })\n          .then((response) => {\n            // Set JWT\n            store.commit(\"setProperty\", {\n              property: \"token\",\n              data: response.data\n            });\n\n            // Exchange JWT session token\n            axios\n              .get(\"/api/apps/v3/users/session\", {\n                headers: {\n                  Authorization: `Bearer ${store.state.token.access_token}`\n                }\n              })\n              .then(() => {\n                if (typeof props.redirectUri !== \"undefined\") {\n                  setTimeout(() => {\n                    window.location.href = props.redirectUri;\n                  }, 500);\n                }\n              })\n              .catch((error) => {\n                console.log(error);\n              });\n          })\n          .catch((error) => {\n            console.log(error);\n            authenticationMessage.value = \"Authentication failed. Please try again.\";\n          });\n      };\n      return {\n        onLogIn,\n        authEmail,\n        authPassword,\n        authenticationMessage\n      };\n    }\n  });\n\n  export default Global_LogIn;\n</script>\n","\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import Global_Input from \"@/components/global/Global_Input.vue\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_LogIn: Component<LooseObject> = defineComponent({\n    components: {\n      global_input: Global_Input\n    },\n    props: {\n      \"redirectUri\": {\n        type: String,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const authEmail: Ref = ref(\"\");\n      const authPassword: Ref = ref(\"\");\n      const authenticationMessage: Ref = ref(null);\n\n      const onLogIn = (): void => {\n        authenticationMessage.value = null;\n\n        axios\n          .post(\"/oauth/token\", {\n            grant_type: \"password\",\n            account_id: store.state.account.id,\n            email: authEmail.value,\n            password: authPassword.value\n          })\n          .then((response) => {\n            // Set JWT\n            store.commit(\"setProperty\", {\n              property: \"token\",\n              data: response.data\n            });\n\n            // Exchange JWT session token\n            axios\n              .get(\"/api/apps/v3/users/session\", {\n                headers: {\n                  Authorization: `Bearer ${store.state.token.access_token}`\n                }\n              })\n              .then(() => {\n                if (typeof props.redirectUri !== \"undefined\") {\n                  setTimeout(() => {\n                    window.location.href = props.redirectUri;\n                  }, 500);\n                }\n              })\n              .catch((error) => {\n                console.log(error);\n              });\n          })\n          .catch((error) => {\n            console.log(error);\n            authenticationMessage.value = \"Authentication failed. Please try again.\";\n          });\n      };\n      return {\n        onLogIn,\n        authEmail,\n        authPassword,\n        authenticationMessage\n      };\n    }\n  });\n\n  export default Global_LogIn;\n","import { render } from \"./Global_LogIn.vue?vue&type=template&id=72ca830b&bindings={}\"\nimport script from \"./Global_LogIn.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_LogIn.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"pausedSubs.length > 0\"\n       id=\"paused-subscription-banner\"\n       class=\"p-3 m-0 text-dark text-center\"\n  >\n    <h3 class=\"mb-1\">\n      You have {{ pausedSubs.length }} paused {{ pausedSubs.length > 1 ? \"subscriptions\" : \"subscription\" }}\n    </h3>\n\n    <p>\n      To un-pause and pick up where you left off, please\n      <a href=\"/accounts/subscriptions\">click here</a>\n      to manage your account.\n    </p>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Subscription from \"@/interfaces/Subscription\";\n\n  const Global_Modal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const getSubscriptionsByStatus = (status: string): Array<Subscription> => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === status;\n        });\n      };\n\n      const pausedSubs: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"PAUSED\");\n      });\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        pausedSubs\n      };\n    }\n  });\n\n  export default Global_Modal;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import Subscription from \"@/interfaces/Subscription\";\n\n  const Global_Modal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      const getSubscriptionsByStatus = (status: string): Array<Subscription> => {\n        return store.state.subscriptions.filter((s: Subscription) => {\n          return s.status === status;\n        });\n      };\n\n      const pausedSubs: ComputedRef = computed(() => {\n        return getSubscriptionsByStatus(\"PAUSED\");\n      });\n\n      store.dispatch(\"getUserSubscriptions\");\n\n      return {\n        pausedSubs\n      };\n    }\n  });\n\n  export default Global_Modal;\n","import { render } from \"./Global_PausedSubscriptionBanner.vue?vue&type=template&id=917bd8c8&scoped=true&bindings={}\"\nimport script from \"./Global_PausedSubscriptionBanner.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_PausedSubscriptionBanner.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_PausedSubscriptionBanner.vue?vue&type=style&index=0&id=917bd8c8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-917bd8c8\"\n\nexport default script","<template>\n  <div class=\"container\">\n    <!-- Water bottle icon -->\n    <div class=\"d-flex justify-content-center mb-3\">\n      <svg class=\"bottle-weight img-fluid\"\n           style=\"enable-background: new 0 0 186.4 236.2\"\n           viewBox=\"0 0 186.4 236.2\"\n           xml:space=\"preserve\"\n      >\n        <g class=\"bottle-weight__bottle\">\n          <path class=\"st0\"\n                d=\"M160,40.6v-6h1.8c1.3,0,2.3-1,2.3-2.3V13.7c0-1.3-1.1-2.3-2.3-2.3h-5.3v-9c0-1.3-1-2.3-2.3-2.3h-28.6 c-1.3,0-2.3,1.1-2.3,2.3v9h-5.3c-1.3,0-2.3,1.1-2.3,2.3v18.6c0,1.3,1.1,2.3,2.3,2.3h1.8v6c-5.6,2.9-26.4,15.2-26.4,38V205 c0,6.6,5.4,12,12,12h69c6.6,0,12-5.4,12-12V78.6C186.4,55.8,165.7,43.5,160,40.6z M127.9,4.7h23.9v6.7h-23.9V4.7z M120.2,16h39.2 v14h-39.2V16z M181.7,205c0,4-3.3,7.4-7.4,7.4h-69c-4,0-7.4-3.3-7.4-7.4V78.6c0-22.9,24.8-34.3,25-34.4c0.8-0.4,1.4-1.2,1.4-2.1 v-7.4h31V42c0,0.9,0.5,1.7,1.4,2.1c0.3,0.1,25,11.6,25,34.4L181.7,205L181.7,205z\"\n          />\n          <path class=\"st1\"\n                d=\"M156.7,44.2c-0.8-0.4-1.4-1.2-1.4-2.1v-7.4h-31V42c0,0.9-0.5,1.7-1.4,2.1c-0.2,0.1-25,11.6-25,34.4V205 c0,4,3.3,7.4,7.4,7.4h69c4.1,0,7.4-3.3,7.4-7.4V78.6C181.7,55.8,157,44.3,156.7,44.2z M177.3,197.9H175V81.3 c0-20.4-22-30.6-22.2-30.7l1-2.1c0.2,0.1,23.6,10.9,23.6,32.8V197.9z\"\n          />\n        </g>\n\n        <g class=\"bottle-weight__weight\">\n          <path class=\"st2\"\n                d=\"M136.8,197H8.3c-2.2,0-4-1.8-4-4v-7.9c0-2.2,1.8-4,4-4h128.5c2.2,0,4,1.8,4,4v7.9 C140.8,195.2,139,197,136.8,197z\"\n          />\n          <path d=\"M136.8,201.4H8.3c-4.6,0-8.3-3.7-8.3-8.3v-7.9c0-4.6,3.7-8.3,8.3-8.3h80.1c1.1,0,2.1,0.4,2.9,1.1c0.8-0.7,1.8-1.1,2.9-1.1 h42.6c4.6,0,8.3,3.7,8.3,8.3v7.9C145.2,197.6,141.4,201.4,136.8,201.4z M8.7,192.6h127.7v-7.1H94.3c-1.1,0-2.1-0.4-2.9-1.1 c-0.8,0.7-1.8,1.1-2.9,1.1H8.7V192.6z M136.8,185.5L136.8,185.5L136.8,185.5z\" />\n          <path class=\"st3\"\n                d=\"M136.7,201.6H8.5c-4.8,0-8.7-3.9-8.7-8.7s3.9-8.7,8.7-8.7h128.2c4.8,0,8.7,3.9,8.7,8.7 S141.5,201.6,136.7,201.6z\"\n          />\n          <path class=\"st4\"\n                d=\"M31.3,146.6c-4.3,0-7.8,3.5-7.8,7.8v69.4c0,4.3,3.5,7.8,7.8,7.8c4.3,0,7.8-3.5,7.8-7.8v-69.4 C39.1,150.1,35.6,146.6,31.3,146.6z\"\n          />\n          <path class=\"st3\"\n                d=\"M31.3,236.2c-6.8,0-12.4-5.6-12.4-12.4c0-4.8,3.9-8.7,8.7-8.7c1.3,0,2.5,0.3,3.7,0.8c1.1-0.5,2.4-0.8,3.7-0.8 c4.8,0,8.7,3.9,8.7,8.7C43.7,230.6,38.1,236.2,31.3,236.2z\"\n          />\n          <path class=\"st5\"\n                d=\"M18.1,165c-3,0-5.5,2.4-5.5,5.5v37.2c0,3,2.4,5.5,5.5,5.5c3,0,5.5-2.4,5.5-5.5v-37.2 C23.6,167.4,21.1,165,18.1,165z\"\n          />\n          <path d=\"M18.1,217.5c-5.4,0-9.8-4.4-9.8-9.8v-37.2c0-5.4,4.4-9.8,9.8-9.8s9.8,4.4,9.8,9.8v37.2C28,213.1,23.5,217.5,18.1,217.5z M18.1,169.4c-0.6,0-1.1,0.5-1.1,1.1v37.2c0,0.6,0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1v-37.2C19.2,169.9,18.7,169.4,18.1,169.4z\" />\n          <path d=\"M31.3,235.9c-6.7,0-12.1-5.4-12.1-12.1v-38.4c0-1,0.4-2,1-2.8c-0.6-0.8-1-1.7-1-2.8v-25.5c0-6.7,5.4-12.1,12.1-12.1 s12.1,5.4,12.1,12.1v69.4C43.5,230.5,38,235.9,31.3,235.9z M27,182.7c0.6,0.8,1,1.7,1,2.8v38.4c0,1.9,1.5,3.4,3.4,3.4 s3.4-1.5,3.4-3.4v-69.4c0-1.9-1.5-3.4-3.4-3.4s-3.4,1.5-3.4,3.4v25.5C28,180.9,27.6,181.9,27,182.7z\" />\n          <path d=\"M18.1,217.5c-5.4,0-9.8-4.4-9.8-9.8v-37.2c0-5.4,4.4-9.8,9.8-9.8s9.8,4.4,9.8,9.8c0,2.4-2,4.4-4.4,4.4s-4.4-2-4.4-4.4 c0-0.6-0.5-1.1-1.1-1.1s-1.1,0.5-1.1,1.1v37.2c0,0.6,0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1c0-2.4,2-4.4,4.4-4.4s4.4,2,4.4,4.4 C28,213.1,23.5,217.5,18.1,217.5z\" />\n          <path class=\"st3\"\n                d=\"M18.1,217.8c-5.6,0-10.1-4.5-10.1-10.1c0-4.8,3.9-8.7,8.7-8.7c0.5,0,0.9,0,1.4,0.1c0.4-0.1,0.9-0.1,1.4-0.1 c4.8,0,8.7,3.9,8.7,8.7C28.2,213.3,23.7,217.8,18.1,217.8z\"\n          />\n          <path class=\"st4\"\n                d=\"M113.9,146.6c4.3,0,7.8,3.5,7.8,7.8v69.4c0,4.3-3.5,7.8-7.8,7.8c-4.3,0-7.8-3.5-7.8-7.8v-69.4 C106.1,150.1,109.6,146.6,113.9,146.6z\"\n          />\n          <path d=\"M113.9,235.9c-6.7,0-12.1-5.4-12.1-12.1v-69.4c0-6.7,5.4-12.1,12.1-12.1s12.1,5.4,12.1,12.1v69.4 C126,230.5,120.5,235.9,113.9,235.9z M113.9,151c-1.9,0-3.4,1.5-3.4,3.4v69.4c0,1.9,1.5,3.4,3.4,3.4s3.4-1.5,3.4-3.4v-69.4 C117.2,152.5,115.7,151,113.9,151z\" />\n          <path class=\"st3\"\n                d=\"M113.8,236.2c-6.8,0-12.4-5.6-12.4-12.4c0-4.8,3.9-8.7,8.7-8.7c1.3,0,2.5,0.3,3.7,0.8c1.1-0.5,2.4-0.8,3.7-0.8 c4.8,0,8.7,3.9,8.7,8.7C126.2,230.6,120.7,236.2,113.8,236.2z\"\n          />\n          <path class=\"st5\"\n                d=\"M127.1,165c3,0,5.5,2.4,5.5,5.5v37.2c0,3-2.4,5.5-5.5,5.5c-3,0-5.5-2.4-5.5-5.5v-37.2 C121.6,167.4,124.1,165,127.1,165z\"\n          />\n          <path d=\"M127.1,217.5c-5.4,0-9.8-4.4-9.8-9.8v-37.2c0-5.4,4.4-9.8,9.8-9.8s9.8,4.4,9.8,9.8v37.2 C136.9,213.1,132.5,217.5,127.1,217.5z M127.1,169.4c-0.6,0-1.1,0.5-1.1,1.1v37.2c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1 v-37.2C128.2,169.9,127.7,169.4,127.1,169.4z\" />\n          <path class=\"st3\"\n                d=\"M127.1,217.8c-5.6,0-10.1-4.5-10.1-10.1c0-4.8,3.9-8.7,8.7-8.7c0.5,0,0.9,0,1.4,0.1c0.4-0.1,0.9-0.1,1.4-0.1\tc4.8,0,8.7,3.9,8.7,8.7C137.2,213.3,132.6,217.8,127.1,217.8z\"\n          />\n        </g>\n      </svg>\n    </div>\n    <!-- Water bottle icon -->\n\n    <!-- Text -->\n    <div class=\"mb-4 text-center\">\n      <h1 class=\"display-4 mb-3\">\n        Your Subscription is Paused\n      </h1>\n      <h2>Manage your profile, subscription and payment information</h2>\n\n      <div class=\"mb-4\">\n        <a class=\"btn btn-primary text-light me-sm-3 mb-3\"\n           href=\"#\"\n           onclick=\"history.back()\"\n        >Go Back\n        </a>\n\n        <br class=\"d-sm-none\">\n\n        <a class=\"btn btn-primary text-light mb-3\"\n           href=\"/accounts/subscriptions\"\n        >Manage Subscription\n        </a>\n      </div>\n    </div>\n    <!-- /Text -->\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent } from \"vue\";\n\n  const Global_SubscriptionPausedInterstitial: Component = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      return {};\n    }\n  });\n\n  export default Global_SubscriptionPausedInterstitial;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n  .bottle-weight {\n    max-width: 10rem;\n\n    .st0 {\n      fill: #1c430b;\n    }\n\n    .st1 {\n      fill: #b7cc40;\n    }\n\n    .st2 {\n      fill: #ffffff;\n    }\n\n    .st3 {\n      enable-background: new;\n      opacity: 0.1;\n    }\n\n    .st4 {\n      fill: #9b9b9b;\n    }\n\n    .st5 {\n      fill: #b9a6da;\n    }\n  }\n</style>\n","\n  import { Component, defineComponent } from \"vue\";\n\n  const Global_SubscriptionPausedInterstitial: Component = defineComponent({\n    components: {},\n    props: [],\n    setup() {\n      return {};\n    }\n  });\n\n  export default Global_SubscriptionPausedInterstitial;\n","import { render } from \"./Global_SubscriptionPausedInterstitial.vue?vue&type=template&id=f9d8e9d8&scoped=true&bindings={}\"\nimport script from \"./Global_SubscriptionPausedInterstitial.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_SubscriptionPausedInterstitial.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_SubscriptionPausedInterstitial.vue?vue&type=style&index=0&id=f9d8e9d8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-f9d8e9d8\"\n\nexport default script","<template>\n  <div class=\"toast-container position-fixed bottom-0 start-0 p-3\">\n    <global_toasts-card v-for=\"toast in toasts\"\n                        :key=\"toast.id\"\n                        :toast=\"toast\"\n    />\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import Global_ToastsCard from \"@/components/global/Global_ToastsCard.vue\";\n  import { Store, useStore } from \"vuex\";\n  import Toast from \"@/interfaces/Toast\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Toasts: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_toasts-card\": Global_ToastsCard\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const toasts: ComputedRef<Array<Toast>> = computed(() => store.state.toast.toasts);\n\n      return { toasts };\n    }\n  });\n\n  export default Global_Toasts;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","<template>\n  <div :class=\"{\n         'bg-success': toast.type === 'success',\n         'bg-danger': toast.type === 'danger' || toast.type === 'failure',\n         'bg-warning': toast.type === 'warning',\n         'showing': toast.viewed === false\n       }\"\n       aria-atomic=\"true\"\n       aria-live=\"assertive\"\n       class=\"toast align-items-center text-white\"\n       role=\"alert\"\n  >\n    <div class=\"d-flex\">\n      <div class=\"toast-body\">\n        {{ toast.message }}\n      </div>\n\n      <button aria-label=\"Close\"\n              class=\"btn-close btn-close-white me-2 m-auto\"\n              type=\"button\"\n              @click=\"onCloseToast\"\n      />\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent, onMounted } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ToastsCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"toast\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n      let to: number;\n\n      const closeToast = (): void => {\n        store.commit(\"toast/removeToast\", props.toast.id);\n      };\n\n      const onCloseToast = (): void => {\n        clearTimeout(to);\n        closeToast();\n      };\n\n      onMounted(() => {\n        to = setTimeout(closeToast, props.toast.delay);\n      });\n      return {\n        onCloseToast\n      };\n    }\n  });\n\n  export default Global_ToastsCard;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n</style>\n","\n  import { Component, defineComponent, onMounted } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_ToastsCard: Component<LooseObject> = defineComponent({\n    props: {\n      \"toast\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n      let to: number;\n\n      const closeToast = (): void => {\n        store.commit(\"toast/removeToast\", props.toast.id);\n      };\n\n      const onCloseToast = (): void => {\n        clearTimeout(to);\n        closeToast();\n      };\n\n      onMounted(() => {\n        to = setTimeout(closeToast, props.toast.delay);\n      });\n      return {\n        onCloseToast\n      };\n    }\n  });\n\n  export default Global_ToastsCard;\n","import { render } from \"./Global_ToastsCard.vue?vue&type=template&id=73f532a4&scoped=true&bindings={}\"\nimport script from \"./Global_ToastsCard.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_ToastsCard.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_ToastsCard.vue?vue&type=style&index=0&id=73f532a4&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-73f532a4\"\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent } from \"vue\";\n  import Global_ToastsCard from \"@/components/global/Global_ToastsCard.vue\";\n  import { Store, useStore } from \"vuex\";\n  import Toast from \"@/interfaces/Toast\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_Toasts: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_toasts-card\": Global_ToastsCard\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n      const toasts: ComputedRef<Array<Toast>> = computed(() => store.state.toast.toasts);\n\n      return { toasts };\n    }\n  });\n\n  export default Global_Toasts;\n","import { render } from \"./Global_Toasts.vue?vue&type=template&id=295818f9&scoped=true&bindings={}\"\nimport script from \"./Global_Toasts.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_Toasts.vue?vue&type=script&lang=ts\"\n\nimport \"./Global_Toasts.vue?vue&type=style&index=0&id=295818f9&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-295818f9\"\n\nexport default script","<template>\n  <div v-if=\"isFeatureActivated && memos.length\"\n       class=\"whats-new\"\n  >\n    <div class=\"whats-new__icon\"\n         @click=\"toggleIsOpen\"\n    >\n      <svg fill=\"none\"\n           viewBox=\"0 0 16 17\"\n           xmlns=\"http://www.w3.org/2000/svg\"\n      >\n        <path d=\"M8 15.5714C8.09524 15.5714 8.14286 15.5238 8.14286 15.4286C8.14286 15.3333 8.09524 15.2857 8 15.2857C7.64881 15.2857 7.34524 15.1577 7.08929 14.9018C6.83929 14.6518 6.71429 14.3512 6.71429 14C6.71429 13.9048 6.66667 13.8571 6.57143 13.8571C6.47619 13.8571 6.42857 13.9048 6.42857 14C6.42857 14.4345 6.58036 14.8036 6.88393 15.1071C7.19345 15.4167 7.56548 15.5714 8 15.5714ZM15.4286 12.8571C15.4286 13.1667 15.3155 13.4345 15.0893 13.6607C14.8631 13.8869 14.5952 14 14.2857 14H10.2857C10.2857 14.631 10.0625 15.1696 9.61607 15.6161C9.16964 16.0625 8.63095 16.2857 8 16.2857C7.36905 16.2857 6.83036 16.0625 6.38393 15.6161C5.9375 15.1696 5.71429 14.631 5.71429 14H1.71429C1.40476 14 1.1369 13.8869 0.910714 13.6607C0.684524 13.4345 0.571429 13.1667 0.571429 12.8571C0.869048 12.6071 1.13988 12.3452 1.38393 12.0714C1.62798 11.7976 1.88095 11.4435 2.14286 11.0089C2.40476 10.5685 2.625 10.0952 2.80357 9.58929C2.9881 9.08333 3.1369 8.47024 3.25 7.75C3.36905 7.02976 3.42857 6.25595 3.42857 5.42857C3.42857 4.52381 3.77679 3.68452 4.47321 2.91071C5.16964 2.13095 6.08333 1.65774 7.21429 1.49107C7.16667 1.37798 7.14286 1.2619 7.14286 1.14286C7.14286 0.904762 7.22619 0.702381 7.39286 0.535714C7.55952 0.369047 7.76191 0.285713 8 0.285713C8.2381 0.285713 8.44048 0.369047 8.60714 0.535714C8.77381 0.702381 8.85714 0.904762 8.85714 1.14286C8.85714 1.2619 8.83333 1.37798 8.78572 1.49107C9.91667 1.65774 10.8304 2.13095 11.5268 2.91071C12.2232 3.68452 12.5714 4.52381 12.5714 5.42857C12.5714 6.25595 12.628 7.02976 12.7411 7.75C12.8601 8.47024 13.0089 9.08333 13.1875 9.58929C13.372 10.0952 13.5952 10.5685 13.8571 11.0089C14.119 11.4435 14.372 11.7976 14.6161 12.0714C14.8601 12.3452 15.131 12.6071 15.4286 12.8571Z\"\n              fill=\"currentColor\"\n        />\n      </svg>\n    </div>\n\n    <div v-if=\"showIndicator\"\n         class=\"whats-new__notification\"\n    />\n\n    <div v-show=\"isOpen\"\n         class=\"whats-new__popover\"\n         @click=\"preventClose\"\n    >\n      <ul class=\"memos\">\n        <global_whats-new-memo v-for=\"memo in memos\"\n                               :key=\"memo.id\"\n                               :memo=\"memo\"\n        />\n      </ul>\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, getCurrentInstance, onMounted, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n\n  import Global_WhatsNewMemo from \"@/components/global/Global_WhatsNewMemo.vue\";\n  import dayjs from \"dayjs\";\n  import Feature from \"@/interfaces/Feature\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_WhatsNew: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_whats-new-memo\": Global_WhatsNewMemo\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      let currentInstance: any = {};\n\n      const isOpen: Ref = ref(false);\n\n      const memos: ComputedRef = computed(() => {\n        return store.state.memo.memos;\n      });\n\n      const isFeatureActivated: ComputedRef = computed(() => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === \"memo\" || f.name === \"bulletin\";\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      });\n\n      const showIndicator: ComputedRef = computed(() => {\n        return memos.value.length && (Date.parse(store.state.memo.reviewedDate) < Date.parse(store.state.memo.lastUpdated) || store.state.memo.reviewedDate === null);\n      });\n\n      const preventClose = (e: MouseEvent): boolean => {\n        e.stopPropagation();\n        return false;\n      };\n\n      const onBodyClick = (e: MouseEvent): void => {\n        e.stopPropagation();\n        isOpen.value = false;\n      };\n\n      const toggleIsOpen = (e: MouseEvent): boolean => {\n        e.stopPropagation();\n\n        store.commit(\"memo/setProperty\", {\n          property: \"reviewedDate\",\n          data: dayjs()\n            .toISOString()\n        });\n\n        store.dispatch(\"memo/viewMemos\");\n\n        isOpen.value = !isOpen.value;\n\n        return false;\n      };\n\n      const loadMemos = (): void => {\n        if (typeof store.state.account.id !== \"undefined\" && typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"memo/loadMemos\");\n        } else {\n          setTimeout(loadMemos, 250);\n        }\n      };\n\n      // Prevent the navigation from showing an empty <li>\n      const checkForMemos = (): void => {\n        if (isFeatureActivated.value === false) {\n          if (currentInstance.appContext.app._container) {\n            currentInstance.appContext.app._container.style = \"display:none\";\n          }\n        } else {\n          if (currentInstance.appContext.app._container && store.state.memo.memos.length > 0) {\n            currentInstance.appContext.app._container.style = null;\n          }\n        }\n\n        setTimeout(checkForMemos, 250);\n      };\n\n      loadMemos();\n      onMounted(() => {\n        currentInstance = getCurrentInstance();\n        checkForMemos();\n        document.body.addEventListener(\"click\", onBodyClick);\n      });\n\n      return {\n        isFeatureActivated,\n        isOpen,\n        memos,\n        showIndicator,\n        toggleIsOpen,\n        preventClose\n      };\n    }\n  });\n\n  export default Global_WhatsNew;\n</script>\n","<template>\n  <li class=\"memo\">\n    <h4>{{ memo.title }}</h4>\n\n    <p>{{ memo.body }}</p>\n\n    <p v-if=\"memo.media_id\">\n      <img :src=\"thumbnailUrl\">\n    </p>\n\n    <p v-if=\"memo.link_url && memo.link_text\">\n      <a :href=\"memo.link_url\">{{ memo.link_text }}</a>\n    </p>\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import axios from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_WhatsNewMemo: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"memo\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const thumbnailUrl: Ref = ref(\"\");\n\n      const getThumbnailUrl = (): void => {\n        if (props.memo.media_id) {\n          axios\n            .get(`/api/apps/v3/media/${props.memo.media_id}`, {\n              withCredentials: true\n            })\n            .then((response) => {\n              thumbnailUrl.value = response.data.cover_art.small;\n            });\n        }\n      };\n\n      getThumbnailUrl();\n\n      return {\n        thumbnailUrl\n      };\n    }\n  });\n\n  export default Global_WhatsNewMemo;\n</script>\n","\n  import { Component, defineComponent, ref, Ref } from \"vue\";\n  import axios from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_WhatsNewMemo: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"memo\": {\n        type: Object,\n        required: true\n      }\n    },\n    setup(props) {\n      const thumbnailUrl: Ref = ref(\"\");\n\n      const getThumbnailUrl = (): void => {\n        if (props.memo.media_id) {\n          axios\n            .get(`/api/apps/v3/media/${props.memo.media_id}`, {\n              withCredentials: true\n            })\n            .then((response) => {\n              thumbnailUrl.value = response.data.cover_art.small;\n            });\n        }\n      };\n\n      getThumbnailUrl();\n\n      return {\n        thumbnailUrl\n      };\n    }\n  });\n\n  export default Global_WhatsNewMemo;\n","import { render } from \"./Global_WhatsNewMemo.vue?vue&type=template&id=1fbc62cc&bindings={}\"\nimport script from \"./Global_WhatsNewMemo.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_WhatsNewMemo.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n  import { Component, computed, ComputedRef, defineComponent, getCurrentInstance, onMounted, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n\n  import Global_WhatsNewMemo from \"@/components/global/Global_WhatsNewMemo.vue\";\n  import dayjs from \"dayjs\";\n  import Feature from \"@/interfaces/Feature\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Global_WhatsNew: Component<LooseObject> = defineComponent({\n    components: {\n      \"global_whats-new-memo\": Global_WhatsNewMemo\n    },\n    props: [],\n    setup() {\n      const store: Store<LooseObject> = useStore();\n\n      let currentInstance: any = {};\n\n      const isOpen: Ref = ref(false);\n\n      const memos: ComputedRef = computed(() => {\n        return store.state.memo.memos;\n      });\n\n      const isFeatureActivated: ComputedRef = computed(() => {\n        let isActivated = false;\n        const feature: Feature = store.state.feature.features.find((f: Feature) => {\n          return f.name === \"memo\" || f.name === \"bulletin\";\n        });\n\n        if (typeof feature !== \"undefined\") {\n          isActivated = feature.active;\n        }\n\n        return isActivated;\n      });\n\n      const showIndicator: ComputedRef = computed(() => {\n        return memos.value.length && (Date.parse(store.state.memo.reviewedDate) < Date.parse(store.state.memo.lastUpdated) || store.state.memo.reviewedDate === null);\n      });\n\n      const preventClose = (e: MouseEvent): boolean => {\n        e.stopPropagation();\n        return false;\n      };\n\n      const onBodyClick = (e: MouseEvent): void => {\n        e.stopPropagation();\n        isOpen.value = false;\n      };\n\n      const toggleIsOpen = (e: MouseEvent): boolean => {\n        e.stopPropagation();\n\n        store.commit(\"memo/setProperty\", {\n          property: \"reviewedDate\",\n          data: dayjs()\n            .toISOString()\n        });\n\n        store.dispatch(\"memo/viewMemos\");\n\n        isOpen.value = !isOpen.value;\n\n        return false;\n      };\n\n      const loadMemos = (): void => {\n        if (typeof store.state.account.id !== \"undefined\" && typeof store.state.user.id !== \"undefined\") {\n          store.dispatch(\"memo/loadMemos\");\n        } else {\n          setTimeout(loadMemos, 250);\n        }\n      };\n\n      // Prevent the navigation from showing an empty <li>\n      const checkForMemos = (): void => {\n        if (isFeatureActivated.value === false) {\n          if (currentInstance.appContext.app._container) {\n            currentInstance.appContext.app._container.style = \"display:none\";\n          }\n        } else {\n          if (currentInstance.appContext.app._container && store.state.memo.memos.length > 0) {\n            currentInstance.appContext.app._container.style = null;\n          }\n        }\n\n        setTimeout(checkForMemos, 250);\n      };\n\n      loadMemos();\n      onMounted(() => {\n        currentInstance = getCurrentInstance();\n        checkForMemos();\n        document.body.addEventListener(\"click\", onBodyClick);\n      });\n\n      return {\n        isFeatureActivated,\n        isOpen,\n        memos,\n        showIndicator,\n        toggleIsOpen,\n        preventClose\n      };\n    }\n  });\n\n  export default Global_WhatsNew;\n","import { render } from \"./Global_WhatsNew.vue?vue&type=template&id=422e03dd&bindings={}\"\nimport script from \"./Global_WhatsNew.vue?vue&type=script&lang=ts\"\nexport * from \"./Global_WhatsNew.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <div v-if=\"typeof mediaItem !== 'undefined' && openRatingModal === true\"\n       id=\"rate-video-modal\"\n  >\n    <div class=\"modal-content\">\n      <h3>Rate This Video</h3>\n      <div v-if=\"typeof mediaItem.cover_art !== 'undefined'\"\n           class=\"media-info\"\n      >\n        <img :src=\"mediaItem.cover_art.thumbnail\"\n             alt=\"Video Thumbnail\"\n             class=\"media-thumbnail\"\n        >\n        <div class=\"media-title\">\n          <strong>{{ mediaItem.title }}</strong>\n        </div>\n      </div>\n      <div class=\"media-rating\">\n        <div class=\"rating-text\">\n          <span class=\"how-did-you-like\">How did you like this video?</span>\n          <a class=\"clear-rating\"\n             href=\"#\"\n             @click=\"onClearRating\"\n          >Clear Rating\n          </a>\n        </div>\n        <div class=\"stars\">\n          <span v-for=\"i in 5\"\n                :key=\"i\"\n                :class=\"{\n                  //'fa-star-o': hoverValue === 0 || i > hoverValue,\n                  'rated': mediaUserRatingRef !== 0,\n                  'rated-star': mediaUserRatingRef !== 0 && i <= mediaUserRatingRef,\n                  'hover': mediaUserRatingRef === 0 && hoverValue !== 0 && i <= hoverValue\n                }\"\n                class=\"rating\"\n                @click=\"onRatingClick(i)\"\n                @mouseout=\"onRateOut(i)\"\n                @mouseover=\"onRateOver(i)\"\n          >\n            <svg class=\"star\"\n                 role=\"img\"\n                 viewBox=\"0 0 576 512\"\n            >\n              <path d=\"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z\"\n                    fill=\"currentColor\"\n              />\n            </svg>\n          </span>\n        </div>\n      </div>\n\n      <div class=\"review-text-area\">\n        <p>\n          Please write a review and tell us what you think about this video! We use this information to improve our\n          content, and it will not be shared with other users.\n        </p>\n        <textarea v-model=\"mediaUserRatingTextRef\"\n                  maxlength=\"5000\"\n        />\n      </div>\n\n      <div class=\"modal-buttons\">\n        <button class=\"button secondary\"\n                type=\"reset\"\n                @click=\"onCancelRating\"\n        >\n          Cancel\n        </button>\n        <button :disabled=\"(mediaUserRatingRef === 0 && clearRating === false && mediaUserRatingIdRef === 0) || (mediaUserRatingRef === 0 && clearRating === true && mediaUserRatingIdRef === 0)\"\n                class=\"button\"\n                type=\"submit\"\n                @click=\"onSubmitRating\"\n        >\n          Submit Rating\n        </button>\n      </div>\n    </div>\n\n    <div class=\"modal-background\"\n         @click=\"closeModal\"\n    />\n  </div>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, defineComponent, ref, Ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n  import { RATE_VIDEO_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Media_RateVideoModal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"mediaId\": {\n        type: Number,\n        required: true\n      },\n      \"mediaUserRating\": {\n        type: Number,\n        required: true\n      },\n      \"mediaUserRatingText\": {\n        type: String,\n        required: true\n      },\n      \"mediaUserRatingId\": {\n        type: Number,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      // Component variables\n\n      const clearRating: Ref = ref(false);\n\n      const openRatingModal: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.media.openRatingModal;\n        },\n        set: (n) => {\n          store.commit(\"media/setProperty\", {\n            property: \"openRatingModal\",\n            data: n\n          });\n        }\n      });\n\n      const mediaItem: WritableComputedRef<MediaItem> = computed(() => {\n        return store.state.media.mediaItem;\n      });\n      const hoverValue: Ref = ref(0);\n\n      const clientName: Ref = ref(store.state.account.name);\n\n      const mediaId: WritableComputedRef<number> = computed(() => {\n        return store.state.media.mediaItem.resource_id;\n      });\n\n      const mediaUserRatingIdRef: Ref = ref(props.mediaUserRatingId || 0);\n\n      const mediaUserRatingRef: Ref = ref(props.mediaUserRating || 0);\n\n      const mediaUserRatingTextRef: Ref = ref(props.mediaUserRatingText || \"\");\n\n      // Event listeners\n      const onRateOver = (n: number): void => {\n        hoverValue.value = n;\n      };\n\n      const onRateOut = (): void => {\n        hoverValue.value = 0;\n      };\n\n      const onRatingClick = (n: number): void => {\n        clearRating.value = false;\n        mediaUserRatingRef.value = n;\n      };\n\n      const onClearRating = (e: MouseEvent): void => {\n        e.preventDefault();\n        mediaUserRatingRef.value = 0;\n        mediaUserRatingTextRef.value = \"\";\n        clearRating.value = true;\n      };\n\n      const onCancelRating = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = false;\n      };\n\n      const onSubmitRating = (e: MouseEvent): void => {\n        // eslint-disable-next-line no-undef\n        const rateVideoPayload = {\n          \"event\": RATE_VIDEO_EVENT,\n          \"video_title\": mediaItem.value.title,\n          \"video_rating\": mediaUserRatingRef.value\n        };\n        dataLayer.push(rateVideoPayload);\n\n        e.preventDefault();\n\n        if (mediaUserRatingIdRef.value === 0 && mediaUserRatingRef.value !== 0) {\n          // If no rating has been applied before\n\n          axios\n            .post(\n              `/api/apps/v3/ratings`,\n              {\n                rating: {\n                  reference_id: mediaId.value,\n                  reference_type: \"Media\",\n                  rating: mediaUserRatingRef.value,\n                  text: mediaUserRatingTextRef.value\n                }\n              },\n              {\n                withCredentials: true\n              }\n            )\n            .then((response) => {\n              mediaUserRatingIdRef.value = response.data.rating.id;\n              openRatingModal.value = false;\n\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully submitted.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        } else if (mediaUserRatingIdRef.value !== 0 && clearRating.value === false) {\n          // If a user has previously rated and they are not clearing their rating\n\n          axios\n            .put(`/api/apps/v3/ratings/${mediaUserRatingIdRef.value}`, {\n              rating: {\n                rating: mediaUserRatingRef.value,\n                text: mediaUserRatingTextRef.value\n              }\n            })\n            .then(() => {\n              openRatingModal.value = false;\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully updated.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        } else if (mediaUserRatingIdRef.value !== 0 && clearRating.value === true) {\n          // If a user has previously rated and they are clearing their rating\n\n          axios\n            .delete(`/api/apps/v3/ratings/${mediaUserRatingIdRef.value}`, {\n              withCredentials: true\n            })\n            .then(() => {\n              openRatingModal.value = false;\n              mediaUserRatingIdRef.value = 0;\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully cleared.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        }\n\n        clearRating.value = false;\n        updateRatingStars();\n      };\n\n      // Basic Functionality\n\n      const openModal = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = true;\n      };\n\n      const closeModal = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = false;\n      };\n\n      const updateRatingStars = (): void => {\n        if (mediaItem.value.rating.rating_count === 0) {\n          store.commit(\"media/setProperty\", {\n            property: \"mediaItem\",\n            subProperty: \"rating\",\n            data: {\n              rating_avg: mediaUserRatingRef.value,\n              rating_count: 1,\n              rating_user_rating: mediaUserRatingRef.value\n            }\n          });\n        }\n      };\n\n      return {\n        openRatingModal,\n        clientName,\n        mediaItem,\n        mediaUserRatingIdRef,\n        mediaUserRatingRef,\n        mediaUserRatingTextRef,\n        hoverValue,\n        clearRating,\n        onRatingClick,\n        onRateOver,\n        onRateOut,\n        onSubmitRating,\n        onClearRating,\n        onCancelRating,\n        openModal,\n        closeModal\n      };\n    }\n  });\n\n  export default Media_RateVideoModal;\n</script>\n","\n  import { Component, computed, defineComponent, ref, Ref, WritableComputedRef } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n  import MediaItem from \"@/interfaces/MediaItem\";\n  import { RATE_VIDEO_EVENT } from \"@/constants/gaEventConstants\";\n\n  const Media_RateVideoModal: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"mediaId\": {\n        type: Number,\n        required: true\n      },\n      \"mediaUserRating\": {\n        type: Number,\n        required: true\n      },\n      \"mediaUserRatingText\": {\n        type: String,\n        required: true\n      },\n      \"mediaUserRatingId\": {\n        type: Number,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      // Component variables\n\n      const clearRating: Ref = ref(false);\n\n      const openRatingModal: WritableComputedRef<boolean> = computed({\n        get: () => {\n          return store.state.media.openRatingModal;\n        },\n        set: (n) => {\n          store.commit(\"media/setProperty\", {\n            property: \"openRatingModal\",\n            data: n\n          });\n        }\n      });\n\n      const mediaItem: WritableComputedRef<MediaItem> = computed(() => {\n        return store.state.media.mediaItem;\n      });\n      const hoverValue: Ref = ref(0);\n\n      const clientName: Ref = ref(store.state.account.name);\n\n      const mediaId: WritableComputedRef<number> = computed(() => {\n        return store.state.media.mediaItem.resource_id;\n      });\n\n      const mediaUserRatingIdRef: Ref = ref(props.mediaUserRatingId || 0);\n\n      const mediaUserRatingRef: Ref = ref(props.mediaUserRating || 0);\n\n      const mediaUserRatingTextRef: Ref = ref(props.mediaUserRatingText || \"\");\n\n      // Event listeners\n      const onRateOver = (n: number): void => {\n        hoverValue.value = n;\n      };\n\n      const onRateOut = (): void => {\n        hoverValue.value = 0;\n      };\n\n      const onRatingClick = (n: number): void => {\n        clearRating.value = false;\n        mediaUserRatingRef.value = n;\n      };\n\n      const onClearRating = (e: MouseEvent): void => {\n        e.preventDefault();\n        mediaUserRatingRef.value = 0;\n        mediaUserRatingTextRef.value = \"\";\n        clearRating.value = true;\n      };\n\n      const onCancelRating = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = false;\n      };\n\n      const onSubmitRating = (e: MouseEvent): void => {\n        // eslint-disable-next-line no-undef\n        const rateVideoPayload = {\n          \"event\": RATE_VIDEO_EVENT,\n          \"video_title\": mediaItem.value.title,\n          \"video_rating\": mediaUserRatingRef.value\n        };\n        dataLayer.push(rateVideoPayload);\n\n        e.preventDefault();\n\n        if (mediaUserRatingIdRef.value === 0 && mediaUserRatingRef.value !== 0) {\n          // If no rating has been applied before\n\n          axios\n            .post(\n              `/api/apps/v3/ratings`,\n              {\n                rating: {\n                  reference_id: mediaId.value,\n                  reference_type: \"Media\",\n                  rating: mediaUserRatingRef.value,\n                  text: mediaUserRatingTextRef.value\n                }\n              },\n              {\n                withCredentials: true\n              }\n            )\n            .then((response) => {\n              mediaUserRatingIdRef.value = response.data.rating.id;\n              openRatingModal.value = false;\n\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully submitted.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        } else if (mediaUserRatingIdRef.value !== 0 && clearRating.value === false) {\n          // If a user has previously rated and they are not clearing their rating\n\n          axios\n            .put(`/api/apps/v3/ratings/${mediaUserRatingIdRef.value}`, {\n              rating: {\n                rating: mediaUserRatingRef.value,\n                text: mediaUserRatingTextRef.value\n              }\n            })\n            .then(() => {\n              openRatingModal.value = false;\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully updated.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        } else if (mediaUserRatingIdRef.value !== 0 && clearRating.value === true) {\n          // If a user has previously rated and they are clearing their rating\n\n          axios\n            .delete(`/api/apps/v3/ratings/${mediaUserRatingIdRef.value}`, {\n              withCredentials: true\n            })\n            .then(() => {\n              openRatingModal.value = false;\n              mediaUserRatingIdRef.value = 0;\n              store.commit(\"toast/addToast\", {\n                type: \"success\",\n                message: \"Thank you! Your rating was successfully cleared.\",\n                delay: 5000,\n                viewed: false\n              });\n            });\n        }\n\n        clearRating.value = false;\n        updateRatingStars();\n      };\n\n      // Basic Functionality\n\n      const openModal = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = true;\n      };\n\n      const closeModal = (e: MouseEvent): void => {\n        e.preventDefault();\n        openRatingModal.value = false;\n      };\n\n      const updateRatingStars = (): void => {\n        if (mediaItem.value.rating.rating_count === 0) {\n          store.commit(\"media/setProperty\", {\n            property: \"mediaItem\",\n            subProperty: \"rating\",\n            data: {\n              rating_avg: mediaUserRatingRef.value,\n              rating_count: 1,\n              rating_user_rating: mediaUserRatingRef.value\n            }\n          });\n        }\n      };\n\n      return {\n        openRatingModal,\n        clientName,\n        mediaItem,\n        mediaUserRatingIdRef,\n        mediaUserRatingRef,\n        mediaUserRatingTextRef,\n        hoverValue,\n        clearRating,\n        onRatingClick,\n        onRateOver,\n        onRateOut,\n        onSubmitRating,\n        onClearRating,\n        onCancelRating,\n        openModal,\n        closeModal\n      };\n    }\n  });\n\n  export default Media_RateVideoModal;\n","import { render } from \"./Media_RateVideoModal.vue?vue&type=template&id=6e3ddc17&bindings={}\"\nimport script from \"./Media_RateVideoModal.vue?vue&type=script&lang=ts\"\nexport * from \"./Media_RateVideoModal.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","<template>\n  <li v-if=\"typeof productItem !== 'undefined'\"\n      :id=\"productId\"\n      class=\"col thumbnail position-relative mb-5\"\n  >\n    <!-- Poster Image -->\n    <div :class=\"`${isVertical ? 'ratio-9x16' : 'ratio-16x9'}`\"\n         :style=\"{ backgroundImage: `url(${posterImage})` }\"\n         class=\"thumbnail__poster ratio position-relative mb-2\"\n    >\n      <a :href=\"productUrl\"\n         class=\"thumbnail__poster__overlay\"\n         style=\"display: block\"\n      >\n        <!-- Favorite Icon -->\n        <div class=\"position-absolute top-0 end-0 py-1 px-2\">\n          <span v-if=\"productItem.favorite\"\n                class=\"badge bg-dark text-light\"\n          >\n            <svg class=\"favorite\"\n                 viewBox=\"0 0 512 512\"\n            >\n              <title>Favorite</title>\n              <path d=\"M472.096 270.486L278.946 470.196C266.304 483.268 245.616 483.268 232.974 470.196L39.824 270.486C-16.197 212.517 -13.104 116.653 49.041 62.862C103.316 15.884 186.371 24.359 236.32 75.925L256.007 96.249L275.694 75.925C325.641 24.36 408.694 15.884 462.969 62.859C525.118 116.649 528.212 212.515 472.096 270.486Z\" />\n            </svg>\n          </span>\n        </div>\n        <!-- /Favorite Icon -->\n\n        <!-- New Icon -->\n        <div class=\"position-absolute top-0 start-0 py-1 px-2\">\n          <span v-if=\"isNew\"\n                class=\"badge bg-dark text-light\"\n          > NEW\n          </span>\n        </div>\n        <!-- /New Icon -->\n      </a>\n    </div>\n    <!-- /Poster Image -->\n\n    <div class=\"thumbnail__title mb-2\">\n      <h5 class=\"mb-0 ellipsis\">\n        <a :href=\"productUrl\">{{ productItem.title }}</a>\n      </h5>\n    </div>\n\n    <!-- Meta Information -->\n    <div class=\"thumbnail__meta d-flex gap-3 justify-content-between mb-2\">\n      <!-- Items Count -->\n      <div v-if=\"mediaCount > 0\">\n        <span class=\"icon\">\n          <svg style=\"enable-background: new 0 0 512 512\"\n               viewBox=\"0 0 512 512\"\n               xml:space=\"preserve\"\n          >\n            <path d=\"M497,128.533H15c-8.284,0-15,6.716-15,15V497c0,8.284,6.716,15,15,15h482c8.284,0,15-6.716,15-15V143.533 C512,135.249,505.284,128.533,497,128.533z M340.637,332.748l-120.5,80.334c-2.51,1.672-5.411,2.519-8.321,2.519 c-2.427,0-4.859-0.588-7.077-1.774c-4.877-2.611-7.922-7.693-7.922-13.226V239.934c0-5.532,3.045-10.615,7.922-13.225 c4.879-2.611,10.797-2.324,15.398,0.744l120.5,80.334c4.173,2.781,6.68,7.465,6.68,12.48S344.81,329.967,340.637,332.748z\" />\n            <path d=\"M448.801,64.268h-385.6c-8.284,0-15,6.716-15,15s6.716,15,15,15h385.6c8.284,0,15-6.716,15-15 S457.085,64.268,448.801,64.268z\" />\n            <path d=\"M400.6,0H111.4c-8.284,0-15,6.716-15,15s6.716,15,15,15h289.2c8.284,0,15-6.716,15-15S408.884,0,400.6,0z\" />\n          </svg>\n        </span>\n        {{ mediaCount }}\n        <span v-if=\"mediaCount !== 1\">workouts</span>\n        <span v-if=\"mediaCount === 1\">workout</span>\n      </div>\n      <!-- /Items Count -->\n\n      <!-- Pricing -->\n      <div v-if=\"!productItem.has_access && productItem.prices.length > 0\">\n        from\n        <span>${{ lowestPrice }}</span>\n      </div>\n      <!-- Pricing -->\n    </div>\n\n    <!-- Description -->\n    <div v-if=\"showProductDescription && productItem.description\"\n         class=\"thumbnail__description\"\n    >\n      <p class=\"mb-0\">\n        {{ truncateText(productItem.description, 100, \"…\") }}\n      </p>\n    </div>\n    <!-- /Description -->\n  </li>\n</template>\n\n<script lang=\"ts\">\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Media_ProductThumbnail: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"productId\": {\n        type: Number,\n        required: true\n      },\n      \"isNew\": {\n        type: Boolean,\n        required: true\n      },\n      \"isSmall\": {\n        type: Boolean,\n        required: true\n      },\n      \"isVertical\": {\n        type: Boolean,\n        required: true\n      },\n      \"showDescription\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const productItem: Ref = ref();\n\n      const showProductDescription: Ref = ref(props.showDescription);\n\n      const productUrl: ComputedRef = computed(() => {\n        let pre = \"\";\n        if (productItem.value.has_access === true) {\n          pre = `/accounts`;\n        }\n\n        return `${pre}/products/${productItem.value.permalink_or_slug_or_id}`;\n      });\n\n      const mediaCount: Ref = ref(0);\n\n      const posterImage: ComputedRef = computed(() => {\n        if (typeof productItem.value.images !== \"undefined\") {\n          // Vertical artwork\n          if (props.isVertical === true) {\n            if (typeof productItem.value.images.vertical_cover_art !== \"undefined\") {\n              return productItem.value.images.vertical_cover_art.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else {\n              return \"/assets/master/cover_art_vertical_fallback_noprint.png\";\n            }\n          }\n\n          // Horizontal artwork\n          if (props.isVertical !== true) {\n            if (typeof productItem.value.images.horizontal_cover_art !== \"undefined\") {\n              return productItem.value.images.horizontal_cover_art.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else if (typeof productItem.value.images.banner_image !== \"undefined\") {\n              return productItem.value.images.banner_image.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else {\n              return \"/assets/master/cover_art_fallback_noprint.png\";\n            }\n          }\n        } else {\n          // Vertical artwork\n          if (props.isVertical === true) {\n            return \"/assets/master/cover_art_vertical_fallback_noprint.png\";\n          }\n\n          // Horizontal artwork\n          if (props.isVertical !== true) {\n            return \"/assets/master/cover_art_fallback_noprint.png\";\n          }\n        }\n\n        return \"\";\n      });\n\n      const lowestPrice: ComputedRef = computed(() => {\n        if (productItem.value.prices.length) {\n          return (\n            productItem.value.prices.slice(0)\n              .sort((a: ProductPrice, b: ProductPrice) => {\n                return a.amount > b.amount;\n              })[0].amount / 100\n          );\n        } else {\n          return null;\n        }\n      });\n\n      const truncateText = (text: string, limit: number, ellipsis: string): string => {\n        if (text.length > limit) {\n          return text.substring(0, limit) + ellipsis;\n        } else {\n          return text;\n        }\n      };\n\n      const formatDate = (date: string): string => {\n        return dayjs(date)\n          .format(\"MMM D, YYYY\");\n      };\n\n      const loadProduct = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          // Pull info from API\n          axios\n            .get(`/api/apps/v3/products/${props.productId}`, {\n              withCredentials: true,\n              headers: {\n                \"ACCOUNT-ID\": store.state.account.id\n              }\n            })\n            .then((response) => {\n              productItem.value = response.data.product;\n              mediaCount.value = response.data.product.media_count;\n            });\n        } else {\n          setTimeout(loadProduct, 250);\n        }\n      };\n\n      loadProduct();\n\n      return {\n        productItem,\n        productUrl,\n        posterImage,\n        mediaCount,\n        showProductDescription,\n        lowestPrice,\n        truncateText,\n        formatDate\n      };\n    }\n  });\n\n  export default Media_ProductThumbnail;\n</script>\n\n<style lang=\"scss\"\n       scoped>\n  @import \"src/scss/app\";\n\n  .ratio-9x16 {\n    --bs-aspect-ratio: 178%;\n  }\n\n  .ellipsis {\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  }\n</style>\n","\n  import { Component, computed, ComputedRef, defineComponent, Ref, ref } from \"vue\";\n  import { Store, useStore } from \"vuex\";\n  import axios from \"axios\";\n  import dayjs from \"dayjs\";\n  import ProductPrice from \"@/interfaces/ProductPrice\";\n  import LooseObject from \"@/interfaces/LooseObject\";\n\n  const Media_ProductThumbnail: Component<LooseObject> = defineComponent({\n    components: {},\n    props: {\n      \"productId\": {\n        type: Number,\n        required: true\n      },\n      \"isNew\": {\n        type: Boolean,\n        required: true\n      },\n      \"isSmall\": {\n        type: Boolean,\n        required: true\n      },\n      \"isVertical\": {\n        type: Boolean,\n        required: true\n      },\n      \"showDescription\": {\n        type: Boolean,\n        required: true\n      }\n    },\n    setup(props) {\n      const store: Store<LooseObject> = useStore();\n\n      const productItem: Ref = ref();\n\n      const showProductDescription: Ref = ref(props.showDescription);\n\n      const productUrl: ComputedRef = computed(() => {\n        let pre = \"\";\n        if (productItem.value.has_access === true) {\n          pre = `/accounts`;\n        }\n\n        return `${pre}/products/${productItem.value.permalink_or_slug_or_id}`;\n      });\n\n      const mediaCount: Ref = ref(0);\n\n      const posterImage: ComputedRef = computed(() => {\n        if (typeof productItem.value.images !== \"undefined\") {\n          // Vertical artwork\n          if (props.isVertical === true) {\n            if (typeof productItem.value.images.vertical_cover_art !== \"undefined\") {\n              return productItem.value.images.vertical_cover_art.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else {\n              return \"/assets/master/cover_art_vertical_fallback_noprint.png\";\n            }\n          }\n\n          // Horizontal artwork\n          if (props.isVertical !== true) {\n            if (typeof productItem.value.images.horizontal_cover_art !== \"undefined\") {\n              return productItem.value.images.horizontal_cover_art.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else if (typeof productItem.value.images.banner_image !== \"undefined\") {\n              return productItem.value.images.banner_image.small.replace(\"https:\", \"\")\n                .replace(\"http:\", \"\");\n            } else {\n              return \"/assets/master/cover_art_fallback_noprint.png\";\n            }\n          }\n        } else {\n          // Vertical artwork\n          if (props.isVertical === true) {\n            return \"/assets/master/cover_art_vertical_fallback_noprint.png\";\n          }\n\n          // Horizontal artwork\n          if (props.isVertical !== true) {\n            return \"/assets/master/cover_art_fallback_noprint.png\";\n          }\n        }\n\n        return \"\";\n      });\n\n      const lowestPrice: ComputedRef = computed(() => {\n        if (productItem.value.prices.length) {\n          return (\n            productItem.value.prices.slice(0)\n              .sort((a: ProductPrice, b: ProductPrice) => {\n                return a.amount > b.amount;\n              })[0].amount / 100\n          );\n        } else {\n          return null;\n        }\n      });\n\n      const truncateText = (text: string, limit: number, ellipsis: string): string => {\n        if (text.length > limit) {\n          return text.substring(0, limit) + ellipsis;\n        } else {\n          return text;\n        }\n      };\n\n      const formatDate = (date: string): string => {\n        return dayjs(date)\n          .format(\"MMM D, YYYY\");\n      };\n\n      const loadProduct = (): void => {\n        if (typeof store.state.account.id !== \"undefined\") {\n          // Pull info from API\n          axios\n            .get(`/api/apps/v3/products/${props.productId}`, {\n              withCredentials: true,\n              headers: {\n                \"ACCOUNT-ID\": store.state.account.id\n              }\n            })\n            .then((response) => {\n              productItem.value = response.data.product;\n              mediaCount.value = response.data.product.media_count;\n            });\n        } else {\n          setTimeout(loadProduct, 250);\n        }\n      };\n\n      loadProduct();\n\n      return {\n        productItem,\n        productUrl,\n        posterImage,\n        mediaCount,\n        showProductDescription,\n        lowestPrice,\n        truncateText,\n        formatDate\n      };\n    }\n  });\n\n  export default Media_ProductThumbnail;\n","import { render } from \"./Media_ProductThumbnail.vue?vue&type=template&id=bc5c0b32&scoped=true&bindings={}\"\nimport script from \"./Media_ProductThumbnail.vue?vue&type=script&lang=ts\"\nexport * from \"./Media_ProductThumbnail.vue?vue&type=script&lang=ts\"\n\nimport \"./Media_ProductThumbnail.vue?vue&type=style&index=0&id=bc5c0b32&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-bc5c0b32\"\n\nexport default script","\"use strict\";\n\n// Vue\nimport { App, Component, createApp } from \"vue\";\nimport { Store, useStore } from \"vuex\";\nimport GlobalStore from \"@/store/GlobalStore\";\nimport StringUtils from \"@/lib/StringUtils\";\nimport LooseObject from \"@/interfaces/LooseObject\";\n\n// Browse Components - Removing this until an error can be properly fixed.\nimport Browse_FilterTabList from \"@/components/subscriber/browse/Browse_FilterTabList.vue\"; \n\n// Account Components\nimport Account from \"@/components/subscriber/account/Account.vue\";\nimport Account_Overview from \"@/components/subscriber/account/Account_Overview.vue\";\nimport Account_Payments from \"@/components/subscriber/account/Account_Payments.vue\";\nimport Account_Profile from \"@/components/subscriber/account/Account_Payments.vue\";\nimport Account_Subscriptions from \"@/components/subscriber/account/Account_Payments.vue\";\nimport Account_Purchases from \"@/components/subscriber/account/Account_Purchases.vue\";\nimport Account_Subscriptions_ListItem from \"@/components/subscriber/account/Account_Subscriptions_ListItem.vue\";\nimport Account_FtmBanner from \"@/components/subscriber/account/Account_FtmBanner.vue\";\n// Give A Gift Components\nimport Gifting_PaymentDetails from \"@/components/subscriber/gifting/Gifting_PaymentDetails.vue\";\nimport Gifting_PaymentInformation from \"@/components/subscriber/gifting/Gifting_PaymentInformation.vue\";\nimport Gifting_PaymentSuccess from \"@/components/subscriber/gifting/Gifting_PaymentSuccess.vue\";\nimport Gifting_PricesListCard from \"@/components/subscriber/gifting/Gifting_PricesListCard.vue\";\nimport Gifting_PricesList from \"@/components/subscriber/gifting/Gifting_PricesList.vue\";\nimport Gifting_RecipientInformation from \"@/components/subscriber/gifting/Gifting_RecipientInformation.vue\";\nimport Gifting_ProductsListCard from \"@/components/subscriber/gifting/Gifting_ProductsListCard.vue\";\nimport Gifting_ProductsList from \"@/components/subscriber/gifting/Gifting_ProductsList.vue\";\nimport Gifting_Redeem from \"@/components/subscriber/gifting/Gifting_Redeem.vue\";\nimport Gifting_Activate from \"@/components/subscriber/gifting/Gifting_Activate.vue\";\nimport Gifting_Active from \"@/components/subscriber/gifting/Gifting_Active.vue\";\n\n// Livestream Components\nimport Livestream_Calendar from \"@/components/subscriber/livestream/Livestream_Calendar.vue\";\nimport Livestream_Detail from \"@/components/subscriber/livestream/Livestream_Detail.vue\";\nimport Livestream_ListCard from \"@/components/subscriber/livestream/Livestream_ListCard.vue\";\nimport Livestream_List from \"@/components/subscriber/livestream/Livestream_List.vue\";\nimport Livestream_MyListCard from \"@/components/subscriber/livestream/Livestream_MyListCard.vue\";\nimport Livestream_MyList from \"@/components/subscriber/livestream/Livestream_MyList.vue\";\nimport Livestream_OptInButton from \"@/components/subscriber/livestream/Livestream_OptInButton.vue\";\nimport Livestream_PricingModal from \"@/components/subscriber/livestream/Livestream_PricingModal.vue\";\nimport Livestream_StatusDisplay from \"@/components/subscriber/livestream/Livestream_StatusDisplay.vue\";\nimport Livestream_TabMenu from \"@/components/subscriber/livestream/Livestream_TabMenu.vue\";\n\n// Calendar Components\nimport Calendar_DateNav from \"@/components/subscriber/calendar/Calendar_DateNav.vue\";\nimport Calendar_DateList from \"@/components/subscriber/calendar/Calendar_DateList.vue\";\nimport Calendar_EventList from \"@/components/subscriber/calendar/Calendar_EventList.vue\";\n\n// Global Components\nimport Global_CreateAccount from \"@/components/global/Global_CreateAccount.vue\";\nimport Global_LogIn from \"@/components/global/Global_LogIn.vue\";\nimport Global_PausedSubscriptionBanner from \"@/components/global/Global_PausedSubscriptionBanner.vue\";\nimport Global_SubscriptionPausedInterstitial from \"@/components/global/Global_SubscriptionPausedInterstitial.vue\";\nimport Global_Modal from \"@/components/global/Global_Modal.vue\";\nimport Global_Toasts from \"@/components/global/Global_Toasts.vue\";\nimport Global_WhatsNew from \"@/components/global/Global_WhatsNew.vue\";\n\n// Media Components\nimport Media_RateVideoModal from \"@/components/subscriber/media/Media_RateVideoModal.vue\";\nimport Media_AssetThumbnail from \"@/components/subscriber/media/Media_AssetThumbnail.vue\";\nimport Media_ProductThumbnail from \"@/components/subscriber/media/Media_ProductThumbnail.vue\";\nimport Media_RateVideo from \"@/components/subscriber/media/Media_RateVideo.vue\";\n\n// Declare window variables\n\ndeclare global {\n  // eslint-disable-next-line no-unused-vars\n  const __ENV__: any;\n\n  // eslint-disable-next-line no-unused-vars\n  interface Window {\n    client: any;\n    Stripe: any;\n    Accept: any;\n  }\n}\n\n// Use readystate change event to ensure body element exists\ndocument.addEventListener(\"readystatechange\", () => {\n  if (document.readyState === \"complete\") {\n    // Clean up Facebook OAuth fragment if present\n    if (window.location.hash === '#_=_') {\n      if (window.history && window.history.replaceState) {\n        window.history.replaceState({}, document.title, window.location.pathname + window.location.search);\n      } else {\n        // Fallback for older browsers\n        window.location.hash = '';\n      }\n    }\n    let isClear = false;\n\n    const createMyApp = (): App =>\n      createApp({\n        // We don't necessarily need to list all components, but doing so doesn't hurt\n        components: {\n          // Account\n          \"account\": Account,\n          \"account_overview\": Account_Overview,\n          \"account_payments\": Account_Payments,\n          \"account_profile\": Account_Profile,\n          \"account_subscriptions\": Account_Subscriptions,\n          \"account_purchases\": Account_Purchases,\n          \"account_subscriptions_list-item\": Account_Subscriptions_ListItem,\n          \"account_ftm-banner\": Account_FtmBanner,\n\n          // Browse - Removing this feature temporarily until an error can be fixed.\n          \"browse_filter-tab-list\": Browse_FilterTabList,\n\n          // Calendar\n          \"calendar_date-nav\": Calendar_DateNav,\n          \"calendar_date-list\": Calendar_DateList,\n          \"calendar_event-list\": Calendar_EventList,\n\n          // Give a Gift\n          \"gifting_active\": Gifting_Active,\n          \"gifting_activate\": Gifting_Activate,\n          \"gifting_payment-details\": Gifting_PaymentDetails,\n          \"gifting_payment-information\": Gifting_PaymentInformation,\n          \"gifting_payment-success\": Gifting_PaymentSuccess,\n          \"gifting_prices-list\": Gifting_PricesList,\n          \"gifting_prices-list-card\": Gifting_PricesListCard,\n          \"gifting_products-list\": Gifting_ProductsList,\n          \"gifting_products-list-card\": Gifting_ProductsListCard,\n          \"gifting_recipient-information\": Gifting_RecipientInformation,\n          \"gifting_redeem\": Gifting_Redeem,\n\n          // Global\n          \"global_create-account\": Global_CreateAccount,\n          \"global_log-in\": Global_LogIn,\n          \"global_modal\": Global_Modal,\n          \"global_paused-subscription-banner\": Global_PausedSubscriptionBanner,\n          \"global_subscription-paused-interstitial\": Global_SubscriptionPausedInterstitial,\n          \"global_toasts\": Global_Toasts,\n          \"global_whats-new\": Global_WhatsNew,\n\n          // Livestream\n          \"livestream_detail\": Livestream_Detail,\n          \"livestream_opt-in-button\": Livestream_OptInButton,\n          \"livestream_status-display\": Livestream_StatusDisplay,\n          \"livestream_calendar\": Livestream_Calendar,\n          \"livestream_list\": Livestream_List,\n          \"livestream_list-card\": Livestream_ListCard,\n          \"livestream_tab-menu\": Livestream_TabMenu,\n          \"livestream_my-list\": Livestream_MyList,\n          \"livestream_my-list-card\": Livestream_MyListCard,\n          \"livestream_pricing-modal\": Livestream_PricingModal,\n\n          // Media\n          \"media_rate-video-modal\": Media_RateVideoModal,\n          \"media_asset-thumbnail\": Media_AssetThumbnail,\n          \"media_product-thumbnail\": Media_ProductThumbnail,\n          \"media_rate-video\": Media_RateVideo\n        },\n        setup() {\n          const store: Store<LooseObject> = useStore();\n\n          if (!isClear) {\n            // load initial localstorage data into store\n            store.dispatch(\"initStore\");\n\n            // push store data to localstorage whenever a mutation occurs\n            store.subscribe((mutation, state) => {\n              localStorage.setItem(\"store\", JSON.stringify(state));\n            });\n\n            // set application domain\n            store.commit(\"setProperty\", {\n              property: \"domain\",\n              data: window.location.host.replace(`:${window.location.port}`, \"\")\n            });\n\n            // get IV account information\n            store.dispatch(\"getAccount\");\n\n            // Get User information\n            store.dispatch(\"getUser\");\n\n            // Get feature flags\n            store.dispatch(\"feature/loadFeatures\");\n\n            // Prevent the store from clearing each time a Vue app is mounted\n            isClear = true;\n          }\n        }\n      });\n\n    // Iterate through .vue-app elements and mount Vue apps\n    document.querySelectorAll(\".vue-app\")\n      .forEach((e) => {\n        const app: Component<LooseObject> = createMyApp();\n        app.use(GlobalStore);\n        app.mount(e);\n      });\n  } else if (document.readyState === \"interactive\") {\n    // $ -> £ hack\n    const clientIDs: Array<number> = [\n      6,\n      2054,\n      2159\n    ];\n    const stringUtils: StringUtils = new StringUtils();\n    const replaceDollarText = (): void => {\n      stringUtils.replaceInElements(document.body, \"$\", \"£\");\n    };\n\n    if (clientIDs.indexOf(window.client) > -1) {\n      replaceDollarText();\n    }\n  }\n});\n\n// Add live-reload for development\nif (__ENV__ === \"development\") {\n  const script: HTMLScriptElement = document.createElement(\"script\");\n  script.type = \"text/javascript\";\n  script.src = \"http://localhost:35729/livereload.js\";\n  document.head.appendChild(script);\n}\n"],"names":["module","exports","utils","require","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","config","Promise","resolve","reject","requestData","data","requestHeaders","headers","isFormData","isBlob","isFile","type","request","XMLHttpRequest","auth","username","password","unescape","encodeURIComponent","Authorization","btoa","fullPath","baseURL","url","open","method","toUpperCase","params","paramsSerializer","timeout","onreadystatechange","readyState","status","responseURL","indexOf","responseHeaders","getAllResponseHeaders","response","responseType","responseText","statusText","onabort","onerror","ontimeout","timeoutErrorMessage","isStandardBrowserEnv","xsrfValue","withCredentials","xsrfCookieName","read","undefined","xsrfHeaderName","forEach","val","key","toLowerCase","setRequestHeader","isUndefined","e","onDownloadProgress","addEventListener","onUploadProgress","upload","cancelToken","promise","then","cancel","abort","send","bind","Axios","mergeConfig","createInstance","defaultConfig","context","instance","prototype","extend","axios","create","instanceConfig","defaults","Cancel","CancelToken","isCancel","all","promises","spread","message","this","toString","__CANCEL__","executor","TypeError","resolvePromise","token","reason","throwIfRequested","source","c","value","InterceptorManager","dispatchRequest","interceptors","arguments","chain","interceptor","unshift","fulfilled","rejected","push","length","shift","getUri","replace","handlers","use","eject","id","fn","h","isAbsoluteURL","combineURLs","requestedURL","enhanceError","code","error","Error","transformData","throwIfCancellationRequested","transformRequest","merge","common","adapter","transformResponse","isAxiosError","toJSON","name","description","number","fileName","lineNumber","columnNumber","stack","config1","config2","valueFromConfig2Keys","mergeDeepPropertiesKeys","defaultToConfig2Keys","directMergeKeys","getMergedValue","target","isPlainObject","isArray","slice","mergeDeepProperties","prop","axiosKeys","concat","otherKeys","Object","keys","filter","validateStatus","fns","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","process","call","isArrayBuffer","isBuffer","isStream","isArrayBufferView","buffer","isURLSearchParams","isObject","JSON","stringify","parse","maxContentLength","maxBodyLength","thisArg","args","Array","i","apply","encode","serializedParams","parts","v","isDate","toISOString","join","hashmarkIndex","relativeURL","write","expires","path","domain","secure","cookie","isNumber","Date","toGMTString","isString","document","match","RegExp","decodeURIComponent","remove","now","test","originURL","msie","navigator","userAgent","urlParsingNode","createElement","resolveURL","href","setAttribute","protocol","host","search","hash","hostname","port","pathname","charAt","window","location","requestURL","parsed","normalizedName","ignoreDuplicateOf","split","line","trim","substr","callback","arr","getPrototypeOf","isFunction","obj","l","hasOwnProperty","constructor","FormData","ArrayBuffer","isView","pipe","URLSearchParams","product","result","assignValue","a","b","str","stripBOM","content","charCodeAt","useSourceMap","list","map","item","sourceMap","base64","cssMapping","sourceMapping","sourceURLs","sources","sourceRoot","cssWithMappingToString","modules","mediaQuery","dedupe","alreadyImportedModules","_i","n","r","s","u","o","f","d","$","y","M","weekdays","months","m","t","String","g","z","utcOffset","Math","abs","floor","date","year","month","clone","add","ceil","p","w","D","ms","Q","_","S","O","locale","$L","utc","$u","x","$x","$offset","$d","NaN","substring","UTC","init","$y","getFullYear","$M","getMonth","$D","getDate","$W","getDay","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","isValid","isSame","startOf","endOf","isAfter","isBefore","$g","set","unix","valueOf","getTime","toDate","$locale","weekStart","$set","min","daysInMonth","get","Number","round","subtract","format","invalidDate","meridiem","YY","YYYY","MM","MMM","monthsShort","MMMM","DD","dd","weekdaysMin","ddd","weekdaysShort","dddd","H","HH","hh","A","mm","ss","SSS","Z","getTimezoneOffset","diff","toUTCString","$i","isDayjs","en","Ls","define","lastDay","sameDay","nextDay","nextWeek","lastWeek","sameElse","calendar","isSameOrAfter","day","hour","minute","second","timeZoneName","Intl","DateTimeFormat","hour12","timeZone","formatToParts","parseInt","tz","toLocaleString","$timezone","offsetName","guess","find","max","resolvedOptions","setDefault","local","getUTCFullYear","getUTCMonth","getUTCDate","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","$localOffset","isUTC","week","yearStart","weeks","console","MouseEvent","self","global","HTMLAnchorElement","setTimeout","autoBom","Blob","saveAs","___CSS_LOADER_EXPORT___","api","__esModule","default","locals","memo","getTarget","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","stylesInDom","getIndexByIdentifier","identifier","modulesToDom","options","idCountMap","identifiers","base","count","index","css","media","references","updater","addStyle","insertStyleElement","style","attributes","nonce","insert","appendChild","textStore","replaceText","replacement","Boolean","applyToSingletonTag","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","firstChild","singleton","singletonCounter","update","styleIndex","parentNode","removeStyleElement","newObj","atob","lastIdentifiers","newList","newLastIdentifiers","_index","splice","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","definition","defineProperty","enumerable","globalThis","Function","Symbol","toStringTag","makeMap","expectsLowerCase","isGloballyWhitelisted","isSpecialBooleanAttr","includeBooleanAttr","normalizeStyle","res","normalized","parseStringStyle","listDelimiterRE","propertyDelimiterRE","ret","tmp","normalizeClass","normalizeProps","props","klass","class","isHTMLTag","isSVGTag","isVoidTag","looseEqual","aValidType","bValidType","equal","looseCompareArrays","aHasKey","bHasKey","looseIndexOf","findIndex","_globalThis","activeEffectScope","toDisplayString","objectToString","replacer","_key","__v_isRef","isMap","size","entries","reduce","isSet","values","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","onRE","isOn","isModelListener","startsWith","assign","el","hasOwn","toTypeString","isSymbol","isPromise","catch","isIntegerKey","isReservedProp","cacheStringFunction","cache","camelizeRE","camelize","hyphenateRE","hyphenate","capitalize","toHandlerKey","hasChanged","oldValue","is","invokeArrayFns","arg","def","configurable","toNumber","parseFloat","isNaN","getGlobalThis","effectScopeStack","EffectScope","detached","active","effects","cleanups","parent","scopes","on","off","pop","fromParent","stop","cleanup","last","effectScope","recordEffectScope","effect","scope","getCurrentScope","onScopeDispose","activeEffect","createDep","dep","Set","wasTracked","trackOpBit","newTracked","targetMap","WeakMap","effectTrackDepth","effectStack","ITERATE_KEY","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","deps","includes","trackStack","shouldTrack","initDepMarkers","cleanupEffect","ptr","delete","finalizeDepMarkers","resetTracking","onStop","_effect","lazy","run","runner","pauseTracking","track","isTracking","depsMap","Map","trackEffects","debuggerEventExtraInfo","has","trigger","newValue","oldTarget","triggerEffects","allowRecurse","isNonTrackableKeys","builtInSymbols","getOwnPropertyNames","createGetter","shallowGet","readonlyGet","shallowReadonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","toRaw","isReadonly","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","Reflect","isRef","readonly","reactive","createSetter","hadKey","mutableHandlers","deleteProperty","ownKeys","readonlyHandlers","shallowReactiveHandlers","shallowReadonlyHandlers","toReactive","toReadonly","toShallow","getProto","get$1","isShallow","rawTarget","rawKey","wrap","has$1","set$1","deleteEntry","clear","hadItems","createForEach","observed","createIterableMethod","targetIsMap","isPair","iterator","isKeyOnly","innerIterator","next","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations","shallowInstrumentations","readonlyInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","shallowReadonlyCollectionHandlers","createReactiveObject","shallowReactive","shallowReadonly","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","isExtensible","rawType","targetTypeMap","toRawType","proxy","Proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref","triggerRefValue","newVal","convert","createRef","shallowRef","RefImpl","_shallow","_rawValue","_value","rawValue","triggerRef","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","CustomRefImpl","factory","_get","_set","customRef","toRefs","object","toRef","ObjectRefImpl","_object","devtools","ComputedRefImpl","_setter","_dirty","computed","getterOrOptions","debugOptions","setter","setDevtoolsHook","hook","devtoolsInitApp","app","version","emit","Fragment","Text","Comment","Static","devtoolsUnmountApp","devtoolsComponentAdded","createDevtoolsComponentHook","devtoolsComponentUpdated","devtoolsComponentRemoved","component","appContext","uid","devtoolsComponentEmit","event","vnode","rawArgs","handlerName","modelArg","modifiersKey","__VUE_PROD_DEVTOOLS__","handler","callWithAsyncErrorHandling","onceHandler","emitted","normalizeEmitsOptions","comp","asMixin","emitsCache","cached","emits","hasExtends","__VUE_OPTIONS_API__","isFunction$1","extendEmits","normalizedFromExtend","mixins","extends","isEmitListener","link","msg","isRuntimeOnly","componentName","legacyHook","newHook","coerced","getComponentName","configMsg","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","__scopeId","pushScopeId","popScopeId","withScopeId","_id","withCtx","ctx","_n","renderFnWithContext","_d","setBlockTracking","prevInstance","_c","renderComponentRoot","Component","withProxy","propsOptions","slots","attrs","render","renderCache","setupState","inheritAttrs","fallthroughAttrs","shapeFlag","proxyToUse","normalizeVNode","getFunctionalFallthrough","root","some","filterModelListeners","cloneVNode","dirs","transition","err","blockStack","handleError","createVNode","hasPropsChanged","prevProps","nextProps","emitsOptions","nextKeys","updateHOCHostEl","subTree","isSuspense","__isSuspense","Suspense","n1","n2","container","anchor","parentComponent","parentSuspense","isSVG","slotScopeIds","optimized","rendererInternals","patch","hiddenContainer","suspense","createSuspenseBoundary","pendingBranch","ssContent","triggerEvent","ssFallback","setActiveBranch","mountSuspense","unmount","um","newBranch","newFallback","activeBranch","isInFallback","isHydrating","isSameVNodeType","pendingId","fallback","patchSuspense","hydrate","node","hydrateNode","normalize","children","isSlotChildren","normalizeSuspenseSlot","eventListener","move","isUnmounted","resume","delayEnter","mode","afterLeave","hasUnresolvedAncestor","queuePostFlushCb","fallbackVNode","mountFallback","registerDep","setupRenderEffect","isInPendingSuspense","hydratedEl","asyncDep","asyncSetupResult","suspenseId","asyncResolved","handleSetupResult","placeholder","doRemove","block","isCompiledSlot","openBlock","currentBlock","closeBlock","singleChild","singleRoot","child","isVNode","filterSingleRoot","dynamicChildren","queueEffectWithSuspense","branch","provide","currentInstance","provides","parentProvides","inject","defaultValue","treatDefaultAsFactory","useTransitionState","state","isMounted","isLeaving","isUnmounting","leavingVNodes","onMounted","onBeforeUnmount","TransitionHookValidator","BaseTransition","appear","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","setup","prevTransitionKey","getCurrentInstance","getTransitionRawChildren","rawProps","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","leavingHooks","delayLeave","earlyRemove","delayedLeave","getLeavingNodesForType","_leaveCb","leavingVNodesCache","callHook","hooks","beforeEnter","leavingVNode","enter","afterHook","cancelHook","called","_enterCb","cancelled","leave","isKeepAlive","keepComment","keyedFragmentCount","patchFlag","defineComponent","isAsyncWrapper","__asyncLoader","defineAsyncComponent","loader","resolvedComp","loadingComponent","errorComponent","delay","suspensible","userOnError","onError","pendingRequest","retries","load","thisRequest","createInnerComp","loaded","delayed","queueJob","__isKeepAlive","KeepAlive","include","exclude","sharedContext","renderer","current","__v_cache","_unmount","storageContainer","resetShapeFlag","pruneCache","pruneCacheEntry","activate","queuePostRenderEffect","isDeactivated","vnodeHook","onVnodeMounted","invokeVNodeHook","deactivate","da","onVnodeUnmounted","watch","matches","flush","deep","pendingCacheKey","cacheSubtree","getInnerChild","onUpdated","rawVNode","__asyncResolved","cachedVNode","pattern","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","__wdc","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","prepend","__weh","setCurrentInstance","unsetCurrentInstance","createHook","lifecycle","isInSSRComponentSetup","onBeforeMount","onBeforeUpdate","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","shouldCacheAccess","createWatcher","publicThis","createPathGetter","isObject$1","resolveMergedOptions","resolved","extendsOptions","globalMixins","optionsCache","optionMergeStrategies","mergeOptions","to","from","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeObjectOptions","methods","beforeCreate","mergeAsArray","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","beforeUnmount","destroyed","unmounted","activated","deactivated","errorCaptured","serverPrefetch","components","directives","merged","normalizeInject","initProps","isStateful","isSSR","InternalObjectKey","propsDefaults","setFullProps","rawCastValues","needCastKeys","hasAttrsChanged","camelKey","rawCurrentProps","castValues","resolvePropValue","isAbsent","opt","hasDefault","normalizePropsOptions","propsCache","extendProps","normalizedKey","validatePropName","booleanIndex","getTypeIndex","stringIndex","getType","ctor","isSameType","expectedTypes","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","_ctx","normalizeVNodeSlots","initSlots","withDirectives","bindings","dir","modifiers","traverse","invokeDirectiveHook","prevVNode","oldBindings","binding","createAppContext","isNativeTag","performance","globalProperties","errorHandler","warnHandler","compilerOptions","createAppAPI","rootComponent","rootProps","installedPlugins","_uid","_component","_props","_container","_context","_instance","plugin","install","mixin","directive","mount","rootContainer","isHydrate","__vue_app__","hasMismatch","isSVGContainer","namespaceURI","tagName","isComment","nodeType","createHydrationFunctions","mountComponent","mt","patchProp","nextSibling","createComment","isFragmentStart","onMismatch","handleMismatch","domType","nextNode","needToAdoptContent","staticCount","outerHTML","hydrateFragment","hydrateElement","locateClosingAsyncAnchor","previousSibling","lastChild","createTextVNode","hydrateChildren","setRef","forcePatchValue","endsWith","onClick","vnodeHooks","onVnodeBeforeMount","innerHTML","textContent","cur","parentVNode","fragmentSlotScopeIds","isFragment","end","hasChildNodes","flushPostFlushCbs","createRenderer","baseCreateRenderer","createHydrationRenderer","createHydrationFns","__VUE__","__VUE_DEVTOOLS_GLOBAL_HOOK__","hostInsert","hostRemove","hostPatchProp","hostCreateElement","hostCreateText","createText","hostCreateComment","hostSetText","setText","hostSetElementText","setElementText","hostParentNode","hostNextSibling","setScopeId","hostSetScopeId","hostCloneNode","cloneNode","hostInsertStaticContent","insertStaticContent","getNextHostNode","processText","processCommentNode","mountStaticNode","processFragment","processElement","processComponent","internals","moveStaticNode","mountElement","patchElement","mountChildren","unmountChildren","scopeId","needCallTransitionHooks","start","cloneIfMounted","oldProps","newProps","onVnodeBeforeUpdate","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","propsToUpdate","dynamicProps","onVnodeUpdated","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","traverseStaticChildren","updateComponent","initialVNode","createComponentInstance","setupComponent","nextVNode","prevChildren","nextChildren","$stable","shouldUpdateComponent","updateComponentPreRender","job","queue","flushIndex","invalidateJob","bu","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateSubTree","scopedInitialVNode","rawPrevProps","kebabKey","camelizedKey","updateProps","needDeletionCheck","deletionComparisonTarget","updateSlots","flushPreFlushCbs","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","newLength","commonLength","nextChild","parentAnchor","l2","e1","e2","nextPos","j","s1","s2","keyToNewIndexMap","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","len","arrI","getSequence","nextIndex","moveType","needTransition","performLeave","shouldInvokeDirs","shouldInvokeVnodeHook","onVnodeBeforeUnmount","unmountComponent","performRemove","removeStaticNode","removeFragment","bum","_vnode","mc","pc","pbc","createApp","rawRef","oldRawRef","isUnmount","refValue","getExposeProxy","owner","oldRef","refs","doSet","callWithErrorHandling","ch1","ch2","isTeleport","__isTeleport","isTeleportDisabled","disabled","isTargetSVG","SVGElement","resolveTarget","select","targetSelector","moveTeleport","targetAnchor","isReorder","Teleport","mainAnchor","wasDisabled","currentContainer","currentAnchor","nextTarget","targetNode","_lpa","COMPONENTS","resolveComponent","maybeSelfReference","resolveAsset","NULL_DYNAMIC_COMPONENT","resolveDynamicComponent","resolveDirective","selfName","registry","disableTracking","isBlockTreeEnabled","setupBlock","createElementBlock","createBaseVNode","createBlock","__v_isVNode","transformVNodeArgs","transformer","normalizeKey","normalizeRef","isBlockNode","needFullChildrenNormalization","__v_skip","normalizeChildren","cloned","isClassComponent","__vccOpts","guardReactiveProps","extraProps","mergeRef","mergedProps","mergeProps","text","flag","createStaticVNode","numberOfNodes","createCommentVNode","asBlock","slot","slotFlag","toMerge","existing","incoming","renderList","renderItem","createSlots","dynamicSlots","renderSlot","noSlotted","isCE","validSlotContent","ensureValidVNode","rendered","vnodes","toHandlers","getPublicInstance","isStatefulComponent","publicPropertiesMap","$el","$data","$props","$attrs","$slots","$refs","$parent","$root","$emit","$options","$forceUpdate","$nextTick","nextTick","$watch","instanceWatch","PublicInstanceProxyHandlers","normalizedProps","accessCache","cssModule","publicGetter","__cssModules","RuntimeCompiledPublicInstanceProxyHandlers","unscopables","emptyAppContext","uid$1","exposed","exposeProxy","setupContext","bc","rtg","rtc","ec","sp","ce","compile","installWithProxy","setupResult","setupStatefulComponent","createSetupContext","isPromise$1","resolvedResult","finishComponentSetup","devtoolsRawSetupState","registerRuntimeCompiler","_compile","_rc","skipOptions","template","isCustomElement","delimiters","componentCompilerOptions","finalCompilerOptions","dataOptions","computedOptions","watchOptions","provideOptions","injectOptions","renderTracked","renderTriggered","expose","filters","unwrapRef","resolveInjections","unwrapInjectedRef","methodHandler","registerLifecycleHook","register","_hook","applyOptions","createAttrsProxy","classifyRE","classify","displayName","formatComponentName","isRoot","__file","inferFromRegistry","warn","appWarnHandler","trace","getComponentTrace","warnArgs","formatTrace","currentVNode","normalizedStack","recurseCount","parentInstance","logs","entry","postfix","close","formatProp","formatTraceEntry","exposedInstance","errorInfo","errorCapturedHooks","appErrorHandler","logError","contextVNode","isFlushing","isFlushPending","pendingPreFlushCbs","activePreFlushCbs","preFlushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","currentPreFlushParentJob","middle","getId","findInsertionIndex","queueFlush","flushJobs","queueCb","cb","activeQueue","pendingQueue","queuePreFlushCb","seen","parentJob","deduped","sort","Infinity","watchEffect","doWatch","watchPostEffect","watchSyncEffect","INITIAL_WATCHER_VALUE","immediate","onTrack","onTrigger","forceTrigger","isMultiSource","onInvalidate","baseGetter","segments","defineProps","defineEmits","defineExpose","withDefaults","useSlots","getContext","useAttrs","mergeDefaults","withAsyncContext","getAwaitable","awaitable","propsOrChildren","ssrContextKey","useSSRContext","initCustomFormatter","withMemo","isMemoSame","ssrUtils","resolveFilter","compatUtils","doc","staticTemplateCache","nodeOps","tag","createElementNS","multiple","nodeValue","selector","before","wrapper","patchClass","transitionClasses","_vtc","className","patchStyle","display","setStyle","importantRE","setProperty","prefixed","rawName","prefixCache","prefixes","autoPrefix","xlinkNS","patchAttr","removeAttributeNS","setAttributeNS","isBoolean","patchDOMProp","_a","_getNow","skipTimestampCheck","createEvent","timeStamp","ffMatch","cachedNow","reset","removeEventListener","patchEvent","prevValue","nextValue","invokers","_vei","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","initialValue","attached","originalStop","stopImmediatePropagation","_stopped","patchStopImmediatePropagation","nativeOnRE","shouldSetAsProp","defineCustomElement","hydate","Comp","VueCustomElement","initialProps","VueElement","defineSSRCustomElement","_def","_connected","_resolved","shadowRoot","_createVNode","attachShadow","_setAttr","observer","MutationObserver","mutations","attributeName","observe","_resolveDef","_setProp","styles","camelize$1","_getProp","_applyStyles","asyncDef","getAttribute","shouldReflect","dispatchEvent","CustomEvent","detail","HTMLElement","useCssModule","mod","useCssVars","setVars","setVarsOnVNode","ob","childList","disconnect","vars","setVarsOnNode","TRANSITION","ANIMATION","Transition","resolveTransitionProps","DOMTransitionPropsValidators","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","TransitionPropsValidators","hasExplicitCallback","baseProps","durations","NumberOf","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","finishLeave","makeEnterHook","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","cls","classList","requestAnimationFrame","endId","expectedType","explicitTimeout","_endId","resolveIfNotStale","getTransitionInfo","propCount","endEvent","ended","onEnd","getComputedStyle","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","toMs","body","offsetHeight","positionMap","newPositionMap","TransitionGroup","moveClass","hasCSSTransform","callPendingCbs","recordPosition","movedChildren","applyTranslation","transform","webkitTransform","transitionDuration","_moveCb","propertyName","cssTransitionProps","getBoundingClientRect","oldPos","newPos","dx","left","dy","top","getModelAssigner","onCompositionStart","composing","onCompositionEnd","initEvent","vModelText","_assign","castToNumber","domValue","activeElement","vModelCheckbox","modelValue","_modelValue","elementValue","getValue","checked","found","filtered","getCheckboxValue","setChecked","vModelRadio","vModelSelect","isSetModel","selectedVal","selected","setSelected","_binding","isMultiple","option","optionValue","selectedIndex","vModelDynamic","callModelHook","modelToUse","systemModifiers","modifierGuards","stopPropagation","prevent","preventDefault","currentTarget","ctrl","ctrlKey","shiftKey","alt","altKey","meta","metaKey","button","right","exact","withModifiers","guard","keyNames","esc","space","up","down","withKeys","eventKey","k","vShow","_vod","setDisplay","rendererOptions","_trueValue","_falseValue","enabledHydration","ensureRenderer","ensureHydrationRenderer","containerOrSelector","normalizeContainer","Element","createSSRApp","defaultOnError","defaultOnWarn","createCompilerError","loc","messages","additionalMessage","SyntaxError","FRAGMENT","TELEPORT","SUSPENSE","KEEP_ALIVE","BASE_TRANSITION","OPEN_BLOCK","CREATE_BLOCK","CREATE_ELEMENT_BLOCK","CREATE_VNODE","CREATE_ELEMENT_VNODE","CREATE_COMMENT","CREATE_TEXT","CREATE_STATIC","RESOLVE_COMPONENT","RESOLVE_DYNAMIC_COMPONENT","RESOLVE_DIRECTIVE","RESOLVE_FILTER","WITH_DIRECTIVES","RENDER_LIST","RENDER_SLOT","CREATE_SLOTS","TO_DISPLAY_STRING","MERGE_PROPS","NORMALIZE_CLASS","NORMALIZE_STYLE","NORMALIZE_PROPS","GUARD_REACTIVE_PROPS","TO_HANDLERS","CAMELIZE","CAPITALIZE","TO_HANDLER_KEY","SET_BLOCK_TRACKING","PUSH_SCOPE_ID","POP_SCOPE_ID","WITH_CTX","UNREF","IS_REF","WITH_MEMO","IS_MEMO_SAME","helperNameMap","locStub","column","offset","createRoot","helpers","hoists","imports","temps","codegenNode","createVNodeCall","isBlock","isComponent","helper","getVNodeBlockHelper","inSSR","getVNodeHelper","createArrayExpression","elements","createObjectExpression","properties","createObjectProperty","createSimpleExpression","isStatic","constType","createCompoundExpression","createCallExpression","callee","createFunctionExpression","returns","newline","isSlot","createConditionalExpression","consequent","alternate","createCacheExpression","isStaticExp","isBuiltInType","expected","isCoreComponent","nonIdentifierRE","isSimpleIdentifier","validFirstIdentCharRE","validIdentCharRE","whitespaceRE","isMemberExpression","stateStack","currentOpenBracketCount","currentOpenParensCount","currentStringType","char","getInnerRange","newLoc","advancePositionWithClone","pos","numberOfCharacters","advancePositionWithMutation","linesCount","lastNewLinePos","findDir","allowEmpty","exp","findProp","dynamicOnly","isBindKey","isText","isVSlot","isTemplateNode","tagType","isSlotOutlet","ssr","propsHelperSet","getUnnormalizedProps","callPath","injectProp","propsWithInjection","parentCall","first","alreadyExists","propKeyName","toValidAssetId","searchValue","replaceValue","makeBlock","removeHelper","getCompatValue","compatConfig","isCompatEnabled","checkCompatEnabled","decodeRE","decodeMap","gt","lt","amp","apos","quot","defaultParserOptions","getNamespace","getTextMode","isPreTag","decodeEntities","rawText","p1","onWarn","comments","baseParse","createParserContext","getCursor","parseChildren","getSelection","rawOptions","originalSource","inPre","inVPre","ancestors","ns","nodes","isEnd","parseInterpolation","emitError","parseComment","parseBogusComment","parseCDATA","advanceBy","parseTag","parseElement","isSpecialTemplateDirective","parseText","pushNode","removedWhitespace","shouldCondense","whitespace","exec","prevIndex","nestedIndex","contentStart","closeIndex","wasInPre","wasInVPre","element","isPreBoundary","isVPreBoundary","isSelfClosing","inlineTemplateProp","startsWithEndTagOpen","advanceSpaces","cursor","currentSource","parseAttributes","isBuiltInComponent","attributeNames","attr","parseAttribute","nameSet","quote","isQuoted","endIndex","parseTextData","unexpectedChars","parseAttributeValue","isPropShorthand","dirName","startOffset","lastIndexOf","getNewPosition","valueLoc","innerStart","innerEnd","rawContentLength","rawContent","preTrimContent","endTokens","xs","searchString","hoistStatic","walk","isSingleElementRoot","doNotHoistNode","canStringify","originalCount","hoistedCount","constantType","getConstantType","hoist","getPatchFlag","getGeneratedPropsConstantType","getNodeProps","contentType","vSlot","branches","transformHoist","constantCache","returnType","generatedPropsType","childType","expType","allowHoistedHelperSet","getConstantTypeOfHelperCall","keyType","valueType","filename","prefixIdentifiers","cacheHandlers","nodeTransforms","directiveTransforms","expressionPlugins","slotted","ssrCssVars","bindingMetadata","inline","isTS","nameMatch","vFor","vPre","vOnce","currentNode","childIndex","inVOnce","currentCount","helperString","replaceNode","removeNode","removalIndex","onNodeRemoved","addIdentifiers","removeIdentifiers","hoisted","createTransformContext","traverseNode","createRootCodegen","exitFns","onExit","nodeRemoved","traverseChildren","createStructuralDirectiveTransform","PURE_ANNOTATION","createCodegenContext","ast","optimizeImports","runtimeGlobalName","runtimeModuleName","indentLevel","pure","indent","deindent","withoutNewLine","repeat","generate","onContextCreated","hasHelpers","useWithBlock","preambleContext","genFunctionPreamble","functionName","signature","genAssets","genNode","preamble","VueBinding","staticHelpers","genHoists","assets","resolver","genNodeListAsArray","multilines","genNodeList","comma","genText","genExpression","genInterpolation","genCompoundExpression","genComment","genNullableArgs","genVNodeCall","genCallExpression","genExpressionAsPropertyKey","genObjectExpression","genArrayExpression","isNonScopedSlot","genFunctionExpression","needNewline","needsParens","isNested","genConditionalExpression","genCacheExpression","transformIf","processCodegen","createIfBranch","ifNode","siblings","sibling","processIf","createCodegenNodeForBranch","getParentCondition","condition","userKey","keyIndex","createChildrenCodegenNode","keyProperty","vnodeCall","transformFor","parseResult","parseForExpression","forNode","valueAlias","keyAlias","objectIndexAlias","processFor","renderExp","keyProp","keyExp","isStableFragment","fragmentFlag","childBlock","isTemplate","needFragmentWrapper","slotOutlet","loop","createForLoopParams","forAliasRE","forIteratorRE","stripParensRE","input","inMatch","LHS","RHS","createAliasExpression","valueContent","trimmedOffset","iteratorMatch","keyOffset","keyContent","indexContent","range","memoArgs","createParamsList","defaultFallback","trackSlotScopes","buildClientSlotFn","buildDynamicSlot","hasForwardedSlots","isNonWhitespaceContent","directiveImportMap","transformElement","vnodeProps","vnodeChildren","vnodePatchFlag","vnodeDynamicProps","dynamicPropNames","vnodeDirectives","vnodeTag","isExplicitDynamic","isComponentTag","isProp","isDir","builtIn","resolveComponentType","shouldUseBlock","propsBuildResult","buildProps","dirArgs","runtime","trueExpression","modifier","buildDirectiveArgs","buildSlotFn","slotsProperties","hasDynamicSlots","onComponentSlot","hasTemplateSlots","hasNamedDefaultSlot","implicitDefaultChildren","seenSlotNames","slotElement","slotDir","slotChildren","slotLoc","slotName","slotProps","dirLoc","staticSlotName","slotFunction","vIf","vElse","conditional","buildDefaultSlotProperty","buildSlots","hasDynamicTextChild","propsNamesString","stringifyDynamicPropNames","elementLoc","mergeArgs","runtimeDirectives","hasRef","hasClassBinding","hasStyleBinding","hasHydrationEventBinding","hasDynamicKeys","hasVnodeHook","analyzePatchFlag","isEventHandler","valueNode","isVBind","isVOn","dedupeProperties","directiveTransform","needRuntime","propsExpression","classKeyIndex","styleKeyIndex","hasDynamicKey","isHandlerKey","classProp","styleProp","knownProps","transformSlotOutlet","nonNameProps","processSlotOutlet","slotArgs","fnExpRE","transformOn","augmentor","eventName","shouldCache","isMemberExp","isInlineStatement","hasMultipleStatements","transformBind","_node","injectPrefix","prefix","transformText","hasText","callArgs","WeakSet","transformOnce","transformModel","createTransformProps","rawExp","expString","assignmentExp","propName","eventArg","validDivisionCharRE","transformFilter","rewriteFilter","parseFilter","expression","inSingle","inDouble","inTemplateString","inRegex","curly","square","paren","lastFilterIndex","pushFilter","wrapFilter","seen$1","transformMemo","getBaseTransformPreset","model","baseCompile","isModuleMode","decoder","V_MODEL_RADIO","V_MODEL_CHECKBOX","V_MODEL_TEXT","V_MODEL_SELECT","V_MODEL_DYNAMIC","V_ON_WITH_MODIFIERS","V_ON_WITH_KEYS","V_SHOW","TRANSITION_GROUP","getOwnPropertySymbols","isRawTextContainer","parserOptions","asAttr","createDOMCompilerError","isEventOptionModifier","isNonKeyModifier","maybeKeyModifier","isKeyboardEvent","transformClick","ignoreSideEffectTags","DOMNodeTransforms","DOMDirectiveTransforms","cloak","html","baseResult","transformModel$1","directiveToUse","isInvalidType","hasDynamicKeyVBind","transformOn$1","handlerExp","keyModifiers","nonKeyModifiers","eventOptionModifiers","resolveModifiers","modifierPostfix","show","compileCache","runtimeDom","storeKey","useStore","forEachValue","genericSubscribe","subs","resetStore","store","hot","_actions","_mutations","_wrappedGetters","_modulesNamespaceMap","installModule","_modules","resetStoreState","oldState","_state","getters","_makeLocalGettersCache","wrappedGetters","computedObj","partial","strict","enableStrictMode","_withCommit","rootState","namespace","namespaced","parentState","getNestedState","moduleName","noNamespace","dispatch","_type","_payload","_options","unifyObjectStyle","payload","commit","defineProperties","makeLocalGetters","makeLocalContext","forEachMutation","mutation","registerMutation","forEachAction","action","rootGetters","_devtoolHook","registerAction","forEachGetter","rawGetter","registerGetter","forEachChild","gettersProxy","splitPos","localType","MUTATIONS_LAYER_ID","ACTIONS_LAYER_ID","INSPECTOR_ID","actionId","addDevtools","pluginDescriptor","setupFn","__VUE_DEVTOOLS_PLUGINS__","setupDevtoolsPlugin","label","homepage","logo","packageName","componentStateTypes","addTimelineLayer","color","COLOR_LIME_500","addInspector","icon","treeFilterPlaceholder","getInspectorTree","inspectorId","flattenStoreForInspectorTree","rootNodes","formatStoreForInspectorTree","getInspectorState","modulePath","nodeId","gettersKeys","storeState","editable","tree","leafKey","_custom","tooltip","abstract","canThrow","transformPathsToObjectTree","extractNameFromPath","formatStoreForInspectorState","moduleMap","names","_children","editInspectorState","subscribe","notifyComponentUpdate","sendInspectorTree","sendInspectorState","addTimelineEvent","layerId","time","title","subscribeAction","_time","groupId","subtitle","after","TAG_NAMESPACED","textColor","backgroundColor","tags","Module","rawModule","_rawModule","rawState","prototypeAccessors$1","addChild","getChild","hasChild","actions","ModuleCollection","rawRootModule","targetModule","newModule","this$1$1","rawChildModule","unregister","isRegistered","Store","plugins","_committing","_actionSubscribers","_subscribers","_devtools","prototypeAccessors","normalizeMap","isValidMap","normalizeNamespace","getModuleByNamespace","injectKey","$store","sub","replaceState","registerModule","preserveState","unregisterModule","hasModule","hotUpdate","newOptions","committing","states","vuex","giftDefaultState","giftingDirectory","gift","giftee_first_name","giftee_last_name","giftee_email","gifter_first_name","gifter_last_name","gifter_email","send_immediately","send_date","send_date_day","send_date_month","send_date_year","send_date_hour","send_date_minute","padStart","send_date_meridian","send_time","send_timezone","tos","cc_name","cc_number","cc_exp_month","cc_exp_year","cc_cvc","billing_address","billing_suite","billing_city","billing_state","billing_zip","billing_country","payment_processor_data","redeemed_at","isVerified","redemption_code","isProcessing","subProperty","property","setDefaultState","defaultState","postGift","deliver_at","giftPayload","price_id","user_data","address1","address2","city","country","zip","processingPaymentStatus","selectedDate","loadingOptIn","modalId","showModal","loadingLivestreams","livestreams","livestreamCustomPeriodData","livestream","liveSvodCap","loadingMyLivestreams","myLivestreams","timezone","toggleModal","loadLiveStreamsByDate","date_from","date_to","date_timezone","filteredStreams","associated_products","metadata","live_svod_cap","fetchLiveStream","finally","loadMyLiveStreams","registered","loadLivestream","getLivestreamById","resource_id","products","subscription","product_id","tax_rate","setProducts","pricing_type","setProduct","setProductId","setPriceId","loadProducts","account","getTaxRate","prices","log","calendarDefaultState","calendarEvents","selectedDateEvents","loadingEvents","loadingDateEvents","calendarDate","viewMode","userTimezone","getRandomValues","loadEventsByDate","dates","deliveryMethod","calendar_events","loadSelectedDateEvents","mediaId","mediaItem","loadingMedia","openRatingModal","mediaItems","filterGroups","loadFilters","per_page","filter_groups","loadMediaItem","memos","loadingMemos","lastUpdated","reviewedDate","loadMemos","order_by","updated_at","viewMemos","rnds8","Uint8Array","rng","crypto","msCrypto","uuid","REGEX","byteToHex","buf","rnds","random","validate","toasts","addToast","toast","removeToast","features","loadingFeatures","loadFeatures","page_size","E","getOwnPropertyDescriptors","propertyIsEnumerable","writable","C","showCloseButton","position","hideProgressBar","swipeClose","TITLE_ONLY","TITLE_DESCRIPTION","COMPONENT","VNODE","bounce","zoom","slide","L","clearTimeout","clientX","touches","swipedDiff","swipeStart","swipeStyle","swipeHandler","startSwipeHandler","cleanUpMove","N","B","P","xmlns","height","viewBox","width","fill","V","R","W","q","U","X","F","Y","MIcon","visible","toastBackgroundColor","onClose","onCloseHandler","required","showIcon","innerWidth","innerHeight","transitionType","clearInterval","setInterval","progress","I","bottom","marginRight","marginLeft","customStyle","startTimer","onTouchStart","onMouseLeave","onMouseDown","isSlotPassed","isDescriptionHtml","onMouseEnter","G","J","K","onMouseenter","onMouseleave","onTouchstartPassive","onMousedown","T","ee","te","se","oe","le","ie","re","ne","toastVNode","user","subscriptions","authenticated","clearStorageRoutes","feature","accountIntegrations","clientIntegrations","oidcAccountID","integrationId","configurationId","loadAccountIntegrations","external_integrations","loadClientIntegrations","external_integration_accounts","postOidcIntegrationsID","integrationID","oidcID","deleteIntegration","modifyIntegration","new_value","setConfigID","subSubProperty","setState","localStorage","getItem","newStore","updateUserSubscriptionById","initStore","route","getAccount","accounts","getUser","getUserSubscriptions","getUserPurchases","purchases","StringUtils","excludeElements","replaceInElement","replaceString","innerText","replaceInElements","validToReplace","escapedSearchString","regex","formatCurrency","toFixed","nodeName","role","mediaItemRef","rating","rating_avg","ratingDecimal","onRateVideo","isFeatureActivated","fname","isActivated","rating_count","mediaData","readMore","mediaUrl","filtersParam","categoryParam","category","hasAccess","download_url","share_url","assetUrl","mediaUrlWithProgress","viewing_info","duration_viewed","posterImage","cover_art","small","checkBatchCache","globalMediaCache","__batchLoadedMedia","cachedMedia","handleBatchMediaLoaded","checkCount","maxChecks","checkInterval","getDuration","truncateText","limit","ellipsis","formatDate","toggleReadMore","isModalOpen","getVideoElement","iframe","contentWindow","openModal","videoElement","paused","pause","handleLinkClick","popup_redirection_link","is_past_due_member","closeModal","play","playlistId","is_member","is_active_member","popup_title","popup_description","positive_button_label","watch_count","showDescription","inputValue","validationRule","customAttributes","getElementById","attribute","for","inputList","validationMessage","isLoading","filterGroupId","filterIds","showFilters","currentPage","pageInfo","resultsPerPage","sortOrder","loadMediaItems","page_number","page_info","onSort","onFilterDeselect","ar","br","checkAccountId","sortOptions","onFilterGroupSelect","onFilterSelect","onClearFilters","onCloseFilters","onOpenFilters","onPreviousPage","previous_page","onNextPage","next_page","is_new","total_items","formatTime","ttz","formatLongDate","formatShortDate","formatDateTime","formatShortDateTime","getActivePriceAmount","active_price_id","price","amount","next_bill_date","email","first_name","last_name","shipping_address","autocomplete","maxlength","abbreviation","taxProviderPresent","tax_provider_present","address","countryOptions","stateOptions","isFullCheck","isEmptyCheck","isValidCheck","isBilling","isFieldRequired","fieldName","isFieldVisible","__awaiter","_arguments","generator","step","errors","ccNameError","isUseSaveCard","savedCardDetails","apiErrorMessage","monthOptions","yearOptions","paymentInformation","cc_format","stripe_id","cardIcons","card","brand","Visa_Icon","Amex_Icon","Mastercard_Icon","Default_Icon","cardNumber","cardExpiry","cardCvc","last4","exp_month","exp_year","stripeInstance","stripeState","cardNumberComplete","cardExpiryComplete","cardCvcComplete","cardNumberError","cardExpiryError","cardCvcError","tmpAddress","transactionData","full_name","opaque_data","stripeToken","setAddress","isAddressValid","isPaymentValid","isPaymentEmpty","isSaving","onSubmitError","viewed","onSubmitFailure","patchUser","reload","Stripe","script","src","onload","payment_processors","processors","stripeInfo","stripe","publishable_key","fontSize","fontFamily","invalid","iconColor","mountCardElement","handleStripeChange","field","errorField","complete","retry","initializeStripe","onSubmit","Accept","authNetInfo","createToken","dispatchData","authData","clientKey","api_public_key","apiLoginID","api_login_id","cardData","fullName","cardCode","resultCode","opaqueData","data_value","dataValue","data_descriptor","dataDescriptor","phone_number","emailIsValid","password_confirmation","posSrc","isPasswordValid","isPersonalInformationValid","successMessage","errorMessage","novalidate","colspan","perPage","hasTransactions","transactions","paginatedTransactions","totalPages","statusClass","goToPrevPage","goToNextPage","formatTaxAmount","recurring_amount","has_initial_price","tax_percentage","discount","total_initial_price","sub_total_initial_price","parsedTaxPercentage","formatAmount","total","tax","showTransactions","transaction","txn_date","pauseMinDate","pauseAt","pause_at","pauseDuration","pause_duration","pauseCount","pause_count","pauseDurationOptions","onPauseSubmit","pauseAction","unpause_at","pauseLimit","rows","screen","show_cancellation_questions","primaryReasonLabel","primaryReasonField","primaryReason","primaryReasonOptions","suggestedImprovementsLabel","suggestedImprovementsField","suggestedImprovements","resubscribeLabel","resubscribeField","resubscribe","resubscribeOptions","viewingLocationLabel","viewingLocationField","viewingLocation","viewingLocationOptions","onCancelClick","field_name","onCancel","canPause","onContinue","onChangeClick","onUpdate","onPauseClick","onPause","rel","clientEmail","client_email","supportEmail","support_email","clientName","customerSupportEmail","srcSystem","modalTitle","LIVESTREAM_CALENDAR_EVENT","Account_Subscriptions_ListItem_Transactions","Account_Subscriptions_CancellationOtherSrcSystem","showForm","cancellationReasons","src_system","canUpdate","current_state","canCancel","cancel_at","canUnCancel","getTotalPriceAmount","total_recurring_amount","reason_response_data","end_at","payloadCancelSubscription","encrypted_user_email","dataLayer","toggleTransactions","getScheduledSubscriptionPriceAmount","onUnPause","scheduled_subscription","onUnCancel","scheduled_subscription_total_amount","scheduled_subscription_recurring_amount","scheduled_subscription_tax_percentage","scheduled_subscription_scheduled_at","getSubscriptionsByStatus","activeSubscriptions","pausedSubscriptions","inactiveSubscriptions","purchase","created_at","account_overview","account_payments","account_profile","account_subscriptions","account_purchases","accountBase","activeLink","discountPlan","isLocationLogin","mySubscriptions","discountPriceID","dscEditProfileURL","targetAccountIds","showBanner","checkCSV","formatTax","tax_amount","total_amount","onCompletePurchase","onCancelPurchase","confirm","charLimit","isFormValid","paymentForm","setPublishableKey","onPriceSelect","compare_at_price","discount_type","single","Gifting_PricesListCard","tmpPrice_id","clearProduct","dayOptions","DIM","timezoneOptions","hourOptions","minuteOptions","meridianOptions","emailValidationMessage","emailValidation","populateGifter","onCreateGift","onProductSelect","getCheapestprice","tmpProduct_id","Gifting_ProductsListCard","pp","loadAndValidate","giftee_id","accessDate","userSubscription","nextBillingDate","isActive","allowedSrcSystems","isRedeemed","userSubscriptions","allowedUserProduct","disallowedUserProduct","allowedSubscriptions","disallowedSubscriptions","addedSubDate","pl","dateString","dateFormatted","hasAllowedSubscriptions","hasDisallowedSubscriptions","hasAllowedGiftedSubscription","hasDisallowedGiftedSubscription","onActivate","redeemed","userProduct","expiration","onSee","today","weekIndex","weekDates","liveStreamDayArray","acc","curr","ext_data","live_starts_at","onDateSelect","setWeekArray","loadData","newWeekDates","oldWeekDates","onPrevWeek","onNextWeek","wi","live_stream_registration_id","registrationURL","accountDeliveryMethod","deliveryHiddenElement","deliveryOnlyLink","deliveryUpgradeLinkElement","visibleAssociatedProducts","calendarInfo","live_ends_at","isUserLoggedIn","hasSubscriptions","userIsSubscribed","userIsCrunchMember","userIsActiveMember","getFirstMatchingField","shouldShowPopup","popupTitle","popupDescription","positiveButtonLabel","popupRedirectionLink","isPastDueMember","needSignUpButton","getGtagValues","eventData","livestream_name","livestream_duration","live_duration_minutes","livestream_time","livestream_calendar","gCalUrl","urlString","saveCalendar","payloadSaveCal","accountDeliveryMethodgetGtagValues","calString","blob","optIn","payloadOptIn","live_stream_registration","media_id","optOut","goToGoogleCalendar","payloadGoToGoogleCalendar","showMembershipModal","openAlertModal","closeAlertModal","live_svod_count","stream_info","stream_status","urlParams","attendedAt","oldStatus","watchStartTime","totalWatchTime","watchTimer","isCurrentlyWatching","livestreamId","stored","initializeTotalWatchTime","livestreamInfoLoaded","updateWaitingStatus","minutesBeforeStart","attended_at","progress_at","waiting_for_on_air","actual_watch_duration","getCurrentWatchDuration","currentDuration","getStreamStatus","hidden","startWatching","stopWatching","removeItem","updateWatchDuration","sessionTime","setItem","currentTotal","handleVisibilityChange","handleBeforeUnload","handleVideoMessage","intersectionObserver","toHyperlink","onIframeLoad","IntersectionObserver","isIntersecting","intersectionRatio","threshold","setupIntersectionObserver","large","allowfullscreen","frameborder","mozallowfullscreen","webkitAllowFullScreen","live_registration_count","live_participating_count","live_instructor_name","thumbnail","cover_art_fallback","png","currentTime","onDownloadEvents","icsContent","downloadLink","URL","createObjectURL","download","click","downloadICSFile","events","dtstamp","dtstart","dtend","generateICS","slug","short_description","frequency","loadEvents","displayMonth","displayYear","startDay","weekArray","monthDates","startMonth","monthStart","monthArray","onDateSubtract","onDateAdd","chunk","displayDates","containsEvents","elem","scrollIntoView","behavior","isCurrentDay","isSelectedDay","isOutsideMonth","mediaObject","reference_id","displayDay","displayDate","scrollView","elemId","global_input","password_confirm","passwordValidationMessage","onCreateAccount","access_token","redirectUri","authEmail","authPassword","authenticationMessage","onLogIn","grant_type","account_id","pausedSubs","onclick","closeToast","onCloseToast","thumbnailUrl","link_url","link_text","isOpen","showIndicator","onBodyClick","checkForMemos","toggleIsOpen","preventClose","clearRating","hoverValue","mediaUserRatingIdRef","mediaUserRatingId","mediaUserRatingRef","mediaUserRating","mediaUserRatingTextRef","mediaUserRatingText","onRatingClick","onRateOver","onRateOut","onSubmitRating","rateVideoPayload","reference_type","rating_user_rating","onClearRating","onCancelRating","productItem","showProductDescription","productUrl","pre","has_access","permalink_or_slug_or_id","mediaCount","images","isVertical","vertical_cover_art","horizontal_cover_art","banner_image","lowestPrice","loadProduct","productId","media_count","history","isClear","createMyApp","Gifting_PaymentDetails","Gifting_PaymentSuccess","Global_PausedSubscriptionBanner","Livestream_MyList","Livestream_PricingModal","querySelectorAll","clientIDs","stringUtils","replaceDollarText","client"],"sourceRoot":""}