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

// __generated__/GroupDetailsQuery.graphql.ts
var GroupDetailsQuery_graphql_exports = {};
__export(GroupDetailsQuery_graphql_exports, {
  default: () => GroupDetailsQuery_graphql_default
});
var node, GroupDetailsQuery_graphql_default;
var init_GroupDetailsQuery_graphql = __esm({
  "__generated__/GroupDetailsQuery.graphql.ts"() {
    "use strict";
    node = /* @__PURE__ */ function() {
      var v0 = [
        {
          "defaultValue": null,
          "kind": "LocalArgument",
          "name": "roomId"
        }
      ], v1 = [
        {
          "kind": "Variable",
          "name": "id",
          "variableName": "roomId"
        }
      ], v2 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "id",
        "storageKey": null
      }, v3 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "participantsCount",
        "storageKey": null
      }, v4 = [
        {
          "alias": null,
          "args": null,
          "kind": "ScalarField",
          "name": "url",
          "storageKey": null
        }
      ], v5 = [
        {
          "kind": "Literal",
          "name": "first",
          "value": 5
        }
      ];
      return {
        "fragment": {
          "argumentDefinitions": v0,
          "kind": "Fragment",
          "metadata": null,
          "name": "GroupDetailsQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": "ChatRoom",
              "kind": "LinkedField",
              "name": "chatRoom",
              "plural": false,
              "selections": [
                v2,
                v3,
                {
                  "args": null,
                  "kind": "FragmentSpread",
                  "name": "GroupTitleFragment"
                },
                {
                  "args": null,
                  "kind": "FragmentSpread",
                  "name": "MembersListFragment"
                }
              ],
              "storageKey": null
            }
          ],
          "type": "Query",
          "abstractKey": null
        },
        "kind": "Request",
        "operation": {
          "argumentDefinitions": v0,
          "kind": "Operation",
          "name": "GroupDetailsQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": "ChatRoom",
              "kind": "LinkedField",
              "name": "chatRoom",
              "plural": false,
              "selections": [
                v2,
                v3,
                {
                  "alias": null,
                  "args": [
                    {
                      "kind": "Literal",
                      "name": "height",
                      "value": 144
                    },
                    {
                      "kind": "Literal",
                      "name": "width",
                      "value": 144
                    }
                  ],
                  "concreteType": "File",
                  "kind": "LinkedField",
                  "name": "image",
                  "plural": false,
                  "selections": v4,
                  "storageKey": "image(height:144,width:144)"
                },
                {
                  "alias": null,
                  "args": null,
                  "kind": "ScalarField",
                  "name": "title",
                  "storageKey": null
                },
                {
                  "alias": null,
                  "args": v5,
                  "concreteType": "ChatRoomParticipantConnection",
                  "kind": "LinkedField",
                  "name": "participants",
                  "plural": false,
                  "selections": [
                    {
                      "alias": null,
                      "args": null,
                      "concreteType": "ChatRoomParticipantEdge",
                      "kind": "LinkedField",
                      "name": "edges",
                      "plural": true,
                      "selections": [
                        {
                          "alias": null,
                          "args": null,
                          "concreteType": "ChatRoomParticipant",
                          "kind": "LinkedField",
                          "name": "node",
                          "plural": false,
                          "selections": [
                            v2,
                            {
                              "alias": null,
                              "args": null,
                              "concreteType": "Profile",
                              "kind": "LinkedField",
                              "name": "profile",
                              "plural": false,
                              "selections": [
                                v2,
                                {
                                  "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": v4,
                                  "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
                                    },
                                    v2
                                  ],
                                  "storageKey": null
                                }
                              ],
                              "storageKey": null
                            },
                            {
                              "alias": null,
                              "args": null,
                              "kind": "ScalarField",
                              "name": "role",
                              "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
                    },
                    {
                      "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
                    }
                  ],
                  "storageKey": "participants(first:5)"
                },
                {
                  "alias": null,
                  "args": v5,
                  "filters": null,
                  "handle": "connection",
                  "key": "ChatRoom_participants",
                  "kind": "LinkedHandle",
                  "name": "participants"
                }
              ],
              "storageKey": null
            }
          ]
        },
        "params": {
          "cacheID": "6989f29aa2fb2a66b1bbaa0655b8371b",
          "id": null,
          "metadata": {},
          "name": "GroupDetailsQuery",
          "operationKind": "query",
          "text": "query GroupDetailsQuery(\n  $roomId: ID!\n) {\n  chatRoom(id: $roomId) {\n    id\n    participantsCount\n    ...GroupTitleFragment\n    ...MembersListFragment\n  }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n  id\n  image(width: 144, height: 144) {\n    url\n  }\n  title\n}\n\nfragment MembersListFragment on ChatRoom {\n  id\n  participants(first: 5) {\n    edges {\n      node {\n        id\n        profile {\n          id\n          ...ProfileItemFragment\n        }\n        role\n        __typename\n      }\n      cursor\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\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 = "9ee8b8ab9e1dd4679a2b518e8193f1c2";
    GroupDetailsQuery_graphql_default = node;
  }
});

// tmp-babel/messages/common/graphql/queries/GroupDetailsQuery.js
import { graphql } from "react-relay";
var _GroupDetailsQuery;
var GroupDetailsQuery = _GroupDetailsQuery !== void 0 ? _GroupDetailsQuery : (_GroupDetailsQuery = (init_GroupDetailsQuery_graphql(), __toCommonJS(GroupDetailsQuery_graphql_exports)), _GroupDetailsQuery.hash && _GroupDetailsQuery.hash !== "9ee8b8ab9e1dd4679a2b518e8193f1c2" && console.error("The definition of 'GroupDetailsQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _GroupDetailsQuery);

export {
  GroupDetailsQuery
};
//# sourceMappingURL=chunk-MUWB4VY7.mjs.map