@fewbox/den-web 0.1.42 → 0.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/index.css +1 -1
  2. package/index.js +1 -1
  3. package/index.js.map +1 -1
  4. package/package.json +2 -2
  5. package/scripts/copy-templates.js +1 -1
  6. package/scripts/generate-packages.js +41 -0
  7. package/src/components/Engine/Base/index.d.ts +13 -13
  8. package/src/components/Engine/index.d.ts +155 -90
  9. package/src/components/Layout/Breakpoint/index.d.ts +25 -0
  10. package/src/components/Layout/Dock/index.d.ts +1 -4
  11. package/src/components/Layout/Flex/index.d.ts +2 -1
  12. package/src/components/Layout/Responsive/index.d.ts +2 -2
  13. package/src/components/Layout/XBase/index.d.ts +2 -1
  14. package/src/components/Layout/YBase/index.d.ts +2 -1
  15. package/src/components/View/VAnimation/index.d.ts +2 -2
  16. package/src/components/View/VAvatar/index.d.ts +0 -1
  17. package/src/components/View/VErrorBoundary/index.d.ts +18 -0
  18. package/src/components/View/VForm/index.d.ts +2 -3
  19. package/src/components/View/VImage/index.d.ts +2 -2
  20. package/src/components/View/VInput/VRange/index.d.ts +2 -0
  21. package/src/components/View/VInput/index.d.ts +5 -4
  22. package/src/components/View/VLabel/index.d.ts +2 -1
  23. package/src/components/View/VSvg/index.d.ts +2 -2
  24. package/src/components/View/VTextArea/index.d.ts +2 -0
  25. package/src/components/View/VTheme/index.d.ts +7 -2
  26. package/src/components/core.d.ts +11 -7
  27. package/src/components/web.d.ts +6 -3
  28. package/src/store/index.d.ts +7 -6
  29. package/templates/.claude/skills/fewbox-den/SKILL.md +1111 -0
  30. package/templates/style/_core.scss +82 -0
  31. package/templates/style/_root-properties.scss +48 -0
  32. package/templates/style/_variables.scss +154 -3
  33. package/tsconfig.app.tsbuildinfo +1 -0
  34. package/src/components/Layout/Display/index.d.ts +0 -18
  35. package/src/components/Layout/index.d.ts +0 -8
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,Fragment as a,cloneElement as i,createElement as c,useState as l,useRef as u,useCallback as s,useLayoutEffect as d,useEffect as f}from"react";import{createPortal as h}from"react-dom";import{jwtDecode as p}from"jwt-decode";var g=function(e,t){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},g(e,t)};function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var v,y,b,w,C,S,k,_,x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)};function B(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function V(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(v||(v={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(y||(y={})),function(e){e.Default="font-family"}(b||(b={})),function(e){e.Default="line-height"}(w||(w={})),function(e){e.Default="padding"}(C||(C={})),function(e){e.Default="letter-spacing"}(S||(S={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(k||(k={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(_||(_={}));var T,I,O,D,L=function(e){var t;switch(e){case y.Thin:t=100;break;case y.ExtraLight:t=200;break;case y.Light:t=300;break;case y.Regular:t=400;break;case y.Medium:t=500;break;case y.SemiBold:t=600;break;case y.Bold:t=700;break;case y.ExtraBold:t=800;break;case y.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(T||(T={})),function(e){e.All="all",e.Before="before",e.After="after"}(I||(I={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(O||(O={})),function(e){e.Flex="Flex",e.FlexItem="FlexItem",e.Position="Position",e.PositionArea="PositionArea",e.SBaseline="SBaseline",e.SBottom="SBottom",e.SLeft="SLeft",e.SMiddle="SMiddle",e.SCenter="SCenter",e.SRight="SRight",e.SStretch="SStretch",e.STop="STop",e.X="X",e.XAround="XAround",e.XAutoBoth="XAutoBoth",e.XAutoCenter="XAutoCenter",e.XAutoLeft="XAutoLeft",e.XAutoLefts="XAutoLefts",e.XAutoRight="XAutoRight",e.XAutoRights="XAutoRights",e.XBetween="XBetween",e.XCenter="XCenter",e.XCustom="XCustom",e.XCustomBoth="XCustomBoth",e.XEvenly="XEvenly",e.XLeft="XLeft",e.XRight="XRight",e.XWrap="XWrap",e.XWrapAround="XWrapAround",e.XWrapBetween="XWrapBetween",e.XWrapBottom="XWrapBottom",e.XWrapEvenly="XWrapEvenly",e.XWrapMiddle="XWrapMiddle",e.XWrapTop="XWrapTop",e.Y="Y",e.YAround="YAround",e.YBetween="YBetween",e.YBottom="YBottom",e.YEvenly="YEvenly",e.YMiddle="YMiddle",e.YTop="YTop",e.VEllipse="VEllipse",e.VLine="VLine",e.VRectangle="VRectangle",e.VAvatar="VAvatar",e.VBlock="VBlock",e.VBoundary="VBoundary",e.VButton="VButton",e.VCard="VCard",e.VCardMedia="VCardMedia",e.VCardSocial="VCardSocial",e.VCardWindow="VCardWindow",e.VChromeExtensionValidator="VChromeExtensionValidator",e.VCodePreview="VCodePreview",e.VDesigner="VDesigner",e.VDynamic="VDynamic",e.VBackground="VBackground",e.VForm="VForm",e.VImage="VImage",e.VCheckBox="VCheckBox",e.VColor="VColor",e.VDate="VDate",e.VDatetimeLocal="VDatetimeLocal",e.VEmail="VEmail",e.VFile="VFile",e.VMonth="VMonth",e.VNumber="VNumber",e.VPassword="VPassword",e.VRadio="VRadio",e.VRange="VRange",e.VSearch="VSearch",e.VSubmit="VSubmit",e.VTel="VTel",e.VTextBox="VTextBox",e.VTime="VTime",e.VUrl="VUrl",e.VWeek="VWeek",e.VLabel="VLabel",e.VLink="VLink",e.VPhoto="VPhoto",e.VShadow="VShadow",e.VStack="VStack",e.VSvg="VSvg",e.VText="VText",e.VTooltip="VTooltip"}(D||(D={}));var N,R,E=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),F=function(e){this.component=e},A=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return m(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(T).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(F),z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return m(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(F),P=function(e){function t(t,n,r,o,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return m(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case O.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case O.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case O.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case O.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case O.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case O.Left:r=" ".concat(e).concat(o,"-border-left");break;case O.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case O.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case O.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case O.Right:r=" ".concat(e).concat(o,"-border-right");break;case O.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case O.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case O.Top:r=" ".concat(e).concat(o,"-border-top");break;case O.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(v.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(v.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(v.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(v.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(v.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(v.Black,"-after-front"):"",u="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(v.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(v.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(F),W=function(e,t,n,r,o,a,i,c,l,u,s,d,f,h){return new P(new A(new z(new E(e),o),n,r),t,a,i,c,l,u,s,d,f,h).getClassName()},X=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],j=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],M=["onError","onLoad"],U=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],H={div:V(V([],X,!0),j,!0),input:V(V(V(V([],X,!0),j,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:V(V(V([],X,!0),j,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:V(V([],X,!0),j,!0),abbr:V(V([],X,!0),j,!0),span:V(V([],X,!0),j,!0),h1:V(V([],X,!0),j,!0),h2:V(V([],X,!0),j,!0),h3:V(V([],X,!0),j,!0),h4:V(V([],X,!0),j,!0),h5:V(V([],X,!0),j,!0),h6:V(V([],X,!0),j,!0),i:V(V([],X,!0),j,!0),b:V(V([],X,!0),j,!0),u:V(V([],X,!0),j,!0),em:V(V([],X,!0),j,!0),strong:V(V([],X,!0),j,!0),blockquote:V(V([],X,!0),j,!0),cite:V(V([],X,!0),j,!0),code:V(V([],X,!0),j,!0),del:V(V([],X,!0),j,!0),dfn:V(V([],X,!0),j,!0),ins:V(V([],X,!0),j,!0),kbd:V(V([],X,!0),j,!0),mark:V(V([],X,!0),j,!0),pre:V(V([],X,!0),j,!0),q:V(V([],X,!0),j,!0),s:V(V([],X,!0),j,!0),samp:V(V([],X,!0),j,!0),small:V(V([],X,!0),j,!0),summary:V(V([],X,!0),j,!0),sup:V(V([],X,!0),j,!0),sub:V(V([],X,!0),j,!0),time:V(V([],X,!0),j,!0),var:V(V([],X,!0),j,!0),wbr:V(V([],X,!0),j,!0),p:V(V([],X,!0),j,!0),address:V(V([],X,!0),j,!0),article:V(V([],X,!0),j,!0),aside:V(V([],X,!0),j,!0),details:V(V(V([],X,!0),j,!0),["onToggle"],!0),section:V(V([],X,!0),j,!0),form:V(V(V([],X,!0),j,!0),["onReset","onSubmit"],!0),dialog:V(V(V([],X,!0),j,!0),["onCancel","onClose"],!0),img:V(V(V(V([],X,!0),j,!0),M,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:V(V(V(V([],X,!0),j,!0),M,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:V(V(V([],X,!0),j,!0),M,!0),embed:V(V(V([],X,!0),j,!0),M,!0),link:V(V(V([],X,!0),j,!0),M,!0),svg:V(V(V([],X,!0),j,!0),M,!0),audio:V(V(V([],X,!0),j,!0),U,!0),video:V(V(V([],X,!0),j,!0),U,!0)},Y=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttibutes"];!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(N||(N={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(R||(R={}));var G,q=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=x(x({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=N.Self?x(x({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):x(x({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}(G||(G={}));var Z,J=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t={className:"position-area-".concat(n.category?n.category:G.Default," ").concat(e.props.className)};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))})};!function(e){e.Display="display",e.Rich="rich"}(Z||(Z={}));var K,Q,$,ee=function(t){var n=(t.category==Z.Display?{}:t._base.getProps("div")).html;return e("div",x({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},te=function(t){var n=ae(t);return e(ee,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})};!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(K||(K={})),function(e){e.Default="default",e.Circle="circle"}(Q||(Q={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}($||($={}));var ne,re,oe=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,u=t.caption,s=B(t,["category","type","alignType","isTextOverflow","caption"]),d=ae(x({display:null==t.category||t.category==K.Span?"inline-block":"block"},s)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case $.Center:r="v-label-center";break;case $.Justify:r="v-label-justify";break;case $.Left:r="v-label";break;case $.Right:r="v-label-right";break;default:r="v-label"}if(a==Q.Circle&&(r="".concat(r,"-circle")),l&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=c(g,m,u)}else{var v=d.getProps("span").html;n=c("span",v,u)}return a==Q.Circle?e(J,{children:e(te,x({width:"1.6em",height:"1.6em",borderRadius:"2em"},h,{className:r},p,{children:e(q,{category:N.Area,type:R.Center,children:n})}))}):e(te,x({},h,{className:"".concat(t.className," ").concat(r)},p,{children:n}))},ae=function(t){return{getClassName:function(e){var n=W(e,t.isDefaultValue,t.fontSize,t.isAutoSize,t.fontWeight,t.frontColor,t.backgroundColor,t.borderColor,t.borderDirection,t.pseudoType,t.pseudoFrontColor,t.pseudoBackgroundColor,t.pseudoBorderColor,t.pseudoBorderDirection);return t.className?"".concat(t.className," ").concat(n):n},getStyle:function(e){var n={borderRadius:t.borderRadius,borderWidth:t.borderWidth,borderStyle:t.borderStyle,borderColor:t.borderColor,padding:t.padding,margin:t.margin,height:t.height,width:t.width,minHeight:t.minHeight,minWidth:t.minWidth,maxHeight:t.maxHeight,maxWidth:t.maxWidth,opacity:t.opacity,display:t.display,zIndex:t.zIndex,visibility:t.visibility,fontFamily:t.fontFamily,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,cursor:t.cursor,overflow:t.overflow,overflowX:t.overflowX,overflowY:t.overflowY};return null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),x(x(x({},t.style),e),n)},getChildren:function(){if(t.children){if(Array.isArray(t.children)){var n=t.children.filter(Boolean);return n&&n.length>0?n:e(oe,{backgroundColor:v.Error,caption:"[Base] No Children!"})}return t.children?t.children:e(oe,{backgroundColor:v.Error,caption:"[Base] No Children!"})}return e(oe,{backgroundColor:v.Error,caption:"[Base] No Children!"})},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){Y.includes(o)?n[o]=t[o]:H[e]&&H[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(ne||(ne={})),function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(re||(re={}));var ie,ce;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(ie||(ie={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(ce||(ce={}));var le,ue,se=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=ce.Only?n.type==ce.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==ce.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category;var r={className:t};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,r)}return e}(e)}))}):e(oe,{backgroundColor:v.Error,caption:"[Display] No Children!"})},de=2147483647;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(le||(le={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(ue||(ue={}));var fe,he,pe,ge,me,ve=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,c=void 0===i?de:i,p=t.renderOverlay,g=B(t,["category","offset","overlayZIndex","renderOverlay"]),m=ae(g),v=m.getProps("div").html,y=l({isMounted:!1}),b=y[0],w=y[1],C=u(null),S=u(null),k=e("div",{ref:S,className:"dock-overlay",style:{zIndex:c},children:p()}),_=s((function(){var e=C.current,n=S.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),c=0,l=0;switch(r){case le.Top:c=o.left+(o.width-i.width)/2,l=o.top-i.height-a;break;case le.Right:c=o.left+o.width+a,l=o.top+(o.height-i.height)/2;break;case le.Bottom:c=o.left+(o.width-i.width)/2,l=o.top+o.height+a;break;case le.Left:c=o.left-i.width-a,l=o.top+(o.height-i.height)/2;break;case le.LeftTop:t.alignment==ue.Horizontal?(c=o.left-i.width-a,l=o.top+a):t.alignment==ue.Vertical?(c=o.left+a,l=o.top-i.height-a):(c=o.left-i.width-a,l=o.top-i.height-a);break;case le.RightTop:t.alignment==ue.Horizontal?(c=o.left+o.width+a,l=o.top+a):t.alignment==ue.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top-i.height-a):(c=o.left+o.width+a,l=o.top-i.height-a);break;case le.LeftBottom:t.alignment==ue.Horizontal?(c=o.left-i.width-a,l=o.top+(o.height-i.height)-a):t.alignment==ue.Vertical?(c=o.left+a,l=o.top+o.height+a):(c=o.left-i.width-a,l=o.top+o.height+a);break;case le.RightBottom:t.alignment==ue.Horizontal?(c=o.left+o.width+a,l=o.top+(o.height-i.height)-a):t.alignment==ue.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top+o.height+a):(c=o.left+o.width+a,l=o.top+o.height+a);break;case le.InnerTop:c=o.left+(o.width-i.width)/2+a,l=o.top+a;break;case le.InnerRight:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)/2;break;case le.InnerBottom:c=o.left+(o.width-i.width)/2,l=o.top+(o.height-i.height)-a;break;case le.InnerLeft:c=o.left+a,l=o.top+(o.height-i.height)/2;break;case le.InnerLeftTop:c=o.left+a,l=o.top+a;break;case le.InnerRightTop:c=o.left+(o.width-i.width)-a,l=o.top+a;break;case le.InnerLeftBottom:c=o.left+a,l=o.top+(o.height-i.height)-a;break;case le.InnerRightBottom:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)-a}n.style.transform="translate3d(".concat(c,"px, ").concat(l,"px, 0)")}}),[r,a,c,p]);return d((function(){requestAnimationFrame(_)}),[_,p,c]),f((function(){var e=function(){return _()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[_]),d((function(){w({isMounted:!0})}),[]),n("div",x({ref:C,className:m.getClassName("dock"),style:m.getStyle()},v,{children:[t.children,b.isMounted&&"undefined"!=typeof document&&h(k,document.body)]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(fe||(fe={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(he||(he={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(pe||(pe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ge||(ge={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(me||(me={}));var ye,be=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=B(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=ae(l),s=u.getProps("div").html,d=x(x({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),f=t.overflow?"flex-".concat(t.overflow):"flex-hidden",h=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",m=a?" flex-align-items-".concat(a):"",v=i?" flex-align-content-".concat(i):"",y="".concat(f).concat(h).concat(p).concat(g).concat(m).concat(v),b=u.getClassName(y);return e("div",x({className:b,style:d},s,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ye||(ye={}));var we,Ce=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:o.map(n.children,(function(r){return function(r){var o={};if(null!=n.order&&(o.order=n.order),null!=n.basis&&(o.flexBasis=n.basis),null!=n.grow&&(o.flexGrow=n.grow),null!=n.shrink&&(o.flexShrink=n.shrink),r.props){var c=x(x({},o),r.props?r.props.style:null),l=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",u=r.props.className?" ".concat(r.props.className):"",s={className:"flex-item".concat(l).concat(u),style:c};return r.type===a||"<>"===r.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),r):i(r,s)}return console.debug(r),e(t,{children:"Please check child."})}(r)}))}):e(oe,{backgroundColor:v.Error,caption:"[FlexItem] No Children!"})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(we||(we={}));var Se,ke=function(n,r,a,i,c){n.cross;var l=n.itemsShrink,u=B(n,["cross","itemsShrink"]),s=ae(u),d=function(t,n,o){return r?r(t,n,o,l):e(Ce,{alignSelf:o,shrink:l,children:t},"child".concat(n))};return e(be,x({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case we.Stretch:e=ge.Stretch;break;case we.Baseline:e=ge.Baseline;break;case we.Bottom:e=ge.End;break;case we.Middle:e=ge.Center;break;case we.Top:e=ge.Start;break;default:e=ge.Center}else e=ge.Center;return e}(),wrap:a?a():he.NoWrap,justifyContent:i?i():pe.Start,alignContent:c?c():me.Start},u,{children:o.map(s.getChildren(),(function(n,r){var o=n;return o.type?"STop"===o.props.typeName?d(o.props.children,r,ye.Start):"SMiddle"===o.props.typeName?d(o.props.children,r,ye.Center):"SBottom"===o.props.typeName?d(o.props.children,r,ye.End):"SStretch"===o.props.typeName?d(o.props.children,r,ye.Stretch):"SBaseline"===o.props.typeName?d(o.props.children,r,ye.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},_e=function(t){return ke(t,(function(t,n,r,o){return e(Ce,{grow:1,alignSelf:r,shrink:o,children:t})}))},xe=function(t){var n=ae(t);return ke(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ce,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:0,alignSelf:a,shrink:i,children:t})}))},Be=function(t){return ke(t,(function(t,n,r,o){return e(Ce,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Ve=function(t){var n=ae(t);return ke(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ce,{grow:1,shrink:i,children:t}):e(Ce,{grow:0,shrink:i,children:t})}))},Te=function(e){return ke(e,void 0,void 0,(function(){return pe.SpaceBetween}))},Ie=function(e){return ke(e,void 0,void 0,(function(){return pe.Center}))},Oe=function(e){return ke(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(Se||(Se={}));var De,Le=function(n,r,a,i,c){var l=n.cross,u=n.itemsShrink,s=B(n,["cross","itemsShrink"]),d=ae(s),f=function(t,n,o){return r?r(t,n,o,u):e(Ce,{alignSelf:o,shrink:u,children:t},"child".concat(n))};return e(be,x({vClassName:"v-ybase",wrap:a?a():he.NoWrap,alignContent:i?i():me.Start,alignItems:function(){var e;if(l)switch(l){case Se.Left:e=ge.Start;break;case Se.Center:e=ge.Center;break;case Se.Right:e=ge.End;break;case Se.Baseline:e=ge.Baseline;break;default:e=ge.Stretch}else e=ge.Stretch;return e}(),direction:fe.Column,justifyContent:c?c():pe.Start},s,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o&&"SLeft"===o.props.typeName?f(o.props.children,r,ye.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?f(o.props.children,r,ye.Center):o&&"SRight"===o.props.typeName?f(o.props.children,r,ye.End):o&&"SStretch"===o.props.typeName?f(o.props.children,r,ye.Stretch):o&&"SBaseline"===o.props.typeName?f(o.props.children,r,ye.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},Ne=function(t){return Le(t,(function(t,n,r,o){return e(Ce,{grow:1,alignSelf:r,shrink:o,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(De||(De={}));var Re,Ee=function(e){var t={};return e.forEach((function(e,n){var r,o=!1;n.startsWith("#")?(o=!0,r=n.substring(1).split(".")):r=n.split(".");var a=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=V(V([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(Re||(Re={}));var Fe,Ae=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,c=t.value,s=t.valueHook,d=t.setStateHook,h=t.isValueShow,p=t.valueSize,g=t.frontColor;t.valueCategory;var m,y=t.valuePadding,b=t.inputStyle,w=t.inputClassName,C=t.overWrite,S=t.renderOptions,k=t.onChange,_=t.inheritClassName,V=t.customAttributes,I=B(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),O=ae(I),D=O.getProps("input").html,L=l({value:void 0!==t.value?t.value:""}),N=L[0],R=L[1],E=u(null);return f((function(){"object"==typeof r&&r?r.current=E.current:"function"==typeof r&&r(E.current),t.autoFocus&&E.current&&E.current.focus()}),[]),C&&(m=C(E)),n(ee,{_base:O,className:"v-validity v-input".concat(_?" ".concat(_):""),children:[n(Ne,{display:m?"none":void 0,children:[n(xe,{gap:"0.6em",children:[!!i&&e(te,{children:i}),n(te,{width:"100%",lineHeight:0,children:[e("input",x({ref:E},V,{className:(w?"".concat(w," "):"")+"".concat(O.getClassName("v-input-native")),style:b,type:o,value:s||N.value,onChange:function(e){var t;h&&R({value:null===(t=E.current)||void 0===t?void 0:t.value}),k&&k(e),d?d(e.target.value):R({value:e.target.value})}},D)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!S&&S(E)]}),!!h&&e(Ie,{children:e(oe,{padding:y,isAutoSize:t.isAutoSize,fontSize:p||T.Normal,frontColor:g||v.Black,caption:void 0!==N.value?N.value.toString():c?c.toString():""})})]}),!!m&&m]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Fe||(Fe={}));var ze,Pe,We=function(n){var r=ae(n);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:Fe.Default,o=r.getClassName("v-svg-".concat(t)),c=n.onClick,l=n.onMouseEnter,u=n.onMouseLeave,s={className:o,style:x(x({},r.getStyle()),{cursor:c?"pointer":"inherit"}),onClick:c,onMouseEnter:l,onMouseLeave:u};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,s)}(e)}))})};function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xe.apply(null,arguments)}var je,Me=function(e){return r.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ze||(ze=r.createElement("path",{fill:"currentColor",d:"M198.132 64.763a6 6 0 0 0-6-6H65.753a6 6 0 0 0-6 6v126.473a6 6 0 0 0 6 6h126.399a6 6 0 0 0 6-6.001z"})),Pe||(Pe=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(null,arguments)}var He,Ye,Ge,qe,Ze=function(e){return r.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),je||(je=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(He||(He={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Ye||(Ye={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ge||(Ge={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(qe||(qe={}));var Je,Ke=function(t){var n;return e("div",{className:(n=[],n.push(t.category),t.repeat&&n.push(t.repeat),t.speed&&n.push(t.speed),t.delay&&n.push(t.delay),"animate__animated ".concat(n.join(" "))),children:t.children})},Qe=function(t){t.animationCategory,t.animationSpeed;var n=B(t,["animationCategory","animationSpeed"]),r=ae(n);return e(ee,{_base:r,className:"v-loading",children:e(Ke,{category:t.animationCategory?t.animationCategory:He.Flip,speed:t.animationSpeed?t.animationSpeed:Ge.Slower,repeat:Ye.Infinite,children:t.children})})};function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$e.apply(null,arguments)}var et,tt=function(e){return r.createElement("svg",$e({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Je||(Je=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(et||(et={}));var nt,rt=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(nt||(nt={}));var ot,at,it=function(t){var n=t.category,r=B(t,["category"]),o=ae(r),a=o.getProps("img").html,i=n||nt.Default;return e("img",x({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))},ct=function(t){return e(Ae,x({display:"none",type:"hidden"},t))};function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(null,arguments)}var ut,st=function(e){return r.createElement("svg",lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ot||(ot=r.createElement("path",{fill:"currentColor",d:"M128 188c33.138 0 60-26.862 60-60s-26.862-60-60-60-60 26.862-60 60 26.862 60 60 60"})),at||(at=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dt.apply(null,arguments)}var ft,ht,pt=function(e){return r.createElement("svg",dt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ut||(ut=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(null,arguments)}var mt,vt=function(e){return r.createElement("svg",gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ft||(ft=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),ht||(ht=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},yt=function(t){var r=t.enableClear,o=B(t,["enableClear"]);return e(Ae,r?x({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(_e,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(We,{fontSize:T.ExtraSmall,frontColor:v.Placeholder,onClick:function(){r.current.value=""},children:e(vt,{})})]})}}):x({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(null,arguments)}var wt,Ct=function(e){return r.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),mt||(mt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(wt||(wt={}));var St,kt,_t=function(t){var n=t.category,r=t.to,o=B(t,["category","to"]),a=ae(o),i=a.getProps("a").html;return e(ee,{_base:a,className:"v-hyperlink",children:e("a",x({href:r,target:n},i,{children:t.children}))})};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(St||(St={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(kt||(kt={}));var xt;!function(e){e.Default="default",e.Fixed="fixed"}(xt||(xt={}));var Bt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Bt||(Bt={}));var Vt;!function(e){e.Default="default",e.Fixed="fixed"}(Vt||(Vt={}));var Tt;!function(e){e.Default="default",e.Max="max"}(Tt||(Tt={}));var It,Ot="--den-";!function(e){e.Global="global",e.Area="area"}(It||(It={}));var Dt;!function(e){e.Hover="hover",e.Click="click"}(Dt||(Dt={}));var Lt;!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(Lt||(Lt={}));var Nt;!function(e){e.Normal="normal",e.Italic="italic"}(Nt||(Nt={}));var Rt,Et,Ft=function(t){return e("div",{id:t.id})};!function(e){e.Popup="popup",e.Redirect="redirect"}(Rt||(Rt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Et||(Et={}));var At,zt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(At||(At={}));var Pt,Wt="fewbox-google-auth",Xt=Object.freeze({__proto__:null,get AnimationCategory(){return He},get AnimationDelay(){return qe},get AnimationRepeat(){return Ye},get AnimationSpeed(){return Ge},get BackgroundPositionType(){return De},Base:ae,get BorderRadiusType(){return k},get BreakpointType(){return ne},get ColorType(){return v},get ComponentType(){return D},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:se,get DisplayCategory(){return ie},get DisplayType(){return ce},Dock:ve,get DockAlignment(){return ue},get DockCategory(){return le},get EllipseCategory(){return xt},get ExtensionStatus(){return Lt},FigmaSignin:function(t){return e("div",{className:"figma-signin",onClick:function(){window.location.href="https://www.figma.com/oauth?client_id=".concat(t.clientId,"&redirect_uri=").concat(t.redirectUrl,"&scope=").concat(t.scope,"&state=").concat("fewbox","&response_type=").concat(t.responseType)},children:t.children})},get FileCategory(){return et},Flex:be,get FlexAlignContentType(){return me},get FlexAlignItemsType(){return ge},get FlexDirectionType(){return fe},FlexItem:Ce,get FlexItemAlignSelfType(){return ye},get FlexJustifyContentType(){return pe},get FlexWrapType(){return he},get FontFamilyType(){return b},get FontSizeType(){return T},get FontWeightType(){return y},get GoogleFontType(){return Nt},GoogleGrant:function(t){return f((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==Et.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(zt);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(zt);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),t.isAutoRequest?e(te,{className:"google-grant-fragment"}):e(Ft,{id:zt,children:t.children})},get GoogleGrantCategory(){return Et},get GoogleGrantUXMode(){return Rt},GoogleSignin:function(t){return f((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=At.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==At.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==At.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&t.switchAnotherIdentityProvider&&t.switchAnotherIdentityProvider(e.getNotDisplayedReason())}));else{var e=document.getElementById(t.googleAuthButtonId?t.googleAuthButtonId:Wt);e?google.accounts.id.renderButton(e,t.gsiButtonConfiguration?t.gsiButtonConfiguration:{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element google-auth not found!"),t.disableGoogle())}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e(Ft,{id:t.googleAuthButtonId?t.googleAuthButtonId:Wt})},get GoogleSigninUXMode(){return At},get HandleSubmitCategory(){return Re},get HyperlinkCategory(){return wt},get ImageCategory(){return nt},get LabelAlignType(){return $},get LabelCategory(){return K},get LabelType(){return Q},get LetterSpacingType(){return S},get LineCategory(){return Bt},get LineHeightType(){return w},get PaddingType(){return C},Position:q,PositionArea:J,get PositionAreaCategory(){return G},get PositionCategory(){return N},get PositionType(){return R},Responsive:function(r){return n(t,{children:[e(se,{category:ie.Hidden,type:ce.Down,breakpoint:r.breakpointType?r.breakpointType:ne.Small,children:r.desktop}),e(se,{category:ie.Hidden,type:ce.Up,breakpoint:r.breakpointType?r.breakpointType:ne.Small,children:r.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return Tt},get SvgCategory(){return Fe},get TextAlignType(){return kt},get TextCategory(){return St},get ThemeCategory(){return It},get TooltipCategory(){return Dt},VActionForm:function(t){return e("form",x({className:"v-action-form"},t,{children:t.children}))},VAnimation:Ke,VAudio:function(t){t.sources;var n=B(t,["sources"]),r=ae(n),o=r.getProps("audio").html;return e("audio",x({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=B(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=ae(x(x({},r),{style:n}));return e(ee,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=B(t,["fileIcon","base64Image"]),i=ae(a),c=l({base64Image:o}),u=c[0],s=c[1];return n(ee,{_base:i,className:"v-base64file",children:[e(ct,{name:t.name,value:u.base64Image}),e(Ae,x({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",s({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(Ne,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(it,{fontSize:t.fontSize,category:nt.Scale,src:"data:image/png;base64,".concat(u.base64Image),alt:"file"})]})}},a))]})},VBoundary:te,VCheckBox:function(t){var r=t.isChecked,o=B(t,["isChecked"]);return e(Ae,x({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(Oe,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(We,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Me:Ze,{})}),!!t.label&&e(oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VChromeExtensionValidator:function(t){var n=l({}),r=n[0],o=n[1];if(f((function(){var e;r.status||(e="chrome-extension://".concat(t.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var n=!t.version||e.version>=t.version;o({status:n?Lt.Ready:Lt.Outdated,meta:e})})).catch((function(){return o({status:Lt.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===Lt.Ready?e(te,{className:"v-chrome-extension-validator-fragment"}):(r.status===Lt.Uninstalled?a=t.uninstalledMessage:r.status===Lt.Outdated&&(a=t.outdatedMessage),e(_t,{category:wt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(te,{className:"v-chrome-extension-validator-fragment"})},VColor:function(t){return e(Ae,x({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ae,x({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ae,x({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,c=t.name,s=t.icon,d=t.emptyIcon,h=t.downIcon,p=t.upIcon,g=t.enableClear,m=t.items,y=t.dockCategory,b=t.dockAlignment,w=t.menuBackgroundColor,C=t.menuZIndex;t.onClick;var S=t.overWriteDropdownMenu,k=t.overWriteDropdownItem,_=t.handleChange,V=B(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),I=ae(V),O=l({isSelectionShow:!1,selectValue:i||"",selectCaption:i?m.filter((function(e){return e.value==i}))[0].caption:"",items:m}),D=O[0],L=O[1],N=u(null);f((function(){"object"==typeof a&&a?a.current=N.current:"function"==typeof a&&a(N.current),t.autoFocus&&N.current&&N.current.focus()}),[]);var R=C||de;return e(ve,{width:"fit-content",overlayZIndex:D.isSelectionShow?R:-2147483648,category:y||le.RightBottom,alignment:b||ue.Vertical,renderOverlay:function(){return e(te,{visibility:D.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius,children:S?S(D.items):n(Ne,{backgroundColor:w||v.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[D.items.map((function(t,r){return k?e(te,{children:k(t)},"item".concat(r)):n(Oe,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){L(x(x({},D),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:m})),_&&_(t.value)},children:[t.icon?e(We,{fontSize:T.ExtraSmall,children:t.icon}):e(te,{className:"v-dropdown-icon-fragment"}),e(oe,{caption:t.caption})]},"item".concat(r))})),!(0!=D.items.length)&&e(We,{fontSize:T.ExtraSmall,onClick:function(){},children:d})]})})},children:n(Be,x({className:I.getClassName("v-dropdown"),style:I.getStyle(t.style)},V,{onClick:function(){L(x(x({},D),{isSelectionShow:!D.isSelectionShow}))},children:[n(te,{children:[e(yt,{ref:N,id:t.id,padding:0,fontSize:t.fontSize,frontColor:t.frontColor,icon:e(We,{fontSize:t.iconSize?t.iconSize:T.Small,children:D.selectIcon?D.selectIcon:s}),valueHook:null===(r=D.selectCaption)||void 0===r?void 0:r.toString(),enableClear:g,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,L(x(x({},D),{isSelectionShow:!0,selectCaption:t,items:m.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(ct,{name:c,valueHook:null===(o=D.selectValue)||void 0===o?void 0:o.toString()})]}),e(We,{fontSize:t.iconSize?t.iconSize:T.Small,children:D.isSelectionShow?h:p})]}))})},VEllipse:function(t){t.category;var n=B(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-ellipse-".concat(t.category?t.category:xt.Default),children:t.children})},VEmail:function(t){return e(Ae,x({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,c=t.isPreview,s=t.previewImageWidth,d=t.textLength,h=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=B(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=u(null),y=l({inputFiles:[],isLoading:!1}),b=y[0],w=y[1],C=function(){w((function(e){return x(x({},e),{isLoading:!1})}))};f((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"},k=ae(x({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:rt(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(h?(w(x(x({},b),{inputFiles:n,isLoading:!0})),h(t,C),e.currentTarget.className="v-file"):(w(x(x({},b),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S},m));return e(ee,{_base:k,className:"v-file",children:e(Ae,x({type:"file",isDefaultValue:!0,ref:v},m,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:rt(e)?URL.createObjectURL(e):void 0}}));w(x(x({},b),{inputFiles:r})),h&&(w(x(x({},b),{inputFiles:r,isLoading:!0})),h(n,C))},overWrite:function(t){return c?g?e(te,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==et.Vertical?n(Ne,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Se.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(Ne,{gap:"0.6em",children:b.inputFiles.map((function(t,r){return n(Ne,{cross:Se.Center,children:[!!t.objectUrl&&e(te,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(oe,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))}),!!b.isLoading&&(p?p():e(Qe,{animationCategory:He.Flash,children:e(Ie,{children:e(We,{fontSize:a,frontColor:i,children:e(tt,{})})})}))]}):n(_e,{gap:"1em",children:[n(_e,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(Ne,{gap:"0.6em",children:b.inputFiles.map((function(t,r){return n(Ne,{cross:Se.Center,children:[!!t.objectUrl&&e(te,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(oe,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!b.isLoading&&(p?p():e(Qe,{animationCategory:He.Flash,children:e(We,{fontSize:a,frontColor:i,children:e(tt,{})})}))]}):e(te,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=ae(t),r=n.getProps("footer").html;return e("footer",x({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=B(t,["handleSubmitCategory"]),r=ae(n),o=r.getProps("main").html;return e("form",x({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==Re.FormData)t.handleSubmit(r);else{var o=Ee(r);t.handleSubmit(o)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},o,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=B(t,["image","backingBoard","style"]),c=ae(i);return o&&(n=x(x({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ee,x({_base:c,className:"v-frame",style:n},t.customAttributes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGoogleFont:function(t){return f((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==Nt.Italic})),i=a&&a.length>0?"ital,wght":"wght",c=document.createElement("link");c.rel="stylesheet";var l=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==Nt.Normal?l.push("0,".concat(L(e.weight))):e.type==Nt.Italic&&l.push("1,".concat(L(e.weight))):l.push(L(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e(te,{className:"google-font-fragment"})},VGroup:function(n){var r=l({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=ae(t),r=n.getProps("hr").html;return e("hr",x({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=ae(t),r=n.getProps("header").html;return e("header",x({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:ct,VHyperlink:_t,VImage:it,VLabel:oe,VLine:function(t){t.category;var n=B(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-line-".concat(t.category)})},VLoading:Qe,VMain:function(t){var n=ae(t),r=n.getProps("main").html;return e("main",x({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=ae(x({width:"100vw",height:"100vh",backgroundColor:v.Dark75},t));return e(q,{zIndex:t.zIndex?t.zIndex:1e8,category:N.Window,type:R.Center,children:e(J,{children:e(ee,{_base:n,className:"v-mask",children:e(q,{category:N.Area,type:R.Center,children:t.children})})})})},VMonth:function(t){return e(Ae,x({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ae,x({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ae,x({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=B(t,["isChecked"]);return e(Ae,x({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Oe,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(We,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?st:pt,{})}),!!t.label&&e(oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=B(t,["thumbColor","thumbBorderColor","trackColor"]),i="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background");return e(Ae,x({type:"range",inputClassName:i},a))},VRectangle:function(t){t.category;var n=B(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Vt.Default)})},VSearch:function(t){return e(Ae,x({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=ae(t),r=n.getProps("section").html;return e("section",x({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=B(t,["name","items","value","isMultiple","fontFamily"]),i=ae(a),c=i.getProps("select").html;return e(ee,{_base:i,className:"v-select",children:e("select",x({multiple:o,name:n,defaultValue:r},c,{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=ae(n);return e(t,{children:o.map(n.children,(function(t){return function(t){if(t){var o={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(o.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c={className:r.getClassName("v-shadow-".concat(n.category?n.category:Tt.Default)),style:x(x({},o),r.getStyle())};return t.type===a||"<>"===t.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),t):i(t,c)}return e(oe,{backgroundColor:v.Error,caption:"[VShadow] No Children!"})}(t)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=B(t,["ref","caption","isFormNoValidate"]),a=u(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=ae(x({onClick:function(){a.current.click()}},o)),c=i.getProps("input").html;return n(ee,{_base:i,className:"v-submit",children:[n(Ie,{cross:we.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",x({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},c))]})},VSubmitWrapper:function(t){var r=ae(t),o=u(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:We,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,u=B(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=l({isOn:r}),d=s[0],h=s[1];f((function(){h({isOn:r})}),[r]);var p=o?e(We,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:v.White,fontSize:T.Normal,children:o}):e(te,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!d.isOn),h({isOn:!d.isOn}))},m=ae(x({onClick:g},u));return e(ee,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(Te,{borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:v.Success:t.backgroundColor?t.backgroundColor:v.Placeholder,gap:a||"0.6em",children:[d.isOn?e(We,{category:Fe.Circle,frontColor:v.White,children:e(Ct,{})}):p,d.isOn?p:e(We,{category:Fe.Circle,frontColor:v.White,children:e(Ct,{})})]})})},VTel:function(t){return e(Ae,x({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=B(t,["category","alignType","renderContent"]),l=ae(i);switch(t.alignType){case kt.Center:o="v-text-center";break;case kt.Justify:o="v-text-justify";break;case kt.Left:o="v-text";break;case kt.Right:o="v-text-right";break;default:o="v-text"}if(n){var u=n,s=l.getProps(u).html;r=c(u,s,a())}else{s=l.getProps("span").html;r=c("span",s,a())}return e(ee,{_base:l,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=B(t,["ref","icon","valueHook","setStateHook"]),c=ae(i),s=c.getProps("textarea").html,d=l({value:t.value}),h=d[0],p=d[1],g=u(null);return f((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[]),e(ee,{category:Z.Display,_base:c,className:"v-validity v-textarea",children:n(Ve,{cross:we.Top,gap:"0.6em",children:[t.icon,e(te,{children:e("textarea",x({ref:g},s,{id:t.id?t.id:t.name,value:o?t.valueHook:h.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):p({value:e.target.value})}}))})]})})},VTextBox:yt,VTheme:function(t){var n=t.category,r=t.area,o=t.theme,a=B(t,["category","area","theme"]),i=ae(x({id:r},a));return f((function(){var e;n==It.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Ot,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Ot).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Ot).concat(t),o.fontWeights[t])})))}),[]),n==It.Area?e(ee,{_base:i,className:"v-theme",children:t.children}):e(oe,{backgroundColor:v.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(Ae,x({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,c=B(t,["category","dockCategory","dockAlignment","renderOverlay"]),u=ae(c),s=l({isShow:!1}),d=s[0],f=s[1];return n=r||Dt.Hover,e(ee,{_base:u,className:"v-tooltip",children:e(ve,{category:o,alignment:a,renderOverlay:function(){return d.isShow?i():e(te,{className:"v-tooltip-overlay-fragment"})},children:e(te,{onClick:function(){n==Dt.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){n==Dt.Hover&&f({isShow:!0})},onMouseLeave:function(){n==Dt.Hover&&f({isShow:!1})},children:t.children})})})},VUrl:function(t){return e(Ae,x({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=B(t,["sources"]),r=ae(n),o=r.getProps("video").html;return e("video",x({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Ae,x({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=B(t,["category"]),o=ae(r);return e(ee,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return _},WeComSignin:function(t){return e("div",{className:"wecom-signin",onClick:function(){window.location.href="https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=".concat(t.appId,"&agentid=").concat(t.agentId,"&redirect_uri=").concat(t.redirectUrl,"&state=").concat("fewbox")},children:t.children})},X:_e,XAround:function(e){return ke(e,void 0,void 0,(function(){return pe.SpaceAround}))},XAutoBoth:function(t){var n=ae(t);return ke(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ce,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoCenter:xe,XAutoLeft:Be,XAutoLefts:function(t){var n=ae(t);return ke(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ce,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:Ve,XAutoRights:function(t){return ke(t,(function(t,n,r,o){return e(Ce,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:Te,XCenter:Ie,get XCrossType(){return we},XCustom:function(t){return ke(t,(function(n,r,o,a){var i=e(Ce,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ce,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=ae(t);return ke(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Ce,{basis:t.basis,shrink:c,children:r}):e(Ce,{grow:1,shrink:c,children:r})}))},XEvenly:function(e){return ke(e,void 0,void 0,(function(){return pe.SpaceEvenly}))},XLeft:Oe,XRight:function(e){return ke(e,void 0,void 0,(function(){return pe.End}))},XWrapAround:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceAround}))},XWrapBetween:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceBetween}))},XWrapBottom:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.End}))},XWrapEvenly:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceEvenly}))},XWrapMiddle:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.Center}))},XWrapTop:function(e){return ke(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.Start}))},Y:Ne,YAround:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.SpaceAround}))},YAutoBoth:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ce,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ce,{grow:1,shrink:i,children:t}):e(Ce,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return Le(t,(function(t,n,r,o){return e(Ce,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ce,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return Le(t,(function(t,n,r,o){return e(Ce,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ce,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ce,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.SpaceBetween}))},YBottom:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.End}))},get YCrossType(){return Se},YCustom:function(t){return Le(t,(function(n,r,o,a){var i=e(Ce,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ce,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=ae(t);return Le(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Ce,{basis:t.basis,shrink:c,children:r}):e(Ce,{grow:1,shrink:c,children:r})}))},YEvenly:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.SpaceEvenly}))},YMiddle:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.Center}))},YTop:function(e){return Le(e,void 0,void 0,void 0,(function(){return pe.Start}))},YWrapAround:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceAround}),void 0)},YWrapBetween:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceBetween}))},YWrapCenter:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.Center}))},YWrapEvenly:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceEvenly}))},YWrapLeft:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.Start}))},YWrapRight:function(e){return Le(e,void 0,(function(){return he.Wrap}),(function(){return me.End}))},get ZoneCategory(){return re},convertFormDataToJson:Ee,getGeneratedClassName:W,parseJWT:function(e){var t={},n=p(e,{header:!0});return t.role=n["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=n.exp,t.iss=n.iss,t.aud=n.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=n["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=n["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=n["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=n["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=n["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=n["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t}});!function(e){e.Components=Xt}(Pt||(Pt={}));export{Pt as Den};
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,Fragment as a,cloneElement as i,memo as c,createElement as l,useRef as s,useCallback as u,useLayoutEffect as d,useEffect as f,useState as p,useId as h,Component as g}from"react";import{jwtDecode as m}from"jwt-decode";var v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},v(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b,w,C,S,k,_,x,N,T,B,I,O,D,R,L,E,z,V,F,A=function(){return A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},A.apply(this,arguments)};function P(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function W(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(b||(b={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(w||(w={})),function(e){e.Default="font-family"}(C||(C={})),function(e){e.Default="line-height"}(S||(S={})),function(e){e.Default="padding",e.Normal="padding-normal",e.ExtraSmall="padding-extra-small",e.Small="padding-small",e.Large="padding-large",e.ExtraLarge="padding-extra-large"}(k||(k={})),function(e){e.Default="margin",e.Normal="margin-normal",e.ExtraSmall="margin-extra-small",e.Small="margin-small",e.Large="margin-large",e.ExtraLarge="margin-extra-large"}(_||(_={})),function(e){e.Default="gap",e.Normal="gap-normal",e.ExtraSmall="gap-extra-small",e.Small="gap-small",e.Large="gap-large",e.ExtraLarge="gap-extra-large"}(x||(x={})),function(e){e.Default="letter-spacing"}(N||(N={})),function(e){e.Default="border-radius",e.Normal="border-radius-normal",e.ExtraSmall="border-radius-extra-small",e.Small="border-radius-small",e.Large="border-radius-large",e.ExtraLarge="border-radius-extra-large",e.Max="border-radius-max"}(T||(T={})),function(e){e.None="border-style-none",e.Solid="border-style-solid",e.Dashed="border-style-dashed",e.Dotted="border-style-dotted",e.Double="border-style-double",e.Groove="border-style-groove",e.Ridge="border-style-ridge",e.Inset="border-style-inset",e.Outset="border-style-outset",e.Hidden="border-style-hidden"}(B||(B={})),function(e){e.Default="border-width",e.Normal="border-width-normal",e.ExtraSmall="border-width-extra-small",e.Small="border-width-small",e.Large="border-width-large",e.ExtraLarge="border-width-extra-large"}(I||(I={})),function(e){e.Visible="visibility-visible",e.Hidden="visibility-hidden",e.Collapse="visibility-collapse"}(O||(O={})),function(e){e.None="display-none",e.Block="display-block",e.Inline="display-inline",e.InlineBlock="display-inline-block",e.Flex="display-flex",e.InlineFlex="display-inline-flex",e.Grid="display-grid",e.InlineGrid="display-inline-grid",e.Table="display-table",e.TableRow="display-table-row",e.TableCell="display-table-cell",e.Contents="display-contents",e.FlowRoot="display-flow-root"}(D||(D={})),function(e){e.Auto="cursor-auto",e.Default="cursor-default",e.None="cursor-none",e.ContextMenu="cursor-context-menu",e.Help="cursor-help",e.Pointer="cursor-pointer",e.Progress="cursor-progress",e.Wait="cursor-wait",e.Cell="cursor-cell",e.Crosshair="cursor-crosshair",e.Text="cursor-text",e.VerticalText="cursor-vertical-text",e.Alias="cursor-alias",e.Copy="cursor-copy",e.Move="cursor-move",e.NoDrop="cursor-no-drop",e.NotAllowed="cursor-not-allowed",e.Grab="cursor-grab",e.Grabbing="cursor-grabbing",e.AllScroll="cursor-all-scroll",e.ColResize="cursor-col-resize",e.RowResize="cursor-row-resize",e.NResize="cursor-n-resize",e.EResize="cursor-e-resize",e.SResize="cursor-s-resize",e.WResize="cursor-w-resize",e.NeResize="cursor-ne-resize",e.NwResize="cursor-nw-resize",e.SeResize="cursor-se-resize",e.SwResize="cursor-sw-resize",e.EwResize="cursor-ew-resize",e.NsResize="cursor-ns-resize",e.NeswResize="cursor-nesw-resize",e.NwseResize="cursor-nwse-resize",e.ZoomIn="cursor-zoom-in",e.ZoomOut="cursor-zoom-out"}(R||(R={})),function(e){e.Visible="overflow-visible",e.Hidden="overflow-hidden",e.Scroll="overflow-scroll",e.Auto="overflow-auto",e.Clip="overflow-clip"}(L||(L={})),function(e){e.Visible="overflow-x-visible",e.Hidden="overflow-x-hidden",e.Scroll="overflow-x-scroll",e.Auto="overflow-x-auto",e.Clip="overflow-x-clip"}(E||(E={})),function(e){e.Visible="overflow-y-visible",e.Hidden="overflow-y-hidden",e.Scroll="overflow-y-scroll",e.Auto="overflow-y-auto",e.Clip="overflow-y-clip"}(z||(z={})),function(e){e._0="opacity-0",e._10="opacity-10",e._20="opacity-20",e._25="opacity-25",e._30="opacity-30",e._40="opacity-40",e._50="opacity-50",e._60="opacity-60",e._70="opacity-70",e._75="opacity-75",e._80="opacity-80",e._90="opacity-90",e._100="opacity-100"}(V||(V={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(F||(F={}));var j,H,U,M=function(e){var t;switch(e){case w.Thin:t=100;break;case w.ExtraLight:t=200;break;case w.Light:t=300;break;case w.Regular:t=400;break;case w.Medium:t=500;break;case w.SemiBold:t=600;break;case w.Bold:t=700;break;case w.ExtraBold:t=800;break;case w.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(j||(j={})),function(e){e.All="all",e.Before="before",e.After="after"}(H||(H={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(U||(U={}));var X,Y=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),G=function(e){this.component=e},q=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return y(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(j).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(G),Z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return y(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(G),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(O).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(R).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflow){var e=void 0;return e=Object.values(L).includes(this.overflow)?this.overflow:"overflow-".concat(this.overflow),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(E).includes(this.overflowX)?this.overflowX:"overflow-x-".concat(this.overflowX),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(z).includes(this.overflowY)?this.overflowY:"overflow-y-".concat(this.overflowY),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.display){var e=void 0;return e=Object.values(D).includes(this.display)?this.display:"display-".concat(this.display),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return y(t,e),t.prototype.getClassName=function(){return this.opacityType?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(G),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.borderRadius){var e=void 0;return e=Object.values(T).includes(this.borderRadius)?this.borderRadius:"border-radius-".concat(this.borderRadius),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(B).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return y(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(k).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(G),ie=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return y(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(_).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(G),ce=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(I).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),le=function(e){function t(t,n,r,o,a,i,c,l,s,u,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=s,f.pseudoBorderColorType=u,f.pseudoBorderDirectionType=d,f}return y(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case U.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case U.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case U.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case U.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case U.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case U.Left:r=" ".concat(e).concat(o,"-border-left");break;case U.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case U.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case U.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case U.Right:r=" ".concat(e).concat(o,"-border-right");break;case U.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case U.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case U.Top:r=" ".concat(e).concat(o,"-border-top");break;case U.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(b.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(b.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(b.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(b.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(b.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(b.Black,"-after-front"):"",s="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(G),se=function(e,t,n,r,o,a,i,c,l,s,u,d,f,p,h,g,m,v,y,b,w,C,S,k,_,x){return new le(new ee(new $(new Q(new K(new J(new te(new ne(new ie(new ae(new ce(new oe(new re(new q(new Z(new Y(e),o),n,r),h),g),m),v),y),b),w),C),S),k),_),x),t,a,i,c,l,s,u,d,f,p).getClassName()},ue=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],de=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],fe=["onError","onLoad"],pe=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],he={div:W(W([],ue,!0),de,!0),input:W(W(W(W([],ue,!0),de,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:W(W(W([],ue,!0),de,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:W(W([],ue,!0),de,!0),abbr:W(W([],ue,!0),de,!0),span:W(W([],ue,!0),de,!0),h1:W(W([],ue,!0),de,!0),h2:W(W([],ue,!0),de,!0),h3:W(W([],ue,!0),de,!0),h4:W(W([],ue,!0),de,!0),h5:W(W([],ue,!0),de,!0),h6:W(W([],ue,!0),de,!0),i:W(W([],ue,!0),de,!0),b:W(W([],ue,!0),de,!0),u:W(W([],ue,!0),de,!0),em:W(W([],ue,!0),de,!0),strong:W(W([],ue,!0),de,!0),blockquote:W(W([],ue,!0),de,!0),cite:W(W([],ue,!0),de,!0),code:W(W([],ue,!0),de,!0),del:W(W([],ue,!0),de,!0),dfn:W(W([],ue,!0),de,!0),ins:W(W([],ue,!0),de,!0),kbd:W(W([],ue,!0),de,!0),mark:W(W([],ue,!0),de,!0),pre:W(W([],ue,!0),de,!0),q:W(W([],ue,!0),de,!0),s:W(W([],ue,!0),de,!0),samp:W(W([],ue,!0),de,!0),small:W(W([],ue,!0),de,!0),summary:W(W([],ue,!0),de,!0),sup:W(W([],ue,!0),de,!0),sub:W(W([],ue,!0),de,!0),time:W(W([],ue,!0),de,!0),var:W(W([],ue,!0),de,!0),wbr:W(W([],ue,!0),de,!0),p:W(W([],ue,!0),de,!0),address:W(W([],ue,!0),de,!0),article:W(W([],ue,!0),de,!0),aside:W(W([],ue,!0),de,!0),details:W(W(W([],ue,!0),de,!0),["onToggle"],!0),section:W(W([],ue,!0),de,!0),form:W(W(W([],ue,!0),de,!0),["onReset","onSubmit"],!0),dialog:W(W(W([],ue,!0),de,!0),["onCancel","onClose"],!0),img:W(W(W(W([],ue,!0),de,!0),fe,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:W(W(W(W([],ue,!0),de,!0),fe,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:W(W(W([],ue,!0),de,!0),fe,!0),embed:W(W(W([],ue,!0),de,!0),fe,!0),link:W(W(W([],ue,!0),de,!0),fe,!0),svg:W(W(W([],ue,!0),de,!0),fe,!0),audio:W(W(W([],ue,!0),de,!0),pe,!0),video:W(W(W([],ue,!0),de,!0),pe,!0)},ge=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttributes"],me=function(t){return{getClassName:function(e){var n=se(e,t.isDefaultValue,t.fontSize,t.isAutoSize,t.fontWeight,t.frontColor,t.backgroundColor,t.borderColor,t.borderDirection,t.pseudoType,t.pseudoFrontColor,t.pseudoBackgroundColor,t.pseudoBorderColor,t.pseudoBorderDirection,t.borderRadius,t.borderStyle,t.borderWidth,t.padding,t.margin,t.opacity,t.display,t.visibility,t.cursor,t.overflow,t.overflowX,t.overflowY);return t.className?"".concat(t.className," ").concat(n):n},getStyle:function(e){var n={height:t.height,width:t.width,minHeight:t.minHeight,minWidth:t.minWidth,maxHeight:t.maxHeight,maxWidth:t.maxWidth,zIndex:t.zIndex,fontFamily:t.fontFamily,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight};return t.padding&&!Object.values(k).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(_).includes(t.margin)&&(n.margin=t.margin),null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),A(A(A({},t.style),e),n)},getChildren:function(){var n=e("span",{className:"fb-bg-error",style:{display:"inline-block"},children:"[Base] No Children!"});if(t.children){if(Array.isArray(t.children)){var r=t.children.filter(Boolean);return r&&r.length>0?r:n}return t.children?t.children:n}return n},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){ge.includes(o)?n[o]=t[o]:he[e]&&he[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}};!function(e){e.Display="display",e.Rich="rich"}(X||(X={}));var ve,ye=function(t){var n=(t.category==X.Display?{}:t._base.getProps("div")).html;return e("div",A({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))};!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(ve||(ve={}));var be,we;!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(be||(be={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(we||(we={}));var Ce,Se=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=A(A({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=be.Self?A(A({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):A(A({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}(Ce||(Ce={}));var ke,_e,xe,Ne=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t={className:"position-area-".concat(n.category?n.category:Ce.Default," ").concat(e.props.className)};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))})},Te=function(t){var n=me(t);return e(ye,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})};!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(ke||(ke={})),function(e){e.Default="default",e.Circle="circle"}(_e||(_e={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(xe||(xe={}));var Be,Ie,Oe,De=c((function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,s=t.caption,u=P(t,["category","type","alignType","isTextOverflow","caption"]),d=me(A({display:null==t.category||t.category==ke.Span?"inline-block":"block"},u)),f=d.getProps("div"),p=f.view,h=f.html;switch(i){case xe.Center:r="v-label-center";break;case xe.Justify:r="v-label-justify";break;case xe.Left:r="v-label";break;case xe.Right:r="v-label-right";break;default:r="v-label"}if(a==_e.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=l(g,m,s)}else{var v=d.getProps("span").html;n=l("span",v,s)}return a==_e.Circle?e(Ne,{children:e(Te,A({width:"1.6em",height:"1.6em",borderRadius:T.Max},p,{className:r},h,{children:e(Se,{category:be.Area,type:we.Center,children:n})}))}):e(Te,A({},p,{className:"".concat(t.className," ").concat(r)},h,{children:n}))}));!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(Be||(Be={})),function(e){e.Visible="visiable",e.Hidden="hidden"}(Ie||(Ie={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Oe||(Oe={}));var Re,Le,Ee=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=Oe.Only?n.type==Oe.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Oe.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category;var r={className:t};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,r)}return e}(e)}))}):e(De,{backgroundColor:b.Error,caption:"[BreakpointDisplay] No Children!"})},ze=2147483647;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(Re||(Re={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Le||(Le={}));var Ve,Fe,Ae,Pe,We,je=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,c=void 0===i?ze:i,l=t.renderOverlay,p=P(t,["category","offset","overlayZIndex","renderOverlay"]),h="alignment"in t?t.alignment:void 0,g=me(p),m=g.getProps("div").html,v=s(null),y=s(null),b=u((function(){var e=v.current,t=y.current;if(e&&t){var n=e.offsetWidth,o=e.offsetHeight,i=t.offsetWidth,c=t.offsetHeight,l=0,s=0;switch(r){case Re.Top:l=(n-i)/2,s=-c-a;break;case Re.Right:l=n+a,s=(o-c)/2;break;case Re.Bottom:l=(n-i)/2,s=o+a;break;case Re.Left:l=-i-a,s=(o-c)/2;break;case Re.LeftTop:h==Le.Horizontal?(l=-i-a,s=a):h==Le.Vertical?(l=a,s=-c-a):(l=-i-a,s=-c-a);break;case Re.RightTop:h==Le.Horizontal?(l=n+a,s=a):h==Le.Vertical?(l=n-i-a,s=-c-a):(l=n+a,s=-c-a);break;case Re.LeftBottom:h==Le.Horizontal?(l=-i-a,s=o-c-a):h==Le.Vertical?(l=a,s=o+a):(l=-i-a,s=o+a);break;case Re.RightBottom:h==Le.Horizontal?(l=n+a,s=o-c-a):h==Le.Vertical?(l=n-i-a,s=o+a):(l=n+a,s=o+a);break;case Re.InnerTop:l=(n-i)/2,s=a;break;case Re.InnerRight:l=n-i-a,s=(o-c)/2;break;case Re.InnerBottom:l=(n-i)/2,s=o-c-a;break;case Re.InnerLeft:l=a,s=(o-c)/2;break;case Re.InnerLeftTop:l=a,s=a;break;case Re.InnerRightTop:l=n-i-a,s=a;break;case Re.InnerLeftBottom:l=a,s=o-c-a;break;case Re.InnerRightBottom:l=n-i-a,s=o-c-a}t.style.transform="translate3d(".concat(l,"px, ").concat(s,"px, 0)")}}),[r,a,h]);return d((function(){b()}),[b,l,c]),f((function(){var e=function(){return b()};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[b]),n("div",A({ref:v,className:g.getClassName("dock"),style:g.getStyle()},m,{children:[t.children,e("div",{ref:y,className:"dock-overlay",style:{zIndex:c},children:l()})]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(Ve||(Ve={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(Fe||(Fe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(Ae||(Ae={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(Pe||(Pe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(We||(We={}));var He,Ue=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=t.overflow,s=P(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=R.Pointer);var u=me(s),d=u.getProps("div").html,f=c&&Object.values(x).includes(c)?"var(--den-".concat(c,")"):c,p=A(A({},u.getStyle()),{gap:f}),h=l?"flex-".concat(l):"flex-hidden",g=n?" flex-direction-".concat(n):"",m=r?" flex-wrap-".concat(r):"",v=o?" flex-justify-content-".concat(o):"",y=a?" flex-align-items-".concat(a):"",b=i?" flex-align-content-".concat(i):"",w="".concat(h).concat(g).concat(m).concat(v).concat(y).concat(b),C=u.getClassName(w);return e("div",A({className:C,style:p},d,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(He||(He={}));var Me,Xe=function(t){var n={};null!=t.order&&(n.order=t.order),null!=t.basis&&(n.flexBasis=t.basis),null!=t.grow&&(n.flexGrow=t.grow),null!=t.shrink&&(n.flexShrink=t.shrink);var r=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",o="flex-item".concat(r);return e("div",{className:o,style:A(A({},n),{display:"flex",flexDirection:"column"}),children:t.children})},Ye=function(n){return e(t,{children:n.children})},Ge=function(n){return e(t,{children:n.children})},qe=function(n){return e(t,{children:n.children})},Ze=function(n){return e(t,{children:n.children})},Je=function(n){return e(t,{children:n.children})},Ke=function(n){return e(t,{children:n.children})},Qe=function(n){return e(t,{children:n.children})},$e=function(n){return e(t,{children:n.children})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(Me||(Me={}));var et,tt=function(n,r,a,i,c){n.cross;var l=n.itemsShrink,s=P(n,["cross","itemsShrink"]),u=me(s),d=function(t,n,o){return r?r(t,n,o,l):e(Xe,{alignSelf:o,shrink:l,children:t},"child".concat(n))};return e(Ue,A({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case Me.Stretch:e=Pe.Stretch;break;case Me.Baseline:e=Pe.Baseline;break;case Me.Bottom:e=Pe.End;break;case Me.Middle:e=Pe.Center;break;case Me.Top:e=Pe.Start;break;default:e=Pe.Center}else e=Pe.Center;return e}(),wrap:a?a():Fe.NoWrap,justifyContent:i?i():Ae.Start,alignContent:c?c():We.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===$e?d(o.props.children,r,He.Start):o.type===Ze?d(o.props.children,r,He.Center):o.type===Ge?d(o.props.children,r,He.End):o.type===Qe?d(o.props.children,r,He.Stretch):o.type===Ye?d(o.props.children,r,He.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},nt=function(t){return tt(t,(function(t,n,r,o){return e(Xe,{grow:1,alignSelf:r,shrink:o,children:t})}))},rt=function(t){var n=me(t);return tt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Xe,{grow:1,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:0,alignSelf:a,shrink:i,children:t})}))},ot=function(t){return tt(t,(function(t,n,r,o){return e(Xe,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},at=function(t){var n=me(t);return tt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Xe,{grow:1,shrink:i,children:t}):e(Xe,{grow:0,shrink:i,children:t})}))},it=function(e){return tt(e,void 0,void 0,(function(){return Ae.SpaceBetween}))},ct=function(e){return tt(e,void 0,void 0,(function(){return Ae.Center}))},lt=function(e){return tt(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(et||(et={}));var st,ut=function(n,r,a,i,c){var l=n.cross,s=n.itemsShrink,u=P(n,["cross","itemsShrink"]),d=me(u),f=function(t,n,o){return r?r(t,n,o,s):e(Xe,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Ue,A({vClassName:"v-ybase",wrap:a?a():Fe.NoWrap,alignContent:i?i():We.Start,alignItems:function(){var e;if(l)switch(l){case et.Left:e=Pe.Start;break;case et.Center:e=Pe.Center;break;case et.Right:e=Pe.End;break;case et.Baseline:e=Pe.Baseline;break;default:e=Pe.Stretch}else e=Pe.Stretch;return e}(),direction:Ve.Column,justifyContent:c?c():Ae.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===qe?f(o.props.children,r,He.Start):o.type===Ze||o.type===Ke?f(o.props.children,r,He.Center):o.type===Je?f(o.props.children,r,He.End):o.type===Qe?f(o.props.children,r,He.Stretch):o.type===Ye?f(o.props.children,r,He.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},dt=function(t){return ut(t,(function(t,n,r,o){return e(Xe,{grow:1,alignSelf:r,shrink:o,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(st||(st={}));var ft,pt=function(e){var t={};return e.forEach((function(e,n){var r,o=!1;n.startsWith("#")?(o=!0,r=n.substring(1).split(".")):r=n.split(".");var a=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=W(W([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(ft||(ft={}));var ht,gt=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,c=t.value,l=t.valueHook,u=t.setStateHook,d=t.isValueShow,h=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,y=t.valuePadding,w=t.inputStyle,C=t.inputClassName,S=t.placeholderColor,k=t.overWrite,_=t.renderOptions,x=t.onChange,N=t.inheritClassName,T=t.customAttributes,B=P(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),I=me(B),O=I.getProps("input").html,R=p({value:void 0!==t.value?t.value:""}),L=R[0],E=R[1],z=s(null);f((function(){"object"==typeof r&&r?r.current=z.current:"function"==typeof r&&r(z.current),t.autoFocus&&z.current&&z.current.focus()}),[r,t.autoFocus]),k&&(v=k(z));var V=(S||b.Placeholder)+"-placeholder";return n(ye,{_base:I,className:"v-validity v-input ".concat(V).concat(N?" ".concat(N):""),children:[n(dt,{display:v?D.None:void 0,children:[n(rt,{gap:h,children:[e(Te,{children:i}),n(Te,{children:[e("input",A({ref:z},T,{className:(C?"".concat(C," "):"")+"".concat(I.getClassName("v-input-native")),style:w,type:o,value:l||L.value,onChange:function(e){var t;d&&E({value:null===(t=z.current)||void 0===t?void 0:t.value}),x&&x(e),u?u(e.target.value):E({value:e.target.value})}},O)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),_?_(z):e(Te,{})]}),!!d&&e(ct,{children:e(De,{padding:y,isAutoSize:t.isAutoSize,fontSize:g||j.Normal,frontColor:m||b.Black,caption:void 0!==L.value?L.value.toString():c?c.toString():""})})]}),!!v&&v]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(ht||(ht={}));var mt,vt,yt=c((function(n){var r=A({},n);!r.cursor&&n.onClick&&(r.cursor=R.Pointer);var c=me(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:ht.Default,r=c.getClassName("v-svg-".concat(t)),o=n.onClick,l=n.onMouseEnter,s=n.onMouseLeave,u={className:r,style:A({},c.getStyle()),onClick:o,onMouseEnter:l,onMouseLeave:s};return e.type===a?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,u)}(e)}))})}));function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(null,arguments)}var wt,Ct=function(e){return r.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),mt||(mt=r.createElement("path",{fill:"currentColor",d:"M198.132 64.763a6 6 0 0 0-6-6H65.753a6 6 0 0 0-6 6v126.473a6 6 0 0 0 6 6h126.399a6 6 0 0 0 6-6.001z"})),vt||(vt=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},St.apply(null,arguments)}var kt,_t,xt,Nt,Tt=function(e){return r.createElement("svg",St({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),wt||(wt=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__rollIn",e.RollOut="animate__rollOut",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(kt||(kt={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(_t||(_t={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(xt||(xt={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(Nt||(Nt={}));var Bt,It=function(t){var n;return e("div",{className:(n=[],n.push(t.category),t.repeat&&n.push(t.repeat),t.speed&&n.push(t.speed),t.delay&&n.push(t.delay),"animate__animated ".concat(n.join(" "))),children:t.children})},Ot=function(t){t.animationCategory,t.animationSpeed;var n=P(t,["animationCategory","animationSpeed"]),r=me(n);return e(ye,{_base:r,className:"v-loading",children:e(It,{category:t.animationCategory?t.animationCategory:kt.Flip,speed:t.animationSpeed?t.animationSpeed:xt.Slower,repeat:_t.Infinite,children:t.children})})};function Dt(){return Dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dt.apply(null,arguments)}var Rt,Lt=function(e){return r.createElement("svg",Dt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Bt||(Bt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(Rt||(Rt={}));var Et,zt=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(Et||(Et={}));var Vt,Ft,At=c((function(t){var n=t.category,r=P(t,["category"]),o=me(r),a=o.getProps("img").html,i=n||Et.Default;return e("img",A({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))})),Pt=function(t){return e(gt,A({display:D.None,type:"hidden"},t))};function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(null,arguments)}var jt,Ht=function(e){return r.createElement("svg",Wt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Vt||(Vt=r.createElement("path",{fill:"currentColor",d:"M128 188c33.138 0 60-26.862 60-60s-26.862-60-60-60-60 26.862-60 60 26.862 60 60 60"})),Ft||(Ft=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ut.apply(null,arguments)}var Mt,Xt,Yt=function(e){return r.createElement("svg",Ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),jt||(jt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function Gt(){return Gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gt.apply(null,arguments)}var qt,Zt=function(e){return r.createElement("svg",Gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Mt||(Mt=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Xt||(Xt=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Jt=function(t){var r=t.enableClear,o=P(t,["enableClear"]);return e(gt,r?A({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(nt,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(yt,{fontSize:j.ExtraSmall,frontColor:b.Placeholder,role:"button","aria-label":"Clear",tabIndex:0,onClick:function(){r.current&&(r.current.value="")},onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||!r.current||(e.preventDefault(),r.current.value="")},children:e(Zt,{})})]})}}):A({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kt.apply(null,arguments)}var Qt,$t=function(e){return r.createElement("svg",Kt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qt||(qt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(Qt||(Qt={}));var en,tn,nn=function(t){var n=t.category,r=t.to,o=P(t,["category","to"]),a=me(o),i=a.getProps("a").html;return e(ye,{_base:a,className:"v-hyperlink",children:e("a",A({href:r,target:n},i,{children:t.children}))})};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(en||(en={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(tn||(tn={}));var rn;!function(e){e.Default="default",e.Fixed="fixed"}(rn||(rn={}));var on;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(on||(on={}));var an;!function(e){e.Default="default",e.Fixed="fixed"}(an||(an={}));var cn;!function(e){e.Default="default",e.Max="max"}(cn||(cn={}));var ln,sn="--den-";!function(e){e.Global="global",e.Area="area"}(ln||(ln={}));var un;!function(e){e.Hover="hover",e.Click="click"}(un||(un={}));var dn,fn=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return y(n,t),n.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},n.prototype.componentDidCatch=function(e,t){this.setState({errorInfo:t}),this.props.onError&&this.props.onError(e,t)},n.prototype.render=function(){var t;return this.state.hasError?this.props.fallback?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:e("div",{className:"v-error-boundary",role:"alert",children:e(De,{backgroundColor:b.Error,frontColor:b.White,padding:"1em",caption:"Component Error: ".concat((null===(t=this.state.error)||void 0===t?void 0:t.message)||"Unknown error")})}):this.props.children},n}(g);!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(dn||(dn={}));var pn;!function(e){e.Normal="normal",e.Italic="italic"}(pn||(pn={}));var hn,gn,mn=function(t){return e("div",{id:t.id})};!function(e){e.Popup="popup",e.Redirect="redirect"}(hn||(hn={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(gn||(gn={}));var vn,yn="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(vn||(vn={}));var bn,wn=Object.freeze({__proto__:null,get AnimationCategory(){return kt},get AnimationDelay(){return Nt},get AnimationRepeat(){return _t},get AnimationSpeed(){return xt},get BackgroundPositionType(){return st},Base:me,get BorderRadiusType(){return T},get BorderStyleType(){return B},get BorderWidthType(){return I},get BreakpointCategory(){return Ie},BreakpointDisplay:Ee,get BreakpointType(){return Oe},get ColorType(){return b},get CursorType(){return R},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},get DisplayType(){return D},Dock:je,get DockAlignment(){return Le},get DockCategory(){return Re},get EllipseCategory(){return rn},get ExtensionStatus(){return dn},FigmaSignin:function(t){return e("div",{className:"figma-signin",onClick:function(){window.location.href="https://www.figma.com/oauth?client_id=".concat(t.clientId,"&redirect_uri=").concat(t.redirectUrl,"&scope=").concat(t.scope,"&state=").concat("fewbox","&response_type=").concat(t.responseType)},children:t.children})},get FileCategory(){return Rt},Flex:Ue,get FlexAlignContentType(){return We},get FlexAlignItemsType(){return Pe},get FlexDirectionType(){return Ve},FlexItem:Xe,get FlexItemAlignSelfType(){return He},get FlexJustifyContentType(){return Ae},get FlexWrapType(){return Fe},get FontFamilyType(){return C},get FontSizeType(){return j},get FontWeightType(){return w},get GapType(){return x},get GoogleFontType(){return pn},GoogleGrant:function(t){return f((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==gn.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(yn);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(yn);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),t.isAutoRequest?e(Te,{className:"google-grant-fragment"}):e(mn,{id:yn,children:t.children})},get GoogleGrantCategory(){return gn},get GoogleGrantUXMode(){return hn},GoogleSignin:function(t){var n=t.clientId,r=t.uxMode,o=t.redirectUrl,a=t.gsiButtonConfiguration,i=t.callback,c=t.switchAnotherIdentityProvider,l=t.enableGoogle,s=t.disableGoogle,u=t.googleAuthButtonId,d=u||"fewbox-google-auth";return f((function(){if("undefined"!=typeof document){var e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:n,ux_mode:r!=vn.Prompt?r:void 0,use_fedcm_for_prompt:r==vn.Prompt,callback:function(e){i(e.credential)},login_uri:o}),r==vn.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&c&&c(e.getNotDisplayedReason())}));else{var e=document.getElementById(d);e?google.accounts.id.renderButton(e,a||{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element '".concat(d,"' not found!")),s())}l()},e.onerror=function(e){console.error(e),s()},document.body.appendChild(e),function(){e.remove()}}}),[n,r,o,a,i,c,l,s,d]),e(mn,{id:d})},get GoogleSigninUXMode(){return vn},get HandleSubmitCategory(){return ft},get HyperlinkCategory(){return Qt},get ImageCategory(){return Et},get LabelAlignType(){return xe},get LabelCategory(){return ke},get LabelType(){return _e},get LetterSpacingType(){return N},get LineCategory(){return on},get LineHeightType(){return S},get MarginType(){return _},get OpacityType(){return V},get OverflowType(){return L},get OverflowXType(){return E},get OverflowYType(){return z},get PaddingType(){return k},Position:Se,PositionArea:Ne,get PositionAreaCategory(){return Ce},get PositionCategory(){return be},get PositionType(){return we},Responsive:function(r){return n(t,{children:[e(Ee,{category:Ie.Hidden,type:Oe.Down,breakpoint:r.breakpointType?r.breakpointType:Be.Small,children:r.desktop}),e(Ee,{category:Ie.Hidden,type:Oe.Up,breakpoint:r.breakpointType?r.breakpointType:Be.Small,children:r.mobile})]})},SBaseline:Ye,SBottom:Ge,SCenter:Ke,SLeft:qe,SMiddle:Ze,SRight:Je,SStretch:Qe,STop:$e,get ScreenSizeType(){return Be},get ShadowCategory(){return cn},get SvgCategory(){return ht},get TextAlignType(){return tn},get TextCategory(){return en},get ThemeCategory(){return ln},get TooltipCategory(){return un},VActionForm:function(t){return e("form",A({className:"v-action-form"},t,{children:t.children}))},VAnimation:It,VAudio:function(t){t.sources;var n=P(t,["sources"]),r=me(n),o=r.getProps("audio").html;return e("audio",A({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=P(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=me(A(A({},r),{style:n}));return e(ye,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=P(t,["fileIcon","base64Image"]),i=me(a),c=p({base64Image:o}),l=c[0],s=c[1];return n(ye,{_base:i,className:"v-base64file",children:[e(Pt,{name:t.name,value:l.base64Image}),e(gt,A({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",s({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(dt,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(At,{fontSize:t.fontSize,category:Et.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},VBoundary:Te,VCheckBox:function(t){var r=t.isChecked,o=P(t,["isChecked"]);return e(gt,A({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(lt,{gap:"0.2em",role:"checkbox","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(yt,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Ct:Tt,{})}),!!t.label&&e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VChromeExtensionValidator:function(t){var n=p({}),r=n[0],o=n[1];if(f((function(){var e;r.status||(e="chrome-extension://".concat(t.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var n=!t.version||e.version>=t.version;o({status:n?dn.Ready:dn.Outdated,meta:e})})).catch((function(){return o({status:dn.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===dn.Ready?e(Te,{className:"v-chrome-extension-validator-fragment"}):(r.status===dn.Uninstalled?a=t.uninstalledMessage:r.status===dn.Outdated&&(a=t.outdatedMessage),e(nn,{category:Qt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(Te,{className:"v-chrome-extension-validator-fragment"})},VColor:function(t){return e(gt,A({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(gt,A({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(gt,A({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,c=t.name,l=t.icon,u=t.emptyIcon,d=t.downIcon,g=t.upIcon,m=t.enableClear,v=t.items,y=t.dockCategory,w=t.dockAlignment,C=t.menuBackgroundColor,S=t.menuZIndex;t.onClick;var k=t.overWriteDropdownMenu,_=t.overWriteDropdownItem,x=t.handleChange,N=P(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),T=me(N),B=p({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),I=B[0],D=B[1],R=s(null),L=h();f((function(){"object"==typeof a&&a?a.current=R.current:"function"==typeof a&&a(R.current),t.autoFocus&&R.current&&R.current.focus()}),[]);var E=S||ze;return e(je,{width:"fit-content",overlayZIndex:I.isSelectionShow?E:-2147483648,category:y||Re.RightBottom,alignment:w||Le.Vertical,renderOverlay:function(){return e(Te,{visibility:I.isSelectionShow?O.Visible:O.Hidden,borderRadius:t.borderRadius,role:"listbox",id:L,children:k?k(I.items):n(dt,{backgroundColor:C||b.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[I.items.map((function(t){return _?e(Te,{role:"option","aria-selected":t.value===I.selectValue,children:_(t)},t.value):n(lt,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===I.selectValue,onClick:function(){D(A(A({},I),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),x&&x(t.value)},children:[t.icon?e(yt,{fontSize:j.ExtraSmall,children:t.icon}):e(Te,{className:"v-dropdown-icon-fragment"}),e(De,{caption:t.caption})]},t.value)})),!(0!=I.items.length)&&e(yt,{fontSize:j.ExtraSmall,onClick:function(){},children:u})]})})},children:n(ot,A({className:T.getClassName("v-dropdown"),style:T.getStyle(t.style)},N,{role:"combobox","aria-expanded":I.isSelectionShow,"aria-haspopup":"listbox","aria-controls":L,onClick:function(){D(A(A({},I),{isSelectionShow:!I.isSelectionShow}))},children:[n(Te,{children:[e(Jt,{ref:R,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(yt,{fontSize:t.iconSize?t.iconSize:j.Small,children:I.selectIcon?I.selectIcon:l}),valueHook:null===(r=I.selectCaption)||void 0===r?void 0:r.toString(),enableClear:m,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,D(A(A({},I),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(Pt,{name:c,valueHook:null===(o=I.selectValue)||void 0===o?void 0:o.toString()})]}),e(yt,{fontSize:t.iconSize?t.iconSize:j.Small,children:I.isSelectionShow?d:g})]}))})},VEllipse:function(t){t.category;var n=P(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-ellipse-".concat(t.category?t.category:rn.Default),children:t.children})},VEmail:function(t){return e(gt,A({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VErrorBoundary:fn,VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,c=t.isPreview,l=t.previewImageWidth,u=t.textLength,d=t.autoUpload,h=t.renderLoader,g=t.renderPreview,m=P(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=p({inputFiles:[],isLoading:!1}),b=y[0],w=y[1],C=function(){w((function(e){return A(A({},e),{isLoading:!1})}))};f((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"},k=me(A({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:zt(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(d?(w(A(A({},b),{inputFiles:n,isLoading:!0})),d(t,C),e.currentTarget.className="v-file"):(w(A(A({},b),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S},m));return e(ye,{_base:k,className:"v-file",children:e(gt,A({type:"file",isDefaultValue:!0,ref:v},m,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:zt(e)?URL.createObjectURL(e):void 0}}));w(A(A({},b),{inputFiles:r})),d&&(w(A(A({},b),{inputFiles:r,isLoading:!0})),d(n,C))},overWrite:function(t){return c?g?e(Te,{cursor:R.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==Rt.Vertical?n(dt,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:et.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(dt,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(dt,{cross:et.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(De,{fontSize:j.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(h?h():e(Ot,{animationCategory:kt.Flash,children:e(ct,{children:e(yt,{fontSize:a,frontColor:i,children:e(Lt,{})})})}))]}):n(nt,{gap:"1em",children:[n(nt,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(dt,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(dt,{cross:et.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(De,{fontSize:j.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(h?h():e(Ot,{animationCategory:kt.Flash,children:e(yt,{fontSize:a,frontColor:i,children:e(Lt,{})})}))]}):e(Te,{cursor:R.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=me(t),r=n.getProps("footer").html;return e("footer",A({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){var n=t.handleSubmitCategory,r=t.handleSubmit,o=t.handleValidateError,a=P(t,["handleSubmitCategory","handleSubmit","handleValidateError"]),i=me(a),c=i.getProps("form").html;return e("form",A({noValidate:!!o,className:i.getClassName("v-form"),style:i.getStyle(),onSubmit:function(e){e.preventDefault();var t=e.currentTarget,a=e.nativeEvent.submitter;if((null==a?void 0:a.formNoValidate)||!o||t.checkValidity()){for(var i=0;i<t.elements.length;i++){(u=(s=t.elements.item(i)).closest(".v-validity"))&&u.classList.remove("invalid")}var c=new FormData(t);n===ft.FormData?r(c):r(pt(c))}else{var l=[];for(i=0;i<t.elements.length;i++){var s,u;(u=(s=t.elements.item(i)).closest(".v-validity"))&&(s.checkValidity()?u.classList.remove("invalid"):(u.classList.add("invalid"),l.push(s)))}o(l)}}},c,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=P(t,["image","backingBoard","style"]),c=me(i);return o&&(n=A(A({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ye,A({_base:c,className:"v-frame",style:n},t.customAttributes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGoogleFont:function(t){return f((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==pn.Italic})),i=a&&a.length>0?"ital,wght":"wght",c=document.createElement("link");c.rel="stylesheet";var l=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==pn.Normal?l.push("0,".concat(M(e.weight))):e.type==pn.Italic&&l.push("1,".concat(M(e.weight))):l.push(M(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e(Te,{className:"google-font-fragment"})},VGroup:function(n){var r=p({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=me(t),r=n.getProps("hr").html;return e("hr",A({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=me(t),r=n.getProps("header").html;return e("header",A({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:Pt,VHyperlink:nn,VImage:At,VLabel:De,VLine:function(t){t.category;var n=P(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-line-".concat(t.category)})},VLoading:Ot,VMain:function(t){var n=me(t),r=n.getProps("main").html;return e("main",A({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=me(A({width:"100vw",height:"100vh",backgroundColor:b.Dark75},t));return e(Se,{zIndex:t.zIndex?t.zIndex:1e8,category:be.Window,type:we.Center,children:e(Ne,{children:e(ye,{_base:n,className:"v-mask",children:e(Se,{category:be.Area,type:we.Center,children:t.children})})})})},VMonth:function(t){return e(gt,A({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(gt,A({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(gt,A({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=P(t,["isChecked"]);return e(gt,A({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(lt,{role:"radio","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(yt,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Ht:Yt,{})}),!!t.label&&e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=t.trackHeight,i=t.inputStyle,c=P(t,["thumbColor","thumbBorderColor","trackColor","trackHeight","inputStyle"]),l="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background"),s=a?A(A({},i),{"--den-range-track-height":a}):i;return e(gt,A({type:"range",inputClassName:l},c,{inputStyle:s}))},VRectangle:function(t){t.category;var n=P(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-rectangle-".concat(t.category?t.category:an.Default)})},VSearch:function(t){return e(gt,A({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=me(t),r=n.getProps("section").html;return e("section",A({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=P(t,["name","items","value","isMultiple","fontFamily"]),i=me(a),c=i.getProps("select").html;return e(ye,{_base:i,className:"v-select",children:e("select",A({multiple:o,name:n,defaultValue:r,"aria-label":n},c,{children:t.items.map((function(t){return e("option",{value:t.value,children:t.caption},t.value)}))}))})},VShadow:function(n){var r=me(n);return 0===o.toArray(n.children).length?e(De,{backgroundColor:b.Error,caption:"[VShadow] No Children!"}):e(t,{children:o.map(n.children,(function(e){return function(e){if(null==e||"boolean"==typeof e)return null;var t={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(t.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var o={className:r.getClassName("v-shadow-".concat(n.category?n.category:cn.Default)),style:A(A({},t),r.getStyle())};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,o)}(e)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=P(t,["ref","caption","isFormNoValidate"]),a=s(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=me(A({onClick:function(){a.current.click()}},o)),c=i.getProps("input").html;return n(ye,{_base:i,className:"v-submit",children:[n(ct,{cross:Me.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",A({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},c))]})},VSubmitWrapper:function(t){var r=me(t),o=s(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:yt,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,l=P(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=p({isOn:r}),u=s[0],d=s[1];f((function(){d({isOn:r})}),[r]);var h=o?e(yt,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:b.White,fontSize:j.Normal,children:o}):e(Te,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!u.isOn),d({isOn:!u.isOn}))},m=me(A({onClick:g},l));return e(ye,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(it,{role:"switch","aria-checked":u.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:g?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),g())}:void 0,borderRadius:T.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:b.Success:t.backgroundColor?t.backgroundColor:b.Placeholder,gap:a||"0.6em",children:[u.isOn?e(yt,{category:ht.Circle,frontColor:b.White,children:e($t,{})}):h,u.isOn?h:e(yt,{category:ht.Circle,frontColor:b.White,children:e($t,{})})]})})},VTel:function(t){return e(gt,A({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=P(t,["category","alignType","renderContent"]),c=me(i);switch(t.alignType){case tn.Center:o="v-text-center";break;case tn.Justify:o="v-text-justify";break;case tn.Left:o="v-text";break;case tn.Right:o="v-text-right";break;default:o="v-text"}if(n){var s=n,u=c.getProps(s).html;r=l(s,u,a())}else{u=c.getProps("span").html;r=l("span",u,a())}return e(ye,{_base:c,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,c=P(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),l=me(c),u=l.getProps("textarea").html,d=p({value:t.value}),h=d[0],g=d[1],m=s(null);f((function(){"object"==typeof r&&r?r.current=m.current:"function"==typeof r&&r(m.current),t.autoFocus&&m.current&&m.current.focus()}),[]);var v=(i||b.Placeholder)+"-placeholder";return e(ye,{category:X.Display,_base:l,className:"v-validity v-textarea ".concat(v),children:n(at,{cross:Me.Top,gap:"0.6em",children:[t.icon,e(Te,{children:e("textarea",A({ref:m},u,{id:t.id?t.id:t.name,value:o?t.valueHook:h.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):g({value:e.target.value})}}))})]})})},VTextBox:Jt,VTheme:function(t){var n=t.category,r=t.area,o=t.variables,a=P(t,["category","area","variables"]),i=me(A({id:r},a));return f((function(){var e;n==ln.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(sn,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(sn).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(sn).concat(t),o.fontWeights[t])})))}),[]),n==ln.Area?e(ye,{_base:i,className:"v-theme",children:t.children}):e(De,{backgroundColor:b.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(gt,A({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,c=P(t,["category","dockCategory","dockAlignment","renderOverlay"]),l=me(c),s=p({isShow:!1}),u=s[0],d=s[1],f=h();return n=r||un.Hover,e(ye,{_base:l,className:"v-tooltip",children:e(je,{category:o,alignment:a,renderOverlay:function(){return u.isShow?e(Te,{role:"tooltip",id:f,children:i()}):e(Te,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(Te,{"aria-describedby":u.isShow?f:void 0,onClick:function(){n==un.Click&&d({isShow:!u.isShow})},onMouseEnter:function(){n==un.Hover&&d({isShow:!0})},onMouseLeave:function(){n==un.Hover&&d({isShow:!1})},onFocus:function(){n==un.Hover&&d({isShow:!0})},onBlur:function(){n==un.Hover&&d({isShow:!1})},children:t.children})})})},VUrl:function(t){return e(gt,A({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=P(t,["sources"]),r=me(n),o=r.getProps("video").html;return e("video",A({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(gt,A({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=P(t,["category"]),o=me(r);return e(ye,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return F},get VisibilityType(){return O},WeComSignin:function(t){return e("div",{className:"wecom-signin",onClick:function(){window.location.href="https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=".concat(t.appId,"&agentid=").concat(t.agentId,"&redirect_uri=").concat(t.redirectUrl,"&state=").concat("fewbox")},children:t.children})},X:nt,XAround:function(e){return tt(e,void 0,void 0,(function(){return Ae.SpaceAround}))},XAutoBoth:function(t){var n=me(t);return tt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Xe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoCenter:rt,XAutoLeft:ot,XAutoLefts:function(t){var n=me(t);return tt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Xe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:at,XAutoRights:function(t){return tt(t,(function(t,n,r,o){return e(Xe,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:it,XCenter:ct,get XCrossType(){return Me},XCustom:function(t){return tt(t,(function(n,r,o,a){var i=e(Xe,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Xe,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=me(t);return tt(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Xe,{basis:t.basis,shrink:c,children:r}):e(Xe,{grow:1,shrink:c,children:r})}))},XEvenly:function(e){return tt(e,void 0,void 0,(function(){return Ae.SpaceEvenly}))},XLeft:lt,XRight:function(e){return tt(e,void 0,void 0,(function(){return Ae.End}))},XWrapAround:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.SpaceAround}))},XWrapBetween:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.SpaceBetween}))},XWrapBottom:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.End}))},XWrapEvenly:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.SpaceEvenly}))},XWrapMiddle:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.Center}))},XWrapTop:function(e){return tt(e,void 0,(function(){return Fe.Wrap}),void 0,(function(){return We.Start}))},Y:dt,YAround:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.SpaceAround}))},YAutoBoth:function(t){var n=me(t);return ut(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Xe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=me(t);return ut(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Xe,{grow:1,shrink:i,children:t}):e(Xe,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return ut(t,(function(t,n,r,o){return e(Xe,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=me(t);return ut(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Xe,{grow:1,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return ut(t,(function(t,n,r,o){return e(Xe,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=me(t);return ut(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Xe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Xe,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.SpaceBetween}))},YBottom:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.End}))},get YCrossType(){return et},YCustom:function(t){return ut(t,(function(n,r,o,a){var i=e(Xe,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Xe,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=me(t);return ut(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Xe,{basis:t.basis,shrink:c,children:r}):e(Xe,{grow:1,shrink:c,children:r})}))},YEvenly:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.SpaceEvenly}))},YMiddle:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.Center}))},YTop:function(e){return ut(e,void 0,void 0,void 0,(function(){return Ae.Start}))},YWrapAround:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.SpaceAround}),void 0)},YWrapBetween:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.SpaceBetween}))},YWrapCenter:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.Center}))},YWrapEvenly:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.SpaceEvenly}))},YWrapLeft:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.Start}))},YWrapRight:function(e){return ut(e,void 0,(function(){return Fe.Wrap}),(function(){return We.End}))},get ZoneCategory(){return ve},convertFormDataToJson:pt,getGeneratedClassName:se,parseJWT:function(e){var t={},n=m(e,{header:!0});return t.role=n["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=n.exp,t.iss=n.iss,t.aud=n.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=n["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=n["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=n["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=n["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=n["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=n["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t}});!function(e){e.Components=wn}(bn||(bn={}));export{bn as Den};
2
2
  //# sourceMappingURL=index.js.map