PageSourceSearch

https://app.journeyfront.com/static/js/vuex.esm-bundler.CY4mcXVq.js

js journeyfront.com collected 2026-10-02 02:18:48 UTC 14,274 bytes, 2 lines download raw bytes

1import{M as e,dt as t,ot as n,tt as r,v as i}from"./vue.esm-bundler.CHY6E0dk.js";function a(){return o().__VUE_DEVTOOLS_GLOBAL_HOOK__}function o(){return typeof navigator<`u`&&typeof window<`u`?window:typeof globalThis<`u`?globalThis:{}}var s=typeof Proxy==`function`,c=`devtools-plugin:setup`,l=`plugin:settings:set`,u,d;function f(){return u===void 0&&(typeof window<`u`&&window.performance?(u=!0,d=window.performance):typeof globalThis<`u`&&globalThis.perf_hooks?.performance?(u=!0,d=globalThis.perf_hooks.performance):u=!1),u}function p(){return f()?d.now():Date.now()}var ee=class{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;let n={};if(e.settings)for(let t in e.settings)n[t]=e.settings[t].defaultValue;let r=`__vue-devtools-plugin-settings__${e.id}`,i=Object.assign({},n);try{let e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(i,t)}catch{}this.fallbacks={getSettings(){return i},setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch{}i=e},now(){return p()}},t&&t.on(l,(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:t===`on`?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(n=>{this.targetQueue.push({method:t,args:e,resolve:n})})})}async setRealTarget(e){this.target=e;for(let e of this.onQueue)this.target.on[e.method](...e.args);for(let e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}};function te(e,t){let n=e,r=o(),i=a(),l=s&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!l))i.emit(c,e,t);else{let e=l?new ee(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}}var m=`store`;function h(t){return t===void 0&&(t=null),e(t===null?m:t)}function g(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function _(e){return typeof e==`object`&&!!e}function v(e){return e&&typeof e.then==`function`}function y(e,t){return function(){return e(t)}}function b(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function x(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),S(e,n,t)}function S(e,r,a){var o=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var c=e._wrappedGetters,l={},u={},d=n(!0);d.run(function(){g(c,function(t,n){l[n]=y(t,e),u[n]=i(function(){return l[n]()}),Object.defineProperty(e.getters,n,{get:function(){return u[n].value},enumerable:!0})})}),e._state=t({data:r}),e._scope=d,e.strict&&O(e),o&&a&&e._withCommit(function(){o.data=null}),s&&s.stop()}function C(e,t,n,r,i){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!i){var s=k(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit(function(){s[c]=r.state})}var l=r.context=w(e,o,n);r.forEachMutation(function(t,n){E(e,o+n,t,l)}),r.forEachAction(function(t,n){ne(e,t.root?n:o+n,t.handler||t,l)}),r.forEachGetter(function(t,n){D(e,o+n,t,l)}),r.forEachChild(function(r,a){C(e,t,n.concat(a),r,i)})}function w(e,t,n){var r=t===``,i={dispatch:r?e.dispatch:function(n,r,i){var a=A(n,r,i),o=a.payload,s=a.options,c=a.type;return(!s||!s.root)&&(c=t+c),e.dispatch(c,o)},commit:r?e.commit:function(n,r,i){var a=A(n,r,i),o=a.payload,s=a.options,c=a.type;(!s||!s.root)&&(c=t+c),e.commit(c,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return T(e,t)}},state:{get:function(){return k(e.state,n)}}}),i}function T(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}
1function E(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}function ne(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return v(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(t){throw e._devtoolHook.emit(`vuex:error`,t),t}):i})}function D(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function O(e){r(function(){return e._state.data},function(){},{deep:!0,flush:`sync`})}function k(e,t){return t.reduce(function(e,t){return e[t]},e)}function A(e,t,n){return _(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var j=`vuex bindings`,M=`vuex:mutations`,N=`vuex:actions`,P=`vuex`,re=0;function ie(e,t){te({id:`org.vuejs.vuex`,app:e,label:`Vuex`,homepage:`https://next.vuex.vuejs.org/`,logo:`https://vuejs.org/images/icons/favicon-96x96.png`,packageName:`vuex`,componentStateTypes:[j]},function(n){n.addTimelineLayer({id:M,label:`Vuex Mutations`,color:F}),n.addTimelineLayer({id:N,label:`Vuex Actions`,color:F}),n.addInspector({id:P,label:`Vuex`,icon:`storage`,treeFilterPlaceholder:`Filter stores...`}),n.on.getInspectorTree(function(n){if(n.app===e&&n.inspectorId===P){if(n.filter){var r=[];z(r,t._modules.root,n.filter,``),n.rootNodes=r}else n.rootNodes=[R(t._modules.root,``)]}}),n.on.getInspectorState(function(n){if(n.app===e&&n.inspectorId===P){var r=n.nodeId;T(t,r),n.state=B(H(t._modules,r),r===`root`?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(n){if(n.app===e&&n.inspectorId===P){var r=n.nodeId,i=n.path;r!==`root`&&(i=r.split(`/`).filter(Boolean).concat(i)),t._withCommit(function(){n.set(t._state.data,i,n.state.value)})}}),t.subscribe(function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(P),n.sendInspectorState(P),n.addTimelineEvent({layerId:M,event:{time:Date.now(),title:e.type,data:r}})}),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=re++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:N,event:{time:e._time,title:e.type,groupId:e._id,subtitle:`start`,data:r}})},after:function(e,t){var r={},i=Date.now()-e._time;r.duration={_custom:{type:`duration`,display:i+`ms`,tooltip:`Action duration`,value:i}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:N,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:`end`,data:r}})}})})}var F=8702998,I={label:`namespaced`,textColor:16777215,backgroundColor:6710886};function L(e){return e&&e!==`root`?e.split(`/`).slice(-2,-1)[0]:`Root`}function R(e,t){return{id:t||`root`,label:L(t),tags:e.namespaced?[I]:[],children:Object.keys(e._children).map(function(n){return R(e._children[n],t+n+`/`)})}}function z(e,t,n,r){r.includes(n)&&e.push({id:r||`root`,label:r.endsWith(`/`)?r.slice(0,r.length-1):r||`Root`,tags:t.namespaced?[I]:[]}),Object.keys(t._children).forEach(function(i){z(e,t._children[i],n,r+i+`/`)})}function B(e,t,n){t=n===`root`?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map(function(t){return{key:t,editable:!0,value:e.state[t]}})};if(r.length){var a=V(t);i.getters=Object.keys(a).map(function(e){return{key:e.endsWith(`/`)?L(e):e,editable:!1,value:U(function(){return a[e]})}})}return i}function V(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split(`/`);if(r.length>1){var i=t,a=r.pop();r.forEach(function(e){i[e]||(i[e]={_custom:{value:{},display:e,tooltip:`Module`,abstract:!0}}),i=i[e]._custom.value}),i[a]=U(function(){return e[n]})}else t[n]=U(function(){return e[n]})}),t}function H(e,t){var n=t.split(`/`).filter(function(e){return e});return n.reduce(function(e,r,i){var a=e[r];if(!a)throw Error(`Missing module "`+r+`" for path "`+t+`".`);return i===n.length-1?a:a._children},t===`root`?e:e.root._children)}function U(e){try{return e()}catch(e){return e}}var W=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n==`function`?n():n)||{}},G={namespaced:{configurable:!0}};G.namespaced.get=function(){return!!this._rawModule.namespaced},W.prototype.addChild=function(e,t){this._children[e]=t},W.prototype.removeChild=function(e){delete this._children[e]},W.prototype.getChild=function(e){return this._children[e]},W.prototype.hasChild=function(e){return e in this._children},W.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},W.prototype.forEachChild=function(e){g(this._children,e)},W.prototype.forEachGetter=function(e){this._rawModule.getters&&g(this._rawModule.getters,e)},W.prototype.forEachAction=function(e){this._rawModule.actions&&g(this._rawModule.actions,e)},W.prototype.forEachMutation=function(e){this._rawModule.mutations&&g(this._rawModule.mutations,e)},Object.defineProperties(W.prototype,G);var K=function(e){this.register([],e,!1)};K.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},K.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return t=t.getChild(n),e+(t.namespaced?n+`/`:``)},``)},K.prototype.update=function(e){q([],this.root,e)},K.prototype.register=function(e,t,n){var r=this;n===void 0&&(n=!0);var i=new W(t,n);e.length===0?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i),t.modules&&g(t.modules,function(t,i){r.register(e.concat(i),t,n)})},K.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},K.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t?t.hasChild(n):!1};function q(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;q(e.concat(r),t.getChild(r),n.modules[r])}}function J(e){return new Y(e)}var Y=function(e){var t=this;e===void 0&&(e={});var n=e.plugins;n===void 0&&(n=[]);var r=e.strict;r===void 0&&(r=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new K(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var a=this,o=this,s=o.dispatch,c=o.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return c.call(a,e,t,n)},this.strict=r;var l=this._modules.root.state;
1C(this,l,[],this._modules.root),S(this,l),n.forEach(function(e){return e(t)})},X={state:{configurable:!0}};Y.prototype.install=function(e,t){e.provide(t||`store`,this),e.config.globalProperties.$store=this,this._devtools!==void 0&&this._devtools&&ie(e,this)},X.state.get=function(){return this._state.data},X.state.set=function(e){},Y.prototype.commit=function(e,t,n){var r=this,i=A(e,t,n),a=i.type,o=i.payload;i.options;var s={type:a,payload:o},c=this._mutations[a];c&&(this._withCommit(function(){c.forEach(function(e){e(o)})}),this._subscribers.slice().forEach(function(e){return e(s,r.state)}))},Y.prototype.dispatch=function(e,t){var n=this,r=A(e,t),i=r.type,a=r.payload,o={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter(function(e){return e.before}).forEach(function(e){return e.before(o,n.state)})}catch{}var c=s.length>1?Promise.all(s.map(function(e){return e(a)})):s[0](a);return new Promise(function(e,t){c.then(function(t){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(o,n.state)})}catch{}e(t)},function(e){try{n._actionSubscribers.filter(function(e){return e.error}).forEach(function(t){return t.error(o,n.state,e)})}catch{}t(e)})})}},Y.prototype.subscribe=function(e,t){return b(e,this._subscribers,t)},Y.prototype.subscribeAction=function(e,t){return b(typeof e==`function`?{before:e}:e,this._actionSubscribers,t)},Y.prototype.watch=function(e,t,n){var i=this;return r(function(){return e(i.state,i.getters)},t,Object.assign({},n))},Y.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})},Y.prototype.registerModule=function(e,t,n){n===void 0&&(n={}),typeof e==`string`&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),S(this,this.state)},Y.prototype.unregisterModule=function(e){var t=this;typeof e==`string`&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=k(t.state,e.slice(0,-1));delete n[e[e.length-1]]}),x(this)},Y.prototype.hasModule=function(e){return typeof e==`string`&&(e=[e]),this._modules.isRegistered(e)},Y.prototype.hotUpdate=function(e){this._modules.update(e),x(this,!0)},Y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Y.prototype,X);var ae=Q(function(e,t){var n={};return Z(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=$(this.$store,`mapMutations`,e);if(!a)return;r=a.context.commit}return typeof i==`function`?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n}),oe=Q(function(e,t){var n={};return Z(t).forEach(function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||$(this.$store,`mapGetters`,e))return this.$store.getters[i]},n[r].vuex=!0}),n});function Z(e){return se(e)?Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function se(e){return Array.isArray(e)||_(e)}function Q(e){return function(t,n){return typeof t==`string`?t.charAt(t.length-1)!==`/`&&(t+=`/`):(n=t,t=``),e(t,n)}}function $(e,t,n){return e._modulesNamespaceMap[n]}export{h as i,oe as n,ae as r,J as t};
2//# sourceMappingURL=vuex.esm-bundler.CY4mcXVq.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.