monica-alexandria 3.4.26 → 3.4.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 +152 -130
- package/dist/index.js +152 -130
- package/package.json +1 -1
- package/src/export/components/button/Red_.js +12 -7
- package/src/export/components/button/index.js +2 -1
package/dist/index.es.js
CHANGED
|
@@ -221,7 +221,29 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
221
221
|
fill: var(--errorLight) !important;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
`,S=t=>e.createElement(C,{className:t.className,noPadding:t.noPadding,size:t.size,onClick:t.onClick},t.iconLeft?e.createElement(d,{Icon:t.iconLeft}):null,t.text?e.createElement("span",null,t.text):null,t.iconRight?e.createElement(d,{Icon:t.iconRight}):null),A=o
|
|
224
|
+
`,S=t=>e.createElement(C,{className:t.className,noPadding:t.noPadding,size:t.size,onClick:t.onClick},t.iconLeft?e.createElement(d,{Icon:t.iconLeft}):null,t.text?e.createElement("span",null,t.text):null,t.iconRight?e.createElement(d,{Icon:t.iconRight}):null),A=o(c)`
|
|
225
|
+
background: transparent;
|
|
226
|
+
border: 1px solid transparent;
|
|
227
|
+
|
|
228
|
+
span{
|
|
229
|
+
color: var(--error);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
svg{
|
|
233
|
+
fill: var(--error);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&:hover{
|
|
237
|
+
|
|
238
|
+
span{
|
|
239
|
+
color: var(--errorLight);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
svg{
|
|
243
|
+
fill: var(--errorLight);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
`,$=t=>e.createElement(A,{size:t.size,onClick:t.onClick},t.iconLeft?e.createElement(d,{Icon:t.iconLeft}):null,t.text?e.createElement("span",null,t.text):null,t.iconRight?e.createElement(d,{Icon:t.iconRight}):null),I=o.div`
|
|
225
247
|
box-shadow: ${e=>e.theme.out};
|
|
226
248
|
border-radius: var(--smallRadius);
|
|
227
249
|
transition: box-shadow .5s;
|
|
@@ -246,7 +268,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
246
268
|
box-shadow: ${e=>e.theme.outFocus};
|
|
247
269
|
transition: box-shadow .5s;
|
|
248
270
|
}
|
|
249
|
-
|
|
271
|
+
`,N=o(I)`
|
|
250
272
|
cursor: pointer;
|
|
251
273
|
|
|
252
274
|
header{
|
|
@@ -291,11 +313,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
291
313
|
text-align: center;
|
|
292
314
|
}
|
|
293
315
|
}
|
|
294
|
-
`,
|
|
316
|
+
`,R=o.span`
|
|
295
317
|
font-size: 5rem;
|
|
296
318
|
font-family: "fontMedium", sans-serif;
|
|
297
319
|
color: ${e=>"Main"===e.headerColor?"var(--main)":"Focus"===e.headerColor?"var(--focus)":"Error"===e.headerColor?"var(--error)":"Success"===e.headerColor?"var(--success)":"Warning"===e.headerColor?"var(--warning)":"var(--black)"};
|
|
298
|
-
`,
|
|
320
|
+
`,T=o.div`
|
|
299
321
|
|
|
300
322
|
img{
|
|
301
323
|
object-fit: cover;
|
|
@@ -303,7 +325,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
303
325
|
width: 11rem;
|
|
304
326
|
border-radius: 50%;
|
|
305
327
|
}
|
|
306
|
-
`,
|
|
328
|
+
`,Z=t=>e.createElement(N,{className:t.className,imgBevahe:t.imgBevahe,onClick:t.onClick},t.icon||t.header||t.imgSmall?e.createElement("header",null,t.icon?e.createElement("figure",null,e.createElement(d,{Icon:t.icon})):t.imgSmall?e.createElement(T,null,e.createElement("img",{src:t.imgSmall})):e.createElement(R,{headerColor:t.headerColor},t.header)):t.img?e.createElement("picture",null,e.createElement("img",{src:t.img})):null,t.title||t.subtitle?e.createElement("footer",null,t.title&&e.createElement("h2",null,t.title),t.subtitle&&e.createElement("h5",null,t.subtitle),t.children):null),B={xs:`(max-width: ${`${576}px`})`,sm:`(max-width: ${`${768}px`})`,md:`(max-width: ${`${992}px`})`,lg:`(max-width: ${`${1200}px`})`,xl:`(max-width: ${`${1440}px`})`,wd:`(max-width: ${`${1800}px`})`},z=o.div`
|
|
307
329
|
position: fixed;
|
|
308
330
|
top: 0;
|
|
309
331
|
left: 0;
|
|
@@ -311,7 +333,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
311
333
|
width: 100%;
|
|
312
334
|
min-height: 100vh;
|
|
313
335
|
background: ${e=>e.theme.overlay};
|
|
314
|
-
`,
|
|
336
|
+
`,G=o.div`
|
|
315
337
|
position: fixed;
|
|
316
338
|
top: 6.5rem;
|
|
317
339
|
left: 50%;
|
|
@@ -322,14 +344,14 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
322
344
|
padding: var(--normalPads);
|
|
323
345
|
border-radius: var(--smallRadius);
|
|
324
346
|
background: ${e=>e.theme.background};
|
|
325
|
-
`,
|
|
347
|
+
`,P=o.div`
|
|
326
348
|
margin-top: 2rem;
|
|
327
349
|
padding: 1rem 2rem;
|
|
328
350
|
display: flex;
|
|
329
351
|
align-items: center;
|
|
330
352
|
justify-content: space-between;
|
|
331
353
|
|
|
332
|
-
@media ${
|
|
354
|
+
@media ${B.sm}{
|
|
333
355
|
|
|
334
356
|
button{
|
|
335
357
|
|
|
@@ -338,9 +360,9 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
338
360
|
}
|
|
339
361
|
}
|
|
340
362
|
}
|
|
341
|
-
`,
|
|
363
|
+
`,F=t=>e.createElement(z,null,e.createElement(G,null,e.createElement("h4",null,t.message),e.createElement(P,null,e.createElement(w,{onClick:t.onClick_Main,iconLeft:t.icon_Main,text:t.text_Main}),e.createElement(M,{onClick:t.onClick_MainPlain,iconLeft:t.icon_MainPlain,text:t.text_MainPlain})))),H=o.div`
|
|
342
364
|
|
|
343
|
-
`,
|
|
365
|
+
`,V=o.div`
|
|
344
366
|
display: grid;
|
|
345
367
|
grid-template-columns: var(--smallIcon) 1fr;
|
|
346
368
|
align-items: flex-start;
|
|
@@ -350,7 +372,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
350
372
|
svg{
|
|
351
373
|
width: var(--smallIcon);
|
|
352
374
|
}
|
|
353
|
-
`,
|
|
375
|
+
`,D=o(V)`
|
|
354
376
|
|
|
355
377
|
h6{
|
|
356
378
|
color: var(--greyDark);
|
|
@@ -359,7 +381,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
359
381
|
svg{
|
|
360
382
|
fill: var(--greyDark);
|
|
361
383
|
}
|
|
362
|
-
`;o(
|
|
384
|
+
`;o(V)`
|
|
363
385
|
|
|
364
386
|
h6{
|
|
365
387
|
color: var(--success);
|
|
@@ -368,7 +390,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
368
390
|
svg{
|
|
369
391
|
fill: var(--success);
|
|
370
392
|
}
|
|
371
|
-
`;const
|
|
393
|
+
`;const K=o(V)`
|
|
372
394
|
|
|
373
395
|
h6{
|
|
374
396
|
color: var(--warning);
|
|
@@ -377,7 +399,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
377
399
|
svg{
|
|
378
400
|
fill: var(--warning);
|
|
379
401
|
}
|
|
380
|
-
`,
|
|
402
|
+
`,j=o(V)`
|
|
381
403
|
|
|
382
404
|
h6{
|
|
383
405
|
color: var(--error);
|
|
@@ -386,7 +408,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
386
408
|
svg{
|
|
387
409
|
fill: var(--error);
|
|
388
410
|
}
|
|
389
|
-
`,
|
|
411
|
+
`,O=o.div`
|
|
390
412
|
position: absolute;
|
|
391
413
|
top: .8rem;
|
|
392
414
|
right: .8rem;
|
|
@@ -395,7 +417,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
395
417
|
width: var(--smallIcon);
|
|
396
418
|
fill: var(--warning);
|
|
397
419
|
}
|
|
398
|
-
`,
|
|
420
|
+
`,q=o.input`
|
|
399
421
|
width: 100%;
|
|
400
422
|
border: none;
|
|
401
423
|
background: ${e=>e.theme.background};
|
|
@@ -416,7 +438,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
416
438
|
outline: 0;
|
|
417
439
|
box-shadow: ${e=>e.theme.inFocus};
|
|
418
440
|
}
|
|
419
|
-
`,
|
|
441
|
+
`,W=o.textarea`
|
|
420
442
|
width: 100%;
|
|
421
443
|
border: none;
|
|
422
444
|
background: ${e=>e.theme.background};
|
|
@@ -438,9 +460,9 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
438
460
|
outline: 0;
|
|
439
461
|
box-shadow: ${e=>e.theme.inFocus};
|
|
440
462
|
}
|
|
441
|
-
`,
|
|
463
|
+
`,U=o.label`
|
|
442
464
|
color: ${e=>e.theme.high};
|
|
443
|
-
`,
|
|
465
|
+
`,X=o.div`
|
|
444
466
|
padding: var(--normalPads);
|
|
445
467
|
background: ${e=>e.theme.low};
|
|
446
468
|
border-radius: var(--normalRadius);
|
|
@@ -448,11 +470,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
448
470
|
h3{
|
|
449
471
|
margin-bottom: 4rem;
|
|
450
472
|
}
|
|
451
|
-
`,
|
|
473
|
+
`,J=o(q)`
|
|
452
474
|
padding-top: 3rem;
|
|
453
|
-
`,
|
|
475
|
+
`,Y=o(U)`
|
|
454
476
|
font-size: var(--smallText);
|
|
455
|
-
`,
|
|
477
|
+
`,Q=o.div`
|
|
456
478
|
position: relative;
|
|
457
479
|
|
|
458
480
|
label{
|
|
@@ -504,7 +526,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
504
526
|
display: none;
|
|
505
527
|
}
|
|
506
528
|
}
|
|
507
|
-
`,
|
|
529
|
+
`,ee=o.ul`
|
|
508
530
|
margin-top: 2rem;
|
|
509
531
|
|
|
510
532
|
li{
|
|
@@ -519,7 +541,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
519
541
|
fill: ${e=>e.theme.color};
|
|
520
542
|
}
|
|
521
543
|
}
|
|
522
|
-
`,
|
|
544
|
+
`,te=n=>{const[r,a]=t(n.list);return e.createElement(Q,null,e.createElement(J,{value:n.value,className:n.className,placeholder:n.placeholder,id:n.id,autoComplete:"off",type:"text",onChange:n.onChange,defaultValue:n.defaultValue,onKeyPress:n.onKeyPress,onKeyDown:n.onKeyDown,disabled:n.disableInput}),e.createElement(Y,null,n.placeholder),n.list?e.createElement(w,{size:"small",text:n.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.push(e),n.updateItemList(t),a(t)})(n.value)}):null,n.required?e.createElement(O,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.errors?e.createElement(H,{className:"ValidatorErrors"},n.errors.map((t=>e.createElement(j,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,n.tips&&n.helpers?e.createElement(H,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),n.tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.tips?e.createElement(H,{className:"ValidatorHelpers"},n.tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.helpers?e.createElement(H,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,n.list?e.createElement(ee,null,r.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.splice(e,1),n.updateItemList(t),a(t)})(r),size:"small",iconLeft:"Delete"}))))):null)},ne=o.div`
|
|
523
545
|
position: relative;
|
|
524
546
|
|
|
525
547
|
select{
|
|
@@ -552,27 +574,27 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
552
574
|
right: 1rem;
|
|
553
575
|
}
|
|
554
576
|
|
|
555
|
-
`,
|
|
577
|
+
`,re=t=>e.createElement(ne,null,e.createElement(d,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),t.items?e.createElement("select",{className:t.className,onChange:t.onChange,defaultValue:t.defaultValue},t.items.map(((t,n)=>e.createElement("option",{value:t.value,key:n},t.text)))):null,t.children),ae=n({language:"el",setLanguage:()=>{}}),oe=n({region:"Greece",setRegion:()=>{}}),ie=n({activeMenu:"Main",setActiveMenu:()=>{}}),ce=n({hamState:!1,setHamState:()=>{}}),le=n({theme:"light",setTheme:()=>{}}),se=n({slider:!1,toggleSlider:()=>{}}),de=o.div`
|
|
556
578
|
|
|
557
|
-
`,
|
|
579
|
+
`,me=o.div`
|
|
558
580
|
display: grid;
|
|
559
581
|
align-items: flex-start;
|
|
560
582
|
justify-content: flex-start;
|
|
561
583
|
grid-template-columns: auto auto;
|
|
562
584
|
grid-column-gap: 2rem;
|
|
563
585
|
margin-bottom: 1rem;
|
|
564
|
-
`,
|
|
586
|
+
`,ue=t=>{const{region:n}=r(oe);return e.createElement(de,null,e.createElement(me,null,e.createElement(re,null,e.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===n?e.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===n?e.createElement("option",{selected:!0},"🇩🇪 +49"):e.createElement("option",{selected:!0},"🇬🇷 +30"))),e.createElement(re,{items:t.array_PhoneDropdown})),e.createElement(te,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},he=o.div`
|
|
565
587
|
display: grid;
|
|
566
588
|
grid-template-columns: auto 1fr;
|
|
567
589
|
align-items: center;
|
|
568
590
|
grid-column-gap: 2rem;
|
|
569
|
-
`,
|
|
591
|
+
`,ge=t=>{const{region:n}=r(oe);return e.createElement(he,null,e.createElement(re,null,"Greece"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49")):"Deutschland"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇩🇪 +49"),e.createElement("option",null,"🇬🇷 +30")):e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49"))),e.createElement(te,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},pe=o.div`
|
|
570
592
|
margin-bottom: 2rem;
|
|
571
593
|
|
|
572
594
|
h4{
|
|
573
595
|
padding-bottom: 1rem;
|
|
574
596
|
}
|
|
575
|
-
`,
|
|
597
|
+
`,ve=t=>e.createElement(pe,{key:t.key},t.title?e.createElement("h4",null,t.title):null,t.children),ye=o.div`
|
|
576
598
|
display: grid;
|
|
577
599
|
grid-template-columns: auto 1fr;
|
|
578
600
|
align-items: flex-start;
|
|
@@ -598,7 +620,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
598
620
|
cursor: not-allowed;
|
|
599
621
|
pointer-events: none;
|
|
600
622
|
}
|
|
601
|
-
`,
|
|
623
|
+
`,fe=o.div`
|
|
602
624
|
position: relative;
|
|
603
625
|
height: 2rem;
|
|
604
626
|
width: 2rem;
|
|
@@ -652,12 +674,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
652
674
|
opacity: 1 !important;
|
|
653
675
|
}
|
|
654
676
|
}
|
|
655
|
-
`,
|
|
677
|
+
`,Ee=o.div`
|
|
656
678
|
input{
|
|
657
679
|
opacity: ${e=>!0===e.checked?"1":"0.4"};
|
|
658
680
|
cursor: ${e=>!0===e.checked?"auto":"not-allowed !important"};
|
|
659
681
|
}
|
|
660
|
-
`,
|
|
682
|
+
`,xe=t=>e.createElement(ye,{className:t.className,key:t.key},t.withInput?e.createElement(Ee,{checked:t.checked},e.createElement(te,{placeholder:t.placeholder,disableInput:!t.checked})):e.createElement("label",{for:t.id},e.createElement("p",null,t.text)),e.createElement(fe,{className:"Check"},e.createElement("input",{type:"checkbox",id:t.id,checked:t.checked,onClick:t.onClick,onChange:t.onChange}),e.createElement("span",{className:"CheckCustom"}),e.createElement(d,{Icon:"Check",class_Icon:"CheckIcon"}))),ke=o.div`
|
|
661
683
|
display: grid;
|
|
662
684
|
grid-template-columns: auto 1fr;
|
|
663
685
|
align-items: flex-start;
|
|
@@ -677,7 +699,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
677
699
|
background: ${e=>e.theme.low};
|
|
678
700
|
}
|
|
679
701
|
}
|
|
680
|
-
`,
|
|
702
|
+
`,we=o.div`
|
|
681
703
|
position: relative;
|
|
682
704
|
height: 2rem;
|
|
683
705
|
width: 2rem;
|
|
@@ -731,7 +753,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
731
753
|
opacity: 1 !important;
|
|
732
754
|
}
|
|
733
755
|
}
|
|
734
|
-
`,
|
|
756
|
+
`,_e=t=>e.createElement(ke,{key:t.key},t.withInput?e.createElement(te,{placeholder:t.placeholder}):e.createElement("label",{for:t.id},e.createElement("p",null,t.text)),e.createElement(we,{className:"RadioCircle"},e.createElement("input",{name:t.name,type:"radio",id:t.id,checked:t.checked}),e.createElement("span",{className:"RadioCustom"}),e.createElement(d,{Icon:"Sun",class_Icon:"RadioIcon"}))),Me=o.div`
|
|
735
757
|
position: relative;
|
|
736
758
|
|
|
737
759
|
.ValidatorHelpers{
|
|
@@ -752,18 +774,18 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
752
774
|
display: none;
|
|
753
775
|
}
|
|
754
776
|
}
|
|
755
|
-
`,
|
|
777
|
+
`,be=o.h6`
|
|
756
778
|
text-align: right;
|
|
757
779
|
|
|
758
780
|
span{
|
|
759
781
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
760
782
|
}
|
|
761
|
-
`,Me=t=>{const[n,r]=e.useState(0);return e.createElement(we,null,e.createElement(O,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(_e,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(K,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(P,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(P,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(P,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(P,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function be(e){return Array.isArray?Array.isArray(e):"[object Array]"===Ne(e)}function Le(e){return"string"==typeof e}function Ce(e){return"number"==typeof e}function Se(e){return!0===e||!1===e||function(e){return Ae(e)&&null!==e}(e)&&"[object Boolean]"==Ne(e)}function Ae(e){return"object"==typeof e}function $e(e){return null!=e}function Ie(e){return!e.trim().length}function Ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Re=Object.prototype.hasOwnProperty;class Te{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Ze(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Ze(e){let t=null,n=null,r=null,a=1,o=null;if(Le(e)||be(e))r=e,t=Be(e),n=ze(e);else{if(!Re.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Re.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Be(i),n=ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Be(e){return be(e)?e:e.split(".")}function ze(e){return be(e)?e.join("."):e}var Ge={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if($e(e))if(t[o]){const i=e[t[o]];if(!$e(i))return;if(o===t.length-1&&(Le(i)||Ce(i)||Se(i)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(be(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,Le(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Pe=/[^ ]+/g;class Fe{constructor({getFn:e=Ge.getFn,fieldNormWeight:t=Ge.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Pe).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Le(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();Le(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!$e(e)||Ie(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if($e(a))if(be(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if($e(r))if(Le(r)&&!Ie(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else be(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Le(a)&&!Ie(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function He(e,t,{getFn:n=Ge.getFn,fieldNormWeight:r=Ge.fieldNormWeight}={}){const a=new Fe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ze)),a.setSources(t),a.create(),a}function Ve(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Ge.distance,ignoreLocation:o=Ge.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function De(e,t,n,{location:r=Ge.location,distance:a=Ge.distance,threshold:o=Ge.threshold,findAllMatches:i=Ge.findAllMatches,minMatchCharLength:c=Ge.minMatchCharLength,includeMatches:l=Ge.includeMatches,ignoreLocation:s=Ge.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Ve(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){Ve(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=Ve(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(Ve(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Ge.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function Ke(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class je{constructor(e,{location:t=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ke(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=De(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class Oe{constructor(e){this.pattern=e}static isMultiMatch(e){return qe(e,this.multiRegex)}static isSingleMatch(e){return qe(e,this.singleRegex)}search(){}}function qe(e,t){const n=e.match(t);return n?n[1]:null}class We extends Oe{constructor(e,{location:t=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.ignoreLocation}={}){super(e),this._bitapSearch=new je(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ue extends Oe{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Xe=[class extends Oe{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ue,class extends Oe{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},We],Je=Xe.length,Ye=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Qe=new Set([We.type,Ue.type]);class et{constructor(e,{isCaseSensitive:t=Ge.isCaseSensitive,includeMatches:n=Ge.includeMatches,minMatchCharLength:r=Ge.minMatchCharLength,ignoreLocation:a=Ge.ignoreLocation,findAllMatches:o=Ge.findAllMatches,location:i=Ge.location,threshold:c=Ge.threshold,distance:l=Ge.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Ye).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Je;){const e=Xe[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Je;){const e=Xe[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Qe.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const tt=[];function nt(e,t){for(let n=0,r=tt.length;n<r;n+=1){let r=tt[n];if(r.condition(e,t))return new r(e,t)}return new je(e,t)}const rt="$and",at="$or",ot="$path",it="$val",ct=e=>!(!e[rt]&&!e[at]),lt=e=>({[rt]:Object.keys(e).map((t=>({[t]:e[t]})))});function st(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[ot])(e);if(!o&&a.length>1&&!ct(e))return r(lt(e));if((e=>!be(e)&&Ae(e)&&!ct(e))(e)){const r=o?e[ot]:a[0],i=o?e[it]:e[r];if(!Le(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:ze(r),pattern:i};return n&&(c.searcher=nt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];be(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return ct(e)||(e=lt(e)),r(e)}function dt(e,t){const n=e.matches;t.matches=[],$e(n)&&n.forEach((e=>{if(!$e(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function mt(e,t){t.score=e.score}class ut{constructor(e,t={},n){this.options={...Ge,...t},this.options.useExtendedSearch,this._keyStore=new Te(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Fe))throw new Error("Incorrect 'index' type");this._myIndex=t||He(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){$e(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=Le(e)?Le(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Ge.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Ce(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Ge.includeMatches,includeScore:r=Ge.includeScore}={}){const a=[];return n&&a.push(dt),r&&a.push(mt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=nt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!$e(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=st(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===rt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if($e(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=nt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!$e(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!$e(t))return[];let r=[];if(be(t))t.forEach((({v:t,i:a,n:o})=>{if(!$e(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}ut.version="6.6.2",ut.createIndex=He,ut.parseIndex=function(e,{getFn:t=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Fe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ut.config=Ge,ut.parseQuery=st,function(...e){tt.push(...e)}(et);var ht=require("greek-utils");const gt=o(J)`
|
|
762
|
-
`,
|
|
783
|
+
`,Le=t=>{const[n,r]=e.useState(0);return e.createElement(Me,null,e.createElement(W,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(be,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(O,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(H,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(j,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(H,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(H,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(H,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Ce(e){return Array.isArray?Array.isArray(e):"[object Array]"===Te(e)}function Se(e){return"string"==typeof e}function Ae(e){return"number"==typeof e}function $e(e){return!0===e||!1===e||function(e){return Ie(e)&&null!==e}(e)&&"[object Boolean]"==Te(e)}function Ie(e){return"object"==typeof e}function Ne(e){return null!=e}function Re(e){return!e.trim().length}function Te(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Ze=Object.prototype.hasOwnProperty;class Be{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=ze(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ze(e){let t=null,n=null,r=null,a=1,o=null;if(Se(e)||Ce(e))r=e,t=Ge(e),n=Pe(e);else{if(!Ze.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Ze.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ge(i),n=Pe(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ge(e){return Ce(e)?e:e.split(".")}function Pe(e){return Ce(e)?e.join("."):e}var Fe={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(Ne(e))if(t[o]){const i=e[t[o]];if(!Ne(i))return;if(o===t.length-1&&(Se(i)||Ae(i)||$e(i)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(Ce(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,Se(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const He=/[^ ]+/g;class Ve{constructor({getFn:e=Fe.getFn,fieldNormWeight:t=Fe.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(He).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Se(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();Se(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Ne(e)||Re(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Ne(a))if(Ce(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ne(r))if(Se(r)&&!Re(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Ce(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Se(a)&&!Re(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function De(e,t,{getFn:n=Fe.getFn,fieldNormWeight:r=Fe.fieldNormWeight}={}){const a=new Ve({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(ze)),a.setSources(t),a.create(),a}function Ke(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Fe.distance,ignoreLocation:o=Fe.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function je(e,t,n,{location:r=Fe.location,distance:a=Fe.distance,threshold:o=Fe.threshold,findAllMatches:i=Fe.findAllMatches,minMatchCharLength:c=Fe.minMatchCharLength,includeMatches:l=Fe.includeMatches,ignoreLocation:s=Fe.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Ke(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){Ke(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=Ke(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(Ke(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Fe.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function Oe(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class qe{constructor(e,{location:t=Fe.location,threshold:n=Fe.threshold,distance:r=Fe.distance,includeMatches:a=Fe.includeMatches,findAllMatches:o=Fe.findAllMatches,minMatchCharLength:i=Fe.minMatchCharLength,isCaseSensitive:c=Fe.isCaseSensitive,ignoreLocation:l=Fe.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Oe(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=je(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class We{constructor(e){this.pattern=e}static isMultiMatch(e){return Ue(e,this.multiRegex)}static isSingleMatch(e){return Ue(e,this.singleRegex)}search(){}}function Ue(e,t){const n=e.match(t);return n?n[1]:null}class Xe extends We{constructor(e,{location:t=Fe.location,threshold:n=Fe.threshold,distance:r=Fe.distance,includeMatches:a=Fe.includeMatches,findAllMatches:o=Fe.findAllMatches,minMatchCharLength:i=Fe.minMatchCharLength,isCaseSensitive:c=Fe.isCaseSensitive,ignoreLocation:l=Fe.ignoreLocation}={}){super(e),this._bitapSearch=new qe(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Je extends We{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ye=[class extends We{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Je,class extends We{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends We{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends We{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends We{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends We{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Xe],Qe=Ye.length,et=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const tt=new Set([Xe.type,Je.type]);class nt{constructor(e,{isCaseSensitive:t=Fe.isCaseSensitive,includeMatches:n=Fe.includeMatches,minMatchCharLength:r=Fe.minMatchCharLength,ignoreLocation:a=Fe.ignoreLocation,findAllMatches:o=Fe.findAllMatches,location:i=Fe.location,threshold:c=Fe.threshold,distance:l=Fe.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(et).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Qe;){const e=Ye[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Qe;){const e=Ye[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;tt.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const rt=[];function at(e,t){for(let n=0,r=rt.length;n<r;n+=1){let r=rt[n];if(r.condition(e,t))return new r(e,t)}return new qe(e,t)}const ot="$and",it="$or",ct="$path",lt="$val",st=e=>!(!e[ot]&&!e[it]),dt=e=>({[ot]:Object.keys(e).map((t=>({[t]:e[t]})))});function mt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[ct])(e);if(!o&&a.length>1&&!st(e))return r(dt(e));if((e=>!Ce(e)&&Ie(e)&&!st(e))(e)){const r=o?e[ct]:a[0],i=o?e[lt]:e[r];if(!Se(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:Pe(r),pattern:i};return n&&(c.searcher=at(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Ce(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return st(e)||(e=dt(e)),r(e)}function ut(e,t){const n=e.matches;t.matches=[],Ne(n)&&n.forEach((e=>{if(!Ne(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function ht(e,t){t.score=e.score}class gt{constructor(e,t={},n){this.options={...Fe,...t},this.options.useExtendedSearch,this._keyStore=new Be(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ve))throw new Error("Incorrect 'index' type");this._myIndex=t||De(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ne(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=Se(e)?Se(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Fe.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Ae(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Fe.includeMatches,includeScore:r=Fe.includeScore}={}){const a=[];return n&&a.push(ut),r&&a.push(ht),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=at(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ne(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=mt(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===ot)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ne(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=at(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ne(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!Ne(t))return[];let r=[];if(Ce(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ne(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}gt.version="6.6.2",gt.createIndex=De,gt.parseIndex=function(e,{getFn:t=Fe.getFn,fieldNormWeight:n=Fe.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Ve({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},gt.config=Fe,gt.parseQuery=mt,function(...e){rt.push(...e)}(nt);var pt=require("greek-utils");const vt=o(Q)`
|
|
784
|
+
`,yt=o(J)`
|
|
763
785
|
|
|
764
|
-
`,
|
|
786
|
+
`,ft=o(Y)`
|
|
765
787
|
|
|
766
|
-
`,
|
|
788
|
+
`,Et=o.ul`
|
|
767
789
|
margin-top: 1rem;
|
|
768
790
|
background: ${e=>e.theme.background};
|
|
769
791
|
box-shadow: ${e=>e.theme.out};
|
|
@@ -788,12 +810,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
788
810
|
.ElasticSelected{
|
|
789
811
|
background: ${e=>e.theme.low};
|
|
790
812
|
}
|
|
791
|
-
`,
|
|
813
|
+
`,xt=o(ee)`
|
|
792
814
|
|
|
793
815
|
h5{
|
|
794
816
|
padding: var(--smallPads);
|
|
795
817
|
}
|
|
796
|
-
`,
|
|
818
|
+
`,kt=n=>{let r={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[n.suggestionType]},o=n.json_File;const[i,c]=t({query:"",file:o,notfoundmessage:!1,defaultValue:n.defaultValue}),[l,s]=t(!1),[m,u]=t(0),[h,g]=t(n.list),p=e=>{n.onSuggestions(e),c({...i,query:"",defaultValue:"string"==typeof e?e:e[n.suggestionType]})},v=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===m?l.length-1:m-1)),"ArrowDown"==e.key&&(e.preventDefault(),m===l.length-1?u(0):u(m+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),p("string"==typeof l[m]?l[m]:l[m][n.suggestionType]))};return a((()=>{r.minMatchCharLength=n.minMatchCharacters?n.minMatchCharacters:1;const e=new gt(o,r);let t=i.query?e.search(i.query):o;t=t.slice(0,n.size),s(t)}),[i]),a((()=>{n.getInput&&l?.length>0?n.getInput(l[0]?.item):n.getSuggestions&&l?.length>0&&i.query.length?n.getSuggestions(l):n.getSuggestions&&!i.query.length&&n.getSuggestions([])}),[l]),e.createElement(vt,null,e.createElement(yt,{id:"elasticSearch",autoComplete:"off",type:"text",value:n.value,placeholder:n.placeholder,onChange:e=>{const{target:t={}}=e,{value:r=""}=t;let a=pt.toGreek(r);c({...i,query:n.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>v(e),onKeyDown:e=>v(e),list:n.list}),e.createElement(ft,null,n.placeholder),n.required?e.createElement(O,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.list?e.createElement(w,{size:"small",text:n.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.push(e),n.updateItemList(t),g(t)})(n.value)}):null,i.query&&l?e.createElement(Et,null,l.slice(0,6).map(((t,r)=>e.createElement("li",{className:r===m%l.length?"ElasticSelected":"",key:r,onClick:()=>p(t?.item?t.item[n.suggestionType]:t[n.suggestionType])},e.createElement("p",null,t?.item?t.item[n.suggestionType]:t[n.suggestionType]))))):null,n.list?e.createElement(xt,null,e.createElement("h5",null,n.listItemTitle),h.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.splice(e,1),n.updateItemList(t),g(t)})(r)}))))):null)},wt=o.div`
|
|
797
819
|
display: flex;
|
|
798
820
|
gap: 1rem;
|
|
799
821
|
align-items: center;
|
|
@@ -818,7 +840,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
818
840
|
transform: rotate(55deg);
|
|
819
841
|
}
|
|
820
842
|
}
|
|
821
|
-
`,
|
|
843
|
+
`,_t=o.div`
|
|
822
844
|
|
|
823
845
|
h6{
|
|
824
846
|
color: var(--focus) !important;
|
|
@@ -829,16 +851,16 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
829
851
|
font-weight: 600;
|
|
830
852
|
}
|
|
831
853
|
|
|
832
|
-
@media ${
|
|
854
|
+
@media ${B.md} {
|
|
833
855
|
display: none;
|
|
834
856
|
}
|
|
835
|
-
`,
|
|
857
|
+
`,Mt=t=>{const{theme:n}=r(le);return e.createElement(wt,{onClick:t.onClick_Logo},"dark"===n?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(_t,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},bt=o.div`
|
|
836
858
|
justify-self: center;
|
|
837
859
|
|
|
838
|
-
@media ${
|
|
860
|
+
@media ${B.sm} {
|
|
839
861
|
justify-self: flex-end;
|
|
840
862
|
}
|
|
841
|
-
`,
|
|
863
|
+
`,Lt=t=>e.createElement(bt,null,e.createElement(s,{size:"normal",text:t.text_Cta,onClick:t.onClick_Cta})),Ct=o.div`
|
|
842
864
|
position: absolute;
|
|
843
865
|
top: 5rem;
|
|
844
866
|
right: 0rem;
|
|
@@ -893,7 +915,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
893
915
|
transform: translateX(110%);
|
|
894
916
|
transition: all .4s ease;
|
|
895
917
|
}
|
|
896
|
-
`,
|
|
918
|
+
`,St=o.div`
|
|
897
919
|
max-height: calc(100vh - 10rem);
|
|
898
920
|
overflow: auto;
|
|
899
921
|
|
|
@@ -907,7 +929,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
907
929
|
}
|
|
908
930
|
}
|
|
909
931
|
}
|
|
910
|
-
`,
|
|
932
|
+
`,At=o.div`
|
|
911
933
|
display: flex;
|
|
912
934
|
align-items: center;
|
|
913
935
|
gap: 1rem;
|
|
@@ -923,7 +945,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
923
945
|
&:hover{
|
|
924
946
|
background: ${e=>e.theme.low};
|
|
925
947
|
}
|
|
926
|
-
|
|
948
|
+
`,$t=o.div`
|
|
927
949
|
display: flex;
|
|
928
950
|
align-items: center;
|
|
929
951
|
justify-content: space-between;
|
|
@@ -978,19 +1000,19 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
978
1000
|
}
|
|
979
1001
|
}
|
|
980
1002
|
}
|
|
981
|
-
`,
|
|
1003
|
+
`,It=o.div`
|
|
982
1004
|
height: 2px;
|
|
983
1005
|
width: 100%;
|
|
984
1006
|
background: ${e=>e.theme.low};
|
|
985
|
-
|
|
1007
|
+
`,Nt=o.div`
|
|
986
1008
|
display: block;
|
|
987
|
-
`,
|
|
1009
|
+
`,Rt=o.div`
|
|
988
1010
|
display: none;
|
|
989
1011
|
|
|
990
|
-
@media ${
|
|
1012
|
+
@media ${B.sm}{
|
|
991
1013
|
display: block !important;
|
|
992
1014
|
}
|
|
993
|
-
`,
|
|
1015
|
+
`,Tt=t=>{const{setActiveMenu:n}=r(ie);return e.createElement(St,null,e.createElement(At,{onClick:()=>n("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement($t,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement($t,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement($t,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},Zt=o.div`
|
|
994
1016
|
display: flex;
|
|
995
1017
|
align-items: center;
|
|
996
1018
|
gap: .5rem;
|
|
@@ -1030,19 +1052,19 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1030
1052
|
transform: translateX(2.3rem);
|
|
1031
1053
|
}
|
|
1032
1054
|
}
|
|
1033
|
-
`,
|
|
1055
|
+
`,Bt=t=>{const{theme:n,setTheme:a}=r(le);return e.createElement(Zt,{onClick:()=>a("dark"===n?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===n?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},zt=o.div`
|
|
1034
1056
|
display: flex;
|
|
1035
1057
|
align-items: center;
|
|
1036
1058
|
justify-content: space-between;
|
|
1037
1059
|
gap: 1rem;
|
|
1038
1060
|
padding: var(--normalPads);
|
|
1039
|
-
`,Bt=t=>{const{region:n}=r(re),{setHamState:a}=r(oe),{setActiveMenu:o}=r(ae),{language:i}=r(ne);return e.createElement(Lt,null,e.createElement(Ct,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Zt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Tt,null)),"Protected"===t.role?e.createElement(It,null,e.createElement(At,null),e.createElement(St,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(St,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(St,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(St,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,n)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement($t,null,e.createElement(At,null),e.createElement(St,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(It,null,e.createElement(At,null),e.createElement(St,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let zt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Gt=t=>{const{region:n,setRegion:a}=r(re),{setActiveMenu:o}=r(ae);return e.createElement(Lt,null,e.createElement(Ct,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),zt.map(((t,r)=>e.createElement(St,{key:r,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:n===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Pt=n=>{const{activeMenu:a}=r(ae),[o,c]=t(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(bt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Bt,{role:n.role,text_Title_Main:n.text_Title_Main,text_Theme_Main:n.text_Theme_Main,onCLick_Account_Main:n.onCLick_Account_Main,img_Account_Main:n.img_Account_Main,imgAlt_Account_Main:n.imgAlt_Account_Main,text_Account_Main:n.text_Account_Main,onClick_Settings_Main:n.onClick_Settings_Main,text_Settings_Main:n.text_Settings_Main,onCLick_Logout:n.onCLick_Logout,text_Logout:n.text_Logout,onCLick_Login:n.onCLick_Login,text_Login:n.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Nt,{text_Title_Language:n.text_Title_Language,onClick_Greek_Language:n.onClick_Greek_Language,onClick_English_Language:n.onClick_English_Language,onClick_German_Language:n.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Gt,{text_Title_Region:n.text_Title_Region}))))},Ft=o.div`
|
|
1061
|
+
`,Gt=t=>{const{region:n}=r(oe),{setHamState:a}=r(ce),{setActiveMenu:o}=r(ie),{language:i}=r(ae);return e.createElement(St,null,e.createElement(At,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(zt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Bt,null)),"Protected"===t.role?e.createElement(Rt,null,e.createElement(It,null),e.createElement($t,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement($t,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement($t,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement($t,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,n)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(Nt,null,e.createElement(It,null),e.createElement($t,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(Rt,null,e.createElement(It,null),e.createElement($t,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let Pt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Ft=t=>{const{region:n,setRegion:a}=r(oe),{setActiveMenu:o}=r(ie);return e.createElement(St,null,e.createElement(At,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Pt.map(((t,r)=>e.createElement($t,{key:r,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:n===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Ht=n=>{const{activeMenu:a}=r(ie),[o,c]=t(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(Ct,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Gt,{role:n.role,text_Title_Main:n.text_Title_Main,text_Theme_Main:n.text_Theme_Main,onCLick_Account_Main:n.onCLick_Account_Main,img_Account_Main:n.img_Account_Main,imgAlt_Account_Main:n.imgAlt_Account_Main,text_Account_Main:n.text_Account_Main,onClick_Settings_Main:n.onClick_Settings_Main,text_Settings_Main:n.text_Settings_Main,onCLick_Logout:n.onCLick_Logout,text_Logout:n.text_Logout,onCLick_Login:n.onCLick_Login,text_Login:n.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Tt,{text_Title_Language:n.text_Title_Language,onClick_Greek_Language:n.onClick_Greek_Language,onClick_English_Language:n.onClick_English_Language,onClick_German_Language:n.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Ft,{text_Title_Region:n.text_Title_Region}))))},Vt=o.div`
|
|
1040
1062
|
justify-self: flex-end;
|
|
1041
1063
|
display: flex;
|
|
1042
1064
|
align-items: center;
|
|
1043
1065
|
gap: 1rem;
|
|
1044
1066
|
position: relative;
|
|
1045
|
-
`,
|
|
1067
|
+
`,Dt=o.div`
|
|
1046
1068
|
display: flex;
|
|
1047
1069
|
align-items: center;
|
|
1048
1070
|
gap: 1rem;
|
|
@@ -1073,28 +1095,28 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1073
1095
|
border: 1px solid ${e=>e.theme.low};
|
|
1074
1096
|
}
|
|
1075
1097
|
|
|
1076
|
-
@media ${
|
|
1098
|
+
@media ${B.sm}{
|
|
1077
1099
|
padding: 0;
|
|
1078
1100
|
|
|
1079
1101
|
h5{
|
|
1080
1102
|
display: none;
|
|
1081
1103
|
}
|
|
1082
1104
|
}
|
|
1083
|
-
`,
|
|
1105
|
+
`,Kt=t=>{const{hamState:n,setHamState:a}=r(ce);return e.createElement(Vt,null,e.createElement(Dt,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Ht,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):null)},jt=o.div`
|
|
1084
1106
|
justify-self: flex-end;
|
|
1085
1107
|
display: flex;
|
|
1086
1108
|
align-items: center;
|
|
1087
1109
|
gap: 1rem;
|
|
1088
1110
|
position: relative;
|
|
1089
|
-
`,
|
|
1111
|
+
`,Ot=o.div`
|
|
1090
1112
|
display: flex;
|
|
1091
1113
|
align-items: center;
|
|
1092
1114
|
gap: 1rem;
|
|
1093
1115
|
|
|
1094
|
-
@media ${
|
|
1116
|
+
@media ${B.sm} {
|
|
1095
1117
|
display: none;
|
|
1096
1118
|
}
|
|
1097
|
-
`,
|
|
1119
|
+
`,qt=t=>{const{hamState:n,setHamState:a}=r(ce);return e.createElement(jt,null,e.createElement(Ot,null,e.createElement(M,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Ht,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},Wt=o.nav`
|
|
1098
1120
|
display: grid;
|
|
1099
1121
|
align-items: center;
|
|
1100
1122
|
grid-gap: 1rem;
|
|
@@ -1108,10 +1130,10 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1108
1130
|
background: ${e=>e.theme.background};
|
|
1109
1131
|
box-shadow: 0 1px 3px ${e=>e.theme.overlay};
|
|
1110
1132
|
|
|
1111
|
-
@media ${
|
|
1133
|
+
@media ${B.sm} {
|
|
1112
1134
|
padding: 1rem 2rem;
|
|
1113
1135
|
}
|
|
1114
|
-
`,
|
|
1136
|
+
`,Ut=t=>e.createElement(Wt,null,e.createElement(Mt,{onClick_Logo:t.onClick_Logo}),e.createElement(Lt,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Kt,{role:t.role,img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):e.createElement(qt,{role:t.role,onClick_Login:t.onClick_Login,text_Login:t.text_Login,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language})),Xt=o.div`
|
|
1115
1137
|
position: fixed;
|
|
1116
1138
|
left: 0;
|
|
1117
1139
|
top: 6rem;
|
|
@@ -1119,7 +1141,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1119
1141
|
width: 8.5rem;
|
|
1120
1142
|
height: 100vh;
|
|
1121
1143
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1122
|
-
`,
|
|
1144
|
+
`,Jt=t=>e.createElement(Xt,null,t.children),Yt=o.li`
|
|
1123
1145
|
cursor: pointer;
|
|
1124
1146
|
transition-property: transform;
|
|
1125
1147
|
transition-duration: .5s;
|
|
@@ -1183,12 +1205,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1183
1205
|
transition-duration: .5s;
|
|
1184
1206
|
}
|
|
1185
1207
|
}
|
|
1186
|
-
`,
|
|
1208
|
+
`,Qt=t=>e.createElement(Yt,{onClick:t.onClick},e.createElement("h5",{className:t.className+" SidebarButtonTitle"},t.text),e.createElement("picture",null,t.icon?e.createElement(d,{Icon:t.icon}):t.img?e.createElement("img",{src:t.img,alt:t.alt}):null)),en=o.div`
|
|
1187
1209
|
display: flex;
|
|
1188
1210
|
align-items: center;
|
|
1189
1211
|
justify-content: space-between;
|
|
1190
1212
|
padding: 4rem 0 2rem 0;
|
|
1191
|
-
`,
|
|
1213
|
+
`,tn=t=>e.createElement(en,null,e.createElement(f,{iconLeft:t.icon_Grey,text:t.text_Grey,onClick:t.onClick_Grey}),e.createElement(w,{iconRight:t.icon_Main,text:t.text_Main,onClick:t.onClick_Main})),nn=o.div`
|
|
1192
1214
|
height: 1.5rem;
|
|
1193
1215
|
border-radius: 1rem;
|
|
1194
1216
|
margin-bottom: 2rem;
|
|
@@ -1197,13 +1219,13 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1197
1219
|
grid-template-columns: repeat( ${e=>e.steps.length} ,1fr);
|
|
1198
1220
|
background: ${e=>e.theme.mid};
|
|
1199
1221
|
overflow: hidden;
|
|
1200
|
-
`,
|
|
1222
|
+
`,rn=o.div`
|
|
1201
1223
|
background: ${e=>e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.currentStep?"var(--main)":"transparent"};
|
|
1202
1224
|
height: 100%;
|
|
1203
1225
|
width: 100%;
|
|
1204
|
-
`,
|
|
1226
|
+
`,an=t=>e.createElement(nn,{steps:t.steps},t.steps.map(((n,r)=>e.createElement(rn,{step:r,currentStep:t.currentStep})))),on=o.div`
|
|
1205
1227
|
|
|
1206
|
-
`,
|
|
1228
|
+
`,cn=o.div`
|
|
1207
1229
|
position: relative;
|
|
1208
1230
|
|
|
1209
1231
|
.Steps{
|
|
@@ -1228,21 +1250,21 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1228
1250
|
transform: translateX(-110%);
|
|
1229
1251
|
transition: all .4s ease;
|
|
1230
1252
|
}
|
|
1231
|
-
`,
|
|
1253
|
+
`,ln=o.div`
|
|
1232
1254
|
padding: var(--smallDist);
|
|
1233
1255
|
border-radius: var(--normalRadius);
|
|
1234
1256
|
box-shadow: ${e=>e.theme.out};
|
|
1235
1257
|
background: ${e=>e.theme.low};
|
|
1236
|
-
`,
|
|
1258
|
+
`,sn=t=>e.createElement(on,null,e.createElement(an,{steps:t.steps,currentStep:t.currentStep}),e.createElement(cn,null,t.steps.map(((n,r)=>e.createElement(i,{in:t.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},e.createElement(ln,{className:"Steps"},n)))))),dn=o.div`
|
|
1237
1259
|
position: fixed;
|
|
1238
1260
|
top: 0;
|
|
1239
1261
|
left: 0;
|
|
1240
1262
|
z-index: 500;
|
|
1241
1263
|
width: 100%;
|
|
1242
1264
|
height: 100vh;
|
|
1243
|
-
`,
|
|
1265
|
+
`,mn=o(dn)`
|
|
1244
1266
|
background: ${e=>e.theme.overlay};
|
|
1245
|
-
`,
|
|
1267
|
+
`,un=o.div`
|
|
1246
1268
|
position: fixed;
|
|
1247
1269
|
top: 0;
|
|
1248
1270
|
right: 0;
|
|
@@ -1251,18 +1273,18 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1251
1273
|
height: 100%;
|
|
1252
1274
|
max-width: 60%;
|
|
1253
1275
|
background-color: ${e=>e.theme.background};
|
|
1254
|
-
`,
|
|
1276
|
+
`,hn=o.div`
|
|
1255
1277
|
display: flex;
|
|
1256
1278
|
align-items: center;
|
|
1257
1279
|
justify-content: space-between;
|
|
1258
1280
|
height: 6rem;
|
|
1259
1281
|
padding: 0 4rem;
|
|
1260
|
-
`,
|
|
1282
|
+
`,gn=o.div`
|
|
1261
1283
|
padding: 2rem 4rem 10rem 4rem;
|
|
1262
1284
|
background: ${e=>e.theme.low};
|
|
1263
1285
|
height: 100%;
|
|
1264
1286
|
overflow: auto;
|
|
1265
|
-
`,
|
|
1287
|
+
`,pn=t=>e.createElement(dn,{className:t.className},e.createElement(mn,{className:"StoryBook_Fix2",onClick:t.onClick_Close}),e.createElement(un,null,e.createElement(hn,null,e.createElement("h3",null,t.title),e.createElement(w,{text:t.done,iconRight:"Check",size:"normal",onClick:t.onClick})),e.createElement(gn,null,t.children))),vn=o.div`
|
|
1266
1288
|
padding-top: 6rem;
|
|
1267
1289
|
position: relative;
|
|
1268
1290
|
|
|
@@ -1270,63 +1292,63 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1270
1292
|
height: calc(100vh - 6rem);
|
|
1271
1293
|
overflow: hidden;
|
|
1272
1294
|
}
|
|
1273
|
-
`,
|
|
1295
|
+
`,yn=o.div`
|
|
1274
1296
|
display: grid;
|
|
1275
1297
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1276
1298
|
grid-gap: 4rem;
|
|
1277
1299
|
padding: 0 4rem;
|
|
1278
1300
|
|
|
1279
|
-
@media ${
|
|
1301
|
+
@media ${B.md} {
|
|
1280
1302
|
grid-template-columns: 1fr;
|
|
1281
1303
|
}
|
|
1282
|
-
`,
|
|
1304
|
+
`,fn=o.div`
|
|
1283
1305
|
display: grid;
|
|
1284
1306
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
1285
1307
|
grid-gap: 4rem;
|
|
1286
1308
|
padding: 0 4rem;
|
|
1287
1309
|
|
|
1288
|
-
@media ${
|
|
1310
|
+
@media ${B.md} {
|
|
1289
1311
|
grid-template-columns: 1fr;
|
|
1290
1312
|
}
|
|
1291
|
-
`,
|
|
1313
|
+
`,En=o.div`
|
|
1292
1314
|
padding: 0 4rem 2rem 13rem;
|
|
1293
|
-
`,
|
|
1315
|
+
`,xn=o.div`
|
|
1294
1316
|
display: grid;
|
|
1295
1317
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
1296
1318
|
grid-gap: 4rem;
|
|
1297
1319
|
padding: 0 4rem 2rem 13rem;
|
|
1298
1320
|
|
|
1299
|
-
@media ${
|
|
1321
|
+
@media ${B.md} {
|
|
1300
1322
|
grid-template-columns: 1fr;
|
|
1301
1323
|
}
|
|
1302
|
-
`,
|
|
1324
|
+
`,kn=o.div`
|
|
1303
1325
|
display: grid;
|
|
1304
1326
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1305
1327
|
grid-gap: 4rem;
|
|
1306
1328
|
padding: 0 4rem 2rem 13rem;
|
|
1307
1329
|
|
|
1308
|
-
@media ${
|
|
1330
|
+
@media ${B.md} {
|
|
1309
1331
|
grid-template-columns: 1fr;
|
|
1310
1332
|
}
|
|
1311
|
-
`,
|
|
1333
|
+
`,wn=o.div`
|
|
1312
1334
|
width: 100%;
|
|
1313
|
-
`,
|
|
1335
|
+
`,_n=o.div`
|
|
1314
1336
|
width: 100%;
|
|
1315
1337
|
|
|
1316
|
-
@media ${
|
|
1338
|
+
@media ${B.md} {
|
|
1317
1339
|
display: none;
|
|
1318
1340
|
}
|
|
1319
|
-
`,
|
|
1341
|
+
`,Mn=o.div`
|
|
1320
1342
|
padding-top: 8rem;
|
|
1321
|
-
`,
|
|
1343
|
+
`,bn=o.div`
|
|
1322
1344
|
padding: 2rem 0;
|
|
1323
1345
|
display: flex;
|
|
1324
1346
|
flex-wrap: wrap;
|
|
1325
1347
|
align-items: center;
|
|
1326
1348
|
gap: 1rem;
|
|
1327
|
-
`,
|
|
1349
|
+
`,Ln=o.div`
|
|
1328
1350
|
|
|
1329
|
-
`,
|
|
1351
|
+
`,Cn=o.div`
|
|
1330
1352
|
position: relative;
|
|
1331
1353
|
|
|
1332
1354
|
header{
|
|
@@ -1335,11 +1357,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1335
1357
|
}
|
|
1336
1358
|
|
|
1337
1359
|
|
|
1338
|
-
`,
|
|
1360
|
+
`,Sn=o.div`
|
|
1339
1361
|
padding-left: 4rem;
|
|
1340
|
-
`,
|
|
1362
|
+
`,An=o.div`
|
|
1341
1363
|
padding-right: 4rem;
|
|
1342
|
-
|
|
1364
|
+
`,$n=o(yn)`
|
|
1343
1365
|
padding: 0;
|
|
1344
1366
|
|
|
1345
1367
|
aside{
|
|
@@ -1390,37 +1412,37 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1390
1412
|
flex-direction: column;
|
|
1391
1413
|
gap: 4rem;
|
|
1392
1414
|
}
|
|
1393
|
-
`,
|
|
1415
|
+
`,In=o.div`
|
|
1394
1416
|
padding: 10rem 1rem 2rem 1rem;
|
|
1395
1417
|
text-align: center;
|
|
1396
|
-
|
|
1418
|
+
`,Nn=o.div`
|
|
1397
1419
|
display: flex;
|
|
1398
1420
|
align-items: center;
|
|
1399
1421
|
gap: 1rem;
|
|
1400
|
-
`,
|
|
1422
|
+
`,Rn=o.div`
|
|
1401
1423
|
display: grid;
|
|
1402
1424
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1403
1425
|
align-items: flex-start;
|
|
1404
1426
|
grid-gap: 2rem;
|
|
1405
1427
|
|
|
1406
|
-
@media ${
|
|
1428
|
+
@media ${B.xl}{
|
|
1407
1429
|
grid-template-columns: 1fr 1fr;
|
|
1408
1430
|
}
|
|
1409
1431
|
|
|
1410
|
-
@media ${
|
|
1432
|
+
@media ${B.md}{
|
|
1411
1433
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1412
1434
|
}
|
|
1413
1435
|
|
|
1414
|
-
@media ${
|
|
1436
|
+
@media ${B.sm}{
|
|
1415
1437
|
grid-template-columns: 1fr 1fr;
|
|
1416
1438
|
}
|
|
1417
1439
|
|
|
1418
|
-
@media ${
|
|
1440
|
+
@media ${B.xs}{
|
|
1419
1441
|
grid-template-columns: 1fr;
|
|
1420
1442
|
}
|
|
1421
|
-
`,
|
|
1443
|
+
`,Tn=o(Rn)`
|
|
1422
1444
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1423
|
-
`,
|
|
1445
|
+
`,Zn={id:"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)"},Bn={id:"dark",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)"},zn=o.div`
|
|
1424
1446
|
width: 100%;
|
|
1425
1447
|
min-height: 100vh;
|
|
1426
1448
|
background: ${e=>e.theme.background};
|
|
@@ -1443,7 +1465,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1443
1465
|
transition-property: background;
|
|
1444
1466
|
transition-duration: .5s;
|
|
1445
1467
|
}
|
|
1446
|
-
`,
|
|
1468
|
+
`,Gn=o.div`
|
|
1447
1469
|
height: 1.5rem;
|
|
1448
1470
|
border-radius: 1rem;
|
|
1449
1471
|
margin-bottom: 2rem;
|
|
@@ -1452,15 +1474,15 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1452
1474
|
grid-template-columns: repeat( ${e=>e.steps} ,1fr);
|
|
1453
1475
|
background: ${e=>e.theme.mid};
|
|
1454
1476
|
overflow: hidden;
|
|
1455
|
-
`,
|
|
1477
|
+
`,Pn=o.div`
|
|
1456
1478
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
1457
1479
|
height: 100%;
|
|
1458
1480
|
width: 100%;
|
|
1459
|
-
`,
|
|
1481
|
+
`,Fn=o.div`
|
|
1460
1482
|
background: var(--main);
|
|
1461
1483
|
height: 100%;
|
|
1462
1484
|
width: 100%;
|
|
1463
|
-
`,
|
|
1485
|
+
`,Hn=o.div`
|
|
1464
1486
|
position: relative;
|
|
1465
1487
|
|
|
1466
1488
|
.Steps{
|
|
@@ -1485,26 +1507,26 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1485
1507
|
transform: translateX(-110%);
|
|
1486
1508
|
transition: all .4s ease;
|
|
1487
1509
|
}
|
|
1488
|
-
`,
|
|
1510
|
+
`,Vn=o.div`
|
|
1489
1511
|
padding: var(--smallDist);
|
|
1490
1512
|
border-radius: var(--normalRadius);
|
|
1491
1513
|
box-shadow: ${e=>e.theme.out};
|
|
1492
1514
|
background: ${e=>e.theme.low};
|
|
1493
|
-
`,
|
|
1515
|
+
`,Dn=o.div`
|
|
1494
1516
|
display: flex;
|
|
1495
1517
|
align-items: center;
|
|
1496
1518
|
justify-content: space-between;
|
|
1497
1519
|
padding: 4rem 0 2rem 0;
|
|
1498
|
-
`,
|
|
1520
|
+
`,Kn=o.div`
|
|
1499
1521
|
position: fixed;
|
|
1500
1522
|
top: 0;
|
|
1501
1523
|
left: 0;
|
|
1502
1524
|
z-index: 500;
|
|
1503
1525
|
width: 100%;
|
|
1504
1526
|
height: 100vh;
|
|
1505
|
-
`,
|
|
1527
|
+
`,jn=o(Kn)`
|
|
1506
1528
|
background: ${e=>e.theme.overlay};
|
|
1507
|
-
`,
|
|
1529
|
+
`,On=o.div`
|
|
1508
1530
|
position: fixed;
|
|
1509
1531
|
top: 0;
|
|
1510
1532
|
right: 0;
|
|
@@ -1513,60 +1535,60 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1513
1535
|
height: 100%;
|
|
1514
1536
|
max-width: 60%;
|
|
1515
1537
|
background-color: ${e=>e.theme.background};
|
|
1516
|
-
`,
|
|
1538
|
+
`,qn=o.div`
|
|
1517
1539
|
display: flex;
|
|
1518
1540
|
align-items: center;
|
|
1519
1541
|
justify-content: space-between;
|
|
1520
1542
|
height: 6rem;
|
|
1521
1543
|
padding: 0 4rem;
|
|
1522
|
-
`,
|
|
1544
|
+
`,Wn=o.div`
|
|
1523
1545
|
padding: 2rem 4rem 10rem 4rem;
|
|
1524
1546
|
background: ${e=>e.theme.low};
|
|
1525
1547
|
height: 100%;
|
|
1526
1548
|
overflow: auto;
|
|
1527
|
-
`,
|
|
1549
|
+
`,Un=o.div`
|
|
1528
1550
|
display: grid;
|
|
1529
1551
|
grid-template-columns: 1fr 1fr;
|
|
1530
1552
|
grid-gap: 2rem;
|
|
1531
|
-
`,
|
|
1553
|
+
`,Xn=o.div`
|
|
1532
1554
|
display: grid;
|
|
1533
1555
|
grid-gap: 2rem;
|
|
1534
|
-
`,
|
|
1556
|
+
`,Jn=o(Xn)`
|
|
1535
1557
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1536
1558
|
|
|
1537
|
-
@media ${
|
|
1559
|
+
@media ${B.lg} {
|
|
1538
1560
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1539
1561
|
}
|
|
1540
1562
|
|
|
1541
|
-
@media ${
|
|
1563
|
+
@media ${B.md} {
|
|
1542
1564
|
grid-template-columns: 1fr 1fr;
|
|
1543
1565
|
}
|
|
1544
1566
|
|
|
1545
|
-
@media ${
|
|
1567
|
+
@media ${B.sm} {
|
|
1546
1568
|
grid-template-columns: 1fr;
|
|
1547
1569
|
}
|
|
1548
|
-
`,
|
|
1570
|
+
`,Yn=o(Xn)`
|
|
1549
1571
|
grid-template-columns: 1fr 1fr;
|
|
1550
1572
|
|
|
1551
|
-
@media ${
|
|
1573
|
+
@media ${B.xl} {
|
|
1552
1574
|
grid-template-columns: 1fr;
|
|
1553
1575
|
}
|
|
1554
|
-
`,
|
|
1576
|
+
`,Qn=o(Xn)`
|
|
1555
1577
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1556
1578
|
|
|
1557
|
-
@media ${
|
|
1579
|
+
@media ${B.xl} {
|
|
1558
1580
|
grid-template-columns: 1fr 1fr;
|
|
1559
1581
|
}
|
|
1560
1582
|
|
|
1561
|
-
@media ${
|
|
1583
|
+
@media ${B.md} {
|
|
1562
1584
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1563
1585
|
}
|
|
1564
1586
|
|
|
1565
|
-
@media ${
|
|
1587
|
+
@media ${B.sm} {
|
|
1566
1588
|
grid-template-columns: 1fr 1fr;
|
|
1567
1589
|
}
|
|
1568
1590
|
|
|
1569
|
-
@media ${
|
|
1591
|
+
@media ${B.xs} {
|
|
1570
1592
|
grid-template-columns: 1fr;
|
|
1571
1593
|
}
|
|
1572
|
-
`;export{
|
|
1594
|
+
`;export{ve as Builder_,I as Card,Yn as CardsForty,Qn as CardsSixty,Jn as CardsTools,xe as Checkbox_,F as Confirmation_,s as Cta_,S as Delete_Plain,re as Dropdown_,u as Edit_,kt as Elastic_Search,g as Focus_,v as Focus_Plain,X as Form,Q as FormGroup,J as FormInput,Y as FormLabel,ee as FormList,f as Grey_,x as Grey_Link,ce as HamContext,d as IconSvg,te as Input_,ue as Input_Phone,ge as Input_Phone_Register,ae as LangContext,w as Main_,M as Main_Plain,ie as MenuContext,Ut as Nav_,Z as On_Click_Card,vn as Page,wn as PageAlwaysVisible,Rn as PageCards,_n as PageDesktopOnly,Mn as PageDesktopPadding,yn as PageForty,Ln as PageSingle,Cn as PageSingleHeader,An as PageSingleRight,Sn as PageSingleleft,fn as PageSixty,$n as PageSub,Nn as PageSubActions,In as PageSubTitle,bn as PageTitle,En as PageTools,Tn as PageToolsCards,kn as PageToolsForty,xn as PageToolsSixty,_e as Radio_,$ as Red_,oe as RegionContext,Jt as Sidebar_,Qt as Sidebar_Box,Kn as Slider,Wn as SliderContainer,se as SliderContext,Un as SliderGrid,jn as SliderOverlay,qn as SliderTitle,On as SliderWrapper,pn as Slider_,Gn as Steps,Dn as StepsActions,Fn as StepsComplete,Hn as StepsContainer,Pn as StepsCurrent,Vn as StepsWrapper,sn as Steps_,tn as Steps_Actions,Le as Textarea_,zn as Theme,le as ThemeContext,Bn as ThemeDark,Zn as ThemeLight,L as White_Plain,B as device};
|