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S,CACP,aAAAC,CACD,CACH,CAAC,ECaKC,GAAOC,EAAW,CACtB,OAAQ,GACR,OAAQ,KACR,SAAUC,CACZ,CAAC,EAEKC,EAAMC,EAAUC,EAAG,EACzBF,EAAI,IAAIH,EAAI,EACZG,EAAI,IAAIN,EAAK,EACbM,EAAI,IAAIhB,CAAM,EAEdgB,EAAI,IAAIG,EAAU,EAKlBH,EAAI,UAAU,cAAeI,CAAU,EAEnC,OAAO,oBACTC,EAAY,CACV,IAAAL,EACA,IAAK,OAAO,mBACZ,SAAU,CAER,gBACA,qBACA,gBAGA,aAGA,yBACA,oBACF,EACA,aAAc,CAACM,EAAiC,CAAE,OAAAtB,CAAQ,EAAC,EAC3D,aAAc,CACZ,8DACF,EACD,EAGHuB,IACAC,IACApB,KAEA,OAAO,OAAS,IAAM,CACpBY,EAAI,MAAM,MAAM,CAClB","names":["e","t","module","this","r","n","a","o","i","u","s","c","f","_sfc_main","_hoisted_1","_createElementBlock","_normalizeClass","$options","_createElementVNode","_toDisplayString","$props","_openBlock","_hoisted_2","_createBlock","_component_router_link","_withCtx","_createTextVNode","_createCommentVNode","SnackbarItem","emitter","BUS_EVENTS","message","action","_TransitionGroup","_Fragment","_renderList","$data","snackbarAlertMessage","_component_SnackbarItem","SnackbarContainer","mql","locale","_createVNode","_component_router_view","_component_SnackbarContainer","Loggin","__vitePreload","Signup","ResetPassword","Confirmation","PasswordEdit","routes","frontendURL","route","router","createRouter","createWebHistory","sensitiveRouteNames","initalizeRouter","to","_","next","AnalyticsHelper","validateRouteAccess","store","createStore","globalConfig","i18n","createI18n","i18nMessages","app","createApp","App","VueTheMask","FluentIcon","Sentry.init","Sentry.browserTracingIntegration","initializeChatwootEvents","initializeAnalyticsEvents"],"ignoreList":[0],"sources":["../../../node_modules/.pnpm/vue-the-mask@0.11.1/node_modules/vue-the-mask/dist/vue-the-mask.js","../../../app/javascript/v3/components/SnackBar/Item.vue","../../../app/javascript/v3/components/SnackBar/Container.vue","../../../app/javascript/v3/App.vue","../../../app/javascript/v3/views/routes.js","../../../app/javascript/v3/views/index.js","../../../app/javascript/v3/store/index.js","../../../app/javascript/entrypoints/v3app.js"],"sourcesContent":["(function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.VueTheMask=t():e.VueTheMask=t()})(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\".\",t(t.s=10)}([function(e,t){e.exports={\"#\":{pattern:/\\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleLowerCase()}},\"!\":{escape:!0}}},function(e,t,n){\"use strict\";function r(e){var t=document.createEvent(\"Event\");return t.initEvent(e,!0,!0),t}var a=n(2),o=n(0),i=n.n(o);t.a=function(e,t){var o=t.value;if((Array.isArray(o)||\"string\"==typeof o)&&(o={mask:o,tokens:i.a}),\"INPUT\"!==e.tagName.toLocaleUpperCase()){var u=e.getElementsByTagName(\"input\");if(1!==u.length)throw new Error(\"v-mask directive requires 1 input, found \"+u.length);e=u[0]}e.oninput=function(t){if(t.isTrusted){var i=e.selectionEnd,u=e.value[i-1];for(e.value=n.i(a.a)(e.value,o.mask,!0,o.tokens);i2&&void 0!==arguments[2])||arguments[2],i=arguments[3];return Array.isArray(t)?n.i(a.a)(r.a,t,i)(e,t,o,i):n.i(r.a)(e,t,o,i)}},function(e,t,n){\"use strict\";function r(e){e.component(s.a.name,s.a),e.directive(\"mask\",i.a)}Object.defineProperty(t,\"__esModule\",{value:!0});var a=n(0),o=n.n(a),i=n(1),u=n(7),s=n.n(u);n.d(t,\"TheMask\",function(){return s.a}),n.d(t,\"mask\",function(){return i.a}),n.d(t,\"tokens\",function(){return o.a}),n.d(t,\"version\",function(){return c});var c=\"0.11.1\";t.default=r,\"undefined\"!=typeof window&&window.Vue&&window.Vue.use(r)},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(1),a=n(0),o=n.n(a),i=n(2);t.default={name:\"TheMask\",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:function(){return o.a}}},directives:{mask:r.a},data:function(){return{lastValue:null,display:this.value}},watch:{value:function(e){e!==this.lastValue&&(this.display=e)},masked:function(){this.refresh(this.display)}},computed:{config:function(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput:function(e){e.isTrusted||this.refresh(e.target.value)},refresh:function(e){this.display=e;var e=n.i(i.a)(e,this.mask,this.masked,this.tokens);e!==this.lastValue&&(this.lastValue=e,this.$emit(\"input\",e))}}}},function(e,t,n){\"use strict\";function r(e,t,n){return t=t.sort(function(e,t){return e.length-t.length}),function(r,a){for(var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=0;iu.length))return e(r,u,o,n)}return\"\"}}t.a=r},function(e,t,n){\"use strict\";function r(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];e=e||\"\",t=t||\"\";for(var a=0,o=0,i=\"\";a\nexport default {\n props: {\n message: { type: String, default: '' },\n action: {\n type: Object,\n default: () => ({}),\n },\n },\n computed: {\n isActionPresent() {\n return this.action && this.action.message;\n },\n },\n};\n\n\n\n","\n\n\n","\n\n\n\n\n","import { frontendURL } from 'dashboard/helper/URLHelper';\n\nconst Loggin = () => import('./auth/loggin/Index.vue');\nconst Login = () => import('./login/Index.vue');\nconst Signup = () => import('./auth/signup/Index.vue');\nconst ResetPassword = () => import('./auth/reset/password/Index.vue');\nconst Confirmation = () => import('./auth/confirmation/Index.vue');\nconst PasswordEdit = () => import('./auth/password/Edit.vue');\n\nexport default [\n {\n path: frontendURL('login'),\n name: 'login',\n component: Loggin,\n props: route => ({\n config: route.query.config,\n email: route.query.email,\n ssoAuthToken: route.query.sso_auth_token,\n ssoAccountId: route.query.sso_account_id,\n ssoConversationId: route.query.sso_conversation_id,\n authError: route.query.error,\n }),\n },\n {\n path: frontendURL('auth/signup'),\n name: 'auth_signup',\n component: Signup,\n meta: { requireSignupEnabled: true },\n },\n {\n path: frontendURL('auth/confirmation'),\n name: 'auth_confirmation',\n component: Confirmation,\n meta: { ignoreSession: true },\n props: route => ({\n config: route.query.config,\n confirmationToken: route.query.confirmation_token,\n redirectUrl: route.query.route_url,\n }),\n },\n {\n path: frontendURL('auth/password/edit'),\n name: 'auth_password_edit',\n component: PasswordEdit,\n meta: { ignoreSession: true },\n props: route => ({\n config: route.query.config,\n resetPasswordToken: route.query.reset_password_token,\n redirectUrl: route.query.route_url,\n }),\n },\n {\n path: frontendURL('auth/reset/password'),\n name: 'auth_reset_password',\n component: ResetPassword,\n },\n];\n","import { createRouter, createWebHistory } from 'vue-router';\n\nimport routes from './routes';\nimport AnalyticsHelper from 'dashboard/helper/AnalyticsHelper';\nimport { validateRouteAccess } from '../helpers/RouteHelper';\n\nexport const router = createRouter({ history: createWebHistory(), routes });\n\nconst sensitiveRouteNames = ['auth_password_edit'];\n\nexport const initalizeRouter = () => {\n router.beforeEach((to, _, next) => {\n if (!sensitiveRouteNames.includes(to.name)) {\n AnalyticsHelper.page(to.name || '', {\n path: to.path,\n name: to.name,\n });\n }\n\n return validateRouteAccess(to, next, window.chatwootConfig);\n });\n};\n\nexport default router;\n","import { createStore } from 'vuex';\nimport globalConfig from 'shared/store/globalConfig';\n\nexport default createStore({\n modules: {\n globalConfig,\n },\n});\n","import { createApp } from 'vue';\nimport { createI18n } from 'vue-i18n';\n\nimport i18nMessages from 'dashboard/i18n';\nimport * as Sentry from '@sentry/vue';\nimport VueTheMask from 'vue-the-mask';\nimport {\n initializeAnalyticsEvents,\n initializeChatwootEvents,\n} from 'dashboard/helper/scriptHelpers';\nimport App from '../v3/App.vue';\nimport router, { initalizeRouter } from '../v3/views/index';\nimport store from '../v3/store';\nimport FluentIcon from 'shared/components/FluentIcon/DashboardIcon.vue';\n// import { emitter } from '../shared/helpers/mitt';\n\n// [VITE] This was added in https://github.com/chatwoot/chatwoot/commit/b57063a8b83c86819bd285f481298d7cd38ad50e\n// Commenting it out for Vite migration\n// Vue.config.env = process.env;\n\nconst i18n = createI18n({\n legacy: false, // https://github.com/intlify/vue-i18n/issues/1902\n locale: 'en',\n messages: i18nMessages,\n});\n\nconst app = createApp(App);\napp.use(i18n);\napp.use(store);\napp.use(router);\n\napp.use(VueTheMask);\n\n// Vue.use(VueRouter);\n// Vue.use(VueI18n);\n// Vue.prototype.$emitter = emitter;\napp.component('fluent-icon', FluentIcon);\n\nif (window.errorLoggingConfig) {\n Sentry.init({\n app,\n dsn: window.errorLoggingConfig,\n denyUrls: [\n // Chrome extensions\n /^chrome:\\/\\//i,\n /chrome-extension:/i,\n /extensions\\//i,\n\n // Locally saved copies\n /file:\\/\\//i,\n\n // Safari extensions.\n /safari-web-extension:/i,\n /safari-extension:/i,\n ],\n integrations: [Sentry.browserTracingIntegration({ router })],\n ignoreErrors: [\n 'ResizeObserver loop completed with undelivered notifications',\n ],\n });\n}\n\ninitializeChatwootEvents();\ninitializeAnalyticsEvents();\ninitalizeRouter();\n\nwindow.onload = () => {\n app.mount('#app');\n};\n"],"file":"assets/v3app-BZjA6Vp4.js"}