Skip to content

Instantly share code, notes, and snippets.

@macobo
Last active June 25, 2020 19:22
Show Gist options
  • Select an option

  • Save macobo/036d44d9143acd15937d87d7d6dcd7ab to your computer and use it in GitHub Desktop.

Select an option

Save macobo/036d44d9143acd15937d87d7d6dcd7ab to your computer and use it in GitHub Desktop.
SELECT "posthog_event"."id",
"posthog_event"."team_id",
"posthog_event"."event",
"posthog_event"."distinct_id",
"posthog_event"."properties",
"posthog_event"."timestamp",
"posthog_event"."elements_hash",
"posthog_event"."elements",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."text" = 'Sign in' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['btn','btn-lg','btn-primary','btn-block']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_38",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."text" = 'Create account' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['btn','btn-lg','btn-primary','btn-block']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_39",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://github.com/PostHog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-image']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-image']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-image']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-a1d32e2','elementor-widget','elementor-widget-image']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-a1d32e2','elementor-widget','elementor-widget-image']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_58",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND (EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-switch']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 30 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-switch']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 30 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id" AND (properties ->> '$current_url' LIKE '%/setup%'))) OR EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."text" = 'Tick this box toof sending usage data to PostHog.')) AND V0."event" = '$autocapture' AND V0."id" = X0."id" AND (properties ->> '$current_url' LIKE '%/setup%')))))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_59",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_93",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND (EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")) OR EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id"))))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_96",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND (EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://github.com/PostHog/posthog/wiki' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")) OR EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://github.com/PostHog/posthog/wiki' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-de267ad','elementor-align-left','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-de267ad','elementor-align-left','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id"))))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_97",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://github.com/PostHog/posthog/wiki' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-custom','menu-item-object-custom','menu-item-926']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_145",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://posthog.com/blog/' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_167",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://posthog.com/blog/' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_178",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://posthog.com/blog/' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-item']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['menu-item','menu-item-type-post_type','menu-item-object-page','menu-item-1101']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'li') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_id" = 'menu-1-657da57' AND U0."group_id" = V0."id" AND U0."tag_name" = 'ul') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_184",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-f2a150b','elementor-align-right','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_215",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_217",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_221",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-8e9c0b8','elementor-align-center','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_225",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'label') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 40 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'label') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 40 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_265",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."text" = 'Test & Save' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['btn','btn-success']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'form') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['btn','btn-success']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'form') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 21 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'form') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."nth_child" = 21 AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_298",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."href" = 'https://posthog.com/sales/' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-link','elementor-button','elementor-size-md']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-button-wrapper']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-adca104','elementor-align-left','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-widget-container']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['elementor-element','elementor-element-adca104','elementor-align-left','elementor-widget','elementor-widget-button']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_308",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_470",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 INNER JOIN "posthog_element" V2 ON (V0."id" = V2."group_id") WHERE (V0."team_id" = 2 AND V2."text" = 'Frontend element' AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['btn','btn-light']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."nth_child" = 1 AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_518",
(
SELECT W0."id"
FROM "posthog_event" W0
WHERE (W0."id" = 24513953 AND W0."team_id" = 2 AND EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."text" = '+ New Action')) AND V0."event" = '$autocapture' AND V0."id" = W0."id")))
ORDER BY W0."timestamp" DESC
LIMIT 1
) AS "action_520",
(
SELECT W0."id"
FROM "posthog_event" W0
WHERE (W0."id" = 24513953 AND W0."team_id" = 2 AND EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."text" = 'Save action')) AND V0."event" = '$autocapture' AND V0."id" = W0."id")))
ORDER BY W0."timestamp" DESC
LIMIT 1
) AS "action_526",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_532",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_534",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_539",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'img') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'img') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'section') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 7) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'section') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'a') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 1) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 1) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 2) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 1) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 2) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 3) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 2) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 3) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 4) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 3) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 4) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 5) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 4) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 5) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 6) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 5) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 6) IS NOT NULL AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 7) = ((SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 6) + 1) AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."group_id" = V0."id" AND U0."tag_name" = 'div') ORDER BY U0."order" ASC LIMIT 1 OFFSET 7) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_556",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_596",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id" AND (properties ->> '$current_url' LIKE '%https://posthog.com/%'))))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_682",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-secondary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_690",
(
SELECT W0."id"
FROM "posthog_event" W0
WHERE (W0."id" = 24513953 AND W0."team_id" = 2 AND EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."text" = 'Start free trial')) AND V0."event" = '$autocapture' AND V0."id" = W0."id" AND (properties ->> '$current_url' LIKE '%app.posthog.com/signup%'))))
ORDER BY W0."timestamp" DESC
LIMIT 1
) AS "action_697",
(
SELECT W0."id"
FROM "posthog_event" W0
WHERE (W0."id" = 24513953 AND W0."team_id" = 2 AND EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."href" = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog')) AND V0."event" = '$autocapture' AND V0."id" = W0."id" AND (properties ->> '$current_url' LIKE '%app.posthog.com/signup%'))))
ORDER BY W0."timestamp" DESC
LIMIT 1
) AS "action_698",
(
SELECT W0."id"
FROM "posthog_event" W0
WHERE (W0."id" = 24513953 AND W0."team_id" = 2 AND EXISTS(SELECT V0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = V0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" V0 WHERE (V0."elements_hash" IN (SELECT U0."hash" FROM "posthog_elementgroup" U0 INNER JOIN "posthog_element" U2 ON (U0."id" = U2."group_id") WHERE (U0."team_id" = 2 AND U2."text" = 'Today')) AND V0."event" = '$autocapture' AND V0."id" = W0."id" AND (properties ->> '$current_url' LIKE '%https://app.posthog.com/trends%'))))
ORDER BY W0."timestamp" DESC
LIMIT 1
) AS "action_717",
(
SELECT X0."id"
FROM "posthog_event" X0
WHERE (X0."id" = 24513953 AND X0."team_id" = 2 AND EXISTS(SELECT W0."id", (SELECT U0."person_id" FROM "posthog_persondistinctid" U0 WHERE (U0."distinct_id" = W0."distinct_id" AND U0."team_id" = 2) LIMIT 1) AS "person_id" FROM "posthog_event" W0 WHERE (W0."elements_hash" IN (SELECT V0."hash" FROM "posthog_elementgroup" V0 WHERE (V0."team_id" = 2 AND (SELECT U0."order" FROM "posthog_element" U0 WHERE (U0."attr_class" @> ARRAY['ant-btn','ant-btn-primary','ant-btn-lg']::varchar(200)[] AND U0."group_id" = V0."id" AND U0."tag_name" = 'button') ORDER BY U0."order" ASC LIMIT 1) IS NOT NULL)) AND W0."event" = '$autocapture' AND W0."id" = X0."id")))
ORDER BY X0."timestamp" DESC
LIMIT 1
) AS "action_726"
FROM "posthog_event"
WHERE "posthog_event"."id" = 24513953
Execution time: 39.920095s [Database: default]
+------------------------------------------------------------------------------------------------------------------------------------------------------
| QUERY PLAN
|------------------------------------------------------------------------------------------------------------------------------------------------------
| Index Scan using posthog_event_pkey on posthog_event (cost=33309916.61..33309920.62 rows=1 width=1466) (actual time=37408.019..37408.020 rows=1 loop
| Index Cond: (id = 24513953)
| InitPlan 2 (returns $3)
| -> Limit (cost=298208.19..298208.19 rows=1 width=12) (actual time=0.222..0.222 rows=0 loops=1)
| -> Sort (cost=298208.19..298208.19 rows=1 width=12) (actual time=0.071..0.071 rows=0 loops=1)
| Sort Key: x0."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.43..298208.18 rows=1 width=12) (actual time=0.059..0.059 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0 (cost=0.09..4.09 rows=1 width=12) (actual time=0.031..0.031 rows=1
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..298204.09 rows=1 width=4) (actual time=0.024..0.024 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0 (cost=0.09..4.09 rows=1 width=422) (actual time=0.011..0.012
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1334.25..298199.99 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0 (cost=0.11..152684.72 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0.elements_hash)::text))
| Filter: ((SubPlan 1) IS NOT NULL)
| SubPlan 1
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0."order"
| -> Bitmap Heap Scan on posthog_element u0 (cost=1410.30..19083.32 rows=1 width=4) (never exec
| Recheck Cond: (group_id = v0.id)
| Filter: ((attr_class @> '{btn,btn-lg,btn-primary,btn-block}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0.id)
| -> Bitmap Heap Scan on posthog_element v2 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0.id)
| Filter: ((text)::text = 'Sign in'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0.id)
| InitPlan 4 (returns $7)
| -> Limit (cost=298208.19..298208.19 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Sort (cost=298208.19..298208.19 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_1."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.43..298208.18 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_1 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..298204.09 rows=1 width=4) (actual time=0.012..0.012 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_1 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.0
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1334.25..298199.99 rows=1 width=516) (actual time=0.004..0.004 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_1 (cost=0.11..152684.72 rows=8 width=5
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_1.elements_hash)::text))
| Filter: ((SubPlan 3) IS NOT NULL)
| SubPlan 3
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_1."order"
| -> Bitmap Heap Scan on posthog_element u0_1 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_1.id)
| Filter: ((attr_class @> '{btn,btn-lg,btn-primary,btn-block}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_1.id)
| -> Bitmap Heap Scan on posthog_element v2_1 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_1.id)
| Filter: ((text)::text = 'Create account'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_1.id)
| InitPlan 15 (returns $20)
| -> Limit (cost=1545695.98..1545695.98 rows=1 width=12) (actual time=0.052..0.052 rows=0 loops=1)
| -> Sort (cost=1545695.98..1545695.98 rows=1 width=12) (actual time=0.051..0.051 rows=0 loops=1)
| Sort Key: x0_2."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545695.98 rows=1 width=12) (actual time=0.049..0.049 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_2 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545691.88 rows=1 width=4) (actual time=0.041..0.041 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_2 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.0
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545687.79 rows=1 width=516) (actual time=0.034..0.034 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_2 (cost=0.11..1526609.06 rows=1 width=
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_2.elements_hash)::text))
| Filter: (((SubPlan 5) IS NOT NULL) AND ((SubPlan 8) IS NOT NULL) AND ((SubPlan 11) IS NOT NULL) AND ((SubPlan
| SubPlan 5
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_2."order"
| -> Bitmap Heap Scan on posthog_element u0_2 (cost=1410.30..19078.59 rows=47 width=4) (never e
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((tag_name)::text = 'a'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 8
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_5."order"
| -> Bitmap Heap Scan on posthog_element u0_5 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-image}'::character varying(200)[]) AND ((tag_name)::t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 11
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_8."order"
| -> Bitmap Heap Scan on posthog_element u0_8 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 14
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_11."order"
| -> Bitmap Heap Scan on posthog_element u0_11 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-a1d32e2,elementor-widget,el
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 6
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_3."order"
| -> Bitmap Heap Scan on posthog_element u0_3 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-image}'::character varying(200)[]) AND ((tag_name)::t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 7
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_4."order"
| -> Bitmap Heap Scan on posthog_element u0_4 (cost=1410.30..19078.59 rows=47 width=4) (never e
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((tag_name)::text = 'a'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 9
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_6."order"
| -> Bitmap Heap Scan on posthog_element u0_6 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 10
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_7."order"
| -> Bitmap Heap Scan on posthog_element u0_7 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-image}'::character varying(200)[]) AND ((tag_name)::t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 12
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_9."order"
| -> Bitmap Heap Scan on posthog_element u0_9 (cost=1410.30..19083.32 rows=1 width=4) (never ex
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-a1d32e2,elementor-widget,el
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| SubPlan 13
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_10."order"
| -> Bitmap Heap Scan on posthog_element u0_10 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_2.id)
| -> Bitmap Heap Scan on posthog_element v2_2 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_2.id)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_2.id)
| InitPlan 28 (returns $37)
| -> Limit (cost=885554.94..885554.94 rows=1 width=12) (actual time=0.048..0.048 rows=0 loops=1)
| -> Sort (cost=885554.94..885554.94 rows=1 width=12) (actual time=0.045..0.046 rows=0 loops=1)
| Sort Key: x0_3."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Index Scan using posthog_event_pkey on posthog_event x0_3 (cost=0.09..885554.94 rows=1 width=12) (actual time=0.039..0.039 rows=
| Index Cond: (id = 24513953)
| Filter: ((team_id = 2) AND ((alternatives: SubPlan 20 or hashed SubPlan 25) OR (alternatives: SubPlan 26 or hashed SubPlan 27))
| Rows Removed by Filter: 1
| SubPlan 20
| -> Nested Loop (cost=0.20..746396.20 rows=1 width=0) (actual time=0.015..0.015 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_3 (cost=0.09..4.09 rows=1 width=418) (actual time=0.013..0
| Index Cond: (id = x0_3.id)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%/setup%'::text))
| Rows Removed by Filter: 1
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_3 (cost=0.11..610684.47 rows=1 width=516)
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_3.elements_hash)::text))
| Filter: (((SubPlan 16) IS NOT NULL) AND ((SubPlan 19) IS NOT NULL) AND ((SubPlan 17) = ((SubPlan 18) + 1)))
| SubPlan 16
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_12."order"
| -> Bitmap Heap Scan on posthog_element u0_12 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_3.id)
| Filter: ((attr_class @> '{ant-switch}'::character varying(200)[]) AND ((tag_name)::text = 'bu
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_3.id)
| SubPlan 19
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_15."order"
| -> Bitmap Heap Scan on posthog_element u0_15 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_3.id)
| Filter: ((nth_child = 30) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_3.id)
| SubPlan 17
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_13."order"
| -> Bitmap Heap Scan on posthog_element u0_13 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_3.id)
| Filter: ((nth_child = 30) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_3.id)
| SubPlan 18
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_14."order"
| -> Bitmap Heap Scan on posthog_element u0_14 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_3.id)
| Filter: ((attr_class @> '{ant-switch}'::character varying(200)[]) AND ((tag_name)::text = 'bu
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_3.id)
| SubPlan 25
| -> Nested Loop (cost=304816.52..14618165.25 rows=1 width=4) (never executed)
| -> Bitmap Heap Scan on posthog_event w0_4 (cost=304816.41..436714.84 rows=23 width=422) (never executed)
| Recheck Cond: ((event)::text = '$autocapture'::text)
| Filter: ((properties ->> '$current_url'::text) ~~ '%/setup%'::text)
| -> Bitmap Index Scan on posthog_eve_timesta_1f6a8c_idx (cost=0.00..304816.41 rows=72288 width=0) (never execute
| Index Cond: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_4 (cost=0.11..610684.47 rows=1 width=516)
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_4.elements_hash)::text))
| Filter: (((SubPlan 21) IS NOT NULL) AND ((SubPlan 24) IS NOT NULL) AND ((SubPlan 22) = ((SubPlan 23) + 1)))
| SubPlan 21
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_16."order"
| -> Bitmap Heap Scan on posthog_element u0_16 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_4.id)
| Filter: ((attr_class @> '{ant-switch}'::character varying(200)[]) AND ((tag_name)::text = 'bu
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_4.id)
| SubPlan 24
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_19."order"
| -> Bitmap Heap Scan on posthog_element u0_19 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_4.id)
| Filter: ((nth_child = 30) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_4.id)
| SubPlan 22
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_17."order"
| -> Bitmap Heap Scan on posthog_element u0_17 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_4.id)
| Filter: ((nth_child = 30) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_4.id)
| SubPlan 23
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_18."order"
| -> Bitmap Heap Scan on posthog_element u0_18 (cost=1410.30..19083.32 rows=1 width=4) (never execu
| Recheck Cond: (group_id = v0_4.id)
| Filter: ((attr_class @> '{ant-switch}'::character varying(200)[]) AND ((tag_name)::text = 'bu
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 wid
| Index Cond: (group_id = v0_4.id)
| SubPlan 26
| -> Nested Loop Semi Join (cost=1274.96..139154.65 rows=1 width=0) (actual time=0.008..0.008 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_5 (cost=0.09..4.09 rows=1 width=418) (actual time=0.006..0
| Index Cond: (id = x0_3.id)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%/setup%'::text))
| Rows Removed by Filter: 1
| -> Nested Loop (cost=1274.88..139150.55 rows=1 width=516) (never executed)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_20 (cost=0.11..18.14 rows=8 width=52
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_5.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2 (cost=1274.77..17391.41 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_20.id)
| Filter: ((text)::text = 'Tick this box toof sending usage data to PostHog.'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1274.77 rows=9458 width=0) (never e
| Index Cond: (group_id = u0_20.id)
| SubPlan 27
| -> Nested Loop Semi Join (cost=307838.02..1076887.23 rows=5 width=4) (never executed)
| Join Filter: ((v0_6.elements_hash)::text = (u0_21.hash)::text)
| -> Bitmap Heap Scan on posthog_event v0_6 (cost=304816.41..436714.84 rows=23 width=422) (never executed)
| Recheck Cond: ((event)::text = '$autocapture'::text)
| Filter: ((properties ->> '$current_url'::text) ~~ '%/setup%'::text)
| -> Bitmap Index Scan on posthog_eve_timesta_1f6a8c_idx (cost=0.00..304816.41 rows=72288 width=0) (never execute
| Index Cond: ((event)::text = '$autocapture'::text)
| -> Materialize (cost=3021.61..640168.09 rows=47 width=516) (never executed)
| -> Hash Join (cost=3021.61..640168.04 rows=47 width=516) (never executed)
| Hash Cond: (u2_1.group_id = u0_21.id)
| -> Seq Scan on posthog_element u2_1 (cost=0.00..637141.47 rows=9458 width=4) (never executed)
| Filter: ((text)::text = 'Tick this box toof sending usage data to PostHog.'::text)
| -> Hash (cost=3015.78..3015.78 rows=1666 width=520) (never executed)
| -> Bitmap Heap Scan on posthog_elementgroup u0_21 (cost=208.69..3015.78 rows=1666 width=520) (never
| Recheck Cond: (team_id = 2)
| -> Bitmap Index Scan on "unique hash for each team" (cost=0.00..208.61 rows=1666 width=0) (ne
| Index Cond: (team_id = 2)
| InitPlan 39 (returns $50)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.029..0.029 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| Sort Key: x0_4."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_4 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.017..0.017 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_5 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.0
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_7 (cost=0.11..1526683.97 rows=1 width=
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_5.elements_hash)::text))
| Filter: (((SubPlan 29) IS NOT NULL) AND ((SubPlan 32) IS NOT NULL) AND ((SubPlan 35) IS NOT NULL) AND ((SubPl
| SubPlan 29
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_22."order"
| -> Bitmap Heap Scan on posthog_element u0_22 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 32
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_25."order"
| -> Bitmap Heap Scan on posthog_element u0_25 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 35
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_28."order"
| -> Bitmap Heap Scan on posthog_element u0_28 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 38
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_31."order"
| -> Bitmap Heap Scan on posthog_element u0_31 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 30
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_23."order"
| -> Bitmap Heap Scan on posthog_element u0_23 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 31
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_24."order"
| -> Bitmap Heap Scan on posthog_element u0_24 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 33
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_26."order"
| -> Bitmap Heap Scan on posthog_element u0_26 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 34
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_27."order"
| -> Bitmap Heap Scan on posthog_element u0_27 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 36
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_29."order"
| -> Bitmap Heap Scan on posthog_element u0_29 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| SubPlan 37
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_30."order"
| -> Bitmap Heap Scan on posthog_element u0_30 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_7.id)
| -> Bitmap Heap Scan on posthog_element v2_3 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_7.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_7.id)
| InitPlan 62 (returns $75)
| -> Limit (cost=1545770.89..1545770.90 rows=1 width=12) (actual time=0.039..0.039 rows=0 loops=1)
| -> Sort (cost=1545770.89..1545770.90 rows=1 width=12) (actual time=0.037..0.037 rows=0 loops=1)
| Sort Key: x0_5."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Index Scan using posthog_event_pkey on posthog_event x0_5 (cost=0.09..1545770.89 rows=1 width=12) (actual time=0.035..0.035 rows
| Index Cond: (id = 24513953)
| Filter: ((team_id = 2) AND (alternatives: SubPlan 50 or hashed SubPlan 61))
| Rows Removed by Filter: 1
| SubPlan 50
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=0) (actual time=0.023..0.023 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_6 (cost=0.09..4.09 rows=1 width=418) (actual time=0.007..0
| Index Cond: (id = x0_5.id)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.013..0.013 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_8 (cost=0.11..1526683.97 rows=1 widt
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_6.elements_hash)::text))
| Filter: (((SubPlan 40) IS NOT NULL) AND ((SubPlan 43) IS NOT NULL) AND ((SubPlan 46) IS NOT NULL) AND ((Sub
| SubPlan 40
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_32."order"
| -> Bitmap Heap Scan on posthog_element u0_32 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::c
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 43
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_35."order"
| -> Bitmap Heap Scan on posthog_element u0_35 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 46
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_38."order"
| -> Bitmap Heap Scan on posthog_element u0_38 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 49
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_41."order"
| -> Bitmap Heap Scan on posthog_element u0_41 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-align-r
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 41
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_33."order"
| -> Bitmap Heap Scan on posthog_element u0_33 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 42
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_34."order"
| -> Bitmap Heap Scan on posthog_element u0_34 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::c
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 44
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_36."order"
| -> Bitmap Heap Scan on posthog_element u0_36 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 45
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_37."order"
| -> Bitmap Heap Scan on posthog_element u0_37 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 47
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_39."order"
| -> Bitmap Heap Scan on posthog_element u0_39 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-align-r
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| SubPlan 48
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_40."order"
| -> Bitmap Heap Scan on posthog_element u0_40 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_8.id)
| -> Bitmap Heap Scan on posthog_element v2_4 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_8.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never e
| Index Cond: (group_id = v0_8.id)
| SubPlan 61
| -> Nested Loop Semi Join (cost=304820.13..319005703.76 rows=361 width=4) (never executed)
| Join Filter: ((w0_7.elements_hash)::text = (v0_9.hash)::text)
| -> Bitmap Heap Scan on posthog_event w0_7 (cost=304820.02..436646.17 rows=72288 width=422) (never executed)
| Recheck Cond: ((event)::text = '$autocapture'::text)
| -> Bitmap Index Scan on posthog_eve_timesta_1f6a8c_idx (cost=0.00..304816.41 rows=72288 width=0) (never execute
| Index Cond: ((event)::text = '$autocapture'::text)
| -> Materialize (cost=0.11..318568768.44 rows=1 width=516) (never executed)
| -> Nested Loop (cost=0.11..318568768.44 rows=1 width=516) (never executed)
| Join Filter: (v0_9.id = v2_5.group_id)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_9 (cost=0.11..317931593.86 row
| Index Cond: (team_id = 2)
| Filter: (((SubPlan 51) IS NOT NULL) AND ((SubPlan 54) IS NOT NULL) AND ((SubPlan 57) IS NOT NULL) AND
| SubPlan 51
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_42."order"
| -> Bitmap Heap Scan on posthog_element u0_42 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-m
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 54
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_45."order"
| -> Bitmap Heap Scan on posthog_element u0_45 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 57
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_48."order"
| -> Bitmap Heap Scan on posthog_element u0_48 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 60
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_51."order"
| -> Bitmap Heap Scan on posthog_element u0_51 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-a
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 52
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_43."order"
| -> Bitmap Heap Scan on posthog_element u0_43 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 53
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_44."order"
| -> Bitmap Heap Scan on posthog_element u0_44 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-m
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 55
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_46."order"
| -> Bitmap Heap Scan on posthog_element u0_46 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 56
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_47."order"
| -> Bitmap Heap Scan on posthog_element u0_47 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 58
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_49."order"
| -> Bitmap Heap Scan on posthog_element u0_49 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-a
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| SubPlan 59
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_50."order"
| -> Bitmap Heap Scan on posthog_element u0_50 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_9.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_9.id)
| -> Seq Scan on posthog_element v2_5 (cost=0.00..637141.47 rows=9458 width=4) (never executed)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text
| InitPlan 101 (returns $118)
| -> Limit (cost=2633537.94..2633537.94 rows=1 width=12) (actual time=0.055..0.055 rows=0 loops=1)
| -> Sort (cost=2633537.94..2633537.94 rows=1 width=12) (actual time=0.053..0.053 rows=0 loops=1)
| Sort Key: x0_6."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Index Scan using posthog_event_pkey on posthog_event x0_6 (cost=0.09..2633537.94 rows=1 width=12) (actual time=0.051..0.051 rows
| Index Cond: (id = 24513953)
| Filter: ((team_id = 2) AND ((alternatives: SubPlan 70 or hashed SubPlan 78) OR (alternatives: SubPlan 89 or hashed SubPlan 100)
| Rows Removed by Filter: 1
| SubPlan 70
| -> Nested Loop Semi Join (cost=1410.50..1087767.05 rows=1 width=0) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_8 (cost=0.09..4.09 rows=1 width=418) (actual time=0.006..0
| Index Cond: (id = x0_6.id)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087762.95 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_10 (cost=0.11..1068684.22 rows=1 wid
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_8.elements_hash)::text))
| Filter: (((SubPlan 63) IS NOT NULL) AND ((SubPlan 66) IS NOT NULL) AND ((SubPlan 69) IS NOT NULL) AND ((Sub
| SubPlan 63
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_52."order"
| -> Bitmap Heap Scan on posthog_element u0_52 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 66
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_55."order"
| -> Bitmap Heap Scan on posthog_element u0_55 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 69
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_58."order"
| -> Bitmap Heap Scan on posthog_element u0_58 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 64
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_53."order"
| -> Bitmap Heap Scan on posthog_element u0_53 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 65
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_54."order"
| -> Bitmap Heap Scan on posthog_element u0_54 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 67
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_56."order"
| -> Bitmap Heap Scan on posthog_element u0_56 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| SubPlan 68
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_57."order"
| -> Bitmap Heap Scan on posthog_element u0_57 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_10.id)
| -> Bitmap Heap Scan on posthog_element v2_6 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_10.id)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog/wiki'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never e
| Index Cond: (group_id = v0_10.id)
| SubPlan 78
| -> Nested Loop Semi Join (cost=304820.13..223627255.51 rows=361 width=4) (never executed)
| Join Filter: ((w0_9.elements_hash)::text = (v0_11.hash)::text)
| -> Bitmap Heap Scan on posthog_event w0_9 (cost=304820.02..436646.17 rows=72288 width=422) (never executed)
| Recheck Cond: ((event)::text = '$autocapture'::text)
| -> Bitmap Index Scan on posthog_eve_timesta_1f6a8c_idx (cost=0.00..304816.41 rows=72288 width=0) (never execute
| Index Cond: ((event)::text = '$autocapture'::text)
| -> Materialize (cost=0.11..223190320.19 rows=1 width=516) (never executed)
| -> Nested Loop (cost=0.11..223190320.19 rows=1 width=516) (never executed)
| Join Filter: (v0_11.id = v2_7.group_id)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_11 (cost=0.11..222553145.62 ro
| Index Cond: (team_id = 2)
| Filter: (((SubPlan 71) IS NOT NULL) AND ((SubPlan 74) IS NOT NULL) AND ((SubPlan 77) IS NOT NULL) AND
| SubPlan 71
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_59."order"
| -> Bitmap Heap Scan on posthog_element u0_59 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_n
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 74
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_62."order"
| -> Bitmap Heap Scan on posthog_element u0_62 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 77
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_65."order"
| -> Bitmap Heap Scan on posthog_element u0_65 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul':
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 72
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_60."order"
| -> Bitmap Heap Scan on posthog_element u0_60 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 73
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_61."order"
| -> Bitmap Heap Scan on posthog_element u0_61 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_n
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 75
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_63."order"
| -> Bitmap Heap Scan on posthog_element u0_63 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul':
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| SubPlan 76
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_64."order"
| -> Bitmap Heap Scan on posthog_element u0_64 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_11.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_11.id)
| -> Seq Scan on posthog_element v2_7 (cost=0.00..637141.47 rows=9458 width=4) (never executed)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog/wiki'::text)
| SubPlan 89
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=0) (actual time=0.019..0.019 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_10 (cost=0.09..4.09 rows=1 width=418) (actual time=0.006..
| Index Cond: (id = x0_6.id)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_12 (cost=0.11..1526683.97 rows=1 wid
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_10.elements_hash)::text))
| Filter: (((SubPlan 79) IS NOT NULL) AND ((SubPlan 82) IS NOT NULL) AND ((SubPlan 85) IS NOT NULL) AND ((Sub
| SubPlan 79
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_66."order"
| -> Bitmap Heap Scan on posthog_element u0_66 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::c
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 82
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_69."order"
| -> Bitmap Heap Scan on posthog_element u0_69 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 85
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_72."order"
| -> Bitmap Heap Scan on posthog_element u0_72 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 88
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_75."order"
| -> Bitmap Heap Scan on posthog_element u0_75 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-de267ad,elementor-align-l
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 80
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_67."order"
| -> Bitmap Heap Scan on posthog_element u0_67 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 81
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_68."order"
| -> Bitmap Heap Scan on posthog_element u0_68 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::c
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 83
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_70."order"
| -> Bitmap Heap Scan on posthog_element u0_70 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 84
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_71."order"
| -> Bitmap Heap Scan on posthog_element u0_71 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 86
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_73."order"
| -> Bitmap Heap Scan on posthog_element u0_73 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-de267ad,elementor-align-l
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| SubPlan 87
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_74."order"
| -> Bitmap Heap Scan on posthog_element u0_74 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=94
| Index Cond: (group_id = v0_12.id)
| -> Bitmap Heap Scan on posthog_element v2_8 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_12.id)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog/wiki'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never e
| Index Cond: (group_id = v0_12.id)
| SubPlan 100
| -> Nested Loop Semi Join (cost=304820.13..319005703.76 rows=361 width=4) (never executed)
| Join Filter: ((w0_11.elements_hash)::text = (v0_13.hash)::text)
| -> Bitmap Heap Scan on posthog_event w0_11 (cost=304820.02..436646.17 rows=72288 width=422) (never executed)
| Recheck Cond: ((event)::text = '$autocapture'::text)
| -> Bitmap Index Scan on posthog_eve_timesta_1f6a8c_idx (cost=0.00..304816.41 rows=72288 width=0) (never execute
| Index Cond: ((event)::text = '$autocapture'::text)
| -> Materialize (cost=0.11..318568768.44 rows=1 width=516) (never executed)
| -> Nested Loop (cost=0.11..318568768.44 rows=1 width=516) (never executed)
| Join Filter: (v0_13.id = v2_9.group_id)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_13 (cost=0.11..317931593.86 ro
| Index Cond: (team_id = 2)
| Filter: (((SubPlan 90) IS NOT NULL) AND ((SubPlan 93) IS NOT NULL) AND ((SubPlan 96) IS NOT NULL) AND
| SubPlan 90
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_76."order"
| -> Bitmap Heap Scan on posthog_element u0_76 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-m
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 93
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_79."order"
| -> Bitmap Heap Scan on posthog_element u0_79 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 96
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_82."order"
| -> Bitmap Heap Scan on posthog_element u0_82 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 99
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_85."order"
| -> Bitmap Heap Scan on posthog_element u0_85 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-de267ad,elementor-a
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 91
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_77."order"
| -> Bitmap Heap Scan on posthog_element u0_77 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 92
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_78."order"
| -> Bitmap Heap Scan on posthog_element u0_78 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-m
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 94
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_80."order"
| -> Bitmap Heap Scan on posthog_element u0_80 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 95
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_81."order"
| -> Bitmap Heap Scan on posthog_element u0_81 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) A
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 97
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_83."order"
| -> Bitmap Heap Scan on posthog_element u0_83 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-de267ad,elementor-a
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| SubPlan 98
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_84."order"
| -> Bitmap Heap Scan on posthog_element u0_84 (cost=1410.30..19083.32 rows=1 width=4)
| Recheck Cond: (group_id = v0_13.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[])
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 r
| Index Cond: (group_id = v0_13.id)
| -> Seq Scan on posthog_element v2_9 (cost=0.00..637141.47 rows=9458 width=4) (never executed)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog/wiki'::text)
| InitPlan 109 (returns $128)
| -> Limit (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.027..0.027 rows=0 loops=1)
| -> Sort (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| Sort Key: x0_7."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1087771.14 rows=1 width=12) (actual time=0.023..0.023 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_7 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1087767.05 rows=1 width=4) (actual time=0.015..0.015 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_12 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087762.95 rows=1 width=516) (actual time=0.008..0.008 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_14 (cost=0.11..1068684.22 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_12.elements_hash)::text))
| Filter: (((SubPlan 102) IS NOT NULL) AND ((SubPlan 105) IS NOT NULL) AND ((SubPlan 108) IS NOT NULL) AND ((Su
| SubPlan 102
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_86."order"
| -> Bitmap Heap Scan on posthog_element u0_86 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 105
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_89."order"
| -> Bitmap Heap Scan on posthog_element u0_89 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-it
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 108
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_92."order"
| -> Bitmap Heap Scan on posthog_element u0_92 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 103
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_87."order"
| -> Bitmap Heap Scan on posthog_element u0_87 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-it
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 104
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_88."order"
| -> Bitmap Heap Scan on posthog_element u0_88 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 106
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_90."order"
| -> Bitmap Heap Scan on posthog_element u0_90 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| SubPlan 107
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_91."order"
| -> Bitmap Heap Scan on posthog_element u0_91 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-custom,menu-item-object-custom,menu-it
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_14.id)
| -> Bitmap Heap Scan on posthog_element v2_10 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_14.id)
| Filter: ((href)::text = 'https://github.com/PostHog/posthog/wiki'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_14.id)
| InitPlan 117 (returns $138)
| -> Limit (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.030..0.030 rows=0 loops=1)
| -> Sort (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.029..0.029 rows=0 loops=1)
| Sort Key: x0_8."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1087771.14 rows=1 width=12) (actual time=0.026..0.026 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_8 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1087767.05 rows=1 width=4) (actual time=0.016..0.016 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_13 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087762.95 rows=1 width=516) (actual time=0.009..0.009 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_15 (cost=0.11..1068684.22 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_13.elements_hash)::text))
| Filter: (((SubPlan 110) IS NOT NULL) AND ((SubPlan 113) IS NOT NULL) AND ((SubPlan 116) IS NOT NULL) AND ((Su
| SubPlan 110
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_93."order"
| -> Bitmap Heap Scan on posthog_element u0_93 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 113
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_96."order"
| -> Bitmap Heap Scan on posthog_element u0_96 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 116
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_99."order"
| -> Bitmap Heap Scan on posthog_element u0_99 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 111
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_94."order"
| -> Bitmap Heap Scan on posthog_element u0_94 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 112
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_95."order"
| -> Bitmap Heap Scan on posthog_element u0_95 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 114
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_97."order"
| -> Bitmap Heap Scan on posthog_element u0_97 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| SubPlan 115
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_98."order"
| -> Bitmap Heap Scan on posthog_element u0_98 (cost=1410.30..19083.32 rows=1 width=4) (never e
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_15.id)
| -> Bitmap Heap Scan on posthog_element v2_11 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_15.id)
| Filter: ((href)::text = 'https://posthog.com/blog/'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_15.id)
| InitPlan 125 (returns $148)
| -> Limit (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.029..0.029 rows=0 loops=1)
| -> Sort (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.027..0.027 rows=0 loops=1)
| Sort Key: x0_9."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1087771.14 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_9 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 rows
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1087767.05 rows=1 width=4) (actual time=0.017..0.017 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_14 (cost=0.09..4.09 rows=1 width=422) (actual time=0.007..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087762.95 rows=1 width=516) (actual time=0.008..0.008 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_16 (cost=0.11..1068684.22 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_14.elements_hash)::text))
| Filter: (((SubPlan 118) IS NOT NULL) AND ((SubPlan 121) IS NOT NULL) AND ((SubPlan 124) IS NOT NULL) AND ((Su
| SubPlan 118
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_100."order"
| -> Bitmap Heap Scan on posthog_element u0_100 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 121
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_103."order"
| -> Bitmap Heap Scan on posthog_element u0_103 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 124
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_106."order"
| -> Bitmap Heap Scan on posthog_element u0_106 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 119
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_101."order"
| -> Bitmap Heap Scan on posthog_element u0_101 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 120
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_102."order"
| -> Bitmap Heap Scan on posthog_element u0_102 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 122
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_104."order"
| -> Bitmap Heap Scan on posthog_element u0_104 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| SubPlan 123
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_105."order"
| -> Bitmap Heap Scan on posthog_element u0_105 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_16.id)
| -> Bitmap Heap Scan on posthog_element v2_12 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_16.id)
| Filter: ((href)::text = 'https://posthog.com/blog/'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_16.id)
| InitPlan 133 (returns $158)
| -> Limit (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.032..0.032 rows=0 loops=1)
| -> Sort (cost=1087771.15..1087771.15 rows=1 width=12) (actual time=0.030..0.030 rows=0 loops=1)
| Sort Key: x0_10."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1087771.14 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_10 (cost=0.09..4.09 rows=1 width=12) (actual time=0.011..0.011 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1087767.05 rows=1 width=4) (actual time=0.016..0.016 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_15 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087762.95 rows=1 width=516) (actual time=0.008..0.008 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_17 (cost=0.11..1068684.22 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_15.elements_hash)::text))
| Filter: (((SubPlan 126) IS NOT NULL) AND ((SubPlan 129) IS NOT NULL) AND ((SubPlan 132) IS NOT NULL) AND ((Su
| SubPlan 126
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_107."order"
| -> Bitmap Heap Scan on posthog_element u0_107 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 129
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_110."order"
| -> Bitmap Heap Scan on posthog_element u0_110 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 132
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_113."order"
| -> Bitmap Heap Scan on posthog_element u0_113 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 127
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_108."order"
| -> Bitmap Heap Scan on posthog_element u0_108 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 128
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_109."order"
| -> Bitmap Heap Scan on posthog_element u0_109 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((attr_class @> '{elementor-item}'::character varying(200)[]) AND ((tag_name)::te
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 130
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_111."order"
| -> Bitmap Heap Scan on posthog_element u0_111 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: (((attr_id)::text = 'menu-1-657da57'::text) AND ((tag_name)::text = 'ul'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| SubPlan 131
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_112."order"
| -> Bitmap Heap Scan on posthog_element u0_112 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((attr_class @> '{menu-item,menu-item-type-post_type,menu-item-object-page,menu-i
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_17.id)
| -> Bitmap Heap Scan on posthog_element v2_13 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_17.id)
| Filter: ((href)::text = 'https://posthog.com/blog/'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_17.id)
| InitPlan 144 (returns $171)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.030..0.030 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| Sort Key: x0_11."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.026..0.026 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_11 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_16 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_18 (cost=0.11..1526683.97 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_16.elements_hash)::text))
| Filter: (((SubPlan 134) IS NOT NULL) AND ((SubPlan 137) IS NOT NULL) AND ((SubPlan 140) IS NOT NULL) AND ((Su
| SubPlan 134
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_114."order"
| -> Bitmap Heap Scan on posthog_element u0_114 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 137
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_117."order"
| -> Bitmap Heap Scan on posthog_element u0_117 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 140
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_120."order"
| -> Bitmap Heap Scan on posthog_element u0_120 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 143
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_123."order"
| -> Bitmap Heap Scan on posthog_element u0_123 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-align-rig
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 135
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_115."order"
| -> Bitmap Heap Scan on posthog_element u0_115 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 136
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_116."order"
| -> Bitmap Heap Scan on posthog_element u0_116 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 138
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_118."order"
| -> Bitmap Heap Scan on posthog_element u0_118 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 139
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_119."order"
| -> Bitmap Heap Scan on posthog_element u0_119 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 141
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_121."order"
| -> Bitmap Heap Scan on posthog_element u0_121 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-f2a150b,elementor-align-rig
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| SubPlan 142
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_122."order"
| -> Bitmap Heap Scan on posthog_element u0_122 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_18.id)
| -> Bitmap Heap Scan on posthog_element v2_14 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_18.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_18.id)
| InitPlan 155 (returns $184)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.033..0.033 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.031..0.031 rows=0 loops=1)
| Sort Key: x0_12."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_12 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_17 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_19 (cost=0.11..1526683.97 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_17.elements_hash)::text))
| Filter: (((SubPlan 145) IS NOT NULL) AND ((SubPlan 148) IS NOT NULL) AND ((SubPlan 151) IS NOT NULL) AND ((Su
| SubPlan 145
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_124."order"
| -> Bitmap Heap Scan on posthog_element u0_124 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 148
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_127."order"
| -> Bitmap Heap Scan on posthog_element u0_127 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 151
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_130."order"
| -> Bitmap Heap Scan on posthog_element u0_130 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 154
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_133."order"
| -> Bitmap Heap Scan on posthog_element u0_133 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 146
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_125."order"
| -> Bitmap Heap Scan on posthog_element u0_125 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 147
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_126."order"
| -> Bitmap Heap Scan on posthog_element u0_126 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 149
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_128."order"
| -> Bitmap Heap Scan on posthog_element u0_128 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 150
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_129."order"
| -> Bitmap Heap Scan on posthog_element u0_129 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 152
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_131."order"
| -> Bitmap Heap Scan on posthog_element u0_131 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| SubPlan 153
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_132."order"
| -> Bitmap Heap Scan on posthog_element u0_132 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_19.id)
| -> Bitmap Heap Scan on posthog_element v2_15 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_19.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_19.id)
| InitPlan 166 (returns $197)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.029..0.029 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| Sort Key: x0_13."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_13 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.017..0.017 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_18 (cost=0.09..4.09 rows=1 width=422) (actual time=0.005..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_20 (cost=0.11..1526683.97 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_18.elements_hash)::text))
| Filter: (((SubPlan 156) IS NOT NULL) AND ((SubPlan 159) IS NOT NULL) AND ((SubPlan 162) IS NOT NULL) AND ((Su
| SubPlan 156
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_134."order"
| -> Bitmap Heap Scan on posthog_element u0_134 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 159
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_137."order"
| -> Bitmap Heap Scan on posthog_element u0_137 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 162
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_140."order"
| -> Bitmap Heap Scan on posthog_element u0_140 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 165
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_143."order"
| -> Bitmap Heap Scan on posthog_element u0_143 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 157
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_135."order"
| -> Bitmap Heap Scan on posthog_element u0_135 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 158
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_136."order"
| -> Bitmap Heap Scan on posthog_element u0_136 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 160
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_138."order"
| -> Bitmap Heap Scan on posthog_element u0_138 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 161
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_139."order"
| -> Bitmap Heap Scan on posthog_element u0_139 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 163
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_141."order"
| -> Bitmap Heap Scan on posthog_element u0_141 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| SubPlan 164
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_142."order"
| -> Bitmap Heap Scan on posthog_element u0_142 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_20.id)
| -> Bitmap Heap Scan on posthog_element v2_16 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_20.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_20.id)
| InitPlan 177 (returns $210)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.032..0.032 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.030..0.030 rows=0 loops=1)
| Sort Key: x0_14."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_14 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_19 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_21 (cost=0.11..1526683.97 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_19.elements_hash)::text))
| Filter: (((SubPlan 167) IS NOT NULL) AND ((SubPlan 170) IS NOT NULL) AND ((SubPlan 173) IS NOT NULL) AND ((Su
| SubPlan 167
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_144."order"
| -> Bitmap Heap Scan on posthog_element u0_144 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 170
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_147."order"
| -> Bitmap Heap Scan on posthog_element u0_147 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 173
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_150."order"
| -> Bitmap Heap Scan on posthog_element u0_150 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 176
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_153."order"
| -> Bitmap Heap Scan on posthog_element u0_153 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 168
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_145."order"
| -> Bitmap Heap Scan on posthog_element u0_145 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 169
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_146."order"
| -> Bitmap Heap Scan on posthog_element u0_146 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 171
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_148."order"
| -> Bitmap Heap Scan on posthog_element u0_148 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 172
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_149."order"
| -> Bitmap Heap Scan on posthog_element u0_149 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 174
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_151."order"
| -> Bitmap Heap Scan on posthog_element u0_151 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-8e9c0b8,elementor-align-cen
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| SubPlan 175
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_152."order"
| -> Bitmap Heap Scan on posthog_element u0_152 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_21.id)
| -> Bitmap Heap Scan on posthog_element v2_17 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_21.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_21.id)
| InitPlan 182 (returns $216)
| -> Limit (cost=746308.73..746308.73 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Sort (cost=746308.73..746308.73 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_15."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..746308.73 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_15 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..746304.63 rows=1 width=4) (actual time=0.012..0.012 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_20 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_22 (cost=0.11..610609.55 rows=1 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_20.elements_hash)::text))
| Filter: (((SubPlan 178) IS NOT NULL) AND ((SubPlan 181) IS NOT NULL) AND ((SubPlan 179) = ((SubPlan 180) + 1)))
| SubPlan 178
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_154."order"
| -> Bitmap Heap Scan on posthog_element u0_154 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_22.id)
| Filter: ((tag_name)::text = 'label'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_22.id)
| SubPlan 181
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_157."order"
| -> Bitmap Heap Scan on posthog_element u0_157 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_22.id)
| Filter: ((nth_child = 40) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_22.id)
| SubPlan 179
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_155."order"
| -> Bitmap Heap Scan on posthog_element u0_155 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_22.id)
| Filter: ((nth_child = 40) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_22.id)
| SubPlan 180
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_156."order"
| -> Bitmap Heap Scan on posthog_element u0_156 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_22.id)
| Filter: ((tag_name)::text = 'label'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_22.id)
| InitPlan 190 (returns $226)
| -> Limit (cost=1087658.77..1087658.77 rows=1 width=12) (actual time=0.029..0.029 rows=0 loops=1)
| -> Sort (cost=1087658.77..1087658.77 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| Sort Key: x0_16."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1087658.77 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_16 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1087654.68 rows=1 width=4) (actual time=0.015..0.015 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_21 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1087650.58 rows=1 width=516) (actual time=0.007..0.007 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_23 (cost=0.11..1068571.85 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_21.elements_hash)::text))
| Filter: (((SubPlan 186) IS NOT NULL) AND ((SubPlan 183) IS NOT NULL) AND ((SubPlan 189) IS NOT NULL) AND ((Su
| SubPlan 186
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_161."order"
| -> Bitmap Heap Scan on posthog_element u0_161 (cost=1410.30..19078.59 rows=47 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((tag_name)::text = 'form'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 183
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_158."order"
| -> Bitmap Heap Scan on posthog_element u0_158 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((attr_class @> '{btn,btn-success}'::character varying(200)[]) AND ((tag_name)::t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 189
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_164."order"
| -> Bitmap Heap Scan on posthog_element u0_164 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((nth_child = 21) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 184
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_159."order"
| -> Bitmap Heap Scan on posthog_element u0_159 (cost=1410.30..19078.59 rows=47 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((tag_name)::text = 'form'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 185
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_160."order"
| -> Bitmap Heap Scan on posthog_element u0_160 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((attr_class @> '{btn,btn-success}'::character varying(200)[]) AND ((tag_name)::t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 187
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_162."order"
| -> Bitmap Heap Scan on posthog_element u0_162 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((nth_child = 21) AND ((tag_name)::text = 'div'::text))
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| SubPlan 188
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_163."order"
| -> Bitmap Heap Scan on posthog_element u0_163 (cost=1410.30..19078.59 rows=47 width=4) (never
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((tag_name)::text = 'form'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_23.id)
| -> Bitmap Heap Scan on posthog_element v2_18 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_23.id)
| Filter: ((text)::text = 'Test & Save'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_23.id)
| InitPlan 201 (returns $239)
| -> Limit (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| -> Sort (cost=1545770.90..1545770.90 rows=1 width=12) (actual time=0.027..0.027 rows=0 loops=1)
| Sort Key: x0_17."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1410.58..1545770.90 rows=1 width=12) (actual time=0.024..0.025 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_17 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1410.50..1545766.80 rows=1 width=4) (actual time=0.017..0.017 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_22 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1410.41..1545762.71 rows=1 width=516) (actual time=0.009..0.009 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_24 (cost=0.11..1526683.97 rows=1 width
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_22.elements_hash)::text))
| Filter: (((SubPlan 191) IS NOT NULL) AND ((SubPlan 194) IS NOT NULL) AND ((SubPlan 197) IS NOT NULL) AND ((Su
| SubPlan 191
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_165."order"
| -> Bitmap Heap Scan on posthog_element u0_165 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 194
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_168."order"
| -> Bitmap Heap Scan on posthog_element u0_168 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 197
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_171."order"
| -> Bitmap Heap Scan on posthog_element u0_171 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 200
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_174."order"
| -> Bitmap Heap Scan on posthog_element u0_174 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-adca104,elementor-align-lef
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 192
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_166."order"
| -> Bitmap Heap Scan on posthog_element u0_166 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 193
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_167."order"
| -> Bitmap Heap Scan on posthog_element u0_167 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-button-link,elementor-button,elementor-size-md}'::cha
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 195
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_169."order"
| -> Bitmap Heap Scan on posthog_element u0_169 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 196
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_170."order"
| -> Bitmap Heap Scan on posthog_element u0_170 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-button-wrapper}'::character varying(200)[]) AND ((tag
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 198
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_172."order"
| -> Bitmap Heap Scan on posthog_element u0_172 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-element,elementor-element-adca104,elementor-align-lef
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| SubPlan 199
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_173."order"
| -> Bitmap Heap Scan on posthog_element u0_173 (cost=1410.30..19083.32 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((attr_class @> '{elementor-widget-container}'::character varying(200)[]) AND ((t
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_24.id)
| -> Bitmap Heap Scan on posthog_element v2_19 (cost=1410.30..19078.59 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_24.id)
| Filter: ((href)::text = 'https://posthog.com/sales/'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_24.id)
| InitPlan 203 (returns $242)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.028..0.028 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.026..0.026 rows=0 loops=1)
| Sort Key: x0_18."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_18 (cost=0.09..4.09 rows=1 width=12) (actual time=0.012..0.012 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.011..0.011 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_23 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_25 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_23.elements_hash)::text))
| Filter: ((SubPlan 202) IS NOT NULL)
| SubPlan 202
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_175."order"
| -> Bitmap Heap Scan on posthog_element u0_175 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_25.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_25.id)
| InitPlan 205 (returns $246)
| -> Limit (cost=298246.02..298246.02 rows=1 width=12) (actual time=0.023..0.023 rows=0 loops=1)
| -> Sort (cost=298246.02..298246.02 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_19."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.43..298246.02 rows=1 width=12) (actual time=0.019..0.019 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_19 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..298241.92 rows=1 width=4) (actual time=0.011..0.011 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_24 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1334.25..298237.83 rows=1 width=516) (actual time=0.003..0.004 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_26 (cost=0.11..152722.55 rows=8 width=
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_24.elements_hash)::text))
| Filter: ((SubPlan 204) IS NOT NULL)
| SubPlan 204
| -> Limit (cost=19088.05..19088.05 rows=1 width=4) (never executed)
| -> Sort (cost=19088.05..19088.05 rows=1 width=4) (never executed)
| Sort Key: u0_176."order"
| -> Bitmap Heap Scan on posthog_element u0_176 (cost=1410.30..19088.05 rows=1 width=4) (never
| Recheck Cond: (group_id = v0_26.id)
| Filter: ((attr_class @> '{btn,btn-light}'::character varying(200)[]) AND (nth_child = 1)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458
| Index Cond: (group_id = v0_26.id)
| -> Bitmap Heap Scan on posthog_element v2_20 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = v0_26.id)
| Filter: ((text)::text = 'Frontend element'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = v0_26.id)
| InitPlan 206 (returns $249)
| -> Limit (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Sort (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.023..0.023 rows=0 loops=1)
| Sort Key: w0_25."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.42..145541.59 rows=1 width=12) (actual time=0.021..0.021 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_25 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..145537.49 rows=1 width=4) (actual time=0.011..0.011 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_27 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1334.25..145533.40 rows=1 width=516) (actual time=0.003..0.003 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_177 (cost=0.11..18.14 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_27.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2_2 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_177.id)
| Filter: ((text)::text = '+ New Action'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = u0_177.id)
| InitPlan 207 (returns $252)
| -> Limit (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| -> Sort (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| Sort Key: w0_26."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.42..145541.59 rows=1 width=12) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_26 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..145537.49 rows=1 width=4) (actual time=0.011..0.011 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_28 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Nested Loop (cost=1334.25..145533.40 rows=1 width=516) (actual time=0.003..0.003 rows=0 loops=1)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_178 (cost=0.11..18.14 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_28.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2_3 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_178.id)
| Filter: ((text)::text = 'Save action'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = u0_178.id)
| InitPlan 209 (returns $255)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_20."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_20 (cost=0.09..4.09 rows=1 width=12) (actual time=0.008..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_27 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_29 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_27.elements_hash)::text))
| Filter: ((SubPlan 208) IS NOT NULL)
| SubPlan 208
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_179."order"
| -> Bitmap Heap Scan on posthog_element u0_179 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_29.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_29.id)
| InitPlan 211 (returns $258)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| Sort Key: x0_21."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_21 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.011..0.011 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_28 (cost=0.09..4.09 rows=1 width=422) (actual time=0.007..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_30 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_28.elements_hash)::text))
| Filter: ((SubPlan 210) IS NOT NULL)
| SubPlan 210
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_180."order"
| -> Bitmap Heap Scan on posthog_element u0_180 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_30.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_30.id)
| InitPlan 213 (returns $261)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.025..0.025 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_22."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_22 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_29 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_31 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_29.elements_hash)::text))
| Filter: ((SubPlan 212) IS NOT NULL)
| SubPlan 212
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_181."order"
| -> Bitmap Heap Scan on posthog_element u0_181 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_31.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_31.id)
| InitPlan 245 (returns $294)
| -> Limit (cost=9463085.36..9463085.36 rows=1 width=12) (actual time=0.041..0.041 rows=0 loops=1)
| -> Sort (cost=9463085.36..9463085.36 rows=1 width=12) (actual time=0.040..0.040 rows=0 loops=1)
| Sort Key: x0_23."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..9463085.36 rows=1 width=12) (actual time=0.038..0.038 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_23 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..9463081.26 rows=1 width=4) (actual time=0.030..0.030 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_30 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_32 (cost=0.11..4731538.64 rows=1 width=516)
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_30.elements_hash)::text))
| Filter: (((SubPlan 214) IS NOT NULL) AND ((SubPlan 219) IS NOT NULL) AND ((SubPlan 220) IS NOT NULL) AND ((SubPlan
| SubPlan 214
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_182."order"
| -> Bitmap Heap Scan on posthog_element u0_182 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'img'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 219
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_187."order"
| -> Bitmap Heap Scan on posthog_element u0_187 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'section'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 220
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_188."order"
| -> Bitmap Heap Scan on posthog_element u0_188 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'a'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 223
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_191."order"
| -> Bitmap Heap Scan on posthog_element u0_191 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 226
| -> Limit (cost=19078.69..19078.69 rows=1 width=4) (never executed)
| -> Sort (cost=19078.69..19078.71 rows=47 width=4) (never executed)
| Sort Key: u0_194."order"
| -> Bitmap Heap Scan on posthog_element u0_194 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 229
| -> Limit (cost=19078.72..19078.72 rows=1 width=4) (never executed)
| -> Sort (cost=19078.71..19078.74 rows=47 width=4) (never executed)
| Sort Key: u0_197."order"
| -> Bitmap Heap Scan on posthog_element u0_197 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 232
| -> Limit (cost=19078.74..19078.74 rows=1 width=4) (never executed)
| -> Sort (cost=19078.73..19078.76 rows=47 width=4) (never executed)
| Sort Key: u0_200."order"
| -> Bitmap Heap Scan on posthog_element u0_200 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 235
| -> Limit (cost=19078.75..19078.75 rows=1 width=4) (never executed)
| -> Sort (cost=19078.75..19078.77 rows=47 width=4) (never executed)
| Sort Key: u0_203."order"
| -> Bitmap Heap Scan on posthog_element u0_203 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 238
| -> Limit (cost=19078.76..19078.76 rows=1 width=4) (never executed)
| -> Sort (cost=19078.76..19078.78 rows=47 width=4) (never executed)
| Sort Key: u0_206."order"
| -> Bitmap Heap Scan on posthog_element u0_206 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 241
| -> Limit (cost=19078.77..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.77..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_209."order"
| -> Bitmap Heap Scan on posthog_element u0_209 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 244
| -> Limit (cost=19078.78..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.78..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_212."order"
| -> Bitmap Heap Scan on posthog_element u0_212 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 215
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_183."order"
| -> Bitmap Heap Scan on posthog_element u0_183 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'a'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 216
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_184."order"
| -> Bitmap Heap Scan on posthog_element u0_184 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'img'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 221
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_189."order"
| -> Bitmap Heap Scan on posthog_element u0_189 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 222
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_190."order"
| -> Bitmap Heap Scan on posthog_element u0_190 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'a'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 224
| -> Limit (cost=19078.69..19078.69 rows=1 width=4) (never executed)
| -> Sort (cost=19078.69..19078.71 rows=47 width=4) (never executed)
| Sort Key: u0_192."order"
| -> Bitmap Heap Scan on posthog_element u0_192 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 225
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_193."order"
| -> Bitmap Heap Scan on posthog_element u0_193 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 227
| -> Limit (cost=19078.72..19078.72 rows=1 width=4) (never executed)
| -> Sort (cost=19078.71..19078.74 rows=47 width=4) (never executed)
| Sort Key: u0_195."order"
| -> Bitmap Heap Scan on posthog_element u0_195 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 228
| -> Limit (cost=19078.69..19078.69 rows=1 width=4) (never executed)
| -> Sort (cost=19078.69..19078.71 rows=47 width=4) (never executed)
| Sort Key: u0_196."order"
| -> Bitmap Heap Scan on posthog_element u0_196 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 217
| -> Limit (cost=19078.64..19078.64 rows=1 width=4) (never executed)
| -> Sort (cost=19078.64..19078.66 rows=47 width=4) (never executed)
| Sort Key: u0_185."order"
| -> Bitmap Heap Scan on posthog_element u0_185 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'section'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 218
| -> Limit (cost=19078.78..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.78..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_186."order"
| -> Bitmap Heap Scan on posthog_element u0_186 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 230
| -> Limit (cost=19078.74..19078.74 rows=1 width=4) (never executed)
| -> Sort (cost=19078.73..19078.76 rows=47 width=4) (never executed)
| Sort Key: u0_198."order"
| -> Bitmap Heap Scan on posthog_element u0_198 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 231
| -> Limit (cost=19078.72..19078.72 rows=1 width=4) (never executed)
| -> Sort (cost=19078.71..19078.74 rows=47 width=4) (never executed)
| Sort Key: u0_199."order"
| -> Bitmap Heap Scan on posthog_element u0_199 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 233
| -> Limit (cost=19078.75..19078.75 rows=1 width=4) (never executed)
| -> Sort (cost=19078.75..19078.77 rows=47 width=4) (never executed)
| Sort Key: u0_201."order"
| -> Bitmap Heap Scan on posthog_element u0_201 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 234
| -> Limit (cost=19078.74..19078.74 rows=1 width=4) (never executed)
| -> Sort (cost=19078.73..19078.76 rows=47 width=4) (never executed)
| Sort Key: u0_202."order"
| -> Bitmap Heap Scan on posthog_element u0_202 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 236
| -> Limit (cost=19078.76..19078.76 rows=1 width=4) (never executed)
| -> Sort (cost=19078.76..19078.78 rows=47 width=4) (never executed)
| Sort Key: u0_204."order"
| -> Bitmap Heap Scan on posthog_element u0_204 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 237
| -> Limit (cost=19078.75..19078.75 rows=1 width=4) (never executed)
| -> Sort (cost=19078.75..19078.77 rows=47 width=4) (never executed)
| Sort Key: u0_205."order"
| -> Bitmap Heap Scan on posthog_element u0_205 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 239
| -> Limit (cost=19078.77..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.77..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_207."order"
| -> Bitmap Heap Scan on posthog_element u0_207 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 240
| -> Limit (cost=19078.76..19078.76 rows=1 width=4) (never executed)
| -> Sort (cost=19078.76..19078.78 rows=47 width=4) (never executed)
| Sort Key: u0_208."order"
| -> Bitmap Heap Scan on posthog_element u0_208 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 242
| -> Limit (cost=19078.78..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.78..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_210."order"
| -> Bitmap Heap Scan on posthog_element u0_210 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| SubPlan 243
| -> Limit (cost=19078.77..19078.78 rows=1 width=4) (never executed)
| -> Sort (cost=19078.77..19078.80 rows=47 width=4) (never executed)
| Sort Key: u0_211."order"
| -> Bitmap Heap Scan on posthog_element u0_211 (cost=1410.30..19078.59 rows=47 width=4) (never execu
| Recheck Cond: (group_id = v0_32.id)
| Filter: ((tag_name)::text = 'div'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_32.id)
| InitPlan 247 (returns $297)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| Sort Key: x0_24."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_24 (cost=0.09..4.09 rows=1 width=12) (actual time=0.009..0.009 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_31 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_33 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_31.elements_hash)::text))
| Filter: ((SubPlan 246) IS NOT NULL)
| SubPlan 246
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_213."order"
| -> Bitmap Heap Scan on posthog_element u0_213 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_33.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_33.id)
| InitPlan 249 (returns $300)
| -> Limit (cost=19277.95..19277.95 rows=1 width=12) (actual time=0.018..0.018 rows=0 loops=1)
| -> Sort (cost=19277.95..19277.95 rows=1 width=12) (actual time=0.016..0.016 rows=0 loops=1)
| Sort Key: x0_25."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.013..0.013 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_25 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.006..0.006 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_32 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%https://posthog.com
| Rows Removed by Filter: 1
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_34 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_32.elements_hash)::text))
| Filter: ((SubPlan 248) IS NOT NULL)
| SubPlan 248
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_214."order"
| -> Bitmap Heap Scan on posthog_element u0_214 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_34.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_34.id)
| InitPlan 251 (returns $303)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.024..0.024 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.023..0.023 rows=0 loops=1)
| Sort Key: x0_26."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.021..0.021 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_26 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.013..0.013 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_33 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_35 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_33.elements_hash)::text))
| Filter: ((SubPlan 250) IS NOT NULL)
| SubPlan 250
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_215."order"
| -> Bitmap Heap Scan on posthog_element u0_215 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_35.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-secondary,ant-btn-lg}'::character varying(200)[]) AND
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_35.id)
| InitPlan 252 (returns $306)
| -> Limit (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.018..0.018 rows=0 loops=1)
| -> Sort (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.016..0.016 rows=0 loops=1)
| Sort Key: w0_34."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.42..145541.59 rows=1 width=12) (actual time=0.014..0.014 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_34 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..145537.50 rows=1 width=4) (actual time=0.006..0.006 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_36 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%app.posthog.com/sig
| Rows Removed by Filter: 1
| -> Nested Loop (cost=1334.25..145533.40 rows=1 width=516) (never executed)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_216 (cost=0.11..18.14 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_36.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2_4 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_216.id)
| Filter: ((text)::text = 'Start free trial'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = u0_216.id)
| InitPlan 253 (returns $309)
| -> Limit (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.016..0.016 rows=0 loops=1)
| -> Sort (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.015..0.015 rows=0 loops=1)
| Sort Key: w0_35."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.42..145541.59 rows=1 width=12) (actual time=0.012..0.012 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_35 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..145537.50 rows=1 width=4) (actual time=0.005..0.005 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_37 (cost=0.09..4.09 rows=1 width=422) (actual time=0.005..0.
| Index Cond: (id = 24513953)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%app.posthog.com/sig
| Rows Removed by Filter: 1
| -> Nested Loop (cost=1334.25..145533.40 rows=1 width=516) (never executed)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_217 (cost=0.11..18.14 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_37.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2_5 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_217.id)
| Filter: ((href)::text = 'https://heroku.com/deploy?template=https://github.com/posthog/posthog'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = u0_217.id)
| InitPlan 254 (returns $312)
| -> Limit (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.021..0.021 rows=0 loops=1)
| -> Sort (cost=145541.59..145541.59 rows=1 width=12) (actual time=0.019..0.019 rows=0 loops=1)
| Sort Key: w0_36."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=1334.42..145541.59 rows=1 width=12) (actual time=0.017..0.017 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_36 (cost=0.09..4.09 rows=1 width=12) (actual time=0.007..0.007 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop Semi Join (cost=1334.34..145537.50 rows=1 width=4) (actual time=0.008..0.008 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event v0_38 (cost=0.09..4.09 rows=1 width=422) (actual time=0.008..0.
| Index Cond: (id = 24513953)
| Filter: (((event)::text = '$autocapture'::text) AND ((properties ->> '$current_url'::text) ~~ '%https://app.posthog
| Rows Removed by Filter: 1
| -> Nested Loop (cost=1334.25..145533.40 rows=1 width=516) (never executed)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup u0_218 (cost=0.11..18.14 rows=8 width=520
| Index Cond: ((team_id = 2) AND ((hash)::text = (v0_38.elements_hash)::text))
| -> Bitmap Heap Scan on posthog_element u2_6 (cost=1334.14..18189.27 rows=47 width=4) (never executed)
| Recheck Cond: (group_id = u0_218.id)
| Filter: ((text)::text = 'Today'::text)
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1334.14 rows=9458 width=0) (never exe
| Index Cond: (group_id = u0_218.id)
| InitPlan 256 (returns $315)
| -> Limit (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.022..0.022 rows=0 loops=1)
| -> Sort (cost=19277.94..19277.95 rows=1 width=12) (actual time=0.020..0.020 rows=0 loops=1)
| Sort Key: x0_27."timestamp" DESC
| Sort Method: quicksort Memory: 25kB
| -> Nested Loop Semi Join (cost=0.28..19277.94 rows=1 width=12) (actual time=0.018..0.018 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event x0_27 (cost=0.09..4.09 rows=1 width=12) (actual time=0.006..0.006 row
| Index Cond: (id = 24513953)
| Filter: (team_id = 2)
| -> Nested Loop (cost=0.20..19273.85 rows=8 width=4) (actual time=0.010..0.010 rows=0 loops=1)
| -> Index Scan using posthog_event_pkey on posthog_event w0_37 (cost=0.09..4.09 rows=1 width=422) (actual time=0.006..0.
| Index Cond: (id = 24513953)
| Filter: ((event)::text = '$autocapture'::text)
| -> Index Scan using "unique hash for each team" on posthog_elementgroup v0_39 (cost=0.11..152684.72 rows=8 width=516) (
| Index Cond: ((team_id = 2) AND ((hash)::text = (w0_37.elements_hash)::text))
| Filter: ((SubPlan 255) IS NOT NULL)
| SubPlan 255
| -> Limit (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| -> Sort (cost=19083.32..19083.32 rows=1 width=4) (never executed)
| Sort Key: u0_219."order"
| -> Bitmap Heap Scan on posthog_element u0_219 (cost=1410.30..19083.32 rows=1 width=4) (never execut
| Recheck Cond: (group_id = v0_39.id)
| Filter: ((attr_class @> '{ant-btn,ant-btn-primary,ant-btn-lg}'::character varying(200)[]) AND (
| -> Bitmap Index Scan on posthog_element_group_id_09134876 (cost=0.00..1410.30 rows=9458 width
| Index Cond: (group_id = v0_39.id)
| Planning Time: 34.028 ms
| JIT:
| Functions: 3131
| Options: Inlining true, Optimization true, Expressions true, Deforming true
| Timing: Generation 325.257 ms, Inlining 74.882 ms, Optimization 23293.399 ms, Emission 14025.770 ms, Total 37719.307 ms
| Execution Time: 37764.146 ms
+------------------------------------------------------------------------------------------------------------------------------------------------------
EXPLAIN
Time: 60.843s (a minute), executed in: 41.363s (41 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment