monica-alexandria 3.2.21 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/index.es.js +67 -67
  2. package/dist/index.js +37 -37
  3. package/package.json +1 -1
  4. package/src/export/components/button/Delete_Plain.js +4 -4
  5. package/src/export/components/button/Focus_.js +4 -4
  6. package/src/export/components/button/Focus_Plain.js +4 -4
  7. package/src/export/components/button/Grey_.js +4 -4
  8. package/src/export/components/button/Grey_Link.js +4 -4
  9. package/src/export/components/button/Main_.js +4 -4
  10. package/src/export/components/button/Main_Plain.js +4 -4
  11. package/src/export/components/button/White_Plain.js +4 -4
  12. package/src/export/components/card/On_Click_Card.js +13 -13
  13. package/src/export/components/confirmation/Confirmation_.js +7 -7
  14. package/src/export/components/form/Builder_.js +2 -2
  15. package/src/export/components/form/Checkbox_.js +8 -8
  16. package/src/export/components/form/Dropdown_.js +3 -3
  17. package/src/export/components/form/Elastic_Search.js +17 -19
  18. package/src/export/components/form/Input_.js +28 -27
  19. package/src/export/components/form/Input_Phone.js +5 -6
  20. package/src/export/components/form/Input_Phone_Register.js +6 -6
  21. package/src/export/components/form/Radio_.js +4 -4
  22. package/src/export/components/form/Textarea_.js +15 -15
  23. package/src/export/components/nav/Nav_Protected.js +1 -1
  24. package/src/export/components/nav/Nav_Unprotected.js +1 -1
  25. package/src/export/components/sidebar/Sidebar_Box.js +1 -1
  26. package/src/export/components/slider/Slider_.js +2 -2
  27. package/src/export/components/steps/Steps_.js +4 -4
  28. package/src/export/components/steps/Steps_Actions.js +2 -2
  29. package/src/export/components/steps/Steps_Header.js +6 -6
  30. package/src/export/styles/Steps.js +1 -1
  31. package/src/stories/cards/OnClickCard.stories.jsx +9 -9
  32. package/src/stories/confirmation/Confirmation.stories.jsx +5 -5
  33. package/src/stories/form/Checkbox.stories.jsx +8 -8
  34. package/src/stories/form/Dropdown.stories.jsx +1 -1
  35. package/src/stories/form/Elastic.stories.jsx +9 -9
  36. package/src/stories/form/Input.stories.jsx +22 -22
  37. package/src/stories/form/InputPhone.stories.jsx +6 -6
  38. package/src/stories/form/Radio.stories.jsx +5 -5
  39. package/src/stories/form/Textarea.stories.jsx +15 -15
  40. package/src/stories/slider/Slider.stories.jsx +3 -3
  41. package/src/stories/steps/Steps.stories.jsx +2 -2
package/dist/index.js CHANGED
@@ -115,7 +115,7 @@
115
115
  background: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
116
116
  border: 1px solid ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
117
117
  }
118
- `,g=e=>r.default.createElement(h,{size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),f=l.default(o)`
118
+ `,g=e=>r.default.createElement(h,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),f=l.default(o)`
119
119
  background: transparent;
120
120
  border: 1px solid transparent;
121
121
 
@@ -155,7 +155,7 @@
155
155
  background: var(--mainLight);
156
156
  border: 1px solid var(--mainLight);
157
157
  }
158
- `,v=e=>r.default.createElement(p,{className:e.className,size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),y=l.default(o)`
158
+ `,v=e=>r.default.createElement(p,{className:e.className,size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),y=l.default(o)`
159
159
  background: transparent;
160
160
  border: 1px solid transparent;
161
161
 
@@ -177,7 +177,7 @@
177
177
  fill: var(--mainLight);
178
178
  }
179
179
  }
180
- `,x=e=>r.default.createElement(y,{noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),_=l.default(o)`
180
+ `,x=e=>r.default.createElement(y,{noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),E=l.default(o)`
181
181
  background: transparent;
182
182
  border: 1px solid transparent;
183
183
 
@@ -199,7 +199,7 @@
199
199
  fill: ${e=>e.theme.low};
200
200
  }
201
201
  }
202
- `,E=l.default(o)`
202
+ `,k=l.default(o)`
203
203
  background: transparent;
204
204
  border: 1px solid transparent;
205
205
 
@@ -221,7 +221,7 @@
221
221
  fill: var(--errorLight) !important;
222
222
  }
223
223
  }
224
- `,k=e=>r.default.createElement(E,{className:e.className,noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),w=l.default.div`
224
+ `,_=e=>r.default.createElement(k,{className:e.className,noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),w=l.default.div`
225
225
  box-shadow: ${e=>e.theme.out};
226
226
  border-radius: var(--smallRadius);
227
227
  transition: box-shadow .5s;
@@ -246,7 +246,7 @@
246
246
  box-shadow: ${e=>e.theme.outFocus};
247
247
  transition: box-shadow .5s;
248
248
  }
249
- `,C=l.default(w)`
249
+ `,M=l.default(w)`
250
250
  cursor: pointer;
251
251
 
252
252
  header{
@@ -295,7 +295,7 @@
295
295
  text-align: center;
296
296
  }
297
297
  }
298
- `,M=l.default.div`
298
+ `,C=l.default.div`
299
299
 
300
300
  img{
301
301
  object-fit: cover;
@@ -380,7 +380,7 @@
380
380
  svg{
381
381
  fill: var(--warning);
382
382
  }
383
- `,P=l.default($)`
383
+ `,N=l.default($)`
384
384
 
385
385
  h6{
386
386
  color: var(--error);
@@ -389,7 +389,7 @@
389
389
  svg{
390
390
  fill: var(--error);
391
391
  }
392
- `,N=l.default.div`
392
+ `,Z=l.default.div`
393
393
  position: absolute;
394
394
  top: .8rem;
395
395
  right: .8rem;
@@ -398,7 +398,7 @@
398
398
  width: var(--smallIcon);
399
399
  fill: var(--warning);
400
400
  }
401
- `,Z=l.default.input`
401
+ `,P=l.default.input`
402
402
  width: 100%;
403
403
  border: none;
404
404
  background: ${e=>e.theme.background};
@@ -451,11 +451,11 @@
451
451
  h3{
452
452
  margin-bottom: 4rem;
453
453
  }
454
- `,F=l.default(Z)`
454
+ `,F=l.default(P)`
455
455
  padding-top: 3rem;
456
456
  `,H=l.default(z)`
457
457
  font-size: var(--smallText);
458
- `,D=l.default.div`
458
+ `,V=l.default.div`
459
459
  position: relative;
460
460
 
461
461
  label{
@@ -507,7 +507,7 @@
507
507
  display: none;
508
508
  }
509
509
  }
510
- `,V=l.default.ul`
510
+ `,D=l.default.ul`
511
511
  margin-top: 2rem;
512
512
 
513
513
  li{
@@ -522,7 +522,7 @@
522
522
  fill: ${e=>e.theme.color};
523
523
  }
524
524
  }
525
- `,j=e=>r.default.createElement(D,null,r.default.createElement(F,{value:e.value,className:e.class_Name,placeholder:e.text_Placeholder,id:e.id_Input,autoComplete:"off",type:"text",onChange:e.onChange_Input,defaultValue:e.text_Defaultvalue,onKeyPress:e.onKeyPress_Input,onKeyDown:e.onKeyDown_Input,disabled:e.bool_DisabledInput}),r.default.createElement(H,null,e.text_Placeholder),e.variant_List?r.default.createElement(v,{size:"small",text:e.text_AddInput,svgLeft:"Add",className:"FormAddButton",onClick:e.onClick_AddInput}):null,e.bool_Required?r.default.createElement(N,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.array_Errors?r.default.createElement(I,{className:"ValidatorErrors"},e.array_Errors.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.array_Tips&&e.array_Helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.array_Tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null,e.variant_List?r.default.createElement(V,null,e.array_List.map((t=>r.default.createElement("li",null,r.default.createElement(s,{Icon:e.icon_List}),r.default.createElement("h6",null,t),r.default.createElement(k,{size:"small",svgLeft:"Delete"}))))):null),K=l.default.div`
525
+ `,j=e=>r.default.createElement(V,null,r.default.createElement(F,{value:e.value,className:e.className,placeholder:e.placeholder,id:e.id,autoComplete:"off",type:"text",onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disableInput}),r.default.createElement(H,null,e.placeholder),e.list?r.default.createElement(v,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onClick_Add}):null,e.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement(I,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null,e.list?r.default.createElement(D,null,e.list.map((t=>r.default.createElement("li",null,r.default.createElement(s,{Icon:e.icon_ListItem}),r.default.createElement("h6",null,t),r.default.createElement(_,{onClick:e.onClick_ListItemDelete,size:"small",iconLeft:"Delete"}))))):null),K=l.default.div`
526
526
  position: relative;
527
527
 
528
528
  select{
@@ -555,7 +555,7 @@
555
555
  right: 1rem;
556
556
  }
557
557
 
558
- `,q=e=>r.default.createElement(K,null,r.default.createElement(s,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),e.array_Dropdown?r.default.createElement("select",{className:e.class_Select},e.array_Dropdown.map(((e,t)=>r.default.createElement("option",{key:t},e)))):null,e.children),O=e.createContext({language:"el",setLanguage:()=>{}}),W=e.createContext({region:"Greece",setRegion:()=>{}}),U=e.createContext({activeMenu:"Main",setActiveMenu:()=>{}}),X=e.createContext({hamState:!1,setHamState:()=>{}}),J=e.createContext({theme:"light",setTheme:()=>{}}),Y=e.createContext({slider:!1,toggleSlider:()=>{}}),Q=l.default.div`
558
+ `,q=e=>r.default.createElement(K,null,r.default.createElement(s,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),e.items?r.default.createElement("select",{className:e.className,onChange:e.onChange,defaultValue:e.defaultValue},e.items.map(((e,t)=>r.default.createElement("option",{key:t},e)))):null,e.children),O=e.createContext({language:"el",setLanguage:()=>{}}),W=e.createContext({region:"Greece",setRegion:()=>{}}),U=e.createContext({activeMenu:"Main",setActiveMenu:()=>{}}),X=e.createContext({hamState:!1,setHamState:()=>{}}),J=e.createContext({theme:"light",setTheme:()=>{}}),Y=e.createContext({slider:!1,toggleSlider:()=>{}}),Q=l.default.div`
559
559
 
560
560
  `,ee=l.default.div`
561
561
  display: grid;
@@ -652,8 +652,8 @@
652
652
  }
653
653
  `,le=l.default.div`
654
654
  input{
655
- opacity: ${e=>!0===e.bool_Checked?"1":"0.4"};
656
- cursor: ${e=>!0===e.bool_Checked?"auto":"not-allowed !important"};
655
+ opacity: ${e=>!0===e.checked?"1":"0.4"};
656
+ cursor: ${e=>!0===e.checked?"auto":"not-allowed !important"};
657
657
  }
658
658
  `,oe=l.default.div`
659
659
  display: grid;
@@ -751,7 +751,7 @@
751
751
  span{
752
752
  color: ${e=>e.capped?"var(--error)":"inherit"};
753
753
  }
754
- `;function de(e){return Array.isArray?Array.isArray(e):"[object Array]"===ve(e)}function ue(e){return"string"==typeof e}function me(e){return"number"==typeof e}function he(e){return!0===e||!1===e||function(e){return ge(e)&&null!==e}(e)&&"[object Boolean]"==ve(e)}function ge(e){return"object"==typeof e}function fe(e){return null!=e}function pe(e){return!e.trim().length}function ve(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ye=Object.prototype.hasOwnProperty;class xe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=_e(e);t+=a.weight,this._keys.push(a),this._keyMap[a.id]=a,t+=a.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 _e(e){let t=null,a=null,n=null,r=1,l=null;if(ue(e)||de(e))n=e,t=Ee(e),a=ke(e);else{if(!ye.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,ye.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=Ee(o),a=ke(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function Ee(e){return de(e)?e:e.split(".")}function ke(e){return de(e)?e.join("."):e}var we={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 a=[],n=!1;const r=(e,t,l)=>{if(fe(e))if(t[l]){const o=e[t[l]];if(!fe(o))return;if(l===t.length-1&&(ue(o)||me(o)||he(o)))a.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)}(o));else if(de(o)){n=!0;for(let e=0,a=o.length;e<a;e+=1)r(o[e],t,l+1)}else t.length&&r(o,t,l+1)}else a.push(e)};return r(e,ue(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ce=/[^ ]+/g;class Me{constructor({getFn:e=we.getFn,fieldNormWeight:t=we.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Ce).length;if(a.has(r))return a.get(r);const l=1/Math.pow(r,.5*e),o=parseFloat(Math.round(l*n)/n);return a.set(r,o),o},clear(){a.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,ue(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();ue(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,a=this.size();t<a;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!fe(e)||pe(e))return;let a={v:e,i:t,n:this.norm.get(e)};this.records.push(a)}_addObject(e,t){let a={i:t,$:{}};this.keys.forEach(((t,n)=>{let r=t.getFn?t.getFn(e):this.getFn(e,t.path);if(fe(r))if(de(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(fe(n))if(ue(n)&&!pe(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else de(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ue(r)&&!pe(r)){let e={v:r,n:this.norm.get(r)};a.$[n]=e}})),this.records.push(a)}toJSON(){return{keys:this.keys,records:this.records}}}function be(e,t,{getFn:a=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const r=new Me({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(_e)),r.setSources(t),r.create(),r}function Le(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=we.distance,ignoreLocation:l=we.ignoreLocation}={}){const o=t/e.length;if(l)return o;const i=Math.abs(n-a);return r?o+i/r:i?1:o}function Se(e,t,a,{location:n=we.location,distance:r=we.distance,threshold:l=we.threshold,findAllMatches:o=we.findAllMatches,minMatchCharLength:i=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:s=we.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(n,u));let h=l,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Le(t,{currentLocation:v,expectedLocation:m,distance:r,ignoreLocation:s});if(h=Math.min(e,h),g=v+d,f){let e=0;for(;e<d;)p[v+e]=1,e+=1}}g=-1;let y=[],x=1,_=d+u;const E=1<<d-1;for(let n=0;n<d;n+=1){let l=0,i=_;for(;l<i;){Le(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?l=i:_=i,i=Math.floor((_-l)/2+l)}_=i;let c=Math.max(1,m-i+1),v=o?u:Math.min(m+i,u)+d,k=Array(v+2);k[v+1]=(1<<n)-1;for(let l=v;l>=c;l-=1){let o=l-1,i=a[e.charAt(o)];if(f&&(p[o]=+!!i),k[l]=(k[l+1]<<1|1)&i,n&&(k[l]|=(y[l+1]|y[l])<<1|1|y[l+1]),k[l]&E&&(x=Le(t,{errors:n,currentLocation:o,expectedLocation:m,distance:r,ignoreLocation:s}),x<=h)){if(h=x,g=o,g<=m)break;c=Math.max(1,2*m-g)}}if(Le(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;y=k}const k={isMatch:g>=0,score:Math.max(.001,x)};if(f){const e=function(e=[],t=we.minMatchCharLength){let a=[],n=-1,r=-1,l=0;for(let o=e.length;l<o;l+=1){let o=e[l];o&&-1===n?n=l:o||-1===n||(r=l-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[l-1]&&l-n>=t&&a.push([n,l-1]),a}(p,i);e.length?c&&(k.indices=e):k.isMatch=!1}return k}function Ae(e){let t={};for(let a=0,n=e.length;a<n;a+=1){const r=e.charAt(a);t[r]=(t[r]||0)|1<<n-a-1}return t}class Ie{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c},this.pattern=i?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ae(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,a=d-t;for(;e<a;)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:a}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return a&&(t.indices=[[0,e.length-1]]),t}const{location:n,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,ignoreLocation:c}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:f,indices:p}=Se(e,t,m,{location:n+h,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,includeMatches:a,ignoreLocation:c});g&&(u=!0),d+=f,g&&p&&(s=[...s,...p])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&a&&(m.indices=s),m}}class $e{constructor(e){this.pattern=e}static isMultiMatch(e){return Te(e,this.multiRegex)}static isSingleMatch(e){return Te(e,this.singleRegex)}search(){}}function Te(e,t){const a=e.match(t);return a?a[1]:null}class Re extends $e{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Pe extends $e{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,a=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,a))>-1;)a=t+r,n.push([t,a-1]);const l=!!n.length;return{isMatch:l,score:l?0:1,indices:n}}}const Ne=[class extends $e{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]}}},Pe,class extends $e{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 $e{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 $e{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 $e{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 $e{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]}}},Re],Ze=Ne.length,Be=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const ze=new Set([Re.type,Pe.type]);class Ge{constructor(e,{isCaseSensitive:t=we.isCaseSensitive,includeMatches:a=we.includeMatches,minMatchCharLength:n=we.minMatchCharLength,ignoreLocation:r=we.ignoreLocation,findAllMatches:l=we.findAllMatches,location:o=we.location,threshold:i=we.threshold,distance:c=we.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:l,ignoreLocation:r,location:o,threshold:i,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let a=e.trim().split(Be).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let l=!1,o=-1;for(;!l&&++o<Ze;){const e=Ne[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Ze;){const e=Ne[o];let a=e.isSingleMatch(r);if(a){n.push(new e(a,t));break}}}return n}))}(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:a,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let r=0,l=[],o=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];l.length=0,r=0;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{isMatch:c,indices:s,score:d}=n.search(e);if(!c){o=0,r=0,l.length=0;break}if(r+=1,o+=d,a){const e=n.constructor.type;ze.has(e)?l=[...l,...s]:l.push(s)}}if(r){let e={isMatch:!0,score:o/r};return a&&(e.indices=l),e}}return{isMatch:!1,score:1}}}const Fe=[];function He(e,t){for(let a=0,n=Fe.length;a<n;a+=1){let n=Fe[a];if(n.condition(e,t))return new n(e,t)}return new Ie(e,t)}const De="$and",Ve="$or",je="$path",Ke="$val",qe=e=>!(!e[De]&&!e[Ve]),Oe=e=>({[De]:Object.keys(e).map((t=>({[t]:e[t]})))});function We(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[je])(e);if(!l&&r.length>1&&!qe(e))return n(Oe(e));if((e=>!de(e)&&ge(e)&&!qe(e))(e)){const n=l?e[je]:r[0],o=l?e[Ke]:e[n];if(!ue(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:ke(n),pattern:o};return a&&(i.searcher=He(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];de(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return qe(e)||(e=Oe(e)),n(e)}function Ue(e,t){const a=e.matches;t.matches=[],fe(a)&&a.forEach((e=>{if(!fe(e.indices)||!e.indices.length)return;const{indices:a,value:n}=e;let r={indices:a,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function Xe(e,t){t.score=e.score}class Je{constructor(e,t={},a){this.options={...we,...t},this.options.useExtendedSearch,this._keyStore=new xe(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Me))throw new Error("Incorrect 'index' type");this._myIndex=t||be(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let a=0,n=this._docs.length;a<n;a+=1){const r=this._docs[a];e(r,a)&&(this.removeAt(a),a-=1,n-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:a,includeScore:n,shouldSort:r,sortFn:l,ignoreFieldNorm:o}=this.options;let i=ue(e)?ue(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const l=e?e.weight:null;a*=Math.pow(0===r&&l?Number.EPSILON:r,(l||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:o}),r&&i.sort(l),me(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=we.includeMatches,includeScore:n=we.includeScore}={}){const r=[];return a&&r.push(Ue),n&&r.push(Xe),e.map((e=>{const{idx:a}=e,n={item:t[a],refIndex:a};return r.length&&r.forEach((t=>{t(e,n)})),n}))}(i,this._docs,{includeMatches:a,includeScore:n})}_searchStringList(e){const t=He(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!fe(e))return;const{isMatch:l,score:o,indices:i}=t.searchIn(e);l&&n.push({item:e,idx:a,matches:[{score:o,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=We(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,l=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return l&&l.length?[{idx:n,item:t,matches:l}]:[]}const r=[];for(let l=0,o=e.children.length;l<o;l+=1){const o=e.children[l],i=a(o,t,n);if(i.length)r.push(...i);else if(e.operator===De)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(fe(e)){let o=a(t,e,n);o.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},l.push(r[n])),o.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),l}_searchObjectList(e){const t=He(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!fe(e))return;let l=[];a.forEach(((a,n)=>{l.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),l.length&&r.push({idx:n,item:e,matches:l})})),r}_findMatches({key:e,value:t,searcher:a}){if(!fe(t))return[];let n=[];if(de(t))t.forEach((({v:t,i:r,n:l})=>{if(!fe(t))return;const{isMatch:o,score:i,indices:c}=a.searchIn(t);o&&n.push({score:i,key:e,value:t,idx:r,norm:l,indices:c})}));else{const{v:r,n:l}=t,{isMatch:o,score:i,indices:c}=a.searchIn(r);o&&n.push({score:i,key:e,value:r,norm:l,indices:c})}return n}}Je.version="6.6.2",Je.createIndex=be,Je.parseIndex=function(e,{getFn:t=we.getFn,fieldNormWeight:a=we.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new Me({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Je.config=we,Je.parseQuery=We,function(...e){Fe.push(...e)}(Ge);var Ye=require("greek-utils");const Qe=l.default(D)`
754
+ `;function de(e){return Array.isArray?Array.isArray(e):"[object Array]"===ve(e)}function ue(e){return"string"==typeof e}function me(e){return"number"==typeof e}function he(e){return!0===e||!1===e||function(e){return ge(e)&&null!==e}(e)&&"[object Boolean]"==ve(e)}function ge(e){return"object"==typeof e}function fe(e){return null!=e}function pe(e){return!e.trim().length}function ve(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ye=Object.prototype.hasOwnProperty;class xe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=Ee(e);t+=a.weight,this._keys.push(a),this._keyMap[a.id]=a,t+=a.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 Ee(e){let t=null,a=null,n=null,r=1,l=null;if(ue(e)||de(e))n=e,t=ke(e),a=_e(e);else{if(!ye.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,ye.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=ke(o),a=_e(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function ke(e){return de(e)?e:e.split(".")}function _e(e){return de(e)?e.join("."):e}var we={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 a=[],n=!1;const r=(e,t,l)=>{if(fe(e))if(t[l]){const o=e[t[l]];if(!fe(o))return;if(l===t.length-1&&(ue(o)||me(o)||he(o)))a.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)}(o));else if(de(o)){n=!0;for(let e=0,a=o.length;e<a;e+=1)r(o[e],t,l+1)}else t.length&&r(o,t,l+1)}else a.push(e)};return r(e,ue(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Me=/[^ ]+/g;class Ce{constructor({getFn:e=we.getFn,fieldNormWeight:t=we.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Me).length;if(a.has(r))return a.get(r);const l=1/Math.pow(r,.5*e),o=parseFloat(Math.round(l*n)/n);return a.set(r,o),o},clear(){a.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,ue(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();ue(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,a=this.size();t<a;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!fe(e)||pe(e))return;let a={v:e,i:t,n:this.norm.get(e)};this.records.push(a)}_addObject(e,t){let a={i:t,$:{}};this.keys.forEach(((t,n)=>{let r=t.getFn?t.getFn(e):this.getFn(e,t.path);if(fe(r))if(de(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(fe(n))if(ue(n)&&!pe(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else de(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ue(r)&&!pe(r)){let e={v:r,n:this.norm.get(r)};a.$[n]=e}})),this.records.push(a)}toJSON(){return{keys:this.keys,records:this.records}}}function be(e,t,{getFn:a=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const r=new Ce({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(Ee)),r.setSources(t),r.create(),r}function Le(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=we.distance,ignoreLocation:l=we.ignoreLocation}={}){const o=t/e.length;if(l)return o;const i=Math.abs(n-a);return r?o+i/r:i?1:o}function Se(e,t,a,{location:n=we.location,distance:r=we.distance,threshold:l=we.threshold,findAllMatches:o=we.findAllMatches,minMatchCharLength:i=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:s=we.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(n,u));let h=l,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Le(t,{currentLocation:v,expectedLocation:m,distance:r,ignoreLocation:s});if(h=Math.min(e,h),g=v+d,f){let e=0;for(;e<d;)p[v+e]=1,e+=1}}g=-1;let y=[],x=1,E=d+u;const k=1<<d-1;for(let n=0;n<d;n+=1){let l=0,i=E;for(;l<i;){Le(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?l=i:E=i,i=Math.floor((E-l)/2+l)}E=i;let c=Math.max(1,m-i+1),v=o?u:Math.min(m+i,u)+d,_=Array(v+2);_[v+1]=(1<<n)-1;for(let l=v;l>=c;l-=1){let o=l-1,i=a[e.charAt(o)];if(f&&(p[o]=+!!i),_[l]=(_[l+1]<<1|1)&i,n&&(_[l]|=(y[l+1]|y[l])<<1|1|y[l+1]),_[l]&k&&(x=Le(t,{errors:n,currentLocation:o,expectedLocation:m,distance:r,ignoreLocation:s}),x<=h)){if(h=x,g=o,g<=m)break;c=Math.max(1,2*m-g)}}if(Le(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;y=_}const _={isMatch:g>=0,score:Math.max(.001,x)};if(f){const e=function(e=[],t=we.minMatchCharLength){let a=[],n=-1,r=-1,l=0;for(let o=e.length;l<o;l+=1){let o=e[l];o&&-1===n?n=l:o||-1===n||(r=l-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[l-1]&&l-n>=t&&a.push([n,l-1]),a}(p,i);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Ae(e){let t={};for(let a=0,n=e.length;a<n;a+=1){const r=e.charAt(a);t[r]=(t[r]||0)|1<<n-a-1}return t}class Ie{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c},this.pattern=i?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ae(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,a=d-t;for(;e<a;)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:a}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return a&&(t.indices=[[0,e.length-1]]),t}const{location:n,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,ignoreLocation:c}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:f,indices:p}=Se(e,t,m,{location:n+h,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,includeMatches:a,ignoreLocation:c});g&&(u=!0),d+=f,g&&p&&(s=[...s,...p])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&a&&(m.indices=s),m}}class $e{constructor(e){this.pattern=e}static isMultiMatch(e){return Te(e,this.multiRegex)}static isSingleMatch(e){return Te(e,this.singleRegex)}search(){}}function Te(e,t){const a=e.match(t);return a?a[1]:null}class Re extends $e{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ne extends $e{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,a=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,a))>-1;)a=t+r,n.push([t,a-1]);const l=!!n.length;return{isMatch:l,score:l?0:1,indices:n}}}const Ze=[class extends $e{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]}}},Ne,class extends $e{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 $e{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 $e{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 $e{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 $e{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]}}},Re],Pe=Ze.length,Be=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const ze=new Set([Re.type,Ne.type]);class Ge{constructor(e,{isCaseSensitive:t=we.isCaseSensitive,includeMatches:a=we.includeMatches,minMatchCharLength:n=we.minMatchCharLength,ignoreLocation:r=we.ignoreLocation,findAllMatches:l=we.findAllMatches,location:o=we.location,threshold:i=we.threshold,distance:c=we.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:l,ignoreLocation:r,location:o,threshold:i,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let a=e.trim().split(Be).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let l=!1,o=-1;for(;!l&&++o<Pe;){const e=Ze[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Pe;){const e=Ze[o];let a=e.isSingleMatch(r);if(a){n.push(new e(a,t));break}}}return n}))}(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:a,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let r=0,l=[],o=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];l.length=0,r=0;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{isMatch:c,indices:s,score:d}=n.search(e);if(!c){o=0,r=0,l.length=0;break}if(r+=1,o+=d,a){const e=n.constructor.type;ze.has(e)?l=[...l,...s]:l.push(s)}}if(r){let e={isMatch:!0,score:o/r};return a&&(e.indices=l),e}}return{isMatch:!1,score:1}}}const Fe=[];function He(e,t){for(let a=0,n=Fe.length;a<n;a+=1){let n=Fe[a];if(n.condition(e,t))return new n(e,t)}return new Ie(e,t)}const Ve="$and",De="$or",je="$path",Ke="$val",qe=e=>!(!e[Ve]&&!e[De]),Oe=e=>({[Ve]:Object.keys(e).map((t=>({[t]:e[t]})))});function We(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[je])(e);if(!l&&r.length>1&&!qe(e))return n(Oe(e));if((e=>!de(e)&&ge(e)&&!qe(e))(e)){const n=l?e[je]:r[0],o=l?e[Ke]:e[n];if(!ue(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:_e(n),pattern:o};return a&&(i.searcher=He(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];de(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return qe(e)||(e=Oe(e)),n(e)}function Ue(e,t){const a=e.matches;t.matches=[],fe(a)&&a.forEach((e=>{if(!fe(e.indices)||!e.indices.length)return;const{indices:a,value:n}=e;let r={indices:a,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function Xe(e,t){t.score=e.score}class Je{constructor(e,t={},a){this.options={...we,...t},this.options.useExtendedSearch,this._keyStore=new xe(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ce))throw new Error("Incorrect 'index' type");this._myIndex=t||be(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let a=0,n=this._docs.length;a<n;a+=1){const r=this._docs[a];e(r,a)&&(this.removeAt(a),a-=1,n-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:a,includeScore:n,shouldSort:r,sortFn:l,ignoreFieldNorm:o}=this.options;let i=ue(e)?ue(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const l=e?e.weight:null;a*=Math.pow(0===r&&l?Number.EPSILON:r,(l||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:o}),r&&i.sort(l),me(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=we.includeMatches,includeScore:n=we.includeScore}={}){const r=[];return a&&r.push(Ue),n&&r.push(Xe),e.map((e=>{const{idx:a}=e,n={item:t[a],refIndex:a};return r.length&&r.forEach((t=>{t(e,n)})),n}))}(i,this._docs,{includeMatches:a,includeScore:n})}_searchStringList(e){const t=He(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!fe(e))return;const{isMatch:l,score:o,indices:i}=t.searchIn(e);l&&n.push({item:e,idx:a,matches:[{score:o,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=We(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,l=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return l&&l.length?[{idx:n,item:t,matches:l}]:[]}const r=[];for(let l=0,o=e.children.length;l<o;l+=1){const o=e.children[l],i=a(o,t,n);if(i.length)r.push(...i);else if(e.operator===Ve)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(fe(e)){let o=a(t,e,n);o.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},l.push(r[n])),o.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),l}_searchObjectList(e){const t=He(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!fe(e))return;let l=[];a.forEach(((a,n)=>{l.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),l.length&&r.push({idx:n,item:e,matches:l})})),r}_findMatches({key:e,value:t,searcher:a}){if(!fe(t))return[];let n=[];if(de(t))t.forEach((({v:t,i:r,n:l})=>{if(!fe(t))return;const{isMatch:o,score:i,indices:c}=a.searchIn(t);o&&n.push({score:i,key:e,value:t,idx:r,norm:l,indices:c})}));else{const{v:r,n:l}=t,{isMatch:o,score:i,indices:c}=a.searchIn(r);o&&n.push({score:i,key:e,value:r,norm:l,indices:c})}return n}}Je.version="6.6.2",Je.createIndex=be,Je.parseIndex=function(e,{getFn:t=we.getFn,fieldNormWeight:a=we.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new Ce({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Je.config=we,Je.parseQuery=We,function(...e){Fe.push(...e)}(Ge);var Ye=require("greek-utils");const Qe=l.default(V)`
755
755
  `,et=l.default(F)`
756
756
 
757
757
  `,tt=l.default(H)`
@@ -781,7 +781,7 @@
781
781
  .ElasticSelected{
782
782
  background: ${e=>e.theme.low};
783
783
  }
784
- `,nt=l.default(V)`
784
+ `,nt=l.default(D)`
785
785
 
786
786
  h5{
787
787
  padding: var(--smallPads);
@@ -1029,13 +1029,13 @@
1029
1029
  justify-content: space-between;
1030
1030
  gap: 1rem;
1031
1031
  padding: var(--normalPads);
1032
- `,_t=t=>{const{region:a}=e.useContext(W),{setHamState:n}=e.useContext(X),{setActiveMenu:l}=e.useContext(U),{language:o}=e.useContext(O);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(yt,null)),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(mt,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(mt,{onClick:()=>l("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===o?r.default.createElement("h5",null,"Ελληνικά"):"de"===o?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(mt,{onClick:()=>l("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(gt,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let Et=[{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 kt=t=>{const{region:a,setRegion:n}=e.useContext(W),{setActiveMenu:l}=e.useContext(U);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),Et.map(((e,t)=>r.default.createElement(mt,{key:t,onClick:()=>{return t=e.country,n(t),void l("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},wt=t=>{const{activeMenu:n}=e.useContext(U),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(st,{style:{height:l}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(_t,{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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(pt,{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}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(kt,{text_Title_Region:t.text_Title_Region}))))},Ct=l.default.div`
1032
+ `,Et=t=>{const{region:a}=e.useContext(W),{setHamState:n}=e.useContext(X),{setActiveMenu:l}=e.useContext(U),{language:o}=e.useContext(O);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(yt,null)),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(mt,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(mt,{onClick:()=>l("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===o?r.default.createElement("h5",null,"Ελληνικά"):"de"===o?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(mt,{onClick:()=>l("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(gt,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let kt=[{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 _t=t=>{const{region:a,setRegion:n}=e.useContext(W),{setActiveMenu:l}=e.useContext(U);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),kt.map(((e,t)=>r.default.createElement(mt,{key:t,onClick:()=>{return t=e.country,n(t),void l("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},wt=t=>{const{activeMenu:n}=e.useContext(U),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(st,{style:{height:l}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(Et,{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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(pt,{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}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(_t,{text_Title_Region:t.text_Title_Region}))))},Mt=l.default.div`
1033
1033
  justify-self: flex-end;
1034
1034
  display: flex;
1035
1035
  align-items: center;
1036
1036
  gap: 1rem;
1037
1037
  position: relative;
1038
- `,Mt=l.default.div`
1038
+ `,Ct=l.default.div`
1039
1039
  display: flex;
1040
1040
  align-items: center;
1041
1041
  gap: 1rem;
@@ -1073,7 +1073,7 @@
1073
1073
  display: none;
1074
1074
  }
1075
1075
  }
1076
- `,bt=t=>{const{hamState:a,setHamState:n}=e.useContext(X);return r.default.createElement(Ct,null,r.default.createElement(Mt,{onClick:t.onClick_Account},r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),r.default.createElement("h5",null,t.firstname_Account)),r.default.createElement(g,{size:"small",svgLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(wt,{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)},Lt=l.default.div`
1076
+ `,bt=t=>{const{hamState:a,setHamState:n}=e.useContext(X);return r.default.createElement(Mt,null,r.default.createElement(Ct,{onClick:t.onClick_Account},r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),r.default.createElement("h5",null,t.firstname_Account)),r.default.createElement(g,{size:"small",iconLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(wt,{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)},Lt=l.default.div`
1077
1077
  justify-self: flex-end;
1078
1078
  display: flex;
1079
1079
  align-items: center;
@@ -1087,7 +1087,7 @@
1087
1087
  @media ${b.sm} {
1088
1088
  display: none;
1089
1089
  }
1090
- `,At=t=>{const{hamState:a,setHamState:n}=e.useContext(X);return r.default.createElement(Lt,null,r.default.createElement(St,null,r.default.createElement(x,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),r.default.createElement(g,{size:"small",svgLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(wt,{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)},It=l.default.nav`
1090
+ `,At=t=>{const{hamState:a,setHamState:n}=e.useContext(X);return r.default.createElement(Lt,null,r.default.createElement(St,null,r.default.createElement(x,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),r.default.createElement(g,{size:"small",iconLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(wt,{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)},It=l.default.nav`
1091
1091
  display: grid;
1092
1092
  align-items: center;
1093
1093
  grid-gap: 1rem;
@@ -1181,20 +1181,20 @@
1181
1181
  align-items: center;
1182
1182
  justify-content: space-between;
1183
1183
  padding: 4rem 0 2rem 0;
1184
- `,Pt=l.default.div`
1184
+ `,Nt=l.default.div`
1185
1185
  height: 1.5rem;
1186
1186
  border-radius: 1rem;
1187
1187
  margin-bottom: 2rem;
1188
1188
  display: grid;
1189
1189
  align-items: center;
1190
- grid-template-columns: repeat( ${e=>e.array_Steps.length} ,1fr);
1190
+ grid-template-columns: repeat( ${e=>e.steps.length} ,1fr);
1191
1191
  background: ${e=>e.theme.mid};
1192
1192
  overflow: hidden;
1193
- `,Nt=l.default.div`
1194
- background: ${e=>e.step===e.int_CurrentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.int_CurrentStep?"var(--main)":"transparent"};
1193
+ `,Zt=l.default.div`
1194
+ background: ${e=>e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.currentStep?"var(--main)":"transparent"};
1195
1195
  height: 100%;
1196
1196
  width: 100%;
1197
- `,Zt=e=>r.default.createElement(Pt,{array_Steps:e.array_Steps},e.array_Steps.map(((t,a)=>r.default.createElement(Nt,{step:a,int_CurrentStep:e.int_CurrentStep})))),Bt=l.default.div`
1197
+ `,Pt=e=>r.default.createElement(Nt,{steps:e.steps},e.steps.map(((t,a)=>r.default.createElement(Zt,{step:a,currentStep:e.currentStep})))),Bt=l.default.div`
1198
1198
 
1199
1199
  `,zt=l.default.div`
1200
1200
  position: relative;
@@ -1235,7 +1235,7 @@
1235
1235
  height: 100vh;
1236
1236
  `,Ht=l.default(Ft)`
1237
1237
  background: ${e=>e.theme.overlay};
1238
- `,Dt=l.default.div`
1238
+ `,Vt=l.default.div`
1239
1239
  position: fixed;
1240
1240
  top: 0;
1241
1241
  right: 0;
@@ -1244,7 +1244,7 @@
1244
1244
  height: 100%;
1245
1245
  max-width: 60%;
1246
1246
  background-color: ${e=>e.theme.background};
1247
- `,Vt=l.default.div`
1247
+ `,Dt=l.default.div`
1248
1248
  display: flex;
1249
1249
  align-items: center;
1250
1250
  justify-content: space-between;
@@ -1420,7 +1420,7 @@
1420
1420
  margin-bottom: 2rem;
1421
1421
  display: grid;
1422
1422
  align-items: center;
1423
- grid-template-columns: repeat( ${e=>e.array_Steps} ,1fr);
1423
+ grid-template-columns: repeat( ${e=>e.steps} ,1fr);
1424
1424
  background: ${e=>e.theme.mid};
1425
1425
  overflow: hidden;
1426
1426
  `,da=l.default.div`
@@ -1495,17 +1495,17 @@
1495
1495
  background: ${e=>e.theme.low};
1496
1496
  height: 100%;
1497
1497
  overflow: auto;
1498
- `,_a=l.default.div`
1498
+ `,Ea=l.default.div`
1499
1499
  display: grid;
1500
1500
  grid-template-columns: 1fr 1fr;
1501
1501
  grid-gap: 2rem;
1502
- `,Ea=l.default.div`
1502
+ `,ka=l.default.div`
1503
1503
  display: grid;
1504
1504
  grid-gap: 2rem;
1505
- `,ka=l.default(Ea)`
1505
+ `,_a=l.default(ka)`
1506
1506
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
1507
- `,wa=l.default(Ea)`
1507
+ `,wa=l.default(ka)`
1508
1508
  grid-template-columns: 1fr 1fr;
1509
- `,Ca=l.default(Ea)`
1509
+ `,Ma=l.default(ka)`
1510
1510
  grid-template-columns: 1fr 1fr 1fr;
1511
- `;exports.Builder_=e=>r.default.createElement(ae,{key:e.key},e.text_BuilderTitle?r.default.createElement("h4",null,e.text_BuilderTitle):null,e.children),exports.Card=w,exports.CardsForty=wa,exports.CardsSixty=Ca,exports.CardsTools=ka,exports.Checkbox_=e=>r.default.createElement(ne,{key:e.key},e.variant_Input?r.default.createElement(le,{bool_Checked:e.bool_Checked},r.default.createElement(j,{text_Placeholder:e.text_CheckboxPlaceholder,bool_DisabledInput:!e.bool_Checked})):r.default.createElement("label",{for:e.id_Checkbox},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(re,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id_Checkbox,checked:e.bool_Checked,onClick:e.onClick_Checkbox}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(L,null,r.default.createElement(S,null,r.default.createElement("h4",null,e.text_Confirmation),r.default.createElement(A,null,r.default.createElement(v,{onClick:e.onClick_Primary,svgLeft:e.icon_Primary,text:e.text_Primary}),r.default.createElement(x,{onClick:e.onClick_Secondary,svgLeft:e.icon_Secondary,text:e.text_Secondary})))),exports.Cta_=c,exports.Delete_Plain=k,exports.Dropdown_=q,exports.Edit_=e=>r.default.createElement(d,{size:"normal",onClick:e.onClick},r.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let a={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.key_SuggestionType]},n=t.json_File;const[l,o]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),m=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.key_SuggestionType]})},h=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===d?i.length-1:d-1)),"ArrowDown"==e.key&&(e.preventDefault(),d===i.length-1?u(0):u(d+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),m("string"==typeof i[d]?i[d]:i[d][t.key_SuggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Je(n,a);let r=l.query?e.search(l.query):n;r=r.slice(0,t.size),c(r)}),[l]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&l.query.length?t.getSuggestions(i):t.getSuggestions&&!l.query.length&&t.getSuggestions([])}),[i]),console.log(l.defaultValue),r.default.createElement(Qe,null,r.default.createElement(et,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.text_Placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Ye.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e),variant_List:t.variant_List}),r.default.createElement(tt,null,t.text_Placeholder),t.bool_Required?r.default.createElement(N,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.variant_List?r.default.createElement(v,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,l.query&&i?r.default.createElement(at,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType])},r.default.createElement("p",null,e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType]))))):null,t.variant_List?r.default.createElement(nt,null,r.default.createElement("h5",null,t.text_Selecteditems),t.array_List.map((e=>r.default.createElement("li",null,r.default.createElement(s,{Icon:t.icon_List}),r.default.createElement("h6",null,e),r.default.createElement(k,{variant_Size:"small",icon_Left:"Delete",onClick:t.onCLick_ListDelete}))))):null)},exports.Focus_=e=>r.default.createElement(u,{size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),exports.Focus_Plain=e=>r.default.createElement(m,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),exports.Form=G,exports.FormGroup=D,exports.FormInput=F,exports.FormLabel=H,exports.FormList=V,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),exports.HamContext=X,exports.IconSvg=s,exports.Input_=j,exports.Input_Phone=t=>{const{region:a}=e.useContext(W);return r.default.createElement(Q,null,r.default.createElement(ee,null,r.default.createElement(q,null,r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===a?r.default.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===a?r.default.createElement("option",{selected:!0},"🇩🇪 +49"):r.default.createElement("option",{selected:!0},"🇬🇷 +30"))),r.default.createElement(q,{array_Dropdown:t.array_PhoneDropdown})),r.default.createElement(j,{text_Placeholder:t.text_PhonePlaceholder,bool_Required:t.bool_Required,variant_List:!0,array_List:t.array_PhoneList,icon_List:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(W);return r.default.createElement(te,null,r.default.createElement(q,null,"Greece"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49")):"Deutschland"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇩🇪 +49"),r.default.createElement("option",null,"🇬🇷 +30")):r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49"))),r.default.createElement(j,{class_Input:t.class_Input,text_Placeholder:t.text_Placeholder,id_Input:t.id_Input,onChange_Input:t.onChange_Input,text_Defaultvalue:t.text_Defaultvalue,onKeyPress_Input:t.onKeyPress_Input,onKeyDown_Input:t.onKeyDown_Input}))},exports.LangContext=O,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=U,exports.Nav_=e=>r.default.createElement(It,null,r.default.createElement(ot,{onClick_Logo:e.onClick_Logo}),r.default.createElement(ct,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(bt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(At,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(C,{variant_CardText:e.variant_CardText,onClick:e.onClick},e.svg_Card||e.text_Card||e.img_SmallCard?r.default.createElement("header",null,e.svg_Card?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.svg_Card})):e.img_SmallCard?r.default.createElement(M,null,r.default.createElement("img",{src:e.img_SmallCard})):r.default.createElement("span",null,e.text_Card)):e.img_Card?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img_Card})):null,e.text_CardTitle||e.text_CardSub?r.default.createElement("footer",null,e.text_CardTitle&&r.default.createElement("h2",null,e.text_CardTitle),e.text_CardSub&&r.default.createElement("h5",null,e.text_CardSub),e.children):null),exports.Page=Kt,exports.PageAlwaysVisible=Ut,exports.PageCards=oa,exports.PageDesktopOnly=Xt,exports.PageDesktopPadding=Jt,exports.PageForty=qt,exports.PageSingle=Qt,exports.PageSingleHeader=ea,exports.PageSingleRight=aa,exports.PageSingleleft=ta,exports.PageSixty=Ot,exports.PageSub=na,exports.PageSubActions=la,exports.PageSubTitle=ra,exports.PageTitle=Yt,exports.PageTools=Wt,exports.PageToolsCards=ia,exports.Radio_=e=>r.default.createElement(oe,{key:e.key},e.variant_Input?r.default.createElement(j,{text_Placeholder:e.text_RadioPlaceholder}):r.default.createElement("label",{for:e.id_Radio},r.default.createElement("p",null,e.text_RadioLabel)),r.default.createElement(ie,{className:"RadioCircle"},r.default.createElement("input",{name:e.name_Radio,type:"radio",id:e.id_Radio,checked:e.bool_RadioChecked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=W,exports.Sidebar_=e=>r.default.createElement($t,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Tt,{onClick:e.onClick},r.default.createElement("h5",{className:e.class_Name+" SidebarButtonTitle"},e.text),r.default.createElement("picture",null,e.icon?r.default.createElement(s,{Icon:e.icon}):e.img?r.default.createElement("img",{src:e.img,alt:e.alt}):null)),exports.Slider=fa,exports.SliderContainer=xa,exports.SliderContext=Y,exports.SliderGrid=_a,exports.SliderOverlay=pa,exports.SliderTitle=ya,exports.SliderWrapper=va,exports.Slider_=e=>r.default.createElement(Ft,{className:e.className},r.default.createElement(Ht,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Dt,null,r.default.createElement(Vt,null,r.default.createElement("h3",null,e.title),r.default.createElement(v,{text:e.done,svgRight:"Check",size:"normal",onClick:e.onClick_Close})),r.default.createElement(jt,null,e.children))),exports.Steps=sa,exports.StepsActions=ga,exports.StepsComplete=ua,exports.StepsContainer=ma,exports.StepsCurrent=da,exports.StepsWrapper=ha,exports.Steps_=e=>r.default.createElement(Bt,null,r.default.createElement(Zt,{array_Steps:e.array_Steps,int_CurrentStep:e.int_CurrentStep}),r.default.createElement(zt,null,e.array_Steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.int_CurrentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Gt,{className:"Steps"},t)))))),exports.Steps_Actions=e=>r.default.createElement(Rt,null,r.default.createElement(g,{svgLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{svgRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(ce,null,r.default.createElement(B,{placeholder:e.text_Placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.text_Prefill),e.int_Limit?r.default.createElement(se,{capped:t>e.int_Limit}," ",r.default.createElement("span",null,t)," / ",e.int_Limit):null,e.bool_Required?r.default.createElement(N,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.array_Errors?r.default.createElement(I,{className:"ValidatorErrors"},e.array_Errors.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.array_Tips&&e.array_Helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.array_Tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=ca,exports.ThemeContext=J,exports.ThemeDark={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)"},exports.ThemeLight={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)"},exports.White_Plain=e=>r.default.createElement(_,{size:e.size,onClick:e.onClick},e.svgLeft?r.default.createElement(s,{Icon:e.svgLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.svgRight?r.default.createElement(s,{Icon:e.svgRight}):null),exports.device=b;
1511
+ `;exports.Builder_=e=>r.default.createElement(ae,{key:e.key},e.title?r.default.createElement("h4",null,e.title):null,e.children),exports.Card=w,exports.CardsForty=wa,exports.CardsSixty=Ma,exports.CardsTools=_a,exports.Checkbox_=e=>r.default.createElement(ne,{key:e.key},e.withInput?r.default.createElement(le,{checked:e.checked},r.default.createElement(j,{placeholder:e.placeholder,disableInput:!e.checked})):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(re,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id,checked:e.checked,onClick:e.onClick}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(L,null,r.default.createElement(S,null,r.default.createElement("h4",null,e.message),r.default.createElement(A,null,r.default.createElement(v,{onClick:e.onClick_Main,iconLeft:e.icon_Main,text:e.text_Main}),r.default.createElement(x,{onClick:e.onClick_MainPlain,iconLeft:e.icon_MainPlain,text:e.text_MainPlain})))),exports.Cta_=c,exports.Delete_Plain=_,exports.Dropdown_=q,exports.Edit_=e=>r.default.createElement(d,{size:"normal",onClick:e.onClick},r.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let a={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.suggestionType]},n=t.json_File;const[l,o]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.defaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),m=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},h=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===d?i.length-1:d-1)),"ArrowDown"==e.key&&(e.preventDefault(),d===i.length-1?u(0):u(d+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),m("string"==typeof i[d]?i[d]:i[d][t.suggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Je(n,a);let r=l.query?e.search(l.query):n;r=r.slice(0,t.size),c(r)}),[l]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&l.query.length?t.getSuggestions(i):t.getSuggestions&&!l.query.length&&t.getSuggestions([])}),[i]),r.default.createElement(Qe,null,r.default.createElement(et,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Ye.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e),list:t.list}),r.default.createElement(tt,null,t.placeholder),t.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.list?r.default.createElement(v,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,l.query&&i?r.default.createElement(at,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(e?.item?e.item[t.suggestionType]:e[t.suggestionType])},r.default.createElement("p",null,e?.item?e.item[t.suggestionType]:e[t.suggestionType]))))):null,t.list?r.default.createElement(nt,null,r.default.createElement("h5",null,t.listItemTitle),t.list.map(((e,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:t.icon_ListItem}),r.default.createElement("h6",null,e),r.default.createElement(_,{variant_Size:"small",icon_Left:"Delete",onClick:t.onClick_ListItemDelete}))))):null)},exports.Focus_=e=>r.default.createElement(u,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Focus_Plain=e=>r.default.createElement(m,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Form=G,exports.FormGroup=V,exports.FormInput=F,exports.FormLabel=H,exports.FormList=D,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.HamContext=X,exports.IconSvg=s,exports.Input_=j,exports.Input_Phone=t=>{const{region:a}=e.useContext(W);return r.default.createElement(Q,null,r.default.createElement(ee,null,r.default.createElement(q,null,r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===a?r.default.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===a?r.default.createElement("option",{selected:!0},"🇩🇪 +49"):r.default.createElement("option",{selected:!0},"🇬🇷 +30"))),r.default.createElement(q,{items:t.array_PhoneDropdown})),r.default.createElement(j,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(W);return r.default.createElement(te,null,r.default.createElement(q,null,"Greece"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49")):"Deutschland"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇩🇪 +49"),r.default.createElement("option",null,"🇬🇷 +30")):r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49"))),r.default.createElement(j,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},exports.LangContext=O,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=U,exports.Nav_=e=>r.default.createElement(It,null,r.default.createElement(ot,{onClick_Logo:e.onClick_Logo}),r.default.createElement(ct,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(bt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(At,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(M,{variant_CardText:e.variant_CardText,onClick:e.onClick},e.icon||e.header||e.imgSmall?r.default.createElement("header",null,e.icon?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.icon})):e.imgSmall?r.default.createElement(C,null,r.default.createElement("img",{src:e.imgSmall})):r.default.createElement("span",null,e.header)):e.img?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img})):null,e.title||e.subtitle?r.default.createElement("footer",null,e.title&&r.default.createElement("h2",null,e.title),e.subtitle&&r.default.createElement("h5",null,e.subtitle),e.children):null),exports.Page=Kt,exports.PageAlwaysVisible=Ut,exports.PageCards=oa,exports.PageDesktopOnly=Xt,exports.PageDesktopPadding=Jt,exports.PageForty=qt,exports.PageSingle=Qt,exports.PageSingleHeader=ea,exports.PageSingleRight=aa,exports.PageSingleleft=ta,exports.PageSixty=Ot,exports.PageSub=na,exports.PageSubActions=la,exports.PageSubTitle=ra,exports.PageTitle=Yt,exports.PageTools=Wt,exports.PageToolsCards=ia,exports.Radio_=e=>r.default.createElement(oe,{key:e.key},e.withInput?r.default.createElement(j,{placeholder:e.placeholder}):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text)),r.default.createElement(ie,{className:"RadioCircle"},r.default.createElement("input",{name:e.name,type:"radio",id:e.id,checked:e.checked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=W,exports.Sidebar_=e=>r.default.createElement($t,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Tt,{onClick:e.onClick},r.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),r.default.createElement("picture",null,e.icon?r.default.createElement(s,{Icon:e.icon}):e.img?r.default.createElement("img",{src:e.img,alt:e.alt}):null)),exports.Slider=fa,exports.SliderContainer=xa,exports.SliderContext=Y,exports.SliderGrid=Ea,exports.SliderOverlay=pa,exports.SliderTitle=ya,exports.SliderWrapper=va,exports.Slider_=e=>r.default.createElement(Ft,{className:e.className},r.default.createElement(Ht,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Vt,null,r.default.createElement(Dt,null,r.default.createElement("h3",null,e.title),r.default.createElement(v,{text:e.done,iconRight:"Check",size:"normal",onClick:e.onClick})),r.default.createElement(jt,null,e.children))),exports.Steps=sa,exports.StepsActions=ga,exports.StepsComplete=ua,exports.StepsContainer=ma,exports.StepsCurrent=da,exports.StepsWrapper=ha,exports.Steps_=e=>r.default.createElement(Bt,null,r.default.createElement(Pt,{steps:e.steps,currentStep:e.currentStep}),r.default.createElement(zt,null,e.steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Gt,{className:"Steps"},t)))))),exports.Steps_Actions=e=>r.default.createElement(Rt,null,r.default.createElement(g,{iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(ce,null,r.default.createElement(B,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.defaultValue),e.limit?r.default.createElement(se,{capped:t>e.limit}," ",r.default.createElement("span",null,t)," / ",e.limit):null,e.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement(I,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=ca,exports.ThemeContext=J,exports.ThemeDark={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)"},exports.ThemeLight={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)"},exports.White_Plain=e=>r.default.createElement(E,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.device=b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.2.21",
3
+ "version": "3.3.1",
4
4
  "description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -30,8 +30,8 @@ const DeletePlain = styled(Button)`
30
30
  export const Delete_Plain = (props) => {
31
31
  return (
32
32
  <DeletePlain className={props.className} noPadding={props.noPadding} size={props.size} onClick={props.onClick}>
33
- {props.svgLeft ?
34
- <IconSvg Icon={props.svgLeft} />
33
+ {props.iconLeft ?
34
+ <IconSvg Icon={props.iconLeft} />
35
35
  :
36
36
  null
37
37
  }
@@ -40,8 +40,8 @@ export const Delete_Plain = (props) => {
40
40
  :
41
41
  null
42
42
  }
43
- {props.svgRight ?
44
- <IconSvg Icon={props.svgRight} />
43
+ {props.iconRight ?
44
+ <IconSvg Icon={props.iconRight} />
45
45
  :
46
46
  null
47
47
  }
@@ -24,8 +24,8 @@ const Focus = styled(Button)`
24
24
  export const Focus_ = (props) => {
25
25
  return (
26
26
  <Focus size = {props.size} onClick={props.onClick}>
27
- {props.svgLeft ?
28
- <IconSvg Icon={props.svgLeft} />
27
+ {props.iconLeft ?
28
+ <IconSvg Icon={props.iconLeft} />
29
29
  :
30
30
  null
31
31
  }
@@ -34,8 +34,8 @@ export const Focus_ = (props) => {
34
34
  :
35
35
  null
36
36
  }
37
- {props.svgRight ?
38
- <IconSvg Icon={props.svgRight} />
37
+ {props.iconRight ?
38
+ <IconSvg Icon={props.iconRight} />
39
39
  :
40
40
  null
41
41
  }
@@ -30,8 +30,8 @@ const FocusPlain = styled(Button)`
30
30
  export const Focus_Plain = (props) => {
31
31
  return (
32
32
  <FocusPlain size = {props.size} onClick={props.onClick} onFocus={props.onFocus}>
33
- {props.svgLeft ?
34
- <IconSvg Icon={props.svgLeft} />
33
+ {props.iconLeft ?
34
+ <IconSvg Icon={props.iconLeft} />
35
35
  :
36
36
  null
37
37
  }
@@ -40,8 +40,8 @@ export const Focus_Plain = (props) => {
40
40
  :
41
41
  null
42
42
  }
43
- {props.svgRight ?
44
- <IconSvg Icon={props.svgRight} />
43
+ {props.iconRight ?
44
+ <IconSvg Icon={props.iconRight} />
45
45
  :
46
46
  null
47
47
  }
@@ -25,8 +25,8 @@ const Grey = styled(Button)`
25
25
  export const Grey_ = (props) => {
26
26
  return (
27
27
  <Grey size={props.size} onClick={props.onClick}>
28
- {props.svgLeft ?
29
- <IconSvg Icon={props.svgLeft} />
28
+ {props.iconLeft ?
29
+ <IconSvg Icon={props.iconLeft} />
30
30
  :
31
31
  null
32
32
  }
@@ -35,8 +35,8 @@ export const Grey_ = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.svgRight ?
39
- <IconSvg Icon={props.svgRight} />
38
+ {props.iconRight ?
39
+ <IconSvg Icon={props.iconRight} />
40
40
  :
41
41
  null
42
42
  }
@@ -31,8 +31,8 @@ const GreyLink = styled(Button)`
31
31
  export const Grey_Link = (props) => {
32
32
  return (
33
33
  <GreyLink size={props.size} onClick={props.onClick}>
34
- {props.svgLeft ?
35
- <IconSvg Icon={props.svgLeft} />
34
+ {props.iconLeft ?
35
+ <IconSvg Icon={props.iconLeft} />
36
36
  :
37
37
  null
38
38
  }
@@ -41,8 +41,8 @@ export const Grey_Link = (props) => {
41
41
  :
42
42
  null
43
43
  }
44
- {props.svgRight ?
45
- <IconSvg Icon={props.svgRight} />
44
+ {props.iconRight ?
45
+ <IconSvg Icon={props.iconRight} />
46
46
  :
47
47
  null
48
48
  }