monica-alexandria 3.69.13 → 3.69.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +14 -4
- package/dist/index.js +14 -4
- package/package.json +1 -1
- package/src/export/components/form/Filters_.js +15 -4
package/dist/index.es.js
CHANGED
|
@@ -1449,12 +1449,22 @@ object-assign
|
|
|
1449
1449
|
}
|
|
1450
1450
|
`,yc=t=>e.createElement(vc,{id:t.id,className:t.className+"ColorPicker",key:t.key},e.createElement("input",{type:"color",value:t.selectedColor,onChange:e=>(e=>{const n=e.target.value;t.passColor({colorType:t.colorType,newColor:n})})(e)}),e.createElement("h5",null,t.text)),bc=f.div`
|
|
1451
1451
|
position: relative;
|
|
1452
|
+
z-index: 5;
|
|
1453
|
+
|
|
1454
|
+
.Filters{
|
|
1455
|
+
position: sticky;
|
|
1456
|
+
top: 6.5rem;
|
|
1457
|
+
}
|
|
1452
1458
|
`,wc=f.div`
|
|
1453
|
-
position:
|
|
1454
|
-
|
|
1455
|
-
top:
|
|
1459
|
+
position: fixed;
|
|
1460
|
+
left: 4rem;
|
|
1461
|
+
top: 9rem;
|
|
1456
1462
|
width: 100%;
|
|
1457
|
-
|
|
1463
|
+
|
|
1464
|
+
@media ${Y.md} {
|
|
1465
|
+
left: 2rem;
|
|
1466
|
+
}
|
|
1467
|
+
`,Ec=f.div``,_c=t=>e.createElement(bc,null,e.createElement(D,{className:"Filters",size:"small",onClick:t.onFilter,iconLeft:"Filter",text:t.filter}),t.showFilters?e.createElement(wc,null,e.createElement(Ec,null,t.search),t.children):null),xc=f.div`
|
|
1458
1468
|
display: flex;
|
|
1459
1469
|
gap: 1rem;
|
|
1460
1470
|
align-items: center;
|
package/dist/index.js
CHANGED
|
@@ -1449,11 +1449,21 @@ object-assign
|
|
|
1449
1449
|
}
|
|
1450
1450
|
`,Pi=o.default.div`
|
|
1451
1451
|
position: relative;
|
|
1452
|
+
z-index: 5;
|
|
1453
|
+
|
|
1454
|
+
.Filters{
|
|
1455
|
+
position: sticky;
|
|
1456
|
+
top: 6.5rem;
|
|
1457
|
+
}
|
|
1452
1458
|
`,Ri=o.default.div`
|
|
1453
|
-
position:
|
|
1454
|
-
|
|
1455
|
-
top:
|
|
1459
|
+
position: fixed;
|
|
1460
|
+
left: 4rem;
|
|
1461
|
+
top: 9rem;
|
|
1456
1462
|
width: 100%;
|
|
1463
|
+
|
|
1464
|
+
@media ${N.md} {
|
|
1465
|
+
left: 2rem;
|
|
1466
|
+
}
|
|
1457
1467
|
`,zi=o.default.div``,Fi=o.default.div`
|
|
1458
1468
|
display: flex;
|
|
1459
1469
|
gap: 1rem;
|
|
@@ -3366,4 +3376,4 @@ object-assign
|
|
|
3366
3376
|
font-size: var(--normalText);
|
|
3367
3377
|
padding: .5rem 1rem;
|
|
3368
3378
|
text-align: left;
|
|
3369
|
-
`,exports.Actions_=M,exports.Alert=Dc,exports.AlertContainer=Tc,exports.AlertContext=it,exports.AlertIcon=Nc,exports.AlertSingle=Ic,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(it),o=e.useRef([]);return e.useEffect((()=>(n.forEach((e=>{(e=>{let n=t.duration?t.duration:2e3;const a=setTimeout((()=>{r((t=>t.filter((t=>t.id!==e))))}),n);o.current.push(a)})(e.id)})),()=>{o.current.forEach((e=>clearTimeout(e))),o.current=[]})),[n]),a.default.createElement(Dc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(Ic,{status:e.message.status,key:t},a.default.createElement(Nc,null,a.default.createElement(c,{class_Icon:"Loading"===e.message.status?"Loading":"",Icon:"Error"===e.message.status?"Xicon":"Loading"===e.message.status?"Loading":"Check"})),a.default.createElement(Tc,null,a.default.createElement("h6",null,e.message.text))))))},exports.AppsFull=Sd,exports.AppsSixty=Md,exports.AsideContext=ot,exports.Black_=D,exports.Builder_=ht,exports.Builder_Brand=e=>a.default.createElement(gt,{className:e.className+" BuilderBrand",last:e.last,key:e.key},e.title?a.default.createElement("h4",null,e.title):null,e.children),exports.Button=i,exports.Card=I,exports.CardsForty=$l,exports.CardsFull=Nl,exports.CardsSixty=jl,exports.CardsTools=Tl,exports.Checkbox_=e=>a.default.createElement(vt,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(bt,{disabled:e.disable},a.default.createElement(Ke,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked,value:e.value})):a.default.createElement("label",{for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(yt,{className:"Check"},a.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked,value:e.value,name:e.name}),a.default.createElement("span",{className:"CheckCustom"}),a.default.createElement(c,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Color_Picker=e=>a.default.createElement(ji,{id:e.id,className:e.className+"ColorPicker",key:e.key},a.default.createElement("input",{type:"color",value:e.selectedColor,onChange:t=>(t=>{const n=t.target.value;e.passColor({colorType:e.colorType,newColor:n})})(t)}),a.default.createElement("h5",null,e.text)),exports.Confirmation_=e=>a.default.createElement(De,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement(Ie,{storybook:e.storybook},a.default.createElement("h4",null,e.message),a.default.createElement(Te,null,a.default.createElement(b,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(v,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cookies_=e=>a.default.createElement(cd,null,a.default.createElement("h4",null,e.title),a.default.createElement("p",null,e.text,a.default.createElement("a",{target:"_blank",href:e.onFind},e.find)),a.default.createElement(D,{text:e.accept,onClick:e.onAccept})),exports.Cta_=e=>a.default.createElement(l,{className:e.className+" Cta",id:e.id,size:e.size,onClick:e.onClick},a.default.createElement("span",null,e.text)),exports.Dark_Plain=e=>a.default.createElement(A,{className:e.className+" DarkPlain",id:e.id,noPadding:e.noPadding,size:e.size,onClick:e.onClick,active:e.active},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Dates_=e=>a.default.createElement(Ni,null,a.default.createElement(Ti,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange,defaultActiveStartDate:e.defaultActiveStartDate,maxDetail:e.maxDetail,minDetail:e.minDetail})),exports.Delete_Plain=x,exports.Dropdown_=Xe,exports.Edit_=e=>a.default.createElement(u,{size:"normal",className:e.className+" Edit",id:e.id,onClick:e.onClick},a.default.createElement(c,{Icon:e.icon})),exports.Elastic_Search=t=>{!function(e){if(!e.searchKeys)throw new Error('[Elastic_Search] Error: Missing required prop "searchKeys". Please provide an array of strings.');if(!Array.isArray(e.searchKeys))throw new Error('[Elastic_Search] Error: The "searchKeys" prop must be an array of strings.');if(e.searchKeys?.map((e=>{if("string"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "searchKeys" prop must be of type string.')})),void 0!==e.debounce&&!1!==e.debounce&&("number"!=typeof e.debounce||!Number.isInteger(e.debounce)))throw new Error('[Elastic_Search] Error: If provided, "debounce" must be an integer.');if(void 0!==e.maximumSuggestions&&!1!==e.maximumSuggestions&&("number"!=typeof e.maximumSuggestions||!Number.isInteger(e.maximumSuggestions)))throw new Error('[Elastic_Search] Error: If provided, "maximumSuggestions" must be an integer.');if(void 0!==e.sanitize&&!1!==e.sanitize&&("string"!=typeof e.sanitize||"greek"!==e.sanitize&&"greeklish"!==e.sanitize))throw new Error('[Elastic_Search] Error: If provided, "sanitize" must be a string with a value of "greek" or "greeklish".');if(void 0!==e.placeholder&&!1!==e.placeholder&&"string"!=typeof e.placeholder)throw new Error('[Elastic_Search] Error: If provided, "placeholder" must be a string.');if(!e.file)throw new Error('[Elastic_Search] Error: Missing required prop "file". Please provide an array of objects.');if(!Array.isArray(e.file))throw new Error('[Elastic_Search] Error: The "file" prop must be an array.');if(e.file.map((e=>{if("object"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "file" prop must be objects.')})),!e.returnType)throw new Error('[Elastic_Search] Error: Missing required prop "returnType". Please provide a string with a value of "string" or "object".');if("string"!=typeof e.returnType||"string"!==e.returnType&&"object"!==e.returnType)throw new Error('[Elastic_Search] Error: "returnType" must be a string with a value of "string" or "object".');if("string"===e.returnType){if(!e.returnProperty)throw new Error('[Elastic_Search] Error: When "returnType" is "string," "returnProperty" is required. Please provide a string.');if("string"!=typeof e.returnProperty)throw new Error('[Elastic_Search] Error: "returnProperty" must be a string when "returnType" is "string".')}if(!e.selectionType)throw new Error('[Elastic_Search] Error: Missing required prop "selectionType". Please provide a string with a value of "many" or "one".');if("string"!=typeof e.selectionType||"many"!==e.selectionType&&"one"!==e.selectionType)throw new Error('[Elastic_Search] Error: "selectionType" must be a string with a value of "many" or "one".');if(!e.displayProperty)throw new Error('[Elastic_Search] Error: Missing required prop "displayProperty". Please provide a string.');if("string"!=typeof e.displayProperty)throw new Error('[Elastic_Search] Error: "displayProperty" must be a string.');if(e.defaultSelected)if("one"===e.selectionType){if("object"!=typeof e.defaultSelected||Array.isArray(e.defaultSelected))throw new Error('[Elastic_Search] Error: If "selectionType" is "one", "defaultSelected" must be an object.')}else if(!("many"!==e.selectionType||Array.isArray(e.defaultSelected)&&e.defaultSelected.every((e=>"object"==typeof e&&!Array.isArray(e)))))throw new Error('[Elastic_Search] Error: If "selectionType" is "many", "defaultSelected" must be an array of objects.');if(void 0!==e.selectionSectionTitle&&!1!==e.selectionSectionTitle&&"string"!=typeof e.selectionSectionTitle)throw new Error('[Elastic_Search] Error: "selectionSectionTitle" must be a string.');if(void 0!==e.selectionItemIcon&&!1!==e.selectionItemIcon&&"string"!=typeof e.selectionItemIcon)throw new Error('[Elastic_Search] Error: "selectionItemIcon" must be a string.');if(void 0!==e.results&&!1!==e.results&&"function"!=typeof e.results)throw new Error('[Elastic_Search] Error: "results" must be a callback function.');if(void 0!==e.addSelectionFirst&&"boolean"!=typeof e.addSelectionFirst)throw new Error('[Elastic_Search] Error: "addSelectionFirst" must be a boolean if provided.');if(void 0!==e.blockDuplicateProperty&&!1!==e.blockDuplicateProperty&&"string"!=typeof e.blockDuplicateProperty)throw new Error('[Elastic_Search] Error: "blockDuplicateProperty" must be a string.')}(t),function(e){const t=["searchKeys","debounce","sanitize","placeholder","maximumSuggestions","file","selectionType","returnType","returnProperty","displayProperty","defaultSelected","selectionSectionTitle","selectionItemIcon","results","addSelectionFirst","blockDuplicateProperty"],n=Object.keys(e).filter((e=>!t.includes(e)));n.length>0&&console.warn(`[Elastic_Search] Warning: The following extra props were provided and will be ignored: ${n.join(", ")}`),"string"!==e.returnType&&e.returnProperty&&console.warn('[Elastic_Search] Warning: "returnProperty" will be ignored because "returnType" is not "string".'),"one"===e.selectionType&&e.addSelectionFirst&&console.warn('[Elastic_Search] Warning: "addSelectionFirst" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.blockDuplicateProperty&&console.warn('[Elastic_Search] Warning: "blockDuplicateProperty" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionSectionTitle&&console.warn('[Elastic_Search] Warning: "selectionSectionTitle" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionItemIcon&&console.warn('[Elastic_Search] Warning: "selectionItemIcon" will be ignored because "selectionType" is set to "one".')}(t);const[n,r]=e.useState({displayedValue:"one"===t.selectionType&&t?.defaultSelected&&t.defaultSelected[t.displayProperty]?t.defaultSelected[t.displayProperty]:"",fuseQueryValue:"",searchResults:[],defaultMaximumSuggestions:6,selected:t?.defaultSelected?t?.defaultSelected:"one"===t.selectionType?{}:[],skipDebounce:!1}),[o,i]=e.useState(0);let l={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.searchKeys};const u=()=>{let e=function(e,t,n){try{const r=new vn(t,n).search(e);return r.sort(((e,t)=>t.score+e.score)),r.map((e=>e.item))}catch(e){return[]}}(n.fuseQueryValue,t.file,l);t.blockDuplicateProperty&&"many"===t.selectionType&&(e=e.filter((e=>!n.selected.some((n=>n[t.blockDuplicateProperty]===e[t.blockDuplicateProperty]))))),e=e.slice(0,t.maximumSuggestions?t.maximumSuggestions:n.defaultMaximumSuggestions),r((t=>({...t,searchResults:e,skipDebounce:!1})))},s=function(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}(u,t.debounce),d=e=>{const a="one"===t.selectionType?e:t.addSelectionFirst?[e,...n.selected]:[...n.selected,e];r((e=>({...e,selected:a,displayedValue:"many"===t.selectionType?"":a[t.displayProperty],fuseQueryValue:"",skipDebounce:!0})))},f=e=>{if("ArrowUp"==e.key&&(e.preventDefault(),i(0===o?n.searchResults?.length-1:o-1)),"ArrowDown"==e.key&&(e.preventDefault(),o===n.searchResults?.length-1?i(0):i(o+1)),e.key&&"Enter"===e.key){const e=n.searchResults[o-1];d(e)}};return e.useEffect((()=>{t.debounce&&!n.skipDebounce?s():u()}),[n.fuseQueryValue]),e.useEffect((()=>{t.results("object"===t.returnType?n.selected:"one"===t.selectionType?n.selected[t.returnProperty]?n.selected[t.returnProperty]:"":n.selected?.map((e=>e[t.returnProperty])))}),[n.selected]),a.default.createElement(bn,{className:"ElasticSearch"},a.default.createElement(Ke,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=_n(t.sanitize,e.target.value);if("one"!==t.selectionType||!n.selected[t.displayProperty]||t.file.some((e=>e[t.displayProperty]===a)))r((e=>({...e,displayedValue:a,fuseQueryValue:o})));else{const e=a.length-n.selected[t.displayProperty].length==1,o=e?a[a.length-1]:"",i=e?_n(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:i,selected:{}})))}},onKeyPress:e=>f(e),onKeyDown:e=>f(e)}),a.default.createElement(wn,{className:"ElasticSuggestions"},n.searchResults?.map(((e,r)=>a.default.createElement("li",{className:r===o%n.searchResults?.length-1?"ElasticSelected":"",key:r,onClick:()=>d(e)},a.default.createElement("p",null,e[t.displayProperty]))))),"many"===t.selectionType&&a.default.createElement(En,null,a.default.createElement("h5",null,t.selectionSectionTitle),n.selected?.map(((e,o)=>a.default.createElement("li",{key:o},t.selectionItemIcon&&a.default.createElement(c,{Icon:t.selectionItemIcon}),a.default.createElement("h6",null,e[t.displayProperty]),a.default.createElement(C,{size:"small",iconLeft:"Delete",onClick:()=>(e=>{if("many"===t.selectionType){const t=[];for(const[r,a]of n.selected.entries())r!==e&&t.push(a);r((e=>({...e,selected:t})))}else r((e=>({...e,selected:{}})))})(o)}))))))},exports.Facebook_=e=>a.default.createElement(L,{onClick:e.onClick,id:e.id,className:e.className+" Facebook"},e.icon?a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/morning/thirdParty/Facebook.png"}):null,e.text?a.default.createElement("span",null,e.text):null),exports.FadeIn=Ac,exports.Filters_=e=>a.default.createElement(Pi,null,a.default.createElement(v,{size:"small",onClick:e.onFilter,iconLeft:"Filter",text:e.filter}),e.showFilters?a.default.createElement(Ri,null,a.default.createElement(zi,null,e.search),e.children):null),exports.Focus_=d,exports.Focus_Plain=e=>a.default.createElement(f,{className:e.className+" FocusPlain",id:e.id,size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Footer_=e=>a.default.createElement(Us,null,a.default.createElement(qs,null,a.default.createElement(Ks,null,a.default.createElement(rd,null,a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),a.default.createElement("h2",null,"Doitforme")),a.default.createElement("h6",null,"© Copyright 2023"),a.default.createElement("h6",null,"DO IT FOR ME P.C.")),a.default.createElement(Js,null,a.default.createElement(Qs,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(ed,null,a.default.createElement(td,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.sales,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 739")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"payments@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.marketing,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 740")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"digitalmarketing@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.development,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 741")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"webdevelopment@doitforme.eu"))))),a.default.createElement(nd,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.headquarters,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Location"}),a.default.createElement("p",null,e.address)))),a.default.createElement(ad,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement(od,null,a.default.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},a.default.createElement(c,{Icon:"Facebook"})),a.default.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},a.default.createElement(c,{Icon:"Instagram"})),a.default.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},a.default.createElement(c,{Icon:"Linkedin"}))))))),a.default.createElement(Ys,{hero:e.children},e.children?e.children:a.default.createElement(Xs,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(id,null,a.default.createElement(ld,null,a.default.createElement(E,{className:e.className,id:e.id,text:e.terms,size:"small",onClick:e.onTerms}),a.default.createElement(E,{className:e.className,id:e.id,text:e.privacy,size:"small",onClick:e.onPrivacy})))),exports.Form=We,exports.FormGroup=Ue,exports.FormInput=Ze,exports.FormLabel=Ge,exports.FormList=qe,exports.Forty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(4):e<=T.xl&&e>T.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Ul,null,[...Array(n)]?.map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Forty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(4):e<=T.xl&&e>T.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(nc,null,[...Array(n)]?.map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>T.lg?10:e<=T.lg&&e>T.md?6:e<=T.md&&e>T.sm?4:2})()),o=e=>{e>T.lg?r(10):e<=T.lg&&e>T.md?r(6):e<=T.md&&e>T.sm?r(4):e<=T.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Zl,null,[...Array(n)]?.map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>T.lg?10:e<=T.lg&&e>T.md?6:e<=T.md&&e>T.sm?4:2})()),o=e=>{e>T.lg?r(10):e<=T.lg&&e>T.md?r(6):e<=T.md&&e>T.sm?r(4):e<=T.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(ec,null,[...Array(n)].map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,o]=e.useState([]),[i,l]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),u=e=>{let n=e.target.value;if(t.sanitize&&(n=xn.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(l({...i,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=i?.query&&l({...i,query:n}))},s=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(u,t.debounceTime):u;return e.useEffect((()=>{i?.query?(()=>{const e=new vn(r,n);let a=i.query?e.search(i.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a?.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(i.query?.length?{data:a,input:i.query}:{data:[],input:""})})():t.setResults({data:[],input:""})}),[i]),e.useEffect((()=>{o(t.file)}),[t.file]),a.default.createElement(kn,null,a.default.createElement(Cn,null,a.default.createElement(Sn,{placeholder:t.placeholder,onChange:s,defaultValue:i.defaultValue,disabled:t.disabled}),a.default.createElement(Mn,null,t.placeholder),a.default.createElement(Ln,null,a.default.createElement(c,{Icon:"Search"}))))},exports.Grey_=p,exports.Grey_Link=e=>a.default.createElement(h,{className:e.className+" GreyLink",id:e.id,size:e.size,onClick:e.onClick,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.H2=_d,exports.H3=xd,exports.H5=kd,exports.HamContext=tt,exports.IconSvg=c,exports.Input_=Ke,exports.Input_Phone=t=>{const{region:n}=e.useContext(Qe);return a.default.createElement(lt,null,a.default.createElement(ct,null,a.default.createElement(Xe,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(Xe,{items:t.array_PhoneDropdown})),a.default.createElement(Ke,{ref:t.ref,placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const[n,r]=e.useState({country:"Greece",code:"GR",phoneCode:"+30",flag:"🇬🇷"}),{region:o}=e.useContext(Qe),{phoneCode:i,setPhoneCode:l}=e.useContext(at),c=e=>{let t=ut.findIndex((t=>t.country==e));if(-1!==t){return ut[t]}return n};return e.useEffect((()=>{l(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(mt,null,a.default.createElement(Xe,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=ut.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),ut?.sort(((e,t)=>e.country.localeCompare(t.country)))?.map(((e,t)=>a.default.createElement("option",{key:t,value:e.phoneCode},e.flag," ",e.country))))),a.default.createElement(Ke,{ref:t.ref,value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=Je,exports.Main_=v,exports.Main_Loader=e=>a.default.createElement(ac,null,a.default.createElement("main",null)),exports.Main_Plain=b,exports.Main_Text_Loader=e=>a.default.createElement(sc,null,a.default.createElement("main",null,a.default.createElement(fc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(mc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(pc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(hc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(dc,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=et,exports.Nav_=e=>{let t;return t=window?.location?.hostname?.includes(".club")?"https://akihiko.doitforme.club":window?.location?.hostname?.includes(".eu")?"https://akihiko.doitforme.eu":"http://localhost:5555",a.default.createElement(dl,null,a.default.createElement(Bi,{classNameLogo:e.classNameLogo,idLogo:e.idLogo,onClick_Logo:e.onClick_Logo,minorV:e.minorV,majorV:e.majorV}),e.menu?e.menu:a.default.createElement("div",null),"Protected"===e.role||"Admin"===e.role?a.default.createElement(ll,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:()=>window.location.assign(t),idAdminMain:e.idAdminMain,text_Admin_Main:e.text_Admin_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,idSubscriptionsMain:e.idSubscriptionsMain,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,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,idAccountMain:e.idAccountMain,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,idSettingsMain:e.idSettingsMain,text_Settings_Main:e.text_Settings_Main,onClick_Logout:e.onClick_Logout,idLogout:e.idLogout,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}):a.default.createElement(sl,{hamExtraItems:e.hamExtraItems,role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,idLogin:e.idLogin,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_App=e=>a.default.createElement(Se,{className:e.className,onClick:e.onClick},a.default.createElement(Ae,null,a.default.createElement(Me,{className:"MainImage",src:e.img}),a.default.createElement(Le,null,e.title)),e.children),exports.On_Click_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(P,{href:t.href,className:t.className,imgBehave:t.imgBehave,key:t.key},t.options?a.default.createElement(R,null,a.default.createElement(z,null,t.onView&&a.default.createElement(b,{iconRight:t.iconView?t.iconView:"EyeOpen",noPadding:!0,text:t.view,onClick:t.onView}),t.onEdit&&a.default.createElement(b,{iconRight:t.iconEdit?t.iconEdit:"Edit",text:t.edit,noPadding:!0,onClick:t.onEdit}),t.extraOptions,t.onDelete&&a.default.createElement(C,{iconRight:"Delete",text:t.delete,noPadding:!0,onClick:t.onDelete}),t.optionsChildren)):null,a.default.createElement(F,{className:t.className+" OnClickBody",id:t.id,imgBehave:t.imgBehave,onClick:t.onClick,isOptions:t.isOptions},t.icon||t.header||t.imgSmall?a.default.createElement("header",null,t.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:t.icon})):t.imgSmall?a.default.createElement(B,null,a.default.createElement("img",{src:t.imgSmall})):a.default.createElement(V,{headerColor:t.headerColor},t.header)):t.img?a.default.createElement("picture",null,a.default.createElement("img",{src:t.img,onLoad:t.onLoadImg})):null,t.title||t.subtitle?a.default.createElement(H,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(W,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(Z,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(G,null,t.title))),t.subtitle&&a.default.createElement(W,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(Z,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(G,null,t.subtitle)))):null,t.children?a.default.createElement(U,{className:"Children"},t.children):null))},exports.On_Gradient_Card=e=>a.default.createElement(we,{className:e.className,onClick:e.onClick,id:e.id,key:e.key},a.default.createElement(Ee,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(_e,{src:e.img})),a.default.createElement(xe,null,a.default.createElement(ke,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),e.textBtn||e.toggle?a.default.createElement(a.default.Fragment,null,e.textBtn?a.default.createElement(Ce,null,a.default.createElement(b,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})):a.default.createElement(Ce,null,a.default.createElement(be,{active:e.active}))):a.default.createElement(a.default.Fragment,null,e.children))),exports.On_Stat=e=>a.default.createElement(cu,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(uu,{className:"OnStatTop"},a.default.createElement(du,null,e.title),a.default.createElement(su,{variant:e.variant},e.text)),a.default.createElement(fu,{className:"OnStatBottom"},a.default.createElement(mu,null,e.edited),a.default.createElement(b,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.P=Cd,exports.Page=$c,exports.PageAlwaysVisible=Bc,exports.PageDesktopOnly=Hc,exports.PageDesktopPadding=Wc,exports.PageForty=Pc,exports.PageFull=jc,exports.PageIllu=Jc,exports.PageSingle=Uc,exports.PageSingleHeader=qc,exports.PageSingleRight=Yc,exports.PageSingleleft=Kc,exports.PageSixty=Rc,exports.PageSub=Xc,exports.PageSubtitle=Gc,exports.PageTitle=Zc,exports.PageTools=zc,exports.PageToolsForty=Vc,exports.PageToolsSixty=Fc,exports.Partial_Loader=e=>a.default.createElement(vc,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(xc,null,a.default.createElement("main",null,a.default.createElement(Cc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Sc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Mc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Lc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(kc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=at,exports.Preset_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(q,{selected:t.selected,onClick:t.onClick,id:t.id,href:t.href},a.default.createElement(K,{selected:t.selected},t.items?a.default.createElement(Y,null,t?.items.slice(0,9).map(((e,n)=>a.default.createElement(X,{selected:t.selected,key:n},t.isJson?a.default.createElement("h5",null,e[t.itemKey]):a.default.createElement("h5",null,e)))),t.items?.length>=10?a.default.createElement(X,{selected:t.selected},a.default.createElement("h5",null,"...")):null):null),t.title||t.subtitle?a.default.createElement(J,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(Q,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(ee,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(te,null,t.title))),t.subtitle&&a.default.createElement(Q,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(ee,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(te,null,t.subtitle)))):null)},exports.Radio_=e=>a.default.createElement(wt,{className:e.className,key:e.key},e.withInput?a.default.createElement(Ke,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Et,{className:"RadioCircle",id:e.id},a.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked,onClick:e.onClick}),a.default.createElement("span",{className:"RadioCustom"}),a.default.createElement("div",{className:"Bullet"}))),exports.Red_=C,exports.RegionContext=Qe,exports.Row_Card=e=>a.default.createElement(pe,{className:e.className,id:e.id,onClick:e.onClick},a.default.createElement(ge,null,a.default.createElement(c,{Icon:e.icon})),a.default.createElement(he,null,e.text)),exports.Section_Filters_Search=e=>a.default.createElement(iu,null,a.default.createElement(ht,{title:e.inputTitle},e.children),a.default.createElement(v,{id:e.id,text:e.filters,iconRight:e.iconFilters?e.iconFilters:"Filter",onClick:e.onFilters})),exports.Section_Search=e=>a.default.createElement(lu,null,a.default.createElement(ht,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(tu,{onEdit:e.onEdit},a.default.createElement(nu,null,a.default.createElement(ru,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(au,null,e.text)),a.default.createElement(ou,null,e.value)),e.onEdit?a.default.createElement(b,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement(fl,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(ml,{active:e.active,locked:e.locked,onClick:e.onClick,className:e.className,id:e.id},e.locked?a.default.createElement("h5",{className:e.className+" SidebarButtonTitleUnlock SidebarButtonTitle"},e.text,a.default.createElement(c,{Icon:"Lock"})):a.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?a.default.createElement(pl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(hl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(Qc,null,a.default.createElement(Bc,null,a.default.createElement(Zc,null,a.default.createElement("h1",null,e.title)),a.default.createElement(eu,null,a.default.createElement("h2",null,e.subtitle),a.default.createElement("h3",null,e.text),e.textMain||e.textGrey?a.default.createElement(M,null,e.textGrey?a.default.createElement(p,{className:e.className,id:e.id,text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?a.default.createElement(v,{className:e.className,id:e.id,text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),a.default.createElement(Bc,null,a.default.createElement(Jc,null,a.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(6):e<=T.xl&&e>T.md?r(4):e<=T.md&&e>T.sm?r(6):e<=T.sm&&e>T.xs?r(4):e<T.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(Gl,null,[...Array(n)].map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Sixty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(6):e<=T.xl&&e>T.md?r(4):e<=T.md&&e>T.sm?r(6):e<=T.sm&&e>T.xs?r(4):e<T.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(tc,null,[...Array(n)]?.map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=gd,exports.SliderContainer=wd,exports.SliderContext=rt,exports.SliderGrid=Ed,exports.SliderOverlay=vd,exports.SliderTitle=bd,exports.SliderWrapper=yd,exports.Slider_=Ml,exports.Stat_=e=>a.default.createElement(pu,{className:e.className+" Stat"},a.default.createElement(hu,{className:"StatLeft"},a.default.createElement(gu,null,e.title),a.default.createElement(vu,null,e.text),e.children),a.default.createElement(yu,{className:"StatRight"},e.img?a.default.createElement(wu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(bu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=sd,exports.StepsActions=hd,exports.StepsComplete=fd,exports.StepsContainer=md,exports.StepsCurrent=dd,exports.StepsWrapper=pd,exports.Steps_=e=>a.default.createElement(bl,{className:e.className+" Steps"},a.default.createElement(yl,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(wl,{className:"StepsContainer"},e.steps?.map(((t,r)=>a.default.createElement(n.CSSTransition,{in:e.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},a.default.createElement(El,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(gl,null,a.default.createElement(p,{className:e.className_Grey,id:e.id_Grey,iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),a.default.createElement(v,{className:e.className_Main,id:e.id_Main,iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Steps_Helper=t=>{const[n,r]=e.useState(!1);return a.default.createElement(Ll,null,n?a.default.createElement(Ml,{text:t.textSlider,title:t.titleSlider,onClose:()=>r(!n),onClick:()=>r(!n)},t.children):null,a.default.createElement(Al,null,t.textBtn?null:a.default.createElement(Dl,null,a.default.createElement(c,{Icon:"Tip"})),a.default.createElement(Ol,null,t.extras,a.default.createElement("h5",null,t.text),t.textBtn?a.default.createElement(b,{noPadding:!0,iconLeft:"Tip",text:t.textBtn,onClick:()=>r(!n)}):null)))},exports.Sub_Circles=e=>a.default.createElement(Ws,null,e.monica?a.default.createElement("div",{className:"monica"}):null,e.bond?a.default.createElement("div",{className:"bond"}):null,e.lois?a.default.createElement("div",{className:"lois"}):null,e.dailyprofit?a.default.createElement("div",{className:"dailyprofit"}):null),exports.Sub_Status=e=>a.default.createElement(Zs,null,a.default.createElement(Gs,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.Table=Ld,exports.Textarea_=e=>a.default.createElement(_t,null,a.default.createElement(Be,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit,value:e.value,defaultValue:e.defaultValue},e.inTextarea),e.limit?a.default.createElement(xt,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Fe,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(ze,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Re,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(je,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(je,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Re,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=ud,exports.ThemeContext=nt,exports.ThemeDark={id:"dark",pure:"var(--vanta)",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",pure:"var(--light)",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.Toggle_=be,exports.Toggle_Stat=e=>a.default.createElement(Eu,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(be,{active:e.active})),exports.Unlock_Card=e=>a.default.createElement(ie,{className:e.className,key:e.key},e.icon||e.header||e.imgSmall?a.default.createElement(ue,null,e.icon?a.default.createElement(se,null,a.default.createElement(c,{Icon:e.icon})):a.default.createElement(de,null,a.default.createElement(me,null),a.default.createElement("img",{src:e.imgSmall}))):e.img?a.default.createElement(fe,{imgBehave:e.imgBehave},a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement(ce,null,e.title&&a.default.createElement("h3",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null,a.default.createElement(le,null,a.default.createElement(d,{className:e.className,id:e.id,href:e.href,text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.Upload_Avatar=e=>a.default.createElement(As,null,a.default.createElement("h4",null,e.title),a.default.createElement(Os,null,a.default.createElement(Ds,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(Is,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize}),e.uploaded?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null,e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Cover=e=>a.default.createElement(Ts,null,a.default.createElement("h4",null,e.title),a.default.createElement(Ns,null,a.default.createElement($s,{aspect:e.aspect},e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultCover.jpg"})),a.default.createElement(js,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:e.type}),e.uploaded||e.hideDelete?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(Ps,null,a.default.createElement(Rs,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(zs,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize}))),exports.Upload_Media=e=>a.default.createElement(Fs,null,a.default.createElement("h4",null,e.title),a.default.createElement(Vs,{className:"UploadMediaGrid"},a.default.createElement(Bs,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(Hs,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:"media"}),e.uploaded?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.View_Card=e=>a.default.createElement(ne,{className:e.className,id:e.id,imgBehave:e.imgBehave,onClick:e.onClick},e.icon||e.header||e.imgSmall?a.default.createElement("header",null,e.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:e.icon})):e.imgSmall?a.default.createElement(ae,null,a.default.createElement("img",{src:e.imgSmall})):a.default.createElement(re,{headerColor:e.headerColor},e.header)):e.img?a.default.createElement("picture",null,a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement("footer",null,e.title&&a.default.createElement("h2",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=E,exports.breakPoints=T,exports.countries=ut,exports.device=N,exports.logo={all:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/AllDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/AllLight.svg"},erised:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/ErisedDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/ErisedLight.svg"},griphook:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/GriphookDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/GriphookLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},bond:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/BondDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/BondLight.svg"},lois:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/LoisDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/LoisLight.svg"},dailyprofit:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/DailyprofitDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/DailyprofitLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},whitecastle:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/WhitecastleDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/WhitecastleLight.svg"},syrax:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/SyraxDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/SyraxLight.svg"}};
|
|
3379
|
+
`,exports.Actions_=M,exports.Alert=Dc,exports.AlertContainer=Tc,exports.AlertContext=it,exports.AlertIcon=Nc,exports.AlertSingle=Ic,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(it),o=e.useRef([]);return e.useEffect((()=>(n.forEach((e=>{(e=>{let n=t.duration?t.duration:2e3;const a=setTimeout((()=>{r((t=>t.filter((t=>t.id!==e))))}),n);o.current.push(a)})(e.id)})),()=>{o.current.forEach((e=>clearTimeout(e))),o.current=[]})),[n]),a.default.createElement(Dc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(Ic,{status:e.message.status,key:t},a.default.createElement(Nc,null,a.default.createElement(c,{class_Icon:"Loading"===e.message.status?"Loading":"",Icon:"Error"===e.message.status?"Xicon":"Loading"===e.message.status?"Loading":"Check"})),a.default.createElement(Tc,null,a.default.createElement("h6",null,e.message.text))))))},exports.AppsFull=Sd,exports.AppsSixty=Md,exports.AsideContext=ot,exports.Black_=D,exports.Builder_=ht,exports.Builder_Brand=e=>a.default.createElement(gt,{className:e.className+" BuilderBrand",last:e.last,key:e.key},e.title?a.default.createElement("h4",null,e.title):null,e.children),exports.Button=i,exports.Card=I,exports.CardsForty=$l,exports.CardsFull=Nl,exports.CardsSixty=jl,exports.CardsTools=Tl,exports.Checkbox_=e=>a.default.createElement(vt,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(bt,{disabled:e.disable},a.default.createElement(Ke,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked,value:e.value})):a.default.createElement("label",{for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(yt,{className:"Check"},a.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked,value:e.value,name:e.name}),a.default.createElement("span",{className:"CheckCustom"}),a.default.createElement(c,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Color_Picker=e=>a.default.createElement(ji,{id:e.id,className:e.className+"ColorPicker",key:e.key},a.default.createElement("input",{type:"color",value:e.selectedColor,onChange:t=>(t=>{const n=t.target.value;e.passColor({colorType:e.colorType,newColor:n})})(t)}),a.default.createElement("h5",null,e.text)),exports.Confirmation_=e=>a.default.createElement(De,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement(Ie,{storybook:e.storybook},a.default.createElement("h4",null,e.message),a.default.createElement(Te,null,a.default.createElement(b,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(v,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cookies_=e=>a.default.createElement(cd,null,a.default.createElement("h4",null,e.title),a.default.createElement("p",null,e.text,a.default.createElement("a",{target:"_blank",href:e.onFind},e.find)),a.default.createElement(D,{text:e.accept,onClick:e.onAccept})),exports.Cta_=e=>a.default.createElement(l,{className:e.className+" Cta",id:e.id,size:e.size,onClick:e.onClick},a.default.createElement("span",null,e.text)),exports.Dark_Plain=e=>a.default.createElement(A,{className:e.className+" DarkPlain",id:e.id,noPadding:e.noPadding,size:e.size,onClick:e.onClick,active:e.active},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Dates_=e=>a.default.createElement(Ni,null,a.default.createElement(Ti,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange,defaultActiveStartDate:e.defaultActiveStartDate,maxDetail:e.maxDetail,minDetail:e.minDetail})),exports.Delete_Plain=x,exports.Dropdown_=Xe,exports.Edit_=e=>a.default.createElement(u,{size:"normal",className:e.className+" Edit",id:e.id,onClick:e.onClick},a.default.createElement(c,{Icon:e.icon})),exports.Elastic_Search=t=>{!function(e){if(!e.searchKeys)throw new Error('[Elastic_Search] Error: Missing required prop "searchKeys". Please provide an array of strings.');if(!Array.isArray(e.searchKeys))throw new Error('[Elastic_Search] Error: The "searchKeys" prop must be an array of strings.');if(e.searchKeys?.map((e=>{if("string"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "searchKeys" prop must be of type string.')})),void 0!==e.debounce&&!1!==e.debounce&&("number"!=typeof e.debounce||!Number.isInteger(e.debounce)))throw new Error('[Elastic_Search] Error: If provided, "debounce" must be an integer.');if(void 0!==e.maximumSuggestions&&!1!==e.maximumSuggestions&&("number"!=typeof e.maximumSuggestions||!Number.isInteger(e.maximumSuggestions)))throw new Error('[Elastic_Search] Error: If provided, "maximumSuggestions" must be an integer.');if(void 0!==e.sanitize&&!1!==e.sanitize&&("string"!=typeof e.sanitize||"greek"!==e.sanitize&&"greeklish"!==e.sanitize))throw new Error('[Elastic_Search] Error: If provided, "sanitize" must be a string with a value of "greek" or "greeklish".');if(void 0!==e.placeholder&&!1!==e.placeholder&&"string"!=typeof e.placeholder)throw new Error('[Elastic_Search] Error: If provided, "placeholder" must be a string.');if(!e.file)throw new Error('[Elastic_Search] Error: Missing required prop "file". Please provide an array of objects.');if(!Array.isArray(e.file))throw new Error('[Elastic_Search] Error: The "file" prop must be an array.');if(e.file.map((e=>{if("object"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "file" prop must be objects.')})),!e.returnType)throw new Error('[Elastic_Search] Error: Missing required prop "returnType". Please provide a string with a value of "string" or "object".');if("string"!=typeof e.returnType||"string"!==e.returnType&&"object"!==e.returnType)throw new Error('[Elastic_Search] Error: "returnType" must be a string with a value of "string" or "object".');if("string"===e.returnType){if(!e.returnProperty)throw new Error('[Elastic_Search] Error: When "returnType" is "string," "returnProperty" is required. Please provide a string.');if("string"!=typeof e.returnProperty)throw new Error('[Elastic_Search] Error: "returnProperty" must be a string when "returnType" is "string".')}if(!e.selectionType)throw new Error('[Elastic_Search] Error: Missing required prop "selectionType". Please provide a string with a value of "many" or "one".');if("string"!=typeof e.selectionType||"many"!==e.selectionType&&"one"!==e.selectionType)throw new Error('[Elastic_Search] Error: "selectionType" must be a string with a value of "many" or "one".');if(!e.displayProperty)throw new Error('[Elastic_Search] Error: Missing required prop "displayProperty". Please provide a string.');if("string"!=typeof e.displayProperty)throw new Error('[Elastic_Search] Error: "displayProperty" must be a string.');if(e.defaultSelected)if("one"===e.selectionType){if("object"!=typeof e.defaultSelected||Array.isArray(e.defaultSelected))throw new Error('[Elastic_Search] Error: If "selectionType" is "one", "defaultSelected" must be an object.')}else if(!("many"!==e.selectionType||Array.isArray(e.defaultSelected)&&e.defaultSelected.every((e=>"object"==typeof e&&!Array.isArray(e)))))throw new Error('[Elastic_Search] Error: If "selectionType" is "many", "defaultSelected" must be an array of objects.');if(void 0!==e.selectionSectionTitle&&!1!==e.selectionSectionTitle&&"string"!=typeof e.selectionSectionTitle)throw new Error('[Elastic_Search] Error: "selectionSectionTitle" must be a string.');if(void 0!==e.selectionItemIcon&&!1!==e.selectionItemIcon&&"string"!=typeof e.selectionItemIcon)throw new Error('[Elastic_Search] Error: "selectionItemIcon" must be a string.');if(void 0!==e.results&&!1!==e.results&&"function"!=typeof e.results)throw new Error('[Elastic_Search] Error: "results" must be a callback function.');if(void 0!==e.addSelectionFirst&&"boolean"!=typeof e.addSelectionFirst)throw new Error('[Elastic_Search] Error: "addSelectionFirst" must be a boolean if provided.');if(void 0!==e.blockDuplicateProperty&&!1!==e.blockDuplicateProperty&&"string"!=typeof e.blockDuplicateProperty)throw new Error('[Elastic_Search] Error: "blockDuplicateProperty" must be a string.')}(t),function(e){const t=["searchKeys","debounce","sanitize","placeholder","maximumSuggestions","file","selectionType","returnType","returnProperty","displayProperty","defaultSelected","selectionSectionTitle","selectionItemIcon","results","addSelectionFirst","blockDuplicateProperty"],n=Object.keys(e).filter((e=>!t.includes(e)));n.length>0&&console.warn(`[Elastic_Search] Warning: The following extra props were provided and will be ignored: ${n.join(", ")}`),"string"!==e.returnType&&e.returnProperty&&console.warn('[Elastic_Search] Warning: "returnProperty" will be ignored because "returnType" is not "string".'),"one"===e.selectionType&&e.addSelectionFirst&&console.warn('[Elastic_Search] Warning: "addSelectionFirst" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.blockDuplicateProperty&&console.warn('[Elastic_Search] Warning: "blockDuplicateProperty" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionSectionTitle&&console.warn('[Elastic_Search] Warning: "selectionSectionTitle" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionItemIcon&&console.warn('[Elastic_Search] Warning: "selectionItemIcon" will be ignored because "selectionType" is set to "one".')}(t);const[n,r]=e.useState({displayedValue:"one"===t.selectionType&&t?.defaultSelected&&t.defaultSelected[t.displayProperty]?t.defaultSelected[t.displayProperty]:"",fuseQueryValue:"",searchResults:[],defaultMaximumSuggestions:6,selected:t?.defaultSelected?t?.defaultSelected:"one"===t.selectionType?{}:[],skipDebounce:!1}),[o,i]=e.useState(0);let l={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.searchKeys};const u=()=>{let e=function(e,t,n){try{const r=new vn(t,n).search(e);return r.sort(((e,t)=>t.score+e.score)),r.map((e=>e.item))}catch(e){return[]}}(n.fuseQueryValue,t.file,l);t.blockDuplicateProperty&&"many"===t.selectionType&&(e=e.filter((e=>!n.selected.some((n=>n[t.blockDuplicateProperty]===e[t.blockDuplicateProperty]))))),e=e.slice(0,t.maximumSuggestions?t.maximumSuggestions:n.defaultMaximumSuggestions),r((t=>({...t,searchResults:e,skipDebounce:!1})))},s=function(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}(u,t.debounce),d=e=>{const a="one"===t.selectionType?e:t.addSelectionFirst?[e,...n.selected]:[...n.selected,e];r((e=>({...e,selected:a,displayedValue:"many"===t.selectionType?"":a[t.displayProperty],fuseQueryValue:"",skipDebounce:!0})))},f=e=>{if("ArrowUp"==e.key&&(e.preventDefault(),i(0===o?n.searchResults?.length-1:o-1)),"ArrowDown"==e.key&&(e.preventDefault(),o===n.searchResults?.length-1?i(0):i(o+1)),e.key&&"Enter"===e.key){const e=n.searchResults[o-1];d(e)}};return e.useEffect((()=>{t.debounce&&!n.skipDebounce?s():u()}),[n.fuseQueryValue]),e.useEffect((()=>{t.results("object"===t.returnType?n.selected:"one"===t.selectionType?n.selected[t.returnProperty]?n.selected[t.returnProperty]:"":n.selected?.map((e=>e[t.returnProperty])))}),[n.selected]),a.default.createElement(bn,{className:"ElasticSearch"},a.default.createElement(Ke,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=_n(t.sanitize,e.target.value);if("one"!==t.selectionType||!n.selected[t.displayProperty]||t.file.some((e=>e[t.displayProperty]===a)))r((e=>({...e,displayedValue:a,fuseQueryValue:o})));else{const e=a.length-n.selected[t.displayProperty].length==1,o=e?a[a.length-1]:"",i=e?_n(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:i,selected:{}})))}},onKeyPress:e=>f(e),onKeyDown:e=>f(e)}),a.default.createElement(wn,{className:"ElasticSuggestions"},n.searchResults?.map(((e,r)=>a.default.createElement("li",{className:r===o%n.searchResults?.length-1?"ElasticSelected":"",key:r,onClick:()=>d(e)},a.default.createElement("p",null,e[t.displayProperty]))))),"many"===t.selectionType&&a.default.createElement(En,null,a.default.createElement("h5",null,t.selectionSectionTitle),n.selected?.map(((e,o)=>a.default.createElement("li",{key:o},t.selectionItemIcon&&a.default.createElement(c,{Icon:t.selectionItemIcon}),a.default.createElement("h6",null,e[t.displayProperty]),a.default.createElement(C,{size:"small",iconLeft:"Delete",onClick:()=>(e=>{if("many"===t.selectionType){const t=[];for(const[r,a]of n.selected.entries())r!==e&&t.push(a);r((e=>({...e,selected:t})))}else r((e=>({...e,selected:{}})))})(o)}))))))},exports.Facebook_=e=>a.default.createElement(L,{onClick:e.onClick,id:e.id,className:e.className+" Facebook"},e.icon?a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/morning/thirdParty/Facebook.png"}):null,e.text?a.default.createElement("span",null,e.text):null),exports.FadeIn=Ac,exports.Filters_=e=>a.default.createElement(Pi,null,a.default.createElement(v,{className:"Filters",size:"small",onClick:e.onFilter,iconLeft:"Filter",text:e.filter}),e.showFilters?a.default.createElement(Ri,null,a.default.createElement(zi,null,e.search),e.children):null),exports.Focus_=d,exports.Focus_Plain=e=>a.default.createElement(f,{className:e.className+" FocusPlain",id:e.id,size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Footer_=e=>a.default.createElement(Us,null,a.default.createElement(qs,null,a.default.createElement(Ks,null,a.default.createElement(rd,null,a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),a.default.createElement("h2",null,"Doitforme")),a.default.createElement("h6",null,"© Copyright 2023"),a.default.createElement("h6",null,"DO IT FOR ME P.C.")),a.default.createElement(Js,null,a.default.createElement(Qs,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(ed,null,a.default.createElement(td,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.sales,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 739")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"payments@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.marketing,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 740")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"digitalmarketing@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.development,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 741")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"webdevelopment@doitforme.eu"))))),a.default.createElement(nd,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.headquarters,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Location"}),a.default.createElement("p",null,e.address)))),a.default.createElement(ad,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement(od,null,a.default.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},a.default.createElement(c,{Icon:"Facebook"})),a.default.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},a.default.createElement(c,{Icon:"Instagram"})),a.default.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},a.default.createElement(c,{Icon:"Linkedin"}))))))),a.default.createElement(Ys,{hero:e.children},e.children?e.children:a.default.createElement(Xs,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(id,null,a.default.createElement(ld,null,a.default.createElement(E,{className:e.className,id:e.id,text:e.terms,size:"small",onClick:e.onTerms}),a.default.createElement(E,{className:e.className,id:e.id,text:e.privacy,size:"small",onClick:e.onPrivacy})))),exports.Form=We,exports.FormGroup=Ue,exports.FormInput=Ze,exports.FormLabel=Ge,exports.FormList=qe,exports.Forty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(4):e<=T.xl&&e>T.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Ul,null,[...Array(n)]?.map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Forty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(4):e<=T.xl&&e>T.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(nc,null,[...Array(n)]?.map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>T.lg?10:e<=T.lg&&e>T.md?6:e<=T.md&&e>T.sm?4:2})()),o=e=>{e>T.lg?r(10):e<=T.lg&&e>T.md?r(6):e<=T.md&&e>T.sm?r(4):e<=T.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Zl,null,[...Array(n)]?.map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>T.lg?10:e<=T.lg&&e>T.md?6:e<=T.md&&e>T.sm?4:2})()),o=e=>{e>T.lg?r(10):e<=T.lg&&e>T.md?r(6):e<=T.md&&e>T.sm?r(4):e<=T.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(ec,null,[...Array(n)].map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,o]=e.useState([]),[i,l]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),u=e=>{let n=e.target.value;if(t.sanitize&&(n=xn.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(l({...i,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=i?.query&&l({...i,query:n}))},s=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(u,t.debounceTime):u;return e.useEffect((()=>{i?.query?(()=>{const e=new vn(r,n);let a=i.query?e.search(i.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a?.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(i.query?.length?{data:a,input:i.query}:{data:[],input:""})})():t.setResults({data:[],input:""})}),[i]),e.useEffect((()=>{o(t.file)}),[t.file]),a.default.createElement(kn,null,a.default.createElement(Cn,null,a.default.createElement(Sn,{placeholder:t.placeholder,onChange:s,defaultValue:i.defaultValue,disabled:t.disabled}),a.default.createElement(Mn,null,t.placeholder),a.default.createElement(Ln,null,a.default.createElement(c,{Icon:"Search"}))))},exports.Grey_=p,exports.Grey_Link=e=>a.default.createElement(h,{className:e.className+" GreyLink",id:e.id,size:e.size,onClick:e.onClick,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.H2=_d,exports.H3=xd,exports.H5=kd,exports.HamContext=tt,exports.IconSvg=c,exports.Input_=Ke,exports.Input_Phone=t=>{const{region:n}=e.useContext(Qe);return a.default.createElement(lt,null,a.default.createElement(ct,null,a.default.createElement(Xe,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(Xe,{items:t.array_PhoneDropdown})),a.default.createElement(Ke,{ref:t.ref,placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const[n,r]=e.useState({country:"Greece",code:"GR",phoneCode:"+30",flag:"🇬🇷"}),{region:o}=e.useContext(Qe),{phoneCode:i,setPhoneCode:l}=e.useContext(at),c=e=>{let t=ut.findIndex((t=>t.country==e));if(-1!==t){return ut[t]}return n};return e.useEffect((()=>{l(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(mt,null,a.default.createElement(Xe,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=ut.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),ut?.sort(((e,t)=>e.country.localeCompare(t.country)))?.map(((e,t)=>a.default.createElement("option",{key:t,value:e.phoneCode},e.flag," ",e.country))))),a.default.createElement(Ke,{ref:t.ref,value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=Je,exports.Main_=v,exports.Main_Loader=e=>a.default.createElement(ac,null,a.default.createElement("main",null)),exports.Main_Plain=b,exports.Main_Text_Loader=e=>a.default.createElement(sc,null,a.default.createElement("main",null,a.default.createElement(fc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(mc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(pc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(hc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(dc,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=et,exports.Nav_=e=>{let t;return t=window?.location?.hostname?.includes(".club")?"https://akihiko.doitforme.club":window?.location?.hostname?.includes(".eu")?"https://akihiko.doitforme.eu":"http://localhost:5555",a.default.createElement(dl,null,a.default.createElement(Bi,{classNameLogo:e.classNameLogo,idLogo:e.idLogo,onClick_Logo:e.onClick_Logo,minorV:e.minorV,majorV:e.majorV}),e.menu?e.menu:a.default.createElement("div",null),"Protected"===e.role||"Admin"===e.role?a.default.createElement(ll,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:()=>window.location.assign(t),idAdminMain:e.idAdminMain,text_Admin_Main:e.text_Admin_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,idSubscriptionsMain:e.idSubscriptionsMain,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,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,idAccountMain:e.idAccountMain,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,idSettingsMain:e.idSettingsMain,text_Settings_Main:e.text_Settings_Main,onClick_Logout:e.onClick_Logout,idLogout:e.idLogout,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}):a.default.createElement(sl,{hamExtraItems:e.hamExtraItems,role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,idLogin:e.idLogin,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_App=e=>a.default.createElement(Se,{className:e.className,onClick:e.onClick},a.default.createElement(Ae,null,a.default.createElement(Me,{className:"MainImage",src:e.img}),a.default.createElement(Le,null,e.title)),e.children),exports.On_Click_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(P,{href:t.href,className:t.className,imgBehave:t.imgBehave,key:t.key},t.options?a.default.createElement(R,null,a.default.createElement(z,null,t.onView&&a.default.createElement(b,{iconRight:t.iconView?t.iconView:"EyeOpen",noPadding:!0,text:t.view,onClick:t.onView}),t.onEdit&&a.default.createElement(b,{iconRight:t.iconEdit?t.iconEdit:"Edit",text:t.edit,noPadding:!0,onClick:t.onEdit}),t.extraOptions,t.onDelete&&a.default.createElement(C,{iconRight:"Delete",text:t.delete,noPadding:!0,onClick:t.onDelete}),t.optionsChildren)):null,a.default.createElement(F,{className:t.className+" OnClickBody",id:t.id,imgBehave:t.imgBehave,onClick:t.onClick,isOptions:t.isOptions},t.icon||t.header||t.imgSmall?a.default.createElement("header",null,t.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:t.icon})):t.imgSmall?a.default.createElement(B,null,a.default.createElement("img",{src:t.imgSmall})):a.default.createElement(V,{headerColor:t.headerColor},t.header)):t.img?a.default.createElement("picture",null,a.default.createElement("img",{src:t.img,onLoad:t.onLoadImg})):null,t.title||t.subtitle?a.default.createElement(H,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(W,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(Z,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(G,null,t.title))),t.subtitle&&a.default.createElement(W,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(Z,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(G,null,t.subtitle)))):null,t.children?a.default.createElement(U,{className:"Children"},t.children):null))},exports.On_Gradient_Card=e=>a.default.createElement(we,{className:e.className,onClick:e.onClick,id:e.id,key:e.key},a.default.createElement(Ee,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(_e,{src:e.img})),a.default.createElement(xe,null,a.default.createElement(ke,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),e.textBtn||e.toggle?a.default.createElement(a.default.Fragment,null,e.textBtn?a.default.createElement(Ce,null,a.default.createElement(b,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})):a.default.createElement(Ce,null,a.default.createElement(be,{active:e.active}))):a.default.createElement(a.default.Fragment,null,e.children))),exports.On_Stat=e=>a.default.createElement(cu,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(uu,{className:"OnStatTop"},a.default.createElement(du,null,e.title),a.default.createElement(su,{variant:e.variant},e.text)),a.default.createElement(fu,{className:"OnStatBottom"},a.default.createElement(mu,null,e.edited),a.default.createElement(b,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.P=Cd,exports.Page=$c,exports.PageAlwaysVisible=Bc,exports.PageDesktopOnly=Hc,exports.PageDesktopPadding=Wc,exports.PageForty=Pc,exports.PageFull=jc,exports.PageIllu=Jc,exports.PageSingle=Uc,exports.PageSingleHeader=qc,exports.PageSingleRight=Yc,exports.PageSingleleft=Kc,exports.PageSixty=Rc,exports.PageSub=Xc,exports.PageSubtitle=Gc,exports.PageTitle=Zc,exports.PageTools=zc,exports.PageToolsForty=Vc,exports.PageToolsSixty=Fc,exports.Partial_Loader=e=>a.default.createElement(vc,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(xc,null,a.default.createElement("main",null,a.default.createElement(Cc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Sc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Mc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Lc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(kc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=at,exports.Preset_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(q,{selected:t.selected,onClick:t.onClick,id:t.id,href:t.href},a.default.createElement(K,{selected:t.selected},t.items?a.default.createElement(Y,null,t?.items.slice(0,9).map(((e,n)=>a.default.createElement(X,{selected:t.selected,key:n},t.isJson?a.default.createElement("h5",null,e[t.itemKey]):a.default.createElement("h5",null,e)))),t.items?.length>=10?a.default.createElement(X,{selected:t.selected},a.default.createElement("h5",null,"...")):null):null),t.title||t.subtitle?a.default.createElement(J,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(Q,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(ee,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(te,null,t.title))),t.subtitle&&a.default.createElement(Q,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(ee,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(te,null,t.subtitle)))):null)},exports.Radio_=e=>a.default.createElement(wt,{className:e.className,key:e.key},e.withInput?a.default.createElement(Ke,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Et,{className:"RadioCircle",id:e.id},a.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked,onClick:e.onClick}),a.default.createElement("span",{className:"RadioCustom"}),a.default.createElement("div",{className:"Bullet"}))),exports.Red_=C,exports.RegionContext=Qe,exports.Row_Card=e=>a.default.createElement(pe,{className:e.className,id:e.id,onClick:e.onClick},a.default.createElement(ge,null,a.default.createElement(c,{Icon:e.icon})),a.default.createElement(he,null,e.text)),exports.Section_Filters_Search=e=>a.default.createElement(iu,null,a.default.createElement(ht,{title:e.inputTitle},e.children),a.default.createElement(v,{id:e.id,text:e.filters,iconRight:e.iconFilters?e.iconFilters:"Filter",onClick:e.onFilters})),exports.Section_Search=e=>a.default.createElement(lu,null,a.default.createElement(ht,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(tu,{onEdit:e.onEdit},a.default.createElement(nu,null,a.default.createElement(ru,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(au,null,e.text)),a.default.createElement(ou,null,e.value)),e.onEdit?a.default.createElement(b,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement(fl,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(ml,{active:e.active,locked:e.locked,onClick:e.onClick,className:e.className,id:e.id},e.locked?a.default.createElement("h5",{className:e.className+" SidebarButtonTitleUnlock SidebarButtonTitle"},e.text,a.default.createElement(c,{Icon:"Lock"})):a.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?a.default.createElement(pl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(hl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(Qc,null,a.default.createElement(Bc,null,a.default.createElement(Zc,null,a.default.createElement("h1",null,e.title)),a.default.createElement(eu,null,a.default.createElement("h2",null,e.subtitle),a.default.createElement("h3",null,e.text),e.textMain||e.textGrey?a.default.createElement(M,null,e.textGrey?a.default.createElement(p,{className:e.className,id:e.id,text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?a.default.createElement(v,{className:e.className,id:e.id,text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),a.default.createElement(Bc,null,a.default.createElement(Jc,null,a.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(6):e<=T.xl&&e>T.md?r(4):e<=T.md&&e>T.sm?r(6):e<=T.sm&&e>T.xs?r(4):e<T.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(Gl,null,[...Array(n)].map((e=>a.default.createElement(Wl,{key:e,children:t.children,circle:t.circle}))))},exports.Sixty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>T.xl?r(6):e<=T.xl&&e>T.md?r(4):e<=T.md&&e>T.sm?r(6):e<=T.sm&&e>T.xs?r(4):e<T.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(tc,null,[...Array(n)]?.map((e=>a.default.createElement(Ql,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=gd,exports.SliderContainer=wd,exports.SliderContext=rt,exports.SliderGrid=Ed,exports.SliderOverlay=vd,exports.SliderTitle=bd,exports.SliderWrapper=yd,exports.Slider_=Ml,exports.Stat_=e=>a.default.createElement(pu,{className:e.className+" Stat"},a.default.createElement(hu,{className:"StatLeft"},a.default.createElement(gu,null,e.title),a.default.createElement(vu,null,e.text),e.children),a.default.createElement(yu,{className:"StatRight"},e.img?a.default.createElement(wu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(bu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=sd,exports.StepsActions=hd,exports.StepsComplete=fd,exports.StepsContainer=md,exports.StepsCurrent=dd,exports.StepsWrapper=pd,exports.Steps_=e=>a.default.createElement(bl,{className:e.className+" Steps"},a.default.createElement(yl,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(wl,{className:"StepsContainer"},e.steps?.map(((t,r)=>a.default.createElement(n.CSSTransition,{in:e.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},a.default.createElement(El,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(gl,null,a.default.createElement(p,{className:e.className_Grey,id:e.id_Grey,iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),a.default.createElement(v,{className:e.className_Main,id:e.id_Main,iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Steps_Helper=t=>{const[n,r]=e.useState(!1);return a.default.createElement(Ll,null,n?a.default.createElement(Ml,{text:t.textSlider,title:t.titleSlider,onClose:()=>r(!n),onClick:()=>r(!n)},t.children):null,a.default.createElement(Al,null,t.textBtn?null:a.default.createElement(Dl,null,a.default.createElement(c,{Icon:"Tip"})),a.default.createElement(Ol,null,t.extras,a.default.createElement("h5",null,t.text),t.textBtn?a.default.createElement(b,{noPadding:!0,iconLeft:"Tip",text:t.textBtn,onClick:()=>r(!n)}):null)))},exports.Sub_Circles=e=>a.default.createElement(Ws,null,e.monica?a.default.createElement("div",{className:"monica"}):null,e.bond?a.default.createElement("div",{className:"bond"}):null,e.lois?a.default.createElement("div",{className:"lois"}):null,e.dailyprofit?a.default.createElement("div",{className:"dailyprofit"}):null),exports.Sub_Status=e=>a.default.createElement(Zs,null,a.default.createElement(Gs,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.Table=Ld,exports.Textarea_=e=>a.default.createElement(_t,null,a.default.createElement(Be,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit,value:e.value,defaultValue:e.defaultValue},e.inTextarea),e.limit?a.default.createElement(xt,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Fe,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(ze,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Re,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(je,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(je,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Re,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=ud,exports.ThemeContext=nt,exports.ThemeDark={id:"dark",pure:"var(--vanta)",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",pure:"var(--light)",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.Toggle_=be,exports.Toggle_Stat=e=>a.default.createElement(Eu,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(be,{active:e.active})),exports.Unlock_Card=e=>a.default.createElement(ie,{className:e.className,key:e.key},e.icon||e.header||e.imgSmall?a.default.createElement(ue,null,e.icon?a.default.createElement(se,null,a.default.createElement(c,{Icon:e.icon})):a.default.createElement(de,null,a.default.createElement(me,null),a.default.createElement("img",{src:e.imgSmall}))):e.img?a.default.createElement(fe,{imgBehave:e.imgBehave},a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement(ce,null,e.title&&a.default.createElement("h3",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null,a.default.createElement(le,null,a.default.createElement(d,{className:e.className,id:e.id,href:e.href,text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.Upload_Avatar=e=>a.default.createElement(As,null,a.default.createElement("h4",null,e.title),a.default.createElement(Os,null,a.default.createElement(Ds,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(Is,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize}),e.uploaded?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null,e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Cover=e=>a.default.createElement(Ts,null,a.default.createElement("h4",null,e.title),a.default.createElement(Ns,null,a.default.createElement($s,{aspect:e.aspect},e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultCover.jpg"})),a.default.createElement(js,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:e.type}),e.uploaded||e.hideDelete?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(Ps,null,a.default.createElement(Rs,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(zs,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize}))),exports.Upload_Media=e=>a.default.createElement(Fs,null,a.default.createElement("h4",null,e.title),a.default.createElement(Vs,{className:"UploadMediaGrid"},a.default.createElement(Bs,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(Hs,null,a.default.createElement(Ls,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:"media"}),e.uploaded?a.default.createElement(C,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(Ne,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(ze,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Ne,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Pe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Ne,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Re,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Ne,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(je,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.View_Card=e=>a.default.createElement(ne,{className:e.className,id:e.id,imgBehave:e.imgBehave,onClick:e.onClick},e.icon||e.header||e.imgSmall?a.default.createElement("header",null,e.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:e.icon})):e.imgSmall?a.default.createElement(ae,null,a.default.createElement("img",{src:e.imgSmall})):a.default.createElement(re,{headerColor:e.headerColor},e.header)):e.img?a.default.createElement("picture",null,a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement("footer",null,e.title&&a.default.createElement("h2",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=E,exports.breakPoints=T,exports.countries=ut,exports.device=N,exports.logo={all:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/AllDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/AllLight.svg"},erised:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/ErisedDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/ErisedLight.svg"},griphook:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/GriphookDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/GriphookLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},bond:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/BondDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/BondLight.svg"},lois:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/LoisDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/LoisLight.svg"},dailyprofit:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/DailyprofitDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/DailyprofitLight.svg"},monica:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/MonicaDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/MonicaLight.svg"},whitecastle:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/WhitecastleDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/WhitecastleLight.svg"},syrax:{dark:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/dark/SyraxDark.svg",light:"https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/light/SyraxLight.svg"}};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.69.
|
|
3
|
+
"version": "3.69.15",
|
|
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",
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
import { Main_ } from '../button'
|
|
4
|
+
import { device } from '../../helpers/MediaQ'
|
|
4
5
|
|
|
5
6
|
const Filters = styled.div`
|
|
6
7
|
position: relative;
|
|
8
|
+
z-index: 5;
|
|
9
|
+
|
|
10
|
+
.Filters{
|
|
11
|
+
position: sticky;
|
|
12
|
+
top: 6.5rem;
|
|
13
|
+
}
|
|
7
14
|
`
|
|
8
15
|
|
|
9
16
|
const FiltersWrapper = styled.div`
|
|
10
|
-
position:
|
|
11
|
-
|
|
12
|
-
top:
|
|
17
|
+
position: fixed;
|
|
18
|
+
left: 4rem;
|
|
19
|
+
top: 9rem;
|
|
13
20
|
width: 100%;
|
|
21
|
+
|
|
22
|
+
@media ${device.md} {
|
|
23
|
+
left: 2rem;
|
|
24
|
+
}
|
|
14
25
|
`
|
|
15
26
|
|
|
16
27
|
const FiltersSearch = styled.div``
|
|
@@ -18,7 +29,7 @@ const FiltersSearch = styled.div``
|
|
|
18
29
|
export const Filters_ = (props) => {
|
|
19
30
|
return (
|
|
20
31
|
<Filters>
|
|
21
|
-
<Main_ size="small" onClick={props.onFilter} iconLeft="Filter" text={props.filter}/>
|
|
32
|
+
<Main_ className="Filters" size="small" onClick={props.onFilter} iconLeft="Filter" text={props.filter}/>
|
|
22
33
|
{props.showFilters ?
|
|
23
34
|
<FiltersWrapper>
|
|
24
35
|
<FiltersSearch>
|