{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./node_modules/core-js/internals/shared.js","webpack:///./node_modules/core-js/internals/create-property.js","webpack:///./node_modules/core-js/internals/set-to-string-tag.js","webpack:///./node_modules/core-js/internals/function-bind-context.js","webpack:///./node_modules/core-js/internals/object-create.js","webpack:///./node_modules/core-js/internals/is-array.js","webpack:///./node_modules/core-js/internals/engine-is-node.js","webpack:///./node_modules/core-js/modules/es.object.to-string.js","webpack:///./node_modules/date-fns/esm/fromUnixTime/index.js","webpack:///./node_modules/core-js/internals/uid.js","webpack:///./node_modules/core-js/internals/shared-key.js","webpack:///./node_modules/core-js/internals/iterators.js","webpack:///./node_modules/core-js/internals/array-method-has-species-support.js","webpack:///./node_modules/core-js/internals/is-forced.js","webpack:///./node_modules/core-js/internals/shared-store.js","webpack:///./node_modules/core-js/internals/set-global.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/core-js/internals/object-keys.js","webpack:///./node_modules/core-js/internals/native-symbol.js","webpack:///./node_modules/core-js/internals/inspect-source.js","webpack:///./node_modules/core-js/internals/to-absolute-index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack:///./node_modules/vue/dist/vue.common.js","webpack:///./node_modules/core-js/internals/document-create-element.js","webpack:///./node_modules/core-js/internals/engine-user-agent.js","webpack:///./node_modules/core-js/internals/enum-bug-keys.js","webpack:///./node_modules/core-js/internals/indexed-object.js","webpack:///./node_modules/core-js/internals/object-property-is-enumerable.js","webpack:///./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack:///./node_modules/core-js/internals/array-species-create.js","webpack:///./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack:///./node_modules/core-js/internals/regexp-exec-abstract.js","webpack:///./node_modules/core-js/internals/to-string-tag-support.js","webpack:///./node_modules/core-js/internals/species-constructor.js","webpack:///./node_modules/core-js/modules/es.string.search.js","webpack:///./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack:///./node_modules/core-js/internals/classof.js","webpack:///./node_modules/core-js/internals/ie8-dom-define.js","webpack:///./node_modules/core-js/internals/array-includes.js","webpack:///./node_modules/core-js/internals/regexp-exec.js","webpack:///./app/javascript/shared/helpers/AudioNotificationHelper.js","webpack:///./node_modules/core-js/internals/an-instance.js","webpack:///./node_modules/core-js/internals/get-iterator-method.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/core-js/internals/path.js","webpack:///./node_modules/core-js/internals/use-symbol-as-uid.js","webpack:///./node_modules/core-js/modules/es.promise.js","webpack:///./node_modules/core-js/internals/own-keys.js","webpack:///./node_modules/core-js/internals/object-keys-internal.js","webpack:///./node_modules/core-js/internals/advance-string-index.js","webpack:///./node_modules/core-js/internals/object-get-prototype-of.js","webpack:///./node_modules/core-js/internals/object-set-prototype-of.js","webpack:///./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./app/javascript/shared/helpers/faviconHelper.js","webpack:///./node_modules/core-js/modules/es.regexp.to-string.js","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///./node_modules/core-js/internals/regexp-flags.js","webpack:///./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack:///./node_modules/core-js/internals/copy-constructor-properties.js","webpack:///./node_modules/core-js/internals/add-to-unscopables.js","webpack:///./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack:///./app/javascript/widget/helpers/urlParamsHelper.js","webpack:///./app/javascript/widget/api/endPoints.js","webpack:///./node_modules/date-fns/_lib/toInteger/index.js","webpack:///./node_modules/core-js/internals/string-multibyte.js","webpack:///./node_modules/core-js/internals/set-species.js","webpack:///./node_modules/axios/lib/defaults.js","webpack:///./node_modules/core-js/internals/html.js","webpack:///./node_modules/core-js/internals/is-array-iterator-method.js","webpack:///./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack:///./node_modules/core-js/internals/define-well-known-symbol.js","webpack:///./node_modules/core-js/internals/task.js","webpack:///./node_modules/core-js/internals/engine-is-ios.js","webpack:///./node_modules/core-js/internals/new-promise-capability.js","webpack:///./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/startOfDay/index.js","webpack:///./node_modules/vue-i18n/dist/vue-i18n.esm.js","webpack:///./app/javascript/shared/helpers/MessageTypeHelper.js","webpack:///./node_modules/core-js/internals/redefine-all.js","webpack:///./node_modules/core-js/modules/es.symbol.js","webpack:///./node_modules/core-js/modules/es.function.name.js","webpack:///./node_modules/core-js/internals/is-regexp.js","webpack:///./node_modules/core-js/internals/inherit-if-required.js","webpack:///./node_modules/core-js/internals/dom-iterables.js","webpack:///./node_modules/core-js/internals/iterator-close.js","webpack:///./node_modules/core-js/internals/iterate.js","webpack:///./node_modules/core-js/modules/es.string.starts-with.js","webpack:///./node_modules/core-js/modules/es.array.iterator.js","webpack:///./app/javascript/widget/api/conversation.js","webpack:///./node_modules/core-js/modules/es.string.split.js","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./node_modules/core-js/modules/es.array.find-index.js","webpack:///./node_modules/core-js/internals/native-weak-map.js","webpack:///./node_modules/core-js/internals/define-iterator.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack:///./app/javascript/shared/helpers/Validators.js","webpack:///./node_modules/date-fns/esm/addMilliseconds/index.js","webpack:///./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/addDays/index.js","webpack:///./app/javascript/widget/mixins/darkModeMixin.js","webpack:///./node_modules/core-js/internals/object-define-properties.js","webpack:///./node_modules/axios/lib/helpers/bind.js","webpack:///./node_modules/axios/lib/helpers/buildURL.js","webpack:///./node_modules/axios/lib/core/enhanceError.js","webpack:///./node_modules/axios/lib/adapters/xhr.js","webpack:///./node_modules/axios/lib/core/createError.js","webpack:///./node_modules/core-js/internals/global.js","webpack:///./node_modules/axios/lib/cancel/isCancel.js","webpack:///./node_modules/axios/lib/core/mergeConfig.js","webpack:///./node_modules/axios/lib/cancel/Cancel.js","webpack:///./node_modules/core-js/internals/iterators-core.js","webpack:///./node_modules/core-js/internals/native-promise-constructor.js","webpack:///./node_modules/core-js/internals/promise-resolve.js","webpack:///./app/javascript/shared/helpers/HTMLSanitizer.js","webpack:///./node_modules/axios/index.js","webpack:///./node_modules/core-js/modules/es.symbol.description.js","webpack:///./app/javascript/shared/store/globalConfig.js","webpack:///./node_modules/vuelidate/lib/index.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./app/javascript/widget/App.vue?386b","webpack:///./app/javascript/widget/components/Banner.vue?0a2f","webpack:///./app/javascript/widget/components/HeaderActions.vue?4f2c","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?68d0","webpack:///./app/javascript/widget/api/agent.js","webpack:///./app/javascript/widget/store/modules/agent.js","webpack:///./app/javascript/widget/store/types.js","webpack:///./app/javascript/widget/store/modules/appConfig.js","webpack:///./app/javascript/widget/api/contacts.js","webpack:///./app/javascript/widget/store/modules/contacts.js","webpack:///./app/javascript/widget/store/modules/conversation/helpers.js","webpack:///./app/javascript/widget/store/modules/conversation/getters.js","webpack:///./app/javascript/widget/store/modules/conversation/actions.js","webpack:///./app/javascript/widget/store/modules/conversation/mutations.js","webpack:///./app/javascript/widget/store/modules/conversation/index.js","webpack:///./app/javascript/widget/store/modules/conversationAttributes.js","webpack:///./app/javascript/widget/api/conversationLabels.js","webpack:///./app/javascript/widget/store/modules/conversationLabels.js","webpack:///./app/javascript/widget/store/modules/events.js","webpack:///./app/javascript/widget/api/message.js","webpack:///./app/javascript/widget/store/modules/message.js","webpack:///./app/javascript/widget/api/campaign.js","webpack:///./app/javascript/widget/helpers/campaignTimer.js","webpack:///./app/javascript/widget/helpers/campaignHelper.js","webpack:///./app/javascript/widget/store/modules/campaign.js","webpack:///./app/javascript/widget/store/index.js","webpack:///./app/javascript/widget/helpers/IframeEventHelper.js","webpack:///app/javascript/widget/App.vue","webpack:///./app/javascript/widget/App.vue?867e","webpack:///./app/javascript/widget/App.vue","webpack:///./app/javascript/widget/App.vue?b007","webpack:///./app/javascript/widget/helpers/actionCable.js","webpack:///./app/javascript/widget/components/Banner.vue?88c9","webpack:///app/javascript/widget/components/Banner.vue","webpack:///./app/javascript/widget/components/Banner.vue","webpack:///./app/javascript/widget/components/Banner.vue?c3ad","webpack:///app/javascript/widget/components/HeaderActions.vue","webpack:///./app/javascript/widget/components/HeaderActions.vue?f112","webpack:///./app/javascript/widget/components/HeaderActions.vue","webpack:///./app/javascript/widget/components/HeaderActions.vue?3fdd","webpack:///app/javascript/widget/components/ChatHeader.vue","webpack:///./app/javascript/widget/components/ChatHeader.vue?66e2","webpack:///./app/javascript/widget/components/ChatHeader.vue","webpack:///./app/javascript/widget/components/ChatHeader.vue?cf33","webpack:///app/javascript/widget/components/ChatHeaderExpanded.vue","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue?2120","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue?94ce","webpack:///app/javascript/widget/components/layouts/ViewWithHeader.vue","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?4484","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?a9db","webpack:///./app/javascript/widget/router.js","webpack:///./app/javascript/packs/widget.js","webpack:///./node_modules/core-js/modules/es.string.match.js","webpack:///./node_modules/core-js/modules/es.string.iterator.js","webpack:///./node_modules/core-js/internals/array-for-each.js","webpack:///./node_modules/core-js/internals/get-substitution.js","webpack:///./node_modules/core-js/internals/correct-prototype-getter.js","webpack:///./node_modules/core-js/internals/a-possible-prototype.js","webpack:///./node_modules/core-js/internals/object-to-string.js","webpack:///./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./node_modules/core-js/modules/es.symbol.iterator.js","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./node_modules/core-js/internals/microtask.js","webpack:///./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack:///./node_modules/core-js/internals/host-report-errors.js","webpack:///./node_modules/core-js/internals/perform.js","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./node_modules/core-js/modules/es.object.values.js","webpack:///./node_modules/date-fns/esm/subMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack:///./node_modules/core-js/modules/es.array.concat.js","webpack:///./node_modules/date-fns/esm/subDays/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack:///./node_modules/nanoid/non-secure/index.js","webpack:///./node_modules/core-js/internals/fails.js","webpack:///./app/javascript/widget/mixins/configMixin.js","webpack:///./node_modules/core-js/internals/string-trim.js","webpack:///./node_modules/core-js/internals/whitespaces.js","webpack:///./node_modules/core-js/internals/create-iterator-constructor.js","webpack:///./node_modules/core-js/internals/array-from.js","webpack:///./node_modules/vuelidate/lib/params.js","webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./app/javascript/widget/constants/widgetBusEvents.js","webpack:///./node_modules/vuex/dist/vuex.js","webpack:///./node_modules/core-js/internals/well-known-symbol.js","webpack:///./node_modules/axios/lib/axios.js","webpack:///./node_modules/axios/lib/core/Axios.js","webpack:///./node_modules/axios/lib/core/InterceptorManager.js","webpack:///./node_modules/axios/lib/core/dispatchRequest.js","webpack:///./node_modules/axios/lib/core/transformData.js","webpack:///./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack:///./node_modules/axios/lib/core/settle.js","webpack:///./node_modules/core-js/modules/es.number.constructor.js","webpack:///./node_modules/axios/lib/helpers/cookies.js","webpack:///./node_modules/axios/lib/core/buildFullPath.js","webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack:///./node_modules/axios/lib/helpers/combineURLs.js","webpack:///./node_modules/axios/lib/helpers/parseHeaders.js","webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack:///./node_modules/axios/lib/helpers/validator.js","webpack:///./node_modules/axios/lib/cancel/CancelToken.js","webpack:///./node_modules/axios/lib/helpers/spread.js","webpack:///./node_modules/axios/lib/helpers/isAxiosError.js","webpack:///./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack:///./node_modules/core-js/internals/export.js","webpack:///./node_modules/core-js/internals/an-object.js","webpack:///./node_modules/core-js/internals/is-object.js","webpack:///./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack:///./node_modules/core-js/modules/es.array.map.js","webpack:///./node_modules/core-js/modules/es.regexp.exec.js","webpack:///./node_modules/core-js/modules/es.array.filter.js","webpack:///./node_modules/core-js/internals/has.js","webpack:///./app/javascript/shared/helpers/vuex/mutationHelpers.js","webpack:///./node_modules/core-js/internals/descriptors.js","webpack:///./node_modules/core-js/modules/es.array.slice.js","webpack:///./app/javascript/shared/components/Spinner.vue?05fd","webpack:///./node_modules/core-js/modules/es.array.from.js","webpack:///./node_modules/vue/dist/vue.common.prod.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/setimmediate/setImmediate.js","webpack:///./node_modules/vuelidate/lib/vval.js","webpack:///./node_modules/is-url/index.js","webpack:///./node_modules/core-js/internals/object-define-property.js","webpack:///./app/javascript/shared/helpers/BaseActionCableConnector.js","webpack:///./node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js","webpack:///./app/javascript/widget/helpers/uuid.js","webpack:///./app/javascript/widget/i18n/index.js","webpack:///./app/javascript/shared/constants/messages.js","webpack:///./node_modules/core-js/internals/to-length.js","webpack:///./node_modules/vue-dompurify-html/dist/index.js","webpack:///./node_modules/core-js/internals/create-non-enumerable-property.js","webpack:///./app/javascript/widget/constants/errorTypes.js","webpack:///./app/javascript/widget/helpers/popoutHelper.js","webpack:///./app/javascript/shared/constants/sharedFrameEvents.js","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?501a","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?3e47","webpack:///app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/components/Branding.vue?8e43","webpack:///app/javascript/shared/components/Branding.vue","webpack:///./app/javascript/shared/components/Branding.vue?696a","webpack:///./app/javascript/shared/components/Branding.vue","webpack:///./node_modules/date-fns/esm/isSameDay/index.js","webpack:///./app/javascript/shared/helpers/DateHelper.js","webpack:///./node_modules/date-fns/esm/isToday/index.js","webpack:///./node_modules/date-fns/esm/isYesterday/index.js","webpack:///./node_modules/@braid/vue-formulate/node_modules/is-plain-object/index.es.js","webpack:///./node_modules/@braid/vue-formulate-i18n/dist/locales.esm.js","webpack:///./node_modules/@braid/vue-formulate/dist/formulate.esm.js","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue?d4f4","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue?1663","webpack:///app/javascript/shared/components/FluentIcon/Index.vue","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue","webpack:///./app/javascript/widget/mixins/routerMixin.js","webpack:///./node_modules/core-js/internals/object-to-array.js","webpack:///./node_modules/core-js/modules/es.array.includes.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzTokenizeDate/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/newDateUTC/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzParseTimezone/index.js","webpack:///./node_modules/date-fns-tz/esm/toDate/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzPattern/index.js","webpack:///./node_modules/date-fns-tz/esm/utcToZonedTime/index.js","webpack:///./app/javascript/widget/mixins/availability.js","webpack:///./app/javascript/widget/api/events.js","webpack:///./node_modules/core-js/internals/to-object.js","webpack:///./app/javascript/shared/components/Spinner.vue?6160","webpack:///./app/javascript/shared/components/Spinner.vue?bdee","webpack:///app/javascript/shared/components/Spinner.vue","webpack:///./app/javascript/shared/components/Spinner.vue","webpack:///./node_modules/core-js/internals/same-value.js","webpack:///./node_modules/core-js/modules/es.string.replace.js","webpack:///./node_modules/core-js/internals/function-bind.js","webpack:///./node_modules/vue-dompurify-html/dist/dompurify-html.js","webpack:///./node_modules/vue-dompurify-html/node_modules/dompurify/dist/purify.js","webpack:///./app/javascript/shared/components/Branding.vue?f8f6","webpack:///./node_modules/core-js/internals/redefine.js","webpack:///./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/core-js/modules/es.object.keys.js","webpack:///./node_modules/core-js/internals/to-indexed-object.js","webpack:///./node_modules/axios/lib/utils.js","webpack:///./node_modules/core-js/modules/es.string.includes.js","webpack:///./node_modules/core-js/internals/require-object-coercible.js","webpack:///./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack:///./node_modules/core-js/modules/es.reflect.construct.js","webpack:///./app/javascript/shared/mixins/globalConfigMixin.js","webpack:///./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack:///./app/javascript/widget/helpers/utils.js","webpack:///./app/javascript/shared/constants/busEvents.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/core-js/internals/classof-raw.js","webpack:///./node_modules/core-js/internals/get-built-in.js","webpack:///./app/javascript/widget/helpers/axios.js","webpack:///./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///./node_modules/core-js/internals/internal-state.js","webpack:///./node_modules/core-js/internals/to-integer.js","webpack:///./node_modules/core-js/internals/array-iteration.js","webpack:///./node_modules/core-js/internals/create-property-descriptor.js","webpack:///./node_modules/core-js/internals/to-primitive.js","webpack:///./node_modules/core-js/internals/is-pure.js","webpack:///./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack:///./app/javascript/widget/helpers/constants.js","webpack:///./node_modules/core-js/internals/object-get-own-property-names.js","webpack:///./node_modules/core-js/internals/a-function.js","webpack:///./node_modules/date-fns/esm/isValid/index.js","webpack:///./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack:///./node_modules/date-fns/esm/format/index.js","webpack:///./node_modules/core-js/internals/engine-v8-version.js","webpack:///./node_modules/core-js/internals/hidden-keys.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","installedCssChunks","__webpack_require__","exports","module","l","e","promises","Promise","resolve","reject","href","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","head","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","s","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","this","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","$","DESCRIPTORS","ownKeys","toIndexedObject","getOwnPropertyDescriptorModule","createProperty","stat","sham","getOwnPropertyDescriptors","descriptor","O","getOwnPropertyDescriptor","f","keys","result","index","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","proto","forced","callbackfn","arguments","IS_PURE","store","version","copyright","toPrimitive","definePropertyModule","createPropertyDescriptor","propertyKey","has","TO_STRING_TAG","wellKnownSymbol","it","TAG","STATIC","configurable","aFunction","fn","that","a","b","apply","activeXDocument","anObject","defineProperties","enumBugKeys","hiddenKeys","html","documentCreateElement","sharedKey","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObject","domain","ActiveXObject","iframeDocument","iframe","write","close","temp","parentWindow","NullProtoObjectViaActiveX","style","display","String","contentWindow","open","F","Properties","classof","isArray","arg","global","process","TO_STRING_TAG_SUPPORT","redefine","toString","unsafe","fromUnixTime","dirtyUnixTime","unixTime","id","postfix","Math","random","shared","uid","fails","V8_VERSION","SPECIES","METHOD_NAME","array","constructor","foo","Boolean","replacement","isForced","feature","detection","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","setGlobal","SHARED","createNonEnumerableProperty","startOfUTCWeek","dirtyDate","dirtyOptions","locale","localeWeekStartsOn","weekStartsOn","defaultWeekStartsOn","RangeError","date","day","getUTCDay","diff","setUTCDate","getUTCDate","setUTCHours","internalObjectKeys","IS_NODE","getOwnPropertySymbols","functionToString","Function","inspectSource","toInteger","max","min","integer","startOfUTCISOWeek","isObject","EXISTS","getBuiltIn","split","propertyIsEnumerable","$propertyIsEnumerable","NASHORN_BUG","V","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","token","indexOf","isProtectedWeekYearToken","throwProtectedError","format","input","originalArray","C","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","REPLACE_KEEPS_$0","REPLACE","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","KEY","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","flags","nativeRegExpMethod","methods","nativeMethod","regexp","str","arg2","forceStringMethod","RegExp","done","stringMethod","regexMethod","regexpExec","R","S","TypeError","test","defaultConstructor","fixRegExpWellKnownSymbolLogic","requireObjectCoercible","sameValue","regExpExec","SEARCH","nativeSearch","maybeCallNative","searcher","res","rx","previousLastIndex","lastIndex","classofRaw","CORRECT_ARGUMENTS","tryGet","callee","toLength","toAbsoluteIndex","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","re1","re2","regexpFlags","stickyHelpers","nativeExec","nativeReplace","patchedExec","UPDATES_LAST_INDEX_WRONG","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","match","sticky","source","charsAdded","strCopy","multiline","initOnEvents","getAlertAudio","baseUrl","audioCtx","AudioContext","webkitAudioContext","playsound","audioBuffer","playAudioAlert","createBufferSource","buffer","connect","destination","loop","start","resourceUrl","audioRequest","Request","fetch","response","arrayBuffer","decodeAudioData","catch","newMessageNotification","currentConvId","WOOT","$route","params","conversation_id","currentUserId","$store","getters","getCurrentUserID","incomingConvId","assigneeId","currentConv","meta","assignee","getAssigneeFromNotification","getConversationById","isDocHidden","hidden","getUISettings","enable_audio_alerts","enableAudioAlerts","playAudio","conversationId","userId","senderId","sender_id","messageType","message_type","isPrivate","private","MESSAGE_TYPE","INCOMING","showBadgeOnFavicon","shouldPlayAudio","isNotificationEnabled","notificationEnabled","playNewMessageNotificationInWidget","IFrameHelper","sendMessage","Constructor","Iterators","ITERATOR","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","len","run","marker","runClearTimeout","Item","noop","nextTick","args","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","NATIVE_SYMBOL","iterator","Internal","OwnPromiseCapability","PromiseWrapper","nativeThen","NativePromise","redefineAll","setToStringTag","setSpecies","anInstance","iterate","checkCorrectnessOfIteration","speciesConstructor","task","set","microtask","promiseResolve","hostReportErrors","newPromiseCapabilityModule","perform","InternalStateModule","PROMISE","getInternalState","setInternalState","getInternalPromiseState","getterFor","PromiseConstructor","$fetch","newPromiseCapability","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","NATIVE_REJECTION_EVENT","PromiseRejectionEvent","UNHANDLED_REJECTION","FORCED","FakePromise","INCORRECT_ITERATION","iterable","isThenable","notify","state","isReject","notified","chain","reactions","ok","exited","reaction","handler","fail","rejection","onHandleUnhandled","enter","exit","onUnhandled","reason","initEvent","facade","isUnhandled","unwrap","internalReject","internalResolve","wrapper","executor","onFulfilled","onRejected","wrap","capability","x","$promiseResolve","values","counter","remaining","alreadyCalled","race","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","names","charAt","unicode","toObject","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","getPrototypeOf","aPossiblePrototype","setPrototypeOf","setter","CORRECT_SETTER","__proto__","getTimezoneOffsetInMilliseconds","utcDate","Date","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setUTCFullYear","getTime","querySelectorAll","forEach","favicon","newFileName","sizes","initFaviconSwitcher","favicons","addEventListener","visibilityState","oldFileName","TO_STRING","RegExpPrototype","nativeToString","NOT_GENERIC","INCORRECT_NAME","rf","runtime","Op","hasOwn","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","define","obj","writable","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","Context","_invoke","GenStateSuspendedStart","method","GenStateExecuting","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","invoke","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","async","iter","reverse","pop","skipTempReset","prev","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","ignoreCase","dotAll","RE","UNSCOPABLES","ArrayPrototype","SAFE_CLOSING","called","iteratorWithReturn","from","SKIP_CLOSING","ITERATION_SUPPORT","buildSearchParamsWithLocale","search","WOOT_WIDGET","$i18n","getLocale","searchParamKeyValuePairs","reduce","acc","keyValuePair","buildPopoutURL","origin","conversationCookie","websiteToken","createConversation","referrerURL","location","url","contact","fullName","email","emailAddress","phone_number","phoneNumber","timestamp","referer_url","custom_attributes","customAttributes","sendAttachment","attachment","file","formData","FormData","append","getConversation","before","updateMessage","getAvailableAgents","website_token","getCampaigns","triggerCampaign","event_info","campaign_id","campaignId","generateEventParams","default","dirtyNumber","NaN","number","Number","ceil","floor","CONVERT_TO_STRING","pos","first","second","position","size","charCodeAt","codeAt","CONSTRUCTOR_NAME","utils","normalizeHeaderName","enhanceError","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","headers","isUndefined","adapter","defaults","transitional","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","XMLHttpRequest","transformRequest","isFormData","isArrayBuffer","isBuffer","isStream","isFile","isBlob","isArrayBufferView","isURLSearchParams","JSON","stringify","transformResponse","strictJSONParsing","responseType","isString","parse","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","status","common","merge","path","wrappedWellKnownSymbolModule","NAME","defer","channel","port","IS_IOS","setImmediate","clear","clearImmediate","MessageChannel","Dispatch","ONREADYSTATECHANGE","runner","listener","post","postMessage","protocol","host","now","port2","port1","onmessage","importScripts","userAgent","PromiseCapability","$$resolve","$$reject","requiredArgs","required","getUTCWeekYear","year","getUTCFullYear","localeFirstWeekContainsDate","firstWeekContainsDate","defaultFirstWeekContainsDate","firstWeekOfNextYear","startOfNextYear","firstWeekOfThisYear","startOfThisYear","startOfDay","setHours","_typeof","numberFormatKeys","warn","msg","stack","val","isPlainObject","isNull","isFunction","parseArgs","looseClone","arr","item","arguments$1","output","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","every","keysA","keysB","escapeParams","mixin","i18n","__i18n","VueI18n","localeMessages","messages","resource","mergeLocaleMessage","_i18n","_i18nWatcher","watchI18nData","rootI18n","root","formatter","fallbackLocale","formatFallbackMessages","silentTranslationWarn","silentFallbackWarn","pluralizationRules","preserveDirectiveContent","$once","localeMessages$1","sharedMessages","sync","_localeWatcher","watchLocale","onComponentInstanceCreated","beforeMount","subscribeDataChanging","_subscribing","mounted","__INTLIFY_META__","$el","beforeDestroy","$nextTick","unsubscribeDataChanging","destroyVM","interpolationComponent","props","places","ref","slots","children","prop","onlyHasDefaultPlace","assignChildIndex","assign","createParamsFromPlaces","everyPlace","filter","child","text","trim","vnodeHasPlaceAttribute","assignChildPlace","useLegacyPlaces","attrs","place","vnode","Vue","numberComponent","parts","_ntp","map","part","slot","scopedSlots","staticClass","assert","update","oldVNode","vm","_locale","localeEqual","oldValue","_localeMessage","getLocaleMessage","unbind","modifiers","preserve","textContent","_vt","ref$1","ref$2","choice","parseValue","tc","makeParams","install","_Vue","installed","$t","_t","_getMessages","$tc","_tc","$te","_te","$d","$n","extend","directive","component","config","optionMergeStrategies","parentVal","childVal","BaseFormatter","_caches","interpolate","tokens","char","sub","isClosed","RE_TOKEN_LIST_VALUE","RE_TOKEN_NAMED_VALUE","compiled","parseInt","compile","pathStateMachine","literalValueRE","getPathCharType","ch","formatSubPath","exp","trimmed","I18nPath","_cache","parsePath","hit","newChar","transition","action","typeMap","subPathDepth","actions","maybeUnescapeQuote","nextChar","parse$1","getPathValue","paths","last","availabilities","htmlTagMatcher","linkKeyMatcher","linkKeyPrefixMatcher","bracketsMatcher","defaultModifiers","toLocaleUpperCase","toLocaleLowerCase","substr","defaultFormatter","this$1","dateTimeFormats","numberFormats","_vm","_formatter","_modifiers","_missing","missing","_root","_sync","_fallbackRoot","fallbackRoot","_formatFallbackMessages","_silentTranslationWarn","_silentFallbackWarn","_dateTimeFormatters","_numberFormatters","_path","_dataListeners","Set","_componentInstanceCreatedListener","componentInstanceCreatedListener","_preserveDirectiveContent","_warnHtmlInMessage","warnHtmlInMessage","_postTranslation","postTranslation","_escapeParameterHtml","escapeParameterHtml","getChoiceIndex","choicesLength","thisPrototype","_choice","_choicesLength","abs","_exist","_checkLocaleMessage","_initVM","prototypeAccessors","availableLocales","level","join","silent","$destroy","delete","remove","$watch","$forceUpdate","deep","$set","immediate","newI18n","_getDateTimeFormats","_getNumberFormats","sort","_localeChainCache","fallback","orgLevel","_warnDefault","interpolateMode","missingRet","parsedArgs","_render","_isFallbackRoot","_isSilentFallbackWarn","_isSilentFallback","_isSilentTranslationWarn","_interpolate","visitedLinkStack","ret","pathRet","_link","matches","idx","link","linkKeyPrefixMatches","linkPrefix","formatterName","linkPlaceholder","translated","_translate","_createMessageContext","_list","_named","list","named","_appendItemToChain","blocks","follow","_appendLocaleToChain","splice","_appendBlockToChain","block","_getLocaleChain","step","_i","predefined","fetchChoice","choices","te","setLocaleMessage","getDateTimeFormat","setDateTimeFormat","_clearDateTimeFormat","mergeDateTimeFormat","_localizeDateTime","formats","Intl","DateTimeFormat","_d","getNumberFormat","setNumberFormat","_clearNumberFormat","mergeNumberFormat","_getNumberFormatter","NumberFormat","_n","numberFormat","formatToParts","intlDefined","dateTimeFormat","isAFormMessage","content_type","isASubmittedFormMessage","content_attributes","submitted_values","MESSAGE_MAX_LENGTH","GENERAL","FACEBOOK","TWILIO_SMS","TWILIO_WHATSAPP","TWEET","USE_SYMBOL_AS_UID","nativeObjectCreate","objectKeys","getOwnPropertyNamesExternal","propertyIsEnumerableModule","defineWellKnownSymbol","$forEach","HIDDEN","TO_PRIMITIVE","$stringify","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","StringToSymbolRegistry","SymbolToStringRegistry","WellKnownSymbolsStore","QObject","USE_SETTER","findChild","setSymbolDescriptor","P","Attributes","ObjectPrototypeDescriptor","description","symbol","isSymbol","$defineProperty","$defineProperties","properties","$getOwnPropertySymbols","$getOwnPropertyDescriptor","$getOwnPropertyNames","IS_OBJECT_PROTOTYPE","keyFor","sym","useSetter","useSimple","getOwnPropertyNames","replacer","space","$replacer","valueOf","FunctionPrototype","FunctionPrototypeToString","nameRE","MATCH","isRegExp","dummy","Wrapper","NewTarget","NewTargetPrototype","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","returnMethod","isArrayIteratorMethod","getIteratorMethod","iteratorClose","Result","stopped","unboundFunction","iterFn","AS_ENTRIES","IS_ITERATOR","INTERRUPTED","condition","callFn","notARegExp","correctIsRegExpLogic","$startsWith","startsWith","CORRECT_IS_REGEXP_LOGIC","searchString","defineIterator","ARRAY_ITERATOR","iterated","kind","Arguments","createConversationAPI","urlData","endPoints","API","sendMessageAPI","sendAttachmentAPI","getMessagesAPI","getConversationAPI","toggleTyping","typingStatus","typing_status","setUserLastSeenAt","lastSeen","contact_last_seen_at","sendEmailTranscript","toggleStatus","advanceStringIndex","callRegExpExec","arrayPush","MAX_UINT32","SPLIT","nativeSplit","internalSplit","separator","limit","lim","lastLength","lastLastIndex","separatorCopy","splitter","unicodeMatching","q","A","z","argument","$findIndex","findIndex","FIND_INDEX","WeakMap","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","returnThis","Iterable","IteratorConstructor","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","width","defaultWidth","formatLong","full","long","medium","short","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","buildLocalizeFn","dirtyIndex","valuesArray","formattingValues","defaultFormattingWidth","_defaultWidth","_width","argumentCallback","buildMatchFn","dirtyString","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","predicate","pattern","findKey","valueCallback","rest","formatDistance","count","addSuffix","comparison","formatRelative","_date","_baseDate","_options","localize","ordinalNumber","_dirtyOptions","rem100","era","narrow","abbreviated","wide","quarter","month","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseResult","any","isPhoneE164OrEmpty","isPhoneE164","shouldBeUrl","isValidPassword","containsUppercase","containsLowercase","containsNumber","containsSpecialCharacter","addMilliseconds","dirtyAmount","amount","DOMIterables","ArrayIteratorMethods","ArrayValues","COLLECTION_NAME","Collection","CollectionPrototype","getUTCISOWeekYear","fourthOfJanuaryOfNextYear","fourthOfJanuaryOfThisYear","addDays","setDate","computed","mapGetters","darkMode","$dm","light","dark","thisArg","encode","encodeURIComponent","paramsSerializer","serializedParams","v","isDate","toISOString","hashmarkIndex","isAxiosError","toJSON","fileName","lineNumber","columnNumber","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","requestData","requestHeaders","auth","username","password","unescape","Authorization","btoa","fullPath","baseURL","onloadend","responseHeaders","getAllResponseHeaders","responseText","statusText","toUpperCase","onreadystatechange","readyState","responseURL","onabort","ontimeout","timeoutErrorMessage","isStandardBrowserEnv","xsrfValue","withCredentials","read","setRequestHeader","onDownloadProgress","onUploadProgress","upload","cancelToken","cancel","abort","send","check","globalThis","__CANCEL__","config1","config2","valueFromConfig2Keys","mergeDeepPropertiesKeys","defaultToConfig2Keys","directMergeKeys","getMergedValue","mergeDeepProperties","axiosKeys","otherKeys","Cancel","PrototypeOfArrayIteratorPrototype","arrayIterator","NEW_ITERATOR_PROTOTYPE","promiseCapability","escapeHtml","afterSanitizeAttributes","currentNode","domPurifyConfig","hooks","copyConstructorProperties","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","symbolPrototype","symbolToString","native","desc","globalConfig","apiChannelName","API_CHANNEL_NAME","apiChannelThumbnail","API_CHANNEL_THUMBNAIL","appVersion","APP_VERSION","brandName","BRAND_NAME","chatwootInboxToken","CHATWOOT_INBOX_TOKEN","createNewAccountFromDashboard","CREATE_NEW_ACCOUNT_FROM_DASHBOARD","directUploadsEnabled","DIRECT_UPLOADS_ENABLED","displayManifest","DISPLAY_MANIFEST","hCaptchaSiteKey","HCAPTCHA_SITE_KEY","installationName","INSTALLATION_NAME","logoThumbnail","LOGO_THUMBNAIL","logo","LOGO","privacyURL","PRIVACY_URL","termsURL","TERMS_URL","widgetBrandURL","WIDGET_BRAND_URL","disableUserProfileUpdate","DISABLE_USER_PROFILE_UPDATE","deploymentEnv","DEPLOYMENT_ENV","namespaced","$state","isOnChatwootCloud","isACustomBrandedInstance","mutations","Vuelidate","validationMixin","_params","withParams","_vval","_toConsumableArray","_arrayLikeToArray","_arrayWithoutHoles","_iterableToArray","minLen","_unsupportedIterableToArray","_nonIterableSpread","arr2","enumerableOnly","symbols","_objectSpread","_defineProperty","NIL","buildFromKeys","keyFn","build","getPath","ctx","validationGetters","$invalid","_this","proxy","nestedKeys","some","nested","refProxy","ruleKeys","rule","$dirty","_this2","dirty","$anyDirty","_this3","$error","$pending","$anyError","_this4","_this5","getRef","$params","_this6","vals","validations","setDirtyRecursive","newState","validationMethods","$touch","$reset","$flattenParams","isNested","childParams","j","unshift","getterNames","methodNames","_cachedComponent","getComponent","VBase","refs","oldVval","patchChildren","getModel","lazyModel","model","getModelKey","hasIter","ValidationRule","lazyParentModel","rootModel","runRule","pushParams","rawOutput","asyncVm","makePendingAsyncVm","rawParams","popParams","$sub","_this7","__ob__","arrayDep","dep","depend","_indirectWatcher","Watcher","lazy","_lastModel","evaluate","teardown","destroyed","Validation","_this8","k","_this9","keyDefs","getterDefs","methodDefs","iterDefs","$iter","$model","_this10","renderNested","renderRule","GroupValidation","EachValidation","tracker","_this11","trackBy","$trackBy","getModelLazy","_this12","_this13","def","usedTracks","track","refVals","$v","_cachedVue","validateModel","rootVm","super","getVue","_getComponent","_vuelidate","_default","encodeReserveRE","encodeReserveReplacer","commaRE","decode","decodeURIComponent","castQueryParamValue","parseQuery","query","param","stringifyQuery","val2","trailingSlashRE","createRoute","redirectedFrom","router","clone","route","hash","getFullPath","matched","formatMatch","freeze","START","_stringifyQuery","isSameRoute","onlyPath","isObjectEqual","aKeys","bKeys","aVal","bVal","handleRouteEntered","instances","instance","cbs","enteredCbs","i$1","_isBeingDestroyed","View","_","routerView","$createElement","cache","_routerViewCache","depth","inactive","_routerRoot","vnodeData","keepAlive","_directInactive","_inactive","$parent","routerViewDepth","cachedData","cachedComponent","configProps","fillPropsinData","components","registerRouteInstance","current","prepatch","componentInstance","init","propsToPass","resolveProps","resolvePath","relative","base","firstChar","segments","segment","cleanPath","isarray","pathToRegexp_1","pathToRegexp","parse_1","compile_1","tokensToFunction","tokensToFunction_1","tokensToRegExp_1","tokensToRegExp","PATH_REGEXP","defaultDelimiter","delimiter","escaped","offset","prefix","capture","group","modifier","asterisk","partial","repeat","optional","escapeGroup","escapeString","encodeURIComponentPretty","encodeURI","opts","pretty","attachKeys","sensitive","strict","end","endsWithDelimiter","regexpToRegexp","arrayToRegexp","stringToRegexp","regexpCompileCache","fillParams","routeMsg","filler","pathMatch","normalizeLocation","raw","_normalized","params$1","rawPath","parsedPath","hashIndex","queryIndex","basePath","extraQuery","_parseQuery","parsedQuery","resolveQuery","Link","to","custom","exact","exactPath","activeClass","exactActiveClass","ariaCurrentValue","$router","classes","globalActiveClass","linkActiveClass","globalExactActiveClass","linkExactActiveClass","activeClassFallback","exactActiveClassFallback","compareTarget","queryIncludes","isIncludedRoute","guardEvent","click","class","scopedSlot","$scopedSlots","$hasNormal","navigate","isActive","isExactActive","findAnchor","$slots","isStatic","aData","handler$1","event$1","aAttrs","metaKey","altKey","ctrlKey","shiftKey","defaultPrevented","button","currentTarget","preventDefault","inBrowser","createRouteMap","routes","oldPathList","oldPathMap","oldNameMap","parentRoute","pathList","pathMap","nameMap","addRouteRecord","matchAs","pathToRegexpOptions","normalizedPath","normalizePath","caseSensitive","regex","compileRouteRegex","alias","redirect","beforeEnter","childMatchAs","aliases","aliasRoute","createMatcher","currentRoute","_createRoute","paramNames","record$1","matchRoute","originalRedirect","resolveRecordPath","aliasedMatch","aliasedRecord","addRoute","parentOrRoute","getRoutes","addRoutes","Time","performance","genStateKey","toFixed","_key","getStateKey","setStateKey","positionStore","setupScroll","history","scrollRestoration","protocolAndPath","absolutePath","stateCopy","replaceState","handlePopState","removeEventListener","handleScroll","isPop","app","behavior","scrollBehavior","getScrollPosition","shouldScroll","scrollToPosition","saveScrollPosition","pageXOffset","y","pageYOffset","isValidPosition","isNumber","normalizePosition","hashStartsWithNumberRE","selector","getElementById","querySelector","docRect","documentElement","getBoundingClientRect","elRect","left","top","getElementPosition","scrollTo","ua","supportsPushState","navigator","pushState","runQueue","cb","NavigationFailureType","redirected","aborted","cancelled","duplicated","createNavigationRedirectedError","createRouterError","propertiesToLog","stringifyRoute","createNavigationCancelledError","_isRouter","isError","isNavigationFailure","resolveAsyncComponents","hasAsync","pending","flatMapComponents","cid","resolvedDef","hasSymbol","resolved","comp","flatten","History","baseEl","normalizeBase","ready","readyCbs","readyErrorCbs","errorCbs","extractGuards","records","guards","guard","extractGuard","bindGuard","listen","onReady","errorCb","onError","transitionTo","onComplete","onAbort","confirmTransition","updateRoute","ensureURL","afterHooks","lastRouteIndex","lastCurrentIndex","updated","activated","deactivated","resolveQueue","extractLeaveGuards","beforeHooks","extractUpdateHooks","createNavigationAbortedError","enterGuards","bindEnterGuard","extractEnterGuards","resolveHooks","setupListeners","cleanupListener","HTML5History","_startLocation","getLocation","expectScroll","supportsScroll","handleRoutingEvent","go","fromRoute","getCurrentLocation","pathname","pathLowerCase","baseLowerCase","HashHistory","checkFallback","ensureSlash","getHash","replaceHash","eventType","pushHash","getUrl","AbstractHistory","targetIndex","VueRouter","apps","matcher","registerHook","routeOrError","handleInitialScroll","_route","beforeEach","beforeResolve","afterEach","back","forward","getMatchedComponents","createHref","normalizedTo","isDef","registerInstance","callVal","_parentVnode","_router","util","defineReactive","strats","beforeRouteEnter","beforeRouteLeave","beforeRouteUpdate","created","START_LOCATION","use","fetchAvailableAgents","commit","payload","updatePresence","uiFlags","hasFetched","getHasFetched","availableAgents","agent","availability_status","setAgents","MutationHelpers","setError","setHasFetched","SET_CONVERSATION_ATTRIBUTES","SET_WIDGET_APP_CONFIG","SET_WIDGET_COLOR","UPDATE_CONVERSATION_ATTRIBUTES","TOGGLE_WIDGET_OPEN","SET_REFERRER_HOST","SET_BUBBLE_VISIBILITY","hideMessageBubble","isCampaignViewClicked","isWebWidgetTriggered","isWidgetOpen","referrerHost","showPopoutButton","widgetColor","widgetStyle","getAppConfig","isRightAligned","getHideMessageBubble","getIsWidgetOpen","getWidgetColor","getReferrerHost","isWidgetStyleFlat","setAppConfig","toggleWidgetOpen","setWidgetColor","setReferrerHost","setBubbleVisibility","buildUrl","endPoint","userObject","patch","identifier","customAttribute","SET_CURRENT_USER","updateWidgetAuthToken","widgetAuthToken","setHeader","ContactsAPI","dispatch","user","setUser","avatar_url","identifierHash","identifier_hash","company_name","city","country_code","social_profiles","additional_attributes","widget_auth_token","SET_USER_ERROR","setCustomAttributes","deleteCustomAttribute","currentUser","getCurrentUser","_state","createTemporaryMessage","attachments","getUuid","created_at","getSenderName","sender","groupConversationBySender","conversationsForADate","showAvatar","isLastMessage","nextMessage","shouldShowAvatar","getNonDeletedMessages","deleted","getAllMessagesLoaded","allMessagesLoaded","getIsCreating","isCreating","getIsAgentTyping","isAgentTyping","conversations","getConversationSize","getEarliestMessage","conversation","getGroupedConversation","conversationGroupedByDate","groupBy","formatUnixDate","getIsFetchingList","isFetchingList","getMessageCount","getUnreadMessageCount","userLastSeenAt","chat","createdAt","isOutGoing","OUTGOING","getUnreadTextMessages","_getters","unreadCount","unreadAgentMessages","maxUnreadCount","sendMessageWithData","thumbUrl","fileType","tempMessage","thumb_url","data_url","file_type","tempId","fetchOldConversations","formattedMessages","clearConversations","addOrUpdateMessage","toggleAgentTyping","toggleUserTyping","setUserLastSeen","resolveConversation","pushMessageToConversation","messagesInbox","messageInbox","messageInConversation","updateAttachmentMessageStatus","setConversationUIFlag","setConversationListLoading","setMessagesInConversation","updateMessageMeta","newMeta","deleteMessage","toggleAgentTypingStatus","isTyping","setMetaUserLastSeenAt","getAttributes","clearConversationAttributes","getConversationParams","label","conversationLabels","destroy","events","messageId","authEndPoint","submittedValues","MessageAPI","submitted_email","isUpdating","getUIFlags","toggleUpdateStatus","initTimers","campaigns","clearTimers","campaign","timeOnPage","campaignTimers","timerId","stripTrailingSlash","URL","resetCampaignTimers","currentURL","isInBusinessHours","filteredCampaigns","triggerOnlyDuringBusinessHours","filterCampaigns","trigger_only_during_business_hours","trigger_rules","time_on_page","campaignTimer","fetchCampaigns","initCampaigns","startCampaign","rootState","appConfig","executeCampaign","resetCampaign","activeCampaign","getActiveCampaign","setCampaigns","setActiveCampaign","setCampaignExecuted","Vuex","Store","contacts","conversationAttributes","loadedEventConfig","authToken","channelConfig","chatwootWebChannel","unreadMessageWrap","unreadCloseWrap","readViewWrap","extraHeight","scrollHeight","_h","_c","_self","conversationSize","isMobile","ActionCableConnector","pubsubToken","onStatusChange","onMessageCreated","bus","$emit","ON_AGENT_MESSAGE_RECEIVED","sender_type","onMessageUpdated","onConversationCreated","onPresenceUpdate","users","onContactMerge","pubsub_token","refreshConnector","onTypingOn","is_private","clearTimer","initTimer","onTypingOff","CancelTyping","BaseActionCableConnector","bannerType","_v","_s","bannerMessage","_e","conversationStatus","hasEndConversationEnabled","popoutWindow","isRNWebView","closeWindow","onBackButtonClick","avatarUrl","directives","rawName","expression","isOnline","replyWaitMessage","$event","_k","keyCode","expanded","isHeaderCollapsed","collapsed","welcomeTitle","welcomeTagline","websiteName","disableBranding","Router","ViewWithHeader","VueDOMPurifyHTML","i18nConfig","VueFormulate","rules","outer","productionTip","App","$mount","actionCable","chatwootPubsubToken","nativeMatch","fullUnicode","matchStr","STRING_ITERATOR","point","STRICT_METHOD","arrayMethodIsStrict","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","captures","namedCaptures","tailPos","windowNames","getWindowNames","error1","error2","flush","toggle","node","macrotask","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","queueMicrotask","createTextNode","observe","characterData","arraySpeciesCreate","HAS_SPECIES_SUPPORT","arrayMethodHasSpeciesSupport","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","actualStart","argumentsLength","$values","subMilliseconds","dateLongFormatter","timeLongFormatter","longFormatters","datePattern","timePattern","IS_CONCAT_SPREADABLE","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","E","subDays","startOfUTCWeekYear","firstWeek","MILLISECONDS_IN_WEEK","getUTCWeek","toDate","round","startOfUTCISOWeekYear","fourthOfJanuary","getUTCISOWeek","useInboxAvatarForBot","chatwootWidgetDefaults","hasAConnectedAgentBot","inboxAvatarUrl","hasEmojiPickerEnabled","enabledFeatures","hasAttachmentsEnabled","preChatFormEnabled","preChatFormOptions","preChatMessage","pre_chat_message","pre_chat_fields","preChatFields","shouldShowPreChatForm","hasEnabledFields","field","enabled","whitespace","ltrim","rtrim","TYPE","callWithSafeIterationClosing","arrayLike","mapfn","mapping","_setTarget","paramsOrClosure","maybeValidator","validator","withParamsClosure","_len","lastTarget","newTarget","addParams","closure","_len2","_key2","argStr","ON_UNREAD_MESSAGE_CLICK","ON_CAMPAIGN_MESSAGE_CLICK","factory","devtoolHook","__VUE_DEVTOOLS_GLOBAL_HOOK__","devtoolPlugin","_devtoolHook","targetState","subscribe","mutation","mapState","normalizeNamespace","namespace","states","normalizeMap","getModuleByNamespace","mapMutations","mapActions","helper","_modulesNamespaceMap","forEachValue","Module","rawModule","_children","_rawModule","prototypeAccessors$1","addChild","getChild","forEachChild","forEachGetter","forEachAction","forEachMutation","ModuleCollection","rawRootModule","register","targetModule","newModule","getNamespace","rawChildModule","unregister","plugins","_committing","_actions","_mutations","_wrappedGetters","_modules","_subscribers","_watcherVM","installModule","resetStoreVM","plugin","resetStore","hot","oldVm","wrappedGetters","enableStrictMode","_withCommit","isRoot","parentState","getNestedState","moduleName","local","noNamespace","_type","_payload","unifyObjectStyle","gettersProxy","splitPos","localType","makeLocalGetters","makeLocalContext","registerMutation","rootGetters","registerAction","rawGetter","registerGetter","usesInit","_lifecycleHooks","vuexInit","_init","applyMixin","$data","subs","watch","registerModule","unregisterModule","hotUpdate","newOptions","committing","createWellKnownSymbol","withoutSetter","Axios","mergeConfig","createInstance","defaultConfig","axios","instanceConfig","CancelToken","isCancel","spread","InterceptorManager","dispatchRequest","validators","interceptors","assertOptions","boolean","requestInterceptorChain","synchronousRequestInterceptors","interceptor","runWhen","synchronous","fulfilled","rejected","responseInterceptorChain","newConfig","getUri","handlers","eject","transformData","throwIfCancellationRequested","throwIfRequested","fns","normalizedName","inheritIfRequired","NUMBER","NativeNumber","NumberPrototype","BROKEN_CLASSOF","toNumber","third","radix","maxCode","digits","NumberWrapper","expires","secure","cookie","toGMTString","isAbsoluteURL","combineURLs","requestedURL","relativeURL","ignoreDuplicateOf","parsed","line","originURL","msie","urlParsingNode","resolveURL","hostname","requestURL","pkg","thing","deprecatedWarnings","currentVerArr","isOlderVersion","thanVersion","pkgVersionArr","destVer","isDeprecated","formatMessage","opt","schema","allowUnknown","resolvePromise","callback","targetProperty","sourceProperty","TARGET","GLOBAL","noTargetGet","$map","$filter","setSingleRecord","recordIndex","element","updateAttributes","availabilityStatus","updateSingleRecordPresence","selectedRecord","nativeSlice","fin","parseFloat","isFinite","u","g","w","_length","T","N","D","L","M","I","devtools","errorHandler","warnHandler","ignoredElements","keyCodes","isReservedTag","isReservedAttr","isUnknownElement","getTagNamespace","parsePlatformTagName","mustUseProp","B","H","U","WXEnvironment","platform","K","J","W","Z","G","X","Y","Q","ee","VUE_ENV","ne","ie","Reflect","ae","se","ce","addSub","removeSub","addDep","ue","le","fe","pe","elm","fnContext","fnOptions","fnScopeId","componentOptions","isRootInsert","isComment","isCloned","isOnce","asyncFactory","asyncMeta","isAsyncPlaceholder","de","ve","he","me","ye","ge","observeArray","be","$e","we","vmCount","walk","Ce","isExtensible","_isVue","xe","ke","Ae","Oe","Se","Te","Ee","Ne","inject","provide","je","De","_base","extends","mixins","Le","Me","Pe","propsData","_props","Ie","Fe","Re","errorCaptured","Be","He","_handled","Ue","ze","Ve","Ke","Je","qe","We","Ze","Ge","Xe","Ye","Qe","et","isFrozen","tt","passive","nt","rt","merged","ot","at","st","_isVList","ct","_provided","ut","lt","ft","$stable","$key","pt","dt","vt","ht","mt","yt","gt","domProps","bt","_staticTrees","wt","_renderProxy","Ct","xt","kt","At","Ot","St","_o","_l","_q","_m","_f","_b","_u","_g","_p","Tt","_original","injections","Pt","Et","Nt","jt","_isDestroyed","_isComponent","inlineTemplate","Ctor","Wt","_renderChildren","_vnode","$attrs","$listeners","_propKeys","_parentListeners","qt","insert","_isMounted","Yt","en","Xt","Gt","$children","Dt","Lt","errorComp","Ht","owners","loading","loadingComp","$on","Bt","delay","nativeOn","abstract","_merged","Mt","_n2","is","pre","Rt","Ut","zt","Vt","Kt","$off","Jt","Zt","_hasHookEvent","Qt","tn","nn","rn","an","sn","cn","timeStamp","un","_watcher","ln","_watchers","active","deps","newDeps","depIds","newDepIds","cleanupDeps","pn","dn","hn","mn","yn","gn","_computedWatchers","bn","superOptions","sealedOptions","extendOptions","wn","xn","kn","An","On","_uid","_componentTag","$refs","_events","_o2","_data","vn","$delete","_update","__patch__","__vue__","Sn","Tn","KeepAlive","include","exclude","mergeOptions","observable","_installedPlugins","_Ctor","Cn","En","Nn","jn","Dn","Ln","In","Fn","Pn","Rn","Hn","Un","zn","Vn","Kn","svg","math","Jn","qn","Wn","Zn","Gn","Xn","Yn","Qn","multiple","createElementNS","createComment","insertBefore","nextSibling","tagName","setTextContent","setStyleScope","er","tr","refInFor","nr","rr","ir","or","ar","sr","ur","oldArg","fr","componentUpdated","inserted","cr","lr","pr","dr","inheritAttrs","vr","removeAttributeNS","removeAttribute","hr","Mn","setAttributeNS","__ieph","stopImmediatePropagation","mr","yr","Bn","_transitionClasses","_prevClass","gr","_r","br","$r","wr","Cr","xr","kr","Ar","Or","Sr","Tr","Er","Rr","dynamic","plain","Nr","dynamicAttrs","jr","attrsMap","attrsList","Dr","isDynamicArg","Lr","Mr","right","middle","nativeEvents","Ir","Fr","Pr","Hr","Br","lastIndexOf","zr","Vr","Ur","Jr","Kr","qr","Wr","Gr","Qr","Xr","Yr","_wrapper","ownerDocument","ei","change","ti","ni","ri","childNodes","_value","ii","innerHTML","firstChild","composing","activeElement","_vModifiers","oi","ai","si","ci","staticStyle","ui","li","fi","pi","setProperty","vi","di","hi","normalizedStyle","mi","yi","gi","classList","bi","css","$i","enterClass","enterToClass","enterActiveClass","leaveClass","leaveToClass","leaveActiveClass","wi","Ci","xi","ki","Ai","Oi","Si","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","Ti","requestAnimationFrame","Ei","Ni","ji","Di","Mi","propCount","Li","getComputedStyle","Ii","hasTransform","Fi","Pi","_leaveCb","_enterCb","nodeType","appearClass","appearToClass","appearActiveClass","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","duration","Bi","show","_pending","Hi","Ri","beforeLeave","leave","afterLeave","leaveCancelled","delayLeave","Ui","zi","nodeOps","activate","pendingInsert","postpatch","hasChildNodes","hasAttribute","vmodel","Xi","Vi","_vOptions","Ki","Wi","Zi","Gi","qi","Ji","selected","selectedIndex","Yi","Qi","__vOriginalDisplay","eo","no","ro","io","oo","ao","_leaving","so","moveClass","co","_moveCb","uo","newPos","lo","moved","transform","WebkitTransform","transitionDuration","fo","Transition","TransitionGroup","kept","prevChildren","removed","hasMove","_reflow","body","offsetHeight","propertyName","_hasMove","cloneNode","HTMLUnknownElement","HTMLElement","yo","po","vo","ho","mo","staticKeys","transformNode","classBinding","genData","styleBinding","bo","$o","wo","Co","xo","ko","Ao","Oo","So","To","Eo","No","jo","Do","Lo","Mo","Io","Fo","Po","Ro","Ho","Bo","Uo","zo","Vo","Ko","Jo","qo","Wo","Zo","Go","Xo","Yo","Qo","ea","ta","na","ra","ia","oa","aa","sa","ca","ma","rawAttrsMap","fa","for","slotScope","slotTarget","slotTargetDynamic","va","slotName","hasBindings","ha","camel","pa","iterator1","iterator2","da","ifConditions","ya","ga","_a","$a","wa","ba","preTransformNode","processed","if","else","elseif","Ca","expectHTML","isPreTag","isUnaryTag","canBeLeftOpenTag","xa","Aa","Oa","Sa","Ta","esc","tab","up","down","Ea","Na","ja","prevent","ctrl","alt","Da","La","Ma","Ia","wrapListeners","wrapData","cloak","Fa","transforms","dataGenFns","maybeComponent","onceId","Pa","Ra","staticRoot","staticProcessed","Ha","onceProcessed","Ba","forProcessed","za","ifProcessed","Ua","qa","Ga","Va","staticInFor","Ka","Ja","Wa","Za","Xa","Ya","Qa","delimiters","es","ts","preserveWhitespace","forbidden","chars","shouldKeepComment","comment","substring","unarySlash","shouldDecodeNewlinesForHref","shouldDecodeNewlines","lowerCasedTag","comments","outputSourceRange","placeholder","la","optimize","static","ka","ast","errors","tips","compileToFunctions","rs","os","as","ss","cs","template","outerHTML","Timeout","clearFn","_id","_clearFn","scope","setInterval","clearInterval","unref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","registerImmediate","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","doc","attachTo","runIfPresent","postMessageIsAsynchronous","oldOnMessage","canUsePostMessage","attachEvent","isUndef","sameVval","vval","createVm","Vm","createKeyToOldIdx","beginIdx","endIdx","addVvals","vvals","startIdx","removeVvals","patchVval","updateVval","oldCh","newCh","oldKeyToIdx","idxInOld","elmToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVval","oldEndVval","newEndIdx","newStartVval","newEndVval","updateChildren","protocolAndDomainRE","everythingAfterProtocol","localhostDomainRE","nonLocalhostDomainRE","IE8_DOM_DEFINE","websocketHost","onReceived","isAValidEvent","websocketURL","consumer","createConsumer","subscription","subscriptions","account_id","getCurrentAccountId","user_id","received","disconnected","onDisconnected","disconnect","BUS_EVENTS","WEBSOCKET_DISCONNECT","_typeof2","adapters","logger","WebSocket","log","_adapters$logger","classCallCheck","createClass","protoProps","staticProps","secondsSince","ConnectionMonitor","connection","visibilityDidChange","reconnectAttempts","isRunning","startedAt","stoppedAt","startPolling","getPollInterval","stopPolling","recordPing","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","_constructor$pollInte","pollInterval","interval","multiplier","clamp","connectionIsStale","staleThreshold","disconnectedRecently","reopen","isOpen","INTERNAL","message_types","welcome","ping","confirmation","disconnect_reasons","unauthorized","invalid_request","server_restart","default_mount_path","protocols","supportedProtocols","Connection","monitor","webSocket","getState","uninstallEventHandlers","installEventHandlers","_ref","allowReconnect","reopenDelay","getProtocol","isState","isProtocolSupported","eventName","_JSON$parse","reconnect","reload","notifyAll","willAttemptReconnect","Subscription","command","unsubscribe","Subscriptions","channelName","ensureActiveConnection","sendCommand","forget","findAll","callbackName","Consumer","_url","createWebSocketURL","getConfig","hu","ml","nl","pl","pt_BR","ru","sk","sv","th","uk","zh_CN","zh_TW","MESSAGE_STATUS","FAILED","SENT","PROGRESS","ACTIVITY","TEMPLATE","MAXIMUM_FILE_UPLOAD_SIZE","MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL","ALLOWED_FILE_TYPES","ALLOWED_FILE_TYPES_FOR_TWILIO_WHATSAPP","CSAT_RATINGS","emoji","color","dompurify_html_1","buildDirective","popoutChatWindow","windowUrl","focus","SDK_SET_BUBBLE_VISIBILITY","brandRedirectURL","useInstallationName","isSameDay","dirtyDateLeft","dirtyDateRight","dateLeftStartOfDay","dateRightStartOfDay","dateFormat","unixDate","formatDate","todayText","yesterdayText","dateValue","isToday","isYesterday","isTimeAfter","h1","m1","h2","m2","isObjectObject","prot","accepted","after","alpha","alphanumeric","between","confirm","endsWith","in","mime","not","locales","classification","range","textarea","checkbox","radio","submit","select","image","fileList","files","mimes","results","dataTransferCheck","uploadUrl","uploadPromise","rehydrateFileList","addFileList","fileUrlKey","previewData","mapUUID","progress","justFinished","uuid","removeFile","hasUploader","uploader","uploaderIsAxios","getUploader","loaded","total","__performUpload","rootEmit","uploadJustCompleteDuration","__id","performValidation","supportsDataTransfers","DataTransfer","items","mergeFileList","File","loadPreviews","uploadBehavior","FileReader","readAsDataURL","getFiles","latin","getGroupValues","MM","DD","YYYY","YY","bail","csv","gif","jpg","jpeg","png","pdf","hasErrors","hasValue","isValid","labelPosition","helpPosition","fauxUploaderDuration","forceWrap","imul","registry","Map","dataProps","hasInitialValue","formulateValue","isGrouping","isVmodeled","initialValues","mergedGroupErrors","mergedFieldErrors","applyInitialValues","setFieldValue","valueDeps","validateDeps","hasValidationErrors","getValidationErrors","showErrors","childrenShouldShowErrors","formShouldShowErrors","hideErrors","behavioralErrorVisibility","setValues","updateValidation","addErrorObserver","errorObservers","mergedFormErrors","removeErrorObserver","formulateSetter","formulateRegister","formulateDeregister","deregister","formulateFieldValidation","getFormValues","validateDependents","observeErrors","getErrorObject","keepModelData","preventCleanup","debounce","debounceDelay","form","observeContext","addContextObserver","removeContextObserver","formErrors","invalidMessage","contextObservers","namedErrors","namedFieldErrors","isLoading","hasFailedSubmit","schemaListeners","pseudoProps","attributes","formContext","$formulate","$props","invalidErrors","failingFields","hasFormErrorObservers","applyErrors","inputErrors","registerErrorComponent","errorComponents","formSubmitted","submitRaw","onFailedValidation","finally","failedValidation","_withStripped","addLabel","logicalAddLabel","removeLabel","logicalRemoveLabel","elementAttributes","blurHandler","disableErrors","explicitErrors","groupErrors","hasGivenName","hasLabel","help","logicalHelpPosition","defaultId","ignored","imageBehavior","logicalLabelPosition","nameOrFallback","minimum","preventWindowDrops","removePosition","mergedRemovePosition","repeatable","ruleDetails","setErrors","showValidationErrors","slotComponents","slotProps","mergedUploadUrl","validationErrors","visibleValidationErrors","isSubField","typeContext","optionGroups","showValue","filteredAttributes","getUploadUrl","localGroupErrors","isGrouped","slotComponent","addMore","buttonContent","suffix","uploadAreaMask","hasVisibleErrors","typeProps","localAttributes","parsedValidation","ruleName","mergedValidationName","validationNameStrategy","localErrors","allErrors","errorBehavior","mntd","dSet","formulateRegisterRule","registerRule","formulateRemoveRule","removeRule","validation","validationName","validationMessages","validationRules","checked","preventDeregister","nextId","getInitialValue","pendingValidation","ruleRegistry","messageRegistry","touched","classify","parsedValidationRules","updateLocalAttributes","applyInitialValue","applyDefaultValue","setGroupErrors","runRules","didValidate","getMessage","getMessageFunc","formValues","validationMessage","boundSetErrors","boundSetFormContext","setFormContext","formError","mergedErrors","visibleErrors","outerClass","itemClass","role","ariaLive","imagePreview","fileImagePreview","fileImagePreviewImage","fileProgress","fileProgressInner","fileRemove","registerProvider","deregisterProvider","providers","fill","setId","validateGroup","setItem","__init","removeItem","grouping","groupAddMore","usesDecorator","useInputDecorators","blur","decorator","Ft","fileUploads","isMultiple","appendFiles","addFiles","fileUploadError","fileAdd","fileAddInput","FormulateFiles","isOver","hasFiles","getFileUrlKey","createUpload","handleFile","attemptImmediateUpload","handleDragOver","handleDragLeave","uploadArea","dragover","dragleave","It","groupRepeatable","subType","optionsWithContext","groupItemContext","totalItems","canAddMore","labelledBy","addItem","placeholderSelected","disabled","rangeValue","setGroupValue","groupRepeatableRemove","keypress","FormulateSlot","FormulateForm","FormulateFile","FormulateHelp","FormulateLabel","FormulateInput","FormulateErrors","FormulateSchema","FormulateAddMore","FormulateGrouping","FormulateInputBox","FormulateInputText","FormulateInputFile","FormulateErrorList","FormulateRepeatable","FormulateInputGroup","FormulateInputButton","FormulateInputSelect","FormulateInputSlider","FormulateButtonContent","FormulateInputTextArea","FormulateRepeatableRemove","FormulateRepeatableProvider","errorList","library","idPrefix","baseClasses","coreClasses","idRegistry","selectedLocale","setLocale","resetValidation","icon","icons","replaceRoute","TO_ENTRIES","$includes","tzTokenizeDate","timeZone","dtf","dtfCache","testDateFormatted","hour12","hour","minute","hourCycleSupported","hourCycle","formatted","filled","typeToPos","partsOffset","hackyOffset","newDateUTC","fullYear","millisecond","MILLISECONDS_IN_HOUR","patterns","timezone","timezoneZ","timezoneHH","timezoneHHMM","tzParseTimezone","timezoneString","isUtcDate","absoluteOffset","hours","validateTimezone","minutes","timeZoneString","validIANATimezoneCache","isValidTimezoneIANAString","toUtcDate","calcOffset","fixedOffset","utcGuess","o2","o3","fixOffset","asUTC","asTS","over","dateTimePattern","plainTime","YYY","YYYYY","DDD","MMDD","Www","WwwD","HH","HHMM","HHMMSS","splitDateString","dateString","timeString","dateStrings","parseYear","additionalDigits","patternYYY","patternYYYYY","yearString","restDateString","centuryString","parseDate","week","validateDate","dayOfYear","isLeapYear","isLeapYearIndex","validateDayOfYearDate","validateWeekDate","dayOfISOWeekYear","dayOfWeek","parseTime","validateTime","seconds","isoWeekYear","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","utcToZonedTime","parseYearResult","offsetMilliseconds","getUTCMonth","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","replyTime","replyTimeStatus","outOfOfficeMessage","isInBetweenTheWorkingHours","currentDayAvailability","openHour","openMinute","closeHour","closeMinute","closedAllDay","openAllDay","utcOffset","getDateWithOffset","currentHours","currentMinutes","isAfterStartTime","isBeforeEndTime","dayOfTheWeek","getDay","workingHours","workingHour","day_of_week","workingHourConfig","closed_all_day","open_hour","open_minutes","close_hour","close_minutes","open_all_day","workingHoursEnabled","initiated_at","referer","getSubstitution","UNSAFE_SUBSTITUTE","searchValue","replaceValue","functionalReplace","accumulatedResult","nextSourcePosition","replacerArgs","factories","construct","argsLength","partArgs","boundFunction","__importDefault","mod","dompurify_1","hookName","addHook","setUpHooks","updateComponent","namedConfigurations","sanitize","seal","thisValue","Func","func","arrayForEach","unapply","arrayPop","stringToLowerCase","stringMatch","stringReplace","stringIndexOf","stringTrim","regExpTest","typeErrorCreate","addToSet","lcElement","newObject","lookupGetter","svgFilters","svgDisallowed","mathMl","mathMlDisallowed","html$1","svg$1","mathMl$1","xml","MUSTACHE_EXPR","ERB_EXPR","DATA_ATTR","ARIA_ATTR","IS_ALLOWED_URI","IS_SCRIPT_OR_DATA","ATTR_WHITESPACE","DOCTYPE_NAME","_toConsumableArray$1","getGlobal","_createTrustedTypesPolicy","trustedTypes","createPolicy","ATTR_NAME","currentScript","policyName","createHTML","html$$1","purify","createDOMPurify","DOMPurify","isSupported","originalDocument","DocumentFragment","HTMLTemplateElement","Node","Element","NodeFilter","_window$NamedNodeMap","MozNamedAttrMap","DOMParser","ElementPrototype","getNextSibling","getChildNodes","getParentNode","trustedTypesPolicy","emptyHTML","_document","implementation","createNodeIterator","createDocumentFragment","importNode","documentMode","createHTMLDocument","MUSTACHE_EXPR$$1","ERB_EXPR$$1","DATA_ATTR$$1","ARIA_ATTR$$1","IS_SCRIPT_OR_DATA$$1","ATTR_WHITESPACE$$1","IS_ALLOWED_URI$$1","ALLOWED_TAGS","DEFAULT_ALLOWED_TAGS","ALLOWED_ATTR","DEFAULT_ALLOWED_ATTR","CUSTOM_ELEMENT_HANDLING","tagNameCheck","attributeNameCheck","allowCustomizedBuiltInElements","FORBID_TAGS","FORBID_ATTR","ALLOW_ARIA_ATTR","ALLOW_DATA_ATTR","ALLOW_UNKNOWN_PROTOCOLS","SAFE_FOR_TEMPLATES","WHOLE_DOCUMENT","SET_CONFIG","FORCE_BODY","RETURN_DOM","RETURN_DOM_FRAGMENT","RETURN_TRUSTED_TYPE","SANITIZE_DOM","KEEP_CONTENT","IN_PLACE","USE_PROFILES","FORBID_CONTENTS","DEFAULT_FORBID_CONTENTS","DATA_URI_TAGS","DEFAULT_DATA_URI_TAGS","URI_SAFE_ATTRIBUTES","DEFAULT_URI_SAFE_ATTRIBUTES","MATHML_NAMESPACE","SVG_NAMESPACE","HTML_NAMESPACE","NAMESPACE","IS_EMPTY_INPUT","PARSER_MEDIA_TYPE","SUPPORTED_PARSER_MEDIA_TYPES","DEFAULT_PARSER_MEDIA_TYPE","transformCaseFunc","CONFIG","formElement","isRegexOrFunction","testValue","_parseConfig","cfg","ADD_URI_SAFE_ATTR","ADD_DATA_URI_TAGS","ALLOWED_URI_REGEXP","ADD_TAGS","ADD_ATTR","table","tbody","MATHML_TEXT_INTEGRATION_POINTS","HTML_INTEGRATION_POINTS","ALL_SVG_TAGS","ALL_MATHML_TAGS","_checkValidNamespace","namespaceURI","parentTagName","commonSvgAndHTMLElements","_forceRemove","_removeAttribute","attribute","getAttributeNode","_initDocument","leadingWhitespace","dirtyPayload","parseFromString","createDocument","_createIterator","SHOW_ELEMENT","SHOW_COMMENT","SHOW_TEXT","_isClobbered","nodeName","_isNode","_executeHook","entryPoint","_sanitizeElements","allowedTags","firstElementChild","_basicCustomElementTest","_isValidAttribute","lcTag","lcName","_sanitizeAttributes","attr","hookEvent","attrName","attrValue","keepAttr","allowedAttributes","_attr","forceKeepAttr","_sanitizeShadowDOM","fragment","shadowNode","shadowIterator","nextNode","importedNode","oldNode","returnNode","toStaticHTML","nodeIterator","shadowroot","serializedHTML","doctype","setConfig","clearConfig","isValidAttribute","hookFunction","removeHook","removeHooks","removeAllHooks","enforceInternalState","enforce","simple","nativeKeys","IndexedObject","ArrayBuffer","isView","pipe","URLSearchParams","product","assignValue","stripBOM","nativeGetPrototypeOf","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","Target","$args","isEmptyObject","isIFrame","WOOT_PREFIX","RNHelper","ReactNativeWebView","SET_TWEET_REPLY","SHOW_ALERT","START_NEW_CONVERSATION","FOCUS_CUSTOM_ATTRIBUTE","SCROLL_TO_MESSAGE","TOGGLE_SIDEMENU","variable","APP_BASE_URL","NATIVE_WEAK_MAP","objectHas","OBJECT_ALREADY_INITIALIZED","wmget","wmhas","wmset","metadata","STATE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_OUT","NO_HOLES","specificCreate","filterOut","bitmap","PREFERRED_STRING","FAILS_ON_PRIMITIVES","addLeadingZeros","targetLength","sign","signedYear","dayPeriodEnumValue","numberOfDigits","milliseconds","pow","MILLISECONDS_IN_DAY","dayPeriodEnum","unit","lightFormatters","signedWeekYear","weekYear","isoWeek","setUTCMonth","startOfYearTimestamp","difference","getUTCDayOfYear","localDayOfWeek","isoDayOfWeek","_localize","timezoneOffset","_originalDate","getTimezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","originalDate","dirtyDelimiter","absOffset","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","dirtyFormatStr","formatStr","formatterOptions","firstCharacter","longFormatter","cleanEscapedString","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","v8"],"mappings":";aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GAKAK,EAAI,EAAGC,EAAW,GACpCD,EAAIF,EAASI,OAAQF,IACzBH,EAAUC,EAASE,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBV,IAAYU,EAAgBV,IACpFI,EAASO,KAAKD,EAAgBV,GAAS,IAExCU,EAAgBV,GAAW,EAE5B,IAAID,KAAYG,EACZI,OAAOC,UAAUC,eAAeC,KAAKP,EAAaH,KACpDa,EAAQb,GAAYG,EAAYH,IAKlC,IAFGc,GAAqBA,EAAoBf,GAEtCM,EAASC,QACdD,EAASU,OAATV,GAOF,IAAIW,EAAmB,GAGnBC,EAAqB,CACxB,EAAG,GAMAN,EAAkB,CACrB,EAAG,GAWJ,SAASO,EAAoBlB,GAG5B,GAAGgB,EAAiBhB,GACnB,OAAOgB,EAAiBhB,GAAUmB,QAGnC,IAAIC,EAASJ,EAAiBhB,GAAY,CACzCI,EAAGJ,EACHqB,GAAG,EACHF,QAAS,IAUV,OANAN,EAAQb,GAAUU,KAAKU,EAAOD,QAASC,EAAQA,EAAOD,QAASD,GAG/DE,EAAOC,GAAI,EAGJD,EAAOD,QAKfD,EAAoBI,EAAI,SAAuBrB,GAC9C,IAAIsB,EAAW,GAKZN,EAAmBhB,GAAUsB,EAASX,KAAKK,EAAmBhB,IACzB,IAAhCgB,EAAmBhB,IAFX,CAAC,EAAI,EAAE,EAAI,EAAE,GAAK,EAAE,GAAK,GAEcA,IACtDsB,EAASX,KAAKK,EAAmBhB,GAAW,IAAIuB,SAAQ,SAASC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AAM+zH,GAAqB,GAAGr7H,QAAQs7H,EAAmB,O,mBC/axE,IAMIh0H,EAAOzM,EANPoD,EAAS,EAAQ,IACjBmmB,EAAY,EAAQ,KAEpBlmB,EAAUD,EAAOC,QACjBoP,EAAWpP,GAAWA,EAAQoP,SAC9B0uH,EAAK1uH,GAAYA,EAAS0uH,GAG1BA,EAEFnhI,GADAyM,EAAQ00H,EAAG95H,MAAM,MACD,GAAKoF,EAAM,GAClB8c,MACT9c,EAAQ8c,EAAU9c,MAAM,iBACVA,EAAM,IAAM,MACxBA,EAAQ8c,EAAU9c,MAAM,oBACbzM,EAAUyM,EAAM,IAI/BxV,EAAOD,QAAUgJ,IAAYA,G,iBCnB7B/I,EAAOD,QAAU","file":"js/widget-309e40571b6abd5d1d82.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t8: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t8: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \"-\" + {\"0\":\"3029a7b195b98f7b7e25\",\"1\":\"e900ee126e0fbba58d3a\",\"9\":\"656d03a4f53208fa3571\",\"10\":\"2762564d6234e654e23c\",\"14\":\"72f98a6bd97b0c30c82e\",\"18\":\"1b499c171e432e071db8\",\"31\":\"cb9b48e06ab39536afba\",\"32\":\"451136ee85d034f55877\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"1\":1,\"9\":1,\"14\":1,\"18\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \"-\" + {\"0\":\"31d6cfe0\",\"1\":\"0f3147e5\",\"9\":\"947940c2\",\"10\":\"31d6cfe0\",\"14\":\"64d845e9\",\"18\":\"9601cd95\",\"31\":\"31d6cfe0\",\"32\":\"31d6cfe0\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2472);\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.11.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject -- old IE */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","import toDate from \"../toDate/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name fromUnixTime\n * @category Timestamp Helpers\n * @summary Create a date from a Unix timestamp.\n *\n * @description\n * Create a date from a Unix timestamp.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Number} unixTime - the given Unix timestamp\n * @returns {Date} the date\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Create the date 29 February 2012 11:45:05:\n * var result = fromUnixTime(1330515905)\n * //=> Wed Feb 29 2012 11:45:05\n */\n\nexport default function fromUnixTime(dirtyUnixTime) {\n requiredArgs(1, arguments);\n var unixTime = toInteger(dirtyUnixTime);\n return toDate(unixTime * 1000);\n}","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeek(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // eslint-disable-next-line es/no-symbol -- required for testing\n return !Symbol.sham &&\n // Chrome 38 Symbol has incorrect toString conversion\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n (IS_NODE ? V8_VERSION === 38 : V8_VERSION > 37 && V8_VERSION < 41);\n});\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","if (process.env.NODE_ENV === 'production') {\n module.exports = require('./vue.common.prod.js');\n} else {\n module.exports = require('./vue.common.dev.js');\n}","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token, format, input) {\n if (token === 'YYYY') {\n throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'YY') {\n throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'D') {\n throw new RangeError(\"Use `d` instead of `D` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'DD') {\n throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n }\n}","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === RegExp.prototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative(nativeSearch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\nvar shared = require('./shared');\n\nvar nativeExec = RegExp.prototype.exec;\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\n// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","import { MESSAGE_TYPE } from 'shared/constants/messages';\nimport { IFrameHelper } from 'widget/helpers/utils';\n\nimport { showBadgeOnFavicon } from './faviconHelper';\n\nexport const initOnEvents = ['click', 'touchstart', 'keypress', 'keydown'];\nexport const getAlertAudio = async (baseUrl = '', type = 'dashboard') => {\n const audioCtx = new (window.AudioContext || window.webkitAudioContext)();\n const playsound = audioBuffer => {\n window.playAudioAlert = () => {\n const source = audioCtx.createBufferSource();\n source.buffer = audioBuffer;\n source.connect(audioCtx.destination);\n source.loop = false;\n source.start();\n };\n };\n\n const resourceUrl = `${baseUrl}/audio/${type}/ding.mp3`;\n const audioRequest = new Request(resourceUrl);\n\n fetch(audioRequest)\n .then(response => response.arrayBuffer())\n .then(buffer => {\n audioCtx.decodeAudioData(buffer).then(playsound);\n return new Promise(res => res());\n })\n .catch(() => {\n // error\n });\n};\n\nexport const notificationEnabled = (enableAudioAlerts, id, userId) => {\n if (enableAudioAlerts === 'mine') {\n return userId === id;\n }\n if (enableAudioAlerts === 'all') {\n return true;\n }\n return false;\n};\n\nexport const shouldPlayAudio = (\n message,\n conversationId,\n userId,\n isDocHidden\n) => {\n const {\n conversation_id: incomingConvId,\n sender_id: senderId,\n message_type: messageType,\n private: isPrivate,\n } = message;\n if (!isDocHidden && messageType === MESSAGE_TYPE.INCOMING) {\n showBadgeOnFavicon();\n return false;\n }\n const isFromCurrentUser = userId === senderId;\n\n const playAudio =\n !isFromCurrentUser && (messageType === MESSAGE_TYPE.INCOMING || isPrivate);\n if (isDocHidden) return playAudio;\n if (conversationId !== incomingConvId) return playAudio;\n return false;\n};\n\nexport const getAssigneeFromNotification = currentConv => {\n let id;\n if (currentConv.meta) {\n const assignee = currentConv.meta.assignee;\n if (assignee) {\n id = assignee.id;\n }\n }\n return id;\n};\nexport const newMessageNotification = data => {\n const { conversation_id: currentConvId } = window.WOOT.$route.params;\n const currentUserId = window.WOOT.$store.getters.getCurrentUserID;\n const { conversation_id: incomingConvId } = data;\n const currentConv =\n window.WOOT.$store.getters.getConversationById(incomingConvId) || {};\n const assigneeId = getAssigneeFromNotification(currentConv);\n const isDocHidden = document.hidden;\n const {\n enable_audio_alerts: enableAudioAlerts = false,\n } = window.WOOT.$store.getters.getUISettings;\n const playAudio = shouldPlayAudio(\n data,\n currentConvId,\n currentUserId,\n isDocHidden\n );\n const isNotificationEnabled = notificationEnabled(\n enableAudioAlerts,\n currentUserId,\n assigneeId\n );\n\n if (playAudio && isNotificationEnabled) {\n window.playAudioAlert();\n showBadgeOnFavicon();\n }\n};\n\nexport const playNewMessageNotificationInWidget = () => {\n IFrameHelper.sendMessage({\n event: 'playAudio',\n });\n};\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};","var global = require('../internals/global');\n\nmodule.exports = global;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar isObject = require('../internals/is-object');\nvar aFunction = require('../internals/a-function');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar PromiseConstructor = NativePromise;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar $fetch = getBuiltIn('fetch');\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);\n if (!GLOBAL_CORE_JS_PROMISE) {\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (V8_VERSION === 66) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n if (!IS_NODE && !NATIVE_REJECTION_EVENT) return true;\n }\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = PromiseConstructor.resolve(1);\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n return !(promise.then(function () { /* empty */ }) instanceof FakePromise);\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n var chain = state.reactions;\n microtask(function () {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var index = 0;\n // variable length - can't use forEach\n while (chain.length > index) {\n var reaction = chain[index++];\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n }\n state.reactions = [];\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n task.call(global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n task.call(global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n then.call(value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromiseConstructor, PROMISE);\n aFunction(executor);\n Internal.call(this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: [],\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n state.parent = true;\n state.reactions.push(reaction);\n if (state.state != PENDING) notify(state, false);\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && typeof NativePromise == 'function') {\n nativeThen = NativePromise.prototype.then;\n\n // wrap native Promise#then for native async functions\n redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n nativeThen.call(that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // wrap fetch result\n if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fetch: function fetch(input /* , init */) {\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n }\n });\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n capability.reject.call(undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n $promiseResolve.call(C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n iterate(iterable, function (promise) {\n $promiseResolve.call(C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","/* eslint-disable no-proto -- safe */\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","export const showBadgeOnFavicon = () => {\n const favicons = document.querySelectorAll('.favicon');\n\n favicons.forEach(favicon => {\n const newFileName = `/favicon-badge-${favicon.sizes[[0]]}.png`;\n favicon.href = newFileName;\n });\n};\n\nexport const initFaviconSwitcher = () => {\n const favicons = document.querySelectorAll('.favicon');\n\n document.addEventListener('visibilitychange', () => {\n if (document.visibilityState === 'visible') {\n favicons.forEach(favicon => {\n const oldFileName = `/favicon-${favicon.sizes[[0]]}.png`;\n favicon.href = oldFileName;\n });\n }\n });\n};\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","export const buildSearchParamsWithLocale = search => {\n const locale = window.WOOT_WIDGET.$root.$i18n.locale;\n if (search) {\n search = `${search}&locale=${locale}`;\n } else {\n search = `?locale=${locale}`;\n }\n return search;\n};\n\nexport const getLocale = (search = '') => {\n const searchParamKeyValuePairs = search.split('&');\n return searchParamKeyValuePairs.reduce((acc, keyValuePair) => {\n const [key, value] = keyValuePair.split('=');\n if (key === 'locale') {\n return value;\n }\n return acc;\n }, undefined);\n};\n\nexport const buildPopoutURL = ({\n origin,\n conversationCookie,\n websiteToken,\n locale,\n}) => {\n return `${origin}/widget?cw_conversation=${conversationCookie}&website_token=${websiteToken}&locale=${locale}`;\n};\n","import { buildSearchParamsWithLocale } from '../helpers/urlParamsHelper';\nimport { generateEventParams } from './events';\n\nconst createConversation = params => {\n const referrerURL = window.referrerURL || '';\n const search = buildSearchParamsWithLocale(window.location.search);\n return {\n url: `/api/v1/widget/conversations${search}`,\n params: {\n contact: {\n name: params.fullName,\n email: params.emailAddress,\n phone_number: params.phoneNumber,\n },\n message: {\n content: params.message,\n timestamp: new Date().toString(),\n referer_url: referrerURL,\n },\n custom_attributes: params.customAttributes,\n },\n };\n};\n\nconst sendMessage = content => {\n const referrerURL = window.referrerURL || '';\n const search = buildSearchParamsWithLocale(window.location.search);\n return {\n url: `/api/v1/widget/messages${search}`,\n params: {\n message: {\n content,\n timestamp: new Date().toString(),\n referer_url: referrerURL,\n },\n },\n };\n};\n\nconst sendAttachment = ({ attachment }) => {\n const { referrerURL = '' } = window;\n const timestamp = new Date().toString();\n const { file } = attachment;\n\n const formData = new FormData();\n if (typeof file === 'string') {\n formData.append('message[attachments][]', file);\n } else {\n formData.append('message[attachments][]', file, file.name);\n }\n\n formData.append('message[referer_url]', referrerURL);\n formData.append('message[timestamp]', timestamp);\n return {\n url: `/api/v1/widget/messages${window.location.search}`,\n params: formData,\n };\n};\n\nconst getConversation = ({ before }) => ({\n url: `/api/v1/widget/messages${window.location.search}`,\n params: { before },\n});\n\nconst updateMessage = id => ({\n url: `/api/v1/widget/messages/${id}${window.location.search}`,\n});\n\nconst getAvailableAgents = token => ({\n url: '/api/v1/widget/inbox_members',\n params: {\n website_token: token,\n },\n});\nconst getCampaigns = token => ({\n url: '/api/v1/widget/campaigns',\n params: {\n website_token: token,\n },\n});\nconst triggerCampaign = ({ websiteToken, campaignId, customAttributes }) => ({\n url: '/api/v1/widget/events',\n data: {\n name: 'campaign.triggered',\n event_info: {\n campaign_id: campaignId,\n custom_attributes: customAttributes,\n ...generateEventParams(),\n },\n },\n params: {\n website_token: websiteToken,\n },\n});\n\nexport default {\n createConversation,\n sendMessage,\n sendAttachment,\n getConversation,\n updateMessage,\n getAvailableAgents,\n getCampaigns,\n triggerCampaign,\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toInteger;\n\nfunction toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}\n\nmodule.exports = exports.default;","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar enhanceError = require('./core/enhanceError');\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\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\n return adapter;\n}\n\nvar defaults = {\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n adapter: getDefaultAdapter(),\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) {\n return data;\n }\n\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n\n if (utils.isObject(data) || headers && headers['Content-Type'] === 'application/json') {\n setContentTypeIfUnset(headers, 'application/json');\n return JSON.stringify(data);\n }\n\n return data;\n }],\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || forcedJSONParsing && utils.isString(data) && data.length) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n\n throw e;\n }\n }\n }\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 xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n maxContentLength: -1,\n maxBodyLength: -1,\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\nmodule.exports = defaults;","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var path = require('../internals/path');\nvar has = require('../internals/has');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar bind = require('../internals/function-bind-context');\nvar html = require('../internals/html');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar location = global.location;\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\n\nvar run = function (id) {\n // eslint-disable-next-line no-prototype-builtins -- safe\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(id + '', location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func -- spec requirement\n (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n typeof postMessage == 'function' &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","'use strict';\nvar aFunction = require('../internals/a-function');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n};\n\n// 25.4.1.5 NewPromiseCapability(C)\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate, dirtyOptions);\n var year = date.getUTCFullYear();\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, dirtyOptions);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, dirtyOptions);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vue-i18n v8.24.3 \n * (c) 2021 kazuya kawaguchi\n * Released under the MIT License.\n */\n\n/* */\n\n/**\n * constants\n */\nvar numberFormatKeys = ['compactDisplay', 'currency', 'currencyDisplay', 'currencySign', 'localeMatcher', 'notation', 'numberingSystem', 'signDisplay', 'style', 'unit', 'unitDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits'];\n/**\n * utilities\n */\n\nfunction warn(msg, err) {\n if (typeof console !== 'undefined') {\n console.warn('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n\n if (err) {\n console.warn(err.stack);\n }\n }\n}\n\nfunction error(msg, err) {\n if (typeof console !== 'undefined') {\n console.error('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n\n if (err) {\n console.error(err.stack);\n }\n }\n}\n\nvar isArray = Array.isArray;\n\nfunction isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n}\n\nfunction isBoolean(val) {\n return typeof val === 'boolean';\n}\n\nfunction isString(val) {\n return typeof val === 'string';\n}\n\nvar toString = Object.prototype.toString;\nvar OBJECT_STRING = '[object Object]';\n\nfunction isPlainObject(obj) {\n return toString.call(obj) === OBJECT_STRING;\n}\n\nfunction isNull(val) {\n return val === null || val === undefined;\n}\n\nfunction isFunction(val) {\n return typeof val === 'function';\n}\n\nfunction parseArgs() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n var locale = null;\n var params = null;\n\n if (args.length === 1) {\n if (isObject(args[0]) || isArray(args[0])) {\n params = args[0];\n } else if (typeof args[0] === 'string') {\n locale = args[0];\n }\n } else if (args.length === 2) {\n if (typeof args[0] === 'string') {\n locale = args[0];\n }\n /* istanbul ignore if */\n\n\n if (isObject(args[1]) || isArray(args[1])) {\n params = args[1];\n }\n }\n\n return {\n locale: locale,\n params: params\n };\n}\n\nfunction looseClone(obj) {\n return JSON.parse(JSON.stringify(obj));\n}\n\nfunction remove(arr, item) {\n if (arr.delete(item)) {\n return arr;\n }\n}\n\nfunction includes(arr, item) {\n return !!~arr.indexOf(item);\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n\nfunction merge(target) {\n var arguments$1 = arguments;\n var output = Object(target);\n\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments$1[i];\n\n if (source !== undefined && source !== null) {\n var key = void 0;\n\n for (key in source) {\n if (hasOwn(source, key)) {\n if (isObject(source[key])) {\n output[key] = merge(output[key], source[key]);\n } else {\n output[key] = source[key];\n }\n }\n }\n }\n }\n\n return output;\n}\n\nfunction looseEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = isArray(a);\n var isArrayB = isArray(b);\n\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i]);\n });\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n });\n } else {\n /* istanbul ignore next */\n return false;\n }\n } catch (e) {\n /* istanbul ignore next */\n return false;\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n } else {\n return false;\n }\n}\n/**\n * Sanitizes html special characters from input strings. For mitigating risk of XSS attacks.\n * @param rawText The raw input from the user that should be escaped.\n */\n\n\nfunction escapeHtml(rawText) {\n return rawText.replace(//g, '>').replace(/\"/g, '"').replace(/'/g, ''');\n}\n/**\n * Escapes html tags and special symbols from all provided params which were returned from parseArgs().params.\n * This method performs an in-place operation on the params object.\n *\n * @param {any} params Parameters as provided from `parseArgs().params`.\n * May be either an array of strings or a string->any map.\n *\n * @returns The manipulated `params` object.\n */\n\n\nfunction escapeParams(params) {\n if (params != null) {\n Object.keys(params).forEach(function (key) {\n if (typeof params[key] == 'string') {\n params[key] = escapeHtml(params[key]);\n }\n });\n }\n\n return params;\n}\n/* */\n\n\nfunction extend(Vue) {\n if (!Vue.prototype.hasOwnProperty('$i18n')) {\n // $FlowFixMe\n Object.defineProperty(Vue.prototype, '$i18n', {\n get: function get() {\n return this._i18n;\n }\n });\n }\n\n Vue.prototype.$t = function (key) {\n var values = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n values[len] = arguments[len + 1];\n }\n\n var i18n = this.$i18n;\n return i18n._t.apply(i18n, [key, i18n.locale, i18n._getMessages(), this].concat(values));\n };\n\n Vue.prototype.$tc = function (key, choice) {\n var values = [],\n len = arguments.length - 2;\n\n while (len-- > 0) {\n values[len] = arguments[len + 2];\n }\n\n var i18n = this.$i18n;\n return i18n._tc.apply(i18n, [key, i18n.locale, i18n._getMessages(), this, choice].concat(values));\n };\n\n Vue.prototype.$te = function (key, locale) {\n var i18n = this.$i18n;\n return i18n._te(key, i18n.locale, i18n._getMessages(), locale);\n };\n\n Vue.prototype.$d = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n return (ref = this.$i18n).d.apply(ref, [value].concat(args));\n };\n\n Vue.prototype.$n = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n return (ref = this.$i18n).n.apply(ref, [value].concat(args));\n };\n}\n/* */\n\n\nvar mixin = {\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n if (options.__i18n) {\n try {\n var localeMessages = options.i18n && options.i18n.messages ? options.i18n.messages : {};\n\n options.__i18n.forEach(function (resource) {\n localeMessages = merge(localeMessages, JSON.parse(resource));\n });\n\n Object.keys(localeMessages).forEach(function (locale) {\n options.i18n.mergeLocaleMessage(locale, localeMessages[locale]);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n error(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n\n this._i18n = options.i18n;\n this._i18nWatcher = this._i18n.watchI18nData();\n } else if (isPlainObject(options.i18n)) {\n var rootI18n = this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n ? this.$root.$i18n : null; // component local i18n\n\n if (rootI18n) {\n options.i18n.root = this.$root;\n options.i18n.formatter = rootI18n.formatter;\n options.i18n.fallbackLocale = rootI18n.fallbackLocale;\n options.i18n.formatFallbackMessages = rootI18n.formatFallbackMessages;\n options.i18n.silentTranslationWarn = rootI18n.silentTranslationWarn;\n options.i18n.silentFallbackWarn = rootI18n.silentFallbackWarn;\n options.i18n.pluralizationRules = rootI18n.pluralizationRules;\n options.i18n.preserveDirectiveContent = rootI18n.preserveDirectiveContent;\n this.$root.$once('hook:beforeDestroy', function () {\n options.i18n.root = null;\n options.i18n.formatter = null;\n options.i18n.fallbackLocale = null;\n options.i18n.formatFallbackMessages = null;\n options.i18n.silentTranslationWarn = null;\n options.i18n.silentFallbackWarn = null;\n options.i18n.pluralizationRules = null;\n options.i18n.preserveDirectiveContent = null;\n });\n } // init locale messages via custom blocks\n\n\n if (options.__i18n) {\n try {\n var localeMessages$1 = options.i18n && options.i18n.messages ? options.i18n.messages : {};\n\n options.__i18n.forEach(function (resource) {\n localeMessages$1 = merge(localeMessages$1, JSON.parse(resource));\n });\n\n options.i18n.messages = localeMessages$1;\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n\n var ref = options.i18n;\n var sharedMessages = ref.sharedMessages;\n\n if (sharedMessages && isPlainObject(sharedMessages)) {\n options.i18n.messages = merge(options.i18n.messages, sharedMessages);\n }\n\n this._i18n = new VueI18n(options.i18n);\n this._i18nWatcher = this._i18n.watchI18nData();\n\n if (options.i18n.sync === undefined || !!options.i18n.sync) {\n this._localeWatcher = this.$i18n.watchLocale();\n }\n\n if (rootI18n) {\n rootI18n.onComponentInstanceCreated(this._i18n);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n // root i18n\n this._i18n = this.$root.$i18n;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n // parent i18n\n this._i18n = options.parent.$i18n;\n }\n },\n beforeMount: function beforeMount() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else if (isPlainObject(options.i18n)) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n }\n },\n mounted: function mounted() {\n if (this !== this.$root && this.$options.__INTLIFY_META__ && this.$el) {\n this.$el.setAttribute('data-intlify', this.$options.__INTLIFY_META__);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (!this._i18n) {\n return;\n }\n\n var self = this;\n this.$nextTick(function () {\n if (self._subscribing) {\n self._i18n.unsubscribeDataChanging(self);\n\n delete self._subscribing;\n }\n\n if (self._i18nWatcher) {\n self._i18nWatcher();\n\n self._i18n.destroyVM();\n\n delete self._i18nWatcher;\n }\n\n if (self._localeWatcher) {\n self._localeWatcher();\n\n delete self._localeWatcher;\n }\n });\n }\n};\n/* */\n\nvar interpolationComponent = {\n name: 'i18n',\n functional: true,\n props: {\n tag: {\n type: [String, Boolean, Object],\n default: 'span'\n },\n path: {\n type: String,\n required: true\n },\n locale: {\n type: String\n },\n places: {\n type: [Array, Object]\n }\n },\n render: function render(h, ref) {\n var data = ref.data;\n var parent = ref.parent;\n var props = ref.props;\n var slots = ref.slots;\n var $i18n = parent.$i18n;\n\n if (!$i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n\n return;\n }\n\n var path = props.path;\n var locale = props.locale;\n var places = props.places;\n var params = slots();\n var children = $i18n.i(path, locale, onlyHasDefaultPlace(params) || places ? useLegacyPlaces(params.default, places) : params);\n var tag = !!props.tag && props.tag !== true || props.tag === false ? props.tag : 'span';\n return tag ? h(tag, data, children) : children;\n }\n};\n\nfunction onlyHasDefaultPlace(params) {\n var prop;\n\n for (prop in params) {\n if (prop !== 'default') {\n return false;\n }\n }\n\n return Boolean(prop);\n}\n\nfunction useLegacyPlaces(children, places) {\n var params = places ? createParamsFromPlaces(places) : {};\n\n if (!children) {\n return params;\n } // Filter empty text nodes\n\n\n children = children.filter(function (child) {\n return child.tag || child.text.trim() !== '';\n });\n var everyPlace = children.every(vnodeHasPlaceAttribute);\n\n if (process.env.NODE_ENV !== 'production' && everyPlace) {\n warn('`place` attribute is deprecated in next major version. Please switch to Vue slots.');\n }\n\n return children.reduce(everyPlace ? assignChildPlace : assignChildIndex, params);\n}\n\nfunction createParamsFromPlaces(places) {\n if (process.env.NODE_ENV !== 'production') {\n warn('`places` prop is deprecated in next major version. Please switch to Vue slots.');\n }\n\n return Array.isArray(places) ? places.reduce(assignChildIndex, {}) : Object.assign({}, places);\n}\n\nfunction assignChildPlace(params, child) {\n if (child.data && child.data.attrs && child.data.attrs.place) {\n params[child.data.attrs.place] = child;\n }\n\n return params;\n}\n\nfunction assignChildIndex(params, child, index) {\n params[index] = child;\n return params;\n}\n\nfunction vnodeHasPlaceAttribute(vnode) {\n return Boolean(vnode.data && vnode.data.attrs && vnode.data.attrs.place);\n}\n/* */\n\n\nvar numberComponent = {\n name: 'i18n-n',\n functional: true,\n props: {\n tag: {\n type: [String, Boolean, Object],\n default: 'span'\n },\n value: {\n type: Number,\n required: true\n },\n format: {\n type: [String, Object]\n },\n locale: {\n type: String\n }\n },\n render: function render(h, ref) {\n var props = ref.props;\n var parent = ref.parent;\n var data = ref.data;\n var i18n = parent.$i18n;\n\n if (!i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n\n return null;\n }\n\n var key = null;\n var options = null;\n\n if (isString(props.format)) {\n key = props.format;\n } else if (isObject(props.format)) {\n if (props.format.key) {\n key = props.format.key;\n } // Filter out number format options only\n\n\n options = Object.keys(props.format).reduce(function (acc, prop) {\n var obj;\n\n if (includes(numberFormatKeys, prop)) {\n return Object.assign({}, acc, (obj = {}, obj[prop] = props.format[prop], obj));\n }\n\n return acc;\n }, null);\n }\n\n var locale = props.locale || i18n.locale;\n\n var parts = i18n._ntp(props.value, locale, key, options);\n\n var values = parts.map(function (part, index) {\n var obj;\n var slot = data.scopedSlots && data.scopedSlots[part.type];\n return slot ? slot((obj = {}, obj[part.type] = part.value, obj.index = index, obj.parts = parts, obj)) : part.value;\n });\n var tag = !!props.tag && props.tag !== true || props.tag === false ? props.tag : 'span';\n return tag ? h(tag, {\n attrs: data.attrs,\n 'class': data['class'],\n staticClass: data.staticClass\n }, values) : values;\n }\n};\n/* */\n\nfunction bind(el, binding, vnode) {\n if (!assert(el, vnode)) {\n return;\n }\n\n t(el, binding, vnode);\n}\n\nfunction update(el, binding, vnode, oldVNode) {\n if (!assert(el, vnode)) {\n return;\n }\n\n var i18n = vnode.context.$i18n;\n\n if (localeEqual(el, vnode) && looseEqual(binding.value, binding.oldValue) && looseEqual(el._localeMessage, i18n.getLocaleMessage(i18n.locale))) {\n return;\n }\n\n t(el, binding, vnode);\n}\n\nfunction unbind(el, binding, vnode, oldVNode) {\n var vm = vnode.context;\n\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return;\n }\n\n var i18n = vnode.context.$i18n || {};\n\n if (!binding.modifiers.preserve && !i18n.preserveDirectiveContent) {\n el.textContent = '';\n }\n\n el._vt = undefined;\n delete el['_vt'];\n el._locale = undefined;\n delete el['_locale'];\n el._localeMessage = undefined;\n delete el['_localeMessage'];\n}\n\nfunction assert(el, vnode) {\n var vm = vnode.context;\n\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return false;\n }\n\n if (!vm.$i18n) {\n warn('VueI18n instance does not exists in Vue instance');\n return false;\n }\n\n return true;\n}\n\nfunction localeEqual(el, vnode) {\n var vm = vnode.context;\n return el._locale === vm.$i18n.locale;\n}\n\nfunction t(el, binding, vnode) {\n var ref$1, ref$2;\n var value = binding.value;\n var ref = parseValue(value);\n var path = ref.path;\n var locale = ref.locale;\n var args = ref.args;\n var choice = ref.choice;\n\n if (!path && !locale && !args) {\n warn('value type not supported');\n return;\n }\n\n if (!path) {\n warn('`path` is required in v-t directive');\n return;\n }\n\n var vm = vnode.context;\n\n if (choice != null) {\n el._vt = el.textContent = (ref$1 = vm.$i18n).tc.apply(ref$1, [path, choice].concat(makeParams(locale, args)));\n } else {\n el._vt = el.textContent = (ref$2 = vm.$i18n).t.apply(ref$2, [path].concat(makeParams(locale, args)));\n }\n\n el._locale = vm.$i18n.locale;\n el._localeMessage = vm.$i18n.getLocaleMessage(vm.$i18n.locale);\n}\n\nfunction parseValue(value) {\n var path;\n var locale;\n var args;\n var choice;\n\n if (isString(value)) {\n path = value;\n } else if (isPlainObject(value)) {\n path = value.path;\n locale = value.locale;\n args = value.args;\n choice = value.choice;\n }\n\n return {\n path: path,\n locale: locale,\n args: args,\n choice: choice\n };\n}\n\nfunction makeParams(locale, args) {\n var params = [];\n locale && params.push(locale);\n\n if (args && (Array.isArray(args) || isPlainObject(args))) {\n params.push(args);\n }\n\n return params;\n}\n\nvar Vue;\n\nfunction install(_Vue) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && install.installed && _Vue === Vue) {\n warn('already installed.');\n return;\n }\n\n install.installed = true;\n Vue = _Vue;\n var version = Vue.version && Number(Vue.version.split('.')[0]) || -1;\n /* istanbul ignore if */\n\n if (process.env.NODE_ENV !== 'production' && version < 2) {\n warn(\"vue-i18n (\" + install.version + \") need to use Vue 2.0 or later (Vue: \" + Vue.version + \").\");\n return;\n }\n\n extend(Vue);\n Vue.mixin(mixin);\n Vue.directive('t', {\n bind: bind,\n update: update,\n unbind: unbind\n });\n Vue.component(interpolationComponent.name, interpolationComponent);\n Vue.component(numberComponent.name, numberComponent); // use simple mergeStrategies to prevent i18n instance lose '__proto__'\n\n var strats = Vue.config.optionMergeStrategies;\n\n strats.i18n = function (parentVal, childVal) {\n return childVal === undefined ? parentVal : childVal;\n };\n}\n/* */\n\n\nvar BaseFormatter = function BaseFormatter() {\n this._caches = Object.create(null);\n};\n\nBaseFormatter.prototype.interpolate = function interpolate(message, values) {\n if (!values) {\n return [message];\n }\n\n var tokens = this._caches[message];\n\n if (!tokens) {\n tokens = parse(message);\n this._caches[message] = tokens;\n }\n\n return compile(tokens, values);\n};\n\nvar RE_TOKEN_LIST_VALUE = /^(?:\\d)+/;\nvar RE_TOKEN_NAMED_VALUE = /^(?:\\w)+/;\n\nfunction parse(format) {\n var tokens = [];\n var position = 0;\n var text = '';\n\n while (position < format.length) {\n var char = format[position++];\n\n if (char === '{') {\n if (text) {\n tokens.push({\n type: 'text',\n value: text\n });\n }\n\n text = '';\n var sub = '';\n char = format[position++];\n\n while (char !== undefined && char !== '}') {\n sub += char;\n char = format[position++];\n }\n\n var isClosed = char === '}';\n var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';\n tokens.push({\n value: sub,\n type: type\n });\n } else if (char === '%') {\n // when found rails i18n syntax, skip text capture\n if (format[position] !== '{') {\n text += char;\n }\n } else {\n text += char;\n }\n }\n\n text && tokens.push({\n type: 'text',\n value: text\n });\n return tokens;\n}\n\nfunction compile(tokens, values) {\n var compiled = [];\n var index = 0;\n var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';\n\n if (mode === 'unknown') {\n return compiled;\n }\n\n while (index < tokens.length) {\n var token = tokens[index];\n\n switch (token.type) {\n case 'text':\n compiled.push(token.value);\n break;\n\n case 'list':\n compiled.push(values[parseInt(token.value, 10)]);\n break;\n\n case 'named':\n if (mode === 'named') {\n compiled.push(values[token.value]);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Type of token '\" + token.type + \"' and format of value '\" + mode + \"' don't match!\");\n }\n }\n\n break;\n\n case 'unknown':\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Detect 'unknown' type of token!\");\n }\n\n break;\n }\n\n index++;\n }\n\n return compiled;\n}\n/* */\n\n/**\n * Path parser\n * - Inspired:\n * Vue.js Path parser\n */\n// actions\n\n\nvar APPEND = 0;\nvar PUSH = 1;\nvar INC_SUB_PATH_DEPTH = 2;\nvar PUSH_SUB_PATH = 3; // states\n\nvar BEFORE_PATH = 0;\nvar IN_PATH = 1;\nvar BEFORE_IDENT = 2;\nvar IN_IDENT = 3;\nvar IN_SUB_PATH = 4;\nvar IN_SINGLE_QUOTE = 5;\nvar IN_DOUBLE_QUOTE = 6;\nvar AFTER_PATH = 7;\nvar ERROR = 8;\nvar pathStateMachine = [];\npathStateMachine[BEFORE_PATH] = {\n 'ws': [BEFORE_PATH],\n 'ident': [IN_IDENT, APPEND],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[IN_PATH] = {\n 'ws': [IN_PATH],\n '.': [BEFORE_IDENT],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[BEFORE_IDENT] = {\n 'ws': [BEFORE_IDENT],\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND]\n};\npathStateMachine[IN_IDENT] = {\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND],\n 'ws': [IN_PATH, PUSH],\n '.': [BEFORE_IDENT, PUSH],\n '[': [IN_SUB_PATH, PUSH],\n 'eof': [AFTER_PATH, PUSH]\n};\npathStateMachine[IN_SUB_PATH] = {\n \"'\": [IN_SINGLE_QUOTE, APPEND],\n '\"': [IN_DOUBLE_QUOTE, APPEND],\n '[': [IN_SUB_PATH, INC_SUB_PATH_DEPTH],\n ']': [IN_PATH, PUSH_SUB_PATH],\n 'eof': ERROR,\n 'else': [IN_SUB_PATH, APPEND]\n};\npathStateMachine[IN_SINGLE_QUOTE] = {\n \"'\": [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_SINGLE_QUOTE, APPEND]\n};\npathStateMachine[IN_DOUBLE_QUOTE] = {\n '\"': [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_DOUBLE_QUOTE, APPEND]\n};\n/**\n * Check if an expression is a literal value.\n */\n\nvar literalValueRE = /^\\s?(?:true|false|-?[\\d.]+|'[^']*'|\"[^\"]*\")\\s?$/;\n\nfunction isLiteral(exp) {\n return literalValueRE.test(exp);\n}\n/**\n * Strip quotes from a string\n */\n\n\nfunction stripQuotes(str) {\n var a = str.charCodeAt(0);\n var b = str.charCodeAt(str.length - 1);\n return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;\n}\n/**\n * Determine the type of a character in a keypath.\n */\n\n\nfunction getPathCharType(ch) {\n if (ch === undefined || ch === null) {\n return 'eof';\n }\n\n var code = ch.charCodeAt(0);\n\n switch (code) {\n case 0x5B: // [\n\n case 0x5D: // ]\n\n case 0x2E: // .\n\n case 0x22: // \"\n\n case 0x27:\n // '\n return ch;\n\n case 0x5F: // _\n\n case 0x24: // $\n\n case 0x2D:\n // -\n return 'ident';\n\n case 0x09: // Tab\n\n case 0x0A: // Newline\n\n case 0x0D: // Return\n\n case 0xA0: // No-break space\n\n case 0xFEFF: // Byte Order Mark\n\n case 0x2028: // Line Separator\n\n case 0x2029:\n // Paragraph Separator\n return 'ws';\n }\n\n return 'ident';\n}\n/**\n * Format a subPath, return its plain form if it is\n * a literal string or number. Otherwise prepend the\n * dynamic indicator (*).\n */\n\n\nfunction formatSubPath(path) {\n var trimmed = path.trim(); // invalid leading 0\n\n if (path.charAt(0) === '0' && isNaN(path)) {\n return false;\n }\n\n return isLiteral(trimmed) ? stripQuotes(trimmed) : '*' + trimmed;\n}\n/**\n * Parse a string path into an array of segments\n */\n\n\nfunction parse$1(path) {\n var keys = [];\n var index = -1;\n var mode = BEFORE_PATH;\n var subPathDepth = 0;\n var c;\n var key;\n var newChar;\n var type;\n var transition;\n var action;\n var typeMap;\n var actions = [];\n\n actions[PUSH] = function () {\n if (key !== undefined) {\n keys.push(key);\n key = undefined;\n }\n };\n\n actions[APPEND] = function () {\n if (key === undefined) {\n key = newChar;\n } else {\n key += newChar;\n }\n };\n\n actions[INC_SUB_PATH_DEPTH] = function () {\n actions[APPEND]();\n subPathDepth++;\n };\n\n actions[PUSH_SUB_PATH] = function () {\n if (subPathDepth > 0) {\n subPathDepth--;\n mode = IN_SUB_PATH;\n actions[APPEND]();\n } else {\n subPathDepth = 0;\n\n if (key === undefined) {\n return false;\n }\n\n key = formatSubPath(key);\n\n if (key === false) {\n return false;\n } else {\n actions[PUSH]();\n }\n }\n };\n\n function maybeUnescapeQuote() {\n var nextChar = path[index + 1];\n\n if (mode === IN_SINGLE_QUOTE && nextChar === \"'\" || mode === IN_DOUBLE_QUOTE && nextChar === '\"') {\n index++;\n newChar = '\\\\' + nextChar;\n actions[APPEND]();\n return true;\n }\n }\n\n while (mode !== null) {\n index++;\n c = path[index];\n\n if (c === '\\\\' && maybeUnescapeQuote()) {\n continue;\n }\n\n type = getPathCharType(c);\n typeMap = pathStateMachine[mode];\n transition = typeMap[type] || typeMap['else'] || ERROR;\n\n if (transition === ERROR) {\n return; // parse error\n }\n\n mode = transition[0];\n action = actions[transition[1]];\n\n if (action) {\n newChar = transition[2];\n newChar = newChar === undefined ? c : newChar;\n\n if (action() === false) {\n return;\n }\n }\n\n if (mode === AFTER_PATH) {\n return keys;\n }\n }\n}\n\nvar I18nPath = function I18nPath() {\n this._cache = Object.create(null);\n};\n/**\n * External parse that check for a cache hit first\n */\n\n\nI18nPath.prototype.parsePath = function parsePath(path) {\n var hit = this._cache[path];\n\n if (!hit) {\n hit = parse$1(path);\n\n if (hit) {\n this._cache[path] = hit;\n }\n }\n\n return hit || [];\n};\n/**\n * Get path value from path string\n */\n\n\nI18nPath.prototype.getPathValue = function getPathValue(obj, path) {\n if (!isObject(obj)) {\n return null;\n }\n\n var paths = this.parsePath(path);\n\n if (paths.length === 0) {\n return null;\n } else {\n var length = paths.length;\n var last = obj;\n var i = 0;\n\n while (i < length) {\n var value = last[paths[i]];\n\n if (value === undefined || value === null) {\n return null;\n }\n\n last = value;\n i++;\n }\n\n return last;\n }\n};\n/* */\n\n\nvar htmlTagMatcher = /<\\/?[\\w\\s=\"/.':;#-\\/]+>/;\nvar linkKeyMatcher = /(?:@(?:\\.[a-z]+)?:(?:[\\w\\-_|.]+|\\([\\w\\-_|.]+\\)))/g;\nvar linkKeyPrefixMatcher = /^@(?:\\.([a-z]+))?:/;\nvar bracketsMatcher = /[()]/g;\nvar defaultModifiers = {\n 'upper': function upper(str) {\n return str.toLocaleUpperCase();\n },\n 'lower': function lower(str) {\n return str.toLocaleLowerCase();\n },\n 'capitalize': function capitalize(str) {\n return \"\" + str.charAt(0).toLocaleUpperCase() + str.substr(1);\n }\n};\nvar defaultFormatter = new BaseFormatter();\n\nvar VueI18n = function VueI18n(options) {\n var this$1 = this;\n if (options === void 0) options = {}; // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #290\n\n /* istanbul ignore if */\n\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n var locale = options.locale || 'en-US';\n var fallbackLocale = options.fallbackLocale === false ? false : options.fallbackLocale || 'en-US';\n var messages = options.messages || {};\n var dateTimeFormats = options.dateTimeFormats || {};\n var numberFormats = options.numberFormats || {};\n this._vm = null;\n this._formatter = options.formatter || defaultFormatter;\n this._modifiers = options.modifiers || {};\n this._missing = options.missing || null;\n this._root = options.root || null;\n this._sync = options.sync === undefined ? true : !!options.sync;\n this._fallbackRoot = options.fallbackRoot === undefined ? true : !!options.fallbackRoot;\n this._formatFallbackMessages = options.formatFallbackMessages === undefined ? false : !!options.formatFallbackMessages;\n this._silentTranslationWarn = options.silentTranslationWarn === undefined ? false : options.silentTranslationWarn;\n this._silentFallbackWarn = options.silentFallbackWarn === undefined ? false : !!options.silentFallbackWarn;\n this._dateTimeFormatters = {};\n this._numberFormatters = {};\n this._path = new I18nPath();\n this._dataListeners = new Set();\n this._componentInstanceCreatedListener = options.componentInstanceCreatedListener || null;\n this._preserveDirectiveContent = options.preserveDirectiveContent === undefined ? false : !!options.preserveDirectiveContent;\n this.pluralizationRules = options.pluralizationRules || {};\n this._warnHtmlInMessage = options.warnHtmlInMessage || 'off';\n this._postTranslation = options.postTranslation || null;\n this._escapeParameterHtml = options.escapeParameterHtml || false;\n /**\n * @param choice {number} a choice index given by the input to $tc: `$tc('path.to.rule', choiceIndex)`\n * @param choicesLength {number} an overall amount of available choices\n * @returns a final choice index\n */\n\n this.getChoiceIndex = function (choice, choicesLength) {\n var thisPrototype = Object.getPrototypeOf(this$1);\n\n if (thisPrototype && thisPrototype.getChoiceIndex) {\n var prototypeGetChoiceIndex = thisPrototype.getChoiceIndex;\n return prototypeGetChoiceIndex.call(this$1, choice, choicesLength);\n } // Default (old) getChoiceIndex implementation - english-compatible\n\n\n var defaultImpl = function defaultImpl(_choice, _choicesLength) {\n _choice = Math.abs(_choice);\n\n if (_choicesLength === 2) {\n return _choice ? _choice > 1 ? 1 : 0 : 1;\n }\n\n return _choice ? Math.min(_choice, 2) : 0;\n };\n\n if (this$1.locale in this$1.pluralizationRules) {\n return this$1.pluralizationRules[this$1.locale].apply(this$1, [choice, choicesLength]);\n } else {\n return defaultImpl(choice, choicesLength);\n }\n };\n\n this._exist = function (message, key) {\n if (!message || !key) {\n return false;\n }\n\n if (!isNull(this$1._path.getPathValue(message, key))) {\n return true;\n } // fallback for flat key\n\n\n if (message[key]) {\n return true;\n }\n\n return false;\n };\n\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n\n this._initVM({\n locale: locale,\n fallbackLocale: fallbackLocale,\n messages: messages,\n dateTimeFormats: dateTimeFormats,\n numberFormats: numberFormats\n });\n};\n\nvar prototypeAccessors = {\n vm: {\n configurable: true\n },\n messages: {\n configurable: true\n },\n dateTimeFormats: {\n configurable: true\n },\n numberFormats: {\n configurable: true\n },\n availableLocales: {\n configurable: true\n },\n locale: {\n configurable: true\n },\n fallbackLocale: {\n configurable: true\n },\n formatFallbackMessages: {\n configurable: true\n },\n missing: {\n configurable: true\n },\n formatter: {\n configurable: true\n },\n silentTranslationWarn: {\n configurable: true\n },\n silentFallbackWarn: {\n configurable: true\n },\n preserveDirectiveContent: {\n configurable: true\n },\n warnHtmlInMessage: {\n configurable: true\n },\n postTranslation: {\n configurable: true\n }\n};\n\nVueI18n.prototype._checkLocaleMessage = function _checkLocaleMessage(locale, level, message) {\n var paths = [];\n\n var fn = function fn(level, locale, message, paths) {\n if (isPlainObject(message)) {\n Object.keys(message).forEach(function (key) {\n var val = message[key];\n\n if (isPlainObject(val)) {\n paths.push(key);\n paths.push('.');\n fn(level, locale, val, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(key);\n fn(level, locale, val, paths);\n paths.pop();\n }\n });\n } else if (isArray(message)) {\n message.forEach(function (item, index) {\n if (isPlainObject(item)) {\n paths.push(\"[\" + index + \"]\");\n paths.push('.');\n fn(level, locale, item, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(\"[\" + index + \"]\");\n fn(level, locale, item, paths);\n paths.pop();\n }\n });\n } else if (isString(message)) {\n var ret = htmlTagMatcher.test(message);\n\n if (ret) {\n var msg = \"Detected HTML in message '\" + message + \"' of keypath '\" + paths.join('') + \"' at '\" + locale + \"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp\";\n\n if (level === 'warn') {\n warn(msg);\n } else if (level === 'error') {\n error(msg);\n }\n }\n }\n };\n\n fn(level, locale, message, paths);\n};\n\nVueI18n.prototype._initVM = function _initVM(data) {\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n this._vm = new Vue({\n data: data\n });\n Vue.config.silent = silent;\n};\n\nVueI18n.prototype.destroyVM = function destroyVM() {\n this._vm.$destroy();\n};\n\nVueI18n.prototype.subscribeDataChanging = function subscribeDataChanging(vm) {\n this._dataListeners.add(vm);\n};\n\nVueI18n.prototype.unsubscribeDataChanging = function unsubscribeDataChanging(vm) {\n remove(this._dataListeners, vm);\n};\n\nVueI18n.prototype.watchI18nData = function watchI18nData() {\n var self = this;\n return this._vm.$watch('$data', function () {\n self._dataListeners.forEach(function (e) {\n Vue.nextTick(function () {\n e && e.$forceUpdate();\n });\n });\n }, {\n deep: true\n });\n};\n\nVueI18n.prototype.watchLocale = function watchLocale() {\n /* istanbul ignore if */\n if (!this._sync || !this._root) {\n return null;\n }\n\n var target = this._vm;\n return this._root.$i18n.vm.$watch('locale', function (val) {\n target.$set(target, 'locale', val);\n target.$forceUpdate();\n }, {\n immediate: true\n });\n};\n\nVueI18n.prototype.onComponentInstanceCreated = function onComponentInstanceCreated(newI18n) {\n if (this._componentInstanceCreatedListener) {\n this._componentInstanceCreatedListener(newI18n, this);\n }\n};\n\nprototypeAccessors.vm.get = function () {\n return this._vm;\n};\n\nprototypeAccessors.messages.get = function () {\n return looseClone(this._getMessages());\n};\n\nprototypeAccessors.dateTimeFormats.get = function () {\n return looseClone(this._getDateTimeFormats());\n};\n\nprototypeAccessors.numberFormats.get = function () {\n return looseClone(this._getNumberFormats());\n};\n\nprototypeAccessors.availableLocales.get = function () {\n return Object.keys(this.messages).sort();\n};\n\nprototypeAccessors.locale.get = function () {\n return this._vm.locale;\n};\n\nprototypeAccessors.locale.set = function (locale) {\n this._vm.$set(this._vm, 'locale', locale);\n};\n\nprototypeAccessors.fallbackLocale.get = function () {\n return this._vm.fallbackLocale;\n};\n\nprototypeAccessors.fallbackLocale.set = function (locale) {\n this._localeChainCache = {};\n\n this._vm.$set(this._vm, 'fallbackLocale', locale);\n};\n\nprototypeAccessors.formatFallbackMessages.get = function () {\n return this._formatFallbackMessages;\n};\n\nprototypeAccessors.formatFallbackMessages.set = function (fallback) {\n this._formatFallbackMessages = fallback;\n};\n\nprototypeAccessors.missing.get = function () {\n return this._missing;\n};\n\nprototypeAccessors.missing.set = function (handler) {\n this._missing = handler;\n};\n\nprototypeAccessors.formatter.get = function () {\n return this._formatter;\n};\n\nprototypeAccessors.formatter.set = function (formatter) {\n this._formatter = formatter;\n};\n\nprototypeAccessors.silentTranslationWarn.get = function () {\n return this._silentTranslationWarn;\n};\n\nprototypeAccessors.silentTranslationWarn.set = function (silent) {\n this._silentTranslationWarn = silent;\n};\n\nprototypeAccessors.silentFallbackWarn.get = function () {\n return this._silentFallbackWarn;\n};\n\nprototypeAccessors.silentFallbackWarn.set = function (silent) {\n this._silentFallbackWarn = silent;\n};\n\nprototypeAccessors.preserveDirectiveContent.get = function () {\n return this._preserveDirectiveContent;\n};\n\nprototypeAccessors.preserveDirectiveContent.set = function (preserve) {\n this._preserveDirectiveContent = preserve;\n};\n\nprototypeAccessors.warnHtmlInMessage.get = function () {\n return this._warnHtmlInMessage;\n};\n\nprototypeAccessors.warnHtmlInMessage.set = function (level) {\n var this$1 = this;\n var orgLevel = this._warnHtmlInMessage;\n this._warnHtmlInMessage = level;\n\n if (orgLevel !== level && (level === 'warn' || level === 'error')) {\n var messages = this._getMessages();\n\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n};\n\nprototypeAccessors.postTranslation.get = function () {\n return this._postTranslation;\n};\n\nprototypeAccessors.postTranslation.set = function (handler) {\n this._postTranslation = handler;\n};\n\nVueI18n.prototype._getMessages = function _getMessages() {\n return this._vm.messages;\n};\n\nVueI18n.prototype._getDateTimeFormats = function _getDateTimeFormats() {\n return this._vm.dateTimeFormats;\n};\n\nVueI18n.prototype._getNumberFormats = function _getNumberFormats() {\n return this._vm.numberFormats;\n};\n\nVueI18n.prototype._warnDefault = function _warnDefault(locale, key, result, vm, values, interpolateMode) {\n if (!isNull(result)) {\n return result;\n }\n\n if (this._missing) {\n var missingRet = this._missing.apply(null, [locale, key, vm, values]);\n\n if (isString(missingRet)) {\n return missingRet;\n }\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Cannot translate the value of keypath '\" + key + \"'. \" + 'Use the value of keypath as default.');\n }\n }\n\n if (this._formatFallbackMessages) {\n var parsedArgs = parseArgs.apply(void 0, values);\n return this._render(key, interpolateMode, parsedArgs.params, key);\n } else {\n return key;\n }\n};\n\nVueI18n.prototype._isFallbackRoot = function _isFallbackRoot(val) {\n return !val && !isNull(this._root) && this._fallbackRoot;\n};\n\nVueI18n.prototype._isSilentFallbackWarn = function _isSilentFallbackWarn(key) {\n return this._silentFallbackWarn instanceof RegExp ? this._silentFallbackWarn.test(key) : this._silentFallbackWarn;\n};\n\nVueI18n.prototype._isSilentFallback = function _isSilentFallback(locale, key) {\n return this._isSilentFallbackWarn(key) && (this._isFallbackRoot() || locale !== this.fallbackLocale);\n};\n\nVueI18n.prototype._isSilentTranslationWarn = function _isSilentTranslationWarn(key) {\n return this._silentTranslationWarn instanceof RegExp ? this._silentTranslationWarn.test(key) : this._silentTranslationWarn;\n};\n\nVueI18n.prototype._interpolate = function _interpolate(locale, message, key, host, interpolateMode, values, visitedLinkStack) {\n if (!message) {\n return null;\n }\n\n var pathRet = this._path.getPathValue(message, key);\n\n if (isArray(pathRet) || isPlainObject(pathRet)) {\n return pathRet;\n }\n\n var ret;\n\n if (isNull(pathRet)) {\n /* istanbul ignore else */\n if (isPlainObject(message)) {\n ret = message[key];\n\n if (!(isString(ret) || isFunction(ret))) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {\n warn(\"Value of key '\" + key + \"' is not a string or function !\");\n }\n\n return null;\n }\n } else {\n return null;\n }\n } else {\n /* istanbul ignore else */\n if (isString(pathRet) || isFunction(pathRet)) {\n ret = pathRet;\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {\n warn(\"Value of key '\" + key + \"' is not a string or function!\");\n }\n\n return null;\n }\n } // Check for the existence of links within the translated string\n\n\n if (isString(ret) && (ret.indexOf('@:') >= 0 || ret.indexOf('@.') >= 0)) {\n ret = this._link(locale, message, ret, host, 'raw', values, visitedLinkStack);\n }\n\n return this._render(ret, interpolateMode, values, key);\n};\n\nVueI18n.prototype._link = function _link(locale, message, str, host, interpolateMode, values, visitedLinkStack) {\n var ret = str; // Match all the links within the local\n // We are going to replace each of\n // them with its translation\n\n var matches = ret.match(linkKeyMatcher);\n\n for (var idx in matches) {\n // ie compatible: filter custom array\n // prototype method\n if (!matches.hasOwnProperty(idx)) {\n continue;\n }\n\n var link = matches[idx];\n var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher);\n var linkPrefix = linkKeyPrefixMatches[0];\n var formatterName = linkKeyPrefixMatches[1]; // Remove the leading @:, @.case: and the brackets\n\n var linkPlaceholder = link.replace(linkPrefix, '').replace(bracketsMatcher, '');\n\n if (includes(visitedLinkStack, linkPlaceholder)) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Circular reference found. \\\"\" + link + \"\\\" is already visited in the chain of \" + visitedLinkStack.reverse().join(' <- '));\n }\n\n return ret;\n }\n\n visitedLinkStack.push(linkPlaceholder); // Translate the link\n\n var translated = this._interpolate(locale, message, linkPlaceholder, host, interpolateMode === 'raw' ? 'string' : interpolateMode, interpolateMode === 'raw' ? undefined : values, visitedLinkStack);\n\n if (this._isFallbackRoot(translated)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(linkPlaceholder)) {\n warn(\"Fall back to translate the link placeholder '\" + linkPlaceholder + \"' with root locale.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n var root = this._root.$i18n;\n translated = root._translate(root._getMessages(), root.locale, root.fallbackLocale, linkPlaceholder, host, interpolateMode, values);\n }\n\n translated = this._warnDefault(locale, linkPlaceholder, translated, host, isArray(values) ? values : [values], interpolateMode);\n\n if (this._modifiers.hasOwnProperty(formatterName)) {\n translated = this._modifiers[formatterName](translated);\n } else if (defaultModifiers.hasOwnProperty(formatterName)) {\n translated = defaultModifiers[formatterName](translated);\n }\n\n visitedLinkStack.pop(); // Replace the link with the translated\n\n ret = !translated ? ret : ret.replace(link, translated);\n }\n\n return ret;\n};\n\nVueI18n.prototype._createMessageContext = function _createMessageContext(values) {\n var _list = isArray(values) ? values : [];\n\n var _named = isObject(values) ? values : {};\n\n var list = function list(index) {\n return _list[index];\n };\n\n var named = function named(key) {\n return _named[key];\n };\n\n return {\n list: list,\n named: named\n };\n};\n\nVueI18n.prototype._render = function _render(message, interpolateMode, values, path) {\n if (isFunction(message)) {\n return message(this._createMessageContext(values));\n }\n\n var ret = this._formatter.interpolate(message, values, path); // If the custom formatter refuses to work - apply the default one\n\n\n if (!ret) {\n ret = defaultFormatter.interpolate(message, values, path);\n } // if interpolateMode is **not** 'string' ('row'),\n // return the compiled data (e.g. ['foo', VNode, 'bar']) with formatter\n\n\n return interpolateMode === 'string' && !isString(ret) ? ret.join('') : ret;\n};\n\nVueI18n.prototype._appendItemToChain = function _appendItemToChain(chain, item, blocks) {\n var follow = false;\n\n if (!includes(chain, item)) {\n follow = true;\n\n if (item) {\n follow = item[item.length - 1] !== '!';\n item = item.replace(/!/g, '');\n chain.push(item);\n\n if (blocks && blocks[item]) {\n follow = blocks[item];\n }\n }\n }\n\n return follow;\n};\n\nVueI18n.prototype._appendLocaleToChain = function _appendLocaleToChain(chain, locale, blocks) {\n var follow;\n var tokens = locale.split('-');\n\n do {\n var item = tokens.join('-');\n follow = this._appendItemToChain(chain, item, blocks);\n tokens.splice(-1, 1);\n } while (tokens.length && follow === true);\n\n return follow;\n};\n\nVueI18n.prototype._appendBlockToChain = function _appendBlockToChain(chain, block, blocks) {\n var follow = true;\n\n for (var i = 0; i < block.length && isBoolean(follow); i++) {\n var locale = block[i];\n\n if (isString(locale)) {\n follow = this._appendLocaleToChain(chain, locale, blocks);\n }\n }\n\n return follow;\n};\n\nVueI18n.prototype._getLocaleChain = function _getLocaleChain(start, fallbackLocale) {\n if (start === '') {\n return [];\n }\n\n if (!this._localeChainCache) {\n this._localeChainCache = {};\n }\n\n var chain = this._localeChainCache[start];\n\n if (!chain) {\n if (!fallbackLocale) {\n fallbackLocale = this.fallbackLocale;\n }\n\n chain = []; // first block defined by start\n\n var block = [start]; // while any intervening block found\n\n while (isArray(block)) {\n block = this._appendBlockToChain(chain, block, fallbackLocale);\n } // last block defined by default\n\n\n var defaults;\n\n if (isArray(fallbackLocale)) {\n defaults = fallbackLocale;\n } else if (isObject(fallbackLocale)) {\n /* $FlowFixMe */\n if (fallbackLocale['default']) {\n defaults = fallbackLocale['default'];\n } else {\n defaults = null;\n }\n } else {\n defaults = fallbackLocale;\n } // convert defaults to array\n\n\n if (isString(defaults)) {\n block = [defaults];\n } else {\n block = defaults;\n }\n\n if (block) {\n this._appendBlockToChain(chain, block, null);\n }\n\n this._localeChainCache[start] = chain;\n }\n\n return chain;\n};\n\nVueI18n.prototype._translate = function _translate(messages, locale, fallback, key, host, interpolateMode, args) {\n var chain = this._getLocaleChain(locale, fallback);\n\n var res;\n\n for (var i = 0; i < chain.length; i++) {\n var step = chain[i];\n res = this._interpolate(step, messages[step], key, host, interpolateMode, args, [key]);\n\n if (!isNull(res)) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with '\" + step + \"' locale.\");\n }\n\n return res;\n }\n }\n\n return null;\n};\n\nVueI18n.prototype._t = function _t(key, _locale, messages, host) {\n var ref;\n var values = [],\n len = arguments.length - 4;\n\n while (len-- > 0) {\n values[len] = arguments[len + 4];\n }\n\n if (!key) {\n return '';\n }\n\n var parsedArgs = parseArgs.apply(void 0, values);\n\n if (this._escapeParameterHtml) {\n parsedArgs.params = escapeParams(parsedArgs.params);\n }\n\n var locale = parsedArgs.locale || _locale;\n\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'string', parsedArgs.params);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with root locale.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return (ref = this._root).$t.apply(ref, [key].concat(values));\n } else {\n ret = this._warnDefault(locale, key, ret, host, values, 'string');\n\n if (this._postTranslation && ret !== null && ret !== undefined) {\n ret = this._postTranslation(ret, key);\n }\n\n return ret;\n }\n};\n\nVueI18n.prototype.t = function t(key) {\n var ref;\n var values = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n values[len] = arguments[len + 1];\n }\n\n return (ref = this)._t.apply(ref, [key, this.locale, this._getMessages(), null].concat(values));\n};\n\nVueI18n.prototype._i = function _i(key, locale, messages, host, values) {\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'raw', values);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Fall back to interpolate the keypath '\" + key + \"' with root locale.\");\n }\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.i(key, locale, values);\n } else {\n return this._warnDefault(locale, key, ret, host, [values], 'raw');\n }\n};\n\nVueI18n.prototype.i = function i(key, locale, values) {\n /* istanbul ignore if */\n if (!key) {\n return '';\n }\n\n if (!isString(locale)) {\n locale = this.locale;\n }\n\n return this._i(key, locale, this._getMessages(), null, values);\n};\n\nVueI18n.prototype._tc = function _tc(key, _locale, messages, host, choice) {\n var ref;\n var values = [],\n len = arguments.length - 5;\n\n while (len-- > 0) {\n values[len] = arguments[len + 5];\n }\n\n if (!key) {\n return '';\n }\n\n if (choice === undefined) {\n choice = 1;\n }\n\n var predefined = {\n 'count': choice,\n 'n': choice\n };\n var parsedArgs = parseArgs.apply(void 0, values);\n parsedArgs.params = Object.assign(predefined, parsedArgs.params);\n values = parsedArgs.locale === null ? [parsedArgs.params] : [parsedArgs.locale, parsedArgs.params];\n return this.fetchChoice((ref = this)._t.apply(ref, [key, _locale, messages, host].concat(values)), choice);\n};\n\nVueI18n.prototype.fetchChoice = function fetchChoice(message, choice) {\n /* istanbul ignore if */\n if (!message || !isString(message)) {\n return null;\n }\n\n var choices = message.split('|');\n choice = this.getChoiceIndex(choice, choices.length);\n\n if (!choices[choice]) {\n return message;\n }\n\n return choices[choice].trim();\n};\n\nVueI18n.prototype.tc = function tc(key, choice) {\n var ref;\n var values = [],\n len = arguments.length - 2;\n\n while (len-- > 0) {\n values[len] = arguments[len + 2];\n }\n\n return (ref = this)._tc.apply(ref, [key, this.locale, this._getMessages(), null, choice].concat(values));\n};\n\nVueI18n.prototype._te = function _te(key, locale, messages) {\n var args = [],\n len = arguments.length - 3;\n\n while (len-- > 0) {\n args[len] = arguments[len + 3];\n }\n\n var _locale = parseArgs.apply(void 0, args).locale || locale;\n\n return this._exist(messages[_locale], key);\n};\n\nVueI18n.prototype.te = function te(key, locale) {\n return this._te(key, this.locale, this._getMessages(), locale);\n};\n\nVueI18n.prototype.getLocaleMessage = function getLocaleMessage(locale) {\n return looseClone(this._vm.messages[locale] || {});\n};\n\nVueI18n.prototype.setLocaleMessage = function setLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n }\n\n this._vm.$set(this._vm.messages, locale, message);\n};\n\nVueI18n.prototype.mergeLocaleMessage = function mergeLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n }\n\n this._vm.$set(this._vm.messages, locale, merge(typeof this._vm.messages[locale] !== 'undefined' && Object.keys(this._vm.messages[locale]).length ? this._vm.messages[locale] : {}, message));\n};\n\nVueI18n.prototype.getDateTimeFormat = function getDateTimeFormat(locale) {\n return looseClone(this._vm.dateTimeFormats[locale] || {});\n};\n\nVueI18n.prototype.setDateTimeFormat = function setDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, format);\n\n this._clearDateTimeFormat(locale, format);\n};\n\nVueI18n.prototype.mergeDateTimeFormat = function mergeDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, merge(this._vm.dateTimeFormats[locale] || {}, format));\n\n this._clearDateTimeFormat(locale, format);\n};\n\nVueI18n.prototype._clearDateTimeFormat = function _clearDateTimeFormat(locale, format) {\n for (var key in format) {\n var id = locale + \"__\" + key;\n\n if (!this._dateTimeFormatters.hasOwnProperty(id)) {\n continue;\n }\n\n delete this._dateTimeFormatters[id];\n }\n};\n\nVueI18n.prototype._localizeDateTime = function _localizeDateTime(value, locale, fallback, dateTimeFormats, key) {\n var _locale = locale;\n var formats = dateTimeFormats[_locale];\n\n var chain = this._getLocaleChain(locale, fallback);\n\n for (var i = 0; i < chain.length; i++) {\n var current = _locale;\n var step = chain[i];\n formats = dateTimeFormats[step];\n _locale = step; // fallback locale\n\n if (isNull(formats) || isNull(formats[key])) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to '\" + step + \"' datetime formats from '\" + current + \"' datetime formats.\");\n }\n } else {\n break;\n }\n }\n\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var id = _locale + \"__\" + key;\n var formatter = this._dateTimeFormatters[id];\n\n if (!formatter) {\n formatter = this._dateTimeFormatters[id] = new Intl.DateTimeFormat(_locale, format);\n }\n\n return formatter.format(value);\n }\n};\n\nVueI18n.prototype._d = function _d(value, locale, key) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && !VueI18n.availabilities.dateTimeFormat) {\n warn('Cannot format a Date value due to not supported Intl.DateTimeFormat.');\n return '';\n }\n\n if (!key) {\n return new Intl.DateTimeFormat(locale).format(value);\n }\n\n var ret = this._localizeDateTime(value, locale, this.fallbackLocale, this._getDateTimeFormats(), key);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to datetime localization of root: key '\" + key + \"'.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.d(value, key, locale);\n } else {\n return ret || '';\n }\n};\n\nVueI18n.prototype.d = function d(value) {\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n var locale = this.locale;\n var key = null;\n\n if (args.length === 1) {\n if (isString(args[0])) {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n\n if (args[0].key) {\n key = args[0].key;\n }\n }\n } else if (args.length === 2) {\n if (isString(args[0])) {\n key = args[0];\n }\n\n if (isString(args[1])) {\n locale = args[1];\n }\n }\n\n return this._d(value, locale, key);\n};\n\nVueI18n.prototype.getNumberFormat = function getNumberFormat(locale) {\n return looseClone(this._vm.numberFormats[locale] || {});\n};\n\nVueI18n.prototype.setNumberFormat = function setNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, format);\n\n this._clearNumberFormat(locale, format);\n};\n\nVueI18n.prototype.mergeNumberFormat = function mergeNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, merge(this._vm.numberFormats[locale] || {}, format));\n\n this._clearNumberFormat(locale, format);\n};\n\nVueI18n.prototype._clearNumberFormat = function _clearNumberFormat(locale, format) {\n for (var key in format) {\n var id = locale + \"__\" + key;\n\n if (!this._numberFormatters.hasOwnProperty(id)) {\n continue;\n }\n\n delete this._numberFormatters[id];\n }\n};\n\nVueI18n.prototype._getNumberFormatter = function _getNumberFormatter(value, locale, fallback, numberFormats, key, options) {\n var _locale = locale;\n var formats = numberFormats[_locale];\n\n var chain = this._getLocaleChain(locale, fallback);\n\n for (var i = 0; i < chain.length; i++) {\n var current = _locale;\n var step = chain[i];\n formats = numberFormats[step];\n _locale = step; // fallback locale\n\n if (isNull(formats) || isNull(formats[key])) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to '\" + step + \"' number formats from '\" + current + \"' number formats.\");\n }\n } else {\n break;\n }\n }\n\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var formatter;\n\n if (options) {\n // If options specified - create one time number formatter\n formatter = new Intl.NumberFormat(_locale, Object.assign({}, format, options));\n } else {\n var id = _locale + \"__\" + key;\n formatter = this._numberFormatters[id];\n\n if (!formatter) {\n formatter = this._numberFormatters[id] = new Intl.NumberFormat(_locale, format);\n }\n }\n\n return formatter;\n }\n};\n\nVueI18n.prototype._n = function _n(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format a Number value due to not supported Intl.NumberFormat.');\n }\n\n return '';\n }\n\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.format(value);\n }\n\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n\n var ret = formatter && formatter.format(value);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to number localization of root: key '\" + key + \"'.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.n(value, Object.assign({}, {\n key: key,\n locale: locale\n }, options));\n } else {\n return ret || '';\n }\n};\n\nVueI18n.prototype.n = function n(value) {\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n var locale = this.locale;\n var key = null;\n var options = null;\n\n if (args.length === 1) {\n if (isString(args[0])) {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n\n if (args[0].key) {\n key = args[0].key;\n } // Filter out number format options only\n\n\n options = Object.keys(args[0]).reduce(function (acc, key) {\n var obj;\n\n if (includes(numberFormatKeys, key)) {\n return Object.assign({}, acc, (obj = {}, obj[key] = args[0][key], obj));\n }\n\n return acc;\n }, null);\n }\n } else if (args.length === 2) {\n if (isString(args[0])) {\n key = args[0];\n }\n\n if (isString(args[1])) {\n locale = args[1];\n }\n }\n\n return this._n(value, locale, key, options);\n};\n\nVueI18n.prototype._ntp = function _ntp(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format to parts a Number value due to not supported Intl.NumberFormat.');\n }\n\n return [];\n }\n\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.formatToParts(value);\n }\n\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n\n var ret = formatter && formatter.formatToParts(value);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Fall back to format number to parts of root: key '\" + key + \"' .\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n._ntp(value, locale, key, options);\n } else {\n return ret || [];\n }\n};\n\nObject.defineProperties(VueI18n.prototype, prototypeAccessors);\nvar availabilities; // $FlowFixMe\n\nObject.defineProperty(VueI18n, 'availabilities', {\n get: function get() {\n if (!availabilities) {\n var intlDefined = typeof Intl !== 'undefined';\n availabilities = {\n dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',\n numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'\n };\n }\n\n return availabilities;\n }\n});\nVueI18n.install = install;\nVueI18n.version = '8.24.3';\nexport default VueI18n;","export const isAFormMessage = message => message.content_type === 'form';\nexport const isASubmittedFormMessage = (message = {}) =>\n isAFormMessage(message) && !!message.content_attributes?.submitted_values;\n\nexport const MESSAGE_MAX_LENGTH = {\n GENERAL: 10000,\n FACEBOOK: 640,\n TWILIO_SMS: 320,\n TWILIO_WHATSAPP: 1600,\n TWEET: 280,\n};\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar isSymbol = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return Object(it) instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPrimitive(P, true);\n anObject(Attributes);\n if (has(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPrimitive(V, true);\n var enumerable = nativePropertyIsEnumerable.call(this, P);\n if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPrimitive(P, true);\n if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {\n result.push(AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty($Symbol[PROTOTYPE], 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = String(key);\n if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = [it];\n var index = 1;\n var $replacer;\n while (arguments.length > index) args.push(arguments[index++]);\n $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return $stringify.apply(null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {\n createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return FunctionPrototypeToString.call(this).match(nameRE)[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar $startsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","import endPoints from 'widget/api/endPoints';\nimport { API } from 'widget/helpers/axios';\n\nconst createConversationAPI = async content => {\n const urlData = endPoints.createConversation(content);\n const result = await API.post(urlData.url, urlData.params);\n return result;\n};\n\nconst sendMessageAPI = async content => {\n const urlData = endPoints.sendMessage(content);\n const result = await API.post(urlData.url, urlData.params);\n return result;\n};\n\nconst sendAttachmentAPI = async attachment => {\n const urlData = endPoints.sendAttachment(attachment);\n const result = await API.post(urlData.url, urlData.params);\n return result;\n};\n\nconst getMessagesAPI = async ({ before }) => {\n const urlData = endPoints.getConversation({ before });\n const result = await API.get(urlData.url, { params: urlData.params });\n return result;\n};\n\nconst getConversationAPI = async () => {\n return API.get(`/api/v1/widget/conversations${window.location.search}`);\n};\n\nconst toggleTyping = async ({ typingStatus }) => {\n return API.post(\n `/api/v1/widget/conversations/toggle_typing${window.location.search}`,\n { typing_status: typingStatus }\n );\n};\n\nconst setUserLastSeenAt = async ({ lastSeen }) => {\n return API.post(\n `/api/v1/widget/conversations/update_last_seen${window.location.search}`,\n { contact_last_seen_at: lastSeen }\n );\n};\nconst sendEmailTranscript = async ({ email }) => {\n return API.post(\n `/api/v1/widget/conversations/transcript${window.location.search}`,\n { email }\n );\n};\nconst toggleStatus = async () => {\n return API.get(\n `/api/v1/widget/conversations/toggle_status${window.location.search}`\n );\n};\n\nexport {\n createConversationAPI,\n sendMessageAPI,\n getConversationAPI,\n getMessagesAPI,\n sendAttachmentAPI,\n toggleTyping,\n setUserLastSeenAt,\n sendEmailTranscript,\n toggleStatus,\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, UNSUPPORTED_Y);\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var result;\n\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n}","export default function buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}","export default function buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n }\n\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}\n\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n}","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","export default function buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n\n if (!parseResult) {\n return null;\n }\n\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","export const isPhoneE164 = value => !!value.match(/^\\+[1-9]\\d{1,14}$/);\nexport const isPhoneE164OrEmpty = value => isPhoneE164(value) || value === '';\nexport const shouldBeUrl = (value = '') =>\n value ? value.startsWith('http') : true;\nexport const isValidPassword = value => {\n const containsUppercase = /[A-Z]/.test(value);\n const containsLowercase = /[a-z]/.test(value);\n const containsNumber = /[0-9]/.test(value);\n const containsSpecialCharacter = /[!@#$%^&*()_+\\-=[\\]{}|'\"/\\\\.,`<>:;?~]/.test(\n value\n );\n return (\n containsUppercase &&\n containsLowercase &&\n containsNumber &&\n containsSpecialCharacter\n );\n};\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n}\n","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\n\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n\n date.setDate(date.getDate() + amount);\n return date;\n}","import { mapGetters } from 'vuex';\n\nexport default {\n computed: {\n ...mapGetters({ darkMode: 'appConfig/darkMode' }),\n },\n methods: {\n $dm(light, dark) {\n if (this.darkMode === 'light') {\n return light;\n }\n return light + ' ' + dark;\n },\n },\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n return fn.apply(thisArg, args);\n };\n};","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');\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 */\n\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\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\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\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};","'use strict';\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 */\n\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n\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\n return error;\n};","'use strict';\n\nvar utils = require('./../utils');\n\nvar settle = require('./../core/settle');\n\nvar cookies = require('./../helpers/cookies');\n\nvar buildURL = require('./../helpers/buildURL');\n\nvar buildFullPath = require('../core/buildFullPath');\n\nvar parseHeaders = require('./../helpers/parseHeaders');\n\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\n\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 var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest(); // HTTP basic authentication\n\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.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); // Set the request timeout in MS\n\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n } // Prepare the response\n\n\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ? 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 settle(resolve, reject, response); // Clean up request\n\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\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\n\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n } // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n\n\n setTimeout(onloadend);\n };\n } // Handle browser request cancellation (as opposed to a manual cancellation)\n\n\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request)); // Clean up request\n\n request = null;\n }; // Handle low level network errors\n\n\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)); // Clean up request\n\n request = null;\n }; // Handle timeout\n\n\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n\n reject(createError(timeoutErrorMessage, config, config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED', request)); // Clean up request\n\n request = null;\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\n\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n } // Add headers to the request\n\n\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 } // Add withCredentials to request if needed\n\n\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n } // Add responseType to request if needed\n\n\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n } // Handle progress if needed\n\n\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n } // Not all browsers support upload events\n\n\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); // Clean up request\n\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n } // Send the request\n\n\n request.send(requestData);\n });\n};","'use strict';\n\nvar enhanceError = require('./enhanceError');\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 */\n\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};","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};","'use strict';\n\nvar utils = require('../utils');\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 */\n\n\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = ['baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer', 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName', 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress', 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent', 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'];\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\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 utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\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 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 var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys).concat(directMergeKeys);\n var otherKeys = Object.keys(config1).concat(Object.keys(config2)).filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n utils.forEach(otherKeys, mergeDeepProperties);\n return config;\n};","'use strict';\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 */\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;\nmodule.exports = Cancel;","'use strict';\nvar fails = require('../internals/fails');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","export const escapeHtml = (unsafe = '') => {\n return unsafe\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n};\n\nexport const afterSanitizeAttributes = currentNode => {\n if ('target' in currentNode) {\n currentNode.setAttribute('target', '_blank');\n }\n};\n\nexport const domPurifyConfig = {\n hooks: {\n afterSanitizeAttributes,\n },\n};\n","module.exports = require('./lib/axios');","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar has = require('../internals/has');\nvar isObject = require('../internals/is-object');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\n\nif (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);\n var result = this instanceof SymbolWrapper\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;\n symbolPrototype.constructor = SymbolWrapper;\n\n var symbolToString = symbolPrototype.toString;\n var native = String(NativeSymbol('test')) == 'Symbol(test)';\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n defineProperty(symbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = isObject(this) ? this.valueOf() : this;\n var string = symbolToString.call(symbol);\n if (has(EmptyStringDescriptionStore, symbol)) return '';\n var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","const {\n API_CHANNEL_NAME: apiChannelName,\n API_CHANNEL_THUMBNAIL: apiChannelThumbnail,\n APP_VERSION: appVersion,\n BRAND_NAME: brandName,\n CHATWOOT_INBOX_TOKEN: chatwootInboxToken,\n CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard,\n DIRECT_UPLOADS_ENABLED: directUploadsEnabled,\n DISPLAY_MANIFEST: displayManifest,\n HCAPTCHA_SITE_KEY: hCaptchaSiteKey,\n INSTALLATION_NAME: installationName,\n LOGO_THUMBNAIL: logoThumbnail,\n LOGO: logo,\n PRIVACY_URL: privacyURL,\n TERMS_URL: termsURL,\n WIDGET_BRAND_URL: widgetBrandURL,\n DISABLE_USER_PROFILE_UPDATE: disableUserProfileUpdate,\n DEPLOYMENT_ENV: deploymentEnv,\n} = window.globalConfig || {};\n\nconst state = {\n apiChannelName,\n apiChannelThumbnail,\n appVersion,\n brandName,\n chatwootInboxToken,\n deploymentEnv,\n createNewAccountFromDashboard,\n directUploadsEnabled: directUploadsEnabled === 'true',\n disableUserProfileUpdate: disableUserProfileUpdate === 'true',\n displayManifest,\n hCaptchaSiteKey,\n installationName,\n logo,\n logoThumbnail,\n privacyURL,\n termsURL,\n widgetBrandURL,\n};\n\nexport const getters = {\n get: $state => $state,\n isOnChatwootCloud: $state => $state.deploymentEnv === 'cloud',\n isACustomBrandedInstance: $state => $state.installationName !== 'Chatwoot',\n};\n\nexport const actions = {};\n\nexport const mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Vuelidate = Vuelidate;\nexports.validationMixin = exports.default = void 0;\nObject.defineProperty(exports, \"withParams\", {\n enumerable: true,\n get: function get() {\n return _params.withParams;\n }\n});\n\nvar _vval = require(\"./vval\");\n\nvar _params = require(\"./params\");\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nvar NIL = function NIL() {\n return null;\n};\n\nvar buildFromKeys = function buildFromKeys(keys, fn, keyFn) {\n return keys.reduce(function (build, key) {\n build[keyFn ? keyFn(key) : key] = fn(key);\n return build;\n }, {});\n};\n\nfunction isFunction(val) {\n return typeof val === 'function';\n}\n\nfunction isObject(val) {\n return val !== null && (_typeof(val) === 'object' || isFunction(val));\n}\n\nfunction isPromise(object) {\n return isObject(object) && isFunction(object.then);\n}\n\nvar getPath = function getPath(ctx, obj, path, fallback) {\n if (typeof path === 'function') {\n return path.call(ctx, obj, fallback);\n }\n\n path = Array.isArray(path) ? path : path.split('.');\n\n for (var i = 0; i < path.length; i++) {\n if (obj && _typeof(obj) === 'object') {\n obj = obj[path[i]];\n } else {\n return fallback;\n }\n }\n\n return typeof obj === 'undefined' ? fallback : obj;\n};\n\nvar __isVuelidateAsyncVm = '__isVuelidateAsyncVm';\n\nfunction makePendingAsyncVm(Vue, promise) {\n var asyncVm = new Vue({\n data: {\n p: true,\n v: false\n }\n });\n promise.then(function (value) {\n asyncVm.p = false;\n asyncVm.v = value;\n }, function (error) {\n asyncVm.p = false;\n asyncVm.v = false;\n throw error;\n });\n asyncVm[__isVuelidateAsyncVm] = true;\n return asyncVm;\n}\n\nvar validationGetters = {\n $invalid: function $invalid() {\n var _this = this;\n\n var proxy = this.proxy;\n return this.nestedKeys.some(function (nested) {\n return _this.refProxy(nested).$invalid;\n }) || this.ruleKeys.some(function (rule) {\n return !proxy[rule];\n });\n },\n $dirty: function $dirty() {\n var _this2 = this;\n\n if (this.dirty) {\n return true;\n }\n\n if (this.nestedKeys.length === 0) {\n return false;\n }\n\n return this.nestedKeys.every(function (key) {\n return _this2.refProxy(key).$dirty;\n });\n },\n $anyDirty: function $anyDirty() {\n var _this3 = this;\n\n if (this.dirty) {\n return true;\n }\n\n if (this.nestedKeys.length === 0) {\n return false;\n }\n\n return this.nestedKeys.some(function (key) {\n return _this3.refProxy(key).$anyDirty;\n });\n },\n $error: function $error() {\n return this.$dirty && !this.$pending && this.$invalid;\n },\n $anyError: function $anyError() {\n var _this4 = this;\n\n if (this.$error) return true;\n return this.nestedKeys.some(function (key) {\n return _this4.refProxy(key).$anyError;\n });\n },\n $pending: function $pending() {\n var _this5 = this;\n\n return this.ruleKeys.some(function (key) {\n return _this5.getRef(key).$pending;\n }) || this.nestedKeys.some(function (key) {\n return _this5.refProxy(key).$pending;\n });\n },\n $params: function $params() {\n var _this6 = this;\n\n var vals = this.validations;\n return _objectSpread(_objectSpread({}, buildFromKeys(this.nestedKeys, function (key) {\n return vals[key] && vals[key].$params || null;\n })), buildFromKeys(this.ruleKeys, function (key) {\n return _this6.getRef(key).$params;\n }));\n }\n};\n\nfunction setDirtyRecursive(newState) {\n this.dirty = newState;\n var proxy = this.proxy;\n var method = newState ? '$touch' : '$reset';\n this.nestedKeys.forEach(function (key) {\n proxy[key][method]();\n });\n}\n\nvar validationMethods = {\n $touch: function $touch() {\n setDirtyRecursive.call(this, true);\n },\n $reset: function $reset() {\n setDirtyRecursive.call(this, false);\n },\n $flattenParams: function $flattenParams() {\n var proxy = this.proxy;\n var params = [];\n\n for (var key in this.$params) {\n if (this.isNested(key)) {\n var childParams = proxy[key].$flattenParams();\n\n for (var j = 0; j < childParams.length; j++) {\n childParams[j].path.unshift(key);\n }\n\n params = params.concat(childParams);\n } else {\n params.push({\n path: [],\n name: key,\n params: this.$params[key]\n });\n }\n }\n\n return params;\n }\n};\nvar getterNames = Object.keys(validationGetters);\nvar methodNames = Object.keys(validationMethods);\nvar _cachedComponent = null;\n\nvar getComponent = function getComponent(Vue) {\n if (_cachedComponent) {\n return _cachedComponent;\n }\n\n var VBase = Vue.extend({\n computed: {\n refs: function refs() {\n var oldVval = this._vval;\n this._vval = this.children;\n (0, _vval.patchChildren)(oldVval, this._vval);\n var refs = {};\n\n this._vval.forEach(function (c) {\n refs[c.key] = c.vm;\n });\n\n return refs;\n }\n },\n beforeCreate: function beforeCreate() {\n this._vval = null;\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vval) {\n (0, _vval.patchChildren)(this._vval);\n this._vval = null;\n }\n },\n methods: {\n getModel: function getModel() {\n return this.lazyModel ? this.lazyModel(this.prop) : this.model;\n },\n getModelKey: function getModelKey(key) {\n var model = this.getModel();\n\n if (model) {\n return model[key];\n }\n },\n hasIter: function hasIter() {\n return false;\n }\n }\n });\n var ValidationRule = VBase.extend({\n data: function data() {\n return {\n rule: null,\n lazyModel: null,\n model: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: {\n runRule: function runRule(parent) {\n var model = this.getModel();\n (0, _params.pushParams)();\n var rawOutput = this.rule.call(this.rootModel, model, parent);\n var output = isPromise(rawOutput) ? makePendingAsyncVm(Vue, rawOutput) : rawOutput;\n var rawParams = (0, _params.popParams)();\n var params = rawParams && rawParams.$sub ? rawParams.$sub.length > 1 ? rawParams : rawParams.$sub[0] : null;\n return {\n output: output,\n params: params\n };\n }\n },\n computed: {\n run: function run() {\n var _this7 = this;\n\n var parent = this.lazyParentModel();\n\n var isArrayDependant = Array.isArray(parent) && parent.__ob__;\n\n if (isArrayDependant) {\n var arrayDep = parent.__ob__.dep;\n arrayDep.depend();\n var target = arrayDep.constructor.target;\n\n if (!this._indirectWatcher) {\n var Watcher = target.constructor;\n this._indirectWatcher = new Watcher(this, function () {\n return _this7.runRule(parent);\n }, null, {\n lazy: true\n });\n }\n\n var model = this.getModel();\n\n if (!this._indirectWatcher.dirty && this._lastModel === model) {\n this._indirectWatcher.depend();\n\n return target.value;\n }\n\n this._lastModel = model;\n\n this._indirectWatcher.evaluate();\n\n this._indirectWatcher.depend();\n } else if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n\n this._indirectWatcher = null;\n }\n\n return this._indirectWatcher ? this._indirectWatcher.value : this.runRule(parent);\n },\n $params: function $params() {\n return this.run.params;\n },\n proxy: function proxy() {\n var output = this.run.output;\n\n if (output[__isVuelidateAsyncVm]) {\n return !!output.v;\n }\n\n return !!output;\n },\n $pending: function $pending() {\n var output = this.run.output;\n\n if (output[__isVuelidateAsyncVm]) {\n return output.p;\n }\n\n return false;\n }\n },\n destroyed: function destroyed() {\n if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n\n this._indirectWatcher = null;\n }\n }\n });\n var Validation = VBase.extend({\n data: function data() {\n return {\n dirty: false,\n validations: null,\n lazyModel: null,\n model: null,\n prop: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: _objectSpread(_objectSpread({}, validationMethods), {}, {\n refProxy: function refProxy(key) {\n return this.getRef(key).proxy;\n },\n getRef: function getRef(key) {\n return this.refs[key];\n },\n isNested: function isNested(key) {\n return typeof this.validations[key] !== 'function';\n }\n }),\n computed: _objectSpread(_objectSpread({}, validationGetters), {}, {\n nestedKeys: function nestedKeys() {\n return this.keys.filter(this.isNested);\n },\n ruleKeys: function ruleKeys() {\n var _this8 = this;\n\n return this.keys.filter(function (k) {\n return !_this8.isNested(k);\n });\n },\n keys: function keys() {\n return Object.keys(this.validations).filter(function (k) {\n return k !== '$params';\n });\n },\n proxy: function proxy() {\n var _this9 = this;\n\n var keyDefs = buildFromKeys(this.keys, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9.refProxy(key);\n }\n };\n });\n var getterDefs = buildFromKeys(getterNames, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var methodDefs = buildFromKeys(methodNames, function (key) {\n return {\n enumerable: false,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var iterDefs = this.hasIter() ? {\n $iter: {\n enumerable: true,\n value: Object.defineProperties({}, _objectSpread({}, keyDefs))\n }\n } : {};\n return Object.defineProperties({}, _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, keyDefs), iterDefs), {}, {\n $model: {\n enumerable: true,\n get: function get() {\n var parent = _this9.lazyParentModel();\n\n if (parent != null) {\n return parent[_this9.prop];\n } else {\n return null;\n }\n },\n set: function set(value) {\n var parent = _this9.lazyParentModel();\n\n if (parent != null) {\n parent[_this9.prop] = value;\n\n _this9.$touch();\n }\n }\n }\n }, getterDefs), methodDefs));\n },\n children: function children() {\n var _this10 = this;\n\n return [].concat(_toConsumableArray(this.nestedKeys.map(function (key) {\n return renderNested(_this10, key);\n })), _toConsumableArray(this.ruleKeys.map(function (key) {\n return renderRule(_this10, key);\n }))).filter(Boolean);\n }\n })\n });\n var GroupValidation = Validation.extend({\n methods: {\n isNested: function isNested(key) {\n return typeof this.validations[key]() !== 'undefined';\n },\n getRef: function getRef(key) {\n var vm = this;\n return {\n get proxy() {\n return vm.validations[key]() || false;\n }\n\n };\n }\n }\n });\n var EachValidation = Validation.extend({\n computed: {\n keys: function keys() {\n var model = this.getModel();\n\n if (isObject(model)) {\n return Object.keys(model);\n } else {\n return [];\n }\n },\n tracker: function tracker() {\n var _this11 = this;\n\n var trackBy = this.validations.$trackBy;\n return trackBy ? function (key) {\n return \"\".concat(getPath(_this11.rootModel, _this11.getModelKey(key), trackBy));\n } : function (x) {\n return \"\".concat(x);\n };\n },\n getModelLazy: function getModelLazy() {\n var _this12 = this;\n\n return function () {\n return _this12.getModel();\n };\n },\n children: function children() {\n var _this13 = this;\n\n var def = this.validations;\n var model = this.getModel();\n\n var validations = _objectSpread({}, def);\n\n delete validations['$trackBy'];\n var usedTracks = {};\n return this.keys.map(function (key) {\n var track = _this13.tracker(key);\n\n if (usedTracks.hasOwnProperty(track)) {\n return null;\n }\n\n usedTracks[track] = true;\n return (0, _vval.h)(Validation, track, {\n validations: validations,\n prop: key,\n lazyParentModel: _this13.getModelLazy,\n model: model[key],\n rootModel: _this13.rootModel\n });\n }).filter(Boolean);\n }\n },\n methods: {\n isNested: function isNested() {\n return true;\n },\n getRef: function getRef(key) {\n return this.refs[this.tracker(key)];\n },\n hasIter: function hasIter() {\n return true;\n }\n }\n });\n\n var renderNested = function renderNested(vm, key) {\n if (key === '$each') {\n return (0, _vval.h)(EachValidation, key, {\n validations: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n prop: key,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n }\n\n var validations = vm.validations[key];\n\n if (Array.isArray(validations)) {\n var root = vm.rootModel;\n var refVals = buildFromKeys(validations, function (path) {\n return function () {\n return getPath(root, root.$v, path);\n };\n }, function (v) {\n return Array.isArray(v) ? v.join('.') : v;\n });\n return (0, _vval.h)(GroupValidation, key, {\n validations: refVals,\n lazyParentModel: NIL,\n prop: key,\n lazyModel: NIL,\n rootModel: root\n });\n }\n\n return (0, _vval.h)(Validation, key, {\n validations: validations,\n lazyParentModel: vm.getModel,\n prop: key,\n lazyModel: vm.getModelKey,\n rootModel: vm.rootModel\n });\n };\n\n var renderRule = function renderRule(vm, key) {\n return (0, _vval.h)(ValidationRule, key, {\n rule: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n };\n\n _cachedComponent = {\n VBase: VBase,\n Validation: Validation\n };\n return _cachedComponent;\n};\n\nvar _cachedVue = null;\n\nfunction getVue(rootVm) {\n if (_cachedVue) return _cachedVue;\n var Vue = rootVm.constructor;\n\n while (Vue.super) {\n Vue = Vue.super;\n }\n\n _cachedVue = Vue;\n return Vue;\n}\n\nvar validateModel = function validateModel(model, validations) {\n var Vue = getVue(model);\n\n var _getComponent = getComponent(Vue),\n Validation = _getComponent.Validation,\n VBase = _getComponent.VBase;\n\n var root = new VBase({\n computed: {\n children: function children() {\n var vals = typeof validations === 'function' ? validations.call(model) : validations;\n return [(0, _vval.h)(Validation, '$v', {\n validations: vals,\n lazyParentModel: NIL,\n prop: '$v',\n model: model,\n rootModel: model\n })];\n }\n }\n });\n return root;\n};\n\nvar validationMixin = {\n data: function data() {\n var vals = this.$options.validations;\n\n if (vals) {\n this._vuelidate = validateModel(this, vals);\n }\n\n return {};\n },\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n var vals = options.validations;\n if (!vals) return;\n if (!options.computed) options.computed = {};\n if (options.computed.$v) return;\n\n options.computed.$v = function () {\n return this._vuelidate ? this._vuelidate.refs.$v.proxy : null;\n };\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vuelidate) {\n this._vuelidate.$destroy();\n\n this._vuelidate = null;\n }\n }\n};\nexports.validationMixin = validationMixin;\n\nfunction Vuelidate(Vue) {\n Vue.mixin(validationMixin);\n}\n\nvar _default = Vuelidate;\nexports.default = _default;","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vue-router v3.5.2\n * (c) 2021 Evan You\n * @license MIT\n */\n\n/* */\nfunction assert(condition, message) {\n if (!condition) {\n throw new Error(\"[vue-router] \" + message);\n }\n}\n\nfunction warn(condition, message) {\n if (process.env.NODE_ENV !== 'production' && !condition) {\n typeof console !== 'undefined' && console.warn(\"[vue-router] \" + message);\n }\n}\n\nfunction extend(a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n\n return a;\n}\n/* */\n\n\nvar encodeReserveRE = /[!'()*]/g;\n\nvar encodeReserveReplacer = function encodeReserveReplacer(c) {\n return '%' + c.charCodeAt(0).toString(16);\n};\n\nvar commaRE = /%2C/g; // fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\n\nvar encode = function encode(str) {\n return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');\n};\n\nfunction decode(str) {\n try {\n return decodeURIComponent(str);\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\");\n }\n }\n\n return str;\n}\n\nfunction resolveQuery(query, extraQuery, _parseQuery) {\n if (extraQuery === void 0) extraQuery = {};\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n process.env.NODE_ENV !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n\n for (var key in extraQuery) {\n var value = extraQuery[key];\n parsedQuery[key] = Array.isArray(value) ? value.map(castQueryParamValue) : castQueryParamValue(value);\n }\n\n return parsedQuery;\n}\n\nvar castQueryParamValue = function castQueryParamValue(value) {\n return value == null || _typeof(value) === 'object' ? value : String(value);\n};\n\nfunction parseQuery(query) {\n var res = {};\n query = query.trim().replace(/^(\\?|#|&)/, '');\n\n if (!query) {\n return res;\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n return res;\n}\n\nfunction stringifyQuery(obj) {\n var res = obj ? Object.keys(obj).map(function (key) {\n var val = obj[key];\n\n if (val === undefined) {\n return '';\n }\n\n if (val === null) {\n return encode(key);\n }\n\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return;\n }\n\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&');\n }\n\n return encode(key) + '=' + encode(val);\n }).filter(function (x) {\n return x.length > 0;\n }).join('&') : null;\n return res ? \"?\" + res : '';\n}\n/* */\n\n\nvar trailingSlashRE = /\\/?$/;\n\nfunction createRoute(record, location, redirectedFrom, router) {\n var stringifyQuery = router && router.options.stringifyQuery;\n var query = location.query || {};\n\n try {\n query = clone(query);\n } catch (e) {}\n\n var route = {\n name: location.name || record && record.name,\n meta: record && record.meta || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery),\n matched: record ? formatMatch(record) : []\n };\n\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n }\n\n return Object.freeze(route);\n}\n\nfunction clone(value) {\n if (Array.isArray(value)) {\n return value.map(clone);\n } else if (value && _typeof(value) === 'object') {\n var res = {};\n\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n\n return res;\n } else {\n return value;\n }\n} // the starting route that represents the initial state\n\n\nvar START = createRoute(null, {\n path: '/'\n});\n\nfunction formatMatch(record) {\n var res = [];\n\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n\n return res;\n}\n\nfunction getFullPath(ref, _stringifyQuery) {\n var path = ref.path;\n var query = ref.query;\n if (query === void 0) query = {};\n var hash = ref.hash;\n if (hash === void 0) hash = '';\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash;\n}\n\nfunction isSameRoute(a, b, onlyPath) {\n if (b === START) {\n return a === b;\n } else if (!b) {\n return false;\n } else if (a.path && b.path) {\n return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query));\n } else if (a.name && b.name) {\n return a.name === b.name && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query) && isObjectEqual(a.params, b.params));\n } else {\n return false;\n }\n}\n\nfunction isObjectEqual(a, b) {\n if (a === void 0) a = {};\n if (b === void 0) b = {}; // handle null value #1566\n\n if (!a || !b) {\n return a === b;\n }\n\n var aKeys = Object.keys(a).sort();\n var bKeys = Object.keys(b).sort();\n\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n\n return aKeys.every(function (key, i) {\n var aVal = a[key];\n var bKey = bKeys[i];\n\n if (bKey !== key) {\n return false;\n }\n\n var bVal = b[key]; // query values can be null and undefined\n\n if (aVal == null || bVal == null) {\n return aVal === bVal;\n } // check nested equality\n\n\n if (_typeof(aVal) === 'object' && _typeof(bVal) === 'object') {\n return isObjectEqual(aVal, bVal);\n }\n\n return String(aVal) === String(bVal);\n });\n}\n\nfunction isIncludedRoute(current, target) {\n return current.path.replace(trailingSlashRE, '/').indexOf(target.path.replace(trailingSlashRE, '/')) === 0 && (!target.hash || current.hash === target.hash) && queryIncludes(current.query, target.query);\n}\n\nfunction queryIncludes(current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction handleRouteEntered(route) {\n for (var i = 0; i < route.matched.length; i++) {\n var record = route.matched[i];\n\n for (var name in record.instances) {\n var instance = record.instances[name];\n var cbs = record.enteredCbs[name];\n\n if (!instance || !cbs) {\n continue;\n }\n\n delete record.enteredCbs[name];\n\n for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n if (!instance._isBeingDestroyed) {\n cbs[i$1](instance);\n }\n }\n }\n }\n}\n\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n default: 'default'\n }\n },\n render: function render(_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data; // used by devtools to display a router-view badge\n\n data.routerView = true; // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {}); // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n\n var depth = 0;\n var inactive = false;\n\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n\n if (vnodeData.routerView) {\n depth++;\n }\n\n if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n inactive = true;\n }\n\n parent = parent.$parent;\n }\n\n data.routerViewDepth = depth; // render previous view if the tree is inactive and kept-alive\n\n if (inactive) {\n var cachedData = cache[name];\n var cachedComponent = cachedData && cachedData.component;\n\n if (cachedComponent) {\n // #2301\n // pass props\n if (cachedData.configProps) {\n fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n }\n\n return h(cachedComponent, data, children);\n } else {\n // render previous empty view\n return h();\n }\n }\n\n var matched = route.matched[depth];\n var component = matched && matched.components[name]; // render empty node if no matched route or no config component\n\n if (!matched || !component) {\n cache[name] = null;\n return h();\n } // cache component\n\n\n cache[name] = {\n component: component\n }; // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n\n if (val && current !== vm || !val && current === vm) {\n matched.instances[name] = val;\n }\n } // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;\n\n (data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n }; // register instance in init hook\n // in case kept-alive component be actived when routes changed\n\n\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive && vnode.componentInstance && vnode.componentInstance !== matched.instances[name]) {\n matched.instances[name] = vnode.componentInstance;\n } // if the route transition has already been confirmed then we weren't\n // able to call the cbs during confirmation as the component was not\n // registered yet, so we call it here.\n\n\n handleRouteEntered(route);\n };\n\n var configProps = matched.props && matched.props[name]; // save route and configProps in cache\n\n if (configProps) {\n extend(cache[name], {\n route: route,\n configProps: configProps\n });\n fillPropsinData(component, data, route, configProps);\n }\n\n return h(component, data, children);\n }\n};\n\nfunction fillPropsinData(component, data, route, configProps) {\n // resolve props\n var propsToPass = data.props = resolveProps(route, configProps);\n\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass); // pass non-declared props as attrs\n\n var attrs = data.attrs = data.attrs || {};\n\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n}\n\nfunction resolveProps(route, config) {\n switch (_typeof(config)) {\n case 'undefined':\n return;\n\n case 'object':\n return config;\n\n case 'function':\n return config(route);\n\n case 'boolean':\n return config ? route.params : undefined;\n\n default:\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"props in \\\"\" + route.path + \"\\\" is a \" + _typeof(config) + \", \" + \"expecting an object, function or boolean.\");\n }\n\n }\n}\n/* */\n\n\nfunction resolvePath(relative, base, append) {\n var firstChar = relative.charAt(0);\n\n if (firstChar === '/') {\n return relative;\n }\n\n if (firstChar === '?' || firstChar === '#') {\n return base + relative;\n }\n\n var stack = base.split('/'); // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n } // resolve relative path\n\n\n var segments = relative.replace(/^\\//, '').split('/');\n\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n } // ensure leading slash\n\n\n if (stack[0] !== '') {\n stack.unshift('');\n }\n\n return stack.join('/');\n}\n\nfunction parsePath(path) {\n var hash = '';\n var query = '';\n var hashIndex = path.indexOf('#');\n\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n\n var queryIndex = path.indexOf('?');\n\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n\n return {\n path: path,\n query: query,\n hash: hash\n };\n}\n\nfunction cleanPath(path) {\n return path.replace(/\\/\\//g, '/');\n}\n\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n/**\n * Expose `pathToRegexp`.\n */\n\n\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\n\nvar PATH_REGEXP = new RegExp([// Match escaped characters that would otherwise appear in future matches.\n// This allows the user to escape special characters that won't transform.\n'(\\\\\\\\.)', // Match Express-style parameters and un-named parameters with a prefix\n// and optional suffixes. Matches appear as:\n//\n// \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n// \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n// \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n'([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'].join('|'), 'g');\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\n\nfunction parse(str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length; // Ignore already escaped sequences.\n\n if (escaped) {\n path += escaped[1];\n continue;\n }\n\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7]; // Push the current path onto the tokens.\n\n if (path) {\n tokens.push(path);\n path = '';\n }\n\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?'\n });\n } // Match any characters still remaining.\n\n\n if (index < str.length) {\n path += str.substr(index);\n } // If the path exists, push it onto the end.\n\n\n if (path) {\n tokens.push(path);\n }\n\n return tokens;\n}\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\n\n\nfunction compile(str, options) {\n return tokensToFunction(parse(str, options), options);\n}\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\n\n\nfunction encodeURIComponentPretty(str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\n\n\nfunction encodeAsterisk(str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n/**\n * Expose a method for transforming tokens into the path function.\n */\n\n\nfunction tokensToFunction(tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length); // Compile all the patterns before compilation.\n\n for (var i = 0; i < tokens.length; i++) {\n if (_typeof(tokens[i]) === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n continue;\n }\n\n var value = data[token.name];\n var segment;\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined');\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`');\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty');\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`');\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue;\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"');\n }\n\n path += token.prefix + segment;\n }\n\n return path;\n };\n}\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\n\n\nfunction escapeString(str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1');\n}\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\n\n\nfunction escapeGroup(group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1');\n}\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\n\n\nfunction attachKeys(re, keys) {\n re.keys = keys;\n return re;\n}\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\n\n\nfunction flags(options) {\n return options && options.sensitive ? '' : 'i';\n}\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\n\n\nfunction regexpToRegexp(path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n\n return attachKeys(path, keys);\n}\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\n\n\nfunction arrayToRegexp(path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n return attachKeys(regexp, keys);\n}\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\n\n\nfunction stringToRegexp(path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options);\n}\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\n\n\nfunction tokensToRegExp(tokens, keys, options) {\n if (!isarray(keys)) {\n options =\n /** @type {!Object} */\n keys || options;\n keys = [];\n }\n\n options = options || {};\n var strict = options.strict;\n var end = options.end !== false;\n var route = ''; // Iterate over the tokens and create our regexp string.\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n keys.push(token);\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n\n route += capture;\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter; // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys);\n}\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\n\n\nfunction pathToRegexp(path, keys, options) {\n if (!isarray(keys)) {\n options =\n /** @type {!Object} */\n keys || options;\n keys = [];\n }\n\n options = options || {};\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path,\n /** @type {!Array} */\n keys);\n }\n\n if (isarray(path)) {\n return arrayToRegexp(\n /** @type {!Array} */\n path,\n /** @type {!Array} */\n keys, options);\n }\n\n return stringToRegexp(\n /** @type {string} */\n path,\n /** @type {!Array} */\n keys, options);\n}\n\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n/* */\n// $flow-disable-line\n\nvar regexpCompileCache = Object.create(null);\n\nfunction fillParams(path, params, routeMsg) {\n params = params || {};\n\n try {\n var filler = regexpCompileCache[path] || (regexpCompileCache[path] = pathToRegexp_1.compile(path)); // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n\n if (typeof params.pathMatch === 'string') {\n params[0] = params.pathMatch;\n }\n\n return filler(params, {\n pretty: true\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n // Fix #3072 no warn if `pathMatch` is string\n warn(typeof params.pathMatch === 'string', \"missing param for \" + routeMsg + \": \" + e.message);\n }\n\n return '';\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n/* */\n\n\nfunction normalizeLocation(raw, current, append, router) {\n var next = typeof raw === 'string' ? {\n path: raw\n } : raw; // named target\n\n if (next._normalized) {\n return next;\n } else if (next.name) {\n next = extend({}, raw);\n var params = next.params;\n\n if (params && _typeof(params) === 'object') {\n next.params = extend({}, params);\n }\n\n return next;\n } // relative params\n\n\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params$1 = extend(extend({}, current.params), next.params);\n\n if (current.name) {\n next.name = current.name;\n next.params = params$1;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params$1, \"path \" + current.path);\n } else if (process.env.NODE_ENV !== 'production') {\n warn(false, \"relative params navigation requires a current route.\");\n }\n\n return next;\n }\n\n var parsedPath = parsePath(next.path || '');\n var basePath = current && current.path || '/';\n var path = parsedPath.path ? resolvePath(parsedPath.path, basePath, append || next.append) : basePath;\n var query = resolveQuery(parsedPath.query, next.query, router && router.options.parseQuery);\n var hash = next.hash || parsedPath.hash;\n\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n };\n}\n/* */\n// work around weird flow bug\n\n\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\n\nvar noop = function noop() {};\n\nvar warnedCustomSlot;\nvar warnedTagProp;\nvar warnedEventProp;\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n default: 'a'\n },\n custom: Boolean,\n exact: Boolean,\n exactPath: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n ariaCurrentValue: {\n type: String,\n default: 'page'\n },\n event: {\n type: eventTypes,\n default: 'click'\n }\n },\n render: function render(h) {\n var this$1 = this;\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(this.to, current, this.append);\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass; // Support global empty active class\n\n var activeClassFallback = globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback = globalExactActiveClass == null ? 'router-link-exact-active' : globalExactActiveClass;\n var activeClass = this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass = this.exactActiveClass == null ? exactActiveClassFallback : this.exactActiveClass;\n var compareTarget = route.redirectedFrom ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router) : route;\n classes[exactActiveClass] = isSameRoute(current, compareTarget, this.exactPath);\n classes[activeClass] = this.exact || this.exactPath ? classes[exactActiveClass] : isIncludedRoute(current, compareTarget);\n var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n\n var handler = function handler(e) {\n if (guardEvent(e)) {\n if (this$1.replace) {\n router.replace(location, noop);\n } else {\n router.push(location, noop);\n }\n }\n };\n\n var on = {\n click: guardEvent\n };\n\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n\n var data = {\n class: classes\n };\n var scopedSlot = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({\n href: href,\n route: route,\n navigate: handler,\n isActive: classes[activeClass],\n isExactActive: classes[exactActiveClass]\n });\n\n if (scopedSlot) {\n if (process.env.NODE_ENV !== 'production' && !this.custom) {\n !warnedCustomSlot && warn(false, 'In Vue Router 4, the v-slot API will by default wrap its content with an element. Use the custom prop to remove this warning:\\n\\n');\n warnedCustomSlot = true;\n }\n\n if (scopedSlot.length === 1) {\n return scopedSlot[0];\n } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \" with to=\\\"\" + this.to + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\");\n }\n\n return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if ('tag' in this.$options.propsData && !warnedTagProp) {\n warn(false, \"'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n warnedTagProp = true;\n }\n\n if ('event' in this.$options.propsData && !warnedEventProp) {\n warn(false, \"'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n warnedEventProp = true;\n }\n }\n\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = {\n href: href,\n 'aria-current': ariaCurrentValue\n };\n } else {\n // find the first child and apply listener and href\n var a = findAnchor(this.$slots.default);\n\n if (a) {\n // in case the is a static node\n a.isStatic = false;\n var aData = a.data = extend({}, a.data);\n aData.on = aData.on || {}; // transform existing events in both objects into arrays so we can push later\n\n for (var event in aData.on) {\n var handler$1 = aData.on[event];\n\n if (event in on) {\n aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n }\n } // append new listeners for router-link\n\n\n for (var event$1 in on) {\n if (event$1 in aData.on) {\n // on[event] is always a function\n aData.on[event$1].push(on[event$1]);\n } else {\n aData.on[event$1] = handler;\n }\n }\n\n var aAttrs = a.data.attrs = extend({}, a.data.attrs);\n aAttrs.href = href;\n aAttrs['aria-current'] = ariaCurrentValue;\n } else {\n // doesn't have child, apply listener to self\n data.on = on;\n }\n }\n\n return h(this.tag, data, this.$slots.default);\n }\n};\n\nfunction guardEvent(e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) {\n return;\n } // don't redirect when preventDefault called\n\n\n if (e.defaultPrevented) {\n return;\n } // don't redirect on right click\n\n\n if (e.button !== undefined && e.button !== 0) {\n return;\n } // don't redirect if `target=\"_blank\"`\n\n\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n\n if (/\\b_blank\\b/i.test(target)) {\n return;\n }\n } // this may be a Weex event which doesn't have this method\n\n\n if (e.preventDefault) {\n e.preventDefault();\n }\n\n return true;\n}\n\nfunction findAnchor(children) {\n if (children) {\n var child;\n\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n\n if (child.tag === 'a') {\n return child;\n }\n\n if (child.children && (child = findAnchor(child.children))) {\n return child;\n }\n }\n }\n}\n\nvar _Vue;\n\nfunction install(Vue) {\n if (install.installed && _Vue === Vue) {\n return;\n }\n\n install.installed = true;\n _Vue = Vue;\n\n var isDef = function isDef(v) {\n return v !== undefined;\n };\n\n var registerInstance = function registerInstance(vm, callVal) {\n var i = vm.$options._parentVnode;\n\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n\n Vue.mixin({\n beforeCreate: function beforeCreate() {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n\n this._router.init(this);\n\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = this.$parent && this.$parent._routerRoot || this;\n }\n\n registerInstance(this, this);\n },\n destroyed: function destroyed() {\n registerInstance(this);\n }\n });\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get() {\n return this._routerRoot._router;\n }\n });\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get() {\n return this._routerRoot._route;\n }\n });\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n var strats = Vue.config.optionMergeStrategies; // use the same hook merging strategy for route hooks\n\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n/* */\n\n\nvar inBrowser = typeof window !== 'undefined';\n/* */\n\nfunction createRouteMap(routes, oldPathList, oldPathMap, oldNameMap, parentRoute) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || []; // $flow-disable-line\n\n var pathMap = oldPathMap || Object.create(null); // $flow-disable-line\n\n var nameMap = oldNameMap || Object.create(null);\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route, parentRoute);\n }); // ensure wildcard routes are always at the end\n\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n\n if (process.env.NODE_ENV === 'development') {\n // warn if routes do not include leading slashes\n var found = pathList // check for missing leading slash\n .filter(function (path) {\n return path && path.charAt(0) !== '*' && path.charAt(0) !== '/';\n });\n\n if (found.length > 0) {\n var pathNames = found.map(function (path) {\n return \"- \" + path;\n }).join('\\n');\n warn(false, \"Non-nested routes must include a leading slash character. Fix the following routes: \\n\" + pathNames);\n }\n }\n\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n };\n}\n\nfunction addRouteRecord(pathList, pathMap, nameMap, route, parent, matchAs) {\n var path = route.path;\n var name = route.name;\n\n if (process.env.NODE_ENV !== 'production') {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(typeof route.component !== 'string', \"route config \\\"component\\\" for path: \" + String(path || name) + \" cannot be a \" + \"string id. Use an actual component instead.\");\n warn( // eslint-disable-next-line no-control-regex\n !/[^\\u0000-\\u007F]+/.test(path), \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" + \"your path is correctly encoded before passing it to the router. Use \" + \"encodeURI to encode static segments of your path.\");\n }\n\n var pathToRegexpOptions = route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || {\n default: route.component\n },\n alias: route.alias ? typeof route.alias === 'string' ? [route.alias] : route.alias : [],\n instances: {},\n enteredCbs: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props: route.props == null ? {} : route.components ? route.props : {\n default: route.props\n }\n };\n\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (process.env.NODE_ENV !== 'production') {\n if (route.name && !route.redirect && route.children.some(function (child) {\n return /^\\/?$/.test(child.path);\n })) {\n warn(false, \"Named Route '\" + route.name + \"' has a default child route. \" + \"When navigating to this named route (:to=\\\"{name: '\" + route.name + \"'\\\"), \" + \"the default child route will not be rendered. Remove the name from \" + \"this route and use the name of the default child route for named \" + \"links instead.\");\n }\n }\n\n route.children.forEach(function (child) {\n var childMatchAs = matchAs ? cleanPath(matchAs + \"/\" + child.path) : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n\n for (var i = 0; i < aliases.length; ++i) {\n var alias = aliases[i];\n\n if (process.env.NODE_ENV !== 'production' && alias === path) {\n warn(false, \"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\"); // skip in dev to make it work\n\n continue;\n }\n\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(pathList, pathMap, nameMap, aliasRoute, parent, record.path || '/' // matchAs\n );\n }\n }\n\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (process.env.NODE_ENV !== 'production' && !matchAs) {\n warn(false, \"Duplicate named routes definition: \" + \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + record.path + \"\\\" }\");\n }\n }\n}\n\nfunction compileRouteRegex(path, pathToRegexpOptions) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n\n if (process.env.NODE_ENV !== 'production') {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(!keys[key.name], \"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\");\n keys[key.name] = true;\n });\n }\n\n return regex;\n}\n\nfunction normalizePath(path, parent, strict) {\n if (!strict) {\n path = path.replace(/\\/$/, '');\n }\n\n if (path[0] === '/') {\n return path;\n }\n\n if (parent == null) {\n return path;\n }\n\n return cleanPath(parent.path + \"/\" + path);\n}\n/* */\n\n\nfunction createMatcher(routes, router) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n\n function addRoutes(routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n\n function addRoute(parentOrRoute, route) {\n var parent = _typeof(parentOrRoute) !== 'object' ? nameMap[parentOrRoute] : undefined; // $flow-disable-line\n\n createRouteMap([route || parentOrRoute], pathList, pathMap, nameMap, parent); // add aliases of parent\n\n if (parent && parent.alias.length) {\n createRouteMap( // $flow-disable-line route is defined if parent is\n parent.alias.map(function (alias) {\n return {\n path: alias,\n children: [route]\n };\n }), pathList, pathMap, nameMap, parent);\n }\n }\n\n function getRoutes() {\n return pathList.map(function (path) {\n return pathMap[path];\n });\n }\n\n function match(raw, currentRoute, redirectedFrom) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n\n if (name) {\n var record = nameMap[name];\n\n if (process.env.NODE_ENV !== 'production') {\n warn(record, \"Route with name '\" + name + \"' does not exist\");\n }\n\n if (!record) {\n return _createRoute(null, location);\n }\n\n var paramNames = record.regex.keys.filter(function (key) {\n return !key.optional;\n }).map(function (key) {\n return key.name;\n });\n\n if (_typeof(location.params) !== 'object') {\n location.params = {};\n }\n\n if (currentRoute && _typeof(currentRoute.params) === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n\n location.path = fillParams(record.path, location.params, \"named route \\\"\" + name + \"\\\"\");\n return _createRoute(record, location, redirectedFrom);\n } else if (location.path) {\n location.params = {};\n\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom);\n }\n }\n } // no match\n\n\n return _createRoute(null, location);\n }\n\n function redirect(record, location) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function' ? originalRedirect(createRoute(record, location, null, router)) : originalRedirect;\n\n if (typeof redirect === 'string') {\n redirect = {\n path: redirect\n };\n }\n\n if (!redirect || _typeof(redirect) !== 'object') {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n\n return _createRoute(null, location);\n }\n\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n\n if (process.env.NODE_ENV !== 'production') {\n assert(targetRecord, \"redirect failed: named route \\\"\" + name + \"\\\" not found.\");\n }\n\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location);\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record); // 2. resolve params\n\n var resolvedPath = fillParams(rawPath, params, \"redirect route with path \\\"\" + rawPath + \"\\\"\"); // 3. rematch with existing query and hash\n\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n\n return _createRoute(null, location);\n }\n }\n\n function alias(record, location, matchAs) {\n var aliasedPath = fillParams(matchAs, location.params, \"aliased route with path \\\"\" + matchAs + \"\\\"\");\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location);\n }\n\n return _createRoute(null, location);\n }\n\n function _createRoute(record, location, redirectedFrom) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location);\n }\n\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs);\n }\n\n return createRoute(record, location, redirectedFrom, router);\n }\n\n return {\n match: match,\n addRoute: addRoute,\n getRoutes: getRoutes,\n addRoutes: addRoutes\n };\n}\n\nfunction matchRoute(regex, path, params) {\n var m = path.match(regex);\n\n if (!m) {\n return false;\n } else if (!params) {\n return true;\n }\n\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n }\n }\n\n return true;\n}\n\nfunction resolveRecordPath(path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true);\n}\n/* */\n// use User Timing api (if present) for more accurate key precision\n\n\nvar Time = inBrowser && window.performance && window.performance.now ? window.performance : Date;\n\nfunction genStateKey() {\n return Time.now().toFixed(3);\n}\n\nvar _key = genStateKey();\n\nfunction getStateKey() {\n return _key;\n}\n\nfunction setStateKey(key) {\n return _key = key;\n}\n/* */\n\n\nvar positionStore = Object.create(null);\n\nfunction setupScroll() {\n // Prevent browser scroll behavior on History popstate\n if ('scrollRestoration' in window.history) {\n window.history.scrollRestoration = 'manual';\n } // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n // window.location.protocol + '//' + window.location.host\n // location.host contains the port and location.hostname doesn't\n\n\n var protocolAndPath = window.location.protocol + '//' + window.location.host;\n var absolutePath = window.location.href.replace(protocolAndPath, ''); // preserve existing history state as it could be overriden by the user\n\n var stateCopy = extend({}, window.history.state);\n stateCopy.key = getStateKey();\n window.history.replaceState(stateCopy, '', absolutePath);\n window.addEventListener('popstate', handlePopState);\n return function () {\n window.removeEventListener('popstate', handlePopState);\n };\n}\n\nfunction handleScroll(router, to, from, isPop) {\n if (!router.app) {\n return;\n }\n\n var behavior = router.options.scrollBehavior;\n\n if (!behavior) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n } // wait until re-render finishes before scrolling\n\n\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(router, to, from, isPop ? position : null);\n\n if (!shouldScroll) {\n return;\n }\n\n if (typeof shouldScroll.then === 'function') {\n shouldScroll.then(function (shouldScroll) {\n scrollToPosition(shouldScroll, position);\n }).catch(function (err) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\n\nfunction saveScrollPosition() {\n var key = getStateKey();\n\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\n\nfunction handlePopState(e) {\n saveScrollPosition();\n\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n}\n\nfunction getScrollPosition() {\n var key = getStateKey();\n\n if (key) {\n return positionStore[key];\n }\n}\n\nfunction getElementPosition(el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n };\n}\n\nfunction isValidPosition(obj) {\n return isNumber(obj.x) || isNumber(obj.y);\n}\n\nfunction normalizePosition(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n };\n}\n\nfunction normalizeOffset(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n };\n}\n\nfunction isNumber(v) {\n return typeof v === 'number';\n}\n\nvar hashStartsWithNumberRE = /^#\\d/;\n\nfunction scrollToPosition(shouldScroll, position) {\n var isObject = _typeof(shouldScroll) === 'object';\n\n if (isObject && typeof shouldScroll.selector === 'string') {\n // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n : document.querySelector(shouldScroll.selector);\n\n if (el) {\n var offset = shouldScroll.offset && _typeof(shouldScroll.offset) === 'object' ? shouldScroll.offset : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n\n if (position) {\n // $flow-disable-line\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n left: position.x,\n top: position.y,\n // $flow-disable-line\n behavior: shouldScroll.behavior\n });\n } else {\n window.scrollTo(position.x, position.y);\n }\n }\n}\n/* */\n\n\nvar supportsPushState = inBrowser && function () {\n var ua = window.navigator.userAgent;\n\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) {\n return false;\n }\n\n return window.history && typeof window.history.pushState === 'function';\n}();\n\nfunction pushState(url, replace) {\n saveScrollPosition(); // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n\n var history = window.history;\n\n try {\n if (replace) {\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, history.state);\n stateCopy.key = getStateKey();\n history.replaceState(stateCopy, '', url);\n } else {\n history.pushState({\n key: setStateKey(genStateKey())\n }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\n\nfunction replaceState(url) {\n pushState(url, true);\n}\n/* */\n\n\nfunction runQueue(queue, fn, cb) {\n var step = function step(index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n\n step(0);\n} // When changing thing, also edit router.d.ts\n\n\nvar NavigationFailureType = {\n redirected: 2,\n aborted: 4,\n cancelled: 8,\n duplicated: 16\n};\n\nfunction createNavigationRedirectedError(from, to) {\n return createRouterError(from, to, NavigationFailureType.redirected, \"Redirected when going from \\\"\" + from.fullPath + \"\\\" to \\\"\" + stringifyRoute(to) + \"\\\" via a navigation guard.\");\n}\n\nfunction createNavigationDuplicatedError(from, to) {\n var error = createRouterError(from, to, NavigationFailureType.duplicated, \"Avoided redundant navigation to current location: \\\"\" + from.fullPath + \"\\\".\"); // backwards compatible with the first introduction of Errors\n\n error.name = 'NavigationDuplicated';\n return error;\n}\n\nfunction createNavigationCancelledError(from, to) {\n return createRouterError(from, to, NavigationFailureType.cancelled, \"Navigation cancelled from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" with a new navigation.\");\n}\n\nfunction createNavigationAbortedError(from, to) {\n return createRouterError(from, to, NavigationFailureType.aborted, \"Navigation aborted from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" via a navigation guard.\");\n}\n\nfunction createRouterError(from, to, type, message) {\n var error = new Error(message);\n error._isRouter = true;\n error.from = from;\n error.to = to;\n error.type = type;\n return error;\n}\n\nvar propertiesToLog = ['params', 'query', 'hash'];\n\nfunction stringifyRoute(to) {\n if (typeof to === 'string') {\n return to;\n }\n\n if ('path' in to) {\n return to.path;\n }\n\n var location = {};\n propertiesToLog.forEach(function (key) {\n if (key in to) {\n location[key] = to[key];\n }\n });\n return JSON.stringify(location, null, 2);\n}\n\nfunction isError(err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1;\n}\n\nfunction isNavigationFailure(err, errorType) {\n return isError(err) && err._isRouter && (errorType == null || err.type === errorType);\n}\n/* */\n\n\nfunction resolveAsyncComponents(matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef.default;\n } // save resolved on async factory in case it's used elsewhere\n\n\n def.resolved = typeof resolvedDef === 'function' ? resolvedDef : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n\n if (pending <= 0) {\n next();\n }\n });\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n process.env.NODE_ENV !== 'production' && warn(false, msg);\n\n if (!error) {\n error = isError(reason) ? reason : new Error(msg);\n next(error);\n }\n });\n var res;\n\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n\n if (!hasAsync) {\n next();\n }\n };\n}\n\nfunction flatMapComponents(matched, fn) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return fn(m.components[key], m.instances[key], m, key);\n });\n }));\n}\n\nfunction flatten(arr) {\n return Array.prototype.concat.apply([], arr);\n}\n\nvar hasSymbol = typeof Symbol === 'function' && _typeof(Symbol.toStringTag) === 'symbol';\n\nfunction isESModule(obj) {\n return obj.__esModule || hasSymbol && obj[Symbol.toStringTag] === 'Module';\n} // in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\n\n\nfunction once(fn) {\n var called = false;\n return function () {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n if (called) {\n return;\n }\n\n called = true;\n return fn.apply(this, args);\n };\n}\n/* */\n\n\nvar History = function History(router, base) {\n this.router = router;\n this.base = normalizeBase(base); // start with a route object that stands for \"nowhere\"\n\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n this.listeners = [];\n};\n\nHistory.prototype.listen = function listen(cb) {\n this.cb = cb;\n};\n\nHistory.prototype.onReady = function onReady(cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\n\nHistory.prototype.onError = function onError(errorCb) {\n this.errorCbs.push(errorCb);\n};\n\nHistory.prototype.transitionTo = function transitionTo(location, onComplete, onAbort) {\n var this$1 = this;\n var route; // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n\n try {\n route = this.router.match(location, this.current);\n } catch (e) {\n this.errorCbs.forEach(function (cb) {\n cb(e);\n }); // Exception should still be thrown\n\n throw e;\n }\n\n var prev = this.current;\n this.confirmTransition(route, function () {\n this$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1.ensureURL();\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n }); // fire ready cbs once\n\n if (!this$1.ready) {\n this$1.ready = true;\n this$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n }, function (err) {\n if (onAbort) {\n onAbort(err);\n }\n\n if (err && !this$1.ready) {\n // Initial redirection should not mark the history as ready yet\n // because it's triggered by the redirection instead\n // https://github.com/vuejs/vue-router/issues/3225\n // https://github.com/vuejs/vue-router/issues/3331\n if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n this$1.ready = true;\n this$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n }\n });\n};\n\nHistory.prototype.confirmTransition = function confirmTransition(route, onComplete, onAbort) {\n var this$1 = this;\n var current = this.current;\n this.pending = route;\n\n var abort = function abort(err) {\n // changed after adding errors with\n // https://github.com/vuejs/vue-router/pull/3047 before that change,\n // redirect and aborted navigation would produce an err == null\n if (!isNavigationFailure(err) && isError(err)) {\n if (this$1.errorCbs.length) {\n this$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n warn(false, 'uncaught error during route navigation:');\n console.error(err);\n }\n }\n\n onAbort && onAbort(err);\n };\n\n var lastRouteIndex = route.matched.length - 1;\n var lastCurrentIndex = current.matched.length - 1;\n\n if (isSameRoute(route, current) && // in the case the route map has been dynamically appended to\n lastRouteIndex === lastCurrentIndex && route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]) {\n this.ensureURL();\n return abort(createNavigationDuplicatedError(current, route));\n }\n\n var ref = resolveQueue(this.current.matched, route.matched);\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n var queue = [].concat( // in-component leave guards\n extractLeaveGuards(deactivated), // global before hooks\n this.router.beforeHooks, // in-component update hooks\n extractUpdateHooks(updated), // in-config enter guards\n activated.map(function (m) {\n return m.beforeEnter;\n }), // async components\n resolveAsyncComponents(activated));\n\n var iterator = function iterator(hook, next) {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route));\n }\n\n try {\n hook(route, current, function (to) {\n if (to === false) {\n // next(false) -> abort navigation, ensure current URL\n this$1.ensureURL(true);\n abort(createNavigationAbortedError(current, route));\n } else if (isError(to)) {\n this$1.ensureURL(true);\n abort(to);\n } else if (typeof to === 'string' || _typeof(to) === 'object' && (typeof to.path === 'string' || typeof to.name === 'string')) {\n // next('/') or next({ path: '/' }) -> redirect\n abort(createNavigationRedirectedError(current, route));\n\n if (_typeof(to) === 'object' && to.replace) {\n this$1.replace(to);\n } else {\n this$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n\n runQueue(queue, iterator, function () {\n // wait until async components are resolved before\n // extracting in-component enter guards\n var enterGuards = extractEnterGuards(activated);\n var queue = enterGuards.concat(this$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route));\n }\n\n this$1.pending = null;\n onComplete(route);\n\n if (this$1.router.app) {\n this$1.router.app.$nextTick(function () {\n handleRouteEntered(route);\n });\n }\n });\n });\n};\n\nHistory.prototype.updateRoute = function updateRoute(route) {\n this.current = route;\n this.cb && this.cb(route);\n};\n\nHistory.prototype.setupListeners = function setupListeners() {// Default implementation is empty\n};\n\nHistory.prototype.teardown = function teardown() {\n // clean up event listeners\n // https://github.com/vuejs/vue-router/issues/2341\n this.listeners.forEach(function (cleanupListener) {\n cleanupListener();\n });\n this.listeners = []; // reset current history route\n // https://github.com/vuejs/vue-router/issues/3294\n\n this.current = START;\n this.pending = null;\n};\n\nfunction normalizeBase(base) {\n if (!base) {\n if (inBrowser) {\n // respect tag\n var baseEl = document.querySelector('base');\n base = baseEl && baseEl.getAttribute('href') || '/'; // strip full URL origin\n\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n } // make sure there's the starting slash\n\n\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n } // remove trailing slash\n\n\n return base.replace(/\\/$/, '');\n}\n\nfunction resolveQueue(current, next) {\n var i;\n var max = Math.max(current.length, next.length);\n\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break;\n }\n }\n\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n };\n}\n\nfunction extractGuards(records, name, bind, reverse) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n\n if (guard) {\n return Array.isArray(guard) ? guard.map(function (guard) {\n return bind(guard, instance, match, key);\n }) : bind(guard, instance, match, key);\n }\n });\n return flatten(reverse ? guards.reverse() : guards);\n}\n\nfunction extractGuard(def, key) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n\n return def.options[key];\n}\n\nfunction extractLeaveGuards(deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true);\n}\n\nfunction extractUpdateHooks(updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard);\n}\n\nfunction bindGuard(guard, instance) {\n if (instance) {\n return function boundRouteGuard() {\n return guard.apply(instance, arguments);\n };\n }\n}\n\nfunction extractEnterGuards(activated) {\n return extractGuards(activated, 'beforeRouteEnter', function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key);\n });\n}\n\nfunction bindEnterGuard(guard, match, key) {\n return function routeEnterGuard(to, from, next) {\n return guard(to, from, function (cb) {\n if (typeof cb === 'function') {\n if (!match.enteredCbs[key]) {\n match.enteredCbs[key] = [];\n }\n\n match.enteredCbs[key].push(cb);\n }\n\n next(cb);\n });\n };\n}\n/* */\n\n\nvar HTML5History = /*@__PURE__*/function (History) {\n function HTML5History(router, base) {\n History.call(this, router, base);\n this._startLocation = getLocation(this.base);\n }\n\n if (History) HTML5History.__proto__ = History;\n HTML5History.prototype = Object.create(History && History.prototype);\n HTML5History.prototype.constructor = HTML5History;\n\n HTML5History.prototype.setupListeners = function setupListeners() {\n var this$1 = this;\n\n if (this.listeners.length > 0) {\n return;\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function handleRoutingEvent() {\n var current = this$1.current; // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n\n var location = getLocation(this$1.base);\n\n if (this$1.current === START && location === this$1._startLocation) {\n return;\n }\n\n this$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n };\n\n window.addEventListener('popstate', handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener('popstate', handleRoutingEvent);\n });\n };\n\n HTML5History.prototype.go = function go(n) {\n window.history.go(n);\n };\n\n HTML5History.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.ensureURL = function ensureURL(push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation() {\n return getLocation(this.base);\n };\n\n return HTML5History;\n}(History);\n\nfunction getLocation(base) {\n var path = window.location.pathname;\n var pathLowerCase = path.toLowerCase();\n var baseLowerCase = base.toLowerCase(); // base=\"/a\" shouldn't turn path=\"/app\" into \"/a/pp\"\n // https://github.com/vuejs/vue-router/issues/3555\n // so we ensure the trailing slash in the base\n\n if (base && (pathLowerCase === baseLowerCase || pathLowerCase.indexOf(cleanPath(baseLowerCase + '/')) === 0)) {\n path = path.slice(base.length);\n }\n\n return (path || '/') + window.location.search + window.location.hash;\n}\n/* */\n\n\nvar HashHistory = /*@__PURE__*/function (History) {\n function HashHistory(router, base, fallback) {\n History.call(this, router, base); // check history fallback deeplinking\n\n if (fallback && checkFallback(this.base)) {\n return;\n }\n\n ensureSlash();\n }\n\n if (History) HashHistory.__proto__ = History;\n HashHistory.prototype = Object.create(History && History.prototype);\n HashHistory.prototype.constructor = HashHistory; // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n\n HashHistory.prototype.setupListeners = function setupListeners() {\n var this$1 = this;\n\n if (this.listeners.length > 0) {\n return;\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function handleRoutingEvent() {\n var current = this$1.current;\n\n if (!ensureSlash()) {\n return;\n }\n\n this$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1.router, route, current, true);\n }\n\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n };\n\n var eventType = supportsPushState ? 'popstate' : 'hashchange';\n window.addEventListener(eventType, handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener(eventType, handleRoutingEvent);\n });\n };\n\n HashHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HashHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HashHistory.prototype.go = function go(n) {\n window.history.go(n);\n };\n\n HashHistory.prototype.ensureURL = function ensureURL(push) {\n var current = this.current.fullPath;\n\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n return getHash();\n };\n\n return HashHistory;\n}(History);\n\nfunction checkFallback(base) {\n var location = getLocation(base);\n\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true;\n }\n}\n\nfunction ensureSlash() {\n var path = getHash();\n\n if (path.charAt(0) === '/') {\n return true;\n }\n\n replaceHash('/' + path);\n return false;\n}\n\nfunction getHash() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var index = href.indexOf('#'); // empty path\n\n if (index < 0) {\n return '';\n }\n\n href = href.slice(index + 1);\n return href;\n}\n\nfunction getUrl(path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return base + \"#\" + path;\n}\n\nfunction pushHash(path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\n\nfunction replaceHash(path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n/* */\n\n\nvar AbstractHistory = /*@__PURE__*/function (History) {\n function AbstractHistory(router, base) {\n History.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n\n if (History) AbstractHistory.__proto__ = History;\n AbstractHistory.prototype = Object.create(History && History.prototype);\n AbstractHistory.prototype.constructor = AbstractHistory;\n\n AbstractHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index + 1).concat(route);\n this$1.index++;\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n AbstractHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index).concat(route);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n AbstractHistory.prototype.go = function go(n) {\n var this$1 = this;\n var targetIndex = this.index + n;\n\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return;\n }\n\n var route = this.stack[targetIndex];\n this.confirmTransition(route, function () {\n var prev = this$1.current;\n this$1.index = targetIndex;\n this$1.updateRoute(route);\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n }, function (err) {\n if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n this$1.index = targetIndex;\n }\n });\n };\n\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/';\n };\n\n AbstractHistory.prototype.ensureURL = function ensureURL() {// noop\n };\n\n return AbstractHistory;\n}(History);\n/* */\n\n\nvar VueRouter = function VueRouter(options) {\n if (options === void 0) options = {};\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n var mode = options.mode || 'hash';\n this.fallback = mode === 'history' && !supportsPushState && options.fallback !== false;\n\n if (this.fallback) {\n mode = 'hash';\n }\n\n if (!inBrowser) {\n mode = 'abstract';\n }\n\n this.mode = mode;\n\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break;\n\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break;\n\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break;\n\n default:\n if (process.env.NODE_ENV !== 'production') {\n assert(false, \"invalid mode: \" + mode);\n }\n\n }\n};\n\nvar prototypeAccessors = {\n currentRoute: {\n configurable: true\n }\n};\n\nVueRouter.prototype.match = function match(raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom);\n};\n\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current;\n};\n\nVueRouter.prototype.init = function init(app\n/* Vue component instance */\n) {\n var this$1 = this;\n process.env.NODE_ENV !== 'production' && assert(install.installed, \"not installed. Make sure to call `Vue.use(VueRouter)` \" + \"before creating root instance.\");\n this.apps.push(app); // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1.apps.indexOf(app);\n\n if (index > -1) {\n this$1.apps.splice(index, 1);\n } // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n\n\n if (this$1.app === app) {\n this$1.app = this$1.apps[0] || null;\n }\n\n if (!this$1.app) {\n this$1.history.teardown();\n }\n }); // main app previously initialized\n // return as we don't need to set up new history listener\n\n if (this.app) {\n return;\n }\n\n this.app = app;\n var history = this.history;\n\n if (history instanceof HTML5History || history instanceof HashHistory) {\n var handleInitialScroll = function handleInitialScroll(routeOrError) {\n var from = history.current;\n var expectScroll = this$1.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll && 'fullPath' in routeOrError) {\n handleScroll(this$1, routeOrError, from, false);\n }\n };\n\n var setupListeners = function setupListeners(routeOrError) {\n history.setupListeners();\n handleInitialScroll(routeOrError);\n };\n\n history.transitionTo(history.getCurrentLocation(), setupListeners, setupListeners);\n }\n\n history.listen(function (route) {\n this$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\n\nVueRouter.prototype.beforeEach = function beforeEach(fn) {\n return registerHook(this.beforeHooks, fn);\n};\n\nVueRouter.prototype.beforeResolve = function beforeResolve(fn) {\n return registerHook(this.resolveHooks, fn);\n};\n\nVueRouter.prototype.afterEach = function afterEach(fn) {\n return registerHook(this.afterHooks, fn);\n};\n\nVueRouter.prototype.onReady = function onReady(cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\n\nVueRouter.prototype.onError = function onError(errorCb) {\n this.history.onError(errorCb);\n};\n\nVueRouter.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this; // $flow-disable-line\n\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.push(location, resolve, reject);\n });\n } else {\n this.history.push(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this; // $flow-disable-line\n\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.replace(location, resolve, reject);\n });\n } else {\n this.history.replace(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.go = function go(n) {\n this.history.go(n);\n};\n\nVueRouter.prototype.back = function back() {\n this.go(-1);\n};\n\nVueRouter.prototype.forward = function forward() {\n this.go(1);\n};\n\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents(to) {\n var route = to ? to.matched ? to : this.resolve(to).route : this.currentRoute;\n\n if (!route) {\n return [];\n }\n\n return [].concat.apply([], route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key];\n });\n }));\n};\n\nVueRouter.prototype.resolve = function resolve(to, current, append) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n };\n};\n\nVueRouter.prototype.getRoutes = function getRoutes() {\n return this.matcher.getRoutes();\n};\n\nVueRouter.prototype.addRoute = function addRoute(parentOrRoute, route) {\n this.matcher.addRoute(parentOrRoute, route);\n\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nVueRouter.prototype.addRoutes = function addRoutes(routes) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, 'router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.');\n }\n\n this.matcher.addRoutes(routes);\n\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nObject.defineProperties(VueRouter.prototype, prototypeAccessors);\n\nfunction registerHook(list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n\n if (i > -1) {\n list.splice(i, 1);\n }\n };\n}\n\nfunction createHref(base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path;\n}\n\nVueRouter.install = install;\nVueRouter.version = '3.5.2';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\nVueRouter.START_LOCATION = START;\n\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\n\nexport default VueRouter;","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=style&index=0&id=631303b6&scoped=true&lang=scss&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActions.vue?vue&type=style&index=0&id=062e990a&scoped=true&lang=scss&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewWithHeader.vue?vue&type=style&index=0&id=449a7328&scoped=true&lang=scss&\"","import endPoints from 'widget/api/endPoints';\nimport { API } from 'widget/helpers/axios';\n\nexport const getAvailableAgents = async websiteToken => {\n const urlData = endPoints.getAvailableAgents(websiteToken);\n const result = await API.get(urlData.url, { params: urlData.params });\n return result;\n};\n","import Vue from 'vue';\nimport { getAvailableAgents } from 'widget/api/agent';\nimport * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\n\nconst state = {\n records: [],\n uiFlags: {\n isError: false,\n hasFetched: false,\n },\n};\n\nexport const getters = {\n getHasFetched: $state => $state.uiFlags.hasFetched,\n availableAgents: $state =>\n $state.records.filter(agent => agent.availability_status === 'online'),\n};\n\nexport const actions = {\n fetchAvailableAgents: async ({ commit }, websiteToken) => {\n try {\n const { data } = await getAvailableAgents(websiteToken);\n const { payload = [] } = data;\n commit('setAgents', payload);\n commit('setError', false);\n commit('setHasFetched', true);\n } catch (error) {\n commit('setError', true);\n commit('setHasFetched', true);\n }\n },\n updatePresence: async ({ commit }, data) => {\n commit('updatePresence', data);\n },\n};\n\nexport const mutations = {\n setAgents($state, data) {\n Vue.set($state, 'records', data);\n },\n updatePresence: MutationHelpers.updatePresence,\n setError($state, value) {\n Vue.set($state.uiFlags, 'isError', value);\n },\n setHasFetched($state, value) {\n Vue.set($state.uiFlags, 'hasFetched', value);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","export const CLEAR_CONVERSATION_ATTRIBUTES = 'CLEAR_CONVERSATION_ATTRIBUTES';\nexport const SET_CONVERSATION_ATTRIBUTES = 'SET_CONVERSATION_ATTRIBUTES';\nexport const SET_WIDGET_APP_CONFIG = 'SET_WIDGET_APP_CONFIG';\nexport const SET_WIDGET_COLOR = 'SET_WIDGET_COLOR';\nexport const UPDATE_CONVERSATION_ATTRIBUTES = 'UPDATE_CONVERSATION_ATTRIBUTES';\nexport const TOGGLE_WIDGET_OPEN = 'TOGGLE_WIDGET_OPEN';\nexport const SET_REFERRER_HOST = 'SET_REFERRER_HOST';\nexport const SET_BUBBLE_VISIBILITY = 'SET_BUBBLE_VISIBILITY';\n","import {\n SET_BUBBLE_VISIBILITY,\n SET_REFERRER_HOST,\n SET_WIDGET_APP_CONFIG,\n SET_WIDGET_COLOR,\n TOGGLE_WIDGET_OPEN,\n} from '../types';\n\nconst state = {\n hideMessageBubble: false,\n isCampaignViewClicked: false,\n isWebWidgetTriggered: false,\n isWidgetOpen: false,\n position: 'right',\n referrerHost: '',\n showPopoutButton: false,\n widgetColor: '',\n widgetStyle: 'standard',\n darkMode: 'light',\n};\n\nexport const getters = {\n getAppConfig: $state => $state,\n isRightAligned: $state => $state.position === 'right',\n getHideMessageBubble: $state => $state.hideMessageBubble,\n getIsWidgetOpen: $state => $state.isWidgetOpen,\n getWidgetColor: $state => $state.widgetColor,\n getReferrerHost: $state => $state.referrerHost,\n isWidgetStyleFlat: $state => $state.widgetStyle === 'flat',\n darkMode: $state => $state.darkMode,\n};\n\nexport const actions = {\n setAppConfig(\n { commit },\n {\n showPopoutButton,\n position,\n hideMessageBubble,\n widgetStyle = 'rounded',\n darkMode = 'light',\n }\n ) {\n commit(SET_WIDGET_APP_CONFIG, {\n hideMessageBubble: !!hideMessageBubble,\n position: position || 'right',\n showPopoutButton: !!showPopoutButton,\n widgetStyle,\n darkMode,\n });\n },\n toggleWidgetOpen({ commit }, isWidgetOpen) {\n commit(TOGGLE_WIDGET_OPEN, isWidgetOpen);\n },\n setWidgetColor({ commit }, widgetColor) {\n commit(SET_WIDGET_COLOR, widgetColor);\n },\n setReferrerHost({ commit }, referrerHost) {\n commit(SET_REFERRER_HOST, referrerHost);\n },\n setBubbleVisibility({ commit }, hideMessageBubble) {\n commit(SET_BUBBLE_VISIBILITY, hideMessageBubble);\n },\n};\n\nexport const mutations = {\n [SET_WIDGET_APP_CONFIG]($state, data) {\n $state.showPopoutButton = data.showPopoutButton;\n $state.position = data.position;\n $state.hideMessageBubble = data.hideMessageBubble;\n $state.widgetStyle = data.widgetStyle;\n $state.darkMode = data.darkMode;\n },\n [TOGGLE_WIDGET_OPEN]($state, isWidgetOpen) {\n $state.isWidgetOpen = isWidgetOpen;\n },\n [SET_WIDGET_COLOR]($state, widgetColor) {\n $state.widgetColor = widgetColor;\n },\n [SET_REFERRER_HOST]($state, referrerHost) {\n $state.referrerHost = referrerHost;\n },\n [SET_BUBBLE_VISIBILITY]($state, hideMessageBubble) {\n $state.hideMessageBubble = hideMessageBubble;\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import { API } from 'widget/helpers/axios';\n\nconst buildUrl = endPoint => `/api/v1/${endPoint}${window.location.search}`;\n\nexport default {\n get() {\n return API.get(buildUrl('widget/contact'));\n },\n update(userObject) {\n return API.patch(buildUrl('widget/contact'), userObject);\n },\n setUser(identifier, userObject) {\n return API.patch(buildUrl('widget/contact/set_user'), {\n identifier,\n ...userObject,\n });\n },\n setCustomAttributes(customAttributes = {}) {\n return API.patch(buildUrl('widget/contact'), {\n custom_attributes: customAttributes,\n });\n },\n deleteCustomAttribute(customAttribute) {\n return API.post(buildUrl('widget/contact/destroy_custom_attributes'), {\n custom_attributes: [customAttribute],\n });\n },\n};\n","import { sendMessage } from 'widget/helpers/utils';\nimport ContactsAPI from '../../api/contacts';\nimport { SET_USER_ERROR } from '../../constants/errorTypes';\nimport { setHeader } from '../../helpers/axios';\nconst state = {\n currentUser: {},\n};\n\nconst SET_CURRENT_USER = 'SET_CURRENT_USER';\nconst parseErrorData = error =>\n error && error.response && error.response.data ? error.response.data : error;\nexport const updateWidgetAuthToken = widgetAuthToken => {\n if (widgetAuthToken) {\n setHeader(widgetAuthToken);\n sendMessage({\n event: 'setAuthCookie',\n data: { widgetAuthToken },\n });\n }\n};\n\nexport const getters = {\n getCurrentUser(_state) {\n return _state.currentUser;\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n try {\n const { data } = await ContactsAPI.get();\n commit(SET_CURRENT_USER, data);\n } catch (error) {\n // Ignore error\n }\n },\n update: async ({ dispatch }, { user }) => {\n try {\n await ContactsAPI.update(user);\n dispatch('get');\n } catch (error) {\n // Ignore error\n }\n },\n setUser: async ({ dispatch }, { identifier, user: userObject }) => {\n try {\n const {\n email,\n name,\n avatar_url,\n identifier_hash: identifierHash,\n phone_number,\n company_name,\n city,\n country_code,\n description,\n custom_attributes,\n social_profiles,\n } = userObject;\n const user = {\n email,\n name,\n avatar_url,\n identifier_hash: identifierHash,\n phone_number,\n additional_attributes: {\n company_name,\n city,\n description,\n country_code,\n social_profiles,\n },\n custom_attributes,\n };\n const {\n data: { widget_auth_token: widgetAuthToken },\n } = await ContactsAPI.setUser(identifier, user);\n updateWidgetAuthToken(widgetAuthToken);\n dispatch('get');\n if (identifierHash || widgetAuthToken) {\n dispatch('conversation/clearConversations', {}, { root: true });\n dispatch('conversation/fetchOldConversations', {}, { root: true });\n dispatch('conversationAttributes/getAttributes', {}, { root: true });\n }\n } catch (error) {\n const data = parseErrorData(error);\n sendMessage({ event: 'error', errorType: SET_USER_ERROR, data });\n }\n },\n setCustomAttributes: async (_, customAttributes = {}) => {\n try {\n await ContactsAPI.setCustomAttributes(customAttributes);\n } catch (error) {\n // Ignore error\n }\n },\n deleteCustomAttribute: async (_, customAttribute) => {\n try {\n await ContactsAPI.deleteCustomAttribute(customAttribute);\n } catch (error) {\n // Ignore error\n }\n },\n};\n\nexport const mutations = {\n [SET_CURRENT_USER]($state, user) {\n const { currentUser } = $state;\n $state.currentUser = { ...currentUser, ...user };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import { MESSAGE_TYPE } from 'widget/helpers/constants';\nimport { isASubmittedFormMessage } from 'shared/helpers/MessageTypeHelper';\n\nimport getUuid from '../../../helpers/uuid';\nexport const createTemporaryMessage = ({ attachments, content }) => {\n const timestamp = new Date().getTime() / 1000;\n return {\n id: getUuid(),\n content,\n attachments,\n status: 'in_progress',\n created_at: timestamp,\n message_type: MESSAGE_TYPE.INCOMING,\n };\n};\n\nconst getSenderName = message => (message.sender ? message.sender.name : '');\n\nconst shouldShowAvatar = (message, nextMessage) => {\n const currentSender = getSenderName(message);\n const nextSender = getSenderName(nextMessage);\n\n return (\n currentSender !== nextSender ||\n message.message_type !== nextMessage.message_type ||\n isASubmittedFormMessage(nextMessage)\n );\n};\n\nexport const groupConversationBySender = conversationsForADate =>\n conversationsForADate.map((message, index) => {\n let showAvatar = false;\n const isLastMessage = index === conversationsForADate.length - 1;\n if (isASubmittedFormMessage(message)) {\n showAvatar = false;\n } else if (isLastMessage) {\n showAvatar = true;\n } else {\n const nextMessage = conversationsForADate[index + 1];\n showAvatar = shouldShowAvatar(message, nextMessage);\n }\n return { showAvatar, ...message };\n });\n\nexport const findUndeliveredMessage = (messageInbox, { content }) =>\n Object.values(messageInbox).filter(\n message => message.content === content && message.status === 'in_progress'\n );\n\nexport const getNonDeletedMessages = ({ messages }) => {\n return messages.filter(\n item => !(item.content_attributes && item.content_attributes.deleted)\n );\n};\n","import { MESSAGE_TYPE } from 'widget/helpers/constants';\nimport { groupBy } from 'widget/helpers/utils';\nimport { groupConversationBySender } from './helpers';\nimport { formatUnixDate } from 'shared/helpers/DateHelper';\n\nexport const getters = {\n getAllMessagesLoaded: _state => _state.uiFlags.allMessagesLoaded,\n getIsCreating: _state => _state.uiFlags.isCreating,\n getIsAgentTyping: _state => _state.uiFlags.isAgentTyping,\n getConversation: _state => _state.conversations,\n getConversationSize: _state => Object.keys(_state.conversations).length,\n getEarliestMessage: _state => {\n const conversation = Object.values(_state.conversations);\n if (conversation.length) {\n return conversation[0];\n }\n return {};\n },\n getGroupedConversation: _state => {\n const conversationGroupedByDate = groupBy(\n Object.values(_state.conversations),\n message => formatUnixDate(message.created_at)\n );\n return Object.keys(conversationGroupedByDate).map(date => ({\n date,\n messages: groupConversationBySender(conversationGroupedByDate[date]),\n }));\n },\n getIsFetchingList: _state => _state.uiFlags.isFetchingList,\n getMessageCount: _state => {\n return Object.values(_state.conversations).length;\n },\n getUnreadMessageCount: _state => {\n const { userLastSeenAt } = _state.meta;\n const count = Object.values(_state.conversations).filter(chat => {\n const { created_at: createdAt, message_type: messageType } = chat;\n const isOutGoing = messageType === MESSAGE_TYPE.OUTGOING;\n const hasNotSeen = userLastSeenAt\n ? createdAt * 1000 > userLastSeenAt * 1000\n : true;\n return hasNotSeen && isOutGoing;\n }).length;\n return count;\n },\n getUnreadTextMessages: (_state, _getters) => {\n const unreadCount = _getters.getUnreadMessageCount;\n const allMessages = [...Object.values(_state.conversations)];\n const unreadAgentMessages = allMessages.filter(message => {\n const { message_type: messageType } = message;\n return messageType === MESSAGE_TYPE.OUTGOING;\n });\n const maxUnreadCount = Math.min(unreadCount, 3);\n const allUnreadMessages = unreadAgentMessages.splice(-maxUnreadCount);\n return allUnreadMessages;\n },\n};\n","import {\n createConversationAPI,\n sendMessageAPI,\n getMessagesAPI,\n sendAttachmentAPI,\n toggleTyping,\n setUserLastSeenAt,\n toggleStatus,\n} from 'widget/api/conversation';\n\nimport { createTemporaryMessage, getNonDeletedMessages } from './helpers';\n\nexport const actions = {\n createConversation: async ({ commit, dispatch }, params) => {\n commit('setConversationUIFlag', { isCreating: true });\n try {\n const { data } = await createConversationAPI(params);\n const { messages } = data;\n const [message = {}] = messages;\n commit('pushMessageToConversation', message);\n dispatch('conversationAttributes/getAttributes', {}, { root: true });\n } catch (error) {\n // Ignore error\n } finally {\n commit('setConversationUIFlag', { isCreating: false });\n }\n },\n sendMessage: async ({ dispatch }, params) => {\n const { content } = params;\n const message = createTemporaryMessage({ content });\n\n dispatch('sendMessageWithData', message);\n },\n sendMessageWithData: async ({ commit }, message) => {\n const { id, content, meta = {} } = message;\n\n commit('pushMessageToConversation', message);\n commit('updateMessageMeta', { id, meta: { ...meta, error: '' } });\n try {\n const { data } = await sendMessageAPI(content);\n\n commit('deleteMessage', message.id);\n commit('pushMessageToConversation', { ...data, status: 'sent' });\n } catch (error) {\n commit('pushMessageToConversation', { ...message, status: 'failed' });\n commit('updateMessageMeta', {\n id,\n meta: { ...meta, error: '' },\n });\n }\n },\n\n sendAttachment: async ({ commit }, params) => {\n const {\n attachment: { thumbUrl, fileType },\n meta = {},\n } = params;\n const attachment = {\n thumb_url: thumbUrl,\n data_url: thumbUrl,\n file_type: fileType,\n status: 'in_progress',\n };\n const tempMessage = createTemporaryMessage({\n attachments: [attachment],\n });\n commit('pushMessageToConversation', tempMessage);\n try {\n const { data } = await sendAttachmentAPI(params);\n commit('updateAttachmentMessageStatus', {\n message: data,\n tempId: tempMessage.id,\n });\n commit('pushMessageToConversation', { ...data, status: 'sent' });\n } catch (error) {\n commit('pushMessageToConversation', { ...tempMessage, status: 'failed' });\n commit('updateMessageMeta', {\n id: tempMessage.id,\n meta: { ...meta, error: '' },\n });\n // Show error\n }\n },\n fetchOldConversations: async ({ commit }, { before } = {}) => {\n try {\n commit('setConversationListLoading', true);\n const {\n data: { payload, meta },\n } = await getMessagesAPI({ before });\n const { contact_last_seen_at: lastSeen } = meta;\n const formattedMessages = getNonDeletedMessages({ messages: payload });\n commit('conversation/setMetaUserLastSeenAt', lastSeen, { root: true });\n commit('setMessagesInConversation', formattedMessages);\n commit('setConversationListLoading', false);\n } catch (error) {\n commit('setConversationListLoading', false);\n }\n },\n\n clearConversations: ({ commit }) => {\n commit('clearConversations');\n },\n\n addOrUpdateMessage: async ({ commit }, data) => {\n const { id, content_attributes } = data;\n if (content_attributes && content_attributes.deleted) {\n commit('deleteMessage', id);\n return;\n }\n commit('pushMessageToConversation', data);\n },\n\n toggleAgentTyping({ commit }, data) {\n commit('toggleAgentTypingStatus', data);\n },\n\n toggleUserTyping: async (_, data) => {\n try {\n await toggleTyping(data);\n } catch (error) {\n // IgnoreError\n }\n },\n\n setUserLastSeen: async ({ commit, getters: appGetters }) => {\n if (!appGetters.getConversationSize) {\n return;\n }\n\n const lastSeen = Date.now() / 1000;\n try {\n commit('setMetaUserLastSeenAt', lastSeen);\n await setUserLastSeenAt({ lastSeen });\n } catch (error) {\n // IgnoreError\n }\n },\n\n resolveConversation: async () => {\n await toggleStatus();\n },\n};\n","import Vue from 'vue';\nimport { MESSAGE_TYPE } from 'widget/helpers/constants';\nimport { findUndeliveredMessage } from './helpers';\n\nexport const mutations = {\n clearConversations($state) {\n Vue.set($state, 'conversations', {});\n },\n pushMessageToConversation($state, message) {\n const { id, status, message_type: type } = message;\n\n const messagesInbox = $state.conversations;\n const isMessageIncoming = type === MESSAGE_TYPE.INCOMING;\n const isTemporaryMessage = status === 'in_progress';\n\n if (!isMessageIncoming || isTemporaryMessage) {\n Vue.set(messagesInbox, id, message);\n return;\n }\n\n const [messageInConversation] = findUndeliveredMessage(\n messagesInbox,\n message\n );\n if (!messageInConversation) {\n Vue.set(messagesInbox, id, message);\n } else {\n Vue.delete(messagesInbox, messageInConversation.id);\n Vue.set(messagesInbox, id, message);\n }\n },\n\n updateAttachmentMessageStatus($state, { message, tempId }) {\n const { id } = message;\n const messagesInbox = $state.conversations;\n\n const messageInConversation = messagesInbox[tempId];\n\n if (messageInConversation) {\n Vue.delete(messagesInbox, tempId);\n Vue.set(messagesInbox, id, { ...message });\n }\n },\n\n setConversationUIFlag($state, uiFlags) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...uiFlags,\n };\n },\n\n setConversationListLoading($state, status) {\n $state.uiFlags.isFetchingList = status;\n },\n\n setMessagesInConversation($state, payload) {\n if (!payload.length) {\n $state.uiFlags.allMessagesLoaded = true;\n return;\n }\n\n payload.map(message => Vue.set($state.conversations, message.id, message));\n },\n\n updateMessage($state, { id, content_attributes }) {\n $state.conversations[id] = {\n ...$state.conversations[id],\n content_attributes: {\n ...($state.conversations[id].content_attributes || {}),\n ...content_attributes,\n },\n };\n },\n\n updateMessageMeta($state, { id, meta }) {\n const message = $state.conversations[id];\n if (!message) return;\n\n const newMeta = message.meta ? { ...message.meta, ...meta } : { ...meta };\n Vue.set(message, 'meta', {\n ...newMeta,\n });\n },\n\n deleteMessage($state, id) {\n const messagesInbox = $state.conversations;\n Vue.delete(messagesInbox, id);\n },\n\n toggleAgentTypingStatus($state, { status }) {\n const isTyping = status === 'on';\n $state.uiFlags.isAgentTyping = isTyping;\n },\n\n setMetaUserLastSeenAt($state, lastSeen) {\n $state.meta.userLastSeenAt = lastSeen;\n },\n};\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nconst state = {\n conversations: {},\n meta: {\n userLastSeenAt: undefined,\n },\n uiFlags: {\n allMessagesLoaded: false,\n isFetchingList: false,\n isAgentTyping: false,\n isCreating: false,\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import {\n SET_CONVERSATION_ATTRIBUTES,\n UPDATE_CONVERSATION_ATTRIBUTES,\n CLEAR_CONVERSATION_ATTRIBUTES,\n} from '../types';\nimport { getConversationAPI } from '../../api/conversation';\n\nconst state = {\n id: '',\n status: '',\n};\n\nexport const getters = {\n getConversationParams: $state => $state,\n};\n\nexport const actions = {\n getAttributes: async ({ commit }) => {\n try {\n const { data } = await getConversationAPI();\n const { contact_last_seen_at: lastSeen } = data;\n commit(SET_CONVERSATION_ATTRIBUTES, data);\n commit('conversation/setMetaUserLastSeenAt', lastSeen, { root: true });\n } catch (error) {\n // Ignore error\n }\n },\n update({ commit }, data) {\n commit(UPDATE_CONVERSATION_ATTRIBUTES, data);\n },\n clearConversationAttributes: ({ commit }) => {\n commit('CLEAR_CONVERSATION_ATTRIBUTES');\n },\n};\n\nexport const mutations = {\n [SET_CONVERSATION_ATTRIBUTES]($state, data) {\n $state.id = data.id;\n $state.status = data.status;\n },\n [UPDATE_CONVERSATION_ATTRIBUTES]($state, data) {\n if (data.id === $state.id) {\n $state.id = data.id;\n $state.status = data.status;\n }\n },\n [CLEAR_CONVERSATION_ATTRIBUTES]($state) {\n $state.id = '';\n $state.status = '';\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import { API } from 'widget/helpers/axios';\n\nconst buildUrl = endPoint => `/api/v1/${endPoint}${window.location.search}`;\n\nexport default {\n create(label) {\n return API.post(buildUrl('widget/labels'), { label });\n },\n destroy(label) {\n return API.delete(buildUrl(`widget/labels/${label}`));\n },\n};\n","import conversationLabels from '../../api/conversationLabels';\n\nconst state = {};\n\nexport const getters = {};\n\nexport const actions = {\n create: async (_, label) => {\n try {\n await conversationLabels.create(label);\n } catch (error) {\n // Ingore error\n }\n },\n destroy: async (_, label) => {\n try {\n await conversationLabels.destroy(label);\n } catch (error) {\n // Ingore error\n }\n },\n};\n\nexport const mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import events from 'widget/api/events';\n\nconst actions = {\n create: async (_, { name }) => {\n try {\n await events.create(name);\n } catch (error) {\n // Ignore error\n }\n },\n};\n\nexport default {\n namespaced: true,\n state: {},\n getters: {},\n actions,\n mutations: {},\n};\n","import authEndPoint from 'widget/api/endPoints';\nimport { API } from 'widget/helpers/axios';\n\nexport default {\n update: ({ messageId, email, values }) => {\n const urlData = authEndPoint.updateMessage(messageId);\n return API.patch(urlData.url, {\n contact: { email },\n message: { submitted_values: values },\n });\n },\n};\n","import MessageAPI from '../../api/message';\n\nconst state = {\n uiFlags: {\n isUpdating: false,\n },\n};\n\nexport const getters = {\n getUIFlags: $state => $state.uiFlags,\n};\n\nexport const actions = {\n update: async (\n { commit, dispatch },\n { email, messageId, submittedValues }\n ) => {\n commit('toggleUpdateStatus', true);\n try {\n await MessageAPI.update({\n email,\n messageId,\n values: submittedValues,\n });\n commit(\n 'conversation/updateMessage',\n {\n id: messageId,\n content_attributes: {\n submitted_email: email,\n submitted_values: email ? null : submittedValues,\n },\n },\n { root: true }\n );\n dispatch('contacts/get', {}, { root: true });\n } catch (error) {\n // Ignore error\n }\n commit('toggleUpdateStatus', false);\n },\n};\n\nexport const mutations = {\n toggleUpdateStatus($state, status) {\n $state.uiFlags.isUpdating = status;\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import endPoints from 'widget/api/endPoints';\nimport { API } from 'widget/helpers/axios';\n\nconst getCampaigns = async websiteToken => {\n const urlData = endPoints.getCampaigns(websiteToken);\n const result = await API.get(urlData.url, { params: urlData.params });\n return result;\n};\n\nconst triggerCampaign = async ({\n campaignId,\n websiteToken,\n customAttributes,\n}) => {\n const urlData = endPoints.triggerCampaign({\n websiteToken,\n campaignId,\n customAttributes,\n });\n await API.post(\n urlData.url,\n { ...urlData.data },\n {\n params: urlData.params,\n }\n );\n};\nexport { getCampaigns, triggerCampaign };\n","import store from '../store';\nclass CampaignTimer {\n constructor() {\n this.campaignTimers = [];\n }\n\n initTimers = ({ campaigns }, websiteToken) => {\n this.clearTimers();\n campaigns.forEach(campaign => {\n const { timeOnPage, id: campaignId } = campaign;\n this.campaignTimers[campaignId] = setTimeout(() => {\n store.dispatch('campaign/startCampaign', { campaignId, websiteToken });\n }, timeOnPage * 1000);\n });\n };\n\n clearTimers = () => {\n this.campaignTimers.forEach(timerId => {\n clearTimeout(timerId);\n this.campaignTimers[timerId] = null;\n });\n };\n}\nexport default new CampaignTimer();\n","export const stripTrailingSlash = ({ URL }) => {\n return URL.replace(/\\/$/, '');\n};\n\n// Format all campaigns\nexport const formatCampaigns = ({ campaigns }) => {\n return campaigns.map(item => {\n return {\n id: item.id,\n triggerOnlyDuringBusinessHours:\n item.trigger_only_during_business_hours || false,\n timeOnPage: item?.trigger_rules?.time_on_page,\n url: item?.trigger_rules?.url,\n };\n });\n};\n\n// Filter all campaigns based on current URL and business availability time\nexport const filterCampaigns = ({\n campaigns,\n currentURL,\n isInBusinessHours,\n}) => {\n return campaigns.filter(campaign => {\n const hasMatchingURL =\n stripTrailingSlash({ URL: campaign.url }) ===\n stripTrailingSlash({ URL: currentURL });\n if (!hasMatchingURL) {\n return false;\n }\n if (campaign.triggerOnlyDuringBusinessHours) {\n return isInBusinessHours;\n }\n return true;\n });\n};\n","import Vue from 'vue';\nimport { getCampaigns, triggerCampaign } from 'widget/api/campaign';\nimport campaignTimer from 'widget/helpers/campaignTimer';\nimport {\n formatCampaigns,\n filterCampaigns,\n} from 'widget/helpers/campaignHelper';\nconst state = {\n records: [],\n uiFlags: {\n isError: false,\n },\n activeCampaign: {},\n};\n\nconst resetCampaignTimers = (\n campaigns,\n currentURL,\n websiteToken,\n isInBusinessHours\n) => {\n const formattedCampaigns = formatCampaigns({ campaigns });\n // Find all campaigns that matches the current URL\n const filteredCampaigns = filterCampaigns({\n campaigns: formattedCampaigns,\n currentURL,\n isInBusinessHours,\n });\n campaignTimer.initTimers({ campaigns: filteredCampaigns }, websiteToken);\n};\n\nexport const getters = {\n getCampaigns: $state => $state.records,\n getActiveCampaign: $state => $state.activeCampaign,\n};\n\nexport const actions = {\n fetchCampaigns: async (\n { commit },\n { websiteToken, currentURL, isInBusinessHours }\n ) => {\n try {\n const { data: campaigns } = await getCampaigns(websiteToken);\n commit('setCampaigns', campaigns);\n commit('setError', false);\n resetCampaignTimers(\n campaigns,\n currentURL,\n websiteToken,\n isInBusinessHours\n );\n } catch (error) {\n commit('setError', true);\n }\n },\n initCampaigns: async (\n { getters: { getCampaigns: campaigns }, dispatch },\n { currentURL, websiteToken, isInBusinessHours }\n ) => {\n if (!campaigns.length) {\n dispatch('fetchCampaigns', {\n websiteToken,\n currentURL,\n isInBusinessHours,\n });\n } else {\n resetCampaignTimers(\n campaigns,\n currentURL,\n websiteToken,\n isInBusinessHours\n );\n }\n },\n startCampaign: async (\n {\n commit,\n rootState: {\n appConfig: { isWidgetOpen },\n },\n },\n { websiteToken, campaignId }\n ) => {\n // Disable campaign execution if widget is opened\n if (!isWidgetOpen) {\n const { data: campaigns } = await getCampaigns(websiteToken);\n // Check campaign is disabled or not\n const campaign = campaigns.find(item => item.id === campaignId);\n if (campaign) {\n commit('setActiveCampaign', campaign);\n }\n }\n },\n\n executeCampaign: async (\n { commit },\n { campaignId, websiteToken, customAttributes }\n ) => {\n try {\n commit(\n 'conversation/setConversationUIFlag',\n { isCreating: true },\n { root: true }\n );\n await triggerCampaign({ campaignId, websiteToken, customAttributes });\n commit('setCampaignExecuted', true);\n commit('setActiveCampaign', {});\n } catch (error) {\n commit('setError', true);\n } finally {\n commit(\n 'conversation/setConversationUIFlag',\n { isCreating: false },\n { root: true }\n );\n }\n },\n resetCampaign: async ({ commit }) => {\n try {\n commit('setCampaignExecuted', false);\n commit('setActiveCampaign', {});\n } catch (error) {\n commit('setError', true);\n }\n },\n};\n\nexport const mutations = {\n setCampaigns($state, data) {\n Vue.set($state, 'records', data);\n },\n setActiveCampaign($state, data) {\n Vue.set($state, 'activeCampaign', data);\n },\n setError($state, value) {\n Vue.set($state.uiFlags, 'isError', value);\n },\n setHasFetched($state, value) {\n Vue.set($state.uiFlags, 'hasFetched', value);\n },\n setCampaignExecuted($state, data) {\n Vue.set($state, 'campaignHasExecuted', data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport agent from 'widget/store/modules/agent';\nimport appConfig from 'widget/store/modules/appConfig';\nimport contacts from 'widget/store/modules/contacts';\nimport conversation from 'widget/store/modules/conversation';\nimport conversationAttributes from 'widget/store/modules/conversationAttributes';\nimport conversationLabels from 'widget/store/modules/conversationLabels';\nimport events from 'widget/store/modules/events';\nimport globalConfig from 'shared/store/globalConfig';\nimport message from 'widget/store/modules/message';\nimport campaign from 'widget/store/modules/campaign';\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n modules: {\n agent,\n appConfig,\n contacts,\n conversation,\n conversationAttributes,\n conversationLabels,\n events,\n globalConfig,\n message,\n campaign,\n },\n});\n","export const loadedEventConfig = () => {\n return {\n event: 'loaded',\n config: {\n authToken: window.authToken,\n channelConfig: window.chatwootWebChannel,\n },\n };\n};\n\nexport const getExtraSpaceToScroll = () => {\n // This function calculates the extra space needed for the view to\n // accomodate the height of close button + height of\n // read messages button. So that scrollbar won't appear\n const unreadMessageWrap = document.querySelector('.unread-messages');\n const unreadCloseWrap = document.querySelector('.close-unread-wrap');\n const readViewWrap = document.querySelector('.open-read-view-wrap');\n\n if (!unreadMessageWrap) return 0;\n\n // 24px to compensate the paddings\n let extraHeight = 48 + unreadMessageWrap.scrollHeight;\n if (unreadCloseWrap) extraHeight += unreadCloseWrap.scrollHeight;\n if (readViewWrap) extraHeight += readViewWrap.scrollHeight;\n\n return extraHeight;\n};\n","\n\n\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=420472e2&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.conversationSize && _vm.isFetchingList)?_c('div',{staticClass:\"flex flex-1 items-center h-full bg-black-25 justify-center\"},[_c('spinner',{attrs:{\"size\":\"\"}})],1):_c('div',{staticClass:\"flex flex-col justify-end h-full\",class:{\n 'is-mobile': _vm.isMobile,\n 'is-widget-right': _vm.isRightAligned,\n 'is-bubble-hidden': _vm.hideMessageBubble,\n 'is-flat-design': _vm.isWidgetStyleFlat,\n }},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import BaseActionCableConnector from '../../shared/helpers/BaseActionCableConnector';\nimport { playNewMessageNotificationInWidget } from 'shared/helpers/AudioNotificationHelper';\nimport { ON_AGENT_MESSAGE_RECEIVED } from '../constants/widgetBusEvents';\n\nclass ActionCableConnector extends BaseActionCableConnector {\n constructor(app, pubsubToken) {\n super(app, pubsubToken);\n this.events = {\n 'message.created': this.onMessageCreated,\n 'message.updated': this.onMessageUpdated,\n 'conversation.typing_on': this.onTypingOn,\n 'conversation.typing_off': this.onTypingOff,\n 'conversation.status_changed': this.onStatusChange,\n 'conversation.created': this.onConversationCreated,\n 'presence.update': this.onPresenceUpdate,\n 'contact.merged': this.onContactMerge,\n };\n }\n\n onStatusChange = data => {\n if (data.status === 'resolved') {\n this.app.$store.dispatch('campaign/resetCampaign');\n }\n this.app.$store.dispatch('conversationAttributes/update', data);\n };\n\n onMessageCreated = data => {\n this.app.$store\n .dispatch('conversation/addOrUpdateMessage', data)\n .then(() => window.bus.$emit(ON_AGENT_MESSAGE_RECEIVED));\n if (data.sender_type === 'User') {\n playNewMessageNotificationInWidget();\n }\n };\n\n onMessageUpdated = data => {\n this.app.$store.dispatch('conversation/addOrUpdateMessage', data);\n };\n\n onConversationCreated = () => {\n this.app.$store.dispatch('conversationAttributes/getAttributes');\n };\n\n onPresenceUpdate = data => {\n this.app.$store.dispatch('agent/updatePresence', data.users);\n };\n\n onContactMerge = data => {\n const { pubsub_token: pubsubToken } = data;\n ActionCableConnector.refreshConnector(pubsubToken);\n };\n\n onTypingOn = data => {\n if (data.is_private) {\n return;\n }\n this.clearTimer();\n this.app.$store.dispatch('conversation/toggleAgentTyping', {\n status: 'on',\n });\n this.initTimer();\n };\n\n onTypingOff = () => {\n this.clearTimer();\n this.app.$store.dispatch('conversation/toggleAgentTyping', {\n status: 'off',\n });\n };\n\n clearTimer = () => {\n if (this.CancelTyping) {\n clearTimeout(this.CancelTyping);\n this.CancelTyping = null;\n }\n };\n\n initTimer = () => {\n // Turn off typing automatically after 30 seconds\n this.CancelTyping = setTimeout(() => {\n this.onTypingOff();\n }, 30000);\n };\n}\n\nexport default ActionCableConnector;\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=script&lang=js&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./Banner.vue?vue&type=template&id=631303b6&scoped=true&\"\nimport script from \"./Banner.vue?vue&type=script&lang=js&\"\nexport * from \"./Banner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Banner.vue?vue&type=style&index=0&id=631303b6&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"631303b6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showBannerMessage)?_c('div',{class:(\"banner \" + _vm.bannerType)},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.bannerMessage)+\"\\n \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HeaderActions.vue?vue&type=template&id=062e990a&scoped=true&\"\nimport script from \"./HeaderActions.vue?vue&type=script&lang=js&\"\nexport * from \"./HeaderActions.vue?vue&type=script&lang=js&\"\nimport style0 from \"./HeaderActions.vue?vue&type=style&index=0&id=062e990a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"062e990a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showHeaderActions)?_c('div',{staticClass:\"actions flex items-center\"},[(_vm.conversationStatus === 'open' && _vm.hasEndConversationEnabled)?_c('button',{staticClass:\"button transparent compact\",attrs:{\"title\":_vm.$t('END_CONVERSATION')},on:{\"click\":_vm.resolveConversation}},[_c('fluent-icon',{class:_vm.$dm('text-black-900', 'dark:text-slate-50'),attrs:{\"icon\":\"sign-out\",\"size\":\"22\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.showPopoutButton)?_c('button',{staticClass:\"button transparent compact new-window--button \",on:{\"click\":_vm.popoutWindow}},[_c('fluent-icon',{class:_vm.$dm('text-black-900', 'dark:text-slate-50'),attrs:{\"icon\":\"open\",\"size\":\"22\"}})],1):_vm._e(),_vm._v(\" \"),_c('button',{staticClass:\"button transparent compact close-button\",class:{\n 'rn-close-button': _vm.isRNWebView,\n },on:{\"click\":_vm.closeWindow}},[_c('fluent-icon',{class:_vm.$dm('text-black-900', 'dark:text-slate-50'),attrs:{\"icon\":\"dismiss\",\"size\":\"24\"}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChatHeader.vue?vue&type=template&id=6c1f8204&\"\nimport script from \"./ChatHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./ChatHeader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"flex justify-between p-5 w-full\",class:_vm.$dm('bg-white', 'dark:bg-slate-900')},[_c('div',{staticClass:\"flex items-center\"},[(_vm.showBackButton)?_c('button',{on:{\"click\":_vm.onBackButtonClick}},[_c('fluent-icon',{class:_vm.$dm('text-black-900', 'dark:text-slate-50'),attrs:{\"icon\":\"chevron-left\",\"size\":\"24\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.avatarUrl)?_c('img',{staticClass:\"h-8 w-8 rounded-full mr-3\",attrs:{\"src\":_vm.avatarUrl,\"alt\":\"avatar\"}}):_vm._e(),_vm._v(\" \"),_c('div',[_c('div',{staticClass:\"font-medium text-base flex items-center\",class:_vm.$dm('text-black-900', 'dark:text-slate-50')},[_c('span',{directives:[{name:\"dompurify-html\",rawName:\"v-dompurify-html\",value:(_vm.title),expression:\"title\"}],staticClass:\"mr-1\"}),_vm._v(\" \"),_c('div',{class:(\"h-2 w-2 rounded-full leading-4\\n \" + (_vm.isOnline ? 'bg-green-500' : 'hidden'))})]),_vm._v(\" \"),_c('div',{staticClass:\"text-xs mt-1\",class:_vm.$dm('text-black-700', 'dark:text-slate-400')},[_vm._v(\"\\n \"+_vm._s(_vm.replyWaitMessage)+\"\\n \")])])]),_vm._v(\" \"),_c('header-actions',{attrs:{\"show-popout-button\":_vm.showPopoutButton}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatHeaderExpanded.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatHeaderExpanded.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChatHeaderExpanded.vue?vue&type=template&id=4df278bc&\"\nimport script from \"./ChatHeaderExpanded.vue?vue&type=script&lang=js&\"\nexport * from \"./ChatHeaderExpanded.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"header-expanded py-6 px-5 relative box-border w-full\",class:_vm.$dm('bg-white', 'dark:bg-slate-900')},[_c('div',{staticClass:\"flex items-start\",class:[_vm.avatarUrl ? 'justify-between' : 'justify-end']},[(_vm.avatarUrl)?_c('img',{staticClass:\"h-12 rounded-full\",attrs:{\"src\":_vm.avatarUrl}}):_vm._e(),_vm._v(\" \"),_c('header-actions',{attrs:{\"show-popout-button\":_vm.showPopoutButton}})],1),_vm._v(\" \"),_c('h2',{directives:[{name:\"dompurify-html\",rawName:\"v-dompurify-html\",value:(_vm.introHeading),expression:\"introHeading\"}],staticClass:\"mt-5 text-3xl mb-3 font-normal\",class:_vm.$dm('text-slate-900', 'dark:text-slate-50')}),_vm._v(\" \"),_c('p',{directives:[{name:\"dompurify-html\",rawName:\"v-dompurify-html\",value:(_vm.introBody),expression:\"introBody\"}],staticClass:\"text-lg leading-normal\",class:_vm.$dm('text-slate-700', 'dark:text-slate-200')})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewWithHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewWithHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ViewWithHeader.vue?vue&type=template&id=449a7328&scoped=true&\"\nimport script from \"./ViewWithHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./ViewWithHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ViewWithHeader.vue?vue&type=style&index=0&id=449a7328&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"449a7328\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full h-full flex flex-col\",class:_vm.$dm('bg-slate-50', 'dark:bg-slate-800'),on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.closeWindow($event)}}},[_c('div',{staticClass:\"header-wrap\",class:{\n expanded: !_vm.isHeaderCollapsed,\n collapsed: _vm.isHeaderCollapsed,\n }},[_c('transition',{attrs:{\"enter-active-class\":\"transition-all delay-200 duration-300 ease-in\",\"leave-active-class\":\"transition-all duration-200 ease-out\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[(!_vm.isHeaderCollapsed)?_c('chat-header-expanded',{attrs:{\"intro-heading\":_vm.channelConfig.welcomeTitle,\"intro-body\":_vm.channelConfig.welcomeTagline,\"avatar-url\":_vm.channelConfig.avatarUrl,\"show-popout-button\":_vm.appConfig.showPopoutButton}}):_vm._e(),_vm._v(\" \"),(_vm.isHeaderCollapsed)?_c('chat-header',{attrs:{\"title\":_vm.channelConfig.websiteName,\"avatar-url\":_vm.channelConfig.avatarUrl,\"show-popout-button\":_vm.appConfig.showPopoutButton,\"available-agents\":_vm.availableAgents}}):_vm._e()],1)],1),_vm._v(\" \"),_c('banner'),_vm._v(\" \"),_c('transition',{attrs:{\"enter-active-class\":\"transition-all delay-300 duration-300 ease-in\",\"leave-active-class\":\"transition-all duration-200 ease-out\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('router-view')],1),_vm._v(\" \"),_c('branding',{attrs:{\"disable-branding\":_vm.disableBranding}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\nimport Router from 'vue-router';\nimport ViewWithHeader from './components/layouts/ViewWithHeader.vue';\n\nVue.use(Router);\n\nexport default new Router({\n mode: 'hash',\n routes: [\n {\n path: '/unread-messages',\n name: 'unread-messages',\n component: () => import('./views/UnreadMessages.vue'),\n },\n {\n path: '/campaigns',\n name: 'campaigns',\n component: () => import('./views/Campaigns.vue'),\n },\n {\n path: '/',\n component: ViewWithHeader,\n children: [\n {\n path: '',\n name: 'home',\n component: () => import('./views/Home.vue'),\n },\n {\n path: '/prechat-form',\n name: 'prechat-form',\n component: () => import('./views/PreChatForm.vue'),\n },\n {\n path: '/messages',\n name: 'messages',\n component: () => import('./views/Messages.vue'),\n },\n ],\n },\n ],\n});\n","import Vue from 'vue';\nimport Vuelidate from 'vuelidate';\nimport VueI18n from 'vue-i18n';\nimport VueDOMPurifyHTML from 'vue-dompurify-html';\nimport VueFormulate from '@braid/vue-formulate';\nimport store from '../widget/store';\nimport App from '../widget/App.vue';\nimport ActionCableConnector from '../widget/helpers/actionCable';\nimport i18n from '../widget/i18n';\nimport { isPhoneE164OrEmpty } from 'shared/helpers/Validators';\nimport router from '../widget/router';\nimport { domPurifyConfig } from '../shared/helpers/HTMLSanitizer';\nVue.use(VueI18n);\nVue.use(Vuelidate);\nVue.use(VueDOMPurifyHTML, domPurifyConfig);\n\nconst i18nConfig = new VueI18n({\n locale: 'en',\n messages: i18n,\n});\nVue.use(VueFormulate, {\n rules: {\n isPhoneE164OrEmpty: ({ value }) => isPhoneE164OrEmpty(value),\n },\n classes: {\n outer: 'mb-4 wrapper',\n error: 'text-red-400 mt-2 text-xs font-medium',\n },\n});\n// Event Bus\nwindow.bus = new Vue();\n\nVue.config.productionTip = false;\n\nwindow.onload = () => {\n window.WOOT_WIDGET = new Vue({\n router,\n store,\n i18n: i18nConfig,\n render: h => h(App),\n }).$mount('#app');\n\n window.actionCable = new ActionCableConnector(\n window.WOOT_WIDGET,\n window.chatwootPubsubToken\n );\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : regexp[MATCH];\n return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative(nativeMatch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return windowNames.slice();\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n then = promise.then;\n notify = function () {\n then.call(promise, flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\n};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n}\n\nfunction timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n}\n\nfunction dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/);\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n var dateTimeFormat;\n\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n}\n\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\n\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import toInteger from \"../toInteger/index.js\";\nimport getUTCWeekYear from \"../getUTCWeekYear/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);\n var year = getUTCWeekYear(dirtyDate, dirtyOptions);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, dirtyOptions);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport startOfUTCWeekYear from \"../startOfUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import getUTCISOWeekYear from \"../getUTCISOWeekYear/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport startOfUTCISOWeekYear from \"../startOfUTCISOWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","// This alphabet uses a-z A-Z 0-9 _- symbols.\n// Symbols are generated for smaller size.\n// -_zyxwvutsrqponmlkjihgfedcba9876543210ZYXWVUTSRQPONMLKJIHGFEDCBA\nvar url = '-_'; // Loop from 36 to 0 (from z to a and 9 to 0 in Base36).\n\nvar i = 36;\n\nwhile (i--) {\n // 36 is radix. Number.prototype.toString(36) returns number\n // in Base36 representation. Base36 is like hex, but it uses 0–9 and a-z.\n url += i.toString(36);\n} // Loop from 36 to 10 (from Z to A in Base36).\n\n\ni = 36;\n\nwhile (i-- - 10) {\n url += i.toString(36).toUpperCase();\n}\n/**\n * Generate URL-friendly unique ID. This method use non-secure predictable\n * random generator with bigger collision probability.\n *\n * @param {number} [size=21] The number of symbols in ID.\n *\n * @return {string} Random string.\n *\n * @example\n * const nanoid = require('nanoid/non-secure')\n * model.id = nanoid() //=> \"Uakgb_J5m9g-0JDMbcJqL\"\n *\n * @name nonSecure\n * @function\n */\n\n\nmodule.exports = function (size) {\n var id = '';\n i = size || 21; // Compact alternative for `for (var i = 0; i < size; i++)`\n\n while (i--) {\n // `| 0` is compact and faster alternative for `Math.floor()`\n id += url[Math.random() * 64 | 0];\n }\n\n return id;\n};","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","export default {\n computed: {\n useInboxAvatarForBot() {\n return window.chatwootWidgetDefaults.useInboxAvatarForBot;\n },\n hasAConnectedAgentBot() {\n return !!window.chatwootWebChannel.hasAConnectedAgentBot;\n },\n inboxAvatarUrl() {\n return window.chatwootWebChannel.avatarUrl;\n },\n channelConfig() {\n return window.chatwootWebChannel;\n },\n hasEmojiPickerEnabled() {\n return this.channelConfig.enabledFeatures.includes('emoji_picker');\n },\n hasAttachmentsEnabled() {\n return this.channelConfig.enabledFeatures.includes('attachments');\n },\n hasEndConversationEnabled() {\n return this.channelConfig.enabledFeatures.includes('end_conversation');\n },\n preChatFormEnabled() {\n return window.chatwootWebChannel.preChatFormEnabled;\n },\n preChatFormOptions() {\n let preChatMessage = '';\n const options = window.chatwootWebChannel.preChatFormOptions || {};\n preChatMessage = options.pre_chat_message;\n const { pre_chat_fields: preChatFields = [] } = options;\n return {\n preChatMessage,\n preChatFields,\n };\n },\n shouldShowPreChatForm() {\n const { preChatFields } = this.preChatFormOptions;\n // Check if at least one enabled field in pre-chat fields\n const hasEnabledFields =\n preChatFields.filter(field => field.enabled).length > 0;\n return this.preChatFormEnabled && hasEnabledFields;\n },\n },\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports._setTarget = void 0;\nexports.popParams = popParams;\nexports.pushParams = pushParams;\nexports.target = void 0;\nexports.withParams = withParams;\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nvar stack = [];\nvar target = null;\nexports.target = target;\n\nvar _setTarget = function _setTarget(x) {\n exports.target = target = x;\n};\n\nexports._setTarget = _setTarget;\n\nfunction pushParams() {\n if (target !== null) {\n stack.push(target);\n }\n\n exports.target = target = {};\n}\n\nfunction popParams() {\n var lastTarget = target;\n var newTarget = exports.target = target = stack.pop() || null;\n\n if (newTarget) {\n if (!Array.isArray(newTarget.$sub)) {\n newTarget.$sub = [];\n }\n\n newTarget.$sub.push(lastTarget);\n }\n\n return lastTarget;\n}\n\nfunction addParams(params) {\n if (_typeof(params) === 'object' && !Array.isArray(params)) {\n exports.target = target = _objectSpread(_objectSpread({}, target), params);\n } else {\n throw new Error('params must be an object');\n }\n}\n\nfunction withParamsDirect(params, validator) {\n return withParamsClosure(function (add) {\n return function () {\n add(params);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return validator.apply(this, args);\n };\n });\n}\n\nfunction withParamsClosure(closure) {\n var validator = closure(addParams);\n return function () {\n pushParams();\n\n try {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return validator.apply(this, args);\n } finally {\n popParams();\n }\n };\n}\n\nfunction withParams(paramsOrClosure, maybeValidator) {\n if (_typeof(paramsOrClosure) === 'object' && maybeValidator !== undefined) {\n return withParamsDirect(paramsOrClosure, maybeValidator);\n }\n\n return withParamsClosure(paramsOrClosure);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}","export const ON_AGENT_MESSAGE_RECEIVED = 'ON_AGENT_MESSAGE_RECEIVED';\nexport const ON_UNREAD_MESSAGE_CLICK = 'ON_UNREAD_MESSAGE_CLICK';\nexport const ON_CAMPAIGN_MESSAGE_CLICK = 'ON_CAMPAIGN_MESSAGE_CLICK';\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * vuex v2.1.2\n * (c) 2017 Evan You\n * @license MIT\n */\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.Vuex = factory();\n})(this, function () {\n 'use strict';\n\n var devtoolHook = typeof window !== 'undefined' && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n function devtoolPlugin(store) {\n if (!devtoolHook) {\n return;\n }\n\n store._devtoolHook = devtoolHook;\n devtoolHook.emit('vuex:init', store);\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n });\n }\n\n var applyMixin = function applyMixin(Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n var usesInit = Vue.config._lifecycleHooks.indexOf('init') > -1;\n Vue.mixin(usesInit ? {\n init: vuexInit\n } : {\n beforeCreate: vuexInit\n });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n\n Vue.prototype._init = function (options) {\n if (options === void 0) options = {};\n options.init = options.init ? [vuexInit].concat(options.init) : vuexInit;\n\n _init.call(this, options);\n };\n }\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n\n function vuexInit() {\n var options = this.$options; // store injection\n\n if (options.store) {\n this.$store = options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n };\n\n var mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\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\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n\n if (!module) {\n return;\n }\n\n state = module.context.state;\n getters = module.context.getters;\n }\n\n return typeof val === 'function' ? val.call(this, state, getters) : state[val];\n };\n });\n return res;\n });\n var mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n\n res[key] = function mappedMutation() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n if (namespace && !getModuleByNamespace(this.$store, 'mapMutations', namespace)) {\n return;\n }\n\n return this.$store.commit.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n var mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n\n res[key] = function mappedGetter() {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return;\n }\n\n if (!(val in this.$store.getters)) {\n console.error(\"[vuex] unknown getter: \" + val);\n return;\n }\n\n return this.$store.getters[val];\n };\n });\n return res;\n });\n var mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n\n res[key] = function mappedAction() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n if (namespace && !getModuleByNamespace(this.$store, 'mapActions', namespace)) {\n return;\n }\n\n return this.$store.dispatch.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n\n function normalizeMap(map) {\n return Array.isArray(map) ? map.map(function (key) {\n return {\n key: key,\n val: key\n };\n }) : Object.keys(map).map(function (key) {\n return {\n key: key,\n val: map[key]\n };\n });\n }\n\n function 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\n return fn(namespace, map);\n };\n }\n\n function getModuleByNamespace(store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n\n if (!module) {\n console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n }\n\n return module;\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 */\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} cache\n * @return {*}\n */\n\n /**\n * forEach for object\n */\n\n\n function forEachValue(obj, fn) {\n Object.keys(obj).forEach(function (key) {\n return fn(obj[key], key);\n });\n }\n\n function isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n }\n\n function isPromise(val) {\n return val && typeof val.then === 'function';\n }\n\n function assert(condition, msg) {\n if (!condition) {\n throw new Error(\"[vuex] \" + msg);\n }\n }\n\n var Module = function Module(rawModule, runtime) {\n this.runtime = runtime;\n this._children = Object.create(null);\n this._rawModule = rawModule;\n };\n\n var prototypeAccessors$1 = {\n state: {},\n namespaced: {}\n };\n\n prototypeAccessors$1.state.get = function () {\n return this._rawModule.state || {};\n };\n\n prototypeAccessors$1.namespaced.get = function () {\n return !!this._rawModule.namespaced;\n };\n\n Module.prototype.addChild = function addChild(key, module) {\n this._children[key] = module;\n };\n\n Module.prototype.removeChild = function removeChild(key) {\n delete this._children[key];\n };\n\n Module.prototype.getChild = function getChild(key) {\n return this._children[key];\n };\n\n Module.prototype.update = function update(rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n };\n\n Module.prototype.forEachChild = function forEachChild(fn) {\n forEachValue(this._children, fn);\n };\n\n Module.prototype.forEachGetter = function forEachGetter(fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n };\n\n Module.prototype.forEachAction = function forEachAction(fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n };\n\n Module.prototype.forEachMutation = function forEachMutation(fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n };\n\n Object.defineProperties(Module.prototype, prototypeAccessors$1);\n\n var ModuleCollection = function ModuleCollection(rawRootModule) {\n var this$1 = this; // register root module (Vuex.Store options)\n\n this.root = new Module(rawRootModule, false); // register all nested modules\n\n if (rawRootModule.modules) {\n forEachValue(rawRootModule.modules, function (rawModule, key) {\n this$1.register([key], rawModule, false);\n });\n }\n };\n\n ModuleCollection.prototype.get = function get(path) {\n return path.reduce(function (module, key) {\n return module.getChild(key);\n }, this.root);\n };\n\n ModuleCollection.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\n ModuleCollection.prototype.update = function update$1(rawRootModule) {\n update(this.root, rawRootModule);\n };\n\n ModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n var this$1 = this;\n if (runtime === void 0) runtime = true;\n var parent = this.get(path.slice(0, -1));\n var newModule = new Module(rawModule, runtime);\n parent.addChild(path[path.length - 1], newModule); // register nested modules\n\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n };\n\n ModuleCollection.prototype.unregister = function unregister(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (!parent.getChild(key).runtime) {\n return;\n }\n\n parent.removeChild(key);\n };\n\n function update(targetModule, newModule) {\n // update target module\n targetModule.update(newModule); // update nested modules\n\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n return;\n }\n\n update(targetModule.getChild(key), newModule.modules[key]);\n }\n }\n }\n\n var Vue; // bind on install\n\n var Store = function Store(options) {\n var this$1 = this;\n if (options === void 0) options = {};\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n var state = options.state;\n if (state === void 0) state = {};\n var plugins = options.plugins;\n if (plugins === void 0) plugins = [];\n var strict = options.strict;\n if (strict === void 0) strict = false; // store internal state\n\n this._committing = false;\n this._actions = Object.create(null);\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._watcherVM = new Vue(); // bind commit and dispatch to self\n\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n\n this.dispatch = function boundDispatch(type, payload) {\n return dispatch.call(store, type, payload);\n };\n\n this.commit = function boundCommit(type, payload, options) {\n return commit.call(store, type, payload, options);\n }; // strict mode\n\n\n this.strict = strict; // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n\n installModule(this, state, [], this._modules.root); // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n\n resetStoreVM(this, state); // apply plugins\n\n plugins.concat(devtoolPlugin).forEach(function (plugin) {\n return plugin(this$1);\n });\n };\n\n var prototypeAccessors = {\n state: {}\n };\n\n prototypeAccessors.state.get = function () {\n return this._vm.$data.state;\n };\n\n prototypeAccessors.state.set = function (v) {\n assert(false, \"Use store.replaceState() to explicit replace store state.\");\n };\n\n Store.prototype.commit = function commit(_type, _payload, _options) {\n var this$1 = this; // check object-style commit\n\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n var mutation = {\n type: type,\n payload: payload\n };\n var entry = this._mutations[type];\n\n if (!entry) {\n console.error(\"[vuex] unknown mutation type: \" + type);\n return;\n }\n\n this._withCommit(function () {\n entry.forEach(function commitIterator(handler) {\n handler(payload);\n });\n });\n\n this._subscribers.forEach(function (sub) {\n return sub(mutation, this$1.state);\n });\n\n if (options && options.silent) {\n console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n }\n };\n\n Store.prototype.dispatch = function dispatch(_type, _payload) {\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n var entry = this._actions[type];\n\n if (!entry) {\n console.error(\"[vuex] unknown action type: \" + type);\n return;\n }\n\n return entry.length > 1 ? Promise.all(entry.map(function (handler) {\n return handler(payload);\n })) : entry[0](payload);\n };\n\n Store.prototype.subscribe = function subscribe(fn) {\n var subs = this._subscribers;\n\n if (subs.indexOf(fn) < 0) {\n subs.push(fn);\n }\n\n return function () {\n var i = subs.indexOf(fn);\n\n if (i > -1) {\n subs.splice(i, 1);\n }\n };\n };\n\n Store.prototype.watch = function watch(getter, cb, options) {\n var this$1 = this;\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n return this._watcherVM.$watch(function () {\n return getter(this$1.state, this$1.getters);\n }, cb, options);\n };\n\n Store.prototype.replaceState = function replaceState(state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm.state = state;\n });\n };\n\n Store.prototype.registerModule = function registerModule(path, rawModule) {\n if (typeof path === 'string') {\n path = [path];\n }\n\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n\n this._modules.register(path, rawModule);\n\n installModule(this, this.state, path, this._modules.get(path)); // reset store to update getters...\n\n resetStoreVM(this, this.state);\n };\n\n Store.prototype.unregisterModule = function unregisterModule(path) {\n var this$1 = this;\n\n if (typeof path === 'string') {\n path = [path];\n }\n\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n\n this._modules.unregister(path);\n\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n\n resetStore(this);\n };\n\n Store.prototype.hotUpdate = function hotUpdate(newOptions) {\n this._modules.update(newOptions);\n\n resetStore(this, true);\n };\n\n Store.prototype._withCommit = function _withCommit(fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n };\n\n Object.defineProperties(Store.prototype, prototypeAccessors);\n\n function 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; // init all modules\n\n installModule(store, state, [], store._modules.root, true); // reset vm\n\n resetStoreVM(store, state, hot);\n }\n\n function resetStoreVM(store, state, hot) {\n var oldVm = store._vm; // bind store public getters\n\n store.getters = {};\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n computed[key] = function () {\n return fn(store);\n };\n\n Object.defineProperty(store.getters, key, {\n get: function get() {\n return store._vm[key];\n },\n enumerable: true // for local getters\n\n });\n }); // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n state: state\n },\n computed: computed\n });\n Vue.config.silent = silent; // enable strict mode for new vm\n\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm.state = null;\n });\n }\n\n Vue.nextTick(function () {\n return oldVm.$destroy();\n });\n }\n }\n\n function installModule(store, rootState, path, module, hot) {\n var isRoot = !path.length;\n\n var namespace = store._modules.getNamespace(path); // register in namespace map\n\n\n if (namespace) {\n store._modulesNamespaceMap[namespace] = module;\n } // set state\n\n\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n\n store._withCommit(function () {\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n module.forEachAction(function (action, key) {\n var namespacedType = namespace + key;\n registerAction(store, namespacedType, action, local);\n });\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n }\n /**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\n\n\n function makeLocalContext(store, namespace, path) {\n var noNamespace = namespace === '';\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\n if (!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 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\n if (!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 }; // getters and state object must be gotten lazily\n // because they will be changed by vm update\n\n Object.defineProperties(local, {\n getters: {\n get: noNamespace ? function () {\n return store.getters;\n } : function () {\n return makeLocalGetters(store, namespace);\n }\n },\n state: {\n get: function get() {\n return getNestedState(store.state, path);\n }\n }\n });\n return local;\n }\n\n function makeLocalGetters(store, 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) {\n return;\n } // extract local getter type\n\n\n var localType = type.slice(splitPos); // 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\n Object.defineProperty(gettersProxy, localType, {\n get: function get() {\n return store.getters[type];\n },\n enumerable: true\n });\n });\n return gettersProxy;\n }\n\n function registerMutation(store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler(payload) {\n handler(local.state, payload);\n });\n }\n\n function registerAction(store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler(payload, cb) {\n var res = handler({\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, cb);\n\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n\n throw err;\n });\n } else {\n return res;\n }\n });\n }\n\n function registerGetter(store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n console.error(\"[vuex] duplicate getter key: \" + type);\n return;\n }\n\n store._wrappedGetters[type] = function wrappedGetter(store) {\n return rawGetter(local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n );\n };\n }\n\n function enableStrictMode(store) {\n store._vm.$watch('state', function () {\n assert(store._committing, \"Do not mutate vuex store state outside mutation handlers.\");\n }, {\n deep: true,\n sync: true\n });\n }\n\n function getNestedState(state, path) {\n return path.length ? path.reduce(function (state, key) {\n return state[key];\n }, state) : state;\n }\n\n function unifyObjectStyle(type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n assert(typeof type === 'string', \"Expects string as the type, but found \" + _typeof(type) + \".\");\n return {\n type: type,\n payload: payload,\n options: options\n };\n }\n\n function install(_Vue) {\n if (Vue) {\n console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n return;\n }\n\n Vue = _Vue;\n applyMixin(Vue);\n } // auto install in dist mode\n\n\n if (typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n var index = {\n Store: Store,\n install: install,\n version: '2.1.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions\n };\n return index;\n});","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n if (NATIVE_SYMBOL && has(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n }\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar bind = require('./helpers/bind');\n\nvar Axios = require('./core/Axios');\n\nvar mergeConfig = require('./core/mergeConfig');\n\nvar defaults = require('./defaults');\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 */\n\n\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context); // Copy axios.prototype to instance\n\n utils.extend(instance, Axios.prototype, context); // Copy context to instance\n\n utils.extend(instance, context);\n return instance;\n} // Create the default instance to be exported\n\n\nvar axios = createInstance(defaults); // Expose Axios class to allow class inheritance\n\naxios.Axios = Axios; // Factory for creating new instances\n\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n}; // Expose Cancel & CancelToken\n\n\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel'); // Expose all/spread\n\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = require('./helpers/spread'); // Expose isAxiosError\n\naxios.isAxiosError = require('./helpers/isAxiosError');\nmodule.exports = axios; // Allow use of default import syntax in TypeScript\n\nmodule.exports.default = axios;","'use strict';\n\nvar utils = require('./../utils');\n\nvar buildURL = require('../helpers/buildURL');\n\nvar InterceptorManager = require('./InterceptorManager');\n\nvar dispatchRequest = require('./dispatchRequest');\n\nvar mergeConfig = require('./mergeConfig');\n\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\n\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\n\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); // Set config.method\n\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 var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n } // filter out skipped interceptors\n\n\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain.concat(responseInterceptorChain);\n promise = Promise.resolve(config);\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n var newConfig = config;\n\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.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}; // Provide aliases for supported request methods\n\n\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 data: (config || {}).data\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});\nmodule.exports = Axios;","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\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 */\n\n\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\n\n\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\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 */\n\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;","'use strict';\n\nvar utils = require('./../utils');\n\nvar transformData = require('./transformData');\n\nvar isCancel = require('../cancel/isCancel');\n\nvar defaults = require('../defaults');\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\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 */\n\n\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config); // Ensure headers exist\n\n config.headers = config.headers || {}; // Transform request data\n\n config.data = transformData.call(config, config.data, config.headers, config.transformRequest); // Flatten headers\n\n config.headers = utils.merge(config.headers.common || {}, config.headers[config.method] || {}, config.headers);\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], function cleanHeaderConfig(method) {\n delete config.headers[method];\n });\n var adapter = config.adapter || defaults.adapter;\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config); // Transform response data\n\n response.data = transformData.call(config, response.data, response.headers, config.transformResponse);\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config); // Transform response data\n\n if (reason && reason.response) {\n reason.response.data = transformData.call(config, reason.response.data, reason.response.headers, config.transformResponse);\n }\n }\n\n return Promise.reject(reason);\n });\n};","'use strict';\n\nvar utils = require('./../utils');\n\nvar defaults = require('./../defaults');\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 */\n\n\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n return data;\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};","'use strict';\n\nvar createError = require('./createError');\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 */\n\n\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError('Request failed with status code ' + response.status, response.config, null, response.request, response));\n }\n};","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = utils.isStandardBrowserEnv() ? // Standard browser envs support document.cookie\nfunction 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 read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return match ? decodeURIComponent(match[3]) : null;\n },\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n}() : // Non standard browser env (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() {\n return null;\n },\n remove: function remove() {}\n };\n}();","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\n\nvar combineURLs = require('../helpers/combineURLs');\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 */\n\n\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n\n return requestedURL;\n};","'use strict';\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 */\n\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" 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};","'use strict';\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 */\n\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '') : baseURL;\n};","'use strict';\n\nvar utils = require('./../utils'); // Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\n\n\nvar ignoreDuplicateOf = ['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent'];\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 */\n\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) {\n return parsed;\n }\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\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 return parsed;\n};","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = utils.isStandardBrowserEnv() ? // 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.\nfunction standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\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\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); // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n\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) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\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\n return function isURLSameOrigin(requestURL) {\n var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;\n return parsed.protocol === originURL.protocol && parsed.host === originURL.host;\n };\n}() : // Non standard browser envs (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n}();","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar pkg = require('./../../package.json');\n\nvar validators = {}; // eslint-disable-next-line func-names\n\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {\n validators[type] = function validator(thing) {\n return _typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\n\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n\n return false;\n}\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\n\n\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n } // eslint-disable-next-line func-names\n\n\n return function (value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true; // eslint-disable-next-line no-console\n\n console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (_typeof(options) !== 'object') {\n throw new TypeError('options must be an object');\n }\n\n var keys = Object.keys(options);\n var i = keys.length;\n\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n\n continue;\n }\n\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};","'use strict';\n\nvar Cancel = require('./Cancel');\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 */\n\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 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 * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n\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;","'use strict';\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 */\n\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};","'use strict';\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports = function isAxiosError(payload) {\n return _typeof(payload) === 'object' && payload.isAxiosError === true;\n};","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var toObject = require('../internals/to-object');\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function hasOwn(it, key) {\n return hasOwnProperty.call(toObject(it), key);\n};\n","import Vue from 'vue';\n\nexport const set = (state, data) => {\n state.records = data;\n};\n\nexport const create = (state, data) => {\n state.records.push(data);\n};\n\nexport const setSingleRecord = (state, data) => {\n const recordIndex = state.records.findIndex(record => record.id === data.id);\n if (recordIndex > -1) {\n state.records[recordIndex] = data;\n } else {\n create(state, data);\n }\n};\n\nexport const update = (state, data) => {\n state.records.forEach((element, index) => {\n if (element.id === data.id) {\n Vue.set(state.records, index, data);\n }\n });\n};\n\n/* when you don't want to overwrite the whole object */\nexport const updateAttributes = (state, data) => {\n state.records.forEach((element, index) => {\n if (element.id === data.id) {\n Vue.set(state.records, index, { ...state.records[index], ...data });\n }\n });\n};\n\nexport const updatePresence = (state, data) => {\n state.records.forEach((element, index) => {\n const availabilityStatus = data[element.id];\n Vue.set(\n state.records[index],\n 'availability_status',\n availabilityStatus || 'offline'\n );\n });\n};\n\nexport const updateSingleRecordPresence = (\n records,\n { id, availabilityStatus }\n) => {\n const [selectedRecord] = records.filter(record => record.id === Number(id));\n if (selectedRecord) {\n Vue.set(selectedRecord, 'availability_status', availabilityStatus);\n }\n};\n\nexport const destroy = (state, id) => {\n state.records = state.records.filter(record => record.id !== id);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Spinner.vue?vue&type=style&index=0&id=c9110462&scoped=true&lang=scss&\"","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","/*!\n * Vue.js v2.6.12\n * (c) 2014-2020 Evan You\n * Released under the MIT License.\n */\n\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar e = Object.freeze({});\n\nfunction t(e) {\n return null == e;\n}\n\nfunction n(e) {\n return null != e;\n}\n\nfunction r(e) {\n return !0 === e;\n}\n\nfunction i(e) {\n return \"string\" == typeof e || \"number\" == typeof e || \"symbol\" == _typeof(e) || \"boolean\" == typeof e;\n}\n\nfunction o(e) {\n return null !== e && \"object\" == _typeof(e);\n}\n\nvar a = Object.prototype.toString;\n\nfunction s(e) {\n return \"[object Object]\" === a.call(e);\n}\n\nfunction c(e) {\n var t = parseFloat(String(e));\n return t >= 0 && Math.floor(t) === t && isFinite(e);\n}\n\nfunction u(e) {\n return n(e) && \"function\" == typeof e.then && \"function\" == typeof e.catch;\n}\n\nfunction l(e) {\n return null == e ? \"\" : Array.isArray(e) || s(e) && e.toString === a ? JSON.stringify(e, null, 2) : String(e);\n}\n\nfunction f(e) {\n var t = parseFloat(e);\n return isNaN(t) ? e : t;\n}\n\nfunction p(e, t) {\n for (var n = Object.create(null), r = e.split(\",\"), i = 0; i < r.length; i++) {\n n[r[i]] = !0;\n }\n\n return t ? function (e) {\n return n[e.toLowerCase()];\n } : function (e) {\n return n[e];\n };\n}\n\nvar d = p(\"slot,component\", !0),\n v = p(\"key,ref,slot,slot-scope,is\");\n\nfunction h(e, t) {\n if (e.length) {\n var n = e.indexOf(t);\n if (n > -1) return e.splice(n, 1);\n }\n}\n\nvar m = Object.prototype.hasOwnProperty;\n\nfunction y(e, t) {\n return m.call(e, t);\n}\n\nfunction g(e) {\n var t = Object.create(null);\n return function (n) {\n return t[n] || (t[n] = e(n));\n };\n}\n\nvar _ = /-(\\w)/g,\n b = g(function (e) {\n return e.replace(_, function (e, t) {\n return t ? t.toUpperCase() : \"\";\n });\n}),\n $ = g(function (e) {\n return e.charAt(0).toUpperCase() + e.slice(1);\n}),\n w = /\\B([A-Z])/g,\n C = g(function (e) {\n return e.replace(w, \"-$1\").toLowerCase();\n});\nvar x = Function.prototype.bind ? function (e, t) {\n return e.bind(t);\n} : function (e, t) {\n function n(n) {\n var r = arguments.length;\n return r ? r > 1 ? e.apply(t, arguments) : e.call(t, n) : e.call(t);\n }\n\n return n._length = e.length, n;\n};\n\nfunction k(e, t) {\n t = t || 0;\n\n for (var n = e.length - t, r = new Array(n); n--;) {\n r[n] = e[n + t];\n }\n\n return r;\n}\n\nfunction A(e, t) {\n for (var n in t) {\n e[n] = t[n];\n }\n\n return e;\n}\n\nfunction O(e) {\n for (var t = {}, n = 0; n < e.length; n++) {\n e[n] && A(t, e[n]);\n }\n\n return t;\n}\n\nfunction S(e, t, n) {}\n\nvar T = function T(e, t, n) {\n return !1;\n},\n E = function E(e) {\n return e;\n};\n\nfunction N(e, t) {\n if (e === t) return !0;\n var n = o(e),\n r = o(t);\n if (!n || !r) return !n && !r && String(e) === String(t);\n\n try {\n var i = Array.isArray(e),\n a = Array.isArray(t);\n if (i && a) return e.length === t.length && e.every(function (e, n) {\n return N(e, t[n]);\n });\n if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();\n if (i || a) return !1;\n var s = Object.keys(e),\n c = Object.keys(t);\n return s.length === c.length && s.every(function (n) {\n return N(e[n], t[n]);\n });\n } catch (e) {\n return !1;\n }\n}\n\nfunction j(e, t) {\n for (var n = 0; n < e.length; n++) {\n if (N(e[n], t)) return n;\n }\n\n return -1;\n}\n\nfunction D(e) {\n var t = !1;\n return function () {\n t || (t = !0, e.apply(this, arguments));\n };\n}\n\nvar L = \"data-server-rendered\",\n M = [\"component\", \"directive\", \"filter\"],\n I = [\"beforeCreate\", \"created\", \"beforeMount\", \"mounted\", \"beforeUpdate\", \"updated\", \"beforeDestroy\", \"destroyed\", \"activated\", \"deactivated\", \"errorCaptured\", \"serverPrefetch\"],\n F = {\n optionMergeStrategies: Object.create(null),\n silent: !1,\n productionTip: !1,\n devtools: !1,\n performance: !1,\n errorHandler: null,\n warnHandler: null,\n ignoredElements: [],\n keyCodes: Object.create(null),\n isReservedTag: T,\n isReservedAttr: T,\n isUnknownElement: T,\n getTagNamespace: S,\n parsePlatformTagName: E,\n mustUseProp: T,\n async: !0,\n _lifecycleHooks: I\n},\n P = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n\nfunction R(e, t, n, r) {\n Object.defineProperty(e, t, {\n value: n,\n enumerable: !!r,\n writable: !0,\n configurable: !0\n });\n}\n\nvar H = new RegExp(\"[^\" + P.source + \".$_\\\\d]\");\nvar B,\n U = (\"__proto__\" in {}),\n z = \"undefined\" != typeof window,\n V = \"undefined\" != typeof WXEnvironment && !!WXEnvironment.platform,\n K = V && WXEnvironment.platform.toLowerCase(),\n J = z && window.navigator.userAgent.toLowerCase(),\n q = J && /msie|trident/.test(J),\n W = J && J.indexOf(\"msie 9.0\") > 0,\n Z = J && J.indexOf(\"edge/\") > 0,\n G = (J && J.indexOf(\"android\"), J && /iphone|ipad|ipod|ios/.test(J) || \"ios\" === K),\n X = (J && /chrome\\/\\d+/.test(J), J && /phantomjs/.test(J), J && J.match(/firefox\\/(\\d+)/)),\n Y = {}.watch,\n Q = !1;\nif (z) try {\n var ee = {};\n Object.defineProperty(ee, \"passive\", {\n get: function get() {\n Q = !0;\n }\n }), window.addEventListener(\"test-passive\", null, ee);\n} catch (e) {}\n\nvar te = function te() {\n return void 0 === B && (B = !z && !V && \"undefined\" != typeof global && global.process && \"server\" === global.process.env.VUE_ENV), B;\n},\n ne = z && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction re(e) {\n return \"function\" == typeof e && /native code/.test(e.toString());\n}\n\nvar ie,\n oe = \"undefined\" != typeof Symbol && re(Symbol) && \"undefined\" != typeof Reflect && re(Reflect.ownKeys);\nie = \"undefined\" != typeof Set && re(Set) ? Set : function () {\n function e() {\n this.set = Object.create(null);\n }\n\n return e.prototype.has = function (e) {\n return !0 === this.set[e];\n }, e.prototype.add = function (e) {\n this.set[e] = !0;\n }, e.prototype.clear = function () {\n this.set = Object.create(null);\n }, e;\n}();\n\nvar ae = S,\n se = 0,\n ce = function ce() {\n this.id = se++, this.subs = [];\n};\n\nce.prototype.addSub = function (e) {\n this.subs.push(e);\n}, ce.prototype.removeSub = function (e) {\n h(this.subs, e);\n}, ce.prototype.depend = function () {\n ce.target && ce.target.addDep(this);\n}, ce.prototype.notify = function () {\n for (var e = this.subs.slice(), t = 0, n = e.length; t < n; t++) {\n e[t].update();\n }\n}, ce.target = null;\nvar ue = [];\n\nfunction le(e) {\n ue.push(e), ce.target = e;\n}\n\nfunction fe() {\n ue.pop(), ce.target = ue[ue.length - 1];\n}\n\nvar pe = function pe(e, t, n, r, i, o, a, s) {\n this.tag = e, this.data = t, this.children = n, this.text = r, this.elm = i, this.ns = void 0, this.context = o, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = t && t.key, this.componentOptions = a, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = s, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1;\n},\n de = {\n child: {\n configurable: !0\n }\n};\n\nde.child.get = function () {\n return this.componentInstance;\n}, Object.defineProperties(pe.prototype, de);\n\nvar ve = function ve(e) {\n void 0 === e && (e = \"\");\n var t = new pe();\n return t.text = e, t.isComment = !0, t;\n};\n\nfunction he(e) {\n return new pe(void 0, void 0, void 0, String(e));\n}\n\nfunction me(e) {\n var t = new pe(e.tag, e.data, e.children && e.children.slice(), e.text, e.elm, e.context, e.componentOptions, e.asyncFactory);\n return t.ns = e.ns, t.isStatic = e.isStatic, t.key = e.key, t.isComment = e.isComment, t.fnContext = e.fnContext, t.fnOptions = e.fnOptions, t.fnScopeId = e.fnScopeId, t.asyncMeta = e.asyncMeta, t.isCloned = !0, t;\n}\n\nvar ye = Array.prototype,\n ge = Object.create(ye);\n[\"push\", \"pop\", \"shift\", \"unshift\", \"splice\", \"sort\", \"reverse\"].forEach(function (e) {\n var t = ye[e];\n R(ge, e, function () {\n for (var n = [], r = arguments.length; r--;) {\n n[r] = arguments[r];\n }\n\n var i,\n o = t.apply(this, n),\n a = this.__ob__;\n\n switch (e) {\n case \"push\":\n case \"unshift\":\n i = n;\n break;\n\n case \"splice\":\n i = n.slice(2);\n }\n\n return i && a.observeArray(i), a.dep.notify(), o;\n });\n});\n\nvar _e = Object.getOwnPropertyNames(ge),\n be = !0;\n\nfunction $e(e) {\n be = e;\n}\n\nvar we = function we(e) {\n var t;\n this.value = e, this.dep = new ce(), this.vmCount = 0, R(e, \"__ob__\", this), Array.isArray(e) ? (U ? (t = ge, e.__proto__ = t) : function (e, t, n) {\n for (var r = 0, i = n.length; r < i; r++) {\n var o = n[r];\n R(e, o, t[o]);\n }\n }(e, ge, _e), this.observeArray(e)) : this.walk(e);\n};\n\nfunction Ce(e, t) {\n var n;\n if (o(e) && !(e instanceof pe)) return y(e, \"__ob__\") && e.__ob__ instanceof we ? n = e.__ob__ : be && !te() && (Array.isArray(e) || s(e)) && Object.isExtensible(e) && !e._isVue && (n = new we(e)), t && n && n.vmCount++, n;\n}\n\nfunction xe(e, t, n, r, i) {\n var o = new ce(),\n a = Object.getOwnPropertyDescriptor(e, t);\n\n if (!a || !1 !== a.configurable) {\n var s = a && a.get,\n c = a && a.set;\n s && !c || 2 !== arguments.length || (n = e[t]);\n var u = !i && Ce(n);\n Object.defineProperty(e, t, {\n enumerable: !0,\n configurable: !0,\n get: function get() {\n var t = s ? s.call(e) : n;\n return ce.target && (o.depend(), u && (u.dep.depend(), Array.isArray(t) && function e(t) {\n for (var n = void 0, r = 0, i = t.length; r < i; r++) {\n (n = t[r]) && n.__ob__ && n.__ob__.dep.depend(), Array.isArray(n) && e(n);\n }\n }(t))), t;\n },\n set: function set(t) {\n var r = s ? s.call(e) : n;\n t === r || t != t && r != r || s && !c || (c ? c.call(e, t) : n = t, u = !i && Ce(t), o.notify());\n }\n });\n }\n}\n\nfunction ke(e, t, n) {\n if (Array.isArray(e) && c(t)) return e.length = Math.max(e.length, t), e.splice(t, 1, n), n;\n if (t in e && !(t in Object.prototype)) return e[t] = n, n;\n var r = e.__ob__;\n return e._isVue || r && r.vmCount ? n : r ? (xe(r.value, t, n), r.dep.notify(), n) : (e[t] = n, n);\n}\n\nfunction Ae(e, t) {\n if (Array.isArray(e) && c(t)) e.splice(t, 1);else {\n var n = e.__ob__;\n e._isVue || n && n.vmCount || y(e, t) && (delete e[t], n && n.dep.notify());\n }\n}\n\nwe.prototype.walk = function (e) {\n for (var t = Object.keys(e), n = 0; n < t.length; n++) {\n xe(e, t[n]);\n }\n}, we.prototype.observeArray = function (e) {\n for (var t = 0, n = e.length; t < n; t++) {\n Ce(e[t]);\n }\n};\nvar Oe = F.optionMergeStrategies;\n\nfunction Se(e, t) {\n if (!t) return e;\n\n for (var n, r, i, o = oe ? Reflect.ownKeys(t) : Object.keys(t), a = 0; a < o.length; a++) {\n \"__ob__\" !== (n = o[a]) && (r = e[n], i = t[n], y(e, n) ? r !== i && s(r) && s(i) && Se(r, i) : ke(e, n, i));\n }\n\n return e;\n}\n\nfunction Te(e, t, n) {\n return n ? function () {\n var r = \"function\" == typeof t ? t.call(n, n) : t,\n i = \"function\" == typeof e ? e.call(n, n) : e;\n return r ? Se(r, i) : i;\n } : t ? e ? function () {\n return Se(\"function\" == typeof t ? t.call(this, this) : t, \"function\" == typeof e ? e.call(this, this) : e);\n } : t : e;\n}\n\nfunction Ee(e, t) {\n var n = t ? e ? e.concat(t) : Array.isArray(t) ? t : [t] : e;\n return n ? function (e) {\n for (var t = [], n = 0; n < e.length; n++) {\n -1 === t.indexOf(e[n]) && t.push(e[n]);\n }\n\n return t;\n }(n) : n;\n}\n\nfunction Ne(e, t, n, r) {\n var i = Object.create(e || null);\n return t ? A(i, t) : i;\n}\n\nOe.data = function (e, t, n) {\n return n ? Te(e, t, n) : t && \"function\" != typeof t ? e : Te(e, t);\n}, I.forEach(function (e) {\n Oe[e] = Ee;\n}), M.forEach(function (e) {\n Oe[e + \"s\"] = Ne;\n}), Oe.watch = function (e, t, n, r) {\n if (e === Y && (e = void 0), t === Y && (t = void 0), !t) return Object.create(e || null);\n if (!e) return t;\n var i = {};\n\n for (var o in A(i, e), t) {\n var a = i[o],\n s = t[o];\n a && !Array.isArray(a) && (a = [a]), i[o] = a ? a.concat(s) : Array.isArray(s) ? s : [s];\n }\n\n return i;\n}, Oe.props = Oe.methods = Oe.inject = Oe.computed = function (e, t, n, r) {\n if (!e) return t;\n var i = Object.create(null);\n return A(i, e), t && A(i, t), i;\n}, Oe.provide = Te;\n\nvar je = function je(e, t) {\n return void 0 === t ? e : t;\n};\n\nfunction De(e, t, n) {\n if (\"function\" == typeof t && (t = t.options), function (e, t) {\n var n = e.props;\n\n if (n) {\n var r,\n i,\n o = {};\n if (Array.isArray(n)) for (r = n.length; r--;) {\n \"string\" == typeof (i = n[r]) && (o[b(i)] = {\n type: null\n });\n } else if (s(n)) for (var a in n) {\n i = n[a], o[b(a)] = s(i) ? i : {\n type: i\n };\n }\n e.props = o;\n }\n }(t), function (e, t) {\n var n = e.inject;\n\n if (n) {\n var r = e.inject = {};\n if (Array.isArray(n)) for (var i = 0; i < n.length; i++) {\n r[n[i]] = {\n from: n[i]\n };\n } else if (s(n)) for (var o in n) {\n var a = n[o];\n r[o] = s(a) ? A({\n from: o\n }, a) : {\n from: a\n };\n }\n }\n }(t), function (e) {\n var t = e.directives;\n if (t) for (var n in t) {\n var r = t[n];\n \"function\" == typeof r && (t[n] = {\n bind: r,\n update: r\n });\n }\n }(t), !t._base && (t.extends && (e = De(e, t.extends, n)), t.mixins)) for (var r = 0, i = t.mixins.length; r < i; r++) {\n e = De(e, t.mixins[r], n);\n }\n var o,\n a = {};\n\n for (o in e) {\n c(o);\n }\n\n for (o in t) {\n y(e, o) || c(o);\n }\n\n function c(r) {\n var i = Oe[r] || je;\n a[r] = i(e[r], t[r], n, r);\n }\n\n return a;\n}\n\nfunction Le(e, t, n, r) {\n if (\"string\" == typeof n) {\n var i = e[t];\n if (y(i, n)) return i[n];\n var o = b(n);\n if (y(i, o)) return i[o];\n var a = $(o);\n return y(i, a) ? i[a] : i[n] || i[o] || i[a];\n }\n}\n\nfunction Me(e, t, n, r) {\n var i = t[e],\n o = !y(n, e),\n a = n[e],\n s = Pe(Boolean, i.type);\n if (s > -1) if (o && !y(i, \"default\")) a = !1;else if (\"\" === a || a === C(e)) {\n var c = Pe(String, i.type);\n (c < 0 || s < c) && (a = !0);\n }\n\n if (void 0 === a) {\n a = function (e, t, n) {\n if (!y(t, \"default\")) return;\n var r = t.default;\n if (e && e.$options.propsData && void 0 === e.$options.propsData[n] && void 0 !== e._props[n]) return e._props[n];\n return \"function\" == typeof r && \"Function\" !== Ie(t.type) ? r.call(e) : r;\n }(r, i, e);\n\n var u = be;\n $e(!0), Ce(a), $e(u);\n }\n\n return a;\n}\n\nfunction Ie(e) {\n var t = e && e.toString().match(/^\\s*function (\\w+)/);\n return t ? t[1] : \"\";\n}\n\nfunction Fe(e, t) {\n return Ie(e) === Ie(t);\n}\n\nfunction Pe(e, t) {\n if (!Array.isArray(t)) return Fe(t, e) ? 0 : -1;\n\n for (var n = 0, r = t.length; n < r; n++) {\n if (Fe(t[n], e)) return n;\n }\n\n return -1;\n}\n\nfunction Re(e, t, n) {\n le();\n\n try {\n if (t) for (var r = t; r = r.$parent;) {\n var i = r.$options.errorCaptured;\n if (i) for (var o = 0; o < i.length; o++) {\n try {\n if (!1 === i[o].call(r, e, t, n)) return;\n } catch (e) {\n Be(e, r, \"errorCaptured hook\");\n }\n }\n }\n Be(e, t, n);\n } finally {\n fe();\n }\n}\n\nfunction He(e, t, n, r, i) {\n var o;\n\n try {\n (o = n ? e.apply(t, n) : e.call(t)) && !o._isVue && u(o) && !o._handled && (o.catch(function (e) {\n return Re(e, r, i + \" (Promise/async)\");\n }), o._handled = !0);\n } catch (e) {\n Re(e, r, i);\n }\n\n return o;\n}\n\nfunction Be(e, t, n) {\n if (F.errorHandler) try {\n return F.errorHandler.call(null, e, t, n);\n } catch (t) {\n t !== e && Ue(t, null, \"config.errorHandler\");\n }\n Ue(e, t, n);\n}\n\nfunction Ue(e, t, n) {\n if (!z && !V || \"undefined\" == typeof console) throw e;\n console.error(e);\n}\n\nvar ze,\n Ve = !1,\n Ke = [],\n Je = !1;\n\nfunction qe() {\n Je = !1;\n var e = Ke.slice(0);\n Ke.length = 0;\n\n for (var t = 0; t < e.length; t++) {\n e[t]();\n }\n}\n\nif (\"undefined\" != typeof Promise && re(Promise)) {\n var We = Promise.resolve();\n ze = function ze() {\n We.then(qe), G && setTimeout(S);\n }, Ve = !0;\n} else if (q || \"undefined\" == typeof MutationObserver || !re(MutationObserver) && \"[object MutationObserverConstructor]\" !== MutationObserver.toString()) ze = \"undefined\" != typeof setImmediate && re(setImmediate) ? function () {\n setImmediate(qe);\n} : function () {\n setTimeout(qe, 0);\n};else {\n var Ze = 1,\n Ge = new MutationObserver(qe),\n Xe = document.createTextNode(String(Ze));\n Ge.observe(Xe, {\n characterData: !0\n }), ze = function ze() {\n Ze = (Ze + 1) % 2, Xe.data = String(Ze);\n }, Ve = !0;\n}\n\nfunction Ye(e, t) {\n var n;\n if (Ke.push(function () {\n if (e) try {\n e.call(t);\n } catch (e) {\n Re(e, t, \"nextTick\");\n } else n && n(t);\n }), Je || (Je = !0, ze()), !e && \"undefined\" != typeof Promise) return new Promise(function (e) {\n n = e;\n });\n}\n\nvar Qe = new ie();\n\nfunction et(e) {\n !function e(t, n) {\n var r, i;\n var a = Array.isArray(t);\n if (!a && !o(t) || Object.isFrozen(t) || t instanceof pe) return;\n\n if (t.__ob__) {\n var s = t.__ob__.dep.id;\n if (n.has(s)) return;\n n.add(s);\n }\n\n if (a) for (r = t.length; r--;) {\n e(t[r], n);\n } else for (i = Object.keys(t), r = i.length; r--;) {\n e(t[i[r]], n);\n }\n }(e, Qe), Qe.clear();\n}\n\nvar tt = g(function (e) {\n var t = \"&\" === e.charAt(0),\n n = \"~\" === (e = t ? e.slice(1) : e).charAt(0),\n r = \"!\" === (e = n ? e.slice(1) : e).charAt(0);\n return {\n name: e = r ? e.slice(1) : e,\n once: n,\n capture: r,\n passive: t\n };\n});\n\nfunction nt(e, t) {\n function n() {\n var e = arguments,\n r = n.fns;\n if (!Array.isArray(r)) return He(r, null, arguments, t, \"v-on handler\");\n\n for (var i = r.slice(), o = 0; o < i.length; o++) {\n He(i[o], null, e, t, \"v-on handler\");\n }\n }\n\n return n.fns = e, n;\n}\n\nfunction rt(e, n, i, o, a, s) {\n var c, u, l, f;\n\n for (c in e) {\n u = e[c], l = n[c], f = tt(c), t(u) || (t(l) ? (t(u.fns) && (u = e[c] = nt(u, s)), r(f.once) && (u = e[c] = a(f.name, u, f.capture)), i(f.name, u, f.capture, f.passive, f.params)) : u !== l && (l.fns = u, e[c] = l));\n }\n\n for (c in n) {\n t(e[c]) && o((f = tt(c)).name, n[c], f.capture);\n }\n}\n\nfunction it(e, i, o) {\n var a;\n e instanceof pe && (e = e.data.hook || (e.data.hook = {}));\n var s = e[i];\n\n function c() {\n o.apply(this, arguments), h(a.fns, c);\n }\n\n t(s) ? a = nt([c]) : n(s.fns) && r(s.merged) ? (a = s).fns.push(c) : a = nt([s, c]), a.merged = !0, e[i] = a;\n}\n\nfunction ot(e, t, r, i, o) {\n if (n(t)) {\n if (y(t, r)) return e[r] = t[r], o || delete t[r], !0;\n if (y(t, i)) return e[r] = t[i], o || delete t[i], !0;\n }\n\n return !1;\n}\n\nfunction at(e) {\n return i(e) ? [he(e)] : Array.isArray(e) ? function e(o, a) {\n var s = [];\n var c, u, l, f;\n\n for (c = 0; c < o.length; c++) {\n t(u = o[c]) || \"boolean\" == typeof u || (l = s.length - 1, f = s[l], Array.isArray(u) ? u.length > 0 && (st((u = e(u, (a || \"\") + \"_\" + c))[0]) && st(f) && (s[l] = he(f.text + u[0].text), u.shift()), s.push.apply(s, u)) : i(u) ? st(f) ? s[l] = he(f.text + u) : \"\" !== u && s.push(he(u)) : st(u) && st(f) ? s[l] = he(f.text + u.text) : (r(o._isVList) && n(u.tag) && t(u.key) && n(a) && (u.key = \"__vlist\" + a + \"_\" + c + \"__\"), s.push(u)));\n }\n\n return s;\n }(e) : void 0;\n}\n\nfunction st(e) {\n return n(e) && n(e.text) && !1 === e.isComment;\n}\n\nfunction ct(e, t) {\n if (e) {\n for (var n = Object.create(null), r = oe ? Reflect.ownKeys(e) : Object.keys(e), i = 0; i < r.length; i++) {\n var o = r[i];\n\n if (\"__ob__\" !== o) {\n for (var a = e[o].from, s = t; s;) {\n if (s._provided && y(s._provided, a)) {\n n[o] = s._provided[a];\n break;\n }\n\n s = s.$parent;\n }\n\n if (!s && \"default\" in e[o]) {\n var c = e[o].default;\n n[o] = \"function\" == typeof c ? c.call(t) : c;\n }\n }\n }\n\n return n;\n }\n}\n\nfunction ut(e, t) {\n if (!e || !e.length) return {};\n\n for (var n = {}, r = 0, i = e.length; r < i; r++) {\n var o = e[r],\n a = o.data;\n if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, o.context !== t && o.fnContext !== t || !a || null == a.slot) (n.default || (n.default = [])).push(o);else {\n var s = a.slot,\n c = n[s] || (n[s] = []);\n \"template\" === o.tag ? c.push.apply(c, o.children || []) : c.push(o);\n }\n }\n\n for (var u in n) {\n n[u].every(lt) && delete n[u];\n }\n\n return n;\n}\n\nfunction lt(e) {\n return e.isComment && !e.asyncFactory || \" \" === e.text;\n}\n\nfunction ft(t, n, r) {\n var i,\n o = Object.keys(n).length > 0,\n a = t ? !!t.$stable : !o,\n s = t && t.$key;\n\n if (t) {\n if (t._normalized) return t._normalized;\n if (a && r && r !== e && s === r.$key && !o && !r.$hasNormal) return r;\n\n for (var c in i = {}, t) {\n t[c] && \"$\" !== c[0] && (i[c] = pt(n, c, t[c]));\n }\n } else i = {};\n\n for (var u in n) {\n u in i || (i[u] = dt(n, u));\n }\n\n return t && Object.isExtensible(t) && (t._normalized = i), R(i, \"$stable\", a), R(i, \"$key\", s), R(i, \"$hasNormal\", o), i;\n}\n\nfunction pt(e, t, n) {\n var r = function r() {\n var e = arguments.length ? n.apply(null, arguments) : n({});\n return (e = e && \"object\" == _typeof(e) && !Array.isArray(e) ? [e] : at(e)) && (0 === e.length || 1 === e.length && e[0].isComment) ? void 0 : e;\n };\n\n return n.proxy && Object.defineProperty(e, t, {\n get: r,\n enumerable: !0,\n configurable: !0\n }), r;\n}\n\nfunction dt(e, t) {\n return function () {\n return e[t];\n };\n}\n\nfunction vt(e, t) {\n var r, i, a, s, c;\n if (Array.isArray(e) || \"string\" == typeof e) for (r = new Array(e.length), i = 0, a = e.length; i < a; i++) {\n r[i] = t(e[i], i);\n } else if (\"number\" == typeof e) for (r = new Array(e), i = 0; i < e; i++) {\n r[i] = t(i + 1, i);\n } else if (o(e)) if (oe && e[Symbol.iterator]) {\n r = [];\n\n for (var u = e[Symbol.iterator](), l = u.next(); !l.done;) {\n r.push(t(l.value, r.length)), l = u.next();\n }\n } else for (s = Object.keys(e), r = new Array(s.length), i = 0, a = s.length; i < a; i++) {\n c = s[i], r[i] = t(e[c], c, i);\n }\n return n(r) || (r = []), r._isVList = !0, r;\n}\n\nfunction ht(e, t, n, r) {\n var i,\n o = this.$scopedSlots[e];\n o ? (n = n || {}, r && (n = A(A({}, r), n)), i = o(n) || t) : i = this.$slots[e] || t;\n var a = n && n.slot;\n return a ? this.$createElement(\"template\", {\n slot: a\n }, i) : i;\n}\n\nfunction mt(e) {\n return Le(this.$options, \"filters\", e) || E;\n}\n\nfunction yt(e, t) {\n return Array.isArray(e) ? -1 === e.indexOf(t) : e !== t;\n}\n\nfunction gt(e, t, n, r, i) {\n var o = F.keyCodes[t] || n;\n return i && r && !F.keyCodes[t] ? yt(i, r) : o ? yt(o, e) : r ? C(r) !== t : void 0;\n}\n\nfunction _t(e, t, n, r, i) {\n if (n) if (o(n)) {\n var a;\n Array.isArray(n) && (n = O(n));\n\n var s = function s(o) {\n if (\"class\" === o || \"style\" === o || v(o)) a = e;else {\n var s = e.attrs && e.attrs.type;\n a = r || F.mustUseProp(t, s, o) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {});\n }\n var c = b(o),\n u = C(o);\n c in a || u in a || (a[o] = n[o], i && ((e.on || (e.on = {}))[\"update:\" + o] = function (e) {\n n[o] = e;\n }));\n };\n\n for (var c in n) {\n s(c);\n }\n } else ;\n return e;\n}\n\nfunction bt(e, t) {\n var n = this._staticTrees || (this._staticTrees = []),\n r = n[e];\n return r && !t ? r : (wt(r = n[e] = this.$options.staticRenderFns[e].call(this._renderProxy, null, this), \"__static__\" + e, !1), r);\n}\n\nfunction $t(e, t, n) {\n return wt(e, \"__once__\" + t + (n ? \"_\" + n : \"\"), !0), e;\n}\n\nfunction wt(e, t, n) {\n if (Array.isArray(e)) for (var r = 0; r < e.length; r++) {\n e[r] && \"string\" != typeof e[r] && Ct(e[r], t + \"_\" + r, n);\n } else Ct(e, t, n);\n}\n\nfunction Ct(e, t, n) {\n e.isStatic = !0, e.key = t, e.isOnce = n;\n}\n\nfunction xt(e, t) {\n if (t) if (s(t)) {\n var n = e.on = e.on ? A({}, e.on) : {};\n\n for (var r in t) {\n var i = n[r],\n o = t[r];\n n[r] = i ? [].concat(i, o) : o;\n }\n } else ;\n return e;\n}\n\nfunction kt(e, t, n, r) {\n t = t || {\n $stable: !n\n };\n\n for (var i = 0; i < e.length; i++) {\n var o = e[i];\n Array.isArray(o) ? kt(o, t, n) : o && (o.proxy && (o.fn.proxy = !0), t[o.key] = o.fn);\n }\n\n return r && (t.$key = r), t;\n}\n\nfunction At(e, t) {\n for (var n = 0; n < t.length; n += 2) {\n var r = t[n];\n \"string\" == typeof r && r && (e[t[n]] = t[n + 1]);\n }\n\n return e;\n}\n\nfunction Ot(e, t) {\n return \"string\" == typeof e ? t + e : e;\n}\n\nfunction St(e) {\n e._o = $t, e._n = f, e._s = l, e._l = vt, e._t = ht, e._q = N, e._i = j, e._m = bt, e._f = mt, e._k = gt, e._b = _t, e._v = he, e._e = ve, e._u = kt, e._g = xt, e._d = At, e._p = Ot;\n}\n\nfunction Tt(t, n, i, o, a) {\n var s,\n c = this,\n u = a.options;\n y(o, \"_uid\") ? (s = Object.create(o))._original = o : (s = o, o = o._original);\n var l = r(u._compiled),\n f = !l;\n this.data = t, this.props = n, this.children = i, this.parent = o, this.listeners = t.on || e, this.injections = ct(u.inject, o), this.slots = function () {\n return c.$slots || ft(t.scopedSlots, c.$slots = ut(i, o)), c.$slots;\n }, Object.defineProperty(this, \"scopedSlots\", {\n enumerable: !0,\n get: function get() {\n return ft(t.scopedSlots, this.slots());\n }\n }), l && (this.$options = u, this.$slots = this.slots(), this.$scopedSlots = ft(t.scopedSlots, this.$slots)), u._scopeId ? this._c = function (e, t, n, r) {\n var i = Pt(s, e, t, n, r, f);\n return i && !Array.isArray(i) && (i.fnScopeId = u._scopeId, i.fnContext = o), i;\n } : this._c = function (e, t, n, r) {\n return Pt(s, e, t, n, r, f);\n };\n}\n\nfunction Et(e, t, n, r, i) {\n var o = me(e);\n return o.fnContext = n, o.fnOptions = r, t.slot && ((o.data || (o.data = {})).slot = t.slot), o;\n}\n\nfunction Nt(e, t) {\n for (var n in t) {\n e[b(n)] = t[n];\n }\n}\n\nSt(Tt.prototype);\nvar jt = {\n init: function init(e, t) {\n if (e.componentInstance && !e.componentInstance._isDestroyed && e.data.keepAlive) {\n var r = e;\n jt.prepatch(r, r);\n } else {\n (e.componentInstance = function (e, t) {\n var r = {\n _isComponent: !0,\n _parentVnode: e,\n parent: t\n },\n i = e.data.inlineTemplate;\n n(i) && (r.render = i.render, r.staticRenderFns = i.staticRenderFns);\n return new e.componentOptions.Ctor(r);\n }(e, Wt)).$mount(t ? e.elm : void 0, t);\n }\n },\n prepatch: function prepatch(t, n) {\n var r = n.componentOptions;\n !function (t, n, r, i, o) {\n var a = i.data.scopedSlots,\n s = t.$scopedSlots,\n c = !!(a && !a.$stable || s !== e && !s.$stable || a && t.$scopedSlots.$key !== a.$key),\n u = !!(o || t.$options._renderChildren || c);\n t.$options._parentVnode = i, t.$vnode = i, t._vnode && (t._vnode.parent = i);\n\n if (t.$options._renderChildren = o, t.$attrs = i.data.attrs || e, t.$listeners = r || e, n && t.$options.props) {\n $e(!1);\n\n for (var l = t._props, f = t.$options._propKeys || [], p = 0; p < f.length; p++) {\n var d = f[p],\n v = t.$options.props;\n l[d] = Me(d, v, n, t);\n }\n\n $e(!0), t.$options.propsData = n;\n }\n\n r = r || e;\n var h = t.$options._parentListeners;\n t.$options._parentListeners = r, qt(t, r, h), u && (t.$slots = ut(o, i.context), t.$forceUpdate());\n }(n.componentInstance = t.componentInstance, r.propsData, r.listeners, n, r.children);\n },\n insert: function insert(e) {\n var t,\n n = e.context,\n r = e.componentInstance;\n r._isMounted || (r._isMounted = !0, Yt(r, \"mounted\")), e.data.keepAlive && (n._isMounted ? ((t = r)._inactive = !1, en.push(t)) : Xt(r, !0));\n },\n destroy: function destroy(e) {\n var t = e.componentInstance;\n t._isDestroyed || (e.data.keepAlive ? function e(t, n) {\n if (n && (t._directInactive = !0, Gt(t))) return;\n\n if (!t._inactive) {\n t._inactive = !0;\n\n for (var r = 0; r < t.$children.length; r++) {\n e(t.$children[r]);\n }\n\n Yt(t, \"deactivated\");\n }\n }(t, !0) : t.$destroy());\n }\n},\n Dt = Object.keys(jt);\n\nfunction Lt(i, a, s, c, l) {\n if (!t(i)) {\n var f = s.$options._base;\n\n if (o(i) && (i = f.extend(i)), \"function\" == typeof i) {\n var p;\n if (t(i.cid) && void 0 === (i = function (e, i) {\n if (r(e.error) && n(e.errorComp)) return e.errorComp;\n if (n(e.resolved)) return e.resolved;\n var a = Ht;\n a && n(e.owners) && -1 === e.owners.indexOf(a) && e.owners.push(a);\n if (r(e.loading) && n(e.loadingComp)) return e.loadingComp;\n\n if (a && !n(e.owners)) {\n var s = e.owners = [a],\n c = !0,\n l = null,\n f = null;\n a.$on(\"hook:destroyed\", function () {\n return h(s, a);\n });\n\n var p = function p(e) {\n for (var t = 0, n = s.length; t < n; t++) {\n s[t].$forceUpdate();\n }\n\n e && (s.length = 0, null !== l && (clearTimeout(l), l = null), null !== f && (clearTimeout(f), f = null));\n },\n d = D(function (t) {\n e.resolved = Bt(t, i), c ? s.length = 0 : p(!0);\n }),\n v = D(function (t) {\n n(e.errorComp) && (e.error = !0, p(!0));\n }),\n m = e(d, v);\n\n return o(m) && (u(m) ? t(e.resolved) && m.then(d, v) : u(m.component) && (m.component.then(d, v), n(m.error) && (e.errorComp = Bt(m.error, i)), n(m.loading) && (e.loadingComp = Bt(m.loading, i), 0 === m.delay ? e.loading = !0 : l = setTimeout(function () {\n l = null, t(e.resolved) && t(e.error) && (e.loading = !0, p(!1));\n }, m.delay || 200)), n(m.timeout) && (f = setTimeout(function () {\n f = null, t(e.resolved) && v(null);\n }, m.timeout)))), c = !1, e.loading ? e.loadingComp : e.resolved;\n }\n }(p = i, f))) return function (e, t, n, r, i) {\n var o = ve();\n return o.asyncFactory = e, o.asyncMeta = {\n data: t,\n context: n,\n children: r,\n tag: i\n }, o;\n }(p, a, s, c, l);\n a = a || {}, $n(i), n(a.model) && function (e, t) {\n var r = e.model && e.model.prop || \"value\",\n i = e.model && e.model.event || \"input\";\n (t.attrs || (t.attrs = {}))[r] = t.model.value;\n var o = t.on || (t.on = {}),\n a = o[i],\n s = t.model.callback;\n n(a) ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && (o[i] = [s].concat(a)) : o[i] = s;\n }(i.options, a);\n\n var d = function (e, r, i) {\n var o = r.options.props;\n\n if (!t(o)) {\n var a = {},\n s = e.attrs,\n c = e.props;\n if (n(s) || n(c)) for (var u in o) {\n var l = C(u);\n ot(a, c, u, l, !0) || ot(a, s, u, l, !1);\n }\n return a;\n }\n }(a, i);\n\n if (r(i.options.functional)) return function (t, r, i, o, a) {\n var s = t.options,\n c = {},\n u = s.props;\n if (n(u)) for (var l in u) {\n c[l] = Me(l, u, r || e);\n } else n(i.attrs) && Nt(c, i.attrs), n(i.props) && Nt(c, i.props);\n var f = new Tt(i, c, a, o, t),\n p = s.render.call(null, f._c, f);\n if (p instanceof pe) return Et(p, i, f.parent, s);\n\n if (Array.isArray(p)) {\n for (var d = at(p) || [], v = new Array(d.length), h = 0; h < d.length; h++) {\n v[h] = Et(d[h], i, f.parent, s);\n }\n\n return v;\n }\n }(i, d, a, s, c);\n var v = a.on;\n\n if (a.on = a.nativeOn, r(i.options.abstract)) {\n var m = a.slot;\n a = {}, m && (a.slot = m);\n }\n\n !function (e) {\n for (var t = e.hook || (e.hook = {}), n = 0; n < Dt.length; n++) {\n var r = Dt[n],\n i = t[r],\n o = jt[r];\n i === o || i && i._merged || (t[r] = i ? Mt(o, i) : o);\n }\n }(a);\n var y = i.options.name || l;\n return new pe(\"vue-component-\" + i.cid + (y ? \"-\" + y : \"\"), a, void 0, void 0, void 0, s, {\n Ctor: i,\n propsData: d,\n listeners: v,\n tag: l,\n children: c\n }, p);\n }\n }\n}\n\nfunction Mt(e, t) {\n var n = function n(_n2, r) {\n e(_n2, r), t(_n2, r);\n };\n\n return n._merged = !0, n;\n}\n\nvar It = 1,\n Ft = 2;\n\nfunction Pt(e, a, s, c, u, l) {\n return (Array.isArray(s) || i(s)) && (u = c, c = s, s = void 0), r(l) && (u = Ft), function (e, i, a, s, c) {\n if (n(a) && n(a.__ob__)) return ve();\n n(a) && n(a.is) && (i = a.is);\n if (!i) return ve();\n Array.isArray(s) && \"function\" == typeof s[0] && ((a = a || {}).scopedSlots = {\n default: s[0]\n }, s.length = 0);\n c === Ft ? s = at(s) : c === It && (s = function (e) {\n for (var t = 0; t < e.length; t++) {\n if (Array.isArray(e[t])) return Array.prototype.concat.apply([], e);\n }\n\n return e;\n }(s));\n var u, l;\n\n if (\"string\" == typeof i) {\n var f;\n l = e.$vnode && e.$vnode.ns || F.getTagNamespace(i), u = F.isReservedTag(i) ? new pe(F.parsePlatformTagName(i), a, s, void 0, void 0, e) : a && a.pre || !n(f = Le(e.$options, \"components\", i)) ? new pe(i, a, s, void 0, void 0, e) : Lt(f, a, e, s, i);\n } else u = Lt(i, a, e, s);\n\n return Array.isArray(u) ? u : n(u) ? (n(l) && function e(i, o, a) {\n i.ns = o;\n \"foreignObject\" === i.tag && (o = void 0, a = !0);\n if (n(i.children)) for (var s = 0, c = i.children.length; s < c; s++) {\n var u = i.children[s];\n n(u.tag) && (t(u.ns) || r(a) && \"svg\" !== u.tag) && e(u, o, a);\n }\n }(u, l), n(a) && function (e) {\n o(e.style) && et(e.style);\n o(e.class) && et(e.class);\n }(a), u) : ve();\n }(e, a, s, c, u);\n}\n\nvar Rt,\n Ht = null;\n\nfunction Bt(e, t) {\n return (e.__esModule || oe && \"Module\" === e[Symbol.toStringTag]) && (e = e.default), o(e) ? t.extend(e) : e;\n}\n\nfunction Ut(e) {\n return e.isComment && e.asyncFactory;\n}\n\nfunction zt(e) {\n if (Array.isArray(e)) for (var t = 0; t < e.length; t++) {\n var r = e[t];\n if (n(r) && (n(r.componentOptions) || Ut(r))) return r;\n }\n}\n\nfunction Vt(e, t) {\n Rt.$on(e, t);\n}\n\nfunction Kt(e, t) {\n Rt.$off(e, t);\n}\n\nfunction Jt(e, t) {\n var n = Rt;\n return function r() {\n null !== t.apply(null, arguments) && n.$off(e, r);\n };\n}\n\nfunction qt(e, t, n) {\n Rt = e, rt(t, n || {}, Vt, Kt, Jt, e), Rt = void 0;\n}\n\nvar Wt = null;\n\nfunction Zt(e) {\n var t = Wt;\n return Wt = e, function () {\n Wt = t;\n };\n}\n\nfunction Gt(e) {\n for (; e && (e = e.$parent);) {\n if (e._inactive) return !0;\n }\n\n return !1;\n}\n\nfunction Xt(e, t) {\n if (t) {\n if (e._directInactive = !1, Gt(e)) return;\n } else if (e._directInactive) return;\n\n if (e._inactive || null === e._inactive) {\n e._inactive = !1;\n\n for (var n = 0; n < e.$children.length; n++) {\n Xt(e.$children[n]);\n }\n\n Yt(e, \"activated\");\n }\n}\n\nfunction Yt(e, t) {\n le();\n var n = e.$options[t],\n r = t + \" hook\";\n if (n) for (var i = 0, o = n.length; i < o; i++) {\n He(n[i], e, null, e, r);\n }\n e._hasHookEvent && e.$emit(\"hook:\" + t), fe();\n}\n\nvar Qt = [],\n en = [],\n tn = {},\n nn = !1,\n rn = !1,\n on = 0;\nvar an = 0,\n sn = Date.now;\n\nif (z && !q) {\n var cn = window.performance;\n cn && \"function\" == typeof cn.now && sn() > document.createEvent(\"Event\").timeStamp && (sn = function sn() {\n return cn.now();\n });\n}\n\nfunction un() {\n var e, t;\n\n for (an = sn(), rn = !0, Qt.sort(function (e, t) {\n return e.id - t.id;\n }), on = 0; on < Qt.length; on++) {\n (e = Qt[on]).before && e.before(), t = e.id, tn[t] = null, e.run();\n }\n\n var n = en.slice(),\n r = Qt.slice();\n on = Qt.length = en.length = 0, tn = {}, nn = rn = !1, function (e) {\n for (var t = 0; t < e.length; t++) {\n e[t]._inactive = !0, Xt(e[t], !0);\n }\n }(n), function (e) {\n var t = e.length;\n\n for (; t--;) {\n var n = e[t],\n r = n.vm;\n r._watcher === n && r._isMounted && !r._isDestroyed && Yt(r, \"updated\");\n }\n }(r), ne && F.devtools && ne.emit(\"flush\");\n}\n\nvar ln = 0,\n fn = function fn(e, t, n, r, i) {\n this.vm = e, i && (e._watcher = this), e._watchers.push(this), r ? (this.deep = !!r.deep, this.user = !!r.user, this.lazy = !!r.lazy, this.sync = !!r.sync, this.before = r.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++ln, this.active = !0, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ie(), this.newDepIds = new ie(), this.expression = \"\", \"function\" == typeof t ? this.getter = t : (this.getter = function (e) {\n if (!H.test(e)) {\n var t = e.split(\".\");\n return function (e) {\n for (var n = 0; n < t.length; n++) {\n if (!e) return;\n e = e[t[n]];\n }\n\n return e;\n };\n }\n }(t), this.getter || (this.getter = S)), this.value = this.lazy ? void 0 : this.get();\n};\n\nfn.prototype.get = function () {\n var e;\n le(this);\n var t = this.vm;\n\n try {\n e = this.getter.call(t, t);\n } catch (e) {\n if (!this.user) throw e;\n Re(e, t, 'getter for watcher \"' + this.expression + '\"');\n } finally {\n this.deep && et(e), fe(), this.cleanupDeps();\n }\n\n return e;\n}, fn.prototype.addDep = function (e) {\n var t = e.id;\n this.newDepIds.has(t) || (this.newDepIds.add(t), this.newDeps.push(e), this.depIds.has(t) || e.addSub(this));\n}, fn.prototype.cleanupDeps = function () {\n for (var e = this.deps.length; e--;) {\n var t = this.deps[e];\n this.newDepIds.has(t.id) || t.removeSub(this);\n }\n\n var n = this.depIds;\n this.depIds = this.newDepIds, this.newDepIds = n, this.newDepIds.clear(), n = this.deps, this.deps = this.newDeps, this.newDeps = n, this.newDeps.length = 0;\n}, fn.prototype.update = function () {\n this.lazy ? this.dirty = !0 : this.sync ? this.run() : function (e) {\n var t = e.id;\n\n if (null == tn[t]) {\n if (tn[t] = !0, rn) {\n for (var n = Qt.length - 1; n > on && Qt[n].id > e.id;) {\n n--;\n }\n\n Qt.splice(n + 1, 0, e);\n } else Qt.push(e);\n\n nn || (nn = !0, Ye(un));\n }\n }(this);\n}, fn.prototype.run = function () {\n if (this.active) {\n var e = this.get();\n\n if (e !== this.value || o(e) || this.deep) {\n var t = this.value;\n if (this.value = e, this.user) try {\n this.cb.call(this.vm, e, t);\n } catch (e) {\n Re(e, this.vm, 'callback for watcher \"' + this.expression + '\"');\n } else this.cb.call(this.vm, e, t);\n }\n }\n}, fn.prototype.evaluate = function () {\n this.value = this.get(), this.dirty = !1;\n}, fn.prototype.depend = function () {\n for (var e = this.deps.length; e--;) {\n this.deps[e].depend();\n }\n}, fn.prototype.teardown = function () {\n if (this.active) {\n this.vm._isBeingDestroyed || h(this.vm._watchers, this);\n\n for (var e = this.deps.length; e--;) {\n this.deps[e].removeSub(this);\n }\n\n this.active = !1;\n }\n};\nvar pn = {\n enumerable: !0,\n configurable: !0,\n get: S,\n set: S\n};\n\nfunction dn(e, t, n) {\n pn.get = function () {\n return this[t][n];\n }, pn.set = function (e) {\n this[t][n] = e;\n }, Object.defineProperty(e, n, pn);\n}\n\nfunction vn(e) {\n e._watchers = [];\n var t = e.$options;\n t.props && function (e, t) {\n var n = e.$options.propsData || {},\n r = e._props = {},\n i = e.$options._propKeys = [];\n e.$parent && $e(!1);\n\n var o = function o(_o2) {\n i.push(_o2);\n var a = Me(_o2, t, n, e);\n xe(r, _o2, a), _o2 in e || dn(e, \"_props\", _o2);\n };\n\n for (var a in t) {\n o(a);\n }\n\n $e(!0);\n }(e, t.props), t.methods && function (e, t) {\n e.$options.props;\n\n for (var n in t) {\n e[n] = \"function\" != typeof t[n] ? S : x(t[n], e);\n }\n }(e, t.methods), t.data ? function (e) {\n var t = e.$options.data;\n s(t = e._data = \"function\" == typeof t ? function (e, t) {\n le();\n\n try {\n return e.call(t, t);\n } catch (e) {\n return Re(e, t, \"data()\"), {};\n } finally {\n fe();\n }\n }(t, e) : t || {}) || (t = {});\n var n = Object.keys(t),\n r = e.$options.props,\n i = (e.$options.methods, n.length);\n\n for (; i--;) {\n var o = n[i];\n r && y(r, o) || (a = void 0, 36 !== (a = (o + \"\").charCodeAt(0)) && 95 !== a && dn(e, \"_data\", o));\n }\n\n var a;\n Ce(t, !0);\n }(e) : Ce(e._data = {}, !0), t.computed && function (e, t) {\n var n = e._computedWatchers = Object.create(null),\n r = te();\n\n for (var i in t) {\n var o = t[i],\n a = \"function\" == typeof o ? o : o.get;\n r || (n[i] = new fn(e, a || S, S, hn)), i in e || mn(e, i, o);\n }\n }(e, t.computed), t.watch && t.watch !== Y && function (e, t) {\n for (var n in t) {\n var r = t[n];\n if (Array.isArray(r)) for (var i = 0; i < r.length; i++) {\n _n(e, n, r[i]);\n } else _n(e, n, r);\n }\n }(e, t.watch);\n}\n\nvar hn = {\n lazy: !0\n};\n\nfunction mn(e, t, n) {\n var r = !te();\n \"function\" == typeof n ? (pn.get = r ? yn(t) : gn(n), pn.set = S) : (pn.get = n.get ? r && !1 !== n.cache ? yn(t) : gn(n.get) : S, pn.set = n.set || S), Object.defineProperty(e, t, pn);\n}\n\nfunction yn(e) {\n return function () {\n var t = this._computedWatchers && this._computedWatchers[e];\n if (t) return t.dirty && t.evaluate(), ce.target && t.depend(), t.value;\n };\n}\n\nfunction gn(e) {\n return function () {\n return e.call(this, this);\n };\n}\n\nfunction _n(e, t, n, r) {\n return s(n) && (r = n, n = n.handler), \"string\" == typeof n && (n = e[n]), e.$watch(t, n, r);\n}\n\nvar bn = 0;\n\nfunction $n(e) {\n var t = e.options;\n\n if (e.super) {\n var n = $n(e.super);\n\n if (n !== e.superOptions) {\n e.superOptions = n;\n\n var r = function (e) {\n var t,\n n = e.options,\n r = e.sealedOptions;\n\n for (var i in n) {\n n[i] !== r[i] && (t || (t = {}), t[i] = n[i]);\n }\n\n return t;\n }(e);\n\n r && A(e.extendOptions, r), (t = e.options = De(n, e.extendOptions)).name && (t.components[t.name] = e);\n }\n }\n\n return t;\n}\n\nfunction wn(e) {\n this._init(e);\n}\n\nfunction Cn(e) {\n e.cid = 0;\n var t = 1;\n\n e.extend = function (e) {\n e = e || {};\n var n = this,\n r = n.cid,\n i = e._Ctor || (e._Ctor = {});\n if (i[r]) return i[r];\n\n var o = e.name || n.options.name,\n a = function a(e) {\n this._init(e);\n };\n\n return (a.prototype = Object.create(n.prototype)).constructor = a, a.cid = t++, a.options = De(n.options, e), a.super = n, a.options.props && function (e) {\n var t = e.options.props;\n\n for (var n in t) {\n dn(e.prototype, \"_props\", n);\n }\n }(a), a.options.computed && function (e) {\n var t = e.options.computed;\n\n for (var n in t) {\n mn(e.prototype, n, t[n]);\n }\n }(a), a.extend = n.extend, a.mixin = n.mixin, a.use = n.use, M.forEach(function (e) {\n a[e] = n[e];\n }), o && (a.options.components[o] = a), a.superOptions = n.options, a.extendOptions = e, a.sealedOptions = A({}, a.options), i[r] = a, a;\n };\n}\n\nfunction xn(e) {\n return e && (e.Ctor.options.name || e.tag);\n}\n\nfunction kn(e, t) {\n return Array.isArray(e) ? e.indexOf(t) > -1 : \"string\" == typeof e ? e.split(\",\").indexOf(t) > -1 : (n = e, \"[object RegExp]\" === a.call(n) && e.test(t));\n var n;\n}\n\nfunction An(e, t) {\n var n = e.cache,\n r = e.keys,\n i = e._vnode;\n\n for (var o in n) {\n var a = n[o];\n\n if (a) {\n var s = xn(a.componentOptions);\n s && !t(s) && On(n, o, r, i);\n }\n }\n}\n\nfunction On(e, t, n, r) {\n var i = e[t];\n !i || r && i.tag === r.tag || i.componentInstance.$destroy(), e[t] = null, h(n, t);\n}\n\n!function (t) {\n t.prototype._init = function (t) {\n var n = this;\n n._uid = bn++, n._isVue = !0, t && t._isComponent ? function (e, t) {\n var n = e.$options = Object.create(e.constructor.options),\n r = t._parentVnode;\n n.parent = t.parent, n._parentVnode = r;\n var i = r.componentOptions;\n n.propsData = i.propsData, n._parentListeners = i.listeners, n._renderChildren = i.children, n._componentTag = i.tag, t.render && (n.render = t.render, n.staticRenderFns = t.staticRenderFns);\n }(n, t) : n.$options = De($n(n.constructor), t || {}, n), n._renderProxy = n, n._self = n, function (e) {\n var t = e.$options,\n n = t.parent;\n\n if (n && !t.abstract) {\n for (; n.$options.abstract && n.$parent;) {\n n = n.$parent;\n }\n\n n.$children.push(e);\n }\n\n e.$parent = n, e.$root = n ? n.$root : e, e.$children = [], e.$refs = {}, e._watcher = null, e._inactive = null, e._directInactive = !1, e._isMounted = !1, e._isDestroyed = !1, e._isBeingDestroyed = !1;\n }(n), function (e) {\n e._events = Object.create(null), e._hasHookEvent = !1;\n var t = e.$options._parentListeners;\n t && qt(e, t);\n }(n), function (t) {\n t._vnode = null, t._staticTrees = null;\n var n = t.$options,\n r = t.$vnode = n._parentVnode,\n i = r && r.context;\n t.$slots = ut(n._renderChildren, i), t.$scopedSlots = e, t._c = function (e, n, r, i) {\n return Pt(t, e, n, r, i, !1);\n }, t.$createElement = function (e, n, r, i) {\n return Pt(t, e, n, r, i, !0);\n };\n var o = r && r.data;\n xe(t, \"$attrs\", o && o.attrs || e, null, !0), xe(t, \"$listeners\", n._parentListeners || e, null, !0);\n }(n), Yt(n, \"beforeCreate\"), function (e) {\n var t = ct(e.$options.inject, e);\n t && ($e(!1), Object.keys(t).forEach(function (n) {\n xe(e, n, t[n]);\n }), $e(!0));\n }(n), vn(n), function (e) {\n var t = e.$options.provide;\n t && (e._provided = \"function\" == typeof t ? t.call(e) : t);\n }(n), Yt(n, \"created\"), n.$options.el && n.$mount(n.$options.el);\n };\n}(wn), function (e) {\n var t = {\n get: function get() {\n return this._data;\n }\n },\n n = {\n get: function get() {\n return this._props;\n }\n };\n Object.defineProperty(e.prototype, \"$data\", t), Object.defineProperty(e.prototype, \"$props\", n), e.prototype.$set = ke, e.prototype.$delete = Ae, e.prototype.$watch = function (e, t, n) {\n if (s(t)) return _n(this, e, t, n);\n (n = n || {}).user = !0;\n var r = new fn(this, e, t, n);\n if (n.immediate) try {\n t.call(this, r.value);\n } catch (e) {\n Re(e, this, 'callback for immediate watcher \"' + r.expression + '\"');\n }\n return function () {\n r.teardown();\n };\n };\n}(wn), function (e) {\n var t = /^hook:/;\n e.prototype.$on = function (e, n) {\n var r = this;\n if (Array.isArray(e)) for (var i = 0, o = e.length; i < o; i++) {\n r.$on(e[i], n);\n } else (r._events[e] || (r._events[e] = [])).push(n), t.test(e) && (r._hasHookEvent = !0);\n return r;\n }, e.prototype.$once = function (e, t) {\n var n = this;\n\n function r() {\n n.$off(e, r), t.apply(n, arguments);\n }\n\n return r.fn = t, n.$on(e, r), n;\n }, e.prototype.$off = function (e, t) {\n var n = this;\n if (!arguments.length) return n._events = Object.create(null), n;\n\n if (Array.isArray(e)) {\n for (var r = 0, i = e.length; r < i; r++) {\n n.$off(e[r], t);\n }\n\n return n;\n }\n\n var o,\n a = n._events[e];\n if (!a) return n;\n if (!t) return n._events[e] = null, n;\n\n for (var s = a.length; s--;) {\n if ((o = a[s]) === t || o.fn === t) {\n a.splice(s, 1);\n break;\n }\n }\n\n return n;\n }, e.prototype.$emit = function (e) {\n var t = this._events[e];\n\n if (t) {\n t = t.length > 1 ? k(t) : t;\n\n for (var n = k(arguments, 1), r = 'event handler for \"' + e + '\"', i = 0, o = t.length; i < o; i++) {\n He(t[i], this, n, this, r);\n }\n }\n\n return this;\n };\n}(wn), function (e) {\n e.prototype._update = function (e, t) {\n var n = this,\n r = n.$el,\n i = n._vnode,\n o = Zt(n);\n n._vnode = e, n.$el = i ? n.__patch__(i, e) : n.__patch__(n.$el, e, t, !1), o(), r && (r.__vue__ = null), n.$el && (n.$el.__vue__ = n), n.$vnode && n.$parent && n.$vnode === n.$parent._vnode && (n.$parent.$el = n.$el);\n }, e.prototype.$forceUpdate = function () {\n this._watcher && this._watcher.update();\n }, e.prototype.$destroy = function () {\n var e = this;\n\n if (!e._isBeingDestroyed) {\n Yt(e, \"beforeDestroy\"), e._isBeingDestroyed = !0;\n var t = e.$parent;\n !t || t._isBeingDestroyed || e.$options.abstract || h(t.$children, e), e._watcher && e._watcher.teardown();\n\n for (var n = e._watchers.length; n--;) {\n e._watchers[n].teardown();\n }\n\n e._data.__ob__ && e._data.__ob__.vmCount--, e._isDestroyed = !0, e.__patch__(e._vnode, null), Yt(e, \"destroyed\"), e.$off(), e.$el && (e.$el.__vue__ = null), e.$vnode && (e.$vnode.parent = null);\n }\n };\n}(wn), function (e) {\n St(e.prototype), e.prototype.$nextTick = function (e) {\n return Ye(e, this);\n }, e.prototype._render = function () {\n var e,\n t = this,\n n = t.$options,\n r = n.render,\n i = n._parentVnode;\n i && (t.$scopedSlots = ft(i.data.scopedSlots, t.$slots, t.$scopedSlots)), t.$vnode = i;\n\n try {\n Ht = t, e = r.call(t._renderProxy, t.$createElement);\n } catch (n) {\n Re(n, t, \"render\"), e = t._vnode;\n } finally {\n Ht = null;\n }\n\n return Array.isArray(e) && 1 === e.length && (e = e[0]), e instanceof pe || (e = ve()), e.parent = i, e;\n };\n}(wn);\nvar Sn = [String, RegExp, Array],\n Tn = {\n KeepAlive: {\n name: \"keep-alive\",\n abstract: !0,\n props: {\n include: Sn,\n exclude: Sn,\n max: [String, Number]\n },\n created: function created() {\n this.cache = Object.create(null), this.keys = [];\n },\n destroyed: function destroyed() {\n for (var e in this.cache) {\n On(this.cache, e, this.keys);\n }\n },\n mounted: function mounted() {\n var e = this;\n this.$watch(\"include\", function (t) {\n An(e, function (e) {\n return kn(t, e);\n });\n }), this.$watch(\"exclude\", function (t) {\n An(e, function (e) {\n return !kn(t, e);\n });\n });\n },\n render: function render() {\n var e = this.$slots.default,\n t = zt(e),\n n = t && t.componentOptions;\n\n if (n) {\n var r = xn(n),\n i = this.include,\n o = this.exclude;\n if (i && (!r || !kn(i, r)) || o && r && kn(o, r)) return t;\n var a = this.cache,\n s = this.keys,\n c = null == t.key ? n.Ctor.cid + (n.tag ? \"::\" + n.tag : \"\") : t.key;\n a[c] ? (t.componentInstance = a[c].componentInstance, h(s, c), s.push(c)) : (a[c] = t, s.push(c), this.max && s.length > parseInt(this.max) && On(a, s[0], s, this._vnode)), t.data.keepAlive = !0;\n }\n\n return t || e && e[0];\n }\n }\n};\n!function (e) {\n var t = {\n get: function get() {\n return F;\n }\n };\n Object.defineProperty(e, \"config\", t), e.util = {\n warn: ae,\n extend: A,\n mergeOptions: De,\n defineReactive: xe\n }, e.set = ke, e.delete = Ae, e.nextTick = Ye, e.observable = function (e) {\n return Ce(e), e;\n }, e.options = Object.create(null), M.forEach(function (t) {\n e.options[t + \"s\"] = Object.create(null);\n }), e.options._base = e, A(e.options.components, Tn), function (e) {\n e.use = function (e) {\n var t = this._installedPlugins || (this._installedPlugins = []);\n if (t.indexOf(e) > -1) return this;\n var n = k(arguments, 1);\n return n.unshift(this), \"function\" == typeof e.install ? e.install.apply(e, n) : \"function\" == typeof e && e.apply(null, n), t.push(e), this;\n };\n }(e), function (e) {\n e.mixin = function (e) {\n return this.options = De(this.options, e), this;\n };\n }(e), Cn(e), function (e) {\n M.forEach(function (t) {\n e[t] = function (e, n) {\n return n ? (\"component\" === t && s(n) && (n.name = n.name || e, n = this.options._base.extend(n)), \"directive\" === t && \"function\" == typeof n && (n = {\n bind: n,\n update: n\n }), this.options[t + \"s\"][e] = n, n) : this.options[t + \"s\"][e];\n };\n });\n }(e);\n}(wn), Object.defineProperty(wn.prototype, \"$isServer\", {\n get: te\n}), Object.defineProperty(wn.prototype, \"$ssrContext\", {\n get: function get() {\n return this.$vnode && this.$vnode.ssrContext;\n }\n}), Object.defineProperty(wn, \"FunctionalRenderContext\", {\n value: Tt\n}), wn.version = \"2.6.12\";\n\nvar En = p(\"style,class\"),\n Nn = p(\"input,textarea,option,select,progress\"),\n jn = function jn(e, t, n) {\n return \"value\" === n && Nn(e) && \"button\" !== t || \"selected\" === n && \"option\" === e || \"checked\" === n && \"input\" === e || \"muted\" === n && \"video\" === e;\n},\n Dn = p(\"contenteditable,draggable,spellcheck\"),\n Ln = p(\"events,caret,typing,plaintext-only\"),\n Mn = function Mn(e, t) {\n return Hn(t) || \"false\" === t ? \"false\" : \"contenteditable\" === e && Ln(t) ? t : \"true\";\n},\n In = p(\"allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible\"),\n Fn = \"http://www.w3.org/1999/xlink\",\n Pn = function Pn(e) {\n return \":\" === e.charAt(5) && \"xlink\" === e.slice(0, 5);\n},\n Rn = function Rn(e) {\n return Pn(e) ? e.slice(6, e.length) : \"\";\n},\n Hn = function Hn(e) {\n return null == e || !1 === e;\n};\n\nfunction Bn(e) {\n for (var t = e.data, r = e, i = e; n(i.componentInstance);) {\n (i = i.componentInstance._vnode) && i.data && (t = Un(i.data, t));\n }\n\n for (; n(r = r.parent);) {\n r && r.data && (t = Un(t, r.data));\n }\n\n return function (e, t) {\n if (n(e) || n(t)) return zn(e, Vn(t));\n return \"\";\n }(t.staticClass, t.class);\n}\n\nfunction Un(e, t) {\n return {\n staticClass: zn(e.staticClass, t.staticClass),\n class: n(e.class) ? [e.class, t.class] : t.class\n };\n}\n\nfunction zn(e, t) {\n return e ? t ? e + \" \" + t : e : t || \"\";\n}\n\nfunction Vn(e) {\n return Array.isArray(e) ? function (e) {\n for (var t, r = \"\", i = 0, o = e.length; i < o; i++) {\n n(t = Vn(e[i])) && \"\" !== t && (r && (r += \" \"), r += t);\n }\n\n return r;\n }(e) : o(e) ? function (e) {\n var t = \"\";\n\n for (var n in e) {\n e[n] && (t && (t += \" \"), t += n);\n }\n\n return t;\n }(e) : \"string\" == typeof e ? e : \"\";\n}\n\nvar Kn = {\n svg: \"http://www.w3.org/2000/svg\",\n math: \"http://www.w3.org/1998/Math/MathML\"\n},\n Jn = p(\"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot\"),\n qn = p(\"svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view\", !0),\n Wn = function Wn(e) {\n return Jn(e) || qn(e);\n};\n\nfunction Zn(e) {\n return qn(e) ? \"svg\" : \"math\" === e ? \"math\" : void 0;\n}\n\nvar Gn = Object.create(null);\nvar Xn = p(\"text,number,password,search,email,tel,url\");\n\nfunction Yn(e) {\n if (\"string\" == typeof e) {\n var t = document.querySelector(e);\n return t || document.createElement(\"div\");\n }\n\n return e;\n}\n\nvar Qn = Object.freeze({\n createElement: function createElement(e, t) {\n var n = document.createElement(e);\n return \"select\" !== e ? n : (t.data && t.data.attrs && void 0 !== t.data.attrs.multiple && n.setAttribute(\"multiple\", \"multiple\"), n);\n },\n createElementNS: function createElementNS(e, t) {\n return document.createElementNS(Kn[e], t);\n },\n createTextNode: function createTextNode(e) {\n return document.createTextNode(e);\n },\n createComment: function createComment(e) {\n return document.createComment(e);\n },\n insertBefore: function insertBefore(e, t, n) {\n e.insertBefore(t, n);\n },\n removeChild: function removeChild(e, t) {\n e.removeChild(t);\n },\n appendChild: function appendChild(e, t) {\n e.appendChild(t);\n },\n parentNode: function parentNode(e) {\n return e.parentNode;\n },\n nextSibling: function nextSibling(e) {\n return e.nextSibling;\n },\n tagName: function tagName(e) {\n return e.tagName;\n },\n setTextContent: function setTextContent(e, t) {\n e.textContent = t;\n },\n setStyleScope: function setStyleScope(e, t) {\n e.setAttribute(t, \"\");\n }\n}),\n er = {\n create: function create(e, t) {\n tr(t);\n },\n update: function update(e, t) {\n e.data.ref !== t.data.ref && (tr(e, !0), tr(t));\n },\n destroy: function destroy(e) {\n tr(e, !0);\n }\n};\n\nfunction tr(e, t) {\n var r = e.data.ref;\n\n if (n(r)) {\n var i = e.context,\n o = e.componentInstance || e.elm,\n a = i.$refs;\n t ? Array.isArray(a[r]) ? h(a[r], o) : a[r] === o && (a[r] = void 0) : e.data.refInFor ? Array.isArray(a[r]) ? a[r].indexOf(o) < 0 && a[r].push(o) : a[r] = [o] : a[r] = o;\n }\n}\n\nvar nr = new pe(\"\", {}, []),\n rr = [\"create\", \"activate\", \"update\", \"remove\", \"destroy\"];\n\nfunction ir(e, i) {\n return e.key === i.key && (e.tag === i.tag && e.isComment === i.isComment && n(e.data) === n(i.data) && function (e, t) {\n if (\"input\" !== e.tag) return !0;\n var r,\n i = n(r = e.data) && n(r = r.attrs) && r.type,\n o = n(r = t.data) && n(r = r.attrs) && r.type;\n return i === o || Xn(i) && Xn(o);\n }(e, i) || r(e.isAsyncPlaceholder) && e.asyncFactory === i.asyncFactory && t(i.asyncFactory.error));\n}\n\nfunction or(e, t, r) {\n var i,\n o,\n a = {};\n\n for (i = t; i <= r; ++i) {\n n(o = e[i].key) && (a[o] = i);\n }\n\n return a;\n}\n\nvar ar = {\n create: sr,\n update: sr,\n destroy: function destroy(e) {\n sr(e, nr);\n }\n};\n\nfunction sr(e, t) {\n (e.data.directives || t.data.directives) && function (e, t) {\n var n,\n r,\n i,\n o = e === nr,\n a = t === nr,\n s = ur(e.data.directives, e.context),\n c = ur(t.data.directives, t.context),\n u = [],\n l = [];\n\n for (n in c) {\n r = s[n], i = c[n], r ? (i.oldValue = r.value, i.oldArg = r.arg, fr(i, \"update\", t, e), i.def && i.def.componentUpdated && l.push(i)) : (fr(i, \"bind\", t, e), i.def && i.def.inserted && u.push(i));\n }\n\n if (u.length) {\n var f = function f() {\n for (var n = 0; n < u.length; n++) {\n fr(u[n], \"inserted\", t, e);\n }\n };\n\n o ? it(t, \"insert\", f) : f();\n }\n\n l.length && it(t, \"postpatch\", function () {\n for (var n = 0; n < l.length; n++) {\n fr(l[n], \"componentUpdated\", t, e);\n }\n });\n if (!o) for (n in s) {\n c[n] || fr(s[n], \"unbind\", e, e, a);\n }\n }(e, t);\n}\n\nvar cr = Object.create(null);\n\nfunction ur(e, t) {\n var n,\n r,\n i = Object.create(null);\n if (!e) return i;\n\n for (n = 0; n < e.length; n++) {\n (r = e[n]).modifiers || (r.modifiers = cr), i[lr(r)] = r, r.def = Le(t.$options, \"directives\", r.name);\n }\n\n return i;\n}\n\nfunction lr(e) {\n return e.rawName || e.name + \".\" + Object.keys(e.modifiers || {}).join(\".\");\n}\n\nfunction fr(e, t, n, r, i) {\n var o = e.def && e.def[t];\n if (o) try {\n o(n.elm, e, n, r, i);\n } catch (r) {\n Re(r, n.context, \"directive \" + e.name + \" \" + t + \" hook\");\n }\n}\n\nvar pr = [er, ar];\n\nfunction dr(e, r) {\n var i = r.componentOptions;\n\n if (!(n(i) && !1 === i.Ctor.options.inheritAttrs || t(e.data.attrs) && t(r.data.attrs))) {\n var o,\n a,\n s = r.elm,\n c = e.data.attrs || {},\n u = r.data.attrs || {};\n\n for (o in n(u.__ob__) && (u = r.data.attrs = A({}, u)), u) {\n a = u[o], c[o] !== a && vr(s, o, a);\n }\n\n for (o in (q || Z) && u.value !== c.value && vr(s, \"value\", u.value), c) {\n t(u[o]) && (Pn(o) ? s.removeAttributeNS(Fn, Rn(o)) : Dn(o) || s.removeAttribute(o));\n }\n }\n}\n\nfunction vr(e, t, n) {\n e.tagName.indexOf(\"-\") > -1 ? hr(e, t, n) : In(t) ? Hn(n) ? e.removeAttribute(t) : (n = \"allowfullscreen\" === t && \"EMBED\" === e.tagName ? \"true\" : t, e.setAttribute(t, n)) : Dn(t) ? e.setAttribute(t, Mn(t, n)) : Pn(t) ? Hn(n) ? e.removeAttributeNS(Fn, Rn(t)) : e.setAttributeNS(Fn, t, n) : hr(e, t, n);\n}\n\nfunction hr(e, t, n) {\n if (Hn(n)) e.removeAttribute(t);else {\n if (q && !W && \"TEXTAREA\" === e.tagName && \"placeholder\" === t && \"\" !== n && !e.__ieph) {\n var r = function r(t) {\n t.stopImmediatePropagation(), e.removeEventListener(\"input\", r);\n };\n\n e.addEventListener(\"input\", r), e.__ieph = !0;\n }\n\n e.setAttribute(t, n);\n }\n}\n\nvar mr = {\n create: dr,\n update: dr\n};\n\nfunction yr(e, r) {\n var i = r.elm,\n o = r.data,\n a = e.data;\n\n if (!(t(o.staticClass) && t(o.class) && (t(a) || t(a.staticClass) && t(a.class)))) {\n var s = Bn(r),\n c = i._transitionClasses;\n n(c) && (s = zn(s, Vn(c))), s !== i._prevClass && (i.setAttribute(\"class\", s), i._prevClass = s);\n }\n}\n\nvar gr,\n _r,\n br,\n $r,\n wr,\n Cr,\n xr = {\n create: yr,\n update: yr\n},\n kr = /[\\w).+\\-_$\\]]/;\n\nfunction Ar(e) {\n var t,\n n,\n r,\n i,\n o,\n a = !1,\n s = !1,\n c = !1,\n u = !1,\n l = 0,\n f = 0,\n p = 0,\n d = 0;\n\n for (r = 0; r < e.length; r++) {\n if (n = t, t = e.charCodeAt(r), a) 39 === t && 92 !== n && (a = !1);else if (s) 34 === t && 92 !== n && (s = !1);else if (c) 96 === t && 92 !== n && (c = !1);else if (u) 47 === t && 92 !== n && (u = !1);else if (124 !== t || 124 === e.charCodeAt(r + 1) || 124 === e.charCodeAt(r - 1) || l || f || p) {\n switch (t) {\n case 34:\n s = !0;\n break;\n\n case 39:\n a = !0;\n break;\n\n case 96:\n c = !0;\n break;\n\n case 40:\n p++;\n break;\n\n case 41:\n p--;\n break;\n\n case 91:\n f++;\n break;\n\n case 93:\n f--;\n break;\n\n case 123:\n l++;\n break;\n\n case 125:\n l--;\n }\n\n if (47 === t) {\n for (var v = r - 1, h = void 0; v >= 0 && \" \" === (h = e.charAt(v)); v--) {\n ;\n }\n\n h && kr.test(h) || (u = !0);\n }\n } else void 0 === i ? (d = r + 1, i = e.slice(0, r).trim()) : m();\n }\n\n function m() {\n (o || (o = [])).push(e.slice(d, r).trim()), d = r + 1;\n }\n\n if (void 0 === i ? i = e.slice(0, r).trim() : 0 !== d && m(), o) for (r = 0; r < o.length; r++) {\n i = Or(i, o[r]);\n }\n return i;\n}\n\nfunction Or(e, t) {\n var n = t.indexOf(\"(\");\n if (n < 0) return '_f(\"' + t + '\")(' + e + \")\";\n var r = t.slice(0, n),\n i = t.slice(n + 1);\n return '_f(\"' + r + '\")(' + e + (\")\" !== i ? \",\" + i : i);\n}\n\nfunction Sr(e, t) {\n console.error(\"[Vue compiler]: \" + e);\n}\n\nfunction Tr(e, t) {\n return e ? e.map(function (e) {\n return e[t];\n }).filter(function (e) {\n return e;\n }) : [];\n}\n\nfunction Er(e, t, n, r, i) {\n (e.props || (e.props = [])).push(Rr({\n name: t,\n value: n,\n dynamic: i\n }, r)), e.plain = !1;\n}\n\nfunction Nr(e, t, n, r, i) {\n (i ? e.dynamicAttrs || (e.dynamicAttrs = []) : e.attrs || (e.attrs = [])).push(Rr({\n name: t,\n value: n,\n dynamic: i\n }, r)), e.plain = !1;\n}\n\nfunction jr(e, t, n, r) {\n e.attrsMap[t] = n, e.attrsList.push(Rr({\n name: t,\n value: n\n }, r));\n}\n\nfunction Dr(e, t, n, r, i, o, a, s) {\n (e.directives || (e.directives = [])).push(Rr({\n name: t,\n rawName: n,\n value: r,\n arg: i,\n isDynamicArg: o,\n modifiers: a\n }, s)), e.plain = !1;\n}\n\nfunction Lr(e, t, n) {\n return n ? \"_p(\" + t + ',\"' + e + '\")' : e + t;\n}\n\nfunction Mr(t, n, r, i, o, a, s, c) {\n var u;\n (i = i || e).right ? c ? n = \"(\" + n + \")==='click'?'contextmenu':(\" + n + \")\" : \"click\" === n && (n = \"contextmenu\", delete i.right) : i.middle && (c ? n = \"(\" + n + \")==='click'?'mouseup':(\" + n + \")\" : \"click\" === n && (n = \"mouseup\")), i.capture && (delete i.capture, n = Lr(\"!\", n, c)), i.once && (delete i.once, n = Lr(\"~\", n, c)), i.passive && (delete i.passive, n = Lr(\"&\", n, c)), i.native ? (delete i.native, u = t.nativeEvents || (t.nativeEvents = {})) : u = t.events || (t.events = {});\n var l = Rr({\n value: r.trim(),\n dynamic: c\n }, s);\n i !== e && (l.modifiers = i);\n var f = u[n];\n Array.isArray(f) ? o ? f.unshift(l) : f.push(l) : u[n] = f ? o ? [l, f] : [f, l] : l, t.plain = !1;\n}\n\nfunction Ir(e, t, n) {\n var r = Fr(e, \":\" + t) || Fr(e, \"v-bind:\" + t);\n if (null != r) return Ar(r);\n\n if (!1 !== n) {\n var i = Fr(e, t);\n if (null != i) return JSON.stringify(i);\n }\n}\n\nfunction Fr(e, t, n) {\n var r;\n if (null != (r = e.attrsMap[t])) for (var i = e.attrsList, o = 0, a = i.length; o < a; o++) {\n if (i[o].name === t) {\n i.splice(o, 1);\n break;\n }\n }\n return n && delete e.attrsMap[t], r;\n}\n\nfunction Pr(e, t) {\n for (var n = e.attrsList, r = 0, i = n.length; r < i; r++) {\n var o = n[r];\n if (t.test(o.name)) return n.splice(r, 1), o;\n }\n}\n\nfunction Rr(e, t) {\n return t && (null != t.start && (e.start = t.start), null != t.end && (e.end = t.end)), e;\n}\n\nfunction Hr(e, t, n) {\n var r = n || {},\n i = r.number,\n o = \"$$v\";\n r.trim && (o = \"(typeof $$v === 'string'? $$v.trim(): $$v)\"), i && (o = \"_n(\" + o + \")\");\n var a = Br(t, o);\n e.model = {\n value: \"(\" + t + \")\",\n expression: JSON.stringify(t),\n callback: \"function ($$v) {\" + a + \"}\"\n };\n}\n\nfunction Br(e, t) {\n var n = function (e) {\n if (e = e.trim(), gr = e.length, e.indexOf(\"[\") < 0 || e.lastIndexOf(\"]\") < gr - 1) return ($r = e.lastIndexOf(\".\")) > -1 ? {\n exp: e.slice(0, $r),\n key: '\"' + e.slice($r + 1) + '\"'\n } : {\n exp: e,\n key: null\n };\n _r = e, $r = wr = Cr = 0;\n\n for (; !zr();) {\n Vr(br = Ur()) ? Jr(br) : 91 === br && Kr(br);\n }\n\n return {\n exp: e.slice(0, wr),\n key: e.slice(wr + 1, Cr)\n };\n }(e);\n\n return null === n.key ? e + \"=\" + t : \"$set(\" + n.exp + \", \" + n.key + \", \" + t + \")\";\n}\n\nfunction Ur() {\n return _r.charCodeAt(++$r);\n}\n\nfunction zr() {\n return $r >= gr;\n}\n\nfunction Vr(e) {\n return 34 === e || 39 === e;\n}\n\nfunction Kr(e) {\n var t = 1;\n\n for (wr = $r; !zr();) {\n if (Vr(e = Ur())) Jr(e);else if (91 === e && t++, 93 === e && t--, 0 === t) {\n Cr = $r;\n break;\n }\n }\n}\n\nfunction Jr(e) {\n for (var t = e; !zr() && (e = Ur()) !== t;) {\n ;\n }\n}\n\nvar qr,\n Wr = \"__r\",\n Zr = \"__c\";\n\nfunction Gr(e, t, n) {\n var r = qr;\n return function i() {\n null !== t.apply(null, arguments) && Qr(e, i, n, r);\n };\n}\n\nvar Xr = Ve && !(X && Number(X[1]) <= 53);\n\nfunction Yr(e, t, n, r) {\n if (Xr) {\n var i = an,\n o = t;\n\n t = o._wrapper = function (e) {\n if (e.target === e.currentTarget || e.timeStamp >= i || e.timeStamp <= 0 || e.target.ownerDocument !== document) return o.apply(this, arguments);\n };\n }\n\n qr.addEventListener(e, t, Q ? {\n capture: n,\n passive: r\n } : n);\n}\n\nfunction Qr(e, t, n, r) {\n (r || qr).removeEventListener(e, t._wrapper || t, n);\n}\n\nfunction ei(e, r) {\n if (!t(e.data.on) || !t(r.data.on)) {\n var i = r.data.on || {},\n o = e.data.on || {};\n qr = r.elm, function (e) {\n if (n(e[Wr])) {\n var t = q ? \"change\" : \"input\";\n e[t] = [].concat(e[Wr], e[t] || []), delete e[Wr];\n }\n\n n(e[Zr]) && (e.change = [].concat(e[Zr], e.change || []), delete e[Zr]);\n }(i), rt(i, o, Yr, Qr, Gr, r.context), qr = void 0;\n }\n}\n\nvar ti,\n ni = {\n create: ei,\n update: ei\n};\n\nfunction ri(e, r) {\n if (!t(e.data.domProps) || !t(r.data.domProps)) {\n var i,\n o,\n a = r.elm,\n s = e.data.domProps || {},\n c = r.data.domProps || {};\n\n for (i in n(c.__ob__) && (c = r.data.domProps = A({}, c)), s) {\n i in c || (a[i] = \"\");\n }\n\n for (i in c) {\n if (o = c[i], \"textContent\" === i || \"innerHTML\" === i) {\n if (r.children && (r.children.length = 0), o === s[i]) continue;\n 1 === a.childNodes.length && a.removeChild(a.childNodes[0]);\n }\n\n if (\"value\" === i && \"PROGRESS\" !== a.tagName) {\n a._value = o;\n var u = t(o) ? \"\" : String(o);\n ii(a, u) && (a.value = u);\n } else if (\"innerHTML\" === i && qn(a.tagName) && t(a.innerHTML)) {\n (ti = ti || document.createElement(\"div\")).innerHTML = \"\" + o + \"\";\n\n for (var l = ti.firstChild; a.firstChild;) {\n a.removeChild(a.firstChild);\n }\n\n for (; l.firstChild;) {\n a.appendChild(l.firstChild);\n }\n } else if (o !== s[i]) try {\n a[i] = o;\n } catch (e) {}\n }\n }\n}\n\nfunction ii(e, t) {\n return !e.composing && (\"OPTION\" === e.tagName || function (e, t) {\n var n = !0;\n\n try {\n n = document.activeElement !== e;\n } catch (e) {}\n\n return n && e.value !== t;\n }(e, t) || function (e, t) {\n var r = e.value,\n i = e._vModifiers;\n\n if (n(i)) {\n if (i.number) return f(r) !== f(t);\n if (i.trim) return r.trim() !== t.trim();\n }\n\n return r !== t;\n }(e, t));\n}\n\nvar oi = {\n create: ri,\n update: ri\n},\n ai = g(function (e) {\n var t = {},\n n = /:(.+)/;\n return e.split(/;(?![^(]*\\))/g).forEach(function (e) {\n if (e) {\n var r = e.split(n);\n r.length > 1 && (t[r[0].trim()] = r[1].trim());\n }\n }), t;\n});\n\nfunction si(e) {\n var t = ci(e.style);\n return e.staticStyle ? A(e.staticStyle, t) : t;\n}\n\nfunction ci(e) {\n return Array.isArray(e) ? O(e) : \"string\" == typeof e ? ai(e) : e;\n}\n\nvar ui,\n li = /^--/,\n fi = /\\s*!important$/,\n pi = function pi(e, t, n) {\n if (li.test(t)) e.style.setProperty(t, n);else if (fi.test(n)) e.style.setProperty(C(t), n.replace(fi, \"\"), \"important\");else {\n var r = vi(t);\n if (Array.isArray(n)) for (var i = 0, o = n.length; i < o; i++) {\n e.style[r] = n[i];\n } else e.style[r] = n;\n }\n},\n di = [\"Webkit\", \"Moz\", \"ms\"],\n vi = g(function (e) {\n if (ui = ui || document.createElement(\"div\").style, \"filter\" !== (e = b(e)) && e in ui) return e;\n\n for (var t = e.charAt(0).toUpperCase() + e.slice(1), n = 0; n < di.length; n++) {\n var r = di[n] + t;\n if (r in ui) return r;\n }\n});\n\nfunction hi(e, r) {\n var i = r.data,\n o = e.data;\n\n if (!(t(i.staticStyle) && t(i.style) && t(o.staticStyle) && t(o.style))) {\n var a,\n s,\n c = r.elm,\n u = o.staticStyle,\n l = o.normalizedStyle || o.style || {},\n f = u || l,\n p = ci(r.data.style) || {};\n r.data.normalizedStyle = n(p.__ob__) ? A({}, p) : p;\n\n var d = function (e, t) {\n var n,\n r = {};\n if (t) for (var i = e; i.componentInstance;) {\n (i = i.componentInstance._vnode) && i.data && (n = si(i.data)) && A(r, n);\n }\n (n = si(e.data)) && A(r, n);\n\n for (var o = e; o = o.parent;) {\n o.data && (n = si(o.data)) && A(r, n);\n }\n\n return r;\n }(r, !0);\n\n for (s in f) {\n t(d[s]) && pi(c, s, \"\");\n }\n\n for (s in d) {\n (a = d[s]) !== f[s] && pi(c, s, null == a ? \"\" : a);\n }\n }\n}\n\nvar mi = {\n create: hi,\n update: hi\n},\n yi = /\\s+/;\n\nfunction gi(e, t) {\n if (t && (t = t.trim())) if (e.classList) t.indexOf(\" \") > -1 ? t.split(yi).forEach(function (t) {\n return e.classList.add(t);\n }) : e.classList.add(t);else {\n var n = \" \" + (e.getAttribute(\"class\") || \"\") + \" \";\n n.indexOf(\" \" + t + \" \") < 0 && e.setAttribute(\"class\", (n + t).trim());\n }\n}\n\nfunction _i(e, t) {\n if (t && (t = t.trim())) if (e.classList) t.indexOf(\" \") > -1 ? t.split(yi).forEach(function (t) {\n return e.classList.remove(t);\n }) : e.classList.remove(t), e.classList.length || e.removeAttribute(\"class\");else {\n for (var n = \" \" + (e.getAttribute(\"class\") || \"\") + \" \", r = \" \" + t + \" \"; n.indexOf(r) >= 0;) {\n n = n.replace(r, \" \");\n }\n\n (n = n.trim()) ? e.setAttribute(\"class\", n) : e.removeAttribute(\"class\");\n }\n}\n\nfunction bi(e) {\n if (e) {\n if (\"object\" == _typeof(e)) {\n var t = {};\n return !1 !== e.css && A(t, $i(e.name || \"v\")), A(t, e), t;\n }\n\n return \"string\" == typeof e ? $i(e) : void 0;\n }\n}\n\nvar $i = g(function (e) {\n return {\n enterClass: e + \"-enter\",\n enterToClass: e + \"-enter-to\",\n enterActiveClass: e + \"-enter-active\",\n leaveClass: e + \"-leave\",\n leaveToClass: e + \"-leave-to\",\n leaveActiveClass: e + \"-leave-active\"\n };\n}),\n wi = z && !W,\n Ci = \"transition\",\n xi = \"animation\",\n ki = \"transition\",\n Ai = \"transitionend\",\n Oi = \"animation\",\n Si = \"animationend\";\nwi && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && (ki = \"WebkitTransition\", Ai = \"webkitTransitionEnd\"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Oi = \"WebkitAnimation\", Si = \"webkitAnimationEnd\"));\nvar Ti = z ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : function (e) {\n return e();\n};\n\nfunction Ei(e) {\n Ti(function () {\n Ti(e);\n });\n}\n\nfunction Ni(e, t) {\n var n = e._transitionClasses || (e._transitionClasses = []);\n n.indexOf(t) < 0 && (n.push(t), gi(e, t));\n}\n\nfunction ji(e, t) {\n e._transitionClasses && h(e._transitionClasses, t), _i(e, t);\n}\n\nfunction Di(e, t, n) {\n var r = Mi(e, t),\n i = r.type,\n o = r.timeout,\n a = r.propCount;\n if (!i) return n();\n\n var s = i === Ci ? Ai : Si,\n c = 0,\n u = function u() {\n e.removeEventListener(s, l), n();\n },\n l = function l(t) {\n t.target === e && ++c >= a && u();\n };\n\n setTimeout(function () {\n c < a && u();\n }, o + 1), e.addEventListener(s, l);\n}\n\nvar Li = /\\b(transform|all)(,|$)/;\n\nfunction Mi(e, t) {\n var n,\n r = window.getComputedStyle(e),\n i = (r[ki + \"Delay\"] || \"\").split(\", \"),\n o = (r[ki + \"Duration\"] || \"\").split(\", \"),\n a = Ii(i, o),\n s = (r[Oi + \"Delay\"] || \"\").split(\", \"),\n c = (r[Oi + \"Duration\"] || \"\").split(\", \"),\n u = Ii(s, c),\n l = 0,\n f = 0;\n return t === Ci ? a > 0 && (n = Ci, l = a, f = o.length) : t === xi ? u > 0 && (n = xi, l = u, f = c.length) : f = (n = (l = Math.max(a, u)) > 0 ? a > u ? Ci : xi : null) ? n === Ci ? o.length : c.length : 0, {\n type: n,\n timeout: l,\n propCount: f,\n hasTransform: n === Ci && Li.test(r[ki + \"Property\"])\n };\n}\n\nfunction Ii(e, t) {\n for (; e.length < t.length;) {\n e = e.concat(e);\n }\n\n return Math.max.apply(null, t.map(function (t, n) {\n return Fi(t) + Fi(e[n]);\n }));\n}\n\nfunction Fi(e) {\n return 1e3 * Number(e.slice(0, -1).replace(\",\", \".\"));\n}\n\nfunction Pi(e, r) {\n var i = e.elm;\n n(i._leaveCb) && (i._leaveCb.cancelled = !0, i._leaveCb());\n var a = bi(e.data.transition);\n\n if (!t(a) && !n(i._enterCb) && 1 === i.nodeType) {\n for (var s = a.css, c = a.type, u = a.enterClass, l = a.enterToClass, p = a.enterActiveClass, d = a.appearClass, v = a.appearToClass, h = a.appearActiveClass, m = a.beforeEnter, y = a.enter, g = a.afterEnter, _ = a.enterCancelled, b = a.beforeAppear, $ = a.appear, w = a.afterAppear, C = a.appearCancelled, x = a.duration, k = Wt, A = Wt.$vnode; A && A.parent;) {\n k = A.context, A = A.parent;\n }\n\n var O = !k._isMounted || !e.isRootInsert;\n\n if (!O || $ || \"\" === $) {\n var S = O && d ? d : u,\n T = O && h ? h : p,\n E = O && v ? v : l,\n N = O && b || m,\n j = O && \"function\" == typeof $ ? $ : y,\n L = O && w || g,\n M = O && C || _,\n I = f(o(x) ? x.enter : x),\n F = !1 !== s && !W,\n P = Bi(j),\n R = i._enterCb = D(function () {\n F && (ji(i, E), ji(i, T)), R.cancelled ? (F && ji(i, S), M && M(i)) : L && L(i), i._enterCb = null;\n });\n e.data.show || it(e, \"insert\", function () {\n var t = i.parentNode,\n n = t && t._pending && t._pending[e.key];\n n && n.tag === e.tag && n.elm._leaveCb && n.elm._leaveCb(), j && j(i, R);\n }), N && N(i), F && (Ni(i, S), Ni(i, T), Ei(function () {\n ji(i, S), R.cancelled || (Ni(i, E), P || (Hi(I) ? setTimeout(R, I) : Di(i, c, R)));\n })), e.data.show && (r && r(), j && j(i, R)), F || P || R();\n }\n }\n}\n\nfunction Ri(e, r) {\n var i = e.elm;\n n(i._enterCb) && (i._enterCb.cancelled = !0, i._enterCb());\n var a = bi(e.data.transition);\n if (t(a) || 1 !== i.nodeType) return r();\n\n if (!n(i._leaveCb)) {\n var s = a.css,\n c = a.type,\n u = a.leaveClass,\n l = a.leaveToClass,\n p = a.leaveActiveClass,\n d = a.beforeLeave,\n v = a.leave,\n h = a.afterLeave,\n m = a.leaveCancelled,\n y = a.delayLeave,\n g = a.duration,\n _ = !1 !== s && !W,\n b = Bi(v),\n $ = f(o(g) ? g.leave : g),\n w = i._leaveCb = D(function () {\n i.parentNode && i.parentNode._pending && (i.parentNode._pending[e.key] = null), _ && (ji(i, l), ji(i, p)), w.cancelled ? (_ && ji(i, u), m && m(i)) : (r(), h && h(i)), i._leaveCb = null;\n });\n\n y ? y(C) : C();\n }\n\n function C() {\n w.cancelled || (!e.data.show && i.parentNode && ((i.parentNode._pending || (i.parentNode._pending = {}))[e.key] = e), d && d(i), _ && (Ni(i, u), Ni(i, p), Ei(function () {\n ji(i, u), w.cancelled || (Ni(i, l), b || (Hi($) ? setTimeout(w, $) : Di(i, c, w)));\n })), v && v(i, w), _ || b || w());\n }\n}\n\nfunction Hi(e) {\n return \"number\" == typeof e && !isNaN(e);\n}\n\nfunction Bi(e) {\n if (t(e)) return !1;\n var r = e.fns;\n return n(r) ? Bi(Array.isArray(r) ? r[0] : r) : (e._length || e.length) > 1;\n}\n\nfunction Ui(e, t) {\n !0 !== t.data.show && Pi(t);\n}\n\nvar zi = function (e) {\n var o,\n a,\n s = {},\n c = e.modules,\n u = e.nodeOps;\n\n for (o = 0; o < rr.length; ++o) {\n for (s[rr[o]] = [], a = 0; a < c.length; ++a) {\n n(c[a][rr[o]]) && s[rr[o]].push(c[a][rr[o]]);\n }\n }\n\n function l(e) {\n var t = u.parentNode(e);\n n(t) && u.removeChild(t, e);\n }\n\n function f(e, t, i, o, a, c, l) {\n if (n(e.elm) && n(c) && (e = c[l] = me(e)), e.isRootInsert = !a, !function (e, t, i, o) {\n var a = e.data;\n\n if (n(a)) {\n var c = n(e.componentInstance) && a.keepAlive;\n if (n(a = a.hook) && n(a = a.init) && a(e, !1), n(e.componentInstance)) return d(e, t), v(i, e.elm, o), r(c) && function (e, t, r, i) {\n for (var o, a = e; a.componentInstance;) {\n if (a = a.componentInstance._vnode, n(o = a.data) && n(o = o.transition)) {\n for (o = 0; o < s.activate.length; ++o) {\n s.activate[o](nr, a);\n }\n\n t.push(a);\n break;\n }\n }\n\n v(r, e.elm, i);\n }(e, t, i, o), !0;\n }\n }(e, t, i, o)) {\n var f = e.data,\n p = e.children,\n m = e.tag;\n n(m) ? (e.elm = e.ns ? u.createElementNS(e.ns, m) : u.createElement(m, e), g(e), h(e, p, t), n(f) && y(e, t), v(i, e.elm, o)) : r(e.isComment) ? (e.elm = u.createComment(e.text), v(i, e.elm, o)) : (e.elm = u.createTextNode(e.text), v(i, e.elm, o));\n }\n }\n\n function d(e, t) {\n n(e.data.pendingInsert) && (t.push.apply(t, e.data.pendingInsert), e.data.pendingInsert = null), e.elm = e.componentInstance.$el, m(e) ? (y(e, t), g(e)) : (tr(e), t.push(e));\n }\n\n function v(e, t, r) {\n n(e) && (n(r) ? u.parentNode(r) === e && u.insertBefore(e, t, r) : u.appendChild(e, t));\n }\n\n function h(e, t, n) {\n if (Array.isArray(t)) for (var r = 0; r < t.length; ++r) {\n f(t[r], n, e.elm, null, !0, t, r);\n } else i(e.text) && u.appendChild(e.elm, u.createTextNode(String(e.text)));\n }\n\n function m(e) {\n for (; e.componentInstance;) {\n e = e.componentInstance._vnode;\n }\n\n return n(e.tag);\n }\n\n function y(e, t) {\n for (var r = 0; r < s.create.length; ++r) {\n s.create[r](nr, e);\n }\n\n n(o = e.data.hook) && (n(o.create) && o.create(nr, e), n(o.insert) && t.push(e));\n }\n\n function g(e) {\n var t;\n if (n(t = e.fnScopeId)) u.setStyleScope(e.elm, t);else for (var r = e; r;) {\n n(t = r.context) && n(t = t.$options._scopeId) && u.setStyleScope(e.elm, t), r = r.parent;\n }\n n(t = Wt) && t !== e.context && t !== e.fnContext && n(t = t.$options._scopeId) && u.setStyleScope(e.elm, t);\n }\n\n function _(e, t, n, r, i, o) {\n for (; r <= i; ++r) {\n f(n[r], o, e, t, !1, n, r);\n }\n }\n\n function b(e) {\n var t,\n r,\n i = e.data;\n if (n(i)) for (n(t = i.hook) && n(t = t.destroy) && t(e), t = 0; t < s.destroy.length; ++t) {\n s.destroy[t](e);\n }\n if (n(t = e.children)) for (r = 0; r < e.children.length; ++r) {\n b(e.children[r]);\n }\n }\n\n function $(e, t, r) {\n for (; t <= r; ++t) {\n var i = e[t];\n n(i) && (n(i.tag) ? (w(i), b(i)) : l(i.elm));\n }\n }\n\n function w(e, t) {\n if (n(t) || n(e.data)) {\n var r,\n i = s.remove.length + 1;\n\n for (n(t) ? t.listeners += i : t = function (e, t) {\n function n() {\n 0 == --n.listeners && l(e);\n }\n\n return n.listeners = t, n;\n }(e.elm, i), n(r = e.componentInstance) && n(r = r._vnode) && n(r.data) && w(r, t), r = 0; r < s.remove.length; ++r) {\n s.remove[r](e, t);\n }\n\n n(r = e.data.hook) && n(r = r.remove) ? r(e, t) : t();\n } else l(e.elm);\n }\n\n function C(e, t, r, i) {\n for (var o = r; o < i; o++) {\n var a = t[o];\n if (n(a) && ir(e, a)) return o;\n }\n }\n\n function x(e, i, o, a, c, l) {\n if (e !== i) {\n n(i.elm) && n(a) && (i = a[c] = me(i));\n var p = i.elm = e.elm;\n if (r(e.isAsyncPlaceholder)) n(i.asyncFactory.resolved) ? O(e.elm, i, o) : i.isAsyncPlaceholder = !0;else if (r(i.isStatic) && r(e.isStatic) && i.key === e.key && (r(i.isCloned) || r(i.isOnce))) i.componentInstance = e.componentInstance;else {\n var d,\n v = i.data;\n n(v) && n(d = v.hook) && n(d = d.prepatch) && d(e, i);\n var h = e.children,\n y = i.children;\n\n if (n(v) && m(i)) {\n for (d = 0; d < s.update.length; ++d) {\n s.update[d](e, i);\n }\n\n n(d = v.hook) && n(d = d.update) && d(e, i);\n }\n\n t(i.text) ? n(h) && n(y) ? h !== y && function (e, r, i, o, a) {\n for (var s, c, l, p = 0, d = 0, v = r.length - 1, h = r[0], m = r[v], y = i.length - 1, g = i[0], b = i[y], w = !a; p <= v && d <= y;) {\n t(h) ? h = r[++p] : t(m) ? m = r[--v] : ir(h, g) ? (x(h, g, o, i, d), h = r[++p], g = i[++d]) : ir(m, b) ? (x(m, b, o, i, y), m = r[--v], b = i[--y]) : ir(h, b) ? (x(h, b, o, i, y), w && u.insertBefore(e, h.elm, u.nextSibling(m.elm)), h = r[++p], b = i[--y]) : ir(m, g) ? (x(m, g, o, i, d), w && u.insertBefore(e, m.elm, h.elm), m = r[--v], g = i[++d]) : (t(s) && (s = or(r, p, v)), t(c = n(g.key) ? s[g.key] : C(g, r, p, v)) ? f(g, o, e, h.elm, !1, i, d) : ir(l = r[c], g) ? (x(l, g, o, i, d), r[c] = void 0, w && u.insertBefore(e, l.elm, h.elm)) : f(g, o, e, h.elm, !1, i, d), g = i[++d]);\n }\n\n p > v ? _(e, t(i[y + 1]) ? null : i[y + 1].elm, i, d, y, o) : d > y && $(r, p, v);\n }(p, h, y, o, l) : n(y) ? (n(e.text) && u.setTextContent(p, \"\"), _(p, null, y, 0, y.length - 1, o)) : n(h) ? $(h, 0, h.length - 1) : n(e.text) && u.setTextContent(p, \"\") : e.text !== i.text && u.setTextContent(p, i.text), n(v) && n(d = v.hook) && n(d = d.postpatch) && d(e, i);\n }\n }\n }\n\n function k(e, t, i) {\n if (r(i) && n(e.parent)) e.parent.data.pendingInsert = t;else for (var o = 0; o < t.length; ++o) {\n t[o].data.hook.insert(t[o]);\n }\n }\n\n var A = p(\"attrs,class,staticClass,staticStyle,key\");\n\n function O(e, t, i, o) {\n var a,\n s = t.tag,\n c = t.data,\n u = t.children;\n if (o = o || c && c.pre, t.elm = e, r(t.isComment) && n(t.asyncFactory)) return t.isAsyncPlaceholder = !0, !0;\n if (n(c) && (n(a = c.hook) && n(a = a.init) && a(t, !0), n(a = t.componentInstance))) return d(t, i), !0;\n\n if (n(s)) {\n if (n(u)) if (e.hasChildNodes()) {\n if (n(a = c) && n(a = a.domProps) && n(a = a.innerHTML)) {\n if (a !== e.innerHTML) return !1;\n } else {\n for (var l = !0, f = e.firstChild, p = 0; p < u.length; p++) {\n if (!f || !O(f, u[p], i, o)) {\n l = !1;\n break;\n }\n\n f = f.nextSibling;\n }\n\n if (!l || f) return !1;\n }\n } else h(t, u, i);\n\n if (n(c)) {\n var v = !1;\n\n for (var m in c) {\n if (!A(m)) {\n v = !0, y(t, i);\n break;\n }\n }\n\n !v && c.class && et(c.class);\n }\n } else e.data !== t.text && (e.data = t.text);\n\n return !0;\n }\n\n return function (e, i, o, a) {\n if (!t(i)) {\n var c,\n l = !1,\n p = [];\n if (t(e)) l = !0, f(i, p);else {\n var d = n(e.nodeType);\n if (!d && ir(e, i)) x(e, i, p, null, null, a);else {\n if (d) {\n if (1 === e.nodeType && e.hasAttribute(L) && (e.removeAttribute(L), o = !0), r(o) && O(e, i, p)) return k(i, p, !0), e;\n c = e, e = new pe(u.tagName(c).toLowerCase(), {}, [], void 0, c);\n }\n\n var v = e.elm,\n h = u.parentNode(v);\n if (f(i, p, v._leaveCb ? null : h, u.nextSibling(v)), n(i.parent)) for (var y = i.parent, g = m(i); y;) {\n for (var _ = 0; _ < s.destroy.length; ++_) {\n s.destroy[_](y);\n }\n\n if (y.elm = i.elm, g) {\n for (var w = 0; w < s.create.length; ++w) {\n s.create[w](nr, y);\n }\n\n var C = y.data.hook.insert;\n if (C.merged) for (var A = 1; A < C.fns.length; A++) {\n C.fns[A]();\n }\n } else tr(y);\n\n y = y.parent;\n }\n n(h) ? $([e], 0, 0) : n(e.tag) && b(e);\n }\n }\n return k(i, p, l), i.elm;\n }\n\n n(e) && b(e);\n };\n}({\n nodeOps: Qn,\n modules: [mr, xr, ni, oi, mi, z ? {\n create: Ui,\n activate: Ui,\n remove: function remove(e, t) {\n !0 !== e.data.show ? Ri(e, t) : t();\n }\n } : {}].concat(pr)\n});\n\nW && document.addEventListener(\"selectionchange\", function () {\n var e = document.activeElement;\n e && e.vmodel && Xi(e, \"input\");\n});\nvar Vi = {\n inserted: function inserted(e, t, n, r) {\n \"select\" === n.tag ? (r.elm && !r.elm._vOptions ? it(n, \"postpatch\", function () {\n Vi.componentUpdated(e, t, n);\n }) : Ki(e, t, n.context), e._vOptions = [].map.call(e.options, Wi)) : (\"textarea\" === n.tag || Xn(e.type)) && (e._vModifiers = t.modifiers, t.modifiers.lazy || (e.addEventListener(\"compositionstart\", Zi), e.addEventListener(\"compositionend\", Gi), e.addEventListener(\"change\", Gi), W && (e.vmodel = !0)));\n },\n componentUpdated: function componentUpdated(e, t, n) {\n if (\"select\" === n.tag) {\n Ki(e, t, n.context);\n var r = e._vOptions,\n i = e._vOptions = [].map.call(e.options, Wi);\n if (i.some(function (e, t) {\n return !N(e, r[t]);\n })) (e.multiple ? t.value.some(function (e) {\n return qi(e, i);\n }) : t.value !== t.oldValue && qi(t.value, i)) && Xi(e, \"change\");\n }\n }\n};\n\nfunction Ki(e, t, n) {\n Ji(e, t, n), (q || Z) && setTimeout(function () {\n Ji(e, t, n);\n }, 0);\n}\n\nfunction Ji(e, t, n) {\n var r = t.value,\n i = e.multiple;\n\n if (!i || Array.isArray(r)) {\n for (var o, a, s = 0, c = e.options.length; s < c; s++) {\n if (a = e.options[s], i) o = j(r, Wi(a)) > -1, a.selected !== o && (a.selected = o);else if (N(Wi(a), r)) return void (e.selectedIndex !== s && (e.selectedIndex = s));\n }\n\n i || (e.selectedIndex = -1);\n }\n}\n\nfunction qi(e, t) {\n return t.every(function (t) {\n return !N(t, e);\n });\n}\n\nfunction Wi(e) {\n return \"_value\" in e ? e._value : e.value;\n}\n\nfunction Zi(e) {\n e.target.composing = !0;\n}\n\nfunction Gi(e) {\n e.target.composing && (e.target.composing = !1, Xi(e.target, \"input\"));\n}\n\nfunction Xi(e, t) {\n var n = document.createEvent(\"HTMLEvents\");\n n.initEvent(t, !0, !0), e.dispatchEvent(n);\n}\n\nfunction Yi(e) {\n return !e.componentInstance || e.data && e.data.transition ? e : Yi(e.componentInstance._vnode);\n}\n\nvar Qi = {\n model: Vi,\n show: {\n bind: function bind(e, t, n) {\n var r = t.value,\n i = (n = Yi(n)).data && n.data.transition,\n o = e.__vOriginalDisplay = \"none\" === e.style.display ? \"\" : e.style.display;\n r && i ? (n.data.show = !0, Pi(n, function () {\n e.style.display = o;\n })) : e.style.display = r ? o : \"none\";\n },\n update: function update(e, t, n) {\n var r = t.value;\n !r != !t.oldValue && ((n = Yi(n)).data && n.data.transition ? (n.data.show = !0, r ? Pi(n, function () {\n e.style.display = e.__vOriginalDisplay;\n }) : Ri(n, function () {\n e.style.display = \"none\";\n })) : e.style.display = r ? e.__vOriginalDisplay : \"none\");\n },\n unbind: function unbind(e, t, n, r, i) {\n i || (e.style.display = e.__vOriginalDisplay);\n }\n }\n},\n eo = {\n name: String,\n appear: Boolean,\n css: Boolean,\n mode: String,\n type: String,\n enterClass: String,\n leaveClass: String,\n enterToClass: String,\n leaveToClass: String,\n enterActiveClass: String,\n leaveActiveClass: String,\n appearClass: String,\n appearActiveClass: String,\n appearToClass: String,\n duration: [Number, String, Object]\n};\n\nfunction to(e) {\n var t = e && e.componentOptions;\n return t && t.Ctor.options.abstract ? to(zt(t.children)) : e;\n}\n\nfunction no(e) {\n var t = {},\n n = e.$options;\n\n for (var r in n.propsData) {\n t[r] = e[r];\n }\n\n var i = n._parentListeners;\n\n for (var o in i) {\n t[b(o)] = i[o];\n }\n\n return t;\n}\n\nfunction ro(e, t) {\n if (/\\d-keep-alive$/.test(t.tag)) return e(\"keep-alive\", {\n props: t.componentOptions.propsData\n });\n}\n\nvar io = function io(e) {\n return e.tag || Ut(e);\n},\n oo = function oo(e) {\n return \"show\" === e.name;\n},\n ao = {\n name: \"transition\",\n props: eo,\n abstract: !0,\n render: function render(e) {\n var t = this,\n n = this.$slots.default;\n\n if (n && (n = n.filter(io)).length) {\n var r = this.mode,\n o = n[0];\n if (function (e) {\n for (; e = e.parent;) {\n if (e.data.transition) return !0;\n }\n }(this.$vnode)) return o;\n var a = to(o);\n if (!a) return o;\n if (this._leaving) return ro(e, o);\n var s = \"__transition-\" + this._uid + \"-\";\n a.key = null == a.key ? a.isComment ? s + \"comment\" : s + a.tag : i(a.key) ? 0 === String(a.key).indexOf(s) ? a.key : s + a.key : a.key;\n var c = (a.data || (a.data = {})).transition = no(this),\n u = this._vnode,\n l = to(u);\n\n if (a.data.directives && a.data.directives.some(oo) && (a.data.show = !0), l && l.data && !function (e, t) {\n return t.key === e.key && t.tag === e.tag;\n }(a, l) && !Ut(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) {\n var f = l.data.transition = A({}, c);\n if (\"out-in\" === r) return this._leaving = !0, it(f, \"afterLeave\", function () {\n t._leaving = !1, t.$forceUpdate();\n }), ro(e, o);\n\n if (\"in-out\" === r) {\n if (Ut(a)) return u;\n\n var p,\n d = function d() {\n p();\n };\n\n it(c, \"afterEnter\", d), it(c, \"enterCancelled\", d), it(f, \"delayLeave\", function (e) {\n p = e;\n });\n }\n }\n\n return o;\n }\n }\n},\n so = A({\n tag: String,\n moveClass: String\n}, eo);\n\nfunction co(e) {\n e.elm._moveCb && e.elm._moveCb(), e.elm._enterCb && e.elm._enterCb();\n}\n\nfunction uo(e) {\n e.data.newPos = e.elm.getBoundingClientRect();\n}\n\nfunction lo(e) {\n var t = e.data.pos,\n n = e.data.newPos,\n r = t.left - n.left,\n i = t.top - n.top;\n\n if (r || i) {\n e.data.moved = !0;\n var o = e.elm.style;\n o.transform = o.WebkitTransform = \"translate(\" + r + \"px,\" + i + \"px)\", o.transitionDuration = \"0s\";\n }\n}\n\ndelete so.mode;\nvar fo = {\n Transition: ao,\n TransitionGroup: {\n props: so,\n beforeMount: function beforeMount() {\n var e = this,\n t = this._update;\n\n this._update = function (n, r) {\n var i = Zt(e);\n e.__patch__(e._vnode, e.kept, !1, !0), e._vnode = e.kept, i(), t.call(e, n, r);\n };\n },\n render: function render(e) {\n for (var t = this.tag || this.$vnode.data.tag || \"span\", n = Object.create(null), r = this.prevChildren = this.children, i = this.$slots.default || [], o = this.children = [], a = no(this), s = 0; s < i.length; s++) {\n var c = i[s];\n c.tag && null != c.key && 0 !== String(c.key).indexOf(\"__vlist\") && (o.push(c), n[c.key] = c, (c.data || (c.data = {})).transition = a);\n }\n\n if (r) {\n for (var u = [], l = [], f = 0; f < r.length; f++) {\n var p = r[f];\n p.data.transition = a, p.data.pos = p.elm.getBoundingClientRect(), n[p.key] ? u.push(p) : l.push(p);\n }\n\n this.kept = e(t, null, u), this.removed = l;\n }\n\n return e(t, null, o);\n },\n updated: function updated() {\n var e = this.prevChildren,\n t = this.moveClass || (this.name || \"v\") + \"-move\";\n e.length && this.hasMove(e[0].elm, t) && (e.forEach(co), e.forEach(uo), e.forEach(lo), this._reflow = document.body.offsetHeight, e.forEach(function (e) {\n if (e.data.moved) {\n var n = e.elm,\n r = n.style;\n Ni(n, t), r.transform = r.WebkitTransform = r.transitionDuration = \"\", n.addEventListener(Ai, n._moveCb = function e(r) {\n r && r.target !== n || r && !/transform$/.test(r.propertyName) || (n.removeEventListener(Ai, e), n._moveCb = null, ji(n, t));\n });\n }\n }));\n },\n methods: {\n hasMove: function hasMove(e, t) {\n if (!wi) return !1;\n if (this._hasMove) return this._hasMove;\n var n = e.cloneNode();\n e._transitionClasses && e._transitionClasses.forEach(function (e) {\n _i(n, e);\n }), gi(n, t), n.style.display = \"none\", this.$el.appendChild(n);\n var r = Mi(n);\n return this.$el.removeChild(n), this._hasMove = r.hasTransform;\n }\n }\n }\n};\nwn.config.mustUseProp = jn, wn.config.isReservedTag = Wn, wn.config.isReservedAttr = En, wn.config.getTagNamespace = Zn, wn.config.isUnknownElement = function (e) {\n if (!z) return !0;\n if (Wn(e)) return !1;\n if (e = e.toLowerCase(), null != Gn[e]) return Gn[e];\n var t = document.createElement(e);\n return e.indexOf(\"-\") > -1 ? Gn[e] = t.constructor === window.HTMLUnknownElement || t.constructor === window.HTMLElement : Gn[e] = /HTMLUnknownElement/.test(t.toString());\n}, A(wn.options.directives, Qi), A(wn.options.components, fo), wn.prototype.__patch__ = z ? zi : S, wn.prototype.$mount = function (e, t) {\n return function (e, t, n) {\n var r;\n return e.$el = t, e.$options.render || (e.$options.render = ve), Yt(e, \"beforeMount\"), r = function r() {\n e._update(e._render(), n);\n }, new fn(e, r, S, {\n before: function before() {\n e._isMounted && !e._isDestroyed && Yt(e, \"beforeUpdate\");\n }\n }, !0), n = !1, null == e.$vnode && (e._isMounted = !0, Yt(e, \"mounted\")), e;\n }(this, e = e && z ? Yn(e) : void 0, t);\n}, z && setTimeout(function () {\n F.devtools && ne && ne.emit(\"init\", wn);\n}, 0);\nvar po = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g,\n vo = /[-.*+?^${}()|[\\]\\/\\\\]/g,\n ho = g(function (e) {\n var t = e[0].replace(vo, \"\\\\$&\"),\n n = e[1].replace(vo, \"\\\\$&\");\n return new RegExp(t + \"((?:.|\\\\n)+?)\" + n, \"g\");\n});\nvar mo = {\n staticKeys: [\"staticClass\"],\n transformNode: function transformNode(e, t) {\n t.warn;\n var n = Fr(e, \"class\");\n n && (e.staticClass = JSON.stringify(n));\n var r = Ir(e, \"class\", !1);\n r && (e.classBinding = r);\n },\n genData: function genData(e) {\n var t = \"\";\n return e.staticClass && (t += \"staticClass:\" + e.staticClass + \",\"), e.classBinding && (t += \"class:\" + e.classBinding + \",\"), t;\n }\n};\n\nvar yo,\n go = {\n staticKeys: [\"staticStyle\"],\n transformNode: function transformNode(e, t) {\n t.warn;\n var n = Fr(e, \"style\");\n n && (e.staticStyle = JSON.stringify(ai(n)));\n var r = Ir(e, \"style\", !1);\n r && (e.styleBinding = r);\n },\n genData: function genData(e) {\n var t = \"\";\n return e.staticStyle && (t += \"staticStyle:\" + e.staticStyle + \",\"), e.styleBinding && (t += \"style:(\" + e.styleBinding + \"),\"), t;\n }\n},\n _o = function _o(e) {\n return (yo = yo || document.createElement(\"div\")).innerHTML = e, yo.textContent;\n},\n bo = p(\"area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr\"),\n $o = p(\"colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source\"),\n wo = p(\"address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track\"),\n Co = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n xo = /^\\s*((?:v-[\\w-]+:|@|:|#)\\[[^=]+\\][^\\s\"'<>\\/=]*)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n ko = \"[a-zA-Z_][\\\\-\\\\.0-9_a-zA-Z\" + P.source + \"]*\",\n Ao = \"((?:\" + ko + \"\\\\:)?\" + ko + \")\",\n Oo = new RegExp(\"^<\" + Ao),\n So = /^\\s*(\\/?)>/,\n To = new RegExp(\"^<\\\\/\" + Ao + \"[^>]*>\"),\n Eo = /^]+>/i,\n No = /^\",\n \""\": '\"',\n \"&\": \"&\",\n \" \": \"\\n\",\n \" \": \"\\t\",\n \"'\": \"'\"\n},\n Io = /&(?:lt|gt|quot|amp|#39);/g,\n Fo = /&(?:lt|gt|quot|amp|#39|#10|#9);/g,\n Po = p(\"pre,textarea\", !0),\n Ro = function Ro(e, t) {\n return e && Po(e) && \"\\n\" === t[0];\n};\n\nfunction Ho(e, t) {\n var n = t ? Fo : Io;\n return e.replace(n, function (e) {\n return Mo[e];\n });\n}\n\nvar Bo,\n Uo,\n zo,\n Vo,\n Ko,\n Jo,\n qo,\n Wo,\n Zo = /^@|^v-on:/,\n Go = /^v-|^@|^:|^#/,\n Xo = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/,\n Yo = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/,\n Qo = /^\\(|\\)$/g,\n ea = /^\\[.*\\]$/,\n ta = /:(.*)$/,\n na = /^:|^\\.|^v-bind:/,\n ra = /\\.[^.\\]]+(?=[^\\]]*$)/g,\n ia = /^v-slot(:|$)|^#/,\n oa = /[\\r\\n]/,\n aa = /\\s+/g,\n sa = g(_o),\n ca = \"_empty_\";\n\nfunction ua(e, t, n) {\n return {\n type: 1,\n tag: e,\n attrsList: t,\n attrsMap: ma(t),\n rawAttrsMap: {},\n parent: n,\n children: []\n };\n}\n\nfunction la(e, t) {\n Bo = t.warn || Sr, Jo = t.isPreTag || T, qo = t.mustUseProp || T, Wo = t.getTagNamespace || T;\n t.isReservedTag;\n zo = Tr(t.modules, \"transformNode\"), Vo = Tr(t.modules, \"preTransformNode\"), Ko = Tr(t.modules, \"postTransformNode\"), Uo = t.delimiters;\n var n,\n r,\n i = [],\n o = !1 !== t.preserveWhitespace,\n a = t.whitespace,\n s = !1,\n c = !1;\n\n function u(e) {\n if (l(e), s || e.processed || (e = fa(e, t)), i.length || e === n || n.if && (e.elseif || e.else) && da(n, {\n exp: e.elseif,\n block: e\n }), r && !e.forbidden) if (e.elseif || e.else) a = e, (u = function (e) {\n var t = e.length;\n\n for (; t--;) {\n if (1 === e[t].type) return e[t];\n e.pop();\n }\n }(r.children)) && u.if && da(u, {\n exp: a.elseif,\n block: a\n });else {\n if (e.slotScope) {\n var o = e.slotTarget || '\"default\"';\n (r.scopedSlots || (r.scopedSlots = {}))[o] = e;\n }\n\n r.children.push(e), e.parent = r;\n }\n var a, u;\n e.children = e.children.filter(function (e) {\n return !e.slotScope;\n }), l(e), e.pre && (s = !1), Jo(e.tag) && (c = !1);\n\n for (var f = 0; f < Ko.length; f++) {\n Ko[f](e, t);\n }\n }\n\n function l(e) {\n if (!c) for (var t; (t = e.children[e.children.length - 1]) && 3 === t.type && \" \" === t.text;) {\n e.children.pop();\n }\n }\n\n return function (e, t) {\n for (var n, r, i = [], o = t.expectHTML, a = t.isUnaryTag || T, s = t.canBeLeftOpenTag || T, c = 0; e;) {\n if (n = e, r && Do(r)) {\n var u = 0,\n l = r.toLowerCase(),\n f = Lo[l] || (Lo[l] = new RegExp(\"([\\\\s\\\\S]*?)(]*>)\", \"i\")),\n p = e.replace(f, function (e, n, r) {\n return u = r.length, Do(l) || \"noscript\" === l || (n = n.replace(//g, \"$1\").replace(//g, \"$1\")), Ro(l, n) && (n = n.slice(1)), t.chars && t.chars(n), \"\";\n });\n c += e.length - p.length, e = p, A(l, c - u, c);\n } else {\n var d = e.indexOf(\"<\");\n\n if (0 === d) {\n if (No.test(e)) {\n var v = e.indexOf(\"--\\x3e\");\n\n if (v >= 0) {\n t.shouldKeepComment && t.comment(e.substring(4, v), c, c + v + 3), C(v + 3);\n continue;\n }\n }\n\n if (jo.test(e)) {\n var h = e.indexOf(\"]>\");\n\n if (h >= 0) {\n C(h + 2);\n continue;\n }\n }\n\n var m = e.match(Eo);\n\n if (m) {\n C(m[0].length);\n continue;\n }\n\n var y = e.match(To);\n\n if (y) {\n var g = c;\n C(y[0].length), A(y[1], g, c);\n continue;\n }\n\n var _ = x();\n\n if (_) {\n k(_), Ro(_.tagName, e) && C(1);\n continue;\n }\n }\n\n var b = void 0,\n $ = void 0,\n w = void 0;\n\n if (d >= 0) {\n for ($ = e.slice(d); !(To.test($) || Oo.test($) || No.test($) || jo.test($) || (w = $.indexOf(\"<\", 1)) < 0);) {\n d += w, $ = e.slice(d);\n }\n\n b = e.substring(0, d);\n }\n\n d < 0 && (b = e), b && C(b.length), t.chars && b && t.chars(b, c - b.length, c);\n }\n\n if (e === n) {\n t.chars && t.chars(e);\n break;\n }\n }\n\n function C(t) {\n c += t, e = e.substring(t);\n }\n\n function x() {\n var t = e.match(Oo);\n\n if (t) {\n var n,\n r,\n i = {\n tagName: t[1],\n attrs: [],\n start: c\n };\n\n for (C(t[0].length); !(n = e.match(So)) && (r = e.match(xo) || e.match(Co));) {\n r.start = c, C(r[0].length), r.end = c, i.attrs.push(r);\n }\n\n if (n) return i.unarySlash = n[1], C(n[0].length), i.end = c, i;\n }\n }\n\n function k(e) {\n var n = e.tagName,\n c = e.unarySlash;\n o && (\"p\" === r && wo(n) && A(r), s(n) && r === n && A(n));\n\n for (var u = a(n) || !!c, l = e.attrs.length, f = new Array(l), p = 0; p < l; p++) {\n var d = e.attrs[p],\n v = d[3] || d[4] || d[5] || \"\",\n h = \"a\" === n && \"href\" === d[1] ? t.shouldDecodeNewlinesForHref : t.shouldDecodeNewlines;\n f[p] = {\n name: d[1],\n value: Ho(v, h)\n };\n }\n\n u || (i.push({\n tag: n,\n lowerCasedTag: n.toLowerCase(),\n attrs: f,\n start: e.start,\n end: e.end\n }), r = n), t.start && t.start(n, f, u, e.start, e.end);\n }\n\n function A(e, n, o) {\n var a, s;\n if (null == n && (n = c), null == o && (o = c), e) for (s = e.toLowerCase(), a = i.length - 1; a >= 0 && i[a].lowerCasedTag !== s; a--) {\n ;\n } else a = 0;\n\n if (a >= 0) {\n for (var u = i.length - 1; u >= a; u--) {\n t.end && t.end(i[u].tag, n, o);\n }\n\n i.length = a, r = a && i[a - 1].tag;\n } else \"br\" === s ? t.start && t.start(e, [], !0, n, o) : \"p\" === s && (t.start && t.start(e, [], !1, n, o), t.end && t.end(e, n, o));\n }\n\n A();\n }(e, {\n warn: Bo,\n expectHTML: t.expectHTML,\n isUnaryTag: t.isUnaryTag,\n canBeLeftOpenTag: t.canBeLeftOpenTag,\n shouldDecodeNewlines: t.shouldDecodeNewlines,\n shouldDecodeNewlinesForHref: t.shouldDecodeNewlinesForHref,\n shouldKeepComment: t.comments,\n outputSourceRange: t.outputSourceRange,\n start: function start(e, o, a, l, f) {\n var p = r && r.ns || Wo(e);\n q && \"svg\" === p && (o = function (e) {\n for (var t = [], n = 0; n < e.length; n++) {\n var r = e[n];\n ya.test(r.name) || (r.name = r.name.replace(ga, \"\"), t.push(r));\n }\n\n return t;\n }(o));\n var d,\n v = ua(e, o, r);\n p && (v.ns = p), \"style\" !== (d = v).tag && (\"script\" !== d.tag || d.attrsMap.type && \"text/javascript\" !== d.attrsMap.type) || te() || (v.forbidden = !0);\n\n for (var h = 0; h < Vo.length; h++) {\n v = Vo[h](v, t) || v;\n }\n\n s || (!function (e) {\n null != Fr(e, \"v-pre\") && (e.pre = !0);\n }(v), v.pre && (s = !0)), Jo(v.tag) && (c = !0), s ? function (e) {\n var t = e.attrsList,\n n = t.length;\n if (n) for (var r = e.attrs = new Array(n), i = 0; i < n; i++) {\n r[i] = {\n name: t[i].name,\n value: JSON.stringify(t[i].value)\n }, null != t[i].start && (r[i].start = t[i].start, r[i].end = t[i].end);\n } else e.pre || (e.plain = !0);\n }(v) : v.processed || (pa(v), function (e) {\n var t = Fr(e, \"v-if\");\n if (t) e.if = t, da(e, {\n exp: t,\n block: e\n });else {\n null != Fr(e, \"v-else\") && (e.else = !0);\n var n = Fr(e, \"v-else-if\");\n n && (e.elseif = n);\n }\n }(v), function (e) {\n null != Fr(e, \"v-once\") && (e.once = !0);\n }(v)), n || (n = v), a ? u(v) : (r = v, i.push(v));\n },\n end: function end(e, t, n) {\n var o = i[i.length - 1];\n i.length -= 1, r = i[i.length - 1], u(o);\n },\n chars: function chars(e, t, n) {\n if (r && (!q || \"textarea\" !== r.tag || r.attrsMap.placeholder !== e)) {\n var i,\n u,\n l,\n f = r.children;\n if (e = c || e.trim() ? \"script\" === (i = r).tag || \"style\" === i.tag ? e : sa(e) : f.length ? a ? \"condense\" === a && oa.test(e) ? \"\" : \" \" : o ? \" \" : \"\" : \"\") c || \"condense\" !== a || (e = e.replace(aa, \" \")), !s && \" \" !== e && (u = function (e, t) {\n var n = t ? ho(t) : po;\n\n if (n.test(e)) {\n for (var r, i, o, a = [], s = [], c = n.lastIndex = 0; r = n.exec(e);) {\n (i = r.index) > c && (s.push(o = e.slice(c, i)), a.push(JSON.stringify(o)));\n var u = Ar(r[1].trim());\n a.push(\"_s(\" + u + \")\"), s.push({\n \"@binding\": u\n }), c = i + r[0].length;\n }\n\n return c < e.length && (s.push(o = e.slice(c)), a.push(JSON.stringify(o))), {\n expression: a.join(\"+\"),\n tokens: s\n };\n }\n }(e, Uo)) ? l = {\n type: 2,\n expression: u.expression,\n tokens: u.tokens,\n text: e\n } : \" \" === e && f.length && \" \" === f[f.length - 1].text || (l = {\n type: 3,\n text: e\n }), l && f.push(l);\n }\n },\n comment: function comment(e, t, n) {\n if (r) {\n var i = {\n type: 3,\n text: e,\n isComment: !0\n };\n r.children.push(i);\n }\n }\n }), n;\n}\n\nfunction fa(e, t) {\n var n, r;\n (r = Ir(n = e, \"key\")) && (n.key = r), e.plain = !e.key && !e.scopedSlots && !e.attrsList.length, function (e) {\n var t = Ir(e, \"ref\");\n t && (e.ref = t, e.refInFor = function (e) {\n var t = e;\n\n for (; t;) {\n if (void 0 !== t.for) return !0;\n t = t.parent;\n }\n\n return !1;\n }(e));\n }(e), function (e) {\n var t;\n \"template\" === e.tag ? (t = Fr(e, \"scope\"), e.slotScope = t || Fr(e, \"slot-scope\")) : (t = Fr(e, \"slot-scope\")) && (e.slotScope = t);\n var n = Ir(e, \"slot\");\n n && (e.slotTarget = '\"\"' === n ? '\"default\"' : n, e.slotTargetDynamic = !(!e.attrsMap[\":slot\"] && !e.attrsMap[\"v-bind:slot\"]), \"template\" === e.tag || e.slotScope || Nr(e, \"slot\", n, function (e, t) {\n return e.rawAttrsMap[\":\" + t] || e.rawAttrsMap[\"v-bind:\" + t] || e.rawAttrsMap[t];\n }(e, \"slot\")));\n\n if (\"template\" === e.tag) {\n var r = Pr(e, ia);\n\n if (r) {\n var i = va(r),\n o = i.name,\n a = i.dynamic;\n e.slotTarget = o, e.slotTargetDynamic = a, e.slotScope = r.value || ca;\n }\n } else {\n var s = Pr(e, ia);\n\n if (s) {\n var c = e.scopedSlots || (e.scopedSlots = {}),\n u = va(s),\n l = u.name,\n f = u.dynamic,\n p = c[l] = ua(\"template\", [], e);\n p.slotTarget = l, p.slotTargetDynamic = f, p.children = e.children.filter(function (e) {\n if (!e.slotScope) return e.parent = p, !0;\n }), p.slotScope = s.value || ca, e.children = [], e.plain = !1;\n }\n }\n }(e), function (e) {\n \"slot\" === e.tag && (e.slotName = Ir(e, \"name\"));\n }(e), function (e) {\n var t;\n (t = Ir(e, \"is\")) && (e.component = t);\n null != Fr(e, \"inline-template\") && (e.inlineTemplate = !0);\n }(e);\n\n for (var i = 0; i < zo.length; i++) {\n e = zo[i](e, t) || e;\n }\n\n return function (e) {\n var t,\n n,\n r,\n i,\n o,\n a,\n s,\n c,\n u = e.attrsList;\n\n for (t = 0, n = u.length; t < n; t++) {\n if (r = i = u[t].name, o = u[t].value, Go.test(r)) {\n if (e.hasBindings = !0, (a = ha(r.replace(Go, \"\"))) && (r = r.replace(ra, \"\")), na.test(r)) r = r.replace(na, \"\"), o = Ar(o), (c = ea.test(r)) && (r = r.slice(1, -1)), a && (a.prop && !c && \"innerHtml\" === (r = b(r)) && (r = \"innerHTML\"), a.camel && !c && (r = b(r)), a.sync && (s = Br(o, \"$event\"), c ? Mr(e, '\"update:\"+(' + r + \")\", s, null, !1, 0, u[t], !0) : (Mr(e, \"update:\" + b(r), s, null, !1, 0, u[t]), C(r) !== b(r) && Mr(e, \"update:\" + C(r), s, null, !1, 0, u[t])))), a && a.prop || !e.component && qo(e.tag, e.attrsMap.type, r) ? Er(e, r, o, u[t], c) : Nr(e, r, o, u[t], c);else if (Zo.test(r)) r = r.replace(Zo, \"\"), (c = ea.test(r)) && (r = r.slice(1, -1)), Mr(e, r, o, a, !1, 0, u[t], c);else {\n var l = (r = r.replace(Go, \"\")).match(ta),\n f = l && l[1];\n c = !1, f && (r = r.slice(0, -(f.length + 1)), ea.test(f) && (f = f.slice(1, -1), c = !0)), Dr(e, r, i, o, f, c, a, u[t]);\n }\n } else Nr(e, r, JSON.stringify(o), u[t]), !e.component && \"muted\" === r && qo(e.tag, e.attrsMap.type, r) && Er(e, r, \"true\", u[t]);\n }\n }(e), e;\n}\n\nfunction pa(e) {\n var t;\n\n if (t = Fr(e, \"v-for\")) {\n var n = function (e) {\n var t = e.match(Xo);\n if (!t) return;\n var n = {};\n n.for = t[2].trim();\n var r = t[1].trim().replace(Qo, \"\"),\n i = r.match(Yo);\n i ? (n.alias = r.replace(Yo, \"\").trim(), n.iterator1 = i[1].trim(), i[2] && (n.iterator2 = i[2].trim())) : n.alias = r;\n return n;\n }(t);\n\n n && A(e, n);\n }\n}\n\nfunction da(e, t) {\n e.ifConditions || (e.ifConditions = []), e.ifConditions.push(t);\n}\n\nfunction va(e) {\n var t = e.name.replace(ia, \"\");\n return t || \"#\" !== e.name[0] && (t = \"default\"), ea.test(t) ? {\n name: t.slice(1, -1),\n dynamic: !0\n } : {\n name: '\"' + t + '\"',\n dynamic: !1\n };\n}\n\nfunction ha(e) {\n var t = e.match(ra);\n\n if (t) {\n var n = {};\n return t.forEach(function (e) {\n n[e.slice(1)] = !0;\n }), n;\n }\n}\n\nfunction ma(e) {\n for (var t = {}, n = 0, r = e.length; n < r; n++) {\n t[e[n].name] = e[n].value;\n }\n\n return t;\n}\n\nvar ya = /^xmlns:NS\\d+/,\n ga = /^NS\\d+:/;\n\nfunction _a(e) {\n return ua(e.tag, e.attrsList.slice(), e.parent);\n}\n\nvar ba = [mo, go, {\n preTransformNode: function preTransformNode(e, t) {\n if (\"input\" === e.tag) {\n var n,\n r = e.attrsMap;\n if (!r[\"v-model\"]) return;\n\n if ((r[\":type\"] || r[\"v-bind:type\"]) && (n = Ir(e, \"type\")), r.type || n || !r[\"v-bind\"] || (n = \"(\" + r[\"v-bind\"] + \").type\"), n) {\n var i = Fr(e, \"v-if\", !0),\n o = i ? \"&&(\" + i + \")\" : \"\",\n a = null != Fr(e, \"v-else\", !0),\n s = Fr(e, \"v-else-if\", !0),\n c = _a(e);\n\n pa(c), jr(c, \"type\", \"checkbox\"), fa(c, t), c.processed = !0, c.if = \"(\" + n + \")==='checkbox'\" + o, da(c, {\n exp: c.if,\n block: c\n });\n\n var u = _a(e);\n\n Fr(u, \"v-for\", !0), jr(u, \"type\", \"radio\"), fa(u, t), da(c, {\n exp: \"(\" + n + \")==='radio'\" + o,\n block: u\n });\n\n var l = _a(e);\n\n return Fr(l, \"v-for\", !0), jr(l, \":type\", n), fa(l, t), da(c, {\n exp: i,\n block: l\n }), a ? c.else = !0 : s && (c.elseif = s), c;\n }\n }\n }\n}];\nvar $a,\n wa,\n Ca = {\n expectHTML: !0,\n modules: ba,\n directives: {\n model: function model(e, t, n) {\n var r = t.value,\n i = t.modifiers,\n o = e.tag,\n a = e.attrsMap.type;\n if (e.component) return Hr(e, r, i), !1;\n if (\"select\" === o) !function (e, t, n) {\n var r = 'var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return ' + (n && n.number ? \"_n(val)\" : \"val\") + \"});\";\n r = r + \" \" + Br(t, \"$event.target.multiple ? $$selectedVal : $$selectedVal[0]\"), Mr(e, \"change\", r, null, !0);\n }(e, r, i);else if (\"input\" === o && \"checkbox\" === a) !function (e, t, n) {\n var r = n && n.number,\n i = Ir(e, \"value\") || \"null\",\n o = Ir(e, \"true-value\") || \"true\",\n a = Ir(e, \"false-value\") || \"false\";\n Er(e, \"checked\", \"Array.isArray(\" + t + \")?_i(\" + t + \",\" + i + \")>-1\" + (\"true\" === o ? \":(\" + t + \")\" : \":_q(\" + t + \",\" + o + \")\")), Mr(e, \"change\", \"var $$a=\" + t + \",$$el=$event.target,$$c=$$el.checked?(\" + o + \"):(\" + a + \");if(Array.isArray($$a)){var $$v=\" + (r ? \"_n(\" + i + \")\" : i) + \",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(\" + Br(t, \"$$a.concat([$$v])\") + \")}else{$$i>-1&&(\" + Br(t, \"$$a.slice(0,$$i).concat($$a.slice($$i+1))\") + \")}}else{\" + Br(t, \"$$c\") + \"}\", null, !0);\n }(e, r, i);else if (\"input\" === o && \"radio\" === a) !function (e, t, n) {\n var r = n && n.number,\n i = Ir(e, \"value\") || \"null\";\n Er(e, \"checked\", \"_q(\" + t + \",\" + (i = r ? \"_n(\" + i + \")\" : i) + \")\"), Mr(e, \"change\", Br(t, i), null, !0);\n }(e, r, i);else if (\"input\" === o || \"textarea\" === o) !function (e, t, n) {\n var r = e.attrsMap.type,\n i = n || {},\n o = i.lazy,\n a = i.number,\n s = i.trim,\n c = !o && \"range\" !== r,\n u = o ? \"change\" : \"range\" === r ? Wr : \"input\",\n l = \"$event.target.value\";\n s && (l = \"$event.target.value.trim()\"), a && (l = \"_n(\" + l + \")\");\n var f = Br(t, l);\n c && (f = \"if($event.target.composing)return;\" + f), Er(e, \"value\", \"(\" + t + \")\"), Mr(e, u, f, null, !0), (s || a) && Mr(e, \"blur\", \"$forceUpdate()\");\n }(e, r, i);else if (!F.isReservedTag(o)) return Hr(e, r, i), !1;\n return !0;\n },\n text: function text(e, t) {\n t.value && Er(e, \"textContent\", \"_s(\" + t.value + \")\", t);\n },\n html: function html(e, t) {\n t.value && Er(e, \"innerHTML\", \"_s(\" + t.value + \")\", t);\n }\n },\n isPreTag: function isPreTag(e) {\n return \"pre\" === e;\n },\n isUnaryTag: bo,\n mustUseProp: jn,\n canBeLeftOpenTag: $o,\n isReservedTag: Wn,\n getTagNamespace: Zn,\n staticKeys: function (e) {\n return e.reduce(function (e, t) {\n return e.concat(t.staticKeys || []);\n }, []).join(\",\");\n }(ba)\n},\n xa = g(function (e) {\n return p(\"type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap\" + (e ? \",\" + e : \"\"));\n});\n\nfunction ka(e, t) {\n e && ($a = xa(t.staticKeys || \"\"), wa = t.isReservedTag || T, function e(t) {\n t.static = function (e) {\n if (2 === e.type) return !1;\n if (3 === e.type) return !0;\n return !(!e.pre && (e.hasBindings || e.if || e.for || d(e.tag) || !wa(e.tag) || function (e) {\n for (; e.parent;) {\n if (\"template\" !== (e = e.parent).tag) return !1;\n if (e.for) return !0;\n }\n\n return !1;\n }(e) || !Object.keys(e).every($a)));\n }(t);\n\n if (1 === t.type) {\n if (!wa(t.tag) && \"slot\" !== t.tag && null == t.attrsMap[\"inline-template\"]) return;\n\n for (var n = 0, r = t.children.length; n < r; n++) {\n var i = t.children[n];\n e(i), i.static || (t.static = !1);\n }\n\n if (t.ifConditions) for (var o = 1, a = t.ifConditions.length; o < a; o++) {\n var s = t.ifConditions[o].block;\n e(s), s.static || (t.static = !1);\n }\n }\n }(e), function e(t, n) {\n if (1 === t.type) {\n if ((t.static || t.once) && (t.staticInFor = n), t.static && t.children.length && (1 !== t.children.length || 3 !== t.children[0].type)) return void (t.staticRoot = !0);\n if (t.staticRoot = !1, t.children) for (var r = 0, i = t.children.length; r < i; r++) {\n e(t.children[r], n || !!t.for);\n }\n if (t.ifConditions) for (var o = 1, a = t.ifConditions.length; o < a; o++) {\n e(t.ifConditions[o].block, n);\n }\n }\n }(e, !1));\n}\n\nvar Aa = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/,\n Oa = /\\([^)]*?\\);*$/,\n Sa = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/,\n Ta = {\n esc: 27,\n tab: 9,\n enter: 13,\n space: 32,\n up: 38,\n left: 37,\n right: 39,\n down: 40,\n delete: [8, 46]\n},\n Ea = {\n esc: [\"Esc\", \"Escape\"],\n tab: \"Tab\",\n enter: \"Enter\",\n space: [\" \", \"Spacebar\"],\n up: [\"Up\", \"ArrowUp\"],\n left: [\"Left\", \"ArrowLeft\"],\n right: [\"Right\", \"ArrowRight\"],\n down: [\"Down\", \"ArrowDown\"],\n delete: [\"Backspace\", \"Delete\", \"Del\"]\n},\n Na = function Na(e) {\n return \"if(\" + e + \")return null;\";\n},\n ja = {\n stop: \"$event.stopPropagation();\",\n prevent: \"$event.preventDefault();\",\n self: Na(\"$event.target !== $event.currentTarget\"),\n ctrl: Na(\"!$event.ctrlKey\"),\n shift: Na(\"!$event.shiftKey\"),\n alt: Na(\"!$event.altKey\"),\n meta: Na(\"!$event.metaKey\"),\n left: Na(\"'button' in $event && $event.button !== 0\"),\n middle: Na(\"'button' in $event && $event.button !== 1\"),\n right: Na(\"'button' in $event && $event.button !== 2\")\n};\n\nfunction Da(e, t) {\n var n = t ? \"nativeOn:\" : \"on:\",\n r = \"\",\n i = \"\";\n\n for (var o in e) {\n var a = La(e[o]);\n e[o] && e[o].dynamic ? i += o + \",\" + a + \",\" : r += '\"' + o + '\":' + a + \",\";\n }\n\n return r = \"{\" + r.slice(0, -1) + \"}\", i ? n + \"_d(\" + r + \",[\" + i.slice(0, -1) + \"])\" : n + r;\n}\n\nfunction La(e) {\n if (!e) return \"function(){}\";\n if (Array.isArray(e)) return \"[\" + e.map(function (e) {\n return La(e);\n }).join(\",\") + \"]\";\n var t = Sa.test(e.value),\n n = Aa.test(e.value),\n r = Sa.test(e.value.replace(Oa, \"\"));\n\n if (e.modifiers) {\n var i = \"\",\n o = \"\",\n a = [];\n\n for (var s in e.modifiers) {\n if (ja[s]) o += ja[s], Ta[s] && a.push(s);else if (\"exact\" === s) {\n var c = e.modifiers;\n o += Na([\"ctrl\", \"shift\", \"alt\", \"meta\"].filter(function (e) {\n return !c[e];\n }).map(function (e) {\n return \"$event.\" + e + \"Key\";\n }).join(\"||\"));\n } else a.push(s);\n }\n\n return a.length && (i += function (e) {\n return \"if(!$event.type.indexOf('key')&&\" + e.map(Ma).join(\"&&\") + \")return null;\";\n }(a)), o && (i += o), \"function($event){\" + i + (t ? \"return \" + e.value + \"($event)\" : n ? \"return (\" + e.value + \")($event)\" : r ? \"return \" + e.value : e.value) + \"}\";\n }\n\n return t || n ? e.value : \"function($event){\" + (r ? \"return \" + e.value : e.value) + \"}\";\n}\n\nfunction Ma(e) {\n var t = parseInt(e, 10);\n if (t) return \"$event.keyCode!==\" + t;\n var n = Ta[e],\n r = Ea[e];\n return \"_k($event.keyCode,\" + JSON.stringify(e) + \",\" + JSON.stringify(n) + \",$event.key,\" + JSON.stringify(r) + \")\";\n}\n\nvar Ia = {\n on: function on(e, t) {\n e.wrapListeners = function (e) {\n return \"_g(\" + e + \",\" + t.value + \")\";\n };\n },\n bind: function bind(e, t) {\n e.wrapData = function (n) {\n return \"_b(\" + n + \",'\" + e.tag + \"',\" + t.value + \",\" + (t.modifiers && t.modifiers.prop ? \"true\" : \"false\") + (t.modifiers && t.modifiers.sync ? \",true\" : \"\") + \")\";\n };\n },\n cloak: S\n},\n Fa = function Fa(e) {\n this.options = e, this.warn = e.warn || Sr, this.transforms = Tr(e.modules, \"transformCode\"), this.dataGenFns = Tr(e.modules, \"genData\"), this.directives = A(A({}, Ia), e.directives);\n var t = e.isReservedTag || T;\n this.maybeComponent = function (e) {\n return !!e.component || !t(e.tag);\n }, this.onceId = 0, this.staticRenderFns = [], this.pre = !1;\n};\n\nfunction Pa(e, t) {\n var n = new Fa(t);\n return {\n render: \"with(this){return \" + (e ? Ra(e, n) : '_c(\"div\")') + \"}\",\n staticRenderFns: n.staticRenderFns\n };\n}\n\nfunction Ra(e, t) {\n if (e.parent && (e.pre = e.pre || e.parent.pre), e.staticRoot && !e.staticProcessed) return Ha(e, t);\n if (e.once && !e.onceProcessed) return Ba(e, t);\n if (e.for && !e.forProcessed) return za(e, t);\n if (e.if && !e.ifProcessed) return Ua(e, t);\n\n if (\"template\" !== e.tag || e.slotTarget || t.pre) {\n if (\"slot\" === e.tag) return function (e, t) {\n var n = e.slotName || '\"default\"',\n r = qa(e, t),\n i = \"_t(\" + n + (r ? \",\" + r : \"\"),\n o = e.attrs || e.dynamicAttrs ? Ga((e.attrs || []).concat(e.dynamicAttrs || []).map(function (e) {\n return {\n name: b(e.name),\n value: e.value,\n dynamic: e.dynamic\n };\n })) : null,\n a = e.attrsMap[\"v-bind\"];\n !o && !a || r || (i += \",null\");\n o && (i += \",\" + o);\n a && (i += (o ? \"\" : \",null\") + \",\" + a);\n return i + \")\";\n }(e, t);\n var n;\n if (e.component) n = function (e, t, n) {\n var r = t.inlineTemplate ? null : qa(t, n, !0);\n return \"_c(\" + e + \",\" + Va(t, n) + (r ? \",\" + r : \"\") + \")\";\n }(e.component, e, t);else {\n var r;\n (!e.plain || e.pre && t.maybeComponent(e)) && (r = Va(e, t));\n var i = e.inlineTemplate ? null : qa(e, t, !0);\n n = \"_c('\" + e.tag + \"'\" + (r ? \",\" + r : \"\") + (i ? \",\" + i : \"\") + \")\";\n }\n\n for (var o = 0; o < t.transforms.length; o++) {\n n = t.transforms[o](e, n);\n }\n\n return n;\n }\n\n return qa(e, t) || \"void 0\";\n}\n\nfunction Ha(e, t) {\n e.staticProcessed = !0;\n var n = t.pre;\n return e.pre && (t.pre = e.pre), t.staticRenderFns.push(\"with(this){return \" + Ra(e, t) + \"}\"), t.pre = n, \"_m(\" + (t.staticRenderFns.length - 1) + (e.staticInFor ? \",true\" : \"\") + \")\";\n}\n\nfunction Ba(e, t) {\n if (e.onceProcessed = !0, e.if && !e.ifProcessed) return Ua(e, t);\n\n if (e.staticInFor) {\n for (var n = \"\", r = e.parent; r;) {\n if (r.for) {\n n = r.key;\n break;\n }\n\n r = r.parent;\n }\n\n return n ? \"_o(\" + Ra(e, t) + \",\" + t.onceId++ + \",\" + n + \")\" : Ra(e, t);\n }\n\n return Ha(e, t);\n}\n\nfunction Ua(e, t, n, r) {\n return e.ifProcessed = !0, function e(t, n, r, i) {\n if (!t.length) return i || \"_e()\";\n var o = t.shift();\n return o.exp ? \"(\" + o.exp + \")?\" + a(o.block) + \":\" + e(t, n, r, i) : \"\" + a(o.block);\n\n function a(e) {\n return r ? r(e, n) : e.once ? Ba(e, n) : Ra(e, n);\n }\n }(e.ifConditions.slice(), t, n, r);\n}\n\nfunction za(e, t, n, r) {\n var i = e.for,\n o = e.alias,\n a = e.iterator1 ? \",\" + e.iterator1 : \"\",\n s = e.iterator2 ? \",\" + e.iterator2 : \"\";\n return e.forProcessed = !0, (r || \"_l\") + \"((\" + i + \"),function(\" + o + a + s + \"){return \" + (n || Ra)(e, t) + \"})\";\n}\n\nfunction Va(e, t) {\n var n = \"{\",\n r = function (e, t) {\n var n = e.directives;\n if (!n) return;\n var r,\n i,\n o,\n a,\n s = \"directives:[\",\n c = !1;\n\n for (r = 0, i = n.length; r < i; r++) {\n o = n[r], a = !0;\n var u = t.directives[o.name];\n u && (a = !!u(e, o, t.warn)), a && (c = !0, s += '{name:\"' + o.name + '\",rawName:\"' + o.rawName + '\"' + (o.value ? \",value:(\" + o.value + \"),expression:\" + JSON.stringify(o.value) : \"\") + (o.arg ? \",arg:\" + (o.isDynamicArg ? o.arg : '\"' + o.arg + '\"') : \"\") + (o.modifiers ? \",modifiers:\" + JSON.stringify(o.modifiers) : \"\") + \"},\");\n }\n\n if (c) return s.slice(0, -1) + \"]\";\n }(e, t);\n\n r && (n += r + \",\"), e.key && (n += \"key:\" + e.key + \",\"), e.ref && (n += \"ref:\" + e.ref + \",\"), e.refInFor && (n += \"refInFor:true,\"), e.pre && (n += \"pre:true,\"), e.component && (n += 'tag:\"' + e.tag + '\",');\n\n for (var i = 0; i < t.dataGenFns.length; i++) {\n n += t.dataGenFns[i](e);\n }\n\n if (e.attrs && (n += \"attrs:\" + Ga(e.attrs) + \",\"), e.props && (n += \"domProps:\" + Ga(e.props) + \",\"), e.events && (n += Da(e.events, !1) + \",\"), e.nativeEvents && (n += Da(e.nativeEvents, !0) + \",\"), e.slotTarget && !e.slotScope && (n += \"slot:\" + e.slotTarget + \",\"), e.scopedSlots && (n += function (e, t, n) {\n var r = e.for || Object.keys(t).some(function (e) {\n var n = t[e];\n return n.slotTargetDynamic || n.if || n.for || Ka(n);\n }),\n i = !!e.if;\n if (!r) for (var o = e.parent; o;) {\n if (o.slotScope && o.slotScope !== ca || o.for) {\n r = !0;\n break;\n }\n\n o.if && (i = !0), o = o.parent;\n }\n var a = Object.keys(t).map(function (e) {\n return Ja(t[e], n);\n }).join(\",\");\n return \"scopedSlots:_u([\" + a + \"]\" + (r ? \",null,true\" : \"\") + (!r && i ? \",null,false,\" + function (e) {\n var t = 5381,\n n = e.length;\n\n for (; n;) {\n t = 33 * t ^ e.charCodeAt(--n);\n }\n\n return t >>> 0;\n }(a) : \"\") + \")\";\n }(e, e.scopedSlots, t) + \",\"), e.model && (n += \"model:{value:\" + e.model.value + \",callback:\" + e.model.callback + \",expression:\" + e.model.expression + \"},\"), e.inlineTemplate) {\n var o = function (e, t) {\n var n = e.children[0];\n\n if (n && 1 === n.type) {\n var r = Pa(n, t.options);\n return \"inlineTemplate:{render:function(){\" + r.render + \"},staticRenderFns:[\" + r.staticRenderFns.map(function (e) {\n return \"function(){\" + e + \"}\";\n }).join(\",\") + \"]}\";\n }\n }(e, t);\n\n o && (n += o + \",\");\n }\n\n return n = n.replace(/,$/, \"\") + \"}\", e.dynamicAttrs && (n = \"_b(\" + n + ',\"' + e.tag + '\",' + Ga(e.dynamicAttrs) + \")\"), e.wrapData && (n = e.wrapData(n)), e.wrapListeners && (n = e.wrapListeners(n)), n;\n}\n\nfunction Ka(e) {\n return 1 === e.type && (\"slot\" === e.tag || e.children.some(Ka));\n}\n\nfunction Ja(e, t) {\n var n = e.attrsMap[\"slot-scope\"];\n if (e.if && !e.ifProcessed && !n) return Ua(e, t, Ja, \"null\");\n if (e.for && !e.forProcessed) return za(e, t, Ja);\n var r = e.slotScope === ca ? \"\" : String(e.slotScope),\n i = \"function(\" + r + \"){return \" + (\"template\" === e.tag ? e.if && n ? \"(\" + e.if + \")?\" + (qa(e, t) || \"undefined\") + \":undefined\" : qa(e, t) || \"undefined\" : Ra(e, t)) + \"}\",\n o = r ? \"\" : \",proxy:true\";\n return \"{key:\" + (e.slotTarget || '\"default\"') + \",fn:\" + i + o + \"}\";\n}\n\nfunction qa(e, t, n, r, i) {\n var o = e.children;\n\n if (o.length) {\n var a = o[0];\n\n if (1 === o.length && a.for && \"template\" !== a.tag && \"slot\" !== a.tag) {\n var s = n ? t.maybeComponent(a) ? \",1\" : \",0\" : \"\";\n return \"\" + (r || Ra)(a, t) + s;\n }\n\n var c = n ? function (e, t) {\n for (var n = 0, r = 0; r < e.length; r++) {\n var i = e[r];\n\n if (1 === i.type) {\n if (Wa(i) || i.ifConditions && i.ifConditions.some(function (e) {\n return Wa(e.block);\n })) {\n n = 2;\n break;\n }\n\n (t(i) || i.ifConditions && i.ifConditions.some(function (e) {\n return t(e.block);\n })) && (n = 1);\n }\n }\n\n return n;\n }(o, t.maybeComponent) : 0,\n u = i || Za;\n return \"[\" + o.map(function (e) {\n return u(e, t);\n }).join(\",\") + \"]\" + (c ? \",\" + c : \"\");\n }\n}\n\nfunction Wa(e) {\n return void 0 !== e.for || \"template\" === e.tag || \"slot\" === e.tag;\n}\n\nfunction Za(e, t) {\n return 1 === e.type ? Ra(e, t) : 3 === e.type && e.isComment ? (r = e, \"_e(\" + JSON.stringify(r.text) + \")\") : \"_v(\" + (2 === (n = e).type ? n.expression : Xa(JSON.stringify(n.text))) + \")\";\n var n, r;\n}\n\nfunction Ga(e) {\n for (var t = \"\", n = \"\", r = 0; r < e.length; r++) {\n var i = e[r],\n o = Xa(i.value);\n i.dynamic ? n += i.name + \",\" + o + \",\" : t += '\"' + i.name + '\":' + o + \",\";\n }\n\n return t = \"{\" + t.slice(0, -1) + \"}\", n ? \"_d(\" + t + \",[\" + n.slice(0, -1) + \"])\" : t;\n}\n\nfunction Xa(e) {\n return e.replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\");\n}\n\nnew RegExp(\"\\\\b\" + \"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments\".split(\",\").join(\"\\\\b|\\\\b\") + \"\\\\b\");\n\nfunction Ya(e, t) {\n try {\n return new Function(e);\n } catch (n) {\n return t.push({\n err: n,\n code: e\n }), S;\n }\n}\n\nfunction Qa(e) {\n var t = Object.create(null);\n return function (n, r, i) {\n (r = A({}, r)).warn;\n delete r.warn;\n var o = r.delimiters ? String(r.delimiters) + n : n;\n if (t[o]) return t[o];\n var a = e(n, r),\n s = {},\n c = [];\n return s.render = Ya(a.render, c), s.staticRenderFns = a.staticRenderFns.map(function (e) {\n return Ya(e, c);\n }), t[o] = s;\n };\n}\n\nvar es,\n ts,\n ns = (es = function es(e, t) {\n var n = la(e.trim(), t);\n !1 !== t.optimize && ka(n, t);\n var r = Pa(n, t);\n return {\n ast: n,\n render: r.render,\n staticRenderFns: r.staticRenderFns\n };\n}, function (e) {\n function t(t, n) {\n var r = Object.create(e),\n i = [],\n o = [];\n if (n) for (var a in n.modules && (r.modules = (e.modules || []).concat(n.modules)), n.directives && (r.directives = A(Object.create(e.directives || null), n.directives)), n) {\n \"modules\" !== a && \"directives\" !== a && (r[a] = n[a]);\n }\n\n r.warn = function (e, t, n) {\n (n ? o : i).push(e);\n };\n\n var s = es(t.trim(), r);\n return s.errors = i, s.tips = o, s;\n }\n\n return {\n compile: t,\n compileToFunctions: Qa(t)\n };\n})(Ca),\n rs = (ns.compile, ns.compileToFunctions);\n\nfunction is(e) {\n return (ts = ts || document.createElement(\"div\")).innerHTML = e ? '' : '
', ts.innerHTML.indexOf(\" \") > 0;\n}\n\nvar os = !!z && is(!1),\n as = !!z && is(!0),\n ss = g(function (e) {\n var t = Yn(e);\n return t && t.innerHTML;\n}),\n cs = wn.prototype.$mount;\nwn.prototype.$mount = function (e, t) {\n if ((e = e && Yn(e)) === document.body || e === document.documentElement) return this;\n var n = this.$options;\n\n if (!n.render) {\n var r = n.template;\n if (r) {\n if (\"string\" == typeof r) \"#\" === r.charAt(0) && (r = ss(r));else {\n if (!r.nodeType) return this;\n r = r.innerHTML;\n }\n } else e && (r = function (e) {\n if (e.outerHTML) return e.outerHTML;\n var t = document.createElement(\"div\");\n return t.appendChild(e.cloneNode(!0)), t.innerHTML;\n }(e));\n\n if (r) {\n var i = rs(r, {\n outputSourceRange: !1,\n shouldDecodeNewlines: os,\n shouldDecodeNewlinesForHref: as,\n delimiters: n.delimiters,\n comments: n.comments\n }, this),\n o = i.render,\n a = i.staticRenderFns;\n n.render = o, n.staticRenderFns = a;\n }\n }\n\n return cs.call(this, e, t);\n}, wn.compile = rs, module.exports = wn;","var scope = typeof global !== \"undefined\" && global || typeof self !== \"undefined\" && self || window;\nvar apply = Function.prototype.apply; // DOM APIs, for completeness\n\nexports.setTimeout = function () {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\n\nexports.setInterval = function () {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\n\nexports.clearTimeout = exports.clearInterval = function (timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\n\nTimeout.prototype.unref = Timeout.prototype.ref = function () {};\n\nTimeout.prototype.close = function () {\n this._clearFn.call(scope, this._id);\n}; // Does not start the time, just sets up the members needed.\n\n\nexports.enroll = function (item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function (item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function (item) {\n clearTimeout(item._idleTimeoutId);\n var msecs = item._idleTimeout;\n\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout) item._onTimeout();\n }, msecs);\n }\n}; // setimmediate attaches itself to the global object\n\n\nrequire(\"setimmediate\"); // On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\n\n\nexports.setImmediate = typeof self !== \"undefined\" && self.setImmediate || typeof global !== \"undefined\" && global.setImmediate || this && this.setImmediate;\nexports.clearImmediate = typeof self !== \"undefined\" && self.clearImmediate || typeof global !== \"undefined\" && global.clearImmediate || this && this.clearImmediate;","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n } // Copy function arguments\n\n\n var args = new Array(arguments.length - 1);\n\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n } // Store and register the task\n\n\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n\n switch (args.length) {\n case 0:\n callback();\n break;\n\n case 1:\n callback(args[0]);\n break;\n\n case 2:\n callback(args[0], args[1]);\n break;\n\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n\n if (task) {\n currentlyRunningATask = true;\n\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function registerImmediate(handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n\n var onGlobalMessage = function onGlobalMessage(event) {\n if (event.source === global && typeof event.data === \"string\" && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function registerImmediate(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function registerImmediate(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n\n registerImmediate = function registerImmediate(handle) {\n // Create a \n","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=bec7d0f6&\"\nimport script from \"./Icon.vue?vue&type=script&lang=js&\"\nexport * from \"./Icon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.globalConfig.brandName && !_vm.disableBranding)?_c('div',{staticClass:\"px-0 py-3 flex justify-center\"},[_c('a',{staticClass:\"branding--link justify-center\",attrs:{\"href\":_vm.brandRedirectURL,\"rel\":\"noreferrer noopener nofollow\",\"target\":\"_blank\"}},[_c('img',{staticClass:\"branding--image\",attrs:{\"alt\":_vm.globalConfig.brandName,\"src\":_vm.globalConfig.logoThumbnail}}),_vm._v(\" \"),_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.useInstallationName(_vm.$t('POWERED_BY'), _vm.globalConfig.brandName))+\"\\n \")])])]):_c('div',{staticClass:\"p-3\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Branding.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Branding.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Branding.vue?vue&type=template&id=17404a0c&scoped=true&\"\nimport script from \"./Branding.vue?vue&type=script&lang=js&\"\nexport * from \"./Branding.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Branding.vue?vue&type=style&index=0&id=17404a0c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17404a0c\",\n null\n \n)\n\nexport default component.exports","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day?\n *\n * @description\n * Are the given dates in the same day?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n */\n\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}","import fromUnixTime from 'date-fns/fromUnixTime';\nimport format from 'date-fns/format';\nimport isToday from 'date-fns/isToday';\nimport isYesterday from 'date-fns/isYesterday';\n\nexport const formatUnixDate = (date, dateFormat = 'MMM dd, yyyy') => {\n const unixDate = fromUnixTime(date);\n return format(unixDate, dateFormat);\n};\n\nexport const formatDate = ({ date, todayText, yesterdayText }) => {\n const dateValue = new Date(date);\n if (isToday(dateValue)) return todayText;\n if (isYesterday(dateValue)) return yesterdayText;\n return date;\n};\n\nexport const formatDigitToString = val => {\n return val > 9 ? `${val}` : `0${val}`;\n};\n\nexport const isTimeAfter = (h1, m1, h2, m2) => {\n if (h1 < h2) {\n return false;\n }\n\n if (h1 === h2) {\n return m1 >= m2;\n }\n\n return true;\n};\n","import isSameDay from \"../isSameDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is today\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * var result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\n\nexport default function isToday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, Date.now());\n}","import isSameDay from \"../isSameDay/index.js\";\nimport subDays from \"../subDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isYesterday\n * @category Day Helpers\n * @summary Is the given date yesterday?\n * @pure false\n *\n * @description\n * Is the given date yesterday?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * var result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\n\nexport default function isYesterday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, subDays(Date.now(), 1));\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * isobject \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\nfunction isObject(val) {\n return val != null && _typeof(val) === 'object' && Array.isArray(val) === false;\n}\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n\nfunction isObjectObject(o) {\n return isObject(o) === true && Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor, prot;\n if (isObjectObject(o) === false) return false; // If has modified constructor\n\n ctor = o.constructor;\n if (typeof ctor !== 'function') return false; // If has modified prototype\n\n prot = ctor.prototype;\n if (isObjectObject(prot) === false) return false; // If constructor does not have an Object-specific method\n\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n } // Most likely a plain Object\n\n\n return true;\n}\n\nexport default isPlainObject;","function e(e) {\n return \"string\" == typeof e ? e[0].toUpperCase() + e.substr(1) : e;\n}\n\nvar r = {\n accepted: function accepted(e) {\n return \"من فضلك اقبل ال \" + e.name;\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" يجب أن يأتي بعد \" + a[0] + \".\" : e(n) + \" يجب أن يكون تاريخ أحدث\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" يجب أن يحتوى على حروف أبجدية فقط.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" يمكن أن يحتوي على حروف أبجدية أو أرقام فقط.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" يجب أن يكون قبل \" + a[0] + \".\" : e(n) + \" يجب أن يكون تاريخ أقدم\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" يجب أن يقع بين \" + t[0] + \" و \" + t[1] + \".\" : e(n) + \" يجب ان يكون طوله بين \" + t[0] + \" و \" + t[1] + \" حرف.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" غير متطابق.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ليس على الصيغة الصحيحة, من فضلك استخدم هذه الصيغة \" + a[0] : e(n) + \" ليس على الصيغة الصحيحة.\";\n },\n default: function _default(e) {\n e.name;\n return \"هذه القيمة غير مناسبة.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ليس عنوان بريد الكتروني.\" : \"من فضلك أدخل عنوان بريد الكتروني مناسب.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” لا تنتهي بنهاية صحيحة.\" : \"نهاية هذه القيمة ليست صحيحة.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” ليس \" + n + \" صحيح.\" : \"هذه القيمة ليست \" + n + \" صحيح.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" ليست قيمة مسموح بها.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"يمكنك فقط ان تختار \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" لا يمكن أن يتجاوز \" + t[0] + \".\" : e(n) + \" لا يجب ان يزيد طوله عن \" + t[0] + \" حرف.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" يجب ان يكون من نوع \" + (a[0] || \"لا يسمح بأي نوع.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"يجب أن تختار على الأقل \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" يجب أن يكون أكبر من \" + t[0] + \".\" : e(n) + \" يجب أن يكون طوله أكبر من \" + t[0] + \" حرف.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” ليست قيمة مسموح بها ك\" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" يجب أن يكون رقم.\";\n },\n required: function required(r) {\n return e(r.name) + \" ضروري.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” لا تبدأ بقيمة صحيحة.\" : \"هذه القيمة لا تبدأ بقيمة صحيحة.\";\n },\n url: function url(e) {\n e.name;\n return \"من فضلك أدخل رابط صحيح.\";\n }\n};\n\nfunction n(e) {\n var n;\n e.extend({\n locales: (n = {}, n.ar = r, n)\n });\n}\n\nvar a = {\n accepted: function accepted(e) {\n return \"Si us plau accepta els \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ha de ser després de \" + a[0] + \".\" : e(n) + \" ha de ser una data posterior.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" només pot contenir lletres.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" només pot contenir lletres i números.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ha de ser abans de \" + a[0] + \".\" : e(n) + \" ha de ser una data anterior\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha d'estar entre \" + t[0] + \" i \" + t[1] + \".\" : e(n) + \" ha de tenir entre \" + t[0] + \" i \" + t[1] + \" caràcters.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" no coincideix.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" no és una data vàlida, si us plau usi el format \" + a[0] : e(n) + \" no és una data vàlida.\";\n },\n default: function _default(e) {\n e.name;\n return \"Aquest camp no és vàlid.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no és un correu electrònic vàlid.\" : \"Si us plau introdueixi un correu electrònic vàlid.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no acaba en un valor vàlid.\" : \"Aquest camp no acaba en un valor vàlid.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” no és un \" + n + \" permès.\" : \"Això no és un \" + n + \" permès.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" no és un valor permès.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Només pots seleccionar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha de ser menor o igual que \" + t[0] + \".\" : e(n) + \" ha de ser menor o igual que \" + t[0] + \" caràcters.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" ha de ser de tipus: \" + (a[0] || \"No es permet el format d'arxius.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Necessites almenys \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha de contenir almenys \" + t[0] + \".\" : e(n) + \" ha de contenir almenys \" + t[0] + \" caràcters.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” no és un \" + r + \" permès.\";\n },\n number: function number(r) {\n return e(r.name) + \" ha de ser un número.\";\n },\n required: function required(r) {\n return e(r.name) + \" és requerit.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no comença amb un valor vàlid.\" : \"Aquest camp no comença amb un valor vàlid.\";\n },\n url: function url(e) {\n e.name;\n return \"Si us plau introdueixi una url vàlida.\";\n }\n};\n\nfunction t(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ca = a, r)\n });\n}\n\nvar i = {\n accepted: function accepted(e) {\n return \"Prosím potvrďte \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí bý po \" + a[0] + \".\" : e(n) + \" musí být pozdější datum.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" může obsahovat pouze písmena.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" může obsahovat pouze písmena a čísla.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí být před \" + a[0] + \".\" : e(n) + \" musí být dřívější datum.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být mezi \" + t[0] + \" a \" + t[1] + \".\" : e(n) + \" délka musí být mezi \" + t[0] + \" a \" + t[1] + \" znaky.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" se neshoduje.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" není platné datum, použijte formát \" + a[0] : e(n) + \" není platné datum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Toto pole není vyplěno správně.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” není platná e-mailová adresa.\" : \"Zadejte platnou e-mailovou adresu.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nekončí správnou hodnotou.\" : \"Toto pole nekončí správnou hodnotou.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” není povolená hodnota \" + n + \".\" : \"Toto není povolená hodnota \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" není povolená hodnota.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Můžete vybrat pouze \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být menší nebo rovno \" + t[0] + \".\" : e(n) + \" musí být menší nebo rovno \" + t[0] + \" znaků.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musí být typ: \" + (a[0] || \"Žádné typy souborů nejsou povolené.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je potřeba nejméně \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být nejméně \" + t[0] + \".\" : e(n) + \" musí být nejméně \" + t[0] + \" znaků.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” není povolená hodnota \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" musí být číslo.\";\n },\n required: function required(r) {\n return \"Pole \" + e(r.name) + \" je povinné.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nezačíná platnou hodnotou.\" : \"Toto pole nezačíná platnou hodnotou.\";\n },\n url: function url(e) {\n e.name;\n return \"Zadejte platnou URL adresu.\";\n }\n};\n\nfunction u(e) {\n var r;\n e.extend({\n locales: (r = {}, r.cs = i, r)\n });\n}\n\nvar o = {\n accepted: function accepted(e) {\n return \"Accepter venligst \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" skal være efter \" + a[0] + \".\" : e(n) + \" skal være en senere dato.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" kan kun indeholde bogstaver.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" kan kun indeholde bogstaver og tal.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" skal være før \" + a[0] + \".\" : e(n) + \" skal være en tidligere dato.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mellem \" + t[0] + \" og \" + t[1] + \".\" : e(n) + \" skal være mellem \" + t[0] + \" og \" + t[1] + \" tegn.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" matcher ikke.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" er ikke gyldig, brug venligst formatet \" + a[0] : e(n) + \" er ikke en gyldig dato.\";\n },\n default: function _default(e) {\n e.name;\n return \"Dette felt er ikke gyldigt.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” er ikke en gyldig email-adresse.\" : \"Indtast venligst en gyldig email-adresse.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutter ikke med en gyldig værdi.\" : \"Dette felt slutter ikke med en gyldig værdi.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” er ikke en tilladt \" + n + \".\" : \"Dette er ikke en tilladt \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" er ikke en gyldig værdi.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du kan kun vælge \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mindre end eller lig \" + t[0] + \".\" : e(n) + \" skal være mindre end eller lig \" + t[0] + \" tegn.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" skal være af typen: \" + (a[0] || \"Ingen tilladte filformater.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du skal vælge mindst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mere end \" + t[0] + \".\" : e(n) + \" skal være mere end \" + t[0] + \" tegn.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” er ikke en gyldig \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" skal være et tal.\";\n },\n required: function required(r) {\n return e(r.name) + \" er påkrævet.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” starter ikke med en gyldig værdi.\" : \"Dette felt starter ikke med en gyldig værdi.\";\n },\n url: function url(e) {\n e.name;\n return \"Indtast venligst en gyldig URL.\";\n }\n};\n\nfunction s(e) {\n var r;\n e.extend({\n locales: (r = {}, r.da = o, r)\n });\n}\n\nvar l = {\n accepted: function accepted(e) {\n return e.name + \" erfordert Zustimmung.\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" muss auf \" + a[0] + \" folgen.\" : e(n) + \" muss ein späteres Datum sein.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" darf nur Buchstaben enthalten.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" darf nur Buchstaben und Zahlen enthalten.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" muss vor \" + a[0] + \" sein.\" : e(n) + \" muss ein früheres Datum sein.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss zwischen \" + t[0] + \" und \" + t[1] + \".\" : e(n) + \" muss zwischen \" + t[0] + \" und \" + t[1] + \" Zeichen lang sein.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" stimmt nicht überein.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ist nicht korrekt, bitte das Format \" + a[0] + \" benutzen.\" : e(n) + \" ist kein gültiges Datum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Das Feld hat einen Fehler.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"“ ist keine gültige E-Mail-Adresse.\" : \"Bitte eine gültige E-Mail-Adresse eingeben.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"” endet nicht mit einem gültigen Wert.\" : \"Dieses Feld endet nicht mit einem gültigen Wert\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"„\" + e(a) + \"“ ist kein gültiger Wert für \" + n + \".\" : \"Dies ist kein gültiger Wert für \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" ist kein gültiger Wert.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Es dürfen nur \" + t[0] + \" \" + n + \" ausgewählt werden.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss kleiner oder gleich \" + t[0] + \" sein.\" : e(n) + \" muss \" + t[0] + \" oder weniger Zeichen lang sein.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" muss den Typ \" + (a[0] || \"Keine Dateien erlaubt\") + \" haben.\";\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Es müssen mindestens \" + t[0] + \" \" + n + \" ausgewählt werden.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss größer als \" + t[0] + \" sein.\" : e(n) + \" muss \" + t[0] + \" oder mehr Zeichen lang sein.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"„\" + e.value + \"“ ist kein erlaubter Wert für \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" muss eine Zahl sein.\";\n },\n required: function required(r) {\n return e(r.name) + \" ist ein Pflichtfeld.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"” beginnt nicht mit einem gültigen Wert\" : \"Dieses Feld beginnt nicht mit einem gültigen Wert\";\n },\n url: function url(r) {\n return e(r.name) + \" muss eine gültige URL sein.\";\n }\n};\n\nfunction m(e) {\n var r;\n e.extend({\n locales: (r = {}, r.de = l, r)\n });\n}\n\nvar v = {\n accepted: function accepted(e) {\n return \"Please accept the \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" must be after \" + a[0] + \".\" : e(n) + \" must be a later date.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" can only contain alphabetical characters.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" can only contain letters and numbers.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" must be before \" + a[0] + \".\" : e(n) + \" must be an earlier date.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be between \" + t[0] + \" and \" + t[1] + \".\" : e(n) + \" must be between \" + t[0] + \" and \" + t[1] + \" characters long.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" does not match.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" is not a valid date, please use the format \" + a[0] : e(n) + \" is not a valid date.\";\n },\n default: function _default(e) {\n e.name;\n return \"This field isn’t valid.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” is not a valid email address.\" : \"Please enter a valid email address.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” doesn’t end with a valid value.\" : \"This field doesn’t end with a valid value.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” is not an allowed \" + n + \".\" : \"This is not an allowed \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" is not an allowed value.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"You may only select \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be less than or equal to \" + t[0] + \".\" : e(n) + \" must be less than or equal to \" + t[0] + \" characters long.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" must be of the type: \" + (a[0] || \"No file formats allowed.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"You need at least \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be at least \" + t[0] + \".\" : e(n) + \" must be at least \" + t[0] + \" characters long.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” is not an allowed \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" must be a number.\";\n },\n required: function required(r) {\n return e(r.name) + \" is required.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” doesn’t start with a valid value.\" : \"This field doesn’t start with a valid value.\";\n },\n url: function url(e) {\n e.name;\n return \"Please include a valid url.\";\n }\n};\n\nfunction c(e) {\n var r;\n e.extend({\n locales: (r = {}, r.en = v, r)\n });\n}\n\nvar f = {\n accepted: function accepted(e) {\n return \"Por favor acepta los \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" debe ser luego de \" + a[0] + \".\" : e(n) + \" debe ser una fecha posterior.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" solo puede contener letras.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" solo puede contener letras y números.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" debe ser antes de \" + a[0] + \".\" : e(n) + \" debe ser una fecha anterior.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe estar entre \" + t[0] + \" y \" + t[1] + \".\" : e(n) + \" debe tener entre \" + t[0] + \" y \" + t[1] + \" caracteres.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" no coincide.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" no es una fecha válida, por favor use el formato \" + a[0] : e(n) + \" no es una fecha válida.\";\n },\n default: function _default(e) {\n e.name;\n return \"Este campo no es válido.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no es un correo electrónico válido.\" : \"Por favor introduzca un correo electrónico válido.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no termina en un valor válido.\" : \"Este campo no termina en un valor válido.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” no es un \" + n + \" permitido.\" : \"Esto no es un \" + n + \" permitido.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" no es un valor permitido.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Solo puedes seleccionar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe ser menor o igual que \" + t[0] + \".\" : e(n) + \" debe ser menor o igual que \" + t[0] + \" caracteres.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" debe ser de tipo: \" + (a[0] || \"No se permite el formato de archivos.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Necesitas al menos \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe contener al menos \" + t[0] + \".\" : e(n) + \" debe contener al menos \" + t[0] + \" caracteres.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” no es un \" + r + \" permitido.\";\n },\n number: function number(r) {\n return e(r.name) + \" debe ser un número.\";\n },\n required: function required(r) {\n return e(r.name) + \" es requerido.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no comienza con un valor válido.\" : \"Este campo no comienza con un valor válido.\";\n },\n url: function url(e) {\n e.name;\n return \"Por favor introduzca una url válida.\";\n }\n};\n\nfunction d(e) {\n var r;\n e.extend({\n locales: (r = {}, r.es = f, r)\n });\n}\n\nvar g = {\n accepted: function accepted(e) {\n return \"Merci d'accepter les \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" doit être postérieur à \" + a[0] + \".\" : e(n) + \" doit être une date ultérieure.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" peut uniquement contenir des lettres.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" peut uniquement contenir des lettres ou des chiffres\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" doit être antérieur à \" + a[0] + \".\" : e(n) + \" doit être une date antérieure.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être compris entre \" + t[0] + \" et \" + t[1] + \".\" : e(n) + \" doit être compris entre \" + t[0] + \" et \" + t[1] + \" caractères.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" ne correspond pas.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" n'est pas valide. Merci d'utiliser le format \" + a[0] : e(n) + \" n'est pas une date valide.\";\n },\n default: function _default(e) {\n e.name;\n return \"Ce champ n'est pas valide.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” n'est pas une adresse email valide.\" : \"Merci d'entrer une adresse email valide.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne termine pas par une valeur correcte.\" : \"Ce champ ne termine pas par une valeur correcte.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” n'est pas un(e) \" + n + \" autorisé(e).\" : \"Cette valeur n'est pas un(e) \" + n + \" autorisé(e).\";\n },\n matches: function matches(r) {\n return e(r.name) + \" n'est pas une valeur autorisée.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Vous pouvez uniquement sélectionner \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être inférieur ou égal à \" + t[0] + \".\" : e(n) + \" doit être inférieur ou égal à \" + t[0] + \" caractères.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" doit être de type: \" + (a[0] || \"Aucun format autorisé.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Vous devez sélectionner au moins \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être supérieur à \" + t[0] + \".\" : e(n) + \" doit être plus long que \" + t[0] + \" caractères.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” n'est pas un(e) \" + r + \" autorisé(e).\";\n },\n number: function number(r) {\n return e(r.name) + \" doit être un nombre.\";\n },\n required: function required(r) {\n return e(r.name) + \" est obligatoire.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne commence pas par une valeur correcte.\" : \"Ce champ ne commence pas par une valeur correcte.\";\n },\n url: function url(e) {\n e.name;\n return \"Merci d'entrer une URL valide.\";\n }\n};\n\nfunction y(e) {\n var r;\n e.extend({\n locales: (r = {}, r.fr = g, r)\n });\n}\n\nvar h = {\n accepted: function accepted(e) {\n return \"אנא קבל את ה\" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" חייב להיות אחרי \" + a[0] + \".\" : e(n) + \" חייב להיות תאריך יותר מאוחר.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" יכול להכיל אותיות בלבד.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" יכול להכיל אותיות ומספרים בלבד.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" חייב להיות לפני \" + a[0] + \".\" : e(n) + \" חייב להיות תאריך יותר מוקדם.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות בין \" + t[0] + \" ו-\" + t[1] + \".\" : e(n) + \" חייב להיות בין \" + t[0] + \" ו-\" + t[1] + \" אותיות.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" אינו תואם.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" אינו תאריך תקין, אנא השתמש בפורמט \" + a[0] : e(n) + \" אינו תאריך תקין.\";\n },\n default: function _default(e) {\n e.name;\n return \"השדה אינו תקין.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו כתובת אימייל תקין.\" : \"אנא הכנס כתובת אימייל תקין.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו מסתיים בערך תקין.\" : \"שדה זו אינו מסתיים בערך תקין.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” אינו \" + n + \" מורשה.\" : \"ערך זו איננו \" + n + \" מורשה.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" אינו ערך מורשה.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"אתה יכול לבחור רק \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות פחות או שוה ל-\" + t[0] + \".\" : e(n) + \" חייב להיות פחות או שוה ל-\" + t[0] + \" אותיות.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" חייב להיות מסוג של: \" + (a[0] || \"סוגי קבצים לא מורשים.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"אתה צריך לפחות \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות לפחות \" + t[0] + \".\" : e(n) + \" חייב להיות לפחות \" + t[0] + \" אותיות.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” אינו \" + r + \" מורשה.\";\n },\n number: function number(r) {\n return e(r.name) + \" חייב להיות מספר.\";\n },\n required: function required(r) {\n return e(r.name) + \" נדרש.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו מתחיל בערך תקף.\" : \"שדה זה אינו מתחיל בערך תקף.\";\n },\n url: function url(e) {\n e.name;\n return \"אנא כלול כתובת אתר חוקית.\";\n }\n};\n\nfunction A(e) {\n var r;\n e.extend({\n locales: (r = {}, r.he = h, r)\n });\n}\n\nvar p = {\n accepted: function accepted(e) {\n return \"Kérlek fogadd el a(z) \" + e.name + \" mezőt.\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" után kell lennie \" + a[0] + \".\" : e(n) + \" későbbi dátumnak kell lennie.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" csak ábécé szerinti karaktereket tartalmazhat.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" csak betűket és számokat tartalmazhat.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" előtt kell lennie \" + a[0] + \".\" : e(n) + \" korábbi dátumnak kell lennie.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" között kell lennie \" + t[0] + \" és \" + t[1] + \".\" : e(n) + \" között kell lennie \" + t[0] + \" és \" + t[1] + \" karakter hosszú.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" nem egyezik.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nem érvényes dátum, kérlek használd a \" + a[0] + \" formátumot.\" : e(n) + \" nem érvényes dátum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Ez a mező érvénytelen.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem érvényes e-mail cím.\" : \"Kérlek valós e-mail címet adj meg.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem ér véget érvényes értékkel.\" : \"Ez a mező nem ér véget érvényes értékkel.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nem megengedett \" + n + \".\" : \"Ez nem megengedett \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" nem megengedett érték.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Csak választható \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" kisebbnek vagy egyenlőnek kell lennie \" + t[0] + \".\" : e(n) + \" kisebbnek vagy egyenlőnek kell lennie \" + t[0] + \" karakter hosszú.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" típusúnak kell lennie: \" + (a[0] || \"Nem engedélyezett fájlformátumok.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Legalább szükséges \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" legalább \" + t[0] + \".\" : e(n) + \" legalább \" + t[0] + \" karakter hosszú.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” nem megengedett \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" számnak kell lennie.\";\n },\n required: function required(r) {\n return e(r.name) + \" kötelező.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem érvényes értékkel kezdődik.\" : \"Ez a mező nem érvényes értékkel kezdődik.\";\n },\n url: function url(e) {\n e.name;\n return \"Kérlek érvényes ulr-t adj meg.\";\n }\n};\n\nfunction b(e) {\n var r;\n e.extend({\n locales: (r = {}, r.hu = p, r)\n });\n}\n\nvar k = {\n accepted: function accepted(e) {\n return \"Per favore, accetta il campo \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve essere una data successiva al \" + a[0] + \".\" : e(n) + \" deve essere una data successiva a quella attuale.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" può contenere solo lettere.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" può contenere solo lettere e numeri.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve essere una data precedente al \" + a[0] + \".\" : e(n) + \" deve essere una data precedente a quella attuale.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere tra \" + t[0] + \" e \" + t[1] + \".\" : e(n) + \" deve avere una lunghezza compresa tra \" + t[0] + \" e \" + t[1] + \" caratteri.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" non corrisponde.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" non è una data valida. Per favore usa il formato \" + a[0] : e(n) + \" non è una data valida.\";\n },\n default: function _default(e) {\n e.name;\n return \"Questo campo non è valido.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non è un indirizzo email valido.\" : \"Per favore, inserisci un indirizzo email valido.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non termina con un valore valido.\" : \"Questo campo non termina con un valore valido.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” non è un valore valido per il campo \" + n + \".\" : n + \" invalido.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" invalido.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Puoi selezionare al massimo \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere inferiore o uguale a \" + t[0] + \".\" : e(n) + \" deve essere inferiore o uguale a \" + t[0] + \" caratteri.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" deve essere del tipo: \" + (a[0] || \"Nessun formato file autorizzato.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Devi selezionare almeno \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere maggiore di \" + t[0] + \".\" : e(n) + \" deve essere più lungo di \" + t[0] + \" caratteri.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” non è un valore valido per il campo \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" deve essere un numero.\";\n },\n required: function required(r) {\n return e(r.name) + \" è un campo obbligatorio.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non inizia con un valore valido.\" : \"Questo campo non inizia con un valore valido.\";\n },\n url: function url(e) {\n e.name;\n return \"Per favore inserisci un URL valido.\";\n }\n};\n\nfunction N(e) {\n var r;\n e.extend({\n locales: (r = {}, r.it = k, r)\n });\n}\n\nvar z = {\n accepted: function accepted(e) {\n return e.name + \"を承認してください。\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は \" + a[0] + \" 以降にしてください。\" : e(n) + \"はより後にしてください。\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \"にはアルファベットのみ使用できます。\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \"には英数字のみ使用できます。\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は \" + a[0] + \" 以前にしてください。\" : e(n) + \"はより前にしてください。\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"から\" + t[1] + \"の間でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字から\" + t[1] + \"文字でなければなりません。\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \"が一致しません。\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は有効な形式ではありません。次のフォーマットで入力してください: \" + a[0] : e(n) + \"は有効な形式ではありません。\";\n },\n default: function _default(e) {\n e.name;\n return \"有効な値ではありません。\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効なメールアドレスではありません。\" : \"有効なメールアドレスを入力してください。\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効な値で終わっていません。\" : \"有効な値で終わっていません。\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” は許可された\" + n + \"ではありません。\" : \"許可された\" + n + \"ではありません。\";\n },\n matches: function matches(r) {\n return e(r.name) + \"は許可された値ではありません。\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \"は\" + t[0] + \"項目しか選択できません。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"以下でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字以下でなければなりません。\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \"は次のファイル形式でなければなりません: \" + (a[0] || \"許可されたファイル形式がありません\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \"は\" + t[0] + \"項目以上選択してください。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"以上でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字以上でなければなりません。\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” は許可された\" + r + \"ではありません。\";\n },\n number: function number(r) {\n return e(r.name) + \"には数字のみ使用できます。\";\n },\n required: function required(r) {\n return e(r.name) + \"は必須項目です。\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効な値で始まっていません。\" : \"有効な値で始まっていません。\";\n },\n url: function url(e) {\n e.name;\n return \"有効なURLを入力してください。\";\n }\n};\n\nfunction j(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ja = z, r)\n });\n}\n\nvar w = {\n accepted: function accepted(e) {\n return e.name + \" 승인해 주세요.\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" \" + a[0] + \" 이후이어야 합니다.\" : e(n) + \" 미래의 날짜이어야 합니다.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" 알파벳만 사용할 수 있습니다.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" 문자와 숫자만 사용할 수 있습니다.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" \" + a[0] + \" 이전이어야 합니다.\" : e(n) + \"이전이어야 합니다.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"와 \" + t[1] + \"사이이어야 합니다.\" : e(n) + \" \" + t[0] + \"자애서 \" + t[1] + \"자 사이이어야 합니다.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" 일치하지 않습니다.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 유효한 날짜 형식이 아닙니다. 다음과 같은 형식으로 입력해 주세요: \" + a[0] : e(n) + \"올바른 날짜 형식이 아닙니다.\";\n },\n default: function _default(e) {\n e.name;\n return \"유효하지 않은 값입니다.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 유효한 이메일 주소가 아닙니다.\" : \"유효한 이메일 주소를 입력해 주세요.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"”으로 끝내야합니다.\" : \"유효한 값으로 끝나지 않습니다.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” 허용된 \" + n + \" 아닙니다.\" : n + \" 허용된 값이 아닙니다.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" 허용 된 값이 아닙니다.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \" \" + t[0] + \"개의 항목만 선택 가능합니다.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"이하이어야 합니다.\" : e(n) + \" \" + t[0] + \"자 이하이어야 합니다.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" 다음과 같은 파일 형식이어야 합니다: \" + (a[0] || \"허용되는 파일 형식이 아닙니다.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \" \" + t[0] + \" 이상 선택해 주세요.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"이상이어야 합니다.\" : e(n) + \" \" + t[0] + \"자 이상이어야 합니다.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” 허용된 \" + r + \" 아닙니다.\";\n },\n number: function number(r) {\n return e(r.name) + \" 숫자만 사용 가능합니다.\";\n },\n required: function required(r) {\n return e(r.name) + \" 필수 항목입니다.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 유효한 값으로 시작하지 않습니다.\" : \"유효한 값으로 시작하지 않습니다.\";\n },\n url: function url(e) {\n e.name;\n return \"유효한 URL을 입력해 주세요.\";\n }\n};\n\nfunction x(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ko = w, r)\n });\n}\n\nvar W = {\n accepted: function accepted(e) {\n return \"Vennligst aksepter \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" må være etter \" + a[0] + \".\" : e(n) + \" må være på en senere dato.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" kan kun inneholde bokstaver.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" kan kun inneholde bokstaver og tall.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" må være før \" + a[0] + \".\" : e(n) + \" må være en tidligere dato.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være mellom \" + t[0] + \" og \" + t[1] + \".\" : e(n) + \" må være mellom \" + t[0] + \" og \" + t[1] + \" tegn.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" matcher ikke.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" er ikke gyldig. Vennligst bruk formatet \" + a[0] : e(n) + \" er ikke en gyldig dato.\";\n },\n default: function _default(e) {\n e.name;\n return \"Dette feltet er ikke gyldig.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” er ikke en gyldig e-postadresse.\" : \"Vennligst skriv inn en gyldig e-postadresse.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutter ikke med en gyldig verdi.\" : \"Dette feltet slutter ikke med en gyldig verdi.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” er ikke et tillatt \" + n + \".\" : \"Dette er ikke et tillatt \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" er ikke en gyldig verdi.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du kan kun velge \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være mindre eller lik \" + t[0] + \".\" : e(n) + \" må være mindre eller lik \" + t[0] + \" tegn.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" må være av typen: \" + (a[0] || \"Ingen tillatte filformater.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du skal velge minst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være større enn \" + t[0] + \".\" : e(n) + \" må være minst \" + t[0] + \" tegn.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” er ikke et tillatt \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" må være et tall.\";\n },\n required: function required(r) {\n return e(r.name) + \" er påkrevd.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” starter ikke med en gyldig verdi.\" : \"Dette feltet starter ikke med en gyldig verdi.\";\n },\n url: function url(e) {\n e.name;\n return \"Vennligst skriv inn en gyldig URL.\";\n }\n};\n\nfunction q(e) {\n var r;\n e.extend({\n locales: (r = {}, r.nb = W, r)\n });\n}\n\nvar P = {\n accepted: function accepted(e) {\n return \"Sta \" + e.name + \" toe.\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" moet na \" + a[0] + \" zijn.\" : e(n) + \" moet een latere datum zijn.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" mag enkel letters bevatten.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" mag enkel letters en cijfers bevatten.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" moet voor \" + a[0] + \" zijn.\" : e(n) + \" moet een eerdere datum zijn.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet tussen \" + t[0] + \" en \" + t[1] + \" zitten.\" : e(n) + \" moet tussen \" + t[0] + \" en \" + t[1] + \" lang zijn.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" komt niet overeen.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" is geen geldige datum, het juiste format is \" + a[0] : e(n) + \" is geen geldige datum.\";\n },\n default: function _default(e) {\n e.name;\n return \"De invoer voor dit veld is niet geldig\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” is geen geldig e-mailadres.\" : \"Voer een geldig e-mailadres in.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” eindigt niet op een geldige waarde.\" : \"Dit veld eindigt niet op een geldige waarde.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” is niet toegestaan als \" + n + \".\" : \"Deze \" + n + \" is niet toegestaan.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" is niet toegestaan.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je kunt maximaal \" + t[0] + \" selecteren als \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet kleiner of gelijk zijn aan \" + t[0] + \".\" : e(n) + \" mag maximaal \" + t[0] + \" karakters bevatten.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" moet van dit type zijn: \" + (a[0] || \"Bestanden zijn niet toegestaan\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je moet tenminste \" + t[0] + \" selecteren als \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet groter zijn dan \" + t[0] + \".\" : e(n) + \" moet tenminste \" + t[0] + \" karakters bevatten.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” is geen geldige \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" moet een getal zijn.\";\n },\n required: function required(r) {\n return e(r.name) + \" is verplicht.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” begint niet met een geldige waarde.\" : \"Dit veld begint niet met een geldige waarde.\";\n },\n url: function url(e) {\n e.name;\n return \"Voer een geldige URL in.\";\n }\n};\n\nfunction D(e) {\n var r;\n e.extend({\n locales: (r = {}, r.nl = P, r)\n });\n}\n\nvar T = {\n accepted: function accepted(e) {\n return \"Prašome priimti \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" turi būti po \" + a[0] + \".\" : e(n) + \" turi būti vėlesnė data.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" gali būti tik abėcėlės raidės.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" gali būti tik raidės ir skaičiai.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" turi būti prieš \" + a[0] + \".\" : e(n) + \" turi būti ankstesnė data.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti tarp \" + t[0] + \" ir \" + t[1] + \".\" : e(n) + \" turi būti tarp \" + t[0] + \" ir \" + t[1] + \" simbolių ilgio.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" nesutampa.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" neteisinga data, naudokite formatą \" + a[0] : e(n) + \" neteisinga data.\";\n },\n default: function _default(e) {\n e.name;\n return \"Šis laukas nėra validus.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nėra teisingas el. pašto adresas.\" : \"Prašome įvesti galiojantį el. pašto adresą.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nesibaigia galiojančia reikšme.\" : \"Šis laukas nesibaigia galiojančia reikšme.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nėra tinkamas \" + n + \".\" : \"Tai netinkamas \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" nėra leistina reikšmė.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Galite pasirinkti tik \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti mažesnis arba lygus \" + t[0] + \".\" : e(n) + \" turi turėti mažiau arba lygiai \" + t[0] + \" simbolių.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" turi būti tokio tipo: \" + (a[0] || \"Neleidžiami jokie failų formatai.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Turi būti ne mažiau nei \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti ne mažiau nei \" + t[0] + \".\" : e(n) + \" turi būti ne mažiau \" + t[0] + \" simbolių.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” nėra leistinas \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" turi būti skaičius.\";\n },\n required: function required(r) {\n return e(r.name) + \" yra privalomas.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” neprasideda galiojančia reikšme.\" : \"Šis laukas neprasideda galiojančia reikšme.\";\n },\n url: function url(e) {\n e.name;\n return \"Įveskite galiojantį URL.\";\n }\n};\n\nfunction L(e) {\n var r;\n e.extend({\n locales: (r = {}, r.lt = T, r)\n });\n}\n\nvar U = {\n accepted: function accepted(e) {\n return \"Proszę zaakceptować \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musi być po \" + a[0] + \".\" : e(n) + \" musi być przyszłą datą.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" może zawierać wyłącznie znaki alfabetyczne.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" może zawierać wyłącznie liczby i litery.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musi być przed \" + a[0] + \".\" : e(n) + \" musi być wczesniejszą datą.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi być pomiędzy \" + t[0] + \" oraz \" + t[1] + \".\" : e(n) + \" musi być pomiędzy \" + t[0] + \" oraz \" + t[1] + \" znaków.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" nie pasuje.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nie jest poprawną datą, proszę użyć formatu \" + a[0] : e(n) + \" nie jest poprawną datą.\";\n },\n default: function _default(e) {\n e.name;\n return \"Pole nie jest poprawne.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie jest poprawnym adresem email.\" : \"Proszę podać poprawny adres email.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie kończy się z poprawną wartością.\" : \"Pole nie kończy się z poprawną wartością.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” jest niedozwoloną wartością pola \" + n + \".\" : \"Wartość jest niedozwolona w polu \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" nie jest dozwoloną wartością.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Możesz wybrać maksymalnie \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi być mniejszy lub równy \" + t[0] + \".\" : e(n) + \" musi być mniejszy lub równy \" + t[0] + \" znaków.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musi być typem: \" + (a[0] || \"Niedozwolone formaty plików.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Potrzeba przynajmniej \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi mieć przynajmniej \" + t[0] + \".\" : e(n) + \" musi mieć przynajmniej \" + t[0] + \" znaków.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” jest niedozwoloną wartością \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" musi być liczbą.\";\n },\n required: function required(r) {\n return e(r.name) + \" jest wymagane.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie zaczyna się z poprawną wartością.\" : \"Pole nie zaczyna się z poprawną wartością.\";\n },\n url: function url(e) {\n e.name;\n return \"Proszę wprowadzić poprawny adres URL.\";\n }\n};\n\nfunction V(e) {\n var r;\n e.extend({\n locales: (r = {}, r.pl = U, r)\n });\n}\n\nvar E = {\n accepted: function accepted(e) {\n return \"Por favor aceite o \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve ser posterior a \" + a[0] + \".\" : e(n) + \" deve ser uma data posterior.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" pode conter apenas letras.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" pode conter apenas letras e números.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve ser antes de \" + a[0] + \".\" : e(n) + \" deve ser uma data anterior.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser entre \" + t[0] + \" e \" + t[1] + \".\" : e(n) + \" deve ter entre \" + t[0] + \" e \" + t[1] + \" caracteres.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" não corresponde.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" não é válido, por favor use o formato \" + a[0] : e(n) + \" não é uma data válida.\";\n },\n default: function _default(e) {\n e.name;\n return \"Este campo não é válido.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não é um e-mail válido.\" : \"Por favor informe um e-mail válido.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não termina com um valor válido.\" : \"Este campo não termina com um valor válido.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” não é um \" + n + \" permitido.\" : \"Isso não é um \" + n + \" permitido.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" não é um valor válido.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Você deve selecionar apenas \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser menor ou igual a \" + t[0] + \".\" : e(n) + \" deve ter no máximo \" + t[0] + \" caracteres.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" deve ser no formato: \" + (a[0] || \"Formato de arquivo não permitido.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Você deve selecionar pelo menos \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser maior que \" + t[0] + \".\" : e(n) + \" deve ter mais de \" + t[0] + \" caracteres.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” não é um \" + r + \" válido.\";\n },\n number: function number(r) {\n return e(r.name) + \" deve ser um número.\";\n },\n required: function required(r) {\n return e(r.name) + \" é obrigatório.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não começa com um valor válido.\" : \"Este campo não começa com um valor válido.\";\n },\n url: function url(e) {\n e.name;\n return \"Por favor informe uma URL válida.\";\n }\n};\n\nfunction R(e) {\n var r;\n e.extend({\n locales: (r = {}, r.pt = E, r)\n });\n}\n\nvar M = {\n accepted: function accepted(e) {\n return \"Пожалуйста, подтвердите \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" должна быть после \" + a[0] + \".\" : e(n) + \" должна быть дата после.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" может содержать только буквы.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" может содержать только буквы и цифры.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" должно быть раньше \" + a[0] + \".\" : e(n) + \" должно быть раньше.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n !(!Array.isArray(t) || !t[2]) && t[2];\n return isNaN(a), e(n) + \" должно быть между \" + t[0] + \" и \" + t[1] + \".\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" не совпадает.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" не является допустимой датой, пожалуйста, используйте формат \" + a[0] : e(n) + \" не является допустимой датой.\";\n },\n default: function _default(e) {\n e.name;\n return \"Это поле не является допустимым.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” недействительный адрес электронной почты.\" : \"Пожалуйста, введите действительный адрес электронной почты.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” не заканчивается допустимым значением.\" : \"Это поле не заканчивается допустимым значением.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” является ошибочным для \" + n + \".\" : \"Выбранное значение для \" + n + \" ошибочно.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" не совпадает.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Вы можете выбрать только \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" должно быть меньше или равно \" + t[0] + \".\" : \"Количество символов \" + e(n) + \" должно быть меньше или равно \" + t[0] + \".\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" должно быть файлом одного из следующих типов: \" + (a[0] || \"Не допустимые форматы файлов.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Должно быть не менее \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" должно быть не менее \" + t[0] + \".\" : \"Количество символов \" + e(n) + \" должно быть не менее \" + t[0] + \".\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” не является допустимым \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" должны быть числом.\";\n },\n required: function required(r) {\n return e(r.name) + \" обязательное поле.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” должно начинаться действительным значением.\" : \"Поле должно начинаться действительным значением.\";\n },\n url: function url(e) {\n e.name;\n return \"Пожалуйста, укажите действительный URL.\";\n }\n};\n\nfunction B(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ru = M, r)\n });\n}\n\nvar F = {\n accepted: function accepted(e) {\n return \"Prosím príjmi \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí byť neskôr ako \" + a[0] + \".\" : \"Pre \" + e(n) + \" je potrebné zvoliť neskorší dátum.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" môže obsahovať len písmená.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" môže obsahovať len písmená a čísla.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí byť skôr než \" + a[0] + \".\" : \"Pre \" + e(n) + \" je potrebné zvoliť skorší dátum.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť medzi \" + t[0] + \" a \" + t[1] + \".\" : e(n) + \" musí mať od \" + t[0] + \" do \" + t[1] + \" znakov.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" sa nezhoduje.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" neobsahuje korektný dátum. Je potrebné použiť formát \" + a[0] : e(n) + \" neobsahuje korektný dátum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Toto pole obsahuje chybu.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie je platná emailová adresa.\" : \"Prosím, uveď platnú emailovú adresu..\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nekončí povolenou hodnotou.\" : \"Toto pole nekončí povolenou hodnotou.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nie je povolená hodnota pre \" + n + \".\" : \"Toto nie je povolená hodnota pre \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" nie je povolená hodnota.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je možné vybrať najviac \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť nanajvýš \" + t[0] + \".\" : e(n) + \" musí obsahovať nanajvýš \" + t[0] + \" znakov.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musí byť typu: \" + (a[0] || \"Žiadne formáty nie sú povolené.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je potrebné vybrať aspoň \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť aspoň \" + t[0] + \".\" : e(n) + \" musí obsahovať aspoň \" + t[0] + \" znakov.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” nie je povolená hodnota pre \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" musí byť číslo.\";\n },\n required: function required(r) {\n return e(r.name) + \" je povinné pole.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nezačína povolenou hodnotou.\" : \"Toto pole nezačína povolenou hodnotou.\";\n },\n url: function url(e) {\n e.name;\n return \"Prosím, uveď platnú URL adresu.\";\n }\n};\n\nfunction Z(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sk = F, r)\n });\n}\n\nvar C = {\n accepted: function accepted(e) {\n return \"Molimo Vas da prihvatite \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" mora biti posle \" + a[0] + \".\" : e(n) + \" mora biti kasniji datum.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" može sadržati samo abecedne karaktere.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" može sadržati samo slova i brojeve.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" mora biti pre \" + a[0] + \".\" : e(n) + \" mora biti raniji datum.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" mora biti između \" + t[0] + \" i \" + t[1] + \".\" : e(n) + \" mora biti između \" + t[0] + \" i \" + t[1] + \" karaktera.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" se ne podudara.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nije važeći datum, koristite format \" + a[0] : e(n) + \" nije važeći datum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Ovo polje nije važeće.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nije važeća e-mail adresa.\" : \"Unesite ispravnu e-mail adresu.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” se ne završava važećom vrednošću.\" : \"Ovo polje se ne završava važećom vrednošću.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nije dozvoljeno \" + n + \".\" : \"Ovo nije dozvoljeno \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" nije dozvoljena vrednost za ovo polje.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Možete odabrati samo \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" mora biti manje ili jednako \" + t[0] + \".\" : e(n) + \" mora biti manje ili jednako \" + t[0] + \" karaktera.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" mora biti jedan sledecih formata: \" + (a[0] || \"Format datoteke nije dozvoljen.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Treba Vam bar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" treba da ima najmanje \" + t[0] + \".\" : e(n) + \" treba da ima najmanje \" + t[0] + \" karaktera.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” nije dozvoljena vrednost za polje \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" mora biti broj.\";\n },\n required: function required(r) {\n return e(r.name) + \" je obavezno polje.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne počinje sa važećom vrednošću.\" : \"Ovo polje ne počinje sa važećom vrednošću.\";\n },\n url: function url(e) {\n e.name;\n return \"Unesite važeći url.\";\n }\n};\n\nfunction I(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sr = C, r)\n });\n}\n\nvar J = {\n accepted: function accepted(e) {\n return \"Var vänlig acceptera \" + e.name + \".\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" måste vara efter \" + a[0] + \".\" : e(n) + \" måste vara ett senare datum.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" får bara innehålla bokstäver.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" får bara innehålla bokstäver och nummer.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" måste vara innan \" + a[0] + \".\" : e(n) + \" måste vara ett tidigare datum.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara mellan \" + t[0] + \" och \" + t[1] + \".\" : e(n) + \" måste vara mellan \" + t[0] + \" och \" + t[1] + \" tecken .\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" matchar inte.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" är inte ett giltigt datum, var vänlig och använd formatet \" + a[0] : e(n) + \" är inte ett giltigt datum.\";\n },\n default: function _default(e) {\n e.name;\n return \"Fältet är inte giltigt.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” är inte en giltigt e-postadress.\" : \"Var vänlig och ange en giltig e-postadress.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutar inte med ett giltigt värde.\" : \"Detta fält slutar inte med ett giltigt värde.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” är inte ett tillåtet \" + n + \".\" : \"Detta är inte ett tillåtet \" + n + \".\";\n },\n matches: function matches(r) {\n return e(r.name) + \" är inte ett tillåtet värde.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du får bara välja \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara mer än eller lika med \" + t[0] + \".\" : e(n) + \" måste vara mindre än eller lika med \" + t[0] + \" tecken.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" måste vara av typen: \" + (a[0] || \"Inga filformat tillåtna.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du måste välja minst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara minst \" + t[0] + \".\" : e(n) + \" måste åtminstone vara \" + t[0] + \" tecken långt.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” är inte tillåtet \" + r + \".\";\n },\n number: function number(r) {\n return e(r.name) + \" måste vara ett nummer.\";\n },\n required: function required(r) {\n return e(r.name) + \" är obligatoriskt.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” börjar inte med ett giltigt värde.\" : \"Detta fält börjar inte med ett giltigt värde.\";\n },\n url: function url(e) {\n e.name;\n return \"Vänligen ange en giltig url.\";\n }\n};\n\nfunction K(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sv = J, r)\n });\n}\n\nvar S = {\n accepted: function accepted(r) {\n return \"กรุณายอมรับ \" + e(r.name);\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ต้องเป็นวันที่หลังจาก \" + a[0] : e(n) + \" ต้องเป็นวันที่ยังไม่มาถึง\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" มีได้เฉพาะตัวอักษรเท่านั้น\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" มีได้เฉพาะตัวอักษรและตัวเลขเท่านั้น\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ต้องเป็นวันที่ก่อนหน้า \" + a[0] : e(n) + \" ต้องเป็นวันที่ผ่านมาแล้ว\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีค่าระหว่าง \" + t[0] + \" ถึง \" + t[1] : e(n) + \" ต้องมีความยาว \" + t[0] + \" ถึง \" + t[1] + \" ตัว\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" ไม่ตรงกัน\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ไม่ใช่วันที่ที่ถูกต้อง กรุณาใช้ตามรูปแบบ \" + a[0] : e(n) + \" ไม่ใช่วันที่ที่ถูกต้อง\";\n },\n default: function _default(e) {\n e.name;\n return \"ข้อมูลช่องนี้ไม่ถูกต้อง\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ใช่ที่อยู่อีเมลที่ถูกต้อง\" : \"กรุณากรอกที่อยู่อีเมลให้ถูกต้อง\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ได้ลงท้ายด้วยค่าที่ถูกต้อง\" : \"ข้อมูลช่องนี้ไม่ได้ลงท้ายด้วยค่าที่ถูกต้อง\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” ไม่ใช่ \" + n + \" ที่อนุญาตให้กรอก\" : \"นี่ไม่ใช่ \" + n + \" ที่อนุญาตให้กรอก\";\n },\n matches: function matches(r) {\n return e(r.name) + \" ไม่ใช่ค่าที่อนุญาตให้กรอก\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"คุณเลือกได้เพียง \" + t[0] + \" \" + n + \" เท่านั้น\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีไม่เกิน \" + t[0] : e(n) + \" ต้องยาวไม่เกิน \" + t[0] + \" ตัว\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" ต้องเป็นประเภท: \" + (a[0] || \"ไม่มีประเภทไฟล์ที่อนุญาต\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"คุณต้องเลือกอย่างน้อย \" + t[0] + \" \" + n;\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีค่าอย่างน้อย \" + t[0] : e(n) + \" ต้องยาวอย่างน้อย \" + t[0] + \" ตัว\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” ไม่ใช่ค่า \" + r + \" ที่อนุญาตให้กรอก\";\n },\n number: function number(r) {\n return e(r.name) + \" ต้องเป็นตัวเลข\";\n },\n required: function required(r) {\n return e(r.name) + \" จำเป็นต้องกรอก\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ได้ขึ้นต้นด้วยค่าที่ถูกต้อง\" : \"ข้อมูลช่องนี้ไม่ได้ขึ้นต้นด้วยค่าที่ถูกต้อง\";\n },\n url: function url(e) {\n e.name;\n return \"กรุณาแนบลิงก์ให้ถูกต้อง\";\n }\n};\n\nfunction O(e) {\n var r;\n e.extend({\n locales: (r = {}, r.th = S, r)\n });\n}\n\nvar Q = {\n accepted: function accepted(e) {\n return \"Lütfen \" + e.name + \"'i kabul edin..\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \", \" + a[0] + \" sonrasında olmalıdır.\" : e(n) + \" daha sonraki bir tarih olmalıdır.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" yalnızca alfabetik karakterler içerebilir.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" yalnızca harf ve rakam içerebilir.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \", \" + a[0] + \" tarihinden önce olmalıdır.\" : e(n) + \" daha erken bir tarih olmalıdır.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \", \" + t[0] + \" ile \" + t[1] + \" arasında olmalıdır.\" : e(n) + \", \" + t[0] + \" ile \" + t[1] + \" karakter uzunluğunda olmalıdır.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" eşleşmiyor.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" geçerli bir tarih değil, lütfen \" + a[0] + \" biçimini kullanın\" : e(n) + \" geçerli bir tarih değil.\";\n },\n default: function _default(e) {\n e.name;\n return \"Bu alan geçerli değil.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir e-posta adresi değil.\" : \"Lütfen geçerli bir e-posta adresi giriniz.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir değerle bitmiyor.\" : \"Bu alan geçerli bir değerle bitmiyor.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” izin verilen bir \" + n + \" değil.\" : \"Bu izin verilen bir \" + n + \" değil.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" izin verilen bir değer değil.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Yalnızca \" + t[0] + \" \" + n + \" seçebilirsiniz.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \", \" + t[0] + \" değerinden küçük veya ona eşit olmalıdır.\" : e(n) + \", \" + t[0] + \" karakterden küçük veya ona eşit olmalıdır.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" şu türde olmalıdır: \" + (a[0] || \"Dosya formatına izin verilmez.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"En az \" + t[0] + \" \" + n + \" gerekiyor.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" en az \" + t[0] + \" olmalıdır.\" : e(n) + \" en az \" + t[0] + \" karakter uzunluğunda olmalıdır.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” izin verilen bir \" + r + \" değil.\";\n },\n number: function number(r) {\n return e(r.name) + \" bir sayı olmalıdır.\";\n },\n required: function required(r) {\n return e(r.name) + \" gerekli.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir değerle başlamıyor.\" : \"Bu alan geçerli bir değerle başlamıyor.\";\n },\n url: function url(e) {\n e.name;\n return \"Lütfen geçerli bir url ekleyin.\";\n }\n};\n\nfunction Y(e) {\n var r;\n e.extend({\n locales: (r = {}, r.tr = Q, r)\n });\n}\n\nvar G = {\n accepted: function accepted(e) {\n return e.name + \" phải được chấp nhận.\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" phải sau ngày \" + a[0] + \".\" : e(n) + \" phải sau ngày hôm nay.\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" chỉ có thể chứa các kí tự chữ.\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" chỉ có thể chứa các kí tự chữ và số.\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" phải trước ngày ngày \" + a[0] + \".\" : e(n) + \" phải trước ngày hôm nay.\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải có giá trị nằm trong khoảng giữa \" + t[0] + \" and \" + t[1] + \".\" : e(n) + \" phải có giá trị dài từ \" + t[0] + \" đến \" + t[1] + \" ký tự.\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" không khớp.\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" không phải là định dạng của ngày, vui lòng sử dụng định dạng \" + a[0] : e(n) + \" không phải là định dạng của ngày.\";\n },\n default: function _default(e) {\n e.name;\n return \"Trường này không hợp lệ.\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải là một địa chỉ email hợp lệ.\" : \"Vui lòng nhập địa chỉ email hợp lệ.\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải kết thúc bằng giá trị hợp lệ.\" : \"Trường này phải kết thúc bằng giá trị hợp lệ.\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” phải khớp với \" + n + \".\" : n + \" phải khớp với giá trị cho phép.\";\n },\n matches: function matches(r) {\n return e(r.name) + \" phải khớp với giá trị cho phép.\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Bạn chỉ có thể chọn \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải nhỏ hơn hoặc bằng \" + t[0] + \".\" : e(n) + \" phải nhỏ hơn hoặc bằng \" + t[0] + \" ký tự.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" phải chứa kiểu tệp phù hợp: \" + (a[0] || \"Không có định dạng tệp nào được cho phép.\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Phải chứa ít nhất \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải chứa ít nhất \" + t[0] + \".\" : e(n) + \" phải chứa ít nhất \" + t[0] + \" ký tự.\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” phải là \" + r + \" hợp lệ.\";\n },\n number: function number(r) {\n return e(r.name) + \" phải là số.\";\n },\n required: function required(r) {\n return e(r.name) + \" là bắt buộc.\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải bắt đầu bằng giá trị hợp lệ.\" : \"Trường này phải bắt đầu bằng giá trị hợp lệ.\";\n },\n url: function url(e) {\n e.name;\n return \"Vui lòng nhập đúng định dạng url.\";\n }\n};\n\nfunction H(e) {\n var r;\n e.extend({\n locales: (r = {}, r.vi = G, r)\n });\n}\n\nvar X = {\n accepted: function accepted(e) {\n return \"请同意\" + e.name + \"。\";\n },\n after: function after(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 必须在 \" + a[0] + \" 之后。\" : e(n) + \" 必须是以后的日期。\";\n },\n alpha: function alpha(r) {\n return e(r.name) + \" 只能包含字母。\";\n },\n alphanumeric: function alphanumeric(r) {\n return e(r.name) + \" 只能包含字母或数字。\";\n },\n before: function before(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 必须在 \" + a[0] + \" 之前\" : e(n) + \" 必须是以前的日期。\";\n },\n between: function between(r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 必须在 \" + t[0] + \" 和 \" + t[1] + \" 之间。\" : e(n) + \" 必须在 \" + t[0] + \" 和 \" + t[1] + \" 字符长度之间。\";\n },\n confirm: function confirm(r) {\n var n = r.name;\n r.args;\n return e(n) + \" 不匹配。\";\n },\n date: function date(r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 日期无效,请使用 \" + a[0] + \" 格式。\" : e(n) + \" 日期无效。\";\n },\n default: function _default(e) {\n e.name;\n return \"此输入无效。\";\n },\n email: function email(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 不是一个有效的电子邮箱地址。\" : \"请输入有效的电子邮箱地址。\";\n },\n endsWith: function endsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 包含无效的结尾值。\" : \"无效的结尾值。\";\n },\n in: function _in(r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” 是 \" + n + \" 不允许的值。\" : n + \" 包含不允许的值。\";\n },\n matches: function matches(r) {\n return e(r.name) + \" 包含不允许的值。\";\n },\n max: function max(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"您最多可有 \" + t[0] + \" 个 \" + n + \"。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 必须小于或等于 \" + t[0] + \".\" : e(n) + \" 必须小于或等于 \" + t[0] + \" 字符长度.\";\n },\n mime: function mime(r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" 格式必须是: \" + (a[0] || \"无允许文件格式\");\n },\n min: function min(r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"您需要最少 \" + t[0] + \" 个 \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 最少是 \" + t[0] + \".\" : e(n) + \" 最少 \" + t[0] + \" 字符长度。\";\n },\n not: function not(e) {\n var r = e.name;\n return \"“\" + e.value + \"” 是 \" + r + \" 不被允许的值。\";\n },\n number: function number(r) {\n return e(r.name) + \" 必须是数字。\";\n },\n required: function required(r) {\n return e(r.name) + \" 是必填项。\";\n },\n startsWith: function startsWith(e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 包含无效的起始值\" : \"无效的起始值\";\n },\n url: function url(e) {\n e.name;\n return \"请输入正确的网址。\";\n }\n};\n\nfunction $(e) {\n var r;\n e.extend({\n locales: (r = {}, r.zh = X, r)\n });\n}\n\nexport { n as ar, t as ca, u as cs, s as da, m as de, c as en, d as es, y as fr, A as he, b as hu, N as it, j as ja, x as ko, L as lt, q as nb, D as nl, V as pl, R as pt, B as ru, Z as sk, I as sr, K as sv, O as th, Y as tr, H as vi, $ as zh };","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport t from \"is-url\";\nimport e from \"nanoid/non-secure\";\nimport r from \"is-plain-object\";\nimport { en as o } from \"@braid/vue-formulate-i18n\";\n\nvar i = function i(t, e) {\n return {\n classification: t,\n component: \"FormulateInput\" + (e || t[0].toUpperCase() + t.substr(1))\n };\n},\n n = Object.assign({}, [\"text\", \"email\", \"number\", \"color\", \"date\", \"hidden\", \"month\", \"password\", \"search\", \"tel\", \"time\", \"url\", \"week\", \"datetime-local\"].reduce(function (t, e) {\n var r;\n return Object.assign({}, t, ((r = {})[e] = i(\"text\"), r));\n}, {}), {\n range: i(\"slider\"),\n textarea: i(\"textarea\", \"TextArea\"),\n checkbox: i(\"box\"),\n radio: i(\"box\"),\n submit: i(\"button\"),\n button: i(\"button\"),\n select: i(\"select\"),\n file: i(\"file\"),\n image: i(\"file\"),\n group: i(\"group\")\n});\n\nfunction s(t, e) {\n var r = {};\n\n for (var o in t) {\n r[o] = e(o, t[o]);\n }\n\n return r;\n}\n\nfunction a(t, e, r) {\n if (void 0 === r && (r = !1), t === e) return !0;\n if (!t || !e) return !1;\n if (\"object\" != _typeof(t) && \"object\" != _typeof(e)) return t === e;\n var o = Object.keys(t),\n i = Object.keys(e),\n n = o.length;\n if (i.length !== n) return !1;\n\n for (var s = 0; s < n; s++) {\n var l = o[s];\n if (!r && t[l] !== e[l] || r && !a(t[l], e[l], r)) return !1;\n }\n\n return !0;\n}\n\nfunction l(t) {\n return \"string\" == typeof t ? t.replace(/([_-][a-z0-9])/gi, function (e) {\n return 0 === t.indexOf(e) || /[_-]/.test(t[t.indexOf(e) - 1]) ? e : e.toUpperCase().replace(/[_-]/, \"\");\n }) : t;\n}\n\nfunction u(t) {\n return \"string\" == typeof t ? t[0].toUpperCase() + t.substr(1) : t;\n}\n\nfunction c(t) {\n return t ? \"string\" == typeof t ? [t] : Array.isArray(t) ? t : \"object\" == _typeof(t) ? Object.values(t) : [] : [];\n}\n\nfunction d(t, e) {\n return \"string\" == typeof t ? d(t.split(\"|\"), e) : Array.isArray(t) ? t.map(function (t) {\n return function (t, e) {\n if (\"function\" == typeof t) return [t, []];\n\n if (Array.isArray(t) && t.length) {\n var r = p((t = t.map(function (t) {\n return t;\n })).shift()),\n o = r[0],\n i = r[1];\n if (\"string\" == typeof o && e.hasOwnProperty(o)) return [e[o], t, o, i];\n if (\"function\" == typeof o) return [o, t, o, i];\n }\n\n if (\"string\" == typeof t && t) {\n var n = t.split(\":\"),\n s = p(n.shift()),\n a = s[0],\n l = s[1];\n if (e.hasOwnProperty(a)) return [e[a], n.length ? n.join(\":\").split(\",\") : [], a, l];\n throw new Error(\"Unknown validation rule \" + t);\n }\n\n return !1;\n }(t, e);\n }).filter(function (t) {\n return !!t;\n }) : [];\n}\n\nfunction p(t) {\n return /^[\\^]/.test(t.charAt(0)) ? [l(t.substr(1)), t.charAt(0)] : [l(t), null];\n}\n\nfunction h(t) {\n switch (_typeof(t)) {\n case \"symbol\":\n case \"number\":\n case \"string\":\n case \"boolean\":\n case \"undefined\":\n return !0;\n\n default:\n return null === t;\n }\n}\n\nfunction f(t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n}\n\nfunction m(t, r) {\n return !f(t, \"__id\") || r ? Object.defineProperty(t, \"__id\", Object.assign(Object.create(null), {\n value: r || e(9)\n })) : t;\n}\n\nfunction v(t) {\n return \"number\" != typeof t && (void 0 === t || \"\" === t || null === t || !1 === t || Array.isArray(t) && !t.some(function (t) {\n return !v(t);\n }) || t && !Array.isArray(t) && \"object\" == _typeof(t) && v(Object.values(t)));\n}\n\nfunction x(t, e) {\n return Object.keys(t).reduce(function (r, o) {\n var i = l(o);\n return e.includes(i) && (r[i] = t[o]), r;\n }, {});\n}\n\nvar y = function y(t, e, r) {\n void 0 === r && (r = {}), this.input = t, this.fileList = t.files, this.files = [], this.options = Object.assign({}, {\n mimes: {}\n }, r), this.results = !1, this.context = e, this.dataTransferCheck(), e && e.uploadUrl && (this.options.uploadUrl = e.uploadUrl), this.uploadPromise = null, Array.isArray(this.fileList) ? this.rehydrateFileList(this.fileList) : this.addFileList(this.fileList);\n};\n\ny.prototype.rehydrateFileList = function (t) {\n var e = this,\n r = t.reduce(function (t, r) {\n var o = r[e.options ? e.options.fileUrlKey : \"url\"],\n i = !(!o || -1 === o.lastIndexOf(\".\")) && o.substr(o.lastIndexOf(\".\") + 1),\n n = e.options.mimes[i] || !1;\n return t.push(Object.assign({}, r, o ? {\n name: r.name || o.substr(o.lastIndexOf(\"/\") + 1 || 0),\n type: r.type ? r.type : n,\n previewData: o\n } : {})), t;\n }, []);\n this.addFileList(r), this.results = this.mapUUID(t);\n}, y.prototype.addFileList = function (t) {\n for (var r = this, o = function o(_o) {\n var i = t[_o],\n n = e();\n r.files.push({\n progress: !1,\n error: !1,\n complete: !1,\n justFinished: !1,\n name: i.name || \"file-upload\",\n file: i,\n uuid: n,\n path: !1,\n removeFile: function () {\n this.removeFile(n);\n }.bind(r),\n previewData: i.previewData || !1\n });\n }, i = 0; i < t.length; i++) {\n o(i);\n }\n}, y.prototype.hasUploader = function () {\n return !!this.context.uploader;\n}, y.prototype.uploaderIsAxios = function () {\n return !(!this.hasUploader() || \"function\" != typeof this.context.uploader.request || \"function\" != typeof this.context.uploader.get || \"function\" != typeof this.context.uploader.delete || \"function\" != typeof this.context.uploader.post);\n}, y.prototype.getUploader = function () {\n for (var t, e = [], r = arguments.length; r--;) {\n e[r] = arguments[r];\n }\n\n if (this.uploaderIsAxios()) {\n var o = new FormData();\n if (o.append(this.context.name || \"file\", e[0]), !1 === this.context.uploadUrl) throw new Error(\"No uploadURL specified: https://vueformulate.com/guide/inputs/file/#props\");\n return this.context.uploader.post(this.context.uploadUrl, o, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress: function onUploadProgress(t) {\n e[1](Math.round(100 * t.loaded / t.total));\n }\n }).then(function (t) {\n return t.data;\n }).catch(function (t) {\n return e[2](t);\n });\n }\n\n return (t = this.context).uploader.apply(t, e);\n}, y.prototype.upload = function () {\n var t = this;\n return this.uploadPromise = this.uploadPromise ? this.uploadPromise.then(function () {\n return t.__performUpload();\n }) : this.__performUpload(), this.uploadPromise;\n}, y.prototype.__performUpload = function () {\n var t = this;\n return new Promise(function (e, r) {\n if (!t.hasUploader()) return r(new Error(\"No uploader has been defined\"));\n Promise.all(t.files.map(function (e) {\n return e.error = !1, e.complete = !!e.path, e.path ? Promise.resolve(e.path) : t.getUploader(e.file, function (r) {\n e.progress = r, t.context.rootEmit(\"file-upload-progress\", r), r >= 100 && (e.complete || (e.justFinished = !0, setTimeout(function () {\n e.justFinished = !1;\n }, t.options.uploadJustCompleteDuration)), e.complete = !0, t.context.rootEmit(\"file-upload-complete\", e));\n }, function (o) {\n e.progress = 0, e.error = o, e.complete = !0, t.context.rootEmit(\"file-upload-error\", o), r(o);\n }, t.options);\n })).then(function (r) {\n t.results = t.mapUUID(r), e(r);\n }).catch(function (t) {\n throw new Error(t);\n });\n });\n}, y.prototype.removeFile = function (t) {\n var e = this.files.length;\n\n if (this.files = this.files.filter(function (e) {\n return e && e.uuid !== t;\n }), Array.isArray(this.results) && (this.results = this.results.filter(function (e) {\n return e && e.__id !== t;\n })), this.context.performValidation(), window && this.fileList instanceof FileList && this.supportsDataTransfers) {\n var r = new DataTransfer();\n this.files.forEach(function (t) {\n return r.items.add(t.file);\n }), this.fileList = r.files, this.input.files = this.fileList;\n } else this.fileList = this.fileList.filter(function (e) {\n return e && e.__id !== t;\n });\n\n e > this.files.length && this.context.rootEmit(\"file-removed\", this.files);\n}, y.prototype.mergeFileList = function (t) {\n if (this.addFileList(t.files), this.supportsDataTransfers) {\n var e = new DataTransfer();\n this.files.forEach(function (t) {\n t.file instanceof File && e.items.add(t.file);\n }), this.fileList = e.files, this.input.files = this.fileList, t.files = new DataTransfer().files;\n }\n\n this.context.performValidation(), this.loadPreviews(), \"delayed\" !== this.context.uploadBehavior && this.upload();\n}, y.prototype.loadPreviews = function () {\n this.files.map(function (t) {\n if (!t.previewData && window && window.FileReader && /^image\\//.test(t.file.type)) {\n var e = new FileReader();\n e.onload = function (e) {\n return Object.assign(t, {\n previewData: e.target.result\n });\n }, e.readAsDataURL(t.file);\n }\n });\n}, y.prototype.dataTransferCheck = function () {\n try {\n new DataTransfer(), this.supportsDataTransfers = !0;\n } catch (t) {\n this.supportsDataTransfers = !1;\n }\n}, y.prototype.getFiles = function () {\n return this.files;\n}, y.prototype.mapUUID = function (t) {\n var e = this;\n return t.map(function (t, r) {\n return e.files[r].path = void 0 !== t && t, t && m(t, e.files[r].uuid);\n });\n}, y.prototype.toString = function () {\n var t = this.files.length ? this.files.length + \" files\" : \"empty\";\n return this.results ? JSON.stringify(this.results, null, \" \") : \"FileUpload(\" + t + \")\";\n};\n\nvar g,\n b = {\n accepted: function accepted(t) {\n var e = t.value;\n return Promise.resolve([\"yes\", \"on\", \"1\", 1, !0, \"true\"].includes(e));\n },\n after: function after(t, e) {\n var r = t.value;\n void 0 === e && (e = !1);\n var o = Date.parse(e || new Date()),\n i = Date.parse(r);\n return Promise.resolve(!isNaN(i) && i > o);\n },\n alpha: function alpha(t, e) {\n var r = t.value;\n void 0 === e && (e = \"default\");\n var o = {\n default: /^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,\n latin: /^[a-zA-Z]+$/\n },\n i = o.hasOwnProperty(e) ? e : \"default\";\n return Promise.resolve(o[i].test(r));\n },\n alphanumeric: function alphanumeric(t, e) {\n var r = t.value;\n void 0 === e && (e = \"default\");\n var o = {\n default: /^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,\n latin: /^[a-zA-Z0-9]+$/\n },\n i = o.hasOwnProperty(e) ? e : \"default\";\n return Promise.resolve(o[i].test(r));\n },\n before: function before(t, e) {\n var r = t.value;\n void 0 === e && (e = !1);\n var o = Date.parse(e || new Date()),\n i = Date.parse(r);\n return Promise.resolve(!isNaN(i) && i < o);\n },\n between: function between(t, e, r, o) {\n var i = t.value;\n return void 0 === e && (e = 0), void 0 === r && (r = 10), Promise.resolve(null !== e && null !== r && !isNaN(e) && !isNaN(r) && (!isNaN(i) && \"length\" !== o || \"value\" === o ? (i = Number(i), e = Number(e), r = Number(r), i > e && i < r) : (\"string\" == typeof i || \"length\" === o) && (i = isNaN(i) ? i : i.toString()).length > e && i.length < r));\n },\n confirm: function confirm(t, e) {\n var r,\n o,\n i = t.value,\n n = t.getGroupValues,\n s = t.name;\n return Promise.resolve((r = n(), (o = e) || (o = /_confirm$/.test(s) ? s.substr(0, s.length - 8) : s + \"_confirm\"), r[o] === i));\n },\n date: function date(t, e) {\n var r = t.value;\n return void 0 === e && (e = !1), Promise.resolve(e && \"string\" == typeof e ? function (t) {\n var e = \"^\" + t.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\") + \"$\",\n r = {\n MM: \"(0[1-9]|1[012])\",\n M: \"([1-9]|1[012])\",\n DD: \"([012][0-9]|3[01])\",\n D: \"([012]?[0-9]|3[01])\",\n YYYY: \"\\\\d{4}\",\n YY: \"\\\\d{2}\"\n };\n return new RegExp(Object.keys(r).reduce(function (t, e) {\n return t.replace(e, r[e]);\n }, e));\n }(e).test(r) : !isNaN(Date.parse(r)));\n },\n email: function email(t) {\n var e = t.value;\n return Promise.resolve(/^(([^<>()\\[\\]\\.,;:\\s@\\\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test(e));\n },\n endsWith: function endsWith(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(\"string\" == typeof e && r.length ? void 0 !== r.find(function (t) {\n return e.endsWith(t);\n }) : \"string\" == typeof e && 0 === r.length);\n },\n in: function _in(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(void 0 !== r.find(function (t) {\n return \"object\" == _typeof(t) ? a(t, e) : t === e;\n }));\n },\n matches: function matches(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(!!r.find(function (t) {\n return \"string\" == typeof t && \"/\" === t.substr(0, 1) && \"/\" === t.substr(-1) && (t = new RegExp(t.substr(1, t.length - 2))), t instanceof RegExp ? t.test(e) : t === e;\n }));\n },\n mime: function mime(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(function () {\n if (e instanceof y) for (var t = e.getFiles(), o = 0; o < t.length; o++) {\n var i = t[o].file;\n if (!r.includes(i.type)) return !1;\n }\n return !0;\n }());\n },\n min: function min(t, e, r) {\n var o = t.value;\n return void 0 === e && (e = 1), Promise.resolve(Array.isArray(o) ? (e = isNaN(e) ? e : Number(e), o.length >= e) : !isNaN(o) && \"length\" !== r || \"value\" === r ? (o = isNaN(o) ? o : Number(o)) >= e : (\"string\" == typeof o || \"length\" === r) && (o = isNaN(o) ? o : o.toString()).length >= e);\n },\n max: function max(t, e, r) {\n var o = t.value;\n return void 0 === e && (e = 10), Promise.resolve(Array.isArray(o) ? (e = isNaN(e) ? e : Number(e), o.length <= e) : !isNaN(o) && \"length\" !== r || \"value\" === r ? (o = isNaN(o) ? o : Number(o)) <= e : (\"string\" == typeof o || \"length\" === r) && (o = isNaN(o) ? o : o.toString()).length <= e);\n },\n not: function not(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(void 0 === r.find(function (t) {\n return \"object\" == _typeof(t) ? a(t, e) : t === e;\n }));\n },\n number: function number(t) {\n var e = t.value;\n return Promise.resolve(!isNaN(e));\n },\n required: function required(t, e) {\n var r = t.value;\n return void 0 === e && (e = \"pre\"), Promise.resolve(Array.isArray(r) ? !!r.length : r instanceof y ? r.getFiles().length > 0 : \"string\" == typeof r ? \"trim\" === e ? !!r.trim() : !!r : \"object\" != _typeof(r) || !!r && !!Object.keys(r).length);\n },\n startsWith: function startsWith(t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) {\n r[o] = arguments[o + 1];\n }\n\n return Promise.resolve(\"string\" == typeof e && r.length ? void 0 !== r.find(function (t) {\n return e.startsWith(t);\n }) : \"string\" == typeof e && 0 === r.length);\n },\n url: function url(e) {\n var r = e.value;\n return Promise.resolve(t(r));\n },\n bail: function bail() {\n return Promise.resolve(!0);\n },\n optional: function optional(t) {\n var e = t.value;\n return Promise.resolve(!v(e));\n }\n},\n E = \"image/\",\n _ = {\n csv: \"text/csv\",\n gif: E + \"gif\",\n jpg: E + \"jpeg\",\n jpeg: E + \"jpeg\",\n png: E + \"png\",\n pdf: \"application/pdf\",\n svg: E + \"svg+xml\"\n},\n F = [\"outer\", \"wrapper\", \"label\", \"element\", \"input\", \"help\", \"errors\", \"error\", \"decorator\", \"rangeValue\", \"uploadArea\", \"uploadAreaMask\", \"files\", \"file\", \"fileName\", \"fileAdd\", \"fileAddInput\", \"fileRemove\", \"fileProgress\", \"fileUploadError\", \"fileImagePreview\", \"fileImagePreviewImage\", \"fileProgressInner\", \"grouping\", \"groupRepeatable\", \"groupRepeatableRemove\", \"groupAddMore\", \"form\", \"formErrors\", \"formError\"],\n w = {\n hasErrors: function hasErrors(t) {\n return t.hasErrors;\n },\n hasValue: function hasValue(t) {\n return t.hasValue;\n },\n isValid: function isValid(t) {\n return t.isValid;\n }\n},\n O = function O(t, e, r) {\n var o = [];\n\n switch (e) {\n case \"label\":\n o.push(t + \"--\" + r.labelPosition);\n break;\n\n case \"element\":\n var i = \"group\" === r.classification ? \"group\" : r.type;\n o.push(t + \"--\" + i), \"group\" === i && o.push(\"formulate-input-group\");\n break;\n\n case \"help\":\n o.push(t + \"--\" + r.helpPosition);\n break;\n\n case \"form\":\n r.name && o.push(t + \"--\" + r.name);\n }\n\n return o;\n},\n P = (g = [\"\"].concat(Object.keys(w).map(function (t) {\n return u(t);\n})), F.reduce(function (t, e) {\n return t.concat(g.reduce(function (t, r) {\n return t.push(\"\" + e + r + \"Class\"), t;\n }, []));\n}, []));\n\nfunction V(t, e, r) {\n switch (_typeof(e)) {\n case \"string\":\n return e;\n\n case \"function\":\n return e(r, c(t));\n\n case \"object\":\n if (Array.isArray(e)) return c(t).concat(e);\n\n default:\n return t;\n }\n}\n\nfunction A(t) {\n return F.reduce(function (e, r) {\n var o;\n return Object.assign(e, ((o = {})[r] = function (t, e) {\n var r = t.replace(/[A-Z]/g, function (t) {\n return \"-\" + t.toLowerCase();\n }),\n o = \"formulate\" + ([\"form\", \"file\"].includes(r.substr(0, 4)) ? \"\" : \"-input\") + ([\"decorator\", \"range-value\"].includes(r) ? \"-element\" : \"\") + (\"outer\" !== r ? \"-\" + r : \"\");\n return \"input\" === r ? [] : [o].concat(O(o, t, e));\n }(r, t), o));\n }, {});\n}\n\nfunction S(t, e, r, o) {\n return new Promise(function (r, i) {\n var n = (o.fauxUploaderDuration || 1500) * (.5 + Math.random()),\n s = performance.now(),\n a = function a() {\n return setTimeout(function () {\n var o = performance.now() - s,\n i = Math.min(100, Math.round(o / n * 100));\n if (e(i), i >= 100) return r({\n url: \"http://via.placeholder.com/350x150.png\",\n name: t.name\n });\n a();\n }, 20);\n };\n\n a();\n });\n}\n\nfunction j(t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n}\n\nvar $ = {\n inheritAttrs: !1,\n functional: !0,\n render: function render(t, e) {\n for (var r = e.props, o = e.data, i = e.parent, n = e.children, s = i, a = (r.name, r.forceWrap), l = r.context, u = j(r, [\"name\", \"forceWrap\", \"context\"]); s && \"FormulateInput\" !== s.$options.name;) {\n s = s.$parent;\n }\n\n if (!s) return null;\n if (s.$scopedSlots && s.$scopedSlots[r.name]) return s.$scopedSlots[r.name](Object.assign({}, l, u));\n\n if (Array.isArray(n) && (n.length > 1 || a && n.length > 0)) {\n var c = o.attrs,\n d = (c.name, c.context, j(c, [\"name\", \"context\"]));\n return t(\"div\", Object.assign({}, o, {\n attrs: d\n }), n);\n }\n\n return Array.isArray(n) && 1 === n.length ? n[0] : null;\n }\n};\n\nfunction C(t, e, r) {\n if (void 0 === e && (e = 0), void 0 === r && (r = {}), t && \"object\" == _typeof(t) && !Array.isArray(t)) {\n var o = t.children;\n void 0 === o && (o = null);\n var i = t.component;\n void 0 === i && (i = \"FormulateInput\");\n var n = t.depth;\n void 0 === n && (n = 1);\n var s = t.key;\n void 0 === s && (s = null);\n\n var a = function (t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n }(t, [\"children\", \"component\", \"depth\", \"key\"]),\n l = a.class || {};\n\n delete a.class;\n var u = {},\n c = Object.keys(a).reduce(function (t, e) {\n var r;\n return /^@/.test(e) ? Object.assign(t, ((r = {})[e.substr(1)] = a[e], r)) : t;\n }, {});\n Object.keys(c).forEach(function (t) {\n delete a[\"@\" + t], u[t] = function (t, e, r) {\n return function () {\n for (var o, i, n = [], s = arguments.length; s--;) {\n n[s] = arguments[s];\n }\n\n return \"function\" == typeof e ? e.call.apply(e, [this].concat(n)) : \"string\" == typeof e && f(r, e) ? (o = r[e]).call.apply(o, [this].concat(n)) : f(r, t) ? (i = r[t]).call.apply(i, [this].concat(n)) : void 0;\n };\n }(t, c[t], r);\n });\n var d = \"FormulateInput\" === i ? a.type || \"text\" : i,\n p = a.name || d || \"el\";\n s || (s = a.id ? a.id : \"FormulateInput\" !== i && \"string\" == typeof o ? d + \"-\" + function (t, e) {\n void 0 === e && (e = 0);\n\n for (var r = 3735928559 ^ e, o = 1103547991 ^ e, i = 0, n = void 0; i < t.length; i++) {\n n = t.charCodeAt(i), r = Math.imul(r ^ n, 2654435761), o = Math.imul(o ^ n, 1597334677);\n }\n\n return r = Math.imul(r ^ r >>> 16, 2246822507) ^ Math.imul(o ^ o >>> 13, 3266489909), 4294967296 * (2097151 & (o = Math.imul(o ^ o >>> 16, 2246822507) ^ Math.imul(r ^ r >>> 13, 3266489909))) + (r >>> 0);\n }(o) : d + \"-\" + p + \"-\" + n + (a.name ? \"\" : \"-\" + e));\n var h = Array.isArray(o) ? o.map(function (t) {\n return Object.assign(t, {\n depth: n + 1\n });\n }) : o;\n return Object.assign({\n key: s,\n depth: n,\n attrs: a,\n component: i,\n class: l,\n on: u\n }, h ? {\n children: h\n } : {});\n }\n\n return null;\n}\n\nvar k = {\n functional: !0,\n render: function render(t, e) {\n var r = e.props,\n o = e.listeners;\n return function t(e, r, o) {\n return Array.isArray(r) ? r.map(function (r, i) {\n var n = C(r, i, o);\n return e(n.component, {\n attrs: n.attrs,\n class: n.class,\n key: n.key,\n on: n.on\n }, n.children ? t(e, n.children, o) : null);\n }) : r;\n }(t, r.schema, o);\n }\n};\n\nfunction I(t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n}\n\nvar R = function R(t) {\n this.registry = new Map(), this.errors = {}, this.ctx = t;\n};\n\nfunction D(t) {\n return new R(t).dataProps();\n}\n\nfunction L(t) {\n return {\n hasInitialValue: function hasInitialValue() {\n return this.formulateValue && \"object\" == _typeof(this.formulateValue) || this.values && \"object\" == _typeof(this.values) || this.isGrouping && \"object\" == _typeof(this.context.model[this.index]);\n },\n isVmodeled: function isVmodeled() {\n return !!(this.$options.propsData.hasOwnProperty(\"formulateValue\") && this._events && Array.isArray(this._events.input) && this._events.input.length);\n },\n initialValues: function initialValues() {\n return f(this.$options.propsData, \"formulateValue\") && \"object\" == _typeof(this.formulateValue) ? Object.assign({}, this.formulateValue) : f(this.$options.propsData, \"values\") && \"object\" == _typeof(this.values) ? Object.assign({}, this.values) : this.isGrouping && \"object\" == _typeof(this.context.model[this.index]) ? this.context.model[this.index] : {};\n },\n mergedGroupErrors: function mergedGroupErrors() {\n var t = this,\n e = /^([^.\\d+].*?)\\.(\\d+\\..+)$/;\n return Object.keys(this.mergedFieldErrors).filter(function (t) {\n return e.test(t);\n }).reduce(function (r, o) {\n var i,\n n = o.match(e),\n s = n[1],\n a = n[2];\n return r[s] || (r[s] = {}), Object.assign(r[s], ((i = {})[a] = t.mergedFieldErrors[o], i)), r;\n }, {});\n }\n };\n}\n\nfunction N(t) {\n void 0 === t && (t = []);\n var e = {\n applyInitialValues: function applyInitialValues() {\n this.hasInitialValue && (this.proxy = Object.assign({}, this.initialValues));\n },\n setFieldValue: function setFieldValue(t, e) {\n var r;\n\n if (void 0 === e) {\n var o = this.proxy,\n i = (o[t], I(o, [String(t)]));\n this.proxy = i;\n } else Object.assign(this.proxy, ((r = {})[t] = e, r));\n\n this.$emit(\"input\", Object.assign({}, this.proxy));\n },\n valueDeps: function valueDeps(t) {\n var e = this;\n return Object.keys(this.proxy).reduce(function (r, o) {\n return Object.defineProperty(r, o, {\n enumerable: !0,\n get: function get() {\n var r = e.registry.get(o);\n return e.deps.set(t, e.deps.get(t) || new Set()), r && (e.deps.set(r, e.deps.get(r) || new Set()), e.deps.get(r).add(t.name)), e.deps.get(t).add(o), e.proxy[o];\n }\n });\n }, Object.create(null));\n },\n validateDeps: function validateDeps(t) {\n var e = this;\n this.deps.has(t) && this.deps.get(t).forEach(function (t) {\n return e.registry.has(t) && e.registry.get(t).performValidation();\n });\n },\n hasValidationErrors: function hasValidationErrors() {\n return Promise.all(this.registry.reduce(function (t, e, r) {\n return t.push(e.performValidation() && e.getValidationErrors()), t;\n }, [])).then(function (t) {\n return t.some(function (t) {\n return t.hasErrors;\n });\n });\n },\n showErrors: function showErrors() {\n this.childrenShouldShowErrors = !0, this.registry.map(function (t) {\n t.formShouldShowErrors = !0;\n });\n },\n hideErrors: function hideErrors() {\n this.childrenShouldShowErrors = !1, this.registry.map(function (t) {\n t.formShouldShowErrors = !1, t.behavioralErrorVisibility = !1;\n });\n },\n setValues: function setValues(t) {\n var e = this;\n Array.from(new Set(Object.keys(t || {}).concat(Object.keys(this.proxy)))).forEach(function (r) {\n var o = e.registry.has(r) && e.registry.get(r),\n i = t ? t[r] : void 0;\n o && !a(o.proxy, i, !0) && (o.context.model = i), a(i, e.proxy[r], !0) || e.setFieldValue(r, i);\n });\n },\n updateValidation: function updateValidation(t) {\n f(this.registry.errors, t.name) && (this.registry.errors[t.name] = t.hasErrors), this.$emit(\"validation\", t);\n },\n addErrorObserver: function addErrorObserver(t) {\n this.errorObservers.find(function (e) {\n return t.callback === e.callback;\n }) || (this.errorObservers.push(t), \"form\" === t.type ? t.callback(this.mergedFormErrors) : \"group\" === t.type && f(this.mergedGroupErrors, t.field) ? t.callback(this.mergedGroupErrors[t.field]) : f(this.mergedFieldErrors, t.field) && t.callback(this.mergedFieldErrors[t.field]));\n },\n removeErrorObserver: function removeErrorObserver(t) {\n this.errorObservers = this.errorObservers.filter(function (e) {\n return e.callback !== t;\n });\n }\n };\n return Object.keys(e).reduce(function (r, o) {\n var i;\n return t.includes(o) ? r : Object.assign({}, r, ((i = {})[o] = e[o], i));\n }, {});\n}\n\nfunction B(t, e) {\n void 0 === e && (e = []);\n var r = {\n formulateSetter: t.setFieldValue,\n formulateRegister: t.register,\n formulateDeregister: t.deregister,\n formulateFieldValidation: t.updateValidation,\n getFormValues: t.valueDeps,\n getGroupValues: t.valueDeps,\n validateDependents: t.validateDeps,\n observeErrors: t.addErrorObserver,\n removeErrorObserver: t.removeErrorObserver\n };\n return Object.keys(r).filter(function (t) {\n return !e.includes(t);\n }).reduce(function (t, e) {\n var o;\n return Object.assign(t, ((o = {})[e] = r[e], o));\n }, {});\n}\n\nR.prototype.add = function (t, e) {\n var r;\n return this.registry.set(t, e), this.errors = Object.assign({}, this.errors, ((r = {})[t] = e.getErrorObject().hasErrors, r)), this;\n}, R.prototype.remove = function (t) {\n this.ctx.deps.delete(this.registry.get(t)), this.ctx.deps.forEach(function (e) {\n return e.delete(t);\n });\n var e = this.ctx.keepModelData;\n !e && this.registry.has(t) && \"inherit\" !== this.registry.get(t).keepModelData && (e = this.registry.get(t).keepModelData), this.ctx.preventCleanup && (e = !0), this.registry.delete(t);\n var r = this.errors,\n o = (r[t], I(r, [String(t)]));\n\n if (this.errors = o, !e) {\n var i = this.ctx.proxy,\n n = (i[t], I(i, [String(t)]));\n this.ctx.uuid && m(n, this.ctx.uuid), this.ctx.proxy = n, this.ctx.$emit(\"input\", this.ctx.proxy);\n }\n\n return this;\n}, R.prototype.has = function (t) {\n return this.registry.has(t);\n}, R.prototype.get = function (t) {\n return this.registry.get(t);\n}, R.prototype.map = function (t) {\n var e = {};\n return this.registry.forEach(function (r, o) {\n var i;\n return Object.assign(e, ((i = {})[o] = t(r, o), i));\n }), e;\n}, R.prototype.keys = function () {\n return Array.from(this.registry.keys());\n}, R.prototype.register = function (t, e) {\n var r = this;\n if (f(e.$options.propsData, \"ignored\")) return !1;\n if (this.registry.has(t)) return this.ctx.$nextTick(function () {\n return !r.registry.has(t) && r.register(t, e);\n }), !1;\n this.add(t, e);\n var o = f(e.$options.propsData, \"formulateValue\"),\n i = f(e.$options.propsData, \"value\"),\n n = this.ctx.debounce || this.ctx.debounceDelay || this.ctx.context && this.ctx.context.debounceDelay;\n n && !f(e.$options.propsData, \"debounce\") && (e.debounceDelay = n), o || !this.ctx.hasInitialValue || v(this.ctx.initialValues[t]) ? !o && !i || a(e.proxy, this.ctx.initialValues[t], !0) || this.ctx.setFieldValue(t, e.proxy) : e.context.model = this.ctx.initialValues[t], this.childrenShouldShowErrors && (e.formShouldShowErrors = !0);\n}, R.prototype.reduce = function (t, e) {\n return this.registry.forEach(function (r, o) {\n e = t(e, r, o);\n }), e;\n}, R.prototype.dataProps = function () {\n var t = this;\n return {\n proxy: {},\n registry: this,\n register: this.register.bind(this),\n deregister: function deregister(e) {\n return t.remove(e);\n },\n childrenShouldShowErrors: !1,\n errorObservers: [],\n deps: new Map(),\n preventCleanup: !1\n };\n};\n\nvar M = function M(t) {\n this.form = t;\n};\n\nfunction U(t, e, r, o, i, n, s, a, l, u) {\n \"boolean\" != typeof s && (l = a, a = s, s = !1);\n var c,\n d = \"function\" == typeof r ? r.options : r;\n if (t && t.render && (d.render = t.render, d.staticRenderFns = t.staticRenderFns, d._compiled = !0, i && (d.functional = !0)), o && (d._scopeId = o), n ? (c = function c(t) {\n (t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || \"undefined\" == typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), e && e.call(this, l(t)), t && t._registeredComponents && t._registeredComponents.add(n);\n }, d._ssrRegister = c) : e && (c = s ? function (t) {\n e.call(this, u(t, this.$root.$options.shadowRoot));\n } : function (t) {\n e.call(this, a(t));\n }), c) if (d.functional) {\n var p = d.render;\n\n d.render = function (t, e) {\n return c.call(e), p(t, e);\n };\n } else {\n var h = d.beforeCreate;\n d.beforeCreate = h ? [].concat(h, c) : [c];\n }\n return r;\n}\n\nM.prototype.hasValidationErrors = function () {\n return this.form.hasValidationErrors();\n}, M.prototype.values = function () {\n var t = this;\n return new Promise(function (e, r) {\n var o = [],\n i = function t(e) {\n if (\"object\" != _typeof(e)) return e;\n var r = Array.isArray(e) ? [] : {};\n\n for (var o in e) {\n e[o] instanceof y || h(e[o]) ? r[o] = e[o] : r[o] = t(e[o]);\n }\n\n return r;\n }(t.form.proxy),\n n = function n(e) {\n \"object\" == _typeof(t.form.proxy[e]) && t.form.proxy[e] instanceof y && o.push(t.form.proxy[e].upload().then(function (t) {\n var r;\n return Object.assign(i, ((r = {})[e] = t, r));\n }));\n };\n\n for (var s in i) {\n n(s);\n }\n\n Promise.all(o).then(function () {\n return e(i);\n }).catch(function (t) {\n return r(t);\n });\n });\n};\n\nvar G = {\n name: \"FormulateForm\",\n inheritAttrs: !1,\n provide: function provide() {\n return Object.assign({}, B(this, [\"getGroupValues\"]), {\n observeContext: this.addContextObserver,\n removeContextObserver: this.removeContextObserver\n });\n },\n model: {\n prop: \"formulateValue\",\n event: \"input\"\n },\n props: {\n name: {\n type: [String, Boolean],\n default: !1\n },\n formulateValue: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n values: {\n type: [Object, Boolean],\n default: !1\n },\n errors: {\n type: [Object, Boolean],\n default: !1\n },\n formErrors: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n schema: {\n type: [Array, Boolean],\n default: !1\n },\n keepModelData: {\n type: [Boolean, String],\n default: !1\n },\n invalidMessage: {\n type: [Boolean, Function, String],\n default: !1\n },\n debounce: {\n type: [Boolean, Number],\n default: !1\n }\n },\n data: function data() {\n return Object.assign({}, D(this), {\n formShouldShowErrors: !1,\n contextObservers: [],\n namedErrors: [],\n namedFieldErrors: {},\n isLoading: !1,\n hasFailedSubmit: !1\n });\n },\n computed: Object.assign({}, L(), {\n schemaListeners: function schemaListeners() {\n var t = this.$listeners;\n t.submit;\n return function (t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n }(t, [\"submit\"]);\n },\n pseudoProps: function pseudoProps() {\n return x(this.$attrs, P.filter(function (t) {\n return /^form/.test(t);\n }));\n },\n attributes: function attributes() {\n var t = this,\n e = Object.keys(this.$attrs).filter(function (e) {\n return !f(t.pseudoProps, l(e));\n }).reduce(function (e, r) {\n var o;\n return Object.assign({}, e, ((o = {})[r] = t.$attrs[r], o));\n }, {});\n return \"string\" == typeof this.name && Object.assign(e, {\n name: this.name\n }), e;\n },\n hasErrors: function hasErrors() {\n return Object.values(this.registry.errors).some(function (t) {\n return t;\n });\n },\n isValid: function isValid() {\n return !this.hasErrors;\n },\n formContext: function formContext() {\n return {\n errors: this.mergedFormErrors,\n pseudoProps: this.pseudoProps,\n hasErrors: this.hasErrors,\n value: this.proxy,\n hasValue: !v(this.proxy),\n isValid: this.isValid,\n isLoading: this.isLoading,\n classes: this.classes\n };\n },\n classes: function classes() {\n return this.$formulate.classes(Object.assign({}, this.$props, this.pseudoProps, {\n value: this.proxy,\n errors: this.mergedFormErrors,\n hasErrors: this.hasErrors,\n hasValue: !v(this.proxy),\n isValid: this.isValid,\n isLoading: this.isLoading,\n type: \"form\",\n classification: \"form\",\n attrs: this.$attrs\n }));\n },\n invalidErrors: function invalidErrors() {\n if (this.hasFailedSubmit && this.hasErrors) switch (_typeof(this.invalidMessage)) {\n case \"string\":\n return [this.invalidMessage];\n\n case \"object\":\n return Array.isArray(this.invalidMessage) ? this.invalidMessage : [];\n\n case \"function\":\n var t = this.invalidMessage(this.failingFields);\n return Array.isArray(t) ? t : [t];\n }\n return [];\n },\n mergedFormErrors: function mergedFormErrors() {\n return this.formErrors.concat(this.namedErrors).concat(this.invalidErrors);\n },\n mergedFieldErrors: function mergedFieldErrors() {\n var t = {};\n if (this.errors) for (var e in this.errors) {\n t[e] = c(this.errors[e]);\n }\n\n for (var r in this.namedFieldErrors) {\n t[r] = c(this.namedFieldErrors[r]);\n }\n\n return t;\n },\n hasFormErrorObservers: function hasFormErrorObservers() {\n return !!this.errorObservers.filter(function (t) {\n return \"form\" === t.type;\n }).length;\n },\n failingFields: function failingFields() {\n var t = this;\n return Object.keys(this.registry.errors).reduce(function (e, r) {\n var o;\n return Object.assign({}, e, t.registry.errors[r] ? ((o = {})[r] = t.registry.get(r), o) : {});\n }, {});\n }\n }),\n watch: Object.assign({}, {\n mergedFieldErrors: {\n handler: function handler(t) {\n this.errorObservers.filter(function (t) {\n return \"input\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || []);\n });\n },\n immediate: !0\n },\n mergedGroupErrors: {\n handler: function handler(t) {\n this.errorObservers.filter(function (t) {\n return \"group\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || {});\n });\n },\n immediate: !0\n }\n }, {\n formulateValue: {\n handler: function handler(t) {\n this.isVmodeled && t && \"object\" == _typeof(t) && this.setValues(t);\n },\n deep: !0\n },\n mergedFormErrors: function mergedFormErrors(t) {\n this.errorObservers.filter(function (t) {\n return \"form\" === t.type;\n }).forEach(function (e) {\n return e.callback(t);\n });\n }\n }),\n created: function created() {\n this.$formulate.register(this), this.applyInitialValues(), this.$emit(\"created\", this);\n },\n destroyed: function destroyed() {\n this.$formulate.deregister(this);\n },\n methods: Object.assign({}, N(), {\n applyErrors: function applyErrors(t) {\n var e = t.formErrors,\n r = t.inputErrors;\n this.namedErrors = e, this.namedFieldErrors = r;\n },\n addContextObserver: function addContextObserver(t) {\n this.contextObservers.find(function (e) {\n return e === t;\n }) || (this.contextObservers.push(t), t(this.formContext));\n },\n removeContextObserver: function removeContextObserver(t) {\n this.contextObservers.filter(function (e) {\n return e !== t;\n });\n },\n registerErrorComponent: function registerErrorComponent(t) {\n this.errorComponents.includes(t) || this.errorComponents.push(t);\n },\n formSubmitted: function formSubmitted() {\n var t = this;\n\n if (!this.isLoading) {\n this.isLoading = !0, this.showErrors();\n var e = new M(this),\n r = this.$listeners[\"submit-raw\"] || this.$listeners.submitRaw,\n o = \"function\" == typeof r ? r(e) : Promise.resolve(e);\n return (o instanceof Promise ? o : Promise.resolve(o)).then(function (t) {\n var r = t instanceof M ? t : e;\n return r.hasValidationErrors().then(function (t) {\n return [r, t];\n });\n }).then(function (e) {\n var r = e[0];\n return e[1] || \"function\" != typeof t.$listeners.submit ? t.onFailedValidation() : r.values().then(function (e) {\n t.hasFailedSubmit = !1;\n var r = t.$listeners.submit(e);\n return (r instanceof Promise ? r : Promise.resolve()).then(function () {\n return e;\n });\n });\n }).finally(function () {\n t.isLoading = !1;\n });\n }\n },\n onFailedValidation: function onFailedValidation() {\n return this.hasFailedSubmit = !0, this.$emit(\"failed-validation\", Object.assign({}, this.failingFields)), this.$formulate.failedValidation(this);\n }\n })\n},\n T = function T() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"form\", t._b({\n class: t.classes.form,\n on: {\n submit: function submit(e) {\n return e.preventDefault(), t.formSubmitted(e);\n }\n }\n }, \"form\", t.attributes, !1), [t.schema ? r(\"FormulateSchema\", t._g({\n attrs: {\n schema: t.schema\n }\n }, t.schemaListeners)) : t._e(), t._v(\" \"), t.hasFormErrorObservers ? t._e() : r(\"FormulateErrors\", {\n attrs: {\n context: t.formContext\n }\n }), t._v(\" \"), t._t(\"default\", null, null, t.formContext)], 2);\n};\n\nT._withStripped = !0;\nvar q = U({\n render: T,\n staticRenderFns: []\n}, void 0, G, void 0, !1, void 0, !1, void 0, void 0, void 0);\nvar H = {\n context: function context() {\n return K.call(this, Object.assign({}, {\n addLabel: this.logicalAddLabel,\n removeLabel: this.logicalRemoveLabel,\n attributes: this.elementAttributes,\n blurHandler: z.bind(this),\n classification: this.classification,\n component: this.component,\n debounceDelay: this.debounceDelay,\n disableErrors: this.disableErrors,\n errors: this.explicitErrors,\n formShouldShowErrors: this.formShouldShowErrors,\n getValidationErrors: this.getValidationErrors.bind(this),\n groupErrors: this.mergedGroupErrors,\n hasGivenName: this.hasGivenName,\n hasValue: this.hasValue,\n hasLabel: this.label && \"button\" !== this.classification,\n hasValidationErrors: this.hasValidationErrors.bind(this),\n help: this.help,\n helpPosition: this.logicalHelpPosition,\n id: this.id || this.defaultId,\n ignored: f(this.$options.propsData, \"ignored\"),\n isValid: this.isValid,\n imageBehavior: this.imageBehavior,\n label: this.label,\n labelPosition: this.logicalLabelPosition,\n limit: this.limit === 1 / 0 ? this.limit : parseInt(this.limit, 10),\n name: this.nameOrFallback,\n minimum: parseInt(this.minimum, 10),\n performValidation: this.performValidation.bind(this),\n pseudoProps: this.pseudoProps,\n preventWindowDrops: this.preventWindowDrops,\n removePosition: this.mergedRemovePosition,\n repeatable: this.repeatable,\n rootEmit: this.$emit.bind(this),\n rules: this.ruleDetails,\n setErrors: this.setErrors.bind(this),\n showValidationErrors: this.showValidationErrors,\n slotComponents: this.slotComponents,\n slotProps: this.slotProps,\n type: this.type,\n uploadBehavior: this.uploadBehavior,\n uploadUrl: this.mergedUploadUrl,\n uploader: this.uploader || this.$formulate.getUploader(),\n validationErrors: this.validationErrors,\n value: this.value,\n visibleValidationErrors: this.visibleValidationErrors,\n isSubField: this.isSubField,\n classes: this.classes\n }, this.typeContext));\n },\n nameOrFallback: function nameOrFallback() {\n if (!0 === this.name && \"button\" !== this.classification) {\n var t = this.id || this.elementAttributes.id.replace(/[^0-9]/g, \"\");\n return this.type + \"_\" + t;\n }\n\n if (!1 === this.name || \"button\" === this.classification && !0 === this.name) return !1;\n return this.name;\n },\n hasGivenName: function hasGivenName() {\n return \"boolean\" != typeof this.name;\n },\n typeContext: function typeContext() {\n var t = this;\n\n switch (this.classification) {\n case \"select\":\n return {\n options: W.call(this, this.options),\n optionGroups: !!this.optionGroups && s(this.optionGroups, function (e, r) {\n return W.call(t, r);\n }),\n placeholder: this.$attrs.placeholder || !1\n };\n\n case \"slider\":\n return {\n showValue: !!this.showValue\n };\n\n default:\n return this.options ? {\n options: W.call(this, this.options)\n } : {};\n }\n },\n elementAttributes: function elementAttributes() {\n var t = Object.assign({}, this.filteredAttributes);\n this.id ? t.id = this.id : t.id = this.defaultId;\n this.hasGivenName && (t.name = this.name);\n this.help && !f(t, \"aria-describedby\") && (t[\"aria-describedby\"] = t.id + \"-help\");\n !this.classes.input || Array.isArray(this.classes.input) && !this.classes.input.length || (t.class = this.classes.input);\n return t;\n },\n logicalLabelPosition: function logicalLabelPosition() {\n if (this.labelPosition) return this.labelPosition;\n\n switch (this.classification) {\n case \"box\":\n return \"after\";\n\n default:\n return \"before\";\n }\n },\n logicalHelpPosition: function logicalHelpPosition() {\n if (this.helpPosition) return this.helpPosition;\n\n switch (this.classification) {\n case \"group\":\n return \"before\";\n\n default:\n return \"after\";\n }\n },\n mergedRemovePosition: function mergedRemovePosition() {\n return \"group\" === this.type && (this.removePosition || \"before\");\n },\n mergedUploadUrl: function mergedUploadUrl() {\n return this.uploadUrl || this.$formulate.getUploadUrl();\n },\n mergedGroupErrors: function mergedGroupErrors() {\n var t = this,\n e = Object.keys(this.groupErrors).concat(Object.keys(this.localGroupErrors)),\n r = /^(\\d+)\\.(.*)$/;\n return Array.from(new Set(e)).filter(function (t) {\n return r.test(t);\n }).reduce(function (e, o) {\n var i,\n n = o.match(r),\n s = n[1],\n a = n[2];\n f(e, s) || (e[s] = {});\n var l = Array.from(new Set(c(t.groupErrors[o]).concat(c(t.localGroupErrors[o]))));\n return e[s] = Object.assign(e[s], ((i = {})[a] = l, i)), e;\n }, {});\n },\n hasValue: function hasValue() {\n var t = this,\n e = this.proxy;\n if (\"box\" === this.classification && this.isGrouped || \"select\" === this.classification && f(this.filteredAttributes, \"multiple\")) return Array.isArray(e) ? e.some(function (e) {\n return e === t.value;\n }) : this.value === e;\n return !v(e);\n },\n visibleValidationErrors: function visibleValidationErrors() {\n return this.showValidationErrors && this.validationErrors.length ? this.validationErrors : [];\n },\n slotComponents: function slotComponents() {\n var t = this.$formulate.slotComponent.bind(this.$formulate);\n return {\n addMore: t(this.type, \"addMore\"),\n buttonContent: t(this.type, \"buttonContent\"),\n errors: t(this.type, \"errors\"),\n file: t(this.type, \"file\"),\n help: t(this.type, \"help\"),\n label: t(this.type, \"label\"),\n prefix: t(this.type, \"prefix\"),\n remove: t(this.type, \"remove\"),\n repeatable: t(this.type, \"repeatable\"),\n suffix: t(this.type, \"suffix\"),\n uploadAreaMask: t(this.type, \"uploadAreaMask\")\n };\n },\n logicalAddLabel: function logicalAddLabel() {\n if (\"file\" === this.classification) return !0 === this.addLabel ? \"+ Add \" + u(this.type) : this.addLabel;\n\n if (\"boolean\" == typeof this.addLabel) {\n var t = this.label || this.name;\n return \"+ \" + (\"string\" == typeof t ? t + \" \" : \"\") + \" Add\";\n }\n\n return this.addLabel;\n },\n logicalRemoveLabel: function logicalRemoveLabel() {\n if (\"boolean\" == typeof this.removeLabel) return \"Remove\";\n return this.removeLabel;\n },\n classes: function classes() {\n return this.$formulate.classes(Object.assign({}, this.$props, this.pseudoProps, {\n attrs: this.filteredAttributes,\n classification: this.classification,\n hasErrors: this.hasVisibleErrors,\n hasValue: this.hasValue,\n helpPosition: this.logicalHelpPosition,\n isValid: this.isValid,\n labelPosition: this.logicalLabelPosition,\n type: this.type,\n value: this.proxy\n }));\n },\n showValidationErrors: function showValidationErrors() {\n if (this.showErrors || this.formShouldShowErrors) return !0;\n if (\"file\" === this.classification && \"live\" === this.uploadBehavior && Z.call(this)) return !0;\n return this.behavioralErrorVisibility;\n },\n slotProps: function slotProps() {\n var t = this.$formulate.slotProps.bind(this.$formulate);\n return {\n label: t(this.type, \"label\", this.typeProps),\n help: t(this.type, \"help\", this.typeProps),\n errors: t(this.type, \"errors\", this.typeProps),\n repeatable: t(this.type, \"repeatable\", this.typeProps),\n addMore: t(this.type, \"addMore\", this.typeProps),\n remove: t(this.type, \"remove\", this.typeProps),\n component: t(this.type, \"component\", this.typeProps)\n };\n },\n pseudoProps: function pseudoProps() {\n return x(this.localAttributes, P);\n },\n isValid: function isValid() {\n return !this.hasErrors;\n },\n ruleDetails: function ruleDetails() {\n return this.parsedValidation.map(function (t) {\n var e = t[1];\n return {\n ruleName: t[2],\n args: e\n };\n });\n },\n isVmodeled: function isVmodeled() {\n return !!(this.$options.propsData.hasOwnProperty(\"formulateValue\") && this._events && Array.isArray(this._events.input) && this._events.input.length);\n },\n mergedValidationName: function mergedValidationName() {\n var t = this,\n e = this.$formulate.options.validationNameStrategy || [\"validationName\", \"name\", \"label\", \"type\"];\n\n if (Array.isArray(e)) {\n return this[e.find(function (e) {\n return \"string\" == typeof t[e];\n })];\n }\n\n if (\"function\" == typeof e) return e.call(this, this);\n return this.type;\n },\n explicitErrors: function explicitErrors() {\n return c(this.errors).concat(this.localErrors).concat(c(this.error));\n },\n allErrors: function allErrors() {\n return this.explicitErrors.concat(c(this.validationErrors));\n },\n hasVisibleErrors: function hasVisibleErrors() {\n return Array.isArray(this.validationErrors) && this.validationErrors.length && this.showValidationErrors || !!this.explicitErrors.length;\n },\n hasErrors: function hasErrors() {\n return !!this.allErrors.length;\n },\n filteredAttributes: function filteredAttributes() {\n var t = this,\n e = Object.keys(this.pseudoProps).concat(Object.keys(this.typeProps));\n return Object.keys(this.localAttributes).reduce(function (r, o) {\n return e.includes(l(o)) || (r[o] = t.localAttributes[o]), r;\n }, {});\n },\n typeProps: function typeProps() {\n return x(this.localAttributes, this.$formulate.typeProps(this.type));\n },\n listeners: function listeners() {\n var t = this.$listeners;\n t.input;\n return function (t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n }(t, [\"input\"]);\n }\n};\n\nfunction W(t) {\n return t ? (Array.isArray(t) ? t : Object.keys(t).map(function (e) {\n return {\n label: t[e],\n value: e\n };\n })).map(Y.bind(this)) : [];\n}\n\nfunction Y(t) {\n return \"number\" == typeof t && (t = String(t)), \"string\" == typeof t ? {\n label: t,\n value: t,\n id: this.elementAttributes.id + \"_\" + t\n } : (\"number\" == typeof t.value && (t.value = String(t.value)), Object.assign({\n value: \"\",\n label: \"\",\n id: this.elementAttributes.id + \"_\" + (t.value || t.label)\n }, t));\n}\n\nfunction z() {\n var t = this;\n \"blur\" !== this.errorBehavior && \"value\" !== this.errorBehavior || (this.behavioralErrorVisibility = !0), this.$nextTick(function () {\n return t.$emit(\"blur-context\", t.context);\n });\n}\n\nfunction K(t) {\n var e = this;\n return Object.defineProperty(t, \"model\", {\n get: Z.bind(this),\n set: function set(t) {\n if (!e.mntd || !e.debounceDelay) return J.call(e, t);\n e.dSet(J, [t], e.debounceDelay);\n },\n enumerable: !0\n });\n}\n\nfunction Z() {\n var t = this.isVmodeled ? \"formulateValue\" : \"proxy\";\n return \"checkbox\" === this.type && !Array.isArray(this[t]) && this.options ? [] : this[t] || 0 === this[t] ? this[t] : \"\";\n}\n\nfunction J(t) {\n var e = !1;\n a(t, this.proxy, \"group\" === this.type) || (this.proxy = t, e = !0), !this.context.ignored && this.context.name && \"function\" == typeof this.formulateSetter && this.formulateSetter(this.context.name, t), e && this.$emit(\"input\", t);\n}\n\nvar X = {\n name: \"FormulateInput\",\n inheritAttrs: !1,\n provide: function provide() {\n return {\n formulateRegisterRule: this.registerRule,\n formulateRemoveRule: this.removeRule\n };\n },\n inject: {\n formulateSetter: {\n default: void 0\n },\n formulateFieldValidation: {\n default: function _default() {\n return function () {\n return {};\n };\n }\n },\n formulateRegister: {\n default: void 0\n },\n formulateDeregister: {\n default: void 0\n },\n getFormValues: {\n default: function _default() {\n return function () {\n return {};\n };\n }\n },\n getGroupValues: {\n default: void 0\n },\n validateDependents: {\n default: function _default() {\n return function () {};\n }\n },\n observeErrors: {\n default: void 0\n },\n removeErrorObserver: {\n default: void 0\n },\n isSubField: {\n default: function _default() {\n return function () {\n return !1;\n };\n }\n }\n },\n model: {\n prop: \"formulateValue\",\n event: \"input\"\n },\n props: {\n type: {\n type: String,\n default: \"text\"\n },\n name: {\n type: [String, Boolean],\n default: !0\n },\n formulateValue: {\n default: \"\"\n },\n value: {\n default: !1\n },\n options: {\n type: [Object, Array, Boolean],\n default: !1\n },\n optionGroups: {\n type: [Object, Boolean],\n default: !1\n },\n id: {\n type: [String, Boolean, Number],\n default: !1\n },\n label: {\n type: [String, Boolean],\n default: !1\n },\n labelPosition: {\n type: [String, Boolean],\n default: !1\n },\n limit: {\n type: [String, Number],\n default: 1 / 0,\n validator: function validator(t) {\n return 1 / 0;\n }\n },\n minimum: {\n type: [String, Number],\n default: 0,\n validator: function validator(t) {\n return parseInt(t, 10) == t;\n }\n },\n help: {\n type: [String, Boolean],\n default: !1\n },\n helpPosition: {\n type: [String, Boolean],\n default: !1\n },\n isGrouped: {\n type: Boolean,\n default: !1\n },\n errors: {\n type: [String, Array, Boolean],\n default: !1\n },\n removePosition: {\n type: [String, Boolean],\n default: !1\n },\n repeatable: {\n type: Boolean,\n default: !1\n },\n validation: {\n type: [String, Boolean, Array],\n default: !1\n },\n validationName: {\n type: [String, Boolean],\n default: !1\n },\n error: {\n type: [String, Boolean],\n default: !1\n },\n errorBehavior: {\n type: String,\n default: \"blur\",\n validator: function validator(t) {\n return [\"blur\", \"live\", \"submit\", \"value\"].includes(t);\n }\n },\n showErrors: {\n type: Boolean,\n default: !1\n },\n groupErrors: {\n type: Object,\n default: function _default() {\n return {};\n },\n validator: function validator(t) {\n var e = /^\\d+\\./;\n return !Object.keys(t).some(function (t) {\n return !e.test(t);\n });\n }\n },\n imageBehavior: {\n type: String,\n default: \"preview\"\n },\n uploadUrl: {\n type: [String, Boolean],\n default: !1\n },\n uploader: {\n type: [Function, Object, Boolean],\n default: !1\n },\n uploadBehavior: {\n type: String,\n default: \"live\"\n },\n preventWindowDrops: {\n type: Boolean,\n default: !0\n },\n showValue: {\n type: [String, Boolean],\n default: !1\n },\n validationMessages: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n validationRules: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n checked: {\n type: [String, Boolean],\n default: !1\n },\n disableErrors: {\n type: Boolean,\n default: !1\n },\n addLabel: {\n type: [Boolean, String],\n default: !0\n },\n removeLabel: {\n type: [Boolean, String],\n default: !1\n },\n keepModelData: {\n type: [Boolean, String],\n default: \"inherit\"\n },\n ignored: {\n type: [Boolean, String],\n default: !1\n },\n debounce: {\n type: [Boolean, Number],\n default: !1\n },\n preventDeregister: {\n type: Boolean,\n default: !1\n }\n },\n data: function data() {\n return {\n defaultId: this.$formulate.nextId(this),\n localAttributes: {},\n localErrors: [],\n localGroupErrors: {},\n proxy: this.getInitialValue(),\n behavioralErrorVisibility: \"live\" === this.errorBehavior,\n formShouldShowErrors: !1,\n validationErrors: [],\n pendingValidation: Promise.resolve(),\n ruleRegistry: [],\n messageRegistry: {},\n touched: !1,\n debounceDelay: this.debounce,\n dSet: function dSet(e, r, o) {\n var i = this;\n t && clearTimeout(t), t = setTimeout(function () {\n return e.call.apply(e, [i].concat(r));\n }, o);\n },\n mntd: !1\n };\n var t;\n },\n computed: Object.assign({}, H, {\n classification: function classification() {\n var t = this.$formulate.classify(this.type);\n return \"box\" === t && this.options ? \"group\" : t;\n },\n component: function component() {\n return \"group\" === this.classification ? \"FormulateInputGroup\" : this.$formulate.component(this.type);\n },\n parsedValidationRules: function parsedValidationRules() {\n var t = this,\n e = {};\n return Object.keys(this.validationRules).forEach(function (r) {\n e[l(r)] = t.validationRules[r];\n }), e;\n },\n parsedValidation: function parsedValidation() {\n return d(this.validation, this.$formulate.rules(this.parsedValidationRules));\n },\n messages: function messages() {\n var t = this,\n e = {};\n return Object.keys(this.validationMessages).forEach(function (r) {\n e[l(r)] = t.validationMessages[r];\n }), Object.keys(this.messageRegistry).forEach(function (r) {\n e[l(r)] = t.messageRegistry[r];\n }), e;\n }\n }),\n watch: {\n $attrs: {\n handler: function handler(t) {\n this.updateLocalAttributes(t);\n },\n deep: !0\n },\n proxy: {\n handler: function handler(t, e) {\n this.performValidation(), this.isVmodeled || a(t, e, \"group\" === this.type) || (this.context.model = t), this.validateDependents(this), !this.touched && t && (this.touched = !0);\n },\n deep: !0\n },\n formulateValue: {\n handler: function handler(t, e) {\n this.isVmodeled && !a(t, e, \"group\" === this.type) && (this.context.model = t);\n },\n deep: !0\n },\n showValidationErrors: {\n handler: function handler(t) {\n this.$emit(\"error-visibility\", t);\n },\n immediate: !0\n },\n validation: {\n handler: function handler() {\n this.performValidation();\n },\n deep: !0\n },\n touched: function touched(t) {\n \"value\" === this.errorBehavior && t && (this.behavioralErrorVisibility = t);\n },\n debounce: function debounce(t) {\n this.debounceDelay = t;\n }\n },\n created: function created() {\n this.applyInitialValue(), this.formulateRegister && \"function\" == typeof this.formulateRegister && this.formulateRegister(this.nameOrFallback, this), this.applyDefaultValue(), this.disableErrors || \"function\" != typeof this.observeErrors || (this.observeErrors({\n callback: this.setErrors,\n type: \"input\",\n field: this.nameOrFallback\n }), \"group\" === this.type && this.observeErrors({\n callback: this.setGroupErrors,\n type: \"group\",\n field: this.nameOrFallback\n })), this.updateLocalAttributes(this.$attrs), this.performValidation(), this.hasValue && (this.touched = !0);\n },\n mounted: function mounted() {\n this.mntd = !0;\n },\n beforeDestroy: function beforeDestroy() {\n this.disableErrors || \"function\" != typeof this.removeErrorObserver || (this.removeErrorObserver(this.setErrors), \"group\" === this.type && this.removeErrorObserver(this.setGroupErrors)), \"function\" != typeof this.formulateDeregister || this.preventDeregister || this.formulateDeregister(this.nameOrFallback);\n },\n methods: {\n getInitialValue: function getInitialValue() {\n var t = this.$formulate.classify(this.type);\n return \"box\" === (t = \"box\" === t && this.options ? \"group\" : t) && this.checked ? this.value || !0 : f(this.$options.propsData, \"value\") && \"box\" !== t ? this.value : f(this.$options.propsData, \"formulateValue\") ? this.formulateValue : \"group\" === t ? Object.defineProperty(\"group\" === this.type ? [{}] : [], \"__init\", {\n value: !0\n }) : \"\";\n },\n applyInitialValue: function applyInitialValue() {\n a(this.context.model, this.proxy) || \"box\" === this.classification && !f(this.$options.propsData, \"options\") || (this.context.model = this.proxy, this.$emit(\"input\", this.proxy));\n },\n applyDefaultValue: function applyDefaultValue() {\n \"select\" === this.type && !this.context.placeholder && v(this.proxy) && !this.isVmodeled && !1 === this.value && this.context.options.length && (f(this.$attrs, \"multiple\") ? this.context.model = [] : this.context.model = this.context.options[0].value);\n },\n updateLocalAttributes: function updateLocalAttributes(t) {\n a(t, this.localAttributes) || (this.localAttributes = t);\n },\n performValidation: function performValidation() {\n var t = this,\n e = d(this.validation, this.$formulate.rules(this.parsedValidationRules));\n return e = this.ruleRegistry.length ? this.ruleRegistry.concat(e) : e, this.pendingValidation = this.runRules(e).then(function (e) {\n return t.didValidate(e);\n }), this.pendingValidation;\n },\n runRules: function runRules(t) {\n var e = this,\n r = function r(t) {\n var r = t[0],\n o = t[1],\n i = t[2],\n n = (t[3], r.apply(void 0, [{\n value: e.context.model,\n getFormValues: function getFormValues() {\n for (var t, r = [], o = arguments.length; o--;) {\n r[o] = arguments[o];\n }\n\n return (t = e).getFormValues.apply(t, [e].concat(r));\n },\n getGroupValues: function getGroupValues() {\n for (var t, r = [], o = arguments.length; o--;) {\n r[o] = arguments[o];\n }\n\n return (t = e)[\"get\" + (e.getGroupValues ? \"Group\" : \"Form\") + \"Values\"].apply(t, [e].concat(r));\n },\n name: e.context.name\n }].concat(o)));\n return (n = n instanceof Promise ? n : Promise.resolve(n)).then(function (t) {\n return !t && e.getMessage(i, o);\n });\n };\n\n return new Promise(function (e) {\n var o = function o(t, i) {\n void 0 === i && (i = []);\n var n = t.shift();\n Array.isArray(n) && n.length ? Promise.all(n.map(r)).then(function (t) {\n return t.filter(function (t) {\n return !!t;\n });\n }).then(function (r) {\n return (r = Array.isArray(r) ? r : []).length && n.bail || !t.length ? e(i.concat(r).filter(function (t) {\n return !v(t);\n })) : o(t, i.concat(r));\n }) : e([]);\n };\n\n o(function (t) {\n var e = [],\n r = t.findIndex(function (t) {\n return \"bail\" === t[2].toLowerCase();\n }),\n o = t.findIndex(function (t) {\n return \"optional\" === t[2].toLowerCase();\n });\n\n if (o >= 0) {\n var i = t.splice(o, 1);\n e.push(Object.defineProperty(i, \"bail\", {\n value: !0\n }));\n }\n\n if (r >= 0) {\n var n = t.splice(0, r + 1).slice(0, -1);\n n.length && e.push(n), t.map(function (t) {\n return e.push(Object.defineProperty([t], \"bail\", {\n value: !0\n }));\n });\n } else e.push(t);\n\n return e.reduce(function (t, e) {\n var r = function r(t, e) {\n if (void 0 === e && (e = !1), t.length < 2) return Object.defineProperty([t], \"bail\", {\n value: e\n });\n var o = [],\n i = t.findIndex(function (t) {\n return \"^\" === t[3];\n });\n\n if (i >= 0) {\n var n = t.splice(0, i);\n n.length && o.push.apply(o, r(n, e)), o.push(Object.defineProperty([t.shift()], \"bail\", {\n value: !0\n })), t.length && o.push.apply(o, r(t, e));\n } else o.push(t);\n\n return o;\n };\n\n return t.concat(r(e));\n }, []);\n }(t));\n });\n },\n didValidate: function didValidate(t) {\n var e = !a(t, this.validationErrors);\n\n if (this.validationErrors = t, e) {\n var r = this.getErrorObject();\n this.$emit(\"validation\", r), this.formulateFieldValidation && \"function\" == typeof this.formulateFieldValidation && this.formulateFieldValidation(r);\n }\n },\n getMessage: function getMessage(t, e) {\n var r = this;\n return this.getMessageFunc(t)({\n args: e,\n name: this.mergedValidationName,\n value: this.context.model,\n vm: this,\n formValues: this.getFormValues(this),\n getFormValues: function getFormValues() {\n for (var t, e = [], o = arguments.length; o--;) {\n e[o] = arguments[o];\n }\n\n return (t = r).getFormValues.apply(t, [r].concat(e));\n },\n getGroupValues: function getGroupValues() {\n for (var t, e = [], o = arguments.length; o--;) {\n e[o] = arguments[o];\n }\n\n return (t = r)[\"get\" + (r.getGroupValues ? \"Group\" : \"Form\") + \"Values\"].apply(t, [r].concat(e));\n }\n });\n },\n getMessageFunc: function getMessageFunc(t) {\n var e = this;\n if (\"optional\" === (t = l(t))) return function () {\n return [];\n };\n if (this.messages && void 0 !== this.messages[t]) switch (_typeof(this.messages[t])) {\n case \"function\":\n return this.messages[t];\n\n case \"string\":\n case \"boolean\":\n return function () {\n return e.messages[t];\n };\n }\n return function (r) {\n return e.$formulate.validationMessage(t, r, e);\n };\n },\n hasValidationErrors: function hasValidationErrors() {\n var t = this;\n return new Promise(function (e) {\n t.$nextTick(function () {\n t.pendingValidation.then(function () {\n return e(!!t.validationErrors.length);\n });\n });\n });\n },\n getValidationErrors: function getValidationErrors() {\n var t = this;\n return new Promise(function (e) {\n t.$nextTick(function () {\n return t.pendingValidation.then(function () {\n return e(t.getErrorObject());\n });\n });\n });\n },\n getErrorObject: function getErrorObject() {\n return {\n name: this.context.nameOrFallback || this.context.name,\n errors: this.validationErrors.filter(function (t) {\n return \"string\" == typeof t;\n }),\n hasErrors: !!this.validationErrors.length\n };\n },\n setErrors: function setErrors(t) {\n this.localErrors = c(t);\n },\n setGroupErrors: function setGroupErrors(t) {\n this.localGroupErrors = t;\n },\n registerRule: function registerRule(t, e, r, o) {\n void 0 === o && (o = null), this.ruleRegistry.some(function (t) {\n return t[2] === r;\n }) || (this.ruleRegistry.push([t, e, r]), null !== o && (this.messageRegistry[r] = o));\n },\n removeRule: function removeRule(t) {\n var e = this.ruleRegistry.findIndex(function (e) {\n return e[2] === t;\n });\n e >= 0 && (this.ruleRegistry.splice(e, 1), delete this.messageRegistry[t]);\n }\n }\n},\n Q = function Q() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.outer,\n attrs: {\n \"data-classification\": t.classification,\n \"data-has-errors\": t.hasErrors,\n \"data-is-showing-errors\": t.hasVisibleErrors,\n \"data-has-value\": t.hasValue,\n \"data-type\": t.type\n }\n }, [r(\"div\", {\n class: t.context.classes.wrapper\n }, [\"before\" === t.context.labelPosition ? t._t(\"label\", [t.context.hasLabel ? r(t.context.slotComponents.label, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.label, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), \"before\" === t.context.helpPosition ? t._t(\"help\", [t.context.help ? r(t.context.slotComponents.help, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.help, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), t._t(\"element\", [r(t.context.component, t._g(t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.component, !1), t.listeners), [t._t(\"default\", null, null, t.context)], 2)], null, t.context), t._v(\" \"), \"after\" === t.context.labelPosition ? t._t(\"label\", [t.context.hasLabel ? r(t.context.slotComponents.label, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.label, !1)) : t._e()], null, t.context) : t._e()], 2), t._v(\" \"), \"after\" === t.context.helpPosition ? t._t(\"help\", [t.context.help ? r(t.context.slotComponents.help, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.help, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), t._t(\"errors\", [t.context.disableErrors ? t._e() : r(t.context.slotComponents.errors, t._b({\n tag: \"component\",\n attrs: {\n type: \"FormulateErrors\" === t.context.slotComponents.errors && \"input\",\n context: t.context\n }\n }, \"component\", t.context.slotProps.errors, !1))], null, t.context)], 2);\n};\n\nQ._withStripped = !0;\n\nvar tt = U({\n render: Q,\n staticRenderFns: []\n}, void 0, X, void 0, !1, void 0, !1, void 0, void 0, void 0),\n et = {\n inject: {\n observeErrors: {\n default: !1\n },\n removeErrorObserver: {\n default: !1\n },\n observeContext: {\n default: !1\n },\n removeContextObserver: {\n default: !1\n }\n },\n props: {\n context: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n type: {\n type: String,\n default: \"form\"\n }\n },\n data: function data() {\n return {\n boundSetErrors: this.setErrors.bind(this),\n boundSetFormContext: this.setFormContext.bind(this),\n localErrors: [],\n formContext: {\n classes: {\n formErrors: \"formulate-form-errors\",\n formError: \"formulate-form-error\"\n }\n }\n };\n },\n computed: {\n visibleValidationErrors: function visibleValidationErrors() {\n return Array.isArray(this.context.visibleValidationErrors) ? this.context.visibleValidationErrors : [];\n },\n errors: function errors() {\n return Array.isArray(this.context.errors) ? this.context.errors : [];\n },\n mergedErrors: function mergedErrors() {\n return this.errors.concat(this.localErrors);\n },\n visibleErrors: function visibleErrors() {\n return Array.from(new Set(this.mergedErrors.concat(this.visibleValidationErrors))).filter(function (t) {\n return \"string\" == typeof t;\n });\n },\n outerClass: function outerClass() {\n return \"input\" === this.type && this.context.classes ? this.context.classes.errors : this.formContext.classes.formErrors;\n },\n itemClass: function itemClass() {\n return \"input\" === this.type && this.context.classes ? this.context.classes.error : this.formContext.classes.formError;\n },\n role: function role() {\n return \"form\" === this.type ? \"alert\" : \"status\";\n },\n ariaLive: function ariaLive() {\n return \"form\" === this.type ? \"assertive\" : \"polite\";\n },\n slotComponent: function slotComponent() {\n return this.$formulate.slotComponent(null, \"errorList\");\n }\n },\n created: function created() {\n \"form\" === this.type && \"function\" == typeof this.observeErrors && (Array.isArray(this.context.errors) || this.observeErrors({\n callback: this.boundSetErrors,\n type: \"form\"\n }), this.observeContext(this.boundSetFormContext));\n },\n destroyed: function destroyed() {\n \"form\" === this.type && \"function\" == typeof this.removeErrorObserver && (Array.isArray(this.context.errors) || this.removeErrorObserver(this.boundSetErrors), this.removeContextObserver(this.boundSetFormContext));\n },\n methods: {\n setErrors: function setErrors(t) {\n this.localErrors = c(t);\n },\n setFormContext: function setFormContext(t) {\n this.formContext = t;\n }\n }\n},\n rt = function rt() {\n var t = this.$createElement;\n return (this._self._c || t)(this.slotComponent, {\n tag: \"component\",\n attrs: {\n \"visible-errors\": this.visibleErrors,\n \"item-class\": this.itemClass,\n \"outer-class\": this.outerClass,\n role: this.role,\n \"aria-live\": this.ariaLive,\n type: this.type\n }\n });\n};\n\nrt._withStripped = !0;\n\nvar ot = U({\n render: rt,\n staticRenderFns: []\n}, void 0, et, void 0, !1, void 0, !1, void 0, void 0, void 0),\n it = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n},\n nt = function nt() {\n var t = this.$createElement,\n e = this._self._c || t;\n return this.context.help ? e(\"div\", {\n class: this.context.classes.help,\n attrs: {\n id: this.context.id + \"-help\"\n },\n domProps: {\n textContent: this._s(this.context.help)\n }\n }) : this._e();\n};\n\nnt._withStripped = !0;\n\nvar st = U({\n render: nt,\n staticRenderFns: []\n}, void 0, it, void 0, !1, void 0, !1, void 0, void 0, void 0),\n at = {\n props: {\n file: {\n type: Object,\n required: !0\n },\n imagePreview: {\n type: Boolean,\n default: !1\n },\n context: {\n type: Object,\n required: !0\n }\n }\n},\n lt = function lt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.file\n }, [t.imagePreview && t.file.previewData ? r(\"div\", {\n class: t.context.classes.fileImagePreview\n }, [r(\"img\", {\n class: t.context.classes.fileImagePreviewImage,\n attrs: {\n src: t.file.previewData\n }\n })]) : t._e(), t._v(\" \"), r(\"div\", {\n class: t.context.classes.fileName,\n attrs: {\n title: t.file.name\n },\n domProps: {\n textContent: t._s(t.file.name)\n }\n }), t._v(\" \"), !1 !== t.file.progress ? r(\"div\", {\n class: t.context.classes.fileProgress,\n attrs: {\n \"data-just-finished\": t.file.justFinished,\n \"data-is-finished\": !t.file.justFinished && t.file.complete\n }\n }, [r(\"div\", {\n class: t.context.classes.fileProgressInner,\n style: {\n width: t.file.progress + \"%\"\n }\n })]) : t._e(), t._v(\" \"), t.file.complete && !t.file.justFinished || !1 === t.file.progress ? r(\"div\", {\n class: t.context.classes.fileRemove,\n on: {\n click: t.file.removeFile\n }\n }) : t._e()]);\n};\n\nlt._withStripped = !0;\n\nvar ut = U({\n render: lt,\n staticRenderFns: []\n}, void 0, at, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ct = {\n name: \"FormulateGrouping\",\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n provide: function provide() {\n return {\n isSubField: function isSubField() {\n return !0;\n },\n registerProvider: this.registerProvider,\n deregisterProvider: this.deregisterProvider\n };\n },\n data: function data() {\n return {\n providers: [],\n keys: []\n };\n },\n inject: [\"formulateRegisterRule\", \"formulateRemoveRule\"],\n computed: {\n items: function items() {\n var t = this;\n return Array.isArray(this.context.model) ? this.context.repeatable || 0 !== this.context.model.length ? this.context.model.length < this.context.minimum ? new Array(this.context.minimum || 1).fill(\"\").map(function (e, r) {\n return t.setId(t.context.model[r] || {}, r);\n }) : this.context.model.map(function (e, r) {\n return t.setId(e, r);\n }) : [this.setId({}, 0)] : new Array(this.context.minimum || 1).fill(\"\").map(function (e, r) {\n return t.setId({}, r);\n });\n },\n formShouldShowErrors: function formShouldShowErrors() {\n return this.context.formShouldShowErrors;\n },\n groupErrors: function groupErrors() {\n var t = this;\n return this.items.map(function (e, r) {\n return f(t.context.groupErrors, r) ? t.context.groupErrors[r] : {};\n });\n }\n },\n watch: {\n providers: function providers() {\n this.formShouldShowErrors && this.showErrors();\n },\n formShouldShowErrors: function formShouldShowErrors(t) {\n t && this.showErrors();\n },\n items: {\n handler: function handler(t, e) {\n a(t, e, !0) || (this.keys = t.map(function (t) {\n return t.__id;\n }));\n },\n immediate: !0\n }\n },\n created: function created() {\n this.formulateRegisterRule(this.validateGroup.bind(this), [], \"formulateGrouping\", !0);\n },\n destroyed: function destroyed() {\n this.formulateRemoveRule(\"formulateGrouping\");\n },\n methods: {\n validateGroup: function validateGroup() {\n return Promise.all(this.providers.reduce(function (t, e) {\n return e && \"function\" == typeof e.hasValidationErrors && t.push(e.hasValidationErrors()), t;\n }, [])).then(function (t) {\n return !t.some(function (t) {\n return !!t;\n });\n });\n },\n showErrors: function showErrors() {\n this.providers.forEach(function (t) {\n return t && \"function\" == typeof t.showErrors && t.showErrors();\n });\n },\n setItem: function setItem(t, e) {\n var r = this;\n Array.isArray(this.context.model) && this.context.model.length >= this.context.minimum && !this.context.model.__init ? this.context.model.splice(t, 1, this.setId(e, t)) : this.context.model = this.items.map(function (o, i) {\n return i === t ? r.setId(e, t) : o;\n });\n },\n removeItem: function removeItem(t) {\n var e = this;\n Array.isArray(this.context.model) && this.context.model.length > this.context.minimum ? (this.context.model = this.context.model.filter(function (e, r) {\n return r !== t && e;\n }), this.context.rootEmit(\"repeatableRemoved\", this.context.model)) : !Array.isArray(this.context.model) && this.items.length > this.context.minimum && (this.context.model = new Array(this.items.length - 1).fill(\"\").map(function (t, r) {\n return e.setId({}, r);\n }), this.context.rootEmit(\"repeatableRemoved\", this.context.model));\n },\n registerProvider: function registerProvider(t) {\n this.providers.some(function (e) {\n return e === t;\n }) || this.providers.push(t);\n },\n deregisterProvider: function deregisterProvider(t) {\n this.providers = this.providers.filter(function (e) {\n return e !== t;\n });\n },\n setId: function setId(t, e) {\n return t.__id ? t : m(t, this.keys[e]);\n }\n }\n},\n dt = function dt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"FormulateSlot\", {\n class: t.context.classes.grouping,\n attrs: {\n name: \"grouping\",\n context: t.context,\n \"force-wrap\": t.context.repeatable\n }\n }, t._l(t.items, function (e, o) {\n return r(\"FormulateRepeatableProvider\", {\n key: e.__id,\n attrs: {\n index: o,\n context: t.context,\n uuid: e.__id,\n errors: t.groupErrors[o]\n },\n on: {\n remove: t.removeItem,\n input: function input(e) {\n return t.setItem(o, e);\n }\n }\n }, [t._t(\"default\")], 2);\n }), 1);\n};\n\ndt._withStripped = !0;\n\nvar pt = U({\n render: dt,\n staticRenderFns: []\n}, void 0, ct, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ht = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n},\n ft = function ft() {\n var t = this.$createElement;\n return (this._self._c || t)(\"label\", {\n class: this.context.classes.label,\n attrs: {\n id: this.context.id + \"_label\",\n for: this.context.id\n },\n domProps: {\n textContent: this._s(this.context.label)\n }\n });\n};\n\nft._withStripped = !0;\n\nvar mt = U({\n render: ft,\n staticRenderFns: []\n}, void 0, ht, void 0, !1, void 0, !1, void 0, void 0, void 0),\n vt = {\n props: {\n context: {\n type: Object,\n required: !0\n },\n addMore: {\n type: Function,\n required: !0\n }\n }\n},\n xt = function xt() {\n var t = this.$createElement,\n e = this._self._c || t;\n return e(\"div\", {\n class: this.context.classes.groupAddMore\n }, [e(\"FormulateInput\", {\n attrs: {\n type: \"button\",\n label: this.context.addLabel,\n \"data-minor\": \"\",\n \"data-ghost\": \"\"\n },\n on: {\n click: this.addMore\n }\n })], 1);\n};\n\nxt._withStripped = !0;\n\nvar yt = U({\n render: xt,\n staticRenderFns: []\n}, void 0, vt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n gt = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n type: function type() {\n return this.context.type;\n },\n attributes: function attributes() {\n return this.context.attributes || {};\n },\n hasValue: function hasValue() {\n return this.context.hasValue;\n }\n }\n},\n bt = {\n name: \"FormulateInputBox\",\n mixins: [gt],\n computed: {\n usesDecorator: function usesDecorator() {\n return this.$formulate.options.useInputDecorators;\n }\n }\n},\n Et = function Et() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n value: t.context.value,\n checked: t._q(t.context.model, t.context.value)\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n return t.$set(t.context, \"model\", t.context.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n value: t.context.value,\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, t.context.value) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n\n if (Array.isArray(r)) {\n var n = t.context.value,\n s = t._i(r, n);\n\n o.checked ? s < 0 && t.$set(t.context, \"model\", r.concat([n])) : s > -1 && t.$set(t.context, \"model\", r.slice(0, s).concat(r.slice(s + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), t.usesDecorator ? r(\"label\", {\n tag: \"component\",\n class: t.context.classes.decorator,\n attrs: {\n for: t.attributes.id\n }\n }) : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nEt._withStripped = !0;\n\nvar _t = U({\n render: Et,\n staticRenderFns: []\n}, void 0, bt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Ft = {\n props: {\n visibleErrors: {\n type: Array,\n required: !0\n },\n itemClass: {\n type: [String, Array, Object, Boolean],\n default: !1\n },\n outerClass: {\n type: [String, Array, Object, Boolean],\n default: !1\n },\n role: {\n type: [String],\n default: \"status\"\n },\n ariaLive: {\n type: [String, Boolean],\n default: \"polite\"\n },\n type: {\n type: String,\n required: !0\n }\n }\n},\n wt = function wt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.visibleErrors.length ? r(\"ul\", {\n class: t.outerClass\n }, t._l(t.visibleErrors, function (e) {\n return r(\"li\", {\n key: e,\n class: t.itemClass,\n attrs: {\n role: t.role,\n \"aria-live\": t.ariaLive\n },\n domProps: {\n textContent: t._s(e)\n }\n });\n }), 0) : t._e();\n};\n\nwt._withStripped = !0;\n\nvar Ot = U({\n render: wt,\n staticRenderFns: []\n}, void 0, Ft, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Pt = {\n name: \"FormulateInputText\",\n mixins: [gt]\n},\n Vt = function Vt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"checkbox\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, null) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n\n if (Array.isArray(r)) {\n var n = t._i(r, null);\n\n o.checked ? n < 0 && t.$set(t.context, \"model\", r.concat([null])) : n > -1 && t.$set(t.context, \"model\", r.slice(0, n).concat(r.slice(n + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n checked: t._q(t.context.model, null)\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n return t.$set(t.context, \"model\", null);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: t.type\n },\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function input(e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nVt._withStripped = !0;\n\nvar At = U({\n render: Vt,\n staticRenderFns: []\n}, void 0, Pt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n St = {\n name: \"FormulateFiles\",\n props: {\n files: {\n type: y,\n required: !0\n },\n imagePreview: {\n type: Boolean,\n default: !1\n },\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n fileUploads: function fileUploads() {\n return this.files.files || [];\n },\n isMultiple: function isMultiple() {\n return f(this.context.attributes, \"multiple\");\n }\n },\n watch: {\n files: function files() {\n this.imagePreview && this.files.loadPreviews();\n }\n },\n mounted: function mounted() {\n this.imagePreview && this.files.loadPreviews();\n },\n methods: {\n appendFiles: function appendFiles() {\n var t = this.$refs.addFiles;\n t.files.length && this.files.mergeFileList(t);\n }\n }\n},\n jt = function jt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.fileUploads.length ? r(\"ul\", {\n class: t.context.classes.files\n }, [t._l(t.fileUploads, function (e) {\n return r(\"li\", {\n key: e.uuid,\n attrs: {\n \"data-has-error\": !!e.error,\n \"data-has-preview\": !(!t.imagePreview || !e.previewData)\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"file\",\n context: t.context,\n file: e,\n \"image-preview\": t.imagePreview\n }\n }, [r(t.context.slotComponents.file, {\n tag: \"component\",\n attrs: {\n context: t.context,\n file: e,\n \"image-preview\": t.imagePreview\n }\n })], 1), t._v(\" \"), e.error ? r(\"div\", {\n class: t.context.classes.fileUploadError,\n domProps: {\n textContent: t._s(e.error)\n }\n }) : t._e()], 1);\n }), t._v(\" \"), t.isMultiple && t.context.addLabel ? r(\"div\", {\n class: t.context.classes.fileAdd,\n attrs: {\n role: \"button\"\n }\n }, [t._v(\"\\n \" + t._s(t.context.addLabel) + \"\\n \"), r(\"input\", {\n ref: \"addFiles\",\n class: t.context.classes.fileAddInput,\n attrs: {\n type: \"file\",\n multiple: \"\"\n },\n on: {\n change: t.appendFiles\n }\n })]) : t._e()], 2) : t._e();\n};\n\njt._withStripped = !0;\n\nvar $t = {\n name: \"FormulateInputFile\",\n components: {\n FormulateFiles: U({\n render: jt,\n staticRenderFns: []\n }, void 0, St, void 0, !1, void 0, !1, void 0, void 0, void 0)\n },\n mixins: [gt],\n data: function data() {\n return {\n isOver: !1\n };\n },\n computed: {\n hasFiles: function hasFiles() {\n return !!(this.context.model instanceof y && this.context.model.files.length);\n }\n },\n created: function created() {\n Array.isArray(this.context.model) && \"string\" == typeof this.context.model[0][this.$formulate.getFileUrlKey()] && (this.context.model = this.$formulate.createUpload({\n files: this.context.model\n }, this.context));\n },\n mounted: function mounted() {\n window && this.context.preventWindowDrops && (window.addEventListener(\"dragover\", this.preventDefault), window.addEventListener(\"drop\", this.preventDefault));\n },\n destroyed: function destroyed() {\n window && this.context.preventWindowDrops && (window.removeEventListener(\"dragover\", this.preventDefault), window.removeEventListener(\"drop\", this.preventDefault));\n },\n methods: {\n preventDefault: function preventDefault(t) {\n \"INPUT\" !== t.target.tagName && \"file\" !== t.target.getAttribute(\"type\") && (t = t || event).preventDefault();\n },\n handleFile: function handleFile() {\n var t = this;\n this.isOver = !1;\n var e = this.$refs.file;\n e.files.length && (this.context.model = this.$formulate.createUpload(e, this.context), this.$nextTick(function () {\n return t.attemptImmediateUpload();\n }));\n },\n attemptImmediateUpload: function attemptImmediateUpload() {\n var t = this;\n \"live\" === this.context.uploadBehavior && this.context.model instanceof y && this.context.hasValidationErrors().then(function (e) {\n e || t.context.model.upload();\n });\n },\n handleDragOver: function handleDragOver(t) {\n t.preventDefault(), this.isOver = !0;\n },\n handleDragLeave: function handleDragLeave(t) {\n t.preventDefault(), this.isOver = !1;\n }\n }\n},\n Ct = function Ct() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type,\n \"data-has-files\": t.hasFiles\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"div\", {\n class: t.context.classes.uploadArea,\n attrs: {\n \"data-has-files\": t.hasFiles\n }\n }, [r(\"input\", t._g(t._b({\n ref: \"file\",\n attrs: {\n \"data-is-drag-hover\": t.isOver,\n type: \"file\"\n },\n on: {\n blur: t.context.blurHandler,\n change: t.handleFile,\n dragover: t.handleDragOver,\n dragleave: t.handleDragLeave\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"uploadAreaMask\",\n context: t.context,\n \"has-files\": t.hasFiles\n }\n }, [r(t.context.slotComponents.uploadAreaMask, {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !t.hasFiles,\n expression: \"!hasFiles\"\n }],\n tag: \"component\",\n class: t.context.classes.uploadAreaMask,\n attrs: {\n \"has-files\": \"div\" !== t.context.slotComponents.uploadAreaMask && t.hasFiles,\n \"data-has-files\": \"div\" === t.context.slotComponents.uploadAreaMask && t.hasFiles\n }\n })], 1), t._v(\" \"), t.hasFiles ? r(\"FormulateFiles\", {\n attrs: {\n files: t.context.model,\n \"image-preview\": \"image\" === t.context.type && \"preview\" === t.context.imageBehavior,\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nCt._withStripped = !0;\n\nvar kt = U({\n render: Ct,\n staticRenderFns: []\n}, void 0, $t, void 0, !1, void 0, !1, void 0, void 0, void 0),\n It = {\n props: {\n context: {\n type: Object,\n required: !0\n },\n removeItem: {\n type: Function,\n required: !0\n },\n index: {\n type: Number,\n required: !0\n }\n }\n},\n Rt = function Rt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.groupRepeatable\n }, [\"after\" === t.context.removePosition ? t._t(\"default\") : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"remove\",\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, [r(t.context.slotComponents.remove, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, \"component\", t.context.slotProps.remove, !1))], 1), t._v(\" \"), \"before\" === t.context.removePosition ? t._t(\"default\") : t._e()], 2);\n};\n\nRt._withStripped = !0;\nvar Dt = U({\n render: Rt,\n staticRenderFns: []\n}, void 0, It, void 0, !1, void 0, !1, void 0, void 0, void 0);\n\nfunction Lt(t, e) {\n var r = {};\n\n for (var o in t) {\n Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n }\n\n return r;\n}\n\nvar Nt = {\n name: \"FormulateInputGroup\",\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n options: function options() {\n return this.context.options || [];\n },\n subType: function subType() {\n return \"group\" === this.context.type ? \"grouping\" : \"inputs\";\n },\n optionsWithContext: function optionsWithContext() {\n var t = this,\n e = this.context,\n r = e.attributes,\n o = (r.id, Lt(r, [\"id\"])),\n i = (e.blurHandler, e.classification, e.component, e.getValidationErrors, e.hasLabel, e.hasValidationErrors, e.isSubField, e.isValid, e.labelPosition, e.options, e.performValidation, e.setErrors, e.slotComponents, e.slotProps, e.validationErrors, e.visibleValidationErrors, e.classes, e.showValidationErrors, e.rootEmit, e.help, e.pseudoProps, e.rules, e.model, Lt(e, [\"attributes\", \"blurHandler\", \"classification\", \"component\", \"getValidationErrors\", \"hasLabel\", \"hasValidationErrors\", \"isSubField\", \"isValid\", \"labelPosition\", \"options\", \"performValidation\", \"setErrors\", \"slotComponents\", \"slotProps\", \"validationErrors\", \"visibleValidationErrors\", \"classes\", \"showValidationErrors\", \"rootEmit\", \"help\", \"pseudoProps\", \"rules\", \"model\"]));\n return this.options.map(function (e) {\n return t.groupItemContext(i, e, o);\n });\n },\n totalItems: function totalItems() {\n return Array.isArray(this.context.model) && this.context.model.length > this.context.minimum ? this.context.model.length : this.context.minimum || 1;\n },\n canAddMore: function canAddMore() {\n return this.context.repeatable && this.totalItems < this.context.limit;\n },\n labelledBy: function labelledBy() {\n return this.context.label && this.context.id + \"_label\";\n }\n },\n methods: {\n addItem: function addItem() {\n if (Array.isArray(this.context.model)) for (var t = this.context.minimum - this.context.model.length + 1, e = Math.max(t, 1), r = 0; r < e; r++) {\n this.context.model.push(m({}));\n } else this.context.model = new Array(this.totalItems + 1).fill(\"\").map(function () {\n return m({});\n });\n this.context.rootEmit(\"repeatableAdded\", this.context.model);\n },\n groupItemContext: function groupItemContext(t, e, r) {\n return Object.assign({}, t, e, r, {\n isGrouped: !0\n }, t.hasGivenName ? {} : {\n name: !0\n });\n }\n }\n},\n Bt = function Bt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-is-repeatable\": t.context.repeatable,\n role: \"group\",\n \"aria-labelledby\": t.labelledBy\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"grouping\" !== t.subType ? t._l(t.optionsWithContext, function (e) {\n return r(\"FormulateInput\", t._b({\n key: e.id,\n staticClass: \"formulate-input-group-item\",\n attrs: {\n \"disable-errors\": !0,\n \"prevent-deregister\": !0\n },\n on: {\n blur: t.context.blurHandler\n },\n model: {\n value: t.context.model,\n callback: function callback(e) {\n t.$set(t.context, \"model\", e);\n },\n expression: \"context.model\"\n }\n }, \"FormulateInput\", e, !1));\n }) : [r(\"FormulateGrouping\", {\n attrs: {\n context: t.context\n }\n }, [t._t(\"default\")], 2), t._v(\" \"), t.canAddMore ? r(\"FormulateSlot\", {\n attrs: {\n name: \"addmore\",\n context: t.context,\n \"add-more\": t.addItem\n }\n }, [r(t.context.slotComponents.addMore, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n \"add-more\": t.addItem\n },\n on: {\n add: t.addItem\n }\n }, \"component\", t.context.slotProps.addMore, !1))], 1) : t._e()], t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 2);\n};\n\nBt._withStripped = !0;\n\nvar Mt = U({\n render: Bt,\n staticRenderFns: []\n}, void 0, Nt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Ut = {\n name: \"FormulateInputButton\",\n mixins: [gt]\n},\n Gt = function Gt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"button\", t._g(t._b({\n attrs: {\n type: t.type\n }\n }, \"button\", t.attributes, !1), t.$listeners), [t._t(\"default\", [r(t.context.slotComponents.buttonContent, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n })], {\n context: t.context\n })], 2), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nGt._withStripped = !0;\n\nvar Tt = U({\n render: Gt,\n staticRenderFns: []\n}, void 0, Ut, void 0, !1, void 0, !1, void 0, void 0, void 0),\n qt = {\n name: \"FormulateInputSelect\",\n mixins: [gt],\n computed: {\n options: function options() {\n return this.context.options || {};\n },\n optionGroups: function optionGroups() {\n return this.context.optionGroups || !1;\n },\n placeholderSelected: function placeholderSelected() {\n return !(this.hasValue || !this.context.attributes || !this.context.attributes.placeholder);\n }\n }\n},\n Ht = function Ht() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type,\n \"data-multiple\": t.attributes && void 0 !== t.attributes.multiple\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"select\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n \"data-placeholder-selected\": t.placeholderSelected\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n var r = Array.prototype.filter.call(e.target.options, function (t) {\n return t.selected;\n }).map(function (t) {\n return \"_value\" in t ? t._value : t.value;\n });\n t.$set(t.context, \"model\", e.target.multiple ? r : r[0]);\n }\n }\n }, \"select\", t.attributes, !1), t.$listeners), [t.context.placeholder ? r(\"option\", {\n attrs: {\n value: \"\",\n hidden: \"hidden\",\n disabled: \"\"\n },\n domProps: {\n selected: !t.hasValue\n }\n }, [t._v(\"\\n \" + t._s(t.context.placeholder) + \"\\n \")]) : t._e(), t._v(\" \"), t.optionGroups ? t._l(t.optionGroups, function (e, o) {\n return r(\"optgroup\", {\n key: o,\n attrs: {\n label: o\n }\n }, t._l(e, function (e) {\n return r(\"option\", t._b({\n key: e.id,\n attrs: {\n disabled: !!e.disabled\n },\n domProps: {\n value: e.value,\n textContent: t._s(e.label)\n }\n }, \"option\", e.attributes || e.attrs || {}, !1));\n }), 0);\n }) : t._l(t.options, function (e) {\n return r(\"option\", t._b({\n key: e.id,\n attrs: {\n disabled: !!e.disabled\n },\n domProps: {\n value: e.value,\n textContent: t._s(e.label)\n }\n }, \"option\", e.attributes || e.attrs || {}, !1));\n })], 2), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nHt._withStripped = !0;\n\nvar Wt = U({\n render: Ht,\n staticRenderFns: []\n}, void 0, qt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Yt = {\n name: \"FormulateInputSlider\",\n mixins: [gt]\n},\n zt = function zt() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"checkbox\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, null) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n\n if (Array.isArray(r)) {\n var n = t._i(r, null);\n\n o.checked ? n < 0 && t.$set(t.context, \"model\", r.concat([null])) : n > -1 && t.$set(t.context, \"model\", r.slice(0, n).concat(r.slice(n + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n checked: t._q(t.context.model, null)\n },\n on: {\n blur: t.context.blurHandler,\n change: function change(e) {\n return t.$set(t.context, \"model\", null);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: t.type\n },\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function input(e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), t.context.showValue ? r(\"div\", {\n class: t.context.classes.rangeValue,\n domProps: {\n textContent: t._s(t.context.model)\n }\n }) : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nzt._withStripped = !0;\n\nvar Kt = U({\n render: zt,\n staticRenderFns: []\n}, void 0, Yt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Zt = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n},\n Jt = function Jt() {\n var t = this.$createElement;\n return (this._self._c || t)(\"span\", {\n class: \"formulate-input-element--\" + this.context.type + \"--label\",\n domProps: {\n textContent: this._s(this.context.value || this.context.label || this.context.name || \"Submit\")\n }\n });\n};\n\nJt._withStripped = !0;\n\nvar Xt = U({\n render: Jt,\n staticRenderFns: []\n}, void 0, Zt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Qt = {\n name: \"FormulateInputTextArea\",\n mixins: [gt]\n},\n te = function te() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": \"textarea\"\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"textarea\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function input(e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"textarea\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n};\n\nte._withStripped = !0;\n\nvar ee = U({\n render: te,\n staticRenderFns: []\n}, void 0, Qt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n re = {\n provide: function provide() {\n var t = this;\n return Object.assign({}, B(this, [\"getFormValues\"]), {\n formulateSetter: function formulateSetter(e, r) {\n return t.setGroupValue(e, r);\n }\n });\n },\n inject: {\n registerProvider: \"registerProvider\",\n deregisterProvider: \"deregisterProvider\"\n },\n props: {\n index: {\n type: Number,\n required: !0\n },\n context: {\n type: Object,\n required: !0\n },\n uuid: {\n type: String,\n required: !0\n },\n errors: {\n type: Object,\n required: !0\n }\n },\n data: function data() {\n return Object.assign({}, D(this), {\n isGrouping: !0\n });\n },\n computed: Object.assign({}, L(), {\n mergedFieldErrors: function mergedFieldErrors() {\n return this.errors;\n }\n }),\n watch: Object.assign({}, {\n mergedFieldErrors: {\n handler: function handler(t) {\n this.errorObservers.filter(function (t) {\n return \"input\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || []);\n });\n },\n immediate: !0\n },\n mergedGroupErrors: {\n handler: function handler(t) {\n this.errorObservers.filter(function (t) {\n return \"group\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || {});\n });\n },\n immediate: !0\n }\n }, {\n \"context.model\": {\n handler: function handler(t) {\n a(t[this.index], this.proxy, !0) || this.setValues(t[this.index]);\n },\n deep: !0\n }\n }),\n created: function created() {\n this.applyInitialValues(), this.registerProvider(this);\n },\n beforeDestroy: function beforeDestroy() {\n this.preventCleanup = !0, this.deregisterProvider(this);\n },\n methods: Object.assign({}, N(), {\n setGroupValue: function setGroupValue(t, e) {\n a(this.proxy[t], e, !0) || this.setFieldValue(t, e);\n },\n removeItem: function removeItem() {\n this.$emit(\"remove\", this.index);\n }\n })\n},\n oe = function oe() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"FormulateSlot\", {\n attrs: {\n name: \"repeatable\",\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, [r(t.context.slotComponents.repeatable, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, \"component\", t.context.slotProps.repeatable, !1), [r(\"FormulateSlot\", {\n attrs: {\n context: t.context,\n index: t.index,\n name: \"default\"\n }\n })], 1)], 1);\n};\n\noe._withStripped = !0;\n\nvar ie = U({\n render: oe,\n staticRenderFns: []\n}, void 0, re, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ne = {\n props: {\n index: {\n type: Number,\n default: null\n },\n context: {\n type: Object,\n required: !0\n },\n removeItem: {\n type: Function,\n required: !0\n }\n }\n},\n se = function se() {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.context.repeatable ? r(\"a\", {\n class: t.context.classes.groupRepeatableRemove,\n attrs: {\n \"data-disabled\": t.context.model.length <= t.context.minimum,\n role: \"button\"\n },\n domProps: {\n textContent: t._s(t.context.removeLabel)\n },\n on: {\n click: function click(e) {\n return e.preventDefault(), t.removeItem(e);\n },\n keypress: function keypress(e) {\n return !e.type.indexOf(\"key\") && t._k(e.keyCode, \"enter\", 13, e.key, \"Enter\") ? null : t.removeItem(e);\n }\n }\n }) : t._e();\n};\n\nse._withStripped = !0;\n\nvar ae = U({\n render: se,\n staticRenderFns: []\n}, void 0, ne, void 0, !1, void 0, !1, void 0, void 0, void 0),\n le = function le() {\n this.options = {}, this.defaults = {\n components: {\n FormulateSlot: $,\n FormulateForm: q,\n FormulateFile: ut,\n FormulateHelp: st,\n FormulateLabel: mt,\n FormulateInput: tt,\n FormulateErrors: ot,\n FormulateSchema: k,\n FormulateAddMore: yt,\n FormulateGrouping: pt,\n FormulateInputBox: _t,\n FormulateInputText: At,\n FormulateInputFile: kt,\n FormulateErrorList: Ot,\n FormulateRepeatable: Dt,\n FormulateInputGroup: Mt,\n FormulateInputButton: Tt,\n FormulateInputSelect: Wt,\n FormulateInputSlider: Kt,\n FormulateButtonContent: Xt,\n FormulateInputTextArea: ee,\n FormulateRepeatableRemove: ae,\n FormulateRepeatableProvider: ie\n },\n slotComponents: {\n addMore: \"FormulateAddMore\",\n buttonContent: \"FormulateButtonContent\",\n errorList: \"FormulateErrorList\",\n errors: \"FormulateErrors\",\n file: \"FormulateFile\",\n help: \"FormulateHelp\",\n label: \"FormulateLabel\",\n prefix: !1,\n remove: \"FormulateRepeatableRemove\",\n repeatable: \"FormulateRepeatable\",\n suffix: !1,\n uploadAreaMask: \"div\"\n },\n slotProps: {},\n library: n,\n rules: b,\n mimes: _,\n locale: !1,\n uploader: S,\n uploadUrl: !1,\n fileUrlKey: \"url\",\n uploadJustCompleteDuration: 1e3,\n errorHandler: function errorHandler(t) {\n return t;\n },\n plugins: [o],\n locales: {},\n failedValidation: function failedValidation() {\n return !1;\n },\n idPrefix: \"formulate-\",\n baseClasses: function baseClasses(t) {\n return t;\n },\n coreClasses: A,\n classes: {},\n useInputDecorators: !0,\n validationNameStrategy: !1\n }, this.registry = new Map(), this.idRegistry = {};\n};\n\nle.prototype.install = function (t, e) {\n var r = this;\n t.prototype.$formulate = this, this.options = this.defaults;\n var o = this.defaults.plugins;\n\n for (var i in e && Array.isArray(e.plugins) && e.plugins.length && (o = o.concat(e.plugins)), o.forEach(function (t) {\n return \"function\" == typeof t ? t(r) : null;\n }), this.extend(e || {}), this.options.components) {\n t.component(i, this.options.components[i]);\n }\n}, le.prototype.nextId = function (t) {\n var e = !(!t.$route || !t.$route.path) && t.$route.path ? t.$route.path.replace(/[/\\\\.\\s]/g, \"-\") : \"global\";\n return Object.prototype.hasOwnProperty.call(this.idRegistry, e) || (this.idRegistry[e] = 0), \"\" + this.options.idPrefix + e + \"-\" + ++this.idRegistry[e];\n}, le.prototype.extend = function (t) {\n if (\"object\" == _typeof(t)) return this.options = this.merge(this.options, t), this;\n throw new Error(\"Formulate.extend expects an object, was \" + _typeof(t));\n}, le.prototype.merge = function (t, e, o) {\n void 0 === o && (o = !0);\n var i = {};\n\n for (var n in t) {\n e.hasOwnProperty(n) ? r(e[n]) && r(t[n]) ? i[n] = this.merge(t[n], e[n], o) : o && Array.isArray(t[n]) && Array.isArray(e[n]) ? i[n] = t[n].concat(e[n]) : i[n] = e[n] : i[n] = t[n];\n }\n\n for (var s in e) {\n i.hasOwnProperty(s) || (i[s] = e[s]);\n }\n\n return i;\n}, le.prototype.classify = function (t) {\n return this.options.library.hasOwnProperty(t) ? this.options.library[t].classification : \"unknown\";\n}, le.prototype.classes = function (t) {\n var e = this,\n r = this.options.coreClasses(t),\n o = this.options.baseClasses(r, t);\n return Object.keys(o).reduce(function (r, i) {\n var n,\n s = V(o[i], e.options.classes[i], t);\n return s = function (t, e, r, o) {\n return Object.keys(w).reduce(function (e, i) {\n if (w[i](o)) {\n var n = \"\" + t + u(i),\n s = n + \"Class\";\n if (r[n]) e = V(e, \"string\" == typeof r[n] ? c(r[n]) : r[n], o);\n if (o[s]) e = V(e, \"string\" == typeof o[s] ? c(o[s]) : o[n + \"Class\"], o);\n }\n\n return e;\n }, e);\n }(i, s = V(s, t[i + \"Class\"], t), e.options.classes, t), Object.assign(r, ((n = {})[i] = s, n));\n }, {});\n}, le.prototype.typeProps = function (t) {\n var e = function e(t) {\n return Object.keys(t).reduce(function (e, r) {\n return Array.isArray(t[r]) ? e.concat(t[r]) : e;\n }, []);\n },\n r = e(this.options.slotProps);\n\n return this.options.library[t] ? r.concat(e(this.options.library[t].slotProps || {})) : r;\n}, le.prototype.slotProps = function (t, e, r) {\n var o = Array.isArray(this.options.slotProps[e]) ? this.options.slotProps[e] : [],\n i = this.options.library[t];\n return i && i.slotProps && Array.isArray(i.slotProps[e]) && (o = o.concat(i.slotProps[e])), o.reduce(function (t, e) {\n var o;\n return Object.assign(t, ((o = {})[e] = r[e], o));\n }, {});\n}, le.prototype.component = function (t) {\n return !!this.options.library.hasOwnProperty(t) && this.options.library[t].component;\n}, le.prototype.slotComponent = function (t, e) {\n var r = this.options.library[t];\n return r && r.slotComponents && r.slotComponents[e] ? r.slotComponents[e] : this.options.slotComponents[e];\n}, le.prototype.rules = function (t) {\n return void 0 === t && (t = {}), Object.assign({}, this.options.rules, t);\n}, le.prototype.i18n = function (t) {\n if (t.$i18n) switch (_typeof(t.$i18n.locale)) {\n case \"string\":\n return t.$i18n.locale;\n\n case \"function\":\n return t.$i18n.locale();\n }\n return !1;\n}, le.prototype.getLocale = function (t) {\n var e = this;\n return this.selectedLocale || (this.selectedLocale = [this.options.locale, this.i18n(t), \"en\"].reduce(function (t, r) {\n if (t) return t;\n\n if (r) {\n var o = function (t) {\n return t.split(\"-\").reduce(function (t, e) {\n return t.length && t.unshift(t[0] + \"-\" + e), t.length ? t : [e];\n }, []);\n }(r).find(function (t) {\n return f(e.options.locales, t);\n });\n\n o && (t = o);\n }\n\n return t;\n }, !1)), this.selectedLocale;\n}, le.prototype.setLocale = function (t) {\n f(this.options.locales, t) && (this.options.locale = t, this.selectedLocale = t, this.registry.forEach(function (t, e) {\n t.hasValidationErrors();\n }));\n}, le.prototype.validationMessage = function (t, e, r) {\n var o = this.options.locales[this.getLocale(r)];\n return o.hasOwnProperty(t) ? o[t](e) : o.hasOwnProperty(\"default\") ? o.default(e) : \"Invalid field value\";\n}, le.prototype.register = function (t) {\n \"FormulateForm\" === t.$options.name && t.name && this.registry.set(t.name, t);\n}, le.prototype.deregister = function (t) {\n \"FormulateForm\" === t.$options.name && t.name && this.registry.has(t.name) && this.registry.delete(t.name);\n}, le.prototype.handle = function (t, e, r) {\n void 0 === r && (r = !1);\n var o = r ? t : this.options.errorHandler(t, e);\n return e && this.registry.has(e) && this.registry.get(e).applyErrors({\n formErrors: c(o.formErrors),\n inputErrors: o.inputErrors || {}\n }), o;\n}, le.prototype.reset = function (t, e) {\n void 0 === e && (e = {}), this.resetValidation(t), this.setValues(t, e);\n}, le.prototype.submit = function (t) {\n this.registry.get(t).formSubmitted();\n}, le.prototype.resetValidation = function (t) {\n var e = this.registry.get(t);\n e.hideErrors(t), e.namedErrors = [], e.namedFieldErrors = {};\n}, le.prototype.setValues = function (t, e) {\n e && !Array.isArray(e) && \"object\" == _typeof(e) && this.registry.get(t).setValues(Object.assign({}, e));\n}, le.prototype.getUploader = function () {\n return this.options.uploader || !1;\n}, le.prototype.getUploadUrl = function () {\n return this.options.uploadUrl || !1;\n}, le.prototype.getFileUrlKey = function () {\n return this.options.fileUrlKey || \"url\";\n}, le.prototype.createUpload = function (t, e) {\n return new y(t, e, this.options);\n}, le.prototype.failedValidation = function (t) {\n return this.options.failedValidation(this);\n};\nvar ue = new le();\nexport default ue;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-icon',{attrs:{\"size\":_vm.size,\"icon\":_vm.icon,\"type\":_vm.type,\"icons\":_vm.icons}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","\n\n","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=50e86ae1&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n methods: {\n async replaceRoute(name, params = {}) {\n if (this.$route.name !== name) {\n return this.$router.replace({ name, params });\n }\n return undefined;\n },\n },\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","/**\n * Returns the [year, month, day, hour, minute, seconds] tokens of the provided\n * `date` as it will be rendered in the `timeZone`.\n */\nexport default function tzTokenizeDate(date, timeZone) {\n var dtf = getDateTimeFormat(timeZone);\n return dtf.formatToParts ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nvar typeToPos = {\n year: 0,\n month: 1,\n day: 2,\n hour: 3,\n minute: 4,\n second: 5\n};\n\nfunction partsOffset(dtf, date) {\n try {\n var formatted = dtf.formatToParts(date);\n var filled = [];\n\n for (var i = 0; i < formatted.length; i++) {\n var pos = typeToPos[formatted[i].type];\n\n if (pos >= 0) {\n filled[pos] = parseInt(formatted[i].value, 10);\n }\n }\n\n return filled;\n } catch (error) {\n if (error instanceof RangeError) {\n return [NaN];\n }\n\n throw error;\n }\n}\n\nfunction hackyOffset(dtf, date) {\n var formatted = dtf.format(date).replace(/\\u200E/g, '');\n var parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted); // var [, fMonth, fDay, fYear, fHour, fMinute, fSecond] = parsed\n // return [fYear, fMonth, fDay, fHour, fMinute, fSecond]\n\n return [parsed[3], parsed[1], parsed[2], parsed[4], parsed[5], parsed[6]];\n} // Get a cached Intl.DateTimeFormat instance for the IANA `timeZone`. This can be used\n// to get deterministic local date/time output according to the `en-US` locale which\n// can be used to extract local time parts as necessary.\n\n\nvar dtfCache = {};\n\nfunction getDateTimeFormat(timeZone) {\n if (!dtfCache[timeZone]) {\n // New browsers use `hourCycle`, IE and Chrome <73 does not support it and uses `hour12`\n var testDateFormatted = new Intl.DateTimeFormat('en-US', {\n hour12: false,\n timeZone: 'America/New_York',\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n }).format(new Date('2014-06-25T04:00:00.123Z'));\n var hourCycleSupported = testDateFormatted === '06/25/2014, 00:00:00' || testDateFormatted === '‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00';\n dtfCache[timeZone] = hourCycleSupported ? new Intl.DateTimeFormat('en-US', {\n hour12: false,\n timeZone: timeZone,\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n }) : new Intl.DateTimeFormat('en-US', {\n hourCycle: 'h23',\n timeZone: timeZone,\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n });\n }\n\n return dtfCache[timeZone];\n}","/**\n * Use instead of `new Date(Date.UTC(...))` to support years below 100 which doesn't work\n * otherwise due to the nature of the\n * [`Date` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#interpretation_of_two-digit_years.\n *\n * For `Date.UTC(...)`, use `newDateUTC(...).getTime()`.\n */\nexport default function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n var utcDate = new Date(0);\n utcDate.setUTCFullYear(fullYear, month, day);\n utcDate.setUTCHours(hour, minute, second, millisecond);\n return utcDate;\n}","import tzTokenizeDate from '../tzTokenizeDate/index.js';\nimport newDateUTC from '../newDateUTC/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar patterns = {\n timezone: /([Z+-].*)$/,\n timezoneZ: /^(Z)$/,\n timezoneHH: /^([+-]\\d{2})$/,\n timezoneHHMM: /^([+-]\\d{2}):?(\\d{2})$/\n}; // Parse various time zone offset formats to an offset in milliseconds\n\nexport default function tzParseTimezone(timezoneString, date, isUtcDate) {\n var token;\n var absoluteOffset; // Empty string\n\n if (timezoneString === '') {\n return 0;\n } // Z\n\n\n token = patterns.timezoneZ.exec(timezoneString);\n\n if (token) {\n return 0;\n }\n\n var hours; // ±hh\n\n token = patterns.timezoneHH.exec(timezoneString);\n\n if (token) {\n hours = parseInt(token[1], 10);\n\n if (!validateTimezone(hours)) {\n return NaN;\n }\n\n return -(hours * MILLISECONDS_IN_HOUR);\n } // ±hh:mm or ±hhmm\n\n\n token = patterns.timezoneHHMM.exec(timezoneString);\n\n if (token) {\n hours = parseInt(token[1], 10);\n var minutes = parseInt(token[2], 10);\n\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n\n absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n return hours > 0 ? -absoluteOffset : absoluteOffset;\n } // IANA time zone\n\n\n if (isValidTimezoneIANAString(timezoneString)) {\n date = new Date(date || Date.now());\n var utcDate = isUtcDate ? date : toUtcDate(date);\n var offset = calcOffset(utcDate, timezoneString);\n var fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n return -fixedOffset;\n }\n\n return NaN;\n}\n\nfunction toUtcDate(date) {\n return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\n\nfunction calcOffset(date, timezoneString) {\n var tokens = tzTokenizeDate(date, timezoneString); // ms dropped because it's not provided by tzTokenizeDate\n\n var asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n var asTS = date.getTime();\n var over = asTS % 1000;\n asTS -= over >= 0 ? over : 1000 + over;\n return asUTC - asTS;\n}\n\nfunction fixOffset(date, offset, timezoneString) {\n var localTS = date.getTime(); // Our UTC time is just a guess because our offset is just a guess\n\n var utcGuess = localTS - offset; // Test whether the zone matches the offset for this ts\n\n var o2 = calcOffset(new Date(utcGuess), timezoneString); // If so, offset didn't change, and we're done\n\n if (offset === o2) {\n return offset;\n } // If not, change the ts by the difference in the offset\n\n\n utcGuess -= o2 - offset; // If that gives us the local time we want, we're done\n\n var o3 = calcOffset(new Date(utcGuess), timezoneString);\n\n if (o2 === o3) {\n return o2;\n } // If it's different, we're in a hole time. The offset has changed, but we don't adjust the time\n\n\n return Math.max(o2, o3);\n}\n\nfunction validateTimezone(hours, minutes) {\n return -23 <= hours && hours <= 23 && (minutes == null || 0 <= minutes && minutes <= 59);\n}\n\nvar validIANATimezoneCache = {};\n\nfunction isValidTimezoneIANAString(timeZoneString) {\n if (validIANATimezoneCache[timeZoneString]) return true;\n\n try {\n Intl.DateTimeFormat(undefined, {\n timeZone: timeZoneString\n });\n validIANATimezoneCache[timeZoneString] = true;\n return true;\n } catch (error) {\n return false;\n }\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport toInteger from 'date-fns/_lib/toInteger/index.js';\nimport getTimezoneOffsetInMilliseconds from 'date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport tzParseTimezone from '../_lib/tzParseTimezone/index.js';\nimport tzPattern from '../_lib/tzPattern/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar DEFAULT_ADDITIONAL_DIGITS = 2;\nvar patterns = {\n dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n datePattern: /^([0-9W+-]+)(.*)/,\n plainTime: /:/,\n // year tokens\n YY: /^(\\d{2})$/,\n YYY: [/^([+-]\\d{2})$/, // 0 additional digits\n /^([+-]\\d{3})$/, // 1 additional digit\n /^([+-]\\d{4})$/ // 2 additional digits\n ],\n YYYY: /^(\\d{4})/,\n YYYYY: [/^([+-]\\d{4})/, // 0 additional digits\n /^([+-]\\d{5})/, // 1 additional digit\n /^([+-]\\d{6})/ // 2 additional digits\n ],\n // date tokens\n MM: /^-(\\d{2})$/,\n DDD: /^-?(\\d{3})$/,\n MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n Www: /^-?W(\\d{2})$/,\n WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n HH: /^(\\d{2}([.,]\\d*)?)$/,\n HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n // time zone tokens (to identify the presence of a tz)\n timeZone: tzPattern\n};\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n * If the function cannot parse the string or the values are invalid, it returns Invalid Date.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n * All *date-fns* functions will throw `RangeError` if `options.additionalDigits` is not 0, 1, 2 or undefined.\n *\n * @param {Date|String|Number} argument - the value to convert\n * @param {OptionsWithTZ} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @param {String} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * var result = toDate('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert string '+02014101' to date,\n * // if the additional number of digits in the extended year format is 1:\n * var result = toDate('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\n\nexport default function toDate(argument, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n if (argument === null) {\n return new Date(NaN);\n }\n\n var options = dirtyOptions || {};\n var additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : toInteger(options.additionalDigits);\n\n if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n throw new RangeError('additionalDigits must be 0, 1 or 2');\n } // Clone the date\n\n\n if (argument instanceof Date || _typeof(argument) === 'object' && Object.prototype.toString.call(argument) === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || Object.prototype.toString.call(argument) === '[object Number]') {\n return new Date(argument);\n } else if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) {\n return new Date(NaN);\n }\n\n var dateStrings = splitDateString(argument);\n var parseYearResult = parseYear(dateStrings.date, additionalDigits);\n var year = parseYearResult.year;\n var restDateString = parseYearResult.restDateString;\n var date = parseDate(restDateString, year);\n\n if (isNaN(date)) {\n return new Date(NaN);\n }\n\n if (date) {\n var timestamp = date.getTime();\n var time = 0;\n var offset;\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n\n if (isNaN(time)) {\n return new Date(NaN);\n }\n }\n\n if (dateStrings.timeZone || options.timeZone) {\n offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n } else {\n // get offset accurate to hour in time zones that change offset\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n }\n\n return new Date(timestamp + time + offset);\n } else {\n return new Date(NaN);\n }\n}\n\nfunction splitDateString(dateString) {\n var dateStrings = {};\n var parts = patterns.dateTimePattern.exec(dateString);\n var timeString;\n\n if (!parts) {\n parts = patterns.datePattern.exec(dateString);\n\n if (parts) {\n dateStrings.date = parts[1];\n timeString = parts[2];\n } else {\n dateStrings.date = null;\n timeString = dateString;\n }\n } else {\n dateStrings.date = parts[1];\n timeString = parts[3];\n }\n\n if (timeString) {\n var token = patterns.timeZone.exec(timeString);\n\n if (token) {\n dateStrings.time = timeString.replace(token[1], '');\n dateStrings.timeZone = token[1].trim();\n } else {\n dateStrings.time = timeString;\n }\n }\n\n return dateStrings;\n}\n\nfunction parseYear(dateString, additionalDigits) {\n var patternYYY = patterns.YYY[additionalDigits];\n var patternYYYYY = patterns.YYYYY[additionalDigits];\n var token; // YYYY or ±YYYYY\n\n token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n\n if (token) {\n var yearString = token[1];\n return {\n year: parseInt(yearString, 10),\n restDateString: dateString.slice(yearString.length)\n };\n } // YY or ±YYY\n\n\n token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n\n if (token) {\n var centuryString = token[1];\n return {\n year: parseInt(centuryString, 10) * 100,\n restDateString: dateString.slice(centuryString.length)\n };\n } // Invalid ISO-formatted year\n\n\n return {\n year: null\n };\n}\n\nfunction parseDate(dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) {\n return null;\n }\n\n var token;\n var date;\n var month;\n var week; // YYYY\n\n if (dateString.length === 0) {\n date = new Date(0);\n date.setUTCFullYear(year);\n return date;\n } // YYYY-MM\n\n\n token = patterns.MM.exec(dateString);\n\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n\n if (!validateDate(year, month)) {\n return new Date(NaN);\n }\n\n date.setUTCFullYear(year, month);\n return date;\n } // YYYY-DDD or YYYYDDD\n\n\n token = patterns.DDD.exec(dateString);\n\n if (token) {\n date = new Date(0);\n var dayOfYear = parseInt(token[1], 10);\n\n if (!validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n\n date.setUTCFullYear(year, 0, dayOfYear);\n return date;\n } // yyyy-MM-dd or YYYYMMDD\n\n\n token = patterns.MMDD.exec(dateString);\n\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n var day = parseInt(token[2], 10);\n\n if (!validateDate(year, month, day)) {\n return new Date(NaN);\n }\n\n date.setUTCFullYear(year, month, day);\n return date;\n } // YYYY-Www or YYYYWww\n\n\n token = patterns.Www.exec(dateString);\n\n if (token) {\n week = parseInt(token[1], 10) - 1;\n\n if (!validateWeekDate(year, week)) {\n return new Date(NaN);\n }\n\n return dayOfISOWeekYear(year, week);\n } // YYYY-Www-D or YYYYWwwD\n\n\n token = patterns.WwwD.exec(dateString);\n\n if (token) {\n week = parseInt(token[1], 10) - 1;\n var dayOfWeek = parseInt(token[2], 10) - 1;\n\n if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n\n return dayOfISOWeekYear(year, week, dayOfWeek);\n } // Invalid ISO-formatted date\n\n\n return null;\n}\n\nfunction parseTime(timeString) {\n var token;\n var hours;\n var minutes; // hh\n\n token = patterns.HH.exec(timeString);\n\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'));\n\n if (!validateTime(hours)) {\n return NaN;\n }\n\n return hours % 24 * MILLISECONDS_IN_HOUR;\n } // hh:mm or hhmm\n\n\n token = patterns.HHMM.exec(timeString);\n\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseFloat(token[2].replace(',', '.'));\n\n if (!validateTime(hours, minutes)) {\n return NaN;\n }\n\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n } // hh:mm:ss or hhmmss\n\n\n token = patterns.HHMMSS.exec(timeString);\n\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseInt(token[2], 10);\n var seconds = parseFloat(token[3].replace(',', '.'));\n\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n } // Invalid ISO-formatted time\n\n\n return null;\n}\n\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n week = week || 0;\n day = day || 0;\n var date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n var fourthOfJanuaryDay = date.getUTCDay() || 7;\n var diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n} // Validation functions\n\n\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n\nfunction validateDate(year, month, date) {\n if (month < 0 || month > 11) {\n return false;\n }\n\n if (date != null) {\n if (date < 1) {\n return false;\n }\n\n var isLeapYear = isLeapYearIndex(year);\n\n if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n return false;\n }\n\n if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction validateDayOfYearDate(year, dayOfYear) {\n if (dayOfYear < 1) {\n return false;\n }\n\n var isLeapYear = isLeapYearIndex(year);\n\n if (isLeapYear && dayOfYear > 366) {\n return false;\n }\n\n if (!isLeapYear && dayOfYear > 365) {\n return false;\n }\n\n return true;\n}\n\nfunction validateWeekDate(year, week, day) {\n if (week < 0 || week > 52) {\n return false;\n }\n\n if (day != null && (day < 0 || day > 6)) {\n return false;\n }\n\n return true;\n}\n\nfunction validateTime(hours, minutes, seconds) {\n if (hours != null && (hours < 0 || hours >= 25)) {\n return false;\n }\n\n if (minutes != null && (minutes < 0 || minutes >= 60)) {\n return false;\n }\n\n if (seconds != null && (seconds < 0 || seconds >= 60)) {\n return false;\n }\n\n return true;\n}","/** Regex to identify the presence of a time zone specifier in a date string */\nvar tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\nexport default tzPattern;","import tzParseTimezone from '../_lib/tzParseTimezone/index.js';\nimport toDate from '../toDate/index.js';\n/**\n * @name utcToZonedTime\n * @category Time Zone Helpers\n * @summary Get a date/time representing local time in a given time zone from the UTC date\n *\n * @description\n * Returns a date instance with values representing the local time in the time zone\n * specified of the UTC time from the date provided. In other words, when the new date\n * is formatted it will show the equivalent hours in the target time zone regardless\n * of the current system time zone.\n *\n * @param {Date|String|Number} date - the date with the relevant UTC time\n * @param {String} timeZone - the time zone to get local time for, can be an offset or IANA time zone\n * @param {OptionsWithTZ} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * @returns {Date} the new date with the equivalent time in the time zone\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am UTC is 6am in New York (-04:00)\n * const result = utcToZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')\n * //=> Jun 25 2014 06:00:00\n */\n\nexport default function utcToZonedTime(dirtyDate, timeZone, options) {\n var date = toDate(dirtyDate, options);\n var offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n var d = new Date(date.getTime() - offsetMilliseconds);\n return new Date(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate(), d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n}","import { utcToZonedTime } from 'date-fns-tz';\nimport { isTimeAfter } from 'shared/helpers/DateHelper';\n\nexport default {\n computed: {\n channelConfig() {\n return window.chatwootWebChannel;\n },\n replyTime() {\n return window.chatwootWebChannel.replyTime;\n },\n replyTimeStatus() {\n switch (this.replyTime) {\n case 'in_a_few_minutes':\n return this.$t('REPLY_TIME.IN_A_FEW_MINUTES');\n case 'in_a_few_hours':\n return this.$t('REPLY_TIME.IN_A_FEW_HOURS');\n case 'in_a_day':\n return this.$t('REPLY_TIME.IN_A_DAY');\n default:\n return this.$t('REPLY_TIME.IN_A_FEW_HOURS');\n }\n },\n outOfOfficeMessage() {\n return this.channelConfig.outOfOfficeMessage;\n },\n isInBetweenTheWorkingHours() {\n const {\n openHour,\n openMinute,\n closeHour,\n closeMinute,\n closedAllDay,\n openAllDay,\n } = this.currentDayAvailability;\n\n if (openAllDay) {\n return true;\n }\n\n if (closedAllDay) {\n return false;\n }\n\n const { utcOffset } = this.channelConfig;\n const today = this.getDateWithOffset(utcOffset);\n const currentHours = today.getHours();\n const currentMinutes = today.getMinutes();\n const isAfterStartTime = isTimeAfter(\n currentHours,\n currentMinutes,\n openHour,\n openMinute\n );\n const isBeforeEndTime = isTimeAfter(\n closeHour,\n closeMinute,\n currentHours,\n currentMinutes\n );\n return isAfterStartTime && isBeforeEndTime;\n },\n currentDayAvailability() {\n const { utcOffset } = this.channelConfig;\n const dayOfTheWeek = this.getDateWithOffset(utcOffset).getDay();\n const [workingHourConfig = {}] = this.channelConfig.workingHours.filter(\n workingHour => workingHour.day_of_week === dayOfTheWeek\n );\n return {\n closedAllDay: workingHourConfig.closed_all_day,\n openHour: workingHourConfig.open_hour,\n openMinute: workingHourConfig.open_minutes,\n closeHour: workingHourConfig.close_hour,\n closeMinute: workingHourConfig.close_minutes,\n openAllDay: workingHourConfig.open_all_day,\n };\n },\n isInBusinessHours() {\n const { workingHoursEnabled } = this.channelConfig;\n return workingHoursEnabled ? this.isInBetweenTheWorkingHours : true;\n },\n },\n\n methods: {\n getDateWithOffset(utcOffset) {\n return utcToZonedTime(new Date().toISOString(), utcOffset);\n },\n },\n};\n","import { API } from 'widget/helpers/axios';\nimport { buildSearchParamsWithLocale } from '../helpers/urlParamsHelper';\n\nexport const generateEventParams = () => ({\n initiated_at: {\n timestamp: new Date().toString(),\n },\n referer: window.referrerURL || '',\n});\n\nexport default {\n create(name) {\n const search = buildSearchParamsWithLocale(window.location.search);\n return API.post(`/api/v1/widget/events${search}`, {\n name,\n event_info: generateEventParams(),\n });\n },\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"spinner\",class:_vm.size})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Spinner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Spinner.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./Spinner.vue?vue&type=template&id=c9110462&scoped=true&\"\nimport script from \"./Spinner.vue?vue&type=script&lang=js&\"\nexport * from \"./Spinner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Spinner.vue?vue&type=style&index=0&id=c9110462&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c9110462\",\n null\n \n)\n\nexport default component.exports","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","'use strict';\nvar aFunction = require('../internals/a-function');\nvar isObject = require('../internals/is-object');\n\nvar slice = [].slice;\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!(argsLength in factories)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func -- we have no proper alternatives, IE8- only\n factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = slice.call(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = partArgs.concat(slice.call(arguments));\n return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n };\n if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n return boundFunction;\n};\n","\"use strict\";\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.buildDirective = void 0;\n\nvar dompurify_1 = __importDefault(require(\"dompurify\"));\n\nfunction setUpHooks(config) {\n var _a;\n\n var hooks = (_a = config.hooks) !== null && _a !== void 0 ? _a : {};\n var hookName;\n\n for (hookName in hooks) {\n var hook = hooks[hookName];\n\n if (hook !== undefined) {\n dompurify_1.default.addHook(hookName, hook);\n }\n }\n}\n\nfunction buildDirective(config) {\n if (config === void 0) {\n config = {};\n }\n\n setUpHooks(config);\n\n var updateComponent = function updateComponent(el, binding) {\n var _a;\n\n if (binding.oldValue === binding.value) {\n return;\n }\n\n var arg = binding.arg;\n var namedConfigurations = config.namedConfigurations;\n\n if (namedConfigurations && arg !== undefined && typeof namedConfigurations[arg] !== 'undefined') {\n el.innerHTML = dompurify_1.default.sanitize(binding.value, namedConfigurations[arg]);\n return;\n }\n\n el.innerHTML = dompurify_1.default.sanitize(binding.value, (_a = config.default) !== null && _a !== void 0 ? _a : {});\n };\n\n return {\n inserted: updateComponent,\n update: updateComponent,\n unbind: function unbind(el) {\n el.innerHTML = '';\n }\n };\n}\n\nexports.buildDirective = buildDirective;","function _typeof2(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\n/*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof2(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.DOMPurify = factory());\n})(this, function () {\n 'use strict';\n\n function _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n }\n\n var hasOwnProperty = Object.hasOwnProperty,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\n\n var _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\n\n if (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n }\n\n if (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n }\n\n if (!seal) {\n seal = function seal(x) {\n return x;\n };\n }\n\n if (!construct) {\n construct = function construct(Func, args) {\n return new (Function.prototype.bind.apply(Func, [null].concat(_toConsumableArray(args))))();\n };\n }\n\n var arrayForEach = unapply(Array.prototype.forEach);\n var arrayPop = unapply(Array.prototype.pop);\n var arrayPush = unapply(Array.prototype.push);\n var stringToLowerCase = unapply(String.prototype.toLowerCase);\n var stringMatch = unapply(String.prototype.match);\n var stringReplace = unapply(String.prototype.replace);\n var stringIndexOf = unapply(String.prototype.indexOf);\n var stringTrim = unapply(String.prototype.trim);\n var regExpTest = unapply(RegExp.prototype.test);\n var typeErrorCreate = unconstruct(TypeError);\n\n function unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return apply(func, thisArg, args);\n };\n }\n\n function unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return construct(func, args);\n };\n }\n /* Add properties to a lookup table */\n\n\n function addToSet(set, array) {\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n\n var l = array.length;\n\n while (l--) {\n var element = array[l];\n\n if (typeof element === 'string') {\n var lcElement = stringToLowerCase(element);\n\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n\n element = lcElement;\n }\n }\n\n set[element] = true;\n }\n\n return set;\n }\n /* Shallow clone an object */\n\n\n function clone(object) {\n var newObject = create(null);\n var property = void 0;\n\n for (property in object) {\n if (apply(hasOwnProperty, object, [property])) {\n newObject[property] = object[property];\n }\n }\n\n return newObject;\n }\n /* IE10 doesn't support __lookupGetter__ so lets'\n * simulate it. It also automatically checks\n * if the prop is function or getter and behaves\n * accordingly. */\n\n\n function lookupGetter(object, prop) {\n while (object !== null) {\n var desc = getOwnPropertyDescriptor(object, prop);\n\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n\n object = getPrototypeOf(object);\n }\n\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n\n return fallbackValue;\n }\n\n var html = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG\n\n var svg = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\n var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.\n // We still need to know them so that we can do namespace\n // checks properly in case one wants to add them to\n // allow-list.\n\n var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\n var mathMl = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']); // Similarly to SVG, we want to know all MathML elements,\n // even those that we disallow by default.\n\n var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\n var text = freeze(['#text']);\n var html$1 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\n var svg$1 = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\n var mathMl$1 = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\n var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']); // eslint-disable-next-line unicorn/better-regex\n\n var MUSTACHE_EXPR = seal(/\\{\\{[\\s\\S]*|[\\s\\S]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n\n var ERB_EXPR = seal(/<%[\\s\\S]*|[\\s\\S]*%>/gm);\n var DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\n\n var ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n\n var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n );\n var IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\n var ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n );\n var DOCTYPE_NAME = seal(/^html$/i);\n\n var _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n\n function _toConsumableArray$1(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n }\n\n var getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n };\n /**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {Document} document The document object (to determine policy name suffix)\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported).\n */\n\n\n var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {\n if ((typeof trustedTypes === 'undefined' ? 'undefined' : _typeof(trustedTypes)) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n } // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n\n\n var suffix = null;\n var ATTR_NAME = 'data-tt-policy-suffix';\n\n if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {\n suffix = document.currentScript.getAttribute(ATTR_NAME);\n }\n\n var policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML: function createHTML(html$$1) {\n return html$$1;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n };\n\n function createDOMPurify() {\n var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n\n var DOMPurify = function DOMPurify(root) {\n return createDOMPurify(root);\n };\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n\n\n DOMPurify.version = '2.3.6';\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n\n DOMPurify.removed = [];\n\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n\n var originalDocument = window.document;\n var document = window.document;\n var DocumentFragment = window.DocumentFragment,\n HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap,\n NamedNodeMap = _window$NamedNodeMap === undefined ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,\n HTMLFormElement = window.HTMLFormElement,\n DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n var ElementPrototype = Element.prototype;\n var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n var getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n\n if (typeof HTMLTemplateElement === 'function') {\n var template = document.createElement('template');\n\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n\n var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);\n\n var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';\n var _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment,\n getElementsByTagName = _document.getElementsByTagName;\n var importNode = originalDocument.importNode;\n var documentMode = {};\n\n try {\n documentMode = clone(document).documentMode ? document.documentMode : {};\n } catch (_) {}\n\n var hooks = {};\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n\n DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;\n var MUSTACHE_EXPR$$1 = MUSTACHE_EXPR,\n ERB_EXPR$$1 = ERB_EXPR,\n DATA_ATTR$$1 = DATA_ATTR,\n ARIA_ATTR$$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$$1 = ATTR_WHITESPACE;\n var IS_ALLOWED_URI$$1 = IS_ALLOWED_URI;\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n\n var ALLOWED_TAGS = null;\n var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(html), _toConsumableArray$1(svg), _toConsumableArray$1(svgFilters), _toConsumableArray$1(mathMl), _toConsumableArray$1(text)));\n /* Allowed attribute names */\n\n var ALLOWED_ATTR = null;\n var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray$1(html$1), _toConsumableArray$1(svg$1), _toConsumableArray$1(mathMl$1), _toConsumableArray$1(xml)));\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n\n var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n\n var FORBID_TAGS = null;\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n\n var FORBID_ATTR = null;\n /* Decide if ARIA attributes are okay */\n\n var ALLOW_ARIA_ATTR = true;\n /* Decide if custom data attributes are okay */\n\n var ALLOW_DATA_ATTR = true;\n /* Decide if unknown protocols are okay */\n\n var ALLOW_UNKNOWN_PROTOCOLS = false;\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n\n var SAFE_FOR_TEMPLATES = false;\n /* Decide if document with ... should be returned */\n\n var WHOLE_DOCUMENT = false;\n /* Track whether config is already set on this instance of DOMPurify. */\n\n var SET_CONFIG = false;\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n\n var FORCE_BODY = false;\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n\n var RETURN_DOM = false;\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n\n var RETURN_DOM_FRAGMENT = false;\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n\n var RETURN_TRUSTED_TYPE = false;\n /* Output should be free from DOM clobbering attacks? */\n\n var SANITIZE_DOM = true;\n /* Keep element content when removing element? */\n\n var KEEP_CONTENT = true;\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n\n var IN_PLACE = false;\n /* Allow usage of profiles like html, svg and mathMl */\n\n var USE_PROFILES = {};\n /* Tags to ignore content of when KEEP_CONTENT is true */\n\n var FORBID_CONTENTS = null;\n var DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n /* Tags that are safe for data: URIs */\n\n var DATA_URI_TAGS = null;\n var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n /* Attributes safe for values like \"javascript:\" */\n\n var URI_SAFE_ATTRIBUTES = null;\n var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n\n var NAMESPACE = HTML_NAMESPACE;\n var IS_EMPTY_INPUT = false;\n /* Parsing of strict XHTML documents */\n\n var PARSER_MEDIA_TYPE = void 0;\n var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n var transformCaseFunc = void 0;\n /* Keep a reference to config to pass to hooks */\n\n var CONFIG = null;\n /* Ideally, do not touch anything below this line */\n\n /* ______________________________________________ */\n\n var formElement = document.createElement('form');\n\n var isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n\n\n var _parseConfig = function _parseConfig(cfg) {\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n /* Shield configuration object from tampering */\n\n\n if (!cfg || (typeof cfg === 'undefined' ? 'undefined' : _typeof(cfg)) !== 'object') {\n cfg = {};\n }\n /* Shield configuration object from prototype pollution */\n\n\n cfg = clone(cfg);\n /* Set configuration parameters */\n\n ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR) : DEFAULT_ALLOWED_ATTR;\n URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR) : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS) : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS) : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS) : {};\n FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR) : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n\n IS_ALLOWED_URI$$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$$1;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n\n PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? function (x) {\n return x;\n } : stringToLowerCase;\n\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n /* Parse profile info */\n\n\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(text)));\n ALLOWED_ATTR = [];\n\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html);\n addToSet(ALLOWED_ATTR, html$1);\n }\n\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg);\n addToSet(ALLOWED_ATTR, svg$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl);\n addToSet(ALLOWED_ATTR, mathMl$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n /* Merge configuration parameters */\n\n\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS);\n }\n\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR);\n }\n\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR);\n }\n\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS);\n }\n /* Add #text in case KEEP_CONTENT is set to true */\n\n\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n\n\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n\n\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n } // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n\n\n if (freeze) {\n freeze(cfg);\n }\n\n CONFIG = cfg;\n };\n\n var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']);\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n\n var ALL_SVG_TAGS = addToSet({}, svg);\n addToSet(ALL_SVG_TAGS, svgFilters);\n addToSet(ALL_SVG_TAGS, svgDisallowed);\n var ALL_MATHML_TAGS = addToSet({}, mathMl);\n addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n /**\n *\n *\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n\n var _checkValidNamespace = function _checkValidNamespace(element) {\n var parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: HTML_NAMESPACE,\n tagName: 'template'\n };\n }\n\n var tagName = stringToLowerCase(element.tagName);\n var parentTagName = stringToLowerCase(parent.tagName);\n\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n } // The only way to switch from MathML to SVG is via\n // svg if parent is either or MathML\n // text integration points.\n\n\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n } // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n\n\n return Boolean(ALL_SVG_TAGS[tagName]);\n }\n\n if (element.namespaceURI === MATHML_NAMESPACE) {\n // The only way to switch from HTML namespace to MathML\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n } // The only way to switch from SVG to MathML is via\n // and HTML integration points\n\n\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n } // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n\n\n return Boolean(ALL_MATHML_TAGS[tagName]);\n }\n\n if (element.namespaceURI === HTML_NAMESPACE) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n\n if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n return false;\n } // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erronously deleted from\n // HTML namespace.\n\n\n var commonSvgAndHTMLElements = addToSet({}, ['title', 'style', 'font', 'a', 'script']); // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n\n return !ALL_MATHML_TAGS[tagName] && (commonSvgAndHTMLElements[tagName] || !ALL_SVG_TAGS[tagName]);\n } // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG or MathML). Return false just in case.\n\n\n return false;\n };\n /**\n * _forceRemove\n *\n * @param {Node} node a DOM node\n */\n\n\n var _forceRemove = function _forceRemove(node) {\n arrayPush(DOMPurify.removed, {\n element: node\n });\n\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n node.parentNode.removeChild(node);\n } catch (_) {\n try {\n node.outerHTML = emptyHTML;\n } catch (_) {\n node.remove();\n }\n }\n };\n /**\n * _removeAttribute\n *\n * @param {String} name an Attribute name\n * @param {Node} node a DOM node\n */\n\n\n var _removeAttribute = function _removeAttribute(name, node) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: node.getAttributeNode(name),\n from: node\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: node\n });\n }\n\n node.removeAttribute(name); // We void attribute values for unremovable \"is\"\" attributes\n\n if (name === 'is' && !ALLOWED_ATTR[name]) {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(node);\n } catch (_) {}\n } else {\n try {\n node.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n /**\n * _initDocument\n *\n * @param {String} dirty a string of dirty markup\n * @return {Document} a DOM, filled with the dirty markup\n */\n\n\n var _initDocument = function _initDocument(dirty) {\n /* Create a HTML document */\n var doc = void 0;\n var leadingWhitespace = void 0;\n\n if (FORCE_BODY) {\n dirty = '' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n var matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml') {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty = '' + dirty + '';\n }\n\n var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n /* Use createHTMLDocument in case DOMParser is not available */\n\n\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT ? '' : dirtyPayload;\n } catch (_) {// Syntax error if dirtyPayload is invalid xml\n }\n }\n\n var body = doc.body || doc.documentElement;\n\n if (dirty && leadingWhitespace) {\n body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n }\n /* Work on whole document or just its body */\n\n\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n }\n\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n /**\n * _createIterator\n *\n * @param {Document} root document/fragment to create iterator for\n * @return {Iterator} iterator instance\n */\n\n\n var _createIterator = function _createIterator(root) {\n return createNodeIterator.call(root.ownerDocument || root, root, // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null, false);\n };\n /**\n * _isClobbered\n *\n * @param {Node} elm element to check for clobbering attacks\n * @return {Boolean} true if clobbered, false if safe\n */\n\n\n var _isClobbered = function _isClobbered(elm) {\n return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function');\n };\n /**\n * _isNode\n *\n * @param {Node} obj object to check whether it's a DOM node\n * @return {Boolean} true is object is a DOM node\n */\n\n\n var _isNode = function _isNode(object) {\n return (typeof Node === 'undefined' ? 'undefined' : _typeof(Node)) === 'object' ? object instanceof Node : object && (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';\n };\n /**\n * _executeHook\n * Execute user configurable hooks\n *\n * @param {String} entryPoint Name of the hook's entry point\n * @param {Node} currentNode node to work on with the hook\n * @param {Object} data additional hook parameters\n */\n\n\n var _executeHook = function _executeHook(entryPoint, currentNode, data) {\n if (!hooks[entryPoint]) {\n return;\n }\n\n arrayForEach(hooks[entryPoint], function (hook) {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n };\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n *\n * @param {Node} currentNode to check for permission to exist\n * @return {Boolean} true if node was killed, false if left alive\n */\n\n\n var _sanitizeElements = function _sanitizeElements(currentNode) {\n var content = void 0;\n /* Execute a hook if present */\n\n _executeHook('beforeSanitizeElements', currentNode, null);\n /* Check if element is clobbered or can clobber */\n\n\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n\n return true;\n }\n /* Check if tagname contains Unicode */\n\n\n if (stringMatch(currentNode.nodeName, /[\\u0080-\\uFFFF]/)) {\n _forceRemove(currentNode);\n\n return true;\n }\n /* Now let's check the element's type and name */\n\n\n var tagName = transformCaseFunc(currentNode.nodeName);\n /* Execute a hook if present */\n\n _executeHook('uponSanitizeElement', currentNode, {\n tagName: tagName,\n allowedTags: ALLOWED_TAGS\n });\n /* Detect mXSS attempts abusing namespace confusion */\n\n\n if (!_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\\w]/g, currentNode.innerHTML) && regExpTest(/<[/\\w]/g, currentNode.textContent)) {\n _forceRemove(currentNode);\n\n return true;\n }\n /* Mitigate a problem with templates inside select */\n\n\n if (tagName === 'select' && regExpTest(/