monica-alexandria 3.66.9 → 3.67.2

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 CHANGED
@@ -1213,7 +1213,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a,Compon
1213
1213
  span {
1214
1214
  color: ${e=>e.capped?"var(--error)":"inherit"};
1215
1215
  }
1216
- `,Ut=t=>e.createElement(Wt,null,e.createElement(at,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange,maxLength:t.limit},t.defaultValue),t.limit?e.createElement(Gt,{capped:t.count>t.limit},e.createElement("span",null,t.valueLength)," / ",t.limit):null,t.required?e.createElement(nt,{className:"ValidatorRequired"},e.createElement(b,{Icon:"Asterisk"})):null,t.errors?e.createElement(Ye,{className:"ValidatorErrors"},t.errors?.map((t=>e.createElement(tt,null,e.createElement(b,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(Ye,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(ValidatorSuccess,{key:n},e.createElement(b,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(Ye,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(et,null,e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips?.map((t=>e.createElement(Je,null,e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(Ye,{className:"ValidatorHelpers"},t.tips?.map((t=>e.createElement(Je,null,e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(Ye,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(et,null,e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t))))):null);function qt(e){return Array.isArray?Array.isArray(e):"[object Array]"===rn(e)}const Kt=1/0;function Yt(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-Kt?"-0":t}(e)}function Xt(e){return"string"==typeof e}function Jt(e){return"number"==typeof e}function Qt(e){return!0===e||!1===e||function(e){return en(e)&&null!==e}(e)&&"[object Boolean]"==rn(e)}function en(e){return"object"==typeof e}function tn(e){return null!=e}function nn(e){return!e.trim().length}function rn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const an=e=>`Missing ${e} property in key`,on=e=>`Property 'weight' in key '${e}' must be a positive integer`,cn=Object.prototype.hasOwnProperty;class ln{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=sn(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function sn(e){let t=null,n=null,r=null,a=1,o=null;if(Xt(e)||qt(e))r=e,t=un(e),n=dn(e);else{if(!cn.call(e,"name"))throw new Error(an("name"));const i=e.name;if(r=i,cn.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(on(i));t=un(i),n=dn(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function un(e){return qt(e)?e:e.split(".")}function dn(e){return qt(e)?e.join("."):e}var fn={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(tn(e))if(t[o]){const i=e[t[o]];if(!tn(i))return;if(o===t.length-1&&(Xt(i)||Jt(i)||Qt(i)))n.push(Yt(i));else if(qt(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,Xt(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const mn=/[^ ]+/g;class pn{constructor({getFn:e=fn.getFn,fieldNormWeight:t=fn.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(mn).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Xt(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();Xt(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!tn(e)||nn(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(tn(a))if(qt(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(tn(r))if(Xt(r)&&!nn(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else qt(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Xt(a)&&!nn(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function hn(e,t,{getFn:n=fn.getFn,fieldNormWeight:r=fn.fieldNormWeight}={}){const a=new pn({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(sn)),a.setSources(t),a.create(),a}function gn(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=fn.distance,ignoreLocation:o=fn.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}const vn=32;function yn(e,t,n,{location:r=fn.location,distance:a=fn.distance,threshold:o=fn.threshold,findAllMatches:i=fn.findAllMatches,minMatchCharLength:c=fn.minMatchCharLength,includeMatches:l=fn.includeMatches,ignoreLocation:s=fn.ignoreLocation}={}){if(t.length>vn)throw new Error(`Pattern length exceeds max of ${vn}.`);const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let m=o,p=f;const h=c>1||l,g=h?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let e=gn(t,{currentLocation:v,expectedLocation:f,distance:a,ignoreLocation:s});if(m=Math.min(e,m),p=v+u,h){let e=0;for(;e<u;)g[v+e]=1,e+=1}}p=-1;let y=[],b=1,w=u+d;const E=1<<u-1;for(let r=0;r<u;r+=1){let o=0,c=w;for(;o<c;){gn(t,{errors:r,currentLocation:f+c,expectedLocation:f,distance:a,ignoreLocation:s})<=m?o=c:w=c,c=Math.floor((w-o)/2+o)}w=c;let l=Math.max(1,f-c+1),v=i?d:Math.min(f+c,d)+u,_=Array(v+2);_[v+1]=(1<<r)-1;for(let o=v;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(h&&(g[i]=+!!c),_[o]=(_[o+1]<<1|1)&c,r&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(b=gn(t,{errors:r,currentLocation:i,expectedLocation:f,distance:a,ignoreLocation:s}),b<=m)){if(m=b,p=i,p<=f)break;l=Math.max(1,2*f-p)}}if(gn(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:a,ignoreLocation:s})>m)break;y=_}const _={isMatch:p>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=fn.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(g,c);e.length?l&&(_.indices=e):_.isMatch=!1}return _}function bn(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class wn{constructor(e,{location:t=fn.location,threshold:n=fn.threshold,distance:r=fn.distance,includeMatches:a=fn.includeMatches,findAllMatches:o=fn.findAllMatches,minMatchCharLength:i=fn.minMatchCharLength,isCaseSensitive:c=fn.isCaseSensitive,ignoreLocation:l=fn.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:bn(e),startIndex:t})},u=this.pattern.length;if(u>vn){let e=0;const t=u%vn,n=u-t;for(;e<n;)s(this.pattern.substr(e,vn),e),e+=vn;if(t){const e=u-vn;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:f,startIndex:m})=>{const{isMatch:p,score:h,indices:g}=yn(e,t,f,{location:r+m,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});p&&(d=!0),u+=h,p&&g&&(s=[...s,...g])}));let f={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(f.indices=s),f}}class En{constructor(e){this.pattern=e}static isMultiMatch(e){return _n(e,this.multiRegex)}static isSingleMatch(e){return _n(e,this.singleRegex)}search(){}}function _n(e,t){const n=e.match(t);return n?n[1]:null}class xn extends En{constructor(e,{location:t=fn.location,threshold:n=fn.threshold,distance:r=fn.distance,includeMatches:a=fn.includeMatches,findAllMatches:o=fn.findAllMatches,minMatchCharLength:i=fn.minMatchCharLength,isCaseSensitive:c=fn.isCaseSensitive,ignoreLocation:l=fn.ignoreLocation}={}){super(e),this._bitapSearch=new wn(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class kn extends En{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Cn=[class extends En{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},kn,class extends En{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},xn],Mn=Cn.length,Sn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ln=new Set([xn.type,kn.type]);class An{constructor(e,{isCaseSensitive:t=fn.isCaseSensitive,includeMatches:n=fn.includeMatches,minMatchCharLength:r=fn.minMatchCharLength,ignoreLocation:a=fn.ignoreLocation,findAllMatches:o=fn.findAllMatches,location:i=fn.location,threshold:c=fn.threshold,distance:l=fn.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Sn).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Mn;){const e=Cn[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Mn;){const e=Cn[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:u}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=u,n){const e=r.constructor.type;Ln.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const On=[];function In(e,t){for(let n=0,r=On.length;n<r;n+=1){let r=On[n];if(r.condition(e,t))return new r(e,t)}return new wn(e,t)}const Dn="$and",Nn="$or",Tn="$path",$n="$val",jn=e=>!(!e[Dn]&&!e[Nn]),Rn=e=>({[Dn]:Object.keys(e).map((t=>({[t]:e[t]})))});function Pn(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[Tn])(e);if(!o&&a.length>1&&!jn(e))return r(Rn(e));if((e=>!qt(e)&&en(e)&&!jn(e))(e)){const r=o?e[Tn]:a[0],i=o?e[$n]:e[r];if(!Xt(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:dn(r),pattern:i};return n&&(c.searcher=In(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];qt(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return jn(e)||(e=Rn(e)),r(e)}function zn(e,t){const n=e.matches;t.matches=[],tn(n)&&n.forEach((e=>{if(!tn(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function Fn(e,t){t.score=e.score}class Vn{constructor(e,t={},n){this.options={...fn,...t},this.options.useExtendedSearch,this._keyStore=new ln(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof pn))throw new Error("Incorrect 'index' type");this._myIndex=t||hn(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){tn(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=Xt(e)?Xt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=fn.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Jt(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=fn.includeMatches,includeScore:r=fn.includeScore}={}){const a=[];return n&&a.push(zn),r&&a.push(Fn),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=In(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!tn(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=Pn(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===Dn)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(tn(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=In(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!tn(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!tn(t))return[];let r=[];if(qt(t))t.forEach((({v:t,i:a,n:o})=>{if(!tn(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}Vn.version="6.6.2",Vn.createIndex=hn,Vn.parseIndex=function(e,{getFn:t=fn.getFn,fieldNormWeight:n=fn.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new pn({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},Vn.config=fn,Vn.parseQuery=Pn,function(...e){On.push(...e)}(An);var Bn=require("greek-utils");const Hn=m(st)``,Zn=m.ul`
1216
+ `,Ut=t=>e.createElement(Wt,null,e.createElement(at,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange,maxLength:t.limit},t.defaultValue),t.limit?e.createElement(Gt,{capped:t.count>t.limit},e.createElement("span",null,t.valueLength)," / ",t.limit):null,t.required?e.createElement(nt,{className:"ValidatorRequired"},e.createElement(b,{Icon:"Asterisk"})):null,t.errors?e.createElement(Ye,{className:"ValidatorErrors"},t.errors?.map((t=>e.createElement(tt,null,e.createElement(b,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(Ye,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(Qe,{key:n},e.createElement(b,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(Ye,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(et,null,e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips?.map((t=>e.createElement(Je,null,e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(Ye,{className:"ValidatorHelpers"},t.tips?.map((t=>e.createElement(Je,null,e.createElement(b,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(Ye,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(et,null,e.createElement(b,{Icon:"Warning"}),e.createElement("h6",null,t))))):null);function qt(e){return Array.isArray?Array.isArray(e):"[object Array]"===rn(e)}const Kt=1/0;function Yt(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-Kt?"-0":t}(e)}function Xt(e){return"string"==typeof e}function Jt(e){return"number"==typeof e}function Qt(e){return!0===e||!1===e||function(e){return en(e)&&null!==e}(e)&&"[object Boolean]"==rn(e)}function en(e){return"object"==typeof e}function tn(e){return null!=e}function nn(e){return!e.trim().length}function rn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const an=e=>`Missing ${e} property in key`,on=e=>`Property 'weight' in key '${e}' must be a positive integer`,cn=Object.prototype.hasOwnProperty;class ln{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=sn(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function sn(e){let t=null,n=null,r=null,a=1,o=null;if(Xt(e)||qt(e))r=e,t=un(e),n=dn(e);else{if(!cn.call(e,"name"))throw new Error(an("name"));const i=e.name;if(r=i,cn.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(on(i));t=un(i),n=dn(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function un(e){return qt(e)?e:e.split(".")}function dn(e){return qt(e)?e.join("."):e}var fn={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(tn(e))if(t[o]){const i=e[t[o]];if(!tn(i))return;if(o===t.length-1&&(Xt(i)||Jt(i)||Qt(i)))n.push(Yt(i));else if(qt(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,Xt(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const mn=/[^ ]+/g;class pn{constructor({getFn:e=fn.getFn,fieldNormWeight:t=fn.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(mn).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Xt(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();Xt(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!tn(e)||nn(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(tn(a))if(qt(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(tn(r))if(Xt(r)&&!nn(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else qt(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Xt(a)&&!nn(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function hn(e,t,{getFn:n=fn.getFn,fieldNormWeight:r=fn.fieldNormWeight}={}){const a=new pn({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(sn)),a.setSources(t),a.create(),a}function gn(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=fn.distance,ignoreLocation:o=fn.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}const vn=32;function yn(e,t,n,{location:r=fn.location,distance:a=fn.distance,threshold:o=fn.threshold,findAllMatches:i=fn.findAllMatches,minMatchCharLength:c=fn.minMatchCharLength,includeMatches:l=fn.includeMatches,ignoreLocation:s=fn.ignoreLocation}={}){if(t.length>vn)throw new Error(`Pattern length exceeds max of ${vn}.`);const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let m=o,p=f;const h=c>1||l,g=h?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let e=gn(t,{currentLocation:v,expectedLocation:f,distance:a,ignoreLocation:s});if(m=Math.min(e,m),p=v+u,h){let e=0;for(;e<u;)g[v+e]=1,e+=1}}p=-1;let y=[],b=1,w=u+d;const E=1<<u-1;for(let r=0;r<u;r+=1){let o=0,c=w;for(;o<c;){gn(t,{errors:r,currentLocation:f+c,expectedLocation:f,distance:a,ignoreLocation:s})<=m?o=c:w=c,c=Math.floor((w-o)/2+o)}w=c;let l=Math.max(1,f-c+1),v=i?d:Math.min(f+c,d)+u,_=Array(v+2);_[v+1]=(1<<r)-1;for(let o=v;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(h&&(g[i]=+!!c),_[o]=(_[o+1]<<1|1)&c,r&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(b=gn(t,{errors:r,currentLocation:i,expectedLocation:f,distance:a,ignoreLocation:s}),b<=m)){if(m=b,p=i,p<=f)break;l=Math.max(1,2*f-p)}}if(gn(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:a,ignoreLocation:s})>m)break;y=_}const _={isMatch:p>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=fn.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(g,c);e.length?l&&(_.indices=e):_.isMatch=!1}return _}function bn(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class wn{constructor(e,{location:t=fn.location,threshold:n=fn.threshold,distance:r=fn.distance,includeMatches:a=fn.includeMatches,findAllMatches:o=fn.findAllMatches,minMatchCharLength:i=fn.minMatchCharLength,isCaseSensitive:c=fn.isCaseSensitive,ignoreLocation:l=fn.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:bn(e),startIndex:t})},u=this.pattern.length;if(u>vn){let e=0;const t=u%vn,n=u-t;for(;e<n;)s(this.pattern.substr(e,vn),e),e+=vn;if(t){const e=u-vn;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:f,startIndex:m})=>{const{isMatch:p,score:h,indices:g}=yn(e,t,f,{location:r+m,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});p&&(d=!0),u+=h,p&&g&&(s=[...s,...g])}));let f={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(f.indices=s),f}}class En{constructor(e){this.pattern=e}static isMultiMatch(e){return _n(e,this.multiRegex)}static isSingleMatch(e){return _n(e,this.singleRegex)}search(){}}function _n(e,t){const n=e.match(t);return n?n[1]:null}class xn extends En{constructor(e,{location:t=fn.location,threshold:n=fn.threshold,distance:r=fn.distance,includeMatches:a=fn.includeMatches,findAllMatches:o=fn.findAllMatches,minMatchCharLength:i=fn.minMatchCharLength,isCaseSensitive:c=fn.isCaseSensitive,ignoreLocation:l=fn.ignoreLocation}={}){super(e),this._bitapSearch=new wn(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class kn extends En{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Cn=[class extends En{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},kn,class extends En{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends En{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},xn],Mn=Cn.length,Sn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ln=new Set([xn.type,kn.type]);class An{constructor(e,{isCaseSensitive:t=fn.isCaseSensitive,includeMatches:n=fn.includeMatches,minMatchCharLength:r=fn.minMatchCharLength,ignoreLocation:a=fn.ignoreLocation,findAllMatches:o=fn.findAllMatches,location:i=fn.location,threshold:c=fn.threshold,distance:l=fn.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Sn).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Mn;){const e=Cn[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Mn;){const e=Cn[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:u}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=u,n){const e=r.constructor.type;Ln.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const On=[];function In(e,t){for(let n=0,r=On.length;n<r;n+=1){let r=On[n];if(r.condition(e,t))return new r(e,t)}return new wn(e,t)}const Dn="$and",Nn="$or",Tn="$path",$n="$val",jn=e=>!(!e[Dn]&&!e[Nn]),Rn=e=>({[Dn]:Object.keys(e).map((t=>({[t]:e[t]})))});function Pn(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[Tn])(e);if(!o&&a.length>1&&!jn(e))return r(Rn(e));if((e=>!qt(e)&&en(e)&&!jn(e))(e)){const r=o?e[Tn]:a[0],i=o?e[$n]:e[r];if(!Xt(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:dn(r),pattern:i};return n&&(c.searcher=In(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];qt(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return jn(e)||(e=Rn(e)),r(e)}function zn(e,t){const n=e.matches;t.matches=[],tn(n)&&n.forEach((e=>{if(!tn(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function Fn(e,t){t.score=e.score}class Vn{constructor(e,t={},n){this.options={...fn,...t},this.options.useExtendedSearch,this._keyStore=new ln(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof pn))throw new Error("Incorrect 'index' type");this._myIndex=t||hn(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){tn(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=Xt(e)?Xt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=fn.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Jt(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=fn.includeMatches,includeScore:r=fn.includeScore}={}){const a=[];return n&&a.push(zn),r&&a.push(Fn),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=In(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!tn(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=Pn(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===Dn)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(tn(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=In(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!tn(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!tn(t))return[];let r=[];if(qt(t))t.forEach((({v:t,i:a,n:o})=>{if(!tn(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}Vn.version="6.6.2",Vn.createIndex=hn,Vn.parseIndex=function(e,{getFn:t=fn.getFn,fieldNormWeight:n=fn.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new pn({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},Vn.config=fn,Vn.parseQuery=Pn,function(...e){On.push(...e)}(An);var Bn=require("greek-utils");const Hn=m(st)``,Zn=m.ul`
1217
1217
  margin-top: 1rem;
1218
1218
  background: ${e=>e.theme.background};
1219
1219
  box-shadow: ${e=>e.theme.out};
package/dist/index.js CHANGED
@@ -3151,4 +3151,4 @@ object-assign
3151
3151
  display: grid;
3152
3152
  grid-template-columns: 1fr 1fr;
3153
3153
  grid-gap: 2rem;
3154
- `;exports.Actions_=M,exports.Alert=wc,exports.AlertContainer=_c,exports.AlertContext=Qe,exports.AlertIcon=xc,exports.AlertSingle=Ec,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(Qe),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(wc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(Ec,{status:e.message.status,key:t},a.default.createElement(xc,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(_c,null,a.default.createElement("h6",null,e.message.text))))))},exports.AsideContext=Je,exports.Black_=I,exports.Builder_=ct,exports.Builder_Brand=e=>a.default.createElement(ut,{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=D,exports.CardsForty=kl,exports.CardsFull=xl,exports.CardsSixty=Cl,exports.CardsTools=_l,exports.Checkbox_=e=>a.default.createElement(st,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(ft,{disabled:e.disable},a.default.createElement(Be,{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(dt,{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(Di,{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(ke,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement(Ce,{storybook:e.storybook},a.default.createElement("h4",null,e.message),a.default.createElement(Se,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(Xs,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(I,{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(Mi,null,a.default.createElement(Si,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange})),exports.Delete_Plain=x,exports.Dropdown_=We,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 sn(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(fn,{className:"ElasticSearch"},a.default.createElement(Be,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=hn(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?hn(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:i,selected:{}})))}},onKeyPress:e=>f(e),onKeyDown:e=>f(e)}),a.default.createElement(mn,{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(pn,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=yc,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(js,null,a.default.createElement(Ps,null,a.default.createElement(Rs,null,a.default.createElement(Gs,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(Vs,null,a.default.createElement(Bs,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(Hs,null,a.default.createElement(Ws,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(Zs,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(Us,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement(qs,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(zs,{hero:e.children},e.children?e.children:a.default.createElement(Fs,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(Ks,null,a.default.createElement(Ys,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=Pe,exports.FormGroup=Fe,exports.FormInput=Re,exports.FormLabel=ze,exports.FormList=Ve,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(jl,null,[...Array(n)]?.map((e=>a.default.createElement(Tl,{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(Zl,null,[...Array(n)]?.map((e=>a.default.createElement(Bl,{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(Nl,null,[...Array(n)]?.map((e=>a.default.createElement(Tl,{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(Hl,null,[...Array(n)].map((e=>a.default.createElement(Bl,{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=gn.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 sn(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(vn,null,a.default.createElement(yn,null,a.default.createElement(bn,{placeholder:t.placeholder,onChange:s,defaultValue:i.defaultValue,disabled:t.disabled}),a.default.createElement(wn,null,t.placeholder),a.default.createElement(En,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.HamContext=qe,exports.IconSvg=c,exports.Input_=Be,exports.Input_Phone=t=>{const{region:n}=e.useContext(Ge);return a.default.createElement(et,null,a.default.createElement(tt,null,a.default.createElement(We,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(We,{items:t.array_PhoneDropdown})),a.default.createElement(Be,{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(Ge),{phoneCode:i,setPhoneCode:l}=e.useContext(Xe),c=e=>{let t=nt.findIndex((t=>t.country==e));if(-1!==t){return nt[t]}return n};return e.useEffect((()=>{l(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(it,null,a.default.createElement(We,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=nt.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),nt?.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(Be,{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=Ze,exports.Main_=v,exports.Main_Loader=e=>a.default.createElement(Ul,null,a.default.createElement("main",null)),exports.Main_Plain=b,exports.Main_Text_Loader=e=>a.default.createElement(Ql,null,a.default.createElement("main",null,a.default.createElement(tc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(nc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(rc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(ac,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(ec,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=Ue,exports.Nav_=e=>a.default.createElement(al,null,a.default.createElement($i,{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(el,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:e.onClick_Admin_Main,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(rl,{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_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(ve,{onClick:e.onClick},a.default.createElement(ye,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(be,{src:e.img})),a.default.createElement(we,null,a.default.createElement(Ee,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),a.default.createElement(_e,null,a.default.createElement(b,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})))),exports.On_Stat=e=>a.default.createElement(Xc,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(Jc,{className:"OnStatTop"},a.default.createElement(eu,null,e.title),a.default.createElement(Qc,{variant:e.variant},e.text)),a.default.createElement(tu,{className:"OnStatBottom"},a.default.createElement(nu,null,e.edited),a.default.createElement(b,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.Page=kc,exports.PageAlwaysVisible=Ic,exports.PageDesktopOnly=Dc,exports.PageDesktopPadding=Tc,exports.PageForty=Sc,exports.PageFull=Cc,exports.PageIllu=Vc,exports.PageSingle=jc,exports.PageSingleHeader=Pc,exports.PageSingleRight=zc,exports.PageSingleleft=Rc,exports.PageSixty=Mc,exports.PageSub=Fc,exports.PageSubtitle=$c,exports.PageTitle=Nc,exports.PageTools=Lc,exports.PageToolsForty=Oc,exports.PageToolsSixty=Ac,exports.Partial_Loader=e=>a.default.createElement(ic,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(fc,null,a.default.createElement("main",null,a.default.createElement(pc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(hc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(gc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(vc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(mc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=Xe,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(mt,{className:e.className,key:e.key},e.withInput?a.default.createElement(Be,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(pt,{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=Ge,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(Kc,null,a.default.createElement(ct,{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(Yc,null,a.default.createElement(ct,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(Wc,{onEdit:e.onEdit},a.default.createElement(Zc,null,a.default.createElement(Gc,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(Uc,null,e.text)),a.default.createElement(qc,null,e.value)),e.onEdit?a.default.createElement(b,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement(ol,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(il,{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(ll,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(cl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(Bc,null,a.default.createElement(Ic,null,a.default.createElement(Nc,null,a.default.createElement("h1",null,e.title)),a.default.createElement(Hc,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(Ic,null,a.default.createElement(Vc,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($l,null,[...Array(n)].map((e=>a.default.createElement(Tl,{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(Wl,null,[...Array(n)]?.map((e=>a.default.createElement(Bl,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=od,exports.SliderContainer=ud,exports.SliderContext=Ye,exports.SliderGrid=sd,exports.SliderOverlay=id,exports.SliderTitle=cd,exports.SliderWrapper=ld,exports.Slider_=e=>a.default.createElement(gl,{storybook:e.storybook,className:e.className+" Slider",disabled:e.disabled},a.default.createElement(vl,{storybook:e.storybook,className:"StoryBook_Fix2",onClick:e.onClose}),a.default.createElement(yl,{storybook:e.storybook,className:"SliderWrapper"},a.default.createElement(bl,{grey:e.grey,className:"SliderTitle"},e.iconGreyRight||e.iconGreyLeft?a.default.createElement(p,{id:e.idGrey,text:e.grey,iconRight:e.iconGreyRight?e.iconGreyRight:null,iconLeft:e.iconGreyLeft?e.iconGreyLeft:null,size:"normal",onClick:e.onGrey}):null,a.default.createElement("h3",null,e.title),e.onClick?a.default.createElement(v,{id:e.id,text:e.text,iconRight:e.icon?e.icon:"Check",size:"normal",onClick:e.onClick}):null),a.default.createElement(wl,{className:"SliderContainer"},e.children))),exports.Stat_=e=>a.default.createElement(ru,{className:e.className+" Stat"},a.default.createElement(au,{className:"StatLeft"},a.default.createElement(ou,null,e.title),a.default.createElement(iu,null,e.text),e.children),a.default.createElement(lu,{className:"StatRight"},e.img?a.default.createElement(uu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(cu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=Qs,exports.StepsActions=ad,exports.StepsComplete=td,exports.StepsContainer=nd,exports.StepsCurrent=ed,exports.StepsWrapper=rd,exports.Steps_=e=>a.default.createElement(ml,{className:e.className+" Steps"},a.default.createElement(fl,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(pl,{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(hl,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(ul,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.Sub_Circles=e=>a.default.createElement(Ts,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(Ns,null,a.default.createElement($s,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.Textarea_=e=>a.default.createElement(ht,null,a.default.createElement($e,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit},e.defaultValue),e.limit?a.default.createElement(gt,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Te,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(Me,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(De,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(ValidatorSuccess,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ie,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(Ae,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(Me,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(Ae,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ie,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=Js,exports.ThemeContext=Ke,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_=Ii,exports.Toggle_Stat=e=>a.default.createElement(su,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(Ii,{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(ys,null,a.default.createElement("h4",null,e.title),a.default.createElement(bs,null,a.default.createElement(ws,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(Es,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Cover=e=>a.default.createElement(_s,null,a.default.createElement("h4",null,e.title),a.default.createElement(xs,null,a.default.createElement(ks,{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(Cs,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(Ss,null,a.default.createElement(Ms,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(Ls,null,a.default.createElement(vs,{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(As,null,a.default.createElement("h4",null,e.title),a.default.createElement(Os,null,a.default.createElement(Is,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(Ds,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{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=nt,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"}};
3154
+ `;exports.Actions_=M,exports.Alert=wc,exports.AlertContainer=_c,exports.AlertContext=Qe,exports.AlertIcon=xc,exports.AlertSingle=Ec,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(Qe),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(wc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(Ec,{status:e.message.status,key:t},a.default.createElement(xc,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(_c,null,a.default.createElement("h6",null,e.message.text))))))},exports.AsideContext=Je,exports.Black_=I,exports.Builder_=ct,exports.Builder_Brand=e=>a.default.createElement(ut,{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=D,exports.CardsForty=kl,exports.CardsFull=xl,exports.CardsSixty=Cl,exports.CardsTools=_l,exports.Checkbox_=e=>a.default.createElement(st,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(ft,{disabled:e.disable},a.default.createElement(Be,{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(dt,{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(Di,{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(ke,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement(Ce,{storybook:e.storybook},a.default.createElement("h4",null,e.message),a.default.createElement(Se,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(Xs,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(I,{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(Mi,null,a.default.createElement(Si,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange})),exports.Delete_Plain=x,exports.Dropdown_=We,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 sn(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(fn,{className:"ElasticSearch"},a.default.createElement(Be,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=hn(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?hn(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:i,selected:{}})))}},onKeyPress:e=>f(e),onKeyDown:e=>f(e)}),a.default.createElement(mn,{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(pn,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=yc,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(js,null,a.default.createElement(Ps,null,a.default.createElement(Rs,null,a.default.createElement(Gs,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(Vs,null,a.default.createElement(Bs,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(Hs,null,a.default.createElement(Ws,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(Zs,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(Us,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement(qs,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(zs,{hero:e.children},e.children?e.children:a.default.createElement(Fs,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(Ks,null,a.default.createElement(Ys,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=Pe,exports.FormGroup=Fe,exports.FormInput=Re,exports.FormLabel=ze,exports.FormList=Ve,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(jl,null,[...Array(n)]?.map((e=>a.default.createElement(Tl,{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(Zl,null,[...Array(n)]?.map((e=>a.default.createElement(Bl,{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(Nl,null,[...Array(n)]?.map((e=>a.default.createElement(Tl,{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(Hl,null,[...Array(n)].map((e=>a.default.createElement(Bl,{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=gn.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 sn(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(vn,null,a.default.createElement(yn,null,a.default.createElement(bn,{placeholder:t.placeholder,onChange:s,defaultValue:i.defaultValue,disabled:t.disabled}),a.default.createElement(wn,null,t.placeholder),a.default.createElement(En,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.HamContext=qe,exports.IconSvg=c,exports.Input_=Be,exports.Input_Phone=t=>{const{region:n}=e.useContext(Ge);return a.default.createElement(et,null,a.default.createElement(tt,null,a.default.createElement(We,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(We,{items:t.array_PhoneDropdown})),a.default.createElement(Be,{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(Ge),{phoneCode:i,setPhoneCode:l}=e.useContext(Xe),c=e=>{let t=nt.findIndex((t=>t.country==e));if(-1!==t){return nt[t]}return n};return e.useEffect((()=>{l(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(it,null,a.default.createElement(We,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=nt.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),nt?.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(Be,{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=Ze,exports.Main_=v,exports.Main_Loader=e=>a.default.createElement(Ul,null,a.default.createElement("main",null)),exports.Main_Plain=b,exports.Main_Text_Loader=e=>a.default.createElement(Ql,null,a.default.createElement("main",null,a.default.createElement(tc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(nc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(rc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(ac,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(ec,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=Ue,exports.Nav_=e=>a.default.createElement(al,null,a.default.createElement($i,{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(el,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:e.onClick_Admin_Main,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(rl,{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_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(ve,{onClick:e.onClick},a.default.createElement(ye,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(be,{src:e.img})),a.default.createElement(we,null,a.default.createElement(Ee,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),a.default.createElement(_e,null,a.default.createElement(b,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})))),exports.On_Stat=e=>a.default.createElement(Xc,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(Jc,{className:"OnStatTop"},a.default.createElement(eu,null,e.title),a.default.createElement(Qc,{variant:e.variant},e.text)),a.default.createElement(tu,{className:"OnStatBottom"},a.default.createElement(nu,null,e.edited),a.default.createElement(b,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.Page=kc,exports.PageAlwaysVisible=Ic,exports.PageDesktopOnly=Dc,exports.PageDesktopPadding=Tc,exports.PageForty=Sc,exports.PageFull=Cc,exports.PageIllu=Vc,exports.PageSingle=jc,exports.PageSingleHeader=Pc,exports.PageSingleRight=zc,exports.PageSingleleft=Rc,exports.PageSixty=Mc,exports.PageSub=Fc,exports.PageSubtitle=$c,exports.PageTitle=Nc,exports.PageTools=Lc,exports.PageToolsForty=Oc,exports.PageToolsSixty=Ac,exports.Partial_Loader=e=>a.default.createElement(ic,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(fc,null,a.default.createElement("main",null,a.default.createElement(pc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(hc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(gc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(vc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(mc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=Xe,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(mt,{className:e.className,key:e.key},e.withInput?a.default.createElement(Be,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(pt,{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=Ge,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(Kc,null,a.default.createElement(ct,{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(Yc,null,a.default.createElement(ct,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(Wc,{onEdit:e.onEdit},a.default.createElement(Zc,null,a.default.createElement(Gc,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(Uc,null,e.text)),a.default.createElement(qc,null,e.value)),e.onEdit?a.default.createElement(b,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement(ol,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(il,{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(ll,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(cl,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(Bc,null,a.default.createElement(Ic,null,a.default.createElement(Nc,null,a.default.createElement("h1",null,e.title)),a.default.createElement(Hc,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(Ic,null,a.default.createElement(Vc,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($l,null,[...Array(n)].map((e=>a.default.createElement(Tl,{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(Wl,null,[...Array(n)]?.map((e=>a.default.createElement(Bl,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=od,exports.SliderContainer=ud,exports.SliderContext=Ye,exports.SliderGrid=sd,exports.SliderOverlay=id,exports.SliderTitle=cd,exports.SliderWrapper=ld,exports.Slider_=e=>a.default.createElement(gl,{storybook:e.storybook,className:e.className+" Slider",disabled:e.disabled},a.default.createElement(vl,{storybook:e.storybook,className:"StoryBook_Fix2",onClick:e.onClose}),a.default.createElement(yl,{storybook:e.storybook,className:"SliderWrapper"},a.default.createElement(bl,{grey:e.grey,className:"SliderTitle"},e.iconGreyRight||e.iconGreyLeft?a.default.createElement(p,{id:e.idGrey,text:e.grey,iconRight:e.iconGreyRight?e.iconGreyRight:null,iconLeft:e.iconGreyLeft?e.iconGreyLeft:null,size:"normal",onClick:e.onGrey}):null,a.default.createElement("h3",null,e.title),e.onClick?a.default.createElement(v,{id:e.id,text:e.text,iconRight:e.icon?e.icon:"Check",size:"normal",onClick:e.onClick}):null),a.default.createElement(wl,{className:"SliderContainer"},e.children))),exports.Stat_=e=>a.default.createElement(ru,{className:e.className+" Stat"},a.default.createElement(au,{className:"StatLeft"},a.default.createElement(ou,null,e.title),a.default.createElement(iu,null,e.text),e.children),a.default.createElement(lu,{className:"StatRight"},e.img?a.default.createElement(uu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(cu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=Qs,exports.StepsActions=ad,exports.StepsComplete=td,exports.StepsContainer=nd,exports.StepsCurrent=ed,exports.StepsWrapper=rd,exports.Steps_=e=>a.default.createElement(ml,{className:e.className+" Steps"},a.default.createElement(fl,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(pl,{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(hl,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(ul,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.Sub_Circles=e=>a.default.createElement(Ts,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(Ns,null,a.default.createElement($s,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.Textarea_=e=>a.default.createElement(ht,null,a.default.createElement($e,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit},e.defaultValue),e.limit?a.default.createElement(gt,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Te,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(Me,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(De,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ie,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(Ae,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(Me,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(Ae,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ie,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=Js,exports.ThemeContext=Ke,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_=Ii,exports.Toggle_Stat=e=>a.default.createElement(su,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(Ii,{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(ys,null,a.default.createElement("h4",null,e.title),a.default.createElement(bs,null,a.default.createElement(ws,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(Es,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Cover=e=>a.default.createElement(_s,null,a.default.createElement("h4",null,e.title),a.default.createElement(xs,null,a.default.createElement(ks,{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(Cs,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(Ss,null,a.default.createElement(Ms,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(Ls,null,a.default.createElement(vs,{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(As,null,a.default.createElement("h4",null,e.title),a.default.createElement(Os,null,a.default.createElement(Is,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(Ds,null,a.default.createElement(vs,{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(Me,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(De,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(Me,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Oe,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(Me,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ie,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(Me,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ae,{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=nt,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"}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.66.09",
3
+ "version": "3.67.2",
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",
@@ -5,6 +5,7 @@ import {
5
5
  ValidatorError,
6
6
  ValidatorRequired,
7
7
  Validators,
8
+ ValidatorSuccess,
8
9
  ValidatorTip,
9
10
  ValidatorWarning,
10
11
  } from "../../helpers/Validator";