import {
  __esm,
  __export,
  __toCommonJS
} from "./chunk-NFEGQTCC.mjs";

// __generated__/AllProfilesListPaginationQuery.graphql.ts
var node, AllProfilesListPaginationQuery_graphql_default;
var init_AllProfilesListPaginationQuery_graphql = __esm({
  "__generated__/AllProfilesListPaginationQuery.graphql.ts"() {
    "use strict";
    node = /* @__PURE__ */ function() {
      var v0 = [
        {
          "defaultValue": 5,
          "kind": "LocalArgument",
          "name": "count"
        },
        {
          "defaultValue": null,
          "kind": "LocalArgument",
          "name": "cursor"
        },
        {
          "defaultValue": "name",
          "kind": "LocalArgument",
          "name": "orderBy"
        },
        {
          "defaultValue": null,
          "kind": "LocalArgument",
          "name": "q"
        }
      ], v1 = {
        "kind": "Variable",
        "name": "orderBy",
        "variableName": "orderBy"
      }, v2 = {
        "kind": "Variable",
        "name": "q",
        "variableName": "q"
      }, v3 = [
        {
          "kind": "Variable",
          "name": "after",
          "variableName": "cursor"
        },
        {
          "kind": "Variable",
          "name": "first",
          "variableName": "count"
        },
        v1,
        v2
      ], v4 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "id",
        "storageKey": null
      };
      return {
        "fragment": {
          "argumentDefinitions": v0,
          "kind": "Fragment",
          "metadata": null,
          "name": "AllProfilesListPaginationQuery",
          "selections": [
            {
              "args": [
                {
                  "kind": "Variable",
                  "name": "count",
                  "variableName": "count"
                },
                {
                  "kind": "Variable",
                  "name": "cursor",
                  "variableName": "cursor"
                },
                v1,
                v2
              ],
              "kind": "FragmentSpread",
              "name": "AllProfilesListFragment"
            }
          ],
          "type": "Query",
          "abstractKey": null
        },
        "kind": "Request",
        "operation": {
          "argumentDefinitions": v0,
          "kind": "Operation",
          "name": "AllProfilesListPaginationQuery",
          "selections": [
            {
              "alias": null,
              "args": v3,
              "concreteType": "ProfileConnection",
              "kind": "LinkedField",
              "name": "allProfiles",
              "plural": false,
              "selections": [
                {
                  "alias": null,
                  "args": null,
                  "kind": "ScalarField",
                  "name": "totalCount",
                  "storageKey": null
                },
                {
                  "alias": null,
                  "args": null,
                  "concreteType": "PageInfo",
                  "kind": "LinkedField",
                  "name": "pageInfo",
                  "plural": false,
                  "selections": [
                    {
                      "alias": null,
                      "args": null,
                      "kind": "ScalarField",
                      "name": "hasNextPage",
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": null,
                      "kind": "ScalarField",
                      "name": "endCursor",
                      "storageKey": null
                    }
                  ],
                  "storageKey": null
                },
                {
                  "alias": null,
                  "args": null,
                  "concreteType": "ProfileEdge",
                  "kind": "LinkedField",
                  "name": "edges",
                  "plural": true,
                  "selections": [
                    {
                      "alias": null,
                      "args": null,
                      "concreteType": "Profile",
                      "kind": "LinkedField",
                      "name": "node",
                      "plural": false,
                      "selections": [
                        v4,
                        {
                          "alias": null,
                          "args": null,
                          "kind": "ScalarField",
                          "name": "name",
                          "storageKey": null
                        },
                        {
                          "alias": null,
                          "args": [
                            {
                              "kind": "Literal",
                              "name": "height",
                              "value": 100
                            },
                            {
                              "kind": "Literal",
                              "name": "width",
                              "value": 100
                            }
                          ],
                          "concreteType": "File",
                          "kind": "LinkedField",
                          "name": "image",
                          "plural": false,
                          "selections": [
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "url",
                              "storageKey": null
                            }
                          ],
                          "storageKey": "image(height:100,width:100)"
                        },
                        {
                          "alias": null,
                          "args": null,
                          "concreteType": "URLPath",
                          "kind": "LinkedField",
                          "name": "urlPath",
                          "plural": false,
                          "selections": [
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "path",
                              "storageKey": null
                            },
                            v4
                          ],
                          "storageKey": null
                        },
                        {
                          "alias": null,
                          "args": null,
                          "kind": "ScalarField",
                          "name": "__typename",
                          "storageKey": null
                        }
                      ],
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": null,
                      "kind": "ScalarField",
                      "name": "cursor",
                      "storageKey": null
                    }
                  ],
                  "storageKey": null
                }
              ],
              "storageKey": null
            },
            {
              "alias": null,
              "args": v3,
              "filters": [
                "orderBy",
                "q"
              ],
              "handle": "connection",
              "key": "AllProfilesListFragment_allProfiles",
              "kind": "LinkedHandle",
              "name": "allProfiles"
            }
          ]
        },
        "params": {
          "cacheID": "204256845a14dd3565928a505a949408",
          "id": null,
          "metadata": {},
          "name": "AllProfilesListPaginationQuery",
          "operationKind": "query",
          "text": 'query AllProfilesListPaginationQuery(\n  $count: Int = 5\n  $cursor: String\n  $orderBy: String = "name"\n  $q: String = null\n) {\n  ...AllProfilesListFragment_40Ewnb\n}\n\nfragment AllProfilesListFragment_40Ewnb on Query {\n  allProfiles(after: $cursor, first: $count, orderBy: $orderBy, q: $q) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    edges {\n      node {\n        id\n        ...ProfileItemFragment\n        __typename\n      }\n      cursor\n    }\n  }\n}\n\nfragment ProfileItemFragment on Profile {\n  id\n  name\n  image(width: 100, height: 100) {\n    url\n  }\n  urlPath {\n    path\n    id\n  }\n}\n'
        }
      };
    }();
    node.hash = "ccca7694a4c35464dcc25d0d1752d100";
    AllProfilesListPaginationQuery_graphql_default = node;
  }
});

// __generated__/AllProfilesListFragment.graphql.ts
var AllProfilesListFragment_graphql_exports = {};
__export(AllProfilesListFragment_graphql_exports, {
  default: () => AllProfilesListFragment_graphql_default
});
var node2, AllProfilesListFragment_graphql_default;
var init_AllProfilesListFragment_graphql = __esm({
  "__generated__/AllProfilesListFragment.graphql.ts"() {
    "use strict";
    init_AllProfilesListPaginationQuery_graphql();
    node2 = /* @__PURE__ */ function() {
      var v0 = [
        "allProfiles"
      ];
      return {
        "argumentDefinitions": [
          {
            "defaultValue": 5,
            "kind": "LocalArgument",
            "name": "count"
          },
          {
            "defaultValue": null,
            "kind": "LocalArgument",
            "name": "cursor"
          },
          {
            "defaultValue": "name",
            "kind": "LocalArgument",
            "name": "orderBy"
          },
          {
            "defaultValue": null,
            "kind": "LocalArgument",
            "name": "q"
          }
        ],
        "kind": "Fragment",
        "metadata": {
          "connection": [
            {
              "count": "count",
              "cursor": "cursor",
              "direction": "forward",
              "path": v0
            }
          ],
          "refetch": {
            "connection": {
              "forward": {
                "count": "count",
                "cursor": "cursor"
              },
              "backward": null,
              "path": v0
            },
            "fragmentPathInResult": [],
            "operation": AllProfilesListPaginationQuery_graphql_default
          }
        },
        "name": "AllProfilesListFragment",
        "selections": [
          {
            "alias": "allProfiles",
            "args": [
              {
                "kind": "Variable",
                "name": "orderBy",
                "variableName": "orderBy"
              },
              {
                "kind": "Variable",
                "name": "q",
                "variableName": "q"
              }
            ],
            "concreteType": "ProfileConnection",
            "kind": "LinkedField",
            "name": "__AllProfilesListFragment_allProfiles_connection",
            "plural": false,
            "selections": [
              {
                "alias": null,
                "args": null,
                "kind": "ScalarField",
                "name": "totalCount",
                "storageKey": null
              },
              {
                "alias": null,
                "args": null,
                "concreteType": "PageInfo",
                "kind": "LinkedField",
                "name": "pageInfo",
                "plural": false,
                "selections": [
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "hasNextPage",
                    "storageKey": null
                  },
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "endCursor",
                    "storageKey": null
                  }
                ],
                "storageKey": null
              },
              {
                "alias": null,
                "args": null,
                "concreteType": "ProfileEdge",
                "kind": "LinkedField",
                "name": "edges",
                "plural": true,
                "selections": [
                  {
                    "alias": null,
                    "args": null,
                    "concreteType": "Profile",
                    "kind": "LinkedField",
                    "name": "node",
                    "plural": false,
                    "selections": [
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "id",
                        "storageKey": null
                      },
                      {
                        "args": null,
                        "kind": "FragmentSpread",
                        "name": "ProfileItemFragment"
                      },
                      {
                        "alias": null,
                        "args": null,
                        "kind": "ScalarField",
                        "name": "__typename",
                        "storageKey": null
                      }
                    ],
                    "storageKey": null
                  },
                  {
                    "alias": null,
                    "args": null,
                    "kind": "ScalarField",
                    "name": "cursor",
                    "storageKey": null
                  }
                ],
                "storageKey": null
              }
            ],
            "storageKey": null
          }
        ],
        "type": "Query",
        "abstractKey": null
      };
    }();
    node2.hash = "ccca7694a4c35464dcc25d0d1752d100";
    AllProfilesListFragment_graphql_default = node2;
  }
});

// tmp-babel/profiles/common/graphql/fragments/AllProfilesList.js
import { graphql, usePaginationFragment } from "react-relay";
var _AllProfilesListFragment;
var fragmentQuery = _AllProfilesListFragment !== void 0 ? _AllProfilesListFragment : (_AllProfilesListFragment = (init_AllProfilesListFragment_graphql(), __toCommonJS(AllProfilesListFragment_graphql_exports)), _AllProfilesListFragment.hash && _AllProfilesListFragment.hash !== "ccca7694a4c35464dcc25d0d1752d100" && console.error("The definition of 'AllProfilesListFragment' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _AllProfilesListFragment);
var useAllProfilesList = function useAllProfilesList2(targetRef) {
  return usePaginationFragment(fragmentQuery, targetRef);
};

export {
  fragmentQuery,
  useAllProfilesList
};
//# sourceMappingURL=chunk-74JK7EXM.mjs.map