@quintype/arrow 3.15.1-perf.3 → 3.15.1-perf.7

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 (611) hide show
  1. package/cjs/index.js +14589 -0
  2. package/esm/components/Atoms/AdPlaceholder/ads.m.css +13 -0
  3. package/esm/components/Atoms/AdPlaceholder/index.js +28 -0
  4. package/esm/components/Atoms/Author/README.md +19 -0
  5. package/esm/components/Atoms/Author/author.m.css +65 -0
  6. package/esm/components/Atoms/Author/index.js +109 -0
  7. package/esm/components/Atoms/Author/stories.js +28 -0
  8. package/esm/components/Atoms/AuthorCard/README.md +47 -0
  9. package/esm/components/Atoms/AuthorCard/author-card.m.css +174 -0
  10. package/esm/components/Atoms/AuthorCard/author-card.test.js +93 -0
  11. package/esm/components/Atoms/AuthorCard/index.js +133 -0
  12. package/esm/components/Atoms/AuthorCard/stories.js +68 -0
  13. package/esm/components/Atoms/AuthorImage/README.md +31 -0
  14. package/esm/components/Atoms/AuthorImage/author-image.m.css +53 -0
  15. package/esm/components/Atoms/AuthorImage/index.js +69 -0
  16. package/esm/components/Atoms/AuthorImage/stories.js +26 -0
  17. package/esm/components/Atoms/AuthorWithTimestamp/README.md +12 -0
  18. package/esm/components/Atoms/AuthorWithTimestamp/author-with-timestamp.m.css +42 -0
  19. package/esm/components/Atoms/AuthorWithTimestamp/index.js +95 -0
  20. package/esm/components/Atoms/AuthorWithTimestamp/stories.js +22 -0
  21. package/esm/components/Atoms/BulletPoint/README.md +9 -0
  22. package/esm/components/Atoms/BulletPoint/bullet-point.m.css +14 -0
  23. package/esm/components/Atoms/BulletPoint/index.js +27 -0
  24. package/esm/components/Atoms/BulletPoint/stories.js +9 -0
  25. package/esm/components/Atoms/CaptionAttribution/README.md +15 -0
  26. package/esm/components/Atoms/CaptionAttribution/caption-attribution.m.css +40 -0
  27. package/esm/components/Atoms/CaptionAttribution/caption-attribution.test.js +50 -0
  28. package/esm/components/Atoms/CaptionAttribution/index.js +66 -0
  29. package/esm/components/Atoms/CaptionAttribution/stories.js +47 -0
  30. package/esm/components/Atoms/CollectionName/README.md +11 -0
  31. package/esm/components/Atoms/CollectionName/collection-name.m.css +94 -0
  32. package/esm/components/Atoms/CollectionName/index.js +152 -0
  33. package/esm/components/Atoms/CollectionName/stories.js +41 -0
  34. package/esm/components/Atoms/Divider/__snapshots__/divider.test.js.snap +18 -0
  35. package/esm/components/Atoms/Divider/divider.m.css +6 -0
  36. package/esm/components/Atoms/Divider/divider.test.js +9 -0
  37. package/esm/components/Atoms/Divider/index.js +34 -0
  38. package/esm/components/Atoms/Dot/dot.js +39 -0
  39. package/esm/components/Atoms/Dot/dot.m.css +6 -0
  40. package/esm/components/Atoms/ExtendedLoadMore/README.md +9 -0
  41. package/esm/components/Atoms/ExtendedLoadMore/__snapshots__/extended-load-more.test.js.snap +11 -0
  42. package/esm/components/Atoms/ExtendedLoadMore/extended-load-more.test.js +14 -0
  43. package/esm/components/Atoms/ExtendedLoadMore/index.js +183 -0
  44. package/esm/components/Atoms/FallbackImage/fallback.m.css +33 -0
  45. package/esm/components/Atoms/FallbackImage/index.js +29 -0
  46. package/esm/components/Atoms/Headline/README.md +7 -0
  47. package/esm/components/Atoms/Headline/headline.m.css +26 -0
  48. package/esm/components/Atoms/Headline/index.js +97 -0
  49. package/esm/components/Atoms/Headline/stories.js +39 -0
  50. package/esm/components/Atoms/HeroImage/README.md +13 -0
  51. package/esm/components/Atoms/HeroImage/hero-image.m.css +72 -0
  52. package/esm/components/Atoms/HeroImage/index.js +175 -0
  53. package/esm/components/Atoms/HeroImage/stories.js +23 -0
  54. package/esm/components/Atoms/Hyperlink/hyperlink.m.css +10 -0
  55. package/esm/components/Atoms/Hyperlink/index.js +20 -0
  56. package/esm/components/Atoms/LoadMoreTarget/index.js +24 -0
  57. package/esm/components/Atoms/Loadmore/README.md +0 -0
  58. package/esm/components/Atoms/Loadmore/__snapshots__/load-more.test.js.snap +25 -0
  59. package/esm/components/Atoms/Loadmore/index.js +61 -0
  60. package/esm/components/Atoms/Loadmore/load-more.m.css +23 -0
  61. package/esm/components/Atoms/Loadmore/load-more.test.js +26 -0
  62. package/esm/components/Atoms/Loadmore/stories.js +17 -0
  63. package/esm/components/Atoms/MagazineCoverImage/README.md +21 -0
  64. package/esm/components/Atoms/MagazineCoverImage/index.js +58 -0
  65. package/esm/components/Atoms/MagazineCoverImage/magazine-cover-image.m.css +24 -0
  66. package/esm/components/Atoms/MagazineCoverImage/stories.js +22 -0
  67. package/esm/components/Atoms/PremiumStoryIcon/index.js +54 -0
  68. package/esm/components/Atoms/PublishDetail/README.md +15 -0
  69. package/esm/components/Atoms/PublishDetail/index.js +104 -0
  70. package/esm/components/Atoms/PublishDetail/publish-details.m.css +47 -0
  71. package/esm/components/Atoms/PublishDetail/publish-details.test.js +38 -0
  72. package/esm/components/Atoms/PublishDetail/stories.js +20 -0
  73. package/esm/components/Atoms/ReadTime/README.md +13 -0
  74. package/esm/components/Atoms/ReadTime/index.js +46 -0
  75. package/esm/components/Atoms/ReadTime/read-time.m.css +25 -0
  76. package/esm/components/Atoms/ReadTime/read-time.test.js +29 -0
  77. package/esm/components/Atoms/ReadTime/stories.js +15 -0
  78. package/esm/components/Atoms/ScrollSnap/SliderArrow/index.js +64 -0
  79. package/esm/components/Atoms/ScrollSnap/SliderArrow/slider-arrow.m.css +45 -0
  80. package/esm/components/Atoms/ScrollSnap/SliderIndicator/index.js +53 -0
  81. package/esm/components/Atoms/ScrollSnap/SliderIndicator/slider-indicator.m.css +71 -0
  82. package/esm/components/Atoms/ScrollSnap/index.js +165 -0
  83. package/esm/components/Atoms/ScrollSnap/scroll-snap.m.css +27 -0
  84. package/esm/components/Atoms/SectionTag/README.md +11 -0
  85. package/esm/components/Atoms/SectionTag/index.js +79 -0
  86. package/esm/components/Atoms/SectionTag/section.m.css +53 -0
  87. package/esm/components/Atoms/SectionTag/stories.js +22 -0
  88. package/esm/components/Atoms/SocialSharePopup/README.md +25 -0
  89. package/esm/components/Atoms/SocialSharePopup/__snapshots__/social-share-popup.test.js.snap +653 -0
  90. package/esm/components/Atoms/SocialSharePopup/index.js +100 -0
  91. package/esm/components/Atoms/SocialSharePopup/social-share-popup.m.css +109 -0
  92. package/esm/components/Atoms/SocialSharePopup/social-share-popup.test.js +87 -0
  93. package/esm/components/Atoms/SocialSharePopup/stories.js +18 -0
  94. package/esm/components/Atoms/StoryElements/AlsoRead/README.md +49 -0
  95. package/esm/components/Atoms/StoryElements/AlsoRead/also-read.m.css +135 -0
  96. package/esm/components/Atoms/StoryElements/AlsoRead/also-read.test.js +97 -0
  97. package/esm/components/Atoms/StoryElements/AlsoRead/index.js +156 -0
  98. package/esm/components/Atoms/StoryElements/AlsoRead/stories.js +47 -0
  99. package/esm/components/Atoms/StoryElements/Attachment/README.md +21 -0
  100. package/esm/components/Atoms/StoryElements/Attachment/__snapshots__/attachment.test.js.snap +47 -0
  101. package/esm/components/Atoms/StoryElements/Attachment/attachment.m.css +125 -0
  102. package/esm/components/Atoms/StoryElements/Attachment/attachment.test.js +66 -0
  103. package/esm/components/Atoms/StoryElements/Attachment/index.js +86 -0
  104. package/esm/components/Atoms/StoryElements/Attachment/stories.js +62 -0
  105. package/esm/components/Atoms/StoryElements/BigFact/README.md +9 -0
  106. package/esm/components/Atoms/StoryElements/BigFact/big-fact.m.css +41 -0
  107. package/esm/components/Atoms/StoryElements/BigFact/big-fact.test.js +28 -0
  108. package/esm/components/Atoms/StoryElements/BigFact/index.js +56 -0
  109. package/esm/components/Atoms/StoryElements/BigFact/stories.js +11 -0
  110. package/esm/components/Atoms/StoryElements/BlockQuote/README.md +49 -0
  111. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/curve.js +32 -0
  112. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/edge.js +32 -0
  113. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/icon.m.css +4 -0
  114. package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.m.css +161 -0
  115. package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.test.js +71 -0
  116. package/esm/components/Atoms/StoryElements/BlockQuote/index.js +154 -0
  117. package/esm/components/Atoms/StoryElements/BlockQuote/stories.js +42 -0
  118. package/esm/components/Atoms/StoryElements/Blurb/README.md +43 -0
  119. package/esm/components/Atoms/StoryElements/Blurb/blurb.m.css +55 -0
  120. package/esm/components/Atoms/StoryElements/Blurb/blurb.test.js +76 -0
  121. package/esm/components/Atoms/StoryElements/Blurb/index.js +96 -0
  122. package/esm/components/Atoms/StoryElements/Blurb/stories.js +38 -0
  123. package/esm/components/Atoms/StoryElements/Image/README.md +13 -0
  124. package/esm/components/Atoms/StoryElements/Image/image.m.css +21 -0
  125. package/esm/components/Atoms/StoryElements/Image/image.test.js +19 -0
  126. package/esm/components/Atoms/StoryElements/Image/index.js +87 -0
  127. package/esm/components/Atoms/StoryElements/Image/stories.js +28 -0
  128. package/esm/components/Atoms/StoryElements/ImageSlideshow/README.md +13 -0
  129. package/esm/components/Atoms/StoryElements/ImageSlideshow/image-slideshow.m.css +49 -0
  130. package/esm/components/Atoms/StoryElements/ImageSlideshow/index.js +82 -0
  131. package/esm/components/Atoms/StoryElements/ImageSlideshow/stories.js +31 -0
  132. package/esm/components/Atoms/StoryElements/QuestionAnswer/README.md +56 -0
  133. package/esm/components/Atoms/StoryElements/QuestionAnswer/index.js +176 -0
  134. package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.m.css +106 -0
  135. package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.test.js +130 -0
  136. package/esm/components/Atoms/StoryElements/QuestionAnswer/stories.js +102 -0
  137. package/esm/components/Atoms/StoryElements/Quote/README.md +41 -0
  138. package/esm/components/Atoms/StoryElements/Quote/index.js +87 -0
  139. package/esm/components/Atoms/StoryElements/Quote/quote.m.css +111 -0
  140. package/esm/components/Atoms/StoryElements/Quote/quote.test.js +61 -0
  141. package/esm/components/Atoms/StoryElements/Quote/stories.js +39 -0
  142. package/esm/components/Atoms/StoryElements/Reference/README.md +9 -0
  143. package/esm/components/Atoms/StoryElements/Reference/index.js +80 -0
  144. package/esm/components/Atoms/StoryElements/Reference/reference.m.css +42 -0
  145. package/esm/components/Atoms/StoryElements/Reference/reference.test.js +38 -0
  146. package/esm/components/Atoms/StoryElements/Reference/stories.js +16 -0
  147. package/esm/components/Atoms/StoryElements/StoryElement/README.md +10 -0
  148. package/esm/components/Atoms/StoryElements/StoryElement/index.js +30 -0
  149. package/esm/components/Atoms/StoryElements/StoryElement/stories.js +17 -0
  150. package/esm/components/Atoms/StoryElements/StoryElement/storyelement.test.js +14 -0
  151. package/esm/components/Atoms/StoryElements/Summary/README.md +56 -0
  152. package/esm/components/Atoms/StoryElements/Summary/index.js +98 -0
  153. package/esm/components/Atoms/StoryElements/Summary/stories.js +41 -0
  154. package/esm/components/Atoms/StoryElements/Summary/summary.m.css +121 -0
  155. package/esm/components/Atoms/StoryElements/Summary/summary.test.js +83 -0
  156. package/esm/components/Atoms/StoryElements/Text/README.md +32 -0
  157. package/esm/components/Atoms/StoryElements/Text/index.js +74 -0
  158. package/esm/components/Atoms/StoryElements/Text/stories.js +56 -0
  159. package/esm/components/Atoms/StoryElements/Text/text.m.css +78 -0
  160. package/esm/components/Atoms/StoryElements/Text/text.test.js +70 -0
  161. package/esm/components/Atoms/StoryElements/Video/README.md +9 -0
  162. package/esm/components/Atoms/StoryElements/Video/index.js +37 -0
  163. package/esm/components/Atoms/StoryElements/Video/stories.js +29 -0
  164. package/esm/components/Atoms/StoryElements/Video/video.m.css +89 -0
  165. package/esm/components/Atoms/StoryElements/Video/video.test.js +14 -0
  166. package/esm/components/Atoms/StoryElements/imageGallery/README.md +18 -0
  167. package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.m.css +52 -0
  168. package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.test.js +17 -0
  169. package/esm/components/Atoms/StoryElements/imageGallery/index.js +112 -0
  170. package/esm/components/Atoms/StoryElements/imageGallery/stories.js +22 -0
  171. package/esm/components/Atoms/StoryElements/withElementWrapper.js +21 -0
  172. package/esm/components/Atoms/StoryElements/withElementWrapper.test.js +49 -0
  173. package/esm/components/Atoms/StoryHeadline/index.js +57 -0
  174. package/esm/components/Atoms/StoryHeadline/story-headline.m.css +36 -0
  175. package/esm/components/Atoms/StoryTags/README.md +9 -0
  176. package/esm/components/Atoms/StoryTags/index.js +47 -0
  177. package/esm/components/Atoms/StoryTags/stories.js +23 -0
  178. package/esm/components/Atoms/StoryTags/story-tags.test.js +16 -0
  179. package/esm/components/Atoms/StoryTags/tags.m.css +34 -0
  180. package/esm/components/Atoms/Subheadline/README.md +17 -0
  181. package/esm/components/Atoms/Subheadline/index.js +52 -0
  182. package/esm/components/Atoms/Subheadline/stories.js +21 -0
  183. package/esm/components/Atoms/Subheadline/subheadline.m.css +17 -0
  184. package/esm/components/Atoms/TimeStamp/README.md +9 -0
  185. package/esm/components/Atoms/TimeStamp/index.js +39 -0
  186. package/esm/components/Atoms/TimeStamp/stories.js +11 -0
  187. package/esm/components/Atoms/TimeStamp/timestamp.m.css +22 -0
  188. package/esm/components/Fixture/config.json +2703 -0
  189. package/esm/components/Fixture/dummy-collection.js +2547 -0
  190. package/esm/components/Fixture/dummyStory.js +2089 -0
  191. package/esm/components/Fixture/index.js +433 -0
  192. package/esm/components/Fixture/slot-config.js +26 -0
  193. package/esm/components/Molecules/FullScreenImages/fullscreenimages.scss +56 -0
  194. package/esm/components/Molecules/FullScreenImages/index.js +119 -0
  195. package/esm/components/Molecules/KeyEvents/README.md +21 -0
  196. package/esm/components/Molecules/KeyEvents/index.js +152 -0
  197. package/esm/components/Molecules/KeyEvents/key-events.m.css +89 -0
  198. package/esm/components/Molecules/KeyEvents/stories.js +25 -0
  199. package/esm/components/Molecules/PageIntroductionCard/README.md +25 -0
  200. package/esm/components/Molecules/PageIntroductionCard/index.js +77 -0
  201. package/esm/components/Molecules/PageIntroductionCard/page-intro-card.m.css +61 -0
  202. package/esm/components/Molecules/PageIntroductionCard/stories.js +17 -0
  203. package/esm/components/Molecules/PortraitStoryCard/README.md +10 -0
  204. package/esm/components/Molecules/PortraitStoryCard/index.js +52 -0
  205. package/esm/components/Molecules/PortraitStoryCard/portrait-story-card.m.css +38 -0
  206. package/esm/components/Molecules/PortraitStoryCard/stories.js +24 -0
  207. package/esm/components/Molecules/SliderHorizontalCard/README.md +14 -0
  208. package/esm/components/Molecules/SliderHorizontalCard/index.js +69 -0
  209. package/esm/components/Molecules/SliderHorizontalCard/slider-horizontal-card.m.css +42 -0
  210. package/esm/components/Molecules/SliderHorizontalCard/stories.js +27 -0
  211. package/esm/components/Molecules/SocialShareTemplate/README.md +118 -0
  212. package/esm/components/Molecules/SocialShareTemplate/__snapshots__/social-share-template.test.js.snap +738 -0
  213. package/esm/components/Molecules/SocialShareTemplate/index.js +164 -0
  214. package/esm/components/Molecules/SocialShareTemplate/social-share-data.js +90 -0
  215. package/esm/components/Molecules/SocialShareTemplate/social-share-template.m.css +174 -0
  216. package/esm/components/Molecules/SocialShareTemplate/social-share-template.test.js +108 -0
  217. package/esm/components/Molecules/SocialShareTemplate/stories.js +38 -0
  218. package/esm/components/Molecules/StoryCard/README.md +75 -0
  219. package/esm/components/Molecules/StoryCard/READMEBGIMAGE.md +25 -0
  220. package/esm/components/Molecules/StoryCard/READMEBORDER.md +61 -0
  221. package/esm/components/Molecules/StoryCard/index.js +200 -0
  222. package/esm/components/Molecules/StoryCard/stories.js +274 -0
  223. package/esm/components/Molecules/StoryCard/storycard.m.css +158 -0
  224. package/esm/components/Molecules/StoryCardWithBulletPoint/README.md +9 -0
  225. package/esm/components/Molecules/StoryCardWithBulletPoint/index.js +43 -0
  226. package/esm/components/Molecules/StoryCardWithBulletPoint/stories.js +28 -0
  227. package/esm/components/Molecules/StoryCardWithBulletPoint/story-card-with-bullet-point.m.css +7 -0
  228. package/esm/components/Molecules/StoryElementCard/README.md +9 -0
  229. package/esm/components/Molecules/StoryElementCard/index.js +494 -0
  230. package/esm/components/Molecules/StoryElementCard/stories.js +25 -0
  231. package/esm/components/Molecules/StoryElementCard/story-element-card.m.css +78 -0
  232. package/esm/components/Molecules/StorycardContent/README.md +34 -0
  233. package/esm/components/Molecules/StorycardContent/index.js +86 -0
  234. package/esm/components/Molecules/StorycardContent/stories.js +45 -0
  235. package/esm/components/Molecules/StorycardContent/storycardContent.m.css +21 -0
  236. package/esm/components/Rows/AlternateCollectionFilter/README.md +38 -0
  237. package/esm/components/Rows/AlternateCollectionFilter/alternate-collection-filter.m.css +254 -0
  238. package/esm/components/Rows/AlternateCollectionFilter/index.js +288 -0
  239. package/esm/components/Rows/AlternateCollectionFilter/stories.js +68 -0
  240. package/esm/components/Rows/AsideCollection/README.md +27 -0
  241. package/esm/components/Rows/AsideCollection/aside-collection.m.css +103 -0
  242. package/esm/components/Rows/AsideCollection/aside-collection.test.js +32 -0
  243. package/esm/components/Rows/AsideCollection/index.js +253 -0
  244. package/esm/components/Rows/AsideCollection/stories.js +48 -0
  245. package/esm/components/Rows/AstrologyCollection/README.md +40 -0
  246. package/esm/components/Rows/AstrologyCollection/astrology-collection.m.css +165 -0
  247. package/esm/components/Rows/AstrologyCollection/index.js +272 -0
  248. package/esm/components/Rows/AstrologyCollection/stories.js +61 -0
  249. package/esm/components/Rows/AuthorIntroductionCard/README.md +43 -0
  250. package/esm/components/Rows/AuthorIntroductionCard/author-intro.m.css +278 -0
  251. package/esm/components/Rows/AuthorIntroductionCard/author-intro.test.js +148 -0
  252. package/esm/components/Rows/AuthorIntroductionCard/index.js +157 -0
  253. package/esm/components/Rows/AuthorIntroductionCard/stories.js +46 -0
  254. package/esm/components/Rows/AuthorsList/README.md +24 -0
  255. package/esm/components/Rows/AuthorsList/author-list.test.js +66 -0
  256. package/esm/components/Rows/AuthorsList/authors-list.m.css +22 -0
  257. package/esm/components/Rows/AuthorsList/index.js +64 -0
  258. package/esm/components/Rows/AuthorsList/stories.js +62 -0
  259. package/esm/components/Rows/CollectionFilter/README.md +39 -0
  260. package/esm/components/Rows/CollectionFilter/collection-filter.m.css +213 -0
  261. package/esm/components/Rows/CollectionFilter/index.js +366 -0
  262. package/esm/components/Rows/CollectionFilter/stories.js +78 -0
  263. package/esm/components/Rows/ElevenStories/11-stories.m.css +85 -0
  264. package/esm/components/Rows/ElevenStories/README.md +39 -0
  265. package/esm/components/Rows/ElevenStories/index.js +418 -0
  266. package/esm/components/Rows/ElevenStories/stories.js +71 -0
  267. package/esm/components/Rows/FourColFiveStories/README.md +37 -0
  268. package/esm/components/Rows/FourColFiveStories/four-col-five-stories.m.css +112 -0
  269. package/{atoms/ExtendedLoadMore/index-3976fac4.js → esm/components/Rows/FourColFiveStories/index.js} +54 -64
  270. package/esm/components/Rows/FourColFiveStories/stories.js +67 -0
  271. package/esm/components/Rows/FourColGrid/README.md +39 -0
  272. package/esm/components/Rows/FourColGrid/four-col.m.css +50 -0
  273. package/{atoms/ExtendedLoadMore/index-bc129cb8.js → esm/components/Rows/FourColGrid/index.js} +52 -59
  274. package/esm/components/Rows/FourColGrid/stories.js +68 -0
  275. package/esm/components/Rows/FourColPortraitStories/README.md +38 -0
  276. package/esm/components/Rows/FourColPortraitStories/four-col-portrait-stories.m.css +45 -0
  277. package/esm/components/Rows/FourColPortraitStories/index.js +153 -0
  278. package/esm/components/Rows/FourColPortraitStories/stories.js +68 -0
  279. package/esm/components/Rows/FourColSixteenStories/README.md +35 -0
  280. package/esm/components/Rows/FourColSixteenStories/four-col-sixteen-stories.m.css +141 -0
  281. package/esm/components/Rows/FourColSixteenStories/index.js +157 -0
  282. package/esm/components/Rows/FourColSixteenStories/stories.js +43 -0
  283. package/esm/components/Rows/FourColTwelveStory/README.md +39 -0
  284. package/esm/components/Rows/FourColTwelveStory/four-col-twelve-story.m.css +71 -0
  285. package/esm/components/Rows/FourColTwelveStory/index.js +219 -0
  286. package/esm/components/Rows/FourColTwelveStory/stories.js +107 -0
  287. package/esm/components/Rows/FourStorySlider/README.md +45 -0
  288. package/esm/components/Rows/FourStorySlider/four-story-slider.m.css +78 -0
  289. package/esm/components/Rows/FourStorySlider/index.js +145 -0
  290. package/esm/components/Rows/FourStorySlider/stories.js +125 -0
  291. package/esm/components/Rows/FourStorySliderPortrait/README.md +45 -0
  292. package/esm/components/Rows/FourStorySliderPortrait/four-story-slider-portrait.m.css +221 -0
  293. package/esm/components/Rows/FourStorySliderPortrait/index.js +148 -0
  294. package/esm/components/Rows/FourStorySliderPortrait/stories.js +125 -0
  295. package/esm/components/Rows/FourTabbedBigStorySlider/README.md +39 -0
  296. package/esm/components/Rows/FourTabbedBigStorySlider/four-tabbed-big-story-slider.m.css +265 -0
  297. package/esm/components/Rows/FourTabbedBigStorySlider/index.js +221 -0
  298. package/esm/components/Rows/FourTabbedBigStorySlider/stories.js +59 -0
  299. package/esm/components/Rows/FullScreenSlider/README.md +46 -0
  300. package/esm/components/Rows/FullScreenSlider/full-screen-slider.m.css +155 -0
  301. package/esm/components/Rows/FullScreenSlider/index.js +140 -0
  302. package/esm/components/Rows/FullScreenSlider/stories.js +113 -0
  303. package/esm/components/Rows/HalfScreenSlider/README.md +43 -0
  304. package/esm/components/Rows/HalfScreenSlider/half-screen-slider.m.css +80 -0
  305. package/esm/components/Rows/HalfScreenSlider/index.js +124 -0
  306. package/esm/components/Rows/HalfScreenSlider/stories.js +118 -0
  307. package/esm/components/Rows/ListComponent/README.md +48 -0
  308. package/esm/components/Rows/ListComponent/index.js +176 -0
  309. package/esm/components/Rows/ListComponent/list-component.m.css +65 -0
  310. package/esm/components/Rows/ListComponent/stories.js +65 -0
  311. package/esm/components/Rows/Listicles/README.md +32 -0
  312. package/esm/components/Rows/Listicles/index.js +240 -0
  313. package/esm/components/Rows/Listicles/listicles.m.css +149 -0
  314. package/esm/components/Rows/Listicles/stories.js +53 -0
  315. package/esm/components/Rows/MagazineEditions/README.md +21 -0
  316. package/esm/components/Rows/MagazineEditions/index.js +123 -0
  317. package/esm/components/Rows/MagazineEditions/magazine-editions.m.css +50 -0
  318. package/esm/components/Rows/MagazineEditions/magazine-editions.test.js +30 -0
  319. package/esm/components/Rows/MagazineEditions/stories.js +41 -0
  320. package/esm/components/Rows/MagazineHeaderCard/README.md +21 -0
  321. package/esm/components/Rows/MagazineHeaderCard/index.js +117 -0
  322. package/esm/components/Rows/MagazineHeaderCard/magazine-cards.m.css +106 -0
  323. package/esm/components/Rows/MagazineHeaderCard/stories.js +34 -0
  324. package/esm/components/Rows/MagazineWidget/README.md +21 -0
  325. package/esm/components/Rows/MagazineWidget/index.js +177 -0
  326. package/esm/components/Rows/MagazineWidget/stories.js +40 -0
  327. package/esm/components/Rows/OneColStoryList/README.md +48 -0
  328. package/{atoms/ExtendedLoadMore/index-a5c95f84.js → esm/components/Rows/OneColStoryList/index.js} +69 -72
  329. package/esm/components/Rows/OneColStoryList/one-col-story-list.m.css +81 -0
  330. package/esm/components/Rows/OneColStoryList/stories.js +78 -0
  331. package/esm/components/Rows/OpinionCollection/README.md +36 -0
  332. package/esm/components/Rows/OpinionCollection/index.js +205 -0
  333. package/esm/components/Rows/OpinionCollection/opinion-collection.m.css +226 -0
  334. package/esm/components/Rows/OpinionCollection/stories.js +92 -0
  335. package/esm/components/Rows/SixColSixStories/README.md +37 -0
  336. package/{atoms/ExtendedLoadMore/index-6ecceae4.js → esm/components/Rows/SixColSixStories/index.js} +57 -61
  337. package/esm/components/Rows/SixColSixStories/six-col-six-stories.m.css +75 -0
  338. package/esm/components/Rows/SixColSixStories/stories.js +74 -0
  339. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/README.md +19 -0
  340. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/__snapshots__/listicle-story.test.js.snap +841 -0
  341. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/index.js +330 -0
  342. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.m.css +249 -0
  343. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.test.js +46 -0
  344. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/stories.js +119 -0
  345. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/README.md +25 -0
  346. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/index.js +97 -0
  347. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/live-blog.m.css +326 -0
  348. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/stories.js +118 -0
  349. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/templates.js +418 -0
  350. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/index.js +294 -0
  351. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo-story.test.js +163 -0
  352. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo.m.css +175 -0
  353. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/stories.js +124 -0
  354. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/README.md +49 -0
  355. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/index.js +100 -0
  356. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/stories.js +124 -0
  357. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/templates.js +285 -0
  358. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.m.css +449 -0
  359. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.test.js +242 -0
  360. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/README.md +31 -0
  361. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/index.js +239 -0
  362. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/stories.js +214 -0
  363. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/video-story.m.css +195 -0
  364. package/esm/components/Rows/TagIntroductionCard/README.md +11 -0
  365. package/esm/components/Rows/TagIntroductionCard/index.js +45 -0
  366. package/esm/components/Rows/TagIntroductionCard/stories.js +20 -0
  367. package/esm/components/Rows/TagIntroductionCard/tag-intro-card.module.css +25 -0
  368. package/esm/components/Rows/ThreeColFlexStories/README.md +38 -0
  369. package/{atoms/ExtendedLoadMore/index-b5936059.js → esm/components/Rows/ThreeColFlexStories/index.js} +70 -74
  370. package/esm/components/Rows/ThreeColFlexStories/stories.js +74 -0
  371. package/esm/components/Rows/ThreeColFlexStories/three-col-flex-stories.m.css +60 -0
  372. package/esm/components/Rows/ThreeColFourteenStory/README.md +28 -0
  373. package/esm/components/Rows/ThreeColFourteenStory/index.js +154 -0
  374. package/esm/components/Rows/ThreeColFourteenStory/stories.js +65 -0
  375. package/esm/components/Rows/ThreeColFourteenStory/three-col-fourteen-story.m.css +51 -0
  376. package/esm/components/Rows/ThreeColGrid/README.md +36 -0
  377. package/{atoms/ExtendedLoadMore/index-6e083738.js → esm/components/Rows/ThreeColGrid/index.js} +55 -62
  378. package/esm/components/Rows/ThreeColGrid/stories.js +78 -0
  379. package/esm/components/Rows/ThreeColGrid/three-col.m.css +43 -0
  380. package/esm/components/Rows/ThreeColSevenStory/README.md +36 -0
  381. package/esm/components/Rows/ThreeColSevenStory/index.js +201 -0
  382. package/esm/components/Rows/ThreeColSevenStory/stories.js +74 -0
  383. package/esm/components/Rows/ThreeColSevenStory/three-col-seven-story.m.css +44 -0
  384. package/esm/components/Rows/ThreeColSixStories/README.md +40 -0
  385. package/esm/components/Rows/ThreeColSixStories/index.js +183 -0
  386. package/esm/components/Rows/ThreeColSixStories/stories.js +74 -0
  387. package/esm/components/Rows/ThreeColSixStories/three-col-six-stories.m.css +32 -0
  388. package/esm/components/Rows/ThreeColTwelveStories/README.md +41 -0
  389. package/esm/components/Rows/ThreeColTwelveStories/index.js +165 -0
  390. package/esm/components/Rows/ThreeColTwelveStories/stories.js +53 -0
  391. package/esm/components/Rows/ThreeColTwelveStories/three-col-twelve-stories.m.css +83 -0
  392. package/esm/components/Rows/TwoColFourStory/README.md +33 -0
  393. package/esm/components/Rows/TwoColFourStory/index.js +174 -0
  394. package/esm/components/Rows/TwoColFourStory/stories.js +63 -0
  395. package/esm/components/Rows/TwoColFourStory/two-col-four-story.m.css +64 -0
  396. package/esm/components/Rows/TwoColFourStoryHighlight/README.md +35 -0
  397. package/esm/components/Rows/TwoColFourStoryHighlight/index.js +164 -0
  398. package/esm/components/Rows/TwoColFourStoryHighlight/stories.js +50 -0
  399. package/esm/components/Rows/TwoColFourStoryHighlight/two-col-four-story-highlight.m.css +116 -0
  400. package/esm/components/Rows/TwoColSevenStories/README.md +37 -0
  401. package/esm/components/Rows/TwoColSevenStories/index.js +193 -0
  402. package/esm/components/Rows/TwoColSevenStories/stories.js +102 -0
  403. package/esm/components/Rows/TwoColSevenStories/two-col-seven-stories.m.css +175 -0
  404. package/esm/components/Rows/TwoColSixStories/README.md +36 -0
  405. package/esm/components/Rows/TwoColSixStories/index.js +185 -0
  406. package/esm/components/Rows/TwoColSixStories/stories.js +67 -0
  407. package/esm/components/Rows/TwoColSixStories/two-col-six-stories.m.css +135 -0
  408. package/esm/components/Rows/TwoColTenStoriesSidebar/README.md +34 -0
  409. package/esm/components/Rows/TwoColTenStoriesSidebar/index.js +191 -0
  410. package/esm/components/Rows/TwoColTenStoriesSidebar/stories.js +53 -0
  411. package/esm/components/Rows/TwoColTenStoriesSidebar/two-col-ten-stories-sidebar.m.css +52 -0
  412. package/esm/components/Rows/TwoColThreeStory/README.md +40 -0
  413. package/esm/components/Rows/TwoColThreeStory/index.js +146 -0
  414. package/esm/components/Rows/TwoColThreeStory/stories.js +63 -0
  415. package/esm/components/Rows/TwoColThreeStory/two-col-three-story.m.css +36 -0
  416. package/esm/components/SharedContext.js +17 -0
  417. package/esm/components/Svgs/Loading/loading.js +140 -0
  418. package/esm/components/Svgs/Loading/loading.m.css +5 -0
  419. package/esm/components/Svgs/SocialIcons/facebook.js +18 -0
  420. package/esm/components/Svgs/SocialIcons/instagram.js +33 -0
  421. package/esm/components/Svgs/SocialIcons/linkedin.js +18 -0
  422. package/esm/components/Svgs/SocialIcons/pinterest.js +12 -0
  423. package/esm/components/Svgs/SocialIcons/twitter.js +18 -0
  424. package/esm/components/Svgs/SocialIcons/whatsapp.js +19 -0
  425. package/esm/components/Svgs/SocialIcons/youtube.js +19 -0
  426. package/esm/components/Svgs/caret-right.svg +3 -0
  427. package/esm/components/Svgs/clock-icon.js +19 -0
  428. package/esm/components/Svgs/close-icon.js +22 -0
  429. package/esm/components/Svgs/crown.js +40 -0
  430. package/esm/components/Svgs/fallbackImage.js +45 -0
  431. package/esm/components/Svgs/hyperlink.js +22 -0
  432. package/esm/components/Svgs/key.js +39 -0
  433. package/esm/components/Svgs/left-arrow.js +24 -0
  434. package/esm/components/Svgs/liveicon.js +16 -0
  435. package/esm/components/Svgs/lock.js +40 -0
  436. package/esm/components/Svgs/right-arrow.js +24 -0
  437. package/esm/components/Svgs/share-icon.js +19 -0
  438. package/esm/components/Svgs/star.js +34 -0
  439. package/esm/components/Svgs/user-fallback-icon.js +22 -0
  440. package/esm/components/Typography/README.md +7 -0
  441. package/esm/components/Typography/index.js +33 -0
  442. package/esm/components/Typography/stories.js +15 -0
  443. package/esm/components/Typography/style.m.css +11 -0
  444. package/esm/entry-points.js +291 -0
  445. package/esm/guide/stories.js +22 -0
  446. package/esm/hydration-component/index.js +41 -0
  447. package/esm/hydration-component/useNearScreen.js +71 -0
  448. package/esm/index.js +88 -0
  449. package/esm/rows.js +40 -0
  450. package/esm/utils/testing-utils.js +8 -0
  451. package/esm/utils/utils.js +363 -0
  452. package/esm/utils/utils.test.js +46 -0
  453. package/package.json +1 -1
  454. package/atoms/Author/index.js +0 -2259
  455. package/atoms/Author/styles.arrow.css +0 -1
  456. package/atoms/AuthorWithTime/index.js +0 -2964
  457. package/atoms/AuthorWithTime/styles.arrow.css +0 -1
  458. package/atoms/CollectionName/index.js +0 -2344
  459. package/atoms/CollectionName/styles.arrow.css +0 -1
  460. package/atoms/ExtendedLoadMore/index-3c4ac692.js +0 -1025
  461. package/atoms/ExtendedLoadMore/index-4ddfe28d.js +0 -93
  462. package/atoms/ExtendedLoadMore/index-5c8eda4a.js +0 -358
  463. package/atoms/ExtendedLoadMore/index-9e0d32b7.js +0 -290
  464. package/atoms/ExtendedLoadMore/index-b22f1843.js +0 -251
  465. package/atoms/ExtendedLoadMore/index-e7cde739.js +0 -3051
  466. package/atoms/ExtendedLoadMore/index-fee73a14.js +0 -207
  467. package/atoms/ExtendedLoadMore/index.js +0 -13
  468. package/atoms/ExtendedLoadMore/styles.arrow.css +0 -1
  469. package/atoms/Headline/index.js +0 -2468
  470. package/atoms/Headline/styles.arrow.css +0 -1
  471. package/atoms/HeroImage/index.js +0 -2484
  472. package/atoms/HeroImage/styles.arrow.css +0 -1
  473. package/atoms/LoadmoreButton/index.js +0 -2277
  474. package/atoms/LoadmoreButton/styles.arrow.css +0 -1
  475. package/atoms/ScrollSnap/index.js +0 -2540
  476. package/atoms/ScrollSnap/styles.arrow.css +0 -1
  477. package/atoms/SectionTag/index.js +0 -2229
  478. package/atoms/SectionTag/styles.arrow.css +0 -1
  479. package/atoms/Subheadline/index.js +0 -2209
  480. package/atoms/Subheadline/styles.arrow.css +0 -1
  481. package/atoms/TimeStamp/index.js +0 -2671
  482. package/atoms/TimeStamp/styles.arrow.css +0 -1
  483. package/molecules/KeyEvents/index.js +0 -2979
  484. package/molecules/KeyEvents/styles.arrow.css +0 -1
  485. package/molecules/PageIntroductionCard/index.js +0 -2685
  486. package/molecules/PageIntroductionCard/styles.arrow.css +0 -1
  487. package/molecules/SocialShareTemplate/index.js +0 -3102
  488. package/molecules/SocialShareTemplate/styles.arrow.css +0 -1
  489. package/molecules/StoryCard/index.js +0 -3948
  490. package/molecules/StoryCard/styles.arrow.css +0 -1
  491. package/molecules/StoryElementCard/index.js +0 -5861
  492. package/molecules/StoryElementCard/styles.arrow.css +0 -1
  493. package/molecules/StorycardContent/index.js +0 -3426
  494. package/molecules/StorycardContent/styles.arrow.css +0 -1
  495. package/rows/AlternateCollectionFilter/index.js +0 -4756
  496. package/rows/AlternateCollectionFilter/styles.arrow.css +0 -1
  497. package/rows/AsideCollection/index.js +0 -4702
  498. package/rows/AsideCollection/styles.arrow.css +0 -1
  499. package/rows/AstrologyCollection/index.js +0 -4673
  500. package/rows/AstrologyCollection/styles.arrow.css +0 -1
  501. package/rows/AuthorIntroductionCard/index.js +0 -3529
  502. package/rows/AuthorIntroductionCard/styles.arrow.css +0 -1
  503. package/rows/AuthorsList/index.js +0 -3725
  504. package/rows/AuthorsList/styles.arrow.css +0 -1
  505. package/rows/CollectionFilter/index.js +0 -4846
  506. package/rows/CollectionFilter/styles.arrow.css +0 -1
  507. package/rows/ElevenStories/index.js +0 -4649
  508. package/rows/ElevenStories/styles.arrow.css +0 -1
  509. package/rows/FourColFiveStories/index.js +0 -4389
  510. package/rows/FourColFiveStories/styles.arrow.css +0 -1
  511. package/rows/FourColGrid/index.js +0 -4614
  512. package/rows/FourColGrid/styles.arrow.css +0 -1
  513. package/rows/FourColPortraitStories/index.js +0 -4647
  514. package/rows/FourColPortraitStories/styles.arrow.css +0 -1
  515. package/rows/FourColSixteenStories/index.js +0 -4386
  516. package/rows/FourColSixteenStories/styles.arrow.css +0 -1
  517. package/rows/FourColTwelveStories/index.js +0 -4346
  518. package/rows/FourColTwelveStories/styles.arrow.css +0 -1
  519. package/rows/FourStorySlider/index.js +0 -4754
  520. package/rows/FourStorySlider/styles.arrow.css +0 -1
  521. package/rows/FourStorySliderPortrait/index.js +0 -4757
  522. package/rows/FourStorySliderPortrait/styles.arrow.css +0 -1
  523. package/rows/FourTabbedBigStorySlider/index.js +0 -4516
  524. package/rows/FourTabbedBigStorySlider/styles.arrow.css +0 -1
  525. package/rows/FullScreenSlider/index.js +0 -4672
  526. package/rows/FullScreenSlider/styles.arrow.css +0 -1
  527. package/rows/HalfScreenSlider/index.js +0 -4525
  528. package/rows/HalfScreenSlider/styles.arrow.css +0 -1
  529. package/rows/ListComponent/index.js +0 -4473
  530. package/rows/ListComponent/styles.arrow.css +0 -1
  531. package/rows/Listicles/index.js +0 -3142
  532. package/rows/Listicles/styles.arrow.css +0 -1
  533. package/rows/MagazineEditions/index.js +0 -3153
  534. package/rows/MagazineEditions/styles.arrow.css +0 -1
  535. package/rows/MagazineHeaderCard/index.js +0 -3147
  536. package/rows/MagazineHeaderCard/styles.arrow.css +0 -1
  537. package/rows/MagazineWidget/index.js +0 -4525
  538. package/rows/MagazineWidget/styles.arrow.css +0 -1
  539. package/rows/OneColStoryList/index.js +0 -4700
  540. package/rows/OneColStoryList/styles.arrow.css +0 -1
  541. package/rows/OpinionCollection/index.js +0 -4067
  542. package/rows/OpinionCollection/styles.arrow.css +0 -1
  543. package/rows/SixColSixStories/index.js +0 -4545
  544. package/rows/SixColSixStories/styles.arrow.css +0 -1
  545. package/rows/StoryCollection/index.js +0 -4702
  546. package/rows/StoryCollection/styles.arrow.css +0 -1
  547. package/rows/TagIntroductionCard/index.js +0 -1910
  548. package/rows/TagIntroductionCard/styles.arrow.css +0 -1
  549. package/rows/ThreeColFlexStories/index.js +0 -4605
  550. package/rows/ThreeColFlexStories/styles.arrow.css +0 -1
  551. package/rows/ThreeColFourteenStories/index.js +0 -4294
  552. package/rows/ThreeColFourteenStories/styles.arrow.css +0 -1
  553. package/rows/ThreeColGrid/index.js +0 -4635
  554. package/rows/ThreeColGrid/styles.arrow.css +0 -1
  555. package/rows/ThreeColSevenStory/index.js +0 -4513
  556. package/rows/ThreeColSevenStory/styles.arrow.css +0 -1
  557. package/rows/ThreeColSixStories/index.js +0 -4496
  558. package/rows/ThreeColSixStories/styles.arrow.css +0 -1
  559. package/rows/ThreeColTwelveStories/index.js +0 -4391
  560. package/rows/ThreeColTwelveStories/styles.arrow.css +0 -1
  561. package/rows/TwoColFourStories/index.js +0 -4474
  562. package/rows/TwoColFourStories/styles.arrow.css +0 -1
  563. package/rows/TwoColFourStoryHighlight/index.js +0 -4467
  564. package/rows/TwoColFourStoryHighlight/styles.arrow.css +0 -1
  565. package/rows/TwoColSevenStories/index.js +0 -4501
  566. package/rows/TwoColSevenStories/styles.arrow.css +0 -1
  567. package/rows/TwoColSixStories/index.js +0 -4500
  568. package/rows/TwoColSixStories/styles.arrow.css +0 -1
  569. package/rows/TwoColTenStoriesSidebar/index.js +0 -4560
  570. package/rows/TwoColTenStoriesSidebar/styles.arrow.css +0 -1
  571. package/rows/TwoColThreeStories/index.js +0 -4447
  572. package/rows/TwoColThreeStories/styles.arrow.css +0 -1
  573. package/story-elements/AlsoRead/index.js +0 -2466
  574. package/story-elements/AlsoRead/styles.arrow.css +0 -1
  575. package/story-elements/Attachment/index.js +0 -2022
  576. package/story-elements/Attachment/styles.arrow.css +0 -1
  577. package/story-elements/BigFact/index.js +0 -1992
  578. package/story-elements/BigFact/styles.arrow.css +0 -1
  579. package/story-elements/BlockQuote/index.js +0 -2441
  580. package/story-elements/BlockQuote/styles.arrow.css +0 -1
  581. package/story-elements/Blurb/index.js +0 -2103
  582. package/story-elements/Blurb/styles.arrow.css +0 -1
  583. package/story-elements/Image/index.js +0 -2738
  584. package/story-elements/Image/styles.arrow.css +0 -1
  585. package/story-elements/ImageGallery/index.js +0 -2671
  586. package/story-elements/ImageGallery/styles.arrow.css +0 -1
  587. package/story-elements/ImageSlideshow/index.js +0 -2982
  588. package/story-elements/ImageSlideshow/styles.arrow.css +0 -1
  589. package/story-elements/QuestionAnswer/index.js +0 -2404
  590. package/story-elements/QuestionAnswer/styles.arrow.css +0 -1
  591. package/story-elements/Quote/index.js +0 -2021
  592. package/story-elements/Quote/styles.arrow.css +0 -1
  593. package/story-elements/Reference/index.js +0 -2015
  594. package/story-elements/Reference/styles.arrow.css +0 -1
  595. package/story-elements/StoryElement/index.js +0 -1788
  596. package/story-elements/Summary/index.js +0 -2045
  597. package/story-elements/Summary/styles.arrow.css +0 -1
  598. package/story-elements/Text/index.js +0 -2302
  599. package/story-elements/Text/styles.arrow.css +0 -1
  600. package/story-elements/Video/index.js +0 -1794
  601. package/story-elements/Video/styles.arrow.css +0 -1
  602. package/story-templates/ListicleStoryTemplate/index.js +0 -8471
  603. package/story-templates/ListicleStoryTemplate/styles.arrow.css +0 -1
  604. package/story-templates/LiveBlogStoryTemplate/index.js +0 -8647
  605. package/story-templates/LiveBlogStoryTemplate/styles.arrow.css +0 -1
  606. package/story-templates/PhotoStoryTemplate/index.js +0 -8449
  607. package/story-templates/PhotoStoryTemplate/styles.arrow.css +0 -1
  608. package/story-templates/TextStoryTemplate/index.js +0 -8522
  609. package/story-templates/TextStoryTemplate/styles.arrow.css +0 -1
  610. package/story-templates/VideoStoryTemplate/index.js +0 -8381
  611. package/story-templates/VideoStoryTemplate/styles.arrow.css +0 -1
@@ -1,2671 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var PropTypes = require('prop-types');
7
- var components = require('@quintype/components');
8
- var reactRedux = require('react-redux');
9
- require('react-timeago');
10
- require('date-fns-tz');
11
-
12
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
-
14
- function _interopNamespace(e) {
15
- if (e && e.__esModule) return e;
16
- var n = Object.create(null);
17
- if (e) {
18
- Object.keys(e).forEach(function (k) {
19
- if (k !== 'default') {
20
- var d = Object.getOwnPropertyDescriptor(e, k);
21
- Object.defineProperty(n, k, d.get ? d : {
22
- enumerable: true,
23
- get: function () { return e[k]; }
24
- });
25
- }
26
- });
27
- }
28
- n["default"] = e;
29
- return Object.freeze(n);
30
- }
31
-
32
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
33
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
34
-
35
- function _extends() {
36
- _extends = Object.assign || function (target) {
37
- for (var i = 1; i < arguments.length; i++) {
38
- var source = arguments[i];
39
-
40
- for (var key in source) {
41
- if (Object.prototype.hasOwnProperty.call(source, key)) {
42
- target[key] = source[key];
43
- }
44
- }
45
- }
46
-
47
- return target;
48
- };
49
-
50
- return _extends.apply(this, arguments);
51
- }
52
-
53
- function _objectWithoutPropertiesLoose(source, excluded) {
54
- if (source == null) return {};
55
- var target = {};
56
- var sourceKeys = Object.keys(source);
57
- var key, i;
58
-
59
- for (i = 0; i < sourceKeys.length; i++) {
60
- key = sourceKeys[i];
61
- if (excluded.indexOf(key) >= 0) continue;
62
- target[key] = source[key];
63
- }
64
-
65
- return target;
66
- }
67
-
68
- function _objectWithoutProperties(source, excluded) {
69
- if (source == null) return {};
70
- var target = _objectWithoutPropertiesLoose(source, excluded);
71
- var key, i;
72
-
73
- if (Object.getOwnPropertySymbols) {
74
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
75
-
76
- for (i = 0; i < sourceSymbolKeys.length; i++) {
77
- key = sourceSymbolKeys[i];
78
- if (excluded.indexOf(key) >= 0) continue;
79
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
80
- target[key] = source[key];
81
- }
82
- }
83
-
84
- return target;
85
- }
86
-
87
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
88
-
89
- function getDefaultExportFromCjs (x) {
90
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
91
- }
92
-
93
- function createCommonjsModule(fn) {
94
- var module = { exports: {} };
95
- return fn(module, module.exports), module.exports;
96
- }
97
-
98
- var optionsDefaults_1 = createCommonjsModule(function (module, exports) {
99
-
100
- Object.defineProperty(exports, "__esModule", {
101
- value: true
102
- });
103
- exports["default"] = void 0;
104
- var optionsDefaults = {
105
- attributeNames: {
106
- styleName: 'className'
107
- },
108
- generateScopedName: '[path]___[name]__[local]___[hash:base64:5]',
109
- handleMissingStyleName: 'throw'
110
- };
111
- var _default = optionsDefaults;
112
- exports["default"] = _default;
113
-
114
-
115
- });
116
-
117
- var getClassName = createCommonjsModule(function (module, exports) {
118
-
119
- Object.defineProperty(exports, "__esModule", {
120
- value: true
121
- });
122
- exports["default"] = void 0;
123
-
124
- var _optionsDefaults = _interopRequireDefault(optionsDefaults_1);
125
-
126
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
127
-
128
- var isNamespacedStyleName = function isNamespacedStyleName(styleName) {
129
- return styleName.indexOf('.') !== -1;
130
- };
131
-
132
- var handleError = function handleError(message, handleMissingStyleName) {
133
- if (handleMissingStyleName === 'throw') {
134
- throw new Error(message);
135
- } else if (handleMissingStyleName === 'warn') {
136
- // eslint-disable-next-line no-console
137
- console.warn(message);
138
- }
139
-
140
- return null;
141
- };
142
-
143
- var getClassNameForNamespacedStyleName = function getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
144
- // Note:
145
- // Do not use the desctructing syntax with Babel.
146
- // Desctructing adds _slicedToArray helper.
147
- var styleNameParts = styleName.split('.');
148
- var importName = styleNameParts[0];
149
- var moduleName = styleNameParts[1];
150
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
151
-
152
- if (!moduleName) {
153
- return handleError('Invalid style name: ' + styleName, handleMissingStyleName);
154
- }
155
-
156
- if (!styleModuleImportMap[importName]) {
157
- return handleError('CSS module import does not exist: ' + importName, handleMissingStyleName);
158
- }
159
-
160
- if (!styleModuleImportMap[importName][moduleName]) {
161
- return handleError('CSS module does not exist: ' + moduleName, handleMissingStyleName);
162
- }
163
-
164
- return styleModuleImportMap[importName][moduleName];
165
- };
166
-
167
- var getClassNameFromMultipleImports = function getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
168
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
169
- var importKeysWithMatches = Object.keys(styleModuleImportMap).map(function (importKey) {
170
- return styleModuleImportMap[importKey][styleName] && importKey;
171
- }).filter(function (importKey) {
172
- return importKey;
173
- });
174
-
175
- if (importKeysWithMatches.length > 1) {
176
- throw new Error('Cannot resolve styleName "' + styleName + '" because it is present in multiple imports:' + '\n\n\t' + importKeysWithMatches.join('\n\t') + '\n\nYou can resolve this by using a named import, e.g:' + '\n\n\timport foo from "' + importKeysWithMatches[0] + '";' + '\n\t<div styleName="foo.' + styleName + '" />' + '\n\n');
177
- }
178
-
179
- if (importKeysWithMatches.length === 0) {
180
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
181
- }
182
-
183
- return styleModuleImportMap[importKeysWithMatches[0]][styleName];
184
- };
185
-
186
- var _default = function _default(styleNameValue, styleModuleImportMap, options) {
187
- var styleModuleImportMapKeys = Object.keys(styleModuleImportMap);
188
-
189
- var _ref = options || {},
190
- _ref$handleMissingSty = _ref.handleMissingStyleName,
191
- handleMissingStyleName = _ref$handleMissingSty === void 0 ? _optionsDefaults["default"].handleMissingStyleName : _ref$handleMissingSty,
192
- _ref$autoResolveMulti = _ref.autoResolveMultipleImports,
193
- autoResolveMultipleImports = _ref$autoResolveMulti === void 0 ? _optionsDefaults["default"].autoResolveMultipleImports : _ref$autoResolveMulti;
194
-
195
- if (!styleNameValue) {
196
- return '';
197
- }
198
-
199
- return styleNameValue.split(' ').filter(function (styleName) {
200
- return styleName;
201
- }).map(function (styleName) {
202
- if (isNamespacedStyleName(styleName)) {
203
- return getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleName);
204
- }
205
-
206
- if (styleModuleImportMapKeys.length === 0) {
207
- throw new Error('Cannot use styleName attribute for style name \'' + styleName + '\' without importing at least one stylesheet.');
208
- }
209
-
210
- if (styleModuleImportMapKeys.length > 1) {
211
- if (!autoResolveMultipleImports) {
212
- throw new Error('Cannot use anonymous style name \'' + styleName + '\' with more than one stylesheet import without setting \'autoResolveMultipleImports\' to true.');
213
- }
214
-
215
- return getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleName);
216
- }
217
-
218
- var styleModuleMap = styleModuleImportMap[styleModuleImportMapKeys[0]];
219
-
220
- if (!styleModuleMap[styleName]) {
221
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
222
- }
223
-
224
- return styleModuleMap[styleName];
225
- }).filter(function (className) {
226
- // Remove any styles which could not be found (if handleMissingStyleName === 'ignore')
227
- return className;
228
- }).join(' ');
229
- };
230
-
231
- exports["default"] = _default;
232
-
233
-
234
- });
235
-
236
- var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
237
-
238
- var _excluded$1 = ["element", "render"];
239
- var withElementWrapper = function withElementWrapper(StoryElement) {
240
- return function (props) {
241
- var element = props.element,
242
- render = props.render,
243
- restProps = _objectWithoutProperties(props, _excluded$1);
244
-
245
- if (!element) return null;
246
- if (render && typeof render === "function") return render(props);
247
- return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends({}, restProps, {
248
- element: element
249
- }));
250
- };
251
- };
252
- withElementWrapper.propTypes = {
253
- StoryElement: PropTypes__default["default"].element
254
- };
255
-
256
- function _defineProperty(obj, key, value) {
257
- if (key in obj) {
258
- Object.defineProperty(obj, key, {
259
- value: value,
260
- enumerable: true,
261
- configurable: true,
262
- writable: true
263
- });
264
- } else {
265
- obj[key] = value;
266
- }
267
-
268
- return obj;
269
- }
270
-
271
- function _arrayWithHoles(arr) {
272
- if (Array.isArray(arr)) return arr;
273
- }
274
-
275
- function _iterableToArrayLimit(arr, i) {
276
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
277
-
278
- if (_i == null) return;
279
- var _arr = [];
280
- var _n = true;
281
- var _d = false;
282
-
283
- var _s, _e;
284
-
285
- try {
286
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
287
- _arr.push(_s.value);
288
-
289
- if (i && _arr.length === i) break;
290
- }
291
- } catch (err) {
292
- _d = true;
293
- _e = err;
294
- } finally {
295
- try {
296
- if (!_n && _i["return"] != null) _i["return"]();
297
- } finally {
298
- if (_d) throw _e;
299
- }
300
- }
301
-
302
- return _arr;
303
- }
304
-
305
- function _arrayLikeToArray(arr, len) {
306
- if (len == null || len > arr.length) len = arr.length;
307
-
308
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
309
- arr2[i] = arr[i];
310
- }
311
-
312
- return arr2;
313
- }
314
-
315
- function _unsupportedIterableToArray(o, minLen) {
316
- if (!o) return;
317
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
318
- var n = Object.prototype.toString.call(o).slice(8, -1);
319
- if (n === "Object" && o.constructor) n = o.constructor.name;
320
- if (n === "Map" || n === "Set") return Array.from(o);
321
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
322
- }
323
-
324
- function _nonIterableRest() {
325
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
326
- }
327
-
328
- function _slicedToArray(arr, i) {
329
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
330
- }
331
-
332
- /**
333
- * Checks if `value` is classified as an `Array` object.
334
- *
335
- * @static
336
- * @memberOf _
337
- * @since 0.1.0
338
- * @category Lang
339
- * @param {*} value The value to check.
340
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
341
- * @example
342
- *
343
- * _.isArray([1, 2, 3]);
344
- * // => true
345
- *
346
- * _.isArray(document.body.children);
347
- * // => false
348
- *
349
- * _.isArray('abc');
350
- * // => false
351
- *
352
- * _.isArray(_.noop);
353
- * // => false
354
- */
355
- var isArray = Array.isArray;
356
-
357
- var isArray_1 = isArray;
358
-
359
- /** Detect free variable `global` from Node.js. */
360
-
361
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
362
-
363
- var _freeGlobal = freeGlobal;
364
-
365
- /** Detect free variable `self`. */
366
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
367
-
368
- /** Used as a reference to the global object. */
369
- var root = _freeGlobal || freeSelf || Function('return this')();
370
-
371
- var _root = root;
372
-
373
- /** Built-in value references. */
374
- var Symbol$1 = _root.Symbol;
375
-
376
- var _Symbol = Symbol$1;
377
-
378
- /** Used for built-in method references. */
379
- var objectProto$4 = Object.prototype;
380
-
381
- /** Used to check objects for own properties. */
382
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
383
-
384
- /**
385
- * Used to resolve the
386
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
387
- * of values.
388
- */
389
- var nativeObjectToString$1 = objectProto$4.toString;
390
-
391
- /** Built-in value references. */
392
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
393
-
394
- /**
395
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
396
- *
397
- * @private
398
- * @param {*} value The value to query.
399
- * @returns {string} Returns the raw `toStringTag`.
400
- */
401
- function getRawTag(value) {
402
- var isOwn = hasOwnProperty$3.call(value, symToStringTag$1),
403
- tag = value[symToStringTag$1];
404
-
405
- try {
406
- value[symToStringTag$1] = undefined;
407
- var unmasked = true;
408
- } catch (e) {}
409
-
410
- var result = nativeObjectToString$1.call(value);
411
- if (unmasked) {
412
- if (isOwn) {
413
- value[symToStringTag$1] = tag;
414
- } else {
415
- delete value[symToStringTag$1];
416
- }
417
- }
418
- return result;
419
- }
420
-
421
- var _getRawTag = getRawTag;
422
-
423
- /** Used for built-in method references. */
424
- var objectProto$3 = Object.prototype;
425
-
426
- /**
427
- * Used to resolve the
428
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
429
- * of values.
430
- */
431
- var nativeObjectToString = objectProto$3.toString;
432
-
433
- /**
434
- * Converts `value` to a string using `Object.prototype.toString`.
435
- *
436
- * @private
437
- * @param {*} value The value to convert.
438
- * @returns {string} Returns the converted string.
439
- */
440
- function objectToString(value) {
441
- return nativeObjectToString.call(value);
442
- }
443
-
444
- var _objectToString = objectToString;
445
-
446
- /** `Object#toString` result references. */
447
- var nullTag = '[object Null]',
448
- undefinedTag = '[object Undefined]';
449
-
450
- /** Built-in value references. */
451
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
452
-
453
- /**
454
- * The base implementation of `getTag` without fallbacks for buggy environments.
455
- *
456
- * @private
457
- * @param {*} value The value to query.
458
- * @returns {string} Returns the `toStringTag`.
459
- */
460
- function baseGetTag(value) {
461
- if (value == null) {
462
- return value === undefined ? undefinedTag : nullTag;
463
- }
464
- return (symToStringTag && symToStringTag in Object(value))
465
- ? _getRawTag(value)
466
- : _objectToString(value);
467
- }
468
-
469
- var _baseGetTag = baseGetTag;
470
-
471
- /**
472
- * Checks if `value` is object-like. A value is object-like if it's not `null`
473
- * and has a `typeof` result of "object".
474
- *
475
- * @static
476
- * @memberOf _
477
- * @since 4.0.0
478
- * @category Lang
479
- * @param {*} value The value to check.
480
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
481
- * @example
482
- *
483
- * _.isObjectLike({});
484
- * // => true
485
- *
486
- * _.isObjectLike([1, 2, 3]);
487
- * // => true
488
- *
489
- * _.isObjectLike(_.noop);
490
- * // => false
491
- *
492
- * _.isObjectLike(null);
493
- * // => false
494
- */
495
- function isObjectLike(value) {
496
- return value != null && typeof value == 'object';
497
- }
498
-
499
- var isObjectLike_1 = isObjectLike;
500
-
501
- /** `Object#toString` result references. */
502
- var symbolTag = '[object Symbol]';
503
-
504
- /**
505
- * Checks if `value` is classified as a `Symbol` primitive or object.
506
- *
507
- * @static
508
- * @memberOf _
509
- * @since 4.0.0
510
- * @category Lang
511
- * @param {*} value The value to check.
512
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
513
- * @example
514
- *
515
- * _.isSymbol(Symbol.iterator);
516
- * // => true
517
- *
518
- * _.isSymbol('abc');
519
- * // => false
520
- */
521
- function isSymbol(value) {
522
- return typeof value == 'symbol' ||
523
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
524
- }
525
-
526
- var isSymbol_1 = isSymbol;
527
-
528
- /** Used to match property names within property paths. */
529
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
530
- reIsPlainProp = /^\w*$/;
531
-
532
- /**
533
- * Checks if `value` is a property name and not a property path.
534
- *
535
- * @private
536
- * @param {*} value The value to check.
537
- * @param {Object} [object] The object to query keys on.
538
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
539
- */
540
- function isKey(value, object) {
541
- if (isArray_1(value)) {
542
- return false;
543
- }
544
- var type = typeof value;
545
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
546
- value == null || isSymbol_1(value)) {
547
- return true;
548
- }
549
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
550
- (object != null && value in Object(object));
551
- }
552
-
553
- var _isKey = isKey;
554
-
555
- /**
556
- * Checks if `value` is the
557
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
558
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
559
- *
560
- * @static
561
- * @memberOf _
562
- * @since 0.1.0
563
- * @category Lang
564
- * @param {*} value The value to check.
565
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
566
- * @example
567
- *
568
- * _.isObject({});
569
- * // => true
570
- *
571
- * _.isObject([1, 2, 3]);
572
- * // => true
573
- *
574
- * _.isObject(_.noop);
575
- * // => true
576
- *
577
- * _.isObject(null);
578
- * // => false
579
- */
580
- function isObject(value) {
581
- var type = typeof value;
582
- return value != null && (type == 'object' || type == 'function');
583
- }
584
-
585
- var isObject_1 = isObject;
586
-
587
- /** `Object#toString` result references. */
588
- var asyncTag = '[object AsyncFunction]',
589
- funcTag = '[object Function]',
590
- genTag = '[object GeneratorFunction]',
591
- proxyTag = '[object Proxy]';
592
-
593
- /**
594
- * Checks if `value` is classified as a `Function` object.
595
- *
596
- * @static
597
- * @memberOf _
598
- * @since 0.1.0
599
- * @category Lang
600
- * @param {*} value The value to check.
601
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
602
- * @example
603
- *
604
- * _.isFunction(_);
605
- * // => true
606
- *
607
- * _.isFunction(/abc/);
608
- * // => false
609
- */
610
- function isFunction(value) {
611
- if (!isObject_1(value)) {
612
- return false;
613
- }
614
- // The use of `Object#toString` avoids issues with the `typeof` operator
615
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
616
- var tag = _baseGetTag(value);
617
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
618
- }
619
-
620
- var isFunction_1 = isFunction;
621
-
622
- /** Used to detect overreaching core-js shims. */
623
- var coreJsData = _root['__core-js_shared__'];
624
-
625
- var _coreJsData = coreJsData;
626
-
627
- /** Used to detect methods masquerading as native. */
628
- var maskSrcKey = (function() {
629
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
630
- return uid ? ('Symbol(src)_1.' + uid) : '';
631
- }());
632
-
633
- /**
634
- * Checks if `func` has its source masked.
635
- *
636
- * @private
637
- * @param {Function} func The function to check.
638
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
639
- */
640
- function isMasked(func) {
641
- return !!maskSrcKey && (maskSrcKey in func);
642
- }
643
-
644
- var _isMasked = isMasked;
645
-
646
- /** Used for built-in method references. */
647
- var funcProto$1 = Function.prototype;
648
-
649
- /** Used to resolve the decompiled source of functions. */
650
- var funcToString$1 = funcProto$1.toString;
651
-
652
- /**
653
- * Converts `func` to its source code.
654
- *
655
- * @private
656
- * @param {Function} func The function to convert.
657
- * @returns {string} Returns the source code.
658
- */
659
- function toSource(func) {
660
- if (func != null) {
661
- try {
662
- return funcToString$1.call(func);
663
- } catch (e) {}
664
- try {
665
- return (func + '');
666
- } catch (e) {}
667
- }
668
- return '';
669
- }
670
-
671
- var _toSource = toSource;
672
-
673
- /**
674
- * Used to match `RegExp`
675
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
676
- */
677
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
678
-
679
- /** Used to detect host constructors (Safari). */
680
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
681
-
682
- /** Used for built-in method references. */
683
- var funcProto = Function.prototype,
684
- objectProto$2 = Object.prototype;
685
-
686
- /** Used to resolve the decompiled source of functions. */
687
- var funcToString = funcProto.toString;
688
-
689
- /** Used to check objects for own properties. */
690
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
691
-
692
- /** Used to detect if a method is native. */
693
- var reIsNative = RegExp('^' +
694
- funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
695
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
696
- );
697
-
698
- /**
699
- * The base implementation of `_.isNative` without bad shim checks.
700
- *
701
- * @private
702
- * @param {*} value The value to check.
703
- * @returns {boolean} Returns `true` if `value` is a native function,
704
- * else `false`.
705
- */
706
- function baseIsNative(value) {
707
- if (!isObject_1(value) || _isMasked(value)) {
708
- return false;
709
- }
710
- var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
711
- return pattern.test(_toSource(value));
712
- }
713
-
714
- var _baseIsNative = baseIsNative;
715
-
716
- /**
717
- * Gets the value at `key` of `object`.
718
- *
719
- * @private
720
- * @param {Object} [object] The object to query.
721
- * @param {string} key The key of the property to get.
722
- * @returns {*} Returns the property value.
723
- */
724
- function getValue(object, key) {
725
- return object == null ? undefined : object[key];
726
- }
727
-
728
- var _getValue = getValue;
729
-
730
- /**
731
- * Gets the native function at `key` of `object`.
732
- *
733
- * @private
734
- * @param {Object} object The object to query.
735
- * @param {string} key The key of the method to get.
736
- * @returns {*} Returns the function if it's native, else `undefined`.
737
- */
738
- function getNative(object, key) {
739
- var value = _getValue(object, key);
740
- return _baseIsNative(value) ? value : undefined;
741
- }
742
-
743
- var _getNative = getNative;
744
-
745
- /* Built-in method references that are verified to be native. */
746
- var nativeCreate = _getNative(Object, 'create');
747
-
748
- var _nativeCreate = nativeCreate;
749
-
750
- /**
751
- * Removes all key-value entries from the hash.
752
- *
753
- * @private
754
- * @name clear
755
- * @memberOf Hash
756
- */
757
- function hashClear() {
758
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
759
- this.size = 0;
760
- }
761
-
762
- var _hashClear = hashClear;
763
-
764
- /**
765
- * Removes `key` and its value from the hash.
766
- *
767
- * @private
768
- * @name delete
769
- * @memberOf Hash
770
- * @param {Object} hash The hash to modify.
771
- * @param {string} key The key of the value to remove.
772
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
773
- */
774
- function hashDelete(key) {
775
- var result = this.has(key) && delete this.__data__[key];
776
- this.size -= result ? 1 : 0;
777
- return result;
778
- }
779
-
780
- var _hashDelete = hashDelete;
781
-
782
- /** Used to stand-in for `undefined` hash values. */
783
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
784
-
785
- /** Used for built-in method references. */
786
- var objectProto$1 = Object.prototype;
787
-
788
- /** Used to check objects for own properties. */
789
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
790
-
791
- /**
792
- * Gets the hash value for `key`.
793
- *
794
- * @private
795
- * @name get
796
- * @memberOf Hash
797
- * @param {string} key The key of the value to get.
798
- * @returns {*} Returns the entry value.
799
- */
800
- function hashGet(key) {
801
- var data = this.__data__;
802
- if (_nativeCreate) {
803
- var result = data[key];
804
- return result === HASH_UNDEFINED$1 ? undefined : result;
805
- }
806
- return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
807
- }
808
-
809
- var _hashGet = hashGet;
810
-
811
- /** Used for built-in method references. */
812
- var objectProto = Object.prototype;
813
-
814
- /** Used to check objects for own properties. */
815
- var hasOwnProperty = objectProto.hasOwnProperty;
816
-
817
- /**
818
- * Checks if a hash value for `key` exists.
819
- *
820
- * @private
821
- * @name has
822
- * @memberOf Hash
823
- * @param {string} key The key of the entry to check.
824
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
825
- */
826
- function hashHas(key) {
827
- var data = this.__data__;
828
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
829
- }
830
-
831
- var _hashHas = hashHas;
832
-
833
- /** Used to stand-in for `undefined` hash values. */
834
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
835
-
836
- /**
837
- * Sets the hash `key` to `value`.
838
- *
839
- * @private
840
- * @name set
841
- * @memberOf Hash
842
- * @param {string} key The key of the value to set.
843
- * @param {*} value The value to set.
844
- * @returns {Object} Returns the hash instance.
845
- */
846
- function hashSet(key, value) {
847
- var data = this.__data__;
848
- this.size += this.has(key) ? 0 : 1;
849
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
850
- return this;
851
- }
852
-
853
- var _hashSet = hashSet;
854
-
855
- /**
856
- * Creates a hash object.
857
- *
858
- * @private
859
- * @constructor
860
- * @param {Array} [entries] The key-value pairs to cache.
861
- */
862
- function Hash(entries) {
863
- var index = -1,
864
- length = entries == null ? 0 : entries.length;
865
-
866
- this.clear();
867
- while (++index < length) {
868
- var entry = entries[index];
869
- this.set(entry[0], entry[1]);
870
- }
871
- }
872
-
873
- // Add methods to `Hash`.
874
- Hash.prototype.clear = _hashClear;
875
- Hash.prototype['delete'] = _hashDelete;
876
- Hash.prototype.get = _hashGet;
877
- Hash.prototype.has = _hashHas;
878
- Hash.prototype.set = _hashSet;
879
-
880
- var _Hash = Hash;
881
-
882
- /**
883
- * Removes all key-value entries from the list cache.
884
- *
885
- * @private
886
- * @name clear
887
- * @memberOf ListCache
888
- */
889
- function listCacheClear() {
890
- this.__data__ = [];
891
- this.size = 0;
892
- }
893
-
894
- var _listCacheClear = listCacheClear;
895
-
896
- /**
897
- * Performs a
898
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
899
- * comparison between two values to determine if they are equivalent.
900
- *
901
- * @static
902
- * @memberOf _
903
- * @since 4.0.0
904
- * @category Lang
905
- * @param {*} value The value to compare.
906
- * @param {*} other The other value to compare.
907
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
908
- * @example
909
- *
910
- * var object = { 'a': 1 };
911
- * var other = { 'a': 1 };
912
- *
913
- * _.eq(object, object);
914
- * // => true
915
- *
916
- * _.eq(object, other);
917
- * // => false
918
- *
919
- * _.eq('a', 'a');
920
- * // => true
921
- *
922
- * _.eq('a', Object('a'));
923
- * // => false
924
- *
925
- * _.eq(NaN, NaN);
926
- * // => true
927
- */
928
- function eq(value, other) {
929
- return value === other || (value !== value && other !== other);
930
- }
931
-
932
- var eq_1 = eq;
933
-
934
- /**
935
- * Gets the index at which the `key` is found in `array` of key-value pairs.
936
- *
937
- * @private
938
- * @param {Array} array The array to inspect.
939
- * @param {*} key The key to search for.
940
- * @returns {number} Returns the index of the matched value, else `-1`.
941
- */
942
- function assocIndexOf(array, key) {
943
- var length = array.length;
944
- while (length--) {
945
- if (eq_1(array[length][0], key)) {
946
- return length;
947
- }
948
- }
949
- return -1;
950
- }
951
-
952
- var _assocIndexOf = assocIndexOf;
953
-
954
- /** Used for built-in method references. */
955
- var arrayProto = Array.prototype;
956
-
957
- /** Built-in value references. */
958
- var splice = arrayProto.splice;
959
-
960
- /**
961
- * Removes `key` and its value from the list cache.
962
- *
963
- * @private
964
- * @name delete
965
- * @memberOf ListCache
966
- * @param {string} key The key of the value to remove.
967
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
968
- */
969
- function listCacheDelete(key) {
970
- var data = this.__data__,
971
- index = _assocIndexOf(data, key);
972
-
973
- if (index < 0) {
974
- return false;
975
- }
976
- var lastIndex = data.length - 1;
977
- if (index == lastIndex) {
978
- data.pop();
979
- } else {
980
- splice.call(data, index, 1);
981
- }
982
- --this.size;
983
- return true;
984
- }
985
-
986
- var _listCacheDelete = listCacheDelete;
987
-
988
- /**
989
- * Gets the list cache value for `key`.
990
- *
991
- * @private
992
- * @name get
993
- * @memberOf ListCache
994
- * @param {string} key The key of the value to get.
995
- * @returns {*} Returns the entry value.
996
- */
997
- function listCacheGet(key) {
998
- var data = this.__data__,
999
- index = _assocIndexOf(data, key);
1000
-
1001
- return index < 0 ? undefined : data[index][1];
1002
- }
1003
-
1004
- var _listCacheGet = listCacheGet;
1005
-
1006
- /**
1007
- * Checks if a list cache value for `key` exists.
1008
- *
1009
- * @private
1010
- * @name has
1011
- * @memberOf ListCache
1012
- * @param {string} key The key of the entry to check.
1013
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1014
- */
1015
- function listCacheHas(key) {
1016
- return _assocIndexOf(this.__data__, key) > -1;
1017
- }
1018
-
1019
- var _listCacheHas = listCacheHas;
1020
-
1021
- /**
1022
- * Sets the list cache `key` to `value`.
1023
- *
1024
- * @private
1025
- * @name set
1026
- * @memberOf ListCache
1027
- * @param {string} key The key of the value to set.
1028
- * @param {*} value The value to set.
1029
- * @returns {Object} Returns the list cache instance.
1030
- */
1031
- function listCacheSet(key, value) {
1032
- var data = this.__data__,
1033
- index = _assocIndexOf(data, key);
1034
-
1035
- if (index < 0) {
1036
- ++this.size;
1037
- data.push([key, value]);
1038
- } else {
1039
- data[index][1] = value;
1040
- }
1041
- return this;
1042
- }
1043
-
1044
- var _listCacheSet = listCacheSet;
1045
-
1046
- /**
1047
- * Creates an list cache object.
1048
- *
1049
- * @private
1050
- * @constructor
1051
- * @param {Array} [entries] The key-value pairs to cache.
1052
- */
1053
- function ListCache(entries) {
1054
- var index = -1,
1055
- length = entries == null ? 0 : entries.length;
1056
-
1057
- this.clear();
1058
- while (++index < length) {
1059
- var entry = entries[index];
1060
- this.set(entry[0], entry[1]);
1061
- }
1062
- }
1063
-
1064
- // Add methods to `ListCache`.
1065
- ListCache.prototype.clear = _listCacheClear;
1066
- ListCache.prototype['delete'] = _listCacheDelete;
1067
- ListCache.prototype.get = _listCacheGet;
1068
- ListCache.prototype.has = _listCacheHas;
1069
- ListCache.prototype.set = _listCacheSet;
1070
-
1071
- var _ListCache = ListCache;
1072
-
1073
- /* Built-in method references that are verified to be native. */
1074
- var Map = _getNative(_root, 'Map');
1075
-
1076
- var _Map = Map;
1077
-
1078
- /**
1079
- * Removes all key-value entries from the map.
1080
- *
1081
- * @private
1082
- * @name clear
1083
- * @memberOf MapCache
1084
- */
1085
- function mapCacheClear() {
1086
- this.size = 0;
1087
- this.__data__ = {
1088
- 'hash': new _Hash,
1089
- 'map': new (_Map || _ListCache),
1090
- 'string': new _Hash
1091
- };
1092
- }
1093
-
1094
- var _mapCacheClear = mapCacheClear;
1095
-
1096
- /**
1097
- * Checks if `value` is suitable for use as unique object key.
1098
- *
1099
- * @private
1100
- * @param {*} value The value to check.
1101
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1102
- */
1103
- function isKeyable(value) {
1104
- var type = typeof value;
1105
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1106
- ? (value !== '__proto__')
1107
- : (value === null);
1108
- }
1109
-
1110
- var _isKeyable = isKeyable;
1111
-
1112
- /**
1113
- * Gets the data for `map`.
1114
- *
1115
- * @private
1116
- * @param {Object} map The map to query.
1117
- * @param {string} key The reference key.
1118
- * @returns {*} Returns the map data.
1119
- */
1120
- function getMapData(map, key) {
1121
- var data = map.__data__;
1122
- return _isKeyable(key)
1123
- ? data[typeof key == 'string' ? 'string' : 'hash']
1124
- : data.map;
1125
- }
1126
-
1127
- var _getMapData = getMapData;
1128
-
1129
- /**
1130
- * Removes `key` and its value from the map.
1131
- *
1132
- * @private
1133
- * @name delete
1134
- * @memberOf MapCache
1135
- * @param {string} key The key of the value to remove.
1136
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1137
- */
1138
- function mapCacheDelete(key) {
1139
- var result = _getMapData(this, key)['delete'](key);
1140
- this.size -= result ? 1 : 0;
1141
- return result;
1142
- }
1143
-
1144
- var _mapCacheDelete = mapCacheDelete;
1145
-
1146
- /**
1147
- * Gets the map value for `key`.
1148
- *
1149
- * @private
1150
- * @name get
1151
- * @memberOf MapCache
1152
- * @param {string} key The key of the value to get.
1153
- * @returns {*} Returns the entry value.
1154
- */
1155
- function mapCacheGet(key) {
1156
- return _getMapData(this, key).get(key);
1157
- }
1158
-
1159
- var _mapCacheGet = mapCacheGet;
1160
-
1161
- /**
1162
- * Checks if a map value for `key` exists.
1163
- *
1164
- * @private
1165
- * @name has
1166
- * @memberOf MapCache
1167
- * @param {string} key The key of the entry to check.
1168
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1169
- */
1170
- function mapCacheHas(key) {
1171
- return _getMapData(this, key).has(key);
1172
- }
1173
-
1174
- var _mapCacheHas = mapCacheHas;
1175
-
1176
- /**
1177
- * Sets the map `key` to `value`.
1178
- *
1179
- * @private
1180
- * @name set
1181
- * @memberOf MapCache
1182
- * @param {string} key The key of the value to set.
1183
- * @param {*} value The value to set.
1184
- * @returns {Object} Returns the map cache instance.
1185
- */
1186
- function mapCacheSet(key, value) {
1187
- var data = _getMapData(this, key),
1188
- size = data.size;
1189
-
1190
- data.set(key, value);
1191
- this.size += data.size == size ? 0 : 1;
1192
- return this;
1193
- }
1194
-
1195
- var _mapCacheSet = mapCacheSet;
1196
-
1197
- /**
1198
- * Creates a map cache object to store key-value pairs.
1199
- *
1200
- * @private
1201
- * @constructor
1202
- * @param {Array} [entries] The key-value pairs to cache.
1203
- */
1204
- function MapCache(entries) {
1205
- var index = -1,
1206
- length = entries == null ? 0 : entries.length;
1207
-
1208
- this.clear();
1209
- while (++index < length) {
1210
- var entry = entries[index];
1211
- this.set(entry[0], entry[1]);
1212
- }
1213
- }
1214
-
1215
- // Add methods to `MapCache`.
1216
- MapCache.prototype.clear = _mapCacheClear;
1217
- MapCache.prototype['delete'] = _mapCacheDelete;
1218
- MapCache.prototype.get = _mapCacheGet;
1219
- MapCache.prototype.has = _mapCacheHas;
1220
- MapCache.prototype.set = _mapCacheSet;
1221
-
1222
- var _MapCache = MapCache;
1223
-
1224
- /** Error message constants. */
1225
- var FUNC_ERROR_TEXT = 'Expected a function';
1226
-
1227
- /**
1228
- * Creates a function that memoizes the result of `func`. If `resolver` is
1229
- * provided, it determines the cache key for storing the result based on the
1230
- * arguments provided to the memoized function. By default, the first argument
1231
- * provided to the memoized function is used as the map cache key. The `func`
1232
- * is invoked with the `this` binding of the memoized function.
1233
- *
1234
- * **Note:** The cache is exposed as the `cache` property on the memoized
1235
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
1236
- * constructor with one whose instances implement the
1237
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1238
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1239
- *
1240
- * @static
1241
- * @memberOf _
1242
- * @since 0.1.0
1243
- * @category Function
1244
- * @param {Function} func The function to have its output memoized.
1245
- * @param {Function} [resolver] The function to resolve the cache key.
1246
- * @returns {Function} Returns the new memoized function.
1247
- * @example
1248
- *
1249
- * var object = { 'a': 1, 'b': 2 };
1250
- * var other = { 'c': 3, 'd': 4 };
1251
- *
1252
- * var values = _.memoize(_.values);
1253
- * values(object);
1254
- * // => [1, 2]
1255
- *
1256
- * values(other);
1257
- * // => [3, 4]
1258
- *
1259
- * object.a = 2;
1260
- * values(object);
1261
- * // => [1, 2]
1262
- *
1263
- * // Modify the result cache.
1264
- * values.cache.set(object, ['a', 'b']);
1265
- * values(object);
1266
- * // => ['a', 'b']
1267
- *
1268
- * // Replace `_.memoize.Cache`.
1269
- * _.memoize.Cache = WeakMap;
1270
- */
1271
- function memoize(func, resolver) {
1272
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1273
- throw new TypeError(FUNC_ERROR_TEXT);
1274
- }
1275
- var memoized = function() {
1276
- var args = arguments,
1277
- key = resolver ? resolver.apply(this, args) : args[0],
1278
- cache = memoized.cache;
1279
-
1280
- if (cache.has(key)) {
1281
- return cache.get(key);
1282
- }
1283
- var result = func.apply(this, args);
1284
- memoized.cache = cache.set(key, result) || cache;
1285
- return result;
1286
- };
1287
- memoized.cache = new (memoize.Cache || _MapCache);
1288
- return memoized;
1289
- }
1290
-
1291
- // Expose `MapCache`.
1292
- memoize.Cache = _MapCache;
1293
-
1294
- var memoize_1 = memoize;
1295
-
1296
- /** Used as the maximum memoize cache size. */
1297
- var MAX_MEMOIZE_SIZE = 500;
1298
-
1299
- /**
1300
- * A specialized version of `_.memoize` which clears the memoized function's
1301
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1302
- *
1303
- * @private
1304
- * @param {Function} func The function to have its output memoized.
1305
- * @returns {Function} Returns the new memoized function.
1306
- */
1307
- function memoizeCapped(func) {
1308
- var result = memoize_1(func, function(key) {
1309
- if (cache.size === MAX_MEMOIZE_SIZE) {
1310
- cache.clear();
1311
- }
1312
- return key;
1313
- });
1314
-
1315
- var cache = result.cache;
1316
- return result;
1317
- }
1318
-
1319
- var _memoizeCapped = memoizeCapped;
1320
-
1321
- /** Used to match property names within property paths. */
1322
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1323
-
1324
- /** Used to match backslashes in property paths. */
1325
- var reEscapeChar = /\\(\\)?/g;
1326
-
1327
- /**
1328
- * Converts `string` to a property path array.
1329
- *
1330
- * @private
1331
- * @param {string} string The string to convert.
1332
- * @returns {Array} Returns the property path array.
1333
- */
1334
- var stringToPath = _memoizeCapped(function(string) {
1335
- var result = [];
1336
- if (string.charCodeAt(0) === 46 /* . */) {
1337
- result.push('');
1338
- }
1339
- string.replace(rePropName, function(match, number, quote, subString) {
1340
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1341
- });
1342
- return result;
1343
- });
1344
-
1345
- var _stringToPath = stringToPath;
1346
-
1347
- /**
1348
- * A specialized version of `_.map` for arrays without support for iteratee
1349
- * shorthands.
1350
- *
1351
- * @private
1352
- * @param {Array} [array] The array to iterate over.
1353
- * @param {Function} iteratee The function invoked per iteration.
1354
- * @returns {Array} Returns the new mapped array.
1355
- */
1356
- function arrayMap(array, iteratee) {
1357
- var index = -1,
1358
- length = array == null ? 0 : array.length,
1359
- result = Array(length);
1360
-
1361
- while (++index < length) {
1362
- result[index] = iteratee(array[index], index, array);
1363
- }
1364
- return result;
1365
- }
1366
-
1367
- var _arrayMap = arrayMap;
1368
-
1369
- /** Used as references for various `Number` constants. */
1370
- var INFINITY$1 = 1 / 0;
1371
-
1372
- /** Used to convert symbols to primitives and strings. */
1373
- var symbolProto = _Symbol ? _Symbol.prototype : undefined,
1374
- symbolToString = symbolProto ? symbolProto.toString : undefined;
1375
-
1376
- /**
1377
- * The base implementation of `_.toString` which doesn't convert nullish
1378
- * values to empty strings.
1379
- *
1380
- * @private
1381
- * @param {*} value The value to process.
1382
- * @returns {string} Returns the string.
1383
- */
1384
- function baseToString(value) {
1385
- // Exit early for strings to avoid a performance hit in some environments.
1386
- if (typeof value == 'string') {
1387
- return value;
1388
- }
1389
- if (isArray_1(value)) {
1390
- // Recursively convert values (susceptible to call stack limits).
1391
- return _arrayMap(value, baseToString) + '';
1392
- }
1393
- if (isSymbol_1(value)) {
1394
- return symbolToString ? symbolToString.call(value) : '';
1395
- }
1396
- var result = (value + '');
1397
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
1398
- }
1399
-
1400
- var _baseToString = baseToString;
1401
-
1402
- /**
1403
- * Converts `value` to a string. An empty string is returned for `null`
1404
- * and `undefined` values. The sign of `-0` is preserved.
1405
- *
1406
- * @static
1407
- * @memberOf _
1408
- * @since 4.0.0
1409
- * @category Lang
1410
- * @param {*} value The value to convert.
1411
- * @returns {string} Returns the converted string.
1412
- * @example
1413
- *
1414
- * _.toString(null);
1415
- * // => ''
1416
- *
1417
- * _.toString(-0);
1418
- * // => '-0'
1419
- *
1420
- * _.toString([1, 2, 3]);
1421
- * // => '1,2,3'
1422
- */
1423
- function toString(value) {
1424
- return value == null ? '' : _baseToString(value);
1425
- }
1426
-
1427
- var toString_1 = toString;
1428
-
1429
- /**
1430
- * Casts `value` to a path array if it's not one.
1431
- *
1432
- * @private
1433
- * @param {*} value The value to inspect.
1434
- * @param {Object} [object] The object to query keys on.
1435
- * @returns {Array} Returns the cast property path array.
1436
- */
1437
- function castPath(value, object) {
1438
- if (isArray_1(value)) {
1439
- return value;
1440
- }
1441
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1442
- }
1443
-
1444
- var _castPath = castPath;
1445
-
1446
- /** Used as references for various `Number` constants. */
1447
- var INFINITY = 1 / 0;
1448
-
1449
- /**
1450
- * Converts `value` to a string key if it's not a string or symbol.
1451
- *
1452
- * @private
1453
- * @param {*} value The value to inspect.
1454
- * @returns {string|symbol} Returns the key.
1455
- */
1456
- function toKey(value) {
1457
- if (typeof value == 'string' || isSymbol_1(value)) {
1458
- return value;
1459
- }
1460
- var result = (value + '');
1461
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1462
- }
1463
-
1464
- var _toKey = toKey;
1465
-
1466
- /**
1467
- * The base implementation of `_.get` without support for default values.
1468
- *
1469
- * @private
1470
- * @param {Object} object The object to query.
1471
- * @param {Array|string} path The path of the property to get.
1472
- * @returns {*} Returns the resolved value.
1473
- */
1474
- function baseGet(object, path) {
1475
- path = _castPath(path, object);
1476
-
1477
- var index = 0,
1478
- length = path.length;
1479
-
1480
- while (object != null && index < length) {
1481
- object = object[_toKey(path[index++])];
1482
- }
1483
- return (index && index == length) ? object : undefined;
1484
- }
1485
-
1486
- var _baseGet = baseGet;
1487
-
1488
- /**
1489
- * Gets the value at `path` of `object`. If the resolved value is
1490
- * `undefined`, the `defaultValue` is returned in its place.
1491
- *
1492
- * @static
1493
- * @memberOf _
1494
- * @since 3.7.0
1495
- * @category Object
1496
- * @param {Object} object The object to query.
1497
- * @param {Array|string} path The path of the property to get.
1498
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1499
- * @returns {*} Returns the resolved value.
1500
- * @example
1501
- *
1502
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1503
- *
1504
- * _.get(object, 'a[0].b.c');
1505
- * // => 3
1506
- *
1507
- * _.get(object, ['a', '0', 'b', 'c']);
1508
- * // => 3
1509
- *
1510
- * _.get(object, 'a.b.c', 'default');
1511
- * // => 'default'
1512
- */
1513
- function get(object, path, defaultValue) {
1514
- var result = object == null ? undefined : _baseGet(object, path);
1515
- return result === undefined ? defaultValue : result;
1516
- }
1517
-
1518
- var get_1 = get;
1519
-
1520
- var Loading = function Loading(_ref) {
1521
- _ref.width;
1522
- _ref.height;
1523
- _ref.iconColor;
1524
- return /*#__PURE__*/React__default["default"].createElement("div", {
1525
- className: "loading-m_loading-indicator__2Dlst"
1526
- }, /*#__PURE__*/React__default["default"].createElement("svg", {
1527
- width: "40",
1528
- height: "40",
1529
- xmlns: "http://www.w3.org/2000/svg",
1530
- viewBox: "0 0 100 100",
1531
- preserveAspectRatio: "xMidYMid"
1532
- }, /*#__PURE__*/React__default["default"].createElement("circle", {
1533
- cx: "84",
1534
- cy: "50",
1535
- r: "0",
1536
- fill: "currentColor"
1537
- }, /*#__PURE__*/React__default["default"].createElement("animate", {
1538
- attributeName: "r",
1539
- values: "10;0;0;0;0",
1540
- keyTimes: "0;0.25;0.5;0.75;1",
1541
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1542
- calcMode: "spline",
1543
- dur: "2s",
1544
- repeatCount: "indefinite",
1545
- begin: "0s"
1546
- }), /*#__PURE__*/React__default["default"].createElement("animate", {
1547
- attributeName: "cx",
1548
- values: "84;84;84;84;84",
1549
- keyTimes: "0;0.25;0.5;0.75;1",
1550
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1551
- calcMode: "spline",
1552
- dur: "2s",
1553
- repeatCount: "indefinite",
1554
- begin: "0s"
1555
- })), /*#__PURE__*/React__default["default"].createElement("circle", {
1556
- cx: "84",
1557
- cy: "50",
1558
- r: ".709",
1559
- fill: "currentColor"
1560
- }, /*#__PURE__*/React__default["default"].createElement("animate", {
1561
- attributeName: "r",
1562
- values: "0;10;10;10;0",
1563
- keyTimes: "0;0.25;0.5;0.75;1",
1564
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1565
- calcMode: "spline",
1566
- dur: "2s",
1567
- repeatCount: "indefinite",
1568
- begin: "-1s"
1569
- }), /*#__PURE__*/React__default["default"].createElement("animate", {
1570
- attributeName: "cx",
1571
- values: "16;16;50;84;84",
1572
- keyTimes: "0;0.25;0.5;0.75;1",
1573
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1574
- calcMode: "spline",
1575
- dur: "2s",
1576
- repeatCount: "indefinite",
1577
- begin: "-1s"
1578
- })), /*#__PURE__*/React__default["default"].createElement("circle", {
1579
- cx: "81.59",
1580
- cy: "50",
1581
- r: "10",
1582
- fill: "currentColor"
1583
- }, /*#__PURE__*/React__default["default"].createElement("animate", {
1584
- attributeName: "r",
1585
- values: "0;10;10;10;0",
1586
- keyTimes: "0;0.25;0.5;0.75;1",
1587
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1588
- calcMode: "spline",
1589
- dur: "2s",
1590
- repeatCount: "indefinite",
1591
- begin: "-0.5s"
1592
- }), /*#__PURE__*/React__default["default"].createElement("animate", {
1593
- attributeName: "cx",
1594
- values: "16;16;50;84;84",
1595
- keyTimes: "0;0.25;0.5;0.75;1",
1596
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1597
- calcMode: "spline",
1598
- dur: "2s",
1599
- repeatCount: "indefinite",
1600
- begin: "-0.5s"
1601
- })), /*#__PURE__*/React__default["default"].createElement("circle", {
1602
- cx: "47.59",
1603
- cy: "50",
1604
- r: "10",
1605
- fill: "currentColor"
1606
- }, /*#__PURE__*/React__default["default"].createElement("animate", {
1607
- attributeName: "r",
1608
- values: "0;10;10;10;0",
1609
- keyTimes: "0;0.25;0.5;0.75;1",
1610
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1611
- calcMode: "spline",
1612
- dur: "2s",
1613
- repeatCount: "indefinite",
1614
- begin: "0s"
1615
- }), /*#__PURE__*/React__default["default"].createElement("animate", {
1616
- attributeName: "cx",
1617
- values: "16;16;50;84;84",
1618
- keyTimes: "0;0.25;0.5;0.75;1",
1619
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1620
- calcMode: "spline",
1621
- dur: "2s",
1622
- repeatCount: "indefinite",
1623
- begin: "0s"
1624
- })), /*#__PURE__*/React__default["default"].createElement("circle", {
1625
- cx: "16",
1626
- cy: "50",
1627
- r: "9.291",
1628
- fill: "currentColor"
1629
- }, /*#__PURE__*/React__default["default"].createElement("animate", {
1630
- attributeName: "r",
1631
- values: "0;0;10;10;10",
1632
- keyTimes: "0;0.25;0.5;0.75;1",
1633
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1634
- calcMode: "spline",
1635
- dur: "2s",
1636
- repeatCount: "indefinite",
1637
- begin: "0s"
1638
- }), /*#__PURE__*/React__default["default"].createElement("animate", {
1639
- attributeName: "cx",
1640
- values: "16;16;16;50;84",
1641
- keyTimes: "0;0.25;0.5;0.75;1",
1642
- keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
1643
- calcMode: "spline",
1644
- dur: "2s",
1645
- repeatCount: "indefinite",
1646
- begin: "0s"
1647
- }))));
1648
- };
1649
- Loading.propTypes = {
1650
- width: PropTypes__default["default"].object,
1651
- height: PropTypes__default["default"].object,
1652
- iconColor: PropTypes__default["default"].object
1653
- };
1654
-
1655
- var HyperLinkIcon = function HyperLinkIcon() {
1656
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1657
- xmlns: "http://www.w3.org/2000/svg",
1658
- width: "36",
1659
- height: "28"
1660
- }, /*#__PURE__*/React__default["default"].createElement("g", {
1661
- fill: "none",
1662
- fillRule: "evenodd"
1663
- }, /*#__PURE__*/React__default["default"].createElement("rect", {
1664
- width: "36",
1665
- height: "28",
1666
- fill: "#3D6FCF",
1667
- rx: "4"
1668
- }), /*#__PURE__*/React__default["default"].createElement("path", {
1669
- stroke: "#FFF",
1670
- strokeLinecap: "round",
1671
- strokeLinejoin: "round",
1672
- strokeWidth: "2",
1673
- d: "M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"
1674
- })));
1675
- };
1676
-
1677
- var HyperLink = function HyperLink(_ref) {
1678
- var _ref$hyperLink = _ref.hyperLink,
1679
- hyperLink = _ref$hyperLink === void 0 ? "" : _ref$hyperLink;
1680
- if (!hyperLink) return null;
1681
- return /*#__PURE__*/React__default["default"].createElement(components.Link, {
1682
- href: hyperLink,
1683
- "aria-label": "hyperlink-button",
1684
- className: "arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",
1685
- target: "_blank",
1686
- rel: "noopener noreferrer"
1687
- }, /*#__PURE__*/React__default["default"].createElement(HyperLinkIcon, null));
1688
- };
1689
- HyperLink.propTypes = {
1690
- hyperLink: PropTypes__default["default"].string
1691
- };
1692
-
1693
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1694
-
1695
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1696
- var Lightbox = /*#__PURE__*/React.lazy(function () {
1697
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-image-lightbox')); });
1698
- });
1699
- var FullScreenImages = function FullScreenImages(_ref) {
1700
- var _ref$imageSlug = _ref.imageSlug,
1701
- imageSlug = _ref$imageSlug === void 0 ? "" : _ref$imageSlug,
1702
- template = _ref.template,
1703
- _ref$element = _ref.element,
1704
- element = _ref$element === void 0 ? {} : _ref$element,
1705
- props = _ref.props;
1706
- var cdnImage = reactRedux.useSelector(function (state) {
1707
- return get_1(state, ["qt", "config", "cdn-image"]);
1708
- });
1709
-
1710
- var _useState = React.useState(0),
1711
- _useState2 = _slicedToArray(_useState, 2),
1712
- photoIndex = _useState2[0],
1713
- handleImage = _useState2[1];
1714
-
1715
- var _useState3 = React.useState(false),
1716
- _useState4 = _slicedToArray(_useState3, 2),
1717
- isOpen = _useState4[0],
1718
- handleOpen = _useState4[1];
1719
-
1720
- var deviceWidth = get_1(global, ["innerWidth"], 0);
1721
- var hyperlinks = get_1(element, ["story-elements"], []).map(function (image) {
1722
- return image.hyperlink;
1723
- });
1724
- var imageUrlList = [];
1725
-
1726
- if (!imageSlug) {
1727
- imageUrlList = get_1(element, ["story-elements"], []).map(function (image) {
1728
- return "//".concat(cdnImage, "/").concat(image["image-s3-key"], "?w=").concat(deviceWidth);
1729
- });
1730
- }
1731
-
1732
- var onClickHandler = function onClickHandler(index) {
1733
- handleOpen(true);
1734
- handleImage(index);
1735
- };
1736
-
1737
- var onClickKey = imageSlug ? "onClick" : "onClickHandler";
1738
- var imageUrlListLength = imageUrlList.length;
1739
-
1740
- var onMoveNext = function onMoveNext(imageUrlListLength) {
1741
- var next = (photoIndex + 1) % imageUrlListLength;
1742
- handleImage(next);
1743
- };
1744
-
1745
- var onMovePrev = function onMovePrev(imageUrlListLength) {
1746
- var prev = (photoIndex + imageUrlListLength - 1) % imageUrlListLength;
1747
- handleImage(prev);
1748
- };
1749
-
1750
- var onClose = function onClose() {
1751
- handleImage(0);
1752
- handleOpen(false);
1753
- };
1754
-
1755
- var getHyperLink = function getHyperLink() {
1756
- if (element.hyperlink || hyperlinks[photoIndex]) {
1757
- return /*#__PURE__*/React__default["default"].createElement(HyperLink, {
1758
- hyperLink: element.hyperlink || hyperlinks[photoIndex]
1759
- });
1760
- }
1761
-
1762
- return null;
1763
- };
1764
-
1765
- var lightboxProps = imageSlug ? {
1766
- mainSrc: "//".concat(cdnImage, "/").concat(imageSlug, "?w=").concat(deviceWidth),
1767
- toolbarButtons: [getHyperLink()]
1768
- } : {
1769
- mainSrc: imageUrlList[photoIndex],
1770
- nextSrc: imageUrlList[(photoIndex + 1) % imageUrlListLength],
1771
- prevSrc: imageUrlList[(photoIndex + imageUrlListLength - 1) % imageUrlListLength],
1772
- onMoveNextRequest: function onMoveNextRequest() {
1773
- return onMoveNext(imageUrlListLength);
1774
- },
1775
- onMovePrevRequest: function onMovePrevRequest() {
1776
- return onMovePrev(imageUrlListLength);
1777
- },
1778
- toolbarButtons: [getHyperLink()]
1779
- };
1780
-
1781
- var LoadingScreen = function LoadingScreen() {
1782
- return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Loading, null));
1783
- };
1784
-
1785
- return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(template, _objectSpread(_defineProperty({}, onClickKey, onClickHandler), props)), isOpen ? /*#__PURE__*/React__default["default"].createElement(React.Suspense, {
1786
- fallback: /*#__PURE__*/React__default["default"].createElement(LoadingScreen, null)
1787
- }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends({
1788
- wrapperClassName: "arr--image-lightbox",
1789
- onCloseRequest: onClose
1790
- }, lightboxProps))) : null);
1791
- };
1792
- FullScreenImages.propTypes = {
1793
- imageSlug: PropTypes__default["default"].string,
1794
- template: PropTypes__default["default"].func,
1795
- element: PropTypes__default["default"].shape({
1796
- "story-elements": PropTypes__default["default"].array
1797
- }),
1798
- props: PropTypes__default["default"].object
1799
- };
1800
-
1801
- /**
1802
- * Copyright (c) 2014-present, Facebook, Inc.
1803
- *
1804
- * This source code is licensed under the MIT license found in the
1805
- * LICENSE file in the root directory of this source tree.
1806
- */
1807
-
1808
- createCommonjsModule(function (module) {
1809
- var runtime = (function (exports) {
1810
-
1811
- var Op = Object.prototype;
1812
- var hasOwn = Op.hasOwnProperty;
1813
- var undefined$1; // More compressible than void 0.
1814
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
1815
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
1816
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
1817
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
1818
-
1819
- function define(obj, key, value) {
1820
- Object.defineProperty(obj, key, {
1821
- value: value,
1822
- enumerable: true,
1823
- configurable: true,
1824
- writable: true
1825
- });
1826
- return obj[key];
1827
- }
1828
- try {
1829
- // IE 8 has a broken Object.defineProperty that only works on DOM objects.
1830
- define({}, "");
1831
- } catch (err) {
1832
- define = function(obj, key, value) {
1833
- return obj[key] = value;
1834
- };
1835
- }
1836
-
1837
- function wrap(innerFn, outerFn, self, tryLocsList) {
1838
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
1839
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
1840
- var generator = Object.create(protoGenerator.prototype);
1841
- var context = new Context(tryLocsList || []);
1842
-
1843
- // The ._invoke method unifies the implementations of the .next,
1844
- // .throw, and .return methods.
1845
- generator._invoke = makeInvokeMethod(innerFn, self, context);
1846
-
1847
- return generator;
1848
- }
1849
- exports.wrap = wrap;
1850
-
1851
- // Try/catch helper to minimize deoptimizations. Returns a completion
1852
- // record like context.tryEntries[i].completion. This interface could
1853
- // have been (and was previously) designed to take a closure to be
1854
- // invoked without arguments, but in all the cases we care about we
1855
- // already have an existing method we want to call, so there's no need
1856
- // to create a new function object. We can even get away with assuming
1857
- // the method takes exactly one argument, since that happens to be true
1858
- // in every case, so we don't have to touch the arguments object. The
1859
- // only additional allocation required is the completion record, which
1860
- // has a stable shape and so hopefully should be cheap to allocate.
1861
- function tryCatch(fn, obj, arg) {
1862
- try {
1863
- return { type: "normal", arg: fn.call(obj, arg) };
1864
- } catch (err) {
1865
- return { type: "throw", arg: err };
1866
- }
1867
- }
1868
-
1869
- var GenStateSuspendedStart = "suspendedStart";
1870
- var GenStateSuspendedYield = "suspendedYield";
1871
- var GenStateExecuting = "executing";
1872
- var GenStateCompleted = "completed";
1873
-
1874
- // Returning this object from the innerFn has the same effect as
1875
- // breaking out of the dispatch switch statement.
1876
- var ContinueSentinel = {};
1877
-
1878
- // Dummy constructor functions that we use as the .constructor and
1879
- // .constructor.prototype properties for functions that return Generator
1880
- // objects. For full spec compliance, you may wish to configure your
1881
- // minifier not to mangle the names of these two functions.
1882
- function Generator() {}
1883
- function GeneratorFunction() {}
1884
- function GeneratorFunctionPrototype() {}
1885
-
1886
- // This is a polyfill for %IteratorPrototype% for environments that
1887
- // don't natively support it.
1888
- var IteratorPrototype = {};
1889
- define(IteratorPrototype, iteratorSymbol, function () {
1890
- return this;
1891
- });
1892
-
1893
- var getProto = Object.getPrototypeOf;
1894
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
1895
- if (NativeIteratorPrototype &&
1896
- NativeIteratorPrototype !== Op &&
1897
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
1898
- // This environment has a native %IteratorPrototype%; use it instead
1899
- // of the polyfill.
1900
- IteratorPrototype = NativeIteratorPrototype;
1901
- }
1902
-
1903
- var Gp = GeneratorFunctionPrototype.prototype =
1904
- Generator.prototype = Object.create(IteratorPrototype);
1905
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
1906
- define(Gp, "constructor", GeneratorFunctionPrototype);
1907
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
1908
- GeneratorFunction.displayName = define(
1909
- GeneratorFunctionPrototype,
1910
- toStringTagSymbol,
1911
- "GeneratorFunction"
1912
- );
1913
-
1914
- // Helper for defining the .next, .throw, and .return methods of the
1915
- // Iterator interface in terms of a single ._invoke method.
1916
- function defineIteratorMethods(prototype) {
1917
- ["next", "throw", "return"].forEach(function(method) {
1918
- define(prototype, method, function(arg) {
1919
- return this._invoke(method, arg);
1920
- });
1921
- });
1922
- }
1923
-
1924
- exports.isGeneratorFunction = function(genFun) {
1925
- var ctor = typeof genFun === "function" && genFun.constructor;
1926
- return ctor
1927
- ? ctor === GeneratorFunction ||
1928
- // For the native GeneratorFunction constructor, the best we can
1929
- // do is to check its .name property.
1930
- (ctor.displayName || ctor.name) === "GeneratorFunction"
1931
- : false;
1932
- };
1933
-
1934
- exports.mark = function(genFun) {
1935
- if (Object.setPrototypeOf) {
1936
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
1937
- } else {
1938
- genFun.__proto__ = GeneratorFunctionPrototype;
1939
- define(genFun, toStringTagSymbol, "GeneratorFunction");
1940
- }
1941
- genFun.prototype = Object.create(Gp);
1942
- return genFun;
1943
- };
1944
-
1945
- // Within the body of any async function, `await x` is transformed to
1946
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
1947
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
1948
- // meant to be awaited.
1949
- exports.awrap = function(arg) {
1950
- return { __await: arg };
1951
- };
1952
-
1953
- function AsyncIterator(generator, PromiseImpl) {
1954
- function invoke(method, arg, resolve, reject) {
1955
- var record = tryCatch(generator[method], generator, arg);
1956
- if (record.type === "throw") {
1957
- reject(record.arg);
1958
- } else {
1959
- var result = record.arg;
1960
- var value = result.value;
1961
- if (value &&
1962
- typeof value === "object" &&
1963
- hasOwn.call(value, "__await")) {
1964
- return PromiseImpl.resolve(value.__await).then(function(value) {
1965
- invoke("next", value, resolve, reject);
1966
- }, function(err) {
1967
- invoke("throw", err, resolve, reject);
1968
- });
1969
- }
1970
-
1971
- return PromiseImpl.resolve(value).then(function(unwrapped) {
1972
- // When a yielded Promise is resolved, its final value becomes
1973
- // the .value of the Promise<{value,done}> result for the
1974
- // current iteration.
1975
- result.value = unwrapped;
1976
- resolve(result);
1977
- }, function(error) {
1978
- // If a rejected Promise was yielded, throw the rejection back
1979
- // into the async generator function so it can be handled there.
1980
- return invoke("throw", error, resolve, reject);
1981
- });
1982
- }
1983
- }
1984
-
1985
- var previousPromise;
1986
-
1987
- function enqueue(method, arg) {
1988
- function callInvokeWithMethodAndArg() {
1989
- return new PromiseImpl(function(resolve, reject) {
1990
- invoke(method, arg, resolve, reject);
1991
- });
1992
- }
1993
-
1994
- return previousPromise =
1995
- // If enqueue has been called before, then we want to wait until
1996
- // all previous Promises have been resolved before calling invoke,
1997
- // so that results are always delivered in the correct order. If
1998
- // enqueue has not been called before, then it is important to
1999
- // call invoke immediately, without waiting on a callback to fire,
2000
- // so that the async generator function has the opportunity to do
2001
- // any necessary setup in a predictable way. This predictability
2002
- // is why the Promise constructor synchronously invokes its
2003
- // executor callback, and why async functions synchronously
2004
- // execute code before the first await. Since we implement simple
2005
- // async functions in terms of async generators, it is especially
2006
- // important to get this right, even though it requires care.
2007
- previousPromise ? previousPromise.then(
2008
- callInvokeWithMethodAndArg,
2009
- // Avoid propagating failures to Promises returned by later
2010
- // invocations of the iterator.
2011
- callInvokeWithMethodAndArg
2012
- ) : callInvokeWithMethodAndArg();
2013
- }
2014
-
2015
- // Define the unified helper method that is used to implement .next,
2016
- // .throw, and .return (see defineIteratorMethods).
2017
- this._invoke = enqueue;
2018
- }
2019
-
2020
- defineIteratorMethods(AsyncIterator.prototype);
2021
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
2022
- return this;
2023
- });
2024
- exports.AsyncIterator = AsyncIterator;
2025
-
2026
- // Note that simple async functions are implemented on top of
2027
- // AsyncIterator objects; they just return a Promise for the value of
2028
- // the final result produced by the iterator.
2029
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
2030
- if (PromiseImpl === void 0) PromiseImpl = Promise;
2031
-
2032
- var iter = new AsyncIterator(
2033
- wrap(innerFn, outerFn, self, tryLocsList),
2034
- PromiseImpl
2035
- );
2036
-
2037
- return exports.isGeneratorFunction(outerFn)
2038
- ? iter // If outerFn is a generator, return the full iterator.
2039
- : iter.next().then(function(result) {
2040
- return result.done ? result.value : iter.next();
2041
- });
2042
- };
2043
-
2044
- function makeInvokeMethod(innerFn, self, context) {
2045
- var state = GenStateSuspendedStart;
2046
-
2047
- return function invoke(method, arg) {
2048
- if (state === GenStateExecuting) {
2049
- throw new Error("Generator is already running");
2050
- }
2051
-
2052
- if (state === GenStateCompleted) {
2053
- if (method === "throw") {
2054
- throw arg;
2055
- }
2056
-
2057
- // Be forgiving, per 25.3.3.3.3 of the spec:
2058
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
2059
- return doneResult();
2060
- }
2061
-
2062
- context.method = method;
2063
- context.arg = arg;
2064
-
2065
- while (true) {
2066
- var delegate = context.delegate;
2067
- if (delegate) {
2068
- var delegateResult = maybeInvokeDelegate(delegate, context);
2069
- if (delegateResult) {
2070
- if (delegateResult === ContinueSentinel) continue;
2071
- return delegateResult;
2072
- }
2073
- }
2074
-
2075
- if (context.method === "next") {
2076
- // Setting context._sent for legacy support of Babel's
2077
- // function.sent implementation.
2078
- context.sent = context._sent = context.arg;
2079
-
2080
- } else if (context.method === "throw") {
2081
- if (state === GenStateSuspendedStart) {
2082
- state = GenStateCompleted;
2083
- throw context.arg;
2084
- }
2085
-
2086
- context.dispatchException(context.arg);
2087
-
2088
- } else if (context.method === "return") {
2089
- context.abrupt("return", context.arg);
2090
- }
2091
-
2092
- state = GenStateExecuting;
2093
-
2094
- var record = tryCatch(innerFn, self, context);
2095
- if (record.type === "normal") {
2096
- // If an exception is thrown from innerFn, we leave state ===
2097
- // GenStateExecuting and loop back for another invocation.
2098
- state = context.done
2099
- ? GenStateCompleted
2100
- : GenStateSuspendedYield;
2101
-
2102
- if (record.arg === ContinueSentinel) {
2103
- continue;
2104
- }
2105
-
2106
- return {
2107
- value: record.arg,
2108
- done: context.done
2109
- };
2110
-
2111
- } else if (record.type === "throw") {
2112
- state = GenStateCompleted;
2113
- // Dispatch the exception by looping back around to the
2114
- // context.dispatchException(context.arg) call above.
2115
- context.method = "throw";
2116
- context.arg = record.arg;
2117
- }
2118
- }
2119
- };
2120
- }
2121
-
2122
- // Call delegate.iterator[context.method](context.arg) and handle the
2123
- // result, either by returning a { value, done } result from the
2124
- // delegate iterator, or by modifying context.method and context.arg,
2125
- // setting context.delegate to null, and returning the ContinueSentinel.
2126
- function maybeInvokeDelegate(delegate, context) {
2127
- var method = delegate.iterator[context.method];
2128
- if (method === undefined$1) {
2129
- // A .throw or .return when the delegate iterator has no .throw
2130
- // method always terminates the yield* loop.
2131
- context.delegate = null;
2132
-
2133
- if (context.method === "throw") {
2134
- // Note: ["return"] must be used for ES3 parsing compatibility.
2135
- if (delegate.iterator["return"]) {
2136
- // If the delegate iterator has a return method, give it a
2137
- // chance to clean up.
2138
- context.method = "return";
2139
- context.arg = undefined$1;
2140
- maybeInvokeDelegate(delegate, context);
2141
-
2142
- if (context.method === "throw") {
2143
- // If maybeInvokeDelegate(context) changed context.method from
2144
- // "return" to "throw", let that override the TypeError below.
2145
- return ContinueSentinel;
2146
- }
2147
- }
2148
-
2149
- context.method = "throw";
2150
- context.arg = new TypeError(
2151
- "The iterator does not provide a 'throw' method");
2152
- }
2153
-
2154
- return ContinueSentinel;
2155
- }
2156
-
2157
- var record = tryCatch(method, delegate.iterator, context.arg);
2158
-
2159
- if (record.type === "throw") {
2160
- context.method = "throw";
2161
- context.arg = record.arg;
2162
- context.delegate = null;
2163
- return ContinueSentinel;
2164
- }
2165
-
2166
- var info = record.arg;
2167
-
2168
- if (! info) {
2169
- context.method = "throw";
2170
- context.arg = new TypeError("iterator result is not an object");
2171
- context.delegate = null;
2172
- return ContinueSentinel;
2173
- }
2174
-
2175
- if (info.done) {
2176
- // Assign the result of the finished delegate to the temporary
2177
- // variable specified by delegate.resultName (see delegateYield).
2178
- context[delegate.resultName] = info.value;
2179
-
2180
- // Resume execution at the desired location (see delegateYield).
2181
- context.next = delegate.nextLoc;
2182
-
2183
- // If context.method was "throw" but the delegate handled the
2184
- // exception, let the outer generator proceed normally. If
2185
- // context.method was "next", forget context.arg since it has been
2186
- // "consumed" by the delegate iterator. If context.method was
2187
- // "return", allow the original .return call to continue in the
2188
- // outer generator.
2189
- if (context.method !== "return") {
2190
- context.method = "next";
2191
- context.arg = undefined$1;
2192
- }
2193
-
2194
- } else {
2195
- // Re-yield the result returned by the delegate method.
2196
- return info;
2197
- }
2198
-
2199
- // The delegate iterator is finished, so forget it and continue with
2200
- // the outer generator.
2201
- context.delegate = null;
2202
- return ContinueSentinel;
2203
- }
2204
-
2205
- // Define Generator.prototype.{next,throw,return} in terms of the
2206
- // unified ._invoke helper method.
2207
- defineIteratorMethods(Gp);
2208
-
2209
- define(Gp, toStringTagSymbol, "Generator");
2210
-
2211
- // A Generator should always return itself as the iterator object when the
2212
- // @@iterator function is called on it. Some browsers' implementations of the
2213
- // iterator prototype chain incorrectly implement this, causing the Generator
2214
- // object to not be returned from this call. This ensures that doesn't happen.
2215
- // See https://github.com/facebook/regenerator/issues/274 for more details.
2216
- define(Gp, iteratorSymbol, function() {
2217
- return this;
2218
- });
2219
-
2220
- define(Gp, "toString", function() {
2221
- return "[object Generator]";
2222
- });
2223
-
2224
- function pushTryEntry(locs) {
2225
- var entry = { tryLoc: locs[0] };
2226
-
2227
- if (1 in locs) {
2228
- entry.catchLoc = locs[1];
2229
- }
2230
-
2231
- if (2 in locs) {
2232
- entry.finallyLoc = locs[2];
2233
- entry.afterLoc = locs[3];
2234
- }
2235
-
2236
- this.tryEntries.push(entry);
2237
- }
2238
-
2239
- function resetTryEntry(entry) {
2240
- var record = entry.completion || {};
2241
- record.type = "normal";
2242
- delete record.arg;
2243
- entry.completion = record;
2244
- }
2245
-
2246
- function Context(tryLocsList) {
2247
- // The root entry object (effectively a try statement without a catch
2248
- // or a finally block) gives us a place to store values thrown from
2249
- // locations where there is no enclosing try statement.
2250
- this.tryEntries = [{ tryLoc: "root" }];
2251
- tryLocsList.forEach(pushTryEntry, this);
2252
- this.reset(true);
2253
- }
2254
-
2255
- exports.keys = function(object) {
2256
- var keys = [];
2257
- for (var key in object) {
2258
- keys.push(key);
2259
- }
2260
- keys.reverse();
2261
-
2262
- // Rather than returning an object with a next method, we keep
2263
- // things simple and return the next function itself.
2264
- return function next() {
2265
- while (keys.length) {
2266
- var key = keys.pop();
2267
- if (key in object) {
2268
- next.value = key;
2269
- next.done = false;
2270
- return next;
2271
- }
2272
- }
2273
-
2274
- // To avoid creating an additional object, we just hang the .value
2275
- // and .done properties off the next function object itself. This
2276
- // also ensures that the minifier will not anonymize the function.
2277
- next.done = true;
2278
- return next;
2279
- };
2280
- };
2281
-
2282
- function values(iterable) {
2283
- if (iterable) {
2284
- var iteratorMethod = iterable[iteratorSymbol];
2285
- if (iteratorMethod) {
2286
- return iteratorMethod.call(iterable);
2287
- }
2288
-
2289
- if (typeof iterable.next === "function") {
2290
- return iterable;
2291
- }
2292
-
2293
- if (!isNaN(iterable.length)) {
2294
- var i = -1, next = function next() {
2295
- while (++i < iterable.length) {
2296
- if (hasOwn.call(iterable, i)) {
2297
- next.value = iterable[i];
2298
- next.done = false;
2299
- return next;
2300
- }
2301
- }
2302
-
2303
- next.value = undefined$1;
2304
- next.done = true;
2305
-
2306
- return next;
2307
- };
2308
-
2309
- return next.next = next;
2310
- }
2311
- }
2312
-
2313
- // Return an iterator with no values.
2314
- return { next: doneResult };
2315
- }
2316
- exports.values = values;
2317
-
2318
- function doneResult() {
2319
- return { value: undefined$1, done: true };
2320
- }
2321
-
2322
- Context.prototype = {
2323
- constructor: Context,
2324
-
2325
- reset: function(skipTempReset) {
2326
- this.prev = 0;
2327
- this.next = 0;
2328
- // Resetting context._sent for legacy support of Babel's
2329
- // function.sent implementation.
2330
- this.sent = this._sent = undefined$1;
2331
- this.done = false;
2332
- this.delegate = null;
2333
-
2334
- this.method = "next";
2335
- this.arg = undefined$1;
2336
-
2337
- this.tryEntries.forEach(resetTryEntry);
2338
-
2339
- if (!skipTempReset) {
2340
- for (var name in this) {
2341
- // Not sure about the optimal order of these conditions:
2342
- if (name.charAt(0) === "t" &&
2343
- hasOwn.call(this, name) &&
2344
- !isNaN(+name.slice(1))) {
2345
- this[name] = undefined$1;
2346
- }
2347
- }
2348
- }
2349
- },
2350
-
2351
- stop: function() {
2352
- this.done = true;
2353
-
2354
- var rootEntry = this.tryEntries[0];
2355
- var rootRecord = rootEntry.completion;
2356
- if (rootRecord.type === "throw") {
2357
- throw rootRecord.arg;
2358
- }
2359
-
2360
- return this.rval;
2361
- },
2362
-
2363
- dispatchException: function(exception) {
2364
- if (this.done) {
2365
- throw exception;
2366
- }
2367
-
2368
- var context = this;
2369
- function handle(loc, caught) {
2370
- record.type = "throw";
2371
- record.arg = exception;
2372
- context.next = loc;
2373
-
2374
- if (caught) {
2375
- // If the dispatched exception was caught by a catch block,
2376
- // then let that catch block handle the exception normally.
2377
- context.method = "next";
2378
- context.arg = undefined$1;
2379
- }
2380
-
2381
- return !! caught;
2382
- }
2383
-
2384
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2385
- var entry = this.tryEntries[i];
2386
- var record = entry.completion;
2387
-
2388
- if (entry.tryLoc === "root") {
2389
- // Exception thrown outside of any try block that could handle
2390
- // it, so set the completion value of the entire function to
2391
- // throw the exception.
2392
- return handle("end");
2393
- }
2394
-
2395
- if (entry.tryLoc <= this.prev) {
2396
- var hasCatch = hasOwn.call(entry, "catchLoc");
2397
- var hasFinally = hasOwn.call(entry, "finallyLoc");
2398
-
2399
- if (hasCatch && hasFinally) {
2400
- if (this.prev < entry.catchLoc) {
2401
- return handle(entry.catchLoc, true);
2402
- } else if (this.prev < entry.finallyLoc) {
2403
- return handle(entry.finallyLoc);
2404
- }
2405
-
2406
- } else if (hasCatch) {
2407
- if (this.prev < entry.catchLoc) {
2408
- return handle(entry.catchLoc, true);
2409
- }
2410
-
2411
- } else if (hasFinally) {
2412
- if (this.prev < entry.finallyLoc) {
2413
- return handle(entry.finallyLoc);
2414
- }
2415
-
2416
- } else {
2417
- throw new Error("try statement without catch or finally");
2418
- }
2419
- }
2420
- }
2421
- },
2422
-
2423
- abrupt: function(type, arg) {
2424
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2425
- var entry = this.tryEntries[i];
2426
- if (entry.tryLoc <= this.prev &&
2427
- hasOwn.call(entry, "finallyLoc") &&
2428
- this.prev < entry.finallyLoc) {
2429
- var finallyEntry = entry;
2430
- break;
2431
- }
2432
- }
2433
-
2434
- if (finallyEntry &&
2435
- (type === "break" ||
2436
- type === "continue") &&
2437
- finallyEntry.tryLoc <= arg &&
2438
- arg <= finallyEntry.finallyLoc) {
2439
- // Ignore the finally entry if control is not jumping to a
2440
- // location outside the try/catch block.
2441
- finallyEntry = null;
2442
- }
2443
-
2444
- var record = finallyEntry ? finallyEntry.completion : {};
2445
- record.type = type;
2446
- record.arg = arg;
2447
-
2448
- if (finallyEntry) {
2449
- this.method = "next";
2450
- this.next = finallyEntry.finallyLoc;
2451
- return ContinueSentinel;
2452
- }
2453
-
2454
- return this.complete(record);
2455
- },
2456
-
2457
- complete: function(record, afterLoc) {
2458
- if (record.type === "throw") {
2459
- throw record.arg;
2460
- }
2461
-
2462
- if (record.type === "break" ||
2463
- record.type === "continue") {
2464
- this.next = record.arg;
2465
- } else if (record.type === "return") {
2466
- this.rval = this.arg = record.arg;
2467
- this.method = "return";
2468
- this.next = "end";
2469
- } else if (record.type === "normal" && afterLoc) {
2470
- this.next = afterLoc;
2471
- }
2472
-
2473
- return ContinueSentinel;
2474
- },
2475
-
2476
- finish: function(finallyLoc) {
2477
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2478
- var entry = this.tryEntries[i];
2479
- if (entry.finallyLoc === finallyLoc) {
2480
- this.complete(entry.completion, entry.afterLoc);
2481
- resetTryEntry(entry);
2482
- return ContinueSentinel;
2483
- }
2484
- }
2485
- },
2486
-
2487
- "catch": function(tryLoc) {
2488
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2489
- var entry = this.tryEntries[i];
2490
- if (entry.tryLoc === tryLoc) {
2491
- var record = entry.completion;
2492
- if (record.type === "throw") {
2493
- var thrown = record.arg;
2494
- resetTryEntry(entry);
2495
- }
2496
- return thrown;
2497
- }
2498
- }
2499
-
2500
- // The context.catch method must only be called with a location
2501
- // argument that corresponds to a known catch block.
2502
- throw new Error("illegal catch attempt");
2503
- },
2504
-
2505
- delegateYield: function(iterable, resultName, nextLoc) {
2506
- this.delegate = {
2507
- iterator: values(iterable),
2508
- resultName: resultName,
2509
- nextLoc: nextLoc
2510
- };
2511
-
2512
- if (this.method === "next") {
2513
- // Deliberately forget the last sent value so that we don't
2514
- // accidentally pass it on to the delegate.
2515
- this.arg = undefined$1;
2516
- }
2517
-
2518
- return ContinueSentinel;
2519
- }
2520
- };
2521
-
2522
- // Regardless of whether this script is executing as a CommonJS module
2523
- // or not, return the runtime object so that we can declare the variable
2524
- // regeneratorRuntime in the outer scope, which allows this module to be
2525
- // injected easily by `bin/regenerator --include-runtime script.js`.
2526
- return exports;
2527
-
2528
- }(
2529
- // If this script is executing as a CommonJS module, use module.exports
2530
- // as the regeneratorRuntime namespace. Otherwise create a new empty
2531
- // object. Either way, the resulting object will be used to initialize
2532
- // the regeneratorRuntime variable at the top of this file.
2533
- module.exports
2534
- ));
2535
-
2536
- try {
2537
- regeneratorRuntime = runtime;
2538
- } catch (accidentalStrictMode) {
2539
- // This module should not be running in strict mode, so the above
2540
- // assignment should always work unless something is misconfigured. Just
2541
- // in case runtime.js accidentally runs in strict mode, in modern engines
2542
- // we can explicitly access globalThis. In older engines we can escape
2543
- // strict mode using a global Function call. This could conceivably fail
2544
- // if a Content Security Policy forbids using Function, but in that case
2545
- // the proper solution is to fix the accidental strict mode problem. If
2546
- // you've misconfigured your bundler to force strict mode and applied a
2547
- // CSP to forbid Function, and you're not willing to fix either of those
2548
- // problems, please detail your unique predicament in a GitHub issue.
2549
- if (typeof globalThis === "object") {
2550
- globalThis.regeneratorRuntime = runtime;
2551
- } else {
2552
- Function("r", "regeneratorRuntime = r")(runtime);
2553
- }
2554
- }
2555
- });
2556
-
2557
- var clientWidths = {
2558
- mobile: 767,
2559
- tablet: 1024
2560
- };
2561
- var clientWidth = function clientWidth(device) {
2562
- var foundDeviceWidth = get_1(clientWidths, device);
2563
-
2564
- if (foundDeviceWidth) {
2565
- return get_1(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
2566
- }
2567
-
2568
- return false;
2569
- };
2570
- var shapeConfig = PropTypes__default["default"].shape({
2571
- "sketches-host": PropTypes__default["default"].string,
2572
- "cdn-name": PropTypes__default["default"].string,
2573
- "cdn-image": PropTypes__default["default"].string
2574
- });
2575
- var shapeStory = PropTypes__default["default"].shape({
2576
- headline: PropTypes__default["default"].string,
2577
- "last-published-at": PropTypes__default["default"].number,
2578
- subheadline: PropTypes__default["default"].string
2579
- });
2580
-
2581
- var _excluded = ["element", "template", "opts", "story", "config"];
2582
- var _styleModuleImportMap = {
2583
- "./image-gallery.m.css": {
2584
- "viewports": "\"../../../../../assets/stylesheets/viewports.m.css\"",
2585
- "mobile": "768px",
2586
- "image-gallery": "image-gallery-m_image-gallery__1Q7if",
2587
- "image": "image-gallery-m_image__3qwSJ",
2588
- "template-2": "image-gallery-m_template-2__2pjmE",
2589
- "left-images": "image-gallery-m_left-images__34gjv",
2590
- "hyperlink-gallery-image": "image-gallery-m_hyperlink-gallery-image__2qgDp"
2591
- }
2592
- };
2593
-
2594
- var ImageGalleryBase = function ImageGalleryBase(_ref) {
2595
- var element = _ref.element,
2596
- _ref$template = _ref.template,
2597
- template = _ref$template === void 0 ? "" : _ref$template;
2598
- _ref.opts;
2599
- _ref.story;
2600
- _ref.config;
2601
- var restProps = _objectWithoutProperties(_ref, _excluded);
2602
-
2603
- if (!element) return null;
2604
- var isMobile = clientWidth("mobile");
2605
- var imageArr = element["story-elements"];
2606
- var imageBaseOnTemp = template === "template-2" && imageArr.length;
2607
- var renderImageDesktop = imageBaseOnTemp > 6 ? imageArr.slice(0, 6) : imageArr;
2608
- var renderMobile = imageBaseOnTemp > 4 ? imageArr.slice(0, 4) : imageArr;
2609
- var renderImage = isMobile ? renderMobile : renderImageDesktop;
2610
- var classes = template === "template-2" ? "template-2" : "";
2611
-
2612
- var hyperlinkClass = function hyperlinkClass(hyperlink) {
2613
- return hyperlink ? "hyperlink-gallery-image" : "";
2614
- };
2615
-
2616
- var ImageGalleryImagesTemplate = function ImageGalleryImagesTemplate(_ref2) {
2617
- var onClickHandler = _ref2.onClickHandler;
2618
- var images = renderImage.map(function (image, index) {
2619
- return /*#__PURE__*/React__default["default"].createElement("div", {
2620
- key: index,
2621
- className: _getClassName(hyperlinkClass(image["hyperlink"]), _styleModuleImportMap)
2622
- }, /*#__PURE__*/React__default["default"].createElement("figure", {
2623
- key: index,
2624
- "data-text-id": "image-".concat(index),
2625
- onClick: function onClick() {
2626
- return onClickHandler && onClickHandler(index);
2627
- },
2628
- className: _getClassName("image ".concat(classes), _styleModuleImportMap)
2629
- }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
2630
- slug: image["image-s3-key"],
2631
- metadata: image["image-metadata"],
2632
- alt: image["title"],
2633
- aspectRatio: [1, 1],
2634
- defaultWidth: 640,
2635
- imgParams: {
2636
- auto: ["format", "compress"]
2637
- }
2638
- })), image["hyperlink"] && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
2639
- hyperLink: image["hyperlink"]
2640
- }));
2641
- });
2642
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
2643
- className: " arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if" + (" " + (restProps ? restProps.className || "" : ""))
2644
- }, restProps, {
2645
- "data-test-id": "image-gallery"
2646
- }), images);
2647
- };
2648
-
2649
- ImageGalleryImagesTemplate.propTypes = {
2650
- onClickHandler: PropTypes__default["default"].func
2651
- };
2652
- return /*#__PURE__*/React__default["default"].createElement(FullScreenImages, {
2653
- template: ImageGalleryImagesTemplate,
2654
- element: element
2655
- });
2656
- };
2657
-
2658
- ImageGalleryBase.propTypes = {
2659
- element: PropTypes__default["default"].shape({
2660
- "story-elements": PropTypes__default["default"].array
2661
- }),
2662
- opts: PropTypes__default["default"].shape({
2663
- imageWidths: PropTypes__default["default"].array
2664
- }),
2665
- story: shapeStory,
2666
- config: shapeConfig,
2667
- template: PropTypes__default["default"].string
2668
- };
2669
- var ImageGallery = withElementWrapper(ImageGalleryBase);
2670
-
2671
- exports.ImageGallery = ImageGallery;