vviinn-widgets 2.0.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Handler-d1a8a86a.js +329 -0
- package/dist/cjs/{app-globals-de6924b5.js → app-globals-d0251be8.js} +1 -1
- package/dist/cjs/cropper-handler.cjs.entry.js +27 -0
- package/dist/cjs/customized-slots-14b77e4a.js +53 -0
- package/dist/cjs/{cropper-handler_28.cjs.entry.js → highlight-box_22.cjs.entry.js} +48 -437
- package/dist/{esm/Array-e81cf4a3.js → cjs/imageSearch.store-d9ed1a5b.js} +10009 -3391
- package/dist/cjs/{index-7adce49f.js → index-141137b2.js} +14 -362
- package/dist/cjs/{index-8a276115.js → index-a5e15a0c.js} +7 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/vviinn-carousel_5.cjs.entry.js +1232 -0
- package/dist/cjs/vviinn-error.cjs.entry.js +19 -0
- package/dist/cjs/vviinn-preloader.cjs.entry.js +26 -0
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +43 -0
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +97 -0
- package/dist/cjs/vviinn-widgets.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +22 -18
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +78 -68
- package/dist/collection/components/vviinn-icons/index.js +4 -0
- package/dist/collection/components/vviinn-product-card/render-helpers.js +4 -4
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +5 -6
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +26 -5
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +238 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +200 -0
- package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +18 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +35 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +149 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +148 -28
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +31 -8
- package/dist/esm/Handler-639a4cb3.js +308 -0
- package/dist/esm/{app-globals-0a626970.js → app-globals-b6113170.js} +1 -1
- package/dist/esm/cropper-handler.entry.js +23 -0
- package/dist/esm/customized-slots-a952fb80.js +50 -0
- package/dist/esm/{cropper-handler_28.entry.js → highlight-box_22.entry.js} +21 -404
- package/dist/{cjs/Array-cce2fde8.js → esm/imageSearch.store-4ca31230.js} +8705 -2137
- package/dist/esm/{index-e77e65ae.js → index-017f18de.js} +6 -2
- package/dist/esm/{index-0ccfcee5.js → index-3e85e294.js} +14 -362
- package/dist/esm/loader.js +3 -3
- package/dist/esm/vviinn-carousel_5.entry.js +1224 -0
- package/dist/esm/vviinn-error.entry.js +15 -0
- package/dist/esm/vviinn-preloader.entry.js +22 -0
- package/dist/esm/vviinn-vps-button.entry.js +39 -0
- package/dist/esm/vviinn-vps-widget.entry.js +93 -0
- package/dist/esm/vviinn-widgets.js +3 -3
- package/dist/types/campaign/Campaign.d.ts +1 -1
- package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +13 -7
- package/dist/types/components/vviinn-icons/index.d.ts +2 -0
- package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -2
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +2 -0
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +25 -0
- package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +7 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +14 -0
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +36 -8
- package/dist/types/components.d.ts +62 -10
- package/dist/vviinn-widgets/p-0ed1ef7e.entry.js +1 -0
- package/dist/vviinn-widgets/{p-6c4fd1db.js → p-16e49514.js} +1 -1
- package/dist/vviinn-widgets/p-3da18d7f.js +1 -0
- package/dist/vviinn-widgets/p-62a1b042.entry.js +1 -0
- package/dist/vviinn-widgets/p-68900093.entry.js +1 -0
- package/dist/vviinn-widgets/p-6c4c240d.entry.js +1 -0
- package/dist/vviinn-widgets/p-95e53d99.entry.js +1 -0
- package/dist/vviinn-widgets/p-9fee20e7.entry.js +1 -0
- package/dist/vviinn-widgets/p-d7894eaf.js +1 -0
- package/dist/vviinn-widgets/p-db0be4cd.js +1 -0
- package/dist/vviinn-widgets/p-eb15116d.entry.js +1 -0
- package/dist/vviinn-widgets/{p-489aee23.js → p-f00fddbb.js} +1 -1
- package/dist/vviinn-widgets/p-f582db5c.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +3 -1
- package/www/build/p-0ed1ef7e.entry.js +1 -0
- package/www/build/{p-6c4fd1db.js → p-16e49514.js} +1 -1
- package/www/build/p-1cc0cdfd.js +1 -0
- package/www/build/p-3da18d7f.js +1 -0
- package/www/build/p-62a1b042.entry.js +1 -0
- package/www/build/p-68900093.entry.js +1 -0
- package/www/build/p-6c4c240d.entry.js +1 -0
- package/www/build/p-95e53d99.entry.js +1 -0
- package/www/build/p-9fee20e7.entry.js +1 -0
- package/www/build/p-a67898be.css +1 -0
- package/www/build/p-d7894eaf.js +1 -0
- package/www/build/p-db0be4cd.js +1 -0
- package/www/build/p-eb15116d.entry.js +1 -0
- package/www/build/{p-489aee23.js → p-f00fddbb.js} +1 -1
- package/www/build/p-f582db5c.js +1 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +177 -8
- package/dist/cjs/imageSearch.store-39fce56c.js +0 -6926
- package/dist/cjs/vviinn-carousel.cjs.entry.js +0 -222
- package/dist/cjs/vviinn-vpr-widget.cjs.entry.js +0 -106
- package/dist/esm/imageSearch.store-b887ff78.js +0 -6893
- package/dist/esm/vviinn-carousel.entry.js +0 -218
- package/dist/esm/vviinn-vpr-widget.entry.js +0 -102
- package/dist/vviinn-widgets/p-2bf74c28.js +0 -1
- package/dist/vviinn-widgets/p-3063e23a.js +0 -1
- package/dist/vviinn-widgets/p-9145c82e.entry.js +0 -1
- package/dist/vviinn-widgets/p-ddcac3f8.js +0 -1
- package/dist/vviinn-widgets/p-f05da9f1.entry.js +0 -1
- package/dist/vviinn-widgets/p-f12f823d.entry.js +0 -1
- package/www/build/p-2bf74c28.js +0 -1
- package/www/build/p-3063e23a.js +0 -1
- package/www/build/p-9145c82e.entry.js +0 -1
- package/www/build/p-cbae3071.js +0 -125
- package/www/build/p-ddcac3f8.js +0 -1
- package/www/build/p-e0153ae2.css +0 -6
- package/www/build/p-f05da9f1.entry.js +0 -1
- package/www/build/p-f12f823d.entry.js +0 -1
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-0ccfcee5.js';
|
|
2
|
-
import { e as _Array } from './Array-e81cf4a3.js';
|
|
3
|
-
import { d as ChevronIcon } from './index-e77e65ae.js';
|
|
4
|
-
|
|
5
|
-
const vviinnCarouselCss = ":host{--vviinn-progressbar-width:0;--vviinn-carousel-item-width:150px;--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4);--vviinn-carousel-image-width-system:140px}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.content-wrapper *{box-sizing:border-box}.content-wrapper{overflow-y:hidden;overflow-x:auto;flex-grow:1}.bullets{margin-top:16px;display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#E0E0E0;border-radius:50%}.bullet.active{background:#161616}:host(:not(.show-scrollbar)) .content{-ms-overflow-style:none;scrollbar-width:none;overflow:hidden}@media (max-width: 480px){:host(.modern) button{display:none}}.content{display:flex;flex-direction:row;grid-gap:8px;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-y:hidden;overflow-x:auto;flex-grow:1}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.modern) button{border-radius:2px}:host(.classic) button{border-radius:50%}button{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}button.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;min-width:100%;grid-template-columns:repeat(auto-fit, minmax(var(--vviinn-carousel-image-width, --vviinn-carousel-image-width-system), 1fr));align-items:center;justify-items:center;grid-gap:16px}.items-group.incomplete{grid-template-columns:repeat(auto-fit, minmax(var(--vviinn-carousel-image-width, --vviinn-carousel-image-width-system), 1fr))}vviinn-product-card::part(price-container){text-align:center}:host(.classic) vviinn-product-card::part(title),:host(.classic) vviinn-product-card::part(brand),:host(.classic) vviinn-product-card::part(type){text-align:center}";
|
|
6
|
-
|
|
7
|
-
const COLUMNS_NUMBER_CSS_VAR = "--vviinn-carousel-columns-internal";
|
|
8
|
-
const CAROUSEL_WIDTH_CSS_VAR = "--vviinn-carousel-content-width";
|
|
9
|
-
const CAROUSEL_IMAGE_WIDTH_CSS_VAR = "--vviinn-carousel-image-width";
|
|
10
|
-
const CONTENT_GROUP_CSS_CLASS = "items-group";
|
|
11
|
-
const INCOMPLETE_GROUP_CSS_CLASS = "incomplete";
|
|
12
|
-
let VviinnCarousel = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
registerInstance(this, hostRef);
|
|
15
|
-
this.moveDirection = "right";
|
|
16
|
-
this.contentGroups = [];
|
|
17
|
-
this.activeContentGroup = 0;
|
|
18
|
-
this.mode = "modern";
|
|
19
|
-
this.imageWidth = 140;
|
|
20
|
-
this.showScroll = true;
|
|
21
|
-
this.content = [];
|
|
22
|
-
this.columns = 0;
|
|
23
|
-
this.resizeObserver = new ResizeObserver(() => this.handleResize());
|
|
24
|
-
this.mutationObserver = new MutationObserver(() => this.cloneSlottedContent());
|
|
25
|
-
}
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
this.setItemWidth();
|
|
28
|
-
}
|
|
29
|
-
disconnectedCallback() {
|
|
30
|
-
this.resizeObserver.disconnect();
|
|
31
|
-
}
|
|
32
|
-
componentDidRender() {
|
|
33
|
-
this.setWidth();
|
|
34
|
-
this.processScrollbarWidth();
|
|
35
|
-
this.columns = this.getColumnsNumber();
|
|
36
|
-
const slot = this.el.querySelector("#slot");
|
|
37
|
-
this.mutationObserver.observe(slot, { subtree: true, childList: true });
|
|
38
|
-
}
|
|
39
|
-
getItemWidthFromDocument() {
|
|
40
|
-
return parseInt(getComputedStyle(document.body).getPropertyValue(CAROUSEL_IMAGE_WIDTH_CSS_VAR));
|
|
41
|
-
}
|
|
42
|
-
setItemWidth() {
|
|
43
|
-
const widthInDocument = this.getItemWidthFromDocument();
|
|
44
|
-
const itemWidth = isNaN(widthInDocument) ? this.imageWidth : widthInDocument;
|
|
45
|
-
this.el.style.setProperty(CAROUSEL_IMAGE_WIDTH_CSS_VAR, `${itemWidth}px`);
|
|
46
|
-
}
|
|
47
|
-
getContentClassMap() {
|
|
48
|
-
return {
|
|
49
|
-
content: true,
|
|
50
|
-
[this.moveDirection]: true,
|
|
51
|
-
[this.mode]: true,
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
handleResize() {
|
|
55
|
-
this.setWidth();
|
|
56
|
-
this.processScrollbarWidth();
|
|
57
|
-
this.setItemWidth();
|
|
58
|
-
const newColumns = this.getColumnsNumber();
|
|
59
|
-
if (newColumns !== this.columns) {
|
|
60
|
-
this.renderContent();
|
|
61
|
-
this.columns = newColumns;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
calculateMoveStep() {
|
|
65
|
-
const contentWidths = this.getContent().map((el) => el.getBoundingClientRect().width);
|
|
66
|
-
const sum = contentWidths.reduce((acc, val) => acc + val, 0);
|
|
67
|
-
return sum / contentWidths.length;
|
|
68
|
-
}
|
|
69
|
-
setWidth() {
|
|
70
|
-
const parent = this.el.offsetParent;
|
|
71
|
-
if (!parent)
|
|
72
|
-
return;
|
|
73
|
-
const parentStyles = getComputedStyle(parent);
|
|
74
|
-
const parentWidth = parent.getBoundingClientRect().width;
|
|
75
|
-
const width = parentWidth -
|
|
76
|
-
(parseInt(parentStyles["padding-right"]) +
|
|
77
|
-
parseInt(parentStyles["padding-left"]));
|
|
78
|
-
this.el.style.setProperty(CAROUSEL_WIDTH_CSS_VAR, `${width}px`);
|
|
79
|
-
}
|
|
80
|
-
cloneSlottedContent() {
|
|
81
|
-
const slot = this.el.querySelector("#slot");
|
|
82
|
-
const content = Array.from(slot.children);
|
|
83
|
-
if (content.length > 0) {
|
|
84
|
-
this.content = content;
|
|
85
|
-
this.renderContent();
|
|
86
|
-
this.setWidth();
|
|
87
|
-
this.resizeObserver.observe(this.el.offsetParent);
|
|
88
|
-
this.mutationObserver.disconnect();
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
renderContent() {
|
|
92
|
-
const c = this.mode === "classic"
|
|
93
|
-
? _Array.chunksOf(this.getColumnsNumber())(this.content)
|
|
94
|
-
: this.content.reduce((fragment, element) => {
|
|
95
|
-
fragment.append(element);
|
|
96
|
-
return fragment;
|
|
97
|
-
}, new DocumentFragment());
|
|
98
|
-
this.mode === "classic" ? this.renderGroup(c) : this.renderLine(c);
|
|
99
|
-
}
|
|
100
|
-
renderGroup(content) {
|
|
101
|
-
const columnsNumber = this.getColumnsNumber();
|
|
102
|
-
const groups = content.map((el) => {
|
|
103
|
-
const container = document.createElement("div");
|
|
104
|
-
const groupClassNames = el.length < columnsNumber
|
|
105
|
-
? [CONTENT_GROUP_CSS_CLASS, INCOMPLETE_GROUP_CSS_CLASS]
|
|
106
|
-
: [CONTENT_GROUP_CSS_CLASS];
|
|
107
|
-
container.classList.add(...groupClassNames);
|
|
108
|
-
return el.reduce((acc, el) => {
|
|
109
|
-
acc.append(el);
|
|
110
|
-
return acc;
|
|
111
|
-
}, container);
|
|
112
|
-
});
|
|
113
|
-
const combinedElements = groups.reduce((fragment, element) => {
|
|
114
|
-
fragment.append(element);
|
|
115
|
-
return fragment;
|
|
116
|
-
}, new DocumentFragment());
|
|
117
|
-
this.appendToContent(combinedElements);
|
|
118
|
-
this.contentGroups = this.getContentGroups();
|
|
119
|
-
}
|
|
120
|
-
renderLine(item) {
|
|
121
|
-
this.appendToContent(item);
|
|
122
|
-
}
|
|
123
|
-
getActiveGroupIndex() {
|
|
124
|
-
var _a, _b;
|
|
125
|
-
const contentNodeLeft = (_b = (_a = this.getContentNode()) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.left;
|
|
126
|
-
if (!contentNodeLeft)
|
|
127
|
-
return 0;
|
|
128
|
-
const groups = this.getContentGroups();
|
|
129
|
-
const groupsPositions = groups.map((g) => g.getBoundingClientRect().left);
|
|
130
|
-
const indexedPositions = groupsPositions
|
|
131
|
-
.map((value, index) => [value, index])
|
|
132
|
-
.filter((x) => x[0] >= 0);
|
|
133
|
-
return indexedPositions.length > 0 ? indexedPositions[0][1] : 0;
|
|
134
|
-
}
|
|
135
|
-
getContentNode() {
|
|
136
|
-
return this.el.querySelector(".content");
|
|
137
|
-
}
|
|
138
|
-
getContent() {
|
|
139
|
-
const children = this.getContentNode().children;
|
|
140
|
-
return Array.from(children).map((c) => c);
|
|
141
|
-
}
|
|
142
|
-
getColumnsNumber() {
|
|
143
|
-
const styleSheet = getComputedStyle(this.el);
|
|
144
|
-
const columnsInCss = styleSheet.getPropertyValue(COLUMNS_NUMBER_CSS_VAR);
|
|
145
|
-
return parseInt(columnsInCss);
|
|
146
|
-
}
|
|
147
|
-
getContentGroups() {
|
|
148
|
-
return Array.from(this.el.querySelectorAll(`.${CONTENT_GROUP_CSS_CLASS}`));
|
|
149
|
-
}
|
|
150
|
-
appendToContent(content) {
|
|
151
|
-
const contentNode = this.getContentNode();
|
|
152
|
-
contentNode.innerHTML = "";
|
|
153
|
-
contentNode.append(content);
|
|
154
|
-
}
|
|
155
|
-
showNext() {
|
|
156
|
-
this.moveDirection = "right";
|
|
157
|
-
const contentContainer = this.getContentNode();
|
|
158
|
-
requestAnimationFrame(() => {
|
|
159
|
-
contentContainer.scrollTo({
|
|
160
|
-
top: 0,
|
|
161
|
-
left: contentContainer.scrollLeft + this.calculateMoveStep(),
|
|
162
|
-
behavior: "smooth",
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
showPrev() {
|
|
167
|
-
this.moveDirection = "left";
|
|
168
|
-
const contentContainer = this.getContentNode();
|
|
169
|
-
requestAnimationFrame(() => {
|
|
170
|
-
contentContainer.scrollTo({
|
|
171
|
-
top: 0,
|
|
172
|
-
left: contentContainer.scrollLeft - this.calculateMoveStep(),
|
|
173
|
-
behavior: "smooth",
|
|
174
|
-
});
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
scroll(index) {
|
|
178
|
-
const contentContainer = this.getContentNode();
|
|
179
|
-
requestAnimationFrame(() => {
|
|
180
|
-
contentContainer.scrollTo({
|
|
181
|
-
top: 0,
|
|
182
|
-
left: this.calculateMoveStep() * index,
|
|
183
|
-
behavior: "smooth",
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
processScrollbarWidth() {
|
|
188
|
-
const target = this.getContentNode();
|
|
189
|
-
const scrollRatio = (target.scrollLeft + target.clientWidth) / target.scrollWidth;
|
|
190
|
-
const scrolledWidth = target.clientWidth * scrollRatio;
|
|
191
|
-
this.el.style.setProperty("--vviinn-progressbar-width", `${scrolledWidth}px`);
|
|
192
|
-
this.activeContentGroup = this.getActiveGroupIndex();
|
|
193
|
-
}
|
|
194
|
-
showBullets() {
|
|
195
|
-
return this.mode === "classic" && this.showScroll;
|
|
196
|
-
}
|
|
197
|
-
showScrollbar() {
|
|
198
|
-
return this.mode === "modern" && this.showScroll;
|
|
199
|
-
}
|
|
200
|
-
getClassMap() {
|
|
201
|
-
return {
|
|
202
|
-
[this.mode]: true,
|
|
203
|
-
"show-scrollbar": this.showScrollbar(),
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
render() {
|
|
207
|
-
return (h(Host, { class: this.getClassMap() }, h("div", { class: "body" }, h("button", { class: "prev", onClick: () => this.showPrev() }, h(ChevronIcon, null)), h("div", { class: this.getContentClassMap(), onScroll: () => this.processScrollbarWidth() }), h("button", { class: "next", onClick: () => this.showNext() }, h(ChevronIcon, null))), this.showBullets() ? (h("div", { class: "bullets" }, this.contentGroups
|
|
208
|
-
.map((_, i) => i)
|
|
209
|
-
.map((i) => (h("div", { class: {
|
|
210
|
-
bullet: true,
|
|
211
|
-
active: this.activeContentGroup === i,
|
|
212
|
-
}, onClick: () => this.scroll(i) }))))) : (""), h("div", { id: "slot" }, h("slot", null))));
|
|
213
|
-
}
|
|
214
|
-
get el() { return getElement(this); }
|
|
215
|
-
};
|
|
216
|
-
VviinnCarousel.style = vviinnCarouselCss;
|
|
217
|
-
|
|
218
|
-
export { VviinnCarousel as vviinn_carousel };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-0ccfcee5.js';
|
|
2
|
-
import { _ as _function } from './Array-e81cf4a3.js';
|
|
3
|
-
import { p as pipe, w as chainW, x as makeRequest, y as fromEither, z as getApiPath, A as createInitGetRequest, B as sequenceT, C as Apply, v as state, T as TaskEither, E as Either, i as imageSearchState } from './imageSearch.store-b887ff78.js';
|
|
4
|
-
|
|
5
|
-
const createBearerString = (x) => `Bearer ${x}`;
|
|
6
|
-
const createAuthedHeader = (x) => new Headers({
|
|
7
|
-
Authorization: x,
|
|
8
|
-
});
|
|
9
|
-
const createFetchAuthOptions = (x) => {
|
|
10
|
-
return {
|
|
11
|
-
headers: x,
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
const createBearAuthedHeader = _function.flow(createBearerString, createAuthedHeader, createFetchAuthOptions);
|
|
15
|
-
|
|
16
|
-
const isVPR = (c) => c._tag === "VPR";
|
|
17
|
-
function fold(onVPR, onVCS) {
|
|
18
|
-
return (c) => (isVPR(c) ? onVPR() : onVCS());
|
|
19
|
-
}
|
|
20
|
-
function fromString(s) {
|
|
21
|
-
return s === "VPR" ? { _tag: "VPR" } : { _tag: "VCS" };
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const sequenceToEither = sequenceT(Apply);
|
|
25
|
-
const apiGet = (path, data = {}) => pipe(sequenceToEither(getApiPath(), createInitGetRequest), fromEither, chainW(makeRequest(path, data)));
|
|
26
|
-
|
|
27
|
-
const getVPRRecommendations = (productId) => (options) => {
|
|
28
|
-
const url = `product/${productId}/similar-products`;
|
|
29
|
-
return apiGet(url, options);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const getVCSRecommendations = (productId) => (options) => {
|
|
33
|
-
const url = `product/${productId}/cross-selling-products`;
|
|
34
|
-
return apiGet(url, options);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
const getRecommendationsService = (campaignType) => _function.pipe(fromString(campaignType), fold(() => getVPRRecommendations, () => getVCSRecommendations));
|
|
38
|
-
|
|
39
|
-
const vviinnVprWidgetCss = ":host{display:grid;grid-gap:1rem;width:100%}:host(:not(.loaded)){position:absolute;visibility:hidden}:host(.classic) vviinn-product-card::part(image){border:1px solid #DDDDDD}vviinn-product-card::part(price-container){align-self:flex-start;text-align:left;display:flex}.results{display:grid;grid-gap:1rem}.visually-hidden{position:absolute;top:0;left:0;z-index:-1;height:0;width:0}:host(.classic) vviinn-product-card::part(title),:host(.classic) vviinn-product-card::part(brand),:host(.classic) vviinn-product-card::part(type){text-align:center}:host(.classic) vviinn-product-card::part(price-container){align-self:center}:host(.modern) vviinn-product-card::part(title),:host(.modern) vviinn-product-card::part(brand),:host(.modern) vviinn-product-card::part(type){text-align:left;max-width:unset}";
|
|
40
|
-
|
|
41
|
-
let VviinnVprWidget = class {
|
|
42
|
-
constructor(hostRef) {
|
|
43
|
-
registerInstance(this, hostRef);
|
|
44
|
-
/** Title for recommendations widget */
|
|
45
|
-
this.blockTitle = "Recommended products";
|
|
46
|
-
/** Ratio of each recommended product image */
|
|
47
|
-
this.imageRatio = 1;
|
|
48
|
-
/** Width of each recommended product image */
|
|
49
|
-
this.imageWidth = 300;
|
|
50
|
-
/** Currency sign will shown after price */
|
|
51
|
-
this.currencySign = "€";
|
|
52
|
-
/** Use slider or grid view */
|
|
53
|
-
this.mode = "modern";
|
|
54
|
-
/** Campaign type */
|
|
55
|
-
this.campaignType = "VPR";
|
|
56
|
-
/** Locale for currency formatting */
|
|
57
|
-
this.locale = "de-DE";
|
|
58
|
-
this.showScroll = true;
|
|
59
|
-
this.recommendations = [];
|
|
60
|
-
this.loaded = false;
|
|
61
|
-
}
|
|
62
|
-
handleProductIdChange() {
|
|
63
|
-
this.getRecommendations();
|
|
64
|
-
}
|
|
65
|
-
connectedCallback() {
|
|
66
|
-
state.apiPath = this.apiPath;
|
|
67
|
-
state.currencySign = this.currencySign;
|
|
68
|
-
state.locale = this.locale;
|
|
69
|
-
}
|
|
70
|
-
async componentWillLoad() {
|
|
71
|
-
state.pricePrefix = this.pricePrefix;
|
|
72
|
-
state.currencySign = this.currencySign;
|
|
73
|
-
this.getRecommendations();
|
|
74
|
-
}
|
|
75
|
-
async getRecommendations() {
|
|
76
|
-
if (this.productId === undefined || this.token === undefined)
|
|
77
|
-
return;
|
|
78
|
-
const headers = createBearAuthedHeader(this.token);
|
|
79
|
-
const request = _function.pipe(TaskEither.of(getRecommendationsService(this.campaignType)), TaskEither.ap(TaskEither.of(this.productId)), TaskEither.ap(TaskEither.of(headers)), TaskEither.flatten);
|
|
80
|
-
const runRequest = await request();
|
|
81
|
-
_function.pipe(runRequest, Either.fold((error) => this.handleError(error), (data) => this.handleRecommendationsSucces(data)));
|
|
82
|
-
}
|
|
83
|
-
handleError(error) {
|
|
84
|
-
console.log("ERROR:", error);
|
|
85
|
-
}
|
|
86
|
-
handleRecommendationsSucces(data) {
|
|
87
|
-
var _a;
|
|
88
|
-
this.recommendations = (_a = data === null || data === void 0 ? void 0 : data.extended) !== null && _a !== void 0 ? _a : data;
|
|
89
|
-
imageSearchState.results = this.recommendations;
|
|
90
|
-
this.loaded = true;
|
|
91
|
-
}
|
|
92
|
-
render() {
|
|
93
|
-
return (h(Host, { class: { loaded: this.loaded, empty: this.recommendations.length == 0, [this.mode]: true }, "aria-hidden": this.loaded ? "false" : "true" }, h("style", null, state.fallbackStyles), h("h2", { part: "recommendations-title" }, this.blockTitle), h("vviinn-carousel", { exportparts: "brand, currency, deeplink, image, type, image-link, price-amount, price-container, price-outdated, price-prefix, price-regular, price-sale, title, title: product-title", mode: this.mode, imageWidth: this.imageWidth, showScroll: this.showScroll }, this.recommendations.map((r) => (h("vviinn-product-card", { productId: r.productId, productTitle: r.title, image: r.image.thumbnail, brand: r.brand, imageWidth: this.imageWidth, imageRatio: this.imageRatio, price: r.price.actual, salePrice: r.price.sale, responsive: this.mode === "classic", dimmedBackground: this.mode === "modern", exportparts: "title" }))))));
|
|
94
|
-
}
|
|
95
|
-
get el() { return getElement(this); }
|
|
96
|
-
static get watchers() { return {
|
|
97
|
-
"productId": ["handleProductIdChange"]
|
|
98
|
-
}; }
|
|
99
|
-
};
|
|
100
|
-
VviinnVprWidget.style = vviinnVprWidgetCss;
|
|
101
|
-
|
|
102
|
-
export { VviinnVprWidget as vviinn_vpr_widget };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={packageVersion:"1.1.2",packageName:"vviinn-widgets",environment:"local"};let t,n,l,o=!1,s=!1,c=!1,i=!1,r=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),h=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,c=m(t,o),i=y(n);d.ael(s,l,c,i),(t.o=t.o||[]).push((()=>d.rel(s,l,c,i)))}))},m=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){$e(e)}},y=e=>0!=(2&e),b=new WeakMap,w=e=>"sc-"+e.$,g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,o=null,s=!1,c=!1,i=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!v(l))&&(l+=""),s&&c?i[i.length-1].p+=l:i.push(s?j(null,l):l),c=s)};if(r(n),t){t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,O);const a=j(e,null);return a.h=t,i.length>0&&(a.m=i),a.g=o,a},j=(e,t)=>({t:0,v:e,p:t,k:null,m:null,h:null,g:null}),S={},O={forEach:(e,t)=>e.map(C).forEach(t),map:(e,t)=>e.map(C).map(t).map(M)},C=e=>({vattrs:e.h,vchildren:e.m,vkey:e.j,vname:e.g,vtag:e.v,vtext:e.p}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.j=e.vkey,t.g=e.vname,t},R=(e,t,n,l,o,s)=>{if(n!==l){let c=de(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=E(n),s=E(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if(c||"o"!==t[0]||"n"!==t[1]){const i=v(l);if((c||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!c||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):de(f,i)?i.slice(2):i[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},x=/\s/,E=e=>e?e.split(x):[],T=(e,t,n,l)=>{const o=11===t.k.nodeType&&t.k.host?t.k.host:t.k,s=e&&e.h||g,c=t.h||g;for(l in s)l in c||R(o,l,s[l],void 0,n,t.t);for(l in c)R(o,l,s[l],c[l],n,t.t)},L=(e,s,r,a)=>{let f,d,$,p=s.m[r],h=0;if(o||(c=!0,"slot"===p.v&&(t&&a.classList.add(t+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.k=u.createTextNode(p.p);else if(1&p.t)f=p.k=u.createTextNode("");else{if(i||(i="svg"===p.v),f=p.k=u.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.v),i&&"foreignObject"===p.v&&(i=!1),T(null,p,i),null!=t&&f["s-si"]!==t&&f.classList.add(f["s-si"]=t),p.m)for(h=0;h<p.m.length;++h)d=L(e,p,h,f),d&&f.appendChild(d);"svg"===p.v?i=!1:"foreignObject"===f.tagName&&(i=!0)}return f["s-hn"]=l,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=n,f["s-sn"]=p.g||"",$=e&&e.m&&e.m[r],$&&$.v===p.v&&e.k&&P(e.k,!1)),f},P=(e,t)=>{d.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==l&&o["s-ol"]&&(F(o).insertBefore(o,D(o)),o["s-ol"].remove(),o["s-ol"]=void 0,c=!0),t&&P(o,t)}d.t&=-2},N=(e,t,n,o,s,c)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===l&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=L(null,n,s,e),i&&(o[s].k=i,r.insertBefore(i,D(t))))},W=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(s=!0,(o=l.k)["s-ol"]?o["s-ol"].remove():P(o,!0),o.remove())},A=(e,t)=>e.v===t.v&&("slot"!==e.v||e.g===t.g),D=e=>e&&e["s-ol"]||e,F=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,H=(e,t)=>{const n=t.k=e.k,l=e.m,o=t.m,s=t.v,c=t.p;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||T(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,c=0,i=t.length-1,r=t[0],a=t[i],f=l.length-1,u=l[0],d=l[f];for(;s<=i&&c<=f;)null==r?r=t[++s]:null==a?a=t[--i]:null==u?u=l[++c]:null==d?d=l[--f]:A(r,u)?(H(r,u),r=t[++s],u=l[++c]):A(a,d)?(H(a,d),a=t[--i],d=l[--f]):A(r,d)?("slot"!==r.v&&"slot"!==d.v||P(r.k.parentNode,!1),H(r,d),e.insertBefore(r.k,a.k.nextSibling),r=t[++s],d=l[--f]):A(a,u)?("slot"!==r.v&&"slot"!==d.v||P(a.k.parentNode,!1),H(a,u),e.insertBefore(a.k,r.k),a=t[--i],u=l[++c]):(o=L(t&&t[c],n,c,e),u=l[++c],o&&F(r.k).insertBefore(o,D(r.k)));s>i?N(e,null==l[f+1]?null:l[f+1].k,n,l,c,f):c>f&&W(t,s,i)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),N(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.p!==c&&(n.data=c)},U=e=>{let t,n,l,o,s,c,i=e.childNodes;for(n=0,l=i.length;n<l;n++)if(t=i[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(c=i[o].nodeType,i[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===c&&s===i[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===c||3===c&&""!==i[o].textContent.trim()){t.hidden=!0;break}U(t)}},V=[],q=e=>{let t,n,l,o,c,i,r=0,a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,o=t["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(_(n,o)?(c=V.find((e=>e.S===n)),s=!0,n["s-sn"]=n["s-sn"]||o,c?c.O=t:V.push({O:t,S:n}),n["s-sr"]&&V.map((e=>{_(e.S,n["s-sn"])&&(c=V.find((e=>e.S===n)),c&&!e.O&&(e.O=c.O))}))):V.some((e=>e.S===n))||V.push({S:n}));1===t.nodeType&&q(t)}},_=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,z=e=>ae(e).C,B=(e,t,n)=>{const l=z(e);return{emit:e=>G(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},G=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},I=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},J=(e,t)=>{if(e.t|=16,!(4&e.t))return I(e,e.R),je((()=>K(e,t)));e.t|=512},K=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>ne(n,e,t))),e.u=null),l=ne(n,"componentWillLoad")),le(l,(()=>Q(e,n,t)))},Q=async(e,t,n)=>{const l=e.C,o=l["s-rc"];n&&(e=>{const t=e.T,n=e.C,l=t.t,o=((e,t)=>{let n=w(t),l=me.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=b.get(e=e.head||e);o||b.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);X(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>Z(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},X=(e,i)=>{try{r=i,i=i.render(),e.t&=-17,e.t|=2,((e,i)=>{const r=e.C,a=e.T,f=e.L||j(null,null),$=(e=>e&&e.v===S)(i)?i:k(null,null,i);if(l=r.tagName,a.P&&($.h=$.h||{},a.P.map((([e,t])=>$.h[t]=r[e]))),$.v=null,$.t|=4,e.L=$,$.k=f.k=r.shadowRoot||r,t=r["s-sc"],n=r["s-cr"],o=0!=(1&a.t),s=!1,H(f,$),d.t|=1,c){let e,t,n,l,o,s;q($.k);let c=0;for(;c<V.length;c++)e=V[c],t=e.S,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(c=0;c<V.length;c++)if(e=V[c],t=e.S,e.O){for(l=e.O.parentNode,o=e.O.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&U($.k),d.t&=-2,V.length=0})(e,i)}catch(t){$e(t,e.C)}return r=null,null},Y=()=>r,Z=e=>{const t=e.C,n=e.i,l=e.R;ne(n,"componentDidRender"),64&e.t||(e.t|=64,oe(t),ne(n,"componentDidLoad"),e.N(t),l||te()),e.M&&(e.M(),e.M=void 0),512&e.t&&ke((()=>J(e,!1))),e.t&=-517},ee=e=>{{const t=ae(e),n=t.C.isConnected;return n&&2==(18&t.t)&&J(t,!1),n}},te=()=>{oe(u.documentElement),ke((()=>G(f,"appload",{detail:{namespace:"vviinn-widgets"}})))},ne=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){$e(e)}},le=(e,t)=>e&&e.then?e.then(t):t(),oe=e=>e.classList.add("hydrated"),se=(e,t,n)=>{if(t.W){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.W),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>ae(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=ae(e),s=o.C,c=o.D.get(t),i=o.t,r=o.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.W[t][0]),!(8&i&&void 0!==c||n===c)&&(o.D.set(t,n),r)){if(l.A&&128&i){const e=l.A[t];e&&e.map((e=>{try{r[e](n,c,t)}catch(e){$e(e,s)}}))}2==(18&i)&&J(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this.hasOwnProperty(t)&&(l=this[t],delete this[t]),this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.P.push([e,o]),o}))}}return e},ce=e=>{ne(e,"connectedCallback")},ie=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,c=s.querySelector("meta[charset]"),i=u.createElement("style"),r=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],W:t[2],F:t[3]};s.W=t[2],s.F=t[3],s.P=[],s.A={};const c=s.$,i=class extends HTMLElement{constructor(e){super(e),ue(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?r.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=ae(e),n=t.T,l=()=>{};if(1&t.t)h(e,t,n.F),ce(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){I(t,t.R=n);break}}n.W&&Object.entries(n.W).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=he(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.A=o.watchers,se(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){$e(e)}t.t&=-9,t.t|=128,e(),ce(t.i)}if(o.style){let e=o.style;const t=w(n);if(!me.has(t)){const l=()=>{};((e,t,n)=>{let l=me.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,me.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,c=()=>J(t,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=ae(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ne(t,"disconnectedCallback")}})()))}componentOnReady(){return ae(this).H}};s.U=e[0],l.includes(c)||o.get(c)||(n.push(c),o.define(c,se(i,s,1)))})))),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),s.insertBefore(i,c?c.nextSibling:s.firstChild),$=!1,r.length?r.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(te,30)))},re=new WeakMap,ae=e=>re.get(e),fe=(e,t)=>re.set(t.i=e,t),ue=(e,t)=>{const n={t:0,C:e,T:t,D:new Map};return n.H=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[],h(e,n,t.F),re.set(e,n)},de=(e,t)=>t in e,$e=(e,t)=>(0,console.error)(e,t),pe=new Map,he=e=>{const t=e.$.replace(/-/g,"_"),n=e.U,l=pe.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(pe.set(n,e),e[t])),$e)},me=new Map,ye=[],be=[],we=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?ke(ve):d.raf(ve))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){$e(e)}e.length=0},ve=()=>{ge(ye),ge(be),(a=ye.length>0)&&d.raf(ve)},ke=e=>$().then(e),je=we(be,!0);export{e as E,S as H,Y as a,ie as b,B as c,ee as f,z as g,k as h,$ as p,fe as r}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(n,r,t){return n(t={path:r,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},t.exports),t.exports}var t=r((function(n,r){function t(n){return n}function u(n){return function(){return n}}function e(n,r,t,u,e,o,i,c,f){switch(arguments.length){case 1:return n;case 2:return function(){return r(n.apply(this,arguments))};case 3:return function(){return t(r(n.apply(this,arguments)))};case 4:return function(){return u(t(r(n.apply(this,arguments))))};case 5:return function(){return e(u(t(r(n.apply(this,arguments)))))};case 6:return function(){return o(e(u(t(r(n.apply(this,arguments))))))};case 7:return function(){return i(o(e(u(t(r(n.apply(this,arguments)))))))};case 8:return function(){return c(i(o(e(u(t(r(n.apply(this,arguments))))))))};case 9:return function(){return f(c(i(o(e(u(t(r(n.apply(this,arguments)))))))))}}}function o(){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(r,"__esModule",{value:!0}),r.getEndomorphismMonoid=r.not=r.SK=r.hole=r.pipe=r.untupled=r.tupled=r.absurd=r.decrement=r.increment=r.tuple=r.flow=r.flip=r.constVoid=r.constUndefined=r.constNull=r.constFalse=r.constTrue=r.constant=r.unsafeCoerce=r.identity=r.apply=r.getRing=r.getSemiring=r.getMonoid=r.getSemigroup=r.getBooleanAlgebra=void 0,r.getBooleanAlgebra=function(n){return function(){return{meet:function(r,t){return function(u){return n.meet(r(u),t(u))}},join:function(r,t){return function(u){return n.join(r(u),t(u))}},zero:function(){return n.zero},one:function(){return n.one},implies:function(r,t){return function(u){return n.implies(r(u),t(u))}},not:function(r){return function(t){return n.not(r(t))}}}}},r.getSemigroup=function(n){return function(){return{concat:function(r,t){return function(u){return n.concat(r(u),t(u))}}}}},r.getMonoid=function(n){var t=r.getSemigroup(n);return function(){return{concat:t().concat,empty:function(){return n.empty}}}},r.getSemiring=function(n){return{add:function(r,t){return function(u){return n.add(r(u),t(u))}},zero:function(){return n.zero},mul:function(r,t){return function(u){return n.mul(r(u),t(u))}},one:function(){return n.one}}},r.getRing=function(n){var t=r.getSemiring(n);return{add:t.add,mul:t.mul,one:t.one,zero:t.zero,sub:function(r,t){return function(u){return n.sub(r(u),t(u))}}}},r.apply=function(n){return function(r){return r(n)}},r.identity=t,r.unsafeCoerce=t,r.constant=u,r.constTrue=u(!0),r.constFalse=u(!1),r.constNull=u(null),r.constUndefined=u(void 0),r.constVoid=r.constUndefined,r.flip=function(n){return function(r,t){return n(t,r)}},r.flow=e,r.tuple=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n},r.increment=function(n){return n+1},r.decrement=function(n){return n-1},r.absurd=o,r.tupled=function(n){return function(r){return n.apply(void 0,r)}},r.untupled=function(n){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return n(r)}},r.pipe=function(n,r,t,u,e,o,i,c,f){switch(arguments.length){case 1:return n;case 2:return r(n);case 3:return t(r(n));case 4:return u(t(r(n)));case 5:return e(u(t(r(n))));case 6:return o(e(u(t(r(n)))));case 7:return i(o(e(u(t(r(n))))));case 8:return c(i(o(e(u(t(r(n)))))));case 9:return f(c(i(o(e(u(t(r(n))))))));default:for(var a=arguments[0],v=1;v<arguments.length;v++)a=arguments[v](a);return a}},r.hole=o,r.SK=function(n,r){return r},r.not=function(n){return function(r){return!n(r)}},r.getEndomorphismMonoid=function(){return{concat:function(n,r){return e(n,r)},empty:t}}})),u=r((function(n,r){function u(n,r,t){return function(e){for(var o=Array(t.length+1),i=0;i<t.length;i++)o[i]=t[i];return o[t.length]=e,0===r?n.apply(null,o):u(n,r-1,o)}}Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceS=r.sequenceT=r.getApplySemigroup=r.apS=r.apSecond=r.apFirst=r.ap=void 0,r.ap=function(n,r){return function(t){return function(u){return n.ap(n.map(u,(function(n){return function(t){return r.ap(n,t)}})),t)}}},r.apFirst=function(n){return function(r){return function(t){return n.ap(n.map(t,(function(n){return function(){return n}})),r)}}},r.apSecond=function(n){return function(r){return function(t){return n.ap(n.map(t,(function(){return function(n){return n}})),r)}}},r.apS=function(n){return function(r,t){return function(u){return n.ap(n.map(u,(function(n){return function(t){var u;return Object.assign({},n,((u={})[r]=t,u))}})),t)}}},r.getApplySemigroup=function(n){return function(r){return{concat:function(t,u){return n.ap(n.map(t,(function(n){return function(t){return r.concat(n,t)}})),u)}}}};var e={1:function(n){return[n]},2:function(n){return function(r){return[n,r]}},3:function(n){return function(r){return function(t){return[n,r,t]}}},4:function(n){return function(r){return function(t){return function(u){return[n,r,t,u]}}}},5:function(n){return function(r){return function(t){return function(u){return function(e){return[n,r,t,u,e]}}}}}};function o(n){return e.hasOwnProperty(n)||(e[n]=u(t.tuple,n-1,[])),e[n]}r.sequenceT=function(n){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var u=r.length,e=o(u),i=n.map(r[0],e),c=1;c<u;c++)i=n.ap(i,r[c]);return i}},r.sequenceS=function(n){return function(r){for(var t=Object.keys(r),e=t.length,o=function(n){var r=n.length;switch(r){case 1:return function(r){var t;return(t={})[n[0]]=r,t};case 2:return function(r){return function(t){var u;return(u={})[n[0]]=r,u[n[1]]=t,u}};case 3:return function(r){return function(t){return function(u){var e;return(e={})[n[0]]=r,e[n[1]]=t,e[n[2]]=u,e}}};case 4:return function(r){return function(t){return function(u){return function(e){var o;return(o={})[n[0]]=r,o[n[1]]=t,o[n[2]]=u,o[n[3]]=e,o}}}};case 5:return function(r){return function(t){return function(u){return function(e){return function(o){var i;return(i={})[n[0]]=r,i[n[1]]=t,i[n[2]]=u,i[n[3]]=e,i[n[4]]=o,i}}}}};default:return u((function(){for(var t=[],u=0;u<arguments.length;u++)t[u]=arguments[u];for(var e={},o=0;o<r;o++)e[n[o]]=t[o];return e}),r-1,[])}}(t),i=n.map(r[t[0]],o),c=1;c<e;c++)i=n.ap(i,r[t[c]]);return i}}})),e=r((function(n,r){function u(n,r){return function(t){return function(u){return n.map(u,(function(n){return r.map(n,t)}))}}}Object.defineProperty(r,"__esModule",{value:!0}),r.getFunctorComposition=r.bindTo=r.flap=r.map=void 0,r.map=u,r.flap=function(n){return function(r){return function(t){return n.map(t,(function(n){return n(r)}))}}},r.bindTo=function(n){return function(r){return function(t){return n.map(t,(function(n){var t;return(t={})[r]=n,t}))}}},r.getFunctorComposition=function(n,r){var e=u(n,r);return{map:function(n,r){return t.pipe(n,e(r))}}}})),o=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bind=r.chainFirst=void 0,r.chainFirst=function(n){return function(r){return function(t){return n.chain(t,(function(t){return n.map(r(t),(function(){return t}))}))}}},r.bind=function(n){return function(r,t){return function(u){return n.chain(u,(function(u){return n.map(t(u),(function(n){var t;return Object.assign({},u,((t={})[r]=n,t))}))}))}}}})),i=r((function(r,t){var u=n&&n.__spreadArray||function(n,r){for(var t=0,u=r.length,e=n.length;t<u;t++,e++)n[e]=r[t];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadonlyNonEmptyArray=t.has=t.emptyRecord=t.emptyReadonlyArray=t.tail=t.head=t.isNonEmpty=t.singleton=t.right=t.left=t.isRight=t.isLeft=t.some=t.none=t.isSome=t.isNone=void 0,t.isNone=function(n){return"None"===n._tag},t.isSome=function(n){return"Some"===n._tag},t.none={_tag:"None"},t.some=function(n){return{_tag:"Some",value:n}},t.isLeft=function(n){return"Left"===n._tag},t.isRight=function(n){return"Right"===n._tag},t.left=function(n){return{_tag:"Left",left:n}},t.right=function(n){return{_tag:"Right",right:n}},t.singleton=function(n){return[n]},t.isNonEmpty=function(n){return n.length>0},t.head=function(n){return n[0]},t.tail=function(n){return n.slice(1)},t.emptyReadonlyArray=[],t.emptyRecord={},t.has=Object.prototype.hasOwnProperty,t.fromReadonlyNonEmptyArray=function(n){return u([n[0]],n.slice(1))}})),c=r((function(r,u){var e=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),o=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),c=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&e(r,n,t);return o(r,n),r};Object.defineProperty(u,"__esModule",{value:!0}),u.filterOrElse=u.chainEitherK=u.fromEitherK=u.chainOptionK=u.fromOptionK=u.fromPredicate=u.fromOption=void 0;var f=c(i);function a(n){return function(r){return function(t){return n.fromEither(f.isNone(t)?f.left(r()):f.right(t.value))}}}function v(n){var r=a(n);return function(n){var u=r(n);return function(n){return t.flow(n,u)}}}function d(n){return function(r){return t.flow(r,n.fromEither)}}u.fromOption=a,u.fromPredicate=function(n){return function(r,t){return function(u){return n.fromEither(r(u)?f.right(u):f.left(t(u)))}}},u.fromOptionK=v,u.chainOptionK=function(n,r){var t=v(n);return function(n){var u=t(n);return function(n){return function(t){return r.chain(t,u(n))}}}},u.fromEitherK=d,u.chainEitherK=function(n,r){var t=d(n);return function(n){return function(u){return r.chain(u,t(n))}}},u.filterOrElse=function(n,r){return function(t,u){return function(e){return r.chain(e,(function(r){return n.fromEither(t(r)?f.right(r):f.left(u(r)))}))}}}})),f=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=r.endo=r.filterSecond=r.filterFirst=r.reverse=void 0,r.reverse=function(n){return{concat:function(r,t){return n.concat(t,r)}}},r.filterFirst=function(n){return function(r){return{concat:function(t,u){return n(t)?r.concat(t,u):u}}}},r.filterSecond=function(n){return function(r){return{concat:function(t,u){return n(u)?r.concat(t,u):t}}}},r.endo=function(n){return function(r){return{concat:function(t,u){return r.concat(n(t),n(u))}}}},r.concatAll=function(n){return function(r){return function(t){return t.reduce((function(r,t){return n.concat(r,t)}),r)}}}})),a=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.eqDate=r.eqNumber=r.eqString=r.eqBoolean=r.eq=r.strictEqual=r.getStructEq=r.getTupleEq=r.Contravariant=r.getMonoid=r.getSemigroup=r.eqStrict=r.URI=r.contramap=r.tuple=r.struct=r.fromEquals=void 0,r.fromEquals=function(n){return{equals:function(r,t){return r===t||n(r,t)}}},r.struct=function(n){return r.fromEquals((function(r,t){for(var u in n)if(!n[u].equals(r[u],t[u]))return!1;return!0}))},r.tuple=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return r.fromEquals((function(r,t){return n.every((function(n,u){return n.equals(r[u],t[u])}))}))},r.contramap=function(n){return function(t){return r.fromEquals((function(r,u){return t.equals(n(r),n(u))}))}},r.URI="Eq",r.eqStrict={equals:function(n,r){return n===r}};var u={equals:function(){return!0}};r.getSemigroup=function(){return{concat:function(n,t){return r.fromEquals((function(r,u){return n.equals(r,u)&&t.equals(r,u)}))}}},r.getMonoid=function(){return{concat:r.getSemigroup().concat,empty:u}},r.Contravariant={URI:r.URI,contramap:function(n,u){return t.pipe(n,r.contramap(u))}},r.getTupleEq=r.tuple,r.getStructEq=r.struct,r.strictEqual=r.eqStrict.equals,r.eq=r.Contravariant,r.eqBoolean=r.eqStrict,r.eqString=r.eqStrict,r.eqNumber=r.eqStrict,r.eqDate={equals:function(n,r){return n.valueOf()===r.valueOf()}}})),v=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ordDate=r.ordNumber=r.ordString=r.ordBoolean=r.ord=r.getDualOrd=r.getTupleOrd=r.between=r.clamp=r.max=r.min=r.geq=r.leq=r.gt=r.lt=r.equals=r.trivial=r.Contravariant=r.getMonoid=r.getSemigroup=r.URI=r.contramap=r.reverse=r.tuple=r.fromCompare=r.equalsDefault=void 0,r.equalsDefault=function(n){return function(r,t){return r===t||0===n(r,t)}},r.fromCompare=function(n){return{equals:r.equalsDefault(n),compare:function(r,t){return r===t?0:n(r,t)}}},r.tuple=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return r.fromCompare((function(r,t){for(var u=0;u<n.length-1;u++){var e=n[u].compare(r[u],t[u]);if(0!==e)return e}return n[u].compare(r[u],t[u])}))},r.reverse=function(n){return r.fromCompare((function(r,t){return n.compare(t,r)}))},r.contramap=function(n){return function(t){return r.fromCompare((function(r,u){return t.compare(n(r),n(u))}))}},r.URI="Ord",r.getSemigroup=function(){return{concat:function(n,t){return r.fromCompare((function(r,u){var e=n.compare(r,u);return 0!==e?e:t.compare(r,u)}))}}},r.getMonoid=function(){return{concat:r.getSemigroup().concat,empty:r.fromCompare((function(){return 0}))}},r.Contravariant={URI:r.URI,contramap:function(n,u){return t.pipe(n,r.contramap(u))}},r.trivial={equals:t.constTrue,compare:t.constant(0)},r.equals=function(n){return function(r){return function(t){return t===r||0===n.compare(t,r)}}},r.lt=function(n){return function(r,t){return-1===n.compare(r,t)}},r.gt=function(n){return function(r,t){return 1===n.compare(r,t)}},r.leq=function(n){return function(r,t){return 1!==n.compare(r,t)}},r.geq=function(n){return function(r,t){return-1!==n.compare(r,t)}},r.min=function(n){return function(r,t){return r===t||n.compare(r,t)<1?r:t}},r.max=function(n){return function(r,t){return r===t||n.compare(r,t)>-1?r:t}},r.clamp=function(n){var t=r.min(n),u=r.max(n);return function(n,r){return function(e){return u(t(e,r),n)}}},r.between=function(n){var t=r.lt(n),u=r.gt(n);return function(n,r){return function(e){return!t(e,n)&&!u(e,r)}}},r.getTupleOrd=r.tuple,r.getDualOrd=r.reverse,r.ord=r.Contravariant;var u={equals:a.eqStrict.equals,compare:function(n,r){return n<r?-1:n>r?1:0}};r.ordBoolean=u,r.ordString=u,r.ordNumber=u,r.ordDate=t.pipe(r.ordNumber,r.contramap((function(n){return n.valueOf()})))})),d=r((function(r,u){var e=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),o=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),c=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&e(r,n,t);return o(r,n),r};Object.defineProperty(u,"__esModule",{value:!0}),u.semigroupProduct=u.semigroupSum=u.semigroupString=u.getFunctionSemigroup=u.semigroupAny=u.semigroupAll=u.fold=u.getIntercalateSemigroup=u.getMeetSemigroup=u.getJoinSemigroup=u.getDualSemigroup=u.getStructSemigroup=u.getTupleSemigroup=u.getFirstSemigroup=u.getLastSemigroup=u.getObjectSemigroup=u.semigroupVoid=u.concatAll=u.last=u.first=u.intercalate=u.tuple=u.struct=u.reverse=u.constant=u.max=u.min=void 0;var a=c(i),d=c(f),p=c(v);u.min=function(n){return{concat:p.min(n)}},u.max=function(n){return{concat:p.max(n)}},u.constant=function(n){return{concat:function(){return n}}},u.reverse=d.reverse,u.struct=function(n){return{concat:function(r,t){var u={};for(var e in n)a.has.call(n,e)&&(u[e]=n[e].concat(r[e],t[e]));return u}}},u.tuple=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return{concat:function(r,t){return n.map((function(n,u){return n.concat(r[u],t[u])}))}}},u.intercalate=function(n){return function(r){return{concat:function(t,u){return r.concat(t,r.concat(n,u))}}}},u.first=function(){return{concat:t.identity}},u.last=function(){return{concat:function(n,r){return r}}},u.concatAll=d.concatAll,u.semigroupVoid=u.constant(void 0),u.getObjectSemigroup=function(){return{concat:function(n,r){return Object.assign({},n,r)}}},u.getLastSemigroup=u.last,u.getFirstSemigroup=u.first,u.getTupleSemigroup=u.tuple,u.getStructSemigroup=u.struct,u.getDualSemigroup=u.reverse,u.getJoinSemigroup=u.max,u.getMeetSemigroup=u.min,u.getIntercalateSemigroup=u.intercalate,u.fold=function(n){var r=u.concatAll(n);return function(n,t){return void 0===t?r(n):r(n)(t)}},u.semigroupAll={concat:function(n,r){return n&&r}},u.semigroupAny={concat:function(n,r){return n||r}},u.getFunctionSemigroup=t.getSemigroup,u.semigroupString={concat:function(n,r){return n+r}},u.semigroupSum={concat:function(n,r){return n+r}},u.semigroupProduct={concat:function(n,r){return n*r}}})),p=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.right=r.left=r.flap=r.Functor=r.Bifunctor=r.URI=r.bimap=r.mapLeft=r.map=r.separated=void 0,r.separated=function(n,r){return{left:n,right:r}},r.map=function(n){return function(t){return r.separated(r.left(t),n(r.right(t)))}},r.mapLeft=function(n){return function(t){return r.separated(n(r.left(t)),r.right(t))}},r.bimap=function(n,t){return function(u){return r.separated(n(r.left(u)),t(r.right(u)))}},r.URI="Separated",r.Bifunctor={URI:r.URI,mapLeft:function(n,u){return t.pipe(n,r.mapLeft(u))},bimap:function(n,u,e){return t.pipe(n,r.bimap(u,e))}},r.Functor={URI:r.URI,map:function(n,u){return t.pipe(n,r.map(u))}},r.flap=e.flap(r.Functor),r.left=function(n){return n.left},r.right=function(n){return n.right}})),l=r((function(r,t){var u=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),e=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),o=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&u(r,n,t);return e(r,n),r};Object.defineProperty(t,"__esModule",{value:!0}),t.filterE=t.witherDefault=t.wiltDefault=void 0;var c=o(i);t.wiltDefault=function(n,r){return function(t){var u=n.traverse(t);return function(n,e){return t.map(u(n,e),r.separate)}}},t.witherDefault=function(n,r){return function(t){var u=n.traverse(t);return function(n,e){return t.map(u(n,e),r.compact)}}},t.filterE=function(n){return function(r){var t=n.wither(r);return function(n){return function(u){return t(u,(function(t){return r.map(n(t),(function(n){return n?c.some(t):c.none}))}))}}}}})),h=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.guard=void 0,r.guard=function(n,r){return function(t){return t?r.of(void 0):n.zero()}}})),I=r((function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Field=r.MonoidProduct=r.MonoidSum=r.SemigroupProduct=r.SemigroupSum=r.MagmaSub=r.Show=r.Bounded=r.Ord=r.Eq=r.isNumber=void 0,r.isNumber=function(n){return"number"==typeof n},r.Eq={equals:function(n,r){return n===r}},r.Ord={equals:r.Eq.equals,compare:function(n,r){return n<r?-1:n>r?1:0}},r.Bounded={equals:r.Eq.equals,compare:r.Ord.compare,top:1/0,bottom:-1/0},r.Show={show:function(n){return JSON.stringify(n)}},r.MagmaSub={concat:function(n,r){return n-r}},r.SemigroupSum={concat:function(n,r){return n+r}},r.SemigroupProduct={concat:function(n,r){return n*r}},r.MonoidSum={concat:r.SemigroupSum.concat,empty:0},r.MonoidProduct={concat:r.SemigroupProduct.concat,empty:1},r.Field={add:r.SemigroupSum.concat,zero:0,mul:r.SemigroupProduct.concat,one:1,sub:r.MagmaSub.concat,degree:function(){return 1},div:function(n,r){return n/r},mod:function(n,r){return n%r}}})),s=r((function(r,c){var f=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),p=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),l=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&f(r,n,t);return p(r,n),r},h=n&&n.__spreadArray||function(n,r){for(var t=0,u=r.length,e=n.length;t<u;t++,e++)n[e]=r[t];return n};Object.defineProperty(c,"__esModule",{value:!0}),c.reduceRight=c.foldMap=c.reduce=c.mapWithIndex=c.map=c.flatten=c.duplicate=c.extend=c.chain=c.ap=c.alt=c.altW=c.of=c.chunksOf=c.splitAt=c.chop=c.chainWithIndex=c.intersperse=c.prependAll=c.unzip=c.zip=c.zipWith=c.modifyAt=c.updateAt=c.sort=c.groupBy=c.group=c.reverse=c.concat=c.concatW=c.fromArray=c.unappend=c.unprepend=c.range=c.replicate=c.makeBy=c.fromReadonlyArray=c.rotate=c.union=c.sortBy=c.uniq=c.unsafeUpdateAt=c.unsafeInsertAt=c.append=c.appendW=c.prepend=c.prependW=c.isOutOfBound=c.isNonEmpty=c.empty=void 0,c.uncons=c.filterWithIndex=c.filter=c.groupSort=c.updateLast=c.modifyLast=c.updateHead=c.modifyHead=c.matchRight=c.matchLeft=c.concatAll=c.max=c.min=c.init=c.last=c.tail=c.head=c.apS=c.bind=c.bindTo=c.Do=c.Comonad=c.Alt=c.TraversableWithIndex=c.Traversable=c.FoldableWithIndex=c.Foldable=c.Monad=c.chainFirst=c.Chain=c.Applicative=c.apSecond=c.apFirst=c.Apply=c.FunctorWithIndex=c.Pointed=c.flap=c.Functor=c.getUnionSemigroup=c.getEq=c.getSemigroup=c.getShow=c.URI=c.extract=c.traverseWithIndex=c.sequence=c.traverse=c.reduceRightWithIndex=c.foldMapWithIndex=c.reduceWithIndex=void 0,c.readonlyNonEmptyArray=c.fold=c.prependToAll=c.insertAt=c.snoc=c.cons=c.unsnoc=void 0;var I=l(i),s=l(d);function m(n){return function(r){return r.concat(n)}}function R(n,r){return r?n.concat(r):function(r){return r.concat(n)}}function M(n){return function(r){var t=r.length;if(0===t)return c.empty;for(var u=[],e=r[0],o=[e],i=1;i<t;i++){var f=r[i];n.equals(f,e)?o.push(f):(u.push(o),o=[e=f])}return u.push(o),u}}c.empty=I.emptyReadonlyArray,c.isNonEmpty=I.isNonEmpty,c.isOutOfBound=function(n,r){return n<0||n>=r.length},c.prependW=function(n){return function(r){return h([n],r)}},c.prepend=c.prependW,c.appendW=function(n){return function(r){return h(h([],r),[n])}},c.append=c.appendW,c.unsafeInsertAt=function(n,r,t){if(c.isNonEmpty(t)){var u=I.fromReadonlyNonEmptyArray(t);return u.splice(n,0,r),u}return[r]},c.unsafeUpdateAt=function(n,r,t){if(t[n]===r)return t;var u=I.fromReadonlyNonEmptyArray(t);return u[n]=r,u},c.uniq=function(n){return function(r){if(1===r.length)return r;for(var t=[c.head(r)],u=function(r){t.every((function(t){return!n.equals(t,r)}))&&t.push(r)},e=0,o=c.tail(r);e<o.length;e++)u(o[e]);return t}},c.sortBy=function(n){if(c.isNonEmpty(n)){var r=v.getMonoid();return c.sort(n.reduce(r.concat,r.empty))}return t.identity},c.union=function(n){var r=c.uniq(n);return function(n){return function(u){return r(t.pipe(u,R(n)))}}},c.rotate=function(n){return function(r){var u=r.length,e=Math.round(n)%u;if(c.isOutOfBound(Math.abs(e),r)||0===e)return r;if(e<0){var o=c.splitAt(-e)(r);return t.pipe(o[1],R(o[0]))}return c.rotate(e-u)(r)}},c.fromReadonlyArray=function(n){return c.isNonEmpty(n)?I.some(n):I.none},c.makeBy=function(n){return function(r){for(var t=Math.max(0,Math.floor(r)),u=[n(0)],e=1;e<t;e++)u.push(n(e));return u}},c.replicate=function(n){return c.makeBy((function(){return n}))},c.range=function(n,r){return n<=r?c.makeBy((function(r){return n+r}))(r-n+1):[n]},c.unprepend=function(n){return[c.head(n),c.tail(n)]},c.unappend=function(n){return[c.init(n),c.last(n)]},c.fromArray=function(n){return c.fromReadonlyArray(n.slice())},c.concatW=m,c.concat=R,c.reverse=function(n){return 1===n.length?n:h([c.last(n)],n.slice(0,-1).reverse())},c.group=M,c.groupBy=function(n){return function(r){for(var t={},u=0,e=r;u<e.length;u++){var o=e[u],i=n(o);t.hasOwnProperty(i)?t[i].push(o):t[i]=[o]}return t}},c.sort=function(n){return function(r){return 1===r.length?r:r.slice().sort(n.compare)}},c.updateAt=function(n,r){return c.modifyAt(n,(function(){return r}))},c.modifyAt=function(n,r){return function(t){return c.isOutOfBound(n,t)?I.none:I.some(c.unsafeUpdateAt(n,r(t[n]),t))}},c.zipWith=function(n,r,t){for(var u=[t(n[0],r[0])],e=Math.min(n.length,r.length),o=1;o<e;o++)u[o]=t(n[o],r[o]);return u},c.zip=function n(r,t){return void 0===t?function(t){return n(t,r)}:c.zipWith(r,t,(function(n,r){return[n,r]}))},c.unzip=function(n){for(var r=[n[0][0]],t=[n[0][1]],u=1;u<n.length;u++)r[u]=n[u][0],t[u]=n[u][1];return[r,t]},c.prependAll=function(n){return function(r){for(var t=[n,r[0]],u=1;u<r.length;u++)t.push(n,r[u]);return t}},c.intersperse=function(n){return function(r){var u=c.tail(r);return c.isNonEmpty(u)?t.pipe(u,c.prependAll(n),c.prepend(c.head(r))):r}},c.chainWithIndex=function(n){return function(r){for(var t=I.fromReadonlyNonEmptyArray(n(0,c.head(r))),u=1;u<r.length;u++)t.push.apply(t,n(u,r[u]));return t}},c.chop=function(n){return function(r){for(var t=n(r),u=[t[0]],e=t[1];c.isNonEmpty(e);){var o=n(e),i=o[1];u.push(o[0]),e=i}return u}},c.splitAt=function(n){return function(r){var u=Math.max(1,n);return u>=r.length?[r,c.empty]:[t.pipe(r.slice(1,u),c.prepend(c.head(r))),r.slice(u)]}},c.chunksOf=function(n){return c.chop(c.splitAt(n))};var b=function(n,r){return t.pipe(n,c.map(r))},x=function(n,r){return t.pipe(n,c.mapWithIndex(r))},U=function(n,r){return t.pipe(n,c.ap(r))},W=function(n,r){return t.pipe(n,c.chain(r))},O=function(n,r){return t.pipe(n,c.extend(r))},j=function(n,r,u){return t.pipe(n,c.reduce(r,u))},g=function(n){var r=c.foldMap(n);return function(n,u){return t.pipe(n,r(u))}},_=function(n,r,u){return t.pipe(n,c.reduceRight(r,u))},y=function(n){var r=c.traverse(n);return function(n,u){return t.pipe(n,r(u))}},q=function(n,r){return t.pipe(n,c.alt(r))},w=function(n,r,u){return t.pipe(n,c.reduceWithIndex(r,u))},z=function(n){var r=c.foldMapWithIndex(n);return function(n,u){return t.pipe(n,r(u))}},A=function(n,r,u){return t.pipe(n,c.reduceRightWithIndex(r,u))},L=function(n){var r=c.traverseWithIndex(n);return function(n,u){return t.pipe(n,r(u))}};c.of=I.singleton,c.altW=function(n){return function(r){return t.pipe(r,m(n()))}},c.alt=c.altW,c.ap=function(n){return c.chain((function(r){return t.pipe(n,c.map(r))}))},c.chain=function(n){return c.chainWithIndex((function(r,t){return n(t)}))},c.extend=function(n){return function(r){for(var t=c.tail(r),u=[n(r)];c.isNonEmpty(t);)u.push(n(t)),t=c.tail(t);return u}},c.duplicate=c.extend(t.identity),c.flatten=c.chain(t.identity),c.map=function(n){return c.mapWithIndex((function(r,t){return n(t)}))},c.mapWithIndex=function(n){return function(r){for(var t=[n(0,c.head(r))],u=1;u<r.length;u++)t.push(n(u,r[u]));return t}},c.reduce=function(n,r){return c.reduceWithIndex(n,(function(n,t,u){return r(t,u)}))},c.foldMap=function(n){return function(r){return function(t){return t.slice(1).reduce((function(t,u){return n.concat(t,r(u))}),r(t[0]))}}},c.reduceRight=function(n,r){return c.reduceRightWithIndex(n,(function(n,t,u){return r(t,u)}))},c.reduceWithIndex=function(n,r){return function(t){return t.reduce((function(n,t,u){return r(u,n,t)}),n)}},c.foldMapWithIndex=function(n){return function(r){return function(t){return t.slice(1).reduce((function(t,u,e){return n.concat(t,r(e+1,u))}),r(0,t[0]))}}},c.reduceRightWithIndex=function(n,r){return function(t){return t.reduceRight((function(n,t,u){return r(u,t,n)}),n)}},c.traverse=function(n){var r=c.traverseWithIndex(n);return function(n){return r((function(r,t){return n(t)}))}},c.sequence=function(n){return c.traverseWithIndex(n)(t.SK)},c.traverseWithIndex=function(n){return function(r){return function(u){for(var e=n.map(r(0,c.head(u)),c.of),o=1;o<u.length;o++)e=n.ap(n.map(e,(function(n){return function(r){return t.pipe(n,c.append(r))}})),r(o,u[o]));return e}}},c.extract=I.head,c.URI="ReadonlyNonEmptyArray",c.getShow=function(n){return{show:function(r){return"["+r.map(n.show).join(", ")+"]"}}},c.getSemigroup=function(){return{concat:R}},c.getEq=function(n){return a.fromEquals((function(r,t){return r.length===t.length&&r.every((function(r,u){return n.equals(r,t[u])}))}))},c.getUnionSemigroup=function(n){var r=c.union(n);return{concat:function(n,t){return r(t)(n)}}},c.Functor={URI:c.URI,map:b},c.flap=e.flap(c.Functor),c.Pointed={URI:c.URI,of:c.of},c.FunctorWithIndex={URI:c.URI,map:b,mapWithIndex:x},c.Apply={URI:c.URI,map:b,ap:U},c.apFirst=u.apFirst(c.Apply),c.apSecond=u.apSecond(c.Apply),c.Applicative={URI:c.URI,map:b,ap:U,of:c.of},c.Chain={URI:c.URI,map:b,ap:U,chain:W},c.chainFirst=o.chainFirst(c.Chain),c.Monad={URI:c.URI,map:b,ap:U,of:c.of,chain:W},c.Foldable={URI:c.URI,reduce:j,foldMap:g,reduceRight:_},c.FoldableWithIndex={URI:c.URI,reduce:j,foldMap:g,reduceRight:_,reduceWithIndex:w,foldMapWithIndex:z,reduceRightWithIndex:A},c.Traversable={URI:c.URI,map:b,reduce:j,foldMap:g,reduceRight:_,traverse:y,sequence:c.sequence},c.TraversableWithIndex={URI:c.URI,map:b,mapWithIndex:x,reduce:j,foldMap:g,reduceRight:_,traverse:y,sequence:c.sequence,reduceWithIndex:w,foldMapWithIndex:z,reduceRightWithIndex:A,traverseWithIndex:L},c.Alt={URI:c.URI,map:b,alt:q},c.Comonad={URI:c.URI,map:b,extend:O,extract:c.extract},c.Do=c.of(I.emptyRecord),c.bindTo=e.bindTo(c.Functor),c.bind=o.bind(c.Chain),c.apS=u.apS(c.Apply),c.head=c.extract,c.tail=I.tail,c.last=function(n){return n[n.length-1]},c.init=function(n){return n.slice(0,-1)},c.min=function(n){var r=s.min(n);return function(n){return n.reduce(r.concat)}},c.max=function(n){var r=s.max(n);return function(n){return n.reduce(r.concat)}},c.concatAll=function(n){return function(r){return r.reduce(n.concat)}},c.matchLeft=function(n){return function(r){return n(c.head(r),c.tail(r))}},c.matchRight=function(n){return function(r){return n(c.init(r),c.last(r))}},c.modifyHead=function(n){return function(r){return h([n(c.head(r))],c.tail(r))}},c.updateHead=function(n){return c.modifyHead((function(){return n}))},c.modifyLast=function(n){return function(r){return t.pipe(c.init(r),c.append(n(c.last(r))))}},c.updateLast=function(n){return c.modifyLast((function(){return n}))},c.groupSort=function(n){var r=c.sort(n),t=M(n);return function(n){return c.isNonEmpty(n)?t(r(n)):c.empty}},c.filter=function(n){return c.filterWithIndex((function(r,t){return n(t)}))},c.filterWithIndex=function(n){return function(r){return c.fromReadonlyArray(r.filter((function(r,t){return n(t,r)})))}},c.uncons=c.unprepend,c.unsnoc=c.unappend,c.cons=function(n,r){return void 0===r?c.prepend(n):t.pipe(r,c.prepend(n))},c.snoc=function(n,r){return t.pipe(n,R([r]))},c.insertAt=function(n,r){return function(t){return n<0||n>t.length?I.none:I.some(c.unsafeInsertAt(n,r,t))}},c.prependToAll=c.prependAll,c.fold=c.concatAll,c.readonlyNonEmptyArray={URI:c.URI,of:c.of,map:b,mapWithIndex:x,ap:U,chain:W,extend:O,extract:c.extract,reduce:j,foldMap:g,reduceRight:_,traverse:y,sequence:c.sequence,reduceWithIndex:w,foldMapWithIndex:z,reduceRightWithIndex:A,traverseWithIndex:L,alt:q}})),m=r((function(r,c){var f=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),a=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),d=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&f(r,n,t);return a(r,n),r},p=n&&n.__spreadArray||function(n,r){for(var t=0,u=r.length,e=n.length;t<u;t++,e++)n[e]=r[t];return n};Object.defineProperty(c,"__esModule",{value:!0}),c.mapWithIndex=c.map=c.flatten=c.duplicate=c.extend=c.chain=c.ap=c.alt=c.altW=c.chunksOf=c.splitAt=c.chop=c.chainWithIndex=c.foldMap=c.foldMapWithIndex=c.intersperse=c.prependAll=c.unzip=c.zip=c.zipWith=c.of=c.copy=c.modifyAt=c.updateAt=c.insertAt=c.sort=c.groupBy=c.group=c.reverse=c.concat=c.concatW=c.unappend=c.unprepend=c.range=c.replicate=c.makeBy=c.fromArray=c.fromReadonlyNonEmptyArray=c.rotate=c.union=c.sortBy=c.uniq=c.unsafeUpdateAt=c.unsafeInsertAt=c.append=c.appendW=c.prepend=c.prependW=c.isOutOfBound=c.isNonEmpty=void 0,c.filterWithIndex=c.filter=c.groupSort=c.updateLast=c.modifyLast=c.updateHead=c.modifyHead=c.matchRight=c.matchLeft=c.concatAll=c.max=c.min=c.init=c.last=c.tail=c.head=c.apS=c.bind=c.bindTo=c.Do=c.Comonad=c.Alt=c.TraversableWithIndex=c.Traversable=c.FoldableWithIndex=c.Foldable=c.Monad=c.chainFirst=c.Chain=c.Applicative=c.apSecond=c.apFirst=c.Apply=c.FunctorWithIndex=c.Pointed=c.flap=c.Functor=c.getUnionSemigroup=c.getEq=c.getSemigroup=c.getShow=c.URI=c.extract=c.traverseWithIndex=c.sequence=c.traverse=c.reduceRightWithIndex=c.reduceRight=c.reduceWithIndex=c.reduce=void 0,c.nonEmptyArray=c.fold=c.prependToAll=c.snoc=c.cons=c.unsnoc=c.uncons=void 0;var l=d(i),h=d(s);function I(n){return function(r){return r.concat(n)}}function m(n,r){return r?n.concat(r):function(r){return r.concat(n)}}function R(n){return function(r){var t=r.length;if(0===t)return[];for(var u=[],e=r[0],o=[e],i=1;i<t;i++){var c=r[i];n.equals(c,e)?o.push(c):(u.push(o),o=[e=c])}return u.push(o),u}}c.isNonEmpty=function(n){return n.length>0},c.isOutOfBound=function(n,r){return n<0||n>=r.length},c.prependW=function(n){return function(r){return p([n],r)}},c.prepend=c.prependW,c.appendW=function(n){return function(r){return p(p([],r),[n])}},c.append=c.appendW,c.unsafeInsertAt=function(n,r,t){if(c.isNonEmpty(t)){var u=c.fromReadonlyNonEmptyArray(t);return u.splice(n,0,r),u}return[r]},c.unsafeUpdateAt=function(n,r,t){var u=c.fromReadonlyNonEmptyArray(t);return u[n]=r,u},c.uniq=function(n){return function(r){if(1===r.length)return c.copy(r);for(var t=[c.head(r)],u=function(r){t.every((function(t){return!n.equals(t,r)}))&&t.push(r)},e=0,o=c.tail(r);e<o.length;e++)u(o[e]);return t}},c.sortBy=function(n){if(c.isNonEmpty(n)){var r=v.getMonoid();return c.sort(n.reduce(r.concat,r.empty))}return c.copy},c.union=function(n){var r=c.uniq(n);return function(n){return function(u){return r(t.pipe(u,m(n)))}}},c.rotate=function(n){return function(r){var u=r.length,e=Math.round(n)%u;if(c.isOutOfBound(Math.abs(e),r)||0===e)return c.copy(r);if(e<0){var o=c.splitAt(-e)(r);return t.pipe(o[1],m(o[0]))}return c.rotate(e-u)(r)}},c.fromReadonlyNonEmptyArray=l.fromReadonlyNonEmptyArray,c.fromArray=function(n){return c.isNonEmpty(n)?l.some(n):l.none},c.makeBy=function(n){return function(r){for(var t=Math.max(0,Math.floor(r)),u=[n(0)],e=1;e<t;e++)u.push(n(e));return u}},c.replicate=function(n){return c.makeBy((function(){return n}))},c.range=function(n,r){return n<=r?c.makeBy((function(r){return n+r}))(r-n+1):[n]},c.unprepend=function(n){return[c.head(n),c.tail(n)]},c.unappend=function(n){return[c.init(n),c.last(n)]},c.concatW=I,c.concat=m,c.reverse=function(n){return p([c.last(n)],n.slice(0,-1).reverse())},c.group=R,c.groupBy=function(n){return function(r){for(var t={},u=0,e=r;u<e.length;u++){var o=e[u],i=n(o);t.hasOwnProperty(i)?t[i].push(o):t[i]=[o]}return t}},c.sort=function(n){return function(r){return r.slice().sort(n.compare)}},c.insertAt=function(n,r){return function(t){return n<0||n>t.length?l.none:l.some(c.unsafeInsertAt(n,r,t))}},c.updateAt=function(n,r){return c.modifyAt(n,(function(){return r}))},c.modifyAt=function(n,r){return function(t){return c.isOutOfBound(n,t)?l.none:l.some(c.unsafeUpdateAt(n,r(t[n]),t))}},c.copy=c.fromReadonlyNonEmptyArray,c.of=function(n){return[n]},c.zipWith=function(n,r,t){for(var u=[t(n[0],r[0])],e=Math.min(n.length,r.length),o=1;o<e;o++)u[o]=t(n[o],r[o]);return u},c.zip=function n(r,t){return void 0===t?function(t){return n(t,r)}:c.zipWith(r,t,(function(n,r){return[n,r]}))},c.unzip=function(n){for(var r=[n[0][0]],t=[n[0][1]],u=1;u<n.length;u++)r[u]=n[u][0],t[u]=n[u][1];return[r,t]},c.prependAll=function(n){return function(r){for(var t=[n,r[0]],u=1;u<r.length;u++)t.push(n,r[u]);return t}},c.intersperse=function(n){return function(r){var u=c.tail(r);return c.isNonEmpty(u)?t.pipe(u,c.prependAll(n),c.prepend(c.head(r))):c.copy(r)}},c.foldMapWithIndex=h.foldMapWithIndex,c.foldMap=h.foldMap,c.chainWithIndex=function(n){return function(r){for(var t=c.fromReadonlyNonEmptyArray(n(0,c.head(r))),u=1;u<r.length;u++)t.push.apply(t,n(u,r[u]));return t}},c.chop=function(n){return function(r){for(var t=n(r),u=[t[0]],e=t[1];c.isNonEmpty(e);){var o=n(e),i=o[1];u.push(o[0]),e=i}return u}},c.splitAt=function(n){return function(r){var u=Math.max(1,n);return u>=r.length?[c.copy(r),[]]:[t.pipe(r.slice(1,u),c.prepend(c.head(r))),r.slice(u)]}},c.chunksOf=function(n){return c.chop(c.splitAt(n))};var M=function(n,r){return t.pipe(n,c.map(r))},b=function(n,r){return t.pipe(n,c.mapWithIndex(r))},x=function(n,r){return t.pipe(n,c.ap(r))},U=function(n,r){return t.pipe(n,c.chain(r))},W=function(n,r){return t.pipe(n,c.extend(r))},O=function(n,r,u){return t.pipe(n,c.reduce(r,u))},j=function(n){var r=c.foldMap(n);return function(n,u){return t.pipe(n,r(u))}},g=function(n,r,u){return t.pipe(n,c.reduceRight(r,u))},_=function(n){var r=c.traverse(n);return function(n,u){return t.pipe(n,r(u))}},y=function(n,r){return t.pipe(n,c.alt(r))},q=function(n,r,u){return t.pipe(n,c.reduceWithIndex(r,u))},w=function(n){var r=c.foldMapWithIndex(n);return function(n,u){return t.pipe(n,r(u))}},z=function(n,r,u){return t.pipe(n,c.reduceRightWithIndex(r,u))},A=function(n){var r=c.traverseWithIndex(n);return function(n,u){return t.pipe(n,r(u))}};c.altW=function(n){return function(r){return t.pipe(r,I(n()))}},c.alt=c.altW,c.ap=function(n){return c.chain((function(r){return t.pipe(n,c.map(r))}))},c.chain=function(n){return c.chainWithIndex((function(r,t){return n(t)}))},c.extend=function(n){return function(r){for(var t=c.tail(r),u=[n(r)];c.isNonEmpty(t);)u.push(n(t)),t=c.tail(t);return u}},c.duplicate=c.extend(t.identity),c.flatten=c.chain(t.identity),c.map=function(n){return c.mapWithIndex((function(r,t){return n(t)}))},c.mapWithIndex=function(n){return function(r){for(var t=[n(0,c.head(r))],u=1;u<r.length;u++)t.push(n(u,r[u]));return t}},c.reduce=h.reduce,c.reduceWithIndex=h.reduceWithIndex,c.reduceRight=h.reduceRight,c.reduceRightWithIndex=h.reduceRightWithIndex,c.traverse=function(n){var r=c.traverseWithIndex(n);return function(n){return r((function(r,t){return n(t)}))}},c.sequence=function(n){return c.traverseWithIndex(n)((function(n,r){return r}))},c.traverseWithIndex=function(n){return function(r){return function(u){for(var e=n.map(r(0,c.head(u)),c.of),o=1;o<u.length;o++)e=n.ap(n.map(e,(function(n){return function(r){return t.pipe(n,c.append(r))}})),r(o,u[o]));return e}}},c.extract=h.head,c.URI="NonEmptyArray",c.getShow=h.getShow,c.getSemigroup=function(){return{concat:m}},c.getEq=h.getEq,c.getUnionSemigroup=function(n){var r=c.union(n);return{concat:function(n,t){return r(t)(n)}}},c.Functor={URI:c.URI,map:M},c.flap=e.flap(c.Functor),c.Pointed={URI:c.URI,of:c.of},c.FunctorWithIndex={URI:c.URI,map:M,mapWithIndex:b},c.Apply={URI:c.URI,map:M,ap:x},c.apFirst=u.apFirst(c.Apply),c.apSecond=u.apSecond(c.Apply),c.Applicative={URI:c.URI,map:M,ap:x,of:c.of},c.Chain={URI:c.URI,map:M,ap:x,chain:U},c.chainFirst=o.chainFirst(c.Chain),c.Monad={URI:c.URI,map:M,ap:x,of:c.of,chain:U},c.Foldable={URI:c.URI,reduce:O,foldMap:j,reduceRight:g},c.FoldableWithIndex={URI:c.URI,reduce:O,foldMap:j,reduceRight:g,reduceWithIndex:q,foldMapWithIndex:w,reduceRightWithIndex:z},c.Traversable={URI:c.URI,map:M,reduce:O,foldMap:j,reduceRight:g,traverse:_,sequence:c.sequence},c.TraversableWithIndex={URI:c.URI,map:M,mapWithIndex:b,reduce:O,foldMap:j,reduceRight:g,traverse:_,sequence:c.sequence,reduceWithIndex:q,foldMapWithIndex:w,reduceRightWithIndex:z,traverseWithIndex:A},c.Alt={URI:c.URI,map:M,alt:y},c.Comonad={URI:c.URI,map:M,extend:W,extract:c.extract},c.Do=c.of(l.emptyRecord),c.bindTo=e.bindTo(c.Functor),c.bind=o.bind(c.Chain),c.apS=u.apS(c.Apply),c.head=h.head,c.tail=function(n){return n.slice(1)},c.last=h.last,c.init=function(n){return n.slice(0,-1)},c.min=h.min,c.max=h.max,c.concatAll=function(n){return function(r){return r.reduce(n.concat)}},c.matchLeft=function(n){return function(r){return n(c.head(r),c.tail(r))}},c.matchRight=function(n){return function(r){return n(c.init(r),c.last(r))}},c.modifyHead=function(n){return function(r){return p([n(c.head(r))],c.tail(r))}},c.updateHead=function(n){return c.modifyHead((function(){return n}))},c.modifyLast=function(n){return function(r){return t.pipe(c.init(r),c.append(n(c.last(r))))}},c.updateLast=function(n){return c.modifyLast((function(){return n}))},c.groupSort=function(n){var r=c.sort(n),t=R(n);return function(n){return c.isNonEmpty(n)?t(r(n)):[]}},c.filter=function(n){return c.filterWithIndex((function(r,t){return n(t)}))},c.filterWithIndex=function(n){return function(r){return c.fromArray(r.filter((function(r,t){return n(t,r)})))}},c.uncons=c.unprepend,c.unsnoc=c.unappend,c.cons=function(n,r){return void 0===r?c.prepend(n):t.pipe(r,c.prepend(n))},c.snoc=function(n,r){return t.pipe(n,c.append(r))},c.prependToAll=c.prependAll,c.fold=h.concatAll,c.nonEmptyArray={URI:c.URI,of:c.of,map:M,mapWithIndex:b,ap:x,chain:U,extend:W,extract:c.extract,reduce:O,foldMap:j,reduceRight:g,traverse:_,sequence:c.sequence,reduceWithIndex:q,foldMapWithIndex:w,reduceRightWithIndex:z,traverseWithIndex:A,alt:y}})),R=r((function(r,f){var d=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),m=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),R=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&d(r,n,t);return m(r,n),r},M=n&&n.__spreadArray||function(n,r){for(var t=0,u=r.length,e=n.length;t<u;t++,e++)n[e]=r[t];return n};Object.defineProperty(f,"__esModule",{value:!0}),f.sort=f.lefts=f.rights=f.reverse=f.modifyAt=f.deleteAt=f.updateAt=f.insertAt=f.findLastIndex=f.findLastMap=f.findLast=f.findFirstMap=f.findFirst=f.findIndex=f.dropLeftWhile=f.dropRight=f.dropLeft=f.spanLeft=f.takeLeftWhile=f.takeRight=f.takeLeft=f.init=f.tail=f.last=f.head=f.lookup=f.isOutOfBound=f.size=f.scanRight=f.scanLeft=f.chainWithIndex=f.foldRight=f.matchRight=f.matchRightW=f.foldLeft=f.matchLeft=f.matchLeftW=f.match=f.matchW=f.fromEither=f.fromOption=f.fromPredicate=f.replicate=f.makeBy=f.appendW=f.append=f.prependW=f.prepend=f.isNonEmpty=f.isEmpty=void 0,f.sequence=f.traverse=f.reduceRightWithIndex=f.reduceRight=f.reduceWithIndex=f.foldMap=f.reduce=f.foldMapWithIndex=f.duplicate=f.extend=f.filterWithIndex=f.partitionMapWithIndex=f.partitionMap=f.partitionWithIndex=f.partition=f.compact=f.filterMap=f.filterMapWithIndex=f.filter=f.separate=f.mapWithIndex=f.map=f.flatten=f.chain=f.ap=f.alt=f.altW=f.zero=f.of=f._chainRecBreadthFirst=f._chainRecDepthFirst=f.difference=f.intersection=f.union=f.concat=f.concatW=f.comprehension=f.fromOptionK=f.chunksOf=f.splitAt=f.chop=f.sortBy=f.uniq=f.elem=f.rotate=f.intersperse=f.prependAll=f.unzip=f.zip=f.zipWith=void 0,f.toArray=f.unsafeDeleteAt=f.unsafeUpdateAt=f.unsafeInsertAt=f.fromEitherK=f.FromEither=f.filterE=f.Witherable=f.ChainRecBreadthFirst=f.chainRecBreadthFirst=f.ChainRecDepthFirst=f.chainRecDepthFirst=f.TraversableWithIndex=f.Traversable=f.FoldableWithIndex=f.Foldable=f.FilterableWithIndex=f.Filterable=f.Compactable=f.Extend=f.Alternative=f.guard=f.Zero=f.Alt=f.Unfoldable=f.chainFirst=f.Monad=f.Chain=f.Applicative=f.apSecond=f.apFirst=f.Apply=f.FunctorWithIndex=f.Pointed=f.flap=f.Functor=f.getDifferenceMagma=f.getIntersectionSemigroup=f.getUnionMonoid=f.getUnionSemigroup=f.getOrd=f.getEq=f.getMonoid=f.getSemigroup=f.getShow=f.URI=f.unfold=f.wilt=f.wither=f.traverseWithIndex=void 0,f.readonlyArray=f.prependToAll=f.snoc=f.cons=f.range=f.apS=f.bind=f.bindTo=f.Do=f.exists=f.some=f.every=f.empty=f.fromArray=void 0;var b=R(i),x=R(I),U=R(s);f.isEmpty=function(n){return 0===n.length},f.isNonEmpty=U.isNonEmpty,f.prepend=U.prepend,f.prependW=U.prependW,f.append=U.append,f.appendW=U.appendW,f.makeBy=function(n,r){return n<=0?f.empty:U.makeBy(r)(n)},f.replicate=function(n,r){return f.makeBy(n,(function(){return r}))},f.fromPredicate=function(n){return function(r){return n(r)?[r]:f.empty}},f.fromOption=function(n){return b.isNone(n)?f.empty:[n.value]},f.fromEither=function(n){return b.isLeft(n)?f.empty:[n.right]},f.matchW=function(n,r){return function(t){return f.isNonEmpty(t)?r(t):n()}},f.match=f.matchW,f.matchLeftW=function(n,r){return function(t){return f.isNonEmpty(t)?r(U.head(t),U.tail(t)):n()}},f.matchLeft=f.matchLeftW,f.foldLeft=f.matchLeft,f.matchRightW=function(n,r){return function(t){return f.isNonEmpty(t)?r(U.init(t),U.last(t)):n()}},f.matchRight=f.matchRightW,f.foldRight=f.matchRight,f.chainWithIndex=function(n){return function(r){if(f.isEmpty(r))return f.empty;for(var t=[],u=0;u<r.length;u++)t.push.apply(t,n(u,r[u]));return t}},f.scanLeft=function(n,r){return function(t){var u=t.length,e=new Array(u+1);e[0]=n;for(var o=0;o<u;o++)e[o+1]=r(e[o],t[o]);return e}},f.scanRight=function(n,r){return function(t){var u=t.length,e=new Array(u+1);e[u]=n;for(var o=u-1;o>=0;o--)e[o]=r(t[o],e[o+1]);return e}},f.size=function(n){return n.length},f.isOutOfBound=U.isOutOfBound,f.lookup=function n(r,t){return void 0===t?function(t){return n(r,t)}:f.isOutOfBound(r,t)?b.none:b.some(t[r])},f.head=function(n){return f.isNonEmpty(n)?b.some(U.head(n)):b.none},f.last=function(n){return f.isNonEmpty(n)?b.some(U.last(n)):b.none},f.tail=function(n){return f.isNonEmpty(n)?b.some(U.tail(n)):b.none},f.init=function(n){return f.isNonEmpty(n)?b.some(U.init(n)):b.none},f.takeLeft=function(n){return function(r){return f.isOutOfBound(n,r)?r:0===n?f.empty:r.slice(0,n)}},f.takeRight=function(n){return function(r){return f.isOutOfBound(n,r)?r:0===n?f.empty:r.slice(-n)}},f.takeLeftWhile=function(n){return function(r){for(var t=[],u=0,e=r;u<e.length;u++){var o=e[u];if(!n(o))break;t.push(o)}var i=t.length;return i===r.length?r:0===i?f.empty:t}};var W=function(n,r){for(var t=n.length,u=0;u<t&&r(n[u]);u++);return u};function O(n){return function(r,t){if(void 0===t){var u=O(n);return function(n){return u(r,n)}}for(var e=0;e<t.length;e++)if(n.equals(t[e],r))return!0;return!1}}function j(n){var r=U.union(n);return function(t,u){if(void 0===u){var e=j(n);return function(n){return e(n,t)}}return f.isNonEmpty(t)&&f.isNonEmpty(u)?r(u)(t):f.isNonEmpty(t)?t:u}}function g(n){var r=O(n);return function(t,u){if(void 0===u){var e=g(n);return function(n){return e(n,t)}}return t.filter((function(n){return r(n,u)}))}}function _(n){var r=O(n);return function(t,u){if(void 0===u){var e=_(n);return function(n){return e(n,t)}}return t.filter((function(n){return!r(n,u)}))}}f.spanLeft=function(n){return function(r){var t=f.splitAt(W(r,n))(r);return{init:t[0],rest:t[1]}}},f.dropLeft=function(n){return function(r){return n<=0||f.isEmpty(r)?r:n>=r.length?f.empty:r.slice(n,r.length)}},f.dropRight=function(n){return function(r){return n<=0||f.isEmpty(r)?r:n>=r.length?f.empty:r.slice(0,r.length-n)}},f.dropLeftWhile=function(n){return function(r){var t=W(r,n);return 0===t?r:t===r.length?f.empty:r.slice(t)}},f.findIndex=function(n){return function(r){for(var t=0;t<r.length;t++)if(n(r[t]))return b.some(t);return b.none}},f.findFirst=function(n){return function(r){for(var t=0;t<r.length;t++)if(n(r[t]))return b.some(r[t]);return b.none}},f.findFirstMap=function(n){return function(r){for(var t=0;t<r.length;t++){var u=n(r[t]);if(b.isSome(u))return u}return b.none}},f.findLast=function(n){return function(r){for(var t=r.length-1;t>=0;t--)if(n(r[t]))return b.some(r[t]);return b.none}},f.findLastMap=function(n){return function(r){for(var t=r.length-1;t>=0;t--){var u=n(r[t]);if(b.isSome(u))return u}return b.none}},f.findLastIndex=function(n){return function(r){for(var t=r.length-1;t>=0;t--)if(n(r[t]))return b.some(t);return b.none}},f.insertAt=function(n,r){return function(t){return n<0||n>t.length?b.none:b.some(U.unsafeInsertAt(n,r,t))}},f.updateAt=function(n,r){return f.modifyAt(n,(function(){return r}))},f.deleteAt=function(n){return function(r){return f.isOutOfBound(n,r)?b.none:b.some(f.unsafeDeleteAt(n,r))}},f.modifyAt=function(n,r){return function(t){return f.isOutOfBound(n,t)?b.none:b.some(f.unsafeUpdateAt(n,r(t[n]),t))}},f.reverse=function(n){return n.length<=1?n:n.slice().reverse()},f.rights=function(n){for(var r=[],t=0;t<n.length;t++){var u=n[t];"Right"===u._tag&&r.push(u.right)}return r},f.lefts=function(n){for(var r=[],t=0;t<n.length;t++){var u=n[t];"Left"===u._tag&&r.push(u.left)}return r},f.sort=function(n){return function(r){return r.length<=1?r:r.slice().sort(n.compare)}},f.zipWith=function(n,r,t){for(var u=[],e=Math.min(n.length,r.length),o=0;o<e;o++)u[o]=t(n[o],r[o]);return u},f.zip=function n(r,t){return void 0===t?function(t){return n(t,r)}:f.zipWith(r,t,(function(n,r){return[n,r]}))},f.unzip=function(n){for(var r=[],t=[],u=0;u<n.length;u++)r[u]=n[u][0],t[u]=n[u][1];return[r,t]},f.prependAll=function(n){var r=U.prependAll(n);return function(n){return f.isNonEmpty(n)?r(n):n}},f.intersperse=function(n){var r=U.intersperse(n);return function(n){return f.isNonEmpty(n)?r(n):n}},f.rotate=function(n){var r=U.rotate(n);return function(n){return f.isNonEmpty(n)?r(n):n}},f.elem=O,f.uniq=function(n){var r=U.uniq(n);return function(n){return f.isNonEmpty(n)?r(n):n}},f.sortBy=function(n){var r=U.sortBy(n);return function(n){return f.isNonEmpty(n)?r(n):n}},f.chop=function(n){var r=U.chop(n);return function(n){return f.isNonEmpty(n)?r(n):f.empty}},f.splitAt=function(n){return function(r){return n>=1&&f.isNonEmpty(r)?U.splitAt(n)(r):f.isEmpty(r)?[r,f.empty]:[f.empty,r]}},f.chunksOf=function(n){var r=U.chunksOf(n);return function(n){return f.isNonEmpty(n)?r(n):f.empty}},f.fromOptionK=function(n){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return f.fromOption(n.apply(void 0,r))}},f.comprehension=function(n,r,u){void 0===u&&(u=function(){return!0});var e=function(n,o){return f.isNonEmpty(o)?t.pipe(U.head(o),f.chain((function(r){return e(t.pipe(n,f.append(r)),U.tail(o))}))):u.apply(void 0,n)?[r.apply(void 0,n)]:f.empty};return e(f.empty,n)},f.concatW=function(n){return function(r){return f.isEmpty(r)?n:f.isEmpty(n)?r:r.concat(n)}},f.concat=f.concatW,f.union=j,f.intersection=g,f.difference=_;var y=function(n,r){return t.pipe(n,f.map(r))},q=function(n,r){return t.pipe(n,f.mapWithIndex(r))},w=function(n,r){return t.pipe(n,f.ap(r))},z=function(n,r){return t.pipe(n,f.chain(r))},A=function(n,r){return t.pipe(n,f.filter(r))},L=function(n,r){return t.pipe(n,f.filterMap(r))},E=function(n,r){return t.pipe(n,f.partition(r))},N=function(n,r){return t.pipe(n,f.partitionMap(r))},S=function(n,r){return t.pipe(n,f.partitionWithIndex(r))},k=function(n,r){return t.pipe(n,f.partitionMapWithIndex(r))},C=function(n,r){return t.pipe(n,f.alt(r))},T=function(n,r,u){return t.pipe(n,f.reduce(r,u))},D=function(n){var r=f.foldMap(n);return function(n,u){return t.pipe(n,r(u))}},F=function(n,r,u){return t.pipe(n,f.reduceRight(r,u))},J=function(n,r,u){return t.pipe(n,f.reduceWithIndex(r,u))},Z=function(n){var r=f.foldMapWithIndex(n);return function(n,u){return t.pipe(n,r(u))}},B=function(n,r,u){return t.pipe(n,f.reduceRightWithIndex(r,u))},G=function(n,r){return t.pipe(n,f.filterMapWithIndex(r))},H=function(n,r){return t.pipe(n,f.filterWithIndex(r))},K=function(n,r){return t.pipe(n,f.extend(r))},P=function(n){var r=f.traverse(n);return function(n,u){return t.pipe(n,r(u))}},Q=function(n){var r=f.traverseWithIndex(n);return function(n,u){return t.pipe(n,r(u))}};f._chainRecDepthFirst=function(n,r){return t.pipe(n,f.chainRecDepthFirst(r))},f._chainRecBreadthFirst=function(n,r){return t.pipe(n,f.chainRecBreadthFirst(r))},f.of=U.of,f.zero=function(){return f.empty},f.altW=function(n){return function(r){return r.concat(n())}},f.alt=f.altW,f.ap=function(n){return f.chain((function(r){return t.pipe(n,f.map(r))}))},f.chain=function(n){return function(r){return t.pipe(r,f.chainWithIndex((function(r,t){return n(t)})))}},f.flatten=f.chain(t.identity),f.map=function(n){return function(r){return r.map((function(r){return n(r)}))}},f.mapWithIndex=function(n){return function(r){return r.map((function(r,t){return n(t,r)}))}},f.separate=function(n){for(var r=[],t=[],u=0,e=n;u<e.length;u++){var o=e[u];"Left"===o._tag?r.push(o.left):t.push(o.right)}return p.separated(r,t)},f.filter=function(n){return function(r){return r.filter(n)}},f.filterMapWithIndex=function(n){return function(r){for(var t=[],u=0;u<r.length;u++){var e=n(u,r[u]);b.isSome(e)&&t.push(e.value)}return t}},f.filterMap=function(n){return f.filterMapWithIndex((function(r,t){return n(t)}))},f.compact=f.filterMap(t.identity),f.partition=function(n){return f.partitionWithIndex((function(r,t){return n(t)}))},f.partitionWithIndex=function(n){return function(r){for(var t=[],u=[],e=0;e<r.length;e++){var o=r[e];n(e,o)?u.push(o):t.push(o)}return p.separated(t,u)}},f.partitionMap=function(n){return f.partitionMapWithIndex((function(r,t){return n(t)}))},f.partitionMapWithIndex=function(n){return function(r){for(var t=[],u=[],e=0;e<r.length;e++){var o=n(e,r[e]);"Left"===o._tag?t.push(o.left):u.push(o.right)}return p.separated(t,u)}},f.filterWithIndex=function(n){return function(r){return r.filter((function(r,t){return n(t,r)}))}},f.extend=function(n){return function(r){return r.map((function(t,u){return n(r.slice(u))}))}},f.duplicate=f.extend(t.identity),f.foldMapWithIndex=function(n){return function(r){return function(t){return t.reduce((function(t,u,e){return n.concat(t,r(e,u))}),n.empty)}}},f.reduce=function(n,r){return f.reduceWithIndex(n,(function(n,t,u){return r(t,u)}))},f.foldMap=function(n){var r=f.foldMapWithIndex(n);return function(n){return r((function(r,t){return n(t)}))}},f.reduceWithIndex=function(n,r){return function(t){for(var u=t.length,e=n,o=0;o<u;o++)e=r(o,e,t[o]);return e}},f.reduceRight=function(n,r){return f.reduceRightWithIndex(n,(function(n,t,u){return r(t,u)}))},f.reduceRightWithIndex=function(n,r){return function(t){return t.reduceRight((function(n,t,u){return r(u,t,n)}),n)}},f.traverse=function(n){var r=f.traverseWithIndex(n);return function(n){return r((function(r,t){return n(t)}))}},f.sequence=function(n){return function(r){return T(r,n.of(f.zero()),(function(r,u){return n.ap(n.map(r,(function(n){return function(r){return t.pipe(n,f.append(r))}})),u)}))}},f.traverseWithIndex=function(n){return function(r){return f.reduceWithIndex(n.of(f.zero()),(function(u,e,o){return n.ap(n.map(e,(function(n){return function(r){return t.pipe(n,f.append(r))}})),r(u,o))}))}},f.wither=function(n){var r=V(n);return function(n){return function(t){return r(t,n)}}},f.wilt=function(n){var r=X(n);return function(n){return function(t){return r(t,n)}}},f.unfold=function(n,r){for(var t=[],u=n;;){var e=r(u);if(!b.isSome(e))break;var o=e.value,i=o[1];t.push(o[0]),u=i}return t},f.URI="ReadonlyArray",f.getShow=function(n){return{show:function(r){return"["+r.map(n.show).join(", ")+"]"}}},f.getSemigroup=function(){return{concat:function(n,r){return f.isEmpty(n)?r:f.isEmpty(r)?n:n.concat(r)}}},f.getMonoid=function(){return{concat:f.getSemigroup().concat,empty:f.empty}},f.getEq=function(n){return a.fromEquals((function(r,t){return r.length===t.length&&r.every((function(r,u){return n.equals(r,t[u])}))}))},f.getOrd=function(n){return v.fromCompare((function(r,t){for(var u=r.length,e=t.length,o=Math.min(u,e),i=0;i<o;i++){var c=n.compare(r[i],t[i]);if(0!==c)return c}return x.Ord.compare(u,e)}))},f.getUnionSemigroup=function(n){var r=j(n);return{concat:function(n,t){return r(t)(n)}}},f.getUnionMonoid=function(n){return{concat:f.getUnionSemigroup(n).concat,empty:f.empty}},f.getIntersectionSemigroup=function(n){var r=g(n);return{concat:function(n,t){return r(t)(n)}}},f.getDifferenceMagma=function(n){var r=_(n);return{concat:function(n,t){return r(t)(n)}}},f.Functor={URI:f.URI,map:y},f.flap=e.flap(f.Functor),f.Pointed={URI:f.URI,of:f.of},f.FunctorWithIndex={URI:f.URI,map:y,mapWithIndex:q},f.Apply={URI:f.URI,map:y,ap:w},f.apFirst=u.apFirst(f.Apply),f.apSecond=u.apSecond(f.Apply),f.Applicative={URI:f.URI,map:y,ap:w,of:f.of},f.Chain={URI:f.URI,map:y,ap:w,chain:z},f.Monad={URI:f.URI,map:y,ap:w,of:f.of,chain:z},f.chainFirst=o.chainFirst(f.Chain),f.Unfoldable={URI:f.URI,unfold:f.unfold},f.Alt={URI:f.URI,map:y,alt:C},f.Zero={URI:f.URI,zero:f.zero},f.guard=h.guard(f.Zero,f.Pointed),f.Alternative={URI:f.URI,map:y,ap:w,of:f.of,alt:C,zero:f.zero},f.Extend={URI:f.URI,map:y,extend:K},f.Compactable={URI:f.URI,compact:f.compact,separate:f.separate},f.Filterable={URI:f.URI,map:y,compact:f.compact,separate:f.separate,filter:A,filterMap:L,partition:E,partitionMap:N},f.FilterableWithIndex={URI:f.URI,map:y,mapWithIndex:q,compact:f.compact,separate:f.separate,filter:A,filterMap:L,partition:E,partitionMap:N,partitionMapWithIndex:k,partitionWithIndex:S,filterMapWithIndex:G,filterWithIndex:H},f.Foldable={URI:f.URI,reduce:T,foldMap:D,reduceRight:F},f.FoldableWithIndex={URI:f.URI,reduce:T,foldMap:D,reduceRight:F,reduceWithIndex:J,foldMapWithIndex:Z,reduceRightWithIndex:B},f.Traversable={URI:f.URI,map:y,reduce:T,foldMap:D,reduceRight:F,traverse:P,sequence:f.sequence},f.TraversableWithIndex={URI:f.URI,map:y,mapWithIndex:q,reduce:T,foldMap:D,reduceRight:F,reduceWithIndex:J,foldMapWithIndex:Z,reduceRightWithIndex:B,traverse:P,sequence:f.sequence,traverseWithIndex:Q},f.chainRecDepthFirst=function(n){return function(r){for(var t=M([],n(r)),u=[];t.length>0;){var e=t.shift();b.isLeft(e)?t.unshift.apply(t,n(e.left)):u.push(e.right)}return u}},f.ChainRecDepthFirst={URI:f.URI,map:y,ap:w,chain:z,chainRec:f._chainRecDepthFirst},f.chainRecBreadthFirst=function(n){return function(r){var t=n(r),u=[],e=[];function o(r){b.isLeft(r)?n(r.left).forEach((function(n){return u.push(n)})):e.push(r.right)}for(var i=0,c=t;i<c.length;i++)o(c[i]);for(;u.length>0;)o(u.shift());return e}},f.ChainRecBreadthFirst={URI:f.URI,map:y,ap:w,chain:z,chainRec:f._chainRecBreadthFirst};var V=l.witherDefault(f.Traversable,f.Compactable),X=l.wiltDefault(f.Traversable,f.Compactable);f.Witherable={URI:f.URI,map:y,compact:f.compact,separate:f.separate,filter:A,filterMap:L,partition:E,partitionMap:N,reduce:T,foldMap:D,reduceRight:F,traverse:P,sequence:f.sequence,wither:V,wilt:X},f.filterE=l.filterE(f.Witherable),f.FromEither={URI:f.URI,fromEither:f.fromEither},f.fromEitherK=c.fromEitherK(f.FromEither),f.unsafeInsertAt=U.unsafeInsertAt,f.unsafeUpdateAt=function(n,r,t){return f.isNonEmpty(t)?U.unsafeUpdateAt(n,r,t):t},f.unsafeDeleteAt=function(n,r){var t=r.slice();return t.splice(n,1),t},f.toArray=function(n){return n.slice()},f.fromArray=function(n){return f.isEmpty(n)?f.empty:n.slice()},f.empty=U.empty,f.every=function(n){return function(r){return r.every(n)}},f.some=function(n){return function(r){return r.some(n)}},f.exists=f.some,f.Do=f.of(b.emptyRecord),f.bindTo=e.bindTo(f.Functor),f.bind=o.bind(f.Chain),f.apS=u.apS(f.Apply),f.range=U.range,f.cons=U.cons,f.snoc=U.snoc,f.prependToAll=f.prependAll,f.readonlyArray={URI:f.URI,compact:f.compact,separate:f.separate,map:y,ap:w,of:f.of,chain:z,filter:A,filterMap:L,partition:E,partitionMap:N,mapWithIndex:q,partitionMapWithIndex:k,partitionWithIndex:S,filterMapWithIndex:G,filterWithIndex:H,alt:C,zero:f.zero,unfold:f.unfold,reduce:T,foldMap:D,reduceRight:F,traverse:P,sequence:f.sequence,reduceWithIndex:J,foldMapWithIndex:Z,reduceRightWithIndex:B,traverseWithIndex:Q,extend:K,wither:V,wilt:X}})),M=r((function(r,f){var a=n&&n.__createBinding||(Object.create?function(n,r,t,u){void 0===u&&(u=t),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[t]}})}:function(n,r,t,u){void 0===u&&(u=t),n[u]=r[t]}),v=n&&n.__setModuleDefault||(Object.create?function(n,r){Object.defineProperty(n,"default",{enumerable:!0,value:r})}:function(n,r){n.default=r}),d=n&&n.__importStar||function(n){if(n&&n.__esModule)return n;var r={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&a(r,n,t);return v(r,n),r};Object.defineProperty(f,"__esModule",{value:!0}),f.lefts=f.rights=f.reverse=f.modifyAt=f.deleteAt=f.updateAt=f.insertAt=f.copy=f.findLastIndex=f.findLastMap=f.findLast=f.findFirstMap=f.findFirst=f.findIndex=f.dropLeftWhile=f.dropRight=f.dropLeft=f.spanLeft=f.takeLeftWhile=f.takeRight=f.takeLeft=f.init=f.tail=f.last=f.head=f.lookup=f.isOutOfBound=f.size=f.scanRight=f.scanLeft=f.chainWithIndex=f.foldRight=f.matchRight=f.matchRightW=f.foldLeft=f.matchLeft=f.matchLeftW=f.match=f.matchW=f.fromEither=f.fromOption=f.fromPredicate=f.replicate=f.makeBy=f.appendW=f.append=f.prependW=f.prepend=f.isNonEmpty=f.isEmpty=void 0,f.traverseWithIndex=f.sequence=f.traverse=f.reduceRightWithIndex=f.reduceRight=f.reduceWithIndex=f.reduce=f.foldMapWithIndex=f.foldMap=f.duplicate=f.extend=f.filterWithIndex=f.alt=f.altW=f.partitionMapWithIndex=f.partitionMap=f.partitionWithIndex=f.partition=f.filter=f.separate=f.compact=f.filterMap=f.filterMapWithIndex=f.mapWithIndex=f.flatten=f.chain=f.ap=f.map=f.zero=f.of=f.difference=f.intersection=f.union=f.concat=f.concatW=f.comprehension=f.fromOptionK=f.chunksOf=f.splitAt=f.chop=f.sortBy=f.uniq=f.elem=f.rotate=f.intersperse=f.prependAll=f.unzip=f.zip=f.zipWith=f.sort=void 0,f.some=f.every=f.unsafeDeleteAt=f.unsafeUpdateAt=f.unsafeInsertAt=f.fromEitherK=f.FromEither=f.filterE=f.ChainRecBreadthFirst=f.chainRecBreadthFirst=f.ChainRecDepthFirst=f.chainRecDepthFirst=f.Witherable=f.TraversableWithIndex=f.Traversable=f.FoldableWithIndex=f.Foldable=f.FilterableWithIndex=f.Filterable=f.Compactable=f.Extend=f.Alternative=f.guard=f.Zero=f.Alt=f.Unfoldable=f.Monad=f.chainFirst=f.Chain=f.Applicative=f.apSecond=f.apFirst=f.Apply=f.FunctorWithIndex=f.Pointed=f.flap=f.Functor=f.getDifferenceMagma=f.getIntersectionSemigroup=f.getUnionMonoid=f.getUnionSemigroup=f.getOrd=f.getEq=f.getMonoid=f.getSemigroup=f.getShow=f.URI=f.unfold=f.wilt=f.wither=void 0,f.array=f.prependToAll=f.snoc=f.cons=f.empty=f.range=f.apS=f.bind=f.bindTo=f.Do=f.exists=void 0;var I=d(i),s=d(m),M=d(R);f.isEmpty=function(n){return 0===n.length},f.isNonEmpty=s.isNonEmpty,f.prepend=s.prepend,f.prependW=s.prependW,f.append=s.append,f.appendW=s.appendW,f.makeBy=function(n,r){return n<=0?[]:s.makeBy(r)(n)},f.replicate=function(n,r){return f.makeBy(n,(function(){return r}))},f.fromPredicate=function(n){return function(r){return n(r)?[r]:[]}},f.fromOption=function(n){return I.isNone(n)?[]:[n.value]},f.fromEither=function(n){return I.isLeft(n)?[]:[n.right]},f.matchW=function(n,r){return function(t){return f.isNonEmpty(t)?r(t):n()}},f.match=f.matchW,f.matchLeftW=function(n,r){return function(t){return f.isNonEmpty(t)?r(s.head(t),s.tail(t)):n()}},f.matchLeft=f.matchLeftW,f.foldLeft=f.matchLeft,f.matchRightW=function(n,r){return function(t){return f.isNonEmpty(t)?r(s.init(t),s.last(t)):n()}},f.matchRight=f.matchRightW,f.foldRight=f.matchRight,f.chainWithIndex=function(n){return function(r){for(var t=[],u=0;u<r.length;u++)t.push.apply(t,n(u,r[u]));return t}},f.scanLeft=function(n,r){return function(t){var u=t.length,e=new Array(u+1);e[0]=n;for(var o=0;o<u;o++)e[o+1]=r(e[o],t[o]);return e}},f.scanRight=function(n,r){return function(t){var u=t.length,e=new Array(u+1);e[u]=n;for(var o=u-1;o>=0;o--)e[o]=r(t[o],e[o+1]);return e}},f.size=function(n){return n.length},f.isOutOfBound=s.isOutOfBound,f.lookup=M.lookup,f.head=M.head,f.last=M.last,f.tail=function(n){return f.isNonEmpty(n)?I.some(s.tail(n)):I.none},f.init=function(n){return f.isNonEmpty(n)?I.some(s.init(n)):I.none},f.takeLeft=function(n){return function(r){return f.isOutOfBound(n,r)?f.copy(r):r.slice(0,n)}},f.takeRight=function(n){return function(r){return f.isOutOfBound(n,r)?f.copy(r):0===n?[]:r.slice(-n)}},f.takeLeftWhile=function(n){return function(r){for(var t=[],u=0,e=r;u<e.length;u++){var o=e[u];if(!n(o))break;t.push(o)}return t}};var b=function(n,r){for(var t=n.length,u=0;u<t&&r(n[u]);u++);return u};function x(n){var r=s.union(n);return function(t,u){if(void 0===u){var e=x(n);return function(n){return e(n,t)}}return f.isNonEmpty(t)&&f.isNonEmpty(u)?r(u)(t):f.isNonEmpty(t)?f.copy(t):f.copy(u)}}function U(n){var r=f.elem(n);return function(t,u){if(void 0===u){var e=U(n);return function(n){return e(n,t)}}return t.filter((function(n){return r(n,u)}))}}function W(n){var r=f.elem(n);return function(t,u){if(void 0===u){var e=W(n);return function(n){return e(n,t)}}return t.filter((function(n){return!r(n,u)}))}}f.spanLeft=function(n){return function(r){var t=f.splitAt(b(r,n))(r);return{init:t[0],rest:t[1]}}},f.dropLeft=function(n){return function(r){return n<=0||f.isEmpty(r)?f.copy(r):n>=r.length?[]:r.slice(n,r.length)}},f.dropRight=function(n){return function(r){return n<=0||f.isEmpty(r)?f.copy(r):n>=r.length?[]:r.slice(0,r.length-n)}},f.dropLeftWhile=function(n){return function(r){return r.slice(b(r,n))}},f.findIndex=M.findIndex,f.findFirst=function(n){return M.findFirst(n)},f.findFirstMap=M.findFirstMap,f.findLast=function(n){return M.findLast(n)},f.findLastMap=M.findLastMap,f.findLastIndex=M.findLastIndex,f.copy=function(n){return n.slice()},f.insertAt=function(n,r){return function(t){return n<0||n>t.length?I.none:I.some(f.unsafeInsertAt(n,r,t))}},f.updateAt=function(n,r){return f.modifyAt(n,(function(){return r}))},f.deleteAt=function(n){return function(r){return f.isOutOfBound(n,r)?I.none:I.some(f.unsafeDeleteAt(n,r))}},f.modifyAt=function(n,r){return function(t){return f.isOutOfBound(n,t)?I.none:I.some(f.unsafeUpdateAt(n,r(t[n]),t))}},f.reverse=function(n){return f.isEmpty(n)?[]:n.slice().reverse()},f.rights=function(n){for(var r=[],t=0;t<n.length;t++){var u=n[t];"Right"===u._tag&&r.push(u.right)}return r},f.lefts=function(n){for(var r=[],t=0;t<n.length;t++){var u=n[t];"Left"===u._tag&&r.push(u.left)}return r},f.sort=function(n){return function(r){return r.length<=1?f.copy(r):r.slice().sort(n.compare)}},f.zipWith=function(n,r,t){for(var u=[],e=Math.min(n.length,r.length),o=0;o<e;o++)u[o]=t(n[o],r[o]);return u},f.zip=function n(r,t){return void 0===t?function(t){return n(t,r)}:f.zipWith(r,t,(function(n,r){return[n,r]}))},f.unzip=function(n){for(var r=[],t=[],u=0;u<n.length;u++)r[u]=n[u][0],t[u]=n[u][1];return[r,t]},f.prependAll=function(n){var r=s.prependAll(n);return function(n){return f.isNonEmpty(n)?r(n):[]}},f.intersperse=function(n){var r=s.intersperse(n);return function(n){return f.isNonEmpty(n)?r(n):f.copy(n)}},f.rotate=function(n){var r=s.rotate(n);return function(n){return f.isNonEmpty(n)?r(n):f.copy(n)}},f.elem=M.elem,f.uniq=function(n){var r=s.uniq(n);return function(n){return f.isNonEmpty(n)?r(n):f.copy(n)}},f.sortBy=function(n){var r=s.sortBy(n);return function(n){return f.isNonEmpty(n)?r(n):f.copy(n)}},f.chop=function(n){var r=s.chop(n);return function(n){return f.isNonEmpty(n)?r(n):[]}},f.splitAt=function(n){return function(r){return n>=1&&f.isNonEmpty(r)?s.splitAt(n)(r):f.isEmpty(r)?[f.copy(r),[]]:[[],f.copy(r)]}},f.chunksOf=function(n){var r=s.chunksOf(n);return function(n){return f.isNonEmpty(n)?r(n):[]}},f.fromOptionK=function(n){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return f.fromOption(n.apply(void 0,r))}},f.comprehension=function(n,r,u){void 0===u&&(u=function(){return!0});var e=function(n,o){return f.isNonEmpty(o)?t.pipe(s.head(o),f.chain((function(r){return e(t.pipe(n,f.append(r)),s.tail(o))}))):u.apply(void 0,n)?[r.apply(void 0,n)]:[]};return e([],n)},f.concatW=function(n){return function(r){return f.isEmpty(r)?f.copy(n):f.isEmpty(n)?f.copy(r):r.concat(n)}},f.concat=f.concatW,f.union=x,f.intersection=U,f.difference=W;var O=function(n,r){return t.pipe(n,f.map(r))},j=function(n,r){return t.pipe(n,f.mapWithIndex(r))},g=function(n,r){return t.pipe(n,f.ap(r))},_=function(n,r){return t.pipe(n,f.chain(r))},y=function(n,r){return t.pipe(n,f.filter(r))},q=function(n,r){return t.pipe(n,f.filterMap(r))},w=function(n,r){return t.pipe(n,f.partition(r))},z=function(n,r){return t.pipe(n,f.partitionMap(r))},A=function(n,r){return t.pipe(n,f.partitionWithIndex(r))},L=function(n,r){return t.pipe(n,f.partitionMapWithIndex(r))},E=function(n,r){return t.pipe(n,f.alt(r))},N=function(n,r,u){return t.pipe(n,f.reduce(r,u))},S=function(n){var r=f.foldMap(n);return function(n,u){return t.pipe(n,r(u))}},k=function(n,r,u){return t.pipe(n,f.reduceRight(r,u))},C=function(n,r,u){return t.pipe(n,f.reduceWithIndex(r,u))},T=function(n){var r=f.foldMapWithIndex(n);return function(n,u){return t.pipe(n,r(u))}},D=function(n,r,u){return t.pipe(n,f.reduceRightWithIndex(r,u))},F=function(n,r){return t.pipe(n,f.filterMapWithIndex(r))},J=function(n,r){return t.pipe(n,f.filterWithIndex(r))},Z=function(n,r){return t.pipe(n,f.extend(r))},B=function(n){var r=f.traverse(n);return function(n,u){return t.pipe(n,r(u))}},G=function(n){var r=f.traverseWithIndex(n);return function(n,u){return t.pipe(n,r(u))}},H=M._chainRecDepthFirst,K=M._chainRecBreadthFirst;f.of=s.of,f.zero=function(){return[]},f.map=function(n){return function(r){return r.map((function(r){return n(r)}))}},f.ap=function(n){return f.chain((function(r){return t.pipe(n,f.map(r))}))},f.chain=function(n){return function(r){return t.pipe(r,f.chainWithIndex((function(r,t){return n(t)})))}},f.flatten=f.chain(t.identity),f.mapWithIndex=function(n){return function(r){return r.map((function(r,t){return n(t,r)}))}},f.filterMapWithIndex=function(n){return function(r){for(var t=[],u=0;u<r.length;u++){var e=n(u,r[u]);I.isSome(e)&&t.push(e.value)}return t}},f.filterMap=function(n){return f.filterMapWithIndex((function(r,t){return n(t)}))},f.compact=f.filterMap(t.identity),f.separate=function(n){for(var r=[],t=[],u=0,e=n;u<e.length;u++){var o=e[u];"Left"===o._tag?r.push(o.left):t.push(o.right)}return p.separated(r,t)},f.filter=function(n){return function(r){return r.filter(n)}},f.partition=function(n){return f.partitionWithIndex((function(r,t){return n(t)}))},f.partitionWithIndex=function(n){return function(r){for(var t=[],u=[],e=0;e<r.length;e++){var o=r[e];n(e,o)?u.push(o):t.push(o)}return p.separated(t,u)}},f.partitionMap=function(n){return f.partitionMapWithIndex((function(r,t){return n(t)}))},f.partitionMapWithIndex=function(n){return function(r){for(var t=[],u=[],e=0;e<r.length;e++){var o=n(e,r[e]);"Left"===o._tag?t.push(o.left):u.push(o.right)}return p.separated(t,u)}},f.altW=function(n){return function(r){return r.concat(n())}},f.alt=f.altW,f.filterWithIndex=function(n){return function(r){return r.filter((function(r,t){return n(t,r)}))}},f.extend=function(n){return function(r){return r.map((function(t,u){return n(r.slice(u))}))}},f.duplicate=f.extend(t.identity),f.foldMap=M.foldMap,f.foldMapWithIndex=M.foldMapWithIndex,f.reduce=M.reduce,f.reduceWithIndex=M.reduceWithIndex,f.reduceRight=M.reduceRight,f.reduceRightWithIndex=M.reduceRightWithIndex,f.traverse=function(n){var r=f.traverseWithIndex(n);return function(n){return r((function(r,t){return n(t)}))}},f.sequence=function(n){return function(r){return N(r,n.of(f.zero()),(function(r,u){return n.ap(n.map(r,(function(n){return function(r){return t.pipe(n,f.append(r))}})),u)}))}},f.traverseWithIndex=function(n){return function(r){return f.reduceWithIndex(n.of(f.zero()),(function(u,e,o){return n.ap(n.map(e,(function(n){return function(r){return t.pipe(n,f.append(r))}})),r(u,o))}))}},f.wither=function(n){var r=P(n);return function(n){return function(t){return r(t,n)}}},f.wilt=function(n){var r=Q(n);return function(n){return function(t){return r(t,n)}}},f.unfold=function(n,r){for(var t=[],u=n;;){var e=r(u);if(!I.isSome(e))break;var o=e.value,i=o[1];t.push(o[0]),u=i}return t},f.URI="Array",f.getShow=M.getShow,f.getSemigroup=function(){return{concat:function(n,r){return n.concat(r)}}},f.getMonoid=function(){return{concat:f.getSemigroup().concat,empty:[]}},f.getEq=M.getEq,f.getOrd=M.getOrd,f.getUnionSemigroup=function(n){var r=x(n);return{concat:function(n,t){return r(t)(n)}}},f.getUnionMonoid=function(n){return{concat:f.getUnionSemigroup(n).concat,empty:[]}},f.getIntersectionSemigroup=function(n){var r=U(n);return{concat:function(n,t){return r(t)(n)}}},f.getDifferenceMagma=function(n){var r=W(n);return{concat:function(n,t){return r(t)(n)}}},f.Functor={URI:f.URI,map:O},f.flap=e.flap(f.Functor),f.Pointed={URI:f.URI,of:f.of},f.FunctorWithIndex={URI:f.URI,map:O,mapWithIndex:j},f.Apply={URI:f.URI,map:O,ap:g},f.apFirst=u.apFirst(f.Apply),f.apSecond=u.apSecond(f.Apply),f.Applicative={URI:f.URI,map:O,ap:g,of:f.of},f.Chain={URI:f.URI,map:O,ap:g,chain:_},f.chainFirst=o.chainFirst(f.Chain),f.Monad={URI:f.URI,map:O,ap:g,of:f.of,chain:_},f.Unfoldable={URI:f.URI,unfold:f.unfold},f.Alt={URI:f.URI,map:O,alt:E},f.Zero={URI:f.URI,zero:f.zero},f.guard=h.guard(f.Zero,f.Pointed),f.Alternative={URI:f.URI,map:O,ap:g,of:f.of,alt:E,zero:f.zero},f.Extend={URI:f.URI,map:O,extend:Z},f.Compactable={URI:f.URI,compact:f.compact,separate:f.separate},f.Filterable={URI:f.URI,map:O,compact:f.compact,separate:f.separate,filter:y,filterMap:q,partition:w,partitionMap:z},f.FilterableWithIndex={URI:f.URI,map:O,mapWithIndex:j,compact:f.compact,separate:f.separate,filter:y,filterMap:q,partition:w,partitionMap:z,partitionMapWithIndex:L,partitionWithIndex:A,filterMapWithIndex:F,filterWithIndex:J},f.Foldable={URI:f.URI,reduce:N,foldMap:S,reduceRight:k},f.FoldableWithIndex={URI:f.URI,reduce:N,foldMap:S,reduceRight:k,reduceWithIndex:C,foldMapWithIndex:T,reduceRightWithIndex:D},f.Traversable={URI:f.URI,map:O,reduce:N,foldMap:S,reduceRight:k,traverse:B,sequence:f.sequence},f.TraversableWithIndex={URI:f.URI,map:O,mapWithIndex:j,reduce:N,foldMap:S,reduceRight:k,reduceWithIndex:C,foldMapWithIndex:T,reduceRightWithIndex:D,traverse:B,sequence:f.sequence,traverseWithIndex:G};var P=l.witherDefault(f.Traversable,f.Compactable),Q=l.wiltDefault(f.Traversable,f.Compactable);f.Witherable={URI:f.URI,map:O,compact:f.compact,separate:f.separate,filter:y,filterMap:q,partition:w,partitionMap:z,reduce:N,foldMap:S,reduceRight:k,traverse:B,sequence:f.sequence,wither:P,wilt:Q},f.chainRecDepthFirst=M.chainRecDepthFirst,f.ChainRecDepthFirst={URI:f.URI,map:O,ap:g,chain:_,chainRec:H},f.chainRecBreadthFirst=M.chainRecBreadthFirst,f.ChainRecBreadthFirst={URI:f.URI,map:O,ap:g,chain:_,chainRec:K},f.filterE=l.filterE(f.Witherable),f.FromEither={URI:f.URI,fromEither:f.fromEither},f.fromEitherK=c.fromEitherK(f.FromEither),f.unsafeInsertAt=s.unsafeInsertAt,f.unsafeUpdateAt=function(n,r,t){return f.isNonEmpty(t)?s.unsafeUpdateAt(n,r,t):[]},f.unsafeDeleteAt=function(n,r){var t=r.slice();return t.splice(n,1),t},f.every=M.every,f.some=function(n){return function(r){return r.some(n)}},f.exists=f.some,f.Do=f.of(I.emptyRecord),f.bindTo=e.bindTo(f.Functor),f.bind=o.bind(f.Chain),f.apS=u.apS(f.Apply),f.range=s.range,f.empty=[],f.cons=s.cons,f.snoc=s.snoc,f.prependToAll=f.prependAll,f.array={URI:f.URI,compact:f.compact,separate:f.separate,map:O,ap:g,of:f.of,chain:_,filter:y,filterMap:q,partition:w,partitionMap:z,mapWithIndex:j,partitionMapWithIndex:L,partitionWithIndex:A,filterMapWithIndex:F,filterWithIndex:J,alt:E,zero:f.zero,unfold:f.unfold,reduce:N,foldMap:S,reduceRight:k,traverse:B,sequence:f.sequence,reduceWithIndex:C,foldMapWithIndex:T,reduceRightWithIndex:D,traverseWithIndex:G,extend:Z,wither:P,wilt:Q}}));export{u as A,o as C,e as F,m as N,v as O,d as S,l as W,h as Z,t as _,c as a,n as b,r as c,p as d,M as e,i,I as n}
|