@app-studio/web 0.8.38 → 0.8.39
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/web.cjs.development.js +0 -1
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +0 -1
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +0 -1
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("core-js/modules/es.symbol.description.js"),require("react"),require("core-js/modules/es.object.assign.js"),require("app-studio"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("react-router-dom"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("formik"),require("zustand")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.symbol.description.js","react","core-js/modules/es.object.assign.js","app-studio","core-js/modules/es.array.iterator.js","core-js/modules/es.parse-float.js","core-js/modules/web.dom-collections.iterator.js","react-router-dom","core-js/modules/es.array.includes.js","core-js/modules/es.string.includes.js","core-js/modules/es.string.starts-with.js","date-fns/format","formik","zustand"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,e.zustand)}(this,(function(e,t,o,a,r,i,l,n,s,c,d,m,u,h,g){"use strict";var p="default"in o?o.default:o;u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;var b=r.View;function v(e,t){if(null==e)return{};var o={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.includes(a))continue;o[a]=e[a]}return o}var f={h1:{fontSize:60,lineHeight:71,letterSpacing:-.5},h2:{fontSize:48,lineHeight:57,letterSpacing:0},h3:{fontSize:34,lineHeight:40,letterSpacing:.25},h4:{fontSize:24,lineHeight:28,letterSpacing:0},h5:{fontSize:18,lineHeight:22,letterSpacing:.15},h6:{fontSize:14,lineHeight:18,letterSpacing:.15}},j=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","isTruncated","weight","size"],E=e=>{var{children:t,isSub:o,isSup:a}=e;return p.createElement(p.Fragment,null,"string"==typeof t?p.createElement(p.Fragment,null,o&&p.createElement("sup",null,t),a&&p.createElement("sup",null,t),!o&&!a&&p.createElement(p.Fragment,null,t)):t)},x=e=>{var{text:t,maxLines:a=1}=e,r=o.useRef(null),[i,l]=o.useState(t.length);o.useEffect(()=>{var e=r.current;e&&(()=>{for(var o,r=getComputedStyle(e).lineHeight,i=("normal"!==r?parseFloat(r):20)*a,n=0,s=t.length;n<=s;)o=Math.floor((n+s)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>i?s=o-1:n=o+1;l(s)})()},[t,a]);var n=t.length>i?t.substring(0,i)+"...":t;return p.createElement("div",{ref:r},n)},y=e=>{var{children:t,heading:o,maxLines:a,isItalic:i=!1,isUnderlined:l=!1,isSub:n=!1,isSup:s=!1,isStriked:c=!1,isTruncated:d=!1,weight:m="normal",size:u="md"}=e,h=v(e,j);return p.createElement(r.Element,Object.assign({role:"text",fontSize:r.Typography.fontSizes[u],lineHeight:r.Typography.lineHeights[u],fontStyle:i?"italic":"normal",fontWeight:r.Typography.fontWeights[m],textDecoration:c?"line-through":l?"underline":"none"},n||s?{display:"inline"}:{},o?f[o]:{},h),d&&a&&"string"==typeof t?p.createElement(x,{text:t,maxLines:a}):p.createElement(E,Object.assign({isSub:n,isSup:s},h),t))},C=e=>p.createElement(y,Object.assign({},e)),z=["justifyContent","isReversed"],w=p.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:a=!1}=e,i=v(e,z);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:a?"column-reverse":"column"},i,{ref:t}))});w.displayName="Vertical";var k=w,I=["justifyContent","isReversed"],S=p.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:a=!1}=e,i=v(e,I);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:a?"row-reverse":"row"},i,{ref:t}))});S.displayName="Horizontal";var O=S,_=["justifyContent","isReversed"],H=p.forwardRef((e,t)=>{var o=v(e,_);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},o,{ref:t}))});H.displayName="Center";var T=H,M=["size","color","transform","orientation","children"],W=["size","color","filled","strokeWidth"],B=["size","color","filled","strokeWidth"],L=["size","color","filled","strokeWidth"],F=["size","color","filled","strokeWidth"],R=["size","color","filled","strokeWidth"],V=["size","color","filled","strokeWidth"],A=["size","color","filled","strokeWidth"],D=["size","color","filled","strokeWidth"],P=["size","color","filled","strokeWidth"],G=["size","color","filled","strokeWidth"],N=["size","color","filled","strokeWidth"],K=["size","color","filled","strokeWidth"],U=["size","color","filled","strokeWidth"],Z=["size","color","filled","strokeWidth"],q=["size","color","filled","strokeWidth"],Y=["size","color","filled","strokeWidth"],J=["size","color","filled","strokeWidth"],Q=["size","color","filled","strokeWidth"],X=["size","color","strokeWidth","filled"],$=["size","color","filled","strokeWidth"],ee=["size","color","strokeWidth"],te=["size","color","filled","strokeWidth"],oe=["size","color","strokeWidth"],ae=["size","color","filled","strokeWidth"],re=["size","color","strokeWidth"],ie=["size","color","filled","strokeWidth"],le=["size","color","filled","strokeWidth"],ne=["size","color","filled","strokeWidth"],se=["size","color","filled","strokeWidth"],ce=["size","color","filled","strokeWidth"],de=["size","color","filled","strokeWidth"],me=["size","color","filled","strokeWidth"],ue=["size","color","filled","strokeWidth"],he=["size","color","filled","strokeWidth"],ge=["size","color","filled","strokeWidth"],pe=["size","color","filled","strokeWidth"],be=["size","color","filled","strokeWidth"],ve=["size","color","strokeWidth"],fe=["size","color","strokeWidth"],je=["size","color","filled","strokeWidth"],Ee=["size","color","filled","strokeWidth"],xe=["size","color","filled","strokeWidth"],ye=["size","color","filled","strokeWidth"],Ce=["size","color","filled","strokeWidth"],ze=["size","color","filled","strokeWidth"],we=["size","color","filled","strokeWidth"],ke=["size","color","filled","strokeWidth"],Ie=["size","color","filled","strokeWidth"],Se=["size","color","filled","strokeWidth"],Oe=["size","color","filled","strokeWidth"],_e=["size","color","filled","strokeWidth"],He=["size","color","filled","strokeWidth"],Te=["size","color","strokeWidth"],Me=e=>{var{size:t,color:o="black",transform:a,orientation:r,children:i}=e,l=v(e,M);return p.createElement(T,Object.assign({size:t,lineHeight:t,color:o,display:"flex",transform:a||("left"===r?"rotate(-90deg)":"right"===r?"rotate(90deg)":"up"===r?"rotate(0deg)":"down"===r?"rotate(180deg)":"none")},l),i)},We=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),Be=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,W);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},Le=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,B);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},Fe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,L);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),p.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),p.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},Re=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,F);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"}),p.createElement("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"})))},Ve=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,R);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),p.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),p.createElement("circle",{cx:"4",cy:"4",r:"2"})))},Ae=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,V);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),p.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5 \n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},De=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,A);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},Pe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,D);return p.createElement(Me,Object.assign({size:t,color:o},i,{"aria-label":"Information"}),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},Ge=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,P);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"})))},Ne=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,G);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})))},Ke=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,N);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),p.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),p.createElement("polyline",{points:"7 3 7 8 15 8"})))},Ue=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,K);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M10.29 3.86l-6.6 11.4c-.78 1.36.2 3.1 1.71 3.1h13.2c1.51 0 2.49-1.74 1.71-3.1l-6.6-11.4a2 2 0 0 0-3.42 0z"}),p.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),p.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},Ze=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,U);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},qe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Z);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},Ye=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,q);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},Je=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Y);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),p.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},Qe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,J);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Xe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Q);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},$e=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1,filled:r=!0}=e,i=v(e,X);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(r,o,a)),p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:r?"white":o}),p.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:r?"white":o})))},et=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,$);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},tt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,ee);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),p.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),p.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},ot=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,te);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("circle",{cx:"18",cy:"5",r:"3"}),p.createElement("circle",{cx:"6",cy:"12",r:"3"}),p.createElement("circle",{cx:"18",cy:"19",r:"3"}),p.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),p.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},at=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,oe);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("polyline",{points:"23 4 23 10 17 10"}),p.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},rt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ae);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},it=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,re);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),p.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),p.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),p.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),p.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),p.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),p.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),p.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),p.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},lt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ie);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},nt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,le);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},st=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ne);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},ct=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,se);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})))},dt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ce);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),p.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),p.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),p.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},mt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,de);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},ut=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,me);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),p.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},ht=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ue);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},gt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,he);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{fill:a?o:"none",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})," "))},pt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ge);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},bt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,pe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},vt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,be);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},ft=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,ve);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("polyline",{points:"12 6 12 12 16 14"})))},jt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,fe);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3l2-3h8l2 3h3a2 2 0 0 1 2 2z"}),p.createElement("circle",{cx:"12",cy:"13",r:"4"})))},Et=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,je);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},xt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Ee);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},yt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,xe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})))},Ct=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ye);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},zt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Ce);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),p.createElement("path",{d:"M9 15l3 -3l3 3"}),p.createElement("path",{d:"M12 12l0 9"})))},wt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ze);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},kt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,we);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},It=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ke);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},St=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Ie);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),p.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},Ot=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Se);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},_t=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Oe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},Ht=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,_e);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),p.createElement("polyline",{points:"6 12 12 6 18 12"})))},Tt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,He);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),p.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},Mt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,Te);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),p.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),p.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),p.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},Wt={__proto__:null,ChevronIcon:Be,CloseIcon:Le,InstagramIcon:Fe,YoutubeIcon:Re,LinkedinIcon:Ve,ThreadsIcon:Ae,MinusIcon:De,InfoIcon:Pe,HeartIcon:Ge,StarIcon:Ne,SaveIcon:Ke,WarningIcon:Ue,BatteryIcon:Ze,BookmarkIcon:qe,CloudIcon:Ye,CopyIcon:Je,DustBinIcon:Qe,EditIcon:Xe,ErrorIcon:$e,DownloadIcon:et,MenuIcon:tt,ShareIcon:ot,RefreshIcon:at,PrintIcon:rt,PanelIcon:it,FilterIcon:lt,HomeIcon:nt,LocationIcon:st,LockIcon:ct,MicrophoneIcon:dt,MoonIcon:mt,NotificationIcon:ut,OpenEyeIcon:ht,ProfileIcon:gt,SettingsIcon:pt,SuccessIcon:bt,UnLikeIcon:vt,ClockIcon:ft,CameraIcon:jt,BluetoothIcon:Et,LikeIcon:xt,UnlockIcon:yt,WifiIcon:Ct,UploadIcon:zt,SearchIcon:wt,CloseEyeIcon:kt,ExternalLinkIcon:It,PlusIcon:St,TickIcon:Ot,BoldArrowIcon:_t,ArrowIcon:Ht,SpinnerIcon:Tt,CalendarIcon:Mt},Bt={default:{container:{backgroundColor:"white",border:"color.blackAlpha.800"},content:{color:"color.blackAlpha.800"}},info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},content:{color:"#60a5fa"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},content:{color:"#22c55e"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},content:{color:"#ef4444"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},content:{color:"#f97316"}}},Lt=e=>{var t,{icon:o,title:a,styles:r,description:i,variant:l="default"}=e;return p.createElement(O,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==r?void 0:r.container),p.createElement(b,{alignSelf:"center"},o||p.createElement(Ue,{size:24,color:null!=(t=null==r?void 0:r.icon.color)?t:Bt[l].content.color})),p.createElement(k,{gap:10},p.createElement(C,Object.assign({fontSize:"16px",color:Bt[l].content.color},null==r?void 0:r.title),a),p.createElement(C,Object.assign({fontSize:"14px",color:Bt[l].content.color},null==r?void 0:r.description),i)))},Ft=["ratio","children"],Rt=e=>{var{ratio:t=16/9,children:o}=e,a=v(e,Ft);return p.createElement(T,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},a),p.createElement(b,{position:"absolute",top:0,right:0,bottom:0,left:0},o))},Vt=["ratio","children"],At={xs:24,sm:32,md:48,lg:64,xl:80},Dt=e=>{var{src:t,size:o="md",fallback:a="IM",styles:i,imageError:l,setImageError:n}=e,s=At[o],c=Object.assign({objectFit:"cover"},(null==i?void 0:i.image)||{});return p.createElement(T,Object.assign({role:"avatar",width:s,height:s,borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:l?"black":"transparent",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.25)"},null==i?void 0:i.container),l?p.createElement(C,Object.assign({size:o},null==i?void 0:i.fallback),a):p.createElement(r.Image,{alt:"IM",src:t,style:c,width:s,height:s,onError:()=>n(!0)}))},Pt={xs:{minWidth:"20px",height:"20px",padding:"0 6px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px"},md:{minWidth:"28px",height:"28px",padding:"0 10px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px"}},Gt={sharp:0,rounded:4,pillShaped:24},Nt={"top-right":{top:0,right:0,position:"absolute"},"top-left":{top:0,left:0,position:"absolute"},"bottom-right":{bottom:0,right:0,position:"absolute"},"bottom-left":{bottom:0,left:0,position:"absolute"}},Kt=e=>{var{content:t,position:o,shape:a="pillShaped",colorScheme:r="theme.primary",variant:i="filled",size:l="md",styles:n}=e,s=Object.assign({width:"fit-content",borderRadius:Gt[a]},Pt[l],{filled:{backgroundColor:r,color:"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:r,color:r},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"transparent",color:r,textDecoration:"underline"},ghost:{backgroundColor:"transparent",color:r,borderWidth:1,borderStyle:"solid",borderColor:"transparent"}}[i],o?Nt[o]:{},null==n?void 0:n.container);return p.createElement(T,Object.assign({role:"badge"},s),p.createElement(C,Object.assign({role:"badgeText",size:l},null==n?void 0:n.text),t))},Ut={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},Zt=["children","to","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],qt=e=>{var{children:t,to:o="/",iconSize:a="sm",underline:i="default",isHovered:l=!1,isExternal:n=!1,styles:c={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=v(e,Zt),u=()=>{"hover"===i&&d(!0)};return p.createElement(s.Link,{to:o,target:n?"_blank":"_self"},p.createElement(r.Element,Object.assign({onMouseEnter:u,onMouseLeave:u,textDecoration:l||"underline"===i?"underline !important":"none"},c.text,m),p.createElement(O,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,n&&p.createElement(It,{size:Ut[a]}))))},Yt=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return p.createElement(qt,Object.assign({},t,e))},Jt={xs:{width:79,paddingTop:8,paddingBottom:8,paddingLeft:12,paddingRight:12,fontWeight:400,fontSize:11,lineHeight:14,letterSpacing:1.25},sm:{width:128,paddingTop:10,paddingBottom:10,paddingLeft:16,paddingRight:16,fontWeight:400,fontSize:12,lineHeight:16,letterSpacing:1.25},md:{width:144,paddingTop:12,paddingBottom:12,paddingLeft:18,paddingRight:18,fontSize:14,fontWeight:400,lineHeight:18,letterSpacing:1.25},lg:{width:178,paddingTop:14,paddingBottom:14,paddingLeft:22,paddingRight:22,fontWeight:400,fontSize:18,lineHeight:24,letterSpacing:1.25},xl:{width:220,paddingTop:16,paddingBottom:16,paddingLeft:26,paddingRight:26,fontWeight:400,fontSize:22,lineHeight:28,letterSpacing:1.25}},Qt={sharp:0,rounded:4,pillShaped:24},Xt={xs:{width:24,height:24,padding:12},sm:{width:24,height:24,padding:15},md:{width:36,height:36,padding:15},lg:{width:36,height:36,padding:18},xl:{width:36,height:36,padding:24}},$t={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},eo={fast:50,normal:100,slow:300},to=["size","speed","color"],oo=["size","speed","color"],ao=["size","speed","color"],ro=["size","children","textColor","loaderColor","type","speed","textPosition"],io=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,to),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:s+"px",height:s+"px",viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),p.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("g",{id:"SVGRepo_iconCarrier"},p.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},lo=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,oo),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("circle",{cx:"10",cy:"25",r:"4",fill:n}),p.createElement("circle",{cx:"25",cy:"25",r:"4",fill:n}),p.createElement("circle",{cx:"40",cy:"25",r:"4",fill:n}))},no=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,ao),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:n,strokeWidth:"5",strokeDasharray:"1,10"}))},so=e=>{var{size:t,children:o,textColor:a,loaderColor:r,type:i="default",speed:l="normal",textPosition:n="right"}=e,s=v(e,ro),c={size:t,speed:l,color:r},d={default:p.createElement(io,Object.assign({},c)),dotted:p.createElement(lo,Object.assign({},c)),quarter:p.createElement(no,Object.assign({},c))};return p.createElement(T,Object.assign({gap:10,flexDirection:"top"===n||"bottom"===n?"column":"row"},s),("left"===n||"top"===n)&&o&&p.createElement(b,{color:a},o),d[i],("right"===n||"bottom"===n)&&o&&p.createElement(b,{color:a},o))},co=e=>p.createElement(so,Object.assign({},e)),mo=["icon","shadow","children","ariaLabel","externalHref","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered"],uo=require("contrast"),ho=e=>{var t,{icon:o,shadow:a,children:i,ariaLabel:l,externalHref:n,isAuto:s,isFilled:c=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:u=!1,size:h="md",variant:g="filled",iconPosition:b="left",colorScheme:f="theme.primary",shape:j="rounded",onClick:E=(()=>{}),loaderProps:x={},loaderPosition:y="left",effect:C="default",isHovered:z,setIsHovered:w=(()=>{})}=e,k=v(e,mo),{getColor:I}=r.useTheme(),S=()=>w(!z),_=!(u||m),H={disabled:!_},T=_?f:"theme.disabled",M=z&&"hover"===C,W=z&&"reverse"===C,B="light"==uo(I(T)),L=Jt[h],F={filled:{backgroundColor:W?"transparent":T,color:W?B?"white":T:B?T:"white",borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent"},outline:{backgroundColor:W?T:"transparent",borderWidth:1,borderStyle:"solid",borderColor:W?T:f,color:W?"white":T},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent",color:T,textDecoration:W?"none":"underline"},ghost:{backgroundColor:W?T:"transparent",color:W?"white":T,borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent"}}[g],R={minWidth:s?"fit-content":c?"100%":L.width},V=d?Xt[h]:Jt[h],A=p.createElement(O,{gap:10},m&&"left"===y&&p.createElement(co,Object.assign({},x)),o&&"left"===b&&!m&&o,i,o&&"right"===b&&!m&&o,m&&"right"===y&&p.createElement(co,Object.assign({},x)));return p.createElement(r.Element,Object.assign({gap:8,as:"button",role:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":l,backgroundColor:T,borderRadius:Qt[j],onClick:null!=(t=k.onClick)?t:E,onMouseEnter:S,onMouseLeave:S,cursor:_?"pointer":"default",filter:M?"brightness(0.85)":"brightness(1)"},M&&!k.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},H,L,F,R,k.padding||k.paddingHorizontal||k.paddingVertical||k.paddingLeft||k.paddingRight||k.paddingTop||k.paddingBottom?{}:V,a,k),"link"===g&&n?p.createElement(Yt,{to:n,textDecorationColor:f,colorScheme:f,isExternal:!0},A):A)},go=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=p.useState(!1);return{isHovered:e,setIsHovered:t}})(),a=()=>o(!t);return p.createElement(ho,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:a,onMouseLeave:a},e))},po=["src","color"],bo=["path"],vo=e=>{var{placeholder:t,isMulti:o,options:a}=e,r=t?o?[]:"":Array.isArray(a)&&a.length>0?a[0].value:"",[i,l]=p.useState(!0),[n,s]=p.useState(!1),[c,d]=p.useState(!1),[m,u]=p.useState(r),[h,g]=p.useState(0);return{value:m,setValue:u,hide:i,setHide:l,isHovered:n,setIsHovered:s,isFocused:c,setIsFocused:d,highlightedIndex:h,setHighlightedIndex:g}},fo=["children","styles"],jo=e=>{var{children:t,styles:o={helperText:{}}}=e,a=v(e,fo);return p.createElement(C,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},o.helperText,a),t)},Eo=["children","helperText","error","styles"],xo=e=>{var{children:t,helperText:o,error:a=!1,styles:r}=e,i=v(e,Eo);return p.createElement(k,Object.assign({gap:5,position:"relative"},i),t,!a&&o&&p.createElement(jo,Object.assign({},r),o),a&&p.createElement(C,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},a))},yo={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},Co={xs:6,sm:8,md:10,lg:12,xl:14},zo={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},wo={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:36},ko={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:36},Io=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],So=e=>{var{shadow:t,children:o,size:a="md",shape:i="default",variant:l="default",error:n=!1,isWithLabel:s=!1,isFocused:c=!1,isHovered:d=!1,isDisabled:m=!1,isReadOnly:u=!1,colorScheme:h="theme.primary",styles:g={pickerBox:{}}}=e,b=v(e,Io);return p.createElement(O,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:n?"error":!d&&!c||m?"midgray":h,backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:r.Typography.fontSizes[a],cursor:m?"not-allowed":u?"auto":"pointer"},s?wo:ko,t,yo[i],zo[l],g.box,b),o)},Oo=["children"],_o=e=>{var{children:t}=e,o=v(e,Oo);return p.createElement(T,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},Ho={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},To=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],Mo=e=>{var{children:t,heading:o,isItalic:a=!1,isUnderlined:i=!1,isStriked:l=!1,weight:n="normal",size:s="sm"}=e,c=v(e,To);return p.createElement(r.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:a?"italic":"normal",fontWeight:r.Typography.fontWeights[n],textDecoration:l?"line-through":i?"underline":"none"},o?Ho[o]:{},c),t)},Wo=e=>p.createElement(Mo,Object.assign({},e)),Bo=["children","size","error","color","styles","helperText"],Lo=e=>{var{children:t,size:o="md",error:a=!1,color:r="theme.primary",styles:i={label:{}}}=e,l=v(e,Bo);return p.createElement(Wo,Object.assign({top:6,zIndex:1e3,lineHeight:Co[o],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:a?"error":r,fontSize:Co[o]},i.label,l),t)},Fo=["children"],Ro=e=>{var{children:t}=e,o=v(e,Fo);return p.createElement(k,Object.assign({width:"100%"},o),t)},Vo={xs:8,sm:10,md:12,lg:14,xl:16},Ao=["isHovered","setIsHovered","option","size","callback","style"],Do=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],Po=["option","size","removeOption"],Go=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","colorScheme","shape","variant","styles","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],No=e=>{var{isHovered:t,setIsHovered:o,option:a,size:i="md",callback:l=(()=>{}),style:n}=e,s=v(e,Ao),c=()=>o(!t);return p.createElement(r.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:c,onMouseLeave:c,onClick:()=>(e=>l(e))(a.value),backgroundColor:t?"trueGray.100":"transparent"},s),p.createElement(C,Object.assign({fontSize:r.Typography.fontSizes[i]},n),a.label))},Ko=e=>{var t,{size:o="md",styles:a={field:{},text:{}},value:i,isDisabled:l,placeholder:n,removeOption:s=(()=>{}),options:c}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:r.Typography.fontSizes[o],backgroundColor:"transparent",color:l?"color.trueGray.600":"color.blueGray.700",cursor:l?"not-allowed":"auto"},a.field,a.text),m=c.length>0&&c.find(e=>e.value===i);return p.createElement(C,Object.assign({},d),(""===i||Array.isArray(i)&&0===i.length)&&n?n:p.createElement(p.Fragment,null,"string"==typeof i?null!=(t=m&&m.label)?t:i:Array.isArray(i)&&i.length>0?p.createElement(O,{gap:6},i.map(e=>p.createElement(qo,{key:e,option:e,removeOption:s}))):p.createElement("span",null,i)))},Uo=e=>{var{id:t,name:o,value:a,onChange:i,isMulti:l=!1,isDisabled:n=!1,isReadOnly:s=!1,options:c=[]}=e,d=v(e,Do);return p.createElement(r.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:a,disabled:n,readOnly:s,onChange:e=>{i&&i(e)},multiple:l},d),c.length>0&&c.map(e=>p.createElement("option",{key:e.value,value:e.value},e.label)))},Zo=e=>{var{size:t,styles:o={dropDown:{}},options:a,callback:i=(()=>{}),highlightedIndex:l,setHighlightedIndex:n}=e,s=(()=>{var[e,t]=p.useState(!1);return{isHovered:e,setIsHovered:t}})(),c=e=>i(e),d=void 0!==typeof document?{boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"}:{elevation:2,shadowColor:"rgba(0, 0, 0, 0.07)",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:1};return p.createElement(r.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",zIndex:1e5,overflowY:"scroll",marginTop:5,marginLeft:0,marginRight:0,marginBottom:0,padding:0,borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",maxHeight:"200px",style:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}},d,o.dropDown),a.length>0&&a.map((e,a)=>p.createElement(No,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:c,backgroundColor:a===l?"color.gray.100":"transparent",onMouseEnter:()=>n(a)},s))))},qo=e=>{var{option:t,size:o="md",removeOption:a=(()=>{})}=e,i=v(e,Po);return p.createElement(O,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:r.Typography.fontSizes[o],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},i),p.createElement(C,{size:o},t),p.createElement(Le,{role:"close-button",color:"inherit",size:Vo[o],onClick:()=>a(t)}))},Yo=e=>{var{id:t,name:a,label:r,value:i,placeholder:l,helperText:n,hide:s=!1,error:c=!1,isMulti:d=!1,isFocused:m=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,options:b=[],shadow:f={},size:j="md",colorScheme:E="theme.primary",shape:x="default",variant:y="default",styles:C={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:z=(()=>{}),setHide:w=(()=>{}),setValue:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:S=(()=>{}),setHighlightedIndex:O,highlightedIndex:_}=e,H=v(e,Go),T=!(!m||!r),M=()=>I(!u),W=o.useCallback(e=>{w(!s),d&&Array.isArray(i)?!i.includes(e)&&k([...i,e]):k(e),z&&z(e)},[s,d,i]);return p.createElement(xo,{role:"SelectBox",helperText:n,error:c,styles:C,onClick:h||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),w(!s),S(!m)}},p.createElement(So,{label:r,size:j,error:c,shape:x,styles:C,shadow:f,variant:y,value:i,color:E,isHovered:u,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:T,colorScheme:E,onMouseEnter:M,onMouseLeave:M},p.createElement(Ro,null,T&&p.createElement(Lo,Object.assign({htmlFor:t,color:E,error:c},C),r),p.createElement(Uo,Object.assign({id:t,name:a,options:b,onChange:z,value:i,isDisabled:h,isReadOnly:g,isMulti:d,onFocus:()=>S(!0)},H)),p.createElement(Ko,{options:b,size:j,styles:C,value:i,isDisabled:h,placeholder:l,removeOption:e=>{if(Array.isArray(i)&&i.includes(e)){var t=i.filter(t=>t!==e);k(0===t.length?[]:t)}}})),p.createElement(_o,null,!g&&!h&&p.createElement(p.Fragment,null,p.createElement(Be,s?{color:"inherit",size:Vo[j],style:C.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:Vo[j],style:C.icon})))),!s&&p.createElement(Zo,{size:j,styles:C,options:b,callback:W,highlightedIndex:_,setHighlightedIndex:O}))},Jo=e=>{var{isDisabled:t,isChecked:o}=e,[a,r]=p.useState(!1),[i,l]=p.useState(t?!t:o);return{isHovered:a,setIsHovered:r,on:i,setOn:l}},Qo={xs:{height:6,width:6},sm:{height:9,width:9},md:{height:12,width:12},lg:{height:15,width:15},xl:{height:18,width:18},"2xl":{height:21,width:21},"3xl":{height:24,width:24},"4xl":{height:27,width:27},"5xl":{height:30,width:30},"6xl":{height:33,width:33}},Xo={xs:{height:16,width:28},sm:{height:20,width:36},md:{height:24,width:44},lg:{height:28,width:52},xl:{height:32,width:60},"2xl":{height:36,width:68},"3xl":{height:40,width:76},"4xl":{height:44,width:84},"5xl":{height:48,width:92},"6xl":{height:52,width:100}},$o={xs:{paddingVertical:0,paddingHorizontal:2},sm:{paddingVertical:0,paddingHorizontal:3},md:{paddingVertical:0,paddingHorizontal:5},lg:{paddingVertical:0,paddingHorizontal:6},xl:{paddingVertical:0,paddingHorizontal:8},"2xl":{paddingVertical:0,paddingHorizontal:9},"3xl":{paddingVertical:0,paddingHorizontal:10},"4xl":{paddingVertical:0,paddingHorizontal:13},"5xl":{paddingVertical:0,paddingHorizontal:15},"6xl":{paddingVertical:0,paddingHorizontal:16}},ea=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],ta=e=>p.createElement(r.Input,Object.assign({type:"checkbox"},e)),oa=e=>{var{id:t,name:o,label:a,inActiveChild:r,activeChild:i,labelPosition:l="right",shadow:n={},size:s="sm",colorScheme:c="theme.primary",value:d=!1,isHovered:m=!1,isDisabled:u=!1,isReadOnly:h=!1,on:g,setOn:f,onChange:j,setValue:E=(()=>{}),setIsHovered:x=(()=>{}),styles:y={slider:{},circle:{},label:{}}}=e,C=v(e,ea),z=()=>x(!m),w={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:u?"not-allowed":h?"default":"pointer"},y.label)};return p.createElement(Wo,Object.assign({htmlFor:t,onMouseEnter:z,onMouseLeave:z},w.container,C),p.createElement(ta,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:d,onChange:e=>{h||(E(!d),f(!g),j&&j(e.target.checked))},disabled:u,readOnly:h},C)),"left"===l&&a&&p.createElement(b,null,a),p.createElement(b,Object.assign({display:"flex",cursor:"pointer",alignItems:"center",borderRadius:24,marginBottom:5,filter:m&&d?"brightness(0.9)":"brightness(1)",transition:"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:u?"disabled":d?c:"lightgray",justifyContent:i?"space-between":d?"flex-end":"flex-start"},n,$o[s],Xo[s],y.slider),i&&d&&p.createElement(b,null,i),p.createElement(b,Object.assign({borderRadius:"50%",backgroundColor:"white"},Qo[s],y.circle)),r&&!d&&p.createElement(b,null,r)),"right"===l&&a&&p.createElement(b,null,a))},aa=e=>{var{label:t,placeholder:a,value:r}=e,[i,l]=o.useState(null!=t?t:a),[n,s]=o.useState(!1),[c,d]=o.useState(r||""),[m,u]=o.useState(!1);return o.useMemo(()=>{l(m&&!c?null!=a?a:"":null!=t?t:a)},[c,m,t,a]),{hint:i,setHint:l,isHovered:n,setIsHovered:s,value:c,setValue:d,isFocused:m,setIsFocused:u}},ra=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","colorScheme","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","styles"],ia=e=>{var{id:t,name:o,hint:a,error:i,value:l,label:n,shadow:s,helperText:c,size:d="sm",shape:m="default",variant:u="default",colorScheme:h="theme.primary",isHovered:g=!1,isFocused:b=!1,isEditable:f=!1,isReadOnly:j=!1,isDisabled:E=!1,isAutoFocus:x=!1,isMultiline:y=!1,maxRows:C=3,maxCols:z=30,onBlur:w=(()=>{}),onChange:k,onFocus:I,onChangeText:S,setHint:O=(()=>{}),setValue:_=(()=>{}),setIsFocused:H=(()=>{}),setIsHovered:T=(()=>{}),styles:M={box:{},text:{},label:{},helperText:{},field:{}}}=e,W=v(e,ra),B=!(!b||!n),L=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[d],backgroundColor:"transparent",color:E?"color.trueGray.600":"color.blueGray.700",cursor:E?"not-allowed":"auto"},M.field),F=()=>T(!g),R=e=>{"string"==typeof e?(_(e),S&&S(e),k&&k(e)):(_(e.target.value),S&&S(e.target.value),k&&k(e.target.value))};return p.createElement(xo,{helperText:c,error:i,styles:M},p.createElement(So,{label:n,size:d,error:i,shape:m,styles:M,shadow:s,variant:u,value:l,color:h,isHovered:g,isDisabled:E,isReadOnly:j,isFocused:b,isWithLabel:B,colorScheme:h,onMouseEnter:F,onMouseLeave:F},p.createElement(Ro,null,B&&p.createElement(Lo,Object.assign({htmlFor:t,color:h,error:i},M),n),p.createElement(r.Element,Object.assign({as:"textarea",id:t,name:o,rows:C,cols:z,value:l,readOnly:j,disabled:E,autoFocus:x,editable:f,placeholder:a,onBlur:e=>{w(e),H(!1)},onFocus:()=>{H(!0),I&&I()},multiline:y},L,W,{onChange:R,onChangeText:R})))))},la=e=>{var{label:t,placeholder:a,value:r}=e,[i,l]=o.useState(null!=t?t:a),[n,s]=o.useState(!1),[c,d]=o.useState(!1),[m,u]=o.useState(r);return o.useMemo(()=>{l(n&&!m?null!=a?a:"":null!=t?t:a)},[m,n,t,a]),{hint:i,setHint:l,isFocused:n,setIsFocused:s,isHovered:c,setIsHovered:d,setValue:u,value:m}},na=["id","name","label","hint","value","onChange","leftChild","rightChild","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur"],sa=e=>p.createElement(r.Input,Object.assign({type:"text"},e)),ca=e=>{var{id:t,name:o,label:a,hint:i,value:l,onChange:n,leftChild:s,rightChild:c,helperText:d,onChangeText:m,shadow:u={},styles:h={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:b="default",variant:f="default",colorScheme:j="theme.primary",error:E=!1,isFocused:x=!1,isHovered:y=!1,isDisabled:C=!1,isReadOnly:z=!1,isClearable:w=!0,isAutoFocus:k=!1,setHint:I=(()=>{}),setIsFocused:S=(()=>{}),setIsHovered:O=(()=>{}),setValue:_=(()=>{}),onClick:H=(()=>{}),onFocus:T,onBlur:M=(()=>{})}=e,W=v(e,na),{getColor:B}=r.useTheme(),L=B("color.blueGray.700"),F=!(!x||!a),R=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[g],lineHeight:r.Typography.fontSizes[g],backgroundColor:"transparent",color:C?"color.trueGray.600":"color.blueGray.700",cursor:C?"not-allowed":"auto"},h.field),V=()=>O(!y);return p.createElement(xo,{helperText:d,error:E,styles:h},p.createElement(So,{label:a,size:g,error:E,shape:b,styles:h,shadow:u,variant:f,value:l,color:j,isHovered:y,isDisabled:C,isReadOnly:z,isFocused:x,isWithLabel:F,colorScheme:j,onMouseEnter:V,onMouseLeave:V},s,p.createElement(Ro,null,F&&p.createElement(Lo,Object.assign({htmlFor:t,color:j,error:E},h),a),p.createElement(sa,Object.assign({id:t,name:o,readOnly:z,disabled:C,autoFocus:k,placeholder:i,onFocus:()=>{S(!0),T&&T()},onBlur:e=>{M&&M(e),S(!1)},autoComplete:"off"},R,W,{onChange:e=>{"string"==typeof e?(_(e),m&&m(e),n&&n(e)):(_(e.target.value),m&&m(e.target.value),n&&n(e.target.value))},value:l}))),(c||w&&l)&&p.createElement(_o,null,w&&l&&!z&&!C&&p.createElement(Le,{size:r.Typography.fontSizes[g],color:L,onClick:()=>{_(""),n&&(M({target:{name:o}}),m&&m(""),n&&n("")),"undefined"==typeof document&&m&&m("")}}),c&&p.createElement(p.Fragment,null,c))))},da=e=>{var{defaultIsSelected:t=!1}=e,[o,a]=p.useState(!1),[r,i]=p.useState(t);return{isHovered:o,setIsHovered:a,isSelected:r,setIsSelected:i}},ma={xs:{height:8,width:8},sm:{height:12,width:12},md:{height:18,width:18},lg:{height:24,width:24},xl:{height:30,width:30},"2xl":{height:36,width:36},"3xl":{height:42,width:42},"4xl":{height:48,width:48},"5xl":{height:54,width:54},"6xl":{height:60,width:60}},ua={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},ha=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],ga=e=>{var{id:t,icon:o,label:a,isChecked:i,onChange:l,onValueChange:n,shadow:s={},labelPosition:c="right",size:d="md",colorScheme:m="theme.primary",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:b=!1,isReadOnly:f=!1,isIndeterminate:j=!1,defaultIsSelected:E=!1,setIsSelected:x=(()=>{}),setIsHovered:y=(()=>{}),styles:z={checkbox:{},label:{}},infoText:w}=e,I=v(e,ha),S=()=>y(!g),_={container:Object.assign({gap:10,display:"flex",alignItems:"center",height:"fit-content",flexDirection:"column",width:"fit-content",color:u?"theme.error":b?"theme.disabled":"color.blueGray.700",cursor:b?"not-allowed":f?"default":"pointer"},z.label),checkbox:Object.assign({},b?{backgroundColor:"theme.disabled"}:(i||h)&&!j||j?{backgroundColor:m}:{borderWidth:2,borderColor:u?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},ma[d],s,z.checkbox)};return p.createElement(Wo,Object.assign({htmlFor:t,as:"div",onClick:()=>{f||b||(x&&x(!h),l&&l(!i),n&&n(!i))},onMouseEnter:S,onMouseLeave:S,size:r.Typography.fontSizes[d]},_.container,I),p.createElement(k,{gap:8},p.createElement(O,{gap:10,alignItems:"center"},"left"===c&&a&&p.createElement(C,Object.assign({size:d},null==z?void 0:z.label),a),p.createElement(T,Object.assign({},_.checkbox),j?p.createElement(De,{size:ua[d],color:"white"}):(i||h)&&(null!=o?o:p.createElement(Ot,{size:ua[d],color:"white"}))),"right"===c&&a&&p.createElement(C,Object.assign({size:d},null==z?void 0:z.label),a)),w&&p.createElement(C,Object.assign({marginLeft:"left"===c?0:27,color:"color.gray.400",size:"sm"},null==z?void 0:z.infoText),w)),u&&p.createElement(C,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},u))},pa=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],ba=e=>{var{placeholder:t}=e,[o,a]=p.useState(pa),[r,i]=p.useState(null!=t?t:pa[0].name),[l,n]=p.useState(!0),[s,c]=p.useState(!1),[d,m]=p.useState(!1);return{hide:l,setHide:n,newOptions:o,setNewOptions:a,isHovered:d,setIsHovered:m,isFocused:s,setIsFocused:c,value:r,setValue:i}},va={xs:8,sm:10,md:12,lg:14,xl:16},fa=["size"],ja=["size"],Ea=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","colorScheme","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","styles"],xa=e=>{var t=v(e,fa);return p.createElement(r.Element,Object.assign({as:"ul"},t))},ya=e=>p.createElement(r.Input,Object.assign({type:"country"},e)),Ca=e=>{var t=v(e,ja);return p.createElement(r.Element,Object.assign({as:"li"},t))},za=e=>{var{option:t,size:a="md",callback:i=(()=>{}),styles:l={text:{}}}=e,[n,s]=o.useState(!1),c=()=>s(!n);return p.createElement(Ca,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:c,onMouseLeave:c,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),i(t)},fontSize:r.Typography.fontSizes[a],backgroundColor:n?"trueGray.100":"transparent"},l.text),t)},wa=e=>{var{size:t,styles:o={dropDown:{}},options:a,callback:r=(()=>{})}=e,i=e=>r(e);return p.createElement(xa,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},o.dropDown),a.map(e=>p.createElement(za,Object.assign({key:e.code,size:t,option:e.name,callback:i},o.text))))},ka=e=>{var{id:t,name:o,label:a,value:i,placeholder:l,helperText:n,hide:s=!1,error:c=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:u=!1,isDisabled:h=!1,isReadOnly:g=!1,shadow:b={},newOptions:f=[],size:j="md",variant:E="default",shape:x="default",colorScheme:y="theme.primary",onChange:C,onBlur:z=(()=>{}),setHide:w=(()=>{}),setNewOptions:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:S=(()=>{}),setValue:O=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}}}=e,H=v(e,Ea),{getColor:T}=r.useTheme(),M=T("color.blueGray.700"),W=()=>I(!d),B=!(!m||!a),L=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[j],backgroundColor:"transparent",color:h?"color.trueGray.600":"color.blueGray.700",cursor:h?"not-allowed":"auto"},_.field);return p.createElement(xo,{helperText:n,error:c,styles:_,onClick:()=>{h||g||w(!s)}},p.createElement(So,{label:a,size:j,error:c,shape:x,styles:_,shadow:b,variant:E,value:i,color:y,isHovered:d,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:B,colorScheme:y,onMouseEnter:W,onMouseLeave:W},p.createElement(Ro,null,B&&p.createElement(Lo,Object.assign({htmlFor:t,color:y,error:c},_),a),p.createElement(ya,Object.assign({id:t,name:o,placeholder:l,readOnly:g,disabled:h,autoFocus:u,onBlur:e=>{z(e),S(!1)},onFocus:()=>S(!0)},L,H,{value:i,onChange:e=>{var t=e.target.value,o=pa.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));s&&w(!1),k(o),C&&C(t)}}))),p.createElement(_o,null,p.createElement(Be,s?{orientation:"down",size:va[j],color:M,style:_.icon}:{orientation:"up",size:va[j],color:M,style:_.icon}))),!s&&p.createElement(wa,{size:j,styles:_,options:f,callback:e=>{w(!s),O(e),C&&C(e)}}))},Ia=()=>{var[e,t]=p.useState(!1),[o,a]=p.useState(!1),[r,i]=p.useState(u(new Date,"yyyy-MM-dd"));return{date:r,setDate:i,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:a}},Sa=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],Oa=e=>p.createElement(r.Input,Object.assign({type:"date"},e)),_a=e=>{var{id:t,name:o,label:a,date:i,helperText:l,shadow:n={},size:s="md",variant:c="default",shape:d="default",colorScheme:m="theme.primary",styles:u={box:{},label:{},helperText:{},text:{},field:{}},error:h=!1,isHovered:g=!1,isFocused:b=!1,isDisabled:f=!1,isReadOnly:j=!1,setDate:E=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:y=(()=>{}),onChange:C,onChangeText:z}=e,w=v(e,Sa),k=!(!b||!a),I=()=>y(!g),S=e=>{"string"==typeof e?(E(e),z&&z(e)):(E(e.target.value),C&&C(e.target.value))},O=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:r.Typography.fontSizes[s],backgroundColor:"transparent",color:f?"color.trueGray.600":"color.blueGray.700",cursor:f?"not-allowed":j?"auto":"pointer"},u.field);return p.createElement(xo,{helperText:l,error:h,styles:u},p.createElement(So,{label:a,size:s,error:h,shape:d,styles:u,shadow:n,variant:c,value:i,color:m,isHovered:g,isDisabled:f,isReadOnly:j,isFocused:b,isWithLabel:k,colorScheme:m,onMouseEnter:I,onMouseLeave:I},p.createElement(Ro,null,k&&p.createElement(Lo,Object.assign({htmlFor:t,color:m,error:h},u),a),p.createElement(Oa,Object.assign({id:t,name:o,onFocus:()=>x(!0),disabled:f,readOnly:j},O,w,z&&{onChangeText:S},{onChange:S})))))},Ha=e=>{var t=la(e),[a,r]=o.useState(!1);return Object.assign({isVisible:a,setIsVisible:r},e,t)},Ta=["visibleIcon","hiddenIcon"],Ma=["isVisible","setIsVisible"],Wa=(e,t,a)=>{var[r,i]=o.useState(e),[l,n]=o.useState(t?{value:t,label:t}:e[0]),[s,c]=o.useState(0),[d,m]=o.useState(null!=a?a:""),[u,h]=o.useState(!1);return{filteredItems:r,setFilteredItems:i,selectedItem:l,setSelectedItem:n,highlightedIndex:s,setHighlightedIndex:c,searchQuery:d,setSearchQuery:m,isDropdownVisible:u,setIsDropdownVisible:h}},Ba=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],La=e=>{var{placeholder:t,items:a,showTick:r=!0,onSelect:i,searchEnabled:l=!0,left:n,right:s,label:c,filteredItems:d,setSelectedItem:m,selectedItem:u,highlightedIndex:h,setHighlightedIndex:g,searchQuery:f,setSearchQuery:j,setFilteredItems:E,styles:x,isDropdownVisible:y,setIsDropdownVisible:z}=e,w=v(e,Ba);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&z(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),p.createElement(O,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},w),c&&p.createElement(C,{styles:null==x?void 0:x.label,htmlFor:w.id},c),p.createElement(b,{position:"relative"},p.createElement(O,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==x?void 0:x.container),p.createElement(O,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>z(!y)},null==x?void 0:x.labelContainer),n,p.createElement(C,Object.assign({weight:"medium",flexGrow:1},null==x?void 0:x.label),u.label)),s,y&&p.createElement(b,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==x?void 0:x.dropdown),l&&p.createElement(ca,{id:w.id,name:w.name,width:"100%",type:"search",value:f,onChange:e=>(e=>{if(j(e),""===e)E(a);else{var t=a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));E(t)}g(0)})(e),hint:t,isClearable:!1,leftChild:p.createElement(wt,{size:12}),styles:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:d.length>0?"1px solid #ccc":"1px solid transparent"},null==x?void 0:x.text)}}),d.length>0&&p.createElement(b,{margin:0,padding:4},d.map((e,t)=>p.createElement(O,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===h?"color.gray.100":"transparent",onMouseEnter:()=>g(t),onClick:()=>(e=>{m(e),null==i||i(e),z(!1)})(e)},null==x?void 0:x.item),p.createElement(C,null,e.label),p.createElement(p.Fragment,null,e.icon&&e.icon,e.value===u.value&&r&&!e.icon&&p.createElement(Ot,{size:20})))))))))},Fa=["id","name","items","placeholder","searchPlaceholder"],Ra=["children","autoFocus","initFocus","onChange"],Va=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),Aa=["name","type"],Da=e=>{var{name:t,type:a}=e,r=v(e,Aa),i=o.useContext(Va),{touched:l,errors:n,submitCount:s,values:c,setFieldTouched:d,setFieldValue:m}=h.useFormikContext(),u=e=>{"Enter"===e.key&&(e.preventDefault(),i.focusNextInput(t))},g=["text","password","email","digits"].includes(a),p=h.getIn(l,t)||s>0?h.getIn(n,t):void 0,b=h.getIn(c,t);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(a),r,{value:b,error:p,onBlur:()=>{d(t,!0)},onKeyPress:u},g?{onChangeText:e=>{m(t,e),null==r.onChangeText||r.onChangeText(e)}}:{onChange:e=>{m(t,e),null==r.onChange||r.onChange(e)}},i.active?{handleKeyPress:u}:{})},Pa=["value"],Ga=["value"],Na=["visibleIcon","hiddenIcon"],Ka=["isVisible","setIsVisible"],Ua=["items","placeholder","searchPlaceholder"],Za=g.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,a,r,i,l,n,s,c){return void 0===o&&(o=""),void 0===a&&(a=""),e({visible:!0,variant:t,title:o,subtitle:a,isClosable:r,styles:i,action:l,actionText:n,showIcon:s,timeout:c})},hide:()=>e({visible:!1})})),qa=()=>{Za.getState().hide()},Ya={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"CheckCircleIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},Ja=e=>{var t,a,{variant:r,hide:i,title:l,subtitle:n,theme:s,action:c,actionText:d,showIcon:m=!1,isClosable:u=!1,timeout:h=3e3,styles:g}=e;o.useEffect(()=>{if(h&&!u){var e=setTimeout(()=>{i()},h);return()=>{clearTimeout(e)}}},[]);var v=null!=s?s:Ya,f=!(!c||!d),j={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+v[r].container.border},E={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[r],x={info:p.createElement(Pe,Object.assign({size:24,color:E},null==g?void 0:g.icon)),success:p.createElement(bt,Object.assign({size:24,color:E},null==g?void 0:g.icon)),warning:p.createElement(Ue,Object.assign({size:24,color:E},null==g?void 0:g.icon)),error:p.createElement($e,Object.assign({size:24,color:E},null==g?void 0:g.icon))}[r],y=m&&x;return p.createElement(O,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+v[r].content.color,backgroundColor:""+v[r].container.backgroundColor,onClick:u?()=>{}:()=>{i()}},j,null==g?void 0:g.container),y&&x,p.createElement(k,{gap:8,width:"100%"},p.createElement(C,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),l),n&&p.createElement(C,Object.assign({size:"sm"},null==g?void 0:g.subtitle),n)),f&&p.createElement(C,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},j,null==g?void 0:g.actionText),d),u&&p.createElement(b,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{i()}},null==g||null==(t=g.closingIcon)?void 0:t.container),p.createElement(Le,Object.assign({size:18,color:E},null==g||null==(a=g.closingIcon)?void 0:a.icon))))},Qa=g.create(e=>({modal:!1,modalProps:{isVisible:!1},overlayProps:{},show:function(t,o,a){void 0===o&&(o={}),void 0===a&&(a={}),t&&(o.isVisible=!0),e(e=>Object.assign({},e,{modal:t,modalProps:o,overlayProps:a}))},hide:()=>{e(e=>Object.assign({},e,{modalProps:Object.assign({},e.modalProps,{isVisible:!1})}))}})),Xa=()=>{Qa.getState().hide()},$a={sharp:{borderRadius:0},rounded:{borderRadius:4}},er={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},tr={xs:12,sm:16,md:20,lg:24,xl:28},or=["children","blur","isOpen","isClosePrevented","onClose","position"],ar=["children","shadow","isFullScreen","shape"],rr=["children","buttonColor","iconSize","buttonPosition"],ir=["children"],lr=["children"],nr=e=>{var{children:t,blur:o,isOpen:a=!1,isClosePrevented:r=!1,onClose:i=(()=>{}),position:l="center"}=e,n=v(e,or),s=()=>{r||i()};return p.createElement(T,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:s,visibility:a?"visible":"hidden"},p.createElement(b,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,onClick:s},er[l],n),t))},sr=e=>{var{children:t}=e;return p.createElement(p.Fragment,null,t)};sr.Overlay=nr,sr.Container=e=>{var{children:t,shadow:o,isFullScreen:a=!1,shape:r="rounded"}=e,i=v(e,ar),l=void 0!==typeof document?{boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.3)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.3)",shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8};return p.createElement(k,Object.assign({cursor:"default",backgroundColor:"white",width:a?"100%":600,height:a?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},o||l,$a[r],i),t)},sr.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:a="md",buttonPosition:r="right"}=e,i=v(e,rr),l=p.createElement(go,{onClick:i.onClose?i.onClose:Xa,colorScheme:"transparent",icon:p.createElement(Le,{size:tr[a],color:o}),padding:0,margin:0,filter:"none",width:0});return p.createElement(O,Object.assign({justifyContent:"none"===r?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},i),"left"===r&&l,t,"right"===r&&l)},sr.Body=e=>{var{children:t}=e,o=v(e,ir);return p.createElement(b,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},o),t)},sr.Footer=e=>{var{children:t}=e,o=v(e,lr);return p.createElement(O,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},o),t)},sr.Layout=e=>{var{modals:t}=e,a=Qa(e=>{var{modal:t,modalProps:o,overlayProps:a}=e;return{modal:t,modalProps:o,overlayProps:a}});if("boolean"==typeof a.modal)return null;var r=t[a.modal];return r?p.createElement(o.Fragment,null,p.createElement(nr,Object.assign({isOpen:a.modalProps.isVisible,onClose:Xa,blur:10},a.overlayProps),void 0!==r&&p.createElement(r,Object.assign({},a.modalProps)))):(console.error(a.modal+" modal doesn't exist"),null)};var cr={},dr=p.createContext({styles:cr,onRowClick:()=>{}}),mr=e=>{var{children:t,styles:o=cr,onRowClick:a}=e;return p.createElement(dr.Provider,{value:{styles:o,onRowClick:a}},t)},ur=()=>p.useContext(dr),hr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"table",borderCollapse:"collapse"},t.table,e))},gr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},t.thead,e))},pr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},t.th,e))},br=e=>{var{styles:t,onRowClick:o}=ur();return p.createElement(r.Element,Object.assign({as:"tr"},t.tr,{onClick:o},e))},vr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},t.td,e))},fr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"tbody"},t.tbody,e))},jr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"tfoot"},t.tfoot,e))},Er=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},t.caption,e))},xr=e=>{var{children:t,styles:o,onClick:a}=e;return p.createElement(mr,{styles:o,onRowClick:a},t)};xr.Head=gr,xr.HeadCell=pr,xr.Body=fr,xr.Row=br,xr.Cell=vr,xr.Footer=jr,xr.Caption=Er,xr.Container=hr,xr.Template=e=>{var{data:t,columns:o,footer:a,caption:r}=e;return p.createElement(hr,{role:"Table"},r&&p.createElement(Er,null,r),p.createElement(gr,null,p.createElement(br,null,o.map(e=>p.createElement(pr,{key:e.field},e.title)))),p.createElement(fr,null,t.map((e,t)=>p.createElement(br,{key:t},o.map((t,o)=>p.createElement(vr,{key:t.field,isFirstColumn:0===o},e[t.field]))))),a&&p.createElement(jr,null,p.createElement(br,null,a.map((e,t)=>p.createElement(vr,Object.assign({key:t},e.props),e.value)))))};var yr=e=>{var{tabs:t,styles:o,isActive:a,setIsActive:r,tabsState:i,setTabsState:l}=e;return p.createElement(k,Object.assign({width:"100w",height:"100%"},null==o?void 0:o.container),p.createElement(O,Object.assign({marginBottom:20},null==o?void 0:o.headerTabs),t.map((e,i)=>p.createElement(go,Object.assign({key:e.title,onClick:()=>{(e=>{var o=[...t],a=o.splice(e,1);o.unshift(a[0]),l(o),r(o[0])})(i)},variant:a.value===e.value?"filled":"ghost",shape:"pillShaped",cursor:"pointer",isAuto:!0},null==o?void 0:o.tab,a.value===e.value?null==o?void 0:o.activeTab:{}),p.createElement(C,Object.assign({},null==o?void 0:o.title,a.value===e.value?null==o?void 0:o.activeText:{}),e.title)))),p.createElement(b,Object.assign({width:"100%",height:"100%"},null==o?void 0:o.content),i.map((e,t)=>(e=>e.value===i[0].value)(e)&&p.createElement(b,{key:t},e.content))))},Cr=p.memo(e=>{var{tabs:t,styles:a}=e,{isActive:r,setIsActive:i,tabsState:l,setTabsState:n}=(e=>{var[t,a]=o.useState(e[0]),[r,i]=o.useState(e);return{isActive:t,setIsActive:a,tabsState:r,setTabsState:i}})(t);return p.createElement(yr,{tabs:t,styles:a,isActive:r,tabsState:l,setTabsState:n,setIsActive:i})}),zr={sharp:0,rounded:4,pillShaped:24},wr=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],kr=e=>{var{children:t,shape:o="rounded",colorScheme:a="color.trueGray.400",variant:r="ghost",isHovered:i,setIsHovered:l,isDisabled:n,isToggle:s,setIsToggled:c,onToggle:d}=e,m=v(e,wr),u=n?"theme.disabled":a,h=!(!s&&!i);return p.createElement(T,Object.assign({role:"Toggle",padding:"pillShaped"===o?"10px 12px":"8px",width:"fit-content",color:h?"color.white":u,backgroundColor:h?u:"transparent",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),cursor:n?"not-allowed":"pointer",borderRadius:zr[o],onClick:()=>{n||c(e=>{var t=!e;return d&&d(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:a},link:{borderWidth:1,borderStyle:"solid",borderColor:h?u:"transparent",textDecoration:"underline"},ghost:{}}[r],m),t)},Ir=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],Sr=e=>{var{children:t,shape:a,colorScheme:r,variant:i,isDisabled:l,isToggled:n=!1,onToggle:s}=e,c=v(e,Ir),{isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h}=(e=>{var[t,a]=o.useState(!1),[r,i]=o.useState(e);return{isHovered:t,setIsHovered:a,isToggle:r,setIsToggled:i}})(n);return o.useEffect(()=>{h(n)},[n]),p.createElement(kr,Object.assign({shape:a,colorScheme:r,variant:i,isDisabled:l,isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h,onToggle:s},c),t)},Or=e=>{var{items:t,onToggleChange:a,activeToggles:r,setActiveToggles:i,shape:l="rounded",variant:n="ghost",colorScheme:s="color.trueGray.400"}=e,c=o.useCallback((e,t)=>{i(o=>{var r;return r=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==a||a(r),r})},[a,i]);return p.createElement(O,{role:"ToggleGroup",display:"flex",gap:5},t.map(e=>p.createElement(Sr,{role:"toggle-"+e.id,key:e.id,colorScheme:s,shape:l,variant:n,isToggled:r.includes(e.id)||e.isActive,onToggle:t=>c(e.id,t),isDisabled:e.isDisabled},e.value)))};e.Alert=e=>{var{icon:t,title:o,styles:a,description:r,variant:i}=e;return p.createElement(Lt,{icon:t,title:o,styles:a,description:r,variant:i})},e.ArrowIcon=Ht,e.AspectRatio=e=>{var{ratio:t,children:o}=e,a=v(e,Vt);return p.createElement(Rt,Object.assign({ratio:t},a),o)},e.Avatar=e=>{var{src:t,size:a,styles:r,fallback:i}=e,{imageError:l,setImageError:n}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return p.createElement(Dt,{src:t,size:a,styles:r,fallback:i,imageError:l,setImageError:n})},e.Badge=e=>{var{content:t,shape:o,colorScheme:a,position:r,variant:i,size:l,styles:n}=e;return p.createElement(Kt,{content:t,shape:o,colorScheme:a,position:r,variant:i,size:l,styles:n})},e.BatteryIcon=Ze,e.BluetoothIcon=Et,e.BoldArrowIcon=_t,e.BookmarkIcon=qe,e.Bottom=e=>p.createElement(r.View,Object.assign({marginTop:"auto"},e)),e.Button=go,e.CalendarIcon=Mt,e.CameraIcon=jt,e.Center=T,e.CenterBase=H,e.Checkbox=e=>{var t=da(e);return p.createElement(ga,Object.assign({},t,e))},e.ChevronIcon=Be,e.ClockIcon=ft,e.CloseEyeIcon=kt,e.CloseIcon=Le,e.CloudIcon=Ye,e.ComboBox=e=>{var{id:t,name:o,items:a,placeholder:r,searchPlaceholder:i}=e,l=v(e,Fa),n=Wa(a,r,i);return p.createElement(La,Object.assign({id:t,name:o,items:a},n,l))},e.CopyIcon=Je,e.CountryPicker=e=>{var t=ba(e);return p.createElement(ka,Object.assign({},t,e))},e.DatePicker=e=>{var t=Ia();return p.createElement(_a,Object.assign({},t,e))},e.DownloadIcon=et,e.DustBinIcon=Qe,e.EditIcon=Xe,e.ErrorIcon=$e,e.ExternalLinkIcon=It,e.FileImage=e=>{var{path:t}=e,o=v(e,bo);return p.createElement(r.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o}=e,a=v(e,po),{getColor:i}=r.useTheme(),l=o?{fill:i(o),stroke:i(o)}:{};return p.createElement(T,Object.assign({},a),p.createElement(r.Image,Object.assign({},l,{content:'url("'+t+'")',width:"100%",height:"100%"})))},e.FilterIcon=lt,e.FormikCheckbox=e=>{var t=Da(e),{value:o}=t,a=v(t,Pa);a.isChecked=o;var r=da(e);return p.createElement(ga,Object.assign({},r,a))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:a}=e,r=v(e,Ua),i=Da(r),l=Wa(t,o,a);return p.createElement(La,Object.assign({},l,i,{onSelect:e=>{i.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=Da(e),o=ba(e);return p.createElement(ka,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=Da(e),o=Ia();return p.createElement(_a,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:a=!1,initFocus:i,onChange:l=(()=>{})}=e,n=v(e,Ra),s=h.useFormikContext();o.useEffect(()=>{l(s.values)},[s.values]);var c=o.useRef({}),d=o.useRef([]),m=e=>{if(a){var t,o=d.current.indexOf(e)+1;o<d.current.length?null==(t=c.current[d.current[o]])||t.focus():s.onSubmit&&s.onSubmit(s.values)}},u={active:a,focusNextInput:m,setInputRef:(e,t)=>{c.current[e]=t,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(a)if(i&&c.current[i])null==(e=c.current[i])||e.focus();else if(d.current[0]){var t;null==(t=c.current[d.current[0]])||t.focus()}},[a,i]),p.createElement(Va.Provider,{value:u},p.createElement(r.Form,Object.assign({},n),t))},e.FormikPassword=e=>{var{visibleIcon:t=p.createElement(ht,{size:14}),hiddenIcon:o=p.createElement(kt,{size:14})}=e,a=v(e,Na),i=Da(a),l=Ha(i),{isVisible:n,setIsVisible:s}=l,c=v(l,Ka);return p.createElement(ca,Object.assign({},c,{type:n?"text":"password",isClearable:!1,rightChild:p.createElement(r.View,{onClick:()=>{a.isDisabled||s(!n)}},n?t:o)}))},e.FormikSelect=e=>{var t=Da(e);t.selected=t.value;var o=vo(e);return p.createElement(Yo,Object.assign({},o,t))},e.FormikSwitch=e=>{var t=Da(e),o=Jo(e);return p.createElement(oa,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=Da(e),o=aa(e);return p.createElement(ia,Object.assign({},o,t))},e.FormikTextField=e=>{var t=Da(e),o=v(la(e),Ga);return p.createElement(ca,Object.assign({},o,t))},e.HeartIcon=Ge,e.HomeIcon=nt,e.Horizontal=O,e.HorizontalBase=S,e.Icon=Wt,e.InfoIcon=Pe,e.Inline=e=>p.createElement(r.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.InstagramIcon=Fe,e.Left=e=>p.createElement(r.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=xt,e.Link=Yt,e.LinkedinIcon=Ve,e.Loader=co,e.LocationIcon=st,e.LockIcon=ct,e.MenuIcon=tt,e.MessageLayout=e=>{var{container:t,theme:o,position:a="topRight"}=e,{visible:r,title:i,variant:l,subtitle:n,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h}=Za(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[a],v=()=>p.createElement(Ja,{variant:l,subtitle:n,show:r,title:i,theme:o,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h,hide:()=>qa()}),f=t?p.cloneElement(t,{},v()):p.createElement(b,Object.assign({position:"absolute",zIndex:1e4},g),v());return r?f:null},e.MessageView=Ja,e.MicrophoneIcon=dt,e.MinusIcon=De,e.Modal=sr,e.MoonIcon=mt,e.NotificationIcon=ut,e.OpenEyeIcon=ht,e.PanelIcon=it,e.Password=e=>{var{visibleIcon:t=p.createElement(ht,{size:14}),hiddenIcon:o=p.createElement(kt,{size:14})}=e,a=v(e,Ta),i=Ha(a),{isVisible:l,setIsVisible:n}=i,s=v(i,Ma);return p.createElement(ca,Object.assign({},s,{type:l?"text":"password",isClearable:!1,rightChild:p.createElement(r.View,{onClick:()=>{a.isDisabled||n(!l)}},l?t:o)}))},e.PlusIcon=St,e.PrintIcon=rt,e.ProfileIcon=gt,e.RefreshIcon=at,e.Right=e=>p.createElement(r.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=Ke,e.SearchIcon=wt,e.Select=e=>{var t=vo(e);return p.createElement(Yo,Object.assign({},t,e))},e.SettingsIcon=pt,e.ShareIcon=ot,e.SpinnerIcon=Tt,e.StarIcon=Ne,e.SuccessIcon=bt,e.Switch=e=>{var t=Jo(e);return p.createElement(oa,Object.assign({},t,e))},e.Table=xr,e.Tabs=Cr,e.Text=C,e.TextArea=e=>{var t=aa(e);return p.createElement(ia,Object.assign({},t,e))},e.TextField=e=>{var t=la(e);return p.createElement(ca,Object.assign({},t,e))},e.ThreadsIcon=Ae,e.TickIcon=Ot,e.Toggle=Sr,e.ToggleGroup=e=>{var{items:t,shape:a,colorScheme:r,variant:i,onToggleChange:l}=e,{activeToggles:n,setActiveToggles:s}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return p.createElement(Or,{items:t,shape:a,colorScheme:r,variant:i,activeToggles:n,setActiveToggles:s,onToggleChange:l})},e.Top=e=>p.createElement(r.View,Object.assign({marginBottom:"auto"},e)),e.UnLikeIcon=vt,e.UnlockIcon=yt,e.UploadIcon=zt,e.Vertical=k,e.VerticalBase=w,e.View=b,e.WarningIcon=Ue,e.WifiIcon=Ct,e.YoutubeIcon=Re,e.hideMessage=qa,e.hideModal=Xa,e.showMessage=(e,t,o,a)=>{Za.getState().show(e,t,o,null==a?void 0:a.isClosable,null==a?void 0:a.styles,null==a?void 0:a.action,null==a?void 0:a.actionText,null==a?void 0:a.showIcon,null==a?void 0:a.timeout)},e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),Qa.getState().show(e,t,o)},e.useMessageStore=Za,e.useModalStore=Qa,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("core-js/modules/es.symbol.description.js"),require("react"),require("core-js/modules/es.object.assign.js"),require("app-studio"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("react-router-dom"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("formik"),require("zustand")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.symbol.description.js","react","core-js/modules/es.object.assign.js","app-studio","core-js/modules/es.array.iterator.js","core-js/modules/es.parse-float.js","core-js/modules/web.dom-collections.iterator.js","react-router-dom","core-js/modules/es.array.includes.js","core-js/modules/es.string.includes.js","core-js/modules/es.string.starts-with.js","date-fns/format","formik","zustand"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,e.reactRouterDom,0,0,0,e.format,e.formik,e.zustand)}(this,(function(e,t,o,a,r,i,l,n,s,c,d,m,u,h,g){"use strict";var p="default"in o?o.default:o;u=u&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;var b=r.View;function v(e,t){if(null==e)return{};var o={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.includes(a))continue;o[a]=e[a]}return o}var f={h1:{fontSize:60,lineHeight:71,letterSpacing:-.5},h2:{fontSize:48,lineHeight:57,letterSpacing:0},h3:{fontSize:34,lineHeight:40,letterSpacing:.25},h4:{fontSize:24,lineHeight:28,letterSpacing:0},h5:{fontSize:18,lineHeight:22,letterSpacing:.15},h6:{fontSize:14,lineHeight:18,letterSpacing:.15}},j=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","isTruncated","weight","size"],E=e=>{var{children:t,isSub:o,isSup:a}=e;return p.createElement(p.Fragment,null,"string"==typeof t?p.createElement(p.Fragment,null,o&&p.createElement("sup",null,t),a&&p.createElement("sup",null,t),!o&&!a&&p.createElement(p.Fragment,null,t)):t)},x=e=>{var{text:t,maxLines:a=1}=e,r=o.useRef(null),[i,l]=o.useState(t.length);o.useEffect(()=>{var e=r.current;e&&(()=>{for(var o,r=getComputedStyle(e).lineHeight,i=("normal"!==r?parseFloat(r):20)*a,n=0,s=t.length;n<=s;)o=Math.floor((n+s)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>i?s=o-1:n=o+1;l(s)})()},[t,a]);var n=t.length>i?t.substring(0,i)+"...":t;return p.createElement("div",{ref:r},n)},y=e=>{var{children:t,heading:o,maxLines:a,isItalic:i=!1,isUnderlined:l=!1,isSub:n=!1,isSup:s=!1,isStriked:c=!1,isTruncated:d=!1,weight:m="normal",size:u="md"}=e,h=v(e,j);return p.createElement(r.Element,Object.assign({role:"text",fontSize:r.Typography.fontSizes[u],lineHeight:r.Typography.lineHeights[u],fontStyle:i?"italic":"normal",fontWeight:r.Typography.fontWeights[m],textDecoration:c?"line-through":l?"underline":"none"},n||s?{display:"inline"}:{},o?f[o]:{},h),d&&a&&"string"==typeof t?p.createElement(x,{text:t,maxLines:a}):p.createElement(E,Object.assign({isSub:n,isSup:s},h),t))},C=e=>p.createElement(y,Object.assign({},e)),z=["justifyContent","isReversed"],w=p.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:a=!1}=e,i=v(e,z);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:a?"column-reverse":"column"},i,{ref:t}))});w.displayName="Vertical";var k=w,I=["justifyContent","isReversed"],S=p.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:a=!1}=e,i=v(e,I);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:a?"row-reverse":"row"},i,{ref:t}))});S.displayName="Horizontal";var O=S,_=["justifyContent","isReversed"],H=p.forwardRef((e,t)=>{var o=v(e,_);return p.createElement(r.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},o,{ref:t}))});H.displayName="Center";var T=H,M=["size","color","transform","orientation","children"],W=["size","color","filled","strokeWidth"],B=["size","color","filled","strokeWidth"],L=["size","color","filled","strokeWidth"],F=["size","color","filled","strokeWidth"],R=["size","color","filled","strokeWidth"],V=["size","color","filled","strokeWidth"],A=["size","color","filled","strokeWidth"],D=["size","color","filled","strokeWidth"],P=["size","color","filled","strokeWidth"],G=["size","color","filled","strokeWidth"],N=["size","color","filled","strokeWidth"],K=["size","color","filled","strokeWidth"],U=["size","color","filled","strokeWidth"],Z=["size","color","filled","strokeWidth"],q=["size","color","filled","strokeWidth"],Y=["size","color","filled","strokeWidth"],J=["size","color","filled","strokeWidth"],Q=["size","color","filled","strokeWidth"],X=["size","color","strokeWidth","filled"],$=["size","color","filled","strokeWidth"],ee=["size","color","strokeWidth"],te=["size","color","filled","strokeWidth"],oe=["size","color","strokeWidth"],ae=["size","color","filled","strokeWidth"],re=["size","color","strokeWidth"],ie=["size","color","filled","strokeWidth"],le=["size","color","filled","strokeWidth"],ne=["size","color","filled","strokeWidth"],se=["size","color","filled","strokeWidth"],ce=["size","color","filled","strokeWidth"],de=["size","color","filled","strokeWidth"],me=["size","color","filled","strokeWidth"],ue=["size","color","filled","strokeWidth"],he=["size","color","filled","strokeWidth"],ge=["size","color","filled","strokeWidth"],pe=["size","color","filled","strokeWidth"],be=["size","color","filled","strokeWidth"],ve=["size","color","strokeWidth"],fe=["size","color","strokeWidth"],je=["size","color","filled","strokeWidth"],Ee=["size","color","filled","strokeWidth"],xe=["size","color","filled","strokeWidth"],ye=["size","color","filled","strokeWidth"],Ce=["size","color","filled","strokeWidth"],ze=["size","color","filled","strokeWidth"],we=["size","color","filled","strokeWidth"],ke=["size","color","filled","strokeWidth"],Ie=["size","color","filled","strokeWidth"],Se=["size","color","filled","strokeWidth"],Oe=["size","color","filled","strokeWidth"],_e=["size","color","filled","strokeWidth"],He=["size","color","filled","strokeWidth"],Te=["size","color","strokeWidth"],Me=e=>{var{size:t,color:o="black",transform:a,orientation:r,children:i}=e,l=v(e,M);return p.createElement(T,Object.assign({size:t,lineHeight:t,color:o,display:"flex",transform:a||("left"===r?"rotate(-90deg)":"right"===r?"rotate(90deg)":"up"===r?"rotate(0deg)":"down"===r?"rotate(180deg)":"none")},l),i)},We=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),Be=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,W);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},Le=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,B);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},Fe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,L);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),p.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),p.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},Re=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,F);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"}),p.createElement("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"})))},Ve=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,R);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),p.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),p.createElement("circle",{cx:"4",cy:"4",r:"2"})))},Ae=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,V);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24"},We(a,o,r)),p.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),p.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5 \n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},De=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,A);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},We(a,o,r)),p.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},Pe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,D);return p.createElement(Me,Object.assign({size:t,color:o},i,{"aria-label":"Information"}),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},Ge=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,P);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"})))},Ne=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,G);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})))},Ke=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,N);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),p.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),p.createElement("polyline",{points:"7 3 7 8 15 8"})))},Ue=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,K);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M10.29 3.86l-6.6 11.4c-.78 1.36.2 3.1 1.71 3.1h13.2c1.51 0 2.49-1.74 1.71-3.1l-6.6-11.4a2 2 0 0 0-3.42 0z"}),p.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),p.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},Ze=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,U);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},qe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Z);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},Ye=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,q);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},Je=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Y);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),p.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},Qe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,J);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Xe=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Q);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},$e=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1,filled:r=!0}=e,i=v(e,X);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(r,o,a)),p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:r?"white":o}),p.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:r?"white":o})))},et=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,$);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},tt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,ee);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),p.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),p.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},ot=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,te);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("circle",{cx:"18",cy:"5",r:"3"}),p.createElement("circle",{cx:"6",cy:"12",r:"3"}),p.createElement("circle",{cx:"18",cy:"19",r:"3"}),p.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),p.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},at=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,oe);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("polyline",{points:"23 4 23 10 17 10"}),p.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},rt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ae);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},p.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},it=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,re);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),p.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),p.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),p.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),p.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),p.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),p.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),p.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),p.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},lt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ie);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},nt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,le);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},st=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ne);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},ct=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,se);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})))},dt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ce);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),p.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),p.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),p.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},mt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,de);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},ut=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,me);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),p.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},ht=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ue);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},gt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,he);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{fill:a?o:"none",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})," "))},pt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ge);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},bt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,pe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},vt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,be);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},ft=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,ve);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("circle",{cx:"12",cy:"12",r:"10"}),p.createElement("polyline",{points:"12 6 12 12 16 14"})))},jt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,fe);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3l2-3h8l2 3h3a2 2 0 0 1 2 2z"}),p.createElement("circle",{cx:"12",cy:"13",r:"4"})))},Et=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,je);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},xt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Ee);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},yt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,xe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),p.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})))},Ct=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,ye);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},zt=e=>{var{size:t=24,color:o="currentColor",filled:a=!1,strokeWidth:r=1}=e,i=v(e,Ce);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(a,o,r)),p.createElement("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),p.createElement("path",{d:"M9 15l3 -3l3 3"}),p.createElement("path",{d:"M12 12l0 9"})))},wt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ze);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},kt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,we);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},It=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,ke);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},St=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Ie);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),p.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},Ot=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Se);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},_t=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,Oe);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},Ht=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,_e);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),p.createElement("polyline",{points:"6 12 12 6 18 12"})))},Tt=e=>{var{size:t=24,color:o="currentColor",filled:a=!0,strokeWidth:r=1}=e,i=v(e,He);return p.createElement(Me,Object.assign({size:t,color:o},i),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,r)),p.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),p.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},Mt=e=>{var{size:t=24,color:o="currentColor",strokeWidth:a=1}=e,r=v(e,Te);return p.createElement(Me,Object.assign({size:t,color:o},r),p.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},We(!1,o,a)),p.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),p.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),p.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),p.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},Wt={__proto__:null,ChevronIcon:Be,CloseIcon:Le,InstagramIcon:Fe,YoutubeIcon:Re,LinkedinIcon:Ve,ThreadsIcon:Ae,MinusIcon:De,InfoIcon:Pe,HeartIcon:Ge,StarIcon:Ne,SaveIcon:Ke,WarningIcon:Ue,BatteryIcon:Ze,BookmarkIcon:qe,CloudIcon:Ye,CopyIcon:Je,DustBinIcon:Qe,EditIcon:Xe,ErrorIcon:$e,DownloadIcon:et,MenuIcon:tt,ShareIcon:ot,RefreshIcon:at,PrintIcon:rt,PanelIcon:it,FilterIcon:lt,HomeIcon:nt,LocationIcon:st,LockIcon:ct,MicrophoneIcon:dt,MoonIcon:mt,NotificationIcon:ut,OpenEyeIcon:ht,ProfileIcon:gt,SettingsIcon:pt,SuccessIcon:bt,UnLikeIcon:vt,ClockIcon:ft,CameraIcon:jt,BluetoothIcon:Et,LikeIcon:xt,UnlockIcon:yt,WifiIcon:Ct,UploadIcon:zt,SearchIcon:wt,CloseEyeIcon:kt,ExternalLinkIcon:It,PlusIcon:St,TickIcon:Ot,BoldArrowIcon:_t,ArrowIcon:Ht,SpinnerIcon:Tt,CalendarIcon:Mt},Bt={default:{container:{backgroundColor:"white",border:"color.blackAlpha.800"},content:{color:"color.blackAlpha.800"}},info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},content:{color:"#60a5fa"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},content:{color:"#22c55e"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},content:{color:"#ef4444"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},content:{color:"#f97316"}}},Lt=e=>{var t,{icon:o,title:a,styles:r,description:i,variant:l="default"}=e;return p.createElement(O,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==r?void 0:r.container),p.createElement(b,{alignSelf:"center"},o||p.createElement(Ue,{size:24,color:null!=(t=null==r?void 0:r.icon.color)?t:Bt[l].content.color})),p.createElement(k,{gap:10},p.createElement(C,Object.assign({fontSize:"16px",color:Bt[l].content.color},null==r?void 0:r.title),a),p.createElement(C,Object.assign({fontSize:"14px",color:Bt[l].content.color},null==r?void 0:r.description),i)))},Ft=["ratio","children"],Rt=e=>{var{ratio:t=16/9,children:o}=e,a=v(e,Ft);return p.createElement(T,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},a),p.createElement(b,{position:"absolute",top:0,right:0,bottom:0,left:0},o))},Vt=["ratio","children"],At={xs:24,sm:32,md:48,lg:64,xl:80},Dt=e=>{var{src:t,size:o="md",fallback:a="IM",styles:i,imageError:l,setImageError:n}=e,s=At[o],c=Object.assign({objectFit:"cover"},(null==i?void 0:i.image)||{});return p.createElement(T,Object.assign({role:"avatar",width:s,height:s,borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:l?"black":"transparent",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.25)"},null==i?void 0:i.container),l?p.createElement(C,Object.assign({size:o},null==i?void 0:i.fallback),a):p.createElement(r.Image,{alt:"IM",src:t,style:c,width:s,height:s,onError:()=>n(!0)}))},Pt={xs:{minWidth:"20px",height:"20px",padding:"0 6px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px"},md:{minWidth:"28px",height:"28px",padding:"0 10px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px"}},Gt={sharp:0,rounded:4,pillShaped:24},Nt={"top-right":{top:0,right:0,position:"absolute"},"top-left":{top:0,left:0,position:"absolute"},"bottom-right":{bottom:0,right:0,position:"absolute"},"bottom-left":{bottom:0,left:0,position:"absolute"}},Kt=e=>{var{content:t,position:o,shape:a="pillShaped",colorScheme:r="theme.primary",variant:i="filled",size:l="md",styles:n}=e,s=Object.assign({width:"fit-content",borderRadius:Gt[a]},Pt[l],{filled:{backgroundColor:r,color:"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:r,color:r},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"transparent",color:r,textDecoration:"underline"},ghost:{backgroundColor:"transparent",color:r,borderWidth:1,borderStyle:"solid",borderColor:"transparent"}}[i],o?Nt[o]:{},null==n?void 0:n.container);return p.createElement(T,Object.assign({role:"badge"},s),p.createElement(C,Object.assign({role:"badgeText",size:l},null==n?void 0:n.text),t))},Ut={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},Zt=["children","to","iconSize","underline","isHovered","isExternal","styles","setIsHovered"],qt=e=>{var{children:t,to:o="/",iconSize:a="sm",underline:i="default",isHovered:l=!1,isExternal:n=!1,styles:c={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,m=v(e,Zt),u=()=>{"hover"===i&&d(!0)};return p.createElement(s.Link,{to:o,target:n?"_blank":"_self"},p.createElement(r.Element,Object.assign({onMouseEnter:u,onMouseLeave:u,textDecoration:l||"underline"===i?"underline !important":"none"},c.text,m),p.createElement(O,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,n&&p.createElement(It,{size:Ut[a]}))))},Yt=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return p.createElement(qt,Object.assign({},t,e))},Jt={xs:{width:79,paddingTop:8,paddingBottom:8,paddingLeft:12,paddingRight:12,fontWeight:400,fontSize:11,lineHeight:14,letterSpacing:1.25},sm:{width:128,paddingTop:10,paddingBottom:10,paddingLeft:16,paddingRight:16,fontWeight:400,fontSize:12,lineHeight:16,letterSpacing:1.25},md:{width:144,paddingTop:12,paddingBottom:12,paddingLeft:18,paddingRight:18,fontSize:14,fontWeight:400,lineHeight:18,letterSpacing:1.25},lg:{width:178,paddingTop:14,paddingBottom:14,paddingLeft:22,paddingRight:22,fontWeight:400,fontSize:18,lineHeight:24,letterSpacing:1.25},xl:{width:220,paddingTop:16,paddingBottom:16,paddingLeft:26,paddingRight:26,fontWeight:400,fontSize:22,lineHeight:28,letterSpacing:1.25}},Qt={sharp:0,rounded:4,pillShaped:24},Xt={xs:{width:24,height:24,padding:12},sm:{width:24,height:24,padding:15},md:{width:36,height:36,padding:15},lg:{width:36,height:36,padding:18},xl:{width:36,height:36,padding:24}},$t={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},eo={fast:50,normal:100,slow:300},to=["size","speed","color"],oo=["size","speed","color"],ao=["size","speed","color"],ro=["size","children","textColor","loaderColor","type","speed","textPosition"],io=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,to),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:s+"px",height:s+"px",viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),p.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("g",{id:"SVGRepo_iconCarrier"},p.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},lo=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,oo),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("circle",{cx:"10",cy:"25",r:"4",fill:n}),p.createElement("circle",{cx:"25",cy:"25",r:"4",fill:n}),p.createElement("circle",{cx:"40",cy:"25",r:"4",fill:n}))},no=e=>{var{size:t="md",speed:a="normal",color:i="theme.loading"}=e,l=v(e,ao),n=r.useTheme().getColor(i),s="number"==typeof t?t:$t[t],[c,d]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{d(e=>e+45)},eo[a]);return()=>clearInterval(e)},[a]),p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:s+"px",height:s+"px",style:{transform:"rotate("+c+"deg)"}},l),p.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:n,strokeWidth:"5",strokeDasharray:"1,10"}))},so=e=>{var{size:t,children:o,textColor:a,loaderColor:r,type:i="default",speed:l="normal",textPosition:n="right"}=e,s=v(e,ro),c={size:t,speed:l,color:r},d={default:p.createElement(io,Object.assign({},c)),dotted:p.createElement(lo,Object.assign({},c)),quarter:p.createElement(no,Object.assign({},c))};return p.createElement(T,Object.assign({gap:10,flexDirection:"top"===n||"bottom"===n?"column":"row"},s),("left"===n||"top"===n)&&o&&p.createElement(b,{color:a},o),d[i],("right"===n||"bottom"===n)&&o&&p.createElement(b,{color:a},o))},co=e=>p.createElement(so,Object.assign({},e)),mo=["icon","shadow","children","ariaLabel","externalHref","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","colorScheme","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered"],uo=require("contrast"),ho=e=>{var t,{icon:o,shadow:a,children:i,ariaLabel:l,externalHref:n,isAuto:s,isFilled:c=!1,isIconRounded:d=!1,isLoading:m=!1,isDisabled:u=!1,size:h="md",variant:g="filled",iconPosition:b="left",colorScheme:f="theme.primary",shape:j="rounded",onClick:E=(()=>{}),loaderProps:x={},loaderPosition:y="left",effect:C="default",isHovered:z,setIsHovered:w=(()=>{})}=e,k=v(e,mo),{getColor:I}=r.useTheme(),S=()=>w(!z),_=!(u||m),H={disabled:!_},T=_?f:"theme.disabled",M=z&&"hover"===C,W=z&&"reverse"===C,B="light"==uo(I(T)),L=Jt[h],F={filled:{backgroundColor:W?"transparent":T,color:W?B?"white":T:B?T:"white",borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent"},outline:{backgroundColor:W?T:"transparent",borderWidth:1,borderStyle:"solid",borderColor:W?T:f,color:W?"white":T},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent",color:T,textDecoration:W?"none":"underline"},ghost:{backgroundColor:W?T:"transparent",color:W?"white":T,borderWidth:1,borderStyle:"solid",borderColor:W?T:"transparent"}}[g],R={minWidth:s?"fit-content":c?"100%":L.width},V=d?Xt[h]:Jt[h],A=p.createElement(O,{gap:10},m&&"left"===y&&p.createElement(co,Object.assign({},x)),o&&"left"===b&&!m&&o,i,o&&"right"===b&&!m&&o,m&&"right"===y&&p.createElement(co,Object.assign({},x)));return p.createElement(r.Element,Object.assign({gap:8,as:"button",role:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":l,backgroundColor:T,borderRadius:Qt[j],onClick:null!=(t=k.onClick)?t:E,onMouseEnter:S,onMouseLeave:S,cursor:_?"pointer":"default",filter:M?"brightness(0.85)":"brightness(1)"},M&&!k.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},H,L,F,R,k.padding||k.paddingHorizontal||k.paddingVertical||k.paddingLeft||k.paddingRight||k.paddingTop||k.paddingBottom?{}:V,a,k),"link"===g&&n?p.createElement(Yt,{to:n,textDecorationColor:f,colorScheme:f,isExternal:!0},A):A)},go=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=p.useState(!1);return{isHovered:e,setIsHovered:t}})(),a=()=>o(!t);return p.createElement(ho,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:a,onMouseLeave:a},e))},po=["src","color"],bo=["path"],vo=e=>{var{placeholder:t,isMulti:o,options:a}=e,r=t?o?[]:"":Array.isArray(a)&&a.length>0?a[0].value:"",[i,l]=p.useState(!0),[n,s]=p.useState(!1),[c,d]=p.useState(!1),[m,u]=p.useState(r),[h,g]=p.useState(0);return{value:m,setValue:u,hide:i,setHide:l,isHovered:n,setIsHovered:s,isFocused:c,setIsFocused:d,highlightedIndex:h,setHighlightedIndex:g}},fo=["children","styles"],jo=e=>{var{children:t,styles:o={helperText:{}}}=e,a=v(e,fo);return p.createElement(C,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},o.helperText,a),t)},Eo=["children","helperText","error","styles"],xo=e=>{var{children:t,helperText:o,error:a=!1,styles:r}=e,i=v(e,Eo);return p.createElement(k,Object.assign({gap:5,position:"relative"},i),t,!a&&o&&p.createElement(jo,Object.assign({},r),o),a&&p.createElement(C,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},a))},yo={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},Co={xs:6,sm:8,md:10,lg:12,xl:14},zo={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},wo={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:36},ko={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:36},Io=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","colorScheme","styles"],So=e=>{var{shadow:t,children:o,size:a="md",shape:i="default",variant:l="default",error:n=!1,isWithLabel:s=!1,isFocused:c=!1,isHovered:d=!1,isDisabled:m=!1,isReadOnly:u=!1,colorScheme:h="theme.primary",styles:g={pickerBox:{}}}=e,b=v(e,Io);return p.createElement(O,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:n?"error":!d&&!c||m?"midgray":h,backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:r.Typography.fontSizes[a],cursor:m?"not-allowed":u?"auto":"pointer"},s?wo:ko,t,yo[i],zo[l],g.box,b),o)},Oo=["children"],_o=e=>{var{children:t}=e,o=v(e,Oo);return p.createElement(T,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},Ho={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},To=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],Mo=e=>{var{children:t,heading:o,isItalic:a=!1,isUnderlined:i=!1,isStriked:l=!1,weight:n="normal",size:s="sm"}=e,c=v(e,To);return p.createElement(r.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:a?"italic":"normal",fontWeight:r.Typography.fontWeights[n],textDecoration:l?"line-through":i?"underline":"none"},o?Ho[o]:{},c),t)},Wo=e=>p.createElement(Mo,Object.assign({},e)),Bo=["children","size","error","color","styles","helperText"],Lo=e=>{var{children:t,size:o="md",error:a=!1,color:r="theme.primary",styles:i={label:{}}}=e,l=v(e,Bo);return p.createElement(Wo,Object.assign({top:6,zIndex:1e3,lineHeight:Co[o],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:a?"error":r,fontSize:Co[o]},i.label,l),t)},Fo=["children"],Ro=e=>{var{children:t}=e,o=v(e,Fo);return p.createElement(k,Object.assign({width:"100%"},o),t)},Vo={xs:8,sm:10,md:12,lg:14,xl:16},Ao=["isHovered","setIsHovered","option","size","callback","style"],Do=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],Po=["option","size","removeOption"],Go=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","colorScheme","shape","variant","styles","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],No=e=>{var{isHovered:t,setIsHovered:o,option:a,size:i="md",callback:l=(()=>{}),style:n}=e,s=v(e,Ao),c=()=>o(!t);return p.createElement(r.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:c,onMouseLeave:c,onClick:()=>(e=>l(e))(a.value),backgroundColor:t?"trueGray.100":"transparent"},s),p.createElement(C,Object.assign({fontSize:r.Typography.fontSizes[i]},n),a.label))},Ko=e=>{var t,{size:o="md",styles:a={field:{},text:{}},value:i,isDisabled:l,placeholder:n,removeOption:s=(()=>{}),options:c}=e,d=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:r.Typography.fontSizes[o],backgroundColor:"transparent",color:l?"color.trueGray.600":"color.blueGray.700",cursor:l?"not-allowed":"auto"},a.field,a.text),m=c.length>0&&c.find(e=>e.value===i);return p.createElement(C,Object.assign({},d),(""===i||Array.isArray(i)&&0===i.length)&&n?n:p.createElement(p.Fragment,null,"string"==typeof i?null!=(t=m&&m.label)?t:i:Array.isArray(i)&&i.length>0?p.createElement(O,{gap:6},i.map(e=>p.createElement(qo,{key:e,option:e,removeOption:s}))):p.createElement("span",null,i)))},Uo=e=>{var{id:t,name:o,value:a,onChange:i,isMulti:l=!1,isDisabled:n=!1,isReadOnly:s=!1,options:c=[]}=e,d=v(e,Do);return p.createElement(r.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:a,disabled:n,readOnly:s,onChange:e=>{i&&i(e)},multiple:l},d),c.length>0&&c.map(e=>p.createElement("option",{key:e.value,value:e.value},e.label)))},Zo=e=>{var{size:t,styles:o={dropDown:{}},options:a,callback:i=(()=>{}),highlightedIndex:l,setHighlightedIndex:n}=e,s=(()=>{var[e,t]=p.useState(!1);return{isHovered:e,setIsHovered:t}})(),c=e=>i(e),d=void 0!==typeof document?{boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"}:{elevation:2,shadowColor:"rgba(0, 0, 0, 0.07)",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:1};return p.createElement(r.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",zIndex:1e5,overflowY:"scroll",marginTop:5,marginLeft:0,marginRight:0,marginBottom:0,padding:0,borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",maxHeight:"200px",style:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}},d,o.dropDown),a.length>0&&a.map((e,a)=>p.createElement(No,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:c,backgroundColor:a===l?"color.gray.100":"transparent",onMouseEnter:()=>n(a)},s))))},qo=e=>{var{option:t,size:o="md",removeOption:a=(()=>{})}=e,i=v(e,Po);return p.createElement(O,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:r.Typography.fontSizes[o],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},i),p.createElement(C,{size:o},t),p.createElement(Le,{role:"close-button",color:"inherit",size:Vo[o],onClick:()=>a(t)}))},Yo=e=>{var{id:t,name:a,label:r,value:i,placeholder:l,helperText:n,hide:s=!1,error:c=!1,isMulti:d=!1,isFocused:m=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,options:b=[],shadow:f={},size:j="md",colorScheme:E="theme.primary",shape:x="default",variant:y="default",styles:C={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:z=(()=>{}),setHide:w=(()=>{}),setValue:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:S=(()=>{}),setHighlightedIndex:O,highlightedIndex:_}=e,H=v(e,Go),T=!(!m||!r),M=()=>I(!u),W=o.useCallback(e=>{w(!s),d&&Array.isArray(i)?!i.includes(e)&&k([...i,e]):k(e),z&&z(e)},[s,d,i]);return p.createElement(xo,{role:"SelectBox",helperText:n,error:c,styles:C,onClick:h||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),w(!s),S(!m)}},p.createElement(So,{label:r,size:j,error:c,shape:x,styles:C,shadow:f,variant:y,value:i,color:E,isHovered:u,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:T,colorScheme:E,onMouseEnter:M,onMouseLeave:M},p.createElement(Ro,null,T&&p.createElement(Lo,Object.assign({htmlFor:t,color:E,error:c},C),r),p.createElement(Uo,Object.assign({id:t,name:a,options:b,onChange:z,value:i,isDisabled:h,isReadOnly:g,isMulti:d,onFocus:()=>S(!0)},H)),p.createElement(Ko,{options:b,size:j,styles:C,value:i,isDisabled:h,placeholder:l,removeOption:e=>{if(Array.isArray(i)&&i.includes(e)){var t=i.filter(t=>t!==e);k(0===t.length?[]:t)}}})),p.createElement(_o,null,!g&&!h&&p.createElement(p.Fragment,null,p.createElement(Be,s?{color:"inherit",size:Vo[j],style:C.icon,orientation:"down"}:{color:"inherit",orientation:"up",size:Vo[j],style:C.icon})))),!s&&p.createElement(Zo,{size:j,styles:C,options:b,callback:W,highlightedIndex:_,setHighlightedIndex:O}))},Jo=e=>{var{isDisabled:t,isChecked:o}=e,[a,r]=p.useState(!1),[i,l]=p.useState(t?!t:o);return{isHovered:a,setIsHovered:r,on:i,setOn:l}},Qo={xs:{height:6,width:6},sm:{height:9,width:9},md:{height:12,width:12},lg:{height:15,width:15},xl:{height:18,width:18},"2xl":{height:21,width:21},"3xl":{height:24,width:24},"4xl":{height:27,width:27},"5xl":{height:30,width:30},"6xl":{height:33,width:33}},Xo={xs:{height:16,width:28},sm:{height:20,width:36},md:{height:24,width:44},lg:{height:28,width:52},xl:{height:32,width:60},"2xl":{height:36,width:68},"3xl":{height:40,width:76},"4xl":{height:44,width:84},"5xl":{height:48,width:92},"6xl":{height:52,width:100}},$o={xs:{paddingVertical:0,paddingHorizontal:2},sm:{paddingVertical:0,paddingHorizontal:3},md:{paddingVertical:0,paddingHorizontal:5},lg:{paddingVertical:0,paddingHorizontal:6},xl:{paddingVertical:0,paddingHorizontal:8},"2xl":{paddingVertical:0,paddingHorizontal:9},"3xl":{paddingVertical:0,paddingHorizontal:10},"4xl":{paddingVertical:0,paddingHorizontal:13},"5xl":{paddingVertical:0,paddingHorizontal:15},"6xl":{paddingVertical:0,paddingHorizontal:16}},ea=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","colorScheme","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","styles"],ta=e=>p.createElement(r.Input,Object.assign({type:"checkbox"},e)),oa=e=>{var{id:t,name:o,label:a,inActiveChild:r,activeChild:i,labelPosition:l="right",shadow:n={},size:s="sm",colorScheme:c="theme.primary",value:d=!1,isHovered:m=!1,isDisabled:u=!1,isReadOnly:h=!1,on:g,setOn:f,onChange:j,setValue:E=(()=>{}),setIsHovered:x=(()=>{}),styles:y={slider:{},circle:{},label:{}}}=e,C=v(e,ea),z=()=>x(!m),w={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:u?"not-allowed":h?"default":"pointer"},y.label)};return p.createElement(Wo,Object.assign({htmlFor:t,onMouseEnter:z,onMouseLeave:z},w.container,C),p.createElement(ta,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:d,onChange:e=>{h||(E(!d),f(!g),j&&j(e.target.checked))},disabled:u,readOnly:h},C)),"left"===l&&a&&p.createElement(b,null,a),p.createElement(b,Object.assign({display:"flex",cursor:"pointer",alignItems:"center",borderRadius:24,marginBottom:5,filter:m&&d?"brightness(0.9)":"brightness(1)",transition:"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:u?"disabled":d?c:"lightgray",justifyContent:i?"space-between":d?"flex-end":"flex-start"},n,$o[s],Xo[s],y.slider),i&&d&&p.createElement(b,null,i),p.createElement(b,Object.assign({borderRadius:"50%",backgroundColor:"white"},Qo[s],y.circle)),r&&!d&&p.createElement(b,null,r)),"right"===l&&a&&p.createElement(b,null,a))},aa=e=>{var{label:t,placeholder:a,value:r}=e,[i,l]=o.useState(null!=t?t:a),[n,s]=o.useState(!1),[c,d]=o.useState(r||""),[m,u]=o.useState(!1);return o.useMemo(()=>{l(m&&!c?null!=a?a:"":null!=t?t:a)},[c,m,t,a]),{hint:i,setHint:l,isHovered:n,setIsHovered:s,value:c,setValue:d,isFocused:m,setIsFocused:u}},ra=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","colorScheme","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","styles"],ia=e=>{var{id:t,name:o,hint:a,error:i,value:l,label:n,shadow:s,helperText:c,size:d="sm",shape:m="default",variant:u="default",colorScheme:h="theme.primary",isHovered:g=!1,isFocused:b=!1,isEditable:f=!1,isReadOnly:j=!1,isDisabled:E=!1,isAutoFocus:x=!1,isMultiline:y=!1,maxRows:C=3,maxCols:z=30,onBlur:w=(()=>{}),onChange:k,onFocus:I,onChangeText:S,setHint:O=(()=>{}),setValue:_=(()=>{}),setIsFocused:H=(()=>{}),setIsHovered:T=(()=>{}),styles:M={box:{},text:{},label:{},helperText:{},field:{}}}=e,W=v(e,ra),B=!(!b||!n),L=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[d],backgroundColor:"transparent",color:E?"color.trueGray.600":"color.blueGray.700",cursor:E?"not-allowed":"auto"},M.field),F=()=>T(!g),R=e=>{"string"==typeof e?(_(e),S&&S(e),k&&k(e)):(_(e.target.value),S&&S(e.target.value),k&&k(e.target.value))};return p.createElement(xo,{helperText:c,error:i,styles:M},p.createElement(So,{label:n,size:d,error:i,shape:m,styles:M,shadow:s,variant:u,value:l,color:h,isHovered:g,isDisabled:E,isReadOnly:j,isFocused:b,isWithLabel:B,colorScheme:h,onMouseEnter:F,onMouseLeave:F},p.createElement(Ro,null,B&&p.createElement(Lo,Object.assign({htmlFor:t,color:h,error:i},M),n),p.createElement(r.Element,Object.assign({as:"textarea",id:t,name:o,rows:C,cols:z,value:l,readOnly:j,disabled:E,autoFocus:x,editable:f,placeholder:a,onBlur:e=>{w(e),H(!1)},onFocus:()=>{H(!0),I&&I()},multiline:y},L,W,{onChange:R,onChangeText:R})))))},la=e=>{var{label:t,placeholder:a,value:r}=e,[i,l]=o.useState(null!=t?t:a),[n,s]=o.useState(!1),[c,d]=o.useState(!1),[m,u]=o.useState(r);return o.useMemo(()=>{l(n&&!m?null!=a?a:"":null!=t?t:a)},[m,n,t,a]),{hint:i,setHint:l,isFocused:n,setIsFocused:s,isHovered:c,setIsHovered:d,setValue:u,value:m}},na=["id","name","label","hint","value","onChange","leftChild","rightChild","helperText","placeholder","onChangeText","shadow","styles","size","shape","variant","colorScheme","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur"],sa=e=>p.createElement(r.Input,Object.assign({type:"text"},e)),ca=e=>{var{id:t,name:o,label:a,hint:i,value:l,onChange:n,leftChild:s,rightChild:c,helperText:d,onChangeText:m,shadow:u={},styles:h={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:b="default",variant:f="default",colorScheme:j="theme.primary",error:E=!1,isFocused:x=!1,isHovered:y=!1,isDisabled:C=!1,isReadOnly:z=!1,isClearable:w=!0,isAutoFocus:k=!1,setHint:I=(()=>{}),setIsFocused:S=(()=>{}),setIsHovered:O=(()=>{}),setValue:_=(()=>{}),onClick:H=(()=>{}),onFocus:T,onBlur:M=(()=>{})}=e,W=v(e,na),{getColor:B}=r.useTheme(),L=B("color.blueGray.700"),F=!(!x||!a),R=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[g],lineHeight:r.Typography.fontSizes[g],backgroundColor:"transparent",color:C?"color.trueGray.600":"color.blueGray.700",cursor:C?"not-allowed":"auto"},h.field),V=()=>O(!y);return p.createElement(xo,{helperText:d,error:E,styles:h},p.createElement(So,{label:a,size:g,error:E,shape:b,styles:h,shadow:u,variant:f,value:l,color:j,isHovered:y,isDisabled:C,isReadOnly:z,isFocused:x,isWithLabel:F,colorScheme:j,onMouseEnter:V,onMouseLeave:V},s,p.createElement(Ro,null,F&&p.createElement(Lo,Object.assign({htmlFor:t,color:j,error:E},h),a),p.createElement(sa,Object.assign({id:t,name:o,readOnly:z,disabled:C,autoFocus:k,placeholder:i,onFocus:()=>{S(!0),T&&T()},onBlur:e=>{M&&M(e),S(!1)},autoComplete:"off"},R,W,{onChange:e=>{"string"==typeof e?(_(e),m&&m(e),n&&n(e)):(_(e.target.value),m&&m(e.target.value),n&&n(e.target.value))},value:l}))),(c||w&&l)&&p.createElement(_o,null,w&&l&&!z&&!C&&p.createElement(Le,{size:r.Typography.fontSizes[g],color:L,onClick:()=>{_(""),n&&(M({target:{name:o}}),m&&m(""),n&&n("")),"undefined"==typeof document&&m&&m("")}}),c&&p.createElement(p.Fragment,null,c))))},da=e=>{var{defaultIsSelected:t=!1}=e,[o,a]=p.useState(!1),[r,i]=p.useState(t);return{isHovered:o,setIsHovered:a,isSelected:r,setIsSelected:i}},ma={xs:{height:8,width:8},sm:{height:12,width:12},md:{height:18,width:18},lg:{height:24,width:24},xl:{height:30,width:30},"2xl":{height:36,width:36},"3xl":{height:42,width:42},"4xl":{height:48,width:48},"5xl":{height:54,width:54},"6xl":{height:60,width:60}},ua={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},ha=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","colorScheme","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","styles","infoText","helperText"],ga=e=>{var{id:t,icon:o,label:a,isChecked:i,onChange:l,onValueChange:n,shadow:s={},labelPosition:c="right",size:d="md",colorScheme:m="theme.primary",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:b=!1,isReadOnly:f=!1,isIndeterminate:j=!1,defaultIsSelected:E=!1,setIsSelected:x=(()=>{}),setIsHovered:y=(()=>{}),styles:z={checkbox:{},label:{}},infoText:w}=e,I=v(e,ha),S=()=>y(!g),_={container:Object.assign({gap:10,display:"flex",height:"fit-content",flexDirection:"column",width:"fit-content",color:u?"theme.error":b?"theme.disabled":"color.blueGray.700",cursor:b?"not-allowed":f?"default":"pointer"},z.label),checkbox:Object.assign({},b?{backgroundColor:"theme.disabled"}:(i||h)&&!j||j?{backgroundColor:m}:{borderWidth:2,borderColor:u?"theme.error":g?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},g?{filter:"brightness(0.9)"}:{},ma[d],s,z.checkbox)};return p.createElement(Wo,Object.assign({htmlFor:t,as:"div",onClick:()=>{f||b||(x&&x(!h),l&&l(!i),n&&n(!i))},onMouseEnter:S,onMouseLeave:S,size:r.Typography.fontSizes[d]},_.container,I),p.createElement(k,{gap:8},p.createElement(O,{gap:10,alignItems:"center"},"left"===c&&a&&p.createElement(C,Object.assign({size:d},null==z?void 0:z.label),a),p.createElement(T,Object.assign({},_.checkbox),j?p.createElement(De,{size:ua[d],color:"white"}):(i||h)&&(null!=o?o:p.createElement(Ot,{size:ua[d],color:"white"}))),"right"===c&&a&&p.createElement(C,Object.assign({size:d},null==z?void 0:z.label),a)),w&&p.createElement(C,Object.assign({marginLeft:"left"===c?0:27,color:"color.gray.400",size:"sm"},null==z?void 0:z.infoText),w)),u&&p.createElement(C,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},u))},pa=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],ba=e=>{var{placeholder:t}=e,[o,a]=p.useState(pa),[r,i]=p.useState(null!=t?t:pa[0].name),[l,n]=p.useState(!0),[s,c]=p.useState(!1),[d,m]=p.useState(!1);return{hide:l,setHide:n,newOptions:o,setNewOptions:a,isHovered:d,setIsHovered:m,isFocused:s,setIsFocused:c,value:r,setValue:i}},va={xs:8,sm:10,md:12,lg:14,xl:16},fa=["size"],ja=["size"],Ea=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","colorScheme","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","styles"],xa=e=>{var t=v(e,fa);return p.createElement(r.Element,Object.assign({as:"ul"},t))},ya=e=>p.createElement(r.Input,Object.assign({type:"country"},e)),Ca=e=>{var t=v(e,ja);return p.createElement(r.Element,Object.assign({as:"li"},t))},za=e=>{var{option:t,size:a="md",callback:i=(()=>{}),styles:l={text:{}}}=e,[n,s]=o.useState(!1),c=()=>s(!n);return p.createElement(Ca,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:c,onMouseLeave:c,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),i(t)},fontSize:r.Typography.fontSizes[a],backgroundColor:n?"trueGray.100":"transparent"},l.text),t)},wa=e=>{var{size:t,styles:o={dropDown:{}},options:a,callback:r=(()=>{})}=e,i=e=>r(e);return p.createElement(xa,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},o.dropDown),a.map(e=>p.createElement(za,Object.assign({key:e.code,size:t,option:e.name,callback:i},o.text))))},ka=e=>{var{id:t,name:o,label:a,value:i,placeholder:l,helperText:n,hide:s=!1,error:c=!1,isHovered:d=!1,isFocused:m=!1,isAutoFocus:u=!1,isDisabled:h=!1,isReadOnly:g=!1,shadow:b={},newOptions:f=[],size:j="md",variant:E="default",shape:x="default",colorScheme:y="theme.primary",onChange:C,onBlur:z=(()=>{}),setHide:w=(()=>{}),setNewOptions:k=(()=>{}),setIsHovered:I=(()=>{}),setIsFocused:S=(()=>{}),setValue:O=(()=>{}),styles:_={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}}}=e,H=v(e,Ea),{getColor:T}=r.useTheme(),M=T("color.blueGray.700"),W=()=>I(!d),B=!(!m||!a),L=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[j],backgroundColor:"transparent",color:h?"color.trueGray.600":"color.blueGray.700",cursor:h?"not-allowed":"auto"},_.field);return p.createElement(xo,{helperText:n,error:c,styles:_,onClick:()=>{h||g||w(!s)}},p.createElement(So,{label:a,size:j,error:c,shape:x,styles:_,shadow:b,variant:E,value:i,color:y,isHovered:d,isDisabled:h,isReadOnly:g,isFocused:m,isWithLabel:B,colorScheme:y,onMouseEnter:W,onMouseLeave:W},p.createElement(Ro,null,B&&p.createElement(Lo,Object.assign({htmlFor:t,color:y,error:c},_),a),p.createElement(ya,Object.assign({id:t,name:o,placeholder:l,readOnly:g,disabled:h,autoFocus:u,onBlur:e=>{z(e),S(!1)},onFocus:()=>S(!0)},L,H,{value:i,onChange:e=>{var t=e.target.value,o=pa.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));s&&w(!1),k(o),C&&C(t)}}))),p.createElement(_o,null,p.createElement(Be,s?{orientation:"down",size:va[j],color:M,style:_.icon}:{orientation:"up",size:va[j],color:M,style:_.icon}))),!s&&p.createElement(wa,{size:j,styles:_,options:f,callback:e=>{w(!s),O(e),C&&C(e)}}))},Ia=()=>{var[e,t]=p.useState(!1),[o,a]=p.useState(!1),[r,i]=p.useState(u(new Date,"yyyy-MM-dd"));return{date:r,setDate:i,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:a}},Sa=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","colorScheme","styles","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],Oa=e=>p.createElement(r.Input,Object.assign({type:"date"},e)),_a=e=>{var{id:t,name:o,label:a,date:i,helperText:l,shadow:n={},size:s="md",variant:c="default",shape:d="default",colorScheme:m="theme.primary",styles:u={box:{},label:{},helperText:{},text:{},field:{}},error:h=!1,isHovered:g=!1,isFocused:b=!1,isDisabled:f=!1,isReadOnly:j=!1,setDate:E=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:y=(()=>{}),onChange:C,onChangeText:z}=e,w=v(e,Sa),k=!(!b||!a),I=()=>y(!g),S=e=>{"string"==typeof e?(E(e),z&&z(e)):(E(e.target.value),C&&C(e.target.value))},O=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:r.Typography.fontSizes[s],backgroundColor:"transparent",color:f?"color.trueGray.600":"color.blueGray.700",cursor:f?"not-allowed":j?"auto":"pointer"},u.field);return p.createElement(xo,{helperText:l,error:h,styles:u},p.createElement(So,{label:a,size:s,error:h,shape:d,styles:u,shadow:n,variant:c,value:i,color:m,isHovered:g,isDisabled:f,isReadOnly:j,isFocused:b,isWithLabel:k,colorScheme:m,onMouseEnter:I,onMouseLeave:I},p.createElement(Ro,null,k&&p.createElement(Lo,Object.assign({htmlFor:t,color:m,error:h},u),a),p.createElement(Oa,Object.assign({id:t,name:o,onFocus:()=>x(!0),disabled:f,readOnly:j},O,w,z&&{onChangeText:S},{onChange:S})))))},Ha=e=>{var t=la(e),[a,r]=o.useState(!1);return Object.assign({isVisible:a,setIsVisible:r},e,t)},Ta=["visibleIcon","hiddenIcon"],Ma=["isVisible","setIsVisible"],Wa=(e,t,a)=>{var[r,i]=o.useState(e),[l,n]=o.useState(t?{value:t,label:t}:e[0]),[s,c]=o.useState(0),[d,m]=o.useState(null!=a?a:""),[u,h]=o.useState(!1);return{filteredItems:r,setFilteredItems:i,selectedItem:l,setSelectedItem:n,highlightedIndex:s,setHighlightedIndex:c,searchQuery:d,setSearchQuery:m,isDropdownVisible:u,setIsDropdownVisible:h}},Ba=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","styles","isDropdownVisible","setIsDropdownVisible"],La=e=>{var{placeholder:t,items:a,showTick:r=!0,onSelect:i,searchEnabled:l=!0,left:n,right:s,label:c,filteredItems:d,setSelectedItem:m,selectedItem:u,highlightedIndex:h,setHighlightedIndex:g,searchQuery:f,setSearchQuery:j,setFilteredItems:E,styles:x,isDropdownVisible:y,setIsDropdownVisible:z}=e,w=v(e,Ba);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&z(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),p.createElement(O,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},w),c&&p.createElement(C,{styles:null==x?void 0:x.label,htmlFor:w.id},c),p.createElement(b,{position:"relative"},p.createElement(O,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==x?void 0:x.container),p.createElement(O,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>z(!y)},null==x?void 0:x.labelContainer),n,p.createElement(C,Object.assign({weight:"medium",flexGrow:1},null==x?void 0:x.label),u.label)),s,y&&p.createElement(b,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==x?void 0:x.dropdown),l&&p.createElement(ca,{id:w.id,name:w.name,width:"100%",type:"search",value:f,onChange:e=>(e=>{if(j(e),""===e)E(a);else{var t=a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));E(t)}g(0)})(e),hint:t,isClearable:!1,leftChild:p.createElement(wt,{size:12}),styles:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:d.length>0?"1px solid #ccc":"1px solid transparent"},null==x?void 0:x.text)}}),d.length>0&&p.createElement(b,{margin:0,padding:4},d.map((e,t)=>p.createElement(O,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===h?"color.gray.100":"transparent",onMouseEnter:()=>g(t),onClick:()=>(e=>{m(e),null==i||i(e),z(!1)})(e)},null==x?void 0:x.item),p.createElement(C,null,e.label),p.createElement(p.Fragment,null,e.icon&&e.icon,e.value===u.value&&r&&!e.icon&&p.createElement(Ot,{size:20})))))))))},Fa=["id","name","items","placeholder","searchPlaceholder"],Ra=["children","autoFocus","initFocus","onChange"],Va=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),Aa=["name","type"],Da=e=>{var{name:t,type:a}=e,r=v(e,Aa),i=o.useContext(Va),{touched:l,errors:n,submitCount:s,values:c,setFieldTouched:d,setFieldValue:m}=h.useFormikContext(),u=e=>{"Enter"===e.key&&(e.preventDefault(),i.focusNextInput(t))},g=["text","password","email","digits"].includes(a),p=h.getIn(l,t)||s>0?h.getIn(n,t):void 0,b=h.getIn(c,t);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(a),r,{value:b,error:p,onBlur:()=>{d(t,!0)},onKeyPress:u},g?{onChangeText:e=>{m(t,e),null==r.onChangeText||r.onChangeText(e)}}:{onChange:e=>{m(t,e),null==r.onChange||r.onChange(e)}},i.active?{handleKeyPress:u}:{})},Pa=["value"],Ga=["value"],Na=["visibleIcon","hiddenIcon"],Ka=["isVisible","setIsVisible"],Ua=["items","placeholder","searchPlaceholder"],Za=g.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,styles:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,a,r,i,l,n,s,c){return void 0===o&&(o=""),void 0===a&&(a=""),e({visible:!0,variant:t,title:o,subtitle:a,isClosable:r,styles:i,action:l,actionText:n,showIcon:s,timeout:c})},hide:()=>e({visible:!1})})),qa=()=>{Za.getState().hide()},Ya={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"CheckCircleIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},Ja=e=>{var t,a,{variant:r,hide:i,title:l,subtitle:n,theme:s,action:c,actionText:d,showIcon:m=!1,isClosable:u=!1,timeout:h=3e3,styles:g}=e;o.useEffect(()=>{if(h&&!u){var e=setTimeout(()=>{i()},h);return()=>{clearTimeout(e)}}},[]);var v=null!=s?s:Ya,f=!(!c||!d),j={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+v[r].container.border},E={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[r],x={info:p.createElement(Pe,Object.assign({size:24,color:E},null==g?void 0:g.icon)),success:p.createElement(bt,Object.assign({size:24,color:E},null==g?void 0:g.icon)),warning:p.createElement(Ue,Object.assign({size:24,color:E},null==g?void 0:g.icon)),error:p.createElement($e,Object.assign({size:24,color:E},null==g?void 0:g.icon))}[r],y=m&&x;return p.createElement(O,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+v[r].content.color,backgroundColor:""+v[r].container.backgroundColor,onClick:u?()=>{}:()=>{i()}},j,null==g?void 0:g.container),y&&x,p.createElement(k,{gap:8,width:"100%"},p.createElement(C,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),l),n&&p.createElement(C,Object.assign({size:"sm"},null==g?void 0:g.subtitle),n)),f&&p.createElement(C,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},j,null==g?void 0:g.actionText),d),u&&p.createElement(b,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{i()}},null==g||null==(t=g.closingIcon)?void 0:t.container),p.createElement(Le,Object.assign({size:18,color:E},null==g||null==(a=g.closingIcon)?void 0:a.icon))))},Qa=g.create(e=>({modal:!1,modalProps:{isVisible:!1},overlayProps:{},show:function(t,o,a){void 0===o&&(o={}),void 0===a&&(a={}),t&&(o.isVisible=!0),e(e=>Object.assign({},e,{modal:t,modalProps:o,overlayProps:a}))},hide:()=>{e(e=>Object.assign({},e,{modalProps:Object.assign({},e.modalProps,{isVisible:!1})}))}})),Xa=()=>{Qa.getState().hide()},$a={sharp:{borderRadius:0},rounded:{borderRadius:4}},er={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},tr={xs:12,sm:16,md:20,lg:24,xl:28},or=["children","blur","isOpen","isClosePrevented","onClose","position"],ar=["children","shadow","isFullScreen","shape"],rr=["children","buttonColor","iconSize","buttonPosition"],ir=["children"],lr=["children"],nr=e=>{var{children:t,blur:o,isOpen:a=!1,isClosePrevented:r=!1,onClose:i=(()=>{}),position:l="center"}=e,n=v(e,or),s=()=>{r||i()};return p.createElement(T,{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:s,visibility:a?"visible":"hidden"},p.createElement(b,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,onClick:s},er[l],n),t))},sr=e=>{var{children:t}=e;return p.createElement(p.Fragment,null,t)};sr.Overlay=nr,sr.Container=e=>{var{children:t,shadow:o,isFullScreen:a=!1,shape:r="rounded"}=e,i=v(e,ar),l=void 0!==typeof document?{boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.3)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.3)",shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8};return p.createElement(k,Object.assign({cursor:"default",backgroundColor:"white",width:a?"100%":600,height:a?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},o||l,$a[r],i),t)},sr.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:a="md",buttonPosition:r="right"}=e,i=v(e,rr),l=p.createElement(go,{onClick:i.onClose?i.onClose:Xa,colorScheme:"transparent",icon:p.createElement(Le,{size:tr[a],color:o}),padding:0,margin:0,filter:"none",width:0});return p.createElement(O,Object.assign({justifyContent:"none"===r?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},i),"left"===r&&l,t,"right"===r&&l)},sr.Body=e=>{var{children:t}=e,o=v(e,ir);return p.createElement(b,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},o),t)},sr.Footer=e=>{var{children:t}=e,o=v(e,lr);return p.createElement(O,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},o),t)},sr.Layout=e=>{var{modals:t}=e,a=Qa(e=>{var{modal:t,modalProps:o,overlayProps:a}=e;return{modal:t,modalProps:o,overlayProps:a}});if("boolean"==typeof a.modal)return null;var r=t[a.modal];return r?p.createElement(o.Fragment,null,p.createElement(nr,Object.assign({isOpen:a.modalProps.isVisible,onClose:Xa,blur:10},a.overlayProps),void 0!==r&&p.createElement(r,Object.assign({},a.modalProps)))):(console.error(a.modal+" modal doesn't exist"),null)};var cr={},dr=p.createContext({styles:cr,onRowClick:()=>{}}),mr=e=>{var{children:t,styles:o=cr,onRowClick:a}=e;return p.createElement(dr.Provider,{value:{styles:o,onRowClick:a}},t)},ur=()=>p.useContext(dr),hr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"table",borderCollapse:"collapse"},t.table,e))},gr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},t.thead,e))},pr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},t.th,e))},br=e=>{var{styles:t,onRowClick:o}=ur();return p.createElement(r.Element,Object.assign({as:"tr"},t.tr,{onClick:o},e))},vr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},t.td,e))},fr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"tbody"},t.tbody,e))},jr=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"tfoot"},t.tfoot,e))},Er=e=>{var{styles:t}=ur();return p.createElement(r.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},t.caption,e))},xr=e=>{var{children:t,styles:o,onClick:a}=e;return p.createElement(mr,{styles:o,onRowClick:a},t)};xr.Head=gr,xr.HeadCell=pr,xr.Body=fr,xr.Row=br,xr.Cell=vr,xr.Footer=jr,xr.Caption=Er,xr.Container=hr,xr.Template=e=>{var{data:t,columns:o,footer:a,caption:r}=e;return p.createElement(hr,{role:"Table"},r&&p.createElement(Er,null,r),p.createElement(gr,null,p.createElement(br,null,o.map(e=>p.createElement(pr,{key:e.field},e.title)))),p.createElement(fr,null,t.map((e,t)=>p.createElement(br,{key:t},o.map((t,o)=>p.createElement(vr,{key:t.field,isFirstColumn:0===o},e[t.field]))))),a&&p.createElement(jr,null,p.createElement(br,null,a.map((e,t)=>p.createElement(vr,Object.assign({key:t},e.props),e.value)))))};var yr=e=>{var{tabs:t,styles:o,isActive:a,setIsActive:r,tabsState:i,setTabsState:l}=e;return p.createElement(k,Object.assign({width:"100w",height:"100%"},null==o?void 0:o.container),p.createElement(O,Object.assign({marginBottom:20},null==o?void 0:o.headerTabs),t.map((e,i)=>p.createElement(go,Object.assign({key:e.title,onClick:()=>{(e=>{var o=[...t],a=o.splice(e,1);o.unshift(a[0]),l(o),r(o[0])})(i)},variant:a.value===e.value?"filled":"ghost",shape:"pillShaped",cursor:"pointer",isAuto:!0},null==o?void 0:o.tab,a.value===e.value?null==o?void 0:o.activeTab:{}),p.createElement(C,Object.assign({},null==o?void 0:o.title,a.value===e.value?null==o?void 0:o.activeText:{}),e.title)))),p.createElement(b,Object.assign({width:"100%",height:"100%"},null==o?void 0:o.content),i.map((e,t)=>(e=>e.value===i[0].value)(e)&&p.createElement(b,{key:t},e.content))))},Cr=p.memo(e=>{var{tabs:t,styles:a}=e,{isActive:r,setIsActive:i,tabsState:l,setTabsState:n}=(e=>{var[t,a]=o.useState(e[0]),[r,i]=o.useState(e);return{isActive:t,setIsActive:a,tabsState:r,setTabsState:i}})(t);return p.createElement(yr,{tabs:t,styles:a,isActive:r,tabsState:l,setTabsState:n,setIsActive:i})}),zr={sharp:0,rounded:4,pillShaped:24},wr=["children","shape","colorScheme","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle"],kr=e=>{var{children:t,shape:o="rounded",colorScheme:a="color.trueGray.400",variant:r="ghost",isHovered:i,setIsHovered:l,isDisabled:n,isToggle:s,setIsToggled:c,onToggle:d}=e,m=v(e,wr),u=n?"theme.disabled":a,h=!(!s&&!i);return p.createElement(T,Object.assign({role:"Toggle",padding:"pillShaped"===o?"10px 12px":"8px",width:"fit-content",color:h?"color.white":u,backgroundColor:h?u:"transparent",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),cursor:n?"not-allowed":"pointer",borderRadius:zr[o],onClick:()=>{n||c(e=>{var t=!e;return d&&d(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:a},link:{borderWidth:1,borderStyle:"solid",borderColor:h?u:"transparent",textDecoration:"underline"},ghost:{}}[r],m),t)},Ir=["children","shape","colorScheme","variant","isDisabled","isToggled","onToggle"],Sr=e=>{var{children:t,shape:a,colorScheme:r,variant:i,isDisabled:l,isToggled:n=!1,onToggle:s}=e,c=v(e,Ir),{isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h}=(e=>{var[t,a]=o.useState(!1),[r,i]=o.useState(e);return{isHovered:t,setIsHovered:a,isToggle:r,setIsToggled:i}})(n);return o.useEffect(()=>{h(n)},[n]),p.createElement(kr,Object.assign({shape:a,colorScheme:r,variant:i,isDisabled:l,isHovered:d,setIsHovered:m,isToggle:u,setIsToggled:h,onToggle:s},c),t)},Or=e=>{var{items:t,onToggleChange:a,activeToggles:r,setActiveToggles:i,shape:l="rounded",variant:n="ghost",colorScheme:s="color.trueGray.400"}=e,c=o.useCallback((e,t)=>{i(o=>{var r;return r=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==a||a(r),r})},[a,i]);return p.createElement(O,{role:"ToggleGroup",display:"flex",gap:5},t.map(e=>p.createElement(Sr,{role:"toggle-"+e.id,key:e.id,colorScheme:s,shape:l,variant:n,isToggled:r.includes(e.id)||e.isActive,onToggle:t=>c(e.id,t),isDisabled:e.isDisabled},e.value)))};e.Alert=e=>{var{icon:t,title:o,styles:a,description:r,variant:i}=e;return p.createElement(Lt,{icon:t,title:o,styles:a,description:r,variant:i})},e.ArrowIcon=Ht,e.AspectRatio=e=>{var{ratio:t,children:o}=e,a=v(e,Vt);return p.createElement(Rt,Object.assign({ratio:t},a),o)},e.Avatar=e=>{var{src:t,size:a,styles:r,fallback:i}=e,{imageError:l,setImageError:n}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return p.createElement(Dt,{src:t,size:a,styles:r,fallback:i,imageError:l,setImageError:n})},e.Badge=e=>{var{content:t,shape:o,colorScheme:a,position:r,variant:i,size:l,styles:n}=e;return p.createElement(Kt,{content:t,shape:o,colorScheme:a,position:r,variant:i,size:l,styles:n})},e.BatteryIcon=Ze,e.BluetoothIcon=Et,e.BoldArrowIcon=_t,e.BookmarkIcon=qe,e.Bottom=e=>p.createElement(r.View,Object.assign({marginTop:"auto"},e)),e.Button=go,e.CalendarIcon=Mt,e.CameraIcon=jt,e.Center=T,e.CenterBase=H,e.Checkbox=e=>{var t=da(e);return p.createElement(ga,Object.assign({},t,e))},e.ChevronIcon=Be,e.ClockIcon=ft,e.CloseEyeIcon=kt,e.CloseIcon=Le,e.CloudIcon=Ye,e.ComboBox=e=>{var{id:t,name:o,items:a,placeholder:r,searchPlaceholder:i}=e,l=v(e,Fa),n=Wa(a,r,i);return p.createElement(La,Object.assign({id:t,name:o,items:a},n,l))},e.CopyIcon=Je,e.CountryPicker=e=>{var t=ba(e);return p.createElement(ka,Object.assign({},t,e))},e.DatePicker=e=>{var t=Ia();return p.createElement(_a,Object.assign({},t,e))},e.DownloadIcon=et,e.DustBinIcon=Qe,e.EditIcon=Xe,e.ErrorIcon=$e,e.ExternalLinkIcon=It,e.FileImage=e=>{var{path:t}=e,o=v(e,bo);return p.createElement(r.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o}=e,a=v(e,po),{getColor:i}=r.useTheme(),l=o?{fill:i(o),stroke:i(o)}:{};return p.createElement(T,Object.assign({},a),p.createElement(r.Image,Object.assign({},l,{content:'url("'+t+'")',width:"100%",height:"100%"})))},e.FilterIcon=lt,e.FormikCheckbox=e=>{var t=Da(e),{value:o}=t,a=v(t,Pa);a.isChecked=o;var r=da(e);return p.createElement(ga,Object.assign({},r,a))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:a}=e,r=v(e,Ua),i=Da(r),l=Wa(t,o,a);return p.createElement(La,Object.assign({},l,i,{onSelect:e=>{i.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=Da(e),o=ba(e);return p.createElement(ka,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=Da(e),o=Ia();return p.createElement(_a,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:a=!1,initFocus:i,onChange:l=(()=>{})}=e,n=v(e,Ra),s=h.useFormikContext();o.useEffect(()=>{l(s.values)},[s.values]);var c=o.useRef({}),d=o.useRef([]),m=e=>{if(a){var t,o=d.current.indexOf(e)+1;o<d.current.length?null==(t=c.current[d.current[o]])||t.focus():s.onSubmit&&s.onSubmit(s.values)}},u={active:a,focusNextInput:m,setInputRef:(e,t)=>{c.current[e]=t,d.current.includes(e)||d.current.push(e)},handleSubmitEditing:m,getReturnKeyType:e=>d.current.indexOf(e)===d.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(a)if(i&&c.current[i])null==(e=c.current[i])||e.focus();else if(d.current[0]){var t;null==(t=c.current[d.current[0]])||t.focus()}},[a,i]),p.createElement(Va.Provider,{value:u},p.createElement(r.Form,Object.assign({},n),t))},e.FormikPassword=e=>{var{visibleIcon:t=p.createElement(ht,{size:14}),hiddenIcon:o=p.createElement(kt,{size:14})}=e,a=v(e,Na),i=Da(a),l=Ha(i),{isVisible:n,setIsVisible:s}=l,c=v(l,Ka);return p.createElement(ca,Object.assign({},c,{type:n?"text":"password",isClearable:!1,rightChild:p.createElement(r.View,{onClick:()=>{a.isDisabled||s(!n)}},n?t:o)}))},e.FormikSelect=e=>{var t=Da(e);t.selected=t.value;var o=vo(e);return p.createElement(Yo,Object.assign({},o,t))},e.FormikSwitch=e=>{var t=Da(e),o=Jo(e);return p.createElement(oa,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=Da(e),o=aa(e);return p.createElement(ia,Object.assign({},o,t))},e.FormikTextField=e=>{var t=Da(e),o=v(la(e),Ga);return p.createElement(ca,Object.assign({},o,t))},e.HeartIcon=Ge,e.HomeIcon=nt,e.Horizontal=O,e.HorizontalBase=S,e.Icon=Wt,e.InfoIcon=Pe,e.Inline=e=>p.createElement(r.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.InstagramIcon=Fe,e.Left=e=>p.createElement(r.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=xt,e.Link=Yt,e.LinkedinIcon=Ve,e.Loader=co,e.LocationIcon=st,e.LockIcon=ct,e.MenuIcon=tt,e.MessageLayout=e=>{var{container:t,theme:o,position:a="topRight"}=e,{visible:r,title:i,variant:l,subtitle:n,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h}=Za(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[a],v=()=>p.createElement(Ja,{variant:l,subtitle:n,show:r,title:i,theme:o,isClosable:s,styles:c,action:d,actionText:m,showIcon:u,timeout:h,hide:()=>qa()}),f=t?p.cloneElement(t,{},v()):p.createElement(b,Object.assign({position:"absolute",zIndex:1e4},g),v());return r?f:null},e.MessageView=Ja,e.MicrophoneIcon=dt,e.MinusIcon=De,e.Modal=sr,e.MoonIcon=mt,e.NotificationIcon=ut,e.OpenEyeIcon=ht,e.PanelIcon=it,e.Password=e=>{var{visibleIcon:t=p.createElement(ht,{size:14}),hiddenIcon:o=p.createElement(kt,{size:14})}=e,a=v(e,Ta),i=Ha(a),{isVisible:l,setIsVisible:n}=i,s=v(i,Ma);return p.createElement(ca,Object.assign({},s,{type:l?"text":"password",isClearable:!1,rightChild:p.createElement(r.View,{onClick:()=>{a.isDisabled||n(!l)}},l?t:o)}))},e.PlusIcon=St,e.PrintIcon=rt,e.ProfileIcon=gt,e.RefreshIcon=at,e.Right=e=>p.createElement(r.View,Object.assign({marginLeft:"auto"},e)),e.SaveIcon=Ke,e.SearchIcon=wt,e.Select=e=>{var t=vo(e);return p.createElement(Yo,Object.assign({},t,e))},e.SettingsIcon=pt,e.ShareIcon=ot,e.SpinnerIcon=Tt,e.StarIcon=Ne,e.SuccessIcon=bt,e.Switch=e=>{var t=Jo(e);return p.createElement(oa,Object.assign({},t,e))},e.Table=xr,e.Tabs=Cr,e.Text=C,e.TextArea=e=>{var t=aa(e);return p.createElement(ia,Object.assign({},t,e))},e.TextField=e=>{var t=la(e);return p.createElement(ca,Object.assign({},t,e))},e.ThreadsIcon=Ae,e.TickIcon=Ot,e.Toggle=Sr,e.ToggleGroup=e=>{var{items:t,shape:a,colorScheme:r,variant:i,onToggleChange:l}=e,{activeToggles:n,setActiveToggles:s}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return p.createElement(Or,{items:t,shape:a,colorScheme:r,variant:i,activeToggles:n,setActiveToggles:s,onToggleChange:l})},e.Top=e=>p.createElement(r.View,Object.assign({marginBottom:"auto"},e)),e.UnLikeIcon=vt,e.UnlockIcon=yt,e.UploadIcon=zt,e.Vertical=k,e.VerticalBase=w,e.View=b,e.WarningIcon=Ue,e.WifiIcon=Ct,e.YoutubeIcon=Re,e.hideMessage=qa,e.hideModal=Xa,e.showMessage=(e,t,o,a)=>{Za.getState().show(e,t,o,null==a?void 0:a.isClosable,null==a?void 0:a.styles,null==a?void 0:a.action,null==a?void 0:a.actionText,null==a?void 0:a.showIcon,null==a?void 0:a.timeout)},e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),Qa.getState().show(e,t,o)},e.useMessageStore=Za,e.useModalStore=Qa,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=web.umd.production.min.js.map
|