monica-alexandria 3.65.26 → 3.65.28
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/index.es.js +159 -103
- package/dist/index.js +170 -114
- package/package.json +1 -1
- package/src/export/components/loader/Main_Loader.js +38 -85
- package/src/export/components/loader/Text_Loader.js +124 -0
- package/src/export/components/loader/index.js +1 -0
- package/src/export/components/slider/Slider_.js +10 -7
- package/src/stories/loader/TextLoader.stories.jsx +11 -0
package/dist/index.es.js
CHANGED
|
@@ -1931,7 +1931,7 @@ object-assign
|
|
|
1931
1931
|
background: ${e=>e.theme.low};
|
|
1932
1932
|
height: 100%;
|
|
1933
1933
|
overflow: auto;
|
|
1934
|
-
`,el=t=>e.createElement(Kc,{storybook:t.storybook,className:t.className+" Slider"},e.createElement(Yc,{storybook:t.storybook,className:"StoryBook_Fix2",onClick:t.onClose}),e.createElement(Xc,{storybook:t.storybook,className:"SliderWrapper"},e.createElement(Jc,{grey:t.grey,className:"SliderTitle"},t.iconGreyRight||t.iconGreyLeft?e.createElement(S,{id:t.idGrey,text:t.grey,iconRight:t.iconGreyRight?t.iconGreyRight:null,iconLeft:t.iconGreyLeft?t.iconGreyLeft:null,size:"normal",onClick:t.onGrey}):null,e.createElement("h3",null,t.title),e.createElement(D,{id:t.id,text:t.text,iconRight:t.icon?t.icon:"Check",size:"normal",onClick:t.onClick})),e.createElement(Qc,{className:"SliderContainer"},t.children))),tl=m.div`
|
|
1934
|
+
`,el=t=>e.createElement(Kc,{storybook:t.storybook,className:t.className+" Slider"},e.createElement(Yc,{storybook:t.storybook,className:"StoryBook_Fix2",onClick:t.onClose}),e.createElement(Xc,{storybook:t.storybook,className:"SliderWrapper"},e.createElement(Jc,{grey:t.grey,className:"SliderTitle"},t.iconGreyRight||t.iconGreyLeft?e.createElement(S,{id:t.idGrey,text:t.grey,iconRight:t.iconGreyRight?t.iconGreyRight:null,iconLeft:t.iconGreyLeft?t.iconGreyLeft:null,size:"normal",onClick:t.onGrey}):null,e.createElement("h3",null,t.title),t.onClick?e.createElement(D,{id:t.id,text:t.text,iconRight:t.icon?t.icon:"Check",size:"normal",onClick:t.onClick}):null),e.createElement(Qc,{className:"SliderContainer"},t.children))),tl=m.div`
|
|
1935
1935
|
display: grid;
|
|
1936
1936
|
grid-gap: 2rem;
|
|
1937
1937
|
padding-bottom: 4rem;
|
|
@@ -2080,62 +2080,118 @@ object-assign
|
|
|
2080
2080
|
overflow: hidden;
|
|
2081
2081
|
justify-content: center;
|
|
2082
2082
|
`,Cl=t=>e.createElement(_l,{key:t.key},e.createElement(kl,null,e.createElement(xl,null)),t.children),Ml=m(rl)``,Sl=n=>{const[r,a]=t((()=>{const e=window.innerWidth;return e>K.lg?10:e<=K.lg&&e>K.md?6:e<=K.md&&e>K.sm?4:2})()),o=e=>{e>K.lg?a(10):e<=K.lg&&e>K.md?a(6):e<=K.md&&e>K.sm?a(4):e<=K.sm&&a(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),e.createElement(Ml,null,[...Array(r)].map((t=>e.createElement(Cl,{key:t,children:n.children,circle:n.circle}))))},Ll=m(ol)``,Al=n=>{const[r,o]=t(),i=e=>{e>K.xl?o(6):e<=K.xl&&e>K.md?o(4):e<=K.md&&e>K.sm?o(6):e<=K.sm&&e>K.xs?o(4):e<K.xs&&o(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;i(e)})),a((()=>{let e=window.innerWidth;i(e)}),[]),e.createElement(Ll,null,[...Array(r)]?.map((t=>e.createElement(Cl,{key:t,children:n.children,circle:n.circle}))))},Ol=m(al)``,Dl=n=>{const[r,a]=t(),o=e=>{e>K.xl?a(4):e<=K.xl&&e>K.md&&a(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),e.createElement(Ol,null,[...Array(r)]?.map((t=>e.createElement(Cl,{key:t,children:n.children,circle:n.circle}))))},Il=p`
|
|
2083
|
+
0%{
|
|
2084
|
+
opacity: 1;
|
|
2085
|
+
transform: translateX(-100%);
|
|
2086
|
+
background: var(--main);
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
25%{
|
|
2090
|
+
opacity: 0.3;
|
|
2091
|
+
background: var(--focus);
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
50%{
|
|
2095
|
+
opacity: 1;
|
|
2096
|
+
background: var(--main);
|
|
2097
|
+
transform: translateX(+100%);
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
75%{
|
|
2101
|
+
opacity: 0.3;
|
|
2102
|
+
background: var(--focus);
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
100%{
|
|
2106
|
+
opacity: 1;
|
|
2107
|
+
transform: translateX(-100%);
|
|
2108
|
+
background: var(--main);
|
|
2109
|
+
}
|
|
2110
|
+
`,Nl=m.div`
|
|
2111
|
+
position: fixed;
|
|
2112
|
+
top: 6rem;
|
|
2113
|
+
left: 0;
|
|
2114
|
+
height: calc(100vh - 6rem);
|
|
2115
|
+
width: 100%;
|
|
2116
|
+
background: ${e=>e.theme.low};
|
|
2117
|
+
z-index: 10000;
|
|
2118
|
+
|
|
2119
|
+
main {
|
|
2120
|
+
height: 2px;
|
|
2121
|
+
width: 100%;
|
|
2122
|
+
position: fixed;
|
|
2123
|
+
top: 6rem;
|
|
2124
|
+
left: 0;
|
|
2125
|
+
animation: ${Il} 3s infinite;
|
|
2126
|
+
animation-timing-function: linear;
|
|
2127
|
+
}
|
|
2128
|
+
`,Tl=t=>e.createElement(Nl,null,e.createElement("main",null)),jl=p`
|
|
2083
2129
|
0%{transform: rotate(0deg);}
|
|
2084
2130
|
25%{transform: rotate(90deg)}
|
|
2085
2131
|
50%{transform: rotate(180deg)}
|
|
2086
2132
|
75%{transform: rotate(270deg)}
|
|
2087
2133
|
100%{transform: rotate(360deg);}
|
|
2088
|
-
|
|
2134
|
+
`,$l=p`
|
|
2089
2135
|
0%{transform: rotate(0deg);}
|
|
2090
2136
|
25%{transform: rotate(-90deg)}
|
|
2091
2137
|
50%{transform: rotate(-180deg)}
|
|
2092
2138
|
75%{transform: rotate(-270deg)}
|
|
2093
2139
|
100%{transform: rotate(-360deg);}
|
|
2094
|
-
`,
|
|
2140
|
+
`,Rl=p`
|
|
2095
2141
|
0%{transform: translate(0, 0)}
|
|
2096
|
-
50%{transform: translate(-.
|
|
2142
|
+
50%{transform: translate(-.1rem, -.1rem)}
|
|
2097
2143
|
100%{transform: translate(0, 0)}
|
|
2098
|
-
`,
|
|
2144
|
+
`,Pl=p`
|
|
2099
2145
|
0%{transform: translate(0, 0)}
|
|
2100
|
-
50%{transform: translate(.
|
|
2146
|
+
50%{transform: translate(.1rem, .1rem)}
|
|
2101
2147
|
100%{transform: translate(0, 0)}
|
|
2102
|
-
|
|
2148
|
+
`,zl=p`
|
|
2149
|
+
0%{opacity: 1}
|
|
2150
|
+
50%{opacity: .3}
|
|
2151
|
+
100%{opacity: 1}
|
|
2152
|
+
`,Fl=m.div`
|
|
2103
2153
|
position: fixed;
|
|
2104
2154
|
top: 0;
|
|
2105
2155
|
left: 0;
|
|
2106
2156
|
height: 100vh;
|
|
2107
2157
|
width: 100%;
|
|
2108
|
-
background: ${e=>e.theme.
|
|
2158
|
+
background: ${e=>e.theme.low};
|
|
2109
2159
|
z-index: 10000;
|
|
2110
2160
|
|
|
2111
2161
|
main {
|
|
2112
2162
|
position: fixed;
|
|
2113
|
-
top:
|
|
2114
|
-
left:
|
|
2115
|
-
|
|
2116
|
-
height: 20rem;
|
|
2163
|
+
top: 2rem;
|
|
2164
|
+
left: 2rem;
|
|
2165
|
+
height: 3rem;
|
|
2117
2166
|
}
|
|
2118
|
-
`,
|
|
2167
|
+
`,Vl=m.div`
|
|
2168
|
+
position: fixed;
|
|
2169
|
+
top: 2.5rem;
|
|
2170
|
+
left: 6rem;
|
|
2171
|
+
width: calc(100vw - 7rem);
|
|
2172
|
+
animation: ${zl} 3s infinite;
|
|
2173
|
+
animation-timing-function: linear;
|
|
2174
|
+
`,Bl=m.img`
|
|
2119
2175
|
height: 100%;
|
|
2120
2176
|
width: 100%;
|
|
2121
|
-
animation: ${
|
|
2177
|
+
animation: ${jl} 3s infinite;
|
|
2122
2178
|
animation-timing-function: linear;
|
|
2123
|
-
`,
|
|
2179
|
+
`,Hl=m.img`
|
|
2124
2180
|
height: 100%;
|
|
2125
2181
|
width: 100%;
|
|
2126
|
-
animation: ${
|
|
2182
|
+
animation: ${$l} 3s infinite;
|
|
2127
2183
|
animation-timing-function: linear;
|
|
2128
|
-
`,
|
|
2184
|
+
`,Zl=m.img`
|
|
2129
2185
|
height: 100%;
|
|
2130
2186
|
width: 100%;
|
|
2131
|
-
animation: ${
|
|
2187
|
+
animation: ${Pl} 4s infinite;
|
|
2132
2188
|
animation-timing-function: linear;
|
|
2133
|
-
`,
|
|
2189
|
+
`,Wl=m.img`
|
|
2134
2190
|
height: 100%;
|
|
2135
2191
|
width: 100%;
|
|
2136
|
-
animation: ${
|
|
2192
|
+
animation: ${Rl} 4s infinite;
|
|
2137
2193
|
animation-timing-function: linear;
|
|
2138
|
-
`,
|
|
2194
|
+
`,Gl=t=>e.createElement(Fl,null,e.createElement("main",null,e.createElement(Bl,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),e.createElement("main",null,e.createElement(Hl,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),e.createElement("main",null,e.createElement(Zl,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),e.createElement("main",null,e.createElement(Wl,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),e.createElement(Vl,null,e.createElement("h6",null,t.text))),Ul=p`
|
|
2139
2195
|
0% {
|
|
2140
2196
|
transform: translate(-100%);
|
|
2141
2197
|
}
|
|
@@ -2147,7 +2203,7 @@ object-assign
|
|
|
2147
2203
|
90%{
|
|
2148
2204
|
transform: translate(0%);
|
|
2149
2205
|
}
|
|
2150
|
-
`,
|
|
2206
|
+
`,ql=p`
|
|
2151
2207
|
0% {
|
|
2152
2208
|
opacity: 0;
|
|
2153
2209
|
transform: rotate(0deg);
|
|
@@ -2165,7 +2221,7 @@ object-assign
|
|
|
2165
2221
|
opacity: 0;
|
|
2166
2222
|
transform: rotate(360deg);
|
|
2167
2223
|
}
|
|
2168
|
-
`,
|
|
2224
|
+
`,Kl=m.ul`
|
|
2169
2225
|
position: ${e=>e.storybook?"static":"fixed"};
|
|
2170
2226
|
max-height: 11.5rem;
|
|
2171
2227
|
overflow: hidden;
|
|
@@ -2176,7 +2232,7 @@ object-assign
|
|
|
2176
2232
|
flex-direction: column;
|
|
2177
2233
|
justify-content: flex-end;
|
|
2178
2234
|
gap: 1rem;
|
|
2179
|
-
`,
|
|
2235
|
+
`,Yl=m.li`
|
|
2180
2236
|
display: grid;
|
|
2181
2237
|
grid-template-columns: auto 1fr;
|
|
2182
2238
|
align-items: flex-start;
|
|
@@ -2184,27 +2240,27 @@ object-assign
|
|
|
2184
2240
|
padding: 0.5rem 1rem;
|
|
2185
2241
|
border-radius: 1rem;
|
|
2186
2242
|
max-width: calc(100vw - 2rem);
|
|
2187
|
-
animation: ${
|
|
2243
|
+
animation: ${Ul} 1s linear;
|
|
2188
2244
|
background: ${e=>"Error"===e.status?"var(--error)":"Loading"===e.status?"var(--warning)":"var(--success)"};
|
|
2189
2245
|
|
|
2190
2246
|
.Loading {
|
|
2191
|
-
animation: ${
|
|
2247
|
+
animation: ${ql} infinite 2s linear;
|
|
2192
2248
|
}
|
|
2193
|
-
`,
|
|
2249
|
+
`,Xl=m.div`
|
|
2194
2250
|
display: flex;
|
|
2195
2251
|
align-items: center;
|
|
2196
2252
|
|
|
2197
2253
|
h6 {
|
|
2198
2254
|
color: var(--white) !important;
|
|
2199
2255
|
}
|
|
2200
|
-
`,
|
|
2256
|
+
`,Jl=m.div`
|
|
2201
2257
|
width: 1.6rem;
|
|
2202
2258
|
|
|
2203
2259
|
svg {
|
|
2204
2260
|
fill: var(--white);
|
|
2205
2261
|
width: 100%;
|
|
2206
2262
|
}
|
|
2207
|
-
`,
|
|
2263
|
+
`,Ql=t=>{const{alerts:n,setAlerts:o}=r(mt),c=i([]);return a((()=>(n.forEach((e=>{(e=>{let n=t.duration?t.duration:2e3;const r=setTimeout((()=>{o((t=>t.filter((t=>t.id!==e))))}),n);c.current.push(r)})(e.id)})),()=>{c.current.forEach((e=>clearTimeout(e))),c.current=[]})),[n]),e.createElement(Kl,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((t,n)=>e.createElement(Yl,{status:t.message.status,key:n},e.createElement(Jl,null,e.createElement(b,{class_Icon:"Loading"===t.message.status?"Loading":"",Icon:"Error"===t.message.status?"Xicon":"Loading"===t.message.status?"Loading":"Check"})),e.createElement(Xl,null,e.createElement("h6",null,t.message.text))))))},es=m.div`
|
|
2208
2264
|
padding-top: 6rem;
|
|
2209
2265
|
position: relative;
|
|
2210
2266
|
|
|
@@ -2212,13 +2268,13 @@ object-assign
|
|
|
2212
2268
|
height: calc(100vh - 6rem);
|
|
2213
2269
|
overflow: hidden;
|
|
2214
2270
|
}
|
|
2215
|
-
`,
|
|
2271
|
+
`,ts=m.div`
|
|
2216
2272
|
padding: 0 4rem;
|
|
2217
2273
|
|
|
2218
2274
|
@media ${Y.md} {
|
|
2219
2275
|
padding: 0 2rem;
|
|
2220
2276
|
}
|
|
2221
|
-
`,
|
|
2277
|
+
`,ns=m.div`
|
|
2222
2278
|
display: grid;
|
|
2223
2279
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
2224
2280
|
grid-gap: 4rem;
|
|
@@ -2228,7 +2284,7 @@ object-assign
|
|
|
2228
2284
|
grid-template-columns: 1fr;
|
|
2229
2285
|
padding: 0 2rem;
|
|
2230
2286
|
}
|
|
2231
|
-
`,
|
|
2287
|
+
`,rs=m.div`
|
|
2232
2288
|
display: grid;
|
|
2233
2289
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
2234
2290
|
grid-gap: 4rem;
|
|
@@ -2238,13 +2294,13 @@ object-assign
|
|
|
2238
2294
|
grid-template-columns: 1fr;
|
|
2239
2295
|
padding: 0 2rem;
|
|
2240
2296
|
}
|
|
2241
|
-
`,
|
|
2297
|
+
`,as=m.div`
|
|
2242
2298
|
padding: 0 4rem 2rem 13rem;
|
|
2243
2299
|
|
|
2244
2300
|
@media ${Y.sm} {
|
|
2245
2301
|
padding: 0 2rem;
|
|
2246
2302
|
}
|
|
2247
|
-
`,
|
|
2303
|
+
`,os=m.div`
|
|
2248
2304
|
display: grid;
|
|
2249
2305
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
2250
2306
|
grid-gap: 4rem;
|
|
@@ -2257,7 +2313,7 @@ object-assign
|
|
|
2257
2313
|
@media ${Y.sm} {
|
|
2258
2314
|
padding: 0 2rem;
|
|
2259
2315
|
}
|
|
2260
|
-
`,
|
|
2316
|
+
`,is=m.div`
|
|
2261
2317
|
display: grid;
|
|
2262
2318
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
2263
2319
|
grid-gap: 4rem;
|
|
@@ -2270,40 +2326,40 @@ object-assign
|
|
|
2270
2326
|
@media ${Y.sm} {
|
|
2271
2327
|
padding: 0 2rem;
|
|
2272
2328
|
}
|
|
2273
|
-
`,
|
|
2329
|
+
`,cs=m.div`
|
|
2274
2330
|
width: 100%;
|
|
2275
2331
|
padding-bottom: 4rem;
|
|
2276
|
-
`,
|
|
2332
|
+
`,ls=m.div`
|
|
2277
2333
|
width: 100%;
|
|
2278
2334
|
|
|
2279
2335
|
@media ${Y.md} {
|
|
2280
2336
|
display: none;
|
|
2281
2337
|
}
|
|
2282
|
-
`,
|
|
2338
|
+
`,ss=m.div`
|
|
2283
2339
|
padding-top: 8rem;
|
|
2284
2340
|
|
|
2285
2341
|
@media ${Y.md} {
|
|
2286
2342
|
padding-top: 0;
|
|
2287
2343
|
}
|
|
2288
|
-
`,
|
|
2344
|
+
`,us=m.div`
|
|
2289
2345
|
padding: 2rem 0;
|
|
2290
2346
|
display: flex;
|
|
2291
2347
|
flex-wrap: wrap;
|
|
2292
2348
|
align-items: center;
|
|
2293
2349
|
gap: 1rem;
|
|
2294
2350
|
justify-content: ${e=>e.cta?"space-between":"flex-start"};
|
|
2295
|
-
`,
|
|
2351
|
+
`,ds=m.div`
|
|
2296
2352
|
padding: 0 0 2rem 0;
|
|
2297
|
-
`,
|
|
2353
|
+
`,fs=m.div``,ms=m.div`
|
|
2298
2354
|
position: relative;
|
|
2299
2355
|
|
|
2300
2356
|
header {
|
|
2301
2357
|
}
|
|
2302
|
-
`,
|
|
2358
|
+
`,ps=m.div`
|
|
2303
2359
|
padding-left: 4rem;
|
|
2304
|
-
`,
|
|
2360
|
+
`,hs=m.div`
|
|
2305
2361
|
padding-right: 4rem;
|
|
2306
|
-
`,
|
|
2362
|
+
`,gs=m(ns)`
|
|
2307
2363
|
padding: 0;
|
|
2308
2364
|
|
|
2309
2365
|
aside {
|
|
@@ -2353,7 +2409,7 @@ object-assign
|
|
|
2353
2409
|
flex-direction: column;
|
|
2354
2410
|
gap: 4rem;
|
|
2355
2411
|
}
|
|
2356
|
-
`,
|
|
2412
|
+
`,vs=m.div`
|
|
2357
2413
|
height: calc(100vh - 8rem);
|
|
2358
2414
|
display: flex;
|
|
2359
2415
|
align-items: flex-start;
|
|
@@ -2370,9 +2426,9 @@ object-assign
|
|
|
2370
2426
|
position: sticky;
|
|
2371
2427
|
top: 10rem;
|
|
2372
2428
|
}
|
|
2373
|
-
`,
|
|
2429
|
+
`,ys=m(ns)`
|
|
2374
2430
|
width: 100%;
|
|
2375
|
-
`,
|
|
2431
|
+
`,bs=m.div`
|
|
2376
2432
|
|
|
2377
2433
|
h2{
|
|
2378
2434
|
color: var(--greyDark) !important;
|
|
@@ -2383,11 +2439,11 @@ object-assign
|
|
|
2383
2439
|
margin-bottom: 4rem;
|
|
2384
2440
|
color: var(--greyDark) !important;
|
|
2385
2441
|
}
|
|
2386
|
-
`,
|
|
2442
|
+
`,ws=t=>e.createElement(ys,null,e.createElement(cs,null,e.createElement(us,null,e.createElement("h1",null,t.title)),e.createElement(bs,null,e.createElement("h2",null,t.subtitle),e.createElement("h3",null,t.text),t.textMain||t.textGrey?e.createElement(V,null,t.textGrey?e.createElement(S,{className:t.className,id:t.id,text:t.textGrey,noPadding:!0,onClick:t.onClickGrey,iconLeft:t.iconGrey}):null,t.textMain?e.createElement(D,{className:t.className,id:t.id,text:t.textMain,noPadding:!0,onClick:t.onClickMain,iconRight:t.iconMain}):null):null)),e.createElement(cs,null,e.createElement(vs,null,e.createElement("img",{src:t.backgroundImage,alt:t.backgroundAlt})))),Es=m.div`
|
|
2387
2443
|
margin: 2rem 0;
|
|
2388
2444
|
display: ${e=>e.onEdit?"flex":"block"};
|
|
2389
2445
|
align-items: center;
|
|
2390
|
-
`,
|
|
2446
|
+
`,_s=m.div`
|
|
2391
2447
|
background: ${e=>e.theme.mid};
|
|
2392
2448
|
padding: var(--normalPads);
|
|
2393
2449
|
border-radius: var(--smallRadius);
|
|
@@ -2396,7 +2452,7 @@ object-assign
|
|
|
2396
2452
|
align-items: center;
|
|
2397
2453
|
justify-content: space-between;
|
|
2398
2454
|
gap: 1rem;
|
|
2399
|
-
`,
|
|
2455
|
+
`,xs=m.div`
|
|
2400
2456
|
display: flex;
|
|
2401
2457
|
align-items: center;
|
|
2402
2458
|
gap: 1rem;
|
|
@@ -2406,7 +2462,7 @@ object-assign
|
|
|
2406
2462
|
svg {
|
|
2407
2463
|
width: 1.8rem;
|
|
2408
2464
|
}
|
|
2409
|
-
`,
|
|
2465
|
+
`,ks=m.h4``,Cs=m.h4``,Ms=t=>e.createElement(Es,{onEdit:t.onEdit},e.createElement(_s,null,e.createElement(xs,null,t.icon?e.createElement(b,{Icon:t.icon}):t.img?e.createElement("img",{src:t.img}):null,e.createElement(ks,null,t.text)),e.createElement(Cs,null,t.value)),t.onEdit?e.createElement(N,{iconLeft:"Edit",onClick:t.onEdit}):null),Ss=m(Xe)`
|
|
2410
2466
|
margin-bottom: 4rem;
|
|
2411
2467
|
position: sticky;
|
|
2412
2468
|
top: 2rem;
|
|
@@ -2415,12 +2471,12 @@ object-assign
|
|
|
2415
2471
|
align-items: center;
|
|
2416
2472
|
grid-template-columns: 1fr auto;
|
|
2417
2473
|
grid-gap: 2rem;
|
|
2418
|
-
`,
|
|
2474
|
+
`,Ls=t=>e.createElement(Ss,null,e.createElement(Mt,{title:t.inputTitle},t.children),e.createElement(D,{id:t.id,text:t.filters,iconRight:t.iconFilters?t.iconFilters:"Filter",onClick:t.onFilters})),As=m(Xe)`
|
|
2419
2475
|
margin-bottom: 4rem;
|
|
2420
2476
|
position: sticky;
|
|
2421
2477
|
top: 2rem;
|
|
2422
2478
|
z-index: 5;
|
|
2423
|
-
`,
|
|
2479
|
+
`,Os=t=>e.createElement(As,null,e.createElement(Mt,{title:t.title},t.children)),Ds=m.div`
|
|
2424
2480
|
width: 100%;
|
|
2425
2481
|
background: ${e=>e.theme.background};
|
|
2426
2482
|
color: ${e=>e.theme.color};
|
|
@@ -2435,16 +2491,16 @@ object-assign
|
|
|
2435
2491
|
transition: box-shadow 0.5s;
|
|
2436
2492
|
box-shadow: ${e=>e.theme.outFocus};
|
|
2437
2493
|
}
|
|
2438
|
-
`,
|
|
2494
|
+
`,Is=m.div``,Ns=m.h1`
|
|
2439
2495
|
color: ${e=>"focus"==e.variant?"var(--focus)":"main"==e.variant?"var(--main)":"inherit"} !important;
|
|
2440
|
-
`,
|
|
2496
|
+
`,Ts=m.h6``,js=m.div`
|
|
2441
2497
|
display: flex;
|
|
2442
2498
|
align-items: flex-end;
|
|
2443
2499
|
justify-content: space-between;
|
|
2444
2500
|
gap: 1rem;
|
|
2445
|
-
|
|
2501
|
+
`,$s=m.h6`
|
|
2446
2502
|
color: ${e=>e.theme.high};
|
|
2447
|
-
`,
|
|
2503
|
+
`,Rs=t=>e.createElement(Ds,{className:t.className+" OnStat",id:t.id,onClick:t.onClick},e.createElement(Is,{className:"OnStatTop"},e.createElement(Ts,null,t.title),e.createElement(Ns,{variant:t.variant},t.text)),e.createElement(js,{className:"OnStatBottom"},e.createElement($s,null,t.edited),e.createElement(N,{iconLeft:t.btnIcon,text:t.btnText,noPadding:!0}))),Ps=m.div`
|
|
2448
2504
|
display: grid;
|
|
2449
2505
|
grid-template-columns: 1fr auto;
|
|
2450
2506
|
grid-gap: 2rem;
|
|
@@ -2456,7 +2512,7 @@ object-assign
|
|
|
2456
2512
|
transition: box-shadow 0.5s;
|
|
2457
2513
|
overflow: hidden;
|
|
2458
2514
|
padding: var(--largePads);
|
|
2459
|
-
`,
|
|
2515
|
+
`,zs=m.div``,Fs=m.h6``,Vs=m.h1``,Bs=m.div``,Hs=m.div`
|
|
2460
2516
|
width: 5rem;
|
|
2461
2517
|
height: 5rem;
|
|
2462
2518
|
padding: 1rem;
|
|
@@ -2466,7 +2522,7 @@ object-assign
|
|
|
2466
2522
|
width: 100%;
|
|
2467
2523
|
fill: ${e=>e.theme.high};
|
|
2468
2524
|
}
|
|
2469
|
-
`,
|
|
2525
|
+
`,Zs=m.div`
|
|
2470
2526
|
width: 5rem;
|
|
2471
2527
|
height: 5rem;
|
|
2472
2528
|
border-radius: 50%;
|
|
@@ -2477,7 +2533,7 @@ object-assign
|
|
|
2477
2533
|
width: 100%;
|
|
2478
2534
|
object-fit: ${e=>"Contain"===e.imgBehave?"contain":"cover"};
|
|
2479
2535
|
}
|
|
2480
|
-
`,
|
|
2536
|
+
`,Ws=t=>e.createElement(Ps,{className:t.className+" Stat"},e.createElement(zs,{className:"StatLeft"},e.createElement(Fs,null,t.title),e.createElement(Vs,null,t.text),t.children),e.createElement(Bs,{className:"StatRight"},t.img?e.createElement(Zs,null,e.createElement("img",{src:t.img})):e.createElement(Hs,null,e.createElement(b,{Icon:t.icon})))),Gs=m(q)`
|
|
2481
2537
|
cursor: pointer;
|
|
2482
2538
|
gap: 1rem;
|
|
2483
2539
|
align-items: center;
|
|
@@ -2493,7 +2549,7 @@ object-assign
|
|
|
2493
2549
|
transition: box-shadow 0.5s;
|
|
2494
2550
|
box-shadow: ${e=>e.theme.outFocus};
|
|
2495
2551
|
}
|
|
2496
|
-
`;m(ec)``;const Bs=t=>e.createElement(Vs,{className:t.className+" ToggleStat",id:t.id,onClick:t.onClick,active:t.active},e.createElement("h5",null,t.text),e.createElement(nc,{active:t.active}));function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hs.apply(this,arguments)}function Zs(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function c(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}l((r=r.apply(e,t||[])).next())}))}function Ws(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function Gs(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function Us(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var qs=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Ks(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=qs.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var Ys=[".DS_Store","Thumbs.db"];function Xs(e){return"object"==typeof e&&null!==e}function Js(e){return nu(e.target.files).map((function(e){return Ks(e)}))}function Qs(e){return Zs(this,void 0,void 0,(function(){return Ws(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return Ks(e)}))]}}))}))}function eu(e,t){return Zs(this,void 0,void 0,(function(){var n;return Ws(this,(function(r){switch(r.label){case 0:return e.items?(n=nu(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(ru))]):[3,2];case 1:return[2,tu(au(r.sent()))];case 2:return[2,tu(nu(e.files).map((function(e){return Ks(e)})))]}}))}))}function tu(e){return e.filter((function(e){return-1===Ys.indexOf(e.name)}))}function nu(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function ru(e){if("function"!=typeof e.webkitGetAsEntry)return ou(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?cu(t):ou(e)}function au(e){return e.reduce((function(e,t){return Us(Us([],Gs(e),!1),Gs(Array.isArray(t)?au(t):[t]),!1)}),[])}function ou(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=Ks(t);return Promise.resolve(n)}function iu(e){return Zs(this,void 0,void 0,(function(){return Ws(this,(function(t){return[2,e.isDirectory?cu(e):lu(e)]}))}))}function cu(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function a(){var o=this;t.readEntries((function(t){return Zs(o,void 0,void 0,(function(){var o,i,c;return Ws(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=l.sent(),e(o),[3,4];case 3:return i=l.sent(),n(i),[3,4];case 4:return[3,6];case 5:c=Promise.all(t.map(iu)),r.push(c),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function lu(e){return Zs(this,void 0,void 0,(function(){return Ws(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=Ks(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var su=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=(e.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):a===t}))}return!0};function uu(e){return function(e){if(Array.isArray(e))return gu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||hu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?du(Object(n),!0).forEach((function(t){mu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):du(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}(e,t)||hu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hu(e,t){if(e){if("string"==typeof e)return gu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gu(e,t):void 0}}function gu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var vu=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},yu=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},bu=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},wu={code:"too-many-files",message:"Too many files"};function Eu(e,t){var n="application/x-moz-file"===e.type||su(e,t);return[n,n?null:vu(t)]}function _u(e,t,n){if(xu(e.size))if(xu(t)&&xu(n)){if(e.size>n)return[!1,yu(n)];if(e.size<t)return[!1,bu(t)]}else{if(xu(t)&&e.size<t)return[!1,bu(t)];if(xu(n)&&e.size>n)return[!1,yu(n)]}return[!0,null]}function xu(e){return null!=e}function ku(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Cu(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Mu(e){e.preventDefault()}function Su(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return t.some((function(t){return!ku(e)&&t&&t.apply(void 0,[e].concat(r)),ku(e)}))}}function Lu(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Au(e){return/^.*\.[\w]+$/.test(e)}var Ou=["children"],Du=["open"],Iu=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Nu=["refKey","onChange","onClick"];function Tu(e){return function(e){if(Array.isArray(e))return Ru(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ju(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}(e,t)||$u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $u(e,t){if(e){if("string"==typeof e)return Ru(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ru(e,t):void 0}}function Ru(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pu(Object(n),!0).forEach((function(t){Fu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Bu=c((function(t,n){var r=t.children,a=Wu(Vu(t,Ou)),o=a.open,i=Vu(a,Du);return l(n,(function(){return{open:o}}),[o]),e.createElement(s,null,r(zu(zu({},i),{},{open:o})))}));Bu.displayName="Dropzone";var Hu={disabled:!1,getFilesFromEvent:function(e){return Zs(this,void 0,void 0,(function(){return Ws(this,(function(t){return Xs(e)&&Xs(e.dataTransfer)?[2,eu(e.dataTransfer,e.type)]:function(e){return Xs(e)&&Xs(e.target)}(e)?[2,Js(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,Qs(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Bu.defaultProps=Hu,Bu.propTypes={children:gr.func,accept:gr.objectOf(gr.arrayOf(gr.string)),multiple:gr.bool,preventDropOnDocument:gr.bool,noClick:gr.bool,noKeyboard:gr.bool,noDrag:gr.bool,noDragEventsBubbling:gr.bool,minSize:gr.number,maxSize:gr.number,maxFiles:gr.number,disabled:gr.bool,getFilesFromEvent:gr.func,onFileDialogCancel:gr.func,onFileDialogOpen:gr.func,useFsAccessApi:gr.bool,autoFocus:gr.bool,onDragEnter:gr.func,onDragLeave:gr.func,onDragOver:gr.func,onDrop:gr.func,onDropAccepted:gr.func,onDropRejected:gr.func,onError:gr.func,validator:gr.func};var Zu={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Wu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=zu(zu({},Hu),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,c=t.maxSize,l=t.minSize,s=t.multiple,m=t.maxFiles,p=t.onDragEnter,h=t.onDragLeave,g=t.onDragOver,v=t.onDrop,y=t.onDropAccepted,b=t.onDropRejected,w=t.onFileDialogCancel,E=t.onFileDialogOpen,_=t.useFsAccessApi,x=t.autoFocus,k=t.preventDropOnDocument,C=t.noClick,M=t.noKeyboard,S=t.noDrag,L=t.noDragEventsBubbling,A=t.onError,O=t.validator,D=u((function(){return function(e){if(xu(e))return Object.entries(e).reduce((function(e,t){var n=pu(t,2),r=n[0],a=n[1];return[].concat(uu(e),[r],uu(a))}),[]).filter((function(e){return Lu(e)||Au(e)})).join(",")}(n)}),[n]),I=u((function(){return function(e){return xu(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=pu(e,2),n=t[0],r=t[1],a=!0;return Lu(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(r)&&r.every(Au)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),a=!1),a})).reduce((function(e,t){var n=pu(t,2),r=n[0],a=n[1];return fu(fu({},e),{},mu({},r,a))}),{})}]:e}(n)}),[n]),N=u((function(){return"function"==typeof E?E:Uu}),[E]),T=u((function(){return"function"==typeof w?w:Uu}),[w]),j=i(null),$=i(null),R=ju(d(Gu,Zu),2),P=R[0],z=R[1],F=P.isFocused,V=P.isFileDialogActive,B=i("undefined"!=typeof window&&window.isSecureContext&&_&&"showOpenFilePicker"in window),H=function(){!B.current&&V&&setTimeout((function(){$.current&&($.current.files.length||(z({type:"closeDialog"}),T()))}),300)};a((function(){return window.addEventListener("focus",H,!1),function(){window.removeEventListener("focus",H,!1)}}),[$,V,T,B]);var Z=i([]),W=function(e){j.current&&j.current.contains(e.target)||(e.preventDefault(),Z.current=[])};a((function(){return k&&(document.addEventListener("dragover",Mu,!1),document.addEventListener("drop",W,!1)),function(){k&&(document.removeEventListener("dragover",Mu),document.removeEventListener("drop",W))}}),[j,k]),a((function(){return!r&&x&&j.current&&j.current.focus(),function(){}}),[j,x,r]);var G=f((function(e){A?A(e):console.error(e)}),[A]),U=f((function(e){e.preventDefault(),e.persist(),ie(e),Z.current=[].concat(Tu(Z.current),[e.target]),Cu(e)&&Promise.resolve(o(e)).then((function(t){if(!ku(e)||L){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles,c=e.validator;return!(!o&&t.length>1||o&&i>=1&&t.length>i)&&t.every((function(e){var t=pu(Eu(e,n),1)[0],o=pu(_u(e,r,a),1)[0],i=c?c(e):null;return t&&o&&!i}))}({files:t,accept:D,minSize:l,maxSize:c,multiple:s,maxFiles:m,validator:O});z({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e)}})).catch((function(e){return G(e)}))}),[o,p,G,L,D,l,c,s,m,O]),q=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Cu(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&g&&g(e),!1}),[g,L]),K=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Z.current.filter((function(e){return j.current&&j.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),Z.current=t,t.length>0||(z({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Cu(e)&&h&&h(e))}),[j,h,L]),Y=f((function(e,t){var n=[],r=[];e.forEach((function(e){var t=ju(Eu(e,D),2),a=t[0],o=t[1],i=ju(_u(e,l,c),2),s=i[0],u=i[1],d=O?O(e):null;if(a&&s&&!d)n.push(e);else{var f=[o,u];d&&(f=f.concat(d)),r.push({file:e,errors:f.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&m>=1&&n.length>m)&&(n.forEach((function(e){r.push({file:e,errors:[wu]})})),n.splice(0)),z({acceptedFiles:n,fileRejections:r,type:"setFiles"}),v&&v(n,r,t),r.length>0&&b&&b(r,t),n.length>0&&y&&y(n,t)}),[z,s,D,l,c,m,v,y,b,O]),X=f((function(e){e.preventDefault(),e.persist(),ie(e),Z.current=[],Cu(e)&&Promise.resolve(o(e)).then((function(t){ku(e)&&!L||Y(t,e)})).catch((function(e){return G(e)})),z({type:"reset"})}),[o,Y,G,L]),J=f((function(){if(B.current){z({type:"openDialog"}),N();var e={multiple:s,types:I};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){Y(e,null),z({type:"closeDialog"})})).catch((function(e){var t;(t=e)instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(T(e),z({type:"closeDialog"})):!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?G(e):(B.current=!1,$.current?($.current.value=null,$.current.click()):G(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.")))}))}else $.current&&(z({type:"openDialog"}),N(),$.current.value=null,$.current.click())}),[z,N,T,_,Y,G,I,s]),Q=f((function(e){j.current&&j.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),J()))}),[j,J]),ee=f((function(){z({type:"focus"})}),[]),te=f((function(){z({type:"blur"})}),[]),ne=f((function(){C||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?J():setTimeout(J,0))}),[C,J]),re=function(e){return r?null:e},ae=function(e){return M?null:re(e)},oe=function(e){return S?null:re(e)},ie=function(e){L&&e.stopPropagation()},ce=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.role,o=e.onKeyDown,i=e.onFocus,c=e.onBlur,l=e.onClick,s=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,f=e.onDrop,m=Vu(e,Iu);return zu(zu(Fu({onKeyDown:ae(Su(o,Q)),onFocus:ae(Su(i,ee)),onBlur:ae(Su(c,te)),onClick:re(Su(l,ne)),onDragEnter:oe(Su(s,U)),onDragOver:oe(Su(u,q)),onDragLeave:oe(Su(d,K)),onDrop:oe(Su(f,X)),role:"string"==typeof a&&""!==a?a:"presentation"},n,j),r||M?{}:{tabIndex:0}),m)}}),[j,Q,ee,te,ne,U,q,K,X,M,S,r]),le=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,a=e.onClick,o=Vu(e,Nu);return zu(zu({},Fu({accept:D,multiple:s,type:"file",style:{display:"none"},onChange:re(Su(r,X)),onClick:re(Su(a,le)),tabIndex:-1},n,$)),o)}}),[$,n,s,X,r]);return zu(zu({},P),{},{isFocused:F&&!r,getRootProps:ce,getInputProps:se,rootRef:j,inputRef:$,open:re(J)})}function Gu(e,t){switch(t.type){case"focus":return zu(zu({},e),{},{isFocused:!0});case"blur":return zu(zu({},e),{},{isFocused:!1});case"openDialog":return zu(zu({},Zu),{},{isFileDialogActive:!0});case"closeDialog":return zu(zu({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return zu(zu({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return zu(zu({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return zu({},Zu);default:return e}}function Uu(){}const qu=m(g)`
|
|
2552
|
+
`;m(ec)``;const Us=t=>e.createElement(Gs,{className:t.className+" ToggleStat",id:t.id,onClick:t.onClick,active:t.active},e.createElement("h5",null,t.text),e.createElement(nc,{active:t.active}));function qs(){return qs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qs.apply(this,arguments)}function Ks(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function c(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}l((r=r.apply(e,t||[])).next())}))}function Ys(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function Xs(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function Js(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var Qs=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function eu(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=Qs.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var tu=[".DS_Store","Thumbs.db"];function nu(e){return"object"==typeof e&&null!==e}function ru(e){return cu(e.target.files).map((function(e){return eu(e)}))}function au(e){return Ks(this,void 0,void 0,(function(){return Ys(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return eu(e)}))]}}))}))}function ou(e,t){return Ks(this,void 0,void 0,(function(){var n;return Ys(this,(function(r){switch(r.label){case 0:return e.items?(n=cu(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(lu))]):[3,2];case 1:return[2,iu(su(r.sent()))];case 2:return[2,iu(cu(e.files).map((function(e){return eu(e)})))]}}))}))}function iu(e){return e.filter((function(e){return-1===tu.indexOf(e.name)}))}function cu(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function lu(e){if("function"!=typeof e.webkitGetAsEntry)return uu(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?fu(t):uu(e)}function su(e){return e.reduce((function(e,t){return Js(Js([],Xs(e),!1),Xs(Array.isArray(t)?su(t):[t]),!1)}),[])}function uu(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=eu(t);return Promise.resolve(n)}function du(e){return Ks(this,void 0,void 0,(function(){return Ys(this,(function(t){return[2,e.isDirectory?fu(e):mu(e)]}))}))}function fu(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function a(){var o=this;t.readEntries((function(t){return Ks(o,void 0,void 0,(function(){var o,i,c;return Ys(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=l.sent(),e(o),[3,4];case 3:return i=l.sent(),n(i),[3,4];case 4:return[3,6];case 5:c=Promise.all(t.map(du)),r.push(c),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function mu(e){return Ks(this,void 0,void 0,(function(){return Ys(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=eu(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var pu=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=(e.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):a===t}))}return!0};function hu(e){return function(e){if(Array.isArray(e))return Eu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(n),!0).forEach((function(t){yu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}(e,t)||wu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wu(e,t){if(e){if("string"==typeof e)return Eu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eu(e,t):void 0}}function Eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _u=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},xu=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},ku=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},Cu={code:"too-many-files",message:"Too many files"};function Mu(e,t){var n="application/x-moz-file"===e.type||pu(e,t);return[n,n?null:_u(t)]}function Su(e,t,n){if(Lu(e.size))if(Lu(t)&&Lu(n)){if(e.size>n)return[!1,xu(n)];if(e.size<t)return[!1,ku(t)]}else{if(Lu(t)&&e.size<t)return[!1,ku(t)];if(Lu(n)&&e.size>n)return[!1,xu(n)]}return[!0,null]}function Lu(e){return null!=e}function Au(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Ou(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Du(e){e.preventDefault()}function Iu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return t.some((function(t){return!Au(e)&&t&&t.apply(void 0,[e].concat(r)),Au(e)}))}}function Nu(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Tu(e){return/^.*\.[\w]+$/.test(e)}var ju=["children"],$u=["open"],Ru=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Pu=["refKey","onChange","onClick"];function zu(e){return function(e){if(Array.isArray(e))return Bu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Vu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}(e,t)||Vu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vu(e,t){if(e){if("string"==typeof e)return Bu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bu(e,t):void 0}}function Bu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(n),!0).forEach((function(t){Wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Uu=c((function(t,n){var r=t.children,a=Yu(Gu(t,ju)),o=a.open,i=Gu(a,$u);return l(n,(function(){return{open:o}}),[o]),e.createElement(s,null,r(Zu(Zu({},i),{},{open:o})))}));Uu.displayName="Dropzone";var qu={disabled:!1,getFilesFromEvent:function(e){return Ks(this,void 0,void 0,(function(){return Ys(this,(function(t){return nu(e)&&nu(e.dataTransfer)?[2,ou(e.dataTransfer,e.type)]:function(e){return nu(e)&&nu(e.target)}(e)?[2,ru(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,au(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Uu.defaultProps=qu,Uu.propTypes={children:gr.func,accept:gr.objectOf(gr.arrayOf(gr.string)),multiple:gr.bool,preventDropOnDocument:gr.bool,noClick:gr.bool,noKeyboard:gr.bool,noDrag:gr.bool,noDragEventsBubbling:gr.bool,minSize:gr.number,maxSize:gr.number,maxFiles:gr.number,disabled:gr.bool,getFilesFromEvent:gr.func,onFileDialogCancel:gr.func,onFileDialogOpen:gr.func,useFsAccessApi:gr.bool,autoFocus:gr.bool,onDragEnter:gr.func,onDragLeave:gr.func,onDragOver:gr.func,onDrop:gr.func,onDropAccepted:gr.func,onDropRejected:gr.func,onError:gr.func,validator:gr.func};var Ku={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Yu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Zu(Zu({},qu),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,c=t.maxSize,l=t.minSize,s=t.multiple,m=t.maxFiles,p=t.onDragEnter,h=t.onDragLeave,g=t.onDragOver,v=t.onDrop,y=t.onDropAccepted,b=t.onDropRejected,w=t.onFileDialogCancel,E=t.onFileDialogOpen,_=t.useFsAccessApi,x=t.autoFocus,k=t.preventDropOnDocument,C=t.noClick,M=t.noKeyboard,S=t.noDrag,L=t.noDragEventsBubbling,A=t.onError,O=t.validator,D=u((function(){return function(e){if(Lu(e))return Object.entries(e).reduce((function(e,t){var n=bu(t,2),r=n[0],a=n[1];return[].concat(hu(e),[r],hu(a))}),[]).filter((function(e){return Nu(e)||Tu(e)})).join(",")}(n)}),[n]),I=u((function(){return function(e){return Lu(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=bu(e,2),n=t[0],r=t[1],a=!0;return Nu(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(r)&&r.every(Tu)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),a=!1),a})).reduce((function(e,t){var n=bu(t,2),r=n[0],a=n[1];return vu(vu({},e),{},yu({},r,a))}),{})}]:e}(n)}),[n]),N=u((function(){return"function"==typeof E?E:Ju}),[E]),T=u((function(){return"function"==typeof w?w:Ju}),[w]),j=i(null),$=i(null),R=Fu(d(Xu,Ku),2),P=R[0],z=R[1],F=P.isFocused,V=P.isFileDialogActive,B=i("undefined"!=typeof window&&window.isSecureContext&&_&&"showOpenFilePicker"in window),H=function(){!B.current&&V&&setTimeout((function(){$.current&&($.current.files.length||(z({type:"closeDialog"}),T()))}),300)};a((function(){return window.addEventListener("focus",H,!1),function(){window.removeEventListener("focus",H,!1)}}),[$,V,T,B]);var Z=i([]),W=function(e){j.current&&j.current.contains(e.target)||(e.preventDefault(),Z.current=[])};a((function(){return k&&(document.addEventListener("dragover",Du,!1),document.addEventListener("drop",W,!1)),function(){k&&(document.removeEventListener("dragover",Du),document.removeEventListener("drop",W))}}),[j,k]),a((function(){return!r&&x&&j.current&&j.current.focus(),function(){}}),[j,x,r]);var G=f((function(e){A?A(e):console.error(e)}),[A]),U=f((function(e){e.preventDefault(),e.persist(),ie(e),Z.current=[].concat(zu(Z.current),[e.target]),Ou(e)&&Promise.resolve(o(e)).then((function(t){if(!Au(e)||L){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles,c=e.validator;return!(!o&&t.length>1||o&&i>=1&&t.length>i)&&t.every((function(e){var t=bu(Mu(e,n),1)[0],o=bu(Su(e,r,a),1)[0],i=c?c(e):null;return t&&o&&!i}))}({files:t,accept:D,minSize:l,maxSize:c,multiple:s,maxFiles:m,validator:O});z({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e)}})).catch((function(e){return G(e)}))}),[o,p,G,L,D,l,c,s,m,O]),q=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Ou(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&g&&g(e),!1}),[g,L]),K=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Z.current.filter((function(e){return j.current&&j.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),Z.current=t,t.length>0||(z({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Ou(e)&&h&&h(e))}),[j,h,L]),Y=f((function(e,t){var n=[],r=[];e.forEach((function(e){var t=Fu(Mu(e,D),2),a=t[0],o=t[1],i=Fu(Su(e,l,c),2),s=i[0],u=i[1],d=O?O(e):null;if(a&&s&&!d)n.push(e);else{var f=[o,u];d&&(f=f.concat(d)),r.push({file:e,errors:f.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&m>=1&&n.length>m)&&(n.forEach((function(e){r.push({file:e,errors:[Cu]})})),n.splice(0)),z({acceptedFiles:n,fileRejections:r,type:"setFiles"}),v&&v(n,r,t),r.length>0&&b&&b(r,t),n.length>0&&y&&y(n,t)}),[z,s,D,l,c,m,v,y,b,O]),X=f((function(e){e.preventDefault(),e.persist(),ie(e),Z.current=[],Ou(e)&&Promise.resolve(o(e)).then((function(t){Au(e)&&!L||Y(t,e)})).catch((function(e){return G(e)})),z({type:"reset"})}),[o,Y,G,L]),J=f((function(){if(B.current){z({type:"openDialog"}),N();var e={multiple:s,types:I};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){Y(e,null),z({type:"closeDialog"})})).catch((function(e){var t;(t=e)instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(T(e),z({type:"closeDialog"})):!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?G(e):(B.current=!1,$.current?($.current.value=null,$.current.click()):G(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.")))}))}else $.current&&(z({type:"openDialog"}),N(),$.current.value=null,$.current.click())}),[z,N,T,_,Y,G,I,s]),Q=f((function(e){j.current&&j.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),J()))}),[j,J]),ee=f((function(){z({type:"focus"})}),[]),te=f((function(){z({type:"blur"})}),[]),ne=f((function(){C||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?J():setTimeout(J,0))}),[C,J]),re=function(e){return r?null:e},ae=function(e){return M?null:re(e)},oe=function(e){return S?null:re(e)},ie=function(e){L&&e.stopPropagation()},ce=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.role,o=e.onKeyDown,i=e.onFocus,c=e.onBlur,l=e.onClick,s=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,f=e.onDrop,m=Gu(e,Ru);return Zu(Zu(Wu({onKeyDown:ae(Iu(o,Q)),onFocus:ae(Iu(i,ee)),onBlur:ae(Iu(c,te)),onClick:re(Iu(l,ne)),onDragEnter:oe(Iu(s,U)),onDragOver:oe(Iu(u,q)),onDragLeave:oe(Iu(d,K)),onDrop:oe(Iu(f,X)),role:"string"==typeof a&&""!==a?a:"presentation"},n,j),r||M?{}:{tabIndex:0}),m)}}),[j,Q,ee,te,ne,U,q,K,X,M,S,r]),le=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,a=e.onClick,o=Gu(e,Pu);return Zu(Zu({},Wu({accept:D,multiple:s,type:"file",style:{display:"none"},onChange:re(Iu(r,X)),onClick:re(Iu(a,le)),tabIndex:-1},n,$)),o)}}),[$,n,s,X,r]);return Zu(Zu({},P),{},{isFocused:F&&!r,getRootProps:ce,getInputProps:se,rootRef:j,inputRef:$,open:re(J)})}function Xu(e,t){switch(t.type){case"focus":return Zu(Zu({},e),{},{isFocused:!0});case"blur":return Zu(Zu({},e),{},{isFocused:!1});case"openDialog":return Zu(Zu({},Ku),{},{isFileDialogActive:!0});case"closeDialog":return Zu(Zu({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Zu(Zu({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Zu(Zu({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Zu({},Ku);default:return e}}function Ju(){}const Qu=m(g)`
|
|
2497
2553
|
background: transparent;
|
|
2498
2554
|
border: 1px solid transparent;
|
|
2499
2555
|
|
|
@@ -2514,7 +2570,7 @@ object-assign
|
|
|
2514
2570
|
fill: var(--mainLight);
|
|
2515
2571
|
}
|
|
2516
2572
|
}
|
|
2517
|
-
`;function
|
|
2573
|
+
`;function ed(n){const[r,o]=t(n.files),i=(e,t)=>{n.boomRejected(e,t)},{getRootProps:c,getInputProps:l,isDragActive:s,isDragAccept:u,isDragReject:d}=Yu({accept:n.accept?n.accept:"image/svg, image/jpeg, image/png, image/jpg, video/mp4, video/mpeg, video/webm",onDrop:e=>{let t=e?.map((e=>Object.assign(e,{preview:URL.createObjectURL(e)}))),r=[];t.forEach(((e,t)=>{"video"===n.type&&e.size>n.maxSize?i("videoSize",e.name):n.accept&&""!==n.accept&&!n.accept.split(",").map((e=>e.trim())).includes(e.type)||"image/png"!==e.type&&"image/jpeg"!==e.type&&"video/mp4"!==e.type&&"video/mpeg"!==e.type&&"image/webm"!==e.type?i("fileMimetype",e.name):e.size>n.maxSize?i("fileSize",e.name):r.push(e)})),r?.length>0&&o(r)},onDropRejected:()=>{"video"===n.type?i("videoType",""):"avatar"===n.type||"cover"===n.type?i("imageType",""):"media"===n.type&&i("mediaType","")},maxFiles:n.maxFiles});return a((()=>{n.getFilesFromChild(r)}),[r]),e.createElement(Qu,qs({noPadding:n.noPadding},c({isDragActive:s,isDragAccept:u,isDragReject:d})),e.createElement(b,{Icon:n.iconUpload?n.iconUpload:"Upload"}),e.createElement("span",null,n.text),e.createElement("input",l()))}const td=m.div`
|
|
2518
2574
|
background: ${e=>e.theme.low};
|
|
2519
2575
|
padding: var(--largePads);
|
|
2520
2576
|
border-radius: var(--normalRadius);
|
|
@@ -2522,7 +2578,7 @@ object-assign
|
|
|
2522
2578
|
h4 {
|
|
2523
2579
|
margin-bottom: 2rem;
|
|
2524
2580
|
}
|
|
2525
|
-
`,
|
|
2581
|
+
`,nd=m.div`
|
|
2526
2582
|
display: grid;
|
|
2527
2583
|
grid-template-columns: 1fr 3fr;
|
|
2528
2584
|
grid-gap: 2rem;
|
|
@@ -2530,7 +2586,7 @@ object-assign
|
|
|
2530
2586
|
@media ${Y.xs} {
|
|
2531
2587
|
grid-template-columns: 1fr;
|
|
2532
2588
|
}
|
|
2533
|
-
`,
|
|
2589
|
+
`,rd=m.div`
|
|
2534
2590
|
width: 100%;
|
|
2535
2591
|
aspect-ratio: 1/1;
|
|
2536
2592
|
background: ${e=>e.theme.bg};
|
|
@@ -2542,14 +2598,14 @@ object-assign
|
|
|
2542
2598
|
width: 100%;
|
|
2543
2599
|
object-fit: cover;
|
|
2544
2600
|
}
|
|
2545
|
-
`,
|
|
2601
|
+
`,ad=m.div``,od=t=>e.createElement(td,null,e.createElement("h4",null,t.title),e.createElement(nd,null,e.createElement(rd,null,t.img&&t.uploaded?e.createElement("img",{src:t.img}):e.createElement("img",{src:t.imgDefault?t.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),e.createElement(ad,null,e.createElement(ed,{maxFiles:"1",getFilesFromChild:t.getFilesFromChild,boomRejected:t.boomRejected,accept:t.accept,onClick:t.onUpload,text:t.upload,iconLeft:t.iconUpload?t.iconUpload:"Upload",maxSize:t.maxSize}),t.uploaded?e.createElement(z,{onClick:t.onDelete,text:t.delete,iconLeft:t.iconUpload?t.iconUpload:"Delete"}):null,t.errors?e.createElement(Ve,{className:"ValidatorErrors"},t.errors?.map(((t,n)=>e.createElement(Ge,{key:n},e.createElement(b,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(Ve,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(Ze,{key:n},e.createElement(b,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.helpers?e.createElement(Ve,{className:"ValidatorHelpers"},t.helpers?.map(((t,n)=>e.createElement(We,{key:n},e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.tips?e.createElement(Ve,{className:"ValidatorTips"},t.tips?.map(((t,n)=>e.createElement(He,{key:n},e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):null))),id=m.div`
|
|
2546
2602
|
background: ${e=>e.theme.low};
|
|
2547
2603
|
border-radius: var(--normalRadius);
|
|
2548
2604
|
|
|
2549
2605
|
h4 {
|
|
2550
2606
|
margin-bottom: 2rem;
|
|
2551
2607
|
}
|
|
2552
|
-
`,
|
|
2608
|
+
`,cd=m.div``,ld=m.div`
|
|
2553
2609
|
width: 100%;
|
|
2554
2610
|
aspect-ratio: ${e=>e.aspect?e.aspect:"3/1"};
|
|
2555
2611
|
background: ${e=>e.theme.bg};
|
|
@@ -2561,16 +2617,16 @@ object-assign
|
|
|
2561
2617
|
width: 100%;
|
|
2562
2618
|
object-fit: cover;
|
|
2563
2619
|
}
|
|
2564
|
-
`,
|
|
2620
|
+
`,sd=m.div`
|
|
2565
2621
|
display: flex;
|
|
2566
2622
|
align-items: center;
|
|
2567
2623
|
gap: 1rem;
|
|
2568
2624
|
margin-top: 1rem;
|
|
2569
|
-
`,
|
|
2625
|
+
`,ud=t=>e.createElement(id,null,e.createElement("h4",null,t.title),e.createElement(cd,null,e.createElement(ld,{aspect:t.aspect},t.img&&t.uploaded?e.createElement("img",{src:t.img}):e.createElement("img",{src:t.imgDefault?t.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultCover.jpg"})),e.createElement(sd,null,e.createElement(ed,{maxFiles:"1",getFilesFromChild:t.getFilesFromChild,boomRejected:t.boomRejected,accept:t.accept,onClick:t.onUpload,text:t.upload,iconLeft:t.iconUpload?t.iconUpload:"Upload",maxSize:t.maxSize,type:t.type}),t.uploaded||t.hideDelete?e.createElement(z,{onClick:t.onDelete,text:t.delete,iconLeft:t.iconUpload?t.iconUpload:"Delete"}):null),t.errors?e.createElement(Ve,{className:"ValidatorErrors"},t.errors?.map(((t,n)=>e.createElement(Ge,{key:n},e.createElement(b,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(Ve,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(Ze,{key:n},e.createElement(b,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.helpers?e.createElement(Ve,{className:"ValidatorHelpers"},t.helpers?.map(((t,n)=>e.createElement(We,{key:n},e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.tips?e.createElement(Ve,{className:"ValidatorTips"},t.tips?.map(((t,n)=>e.createElement(He,{key:n},e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):null)),dd=m.div`
|
|
2570
2626
|
display: grid;
|
|
2571
2627
|
grid-template-columns: auto 1fr;
|
|
2572
2628
|
grid-gap: 2rem;
|
|
2573
|
-
`,
|
|
2629
|
+
`,fd=m.div`
|
|
2574
2630
|
width: 5.8rem;
|
|
2575
2631
|
aspect-ratio: 1/1;
|
|
2576
2632
|
background: ${e=>e.theme.bg};
|
|
@@ -2582,22 +2638,22 @@ object-assign
|
|
|
2582
2638
|
width: 100%;
|
|
2583
2639
|
object-fit: cover;
|
|
2584
2640
|
}
|
|
2585
|
-
`,
|
|
2641
|
+
`,md=m.div`
|
|
2586
2642
|
display: flex;
|
|
2587
|
-
`,
|
|
2643
|
+
`,pd=t=>e.createElement(dd,null,e.createElement(fd,null,t.img&&t.uploaded?e.createElement("img",{src:t.img}):e.createElement("img",{src:t.imgDefault?t.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),e.createElement(md,null,e.createElement(ed,{maxFiles:"1",getFilesFromChild:t.getFilesFromChild,boomRejected:t.boomRejected,accept:t.accept,onClick:t.onUpload,text:t.upload,iconLeft:t.iconUpload?t.iconUpload:"Upload",maxSize:t.maxSize}))),hd=m.div`
|
|
2588
2644
|
background: ${e=>e.theme.low};
|
|
2589
2645
|
border-radius: var(--normalRadius);
|
|
2590
2646
|
h4 {
|
|
2591
2647
|
margin-bottom: 2rem;
|
|
2592
2648
|
}
|
|
2593
|
-
`,
|
|
2649
|
+
`,gd=m.div``,vd=m.div`
|
|
2594
2650
|
padding-left: 1rem;
|
|
2595
|
-
`,
|
|
2651
|
+
`,yd=m.div`
|
|
2596
2652
|
display: flex;
|
|
2597
2653
|
align-items: center;
|
|
2598
2654
|
gap: 1rem;
|
|
2599
2655
|
margin-top: 1rem;
|
|
2600
|
-
`,
|
|
2656
|
+
`,bd=t=>e.createElement(hd,null,e.createElement("h4",null,t.title),e.createElement(gd,null,e.createElement(vd,null,t.uploaded?e.createElement("p",null,t.filename):null),e.createElement(yd,null,e.createElement(ed,{maxFiles:"1",getFilesFromChild:t.getFilesFromChild,boomRejected:t.boomRejected,accept:t.accept,onClick:t.onUpload,text:t.upload,iconLeft:t.iconUpload?t.iconUpload:"Upload",maxSize:t.maxSize,type:"media"}),t.uploaded?e.createElement(z,{onClick:t.onDelete,text:t.delete,iconLeft:t.iconUpload?t.iconUpload:"Delete"}):null),t.errors?e.createElement(Ve,{className:"ValidatorErrors"},t.errors?.map(((t,n)=>e.createElement(Ge,{key:n},e.createElement(b,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(Ve,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(Ze,{key:n},e.createElement(b,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.helpers?e.createElement(Ve,{className:"ValidatorHelpers"},t.helpers?.map(((t,n)=>e.createElement(We,{key:n},e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.tips?e.createElement(Ve,{className:"ValidatorTips"},t.tips?.map(((t,n)=>e.createElement(He,{key:n},e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):null)),wd=m.div`
|
|
2601
2657
|
display: flex;
|
|
2602
2658
|
align-items: center;
|
|
2603
2659
|
gap: 1rem;
|
|
@@ -2616,7 +2672,7 @@ object-assign
|
|
|
2616
2672
|
.bond {
|
|
2617
2673
|
background-image: radial-gradient(circle, #ffa500 50%, var(--white) 100%);
|
|
2618
2674
|
}
|
|
2619
|
-
`,
|
|
2675
|
+
`,Ed=t=>e.createElement(wd,null,t.monica?e.createElement("div",{className:"monica"}):null,t.bond?e.createElement("div",{className:"bond"}):null,t.lois?e.createElement("div",{className:"lois"}):null,t.dailyprofit?e.createElement("div",{className:"dailyprofit"}):null),_d=m.div`
|
|
2620
2676
|
.admin {
|
|
2621
2677
|
div {
|
|
2622
2678
|
background-image: radial-gradient(
|
|
@@ -2689,7 +2745,7 @@ object-assign
|
|
|
2689
2745
|
color: var(--error);
|
|
2690
2746
|
}
|
|
2691
2747
|
}
|
|
2692
|
-
`,
|
|
2748
|
+
`,xd=m.div`
|
|
2693
2749
|
display: flex;
|
|
2694
2750
|
align-items: center;
|
|
2695
2751
|
gap: 1rem;
|
|
@@ -2699,7 +2755,7 @@ object-assign
|
|
|
2699
2755
|
width: 1.5rem;
|
|
2700
2756
|
border-radius: 50%;
|
|
2701
2757
|
}
|
|
2702
|
-
`,
|
|
2758
|
+
`,kd=t=>e.createElement(_d,null,e.createElement(xd,{className:t.status},e.createElement("div",null),e.createElement("h6",null,t.text))),Cd=m.div`
|
|
2703
2759
|
background: var(--dark);
|
|
2704
2760
|
|
|
2705
2761
|
h2,
|
|
@@ -2708,7 +2764,7 @@ object-assign
|
|
|
2708
2764
|
h6 {
|
|
2709
2765
|
color: var(--white) !important;
|
|
2710
2766
|
}
|
|
2711
|
-
`,
|
|
2767
|
+
`,Md=m.div`
|
|
2712
2768
|
padding: 8rem 4rem;
|
|
2713
2769
|
display: grid;
|
|
2714
2770
|
grid-gap: 4rem;
|
|
@@ -2718,25 +2774,25 @@ object-assign
|
|
|
2718
2774
|
@media ${Y.md} {
|
|
2719
2775
|
grid-template-columns: 1fr;
|
|
2720
2776
|
}
|
|
2721
|
-
`,
|
|
2777
|
+
`,Sd=m.div`
|
|
2722
2778
|
@media ${Y.md} {
|
|
2723
2779
|
text-align: center;
|
|
2724
2780
|
}
|
|
2725
|
-
`,
|
|
2781
|
+
`,Ld=m.div`
|
|
2726
2782
|
@media ${Y.lg} {
|
|
2727
2783
|
display: ${e=>e.hero?"block":"none"};
|
|
2728
2784
|
}
|
|
2729
|
-
`,
|
|
2785
|
+
`,Ad=m.img`
|
|
2730
2786
|
width: 15rem;
|
|
2731
2787
|
display: block;
|
|
2732
2788
|
margin: 0 auto;
|
|
2733
2789
|
align-items: center;
|
|
2734
|
-
`,
|
|
2790
|
+
`,Od=m.div`
|
|
2735
2791
|
margin: 0 auto;
|
|
2736
|
-
`,
|
|
2792
|
+
`,Dd=m.div`
|
|
2737
2793
|
border-bottom: 2px solid var(--white);
|
|
2738
2794
|
margin-bottom: 2rem;
|
|
2739
|
-
`,
|
|
2795
|
+
`,Id=m.div`
|
|
2740
2796
|
display: grid;
|
|
2741
2797
|
grid-template-columns: 1fr 1fr;
|
|
2742
2798
|
grid-gap: 4rem;
|
|
@@ -2763,7 +2819,7 @@ object-assign
|
|
|
2763
2819
|
grid-template-columns: 1fr;
|
|
2764
2820
|
grid-gap: 0;
|
|
2765
2821
|
}
|
|
2766
|
-
`,
|
|
2822
|
+
`,Nd=m.div``,Td=m.div``,jd=m.div`
|
|
2767
2823
|
text-align: center;
|
|
2768
2824
|
margin-bottom: 2rem;
|
|
2769
2825
|
|
|
@@ -2771,7 +2827,7 @@ object-assign
|
|
|
2771
2827
|
width: 13rem;
|
|
2772
2828
|
margin-bottom: 1rem;
|
|
2773
2829
|
}
|
|
2774
|
-
|
|
2830
|
+
`,$d=m.div``,Rd=m.div`
|
|
2775
2831
|
display: flex;
|
|
2776
2832
|
align-items: center;
|
|
2777
2833
|
gap: 1rem;
|
|
@@ -2781,13 +2837,13 @@ object-assign
|
|
|
2781
2837
|
width: 2rem;
|
|
2782
2838
|
fill: var(--white);
|
|
2783
2839
|
}
|
|
2784
|
-
`,
|
|
2840
|
+
`,Pd=m.div`
|
|
2785
2841
|
padding: 1rem 4rem;
|
|
2786
|
-
`,
|
|
2842
|
+
`,zd=m.div`
|
|
2787
2843
|
display: flex;
|
|
2788
2844
|
align-items: center;
|
|
2789
2845
|
justify-content: center;
|
|
2790
|
-
`,
|
|
2846
|
+
`,Fd=t=>e.createElement(Cd,null,e.createElement(Md,null,e.createElement(Sd,null,e.createElement(jd,null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),e.createElement("h2",null,"Doitforme")),e.createElement("h6",null,"© Copyright 2023"),e.createElement("h6",null,"DO IT FOR ME P.C.")),e.createElement(Od,null,e.createElement(Dd,null,e.createElement("h6",null,"GET IN TOUCH")),e.createElement(Id,null,e.createElement(Nd,null,e.createElement("ul",null,e.createElement("li",null,e.createElement("h5",null,t.sales,":"),e.createElement("aside",null,e.createElement(b,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 739")),e.createElement("aside",null,e.createElement(b,{Icon:"Email"}),e.createElement("p",null,"payments@doitforme.eu"))),e.createElement("li",null,e.createElement("h5",null,t.marketing,":"),e.createElement("aside",null,e.createElement(b,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 740")),e.createElement("aside",null,e.createElement(b,{Icon:"Email"}),e.createElement("p",null,"digitalmarketing@doitforme.eu"))),e.createElement("li",null,e.createElement("h5",null,t.development,":"),e.createElement("aside",null,e.createElement(b,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 741")),e.createElement("aside",null,e.createElement(b,{Icon:"Email"}),e.createElement("p",null,"webdevelopment@doitforme.eu"))))),e.createElement(Td,null,e.createElement("ul",null,e.createElement("li",null,e.createElement("h5",null,t.headquarters,":"),e.createElement("aside",null,e.createElement(b,{Icon:"Location"}),e.createElement("p",null,t.address)))),e.createElement($d,null,e.createElement("h5",null,t.follow,":"),e.createElement(Rd,null,e.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},e.createElement(b,{Icon:"Facebook"})),e.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},e.createElement(b,{Icon:"Instagram"})),e.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},e.createElement(b,{Icon:"Linkedin"}))))))),e.createElement(Ld,{hero:t.children},t.children?t.children:e.createElement(Ad,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),e.createElement(Pd,null,e.createElement(zd,null,e.createElement(j,{className:t.className,id:t.id,text:t.terms,size:"small",onClick:t.onTerms}),e.createElement(j,{className:t.className,id:t.id,text:t.privacy,size:"small",onClick:t.onPrivacy})))),Vd=m(q)`
|
|
2791
2847
|
position: fixed;
|
|
2792
2848
|
bottom: 1rem;
|
|
2793
2849
|
right: 1rem;
|
|
@@ -2808,7 +2864,7 @@ object-assign
|
|
|
2808
2864
|
margin-top: 1rem;
|
|
2809
2865
|
float: right;
|
|
2810
2866
|
}
|
|
2811
|
-
`,
|
|
2867
|
+
`,Bd=t=>e.createElement(Vd,null,e.createElement("h4",null,t.title),e.createElement("p",null,t.text,e.createElement("a",{target:"_blank",href:t.onFind},t.find)),e.createElement(U,{text:t.accept,onClick:t.onAccept})),Hd={all:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/AllDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/AllLight.svg"},erised:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/ErisedDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/ErisedLight.svg"},griphook:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/GriphookDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/GriphookLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},bond:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/BondDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/BondLight.svg"},lois:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/LoisDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/LoisLight.svg"},dailyprofit:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/DailyprofitDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/DailyprofitLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},whitecastle:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/WhitecastleDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/WhitecastleLight.svg"}},Zd={id:"light",pure:"var(--light)",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},Wd={id:"dark",pure:"var(--vanta)",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},Gd=m.div`
|
|
2812
2868
|
width: 100%;
|
|
2813
2869
|
min-height: 100vh;
|
|
2814
2870
|
background: ${e=>e.theme.background};
|
|
@@ -2843,7 +2899,7 @@ object-assign
|
|
|
2843
2899
|
transition-property: background;
|
|
2844
2900
|
transition-duration: 0.5s;
|
|
2845
2901
|
}
|
|
2846
|
-
`,
|
|
2902
|
+
`,Ud=m.div`
|
|
2847
2903
|
height: 1.5rem;
|
|
2848
2904
|
border-radius: 1rem;
|
|
2849
2905
|
margin-bottom: 2rem;
|
|
@@ -2852,15 +2908,15 @@ object-assign
|
|
|
2852
2908
|
grid-template-columns: repeat(${e=>e.steps}, 1fr);
|
|
2853
2909
|
background: ${e=>e.theme.mid};
|
|
2854
2910
|
overflow: hidden;
|
|
2855
|
-
`,
|
|
2911
|
+
`,qd=m.div`
|
|
2856
2912
|
background: linear-gradient(to right, var(--main), ${e=>e.theme.mid});
|
|
2857
2913
|
height: 100%;
|
|
2858
2914
|
width: 100%;
|
|
2859
|
-
`,
|
|
2915
|
+
`,Kd=m.div`
|
|
2860
2916
|
background: var(--main);
|
|
2861
2917
|
height: 100%;
|
|
2862
2918
|
width: 100%;
|
|
2863
|
-
`,
|
|
2919
|
+
`,Yd=m.div`
|
|
2864
2920
|
position: relative;
|
|
2865
2921
|
|
|
2866
2922
|
.Steps {
|
|
@@ -2885,26 +2941,26 @@ object-assign
|
|
|
2885
2941
|
transform: translateX(-110%);
|
|
2886
2942
|
transition: all 0.4s ease;
|
|
2887
2943
|
}
|
|
2888
|
-
`,
|
|
2944
|
+
`,Xd=m.div`
|
|
2889
2945
|
padding: var(--smallDist);
|
|
2890
2946
|
border-radius: var(--normalRadius);
|
|
2891
2947
|
box-shadow: ${e=>e.theme.out};
|
|
2892
2948
|
background: ${e=>e.theme.low};
|
|
2893
|
-
`,
|
|
2949
|
+
`,Jd=m.div`
|
|
2894
2950
|
display: flex;
|
|
2895
2951
|
align-items: center;
|
|
2896
2952
|
justify-content: space-between;
|
|
2897
2953
|
padding: 4rem 0 2rem 0;
|
|
2898
|
-
`,
|
|
2954
|
+
`,Qd=m.div`
|
|
2899
2955
|
position: fixed;
|
|
2900
2956
|
top: 0;
|
|
2901
2957
|
left: 0;
|
|
2902
2958
|
z-index: 500;
|
|
2903
2959
|
width: 100%;
|
|
2904
2960
|
height: 100vh;
|
|
2905
|
-
`,
|
|
2961
|
+
`,ef=m(Qd)`
|
|
2906
2962
|
background: ${e=>e.theme.overlay};
|
|
2907
|
-
`,
|
|
2963
|
+
`,tf=m.div`
|
|
2908
2964
|
position: fixed;
|
|
2909
2965
|
top: 0;
|
|
2910
2966
|
right: 0;
|
|
@@ -2913,19 +2969,19 @@ object-assign
|
|
|
2913
2969
|
height: 100%;
|
|
2914
2970
|
max-width: 60%;
|
|
2915
2971
|
background-color: ${e=>e.theme.background};
|
|
2916
|
-
`,
|
|
2972
|
+
`,nf=m.div`
|
|
2917
2973
|
display: flex;
|
|
2918
2974
|
align-items: center;
|
|
2919
2975
|
justify-content: space-between;
|
|
2920
2976
|
height: 6rem;
|
|
2921
2977
|
padding: 0 4rem;
|
|
2922
|
-
`,
|
|
2978
|
+
`,rf=m.div`
|
|
2923
2979
|
padding: 2rem 4rem 10rem 4rem;
|
|
2924
2980
|
background: ${e=>e.theme.low};
|
|
2925
2981
|
height: 100%;
|
|
2926
2982
|
overflow: auto;
|
|
2927
|
-
`,
|
|
2983
|
+
`,af=m.div`
|
|
2928
2984
|
display: grid;
|
|
2929
2985
|
grid-template-columns: 1fr 1fr;
|
|
2930
2986
|
grid-gap: 2rem;
|
|
2931
|
-
`;export{V as Actions_,
|
|
2987
|
+
`;export{V as Actions_,Kl as Alert,Xl as AlertContainer,mt as AlertContext,Jl as AlertIcon,Yl as AlertSingle,Ql as Alert_,ft as AsideContext,U as Black_,Mt as Builder_,Lt as Builder_Brand,g as Button,q as Card,al as CardsForty,rl as CardsFull,ol as CardsSixty,nl as CardsTools,It as Checkbox_,ac as Color_Picker,Fe as Confirmation_,Bd as Cookies_,y as Cta_,W as Dark_Plain,Ji as Dates_,R as Delete_Plain,at as Dropdown_,E as Edit_,Pn as Elastic_Search,H as Facebook_,Ul as FadeIn,x as Focus_,C as Focus_Plain,Fd as Footer_,Xe as Form,et as FormGroup,Je as FormInput,Qe as FormLabel,tt as FormList,bl as Forty_Card_Loader,Dl as Forty_Stat_Loader,hl as Full_Card_Loader,Sl as Full_Stat_Loader,Wn as Google_Search,S as Grey_,A as Grey_Link,lt as HamContext,b as IconSvg,nt as Input_,gt as Input_Phone,kt as Input_Phone_Register,ot as LangContext,D as Main_,Tl as Main_Loader,N as Main_Plain,ct as MenuContext,Nc as Nav_,le as On_Click_Card,Rs as On_Stat,es as Page,cs as PageAlwaysVisible,ls as PageDesktopOnly,ss as PageDesktopPadding,ns as PageForty,ts as PageFull,vs as PageIllu,fs as PageSingle,ms as PageSingleHeader,hs as PageSingleRight,ps as PageSingleleft,rs as PageSixty,gs as PageSub,ds as PageSubtitle,us as PageTitle,as as PageTools,is as PageToolsForty,os as PageToolsSixty,dt as PhoneContext,ve as Preset_Card,jt as Radio_,z as Red_,it as RegionContext,je as Row_Card,Ls as Section_Filters_Search,Os as Section_Search,Ms as Section_Title,jc as Sidebar_,zc as Sidebar_Box,ws as Single_,vl as Sixty_Card_Loader,Al as Sixty_Stat_Loader,Qd as Slider,rf as SliderContainer,ut as SliderContext,af as SliderGrid,ef as SliderOverlay,nf as SliderTitle,tf as SliderWrapper,el as Slider_,Ws as Stat_,Ud as Steps,Jd as StepsActions,Kd as StepsComplete,Yd as StepsContainer,qd as StepsCurrent,Xd as StepsWrapper,qc as Steps_,Vc as Steps_Actions,Ed as Sub_Circles,kd as Sub_Status,Gl as Text_Loader,Pt as Textarea_,Gd as Theme,st as ThemeContext,Wd as ThemeDark,Zd as ThemeLight,nc as Toggle_,Us as Toggle_Stat,De as Unlock_Card,od as Upload_Avatar,ud as Upload_Cover,pd as Upload_Logo,bd as Upload_Media,Ee as View_Card,j as White_Plain,K as breakPoints,vt as countries,Y as device,Hd as logo};
|