@useinsider/guido 3.2.0-beta.e01b42a → 3.2.0-beta.e69fb3b

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 (279) hide show
  1. package/README.md +1 -0
  2. package/dist/@types/config/schemas.js +66 -54
  3. package/dist/@types/config/validator.js +27 -34
  4. package/dist/components/Guido.vue.js +4 -4
  5. package/dist/components/Guido.vue2.js +87 -82
  6. package/dist/components/organisms/base/Toaster.vue2.js +10 -11
  7. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue2.js +12 -12
  8. package/dist/components/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue.js +7 -7
  9. package/dist/components/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue2.js +12 -20
  10. package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue2.js +6 -6
  11. package/dist/components/organisms/email-preview/mobile-preview/InboxView.vue2.js +9 -15
  12. package/dist/components/organisms/extensions/recommendation/FilterItem.vue2.js +31 -40
  13. package/dist/components/organisms/extensions/recommendation/FilterSelectionDrawer.vue2.js +19 -20
  14. package/dist/components/organisms/extensions/recommendation/Filters.vue2.js +11 -14
  15. package/dist/components/organisms/header/EditorActions.vue.js +12 -13
  16. package/dist/components/organisms/header/EditorActions.vue2.js +51 -40
  17. package/dist/components/organisms/header/HeaderWrapper.vue2.js +12 -15
  18. package/dist/components/organisms/header/LeftSlot.vue2.js +16 -19
  19. package/dist/components/organisms/header/MiddleSlot.vue2.js +14 -11
  20. package/dist/components/organisms/header/RightSlot.vue.js +10 -10
  21. package/dist/components/organisms/header/RightSlot.vue2.js +13 -13
  22. package/dist/components/organisms/onboarding/AMPOnboarding.vue.js +11 -12
  23. package/dist/components/organisms/onboarding/AMPOnboarding.vue2.js +49 -31
  24. package/dist/components/organisms/onboarding/GenericOnboarding.vue.js +12 -13
  25. package/dist/components/organisms/onboarding/GenericOnboarding.vue2.js +36 -38
  26. package/dist/components/organisms/onboarding/ItemsOnboarding.vue.js +12 -13
  27. package/dist/components/organisms/onboarding/ItemsOnboarding.vue2.js +47 -51
  28. package/dist/components/organisms/onboarding/NewVersionPopup.vue2.js +18 -21
  29. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +27 -31
  30. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue.js +12 -13
  31. package/dist/components/organisms/onboarding/TextBlockOnboarding.vue2.js +33 -46
  32. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue.js +11 -12
  33. package/dist/components/organisms/onboarding/VersionHistoryOnboarding.vue2.js +20 -21
  34. package/dist/components/organisms/save-as-template/SaveAsTemplateDrawer.vue2.js +18 -18
  35. package/dist/components/organisms/unsubscribe/UnsubscribeWrapper.vue.js +9 -10
  36. package/dist/composables/useActionsApi.js +37 -38
  37. package/dist/composables/useBlocksConfig.js +26 -26
  38. package/dist/composables/useFullStoryBridge.js +13 -0
  39. package/dist/composables/useHtmlCompiler.js +34 -24
  40. package/dist/composables/useHtmlValidator.js +91 -97
  41. package/dist/composables/useHttp.js +30 -30
  42. package/dist/composables/usePartner.js +1 -1
  43. package/dist/composables/usePreviewMode.js +20 -16
  44. package/dist/composables/useRecommendation.js +14 -15
  45. package/dist/composables/useRibbonOffset.js +21 -0
  46. package/dist/composables/useSave.js +23 -16
  47. package/dist/composables/useStripo.js +55 -47
  48. package/dist/composables/useSyncModuleExtractor.js +31 -29
  49. package/dist/composables/useTimerClone.js +24 -25
  50. package/dist/composables/useTranslations.js +2 -3
  51. package/dist/composables/useValidation.js +7 -8
  52. package/dist/composables/validators/useLiquidValidator.js +42 -0
  53. package/dist/config/compiler/liquidCompilerRules.js +15 -0
  54. package/dist/config/compiler/recommendationCompilerRules.js +162 -43
  55. package/dist/config/compiler/unsubscribeCompilerRules.js +45 -44
  56. package/dist/config/compiler/utils/recommendationCompilerUtils.js +51 -46
  57. package/dist/config/migrator/checkboxMigrator.js +23 -22
  58. package/dist/config/migrator/couponBlockMigrator.js +18 -19
  59. package/dist/config/migrator/itemsBlockMigrator.js +87 -89
  60. package/dist/config/migrator/radioButtonMigrator.js +19 -18
  61. package/dist/config/migrator/recommendationMigrator.js +107 -110
  62. package/dist/config/migrator/unsubscribeMigrator.js +10 -11
  63. package/dist/enums/extensions/recommendationBlock.js +14 -11
  64. package/dist/enums/onboarding.js +7 -2
  65. package/dist/enums/recommendation.js +2 -2
  66. package/dist/enums/unsubscribe.js +33 -27
  67. package/dist/extensions/Blocks/CouponBlock/template.js +24 -13
  68. package/dist/extensions/Blocks/Items/block.js +9 -9
  69. package/dist/extensions/Blocks/Items/controls/button/link.js +14 -14
  70. package/dist/extensions/Blocks/Items/controls/cardComposition.js +89 -97
  71. package/dist/extensions/Blocks/Items/controls/image/link.js +14 -14
  72. package/dist/extensions/Blocks/Items/controls/name/trimming.js +23 -24
  73. package/dist/extensions/Blocks/Items/controls/price/currencyLocation.js +13 -14
  74. package/dist/extensions/Blocks/Items/controls/price/currencySymbol.js +44 -47
  75. package/dist/extensions/Blocks/Items/controls/price/formattedPrice.js +38 -38
  76. package/dist/extensions/Blocks/Items/controls/price/hideDiscount.js +11 -11
  77. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +38 -40
  78. package/dist/extensions/Blocks/Items/controls/price/singlePrice.js +35 -35
  79. package/dist/extensions/Blocks/Items/controls/settingsControl.js +155 -162
  80. package/dist/extensions/Blocks/Items/enums/productEnums.js +21 -14
  81. package/dist/extensions/Blocks/Items/template.js +210 -210
  82. package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
  83. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +27 -11
  84. package/dist/extensions/Blocks/Recommendation/controls/button/index.js +36 -36
  85. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +208 -200
  86. package/dist/extensions/Blocks/Recommendation/controls/customAttribute/index.js +23 -20
  87. package/dist/extensions/Blocks/Recommendation/controls/customAttribute/textTrim.js +99 -0
  88. package/dist/extensions/Blocks/Recommendation/controls/image/index.js +9 -9
  89. package/dist/extensions/Blocks/Recommendation/controls/main/algorithm.js +19 -20
  90. package/dist/extensions/Blocks/Recommendation/controls/main/filters.js +4 -6
  91. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +84 -90
  92. package/dist/extensions/Blocks/Recommendation/controls/main/layoutOrientation.js +18 -18
  93. package/dist/extensions/Blocks/Recommendation/controls/main/productCount.js +4 -4
  94. package/dist/extensions/Blocks/Recommendation/controls/main/productLayout.js +35 -36
  95. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +127 -126
  96. package/dist/extensions/Blocks/Recommendation/controls/name/index.js +24 -24
  97. package/dist/extensions/Blocks/Recommendation/controls/name/textTrim.js +27 -57
  98. package/dist/extensions/Blocks/Recommendation/controls/oldPrice/index.js +24 -24
  99. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.js +24 -24
  100. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textAfter.js +4 -4
  101. package/dist/extensions/Blocks/Recommendation/controls/omnibusDiscount/textBefore.js +4 -4
  102. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/index.js +24 -24
  103. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textAfter.js +4 -4
  104. package/dist/extensions/Blocks/Recommendation/controls/omnibusPrice/textBefore.js +4 -4
  105. package/dist/extensions/Blocks/Recommendation/controls/price/index.js +24 -24
  106. package/dist/extensions/Blocks/Recommendation/controls/shared/textTrimCssRules.js +14 -0
  107. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +50 -50
  108. package/dist/extensions/Blocks/Recommendation/controls/syncInfoMessage.js +18 -20
  109. package/dist/extensions/Blocks/Recommendation/extension.js +31 -32
  110. package/dist/extensions/Blocks/Recommendation/settingsPanel.js +25 -32
  111. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +72 -69
  112. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +24 -23
  113. package/dist/extensions/Blocks/Recommendation/templates/grid/migration.js +10 -10
  114. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +28 -27
  115. package/dist/extensions/Blocks/Recommendation/templates/index.js +9 -9
  116. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +26 -25
  117. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +21 -21
  118. package/dist/extensions/Blocks/Recommendation/templates/utils.js +53 -48
  119. package/dist/extensions/Blocks/Recommendation/utils/filterUtil.js +17 -14
  120. package/dist/extensions/Blocks/Recommendation/validation/filterSchema.js +13 -16
  121. package/dist/extensions/Blocks/Unsubscribe/block.js +11 -11
  122. package/dist/extensions/Blocks/Unsubscribe/control.js +11 -13
  123. package/dist/extensions/Blocks/Unsubscribe/elements/preview.js +16 -18
  124. package/dist/extensions/Blocks/common-control.js +25 -26
  125. package/dist/extensions/DynamicContent/dynamic-content.js +59 -59
  126. package/dist/guido.css +1 -1
  127. package/dist/library.js +11 -12
  128. package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +232 -210
  129. package/dist/node_modules/lodash-es/_getValue.js +1 -1
  130. package/dist/node_modules/valibot/dist/index.js +122 -126
  131. package/dist/package.json.js +1 -1
  132. package/dist/services/recommendationApi.js +12 -15
  133. package/dist/services/stripoApi.js +9 -9
  134. package/dist/services/templateLibraryApi.js +49 -48
  135. package/dist/src/@types/config/index.d.ts +1 -1
  136. package/dist/src/@types/config/schemas.d.ts +28 -0
  137. package/dist/src/@types/config/types.d.ts +3 -1
  138. package/dist/src/@types/generic.d.ts +0 -1
  139. package/dist/src/@types/save-as-template.d.ts +1 -0
  140. package/dist/src/components/wrappers/WpModal.vue.d.ts +1 -1
  141. package/dist/src/composables/useActionsApi.d.ts +1 -1
  142. package/dist/src/composables/useConfig.d.ts +12 -0
  143. package/dist/src/composables/useFullStoryBridge.d.ts +11 -0
  144. package/dist/src/composables/useHtmlCompiler.d.ts +1 -2
  145. package/dist/src/composables/useRibbonOffset.d.ts +4 -0
  146. package/dist/src/composables/validators/useLiquidValidator.d.ts +3 -0
  147. package/dist/src/config/compiler/liquidCompilerRules.d.ts +2 -0
  148. package/dist/src/config/compiler/utils/recommendationCompilerUtils.d.ts +1 -1
  149. package/dist/src/enums/extensions/recommendationBlock.d.ts +3 -0
  150. package/dist/src/enums/onboarding.d.ts +6 -0
  151. package/dist/src/enums/unsubscribe.d.ts +5 -0
  152. package/dist/src/extensions/Blocks/CouponBlock/template.d.ts +2 -0
  153. package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +1 -0
  154. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
  155. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +5 -0
  156. package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +5 -0
  157. package/dist/src/extensions/Blocks/Recommendation/controls/customAttribute/index.d.ts +3 -0
  158. package/dist/src/extensions/Blocks/Recommendation/controls/customAttribute/textTrim.d.ts +35 -0
  159. package/dist/src/extensions/Blocks/Recommendation/controls/name/textTrim.d.ts +3 -20
  160. package/dist/src/extensions/Blocks/Recommendation/controls/shared/textTrimCssRules.d.ts +29 -0
  161. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +4 -4
  162. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +3 -3
  163. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +20 -3
  164. package/dist/src/extensions/Blocks/Recommendation/utils/tagName.d.ts +3 -3
  165. package/dist/src/services/templateLibraryApi.d.ts +1 -1
  166. package/dist/src/stores/config.d.ts +108 -0
  167. package/dist/src/stores/dynamic-content.d.ts +3 -3
  168. package/dist/src/stores/onboarding.d.ts +4 -0
  169. package/dist/src/stores/preview.d.ts +3 -0
  170. package/dist/src/utils/genericUtil.d.ts +1 -1
  171. package/dist/src/utils/htmlCompiler.d.ts +2 -1
  172. package/dist/static/styles/base.css.js +7 -2
  173. package/dist/static/styles/components/button.css.js +3 -2
  174. package/dist/static/styles/components/loader.css.js +4 -0
  175. package/dist/stores/config.js +25 -81
  176. package/dist/stores/dynamic-content.js +6 -11
  177. package/dist/stores/onboarding.js +5 -1
  178. package/dist/stores/preview.js +8 -10
  179. package/dist/stores/unsubscribe.js +1 -4
  180. package/dist/utils/dateUtil.js +7 -10
  181. package/dist/utils/genericUtil.js +39 -20
  182. package/dist/utils/htmlCompiler.js +48 -41
  183. package/dist/utils/pairProductVariables.js +13 -14
  184. package/dist/utils/templatePreparation.js +36 -25
  185. package/dist/utils/tooltipUtils.js +4 -5
  186. package/package.json +9 -4
  187. package/dist/node_modules/lodash-es/_DataView.js +0 -6
  188. package/dist/node_modules/lodash-es/_Promise.js +0 -6
  189. package/dist/node_modules/lodash-es/_Set.js +0 -6
  190. package/dist/node_modules/lodash-es/_SetCache.js +0 -13
  191. package/dist/node_modules/lodash-es/_Stack.js +0 -18
  192. package/dist/node_modules/lodash-es/_Uint8Array.js +0 -5
  193. package/dist/node_modules/lodash-es/_WeakMap.js +0 -6
  194. package/dist/node_modules/lodash-es/_arrayFilter.js +0 -10
  195. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +0 -20
  196. package/dist/node_modules/lodash-es/_arrayMap.js +0 -8
  197. package/dist/node_modules/lodash-es/_arrayPush.js +0 -8
  198. package/dist/node_modules/lodash-es/_arraySome.js +0 -9
  199. package/dist/node_modules/lodash-es/_baseEach.js +0 -6
  200. package/dist/node_modules/lodash-es/_baseFlatten.js +0 -13
  201. package/dist/node_modules/lodash-es/_baseFor.js +0 -5
  202. package/dist/node_modules/lodash-es/_baseForOwn.js +0 -8
  203. package/dist/node_modules/lodash-es/_baseGet.js +0 -11
  204. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  205. package/dist/node_modules/lodash-es/_baseHasIn.js +0 -6
  206. package/dist/node_modules/lodash-es/_baseIsArguments.js +0 -9
  207. package/dist/node_modules/lodash-es/_baseIsEqual.js +0 -8
  208. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +0 -32
  209. package/dist/node_modules/lodash-es/_baseIsMatch.js +0 -29
  210. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +0 -12
  211. package/dist/node_modules/lodash-es/_baseIteratee.js +0 -11
  212. package/dist/node_modules/lodash-es/_baseKeys.js +0 -14
  213. package/dist/node_modules/lodash-es/_baseMap.js +0 -11
  214. package/dist/node_modules/lodash-es/_baseMatches.js +0 -12
  215. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  216. package/dist/node_modules/lodash-es/_baseProperty.js +0 -8
  217. package/dist/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  218. package/dist/node_modules/lodash-es/_baseRange.js +0 -9
  219. package/dist/node_modules/lodash-es/_baseTimes.js +0 -8
  220. package/dist/node_modules/lodash-es/_baseToString.js +0 -18
  221. package/dist/node_modules/lodash-es/_baseTrim.js +0 -8
  222. package/dist/node_modules/lodash-es/_baseUnary.js +0 -8
  223. package/dist/node_modules/lodash-es/_cacheHas.js +0 -6
  224. package/dist/node_modules/lodash-es/_castPath.js +0 -10
  225. package/dist/node_modules/lodash-es/_createBaseEach.js +0 -15
  226. package/dist/node_modules/lodash-es/_createBaseFor.js +0 -13
  227. package/dist/node_modules/lodash-es/_createRange.js +0 -11
  228. package/dist/node_modules/lodash-es/_equalArrays.js +0 -40
  229. package/dist/node_modules/lodash-es/_equalByTag.js +0 -45
  230. package/dist/node_modules/lodash-es/_equalObjects.js +0 -36
  231. package/dist/node_modules/lodash-es/_getAllKeys.js +0 -9
  232. package/dist/node_modules/lodash-es/_getMatchData.js +0 -12
  233. package/dist/node_modules/lodash-es/_getSymbols.js +0 -10
  234. package/dist/node_modules/lodash-es/_getTag.js +0 -28
  235. package/dist/node_modules/lodash-es/_hasPath.js +0 -19
  236. package/dist/node_modules/lodash-es/_isFlattenable.js +0 -10
  237. package/dist/node_modules/lodash-es/_isIndex.js +0 -8
  238. package/dist/node_modules/lodash-es/_isIterateeCall.js +0 -13
  239. package/dist/node_modules/lodash-es/_isKey.js +0 -12
  240. package/dist/node_modules/lodash-es/_isPrototype.js +0 -8
  241. package/dist/node_modules/lodash-es/_isStrictComparable.js +0 -7
  242. package/dist/node_modules/lodash-es/_mapToArray.js +0 -9
  243. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  244. package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -11
  245. package/dist/node_modules/lodash-es/_nativeKeys.js +0 -5
  246. package/dist/node_modules/lodash-es/_nodeUtil.js +0 -11
  247. package/dist/node_modules/lodash-es/_overArg.js +0 -8
  248. package/dist/node_modules/lodash-es/_setCacheAdd.js +0 -7
  249. package/dist/node_modules/lodash-es/_setCacheHas.js +0 -6
  250. package/dist/node_modules/lodash-es/_setToArray.js +0 -9
  251. package/dist/node_modules/lodash-es/_stackClear.js +0 -7
  252. package/dist/node_modules/lodash-es/_stackDelete.js +0 -7
  253. package/dist/node_modules/lodash-es/_stackGet.js +0 -6
  254. package/dist/node_modules/lodash-es/_stackHas.js +0 -6
  255. package/dist/node_modules/lodash-es/_stackSet.js +0 -17
  256. package/dist/node_modules/lodash-es/_stringToPath.js +0 -10
  257. package/dist/node_modules/lodash-es/_toKey.js +0 -10
  258. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +0 -9
  259. package/dist/node_modules/lodash-es/flatMap.js +0 -8
  260. package/dist/node_modules/lodash-es/get.js +0 -8
  261. package/dist/node_modules/lodash-es/hasIn.js +0 -8
  262. package/dist/node_modules/lodash-es/identity.js +0 -6
  263. package/dist/node_modules/lodash-es/isArguments.js +0 -10
  264. package/dist/node_modules/lodash-es/isArray.js +0 -4
  265. package/dist/node_modules/lodash-es/isArrayLike.js +0 -8
  266. package/dist/node_modules/lodash-es/isBuffer.js +0 -6
  267. package/dist/node_modules/lodash-es/isLength.js +0 -7
  268. package/dist/node_modules/lodash-es/isObjectLike.js +0 -6
  269. package/dist/node_modules/lodash-es/isSymbol.js +0 -9
  270. package/dist/node_modules/lodash-es/isTypedArray.js +0 -7
  271. package/dist/node_modules/lodash-es/keys.js +0 -9
  272. package/dist/node_modules/lodash-es/map.js +0 -11
  273. package/dist/node_modules/lodash-es/property.js +0 -10
  274. package/dist/node_modules/lodash-es/range.js +0 -5
  275. package/dist/node_modules/lodash-es/stubArray.js +0 -6
  276. package/dist/node_modules/lodash-es/stubFalse.js +0 -6
  277. package/dist/node_modules/lodash-es/toFinite.js +0 -14
  278. package/dist/node_modules/lodash-es/toNumber.js +0 -22
  279. package/dist/node_modules/lodash-es/toString.js +0 -7
@@ -1,40 +0,0 @@
1
- import D from "./_SetCache.js";
2
- import G from "./_arraySome.js";
3
- import M from "./_cacheHas.js";
4
- var x = 1, F = 2;
5
- function U(n, e, A, d, p, f) {
6
- var E = A & x, R = n.length, P = e.length;
7
- if (R != P && !(E && P > R))
8
- return !1;
9
- var S = f.get(n), _ = f.get(e);
10
- if (S && _)
11
- return S == e && _ == n;
12
- var v = -1, g = !0, l = A & F ? new D() : void 0;
13
- for (f.set(n, e), f.set(e, n); ++v < R; ) {
14
- var i = n[v], L = e[v];
15
- if (d)
16
- var C = E ? d(L, i, v, e, n, f) : d(i, L, v, n, e, f);
17
- if (C !== void 0) {
18
- if (C)
19
- continue;
20
- g = !1;
21
- break;
22
- }
23
- if (l) {
24
- if (!G(e, function(O, w) {
25
- if (!M(l, w) && (i === O || p(i, O, A, d, f)))
26
- return l.push(w);
27
- })) {
28
- g = !1;
29
- break;
30
- }
31
- } else if (!(i === L || p(i, L, A, d, f))) {
32
- g = !1;
33
- break;
34
- }
35
- }
36
- return f.delete(n), f.delete(e), g;
37
- }
38
- export {
39
- U as default
40
- };
@@ -1,45 +0,0 @@
1
- import m from "./_Symbol.js";
2
- import t from "./_Uint8Array.js";
3
- import A from "./eq.js";
4
- import b from "./_equalArrays.js";
5
- import o from "./_mapToArray.js";
6
- import d from "./_setToArray.js";
7
- var L = 1, O = 2, v = "[object Boolean]", E = "[object Date]", R = "[object Error]", w = "[object Map]", B = "[object Number]", D = "[object RegExp]", P = "[object Set]", S = "[object String]", _ = "[object Symbol]", c = "[object ArrayBuffer]", x = "[object DataView]", i = m ? m.prototype : void 0, n = i ? i.valueOf : void 0;
8
- function N(e, a, l, s, y, u, r) {
9
- switch (l) {
10
- case x:
11
- if (e.byteLength != a.byteLength || e.byteOffset != a.byteOffset)
12
- return !1;
13
- e = e.buffer, a = a.buffer;
14
- case c:
15
- return !(e.byteLength != a.byteLength || !u(new t(e), new t(a)));
16
- case v:
17
- case E:
18
- case B:
19
- return A(+e, +a);
20
- case R:
21
- return e.name == a.name && e.message == a.message;
22
- case D:
23
- case S:
24
- return e == a + "";
25
- case w:
26
- var f = o;
27
- case P:
28
- var T = s & L;
29
- if (f || (f = d), e.size != a.size && !T)
30
- return !1;
31
- var g = r.get(e);
32
- if (g)
33
- return g == a;
34
- s |= O, r.set(e, a);
35
- var p = b(f(e), f(a), s, y, u, r);
36
- return r.delete(e), p;
37
- case _:
38
- if (n)
39
- return n.call(e) == n.call(a);
40
- }
41
- return !1;
42
- }
43
- export {
44
- N as default
45
- };
@@ -1,36 +0,0 @@
1
- import x from "./_getAllKeys.js";
2
- var q = 1, E = Object.prototype, F = E.hasOwnProperty;
3
- function I(r, n, A, a, R, f) {
4
- var v = A & q, d = x(r), g = d.length, S = x(n), _ = S.length;
5
- if (g != _ && !v)
6
- return !1;
7
- for (var l = g; l--; ) {
8
- var i = d[l];
9
- if (!(v ? i in n : F.call(n, i)))
10
- return !1;
11
- }
12
- var O = f.get(r), w = f.get(n);
13
- if (O && w)
14
- return O == n && w == r;
15
- var s = !0;
16
- f.set(r, n), f.set(n, r);
17
- for (var t = v; ++l < g; ) {
18
- i = d[l];
19
- var p = r[i], e = n[i];
20
- if (a)
21
- var L = v ? a(e, p, i, n, r, f) : a(p, e, i, r, n, f);
22
- if (!(L === void 0 ? p === e || R(p, e, A, a, f) : L)) {
23
- s = !1;
24
- break;
25
- }
26
- t || (t = i == "constructor");
27
- }
28
- if (s && !t) {
29
- var u = r.constructor, P = n.constructor;
30
- u != P && "constructor" in r && "constructor" in n && !(typeof u == "function" && u instanceof u && typeof P == "function" && P instanceof P) && (s = !1);
31
- }
32
- return f.delete(r), f.delete(n), s;
33
- }
34
- export {
35
- I as default
36
- };
@@ -1,9 +0,0 @@
1
- import t from "./_baseGetAllKeys.js";
2
- import o from "./_getSymbols.js";
3
- import r from "./keys.js";
4
- function f(e) {
5
- return t(e, r, o);
6
- }
7
- export {
8
- f as default
9
- };
@@ -1,12 +0,0 @@
1
- import o from "./_isStrictComparable.js";
2
- import l from "./keys.js";
3
- function f(a) {
4
- for (var t = l(a), r = t.length; r--; ) {
5
- var e = t[r], i = a[e];
6
- t[r] = [e, i, o(i)];
7
- }
8
- return t;
9
- }
10
- export {
11
- f as default
12
- };
@@ -1,10 +0,0 @@
1
- import o from "./_arrayFilter.js";
2
- import a from "./stubArray.js";
3
- var n = Object.prototype, l = n.propertyIsEnumerable, t = Object.getOwnPropertySymbols, m = t ? function(r) {
4
- return r == null ? [] : (r = Object(r), o(t(r), function(e) {
5
- return l.call(r, e);
6
- }));
7
- } : a;
8
- export {
9
- m as default
10
- };
@@ -1,28 +0,0 @@
1
- import e from "./_DataView.js";
2
- import a from "./_Map.js";
3
- import o from "./_Promise.js";
4
- import i from "./_Set.js";
5
- import n from "./_WeakMap.js";
6
- import S from "./_baseGetTag.js";
7
- import t from "./_toSource.js";
8
- var g = "[object Map]", j = "[object Object]", f = "[object Promise]", u = "[object Set]", w = "[object WeakMap]", b = "[object DataView]", T = t(e), C = t(a), M = t(o), d = t(i), v = t(n), r = S;
9
- (e && r(new e(new ArrayBuffer(1))) != b || a && r(new a()) != g || o && r(o.resolve()) != f || i && r(new i()) != u || n && r(new n()) != w) && (r = function(m) {
10
- var c = S(m), p = c == j ? m.constructor : void 0, s = p ? t(p) : "";
11
- if (s)
12
- switch (s) {
13
- case T:
14
- return b;
15
- case C:
16
- return g;
17
- case M:
18
- return f;
19
- case d:
20
- return u;
21
- case v:
22
- return w;
23
- }
24
- return c;
25
- });
26
- export {
27
- r as default
28
- };
@@ -1,19 +0,0 @@
1
- import t from "./_castPath.js";
2
- import a from "./isArguments.js";
3
- import u from "./isArray.js";
4
- import o from "./_isIndex.js";
5
- import e from "./isLength.js";
6
- import g from "./_toKey.js";
7
- function P(r, m, s) {
8
- m = t(m, r);
9
- for (var n = -1, i = m.length, f = !1; ++n < i; ) {
10
- var l = g(m[n]);
11
- if (!(f = r != null && s(r, l)))
12
- break;
13
- r = r[l];
14
- }
15
- return f || ++n != i ? f : (i = r == null ? 0 : r.length, !!i && e(i) && o(l, i) && (u(r) || a(r)));
16
- }
17
- export {
18
- P as default
19
- };
@@ -1,10 +0,0 @@
1
- import o from "./_Symbol.js";
2
- import e from "./isArguments.js";
3
- import i from "./isArray.js";
4
- var t = o ? o.isConcatSpreadable : void 0;
5
- function s(r) {
6
- return i(r) || e(r) || !!(t && r && r[t]);
7
- }
8
- export {
9
- s as default
10
- };
@@ -1,8 +0,0 @@
1
- var o = 9007199254740991, d = /^(?:0|[1-9]\d*)$/;
2
- function f(r, s) {
3
- var t = typeof r;
4
- return s = s ?? o, !!s && (t == "number" || t != "symbol" && d.test(r)) && r > -1 && r % 1 == 0 && r < s;
5
- }
6
- export {
7
- f as default
8
- };
@@ -1,13 +0,0 @@
1
- import i from "./eq.js";
2
- import m from "./isArrayLike.js";
3
- import a from "./_isIndex.js";
4
- import s from "./isObject.js";
5
- function u(f, t, r) {
6
- if (!s(r))
7
- return !1;
8
- var e = typeof t;
9
- return (e == "number" ? m(r) && a(t, r.length) : e == "string" && t in r) ? i(r[t], f) : !1;
10
- }
11
- export {
12
- u as default
13
- };
@@ -1,12 +0,0 @@
1
- import o from "./isArray.js";
2
- import n from "./isSymbol.js";
3
- var i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, s = /^\w*$/;
4
- function m(r, e) {
5
- if (o(r))
6
- return !1;
7
- var t = typeof r;
8
- return t == "number" || t == "symbol" || t == "boolean" || r == null || n(r) ? !0 : s.test(r) || !i.test(r) || e != null && r in Object(e);
9
- }
10
- export {
11
- m as default
12
- };
@@ -1,8 +0,0 @@
1
- var p = Object.prototype;
2
- function e(t) {
3
- var o = t && t.constructor, r = typeof o == "function" && o.prototype || p;
4
- return t === r;
5
- }
6
- export {
7
- e as default
8
- };
@@ -1,7 +0,0 @@
1
- import r from "./isObject.js";
2
- function o(t) {
3
- return t === t && !r(t);
4
- }
5
- export {
6
- o as default
7
- };
@@ -1,9 +0,0 @@
1
- function o(r) {
2
- var e = -1, a = Array(r.size);
3
- return r.forEach(function(n, t) {
4
- a[++e] = [t, n];
5
- }), a;
6
- }
7
- export {
8
- o as default
9
- };
@@ -1,8 +0,0 @@
1
- function e(t, r) {
2
- return function(n) {
3
- return n == null ? !1 : n[t] === r && (r !== void 0 || t in Object(n));
4
- };
5
- }
6
- export {
7
- e as default
8
- };
@@ -1,11 +0,0 @@
1
- import c from "./memoize.js";
2
- var i = 500;
3
- function m(a) {
4
- var e = c(a, function(t) {
5
- return r.size === i && r.clear(), t;
6
- }), r = e.cache;
7
- return e;
8
- }
9
- export {
10
- m as default
11
- };
@@ -1,5 +0,0 @@
1
- import e from "./_overArg.js";
2
- var t = e(Object.keys, Object);
3
- export {
4
- t as default
5
- };
@@ -1,11 +0,0 @@
1
- import p from "./_freeGlobal.js";
2
- var t = typeof exports == "object" && exports && !exports.nodeType && exports, e = t && typeof module == "object" && module && !module.nodeType && module, u = e && e.exports === t, r = u && p.process, l = (function() {
3
- try {
4
- var o = e && e.require && e.require("util").types;
5
- return o || r && r.binding && r.binding("util");
6
- } catch {
7
- }
8
- })();
9
- export {
10
- l as default
11
- };
@@ -1,8 +0,0 @@
1
- function e(r, n) {
2
- return function(t) {
3
- return r(n(t));
4
- };
5
- }
6
- export {
7
- e as default
8
- };
@@ -1,7 +0,0 @@
1
- var t = "__lodash_hash_undefined__";
2
- function a(_) {
3
- return this.__data__.set(_, t), this;
4
- }
5
- export {
6
- a as default
7
- };
@@ -1,6 +0,0 @@
1
- function t(a) {
2
- return this.__data__.has(a);
3
- }
4
- export {
5
- t as default
6
- };
@@ -1,9 +0,0 @@
1
- function t(r) {
2
- var e = -1, a = Array(r.size);
3
- return r.forEach(function(n) {
4
- a[++e] = n;
5
- }), a;
6
- }
7
- export {
8
- t as default
9
- };
@@ -1,7 +0,0 @@
1
- import t from "./_ListCache.js";
2
- function e() {
3
- this.__data__ = new t(), this.size = 0;
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,7 +0,0 @@
1
- function s(t) {
2
- var e = this.__data__, a = e.delete(t);
3
- return this.size = e.size, a;
4
- }
5
- export {
6
- s as default
7
- };
@@ -1,6 +0,0 @@
1
- function a(t) {
2
- return this.__data__.get(t);
3
- }
4
- export {
5
- a as default
6
- };
@@ -1,6 +0,0 @@
1
- function t(a) {
2
- return this.__data__.has(a);
3
- }
4
- export {
5
- t as default
6
- };
@@ -1,17 +0,0 @@
1
- import _ from "./_ListCache.js";
2
- import e from "./_Map.js";
3
- import r from "./_MapCache.js";
4
- var h = 200;
5
- function m(i, s) {
6
- var t = this.__data__;
7
- if (t instanceof _) {
8
- var a = t.__data__;
9
- if (!e || a.length < h - 1)
10
- return a.push([i, s]), this.size = ++t.size, this;
11
- t = this.__data__ = new r(a);
12
- }
13
- return t.set(i, s), this.size = t.size, this;
14
- }
15
- export {
16
- m as default
17
- };
@@ -1,10 +0,0 @@
1
- import u from "./_memoizeCapped.js";
2
- var c = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, d = /\\(\\)?/g, h = u(function(e) {
3
- var r = [];
4
- return e.charCodeAt(0) === 46 && r.push(""), e.replace(c, function(a, p, o, t) {
5
- r.push(o ? t.replace(d, "$1") : p || a);
6
- }), r;
7
- });
8
- export {
9
- h as default
10
- };
@@ -1,10 +0,0 @@
1
- import i from "./isSymbol.js";
2
- function o(t) {
3
- if (typeof t == "string" || i(t))
4
- return t;
5
- var r = t + "";
6
- return r == "0" && 1 / t == -1 / 0 ? "-0" : r;
7
- }
8
- export {
9
- o as default
10
- };
@@ -1,9 +0,0 @@
1
- var r = /\s/;
2
- function a(t) {
3
- for (var e = t.length; e-- && r.test(t.charAt(e)); )
4
- ;
5
- return e;
6
- }
7
- export {
8
- a as default
9
- };
@@ -1,8 +0,0 @@
1
- import r from "./_baseFlatten.js";
2
- import o from "./map.js";
3
- function m(t, a) {
4
- return r(o(t, a));
5
- }
6
- export {
7
- m as default
8
- };
@@ -1,8 +0,0 @@
1
- import u from "./_baseGet.js";
2
- function f(e, r, t) {
3
- var n = e == null ? void 0 : u(e, r);
4
- return n === void 0 ? t : n;
5
- }
6
- export {
7
- f as default
8
- };
@@ -1,8 +0,0 @@
1
- import n from "./_baseHasIn.js";
2
- import t from "./_hasPath.js";
3
- function f(a, r) {
4
- return a != null && t(a, r, n);
5
- }
6
- export {
7
- f as default
8
- };
@@ -1,6 +0,0 @@
1
- function e(t) {
2
- return t;
3
- }
4
- export {
5
- e as default
6
- };
@@ -1,10 +0,0 @@
1
- import e from "./_baseIsArguments.js";
2
- import o from "./isObjectLike.js";
3
- var t = Object.prototype, a = t.hasOwnProperty, n = t.propertyIsEnumerable, c = e(/* @__PURE__ */ (function() {
4
- return arguments;
5
- })()) ? e : function(r) {
6
- return o(r) && a.call(r, "callee") && !n.call(r, "callee");
7
- };
8
- export {
9
- c as default
10
- };
@@ -1,4 +0,0 @@
1
- var r = Array.isArray;
2
- export {
3
- r as default
4
- };
@@ -1,8 +0,0 @@
1
- import t from "./isFunction.js";
2
- import i from "./isLength.js";
3
- function e(r) {
4
- return r != null && i(r.length) && !t(r);
5
- }
6
- export {
7
- e as default
8
- };
@@ -1,6 +0,0 @@
1
- import f from "./_root.js";
2
- import t from "./stubFalse.js";
3
- var r = typeof exports == "object" && exports && !exports.nodeType && exports, e = r && typeof module == "object" && module && !module.nodeType && module, u = e && e.exports === r, o = u ? f.Buffer : void 0, p = o ? o.isBuffer : void 0, a = p || t;
4
- export {
5
- a as default
6
- };
@@ -1,7 +0,0 @@
1
- var n = 9007199254740991;
2
- function r(t) {
3
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= n;
4
- }
5
- export {
6
- r as default
7
- };
@@ -1,6 +0,0 @@
1
- function e(t) {
2
- return t != null && typeof t == "object";
3
- }
4
- export {
5
- e as default
6
- };
@@ -1,9 +0,0 @@
1
- import t from "./_baseGetTag.js";
2
- import m from "./isObjectLike.js";
3
- var r = "[object Symbol]";
4
- function i(o) {
5
- return typeof o == "symbol" || m(o) && t(o) == r;
6
- }
7
- export {
8
- i as default
9
- };
@@ -1,7 +0,0 @@
1
- import e from "./_baseIsTypedArray.js";
2
- import o from "./_baseUnary.js";
3
- import r from "./_nodeUtil.js";
4
- var a = r && r.isTypedArray, s = a ? o(a) : e;
5
- export {
6
- s as default
7
- };
@@ -1,9 +0,0 @@
1
- import e from "./_arrayLikeKeys.js";
2
- import i from "./_baseKeys.js";
3
- import a from "./isArrayLike.js";
4
- function f(r) {
5
- return a(r) ? e(r) : i(r);
6
- }
7
- export {
8
- f as default
9
- };
@@ -1,11 +0,0 @@
1
- import t from "./_arrayMap.js";
2
- import o from "./_baseIteratee.js";
3
- import p from "./_baseMap.js";
4
- import e from "./isArray.js";
5
- function n(r, a) {
6
- var m = e(r) ? t : p;
7
- return m(r, o(a));
8
- }
9
- export {
10
- n as default
11
- };
@@ -1,10 +0,0 @@
1
- import o from "./_baseProperty.js";
2
- import e from "./_basePropertyDeep.js";
3
- import t from "./_isKey.js";
4
- import m from "./_toKey.js";
5
- function s(r) {
6
- return t(r) ? o(m(r)) : e(r);
7
- }
8
- export {
9
- s as default
10
- };
@@ -1,5 +0,0 @@
1
- import a from "./_createRange.js";
2
- var r = a();
3
- export {
4
- r as default
5
- };
@@ -1,6 +0,0 @@
1
- function r() {
2
- return [];
3
- }
4
- export {
5
- r as default
6
- };
@@ -1,6 +0,0 @@
1
- function e() {
2
- return !1;
3
- }
4
- export {
5
- e as default
6
- };
@@ -1,14 +0,0 @@
1
- import n from "./toNumber.js";
2
- var t = 1 / 0, o = 17976931348623157e292;
3
- function I(r) {
4
- if (!r)
5
- return r === 0 ? r : 0;
6
- if (r = n(r), r === t || r === -t) {
7
- var i = r < 0 ? -1 : 1;
8
- return i * o;
9
- }
10
- return r === r ? r : 0;
11
- }
12
- export {
13
- I as default
14
- };
@@ -1,22 +0,0 @@
1
- import n from "./_baseTrim.js";
2
- import f from "./isObject.js";
3
- import o from "./isSymbol.js";
4
- var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
5
- function O(r) {
6
- if (typeof r == "number")
7
- return r;
8
- if (o(r))
9
- return s;
10
- if (f(r)) {
11
- var t = typeof r.valueOf == "function" ? r.valueOf() : r;
12
- r = f(t) ? t + "" : t;
13
- }
14
- if (typeof r != "string")
15
- return r === 0 ? r : +r;
16
- r = n(r);
17
- var i = p.test(r);
18
- return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
19
- }
20
- export {
21
- O as default
22
- };