@mjhls/mjh-framework 1.0.603 → 1.0.604-hamMagazine-v6

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.
Files changed (119) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/ADFloatingFooter.js +3 -3
  4. package/dist/cjs/AccordionPanel.js +1 -1
  5. package/dist/cjs/ArticleQueue.js +3 -3
  6. package/dist/cjs/Auth.js +12 -12
  7. package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-c2168db0.js} +1 -1
  8. package/dist/cjs/ConferenceArticleCard.js +16 -16
  9. package/dist/cjs/DeckContent.js +9 -9
  10. package/dist/cjs/DeckQueue.js +1 -1
  11. package/dist/cjs/EventsDeck.js +17 -17
  12. package/dist/cjs/ExternalResources.js +3 -3
  13. package/dist/cjs/Feature.js +1 -1
  14. package/dist/cjs/ForbesHero.js +1 -1
  15. package/dist/cjs/GridContent.js +2 -2
  16. package/dist/cjs/GridHero.js +1 -1
  17. package/dist/cjs/GroupDeck.js +5 -5
  18. package/dist/cjs/HamMagazine.js +215 -32
  19. package/dist/cjs/Hero.js +1 -1
  20. package/dist/cjs/HorizontalHero.js +1 -1
  21. package/dist/cjs/IssueContentDeck.js +1 -1
  22. package/dist/cjs/IssueDeck.js +1 -1
  23. package/dist/cjs/IssueLanding.js +31 -31
  24. package/dist/cjs/KMTracker.js +15 -15
  25. package/dist/cjs/MasterDeck.js +10 -10
  26. package/dist/cjs/NavMagazine.js +13 -14
  27. package/dist/cjs/NavNative.js +11 -12
  28. package/dist/cjs/OncliveHero.js +1 -1
  29. package/dist/cjs/OncliveLargeHero.js +1 -1
  30. package/dist/cjs/PartnerDetailListing.js +6 -6
  31. package/dist/cjs/PublicationDeck.js +2 -2
  32. package/dist/cjs/PublicationLanding.js +33 -33
  33. package/dist/cjs/QueueDeckExpanded.js +2 -2
  34. package/dist/cjs/RecentNews.js +1 -1
  35. package/dist/cjs/RelatedContent.js +29 -29
  36. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  37. package/dist/cjs/SideFooter.js +2 -2
  38. package/dist/cjs/SocialShare.js +5 -3
  39. package/dist/cjs/TaxonomyCard.js +2 -2
  40. package/dist/cjs/TemplateNormal.js +2 -3
  41. package/dist/cjs/ThumbnailCard.js +1 -1
  42. package/dist/cjs/Ustream.js +1 -1
  43. package/dist/cjs/VerticalHero.js +1 -1
  44. package/dist/cjs/VideoSeriesListing.js +2 -2
  45. package/dist/cjs/View.js +39 -33
  46. package/dist/cjs/YahooHero.js +1 -1
  47. package/dist/cjs/YoutubeGroup.js +5 -5
  48. package/dist/cjs/getRelatedArticle.js +5 -354
  49. package/dist/cjs/getSerializers.js +3 -3
  50. package/dist/cjs/{getTargeting-5db63100.js → getTargeting-5a0b8ee4.js} +11 -11
  51. package/dist/cjs/getTargeting.js +1 -1
  52. package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
  53. package/dist/cjs/{index-f745a50a.js → index-af999dce.js} +448 -436
  54. package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-876ca9ff.js} +0 -5
  55. package/dist/cjs/{SocialNavFooter-9a07520f.js → index.esm-d1259b34.js} +8 -0
  56. package/dist/cjs/index.js +11 -11
  57. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  58. package/dist/cjs/urlFor.js +2 -2
  59. package/dist/esm/ADFloatingFooter.js +3 -3
  60. package/dist/esm/AccordionPanel.js +1 -1
  61. package/dist/esm/ArticleQueue.js +3 -3
  62. package/dist/esm/Auth.js +8 -8
  63. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c409aca5.js} +1 -1
  64. package/dist/esm/ConferenceArticleCard.js +16 -16
  65. package/dist/esm/DeckContent.js +9 -9
  66. package/dist/esm/DeckQueue.js +1 -1
  67. package/dist/esm/EventsDeck.js +17 -17
  68. package/dist/esm/ExternalResources.js +3 -3
  69. package/dist/esm/Feature.js +1 -1
  70. package/dist/esm/ForbesHero.js +1 -1
  71. package/dist/esm/GridContent.js +2 -2
  72. package/dist/esm/GridHero.js +1 -1
  73. package/dist/esm/GroupDeck.js +5 -5
  74. package/dist/esm/HamMagazine.js +214 -31
  75. package/dist/esm/Hero.js +1 -1
  76. package/dist/esm/HorizontalHero.js +1 -1
  77. package/dist/esm/IssueContentDeck.js +1 -1
  78. package/dist/esm/IssueDeck.js +1 -1
  79. package/dist/esm/IssueLanding.js +31 -31
  80. package/dist/esm/KMTracker.js +15 -15
  81. package/dist/esm/MasterDeck.js +10 -10
  82. package/dist/esm/NavMagazine.js +12 -13
  83. package/dist/esm/NavNative.js +10 -11
  84. package/dist/esm/OncliveHero.js +1 -1
  85. package/dist/esm/OncliveLargeHero.js +1 -1
  86. package/dist/esm/PartnerDetailListing.js +4 -4
  87. package/dist/esm/PublicationDeck.js +2 -2
  88. package/dist/esm/PublicationLanding.js +33 -33
  89. package/dist/esm/QueueDeckExpanded.js +2 -2
  90. package/dist/esm/RecentNews.js +1 -1
  91. package/dist/esm/RelatedContent.js +29 -29
  92. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  93. package/dist/esm/SideFooter.js +2 -2
  94. package/dist/esm/SocialShare.js +5 -3
  95. package/dist/esm/TaxonomyCard.js +2 -2
  96. package/dist/esm/TemplateNormal.js +2 -3
  97. package/dist/esm/ThumbnailCard.js +1 -1
  98. package/dist/esm/Ustream.js +1 -1
  99. package/dist/esm/VerticalHero.js +1 -1
  100. package/dist/esm/VideoSeriesListing.js +2 -2
  101. package/dist/esm/View.js +15 -9
  102. package/dist/esm/YahooHero.js +1 -1
  103. package/dist/esm/YoutubeGroup.js +5 -5
  104. package/dist/esm/getRelatedArticle.js +5 -354
  105. package/dist/esm/getSerializers.js +3 -3
  106. package/dist/esm/{getTargeting-36bcd238.js → getTargeting-962c9cf6.js} +9 -9
  107. package/dist/esm/getTargeting.js +1 -1
  108. package/dist/esm/{index-599efdf0.js → index-1c791baf.js} +448 -436
  109. package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
  110. package/dist/esm/{SocialNavFooter-4fb16720.js → index.esm-73e847d2.js} +8 -1
  111. package/dist/esm/{index.esm-4b1d94b7.js → index.esm-85cb09e6.js} +1 -5
  112. package/dist/esm/index.js +10 -10
  113. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  114. package/dist/esm/urlFor.js +2 -2
  115. package/package.json +107 -107
  116. package/dist/cjs/index-bd6c9f56.js +0 -211
  117. package/dist/cjs/index.esm-0e5c6a9e.js +0 -11
  118. package/dist/esm/index-db3bb315.js +0 -207
  119. package/dist/esm/index.esm-16536e81.js +0 -9
@@ -1,4 +1,4 @@
1
- import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-b01e8612.js';
3
3
  import './core.get-iterator-method-66cf57ee.js';
4
4
  import './_library-528f1934.js';
@@ -6,358 +6,9 @@ import './_iter-detect-70af34ea.js';
6
6
  import './web.dom.iterable-5c830d3d.js';
7
7
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-d25aac66.js';
8
8
  import './_set-species-75f77d40.js';
9
- import { c as cookie } from './index-db3bb315.js';
9
+ import { parseCookies, setCookie } from 'nookies';
10
10
  import getQuery from './getQuery.js';
11
11
 
12
- var defaultParseOptions = {
13
- decodeValues: true,
14
- map: false,
15
- silent: false,
16
- };
17
-
18
- function isNonEmptyString(str) {
19
- return typeof str === "string" && !!str.trim();
20
- }
21
-
22
- function parseString(setCookieValue, options) {
23
- var parts = setCookieValue.split(";").filter(isNonEmptyString);
24
- var nameValue = parts.shift().split("=");
25
- var name = nameValue.shift();
26
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
27
-
28
- options = options
29
- ? Object.assign({}, defaultParseOptions, options)
30
- : defaultParseOptions;
31
-
32
- var cookie = {
33
- name: name, // grab everything before the first =
34
- value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
35
- };
36
-
37
- parts.forEach(function (part) {
38
- var sides = part.split("=");
39
- var key = sides.shift().trimLeft().toLowerCase();
40
- var value = sides.join("=");
41
- if (key === "expires") {
42
- cookie.expires = new Date(value);
43
- } else if (key === "max-age") {
44
- cookie.maxAge = parseInt(value, 10);
45
- } else if (key === "secure") {
46
- cookie.secure = true;
47
- } else if (key === "httponly") {
48
- cookie.httpOnly = true;
49
- } else if (key === "samesite") {
50
- cookie.sameSite = value;
51
- } else {
52
- cookie[key] = value;
53
- }
54
- });
55
-
56
- return cookie;
57
- }
58
-
59
- function parse(input, options) {
60
- options = options
61
- ? Object.assign({}, defaultParseOptions, options)
62
- : defaultParseOptions;
63
-
64
- if (!input) {
65
- if (!options.map) {
66
- return [];
67
- } else {
68
- return {};
69
- }
70
- }
71
-
72
- if (input.headers && input.headers["set-cookie"]) {
73
- // fast-path for node.js (which automatically normalizes header names to lower-case
74
- input = input.headers["set-cookie"];
75
- } else if (input.headers) {
76
- // slow-path for other environments - see #25
77
- var sch =
78
- input.headers[
79
- Object.keys(input.headers).find(function (key) {
80
- return key.toLowerCase() === "set-cookie";
81
- })
82
- ];
83
- // warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
84
- if (!sch && input.headers.cookie && !options.silent) {
85
- console.warn(
86
- "Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
87
- );
88
- }
89
- input = sch;
90
- }
91
- if (!Array.isArray(input)) {
92
- input = [input];
93
- }
94
-
95
- options = options
96
- ? Object.assign({}, defaultParseOptions, options)
97
- : defaultParseOptions;
98
-
99
- if (!options.map) {
100
- return input.filter(isNonEmptyString).map(function (str) {
101
- return parseString(str, options);
102
- });
103
- } else {
104
- var cookies = {};
105
- return input.filter(isNonEmptyString).reduce(function (cookies, str) {
106
- var cookie = parseString(str, options);
107
- cookies[cookie.name] = cookie;
108
- return cookies;
109
- }, cookies);
110
- }
111
- }
112
-
113
- /*
114
- Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
115
- that are within a single set-cookie field-value, such as in the Expires portion.
116
-
117
- This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
118
- Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
119
- React Native's fetch does this for *every* header, including set-cookie.
120
-
121
- Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
122
- Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
123
- */
124
- function splitCookiesString(cookiesString) {
125
- if (Array.isArray(cookiesString)) {
126
- return cookiesString;
127
- }
128
- if (typeof cookiesString !== "string") {
129
- return [];
130
- }
131
-
132
- var cookiesStrings = [];
133
- var pos = 0;
134
- var start;
135
- var ch;
136
- var lastComma;
137
- var nextStart;
138
- var cookiesSeparatorFound;
139
-
140
- function skipWhitespace() {
141
- while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
142
- pos += 1;
143
- }
144
- return pos < cookiesString.length;
145
- }
146
-
147
- function notSpecialChar() {
148
- ch = cookiesString.charAt(pos);
149
-
150
- return ch !== "=" && ch !== ";" && ch !== ",";
151
- }
152
-
153
- while (pos < cookiesString.length) {
154
- start = pos;
155
- cookiesSeparatorFound = false;
156
-
157
- while (skipWhitespace()) {
158
- ch = cookiesString.charAt(pos);
159
- if (ch === ",") {
160
- // ',' is a cookie separator if we have later first '=', not ';' or ','
161
- lastComma = pos;
162
- pos += 1;
163
-
164
- skipWhitespace();
165
- nextStart = pos;
166
-
167
- while (pos < cookiesString.length && notSpecialChar()) {
168
- pos += 1;
169
- }
170
-
171
- // currently special character
172
- if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
173
- // we found cookies separator
174
- cookiesSeparatorFound = true;
175
- // pos is inside the next cookie, so back up and return it.
176
- pos = nextStart;
177
- cookiesStrings.push(cookiesString.substring(start, lastComma));
178
- start = pos;
179
- } else {
180
- // in param ',' or param separator ';',
181
- // we continue from that comma
182
- pos = lastComma + 1;
183
- }
184
- } else {
185
- pos += 1;
186
- }
187
- }
188
-
189
- if (!cookiesSeparatorFound || pos >= cookiesString.length) {
190
- cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
191
- }
192
- }
193
-
194
- return cookiesStrings;
195
- }
196
-
197
- var setCookie = parse;
198
- var parse_1 = parse;
199
- var parseString_1 = parseString;
200
- var splitCookiesString_1 = splitCookiesString;
201
- setCookie.parse = parse_1;
202
- setCookie.parseString = parseString_1;
203
- setCookie.splitCookiesString = splitCookiesString_1;
204
-
205
- var dist = createCommonjsModule(function (module, exports) {
206
- var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
207
- __assign = Object.assign || function(t) {
208
- for (var s, i = 1, n = arguments.length; i < n; i++) {
209
- s = arguments[i];
210
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
211
- t[p] = s[p];
212
- }
213
- return t;
214
- };
215
- return __assign.apply(this, arguments);
216
- };
217
- Object.defineProperty(exports, "__esModule", { value: true });
218
- exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
219
-
220
-
221
- var isBrowser = function () { return typeof window !== 'undefined'; };
222
- function hasSameProperties(a, b) {
223
- var aProps = Object.getOwnPropertyNames(a);
224
- var bProps = Object.getOwnPropertyNames(b);
225
- if (aProps.length !== bProps.length) {
226
- return false;
227
- }
228
- for (var i = 0; i < aProps.length; i++) {
229
- var propName = aProps[i];
230
- if (a[propName] !== b[propName]) {
231
- return false;
232
- }
233
- }
234
- return true;
235
- }
236
- /**
237
- * Compare the cookie and return true if the cookies has equivalent
238
- * options and the cookies would be overwritten in the browser storage.
239
- *
240
- * @param a first Cookie for comparison
241
- * @param b second Cookie for comparison
242
- */
243
- function areCookiesEqual(a, b) {
244
- var sameSiteSame = a.sameSite === b.sameSite;
245
- if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
246
- sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
247
- }
248
- return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
249
- }
250
- /**
251
- * Create an instance of the Cookie interface
252
- *
253
- * @param name name of the Cookie
254
- * @param value value of the Cookie
255
- * @param options Cookie options
256
- */
257
- function createCookie(name, value, options) {
258
- var sameSite = options.sameSite;
259
- if (sameSite === true) {
260
- sameSite = 'strict';
261
- }
262
- if (sameSite === undefined || sameSite === false) {
263
- sameSite = 'lax';
264
- }
265
- var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
266
- delete cookieToSet.encode;
267
- return __assign({ name: name, value: value }, cookieToSet);
268
- }
269
- /**
270
- *
271
- * Parses cookies.
272
- *
273
- * @param ctx
274
- * @param options
275
- */
276
- function parseCookies(ctx, options) {
277
- if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
278
- return cookie.parse(ctx.req.headers.cookie, options);
279
- }
280
- if (isBrowser()) {
281
- return cookie.parse(document.cookie, options);
282
- }
283
- return {};
284
- }
285
- exports.parseCookies = parseCookies;
286
- /**
287
- *
288
- * Sets a cookie.
289
- *
290
- * @param ctx
291
- * @param name
292
- * @param value
293
- * @param options
294
- */
295
- function setCookie$1(ctx, name, value, options) {
296
- if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
297
- var cookies = ctx.res.getHeader('Set-Cookie') || [];
298
- if (typeof cookies === 'string')
299
- cookies = [cookies];
300
- if (typeof cookies === 'number')
301
- cookies = [];
302
- var parsedCookies = setCookie.parse(cookies);
303
- var cookiesToSet_1 = [];
304
- parsedCookies.forEach(function (parsedCookie) {
305
- if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
306
- cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({ encode: function (val) { return val; } }, parsedCookie)));
307
- }
308
- });
309
- cookiesToSet_1.push(cookie.serialize(name, value, options));
310
- if (!ctx.res.finished) {
311
- ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
312
- }
313
- }
314
- if (isBrowser()) {
315
- if (options && options.httpOnly) {
316
- throw new Error('Can not set a httpOnly cookie in the browser.');
317
- }
318
- document.cookie = cookie.serialize(name, value, options);
319
- }
320
- return {};
321
- }
322
- exports.setCookie = setCookie$1;
323
- /**
324
- *
325
- * Destroys a cookie with a particular name.
326
- *
327
- * @param ctx
328
- * @param name
329
- * @param options
330
- */
331
- function destroyCookie(ctx, name, options) {
332
- var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
333
- if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
334
- var cookies = ctx.res.getHeader('Set-Cookie') || [];
335
- if (typeof cookies === 'string')
336
- cookies = [cookies];
337
- if (typeof cookies === 'number')
338
- cookies = [];
339
- cookies.push(cookie.serialize(name, '', opts));
340
- ctx.res.setHeader('Set-Cookie', cookies);
341
- }
342
- if (isBrowser()) {
343
- document.cookie = cookie.serialize(name, '', opts);
344
- }
345
- return {};
346
- }
347
- exports.destroyCookie = destroyCookie;
348
- exports.default = {
349
- set: setCookie$1,
350
- get: parseCookies,
351
- destroy: destroyCookie,
352
- };
353
-
354
- });
355
-
356
- unwrapExports(dist);
357
- var dist_1 = dist.destroyCookie;
358
- var dist_2 = dist.setCookie;
359
- var dist_3 = dist.parseCookies;
360
-
361
12
  var _this = undefined;
362
13
 
363
14
  var getRelatedArticle = function () {
@@ -410,13 +61,13 @@ var getRelatedArticle = function () {
410
61
  conditions = '';
411
62
 
412
63
  if (ctx && url) {
413
- cookies = dist_3(ctx);
64
+ cookies = parseCookies(ctx);
414
65
  prevSlugs = cookies['prevSlugs'];
415
66
 
416
67
  if (!!prevSlugs) {
417
- dist_2(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
68
+ setCookie(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
418
69
  conditions = '&& !(url.current in [' + prevSlugs + '])';
419
- } else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
70
+ } else setCookie(ctx, 'prevSlugs', '"' + url + '"', {});
420
71
  }
421
72
  relatedArticleQuery = getQuery('related', conditions, '', articleCount);
422
73
  _context.next = 12;
@@ -21,7 +21,7 @@ import 'next/router';
21
21
  import './isSymbol-47f5ff3b.js';
22
22
  import './debounce-a0d9abca.js';
23
23
  import 'react-dom';
24
- import './index-73819142.js';
24
+ import './index-3849e3fe.js';
25
25
  import './index-5f9f807a.js';
26
26
  import './main-d7ee6151.js';
27
27
  import './entities-7cc3bf45.js';
@@ -31,12 +31,12 @@ import './asyncToGenerator-d25aac66.js';
31
31
  import './_set-species-75f77d40.js';
32
32
  import './beam-c40d77ae.js';
33
33
  import './AdSlot.js';
34
- import './BlockContent-e9b4ddcf.js';
34
+ import './BlockContent-c409aca5.js';
35
35
  import './smoothscroll-4b699764.js';
36
36
  import './GroupDeck.js';
37
37
  import 'react-bootstrap';
38
38
  import 'react-bootstrap/Button';
39
- export { g as default } from './index-599efdf0.js';
39
+ export { g as default } from './index-1c791baf.js';
40
40
  import './util-7700fc59.js';
41
41
  import './brightcove-react-player-loader.es-83f53e4e.js';
42
42
  import 'react-bootstrap/Pagination';
@@ -2,18 +2,18 @@ import { _ as _toConsumableArray } from './toConsumableArray-2efd7c98.js';
2
2
  import { _ as _extends } from './extends-229166d5.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + cp.path;
14
+ cp_url += (cp_url === '' ? '' : '/') + cp.path;
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -5,4 +5,4 @@ import './_iter-detect-70af34ea.js';
5
5
  import './toConsumableArray-2efd7c98.js';
6
6
  import './_object-pie-33c40e79.js';
7
7
  import './extends-229166d5.js';
8
- export { g as default } from './getTargeting-36bcd238.js';
8
+ export { g as default } from './getTargeting-962c9cf6.js';