1(window.webpackJsonp=window.webpackJsonp||[]).push([["npm.vue-apollo~41d41d87"],{Z1VY:function(t,e,i){"use strict";(function(t){var o=i("T0aG"),r=i.n(o),n=i("H5qd"),s=i.n(n);function a(t){return(a="function"==typeof Symbol&&"symbol"===r()(Symbol.iterator)?function(t){return r()(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r()(t)})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h(t,e,i){return e&&u(t.prototype,e),i&&u(t,i),t}function c(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function p(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function f(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?p(i,!0).forEach((function(e){c(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):p(i).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==r()(e)&&"function"!=typeof e?b(t):e}function m(t,e,i){return(m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}(t,e);if(o){var r=Object.getOwnPropertyDescriptor(o,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var i=[],o=!0,r=!1,n=void 0;try{for(var s,a=t[Symbol.iterator]();!(o=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);o=!0);}catch(t){r=!0,n=t}finally{try{o||null==a.return||a.return()}finally{if(r)throw n}}return i}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function k(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(t,e,i,o){var r,n=!1,s=0;function a(){r&&clearTimeout(r)}function l(){var l=this,u=Date.now()-s,h=arguments;function c(){s=Date.now(),i.apply(l,h)}function p(){r=void 0}n||(o&&!r&&c(),a(),void 0===o&&u>t?c():!0!==e&&(r=setTimeout(o?p:c,void 0===o?t-u:t)))}return"boolean"!=typeof e&&(o=i,i=e,e=void 0),l.cancel=function(){a(),n=!0},l}var O=Object.freeze({__proto__:null,throttle:w,debounce:function(t,e,i){return void 0===i?w(t,e,!1):w(t,i,!1!==e)}}),S=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){var i=e.Globals={};function o(t){return function(e,i){return t(i,e)}}e.throttle=o(O.throttle),e.debounce=o(O.debounce),e.getMergedDefinition=function(t){return i.Vue.util.mergeOptions({},t)},e.reapply=function(t,e){for(;"function"==typeof t;)t=t.call(e);return t},e.omit=function(t,e){return Object.entries(t).filter((function(t){var i=$(t,1)[0];return!e.includes(i)})).reduce((function(t,e){var i=$(e,2),o=i[0],r=i[1];return t[o]=r,t}),{})},e.addGqlError=function(t){t.graphQLErrors&&t.graphQLErrors.length&&(t.gqlError=t.graphQLErrors[0])},e.noop=function(){}})),_=S.Globals,A=S.throttle,j=S.debounce,P=(S.getMergedDefinition,S.reapply),R=S.omit,q=S.addGqlError,D=(S.noop,function(){function t(e,i,o){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];l(this,t),c(this,"type",null),c(this,"vueApolloSpecialKeys",[]),this.vm=e,this.key=i,this.initialOptions=o,this.options=Object.assign({},o),this._skip=!1,this._pollInterval=null,this._watchers=[],this._destroyed=!1,this.lastApolloOptions=null,r&&this.autostart()}return h(t,[{key:"autostart",value:function(){var t=this;"function"==typeof this.options.skip?this._skipWatcher=this.vm.$watch((function(){return t.options.skip.call(t.vm,t.vm,t.key)}),this.skipChanged.bind(this),{immediate:!0,deep:this.options.deep}):this.options.skip?this._skip=!0:this.start(),"function"==typeof this.options.pollInterval&&(this._pollWatcher=this.vm.$watch(this.options.pollInterval.bind(this.vm),this.pollIntervalChanged.bind(this),{immediate:!0}))}},{key:"pollIntervalChanged",value:function(t,e){t!==e&&(this.pollInterval=t,null==t?this.stopPolling():this.startPolling(t))}},{key:"skipChanged",value:function(t,e){t!==e&&(this.skip=t)}},{key:"refresh",value:function(){this._skip||(this.stop(),this.start())}},{key:"start",value:function(){var t=this;this.starting=!0;for(var e=function(e,i){var o=i[e];if("function"==typeof t.initialOptions[o]){var r=t.initialOptions[o].bind(t.vm);t.options[o]=r();var n=function(e){t.options[o]=e,t.refresh()};t.vm.$isServer||(n=t.options.throttle?A(n,t.options.throttle):n,n=t.options.debounce?j(n,t.options.debounce):n),t._watchers.push(t.vm.$watch(r,n,{deep:t.options.deep}))}},i=0,o=["query","document","context"];
vendor: 12,316 bytes, line 1
1i<o.length;i++)e(i,o);if("function"==typeof this.options.variables){var r=this.executeApollo.bind(this);this.vm.$isServer||(r=this.options.throttle?A(r,this.options.throttle):r,r=this.options.debounce?j(r,this.options.debounce):r),this._watchers.push(this.vm.$watch((function(){return t.options.variables.call(t.vm)}),r,{immediate:!0,deep:this.options.deep}))}else this.executeApollo(this.options.variables)}},{key:"stop",value:function(){for(var t=0,e=this._watchers;t<e.length;t++){(0,e[t])()}this.sub&&(this.sub.unsubscribe(),this.sub=null)}},{key:"generateApolloOptions",value:function(t){var e=R(this.options,this.vueApolloSpecialKeys);return e.variables=t,this.lastApolloOptions=e,e}},{key:"executeApollo",value:function(t){this.starting=!1}},{key:"nextResult",value:function(t){var e=t.error;e&&q(e)}},{key:"callHandlers",value:function(t){for(var e=!1,i=arguments.length,o=new Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];for(var n=0;n<t.length;n++){var s=t[n];if(s){e=!0;var a=s.apply(this.vm,o);if(void 0!==a&&!a)break}}return e}},{key:"errorHandler",value:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return this.callHandlers.apply(this,[[this.options.error,this.vm.$apollo.error,this.vm.$apollo.provider.errorHandler]].concat(e))}},{key:"catchError",value:function(t){if(q(t),!this.errorHandler(t,this.vm,this.key,this.type,this.lastApolloOptions))if(t.graphQLErrors&&0!==t.graphQLErrors.length){console.error("GraphQL execution errors for ".concat(this.type," '").concat(this.key,"'"));for(var e=0,i=t.graphQLErrors;e<i.length;e++){var o=i[e];console.error(o)}}else if(t.networkError)console.error("Error sending the ".concat(this.type," '").concat(this.key,"'"),t.networkError);else{var r;if(console.error("[vue-apollo] An error has occurred for ".concat(this.type," '").concat(this.key,"'")),Array.isArray(t))(r=console).error.apply(r,k(t));else console.error(t)}}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.stop(),this._skipWatcher&&this._skipWatcher())}},{key:"pollInterval",get:function(){return this._pollInterval},set:function(t){this._pollInterval=t}},{key:"skip",get:function(){return this._skip},set:function(t){t?this.stop():this.start(),this._skip=t}}]),t}()),Q=["variables","watch","update","result","error","loadingKey","watchLoading","skip","throttle","debounce","subscribeToMore","prefetch","manual"],E=function(t){function e(t,i,o){var r,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return l(this,e),t.$data.$apolloData&&!t.$data.$apolloData.queries[i]&&t.$set(t.$data.$apolloData.queries,i,{loading:!1}),c(b(r=g(this,v(e).call(this,t,i,o,!1))),"type","query"),c(b(r),"vueApolloSpecialKeys",Q),c(b(r),"_loading",!1),c(b(r),"_linkedSubscriptions",[]),t.$isServer&&(r.firstRun=new Promise((function(t,e){r._firstRunResolve=t,r._firstRunReject=e}))),r.vm.$isServer&&(r.options.fetchPolicy="network-only"),o.manual||(r.hasDataField=r.vm.$data.hasOwnProperty(i),r.hasDataField?Object.defineProperty(r.vm.$data.$apolloData.data,i,{get:function(){return r.vm.$data[i]},enumerable:!0,configurable:!0}):Object.defineProperty(r.vm.$data,i,{get:function(){return r.vm.$data.$apolloData.data[i]},enumerable:!0,configurable:!0})),n&&r.autostart(),r}return d(e,t),h(e,[{key:"stop",value:function(){m(v(e.prototype),"stop",this).call(this),this.loadingDone(),this.observer&&(this.observer.stopPolling(),this.observer=null)}},{key:"generateApolloOptions",value:function(t){var i=m(v(e.prototype),"generateApolloOptions",this).call(this,t);return this.vm.$isServer&&delete i.pollInterval,i}},{key:"executeApollo",value:function(t){var i=JSON.stringify(t);if(this.sub){if(i===this.previousVariablesJson)return;this.sub.unsubscribe();for(var o=0,r=this._linkedSubscriptions;o<r.length;o++){r[o].stop()}}if(this.previousVariablesJson=i,this.observer=this.vm.$apollo.watchQuery(this.generateApolloOptions(t)),this.startQuerySubscription(),"no-cache"!==this.options.fetchPolicy||this.options.notifyOnNetworkStatusChange){var n=this.maySetLoading();n.loading&&!this.options.notifyOnNetworkStatusChange||this.nextResult(n)}m(v(e.prototype),"executeApollo",this).call(this,t);for(var s=0,a=this._linkedSubscriptions;s<a.length;s++){a[s].start()}}},{key:"startQuerySubscription",value:function(){this.sub&&!this.sub.closed||(this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)}))}},{key:"maySetLoading",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult();return(t||e.loading)&&(this.loading||this.applyLoadingModifier(1),this.loading=!0),e}},{key:"nextResult",value:function(t){m(v(e.prototype),"nextResult",this).call(this,t);var i=t.data,o=t.loading,r=t.error,n=t.errors,s=n&&n.length;if((r||s)&&this.firstRunReject(r),o||this.loadingDone(),s){var a=new Error("GraphQL error: ".concat(n.map((function(t){return t.message})).join(" | ")));Object.assign(a,{graphQLErrors:n,networkError:null}),m(v(e.prototype),"catchError",this).call(this,a)}if("none"!==this.observer.options.errorPolicy||!r&&!s){var l="function"==typeof this.options.result;null==i||(this.options.manual?l||console.error("".concat(this.key," query must have a 'result' hook in manual mode")):"function"==typeof this.options.update?this.setData(this.options.update.call(this.vm,i)):void 0===i[this.key]&&Object.keys(i).length?console.error("Missing ".concat(this.key," attribute on result"),i):this.setData(i[this.key])),l&&this.options.result.call(this.vm,t,this.key)}}},{key:"setData",value:function(t){this.vm.$set(this.hasDataField?this.vm.$data:this.vm.$data.$apolloData.data,this.key,t)}},{key:"catchError",value:function(t){m(v(e.prototype),"catchError",this).call(this,t),this.firstRunReject(t),this.loadingDone(t),this.nextResult(this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult()),this.resubscribeToQuery()}},{key:"resubscribeToQuery",value:function(){var t=this.observer.getLastError(),e=this.observer.getLastResult();this.observer.resetLastResults(),this.startQuerySubscription(),Object.assign(this.observer,{lastError:t,lastResult:e})}},{key:"watchLoading",value:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return this.callHandlers.apply(this,[[this.options.watchLoading,this.vm.$apollo.watchLoading,this.vm.$apollo.provider.watchLoading]].concat(e,[this]))}},{key:"applyLoadingModifier",value:function(t){var e=this.loadingKey;e&&"number"==typeof this.vm[e]&&(this.vm[e]+=t),this.watchLoading(1===t,t)}},{key:"loadingDone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.loading&&this.applyLoadingModifier(-1),this.loading=!1,t||this.firstRunResolve()}},{key:"fetchMore",value:function(){var t,e=this;if(this.observer)return this.maySetLoading(!0),(t=this.observer).fetchMore.apply(t,arguments).then((function(t){return t.loading||e.loadingDone(),t}))}},{key:"subscribeToMore",value:function(){var t;if(this.observer)return{unsubscribe:(t=this.observer).subscribeToMore.apply(t,arguments)}}},{key:"refetch",value:function(t){var e=this;if(t&&(this.options.variables=t),this.observer){var i=this.observer.refetch(t).then((function(t){return t.loading||e.loadingDone(),t}));return this.maySetLoading(),i}}},{key:"setVariables",value:function(t,e){if(this.options.variables=t,this.observer){var i=this.observer.setVariables(t,e);return this.maySetLoading(),i}}},{key:"setOptions",value:function(t){if(Object.assign(this.options,t),this.observer){var e=this.observer.setOptions(t);return this.maySetLoading(),e}}},{key:"startPolling",value:function(){var t;if(this.observer)return(t=this.observer).startPolling.apply(t,arguments)}},{key:"stopPolling",value:function(){var t;if(this.observer)return(t=this.observer).stopPolling.apply(t,arguments)}},{key:"firstRunResolve",value:function(){this._firstRunResolve&&(this._firstRunResolve(),this._firstRunResolve=null)}},{key:"firstRunReject",value:function(t){this._firstRunReject&&(this._firstRunReject(t),this._firstRunReject=null)}},{key:"destroy",value:function(){m(v(e.prototype),"destroy",this).call(this),this.loading&&this.watchLoading(!1,-1),this.loading=!1}},{key:"client",get:function(){return this.vm.$apollo.getClient(this.options)}},{key:"loading",get:function(){return this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]?this.vm.$data.$apolloData.queries[this.key].loading:this._loading},set:function(t){this._loading!==t&&(this._loading=t,this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]&&(this.vm.$data.$apolloData.queries[this.key].loading=t,this.vm.$data.$apolloData.loading+=t?1:-1))}},{key:"loadingKey",get:function(){return this.options.loadingKey||this.vm.$apollo.loadingKey}}]),e}(D),L=function(t){function e(){var t,i;l(this,e);for(var o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];return c(b(i=g(this,(t=v(e)).call.apply(t,[this].concat(r)))),"type","subscription"),c(b(i),"vueApolloSpecialKeys",["variables","result","error","throttle","debounce","linkedQuery"]),i}return d(e,t),h(e,[{key:"executeApollo",value:function(t){var i=JSON.stringify(t);if(this.sub){if(i===this.previousVariablesJson)return;this.sub.unsubscribe()}this.previousVariablesJson=i;var o=this.generateApolloOptions(t);if("function"==typeof o.updateQuery&&(o.updateQuery=o.updateQuery.bind(this.vm)),this.options.linkedQuery){if("function"==typeof this.options.result){var r=this.options.result.bind(this.vm),n=o.updateQuery&&o.updateQuery.bind(this.vm);o.updateQuery=function(){return r.apply(void 0,arguments),n&&n.apply(void 0,arguments)}}this.sub=this.options.linkedQuery.subscribeToMore(o)}else this.observer=this.vm.$apollo.subscribe(o),this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)});m(v(e.prototype),"executeApollo",this).call(this,t)}},{key:"nextResult",value:function(t){m(v(e.prototype),"nextResult",this).call(this,t),"function"==typeof this.options.result&&this.options.result.call(this.vm,t,this.key)}}]),e}(D),x=function(){function t(e){l(this,t),this._apolloSubscriptions=[],this._watchers=[],this.vm=e,this.queries={},this.subscriptions={},this.client=void 0,this.loadingKey=void 0,this.error=void 0}return h(t,[{key:"getClient",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t||!t.client){if("object"===a(this.client))return this.client;if(this.client){if(this.provider.clients){var e=this.provider.clients[this.client];if(!e)throw new Error("[vue-apollo] Missing client '".concat(this.client,"' in 'apolloProvider'"));return e}throw new Error("[vue-apollo] Missing 'clients' options in 'apolloProvider'")}return this.provider.defaultClient}var i=this.provider.clients[t.client];if(!i)throw new Error("[vue-apollo] Missing client '".concat(t.client,"' in 'apolloProvider'"));return i}},{key:"query",value:function(t){return this.getClient(t).query(t)}},{key:"watchQuery",value:function(t){var e=this,i=this.getClient(t).watchQuery(t),o=i.subscribe.bind(i);return i.subscribe=function(t){var i=o(t);return e._apolloSubscriptions.push(i),i},i}},{key:"mutate",value:function(t){return this.getClient(t).mutate(t)}},{key:"subscribe",value:function(t){var e=this;if(!this.vm.$isServer){var i=this.getClient(t).subscribe(t),o=i.subscribe.bind(i);return i.subscribe=function(t){var i=o(t);return e._apolloSubscriptions.push(i),i},i}}},{key:"addSmartQuery",value:function(t,e){var i=this,o=P(e,this.vm);o.query||(o={query:o});var r,n=this.vm.$options.apollo,s=this.provider.defaultOptions;if(s&&s.$query&&(r=s.$query),n&&n.$query&&(r=f({},r||{},{},n.$query)),r)for(var a in r)void 0===o[a]&&(o[a]=r[a]);var l=this.queries[t]=new E(this.vm,t,o,!1);if(this.vm.$isServer&&!1===o.prefetch||l.autostart(),!this.vm.$isServer){var u=o.subscribeToMore;u&&(Array.isArray(u)?u.forEach((function(e,o){i.addSmartSubscription("".concat(t).concat(o),f({},e,{linkedQuery:l}))})):this.addSmartSubscription(t,f({},u,{linkedQuery:l})))}return l}},{key:"addSmartSubscription",value:function(t,e){if(!this.vm.$isServer){e=P(e,this.vm);var i=this.subscriptions[t]=new L(this.vm,t,e,!1);return i.autostart(),e.linkedQuery&&e.linkedQuery._linkedSubscriptions.push(i),i}}}
1,{key:"defineReactiveSetter",value:function(t,e,i){var o=this;this._watchers.push(this.vm.$watch(e,(function(e){o[t]=e}),{immediate:!0,deep:i}))}},{key:"destroy",value:function(){for(var t=0,e=this._watchers;t<e.length;t++){(0,e[t])()}for(var i in this.queries)this.queries[i].destroy();for(var o in this.subscriptions)this.subscriptions[o].destroy();this._apolloSubscriptions.forEach((function(t){t.unsubscribe()}))}},{key:"provider",get:function(){return this.vm.$apolloProvider}},{key:"loading",get:function(){return 0!==this.vm.$data.$apolloData.loading}},{key:"data",get:function(){return this.vm.$data.$apolloData.data}},{key:"skipAllQueries",set:function(t){for(var e in this.queries)this.queries[e].skip=t}},{key:"skipAllSubscriptions",set:function(t){for(var e in this.subscriptions)this.subscriptions[e].skip=t}},{key:"skipAll",set:function(t){this.skipAllQueries=t,this.skipAllSubscriptions=t}}]),t}(),C=function(){function t(e){if(l(this,t),!e)throw new Error("Options argument required");this.clients=e.clients||{},e.defaultClient&&(this.clients.defaultClient=this.defaultClient=e.defaultClient),this.defaultOptions=e.defaultOptions,this.watchLoading=e.watchLoading,this.errorHandler=e.errorHandler,this.prefetch=e.prefetch}return h(t,[{key:"provide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$apolloProvider";return console.warn("<ApolloProvider>.provide() is deprecated. Use the 'apolloProvider' option instead with the provider object directly."),c({},t,this)}}]),t}();var I={name:"ApolloQuery",provide:function(){return{getDollarApollo:this.getDollarApollo,getApolloQuery:this.getApolloQuery}},props:{query:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},fetchPolicy:{type:String,default:void 0},pollInterval:{type:Number,default:void 0},notifyOnNetworkStatusChange:{type:Boolean,default:void 0},context:{type:Object,default:void 0},update:{type:Function,default:function(t){return t}},skip:{type:Boolean,default:!1},debounce:{type:Number,default:0},throttle:{type:Number,default:0},clientId:{type:String,default:void 0},deep:{type:Boolean,default:void 0},tag:{type:String,default:"div"},prefetch:{type:Boolean,default:!0},options:{type:Object,default:function(){return{}}}},data:function(){return{result:{data:null,loading:!1,networkStatus:7,error:null},times:0}},watch:{fetchPolicy:function(t){this.$apollo.queries.query.setOptions({fetchPolicy:t})},pollInterval:function(t){this.$apollo.queries.query.setOptions({pollInterval:t})},notifyOnNetworkStatusChange:function(t){this.$apollo.queries.query.setOptions({notifyOnNetworkStatusChange:t})},"$data.$apolloData.loading":function(t){this.$emit("loading",!!t)}},apollo:{$client:function(){return this.clientId},query:function(){return f({query:function(){return"function"==typeof this.query?this.query(s.a):this.query},variables:function(){return this.variables},fetchPolicy:this.fetchPolicy,pollInterval:this.pollInterval,debounce:this.debounce,throttle:this.throttle,notifyOnNetworkStatusChange:this.notifyOnNetworkStatusChange,context:function(){return this.context},skip:function(){return this.skip},deep:this.deep,prefetch:this.prefetch},this.options,{manual:!0,result:function(t){var e=t,i=e.errors,o=e.loading,r=e.networkStatus,n=t.error;t=Object.assign({},t),i&&i.length&&((n=new Error("Apollo errors occurred (".concat(i.length,")"))).graphQLErrors=i);var s={};o?Object.assign(s,this.$_previousData,t.data):n?Object.assign(s,this.$apollo.queries.query.observer.getLastResult()||{},t.data):(s=t.data,this.$_previousData=t.data);var a=function(t){return Object.keys(t).length>0}(s);this.result={data:a?this.update(s):void 0,fullData:a?s:void 0,loading:o,error:n,networkStatus:r},this.times=++this.$_times,this.$emit("result",this.result)},error:function(t){this.result.loading=!1,this.result.error=t,this.$emit("error",t)}})}},created:function(){this.$_times=0},methods:{getDollarApollo:function(){return this.$apollo},getApolloQuery:function(){return this.$apollo.queries.query}},render:function(t){var e=this.$scopedSlots.default({result:this.result,times:this.times,query:this.$apollo.queries.query,isLoading:this.$apolloData.loading,gqlError:this.result&&this.result.error&&this.result.error.gqlError});return e=Array.isArray(e)?e.concat(this.$slots.default):[e].concat(this.$slots.default),this.tag?t(this.tag,e):e[0]}},M=0,T={name:"ApolloSubscribeToMore",inject:["getDollarApollo","getApolloQuery"],props:{document:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},updateQuery:{type:Function,default:void 0}},watch:{document:"refresh",variables:"refresh"},created:function(){this.$_key="sub_component_".concat(M++)},mounted:function(){this.refresh()},beforeDestroy:function(){this.destroy()},methods:{destroy:function(){this.$_sub&&this.$_sub.destroy()},refresh:function(){this.destroy();var t=this.document;"function"==typeof t&&(t=t(s.a)),this.$_sub=this.getDollarApollo().addSmartSubscription(this.$_key,{document:t,variables:this.variables,updateQuery:this.updateQuery,linkedQuery:this.getApolloQuery()})}},render:function(t){return null}},V={props:{mutation:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},optimisticResponse:{type:Object,default:void 0},update:{type:Function,default:void 0},refetchQueries:{type:Function,default:void 0},clientId:{type:String,default:void 0},tag:{type:String,default:"div"},context:{type:Object,default:void 0}},data:function(){return{loading:!1,error:null}},watch:{loading:function(t){this.$emit("loading",t)}},methods:{mutate:function(t){var e=this;this.loading=!0,this.error=null;var i=this.mutation;return"function"==typeof i&&(i=i(s.a)),this.$apollo.mutate(f({mutation:i,client:this.clientId,variables:this.variables,optimisticResponse:this.optimisticResponse,update:this.update,refetchQueries:this.refetchQueries,context:this.context},t)).then((function(t){e.$emit("done",t),e.loading=!1})).catch((function(t){q(t),e.error=t,e.$emit("error",t),e.loading=!1}))}},render:function(t){var e=this.$scopedSlots.default({mutate:this.mutate,loading:this.loading,error:this.error,gqlError:this.error&&this.error.gqlError});return e=Array.isArray(e)?e.concat(this.$slots.default):[e].concat(this.$slots.default),this.tag?t(this.tag,e):e[0]}};function K(t,e){return void 0!==t&&Object.prototype.hasOwnProperty.call(t,e)}function N(){var t=this.$options,e=t.apolloProvider;if(e)this.$apolloProvider="function"==typeof e?e():e;else if(t.parent&&t.parent.$apolloProvider)this.$apolloProvider=t.parent.$apolloProvider;else if(t.provide){var i="function"==typeof t.provide?t.provide.call(this):t.provide;i&&i.$apolloProvider&&(this.$apolloProvider=i.$apolloProvider)}}function F(){var t=this;this.$_apolloInitData={};var e=this.$options.apollo;if(e){var i=function(i){"$"!==i.charAt(0)&&(e[i].manual||K(t.$options.props,i)||K(t.$o
vendor: 2,981 bytes, lines 1-2
1ptions.computed,i)||K(t.$options.methods,i)||Object.defineProperty(t,i,{get:function(){return t.$data.$apolloData.data[i]},set:function(e){return t.$_apolloInitData[i]=e},enumerable:!0,configurable:!0}))};for(var o in e)i(o)}}function H(){var t=this,e=this.$apolloProvider;if(!this._apolloLaunched&&e){this._apolloLaunched=!0;var i=this.$options.apollo;if(i){for(var o in this.$_apolloPromises=[],i.$init||(i.$init=!0,e.defaultOptions&&(i=this.$options.apollo=Object.assign({},e.defaultOptions,i))),J(this.$apollo,"skipAll",i.$skipAll,i.$deep),J(this.$apollo,"skipAllQueries",i.$skipAllQueries,i.$deep),J(this.$apollo,"skipAllSubscriptions",i.$skipAllSubscriptions,i.$deep),J(this.$apollo,"client",i.$client,i.$deep),J(this.$apollo,"loadingKey",i.$loadingKey,i.$deep),J(this.$apollo,"error",i.$error,i.$deep),J(this.$apollo,"watchLoading",i.$watchLoading,i.$deep),Object.defineProperty(this,"$apolloData",{get:function(){return t.$data.$apolloData},enumerable:!0,configurable:!0}),i)if("$"!==o.charAt(0)){var r=i[o],n=this.$apollo.addSmartQuery(o,r);this.$isServer&&(r=P(r,this),!1===e.prefetch||!1===r.prefetch||!1===i.$prefetch||n.skip||this.$_apolloPromises.push(n.firstRun))}if(i.subscribe&&_.Vue.util.warn("vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead."),i.$subscribe)for(var s in i.$subscribe)this.$apollo.addSmartSubscription(s,i.$subscribe[s])}}}function J(t,e,i,o){void 0!==i&&("function"==typeof i?t.defineReactiveSetter(e,i,o):t[e]=i)}function G(){this.$_apollo&&this.$_apollo.destroy()}function B(t,e){t.mixin(f({},"1"===e?{init:N}:{},{},"2"===e?{data:function(){return{$apolloData:{queries:{},loading:0,data:this.$_apolloInitData}}},beforeCreate:function(){N.call(this),F.call(this)},serverPrefetch:function(){var t=this;if(this.$_apolloPromises)return Promise.all(this.$_apolloPromises).then((function(){G.call(t)})).catch((function(e){return G.call(t),Promise.reject(e)}))}}:{},{created:H,destroyed:G}))}var W=["$subscribe"];C.install=function t(e,i){if(!t.installed){t.installed=!0,_.Vue=e;var o=e.version.substr(0,e.version.indexOf(".")),r=e.config.optionMergeStrategies.methods;e.config.optionMergeStrategies.apollo=function(t,e,i){if(!t)return e;if(!e)return t;for(var o=Object.assign({},R(t,W),t.data),n=Object.assign({},R(e,W),e.data),s={},a=0;a<W.length;a++){var l=W[a];s[l]=r(t[l],e[l])}return Object.assign(s,r(o,n))},e.prototype.hasOwnProperty("$apollo")||Object.defineProperty(e.prototype,"$apollo",{get:function(){return this.$_apollo||(this.$_apollo=new x(this)),this.$_apollo}}),B(e,o),"2"===o&&(e.component("apollo-query",I),e.component("ApolloQuery",I),e.component("apollo-subscribe-to-more",T),e.component("ApolloSubscribeToMore",T),e.component("apollo-mutation",V),e.component("ApolloMutation",V))}},C.version="3.0.5";var U=null;"undefined"!=typeof window?U=window.Vue:void 0!==t&&(U=t.Vue),U&&U.use(C),e.a=C}).call(this,i("fRV1"))}}]); 2//# sourceMappingURL=npm.vue-apollo~41d41d87.f2d7204158480f119782.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.