@devgateway/dvz-ui-react 1.5.0 → 1.5.2

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 (215) hide show
  1. package/dist/cjs/common.css +1 -1
  2. package/dist/cjs/embeddable/new-time-line/index.js +1 -1
  3. package/dist/cjs/embeddable/new-time-line/timeline.js +1 -1
  4. package/dist/cjs/embeddable/posts-filters-reset-button/index.js +1 -1
  5. package/dist/cjs/embeddable/postscarousel/index.js +1 -1
  6. package/dist/cjs/embeddable/reducers/data-api.js +1 -1
  7. package/dist/cjs/embeddable/reducers/embeddable-api.js +1 -1
  8. package/dist/cjs/embeddable/time-line/desktop.js +1 -1
  9. package/dist/cjs/embeddable/time-line/mobile.js +1 -1
  10. package/dist/cjs/index.js +1 -1
  11. package/dist/cjs/layout/Layout.js +1 -1
  12. package/dist/cjs/styles.css +1 -1
  13. package/dist/esm/common.css +1 -1
  14. package/dist/esm/embeddable/new-time-line/index.js +8 -9
  15. package/dist/esm/embeddable/new-time-line/timeline.js +2 -3
  16. package/dist/esm/embeddable/posts-filters-reset-button/index.js +1 -1
  17. package/dist/esm/embeddable/postscarousel/index.js +11 -12
  18. package/dist/esm/embeddable/reducers/data-api.js +19 -19
  19. package/dist/esm/embeddable/reducers/embeddable-api.js +8 -7
  20. package/dist/esm/embeddable/time-line/desktop.js +2 -3
  21. package/dist/esm/embeddable/time-line/mobile.js +118 -120
  22. package/dist/esm/index.js +69 -25
  23. package/dist/esm/layout/Layout.js +25 -27
  24. package/dist/esm/styles.css +1 -1
  25. package/dist/types/dvz-ui/src/embeddable/time-line/mobile.d.ts +1 -2
  26. package/dist/types/dvz-ui/src/index.d.ts +3 -0
  27. package/package.json +11 -4
  28. package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
  29. package/dist/cjs/_virtual/_nodeUtil.js +0 -1
  30. package/dist/cjs/_virtual/isBuffer.js +0 -1
  31. package/dist/cjs/_virtual/isEqual.js +0 -1
  32. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +0 -1
  33. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -1
  34. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -1
  35. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -1
  36. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -1
  37. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +0 -1
  38. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +0 -1
  39. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +0 -1
  40. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -1
  41. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -1
  42. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -1
  43. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +0 -1
  44. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +0 -1
  45. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -1
  46. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +0 -1
  47. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +0 -1
  48. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -1
  49. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +0 -1
  50. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -1
  51. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -1
  52. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +0 -1
  53. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +0 -1
  54. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -1
  55. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -1
  56. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +0 -1
  57. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -1
  58. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -1
  59. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +0 -1
  60. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -1
  61. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +0 -1
  62. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +0 -1
  63. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +0 -1
  64. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -1
  65. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +0 -1
  66. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -1
  67. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -1
  68. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -1
  69. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +0 -1
  70. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +0 -1
  71. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -1
  72. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -1
  73. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -1
  74. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -1
  75. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -1
  76. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -1
  77. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -1
  78. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -1
  79. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -1
  80. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -1
  81. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -1
  82. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -1
  83. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -1
  84. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -1
  85. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -1
  86. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -1
  87. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -1
  88. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -1
  89. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -1
  90. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -1
  91. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +0 -1
  92. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -1
  93. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +0 -1
  94. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -1
  95. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -1
  96. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -1
  97. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -1
  98. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +0 -1
  99. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +0 -1
  100. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +0 -1
  101. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -1
  102. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -1
  103. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -1
  104. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -1
  105. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -1
  106. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -1
  107. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -1
  108. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -1
  109. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -1
  110. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -1
  111. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -1
  112. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js +0 -1
  113. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -1
  114. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -1
  115. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -1
  116. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -1
  117. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -1
  118. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +0 -1
  119. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +0 -1
  120. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -1
  121. package/dist/cjs/node_modules/.pnpm/pure-react-carousel@1.32.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/pure-react-carousel/dist/react-carousel.es.css +0 -1
  122. package/dist/esm/_virtual/_commonjsHelpers.js +0 -8
  123. package/dist/esm/_virtual/_nodeUtil.js +0 -4
  124. package/dist/esm/_virtual/isBuffer.js +0 -4
  125. package/dist/esm/_virtual/isEqual.js +0 -7
  126. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +0 -12
  127. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -22
  128. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -22
  129. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -12
  130. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -22
  131. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +0 -12
  132. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +0 -12
  133. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +0 -18
  134. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -20
  135. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -11
  136. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -11
  137. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +0 -12
  138. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +0 -16
  139. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -26
  140. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +0 -14
  141. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +0 -15
  142. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -17
  143. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +0 -16
  144. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -16
  145. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -15
  146. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +0 -15
  147. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +0 -38
  148. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -22
  149. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -17
  150. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +0 -20
  151. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -14
  152. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -14
  153. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +0 -12
  154. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -11
  155. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +0 -46
  156. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +0 -51
  157. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +0 -42
  158. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -11
  159. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +0 -16
  160. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -15
  161. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -16
  162. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -21
  163. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +0 -16
  164. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +0 -33
  165. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -12
  166. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -14
  167. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -13
  168. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -19
  169. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -15
  170. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -15
  171. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -14
  172. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -13
  173. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -17
  174. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -14
  175. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -12
  176. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -18
  177. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -15
  178. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -14
  179. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -15
  180. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -20
  181. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -15
  182. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -14
  183. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -14
  184. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -15
  185. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +0 -15
  186. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -11
  187. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +0 -11
  188. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -19
  189. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -13
  190. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -14
  191. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -11
  192. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +0 -13
  193. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +0 -12
  194. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +0 -15
  195. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -14
  196. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -13
  197. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -12
  198. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -12
  199. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -23
  200. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -23
  201. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -12
  202. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -16
  203. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -10
  204. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -15
  205. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -14
  206. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js +0 -14
  207. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -18
  208. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -13
  209. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -13
  210. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -12
  211. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -13
  212. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +0 -16
  213. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +0 -12
  214. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -12
  215. package/dist/esm/node_modules/.pnpm/pure-react-carousel@1.32.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/pure-react-carousel/dist/react-carousel.es.css +0 -1
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap";:root{--header-height: 90px;--footer-height: 227px !important}html{font-size:18px!important}body{height:100%;padding:0;margin:0;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background-color:transparent!important;font-size:18px!important}a{outline:0;border:none;box-shadow:none;-moz-outline-style:none}a:hover,a:focus{outline:0;border:none;box-shadow:none;-moz-outline-style:none}.edit-post-visual-editor .tabacoo-wrap,#root .tabacoo-wrap{border-bottom:1px solid #e0e0e0}.edit-post-visual-editor .tabacoo-wrap .wp-block-column:nth-child(1),#root .tabacoo-wrap .wp-block-column:nth-child(1){padding-right:15px;border-right:1px solid #e0e0e0;margin-right:20px}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li,#root .tabacoo-wrap .wp-block-column li{list-style-type:none;color:#333;margin-top:10px;position:relative}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li:before,#root .tabacoo-wrap .wp-block-column li:before{content:"";position:absolute;left:-27px;top:5px;width:15px;height:15px;border-radius:100px;background:#5baf95}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li strong,#root .tabacoo-wrap .wp-block-column li strong{font-size:22px;margin-bottom:5px;display:block;color:#5baf95}.edit-post-visual-editor iframe,#root iframe{margin:0;padding:0}.edit-post-visual-editor code,#root code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.edit-post-visual-editor .ui,#root .ui{font-family:Open Sans,sans-serif}.edit-post-visual-editor .ui.container.narrow,#root .ui.container.narrow{max-width:1080px}.edit-post-visual-editor .ui.container.fluid.desktop,#root .ui.container.fluid.desktop{max-width:1366px!important}.edit-post-visual-editor .ui.primary.button,#root .ui.primary.button{background-color:#5089a6}.edit-post-visual-editor .ui.secondary.button,#root .ui.secondary.button{background-color:#5baf95}h1.type{font-size:1rem;padding:0;margin:0;color:#5089a6;font-family:Open Sans,sans-serif}.ui.container.editing{margin:0!important;padding:5px!important}.ui.container.editing .ui.container{width:100%!important;margin-left:0!important;margin-right:0!important}.map-tooltip-light{font-size:1em;color:#1e1e1e;border-radius:5px;background-color:#f7f7f7!important;min-width:220px}.map-tooltip-light .tooltip-content{padding:5px}.map-tooltip-light .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-light .tooltip-content b{color:unset}.map-tooltip-light .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-light .value{color:#1e1e1e;font-weight:700;margin-left:5px}.map-tooltip-light .footer{padding:5px}.map-tooltip-light .footer .confidence{font-weight:700;color:#1e1e1e}.map-tooltip-light .footer hr{margin:3px -5px}.map-tooltip-light .footer b{color:#1e1e1e}.map-tooltip-dark{font-size:1em;color:#fff;border-radius:5px;background-color:#5c5c5c!important;min-width:220px}.map-tooltip-dark .tooltip-content{padding:5px}.map-tooltip-dark .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-dark .value{color:#fff;font-weight:700;margin-left:5px}.map-tooltip-dark .footer{padding:5px}.map-tooltip-dark .footer .confidence{font-weight:700;color:#fff}.map-tooltip-dark .footer hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .footer b{color:#fff}.ui.container.filter .menu{z-index:1600}.d3MapTooltip{font-family:Roboto;font-size:13px;border-radius:5%;background-color:#3c434a;padding:5px;opacity:.9;color:#fff;min-width:200px;border:1px solid #000}
1
+ @import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap";@keyframes spin___S3UuE{0%{transform:rotate(0)}to{transform:rotate(1turn)}}:root{--header-height: 90px;--footer-height: 227px !important}html{font-size:18px!important}body{height:100%;padding:0;margin:0;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background-color:transparent!important;font-size:18px!important}a{outline:0;border:none;box-shadow:none;-moz-outline-style:none}a:hover,a:focus{outline:0;border:none;box-shadow:none;-moz-outline-style:none}#root iframe{margin:0;padding:0}#root code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root .ui{font-family:Open Sans,sans-serif}#root .ui.container.narrow{max-width:1080px}#root .ui.container.fluid.desktop{max-width:1366px!important}#root .ui.primary.button{background-color:#5089a6}#root .ui.secondary.button{background-color:#5baf95}h1.type{font-size:1rem;padding:0;margin:0;color:#5089a6;font-family:Open Sans,sans-serif}.ui.container.editing{margin:0!important;padding:5px!important}.ui.container.editing .ui.container{width:100%!important;margin-left:0!important;margin-right:0!important}.map-tooltip-dark{font-size:1em;color:#fff;border-radius:5px;background-color:#5c5c5c!important;min-width:220px}.map-tooltip-dark .tooltip-content{padding:5px}.map-tooltip-dark .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-dark .value{color:#fff;font-weight:700;margin-left:5px}.map-tooltip-dark .footer{padding:5px}.map-tooltip-dark .footer .confidence{font-weight:700;color:#fff}.map-tooltip-dark .footer hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .footer b{color:#fff}.ui.container.filter .menu{z-index:1600}.d3MapTooltip{font-family:Roboto;font-size:13px;border-radius:5%;background-color:#3c434a;padding:5px;opacity:.9;color:#fff;min-width:200px;border:1px solid #000}
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("@devgateway/wp-react-lib"),z=require("../connected-templates/PostIntro.js");;/* empty css */const I=require("react"),u=require("semantic-ui-react"),h=require("pure-react-carousel"),O=require("./timeline.js"),U=r=>{let a=0;const{posts:i,height:o,interval:s,autoSwitch:n,currentSlide:l}=r;return e.jsx(h.CarouselProvider,{currentSlide:l,interval:s,isPlaying:n,totalSlides:i.length,children:e.jsx(h.Slider,{style:{height:`${o}px`},tag:"ul",children:i.map(d=>e.jsx(h.Slide,{index:a++,tag:"li",children:e.jsx(z.default,{post:d,fluid:!0})}))})})},W=r=>{const{"data-type":a,"data-taxonomy":i,"data-categories":o,"data-count":s,"data-height":n,"data-line-color":l="#000","data-config":d="{}","data-position":x="middle","data-line-width":S="1","data-margin-left":f=50,"data-margin-top":j=25,"data-margin-right":C=50,"data-margin-bottom":P=25,"data-font-size":q=14,"data-title-width":y=100,"data-subtitle-width":R=50,editing:g,parent:w,unique:b}=r,[m,v]=I.useState([0]),p=t=>g?t:decodeURIComponent(t),N=t=>JSON.parse(p(t)),_={marginLeft:f,marginTop:j,marginRight:C,marginBottom:P,lineWidth:S,height:150,position:x,lineColor:p(l),config:JSON.parse(decodeURIComponent(d)),fontSize:q,titleWidth:y,subtitleWidth:R};return e.jsx(u.Container,{style:{height:`${n}px`},className:"viz new-time-line ",fluid:!0,children:e.jsxs(c.PostProvider,{type:a,taxonomy:i,categories:N(o),store:"carousel_"+w+"_"+b,page:1,perPage:s,children:[e.jsx(u.Container,{className:"carousel-section",children:e.jsx(c.PostConsumer,{children:e.jsx(U,{currentSlide:m,height:n-250,interval:5,autoSwitch:!1})})}),e.jsx(u.Container,{className:"time-line-section",children:e.jsx(c.PostConsumer,{children:e.jsx(O.default,{currentSlide:m,onSelectSlide:t=>{v(t)},..._})})})]})})};exports.default=W;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("@devgateway/wp-react-lib"),z=require("../connected-templates/PostIntro.js"),I=require("react"),u=require("semantic-ui-react"),h=require("pure-react-carousel"),O=require("./timeline.js"),U=r=>{let a=0;const{posts:i,height:o,interval:s,autoSwitch:n,currentSlide:l}=r;return e.jsx(h.CarouselProvider,{currentSlide:l,interval:s,isPlaying:n,totalSlides:i.length,children:e.jsx(h.Slider,{style:{height:`${o}px`},tag:"ul",children:i.map(d=>e.jsx(h.Slide,{index:a++,tag:"li",children:e.jsx(z.default,{post:d,fluid:!0})}))})})},W=r=>{const{"data-type":a,"data-taxonomy":i,"data-categories":o,"data-count":s,"data-height":n,"data-line-color":l="#000","data-config":d="{}","data-position":x="middle","data-line-width":S="1","data-margin-left":f=50,"data-margin-top":j=25,"data-margin-right":C=50,"data-margin-bottom":P=25,"data-font-size":q=14,"data-title-width":y=100,"data-subtitle-width":R=50,editing:g,parent:w,unique:b}=r,[m,v]=I.useState([0]),p=t=>g?t:decodeURIComponent(t),N=t=>JSON.parse(p(t)),_={marginLeft:f,marginTop:j,marginRight:C,marginBottom:P,lineWidth:S,height:150,position:x,lineColor:p(l),config:JSON.parse(decodeURIComponent(d)),fontSize:q,titleWidth:y,subtitleWidth:R};return e.jsx(u.Container,{style:{height:`${n}px`},className:"viz new-time-line ",fluid:!0,children:e.jsxs(c.PostProvider,{type:a,taxonomy:i,categories:N(o),store:"carousel_"+w+"_"+b,page:1,perPage:s,children:[e.jsx(u.Container,{className:"carousel-section",children:e.jsx(c.PostConsumer,{children:e.jsx(U,{currentSlide:m,height:n-250,interval:5,autoSwitch:!1})})}),e.jsx(u.Container,{className:"time-line-section",children:e.jsx(c.PostConsumer,{children:e.jsx(O.default,{currentSlide:m,onSelectSlide:t=>{v(t)},..._})})})]})})};exports.default=W;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("react/jsx-runtime");;/* empty css */const p=require("react"),Q=require("d3");function U(n){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const m=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(s,a,m.get?m:{enumerable:!0,get:()=>n[a]})}}return s.default=n,Object.freeze(s)}const o=U(Q),V=({posts:n,position:s,lineWidth:a,meta:m,locale:Z,lineColor:S,height:d,config:l,marginLeft:T,marginTop:$,marginRight:D,marginBottom:P,fontSize:y,titleWidth:k,subtitleWidth:O,onSelectSlide:q,currentSlide:z})=>{const h=p.useRef(),[tt,I]=p.useState(!1),[et,N]=p.useState(null),R=r=>l[r].position,j=r=>l[r].connectorLineHeight,X=r=>l[r].subtitleOffset,E=r=>l[r].titleOffset,b=r=>l[r].circleColor,H=r=>l[r].lineColor,A=r=>l[r].titleColor,G=r=>l[r].labelColor,W=r=>l[r].size,Y=r=>l[r].readMoreLabel;return p.useEffect(()=>{const r={top:$,right:D,bottom:P,left:T};let f=d/2;s=="middle"&&(f=d/2),s=="top"&&(f=r.top),s=="bottom"&&(f=d-r.bottom);const C=h.current.clientWidth,B=d,i=o.scaleLinear().domain([0,n.length-1]).range([r.left,C-r.right]),L=o.line(),F=[[i(0),0],[i(n.length-1),0]],J=L(F),g=o.select(h.current);g.attr("width",C).attr("height",B);const K=e=>{q(e)};g.node().parentNode;const v=(e,t)=>{const u=[o.event.pageX+30,o.event.pageY-30],M=600;o.event.pageX+M+30>window.innerWidth&&(u[0]=o.event.pageX-M-30),I(!0),N({data:e,index:t,position:u}),o.selectAll("#circle"+t).style("stroke",b(t)).style("fill","#fff"),o.selectAll("#label"+t).style("font-weight","bold")},x=(e,t)=>{o.selectAll("#circle"+t).style("stroke","none").style("fill",b(t)),o.selectAll("#label"+t).style("font-weight","normal")},c=g.append("g");c.attr("transform",`translate(0,${f})`),c.append("path").attr("d",J).attr("stroke-width",a).attr("stroke",S),c.selectAll(".tick").data(n).enter().append("path").attr("d",(e,t)=>L([[i(t),0],[i(t),R(t)==="top"?j(t)*-1:j(t)]])).attr("stroke-width",a).attr("stroke",(e,t)=>H(t)).on("mouseover",function(e,t){}),c.selectAll(".label").data(n).enter().append("foreignObject").attr("id",(e,t)=>"label"+t).attr("x",function(e,t){return i(t)-O/2}).attr("width",O).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>X(t)).append("xhtml:div").style("color",(e,t)=>G(t)).style("font-size",parseInt(y)-2+"px").style("line-height","100%").style("text-align","center").html((e,t)=>e.meta_fields.subtitle).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".title").data(n).enter().append("foreignObject").attr("x",function(e,t){return i(t)-k/2}).attr("width",k).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>E(t)).append("xhtml:div").style("font-size",parseInt(y)+1+"px").style("color",(e,t)=>A(t)).style("font-weight",e=>"bold").style("line-height","100%").style("text-align","center").html((e,t)=>{const w=Y(t);let u=e.title.rendered;return w&&(u+=`<br><a href="${e.link}" target="_blank" style="font-size:${parseInt(y)-3}px;color:${A(t)}">${w}</a>`),u}).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".circle").data(n).enter().append("circle").attr("class",(e,t)=>t==z?"active":"normal").attr("cx",(e,t)=>i(t)).attr("cy",0).attr("id",(e,t)=>"circle"+t).attr("r",(e,t)=>W(t)).style("stroke-width",3).style("fill",(e,t)=>b(t)).on("mouseover",function(e,t){v(e,t)}).on("mouseout",function(e,t){x(e,t)}).on("click",function(e,t){K(t)})},[]),_.jsx("div",{className:"line",children:_.jsx("svg",{height:d,width:"100%",ref:h})})};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("react/jsx-runtime"),p=require("react"),Q=require("d3");function U(n){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const m=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(s,a,m.get?m:{enumerable:!0,get:()=>n[a]})}}return s.default=n,Object.freeze(s)}const o=U(Q),V=({posts:n,position:s,lineWidth:a,meta:m,locale:Z,lineColor:S,height:d,config:l,marginLeft:T,marginTop:$,marginRight:D,marginBottom:P,fontSize:y,titleWidth:k,subtitleWidth:O,onSelectSlide:z,currentSlide:q})=>{const h=p.useRef(),[tt,I]=p.useState(!1),[et,N]=p.useState(null),R=r=>l[r].position,j=r=>l[r].connectorLineHeight,X=r=>l[r].subtitleOffset,E=r=>l[r].titleOffset,b=r=>l[r].circleColor,H=r=>l[r].lineColor,A=r=>l[r].titleColor,G=r=>l[r].labelColor,W=r=>l[r].size,Y=r=>l[r].readMoreLabel;return p.useEffect(()=>{const r={top:$,right:D,bottom:P,left:T};let f=d/2;s=="middle"&&(f=d/2),s=="top"&&(f=r.top),s=="bottom"&&(f=d-r.bottom);const C=h.current.clientWidth,B=d,i=o.scaleLinear().domain([0,n.length-1]).range([r.left,C-r.right]),L=o.line(),F=[[i(0),0],[i(n.length-1),0]],J=L(F),g=o.select(h.current);g.attr("width",C).attr("height",B);const K=e=>{z(e)};g.node().parentNode;const v=(e,t)=>{const u=[o.event.pageX+30,o.event.pageY-30],M=600;o.event.pageX+M+30>window.innerWidth&&(u[0]=o.event.pageX-M-30),I(!0),N({data:e,index:t,position:u}),o.selectAll("#circle"+t).style("stroke",b(t)).style("fill","#fff"),o.selectAll("#label"+t).style("font-weight","bold")},x=(e,t)=>{o.selectAll("#circle"+t).style("stroke","none").style("fill",b(t)),o.selectAll("#label"+t).style("font-weight","normal")},c=g.append("g");c.attr("transform",`translate(0,${f})`),c.append("path").attr("d",J).attr("stroke-width",a).attr("stroke",S),c.selectAll(".tick").data(n).enter().append("path").attr("d",(e,t)=>L([[i(t),0],[i(t),R(t)==="top"?j(t)*-1:j(t)]])).attr("stroke-width",a).attr("stroke",(e,t)=>H(t)).on("mouseover",function(e,t){}),c.selectAll(".label").data(n).enter().append("foreignObject").attr("id",(e,t)=>"label"+t).attr("x",function(e,t){return i(t)-O/2}).attr("width",O).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>X(t)).append("xhtml:div").style("color",(e,t)=>G(t)).style("font-size",parseInt(y)-2+"px").style("line-height","100%").style("text-align","center").html((e,t)=>e.meta_fields.subtitle).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".title").data(n).enter().append("foreignObject").attr("x",function(e,t){return i(t)-k/2}).attr("width",k).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>E(t)).append("xhtml:div").style("font-size",parseInt(y)+1+"px").style("color",(e,t)=>A(t)).style("font-weight",e=>"bold").style("line-height","100%").style("text-align","center").html((e,t)=>{const w=Y(t);let u=e.title.rendered;return w&&(u+=`<br><a href="${e.link}" target="_blank" style="font-size:${parseInt(y)-3}px;color:${A(t)}">${w}</a>`),u}).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".circle").data(n).enter().append("circle").attr("class",(e,t)=>t==q?"active":"normal").attr("cx",(e,t)=>i(t)).attr("cy",0).attr("id",(e,t)=>"circle"+t).attr("r",(e,t)=>W(t)).style("stroke-width",3).style("fill",(e,t)=>b(t)).on("mouseover",function(e,t){v(e,t)}).on("mouseout",function(e,t){x(e,t)}).on("click",function(e,t){K(t)})},[]),_.jsx("div",{className:"line",children:_.jsx("svg",{height:d,width:"100%",ref:h})})};exports.default=V;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),d=require("react"),i=require("react-redux"),l=require("semantic-ui-react"),p=require("../../_virtual/isEqual.js"),m=o=>{const{"data-group":s,"data-reset-label":u="Reset All Filters"}=o,c=i.useDispatch(),r=i.useSelector(a=>a.getIn(["data","posts",s])),e=i.useSelector(a=>a.getIn(["data","posts","initialFilters",s])),n=d.useMemo(()=>r&&e?!p.default(r,e):!1,[r,e]);return t.jsxs(l.Container,{fluid:!0,className:`data-filters-reset ignore ${n?"":"disabled"}`,onClick:()=>{c({type:"SET_INITIAL_POSTS_FILTER",group:s,...e,reset:!0})},children:[t.jsx("span",{children:u}),t.jsx("span",{children:t.jsx(l.Icon,{disabled:!n,name:"undo alternate",className:"custom-undo-icon"})})]})};exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),d=require("react"),i=require("react-redux"),l=require("semantic-ui-react"),p=require("lodash.isequal"),m=o=>{const{"data-group":s,"data-reset-label":u="Reset All Filters"}=o,c=i.useDispatch(),r=i.useSelector(a=>a.getIn(["data","posts",s])),e=i.useSelector(a=>a.getIn(["data","posts","initialFilters",s])),n=d.useMemo(()=>r&&e?!p(r,e):!1,[r,e]);return t.jsxs(l.Container,{fluid:!0,className:`data-filters-reset ignore ${n?"":"disabled"}`,onClick:()=>{c({type:"SET_INITIAL_POSTS_FILTER",group:s,...e,reset:!0})},children:[t.jsx("span",{children:u}),t.jsx("span",{children:t.jsx(l.Icon,{disabled:!n,name:"undo alternate",className:"custom-undo-icon"})})]})};exports.default=m;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("@devgateway/wp-react-lib");;/* empty css */const p=require("semantic-ui-react"),r=require("pure-react-carousel"),x=s=>{let o=0;const{posts:t,height:i,interval:l,autoSwitch:a}=s;return e.jsxs(r.CarouselProvider,{interval:l,isPlaying:a,totalSlides:t.length,naturalSlideHeight:i,children:[e.jsx(r.Slider,{style:{height:`${i}px`},trayTag:"ul",children:t.map(n=>e.jsx(r.Slide,{index:o++,tag:"li",children:e.jsx(u.PostIntro,{post:n,fluid:!0})}))}),e.jsx(r.DotGroup,{})]})},j=s=>{const{"data-type":o,"data-taxonomy":t,"data-categories":i,"data-items":l,"data-height":a,"data-auto-switch":n="false","data-interval":c=1e4,editing:d,parent:h,unique:g}=s;return e.jsx(p.Container,{style:{height:`${a}px`},className:`viz post carousel ${d?"editing":""}`,fluid:!0,children:e.jsx(u.PostProvider,{type:o,taxonomy:t,categories:i,store:"carousel_"+h+"_"+g,page:1,perPage:l,children:e.jsx(u.PostConsumer,{children:e.jsx(x,{height:a,interval:c,autoSwitch:n=="true"})})})})};exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("@devgateway/wp-react-lib"),p=require("semantic-ui-react"),r=require("pure-react-carousel"),x=s=>{let o=0;const{posts:t,height:i,interval:l,autoSwitch:a}=s;return e.jsxs(r.CarouselProvider,{interval:l,isPlaying:a,totalSlides:t.length,naturalSlideHeight:i,children:[e.jsx(r.Slider,{style:{height:`${i}px`},trayTag:"ul",children:t.map(n=>e.jsx(r.Slide,{index:o++,tag:"li",children:e.jsx(u.PostIntro,{post:n,fluid:!0})}))}),e.jsx(r.DotGroup,{})]})},j=s=>{const{"data-type":o,"data-taxonomy":t,"data-categories":i,"data-items":l,"data-height":a,"data-auto-switch":n="false","data-interval":c=1e4,editing:d,parent:h,unique:g}=s;return e.jsx(p.Container,{style:{height:`${a}px`},className:`viz post carousel ${d?"editing":""}`,fluid:!0,children:e.jsx(u.PostProvider,{type:o,taxonomy:t,categories:i,store:"carousel_"+h+"_"+g,page:1,perPage:l,children:e.jsx(u.PostConsumer,{children:e.jsx(x,{height:a,interval:c,autoSwitch:n=="true"})})})})};exports.default=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../conf/index.js"),y=require("../../api/commons.js");function p(t){return JSON.parse(JSON.stringify(t))}const l=process.env.VITE_REACT_APP_API_ROOT,f={},g={},R=3*60*1e3;function P(t){return Object.keys(t).map(n=>encodeURIComponent(n)+"="+encodeURIComponent(t[n])).join("&")}function h(t,n=!1){const e=t,o=Date.now();if(g[e]&&o-g[e].timestamp<R)return Promise.resolve(p(g[e].data));if(f[e])return f[e].then(p);const c=y.get(t,{}).then(a=>(g[e]={data:a,timestamp:Date.now()},n?{data:p(a),meta:g[e].meta}:p(a))).finally(()=>{delete f[e]});return f[e]=c,c}const _=({app:t,params:n})=>{const e=`${l||""}/api/${t}/categories${n?"?"+P(n):""}`;return h(e)},I=({source:t,app:n,params:e})=>{const o=`${l||""}/api/${n}/stats/${t}${e?"?"+P(e):""}`;return h(o)},w=({postType:t,taxonomy:n,category:e,taxonomyFilters:o,before:c,perPage:a,page:C,locale:O,after:m})=>{const $=`${T.Config.REACT_APP_WP_API}/wp/v2/${t}`,s=new URLSearchParams,d=new Map,q=(i,r)=>{if(!i||r==null)return;const u=d.get(i)||[];Array.isArray(r)?r.forEach(S=>{S!=null&&u.push(String(S))}):u.push(String(r)),d.set(i,u)};o&&o instanceof Map&&o.forEach((i,r)=>{q(r,i)}),d.forEach((i,r)=>{const u=Array.from(new Set(i));s.set(r,u.join(","))}),c&&s.append("before",c.toISOString()),a&&s.append("per_page",a.toString()),s.append("page",C.toString()),s.append("locale",O),m&&s.append("after",m.toISOString());const A=s.toString().replace(/%2C/g,",");return y.get(`${$}?${A}`,{})};exports.getCategories=_;exports.getCustomPosts=w;exports.getData=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../../conf/index.js"),y=require("../../api/commons.js");function f(t){return JSON.parse(JSON.stringify(t))}const l=process.env.VITE_REACT_APP_API_ROOT||S.Config.REACT_APP_API_ROOT||"",p={},g={},$=3*60*1e3;function A(t){return Object.keys(t).map(n=>encodeURIComponent(n)+"="+encodeURIComponent(t[n])).join("&")}function C(t,n=!1){const e=t,o=Date.now();if(g[e]&&o-g[e].timestamp<$)return Promise.resolve(f(g[e].data));if(p[e])return p[e].then(f);const c=y.get(t,{}).then(a=>(g[e]={data:a,timestamp:Date.now()},n?{data:f(a),meta:g[e].meta}:f(a))).finally(()=>{delete p[e]});return p[e]=c,c}const q=({app:t,params:n})=>{const e=`${l||""}/api/${t}/categories${n?"?"+A(n):""}`;return C(e)},I=({source:t,app:n,params:e})=>{const o=`${l||""}/api/${n}/stats/${t}${e?"?"+A(e):""}`;return C(o)},w=({postType:t,taxonomy:n,category:e,taxonomyFilters:o,before:c,perPage:a,page:O,locale:T,after:m})=>{const _=`${S.Config.REACT_APP_WP_API}/wp/v2/${t}`,s=new URLSearchParams,d=new Map,h=(i,r)=>{if(!i||r==null)return;const u=d.get(i)||[];Array.isArray(r)?r.forEach(P=>{P!=null&&u.push(String(P))}):u.push(String(r)),d.set(i,u)};o&&o instanceof Map&&o.forEach((i,r)=>{h(r,i)}),d.forEach((i,r)=>{const u=Array.from(new Set(i));s.set(r,u.join(","))}),c&&s.append("before",c.toISOString()),a&&s.append("per_page",a.toString()),s.append("page",O.toString()),s.append("locale",T),m&&s.append("after",m.toISOString());const R=s.toString().replace(/%2C/g,",");return y.get(`${_}?${R}`,{})};exports.getCategories=q;exports.getCustomPosts=w;exports.getData=I;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../api/commons.js"),n=process.env.VITE_REACT_APP_API_ROOT,u=s=>{const e=new FormData,{files:a,organization:t,name:r,email:i,message:p,country:c,token:d}=s;return a.forEach(o=>e.append("files",o,o.name)),e.append("organization",t),e.append("name",r),e.append("email",i),e.append("country",c),e.append("message",p),e.append("token",d),fetch((n||"")+"/api/utils/showCaseForm",{mode:"cors",method:"POST",body:e})},b=s=>m.post((n||"")+"/api/utils/subscribe",s);exports.sendShowCase=u;exports.subscribe=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../conf/index.js"),u=require("../../api/commons.js"),n=process.env.VITE_REACT_APP_API_ROOT||m.Config.REACT_APP_API_ROOT||"",b=o=>{const e=new FormData,{files:a,organization:t,name:r,email:i,message:c,country:p,token:d}=o;return a.forEach(s=>e.append("files",s,s.name)),e.append("organization",t),e.append("name",r),e.append("email",i),e.append("country",p),e.append("message",c),e.append("token",d),fetch((n||"")+"/api/utils/showCaseForm",{mode:"cors",method:"POST",body:e})},l=o=>u.post((n||"")+"/api/utils/subscribe",o);exports.sendShowCase=b;exports.subscribe=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("react/jsx-runtime"),rt=require("@devgateway/wp-react-lib"),yt=require("../connected-templates/PostIntro.js");;/* empty css */const I=require("react"),st=require("semantic-ui-react"),vt=require("d3");function xt(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const a in s)if(a!=="default"){const f=Object.getOwnPropertyDescriptor(s,a);Object.defineProperty(i,a,f.get?f:{enumerable:!0,get:()=>s[a]})}}return i.default=s,Object.freeze(i)}const d=xt(vt),Ot={visibility:"visible",position:"relative",height:"auto",width:"auto"},Ct={position:"absolute",overflow:"hidden",display:"none"},S=0,Pt=s=>{const{posts:i,position:a,lineWidth:f,meta:J,locale:R,lineColor:q,height:g,config:l,marginLeft:z,marginTop:A,marginRight:H,marginBottom:W,fontSize:C,titleWidth:T,titleHeight:_,subtitleWidth:L,subtitleHeight:E,enableTitlePopup:y,enableCirclePopup:h,enableDefaultPopup:k,closePopupOnMouseOut:m,unique:P}=s,w=I.useRef(),[V,u]=I.useState(!1),[v,x]=I.useState(null),N=e=>l[e].position,K=e=>l[e].connectorLineHeight,at=e=>l[e].subtitleOffset,ct=e=>l[e].titleOffset,$=e=>{var n;return(n=l[e])==null?void 0:n.circleColor},Q=e=>l[e].lineColor,X=e=>l[e].titleColor,ut=e=>l[e].labelColor,dt=e=>l[e].tooltipFontColor||"#fff",pt=e=>l[e].size,ft=e=>l[e].readMoreLabel,j=e=>"circle"+P+e,Y=e=>"title"+P+e,M=e=>{d.selectAll("#"+j(e)).style("stroke","none").style("fill",$(e)),d.selectAll("#label"+e).style("font-weight","normal")},Z=e=>{M(S),d.selectAll("#"+j(e)).style("stroke",$(e)).style("fill","#fff"),d.selectAll("#label"+e).style("font-weight","bold")};return I.useEffect(()=>{const e={top:A,right:H,bottom:W,left:z};let n=g/2;a=="middle"&&(n=g/2),a=="top"&&(n=e.top),a=="bottom"&&(n=g-e.bottom);const c={};i.forEach((o,t)=>{c[o.id]=t});const tt=w.current.clientWidth,gt=g,b=d.scaleLinear().domain([0,i.length-1]).range([e.left,tt-e.right]),et=d.line(),ht=[[b(0),0],[b(i.length-1),0]],mt=et(ht),B=d.select(w.current);B.attr("width",tt).attr("height",gt),B.node().parentNode;const ot=(o,t,r)=>{let U=[0,0];if(o){const F=o.target.getBoundingClientRect(),nt=o.target.closest(".time").getBoundingClientRect(),G=F.left-nt.left,bt=F.top-nt.top;U=[G+30,bt+50];const lt=600;F.left+G+lt+30>window.innerWidth&&(U[0]=G-lt*.6)}u(!0),x({data:t,index:r,position:U}),Z(r)},it=(o,t,r)=>{M(r)},O=B.append("g");if(O.attr("transform",`translate(0,${n})`),O.append("path").attr("d",mt).attr("stroke-width",f).attr("stroke",q),O.selectAll(".tick").data(i).enter().append("path").attr("d",(o,t)=>et([[b(t),0],[b(t),N(t)==="top"?K(t)*-1:K(t)]])).attr("stroke-width",f).attr("stroke",(o,t)=>Q(t)).on("mouseover",function(o,t,r){}),O.selectAll(".circle").data(i).enter().append("circle").attr("id",(o,t)=>j(t)).attr("cx",(o,t)=>b(t)).attr("cy",0).attr("id",(o,t)=>j(t)).attr("r",(o,t)=>pt(t)).style("stroke-width",3).style("cursor",h?"pointer":"default").style("fill",(o,t)=>$(t)).on("mouseover",function(o,t){h&&ot(o,t,c[t.id])}).on("mouseout",function(o,t,r){h&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),O.selectAll(".label").data(i).enter().append("foreignObject").attr("id",(o,t)=>"label"+t).attr("x",function(o,t){return b(t)-L/2}).attr("width",L).attr("height",E).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>at(t)).append("xhtml:div").style("color",(o,t)=>ut(t)).style("font-size",parseInt(C)-2+"px").style("line-height","100%").style("text-align","center").html((o,t)=>o.meta_fields.subtitle).on("mouseover",(o,t,r)=>{}).on("mouseout",(o,t,r)=>{}).classed("subtitle-class",!0),O.selectAll(".title").data(i).enter().append("foreignObject").attr("x",function(o,t){return b(t)-T/2}).attr("width",T).attr("height",_).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>ct(t)).append("xhtml:div").attr("id",(o,t)=>Y(t)).style("font-size",parseInt(C)+1+"px").style("color",(o,t)=>X(t)).style("font-weight",o=>"bold").style("line-height","100%").style("text-align","center").style("cursor",y?"pointer":"default").style("overflow-wrap","break-word").html((o,t)=>{const r=ft(t);let D=o.title.rendered;return r&&(D+=`<br><span style="font-size:${parseInt(C)-3}px;color:${X(t)}">${r}</span>`),D}).on("mouseover",(o,t,r)=>{y&&ot(o,t,c[t.id])}).on("mouseout",(o,t,r,D)=>{y&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),k){let o=!1;h&&(o=!0,d.select("#"+j(S)).dispatch("mouseover")),!o&&y&&d.select("#"+Y(S)).dispatch("mouseover")}},[]),p.jsxs("div",{className:"time line",onMouseLeave:e=>{e.target.getAttribute("class")!=="ui fluid container excerpt"&&(u(!1),x(null),M(S))},onMouseEnter:e=>{m&&(u(!1),x(null),M(S))},style:{position:"relative"},children:[i.map((e,n)=>{const c=v&&v.index==n;return p.jsx("div",{className:"tooltip",onMouseOver:()=>Z(n),onMouseOut:()=>{M(n)},style:{left:c?v.position[0]:0,top:c?v.position[1]:0,position:"absolute",pointerEvents:m?"none":"all"},children:c&&p.jsx("div",{className:"tooltip",style:{backgroundColor:Q(n),color:dt(n)},children:p.jsx(yt.default,{post:e,as:st.Container,style:c?Ot:Ct},e.slug)})})}),p.jsx("svg",{height:g,width:"100%",ref:w})]})},wt=s=>{const{"data-type":i,"data-taxonomy":a,"data-categories":f,"data-items":J,"data-height":R,"data-line-color":q="#000","data-config":g="{}","data-position":l="middle","data-line-width":z="1","data-margin-left":A=50,"data-margin-top":H=25,"data-margin-right":W=50,"data-margin-bottom":C=25,"data-font-size":T=14,"data-title-width":_=100,"data-title-height":L=50,"data-subtitle-width":E=50,"data-subtitle-height":y=20,"data-enable-title-popup":h="false","data-enable-circle-popup":k="true","data-enable-default-popup":m="false","data-close-popup-on-mouse-out":P="false",editing:w,parent:V,unique:u}=s,v=s.intl.locale,N={unique:u||Math.random().toString(36).substring(2,9),marginLeft:A,marginTop:H,marginRight:W,marginBottom:C,lineWidth:z,height:R,position:l,lineColor:decodeURIComponent(q),config:JSON.parse(decodeURIComponent(g)),fontSize:T,titleWidth:_,titleHeight:L,subtitleWidth:E,subtitleHeight:y,enableTitlePopup:h==!0||h=="true",enableCirclePopup:k==!0||k=="true",enableDefaultPopup:m==!0||m=="true",closePopupOnMouseOut:P==!0||P=="true"};return p.jsx(st.Container,{style:{height:`${R}px`},className:`viz time line ${w?"editing":""}`,fluid:!0,children:p.jsx(rt.PostProvider,{locale:v,type:i,taxonomy:a,categories:f,store:"carousel_"+V+"_"+u,page:1,perPage:J,children:p.jsx(rt.PostConsumer,{children:p.jsx(Pt,{...N})})})})};exports.default=wt;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("react/jsx-runtime"),rt=require("@devgateway/wp-react-lib"),yt=require("../connected-templates/PostIntro.js"),I=require("react"),st=require("semantic-ui-react"),vt=require("d3");function xt(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const a in s)if(a!=="default"){const f=Object.getOwnPropertyDescriptor(s,a);Object.defineProperty(i,a,f.get?f:{enumerable:!0,get:()=>s[a]})}}return i.default=s,Object.freeze(i)}const d=xt(vt),Ot={visibility:"visible",position:"relative",height:"auto",width:"auto"},Ct={position:"absolute",overflow:"hidden",display:"none"},S=0,Pt=s=>{const{posts:i,position:a,lineWidth:f,meta:J,locale:R,lineColor:z,height:g,config:l,marginLeft:A,marginTop:H,marginRight:W,marginBottom:_,fontSize:C,titleWidth:T,titleHeight:q,subtitleWidth:L,subtitleHeight:E,enableTitlePopup:y,enableCirclePopup:h,enableDefaultPopup:k,closePopupOnMouseOut:m,unique:P}=s,w=I.useRef(),[V,u]=I.useState(!1),[v,x]=I.useState(null),N=e=>l[e].position,K=e=>l[e].connectorLineHeight,at=e=>l[e].subtitleOffset,ct=e=>l[e].titleOffset,$=e=>{var n;return(n=l[e])==null?void 0:n.circleColor},Q=e=>l[e].lineColor,X=e=>l[e].titleColor,ut=e=>l[e].labelColor,dt=e=>l[e].tooltipFontColor||"#fff",pt=e=>l[e].size,ft=e=>l[e].readMoreLabel,j=e=>"circle"+P+e,Y=e=>"title"+P+e,M=e=>{d.selectAll("#"+j(e)).style("stroke","none").style("fill",$(e)),d.selectAll("#label"+e).style("font-weight","normal")},Z=e=>{M(S),d.selectAll("#"+j(e)).style("stroke",$(e)).style("fill","#fff"),d.selectAll("#label"+e).style("font-weight","bold")};return I.useEffect(()=>{const e={top:H,right:W,bottom:_,left:A};let n=g/2;a=="middle"&&(n=g/2),a=="top"&&(n=e.top),a=="bottom"&&(n=g-e.bottom);const c={};i.forEach((o,t)=>{c[o.id]=t});const tt=w.current.clientWidth,gt=g,b=d.scaleLinear().domain([0,i.length-1]).range([e.left,tt-e.right]),et=d.line(),ht=[[b(0),0],[b(i.length-1),0]],mt=et(ht),B=d.select(w.current);B.attr("width",tt).attr("height",gt),B.node().parentNode;const ot=(o,t,r)=>{let U=[0,0];if(o){const F=o.target.getBoundingClientRect(),nt=o.target.closest(".time").getBoundingClientRect(),G=F.left-nt.left,bt=F.top-nt.top;U=[G+30,bt+50];const lt=600;F.left+G+lt+30>window.innerWidth&&(U[0]=G-lt*.6)}u(!0),x({data:t,index:r,position:U}),Z(r)},it=(o,t,r)=>{M(r)},O=B.append("g");if(O.attr("transform",`translate(0,${n})`),O.append("path").attr("d",mt).attr("stroke-width",f).attr("stroke",z),O.selectAll(".tick").data(i).enter().append("path").attr("d",(o,t)=>et([[b(t),0],[b(t),N(t)==="top"?K(t)*-1:K(t)]])).attr("stroke-width",f).attr("stroke",(o,t)=>Q(t)).on("mouseover",function(o,t,r){}),O.selectAll(".circle").data(i).enter().append("circle").attr("id",(o,t)=>j(t)).attr("cx",(o,t)=>b(t)).attr("cy",0).attr("id",(o,t)=>j(t)).attr("r",(o,t)=>pt(t)).style("stroke-width",3).style("cursor",h?"pointer":"default").style("fill",(o,t)=>$(t)).on("mouseover",function(o,t){h&&ot(o,t,c[t.id])}).on("mouseout",function(o,t,r){h&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),O.selectAll(".label").data(i).enter().append("foreignObject").attr("id",(o,t)=>"label"+t).attr("x",function(o,t){return b(t)-L/2}).attr("width",L).attr("height",E).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>at(t)).append("xhtml:div").style("color",(o,t)=>ut(t)).style("font-size",parseInt(C)-2+"px").style("line-height","100%").style("text-align","center").html((o,t)=>o.meta_fields.subtitle).on("mouseover",(o,t,r)=>{}).on("mouseout",(o,t,r)=>{}).classed("subtitle-class",!0),O.selectAll(".title").data(i).enter().append("foreignObject").attr("x",function(o,t){return b(t)-T/2}).attr("width",T).attr("height",q).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>ct(t)).append("xhtml:div").attr("id",(o,t)=>Y(t)).style("font-size",parseInt(C)+1+"px").style("color",(o,t)=>X(t)).style("font-weight",o=>"bold").style("line-height","100%").style("text-align","center").style("cursor",y?"pointer":"default").style("overflow-wrap","break-word").html((o,t)=>{const r=ft(t);let D=o.title.rendered;return r&&(D+=`<br><span style="font-size:${parseInt(C)-3}px;color:${X(t)}">${r}</span>`),D}).on("mouseover",(o,t,r)=>{y&&ot(o,t,c[t.id])}).on("mouseout",(o,t,r,D)=>{y&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),k){let o=!1;h&&(o=!0,d.select("#"+j(S)).dispatch("mouseover")),!o&&y&&d.select("#"+Y(S)).dispatch("mouseover")}},[]),p.jsxs("div",{className:"time line",onMouseLeave:e=>{e.target.getAttribute("class")!=="ui fluid container excerpt"&&(u(!1),x(null),M(S))},onMouseEnter:e=>{m&&(u(!1),x(null),M(S))},style:{position:"relative"},children:[i.map((e,n)=>{const c=v&&v.index==n;return p.jsx("div",{className:"tooltip",onMouseOver:()=>Z(n),onMouseOut:()=>{M(n)},style:{left:c?v.position[0]:0,top:c?v.position[1]:0,position:"absolute",pointerEvents:m?"none":"all"},children:c&&p.jsx("div",{className:"tooltip",style:{backgroundColor:Q(n),color:dt(n)},children:p.jsx(yt.default,{post:e,as:st.Container,style:c?Ot:Ct},e.slug)})})}),p.jsx("svg",{height:g,width:"100%",ref:w})]})},wt=s=>{const{"data-type":i,"data-taxonomy":a,"data-categories":f,"data-items":J,"data-height":R,"data-line-color":z="#000","data-config":g="{}","data-position":l="middle","data-line-width":A="1","data-margin-left":H=50,"data-margin-top":W=25,"data-margin-right":_=50,"data-margin-bottom":C=25,"data-font-size":T=14,"data-title-width":q=100,"data-title-height":L=50,"data-subtitle-width":E=50,"data-subtitle-height":y=20,"data-enable-title-popup":h="false","data-enable-circle-popup":k="true","data-enable-default-popup":m="false","data-close-popup-on-mouse-out":P="false",editing:w,parent:V,unique:u}=s,v=s.intl.locale,N={unique:u||Math.random().toString(36).substring(2,9),marginLeft:H,marginTop:W,marginRight:_,marginBottom:C,lineWidth:A,height:R,position:l,lineColor:decodeURIComponent(z),config:JSON.parse(decodeURIComponent(g)),fontSize:T,titleWidth:q,titleHeight:L,subtitleWidth:E,subtitleHeight:y,enableTitlePopup:h==!0||h=="true",enableCirclePopup:k==!0||k=="true",enableDefaultPopup:m==!0||m=="true",closePopupOnMouseOut:P==!0||P=="true"};return p.jsx(st.Container,{style:{height:`${R}px`},className:`viz time line ${w?"editing":""}`,fluid:!0,children:p.jsx(rt.PostProvider,{locale:v,type:i,taxonomy:a,categories:f,store:"carousel_"+V+"_"+u,page:1,perPage:J,children:p.jsx(rt.PostConsumer,{children:p.jsx(Pt,{...N})})})})};exports.default=wt;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),st=require("@devgateway/wp-react-lib"),mt=require("../connected-templates/PostIntro.js");;/* empty css */const f=require("react"),z=require("semantic-ui-react"),bt=require("d3"),yt=require("../../lib/hooks/window-dimensions.js"),xt=require("../../lib/hooks/screen-orientation.js");function Ct(a){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const d in a)if(d!=="default"){const g=Object.getOwnPropertyDescriptor(a,d);Object.defineProperty(n,d,g.get?g:{enumerable:!0,get:()=>a[d]})}}return n.default=a,Object.freeze(n)}const h=Ct(bt),wt={visibility:"visible",position:"relative",height:"auto",width:"auto"},vt=0,Tt=a=>{let{posts:n,lineWidth:d,lineColor:g,config:u,marginLeft:U,marginTop:L,marginRight:G,marginBottom:q,fontSize:w,subtitleWidth:E,subtitleHeight:v,enableTitlePopup:j,enableCirclePopup:S,enableDefaultPopup:J,closePopupOnMouseOut:V,unique:m}=a;E=250;const T=f.useRef(),D=f.useRef(),[M,y]=f.useState(!1),[k,W]=f.useState(0),[H,N]=f.useState(null),{orientation:x}=xt.useScreenOrientation(),{width:X,deviceType:b,height:P}=yt.useWindowDimensionsAndDevice({getDeviceType:!0,getHeight:!0}),B=f.useCallback(t=>`circle${m}${t}`,[m]),rt=f.useCallback(t=>`title${m}${t}`,[m]),at=t=>{var i;return((i=u[t])==null?void 0:i.size)||10},ct=({content:t,isOpen:i,style:l})=>{const C=s=>(s=s.replace(/<ul(.*?)>/g,'<ul class="has-white-color has-text-color has-standard-14-font-size" style="list-style-type:disc !important; list-style: initial !important; padding-left:20px; color:#fefefe;">'),s=s.replace(/<a(.*?)>/g,'<a$1 style="color:#fefefe;">'),s);return r.jsxs(z.Modal,{open:i,onClose:()=>y(!1),size:"fullscreen",closeIcon:!0,centered:!0,style:{maxHeight:"80vh",overflowY:"auto",padding:"0.5rem",...l},children:[r.jsx(z.Modal.Header,{style:{...l,borderBottom:"none"}}),r.jsx(z.Modal.Content,{className:"styled-list-content",style:{...l},dangerouslySetInnerHTML:{__html:C(t.props.children.props.post.content.rendered)}})]},`${t.props.children.key}modal`)},Y=t=>{var i;return(i=u[t])==null?void 0:i.circleColor},K=t=>u[t].titleColor,Q=t=>u[t].lineColor,Z=t=>u[t].tooltipFontColor||"#fff",dt=t=>u[t].readMoreLabel,tt=f.useCallback((t,i)=>{t.preventDefault();const l=260,C=50;let s=[0,0];if(t){const O=t.target.getBoundingClientRect(),I=t.target.closest(".time").getBoundingClientRect(),c=O.left-I.left,$=O.top+I.top;s=[c+l,$+C];const R=400;O.left+c+R+l>window.innerWidth&&(s[0]=c-R*.6)}y(!0),N({data:i,id:i.id,position:s}),ft(i.id)},[]),ut=()=>{y(!1)},pt=t=>{h.selectAll(`#${B(t)}`).style("stroke","none").style("fill",Y(t)),h.selectAll(`#label${t}`).style("font-weight","normal")},ft=t=>{pt(vt),h.selectAll(`#${B(t)}`).style("stroke",Y(t)).style("fill","#fff"),h.selectAll(`#label${t}`).style("font-weight","bold")};return f.useLayoutEffect(()=>{var lt;const t={top:L,bottom:q},i=T.current.clientWidth,l=D.current.clientWidth;l>0&&W(l);const C=P,s={mobile:"75",tablet:"150",midTablet:"150",laptop:"150"},O={mobile:"250",tablet:"350",midTablet:"350",laptop:"400"},I={mobile:20,tablet:30,midTablet:30,laptop:40},c=h.scaleLinear().domain([0,n.length-1]).range([t.top,C-t.bottom]),$=h.select(T.current);$.selectAll("*").remove(),$.attr("width",i).attr("height",C);const R=h.line(),ht=[[0,c(0)],[0,c(n.length-1)]],gt=R(ht);let et=`translate(${s[b]},0)`;((lt=process.env.REACT_APP_THEME)==null?void 0:lt.startsWith("cd"))&&(et=`translate(${s[b]},20)`);const _=$.append("g").attr("transform",et);g="#E4E5EA",d=6,_.append("path").attr("d",gt).attr("stroke-width",d).attr("stroke",g).attr("class","timeline-path"),_.selectAll(".circle").data(n).enter().append("circle").attr("id",(o,e)=>B(e)).attr("cx",0).attr("class","timeline-circle").attr("cy",(o,e)=>c(e)).attr("r",(o,e)=>at(e)).style("fill",(o,e)=>{var p;return((p=u[e])==null?void 0:p.circleColor)||"#000"}).style("cursor",S?"pointer":"default").on("click",(o,e)=>{o.preventDefault(),S&&tt(o,e)}),_.selectAll(".title").data(n).enter().append("foreignObject").attr("x",I[b]).attr("y",(o,e)=>c(e)-Number.parseInt(v)/2).attr("width",Number.parseInt(O[b])).attr("height",Number.parseInt(v)).attr("class","timeline-title").append("xhtml:div").attr("id",(o,e)=>rt(e)).style("font-size",`${Number.parseInt(w)+1}px`).style("color",(o,e)=>K(e)).style("font-weight","bold").style("line-height","1.2rem").style("text-align","left").style("cursor",j?"pointer":"default").style("overflow","hidden").style("display","-webkit-box").style("-webkit-line-clamp","2").style("-webkit-box-orient","vertical").style("text-overflow","ellipsis").style("overflow-wrap","break-word").html((o,e)=>{const p=dt(e);let A=o.title.rendered;return p&&(A+=`<br><span style="font-size:${Number.parseInt(w)-3}px;color:${K(e)};text-decoration:underline;text-underline-offset:3px">${p}</span>`),A}).each(function(o,e){const p=h.select(this.parentNode);setTimeout(()=>{const A=this.getBoundingClientRect(),nt=Math.min(A.height,Number.parseInt(v)*2);p.attr("height",nt),p.attr("y",c(e)-nt/2)},0)}).on("click",(o,e,p)=>{o.preventDefault(),j&&tt(o,e)});const ot=+w+1,it=60,F=ot*.9;_.selectAll(".year-fo").data(n).enter().append("foreignObject").attr("class","year-fo").attr("x",-70).attr("y",(o,e)=>c(e)-F/2).attr("width",it).attr("height",F).append("xhtml:div").style("display","flex").style("align-items","center").style("justify-content","flex-end").style("width",`${it}px`).style("height",`${F}px`).style("font-size",`${ot}px`).style("line-height","1em").style("font-weight","400").style("color","#4C4D50").html(o=>o.meta_fields.subtitle)},[b,x,P]),r.jsxs("div",{className:"time line",style:{position:"relative"},ref:D,children:[n.filter(t=>H&&H.id===t.id).map(t=>{const i=t.slug||"unknown-slug",l=n.indexOf(t);return r.jsx(ct,{isOpen:M,content:r.jsx("div",{style:{backgroundColor:Q(l),color:Z(l)},children:r.jsx(mt.default,{post:t,style:wt},i)}),closeTooltip:ut,style:{backgroundColor:Q(l),color:Z(l)}},`${i}_modal`)}),r.jsx("svg",{height:P,width:k,ref:T,style:{overflow:"visible"}})]},m+b+x)},Pt=a=>{const{"data-type":n,"data-taxonomy":d,"data-categories":g,"data-items":u,"data-height":U,"data-line-color":L="#000","data-config":G="{}","data-position":q="middle","data-line-width":w="1","data-margin-left":E=50,"data-margin-top":v=25,"data-margin-right":j=50,"data-margin-bottom":S=25,"data-font-size":J=14,"data-title-width":V=100,"data-title-height":m=50,"data-subtitle-width":T=250,"data-subtitle-height":D=60,"data-enable-title-popup":M="false","data-enable-circle-popup":y="true","data-enable-default-popup":k="false","data-close-popup-on-mouse-out":W="false",editing:H,parent:N,unique:x}=a,X=a.intl.locale,P={unique:x||Math.random().toString(36).substring(2,9),marginLeft:E,marginTop:v,marginRight:j,marginBottom:S,lineWidth:w,height:U,position:q,lineColor:decodeURIComponent(L),config:JSON.parse(decodeURIComponent(G)),fontSize:J,titleWidth:V,titleHeight:m,subtitleWidth:T,subtitleHeight:D,enableTitlePopup:M==!0||M=="true",enableCirclePopup:y==!0||y=="true",enableDefaultPopup:k==!0||k=="true",closePopupOnMouseOut:W==!0||W=="true"};return r.jsx(z.Container,{style:{height:"auto"},className:`viz time line ${H?"editing":""} mobile`,fluid:!0,children:r.jsx(st.PostProvider,{locale:X,type:n,taxonomy:d,categories:g,store:`carousel_${N}_${x}`,page:1,perPage:u,children:r.jsx(st.PostConsumer,{children:r.jsx(Tt,{...P})})})})};exports.default=Pt;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react/jsx-runtime"),nt=require("@devgateway/wp-react-lib"),gt=require("../connected-templates/PostIntro.js"),R=require("semantic-ui-react"),mt=require("d3"),bt=require("../../lib/hooks/window-dimensions.js"),yt=require("../../lib/hooks/screen-orientation.js");function xt(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const d in r)if(d!=="default"){const h=Object.getOwnPropertyDescriptor(r,d);Object.defineProperty(n,d,h.get?h:{enumerable:!0,get:()=>r[d]})}}return n.default=r,Object.freeze(n)}const f=xt(mt),Ct={visibility:"visible",position:"relative",height:"auto",width:"auto"},wt=0,vt=r=>{let{posts:n,lineWidth:d,lineColor:h,config:u,marginLeft:F,marginTop:z,marginRight:U,marginBottom:L,fontSize:C,subtitleWidth:E,subtitleHeight:w,enableTitlePopup:$,enableCirclePopup:j,enableDefaultPopup:G,closePopupOnMouseOut:J,unique:g}=r;E=250;const v=useRef(),S=useRef(),[D,b]=useState(!1),[M,k]=useState(0),[W,N]=useState(null),{orientation:y}=yt.useScreenOrientation(),{width:V,deviceType:m,height:T}=bt.useWindowDimensionsAndDevice({getDeviceType:!0,getHeight:!0}),q=useCallback(t=>`circle${g}${t}`,[g]),st=useCallback(t=>`title${g}${t}`,[g]),at=t=>{var i;return((i=u[t])==null?void 0:i.size)||10},rt=({content:t,isOpen:i,style:l})=>{const x=s=>(s=s.replace(/<ul(.*?)>/g,'<ul class="has-white-color has-text-color has-standard-14-font-size" style="list-style-type:disc !important; list-style: initial !important; padding-left:20px; color:#fefefe;">'),s=s.replace(/<a(.*?)>/g,'<a$1 style="color:#fefefe;">'),s);return a.jsxs(R.Modal,{open:i,onClose:()=>b(!1),size:"fullscreen",closeIcon:!0,centered:!0,style:{maxHeight:"80vh",overflowY:"auto",padding:"0.5rem",...l},children:[a.jsx(R.Modal.Header,{style:{...l,borderBottom:"none"}}),a.jsx(R.Modal.Content,{className:"styled-list-content",style:{...l},dangerouslySetInnerHTML:{__html:x(t.props.children.props.post.content.rendered)}})]},`${t.props.children.key}modal`)},X=t=>{var i;return(i=u[t])==null?void 0:i.circleColor},Y=t=>u[t].titleColor,K=t=>u[t].lineColor,Q=t=>u[t].tooltipFontColor||"#fff",ct=t=>u[t].readMoreLabel,Z=useCallback((t,i)=>{t.preventDefault();const l=260,x=50;let s=[0,0];if(t){const P=t.target.getBoundingClientRect(),H=t.target.closest(".time").getBoundingClientRect(),c=P.left-H.left,O=P.top+H.top;s=[c+l,O+x];const I=400;P.left+c+I+l>window.innerWidth&&(s[0]=c-I*.6)}b(!0),N({data:i,id:i.id,position:s}),pt(i.id)},[]),dt=()=>{b(!1)},ut=t=>{f.selectAll(`#${q(t)}`).style("stroke","none").style("fill",X(t)),f.selectAll(`#label${t}`).style("font-weight","normal")},pt=t=>{ut(wt),f.selectAll(`#${q(t)}`).style("stroke",X(t)).style("fill","#fff"),f.selectAll(`#label${t}`).style("font-weight","bold")};return useLayoutEffect(()=>{var it;const t={top:z,bottom:L},i=v.current.clientWidth,l=S.current.clientWidth;l>0&&k(l);const x=T,s={mobile:"75",tablet:"150",midTablet:"150",laptop:"150"},P={mobile:"250",tablet:"350",midTablet:"350",laptop:"400"},H={mobile:20,tablet:30,midTablet:30,laptop:40},c=f.scaleLinear().domain([0,n.length-1]).range([t.top,x-t.bottom]),O=f.select(v.current);O.selectAll("*").remove(),O.attr("width",i).attr("height",x);const I=f.line(),ft=[[0,c(0)],[0,c(n.length-1)]],ht=I(ft);let tt=`translate(${s[m]},0)`;((it=process.env.REACT_APP_THEME)==null?void 0:it.startsWith("cd"))&&(tt=`translate(${s[m]},20)`);const _=O.append("g").attr("transform",tt);h="#E4E5EA",d=6,_.append("path").attr("d",ht).attr("stroke-width",d).attr("stroke",h).attr("class","timeline-path"),_.selectAll(".circle").data(n).enter().append("circle").attr("id",(o,e)=>q(e)).attr("cx",0).attr("class","timeline-circle").attr("cy",(o,e)=>c(e)).attr("r",(o,e)=>at(e)).style("fill",(o,e)=>{var p;return((p=u[e])==null?void 0:p.circleColor)||"#000"}).style("cursor",j?"pointer":"default").on("click",(o,e)=>{o.preventDefault(),j&&Z(o,e)}),_.selectAll(".title").data(n).enter().append("foreignObject").attr("x",H[m]).attr("y",(o,e)=>c(e)-Number.parseInt(w)/2).attr("width",Number.parseInt(P[m])).attr("height",Number.parseInt(w)).attr("class","timeline-title").append("xhtml:div").attr("id",(o,e)=>st(e)).style("font-size",`${Number.parseInt(C)+1}px`).style("color",(o,e)=>Y(e)).style("font-weight","bold").style("line-height","1.2rem").style("text-align","left").style("cursor",$?"pointer":"default").style("overflow","hidden").style("display","-webkit-box").style("-webkit-line-clamp","2").style("-webkit-box-orient","vertical").style("text-overflow","ellipsis").style("overflow-wrap","break-word").html((o,e)=>{const p=ct(e);let A=o.title.rendered;return p&&(A+=`<br><span style="font-size:${Number.parseInt(C)-3}px;color:${Y(e)};text-decoration:underline;text-underline-offset:3px">${p}</span>`),A}).each(function(o,e){const p=f.select(this.parentNode);setTimeout(()=>{const A=this.getBoundingClientRect(),lt=Math.min(A.height,Number.parseInt(w)*2);p.attr("height",lt),p.attr("y",c(e)-lt/2)},0)}).on("click",(o,e,p)=>{o.preventDefault(),$&&Z(o,e)});const et=+C+1,ot=60,B=et*.9;_.selectAll(".year-fo").data(n).enter().append("foreignObject").attr("class","year-fo").attr("x",-70).attr("y",(o,e)=>c(e)-B/2).attr("width",ot).attr("height",B).append("xhtml:div").style("display","flex").style("align-items","center").style("justify-content","flex-end").style("width",`${ot}px`).style("height",`${B}px`).style("font-size",`${et}px`).style("line-height","1em").style("font-weight","400").style("color","#4C4D50").html(o=>o.meta_fields.subtitle)},[m,y,T]),a.jsxs("div",{className:"time line",style:{position:"relative"},ref:S,children:[n.filter(t=>W&&W.id===t.id).map(t=>{const i=t.slug||"unknown-slug",l=n.indexOf(t);return a.jsx(rt,{isOpen:D,content:a.jsx("div",{style:{backgroundColor:K(l),color:Q(l)},children:a.jsx(gt.default,{post:t,style:Ct},i)}),closeTooltip:dt,style:{backgroundColor:K(l),color:Q(l)}},`${i}_modal`)}),a.jsx("svg",{height:T,width:M,ref:v,style:{overflow:"visible"}})]},g+m+y)},Tt=r=>{const{"data-type":n,"data-taxonomy":d,"data-categories":h,"data-items":u,"data-height":F,"data-line-color":z="#000","data-config":U="{}","data-position":L="middle","data-line-width":C="1","data-margin-left":E=50,"data-margin-top":w=25,"data-margin-right":$=50,"data-margin-bottom":j=25,"data-font-size":G=14,"data-title-width":J=100,"data-title-height":g=50,"data-subtitle-width":v=250,"data-subtitle-height":S=60,"data-enable-title-popup":D="false","data-enable-circle-popup":b="true","data-enable-default-popup":M="false","data-close-popup-on-mouse-out":k="false",editing:W,parent:N,unique:y}=r,V=r.intl.locale,T={unique:y||Math.random().toString(36).substring(2,9),marginLeft:E,marginTop:w,marginRight:$,marginBottom:j,lineWidth:C,height:F,position:L,lineColor:decodeURIComponent(z),config:JSON.parse(decodeURIComponent(U)),fontSize:G,titleWidth:J,titleHeight:g,subtitleWidth:v,subtitleHeight:S,enableTitlePopup:D==!0||D=="true",enableCirclePopup:b==!0||b=="true",enableDefaultPopup:M==!0||M=="true",closePopupOnMouseOut:k==!0||k=="true"};return a.jsx(R.Container,{style:{height:"auto"},className:`viz time line ${W?"editing":""} mobile`,fluid:!0,children:a.jsx(nt.PostProvider,{locale:V,type:n,taxonomy:d,categories:h,store:`carousel_${N}_${y}`,page:1,perPage:u,children:a.jsx(nt.PostConsumer,{children:a.jsx(vt,{...T})})})})};exports.default=Tt;
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embeddable/index.js"),n=require("./tracker/withGoogleAnalytics.js"),o=require("./redux/store.js"),t=require("./redux/hooks.js"),r=require("./lib/react-intl-redux/index.js"),i=require("./lib/redux-immutable/index.js"),s=require("./translations/en.json.js"),c=require("./translations/fr.json.js"),u=require("./translations/af.json.js"),a=require("./lib/react-intl-redux/providers/Provider.js"),l=require("./lib/react-intl-redux/providers/IntlProvider.js");exports.components=e.components;exports.customizer=e.customizer;exports.getComponentByNameIgnoreCase=e.getComponentByNameIgnoreCase;exports.reducers=e.reducers;exports.withTracker=n.withTracker;exports.store=o.store;exports.useAppDispatch=t.useAppDispatch;exports.useAppSelector=t.useAppSelector;exports.UPDATE=r.UPDATE;exports.initialState=r.initialState;exports.intlReducer=r.intlReducer;exports.updateIntl=r.updateIntl;exports.combineReducers=i.combineReducers;exports.englishTranslations=s;exports.frenchTranslations=c;exports.afrikaansTranslations=u;exports.Provider=a.default;exports.IntlProvider=l.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embeddable/index.js"),o=require("./conf/index.js"),n=require("./layout/ResponsiveContainer.js"),i=require("./layout/ScrollTop.js"),a=require("./layout/containers/PreviewPageContainer.js"),u=require("./layout/containers/PreviewTypeContainer.js"),s=require("./layout/containers/SlugContainer.js"),c=require("./layout/containers/SlugPostContainer.js"),l=require("./layout/Customizer.js"),d=require("./layout/Layout.js"),q=require("./layout/PreviewComponent.js"),p=require("./layout/Favicon.js"),C=require("./layout/SSRFavicon.js"),f=require("./layout/Loading.js"),S=require("./layout/CustomSemanticSearch.js"),g=require("./layout/Header.js"),m=require("./layout/SearchControl.js"),P=require("./layout/LangSwitcher.js"),v=require("./layout/Footer.js"),T=require("./layout/ClassicHeader.js"),h=require("./layout/FlexWrapDetector.js"),w=require("./layout/FloatingMenuHeader.js"),R=require("./tracker/withGoogleAnalytics.js"),F=require("./redux/store.js"),t=require("./redux/hooks.js"),r=require("./lib/react-intl-redux/index.js"),y=require("./lib/redux-immutable/index.js"),I=require("./translations/en.json.js"),A=require("./translations/fr.json.js"),O=require("./translations/af.json.js"),x=require("./countries.js"),D=require("./lib/react-intl-redux/providers/Provider.js"),H=require("./lib/react-intl-redux/providers/IntlProvider.js");exports.components=e.components;exports.customizer=e.customizer;exports.getComponentByNameIgnoreCase=e.getComponentByNameIgnoreCase;exports.reducers=e.reducers;exports.Config=o.Config;exports.ResponsiveContainer=n.default;exports.ScrollToTop=i.default;exports.PreviewPageContainer=a.default;exports.PreviewTypeContainer=u.default;exports.SlugContainer=s.default;exports.SlugPostContainer=c.default;exports.CustomizerWrapper=l.CustomizerWrapper;exports.RootLayout=d.default;exports.PreviewComponent=q.default;exports.Favicon=p.default;exports.SSRFavicon=C.default;exports.Loading=f.default;exports.CustomSemanticSearch=S.default;exports.Header=g.default;exports.SearchControl=m.default;exports.LangSwitcher=P.default;exports.Footer=v.default;exports.ClassicHeader=T.default;exports.FlexWrapDetector=h.default;exports.FloatingMenuHeader=w.default;exports.withTracker=R.withTracker;exports.store=F.store;exports.useAppDispatch=t.useAppDispatch;exports.useAppSelector=t.useAppSelector;exports.UPDATE=r.UPDATE;exports.initialState=r.initialState;exports.intlReducer=r.intlReducer;exports.updateIntl=r.updateIntl;exports.combineReducers=y.combineReducers;exports.englishTranslations=I;exports.frenchTranslations=A;exports.afrikaansTranslations=O;exports.COUNTRY_OPTIONS=x.COUNTRY_OPTIONS;exports.Provider=D.default;exports.IntlProvider=H.default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),s=require("react"),t=require("react-router"),f=require("../embeddable/index.js"),m=require("react-intl"),n=require("@devgateway/wp-react-lib"),g=require("react-redux");require("semantic-ui-react");require("../utils/AppMedia.js");require("./Footer.js");require("./Header.js");const p=require("./Customizer.js"),h=require("../conf/index.js"),x=require("../translations/en.json.js"),v=require("../translations/fr.json.js"),j=require("../translations/af.json.js"),C=require("../lib/react-intl-redux/index.js");require("immutable");const i=require("../redux/store.js");require("./Favicon.js");require("clsx");require("../utils/semanticUtils.js");require("./SearchControl.js");require("./ClassicHeader.js");require("./FloatingMenuHeader.js");const u={en:x,fr:v,am:j},w=()=>{const c=t.useParams(),l=t.useLocation(),o=h.Config.DEFAULT_LOCALE,[I,d]=s.useState(!1);console.log("defaultLocale",o);const e=c.lan,q=l.pathname;return console.log("pathParams",JSON.stringify(c.lan)),s.useEffect(()=>{d(!0),process.env.NODE_ENV==="development"&&(console.log("----------.env-----------"),console.log(process.env),console.log("----------.env-----------")),typeof window<"u"&&window.setTimeout(()=>{if(window.location.hash){const a=document.getElementById(window.location.hash.substring(1));a&&a.scrollIntoView({behavior:"auto",block:"start"})}},2e3)},[]),s.useEffect(()=>{i.store.dispatch(C.updateIntl({locale:e,formats:{},messages:u[e??"en"]}))},[e]),e?Object.keys(u).includes(e)?r.jsx(g.Provider,{store:i.store,children:r.jsx(m.IntlProvider,{locale:e,messages:u[e],children:r.jsx(n.AppContextProvider,{getComponent:f.getComponentByNameIgnoreCase,store:i.store,locale:e,children:r.jsx(n.SettingProvider,{locale:e,changeUUID:null,children:r.jsxs(n.SettingsConsumer,{children:[r.jsx(p.CustomizerWrapper,{}),r.jsx(t.Outlet,{})]})})})},e)}):r.jsx(t.Navigate,{to:`/${o}${q}`,replace:!0}):r.jsx(t.Navigate,{to:o,replace:!0})};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),o=require("react"),t=require("react-router"),m=require("../embeddable/index.js"),f=require("react-intl"),s=require("@devgateway/wp-react-lib"),g=require("react-redux");require("semantic-ui-react");require("../utils/AppMedia.js");require("./Footer.js");require("./Header.js");const p=require("./Customizer.js"),h=require("../conf/index.js"),x=require("../translations/en.json.js"),v=require("../translations/fr.json.js"),j=require("../translations/af.json.js"),C=require("../lib/react-intl-redux/index.js");require("immutable");const n=require("../redux/store.js");require("./Favicon.js");require("clsx");require("../utils/semanticUtils.js");require("./SearchControl.js");require("./ClassicHeader.js");require("./FloatingMenuHeader.js");const i={en:x,fr:v,am:j},w=()=>{const a=t.useParams(),l=t.useLocation(),u=h.Config.DEFAULT_LOCALE,[I,d]=o.useState(!1),e=a.lan,q=l.pathname;return o.useEffect(()=>{d(!0),process.env.NODE_ENV==="development"&&(console.log("----------.env-----------"),console.log(process.env),console.log("----------.env-----------")),typeof window<"u"&&window.setTimeout(()=>{if(window.location.hash){const c=document.getElementById(window.location.hash.substring(1));c&&c.scrollIntoView({behavior:"auto",block:"start"})}},2e3)},[]),o.useEffect(()=>{n.store.dispatch(C.updateIntl({locale:e,formats:{},messages:i[e??"en"]}))},[e]),e?Object.keys(i).includes(e)?r.jsx(g.Provider,{store:n.store,children:r.jsx(f.IntlProvider,{locale:e,messages:i[e],children:r.jsx(s.AppContextProvider,{getComponent:m.getComponentByNameIgnoreCase,store:n.store,locale:e,children:r.jsx(s.SettingProvider,{locale:e,changeUUID:null,children:r.jsxs(s.SettingsConsumer,{children:[r.jsx(p.CustomizerWrapper,{}),r.jsx(t.Outlet,{})]})})})},e)}):r.jsx(t.Navigate,{to:`/${u}${q}`,replace:!0}):r.jsx(t.Navigate,{to:u,replace:!0})};exports.default=w;