@mindful-web/marko-web-theme-monorail 1.83.5 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ads/fixed-ad-bottom.marko.js +2 -2
- package/components/ads/reveal-ad-handler.marko.js +2 -2
- package/components/blocks/author-bios.marko.js +2 -2
- package/components/blocks/callout-cards.marko.js +2 -2
- package/components/blocks/company-inquiry-form.marko.js +2 -2
- package/components/blocks/company-search.marko.js +2 -2
- package/components/blocks/content-card-deck.marko.js +2 -2
- package/components/blocks/content-meter.marko.js +2 -2
- package/components/blocks/full-width-native-ad.marko.js +2 -2
- package/components/blocks/geo-summary.marko.js +2 -2
- package/components/blocks/header-announcement.marko.js +2 -2
- package/components/blocks/hero-card.marko.js +2 -2
- package/components/blocks/latest-content-list.marko.js +2 -2
- package/components/blocks/latest-podcast.marko.js +2 -2
- package/components/blocks/latest-products-feed.marko.js +2 -2
- package/components/blocks/more-products.marko.js +2 -2
- package/components/blocks/most-popular-list.marko.js +2 -2
- package/components/blocks/most-popular.marko.js +2 -2
- package/components/blocks/native-x-card-deck.marko.js +2 -2
- package/components/blocks/native-x-promo-card.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner-external.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner-large.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner.marko.js +2 -2
- package/components/blocks/opinion.marko.js +2 -2
- package/components/blocks/primary-image.marko.js +2 -2
- package/components/blocks/products.marko.js +2 -2
- package/components/blocks/read-next.marko.js +2 -2
- package/components/blocks/related-stories.marko.js +2 -2
- package/components/blocks/resource-library.marko.js +2 -2
- package/components/blocks/section-body-feed.marko.js +2 -2
- package/components/blocks/section-card-deck-featured.marko.js +2 -2
- package/components/blocks/section-card-deck.marko.js +2 -2
- package/components/blocks/section-card-list.marko.js +2 -2
- package/components/blocks/section-feed.marko.js +2 -2
- package/components/blocks/section-forbes.marko.js +2 -2
- package/components/blocks/section-list-deck.marko.js +2 -2
- package/components/blocks/section-list.marko.js +2 -2
- package/components/blocks/section-search.marko.js +2 -2
- package/components/blocks/section-title-feed.marko.js +2 -2
- package/components/blocks/top-stories-menu.marko.js +2 -2
- package/components/blocks/top-stories.marko.js +2 -2
- package/components/blocks/white-papers.marko.js +2 -2
- package/components/breadcrumbs/content-page.marko.js +2 -2
- package/components/breadcrumbs/index.marko.js +2 -2
- package/components/breadcrumbs/website-section.marko.js +2 -2
- package/components/breadcrumbs/with-home.marko.js +2 -2
- package/components/client-side-block-loader.marko.js +2 -2
- package/components/client-side-blocks/most-popular-list.marko.js +2 -2
- package/components/client-side-blocks/most-popular.marko.js +2 -2
- package/components/content/body-with-injection.marko.js +2 -2
- package/components/content/contact-details/index.marko.js +2 -2
- package/components/content/contact-details/section.marko.js +2 -2
- package/components/content/download/form-dot-com.marko.js +2 -2
- package/components/content/download/identity-x.marko.js +2 -2
- package/components/content/download/index.marko.js +2 -2
- package/components/content/download/link.marko.js +2 -2
- package/components/content/download/wufoo.marko.js +2 -2
- package/components/content/link-url/index.marko.js +2 -2
- package/components/content/sections-listed-in.marko.js +2 -2
- package/components/content-attribution/attribution.marko.js +2 -2
- package/components/content-attribution/components/authors.marko.js +2 -2
- package/components/content-attribution/components/byline.marko.js +2 -2
- package/components/content-attribution/components/company.marko.js +2 -2
- package/components/content-attribution/components/contributors.marko.js +2 -2
- package/components/content-attribution/components/photographers.marko.js +2 -2
- package/components/content-attribution/components/source.marko.js +2 -2
- package/components/content-attribution/components/speakers.marko.js +2 -2
- package/components/content-attribution/components/sponsors.marko.js +2 -2
- package/components/content-attribution/index.marko.js +2 -2
- package/components/directory-facets/facet-container/facet-container.marko.js +2 -2
- package/components/directory-facets/facet-list/facet-list.marko.js +2 -2
- package/components/directory-facets/facet.marko.js +2 -2
- package/components/directory-facets/index.marko.js +2 -2
- package/components/facebook-connect.marko.js +2 -2
- package/components/flows/card-deck.marko.js +2 -2
- package/components/flows/content/card-deck-col.marko.js +2 -2
- package/components/flows/content/directory-section.marko.js +2 -2
- package/components/flows/content/list.marko.js +2 -2
- package/components/flows/section-feed.marko.js +2 -2
- package/components/gam/components/define-display-ad.marko.js +2 -2
- package/components/gam/define-display-ad.marko.js +2 -2
- package/components/gam/inject-ads.marko.js +2 -2
- package/components/gam/wallpaper-ad.marko.js +2 -2
- package/components/identity-x/comment-stream.marko.js +2 -2
- package/components/identity-x/content-page-gate.marko.js +2 -2
- package/components/identity-x/marko.json +16 -0
- package/components/identity-x/newsletter-footer.marko.js +2 -2
- package/components/identity-x/newsletter-inline.marko.js +2 -2
- package/components/identity-x/newsletter-modal.marko.js +2 -2
- package/components/identity-x/newsletter-pushdown.marko.js +2 -2
- package/components/identity-x/progressive-profile-gate.marko +36 -0
- package/components/identity-x/progressive-profile-gate.marko.js +50 -0
- package/components/layouts/ad-preview.marko.js +2 -2
- package/components/menu-toggle-button.marko.js +2 -2
- package/components/native-x/render.marko.js +2 -2
- package/components/nodes/author-bio.marko.js +2 -2
- package/components/nodes/author-card.marko.js +2 -2
- package/components/nodes/author-published.marko.js +2 -2
- package/components/nodes/author.marko.js +2 -2
- package/components/nodes/components/attribution.marko.js +2 -2
- package/components/nodes/components/authors.marko.js +2 -2
- package/components/nodes/components/company-name.marko.js +2 -2
- package/components/nodes/components/dates.marko.js +2 -2
- package/components/nodes/components/section-sponsor.marko.js +2 -2
- package/components/nodes/content-published.marko.js +2 -2
- package/components/nodes/content.marko.js +2 -2
- package/components/nodes/directory-section-feed-content.marko.js +2 -2
- package/components/nodes/featured-products-card.marko.js +2 -2
- package/components/nodes/product-feed-content.marko.js +2 -2
- package/components/nodes/section-feed-content.marko.js +2 -2
- package/components/nodes/standard-promo.marko.js +2 -2
- package/components/nodes/youtube-card.marko.js +2 -2
- package/components/page/attribution.marko.js +2 -2
- package/components/page/contact-details.marko.js +2 -2
- package/components/page/content.marko.js +2 -2
- package/components/page/contents.marko.js +2 -2
- package/components/page/dates.marko.js +2 -2
- package/components/page/default.marko.js +2 -2
- package/components/page/website-section.marko.js +2 -2
- package/components/pagination-controls.marko.js +2 -2
- package/components/query-total-count.marko.js +2 -2
- package/components/reveal-ad-handler.marko.js +2 -2
- package/components/site-footer/container.marko.js +2 -2
- package/components/site-footer/copyright.marko.js +2 -2
- package/components/site-footer/index.marko.js +2 -2
- package/components/site-footer/social-icons.marko.js +2 -2
- package/components/site-header.marko.js +2 -2
- package/components/site-menu/components/search.marko.js +2 -2
- package/components/site-menu/components/social-icons.marko.js +2 -2
- package/components/site-menu/header.marko.js +2 -2
- package/components/site-menu/index.marko.js +2 -2
- package/components/site-menu/section.marko.js +2 -2
- package/components/site-navbar/brand.marko.js +2 -2
- package/components/site-navbar/index.marko.js +2 -2
- package/components/site-navbar/item.marko.js +2 -2
- package/components/site-navbar/items.marko.js +2 -2
- package/components/site-navbar/logo.marko.js +2 -2
- package/components/site-navbar/search.marko.js +2 -2
- package/components/site-newsletter-menu.marko.js +2 -2
- package/components/social/icon-link.marko.js +2 -2
- package/components/social/icons.marko.js +2 -2
- package/components/social-follow.marko.js +2 -2
- package/components/sponsored-label-logo.marko.js +2 -2
- package/components/sponsored-section-logo.marko.js +2 -2
- package/components/sponsored-section-name-logo.marko.js +2 -2
- package/components/ssr-html-inject.marko.js +2 -2
- package/graphql/fragments/content-meter.js +8 -0
- package/middleware/content-metering.js +11 -9
- package/middleware/progressive-profiling.js +238 -0
- package/package.json +10 -10
- package/scss/components/_content-page-gate.scss +29 -0
- package/templates/ad-preview.marko.js +2 -2
- package/templates/content/components/presented-by.marko.js +2 -2
- package/templates/content/native-x-story.marko.js +2 -2
- package/templates/content/print.marko.js +2 -2
- package/templates/email-preview.marko.js +2 -2
- package/templates/search.marko.js +2 -2
- package/templates/taxonomy.marko.js +2 -2
- package/utils/load-gating-content.js +27 -0
- package/utils/progressive-profile-helpers.js +39 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-header.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -204,7 +204,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
204
204
|
});
|
|
205
205
|
|
|
206
206
|
marko_template.meta = {
|
|
207
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
207
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-header.marko",
|
|
208
208
|
tags: [
|
|
209
209
|
"./menu-toggle-button.marko",
|
|
210
210
|
"./site-navbar/logo.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/components/search.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -71,7 +71,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
marko_template.meta = {
|
|
74
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
74
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/components/search.marko",
|
|
75
75
|
tags: [
|
|
76
76
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
77
77
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/components/social-icons.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
theme_social_follow_template = require("../../social-follow.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -25,7 +25,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
marko_template.meta = {
|
|
28
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
28
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/components/social-icons.marko",
|
|
29
29
|
tags: [
|
|
30
30
|
"../../social-follow.marko"
|
|
31
31
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/header.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
8
8
|
marko_web_element_template = require("@mindful-web/marko-web/components/element/index.marko"),
|
|
@@ -31,7 +31,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
marko_template.meta = {
|
|
34
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
34
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/header.marko",
|
|
35
35
|
tags: [
|
|
36
36
|
"@mindful-web/marko-web/components/element/index.marko"
|
|
37
37
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/index.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -189,7 +189,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
189
189
|
});
|
|
190
190
|
|
|
191
191
|
marko_template.meta = {
|
|
192
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
192
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/index.marko",
|
|
193
193
|
tags: [
|
|
194
194
|
"./components/search.marko",
|
|
195
195
|
"./section.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/section.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -58,7 +58,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
marko_template.meta = {
|
|
61
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
61
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-menu/section.marko",
|
|
62
62
|
tags: [
|
|
63
63
|
"./header.marko",
|
|
64
64
|
"../site-navbar/items.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/brand.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
8
8
|
marko_web_link_template = require("@mindful-web/marko-web/components/element/link.marko"),
|
|
@@ -36,7 +36,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
marko_template.meta = {
|
|
39
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
39
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/brand.marko",
|
|
40
40
|
tags: [
|
|
41
41
|
"@mindful-web/marko-web/components/element/link.marko"
|
|
42
42
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/index.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
8
8
|
marko_web_element_template = require("@mindful-web/marko-web/components/element/index.marko"),
|
|
@@ -41,7 +41,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
marko_template.meta = {
|
|
44
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
44
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/index.marko",
|
|
45
45
|
tags: [
|
|
46
46
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
47
47
|
"@mindful-web/marko-web/components/element/block.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/item.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -175,7 +175,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
175
175
|
});
|
|
176
176
|
|
|
177
177
|
marko_template.meta = {
|
|
178
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
178
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/item.marko",
|
|
179
179
|
tags: [
|
|
180
180
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
181
181
|
"@mindful-web/marko-web/components/element/link.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/items.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -73,7 +73,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
marko_template.meta = {
|
|
76
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
76
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/items.marko",
|
|
77
77
|
tags: [
|
|
78
78
|
"./item.marko",
|
|
79
79
|
"@mindful-web/marko-web/components/element/index.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/logo.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_classAttr = require("marko/dist/runtime/html/helpers/class-attr"),
|
|
8
8
|
marko_attr = require("marko/dist/runtime/html/helpers/attr");
|
|
@@ -37,5 +37,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
marko_template.meta = {
|
|
40
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
40
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/logo.marko"
|
|
41
41
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/search.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -64,7 +64,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
marko_template.meta = {
|
|
67
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
67
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-navbar/search.marko",
|
|
68
68
|
tags: [
|
|
69
69
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
70
70
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-newsletter-menu.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_buildProps = require("@mindful-web/marko-web-theme-monorail/utils/site-newsletter-menu-props"),
|
|
8
8
|
buildProps = module_buildProps.default || module_buildProps,
|
|
@@ -30,7 +30,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
marko_template.meta = {
|
|
33
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
33
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/site-newsletter-menu.marko",
|
|
34
34
|
tags: [
|
|
35
35
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
36
36
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social/icon-link.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -55,7 +55,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
marko_template.meta = {
|
|
58
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
58
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social/icon-link.marko",
|
|
59
59
|
tags: [
|
|
60
60
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
61
61
|
"@mindful-web/marko-web/components/element/link.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social/icons.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -54,7 +54,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
marko_template.meta = {
|
|
57
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
57
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social/icons.marko",
|
|
58
58
|
tags: [
|
|
59
59
|
"./icon-link.marko",
|
|
60
60
|
"@mindful-web/marko-web/components/element/block.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social-follow.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -86,7 +86,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
86
86
|
});
|
|
87
87
|
|
|
88
88
|
marko_template.meta = {
|
|
89
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
89
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/social-follow.marko",
|
|
90
90
|
tags: [
|
|
91
91
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
92
92
|
"./social/icon-link.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-label-logo.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -78,7 +78,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
marko_template.meta = {
|
|
81
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
81
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-label-logo.marko",
|
|
82
82
|
tags: [
|
|
83
83
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
84
84
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-section-logo.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -73,7 +73,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
marko_template.meta = {
|
|
76
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
76
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-section-logo.marko",
|
|
77
77
|
tags: [
|
|
78
78
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
79
79
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-section-name-logo.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -70,7 +70,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
marko_template.meta = {
|
|
73
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
73
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/sponsored-section-name-logo.marko",
|
|
74
74
|
tags: [
|
|
75
75
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
76
76
|
"@mindful-web/marko-web/components/element/block.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.85.0/components/ssr-html-inject.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_cheerio = require("cheerio"),
|
|
8
8
|
cheerio = module_cheerio.default || module_cheerio,
|
|
@@ -129,5 +129,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
marko_template.meta = {
|
|
132
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
132
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.85.0/components/ssr-html-inject.marko"
|
|
133
133
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
const gql = require('graphql-tag');
|
|
2
2
|
|
|
3
|
+
// Shared by content metering AND progressive profiling (via `utils/load-gating-content.js`), so
|
|
4
|
+
// both middlewares resolve one request-memoized query. `gating` exists for the progressive
|
|
5
|
+
// middleware: it must stand down for an idx survey at decision time, before `withContent` has run
|
|
6
|
+
// `contentAccessState` (which is what the layout consults for the same call).
|
|
3
7
|
module.exports = gql`
|
|
4
8
|
fragment ContentMeterFragment on Content {
|
|
5
9
|
id
|
|
@@ -17,5 +21,9 @@ fragment ContentMeterFragment on Content {
|
|
|
17
21
|
isCurrentlyRequired
|
|
18
22
|
bypassGating
|
|
19
23
|
}
|
|
24
|
+
gating {
|
|
25
|
+
surveyType
|
|
26
|
+
surveyId
|
|
27
|
+
}
|
|
20
28
|
}
|
|
21
29
|
`;
|
|
@@ -3,10 +3,8 @@ const parser = require('ua-parser-js');
|
|
|
3
3
|
const Joi = require('@parameter1/joi');
|
|
4
4
|
const { validate } = require('@parameter1/joi/utils');
|
|
5
5
|
const { asyncRoute, isFunction } = require('@mindful-web/utils');
|
|
6
|
-
const { content: loader } = require('@mindful-web/web-common/page-loaders');
|
|
7
6
|
const { get, getAsArray } = require('@mindful-web/object-path');
|
|
8
|
-
const
|
|
9
|
-
const queryFragment = require('../graphql/fragments/content-meter');
|
|
7
|
+
const loadGatingContent = require('../utils/load-gating-content');
|
|
10
8
|
const hasOmedaId = require('../utils/has-omeda-id');
|
|
11
9
|
|
|
12
10
|
const configSchema = Joi.object({
|
|
@@ -37,11 +35,10 @@ const defaultRegFn = ({ content }) => get(content, 'userRegistration.isCurrently
|
|
|
37
35
|
const defaultBypassGatingFn = ({ content }) => get(content, 'userRegistration.bypassGating', false);
|
|
38
36
|
|
|
39
37
|
const shouldMeter = async (req, config) => {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const additionalInput = buildContentInput({ req });
|
|
38
|
+
// Request-memoized: when progressive profiling chains ahead of the meter, both decide off one
|
|
39
|
+
// GraphQL round trip.
|
|
43
40
|
// @todo error handling!
|
|
44
|
-
const content = await
|
|
41
|
+
const content = await loadGatingContent(req);
|
|
45
42
|
if (!content) return false;
|
|
46
43
|
|
|
47
44
|
// Check for local contentGatingHandler and use it or use the defaultRegFn
|
|
@@ -73,8 +70,8 @@ const shouldMeter = async (req, config) => {
|
|
|
73
70
|
if (getAsArray(config, 'excludePrimarySectionIds').includes(content.primarySection.id)) {
|
|
74
71
|
return false;
|
|
75
72
|
}
|
|
76
|
-
//
|
|
77
|
-
if (getAsArray(config, '
|
|
73
|
+
// excludePrimarySectionAlias: Excludes content metering on page that matches primarySection
|
|
74
|
+
if (getAsArray(config, 'excludePrimarySectionAlias').includes(content.primarySection.alias)) {
|
|
78
75
|
return false;
|
|
79
76
|
}
|
|
80
77
|
// excludeLabels: Excludes content metering on page that matches labels
|
|
@@ -96,6 +93,11 @@ module.exports = (params = {}) => asyncRoute(async (req, res, next) => {
|
|
|
96
93
|
|
|
97
94
|
if (!enabled) return next();
|
|
98
95
|
|
|
96
|
+
// The progressive-profile gate claimed this request: exactly one gate owns a page, so the
|
|
97
|
+
// meter stands down entirely — it must not burn a view, write its cookie, or render its
|
|
98
|
+
// overlay under content the progressive gate is already truncating.
|
|
99
|
+
if (get(res, 'locals.progressiveProfileState.displayGate')) return next();
|
|
100
|
+
|
|
99
101
|
if (!identityX) {
|
|
100
102
|
error('IdentityX middleware must be loaded before content metering middleware!');
|
|
101
103
|
return next();
|