PageSourceSearch

https://firmapp-backend.netlify.app/_next/static/chunks/7887-7d7542f5d3ef04df.js

js firmapp-backend.netlify.app collected 2026-10-03 10:45:55 UTC 10,125 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7887],{66252:function(t,e,r){r.d(e,{x:function(){return s}});var o=r(13917),n=r(67294),i=r(85317);function s(t){var e=(0,n.useContext)((0,i.K)()),r=t||e.client;return __DEV__?(0,o.kG)(!!r,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,o.kG)(!!r,32),r}},37887:function(t,e,r){r.d(e,{A:function(){return Q},a:function(){return _}});var o=r(97582),n=r(13917),i=r(67294),s=r.t(i,2),a=r(30320),u=!1,l=s.useSyncExternalStore||function(t,e,r){var o=e();__DEV__&&!u&&o!==e()&&(u=!0,__DEV__&&n.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var s=i.useState({inst:{value:o,getSnapshot:e}}),l=s[0].inst,h=s[1];return a.JC?i.useLayoutEffect((function(){Object.assign(l,{value:o,getSnapshot:e}),c(l)&&h({inst:l})}),[t,o,e]):Object.assign(l,{value:o,getSnapshot:e}),i.useEffect((function(){return c(l)&&h({inst:l}),t((function(){c(l)&&h({inst:l})}))}),[t]),o};function c(t){var e=t.value,r=t.getSnapshot;try{return e!==r()}catch(o){return!0}}var h=r(30020),p=r(14012),d=r(85317),f=r(30990),y=r(1644),b=r(14692),v=r(66252),g=r(10542),k=r(53712),O=r(21436),m=Object.prototype.hasOwnProperty;function _(t,e){return void 0===e&&(e=Object.create(null)),Q((0,v.x)(e.client),t).useQuery(e)}function Q(t,e){var r=(0,i.useRef)();r.current&&t===r.current.client&&e===r.current.query||(r.current=new P(t,e,r.current));var o=r.current,n=(0,i.useState)(0),s=(n[0],n[1]);return o.forceUpdate=function(){s((function(t){return t+1}))},o}var P=function(){function t(t,e,r){this.client=t,this.query=e,this.ssrDisabledResult=(0,g.J)({loading:!0,data:void 0,error:void 0,networkStatus:y.I.loading}),this.skipStandbyResult=(0,g.J)({loading:!1,data:void 0,error:void 0,networkStatus:y.I.ready}),this.toQueryResultCache=new(a.mr?WeakMap:Map),(0,b.Vp)(e,b.n_.Query);var o=r&&r.result,n=o&&o.data;n&&(this.previousData=n)}return t.prototype.forceUpdate=function(){__DEV__&&n.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},t.prototype.executeQuery=function(t){var e,r=this;t.query&&Object.assign(this,{query:t.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=t);var o=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(e=this.result)||void 0===e?void 0:e.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise((function(t){var e;o.subscribe({next:function(t){e=t},error:function(){t(r.toQueryResult(r.observable.getCurrentResult()))},complete:function(){t(r.toQueryResult(e))}})}))},t.prototype.useQuery=function(t){var e=this;this.renderPromises=(0,i.useContext)((0,d.K)()).renderPromises,this.useOptions(t);var r=this.useObservableQuery(),o=l((0,i.useCallback)((function(){if(e.renderPromises)return function(){};var t=function(){var t=e.result,o=r.getCurrentResult();t&&t.loading===o.loading&&t.networkStatus===o.networkStatus&&(0,h.D)(t.data,o.data)||e.setResult(o)},o=function(i){var s=r.last;n.unsubscribe();try{r.resetLastResults(),n=r.subscribe(t,o)}finally{r.last=s}if(!m.call(i,"graphQLErrors"))throw i;var a=e.result;(!a||a&&a.loading||!(0,h.D)(i,a.error))&&e.setResult({data:a&&a.data,error:i,loading:!1,networkStatus:y.I.error})},n=r.subscribe(t,o);return function(){return setTimeout((function(){return n.unsubscribe()}))}}),[r,this.renderPromises,this.client.disableNetworkFetches]),(function(){return e.getCurrentResult()}),(function(){return e.getCurrentResult()}));return this.unsafeHandlePartialRefetch(o),this.toQueryResult(o)},t.prototype.useOptions=function(e){var r,o=this.createWatchQueryOptions(this.queryHookOptions=e),n=this.watchQueryOptions;(0,h.D)(o,n)||(this.watchQueryOptions=o,n&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=e.onCompleted||t.prototype.onCompleted,this.onError=e.onError||t.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},t.prototype.getObsQueryOptions=function(){var t=[],e=this.client.defaultOptions.watchQuery;return e&&t.push(e),this.queryHookOptions.defaultOptions&&t.push(this.queryHookOptions.defaultOptions),t.push((0,k.o)(this.observable&&this.observable.options,this.watchQueryOptions)),t.reduce(p.J)},t.prototype.createWatchQueryOptions=function(t){var e;void 0===t&&(t={});var r=t.skip,n=(t.ssr,t.onCompleted,t.onError,t.defaultOptions,(0,o._T)(t,["skip","ssr","onCompleted","onError","defaultOptions"])),i=Object.assign(n,{query:this.query});if(!this.renderPromises||"network-only"!==i.fetchPolicy&&"cache-and-network"!==i.fetchPolicy||(i.fetchPolicy="cache-first"),i.variables||(i.variables={}),r){var s=i.fetchPolicy,a=void 0===s?this.getDefaultFetchPolicy():s,u=i.initialFetchPolicy,l=void 0===u?a:u;Object.assign(i,{initialFetchPolicy:l,fetchPolicy:"standby"})}else i.fetchPolicy||(i.fetchPolicy=(null===(e=this.observable)||void 0===e?void 0:e.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return i},t.prototype.getDefaultFetchPolicy=function(){var t,e;return(null===(t=this.queryHookOptions.defaultOptions)||void 0===t?void 0:t.fetchPolicy)||(null===(e=this.client.defaultOptions.watchQuery)||void 0===e?void 0:e.fetchPolicy)||"cac
1he-first"},t.prototype.onCompleted=function(t){},t.prototype.onError=function(t){},t.prototype.useObservableQuery=function(){var t=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,i.useMemo)((function(){return{refetch:t.refetch.bind(t),reobserve:t.reobserve.bind(t),fetchMore:t.fetchMore.bind(t),updateQuery:t.updateQuery.bind(t),startPolling:t.startPolling.bind(t),stopPolling:t.stopPolling.bind(t),subscribeToMore:t.subscribeToMore.bind(t)}}),[t]);var e=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&e&&(this.renderPromises.registerSSRObservable(t),t.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(t)),t},t.prototype.setResult=function(t){var e=this.result;e&&e.data&&(this.previousData=e.data),this.result=t,this.forceUpdate(),this.handleErrorOrCompleted(t)},t.prototype.handleErrorOrCompleted=function(t){var e=this;if(!t.loading){var r=this.toApolloError(t);Promise.resolve().then((function(){r?e.onError(r):t.data&&e.onCompleted(t.data)})).catch((function(t){__DEV__&&n.kG.warn(t)}))}},t.prototype.toApolloError=function(t){return(0,O.O)(t.errors)?new f.cA({graphQLErrors:t.errors}):t.error},t.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},t.prototype.toQueryResult=function(t){var e=this.toQueryResultCache.get(t);if(e)return e;var r=t.data,n=(t.partial,(0,o._T)(t,["data","partial"]));return this.toQueryResultCache.set(t,e=(0,o.pi)((0,o.pi)((0,o.pi)({data:r},n),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!e.error&&(0,O.O)(t.errors)&&(e.error=new f.cA({graphQLErrors:t.errors})),e},t.prototype.unsafeHandlePartialRefetch=function(t){!t.partial||!this.queryHookOptions.partialRefetch||t.loading||t.data&&0!==Object.keys(t.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(t,{loading:!0,networkStatus:y.I.refetch}),this.observable.refetch())},t}()},14692:function(t,e,r){r.d(e,{n_:function(){return o},Vp:function(){return a}});var o,n=r(13917);!function(t){t[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription"}(o||(o={}));var i=new Map;function s(t){var e;switch(t){case o.Query:e="Query";break;case o.Mutation:e="Mutation";break;case o.Subscription:e="Subscription"}return e}function a(t,e){var r=function(t){var e,r,s=i.get(t);if(s)return s;__DEV__?(0,n.kG)(!!t&&!!t.kind,"Argument of ".concat(t," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,n.kG)(!!t&&!!t.kind,33);for(var a=[],u=[],l=[],c=[],h=0,p=t.definitions;h<p.length;h++){var d=p[h];if("FragmentDefinition"!==d.kind){if("OperationDefinition"===d.kind)switch(d.operation){case"query":u.push(d);break;case"mutation":l.push(d);break;case"subscription":c.push(d)}}else a.push(d)}__DEV__?(0,n.kG)(!a.length||u.length||l.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,n.kG)(!a.length||u.length||l.length||c.length,34),__DEV__?(0,n.kG)(u.length+l.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(t," had ").concat(u.length," queries, ").concat(c.length," ")+"subscriptions and ".concat(l.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,n.kG)(u.length+l.length+c.length<=1,35),r=u.length?o.Query:o.Mutation,u.length||l.length||(r=o.Subscription);var f=u.length?u:l.length?l:c;__DEV__?(0,n.kG)(1===f.length,"react-apollo only supports one definition per HOC. ".concat(t," had ")+"".concat(f.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,n.kG)(1===f.length,36);var y=f[0];e=y.variableDefinitions||[];var b={name:y.name&&"Name"===y.name.kind?y.name.value:"data",type:r,variables:e};return i.set(t,b),b}(t),a=s(e),u=s(r.type);__DEV__?(0,n.kG)(r.type===e,"Running a ".concat(a," requires a graphql ")+"".concat(a,", but a ").concat(u," was used instead.")):(0,n.kG)(r.type===e,37)}}}]);

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.