PageSourceSearch

https://www.matchmymakeup.com/_next/static/chunks/8979-a4a255bc48cd0943.js

js matchmymakeup.com collected 2026-10-03 21:26:38 UTC 198,175 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8979],{23559:function(e,t,r){"use strict";r.d(t,{useLazyQuery:function(){return i.useLazyQuery},useQuery:function(){return i.useQuery}});var n=r(39016);r.o(n,"useLazyQuery")&&r.d(t,{useLazyQuery:function(){return n.useLazyQuery}}),r.o(n,"useQuery")&&r.d(t,{useQuery:function(){return n.useQuery}});var i=r(9795)},9795:function(e,t,r){"use strict";r.d(t,{useLazyQuery:function(){return m},useQuery:function(){return g}});var n=r(56168),i=r(66479),o="function"===typeof Symbol&&Symbol.for?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function a(){return n[o]||Object.defineProperty(n,o,{value:n.createContext({}),enumerable:!1,configurable:!0,writable:!1}),n[o]}var s,u=r(28658),c=r(46040);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(s||(s={}));var l=new Map;function p(e){var t;switch(e){case s.Query:t="Query";break;case s.Mutation:t="Mutation";break;case s.Subscription:t="Subscription"}return t}var f=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!(0,c.D)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;(0,i.kG)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var r=function(e){var t,r,n=l.get(e);if(n)return n;(0,i.kG)(!!e&&!!e.kind,34);var o=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),a=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));(0,i.kG)(!o.length||a.length||u.length||c.length,35),(0,i.kG)(a.length+u.length+c.length<=1,36),r=a.length?s.Query:s.Mutation,a.length||u.length||(r=s.Subscription);var p=a.length?a:u.length?u:c;(0,i.kG)(1===p.length,37);var f=p[0];t=f.variableDefinitions||[];var d={name:f.name&&"Name"===f.name.kind?f.name.value:"data",type:r,variables:t};return l.set(e,d),d}(e);p(t),p(r.type);(0,i.kG)(r.type===t,30)},e}(),d=(function(e){function t(t){var r=t.options,n=t.context,i=t.setResult,o=e.call(this,r,n)||this;return o.currentObservable={},o.setResult=i,o.initialize(r),o}(0,u.ZT)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var r=this.getOptions().shouldResubscribe;return"function"===typeof r&&(r=!!r(this.getOptions())),!1!==r&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!(0,c.D)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),(0,u.pi)((0,u.pi)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this.getOptions().onSubscriptionComplete;e&&e(),this.endSubscription()},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)}}(f),r(55788)),h=r(33589),v=(function(e){function t(t){var r=t.options,n=t.context,i=t.result,o=t.setResult,a=e.call(this,r,n)||this;return a.runMutation=function(e){void 0===e&&(e={}),a.onMutationStart();var t=a.generateNewMutationId();return a.mutate(e).then((function(e){return a.onMutationCompleted(e,t),e})).catch((function(e){if(a.onMutationError(e,t),!a.getOptions().onError)throw e}))},a.verifyDocumentType(r.mutation,s.Mutation),a.result=i,a.setResult=o,a.mostRecentMutationId=0,a}(0,u.ZT)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,s.Mutation),[this.runMutation,(0,u.pi)((0,u.pi)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate((0,h.oA)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var r=this.getOptions(),n=r.onCompleted,i=r.ignoreResults,o=e.data,a=e.errors,s=a&&a.length>
10?new d.c({graphQLErrors:a}):void 0;this.isMostRecentMutation(t)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:s}),n&&n(o)},t.prototype.onMutationError=function(e,t){var r=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),r&&r(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&(0,c.D)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)}}(f),r(39016)),b=function(e){function t(t){var r=t.options,n=t.context,i=t.onNewData,o=e.call(this,r,n)||this;return o.previousData={},o.runLazy=!1,o.runLazyQuery=function(e){o.cleanup(),o.runLazy=!0,o.lazyOptions=e,o.onNewData()},o.getQueryResult=function(){var e=o.observableQueryFields(),t=o.getOptions();if(t.skip)e=(0,u.pi)((0,u.pi)({},e),{data:void 0,error:void 0,loading:!1,called:!0});else if(o.currentObservable){var r=o.currentObservable.getCurrentResult(),n=r.data,i=r.loading,a=r.partial,s=r.networkStatus,c=r.errors,l=r.error;if(c&&c.length>0&&(l=new d.c({graphQLErrors:c})),e=(0,u.pi)((0,u.pi)({},e),{data:n,loading:i,networkStatus:s,error:l,called:!0}),i);else if(l)Object.assign(e,{data:(o.currentObservable.getLastResult()||{}).data});else{var p=o.currentObservable.options.fetchPolicy;if(t.partialRefetch&&a&&(!n||0===Object.keys(n).length)&&"cache-only"!==p)return Object.assign(e,{loading:!0,networkStatus:v.NetworkStatus.loading}),e.refetch(),e}}return e.client=o.client,o.setOptions(t,!0),o.previousData.loading=o.previousData.result&&o.previousData.result.loading||!1,o.previousData.result=e,o.currentObservable&&o.currentObservable.resetQueryStoreErrors(),e},o.obsRefetch=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.refetch(e)},o.obsFetchMore=function(e){return o.currentObservable.fetchMore(e)},o.obsUpdateQuery=function(e){return o.currentObservable.updateQuery(e)},o.obsStartPolling=function(e){var t;null===(t=o.currentObservable)||void 0===t||t.startPolling(e)},o.obsStopPolling=function(){var e;null===(e=o.currentObservable)||void 0===e||e.stopPolling()},o.obsSubscribeToMore=function(e){return o.currentObservable.subscribeToMore(e)},o.onNewData=i,o}return(0,u.ZT)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,r=e.query;return(t||r!==this.previousData.query)&&(this.removeQuerySubscription(),this.previousData.query=r),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:v.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,r=void 0!==t&&t;return this.isMounted=!0,r&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),delete this.currentObservable,delete this.previousData.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=(0,u.pi)((0,u.pi)({},t.variables),this.lazyOptions.variables),t.context=(0,u.pi)((0,u.pi)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e,t=!1===this.getOptions().ssr,r=this.refreshClient().client.disableNetworkFetches,n=(0,u.pi)({loading:!0,networkStatus:v.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());return t&&(this.ssrInitiated()||r)?(this.previousData.result=n,n):(this.ssrInitiated()&&(e=this.context.renderPromises.addQueryPromise(this,this.getQueryResult)||n),e)},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,s.Query);
1var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),(0,u.pi)((0,u.pi)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previousData.observableQueryOptions=(0,u.pi)((0,u.pi)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery((0,u.pi)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=(0,u.pi)((0,u.pi)({},this.prepareObservableQueryOptions()),{children:null});(0,c.D)(e,this.previousData.observableQueryOptions)||(this.previousData.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(r){var n=r.loading,i=r.networkStatus,o=r.data,a=t.previousData.result;a&&a.loading===n&&a.networkStatus===i&&(0,c.D)(a.data,o)||e()},error:function(r){if(t.resubscribeToQuery(),!r.hasOwnProperty("graphQLErrors"))throw r;var n=t.previousData.result;(n&&n.loading||!(0,c.D)(r,t.previousData.error))&&(t.previousData.error=r,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),r=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:r})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previousData.result){var e=this.previousData.result,t=e.data,r=e.loading,n=e.error;if(!r){var i=this.getOptions(),o=i.query,a=i.variables,s=i.onCompleted,u=i.onError,l=i.skip;if(this.previousOptions&&!this.previousData.loading&&(0,c.D)(this.previousOptions.query,o)&&(0,c.D)(this.previousOptions.variables,a))return;!s||n||l?u&&n&&u(n):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(f);function y(e,t,r){void 0===r&&(r=!1);var i=(0,n.useContext)(a()),o=(0,n.useReducer)((function(e){return e+1}),0),s=o[0],l=o[1],p=t?(0,u.pi)((0,u.pi)({},t),{query:e}):{query:e},f=(0,n.useRef)(),d=f.current||new b({options:p,context:i,onNewData:function(){d.ssrInitiated()?l():Promise.resolve().then(l)}});d.setOptions(p),d.context=i,d.ssrInitiated()&&!f.current&&(f.current=d);var h=function(e,t){var r=(0,n.useRef)();return r.current&&(0,c.D)(t,r.current.key)||(r.current={key:t,value:e()}),r.current.value}((function(){return r?d.executeLazy():d.execute()}),{options:(0,u.pi)((0,u.pi)({},p),{onError:void 0,onCompleted:void 0}),context:i,tick:s}),v=r?h[1]:h;return(0,n.useEffect)((function(){return f.current||(f.current=d),function(){return d.cleanup()}}),[]),(0,n.useEffect)((function(){return d.afterExecute({lazy:r})}),[v.loading,v.networkStatus,v.error,v.data]),h}function m(e,t){return y(e,t,!0)}function g(e,t){return y(e,t,!1)}},7725:function(e,t,r){"use strict";r.d(t,{cacheSlot:function(){return T}});var n,i=r(38842),o=r(65551),a=function(){function e(){this.getFragmentDoc=(0,i.re)(o.Yk)}return e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},e.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},e}();
1n||(n={});var s=function(e,t,r,n,i){this.message=e,this.path=t,this.query=r,this.clientOnly=n,this.variables=i},u=r(9575),c=r(43425),l=r(46040),p=Object.prototype.hasOwnProperty;var f=/^[_a-z][_0-9a-z]*/i;function d(e){var t=e.match(f);return t?t[0]:e}function h(e,t,r){return!(!t||"object"!==typeof t)&&(Array.isArray(t)?t.every((function(t){return h(e,t,r)})):e.selections.every((function(e){if((0,o.My)(e)&&(0,o.LZ)(e,r)){var n=(0,o.u2)(e);return p.call(t,n)&&(!e.selectionSet||h(e.selectionSet,t[n],r))}return!0})))}function v(e){return null!==e&&"object"===typeof e&&!(0,o.hh)(e)&&!Array.isArray(e)}function b(e){var t=e&&e.__field;return t&&(0,o.My)(t)}var y=function(e,t,r){var n=e[r],i=t[r];return b(n)?(n.__value=this.merge(n.__value,b(i)?i.__value:i),n):b(i)?(i.__value=this.merge(n,i.__value),i):this.merge(n,i)},m=Object.create(null),g=function(){return m},w=Object.create(null),O=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,o.Jv)((0,o.hh)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,o.hh)(e)?r.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,o.kQ)(e);if((0,o.hh)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,o.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,u.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),p.call(this.data,e)){var r=this.data[e];if(r&&p.call(r,t))return r[t]}return"__typename"===t&&p.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof S?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),p.call(this.data,e)?this.data[e]:this instanceof S?this.parent.lookup(e,t):void 0},e.prototype.merge=function(e,t){var r=this,n=this.lookup(e),i=new o.w0(E).merge(n,t);if(this.data[e]=i,i!==n&&(delete this.refs[e],this.group.caching)){var a=Object.create(null);n||(a.__exists=1),Object.keys(t).forEach((function(e){n&&n[e]===i[e]||(a[d(e)]=1,void 0!==i[e]||r instanceof S||delete i[e])})),Object.keys(a).forEach((function(t){return r.group.dirty(e,t)}))}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),a=!1,s=!0,c={DELETE:m,INVALIDATE:w,isReference:o.hh,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"===typeof t?{fieldName:t,from:n||(0,o.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach((function(l){var p=d(l),f=n[l];if(void 0!==f){var h="function"===typeof t?t:t[l]||t[p];if(h){var v=h===g?m:h((0,o.Jv)(f),(0,u.pi)((0,u.pi)({},c),{fieldName:p,storeFieldName:l,storage:r.getStorage(e,l)}));v===w?r.group.dirty(e,l):(v===m&&(v=void 0),v!==f&&(i[l]=v,a=!0,f=v))}void 0!==f&&(s=!1)}})),a)return this.merge(e,i),s&&(this instanceof S?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=g,n):g)}return!1},e.prototype.evict=function(e){var t=!1;return e.id&&(p.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof S&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;Object.keys(this.data).forEach((function(r){e&&p.call(e,r)||t.delete(r)})),e&&Object.keys(e).forEach((function(r){t.merge(r,e[r])}))},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEac
1h(e.add,e),this instanceof S?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){p.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof S;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!p.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=new Set([this.data[e]]),n=function(e){return null!==e&&"object"===typeof e};r.forEach((function(e){(0,o.hh)(e)?t[e.__ref]=!0:n(e)&&Object.values(e).filter(n).forEach(r.add,r)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.group.keyMaker.lookupArray(e)},e}(),k=function(){function e(e){this.caching=e,this.d=null,this.keyMaker=new i.Gl(o.mr),this.d=e?(0,i.dP)():null}return e.prototype.depend=function(e,t){this.d&&this.d(x(e,t))},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(x(e,t))},e}();function x(e,t){return d(t)+"#"+e}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,a=void 0===n||n,s=t.seed,u=e.call(this,r,new k(a))||this;return u.storageTrie=new i.Gl(o.mr),u.sharedLayerGroup=new k(a),s&&u.replace(s),u}return(0,u.ZT)(t,e),t.prototype.addLayer=function(e,t){return new S(e,this,t,this.sharedLayerGroup)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(e,t){return this.storageTrie.lookup(e,t)},t}(e);e.Root=t}(O||(O={}));var S=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,u.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){t.data[e]!==r.lookup(e)&&t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,u.pi)((0,u.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return p.call(this.data,t)?(0,u.pi)((0,u.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(e,t){return this.parent.getStorage(e,t)},t}(O);function E(e,t,r){var n=e[r],i=t[r];return(0,l.D)(n,i)?n:i}function C(e){return!!(e instanceof O&&e.group.caching)}function R(e,t){return new s(e.message,t.path.slice(),t.query,t.clientOnly,t.variables)}var I=function(){function e(e){var t=this;this.config=e,this.executeSelectionSet=(0,i.re)((function(e){return t.execSelectionSetImpl(e)}),{keyArgs:function(e){return[e.selectionSet,e.objectOrReference,e.context]},makeCacheKey:function(e,t,r){if(C(r.store))return r.store.makeCacheKey(e,(0,o.hh)(t)?t.__ref:t,r.varString)}}),this.knownResults=new WeakMap,this.executeSubSelectedArray=(0,i.re)((function(e){return t.execSubSelectedArrayImpl(e)}),{makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(C(n.store))return n.store.makeCacheKey(t,r,n.varString)}}),this.config=(0,u.pi)({addTypename:!0},e)}return e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.rootId,i=void 0===n?"ROOT_QUERY":n,a=e.variables,s=e.returnPartialData,c=void 0===s||s,l=this.config.cache.policies;a=(0,u.pi)((0,u.pi)({},(0,o.O4)((0,o.iW)(r))),a);var p=this.executeSelectionSet({selectionSet:(0,o.p$)(r).selectionSet,objectOrReference:(0,o.kQ)(i),context:{store:t,query:r,policies:l,variables:a,varString:JSON.stringify(a),fragmentMap:(0,o.F)((0,o.kU)(r)),path:[],clientOnly:!1}}),f=p.missing&&p.missing.length>0;if(f&&!c)throw p.missing[0];return{result:p.result,missing:p.missing,complete:!f}},e.prototype.isFresh=function(e,t,r,n){if(C(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n);if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.context;if((0,o.hh)(n)&&!i.policies.rootTypenamesById[n.__ref]&&!i.store.has(n.__ref))return{result:{},missing:[R(new c.ej(4),i)]};var a=i.variables,s=i.policies,u=i.store,l=[],p={result:null},f=u.getFieldValue(n,"__typename");function d(){return p.missing||(p.missing=[])}function h(e){var t;return e.missing&&(t=d()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"===typeof f&&!s.rootIdsByTypename[f]&&l.push({__typename:f});var v=new Set(r.selections);return v.forEach((function(e){var r;if((0,o.LZ)(e,a))if((0,o.My)(e)){var u=s.readField({fieldName:e.n
1ame.value,field:e,variables:i.variables,from:n},i),p=(0,o.u2)(e);i.path.push(p);var b=i.clientOnly;i.clientOnly=b||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===u?o.Gw.added(e)||d().push(R(new c.ej(5),i)):Array.isArray(u)?u=h(t.executeSubSelectedArray({field:e,array:u,context:i})):e.selectionSet&&null!=u&&(u=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:u,context:i}))),void 0!==u&&l.push(((r={})[p]=u,r)),i.clientOnly=b,(0,c.kG)(i.path.pop()===p)}else{var y=(0,o.hi)(e,i.fragmentMap);y&&s.fragmentMatches(y,f)&&y.selectionSet.selections.forEach(v.add,v)}})),p.result=(0,o.bw)(l),this.knownResults.set(p.result,r),p},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.context;function a(e,r){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,c.kG)(o.path.pop()===r),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),{result:i=i.map((function(e,t){return null===e?null:(o.path.push(t),Array.isArray(e)?a(r.executeSubSelectedArray({field:n,array:e,context:o}),t):n.selectionSet?a(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,context:o}),t):((0,c.kG)(o.path.pop()===t),e))})),missing:t}},e}();var P=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,r=e.result,n=e.dataId,i=e.store,a=e.variables,s=(0,o.$H)(t),l=new o.w0(y);a=(0,u.pi)((0,u.pi)({},(0,o.O4)(s)),a);var p=this.processSelectionSet({result:r||Object.create(null),dataId:n,selectionSet:s.selectionSet,context:{store:i,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:JSON.stringify(a),fragmentMap:(0,o.F)((0,o.kU)(t))}});if(!(0,o.hh)(p))throw new c.ej(7);return i.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,a=e.context,s=e.out,u=void 0===s?{shouldApplyMerges:!1}:s,l=this.cache.policies,p=l.identify(n,i,a.fragmentMap),f=p[0],d=p[1];if("string"===typeof(r=r||f)){var h=a.written[r]||(a.written[r]=[]),v=(0,o.kQ)(r);if(h.indexOf(i)>=0)return v;if(h.push(i),this.reader&&this.reader.isFresh(n,v,i,a))return v}var b=Object.create(null);d&&(b=a.merge(b,d));var y=r&&l.rootTypenamesById[r]||(0,o.qw)(n,i,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"===typeof y&&(b.__typename=y);var m=new Set(i.selections);if(m.forEach((function(e){var r;if((0,o.LZ)(e,a.variables))if((0,o.My)(e)){var i=(0,o.u2)(e),s=n[i];if("undefined"!==typeof s){var p=l.getStoreFieldName({typename:y,fieldName:e.name.value,field:e,variables:a.variables}),f=t.processFieldValue(s,e,a,u);l.hasMergeFunction(y,e.name.value)&&(f={__field:e,__typename:y,__value:f},u.shouldApplyMerges=!0),b=a.merge(b,((r={})[p]=f,r))}else if(l.usingPossibleTypes&&!(0,o.FS)(["defer","client"],e))throw new c.ej(8)}else{var d=(0,o.hi)(e,a.fragmentMap);d&&l.fragmentMatches(d,y,n,a.variables)&&d.selectionSet.selections.forEach(m.add,m)}})),"string"===typeof r){var g=(0,o.kQ)(r);return u.shouldApplyMerges&&(b=l.applyMerges(g,b,a)),a.store.merge(r,b),g}return b},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e){return i.processFieldValue(e,t,r,n)})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,out:n}):e},e}();new Set;var D=r(68837),M=(0,i.dP)(),T=new D.g7;function Q(e,t){var r=[];e.forEach((function(e){return r.push(e)})),e.clear(),r.forEach(t)}function q(e){var t=new Set,r=new Set,n=function(i){if(arguments.length>0)e!==i&&(e=i,M.dirty(n),t.forEach(F),Q(r,(function(t){return t(e)})));else{var o=T.getValue();o&&t.add(o),M(n)}return e};return n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}},n}function F(e){e.broadcastWatches&&e.broadcastWatches()}function L(e){return void 0!==e.args?e.args:e.field?(0,o.NC)(e.field,e.variables):null}var N=function(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"===typeof r&&(t&&(t.keyObject=void 0!==n?{id:n}:void 0!==i?{_id:i}:void 0),void 0===n&&(n=i),void 0!==n))return r+":"+("number"===typeof n||"string"===typeof n?n:JSON.stringify(n))},_=function(){},j=function(e,t){return t.fieldName},A=function(e,t,r){return(0,r.mergeObjects)(e,t)},Z=function(e,t){return t},z=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,u.pi)({dataIdFromObject:N}
1,e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,r){var n=t&&r?(0,o.qw)(e,t,r):e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,a={typename:n,selectionSet:t,fragmentMap:r},s=this.getTypePolicy(n,!1),u=s&&s.keyFn||this.config.dataIdFromObject;u;){var c=u(e,a);if(!Array.isArray(c)){i=c;break}u=W(c)}return i=i&&String(i),a.keyObject?[i,a.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var n=t.getTypePolicy(r,!0),i=e[r],o=i.keyFields,a=i.fields;i.queryType&&t.setRootTypename("Query",r),i.mutationType&&t.setRootTypename("Mutation",r),i.subscriptionType&&t.setRootTypename("Subscription",r),n.keyFn=!1===o?_:Array.isArray(o)?W(o):"function"===typeof o?o:n.keyFn,a&&Object.keys(a).forEach((function(e){var n=t.getFieldPolicy(r,e,!0),i=a[e];if("function"===typeof i)n.read=i;else{var o=i.keyArgs,s=i.read,u=i.merge;n.keyFn=!1===o?j:Array.isArray(o)?B(o):"function"===typeof o?o:n.keyFn,"function"===typeof s&&(n.read=s),n.merge="function"===typeof u?u:!0===u?A:!1===u?Z:n.merge}n.read&&n.merge&&(n.keyFn=n.keyFn||j)}))}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,c.kG)(!n||n===e,1),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(f);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e,t){if(e)return this.typePolicies[e]||t&&(this.typePolicies[e]=Object.create(null))},e.prototype.getFieldPolicy=function(e,t,r){var n=this.getTypePolicy(e,r);if(n){var i=n.fields||r&&(n.fields=Object.create(null));if(i)return i[t]||r&&(i[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},c=!(!r||!this.fuzzySubtypes.size),l=0;l<s.length;++l){var p=s[l];if(p.has(o))return a.has(o)||a.add(o),!0;p.forEach(u),c&&l===s.length-1&&h(e.selectionSet,r,n)&&(c=!1,!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)})))}return!1},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),a=i&&i.keyFn;if(a&&r)for(var s={typename:r,fieldName:n,field:e.field||null,variables:e.variables},u=L(e);a;){var c=a(u,s);if(!Array.isArray(c)){t=c||n;break}a=B(c)}return void 0===t&&(t=e.field?(0,o.vf)(e.field,e.variables):(0,o.PT)(n,L(e))),n===d(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),a=d(i),s=t.store.getFieldValue(r,i),u=this.getFieldPolicy(e.typename,a,!1),c=u&&u.read;if(c){var l=V(this,r,e,t,t.store.getStorage((0,o.hh)(r)?r.__ref:r,i));return T.withValue(this.cache,c,[s,l])}return s}},e.prototype.hasMergeFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.merge)},e.prototype.applyMerges=function(e,t,r,n){var i,a=this;if(b(t)){var s=t.__field,c=s.name.value;t=(0,this.getFieldPolicy(t.__typename,c,!1).merge)(e,t.__value,V(this,void 0,{typename:t.__typename,fieldName:c,field:s,variables:r.variables},r,n?(i=r.store).getStorage.apply(i,n):Object.create(null)))}if(Array.isArray(t))return t.map((function(e){return a.applyMerges(void 0,e,r)}));if(v(t)){var l,p=e,f=t,d=(0,o.hh)(p)?p.__ref:"object"===typeof p&&p;
1if(Object.keys(f).forEach((function(e){var t=f[e],n=a.applyMerges(r.store.getFieldValue(p,e),t,r,d?[d,e]:void 0);n!==t&&((l=l||Object.create(null))[e]=n)})),l)return(0,u.pi)((0,u.pi)({},f),l)}return t},e}();function V(e,t,r,n,i){var a=e.getStoreFieldName(r),s=d(a),l=r.variables||n.variables,p=n.store,f=p.getFieldValue,h=p.toReference,b=p.canRead;return{args:L(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:l,isReference:o.hh,toReference:h,storage:i,cache:e.cache,canRead:b,readField:function(r,i){var o="string"===typeof r?{fieldName:r,from:i}:(0,u.pi)({},r);return void 0===o.from&&(o.from=t),void 0===o.variables&&(o.variables=l),e.readField(o,n)},mergeObjects:function(t,r){if(Array.isArray(t)||Array.isArray(r))throw new c.ej(2);if(t&&"object"===typeof t&&r&&"object"===typeof r){var i=f(t,"__typename"),o=f(r,"__typename"),a=i&&o&&i!==o,s=e.applyMerges(a?void 0:t,r,n);return!a&&v(t)&&v(s)?(0,u.pi)((0,u.pi)({},t),s):s}return r}}}function B(e){return function(t,r){return t?r.fieldName+":"+JSON.stringify($(t,e)):r.fieldName}}function W(e){var t=new i.Gl(o.mr);return function(r,n){var i;if(n.selectionSet&&n.fragmentMap){var o=t.lookupArray([n.selectionSet,n.fragmentMap]);i=o.aliasMap||(o.aliasMap=U(n.selectionSet,n.fragmentMap))}var a=n.keyObject=$(r,e,i);return n.typename+":"+JSON.stringify(a)}}function U(e,t){var r=Object.create(null),n=new Set([e]);return n.forEach((function(e){e.selections.forEach((function(e){if((0,o.My)(e)){if(e.alias){var i=e.alias.value,a=e.name.value;if(a!==i)(r.aliases||(r.aliases=Object.create(null)))[a]=i}if(e.selectionSet)(r.subsets||(r.subsets=Object.create(null)))[e.name.value]=U(e.selectionSet,t)}else{var s=(0,o.hi)(e,t);s&&n.add(s.selectionSet)}}))})),r}function $(e,t,r){var n,i=Object.create(null);return t.forEach((function(t){if(Array.isArray(t)){if("string"===typeof n){var o=r&&r.subsets,a=o&&o[n];i[n]=$(e[n],t,a)}}else{var s=r&&r.aliases,u=s&&s[t]||t;(0,c.kG)(p.call(e,u),3),i[n=t]=e[u]}})),i}var G={dataIdFromObject:N,addTypename:!0,resultCaching:!0,typePolicies:{}};!function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=q,r.txCount=0,r.maybeBroadcastWatch=(0,i.re)((function(e,t){return r.broadcastWatch.call(r,e,!!t)}),{makeCacheKey:function(e){var t=e.optimistic?r.optimisticData:r.data;if(C(t)){var n=e.optimistic,i=e.rootId,o=e.variables;return t.makeCacheKey(e.query,e.callback,JSON.stringify({optimistic:n,rootId:i,variables:o}))}}}),r.watchDep=(0,i.dP)(),r.config=(0,u.pi)((0,u.pi)({},G),t),r.addTypename=!!r.config.addTypename,r.policies=new z({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.data=new O.Root({policies:r.policies,resultCaching:r.config.resultCaching}),r.optimisticData=r.data,r.storeWriter=new P(r,r.storeReader=new I({cache:r,addTypename:r.addTypename})),r}(0,u.ZT)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){var t=e.optimistic?this.optimisticData:this.data;return("string"!==typeof e.rootId||t.has(e.rootId))&&this.storeReader.diffQueryAgainstStore({store:t,query:e.query,variables:e.variables,rootId:e.rootId,config:this.config,returnPartialData:!1}).result||null},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:e.query,result:e.result,dataId:e.dataId,variables:e.variables})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(p.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e),t.watchDep.dirty(e),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(){return this.optimisticData.gc()},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){return(0,o.hh)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(p.call(e,"id"))return!1;e=(0,u.pi)((0,u.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.performTransaction=function(e,t){var r=this,n=function(t){var n=r,i=n.data,o=n.optimisticData;++r.txCount,t&&(r.data=r.optimisticData=t);try{e(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},i=!1;"string"===typeof t?(this.optimisticData=this.optimisticData.addLayer(t,n),i=!0):null===t?n(this.data):n(),this.broadcastWatches(i)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.t
1ypenameDocumentCache.get(e);return t||(t=(0,o.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){this.watchDep.dirty(e),this.watchDep(e);var r=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});e.optimistic&&t&&(r.fromOptimisticTransaction=!0),e.callback(r)}}(a)},21224:function(){},95600:function(e,t,r){"use strict";var n=r(9575),i=r(43425),o=r(93636),a=r(65551),s=r(21994),u=r(46040),c=r(50209),l=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),p=r(4277),f=r(75637),d=r(79041),h=r(7725),v=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,a.Ee)(t.resolvers,e)})):this.resolvers=(0,a.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,a.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,a.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,d.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return d.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,a.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.mG)(this,void 0,void 0,(function(){var u,c,l,p,f,d,h,v,b;return(0,n.Jh)(this,(function(y){return u=(0,a.p$)(e),c=(0,a.kU)(e),l=(0,a.F)(c),p=u.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",h=(d=this).cache,v=d.client,b={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:h,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,b).then((function(e){return{result:e,exportedVariables:b.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var o,s,u,c,l,p=this;return(0,n.Jh)(this,(function(f){return o=r.fragmentMap,s=r.context,u=r.variables,c=[t],l=function(e){return(0,n.mG)(p,void 0,void 0,(function(){var l,p;return(0,n.Jh)(this,(function(n){return(0,a.LZ)(e,u)?(0,a.My)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;"undefined"!==typeof t&&c.push(((r={}
1)[(0,a.u2)(e)]=t,r))}))]:((0,a.Ao)(e)?l=e:(l=o[e.name.value],(0,i.kG)(l,11)),l&&l.typeCondition&&(p=l.typeCondition.name.value,r.fragmentMatcher(t,p,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,a.bw)(c)}))]}))}))},e.prototype.resolveField=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var i,o,s,u,c,l,p,f,d,v=this;return(0,n.Jh)(this,(function(n){return i=r.variables,o=e.name.value,s=(0,a.u2)(e),u=o!==s,c=t[s]||t[o],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(p=t.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[p])&&(d=f[u?o:s])&&(l=Promise.resolve(h.cacheSlot.withValue(this.cache,d,[t,(0,a.NC)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then((function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?v.resolveSubSelectedArray(e,t,r):e.selectionSet?v.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}(),b=new(a.mr?WeakMap:Map);function y(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return b.set(e,(b.get(e)+1)%1e15),r.apply(this,arguments)})}var m=function(){function e(e){this.cache=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.dirty=!1,this.diff=null,this.observableQuery=null,b.has(e)||(b.set(e,0),y(e,"evict"),y(e,"modify"),y(e,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||f.I.loading;return this.variables&&this.networkStatus!==f.I.loading&&!(0,u.D)(this.variables,e.variables)&&(t=f.I.setVariables),(0,u.D)(e.variables,this.variables)||(this.diff=null),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.getDiff=function(e){return void 0===e&&(e=this.variables),this.diff&&(0,u.D)(e,this.variables)?this.diff:(this.updateWatch(this.variables=e),this.diff=this.cache.diff({query:this.document,variables:e,returnPartialData:!0,optimistic:!0}))},e.prototype.setDiff=function(e){var t=this,r=this.diff;this.diff=e,this.dirty||(e&&e.result)===(r&&r.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,f.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){this.cancel(),delete this.cancel;var e=this.observableQuery;e&&e.stopPolling()},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;r&&"no-cache"===r.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&(0,u.D)(e,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:e,optimistic:!0,callback:function(e){return t.setDiff(e)}}))},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===b.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var n=this;this.graphQLErrors=(0,a.Of)(e.errors)?e.errors:[],"no-cache"===t.fetchPolicy?this.diff={result:e.data,complete:!0}:r&&(g(e,t.errorPolicy)?this.cache.performTransaction((function(r){if(n.shouldWrite(e,t.variables))r.writeQuery({query:n.document,data:e.data,variables:t.variables}),n.lastWrite={result:e,variables:t.variables,dmCount:b.get(n.cache)};else if(n.diff&&n.diff.complete)return void(e.data=n.diff.result);var i=r.diff({query:n.document,variables:t.variables,returnPartialData:!0,optimistic:!0});n.updateWatch(t.variables),n.diff=i,i.complete&&(e.data=i.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=f.I.ready},e.prototype.markError=function(e){return this.networkStatus=f.I.error,this.lastWrite=void 0,e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function g(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,a.d2)(e);return!n&&r&&e.data&&(n=!0),n}var w=Object.prototype.hasOwnProperty,O=function(){function e(e){var t=e.cache,r=e.link,n=e.queryDeduplication,i=void 0!==n&&n,o=e.onBroadcast,s=void 0===o?function(){}:o,u=e.ssrMode,c=void 0!==u&&u,p=e.clientAwareness,f=void 0===p?{}:p,d=e.localState,h=e.assumeImmutableResults;this.mutationStore=new l,this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(a.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.queryDeduplication=i,this.onBroadcast=s,this.clientAwareness=f,this.localState=d||new v({cache:t}),this.ssrMode=c,this.assumeImmutableResults=!!h}return e.prototype.stop=function(){var e=this;
1this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(new i.ej(12))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,o=e.optimisticResponse,s=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,p=e.awaitRefetchQueries,f=void 0!==p&&p,d=e.update,h=e.errorPolicy,v=void 0===h?"none":h,b=e.fetchPolicy,y=e.context,m=void 0===y?{}:y;return(0,n.mG)(this,void 0,void 0,(function(){var e,u,p,h,y=this;return(0,n.Jh)(this,(function(g){switch(g.label){case 0:return(0,i.kG)(t,13),(0,i.kG)(!b||"no-cache"===b,14),e=this.generateMutationId(),t=this.transform(t).document,r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,m)]:[3,2];case 1:r=g.sent(),g.label=2;case 2:return u=function(){var e={};return s&&y.queries.forEach((function(t,r){var n=t.observableQuery;if(n){var i=n.queryName;i&&w.call(s,i)&&(e[r]={updater:s[i],queryInfo:y.queries.get(r)})}})),e},this.mutationStore.initMutation(e,t,r),o&&(p="function"===typeof o?o(r):o,this.cache.recordOptimisticTransaction((function(n){try{k({mutationId:e,result:{data:p},document:t,variables:r,errorPolicy:v,queryUpdatersById:u(),update:d},n)}catch(i){}}),e)),this.broadcastQueries(),h=this,[2,new Promise((function(i,s){var p,y;h.getObservableFromLink(t,(0,n.pi)((0,n.pi)({},m),{optimisticResponse:o}),r,!1).subscribe({next:function(n){if((0,a.d2)(n)&&"none"===v)y=new c.c({graphQLErrors:n.errors});else{if(h.mutationStore.markMutationResult(e),"no-cache"!==b)try{k({mutationId:e,result:n,document:t,variables:r,errorPolicy:v,queryUpdatersById:u(),update:d},h.cache)}catch(i){return void(y=new c.c({networkError:i}))}p=n}},error:function(t){h.mutationStore.markMutationError(e,t),o&&h.cache.removeOptimistic(e),h.broadcastQueries(),s(new c.c({networkError:t}))},complete:function(){if(y&&h.mutationStore.markMutationError(e,y),o&&h.cache.removeOptimistic(e),h.broadcastQueries(),y)s(y);else{"function"===typeof l&&(l=l(p));var t=[];(0,a.Of)(l)&&l.forEach((function(e){if("string"===typeof e)h.queries.forEach((function(r){var n=r.observableQuery;n&&n.queryName===e&&t.push(n.refetch())}));else{var r={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(r.context=e.context),t.push(h.query(r))}})),Promise.all(f?t:[]).then((function(){"ignore"===v&&p&&(0,a.d2)(p)&&delete p.errors,i(p)}),s)}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),n=(0,a.Fo)(this.cache.transformForLink(r)),i=this.localState.clientQuery(r),o=n&&this.localState.serverQuery(n),s={document:r,hasClientExports:(0,a.mj)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:o,defaultVars:(0,a.O4)((0,a.$H)(r))},u=function(e){e&&!t.has(e)&&t.set(e,s)};u(e),u(r),u(i),u(o)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new m(this.cache),r=new p.u({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:e.query,observableQuery:r,variables:e.variables}),r},e.prototype.query=function(e){var t=this;(0,i.kG)(e.query,15),(0,i.kG)("Document"===e.query.kind,16),(0,i.kG)(!e.returnPartialData,17),(0,i.kG)(!e.pollInterval,18);var r=this.generateQueryId();return this.fetchQuery(r,e).finally((function(){return t.stopQuery(r)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(){return this.cancelPendingFetches(new i.ej(19)),this.queries.forEac
1h((function(e){e.observableQuery?e.networkStatus=f.I.loading:e.stop()})),this.mutationStore.reset(),this.cache.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(n,i){var o=n.observableQuery;if(o&&o.hasObservers()){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.getQuery(i).setDiff(null)}})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=e.variables,s=e.context,u=void 0===s?{}:s;r=this.transform(r).document,o=this.getVariables(r,o);var l=function(e){return t.getObservableFromLink(r,u,e,!1).map((function(o){if("no-cache"!==n&&(g(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),(0,a.d2)(o))throw new c.c({graphQLErrors:o.errors});return o}))};if(this.transform(r).hasClientExports){var p=this.localState.addExportedVariables(r,o,u).then(l);return new a.y$((function(e){var t=null;return p.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return l(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.broadcastQueries=function(){this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var s,u,c=this;void 0===i&&(i=null!==(s=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var l=this.transform(e).serverQuery;if(l){var p=this.inFlightLinkObservables,f=this.link,d={query:l,variables:r,operationName:(0,a.rY)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=d.context,i){var h=p.get(l)||new Map;p.set(l,h);var v=JSON.stringify(r);if(!(u=h.get(v))){var b=new a.X_([(0,o.execute)(f,d)]);h.set(v,u=b),b.cleanup((function(){h.delete(v)&&h.size<1&&p.delete(l)}))}}else u=new a.X_([(0,o.execute)(f,d)])}else u=new a.X_([a.y$.of({data:{}})]),t=this.prepareContext(t);var y=this.transform(e).clientQuery;return y&&(u=(0,a.sz)(u,(function(e){return c.localState.runResolvers({document:y,remoteResult:e,context:t,variables:r})}))),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId;return(0,a.sz)(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var o=(0,a.Of)(i.errors);if(n>=e.lastRequestId){if(o&&"none"===r.errorPolicy)throw e.markError(new c.c({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var s={data:i.data,loading:!1,networkStatus:e.networkStatus||f.I.ready};return o&&"ignore"!==r.errorPolicy&&(s.errors=i.errors),s}),(function(t){var r=(0,c.M)(t)?t:new c.c({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=f.I.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),s=this.getQuery(e),u=s.networkStatus,c=t.fetchPolicy,l=void 0===c?"cache-first":c,p=t.errorPolicy,d=void 0===p?"none":p,h=t.returnPartialData,v=void 0!==h&&h,b=t.notifyOnNetworkStatusChange,y=void 0!==b&&b,m=t.context,g=void 0===m?{}:m;("cache-first"===l||"cache-and-network"===l||"network-only"===l||"no-cache"===l)&&y&&"number"===typeof u&&u!==r&&(0,f.O)(r)&&("cache-first"!==l&&(l="cache-and-network"),v=!0);var w=Object.assign({},t,{query:i,variables:o,fetchPolicy:l,errorPolicy:d,returnPartialData:v,notifyOnNetworkStatusChange:y,context:g}),O=function(e){return w.variables=e,n.fetchQueryByPolicy(s,w,r)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return k.cancel(e)}))}));var k=new a.X_(this.transform(w.query).hasClientExports?this.localState.addExportedVariables(w.query,w.variables,w.context).then(O):O(w.variables));return k.cleanup((function(){n.fetchCancelFns.delete(e);var r=t.nextFetchPolicy;r&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"===typeof r?r.call(t,t.fetchPolicy||"cache-first"):r)})),k},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,s=t.variables,u=t.fetchPolicy,c=t.errorPolicy,l=t.returnPartialData,p=t.context;e.init({document:o,variables:s,lastRequestId:this.generateRequestId(),networkStatus:r});var d=function(){return e.getDiff(s)},h=function(t,r){void 0===r&&(r=e.networkStatus||f.I.loading);var u=t.result;var c=function(e){return a.y$.of((0,n.pi)({data:e,loading:(0,f.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:u},context:p,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(u)},v=function(t){return i.getResultsFromLink(e,t,{variables:s,context:p,fetchPolicy:u,errorPolicy:c})};switch(u){default:case"cache-first":return(b=d()).complete?[h(b,e.markReady())]:l?[h(b),v(!0)]:[v(!0)];case"cache-and-network":var b;return(b=d()).complete||l?[h(b),v(!0)]:[v(!0)];case"cache-only":return[h(d(),e.markReady())];case"network-only":return[v(!0)];case"no-cache":return[v(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new m(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function k(e,t){if(g(e.result,e.errorPolicy)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],n=e.queryUpdatersById;
1n&&Object.keys(n).forEach((function(i){var o=n[i],s=o.updater,u=o.queryInfo,c=u.document,l=u.variables,p=t.diff({query:c,variables:l,returnPartialData:!0,optimistic:!1}),f=p.result;if(p.complete&&f){var d=s(f,{mutationResult:e.result,queryName:(0,a.rY)(c)||void 0,queryVariables:l});d&&r.push({result:d,dataId:"ROOT_QUERY",query:c,variables:l})}})),t.performTransaction((function(t){r.forEach((function(e){return t.write(e)}));var n=e.update;n&&n(t,e.result)}),null)}}!function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,a=e.headers,u=e.cache,c=e.ssrMode,l=void 0!==c&&c,p=e.ssrForceFetchDelay,f=void 0===p?0:p,d=e.connectToDevTools,h=e.queryDeduplication,b=void 0===h||h,y=e.defaultOptions,m=e.assumeImmutableResults,g=void 0!==m&&m,w=e.resolvers,k=e.typeDefs,x=e.fragmentMatcher,S=e.name,E=e.version,C=e.link;if(C||(C=r?new s.uG({uri:r,credentials:n,headers:a}):o.ApolloLink.empty()),!u)throw new i.ej(9);this.link=C,this.cache=u,this.disableNetworkFetches=l||f>0,this.queryDeduplication=b,this.defaultOptions=y||{},this.typeDefs=k,f&&setTimeout((function(){return t.disableNetworkFetches=!1}),f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);"undefined"!==typeof d&&(d&&"undefined"!==typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="local",this.localState=new v({cache:u,client:this,resolvers:w,fragmentMatcher:x}),this.queryManager=new O({cache:this.cache,link:this.link,queryDeduplication:b,ssrMode:l,clientAwareness:{name:S,version:E},localState:this.localState,assumeImmutableResults:g,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,a.oA)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,a.oA)(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,a.oA)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,o.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e}}()},4277:function(e,t,r){"use strict";r.d(t,{u:function(){return c}});var n=r(9575),i=r(43425),o=r(46040),a=r(75637),s=r(65551),u=function(){function e(e,t,r,n){this.observer=e,this.options=t,this.fetch=r,this.shouldFetch=n}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var r=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),r.addObserver(this.observer),(this.concast=r).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,
1(0,s.oA)(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,r=this.options.pollInterval;if(r){if((!t||t.interval!==r)&&((0,i.kG)(r,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},a.I.poll).then(o,o):o())},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),c=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,u=e.call(this,(function(e){return u.onSubscribe(e)}))||this;u.observers=new Set,u.subscriptions=new Set,u.observer={next:function(e){(u.lastError||u.isDifferentFromLastResult(e))&&(u.updateLastResult(e),(0,s.pM)(u.observers,"next",e))},error:function(e){u.updateLastResult((0,n.pi)((0,n.pi)({},u.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:a.I.error,loading:!1})),(0,s.pM)(u.observers,"error",u.lastError=e)}},u.isTornDown=!1,u.options=o,u.queryId=r.generateQueryId();var c=(0,s.$H)(o.query);return u.queryName=c&&c.name&&c.name.value,u.queryManager=r,u.queryInfo=i,u}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,r=this.queryInfo.networkStatus||t&&t.networkStatus||a.I.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,a.O)(r),networkStatus:r});if(this.isTornDown)return i;var o=this.options.fetchPolicy,s=void 0===o?"cache-first":o;if("no-cache"===s||"network-only"===s)delete i.partial;else if(!i.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var u=this.queryInfo.getDiff();i.data=u.complete||this.options.returnPartialData?u.result:void 0,u.complete?(i.networkStatus!==a.I.loading||"cache-first"!==s&&"cache-only"!==s||(i.networkStatus=a.I.ready,i.loading=!1),delete i.partial):i.partial=!0}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!(0,o.D)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},r=this.options.fetchPolicy;return"no-cache"!==r&&"cache-and-network"!==r&&(t.fetchPolicy="network-only",t.nextFetchPolicy=r||"cache-first"),e&&!(0,o.D)(this.options.variables,e)&&(t.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,a.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)({},this.options),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId();return r.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=a.I.fetchMore,this.observe()),this.queryManager.fetchQuery(i,r,a.I.fetchMore).then((function(n){var i=n.data,o=e.updateQuery;return o?t.updateQuery((function(e){return o(e,{fetchMoreResult:i,variables:r.variables})})):t.queryManager.cache.writeQuery({query:r.query,variables:r.variables,data:i}),n})).finally((function(){t.queryManager.stopQuery(i),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if((0,o.D)(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,r=void 0===t?"cache-first":t,n={fetchPolicy:r,variables:e};return"cache-first"!==r&&"no-cache"!==r&&"network-only"!==r&&(n.fetchPolicy="cache-and-network",n.nextFetchPolicy=r),this.reobserve(n,a.I.setVariables)},t.prototype.updateQuery=function(e){var t,r=this.queryManager,n=e(r.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(r.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:(0,s.Xh)(e),(0,s.Of)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var r=e._subscription._observer;r&&!r.error&&(r.error=l)}catch(i){}var n=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),n&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,r=this.queryManager,i=this.queryId;return r.setObservableQuery(this),new u(this.observer,e?this.options:(0,n.pi)({},this.options),(function(e,n){return r.setObservableQuery(t),r.fetchQueryObservable(i,e,n)}),!r.ssrMode&&function(){return!(0,a.O)(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.isTornDown=!0,this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.stopQuery(this.queryId),this.observers.clear()},t}(s.y$);function l(e){}},37699:function(e,t,r){"use strict";r.d(t,{NetworkStatus:function(){return n.I}});r(95600),r(4277);var n=r(75637),i=r(48731);r.o(i,"useQuery")&&r.d(t,{useQuery:function(){return i.useQuery}});r(50209),r(7725);var o=r(21224);r.o(o,"useQuery")&&r.d(t,{useQuery:function(){return o.useQuery}});var a=r(93636);r.o(a,"useQuery")&&r.d(t,{useQuery:function(){return a.useQuery}});r(21994),r(29794),r(65551);var s=r(96025),u=r.n(s);
1u().resetCaches,u().disableFragmentWarnings,u().enableExperimentalFragmentVariables,u().disableExperimentalFragmentVariables},75637:function(e,t,r){"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{I:function(){return n},O:function(){return i}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},48731:function(){},50209:function(e,t,r){"use strict";r.d(t,{M:function(){return o},c:function(){return a}});var n=r(9575),i=r(65551);function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(r){var n=r.graphQLErrors,o=r.networkError,a=r.errorMessage,s=r.extraInfo,u=e.call(this,a)||this;return u.graphQLErrors=n||[],u.networkError=o||null,u.message=a||function(e){var t="";return(0,i.Of)(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var r=e?e.message:"Error message not found.";t+=r+"\n"})),e.networkError&&(t+=e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(u),u.extraInfo=s,u.__proto__=t.prototype,u}return(0,n.ZT)(t,e),t}(Error)},10266:function(e,t,r){"use strict";r.d(t,{useQuery:function(){return i.useQuery}});var n=r(37699);r.o(n,"useQuery")&&r.d(t,{useQuery:function(){return n.useQuery}});var i=r(83162)},13139:function(e,t,r){"use strict";r.d(t,{i:function(){return l}});var n=r(9575),i=r(43425),o=r(65551),a=r(29794);function s(e,t){return t?t(e):o.y$.of()}function u(e){return"function"===typeof e?new l(e):e}function c(e){return e.request.length<=1}!function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}(0,n.ZT)(t,e)}(Error);var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return o.y$.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i=u(r),a=u(n||new e(s));return c(i)&&c(a)?new e((function(e){return t(e)?i.request(e)||o.y$.of():a.request(e)||o.y$.of()})):new e((function(e,r){return t(e)?i.request(e,r)||o.y$.of():a.request(e,r)||o.y$.of()}))},e.execute=function(e,t){return e.request((0,a.zi)(t.context,(0,a.DQ)((0,a.Ak)(t))))||o.y$.of()},e.concat=function(t,r){var n=u(t);if(c(n))return n;var i=u(r);return c(i)?new e((function(e){return n.request(e,(function(e){return i.request(e)||o.y$.of()}))||o.y$.of()})):new e((function(e,t){return n.request(e,(function(e){return i.request(e,t)||o.y$.of()}))||o.y$.of()}))},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw new i.ej(21)},e.prototype.onError=function(e){throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},11475:function(e,t,r){"use strict";r(13139).i.concat},68369:function(e,t,r){"use strict";r(13139).i.empty},82103:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var n=r(13139).i.execute},26632:function(e,t,r){"use strict";r(13139).i.from},93636:function(e,t,r){"use strict";r.d(t,{ApolloLink:function(){return i.i},execute:function(){return n.h}});r(68369),r(26632),r(94823),r(11475);var n=r(82103),i=r(13139),o=r(7155);r.o(o,"useQuery")&&r.d(t,{useQuery:function(){return o.useQuery}})},94823:function(e,t,r){"use strict";r(13139).i.split},7155:function(){},21994:function(e,t,r){"use strict";r.d(t,{uG:function(){return d}});var n=r(29794),i=Object.prototype.hasOwnProperty;var o=r(43425),a=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=new o.ej(23);throw n.parseError=i,n}return r},s=r(9575),u=r(71142),c={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},l=r(93636),p=r(65551);var f=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,f=e.fetch,d=e.includeExtensions,h=e.useGETForQueries,v=(0,s._T)(e,["uri","fetch","includeExtensions","useGETForQueries"]);!function(e){if(!e&&"undefined"===typeof fetch)throw new o.ej(22)}(f),f||(f=fetch);var b={http:{includeExtensions:d},options:v.fetchOptions,credentials:v.credentials,headers:v.headers};return new l.ApolloLink((function(e){var t=function(e,t){return e.getContext().uri||("function"===typeof t?t(e):t||"/graphql")}(e,r),o=e.getContext(),l={};if(o.clientAwareness){var d=o.clientAwareness,v=d.name,y=d.version;v&&(l["apollographql-client-name"]=v),y&&(l["apollographql-client-version"]=y)}var m,g=(0,s.pi)((0,s.pi)({},l),o.headers),w={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:g},O=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=(0,s.pi)((0,s.pi)({},t.options),{headers:t.headers,credentials:t.credentials}),o=t.http||{};r.forEach((function(e){i=(0,s.pi)((0,s.pi)((0,s.pi)({},i),e.options),{headers:(0,s.pi)((0,s.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,s.pi)((0,s.pi)({},o),e.http)}));var a=e.operationName,c=e.extensions,l=e.variables,p=e.query,f={operationName:a,variables:l};return o.includeExtensions&&(f.extensions=c),o.includeQuery&&(f.query=(0,u.print)(p)),{options:i,body:f}}(e,c,b,w),k=O.options,x=O.body;if(!k.signal){var S=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),E=S.controller,C=S.signal;(m=E)&&(k.signal=C)}if(h&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(k.method="GET"),"GET"===k.method){var R=function(e,t){var r=[],n=function(e,t){r.push(e+"="+encodeURIComponent(t))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=a(t.variables)}catch(P){return{parseError:P}}n("variables",i)}if(t.extensions){var o=void 0;try{o=a(t.extensions)}catch(P){return{parseError:P}}n("extensions",o)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+s}}(t,x),I=R.newURI,P=R.parseError;if(P)return(0,n.Qc)(P);t=I}else try{k.body=a(x)}catch(P){return(0,n.Qc)(P)}return new p.y$((function(r){var o;return f(t,k).then((function(t){return e.setContext({response:t}),t})).then((o=e,function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}})).then((function(t){return e.status>=300&&(0,n.PW)(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||i.call(t,"data")||i.call(t,"errors")||(0,n.PW)(e,t,"Server response was missing for query '"+(Array.isArray(o)?o.map((function(e){return e.operationName})):o.operationName)+"'."),t}))})).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){m&&m.abort()}}))}))},d=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,f(t).request)||this;return r.options=t,r}return(0,s.ZT)(t,e),t}(l.ApolloLink)},29794:function(e,t,r){"use strict";r.d(t,{zi:function(){return c},Qc:function(){return i},PW:function(){return a},DQ:function(){return l},Ak:function(){return s}});var n=r(65551);function i(e){return new n.y$((function(t){t.error(e)}))}var o=r(43425);var a=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n};function s(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(t.indexOf(i)<0)throw new o.ej(26)}return e}var u=r(9575);function c(e,t){var r=(0,u.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?(0,u.pi)((0,u.pi)({},r),e(r)):(0,u.pi)((0,u.pi)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,u.pi)({},r)}}),t}function l(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,n.rY)(t.query)||void 0:""),t}},83162:function(e,t,r){"use strict";r.d(t,{useQuery:function(){return m}});var n=r(56168),i=r(43425),o="function"===typeof Symbol&&Symbol.for?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function a(){return n[o]||Object.defineProperty(n,o,{value:n.createContext({}
1),enumerable:!1,configurable:!0,writable:!1}),n[o]}var s,u=r(9575),c=r(46040);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(s||(s={}));var l=new Map;function p(e){var t;switch(e){case s.Query:t="Query";break;case s.Mutation:t="Mutation";break;case s.Subscription:t="Subscription"}return t}var f=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!(0,c.D)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;(0,i.kG)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var r=function(e){var t,r,n=l.get(e);if(n)return n;(0,i.kG)(!!e&&!!e.kind,34);var o=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),a=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));(0,i.kG)(!o.length||a.length||u.length||c.length,35),(0,i.kG)(a.length+u.length+c.length<=1,36),r=a.length?s.Query:s.Mutation,a.length||u.length||(r=s.Subscription);var p=a.length?a:u.length?u:c;(0,i.kG)(1===p.length,37);var f=p[0];t=f.variableDefinitions||[];var d={name:f.name&&"Name"===f.name.kind?f.name.value:"data",type:r,variables:t};return l.set(e,d),d}(e);p(t),p(r.type);(0,i.kG)(r.type===t,30)},e}(),d=(function(e){function t(t){var r=t.options,n=t.context,i=t.setResult,o=e.call(this,r,n)||this;return o.currentObservable={},o.setResult=i,o.initialize(r),o}(0,u.ZT)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var r=this.getOptions().shouldResubscribe;return"function"===typeof r&&(r=!!r(this.getOptions())),!1!==r&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!(0,c.D)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),(0,u.pi)((0,u.pi)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this.getOptions().onSubscriptionComplete;e&&e(),this.endSubscription()},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)}}(f),r(50209)),h=r(65551),v=(function(e){function t(t){var r=t.options,n=t.context,i=t.result,o=t.setResult,a=e.call(this,r,n)||this;return a.runMutation=function(e){void 0===e&&(e={}),a.onMutationStart();var t=a.generateNewMutationId();return a.mutate(e).then((function(e){return a.onMutationCompleted(e,t),e})).catch((function(e){if(a.onMutationError(e,t),!a.getOptions().onError)throw e}))},a.verifyDocumentType(r.mutation,s.Mutation),a.result=i,a.setResult=o,a.mostRecentMutationId=0,a}(0,u.ZT)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,s.Mutation),[this.runMutation,(0,u.pi)((0,u.pi)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate((0,h.oA)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var r=this.getOptions(),n=r.onCompleted,i=r.ignoreResults,o=e.data,a=e.errors,s=a&&a.length>
10?new d.c({graphQLErrors:a}):void 0;this.isMostRecentMutation(t)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:s}),n&&n(o)},t.prototype.onMutationError=function(e,t){var r=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),r&&r(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&(0,c.D)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)}}(f),r(37699)),b=function(e){function t(t){var r=t.options,n=t.context,i=t.onNewData,o=e.call(this,r,n)||this;return o.previousData={},o.runLazy=!1,o.runLazyQuery=function(e){o.cleanup(),o.runLazy=!0,o.lazyOptions=e,o.onNewData()},o.getQueryResult=function(){var e=o.observableQueryFields(),t=o.getOptions();if(t.skip)e=(0,u.pi)((0,u.pi)({},e),{data:void 0,error:void 0,loading:!1,called:!0});else if(o.currentObservable){var r=o.currentObservable.getCurrentResult(),n=r.data,i=r.loading,a=r.partial,s=r.networkStatus,c=r.errors,l=r.error;if(c&&c.length>0&&(l=new d.c({graphQLErrors:c})),e=(0,u.pi)((0,u.pi)({},e),{data:n,loading:i,networkStatus:s,error:l,called:!0}),i);else if(l)Object.assign(e,{data:(o.currentObservable.getLastResult()||{}).data});else{var p=o.currentObservable.options.fetchPolicy;if(t.partialRefetch&&a&&(!n||0===Object.keys(n).length)&&"cache-only"!==p)return Object.assign(e,{loading:!0,networkStatus:v.NetworkStatus.loading}),e.refetch(),e}}return e.client=o.client,o.setOptions(t,!0),o.previousData.loading=o.previousData.result&&o.previousData.result.loading||!1,o.previousData.result=e,o.currentObservable&&o.currentObservable.resetQueryStoreErrors(),e},o.obsRefetch=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.refetch(e)},o.obsFetchMore=function(e){return o.currentObservable.fetchMore(e)},o.obsUpdateQuery=function(e){return o.currentObservable.updateQuery(e)},o.obsStartPolling=function(e){var t;null===(t=o.currentObservable)||void 0===t||t.startPolling(e)},o.obsStopPolling=function(){var e;null===(e=o.currentObservable)||void 0===e||e.stopPolling()},o.obsSubscribeToMore=function(e){return o.currentObservable.subscribeToMore(e)},o.onNewData=i,o}return(0,u.ZT)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,r=e.query;return(t||r!==this.previousData.query)&&(this.removeQuerySubscription(),this.previousData.query=r),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:v.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,r=void 0!==t&&t;return this.isMounted=!0,r&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),delete this.currentObservable,delete this.previousData.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=(0,u.pi)((0,u.pi)({},t.variables),this.lazyOptions.variables),t.context=(0,u.pi)((0,u.pi)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e,t=!1===this.getOptions().ssr,r=this.refreshClient().client.disableNetworkFetches,n=(0,u.pi)({loading:!0,networkStatus:v.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());return t&&(this.ssrInitiated()||r)?(this.previousData.result=n,n):(this.ssrInitiated()&&(e=this.context.renderPromises.addQueryPromise(this,this.getQueryResult)||n),e)},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,s.Query);
1var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),(0,u.pi)((0,u.pi)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previousData.observableQueryOptions=(0,u.pi)((0,u.pi)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery((0,u.pi)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=(0,u.pi)((0,u.pi)({},this.prepareObservableQueryOptions()),{children:null});(0,c.D)(e,this.previousData.observableQueryOptions)||(this.previousData.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(r){var n=r.loading,i=r.networkStatus,o=r.data,a=t.previousData.result;a&&a.loading===n&&a.networkStatus===i&&(0,c.D)(a.data,o)||e()},error:function(r){if(t.resubscribeToQuery(),!r.hasOwnProperty("graphQLErrors"))throw r;var n=t.previousData.result;(n&&n.loading||!(0,c.D)(r,t.previousData.error))&&(t.previousData.error=r,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),r=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:r})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previousData.result){var e=this.previousData.result,t=e.data,r=e.loading,n=e.error;if(!r){var i=this.getOptions(),o=i.query,a=i.variables,s=i.onCompleted,u=i.onError,l=i.skip;if(this.previousOptions&&!this.previousData.loading&&(0,c.D)(this.previousOptions.query,o)&&(0,c.D)(this.previousOptions.variables,a))return;!s||n||l?u&&n&&u(n):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(f);function y(e,t,r){void 0===r&&(r=!1);var i=(0,n.useContext)(a()),o=(0,n.useReducer)((function(e){return e+1}),0),s=o[0],l=o[1],p=t?(0,u.pi)((0,u.pi)({},t),{query:e}):{query:e},f=(0,n.useRef)(),d=f.current||new b({options:p,context:i,onNewData:function(){d.ssrInitiated()?l():Promise.resolve().then(l)}});d.setOptions(p),d.context=i,d.ssrInitiated()&&!f.current&&(f.current=d);var h=function(e,t){var r=(0,n.useRef)();return r.current&&(0,c.D)(t,r.current.key)||(r.current={key:t,value:e()}),r.current.value}((function(){return r?d.executeLazy():d.execute()}),{options:(0,u.pi)((0,u.pi)({},p),{onError:void 0,onCompleted:void 0}),context:i,tick:s}),v=r?h[1]:h;return(0,n.useEffect)((function(){return f.current||(f.current=d),function(){return d.cleanup()}}),[]),(0,n.useEffect)((function(){return d.afterExecute({lazy:r})}),[v.loading,v.networkStatus,v.error,v.data]),h}function m(e,t){return y(e,t,!1)}},65551:function(e,t,r){"use strict";r.d(t,{X_:function(){return oe},w0:function(){return H},y$:function(){return K()},Gw:function(){return _},NC:function(){return w},sz:function(){return ne},aL:function(){return z},mr:function(){return ue},Xh:function(){return X},oA:function(){return ce},F:function(){return l},O4:function(){return M},kU:function(){return I},hi:function(){return p},Yk:function(){return c},p$:function(){return D},$H:function(){return C},rY:function(){return R},iW:function(){return P},PT:function(){return g},qw:function(){return k},d2:function(){return se},mj:function(){return s},FS:function(){return a},My:function(){return x},Ao:function(){return S},Of:function(){return ae},hh:function(){return v},pM:function(){return re},kQ:function(){return h},Jv:function(){return te},Ee:function(){return W},bw:function(){return U},ob:function(){return V},Fo:function(){return A},u2:function(){return O},LZ:function(){return o},vf:function(){return y}});var n=r(79041),i=r(43425);function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments;e.name.value;(0,i.kG)(r&&1===r.length,39);var n=r[0];(0,i.kG)(n.name&&"if"===n.name.value,40);var o=n.value;(0,i.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),41),t.push({directive:e,ifArgument:n})}}));return t}(r).every((function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],(0,i.kG)(void 0!==o,38)):o=n.value.value,"skip"===r.name.value?!o:o}))}function a(e,t){return function(e){var t=[];return(0,n.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function s(e){return e&&a(["client"],e)&&a(["export"],e)}var u=r(9575);function c(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.ej(42);"FragmentDefinition"===e.kind&&n.push(e)})),"undefined"===typeof r&&((0,i.kG)(1===n.length,43),r=n[0].name.value),(0,u.pi)((0,u.pi)({},e),{definitions:(0,u.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function l(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function p(e,t){switch(e.kind){case"InlineFragment":return e;
1case"FragmentSpread":var r=t&&t[e.name.value];return(0,i.kG)(r,44),r;default:return null}}var f=r(56321),d=r.n(f);function h(e){return{__ref:String(e)}}function v(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function b(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return b(o,e.name,e.value,n)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return b(r,t,e,n),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.ej(53);e[t.value]=null}}function y(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return b(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return b(n,r,i,t)}))),g(e.name.value,n,r)}var m=["connection","include","skip","client","rest","export"];function g(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),r.connection.key+"("+JSON.stringify(i)+")"}return r.connection.key}var o=e;if(t){var a=d()(t);o+="("+a+")"}return r&&Object.keys(r).forEach((function(e){-1===m.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@"+e+"("+JSON.stringify(r[e])+")":o+="@"+e)})),o}function w(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return b(r,n,i,t)})),r}return null}function O(e){return e.alias?e.alias.value:e.name.value}function k(e,t,r){if("string"===typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n<i.length;n++){var o=i[n];if(x(o)){if("__typename"===o.name.value)return e[O(o)]}else{var a=k(e,p(o,r).selectionSet,r);if("string"===typeof a)return a}}}function x(e){return"Field"===e.kind}function S(e){return"InlineFragment"===e.kind}function E(e){(0,i.kG)(e&&"Document"===e.kind,45);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new i.ej(46);return e}));return(0,i.kG)(t.length<=1,47),e}function C(e){return E(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function R(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function I(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function P(e){var t=C(e);return(0,i.kG)(t&&"query"===t.operation,48),t}function D(e){var t;E(e);for(var r=0,n=e.definitions;r<n.length;r++){var o=n[r];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw new i.ej(52)}function M(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&b(t,e.variable.name,e.defaultValue)})),t}function T(e,t,r){var n=0;return e.forEach((function(r,i){t.call(this,r,i,e)&&(e[n++]=r)}),r),e.length=n,e}var Q={kind:"Field",name:{kind:"Name",value:"__typename"}};function q(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&q(t[e.name.value],t)}))}function F(e){return q(C(e)||function(e){(0,i.kG)("Document"===e.kind,49),(0,i.kG)(e.definitions.length<=1,50);var t=e.definitions[0];return(0,i.kG)("FragmentDefinition"===t.kind,51),t}(e),l(I(e)))?null:e}function L(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function N(e,t){var r=Object.create(null),i=[],o=Object.create(null),a=[],s=F((0,n.Vn)(t,{Variable:{enter:function(e,t,n){"VariableDefinition"!==n.kind&&(r[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(L(e))))return t.arguments&&t.arguments.forEac
1h((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&Z(t.selectionSet).forEach((function(e){a.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(L(e)(t))return null}}}));return s&&T(i,(function(e){return!!e.name&&!r[e.name]})).length&&(s=function(e,t){var r=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return F((0,n.Vn)(t,{OperationDefinition:{enter:function(t){return(0,u.pi)((0,u.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var n=0;if(t.arguments&&t.arguments.forEach((function(e){r(e)&&(n+=1)})),1===n)return null}}},Argument:{enter:function(e){if(r(e))return null}}}))}(i,s)),s&&T(a,(function(e){return!!e.name&&!o[e.name]})).length&&(s=function(e,t){function r(t){if(e.some((function(e){return e.name===t.name.value})))return null}return F((0,n.Vn)(t,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}(a,s)),s}function _(e){return(0,n.Vn)(E(e),{SelectionSet:{enter:function(e,t,r){if(!r||"OperationDefinition"!==r.kind){var n=e.selections;if(n)if(!n.some((function(e){return x(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=r;if(!(x(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return(0,u.pi)((0,u.pi)({},e),{selections:(0,u.pr)(n,[Q])})}}}}})}_.added=function(e){return e===Q};var j={test:function(e){var t="connection"===e.name.value;return t&&(!e.arguments||e.arguments.some((function(e){return"key"===e.name.value}))),t}};function A(e){return N([j],E(e))}function Z(e){var t=[];return e.selections.forEach((function(e){(x(e)||S(e))&&e.selectionSet?Z(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function z(e){return"query"===D(e).operation?e:(0,n.Vn)(e,{OperationDefinition:{enter:function(e){return(0,u.pi)((0,u.pi)({},e),{operation:"query"})}}})}function V(e){E(e);var t=N([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,n.Vn)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return x(e)&&"__typename"===e.name.value})))return null}}})),t}var B=Object.prototype.hasOwnProperty;function W(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return U(e)}function U(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new H,i=1;i<r;++i)t=n.merge(t,e[i]);return t}function $(e){return null!==e&&"object"===typeof e}var G=function(e,t,r){return this.merge(e[r],t[r])},H=function(){function e(e){void 0===e&&(e=G),this.reconciler=e,this.isObject=$,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return $(t)&&$(e)?(Object.keys(t).forEach((function(i){if(B.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,u.pr)([e,t,i],n));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return $(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,u.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();var Y=r(54409),K=r.n(Y);r(64030);K().prototype["@@observable"]=function(){return this};var J=Object.prototype.toString;function X(e){return ee(e)}function ee(e,t){switch(J.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=ee(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach((function(r){n[r]=ee(e[r],t)})),n;default:return e}}r(4444);function te(e){return e}function re(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)}
1)),n.forEach((function(e){return e[t](r)}))}function ne(e,t,r){return new(K())((function(n){var i=n.next,o=n.error,a=n.complete,s=0,u=!1;function c(e,t){return e?function(t){++s,new Promise((function(r){return r(e(t))})).then((function(e){--s,i&&i.call(n,e),u&&l.complete()}),(function(e){--s,o&&o.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var l={next:c(t,i),error:c(r,o),complete:function(){u=!0,s||a&&a.call(n)}},p=e.subscribe(l);return function(){return p.unsubscribe()}}))}function ie(e){return e&&"function"===typeof e.then}var oe=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],re(r.observers,"next",e))},error:function(e){null!==r.sub&&(r.sub&&r.sub.unsubscribe(),r.sub=null,r.latest=["error",e],r.reject(e),re(r.observers,"error",e))},complete:function(){if(null!==r.sub){var e=r.sources.shift();e?ie(e)?e.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=e.subscribe(r.handlers):(r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),re(r.observers,"complete"))}}},r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),ie(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,u.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.addObserver=function(e){if(!this.observers.has(e)){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}this.observers.add(e)}},t.prototype.removeObserver=function(e,t){if(this.observers.delete(e)&&this.observers.size<1){if(t)return;this.sub&&(this.sub.unsubscribe(),this.reject(new Error("Observable cancelled prematurely"))),this.sub=null}},t.prototype.cleanup=function(e){var t=this,r=!1,n=function(){r||(r=!0,t.observers.delete(i),e())},i={next:n,error:n,complete:n};this.addObserver(i)},t}(K());function ae(e){return Array.isArray(e)&&e.length>0}function se(e){return e.errors&&e.errors.length>0||!1}"function"===typeof Symbol&&Symbol.species&&Object.defineProperty(oe,Symbol.species,{value:K()});var ue="function"===typeof WeakMap&&!("object"===typeof navigator&&"ReactNative"===navigator.product);function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(r[t]=n)}))})),r}},64030:function(e,t,r){"use strict";e=r.hmd(e);!function(e){var t,r=e.Symbol;if("function"===typeof r)if(r.observable)t=r.observable;else{t=r.for("https://github.com/benlesh/symbol-observable");try{r.observable=t}catch(n){}}else t="@@observable"}("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:e)},43425:function(e,t,r){"use strict";r.d(t,{ej:function(){return u},kG:function(){return c}});var n=r(9575),i=r(4444),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"===typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["log","warn","error","silent"],p=l.indexOf("log");function f(e){return function(){if(l.indexOf(e)>=p)return console[e].apply(console,arguments)}}!function(e){e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));var d={env:{}};if("object"===typeof i)d=i;else try{Function("stub","process = stub")(d)}catch(h){}},9575:function(e,t,r){"use strict";r.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},mG:function(){return s},pi:function(){return o},pr:function(){return c}});
1var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function u(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function c(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}},66327:function(e,t,r){"use strict";var n=r(98515),i=r(68421),o=r(56168),a=(r(50862),r(35190)),s=r(8870),u=r(75958),c=44;function l(e){var t,r,n;return t=e,r=0,n=1,e=(Math.min(Math.max(r,t),n)-r)/(n-r),e=(e-=1)*e*e+1}var p=o.forwardRef((function(e,t){var r,s=e.classes,p=e.className,f=e.color,d=void 0===f?"primary":f,h=e.disableShrink,v=void 0!==h&&h,b=e.size,y=void 0===b?40:b,m=e.style,g=e.thickness,w=void 0===g?3.6:g,O=e.value,k=void 0===O?0:O,x=e.variant,S=void 0===x?"indeterminate":x,E=(0,i.Z)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),C={},R={},I={};if("determinate"===S||"static"===S){var P=2*Math.PI*((c-w)/2);C.strokeDasharray=P.toFixed(3),I["aria-valuenow"]=Math.round(k),"static"===S?(C.strokeDashoffset="".concat(((100-k)/100*P).toFixed(3),"px"),R.transform="rotate(-90deg)"):(C.strokeDashoffset="".concat((r=(100-k)/100,r*r*P).toFixed(3),"px"),R.transform="rotate(".concat((270*l(k/70)).toFixed(3),"deg)"))}return o.createElement("div",(0,n.Z)({className:(0,a.Z)(s.root,p,"inherit"!==d&&s["color".concat((0,u.Z)(d))],{indeterminate:s.indeterminate,static:s.static}[S]),style:(0,n.Z)({width:y,height:y},R,m),ref:t,role:"progressbar"},I,E),o.createElement("svg",{className:s.svg,viewBox:"".concat(22," ").concat(22," ").concat(c," ").concat(c)},o.createElement("circle",{className:(0,a.Z)(s.circle,v&&s.circleDisableShrink,{indeterminate:s.circleIndeterminate,static:s.circleStatic}[S]),style:C,cx:c,cy:c,r:(c-w)/2,fill:"none",strokeWidth:w})))}));t.Z=(0,s.Z)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(p)},36823:function(e,t,r){"use strict";var n=r(98515),i=r(68421),o=r(56168),a=(r(50862),r(35190)),s=r(8870),u=r(3789),c=r(23537),l=r(19785),p=r(3796),f=r(34323),d="undefined"===typeof window?o.useEffect:o.useLayoutEffect,h=o.forwardRef((function(e,t){var r=e.alignItems,s=void 0===r?"center":r,h=e.autoFocus,v=void 0!==h&&h,b=e.button,y=void 0!==b&&b,m=e.children,g=e.classes,w=e.className,O=e.component,k=e.ContainerComponent,x=void 0===k?"li":k,S=e.ContainerProps,E=(S=void 0===S?{}:S).className,C=(0,i.Z)(S,["className"]),R=e.dense,I=void 0!==R&&R,P=e.disabled,D=void 0!==P&&P,M=e.disableGutters,T=void 0!==M&&M,Q=e.divi
vendor: 5,809 bytes, line 1
1der,q=void 0!==Q&&Q,F=e.focusVisibleClassName,L=e.selected,N=void 0!==L&&L,_=(0,i.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),j=o.useContext(p.Z),A={dense:I||j.dense||!1,alignItems:s},Z=o.useRef(null);d((function(){v&&Z.current&&Z.current.focus()}),[v]);var z=o.Children.toArray(m),V=z.length&&(0,c.Z)(z[z.length-1],["ListItemSecondaryAction"]),B=o.useCallback((function(e){Z.current=f.findDOMNode(e)}),[]),W=(0,l.Z)(B,t),U=(0,n.Z)({className:(0,a.Z)(g.root,w,A.dense&&g.dense,!T&&g.gutters,q&&g.divider,D&&g.disabled,y&&g.button,"center"!==s&&g.alignItemsFlexStart,V&&g.secondaryAction,N&&g.selected),disabled:D},_),$=O||"li";return y&&(U.component=O||"div",U.focusVisibleClassName=(0,a.Z)(g.focusVisible,F),$=u.Z),V?($=U.component||O?$:"div","li"===x&&("li"===$?$="div":"li"===U.component&&(U.component="div")),o.createElement(p.Z.Provider,{value:A},o.createElement(x,(0,n.Z)({className:(0,a.Z)(g.container,E),ref:W},C),o.createElement($,U,z),z.pop()))):o.createElement(p.Z.Provider,{value:A},o.createElement($,(0,n.Z)({ref:W},U),z))}));t.Z=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(h)},49904:function(e,t,r){"use strict";r.d(t,{Z:function(){return xe}});var n=r(98515),i=r(68421),o=r(56168),a=(r(50862),"undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator),s=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(a&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var u=a&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),s))}};function c(e){return e&&"[object Function]"==={}.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function p(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function f(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:f(p(e))}function d(e){return e&&e.referenceNode?e.referenceNode:e}var h=a&&!(!window.MSInputMethodContext||!document.documentMode),v=a&&/MSIE 10/.test(navigator.userAgent);function b(e){return 11===e?h:10===e?v:h||v}function y(e){if(!e)return document.documentElement;for(var t=b(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===l(r,"position")?y(r):r:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,i=r?t:e,o=document.createRange();o.setStart(n,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||n.contains(i))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||y(e.firstElementChild)===e)}(a)?a:y(a);var s=m(e);return s.host?g(s.host,t):g(e,m(t).host)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[r]}return e[r]}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=w(t,"top"),i=w(t,"left"),o=r?-1:1;return e.top+=n*o,e.bottom+=n*o,e.left+=i*o,e.right+=i*o,e}function k(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function x(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],b(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function S(e){var t=e.body,r=e.documentElement,n=b(10)&&getComputedStyle(r);return{height:x("Height",t,r,n),width:x("Width",t,r,n)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},C=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),R=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 4,153 bytes, line 1
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function P(e){return I({},e,{right:e.left+e.width,bottom:e.top+e.height})}function D(e){var t={};try{if(b(10)){t=e.getBoundingClientRect();var r=w(e,"top"),n=w(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(f){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?S(e.ownerDocument):{},a=o.width||e.clientWidth||i.width,s=o.height||e.clientHeight||i.height,u=e.offsetWidth-a,c=e.offsetHeight-s;if(u||c){var p=l(e);u-=k(p,"x"),c-=k(p,"y"),i.width-=u,i.height-=c}return P(i)}function M(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(10),i="HTML"===t.nodeName,o=D(e),a=D(t),s=f(e),u=l(t),c=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);r&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=P({top:o.top-a.top-c,left:o.left-a.left-p,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var h=parseFloat(u.marginTop),v=parseFloat(u.marginLeft);d.top-=c-h,d.bottom-=c-h,d.left-=p-v,d.right-=p-v,d.marginTop=h,d.marginLeft=v}return(n&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=O(d,t)),d}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=M(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),o=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:w(r),s=t?0:w(r,"left"),u={top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o};return P(u)}function Q(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===l(e,"position"))return!0;var r=p(e);return!!r&&Q(r)}function q(e){if(!e||!e.parentElement||b())return document.documentElement;for(var t=e.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function F(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?q(e):g(e,d(t));if("viewport"===n)o=T(a,i);else{var s=void 0;"scrollParent"===n?"BODY"===(s=f(p(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n;var u=M(s,a,i);if("HTML"!==s.nodeName||Q(a))o=u;else{var c=S(e.ownerDocument),l=c.height,h=c.width;o.top+=u.top-u.marginTop,o.bottom=l+u.top,o.left+=u.left-u.marginLeft,o.right=h+u.left}}var v="number"===typeof(r=r||0);return o.left+=v?r:r.left||0,o.top+=v?r:r.top||0,o.right-=v?r:r.right||0,o.bottom-=v?r:r.bottom||0,o}function L(e){return e.width*e.height}function N(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=F(r,n,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return I({key:e},s[e],{area:L(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),l=c.length>0?c[0].key:u[0].key,p=e.split("-")[1];return l+(p?"-"+p:"")}function _(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=n?q(t):g(t,d(r));return M(r,i,n)}function j(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function Z(e,t,r){r=r.split("-")[0];var n=j(e),i={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(r),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return i[a]=t[a]+t[u]/2-n[u]/2,i[s]=r===s?t[s]-n[c]:t[A(s)],i}function z(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function V(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=z(e,(function(e){return e[t]===r}));return e.indexOf(n)}
vendor: 11,702 bytes, line 1
1(e,"name",r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&c(r)&&(t.offsets.popper=P(t.offsets.popper),t.offsets.reference=P(t.offsets.reference),t=r(t,e))})),t}function B(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=V(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],o=i?""+i+r:e;if("undefined"!==typeof document.body.style[o])return o}return null}function $(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function G(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,r,n){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,r,{passive:!0}),i||H(f(o.parentNode),t,r,n),n.push(o)}function Y(e,t,r,n){r.updateBound=n,G(e).addEventListener("resize",r.updateBound,{passive:!0});var i=f(e);return H(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function K(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function J(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,G(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function X(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(t[r])&&(n="px"),e.style[r]=t[r]+n}))}var te=a&&/Firefox/i.test(navigator.userAgent);function re(e,t,r){var n=z(e,(function(e){return e.name===t})),i=!!n&&e.some((function(e){return e.name===r&&e.enabled&&e.order<n.order}));if(!i){var o="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var ne=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ie=ne.slice(3);function oe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=ie.indexOf(e),n=ie.slice(r+1).concat(ie.slice(0,r));return t?n.reverse():n}var ae="flip",se="clockwise",ue="counterclockwise";function ce(e,t,r,n){var i=[0,0],o=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(z(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(e,n){var i=(1===n?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){return P("%p"===a?r:n)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,i,t,r)}))})),c.forEach((function(e,t){e.forEach((function(r,n){X(r)&&(i[t]+=r*("-"===e[n-1]?-1:1))}))})),i}var le={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(r),u=s?"left":"top",c=s?"width":"height",l={start:R({},u,o[u]),end:R({},u,o[u]+o[c]-a[c])};e.offsets.popper=I({},a,l[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r=t.offset,n=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=n.split("-")[0],u=void 0;return u=X(+r)?[+r,0]:ce(r,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||y(e.instance.popper);e.instance.reference===r&&(r=y(r));var n=U("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[n];i.top="",i.left="",i[n]="";var u=F(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=o,i.left=a,i[n]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,p={primary:function(e){var r=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(r=Math.max(l[e],u[e])),R({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=l[r];return l[e]>u[e]&&!t.escapeWithReference&&(n=Math.min(l[r],u[e]-("right"===e?l.width:l.height))),R({},r,n)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=I({},l,p[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return r[s]<o(n[u])&&(e.offsets.popper[u]=o(n[u])-r[c]),r[u]>o(n[s])&&(e.offsets.popper[u]=o(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!re(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"===typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",p=u?"Top":"Left",f=p.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",v=j(n)[c];s[h]-v<a[f]&&(e.offsets.popper[f]-=a[f]-(s[h]-v)),s[f]+v>a[h]&&(e.offsets.popper[f]+=s[f]+v-a[h]),e.offsets.popper=P(e.offsets.popper);var b=s[f]+s[c]/2-v/2,y=l(e.instance.popper),m=parseFloat(y["margin"+p]),g=parseFloat(y["border"+p+"Width"]),w=b-e.offsets.popper[f]-m-g;return w=Math.max(Math.min(a[c]-v,w),0),e.arrowElement=n,e.offsets.arrow=(R(r={},f,Math.round(w)),R(r,d,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=F(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=A(n),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ae:a=[n,i];break;case se:a=oe(n);break;case ue:a=oe(n,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(n!==s||a.length===u+1)return e;n=e.placement.split("-")[0],i=A(n);var c=e.offsets.popper,l=e.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(l.left)||"right"===n&&p(c.left)<p(l.right)||"top"===n&&p(c.bottom)>p(l.top)||"bottom"===n&&p(c.top)<p(l.bottom),d=p(c.left)<p(r.left),h=p(c.right)>p(r.right),v=p(c.top)<p(r.top),b=p(c.bottom)>p(r.bottom),y="left"===n&&d||"right"===n&&h||"top"===n&&v||"bottom"===n&&b,m=-1!==["top","bottom"].indexOf(n),g=!!t.flipVariations&&(m&&"start"===o&&d||m&&"end"===o&&h||!m&&"start"===o&&v||!m&&"end"===o&&b),w=!!t.flipVariationsByContent&&(m&&"start"===o&&h||m&&"end"===o&&d||!m&&"start"===o&&b||!m&&"end"===o&&v),O=g||w;(f||y||O)&&(e.flipped=!0,(f||y)&&(n=a[u+1]),O&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=n+(o?"-"+o:""),e.offsets.popper=I({},e.offsets.popper,Z(e.instance.popper,e.offsets.reference,e.placement)),e=V(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return i[a?"left":"top"]=o[r]-(s?i[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=P(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!re(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=z(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,n=t.y,i=e.offsets.popper,o=z(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=y(e.instance.popper),u=D(s),c={position:i.position},l=function(e,t){var r=e.offsets,n=r.popper,i=r.reference,o=Math.round,a=Math.floor,s=function(e){return e},u=o(i.width),c=o(n.width),l=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?l||p||u%2===c%2?o:a:s,d=t?o:s;return{left:f(u%2===1&&c%2===1&&!p&&t?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:f(n.right)}}(e,window.devicePixelRatio<2||!te),p="bottom"===r?"top":"bottom",f="right"===n?"left":"right",d=U("transform"),h=void 0,v=void 0;if(v="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===f?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,a&&d)c[d]="translate3d("+h+"px, "+v+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===p?-1:1,m="right"===f?-1:1;c[p]=v*b,c[f]=h*m,c.willChange=p+", "+f}var g={"x-placement":e.placement};return e.attributes=I({},g,e.attributes),e.styles=I({},c,e.styles),e.arrowStyles=I({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return ee(e.instance.popper,e.styles),t=e.instance.popper,r=e.attributes,Object.keys(r).forEach((function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,i){var o=_(i,t,e,r.positionFixed),a=N(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),ee(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}
1,pe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:le},fe=function(){function e(t,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=u(this.update.bind(this)),this.options=I({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(I({},e.Defaults.modifiers,i.modifiers)).forEach((function(t){n.options.modifiers[t]=I({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return I({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&c(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return C(e,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),e}();fe.Utils=("undefined"!==typeof window?window:r.g).PopperUtils,fe.placements=ne,fe.Defaults=pe;var de=fe,he=r(79144),ve=r(38495),be=r(61649),ye=r(26066),me=r(19785);function ge(e){return"function"===typeof e?e():e}var we="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,Oe={},ke=o.forwardRef((function(e,t){var r=e.anchorEl,a=e.children,s=e.container,u=e.disablePortal,c=void 0!==u&&u,l=e.keepMounted,p=void 0!==l&&l,f=e.modifiers,d=e.open,h=e.placement,v=void 0===h?"bottom":h,b=e.popperOptions,y=void 0===b?Oe:b,m=e.popperRef,g=e.style,w=e.transition,O=void 0!==w&&w,k=(0,i.Z)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),x=o.useRef(null),S=(0,me.Z)(x,t),E=o.useRef(null),C=(0,me.Z)(E,m),R=o.useRef(C);we((function(){R.current=C}),[C]),o.useImperativeHandle(m,(function(){return E.current}),[]);var I=o.useState(!0),P=I[0],D=I[1],M=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(v,(0,he.Z)()),T=o.useState(M),Q=T[0],q=T[1];o.useEffect((function(){E.current&&E.current.update()}));var F=o.useCallback((function(){if(x.current&&r&&d){E.current&&(E.current.destroy(),R.current(null));var e=function(e){q(e.placement)},t=(ge(r),new de(ge(r),x.current,(0,n.Z)({placement:M},y,{modifiers:(0,n.Z)({},c?{}:{preventOverflow:{boundariesElement:"window"}},f,y.modifiers),onCreate:(0,be.Z)(e,y.onCreate),onUpdate:(0,be.Z)(e,y.onUpdate)})));R.current(t)}}),[r,c,f,d,M,y]),L=o.useCallback((function(e){(0,ye.Z)(S,e),F()}),[S,F]),N=function(){E.current&&(E.current.destroy(),R.current(null))};if(o.useEffect((function(){return function(){N()}}),[]),o.useEffect((function(){d||O||N()}),[d,O]),!p&&!d&&(!O||P))return null;var _={placement:Q};return O&&(_.TransitionProps={in:d,onEnter:function(){D(!1)},onExited:function(){D(!0),N()}}),o.createElement(ve.Z,{disablePortal:c,container:s},o.createElement("div",(0,n.Z)({ref:L,role:"tooltip"},k,{style:(0,n.Z)({position:"fixed",top:0,left:0,display:d||!p||O?null:"none"},g)}),"function"===typeof a?a(_):a))})),xe=ke},4206:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(56168);function i(e){var t=n.useState(e),r=t[0],i=t[1],o=e||r;return n.useEffect((function(){null==r&&i("mui-".concat(Math.round(1e5*Math.random())))}),[r]),o}},92084:function(e,t,r){"use strict";var n=r(37456);t.Z=void 0;var i=n(r(1596)),o=r(41168),a=n(r(37485));var s=function(e,t){return(0,o.withStyles)(e,(0,i.default)({defaultTheme:a.default},t))};t.Z=s},23185:function(e,t,r){"use strict";var n=r(37456);t.Z=void 0;var i=n(r(56168)),o=(0,n(r(86009)).default)(i.default.createElement("path",{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=o},47514:function(e,t,r){"use strict";r.d(t,{ZP:function(){return _}});var n=r(68421),i=r(5866),o=r(98515),a=r(56168),s=(r(50862),r(35190)),u=r(8870),c=r(49904),l=r(75958),p=a.forwardRef((function(e,t){var r=e.classes,i=e.className,u=e.color,c=void 0===u?"default":u,p=e.component,f=void 0===p?"li":p,d=e.disableGutters,h=void 0!==d&&d,v=e.disableSticky,b=void 0!==v&&v,y=e.inset,m=void 0!==y&&y,g=(0,n.Z)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return a.createElement(f,(0,o.Z)({className:(0,s.Z)(r.root,i,"default"!==c&&r["color".concat((0,l.Z)(c))],m&&r.inset,!b&&r.sticky,!h&&r.gutters),ref:t},g))})),f=(0,u.Z)((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(p),d=r(28029),h=r(69774),v=r(20405),b=(0,v.Z)(a.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),y=r(71545),m=r(19785),g=r(3789);function w(e){return"Backspace"===e.key||"Delete"===e.key}var O=a.forwardRef((function(e,t){var r=e.avatar,i=e.classes,u=e.className,c=e.clickable,p=e.color,f=void 0===p?"default":p,d=e.component,h=e.deleteIcon,v=e.disabled,y=void 0!==v&&v,O=e.icon,k=e.label,x=e.onClick,S=e.onDelete,E=e.onKeyDown,C=e.onKeyUp,R=e.size,I=void 0===R?"medium":R,P=e.variant,D=void 0===P?"default":P,M=(0,n.Z)(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),T=a.useRef(null),Q=(0,m.Z)(T,t),q=function(e){e.stopPropagation(),S&&S(e)}
1,F=!(!1===c||!x)||c,L="small"===I,N=d||(F?g.Z:"div"),_=N===g.Z?{component:"div"}:{},j=null;if(S){var A=(0,s.Z)("default"!==f&&("default"===D?i["deleteIconColor".concat((0,l.Z)(f))]:i["deleteIconOutlinedColor".concat((0,l.Z)(f))]),L&&i.deleteIconSmall);j=h&&a.isValidElement(h)?a.cloneElement(h,{className:(0,s.Z)(h.props.className,i.deleteIcon,A),onClick:q}):a.createElement(b,{className:(0,s.Z)(i.deleteIcon,A),onClick:q})}var Z=null;r&&a.isValidElement(r)&&(Z=a.cloneElement(r,{className:(0,s.Z)(i.avatar,r.props.className,L&&i.avatarSmall,"default"!==f&&i["avatarColor".concat((0,l.Z)(f))])}));var z=null;return O&&a.isValidElement(O)&&(z=a.cloneElement(O,{className:(0,s.Z)(i.icon,O.props.className,L&&i.iconSmall,"default"!==f&&i["iconColor".concat((0,l.Z)(f))])})),a.createElement(N,(0,o.Z)({role:F||S?"button":void 0,className:(0,s.Z)(i.root,u,"default"!==f&&[i["color".concat((0,l.Z)(f))],F&&i["clickableColor".concat((0,l.Z)(f))],S&&i["deletableColor".concat((0,l.Z)(f))]],"default"!==D&&[i.outlined,{primary:i.outlinedPrimary,secondary:i.outlinedSecondary}[f]],y&&i.disabled,L&&i.sizeSmall,F&&i.clickable,S&&i.deletable),"aria-disabled":!!y||void 0,tabIndex:F||S?0:void 0,onClick:x,onKeyDown:function(e){e.currentTarget===e.target&&w(e)&&e.preventDefault(),E&&E(e)},onKeyUp:function(e){e.currentTarget===e.target&&(S&&w(e)?S(e):"Escape"===e.key&&T.current&&T.current.blur()),C&&C(e)},ref:Q},_,M),Z||z,a.createElement("span",{className:(0,s.Z)(i.label,L&&i.labelSmall)},k),j)})),k=(0,u.Z)((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],r=(0,y.U1)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,y._4)(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,y._4)(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,y._4)(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:(0,y._4)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,y._4)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,y._4)(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,y.U1)(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,y.U1)(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,y.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:r,height:22,width:22,curs
1or:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,y.U1)(r,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:(0,y.U1)(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,y.U1)(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:(0,y.U1)(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:(0,y.U1)(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(O),x=(0,v.Z)(a.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),S=(0,v.Z)(a.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),E=r(82564),C=r(4206),R=r(46546),I=r(64742),P=r(26066);function D(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function M(e,t){for(var r=0;r<e.length;r+=1)if(t(e[r]))return r;return-1}var T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,r=void 0===t||t,n=e.ignoreCase,i=void 0===n||n,o=e.limit,a=e.matchFrom,s=void 0===a?"any":a,u=e.stringify,c=e.trim,l=void 0!==c&&c;return function(e,t){var n=t.inputValue,a=t.getOptionLabel,c=l?n.trim():n;i&&(c=c.toLowerCase()),r&&(c=D(c));var p=e.filter((function(e){var t=(u||a)(e);return i&&(t=t.toLowerCase()),r&&(t=D(t)),"start"===s?0===t.indexOf(c):t.indexOf(c)>-1}));return"number"===typeof o?p.slice(0,o):p}}();function Q(e){var t=e.autoComplete,r=void 0!==t&&t,n=e.autoHighlight,i=void 0!==n&&n,s=e.autoSelect,u=void 0!==s&&s,c=e.blurOnSelect,l=void 0!==c&&c,p=e.clearOnBlur,f=void 0===p?!e.freeSolo:p,d=e.clearOnEscape,h=void 0!==d&&d,v=e.componentName,b=void 0===v?"useAutocomplete":v,y=e.debug,m=void 0!==y&&y,g=e.defaultValue,w=void 0===g?e.multiple?[]:null:g,O=e.disableClearable,k=void 0!==O&&O,x=e.disableCloseOnSelect,S=void 0!==x&&x,D=e.disabledItemsFocusable,Q=void 0!==D&&D,q=e.disableListWrap,F=void 0!==q&&q,L=e.filterOptions,N=void 0===L?T:L,_=e.filterSelectedOptions,j=void 0!==_&&_,A=e.freeSolo,Z=void 0!==A&&A,z=e.getOptionDisabled,V=e.getOptionLabel,B=void 0===V?function(e){return e}:V,W=e.getOptionSelected,U=void 0===W?function(e,t){return e===t}:W,$=e.groupBy,G=e.handleHomeEndKeys,H=void 0===G?!e.freeSolo:G,Y=e.id,K=e.includeInputInList,J=void 0!==K&&K,X=e.inputValue,ee=e.multiple,te=void 0!==ee&&ee,re=e.onChange,ne=e.onClose,ie=e.onHighlightChange,oe=e.onInputChange,ae=e.onOpen,se=e.open,ue=e.openOnFocus,ce=void 0!==ue&&ue,le=e.options,pe=e.selectOnFocus,fe=void 0===pe?!e.freeSolo:pe,de=e.value,he=(0,C.Z)(Y),ve=B;var be=a.useRef(!1),ye=a.useRef(!0),me=a.useRef(null),ge=a.useRef(null),we=a.useState(null),Oe=we[0],ke=we[1],xe=a.useState(-1),Se=xe[0],Ee=xe[1],Ce=i?0:-1,Re=a.useRef(Ce),Ie=(0,R.Z)({controlled:de,default:w,name:b}),Pe=(0,E.Z)(Ie,2),De=Pe[0],Me=Pe[1],Te=(0,R.Z)({controlled:X,default:"",name:b,state:"inputValue"}),Qe=(0,E.Z)(Te,2),qe=Qe[0],Fe=Qe[1],Le=a.useState(!1),Ne=Le[0],_e=Le[1],je=(0,I.Z)((function(e,t){var r;if(te)r="";else if(null==t)r="";else{var n=ve(t);r="string"===typeof n?n:""}qe!==r&&(Fe(r),oe&&oe(e,r,"reset"))}));a.useEffect((function(){je(null,De)}),[De,je]);var Ae=(0,R.Z)({controlled:se,default:!1,name:b,state:"open"}),Ze=(0,E.Z)(Ae,2),ze=Ze[0],Ve=Ze[1],Be=!te&&null!=De&&qe===ve(De),We=ze,Ue=We?N(le.filter((function(e){return!j||!(te?De:[De]).some((function(t){return null!==t&&U(e,t)}))})),{inputValue:Be?"":qe,getOptionLabel:ve}):[],$e=(0,I.Z)((function(e){-1===e?me.current.focus():Oe.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));a.useEffect((function(){te&&Se>De.length-1&&(Ee(-1),$e(-1))}),[De,te,Se,$e]);var Ge=(0,I.Z)((function(e){var t=e.event,r=e.index,n=e.reason,i=void 0===n?"auto":n;if(Re.current=r,-1===r?me.current.removeAttribute("aria-activedescendant"):me.current.setAttribute("aria-activedescendant","".concat(he,"-option-").concat(r)),ie&&ie(t,-1===r?null:Ue[r],i),ge.current){var o=ge.current.querySelector("[data-focus]");o&&o.removeAttribute("data-focus");var a=ge.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==r){var s=ge.current.querySelector('[data-option-index="'.concat(r,'"]'));if(s&&(s.setAttribute("data-focus","true"),a.scrollHeight>a.clientHeight&&"mouse"!==i)){var u=s,c=a.clientHeight+a.scrollTop,l=u.offsetTop+u.offsetHeight;l>c?a.scrollTop=l-a.clientHeight:u.offsetTop-u.offsetHeight*($?1.3:0)<a.scrollTop&&(a.scrollTop=u.offsetTop-u.offsetHeight*($?1.3:0))}}else a.scrollTop=0}})),He=(0,I.Z)((function(e){var t=e.event,n=e.diff,i=e.direction,o=void 0===i?"next":i,a=e.reason,s=void 0===a?"auto":a;if(We){var u=function(e,t){if(!ge.current||-1===e)return-1;for(var r=e;;){if("next"===t&&r===Ue.length||"previous"===t&&-1===r)return-1;var n=ge.current.querySelector('[data-option-index="'.concat(r,'"]')),i=!Q&&n&&(n.disabled||"true"===n.getAttribute("aria-disabled"));if(!(n&&!n.hasAttribute("tabindex")||i))return r;r+="next"===t?1:-1}}(function(){var e=Ue.length-1;if("reset"===n)return Ce;if("start"===n)return 0;if("end"===n)return e;var t=Re.current+n;return t<0?-1===t&&J?-1:F&&-1!==Re.current||Math.abs(n)>1?0:e:t>e?t===e+1&&J?-1:F||Math.abs(n)>1?e:0:t}(),o);if(Ge({index:u,reason:s,event:t}),r&&"reset"!==n)if(-1===u)me.current.value=qe;else{var c=ve(Ue[u]);me.current.value=c,0===c.toLowerCase().indexOf(qe.toLowerCase())&&qe.length>0&&me.current.setSelectionRange(qe.length,c.length)}}})),Ye=a.useCallback((function(){if(We){var e=te?De[0]:De;if(0!==Ue.length&&null!=e){if(ge.current)if(j||null==e)Re.current>=Ue.length-1?Ge({index:Ue.length-1}):Ge({index:Re.current});else{var t=Ue[Re.current];
1if(te&&t&&-1!==M(De,(function(e){return U(t,e)})))return;var r=M(Ue,(function(t){return U(t,e)}));-1===r?He({diff:"reset"}):Ge({index:r})}}else He({diff:"reset"})}}),[0===Ue.length,!te&&De,j,He,Ge,We,qe,te]),Ke=(0,I.Z)((function(e){(0,P.Z)(ge,e),e&&Ye()}));a.useEffect((function(){Ye()}),[Ye]);var Je=function(e){ze||(Ve(!0),ae&&ae(e))},Xe=function(e,t){ze&&(Ve(!1),ne&&ne(e,t))},et=function(e,t,r,n){De!==t&&(re&&re(e,t,r,n),Me(t))},tt=a.useRef(!1),rt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",i=r,o=t;if(te){var a=M(o=Array.isArray(De)?De.slice():[],(function(e){return U(t,e)}));-1===a?o.push(t):"freeSolo"!==n&&(o.splice(a,1),i="remove-option")}je(e,o),et(e,o,i,{option:t}),S||Xe(e,i),(!0===l||"touch"===l&&tt.current||"mouse"===l&&!tt.current)&&me.current.blur()};var nt=function(e,t){if(te){Xe(e,"toggleInput");var r=Se;-1===Se?""===qe&&"previous"===t&&(r=De.length-1):((r+="next"===t?1:-1)<0&&(r=0),r===De.length&&(r=-1)),r=function(e,t){if(-1===e)return-1;for(var r=e;;){if("next"===t&&r===De.length||"previous"===t&&-1===r)return-1;var n=Oe.querySelector('[data-tag-index="'.concat(r,'"]'));if(!n||n.hasAttribute("tabindex")&&!n.disabled&&"true"!==n.getAttribute("aria-disabled"))return r;r+="next"===t?1:-1}}(r,t),Ee(r),$e(r)}},it=function(e){be.current=!0,Fe(""),oe&&oe(e,"","clear"),et(e,te?[]:null,"clear")},ot=function(e){return function(t){switch(-1!==Se&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Ee(-1),$e(-1)),t.key){case"Home":We&&H&&(t.preventDefault(),He({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":We&&H&&(t.preventDefault(),He({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),He({diff:-5,direction:"previous",reason:"keyboard",event:t}),Je(t);break;case"PageDown":t.preventDefault(),He({diff:5,direction:"next",reason:"keyboard",event:t}),Je(t);break;case"ArrowDown":t.preventDefault(),He({diff:1,direction:"next",reason:"keyboard",event:t}),Je(t);break;case"ArrowUp":t.preventDefault(),He({diff:-1,direction:"previous",reason:"keyboard",event:t}),Je(t);break;case"ArrowLeft":nt(t,"previous");break;case"ArrowRight":nt(t,"next");break;case"Enter":if(229===t.which)break;if(-1!==Re.current&&We){var n=Ue[Re.current],i=!!z&&z(n);if(t.preventDefault(),i)return;rt(t,n,"select-option"),r&&me.current.setSelectionRange(me.current.value.length,me.current.value.length)}else Z&&""!==qe&&!1===Be&&(te&&t.preventDefault(),rt(t,qe,"create-option","freeSolo"));break;case"Escape":We?(t.preventDefault(),t.stopPropagation(),Xe(t,"escape")):h&&(""!==qe||te&&De.length>0)&&(t.preventDefault(),t.stopPropagation(),it(t));break;case"Backspace":if(te&&""===qe&&De.length>0){var o=-1===Se?De.length-1:Se,a=De.slice();a.splice(o,1),et(t,a,"remove-option",{option:De[o]})}}e.onKeyDown&&e.onKeyDown(t)}},at=function(e){_e(!0),ce&&!be.current&&Je(e)},st=function(e){null===ge.current||document.activeElement!==ge.current.parentElement?(_e(!1),ye.current=!0,be.current=!1,m&&""!==qe||(u&&-1!==Re.current&&We?rt(e,Ue[Re.current],"blur"):u&&Z&&""!==qe?rt(e,qe,"blur","freeSolo"):f&&je(e,De),Xe(e,"blur"))):me.current.focus()},ut=function(e){var t=e.target.value;qe!==t&&(Fe(t),oe&&oe(e,t,"input")),""===t?k||te||et(e,null,"clear"):Je(e)},ct=function(e){Ge({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},lt=function(){tt.current=!0},pt=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));rt(e,Ue[t],"select-option"),tt.current=!1},ft=function(e){return function(t){var r=De.slice();r.splice(e,1),et(t,r,"remove-option",{option:De[e]})}},dt=function(e){ze?Xe(e,"toggleInput"):Je(e)},ht=function(e){e.target.getAttribute("id")!==he&&e.preventDefault()},vt=function(){me.current.focus(),fe&&ye.current&&me.current.selectionEnd-me.current.selectionStart===0&&me.current.select(),ye.current=!1},bt=function(e){""!==qe&&ze||dt(e)},yt=Z&&qe.length>0;yt=yt||(te?De.length>0:null!==De);var mt=Ue;if($){new Map;mt=Ue.reduce((function(e,t,r){var n=$(t);return e.length>0&&e[e.length-1].group===n?e[e.length-1].options.push(t):e.push({key:r,index:r,group:n,options:[t]}),e}),[])}return{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.Z)({"aria-owns":We?"".concat(he,"-popup"):null,role:"combobox","aria-expanded":We},e,{onKeyDown:ot(e),onMouseDown:ht,onClick:vt})},getInputLabelProps:function(){return{id:"".concat(he,"-label"),htmlFor:he}},getInputProps:function(){return{id:he,value:qe,onBlur:st,onFocus:at,onChange:ut,onMouseDown:bt,"aria-activedescendant":We?"":null,"aria-autocomplete":r?"both":"list","aria-controls":We?"".concat(he,"-popup"):null,autoComplete:"off",ref:me,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function(){return{tabIndex:-1,onClick:it}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:dt}},getTagProps:function(e){var t=e.index;return{key:t,"data-tag-index":t,tabIndex:-1,onDelete:ft(t)}},getListboxProps:function(){return{role:"listbox",id:"".concat(he,"-popup"),"aria-labelledby":"".concat(he,"-label"),ref:Ke,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var t=e.index,r=e.option,n=(te?De:[De]).some((function(e){return null!=e&&U(r,e)})),i=!!z&&z(r);return{key:t,tabIndex:-1,role:"option",id:"".concat(he,"-option-").concat(t),onMouseOver:ct,onClick:pt,onTouchStart:lt,"data-option-index":t,"aria-disabled":i,"aria-selected":n}},id:he,inputValue:qe,value:De,dirty:yt,popupOpen:We,focused:Ne||-1!==Se,anchorEl:Oe,setAnchorEl:ke,focu
1sedTag:Se,groupedOptions:mt}}function q(e){e.anchorEl,e.open;var t=(0,n.Z)(e,["anchorEl","open"]);return a.createElement("div",t)}var F=a.createElement(x,{fontSize:"small"}),L=a.createElement(S,null),N=a.forwardRef((function(e,t){e.autoComplete,e.autoHighlight,e.autoSelect,e.blurOnSelect;var r,i=e.ChipProps,u=e.classes,l=e.className,p=e.clearOnBlur,v=(void 0===p&&e.freeSolo,e.clearOnEscape,e.clearText),b=void 0===v?"Clear":v,y=e.closeIcon,m=void 0===y?F:y,g=e.closeText,w=void 0===g?"Close":g,O=(e.debug,e.defaultValue),x=(void 0===O&&e.multiple,e.disableClearable),S=void 0!==x&&x,E=(e.disableCloseOnSelect,e.disabled),C=void 0!==E&&E,R=(e.disabledItemsFocusable,e.disableListWrap,e.disablePortal),I=void 0!==R&&R,P=(e.filterOptions,e.filterSelectedOptions,e.forcePopupIcon),D=void 0===P?"auto":P,M=e.freeSolo,T=void 0!==M&&M,N=e.fullWidth,_=void 0!==N&&N,j=e.getLimitTagsText,A=void 0===j?function(e){return"+".concat(e)}:j,Z=(e.getOptionDisabled,e.getOptionLabel),z=void 0===Z?function(e){return e}:Z,V=(e.getOptionSelected,e.groupBy),B=e.handleHomeEndKeys,W=(void 0===B&&e.freeSolo,e.id,e.includeInputInList,e.inputValue,e.limitTags),U=void 0===W?-1:W,$=e.ListboxComponent,G=void 0===$?"ul":$,H=e.ListboxProps,Y=e.loading,K=void 0!==Y&&Y,J=e.loadingText,X=void 0===J?"Loading\u2026":J,ee=e.multiple,te=void 0!==ee&&ee,re=e.noOptionsText,ne=void 0===re?"No options":re,ie=(e.onChange,e.onClose,e.onHighlightChange,e.onInputChange,e.onOpen,e.open,e.openOnFocus,e.openText),oe=void 0===ie?"Open":ie,ae=(e.options,e.PaperComponent),se=void 0===ae?d.Z:ae,ue=e.PopperComponent,ce=void 0===ue?c.Z:ue,le=e.popupIcon,pe=void 0===le?L:le,fe=e.renderGroup,de=e.renderInput,he=e.renderOption,ve=e.renderTags,be=e.selectOnFocus,ye=(void 0===be&&e.freeSolo,e.size),me=void 0===ye?"medium":ye,ge=(e.value,(0,n.Z)(e,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),we=I?q:ce,Oe=Q((0,o.Z)({},e,{componentName:"Autocomplete"})),ke=Oe.getRootProps,xe=Oe.getInputProps,Se=Oe.getInputLabelProps,Ee=Oe.getPopupIndicatorProps,Ce=Oe.getClearProps,Re=Oe.getTagProps,Ie=Oe.getListboxProps,Pe=Oe.getOptionProps,De=Oe.value,Me=Oe.dirty,Te=Oe.id,Qe=Oe.popupOpen,qe=Oe.focused,Fe=Oe.focusedTag,Le=Oe.anchorEl,Ne=Oe.setAnchorEl,_e=Oe.inputValue,je=Oe.groupedOptions;if(te&&De.length>0){var Ae=function(e){return(0,o.Z)({className:(0,s.Z)(u.tag,"small"===me&&u.tagSizeSmall),disabled:C},Re(e))};r=ve?ve(De,Ae):De.map((function(e,t){return a.createElement(k,(0,o.Z)({label:z(e),size:me},Ae({index:t}),i))}))}if(U>-1&&Array.isArray(r)){var Ze=r.length-U;!qe&&Ze>0&&(r=r.splice(0,U)).push(a.createElement("span",{className:u.tag,key:r.length},A(Ze)))}var ze=fe||function(e){return a.createElement("li",{key:e.key},a.createElement(f,{className:u.groupLabel,component:"div"},e.group),a.createElement("ul",{className:u.groupUl},e.children))},Ve=he||z,Be=function(e,t){var r=Pe({option:e,index:t});return a.createElement("li",(0,o.Z)({},r,{className:u.option}),Ve(e,{selected:r["aria-selected"],inputValue:_e}))},We=!S&&!C,Ue=(!T||!0===D)&&!1!==D;return a.createElement(a.Fragment,null,a.createElement("div",(0,o.Z)({ref:t,className:(0,s.Z)(u.root,l,qe&&u.focused,_&&u.fullWidth,We&&u.hasClearIcon,Ue&&u.hasPopupIcon)},ke(ge)),de({id:Te,disabled:C,fullWidth:!0,size:"small"===me?"small":void 0,InputLabelProps:Se(),InputProps:{ref:Ne,className:u.inputRoot,startAdornment:r,endAdornment:a.createElement("div",{className:u.endAdornment},We?a.createElement(h.Z,(0,o.Z)({},Ce(),{"aria-label":b,title:b,className:(0,s.Z)(u.clearIndicator,Me&&u.clearIndicatorDirty)}),m):null,Ue?a.createElement(h.Z,(0,o.Z)({},Ee(),{disabled:C,"aria-label":Qe?w:oe,title:Qe?w:oe,className:(0,s.Z)(u.popupIndicator,Qe&&u.popupIndicatorOpen)}),pe):null)},inputProps:(0,o.Z)({className:(0,s.Z)(u.input,-1===Fe&&u.inputFocused),disabled:C},xe())})),Qe&&Le?a.createElement(we,{className:(0,s.Z)(u.popper,I&&u.popperDisablePortal),style:{width:Le?Le.clientWidth:null},role:"presentation",anchorEl:Le,open:!0},a.createElement(se,{className:u.paper},K&&0===je.length?a.createElement("div",{className:u.loading},X):null,0!==je.length||T||K?null:a.createElement("div",{className:u.noOptions},ne),je.length>0?a.createElement(G,(0,o.Z)({className:u.listbox},Ie(),H),je.map((function(e,t){return V?ze({key:e.key,group:e.group,children:e.options.map((function(t,r){return Be(t,e.index+r)}))}):Be(e,t)}))):null)):null)})),_=(0,u.Z)((function(e){var t;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0}
1,inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:e.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:(0,o.Z)({},e.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:e.palette.text.secondary,padding:"14px 16px"},noOptions:{color:e.palette.text.secondary,padding:"14px 16px"},option:(t={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,i.Z)(t,e.breakpoints.up("sm"),{minHeight:"auto"}),(0,i.Z)(t,'&[aria-selected="true"]',{backgroundColor:e.palette.action.selected}),(0,i.Z)(t,'&[data-focus="true"]',{backgroundColor:e.palette.action.hover}),(0,i.Z)(t,"&:active",{backgroundColor:e.palette.action.selected}),(0,i.Z)(t,'&[aria-disabled="true"]',{opacity:e.palette.action.disabledOpacity,pointerEvents:"none"}),t),groupLabel:{backgroundColor:e.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(N)},64945:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(85273),i=r(92700),o=r(33696),a=r(15795),s=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=a.Z.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=(0,o.Z)(this.xf["@@transducer/step"](e,!1))),e},e}(),u=(0,n.Z)((function(e,t){return new s(e,t)})),c=(0,n.Z)((0,i.Z)(["all"],u,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})))},61209:function(e,t,r){"use strict";var n=r(510),i=r(92540),o=r(10212),a=r(34820),s=r(52169),u=(0,n.Z)((function(e){return null!=e&&"function"===typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"===typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"===typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"===typeof e.constructor.empty?e.constructor.empty():(0,o.Z)(e)?[]:(0,s.Z)(e)?"":(0,a.Z)(e)?{}:(0,i.Z)(e)?function(){return arguments}():void 0}));t.Z=u},71401:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(85273),i=r(92700);var o=r(34820),a=r(80662),s=r(15795),u=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=s.Z.init,e.prototype["@@transducer/result"]=s.Z.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),c=(0,n.Z)((function(e,t){return new u(e,t)})),l=r(21026),p=(0,n.Z)((0,i.Z)(["filter"],c,(function(e,t){return(0,o.Z)(t)?(0,a.Z)((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},(0,l.Z)(t)):function(e,t){for(var r=0,n=t.length,i=[];r<n;)e(t[r])&&(i[i.length]=t[r]),r+=1;return i}(e,t)})))},24404:function(e,t,r){"use strict";function n(e){return function(){return!e.apply(this,arguments)}}r.d(t,{Z:function(){return n}})},34820:function(e,t,r){"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}r.d(t,{Z:function(){return n}})},33696:function(e,t,r){"use strict";function n(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}r.d(t,{Z:function(){return n}})},73814:function(e,t,r){"use strict";var n=r(510),i=r(61209),o=r(17353),a=(0,n.Z)((function(e){return null!=e&&(0,o.Z)(e,(0,i.Z)(e))}));t.Z=a},47341:function(e,t,r){"use strict";var n=r(24404),i=r(85273),o=r(71401),a=(0,i.Z)((function(e,t){return(0,o.Z)((0,n.Z)(e),t)}));t.Z=a},39907:function(e,t,r){"use strict";var n=r(510),i=r(21026),o=(0,n.Z)((function(e){for(var t=(0,i.Z)(e),r=t.length,n=[],o=0;o<r;)n[o]=e[t[o]],o+=1;return n}));t.Z=o},59894:function(e,t,r){"use strict";var n,i=r(56168),o=(n=i)&&"object"===typeof n&&"default"in n?n.default:n,a=r(96674),s=new a,u=s.getBrowser(),c=s.getCPU(),l=s.getDevice(),p=s.getEngine(),f=s.getOS(),d=s.getUA(),h=function(e){return s.setUA(e)},v=function(e){if(e){var t=new a(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}console.error("No userAgent string was provided")},b=Object.freeze({ClientUAInstance:s,browser:u,cpu:c,device:l,engine:p,os:f,ua:d,setUa:h,parseUserAgent:v});function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){return m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 9,864 bytes, line 1
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function S(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I="mobile",P="tablet",D="smarttv",M="console",T="wearable",Q="embedded",q=void 0,F={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},L={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},N={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},j=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},A=function(e){var t=j();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},Z=function(e,t,r,n){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{vendor:_(t.vendor),model:_(t.model),os:_(r.name),osVersion:_(r.version),ua:_(n)})};var z=function(e){return e.type===I},V=function(e){return e.type===P},B=function(e){var t=e.type;return t===I||t===P},W=function(e){return e.type===D},U=function(e){return e.type===q},$=function(e){return e.type===T},G=function(e){return e.type===M},H=function(e){return e.type===Q},Y=function(e){var t=e.vendor;return _(t)},K=function(e){var t=e.model;return _(t)},J=function(e){var t=e.type;return _(t,"browser")},X=function(e){return e.name===L.Android},ee=function(e){return e.name===L.Windows},te=function(e){return e.name===L.MAC_OS},re=function(e){return e.name===L.WindowsPhone},ne=function(e){return e.name===L.IOS},ie=function(e){var t=e.version;return _(t)},oe=function(e){var t=e.name;return _(t)},ae=function(e){return e.name===F.Chrome},se=function(e){return e.name===F.Firefox},ue=function(e){return e.name===F.Chromium},ce=function(e){return e.name===F.Edge},le=function(e){return e.name===F.Yandex},pe=function(e){var t=e.name;return t===F.Safari||t===F.MobileSafari},fe=function(e){return e.name===F.MobileSafari},de=function(e){return e.name===F.Opera},he=function(e){var t=e.name;return t===F.InternetExplorer||t===F.Ie},ve=function(e){return e.name===F.MIUI},be=function(e){return e.name===F.SamsungBrowser},ye=function(e){var t=e.version;return _(t)},me=function(e){var t=e.major;return _(t)},ge=function(e){var t=e.name;return _(t)},we=function(e){var t=e.name;return _(t)},Oe=function(e){var t=e.version;return _(t)},ke=function(){var e=j(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)},xe=function(e){return"string"===typeof e&&-1!==e.indexOf("Edg/")},Se=function(){var e=j();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Ee=function(){return A("iPad")},Ce=function(){return A("iPhone")},Re=function(){return A("iPod")},Ie=function(e){return _(e)};function Pe(e){var t=e||b,r=t.device,n=t.browser,i=t.os,o=t.engine,a=t.ua;return{isSmartTV:W(r),isConsole:G(r),isWearable:$(r),isEmbedded:H(r),isMobileSafari:fe(n)||Ee(),isChromium:ue(n),isMobile:B(r)||Ee(),isMobileOnly:z(r),isTablet:V(r)||Ee(),isBrowser:U(r),isDesktop:U(r),isAndroid:X(i),isWinPhone:re(i),isIOS:ne(i)||Ee(),isChrome:ae(n),isFirefox:se(n),isSafari:pe(n),isOpera:de(n),isIE:he(n),osVersion:ie(i),osName:oe(i),fullBrowserVersion:ye(n),browserVersion:me(n),browserName:ge(n),mobileVendor:Y(r),mobileModel:K(r),engineName:we(o),engineVersion:Oe(o),getUA:Ie(a),isEdge:ce(n)||xe(a),isYandex:le(n),deviceType:J(r),isIOS13:Se(),isIPad13:Ee(),isIPhone13:Ce(),isIPod13:Re(),isElectron:ke(),isEdgeChromium:xe(a),isLegacyEdge:ce(n)&&!xe(a),isWindows:ee(i),isMacOs:te(i),isMIUI:ve(n),isSamsungBrowser:be(n)}}var De=W(l),Me=G(l),Te=$(l),Qe=H(l),qe=fe(u)||Ee(),Fe=ue(u),Le=B(l)||Ee(),Ne=z(l),_e=V(l)||Ee(),je=U(l),Ae=U(l),Ze=X(f),ze=re(f),Ve=ne(f)||Ee(),Be=ae(u),We=se(u),Ue=pe(u),$e=de(u),Ge=he(u),He=ie(f),Ye=oe(f),Ke=ye(u),Je=me(u),Xe=ge(u),et=Y(l),tt=K(l),rt=we(p),nt=Oe(p),it=Ie(d),ot=ce(u)||xe(d),at=le(u),st=J(l),ut=Se(),ct=Ee(),lt=Ce(),pt=Re(),ft=ke(),dt=xe(d),ht=ce(u)&&!xe(d),vt=ee(f),bt=te(f),yt=ve(u),mt=be(u);function gt(e){var t=e||window.navigator.userAgent;return v(t)}t.tq=Le,t.Em=_e},96674:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",p="model",f="name",d="type",h="vendor",v="version",b="architecture",y="console",m="mobile",g="tablet",w="smarttv",O="wearable",k="embedded",x="Amazon",S="Apple",E="ASUS",C="BlackBerry",R="Firefox",I="Google",P="Honor",D="Huawei",M="LG",T="Microsoft",Q="Motorola",q="Nvidia",F="OnePlus",L="Opera",N="OPPO",_="Samsung",j="Sharp",A="Sony",Z="Xiaomi",z="Zebra",V="Facebook",B="Chromium OS",W="Mac OS",U=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},$=function(e,t){return typeof e===c&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Y=function(e,t){for(var r,n,i,s,c,l,p=0;p<t.length&&!c;){var f=t[p],d=t[p+1];for(r=n=0;r<f.length&&!c&&f[r];)if(c=f[r++].exec(e))for(i=0;i<d.length;i++)l=c[++n],typeof(s=d[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;p+=2}},K=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if($(t[r][n],e))return"?"===r?o:r}else if($(t[r],e))return"?"===r?o:r;return t.hasOwnProperty("*")?t["*"]:e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,v],[/opios[\/ ]+([\w\.]+)/i],[v,[f,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[f,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[v,[f,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[f,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[f,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure Browser"],v],[/\bfocus\/([\w\.]+)/i],[v,[f,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[v,[f,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[f,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[f,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[v,[f,R]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[f,"3
160"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 Browser"],v],[/samsungbrowser\/([\w\.]+)/i],[v,[f,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,V],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[f,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,"Chrome WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[f,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[v,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[f,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[v,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[b,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[b,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[b,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[b,/ower/,"",G]],[/ sun4\w[;\)]/i],[[b,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[b,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[h,_],[d,g]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[p,[h,_],[d,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[h,S],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[h,S],[d,g]],[/(macintosh);/i],[p,[h,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[h,j],[d,m]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[p,[h,P],[d,g]],[/honor([-\w ]+)[;\)]/i],[p,[h,P],[d,m]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[p,[h,D],[d,g]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[h,D],[d,m]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[p,/_/g," "],[h,Z],[d,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[p,/_/g," "],[h,Z],[d,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[h,N],[d,m]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[p,[h,K,{OnePlus:["304","403","203"],"*":N}],[d,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[h,"Vivo"],[d,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[h,"Realme"],[d,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[h,Q],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[h,Q],[d,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[h,M],[d,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[h,M],[d,m]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
1(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[p,[h,"Lenovo"],[d,g]],[/(nokia) (t[12][01])/i],[h,p,[d,g]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[p,/_/g," "],[d,m],[h,"Nokia"]],[/(pixel (c|tablet))\b/i],[p,[h,I],[d,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[h,I],[d,m]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[h,A],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[h,A],[d,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[h,F],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[h,x],[d,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[h,x],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[p,h,[d,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[h,C],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[h,E],[d,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[h,E],[d,m]],[/(nexus 9)/i],[p,[h,"HTC"],[d,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[p,/_/g," "],[d,m]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[p,[h,"TCL"],[d,g]],[/(itel) ((\w+))/i],[[h,G],p,[d,K,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[h,"Acer"],[d,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[h,"Meizu"],[d,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[h,"Ulefone"],[d,m]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[p,[h,"Energizer"],[d,m]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[p,[h,"Cat"],[d,m]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[p,[h,"Smartfren"],[d,m]],[/droid.+; (a(?:015|06[35]|142p?))/i],[p,[h,"Nothing"],[d,m]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[p,[h,"Archos"],[d,g]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[p,[h,"Archos"],[d,m]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,p,[d,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,p,[d,m]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,p,[d,g]],[/(surface duo)/i],[p,[h,T],[d,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[h,"Fairphone"],[d,m]],[/(u304aa)/i],[p,[h,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[p,[h,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[p,[h,"RCA"],[d,g]],[/\b(venue[\d ]{2,7}) b/i],[p,[h,"Dell"],[d,g]],[/\b(q(?:mv|ta)\w+) b/i],[p,[h,"Verizon"],[d,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[h,"Barnes & Noble"],[d,g]],[/\b(tm\d{3}\w+) b/i],[p,[h,"NuVision"],[d,g]],[/\b(k88) b/i],[p,[h,"ZTE"],[d,g]],[/\b(nx\d{3}j) b/i],[p,[h,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[p,[h,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[p,[h,"Swiss"],[d,g]],[/\b((zeki)?tb.*\b) b/i],[p,[h,"Zeki"],[d,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],p,[d,g]],[/\b(ns-?\w{0,9}) b/i],[p,[h,"Insignia"],[d,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[h,"NextBook"],[d,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],p,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],p,[d,m]],[/\b(ph-1) /i],[p,[h,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[h,"Envizen"],[d,g]],[/\b(trio[-\w\. ]+) b/i],[p,[h,"MachSpeed"],[d,g]],[/\btu_(1491) b/i],[p,[h,"Rotor"],[d,g]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[p,[h,q],[d,g]],[/(sprint) (\w+)/i],[h,p,[d,m]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[h,T],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[h,z],[d,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[h,z],[d,m]],[/smart-tv.+(samsung)/i],[h,[d,w]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[h,_],[d,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,M],[d,w]],[/(apple) ?tv/i],[h,[p,"Apple TV"],[d,w]],[/crkey/i],[[p,"Chromecast"],[h,I],[d,w]],[/droid.+aft(\w+)( bui|\))/i],[p,[h,x],[d,w]],[/(shield \w+ tv)/i],[p,[h,q],[d,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[h,j],[d,w]],[/(bravia[\w ]+)( bui|\))/i],[p,[h,A],[d,w]],[/(mi(tv|box)-?\w+) bui/i],[p,[h,Z],[d,w]],[/Hbbtv.*(technisat) (.*);/i],[h,p,[d,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,H],[p,H],[d,w]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[p,[d,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,p,[d,y]],[/droid.+; (shield)( bui|\))/i],[p,[h,q],[d,y]],[/(playstation \w+)/i],[p,[h,A],[d,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[h,T],[d,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[p,[h,_],[d,O]],[/((pebble))app/i,/(asu
vendor: 5,528 bytes, line 1
1s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,p,[d,O]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[p,[h,N],[d,O]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[h,S],[d,O]],[/(opwwe\d{3})/i],[p,[h,F],[d,O]],[/(moto 360)/i],[p,[h,Q],[d,O]],[/(smartwatch 3)/i],[p,[h,A],[d,O]],[/(g watch r)/i],[p,[h,M],[d,O]],[/droid.+; (wt63?0{2,3})\)/i],[p,[h,z],[d,O]],[/droid.+; (glass) \d/i],[p,[h,I],[d,O]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,p,[d,O]],[/; (quest( \d| pro)?)/i],[p,[h,V],[d,O]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,k]],[/(aeobc)\b/i],[p,[h,x],[d,k]],[/(homepod).+mac os/i],[p,[h,S],[d,k]],[/windows iot/i],[[d,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[d,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[p,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,v],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,v],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[v,K,J]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,K,J],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],v],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,v],[/\(bb(10);/i],[v,[f,C]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[v,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[f,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[f,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,B],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,v],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,v]]},ee=function(e,t){if(typeof e===u&&(t=e,e=o),!(this instanceof ee))return new ee(e,t).getResult();var r=typeof i!==s&&i.navigator?i.navigator:o,n=e||(r&&r.userAgent?r.userAgent:""),l=r&&r.userAgentData?r.userAgentData:o,p=t?function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2===0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r}(X,t):X,f=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t.name=o,t.version=o,Y.call(t,n,p.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,f&&r&&r.brave&&typeof r.brave.isBrave==a&&(t.name="Brave"),t},this.getCPU=function(){var e={};return e.architecture=o,Y.call(e,n,p.cpu),e},this.getDevice=function(){var e={};return e.vendor=o,e.model=o,e.type=o,Y.call(e,n,p.device),f&&!e.type&&l&&l.mobile&&(e.type=m),f&&"Macintosh"==e.model&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e.model="iPad",e.type=g),e},this.getEngine=function(){var e={};return e.name=o,e.version=o,Y.call(e,n,p.engine),e},this.getOS=function(){var e={};return e.name=o,e.version=o,Y.call(e,n,p.os),f&&!e.name&&l&&l.platform&&"Unknown"!=l.platform&&(e.name=l.platform.replace(/chrome os/i,B).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>500?H(e,500):e,this},this.setUA(n),this};ee.VERSION="1.0.41",ee.BROWSER=U([f,v,l]),ee.CPU=U([b]),ee.DEVICE=U([p,h,d,y,m,w,g,O,k]),ee.ENGINE=ee.OS=U([f,v]),typeof t!==s?(e.exports&&(t=e.exports=ee),t.UAParser=ee):r.amdO?(n=function(){return ee}.call(t,r,t,e))===o||(e.exports=n):typeof i!==s&&(i.UAParser=ee);var te=typeof i!==s&&(i.jQuery||i.Zepto);if(te&&!te.ua){var re=new ee;te.ua=re.getResult(),te.ua.get=function(){return re.getUA()},te.ua.set=function(e){re.setUA(e);var t=re.getResult();for(var r in t)te.ua[r]=t[r]}}}("object"===typeof window?window:this)}}]);

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.