@fewbox/den-web 0.1.43 → 0.2.0-preview.10

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 (64) hide show
  1. package/engine.js +2 -0
  2. package/engine.js.map +1 -0
  3. package/index-engine.d.ts +27 -0
  4. package/index-web.d.ts +1 -4
  5. package/index.css +1 -1
  6. package/index.js +2 -1
  7. package/index.js.map +1 -1
  8. package/package.json +10 -1
  9. package/scripts/generate-packages.js +12 -0
  10. package/server.js +71 -0
  11. package/src/components/Auth/GoogleGrant/index.d.ts +10 -8
  12. package/src/components/Auth/GoogleSignin/index.d.ts +6 -5
  13. package/src/components/Engine/Base/index.d.ts +21 -22
  14. package/src/components/Engine/index.d.ts +300 -124
  15. package/src/components/Layout/Breakpoint/index.d.ts +28 -0
  16. package/src/components/Layout/Dock/index.d.ts +26 -27
  17. package/src/components/Layout/Flex/index.d.ts +40 -34
  18. package/src/components/Layout/FlexItem/index.d.ts +8 -7
  19. package/src/components/Layout/Position/index.d.ts +19 -17
  20. package/src/components/Layout/PositionArea/index.d.ts +5 -4
  21. package/src/components/Layout/Responsive/index.d.ts +2 -2
  22. package/src/components/Layout/XBase/index.d.ts +10 -8
  23. package/src/components/Layout/YBase/index.d.ts +10 -8
  24. package/src/components/View/VAnimation/index.d.ts +122 -118
  25. package/src/components/View/VAvatar/index.d.ts +0 -1
  26. package/src/components/View/VBackground/index.d.ts +10 -10
  27. package/src/components/View/VCardWindow/index.d.ts +6 -5
  28. package/src/components/View/VChromeExtensionValidator/index.d.ts +8 -7
  29. package/src/components/View/VErrorBoundary/index.d.ts +1 -1
  30. package/src/components/View/VForm/index.d.ts +7 -7
  31. package/src/components/View/VGoogleFont/index.d.ts +5 -4
  32. package/src/components/View/VHyperlink/index.d.ts +7 -6
  33. package/src/components/View/VImage/index.d.ts +12 -8
  34. package/src/components/View/VInput/VColor/index.d.ts +0 -2
  35. package/src/components/View/VInput/VDate/index.d.ts +0 -2
  36. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +0 -2
  37. package/src/components/View/VInput/VFile/index.d.ts +5 -4
  38. package/src/components/View/VInput/VGroup/index.d.ts +1 -1
  39. package/src/components/View/VInput/VRange/index.d.ts +2 -1
  40. package/src/components/View/VInput/index.d.ts +5 -4
  41. package/src/components/View/VLabel/index.d.ts +53 -47
  42. package/src/components/View/VPhoto/index.d.ts +12 -10
  43. package/src/components/View/VRoot/index.d.ts +5 -4
  44. package/src/components/View/VShadow/index.d.ts +5 -4
  45. package/src/components/View/VShape/VEllipse/index.d.ts +5 -4
  46. package/src/components/View/VShape/VLine/index.d.ts +5 -4
  47. package/src/components/View/VShape/VRectangle/index.d.ts +5 -4
  48. package/src/components/View/VSvg/index.d.ts +11 -7
  49. package/src/components/View/VText/index.d.ts +18 -16
  50. package/src/components/View/VTextArea/index.d.ts +2 -0
  51. package/src/components/View/VTheme/index.d.ts +14 -7
  52. package/src/components/View/VTooltip/index.d.ts +5 -4
  53. package/src/components/View/VVideo/index.d.ts +1 -4
  54. package/src/components/View/VZone/index.d.ts +9 -8
  55. package/src/components/core.d.ts +18 -6
  56. package/src/components/web.d.ts +10 -3
  57. package/src/store/index.d.ts +6 -6
  58. package/templates/.claude/skills/fewbox-den/SKILL.md +425 -96
  59. package/templates/style/_core.scss +82 -0
  60. package/templates/style/_root-properties.scss +48 -0
  61. package/templates/style/_variables.scss +154 -3
  62. package/tsconfig.app.tsbuildinfo +1 -0
  63. package/src/components/Layout/Display/index.d.ts +0 -18
  64. package/src/components/Layout/index.d.ts +0 -8
package/index.js CHANGED
@@ -1,2 +1,3 @@
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,useState as u,useRef as s,useCallback as d,useLayoutEffect as f,useEffect as h,useId as p,Component as g}from"react";import{createPortal as m}from"react-dom";import{jwtDecode as v}from"jwt-decode";var y=function(e,t){return y=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])},y(e,t)};function b(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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var w,C,k,S,_,x,B,I,T=function(){return T=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},T.apply(this,arguments)};function D(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 O(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"}(w||(w={})),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"}(C||(C={})),function(e){e.Default="font-family"}(k||(k={})),function(e){e.Default="line-height"}(S||(S={})),function(e){e.Default="padding"}(_||(_={})),function(e){e.Default="letter-spacing"}(x||(x={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(B||(B={})),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"}(I||(I={}));var L,N,R,E=function(e){var t;switch(e){case C.Thin:t=100;break;case C.ExtraLight:t=200;break;case C.Light:t=300;break;case C.Regular:t=400;break;case C.Medium:t=500;break;case C.SemiBold:t=600;break;case C.Bold:t=700;break;case C.ExtraBold:t=800;break;case C.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"}(L||(L={})),function(e){e.All="all",e.Before="before",e.After="after"}(N||(N={})),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"}(R||(R={}));var V,F,z=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),A=function(e){this.component=e},P=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return b(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(L).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}(A),W=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return b(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(A),j=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 b(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 R.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case R.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case R.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case R.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case R.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case R.Left:r=" ".concat(e).concat(o,"-border-left");break;case R.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case R.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case R.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case R.Right:r=" ".concat(e).concat(o,"-border-right");break;case R.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case R.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case R.Top:r=" ".concat(e).concat(o,"-border-top");break;case R.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(w.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(w.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(w.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(w.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(w.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(w.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(w.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(w.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(A),U=function(e,t,n,r,o,a,i,c,l,u,s,d,f,h){return new j(new P(new W(new z(e),o),n,r),t,a,i,c,l,u,s,d,f,h).getClassName()},H=["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"],M=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],X=["onError","onLoad"],Y=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],G={div:O(O([],H,!0),M,!0),input:O(O(O(O([],H,!0),M,!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:O(O(O([],H,!0),M,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:O(O([],H,!0),M,!0),abbr:O(O([],H,!0),M,!0),span:O(O([],H,!0),M,!0),h1:O(O([],H,!0),M,!0),h2:O(O([],H,!0),M,!0),h3:O(O([],H,!0),M,!0),h4:O(O([],H,!0),M,!0),h5:O(O([],H,!0),M,!0),h6:O(O([],H,!0),M,!0),i:O(O([],H,!0),M,!0),b:O(O([],H,!0),M,!0),u:O(O([],H,!0),M,!0),em:O(O([],H,!0),M,!0),strong:O(O([],H,!0),M,!0),blockquote:O(O([],H,!0),M,!0),cite:O(O([],H,!0),M,!0),code:O(O([],H,!0),M,!0),del:O(O([],H,!0),M,!0),dfn:O(O([],H,!0),M,!0),ins:O(O([],H,!0),M,!0),kbd:O(O([],H,!0),M,!0),mark:O(O([],H,!0),M,!0),pre:O(O([],H,!0),M,!0),q:O(O([],H,!0),M,!0),s:O(O([],H,!0),M,!0),samp:O(O([],H,!0),M,!0),small:O(O([],H,!0),M,!0),summary:O(O([],H,!0),M,!0),sup:O(O([],H,!0),M,!0),sub:O(O([],H,!0),M,!0),time:O(O([],H,!0),M,!0),var:O(O([],H,!0),M,!0),wbr:O(O([],H,!0),M,!0),p:O(O([],H,!0),M,!0),address:O(O([],H,!0),M,!0),article:O(O([],H,!0),M,!0),aside:O(O([],H,!0),M,!0),details:O(O(O([],H,!0),M,!0),["onToggle"],!0),section:O(O([],H,!0),M,!0),form:O(O(O([],H,!0),M,!0),["onReset","onSubmit"],!0),dialog:O(O(O([],H,!0),M,!0),["onCancel","onClose"],!0),img:O(O(O(O([],H,!0),M,!0),X,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:O(O(O(O([],H,!0),M,!0),X,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:O(O(O([],H,!0),M,!0),X,!0),embed:O(O(O([],H,!0),M,!0),X,!0),link:O(O(O([],H,!0),M,!0),X,!0),svg:O(O(O([],H,!0),M,!0),X,!0),audio:O(O(O([],H,!0),M,!0),Y,!0),video:O(O(O([],H,!0),M,!0),Y,!0)},q=["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"];!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(V||(V={})),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"}(F||(F={}));var Z,J=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=T(T({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=V.Self?T(T({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):T(T({},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"}(Z||(Z={}));var K,Q=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:Z.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"}(K||(K={}));var $,ee,te,ne=function(t){var n=(t.category==K.Display?{}:t._base.getProps("div")).html;return e("div",T({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},re=function(t){var n=ce(t);return e(ne,{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"}($||($={})),function(e){e.Default="default",e.Circle="circle"}(ee||(ee={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(te||(te={}));var oe,ae,ie=c((function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,u=t.caption,s=D(t,["category","type","alignType","isTextOverflow","caption"]),d=ce(T({display:null==t.category||t.category==$.Span?"inline-block":"block"},s)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case te.Center:r="v-label-center";break;case te.Justify:r="v-label-justify";break;case te.Left:r="v-label";break;case te.Right:r="v-label-right";break;default:r="v-label"}if(a==ee.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=l(g,m,u)}else{var v=d.getProps("span").html;n=l("span",v,u)}return a==ee.Circle?e(Q,{children:e(re,T({width:"1.6em",height:"1.6em",borderRadius:"2em"},h,{className:r},p,{children:e(J,{category:V.Area,type:F.Center,children:n})}))}):e(re,T({},h,{className:"".concat(t.className," ").concat(r)},p,{children:n}))})),ce=function(t){return{getClassName:function(e){var n=U(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),T(T(T({},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(ie,{backgroundColor:w.Error,caption:"[Base] No Children!"})}return t.children?t.children:e(ie,{backgroundColor:w.Error,caption:"[Base] No Children!"})}return e(ie,{backgroundColor:w.Error,caption:"[Base] No Children!"})},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){q.includes(o)?n[o]=t[o]:G[e]&&G[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"}(oe||(oe={})),function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(ae||(ae={}));var le,ue;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(le||(le={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(ue||(ue={}));var se,de,fe=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!=ue.Only?n.type==ue.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==ue.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(ie,{backgroundColor:w.Error,caption:"[Display] No Children!"})},he=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"}(se||(se={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(de||(de={}));var pe,ge,me,ve,ye,be=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,c=void 0===i?he:i,l=t.renderOverlay,p=D(t,["category","offset","overlayZIndex","renderOverlay"]),g=ce(p),v=g.getProps("div").html,y=u({isMounted:!1}),b=y[0],w=y[1],C=s(null),k=s(null),S=e("div",{ref:k,className:"dock-overlay",style:{zIndex:c},children:l()}),_=d((function(){var e=C.current,n=k.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),c=0,l=0;switch(r){case se.Top:c=o.left+(o.width-i.width)/2,l=o.top-i.height-a;break;case se.Right:c=o.left+o.width+a,l=o.top+(o.height-i.height)/2;break;case se.Bottom:c=o.left+(o.width-i.width)/2,l=o.top+o.height+a;break;case se.Left:c=o.left-i.width-a,l=o.top+(o.height-i.height)/2;break;case se.LeftTop:t.alignment==de.Horizontal?(c=o.left-i.width-a,l=o.top+a):t.alignment==de.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 se.RightTop:t.alignment==de.Horizontal?(c=o.left+o.width+a,l=o.top+a):t.alignment==de.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 se.LeftBottom:t.alignment==de.Horizontal?(c=o.left-i.width-a,l=o.top+(o.height-i.height)-a):t.alignment==de.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 se.RightBottom:t.alignment==de.Horizontal?(c=o.left+o.width+a,l=o.top+(o.height-i.height)-a):t.alignment==de.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 se.InnerTop:c=o.left+(o.width-i.width)/2+a,l=o.top+a;break;case se.InnerRight:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)/2;break;case se.InnerBottom:c=o.left+(o.width-i.width)/2,l=o.top+(o.height-i.height)-a;break;case se.InnerLeft:c=o.left+a,l=o.top+(o.height-i.height)/2;break;case se.InnerLeftTop:c=o.left+a,l=o.top+a;break;case se.InnerRightTop:c=o.left+(o.width-i.width)-a,l=o.top+a;break;case se.InnerLeftBottom:c=o.left+a,l=o.top+(o.height-i.height)-a;break;case se.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,l]);return f((function(){requestAnimationFrame(_)}),[_,l,c]),h((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)}}),[_]),f((function(){w({isMounted:!0})}),[]),n("div",T({ref:C,className:g.getClassName("dock"),style:g.getStyle()},v,{children:[t.children,b.isMounted&&"undefined"!=typeof document&&m(S,document.body)]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(pe||(pe={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(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={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ve||(ve={})),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"}(ye||(ye={}));var we,Ce=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=D(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=ce(l),s=u.getProps("div").html,d=T(T({},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",T({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"}(we||(we={}));var ke,Se=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:T(T({},n),{display:"flex",flexDirection:"column"}),children:t.children})},_e=function(n){return e(t,{children:n.children})},xe=function(n){return e(t,{children:n.children})},Be=function(n){return e(t,{children:n.children})},Ie=function(n){return e(t,{children:n.children})},Te=function(n){return e(t,{children:n.children})},De=function(n){return e(t,{children:n.children})},Oe=function(n){return e(t,{children:n.children})},Le=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"}(ke||(ke={}));var Ne,Re=function(n,r,a,i,c){n.cross;var l=n.itemsShrink,u=D(n,["cross","itemsShrink"]),s=ce(u),d=function(t,n,o){return r?r(t,n,o,l):e(Se,{alignSelf:o,shrink:l,children:t},"child".concat(n))};return e(Ce,T({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case ke.Stretch:e=ve.Stretch;break;case ke.Baseline:e=ve.Baseline;break;case ke.Bottom:e=ve.End;break;case ke.Middle:e=ve.Center;break;case ke.Top:e=ve.Start;break;default:e=ve.Center}else e=ve.Center;return e}(),wrap:a?a():ge.NoWrap,justifyContent:i?i():me.Start,alignContent:c?c():ye.Start},u,{children:o.map(s.getChildren(),(function(n,r){var o=n;return o.type?o.type===Le?d(o.props.children,r,we.Start):o.type===Ie?d(o.props.children,r,we.Center):o.type===xe?d(o.props.children,r,we.End):o.type===Oe?d(o.props.children,r,we.Stretch):o.type===_e?d(o.props.children,r,we.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},Ee=function(t){return Re(t,(function(t,n,r,o){return e(Se,{grow:1,alignSelf:r,shrink:o,children:t})}))},Ve=function(t){var n=ce(t);return Re(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Se,{grow:1,alignSelf:a,shrink:i,children:t}):e(Se,{grow:0,alignSelf:a,shrink:i,children:t})}))},Fe=function(t){return Re(t,(function(t,n,r,o){return e(Se,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},ze=function(t){var n=ce(t);return Re(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Se,{grow:1,shrink:i,children:t}):e(Se,{grow:0,shrink:i,children:t})}))},Ae=function(e){return Re(e,void 0,void 0,(function(){return me.SpaceBetween}))},Pe=function(e){return Re(e,void 0,void 0,(function(){return me.Center}))},We=function(e){return Re(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(Ne||(Ne={}));var je,Ue=function(n,r,a,i,c){var l=n.cross,u=n.itemsShrink,s=D(n,["cross","itemsShrink"]),d=ce(s),f=function(t,n,o){return r?r(t,n,o,u):e(Se,{alignSelf:o,shrink:u,children:t},"child".concat(n))};return e(Ce,T({vClassName:"v-ybase",wrap:a?a():ge.NoWrap,alignContent:i?i():ye.Start,alignItems:function(){var e;if(l)switch(l){case Ne.Left:e=ve.Start;break;case Ne.Center:e=ve.Center;break;case Ne.Right:e=ve.End;break;case Ne.Baseline:e=ve.Baseline;break;default:e=ve.Stretch}else e=ve.Stretch;return e}(),direction:pe.Column,justifyContent:c?c():me.Start},s,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===Be?f(o.props.children,r,we.Start):o.type===Ie||o.type===De?f(o.props.children,r,we.Center):o.type===Te?f(o.props.children,r,we.End):o.type===Oe?f(o.props.children,r,we.Stretch):o.type===_e?f(o.props.children,r,we.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},He=function(t){return Ue(t,(function(t,n,r,o){return e(Se,{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"}(je||(je={}));var Me,Xe=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]=O(O([],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"}(Me||(Me={}));var Ye,Ge=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,c=t.value,l=t.valueHook,d=t.setStateHook,f=t.isValueShow,p=t.valueSize,g=t.frontColor;t.valueCategory;var m,v=t.valuePadding,y=t.inputStyle,b=t.inputClassName,C=t.overWrite,k=t.renderOptions,S=t.onChange,_=t.inheritClassName,x=t.customAttributes,B=D(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),I=ce(B),O=I.getProps("input").html,N=u({value:void 0!==t.value?t.value:""}),R=N[0],E=N[1],V=s(null);return h((function(){"object"==typeof r&&r?r.current=V.current:"function"==typeof r&&r(V.current),t.autoFocus&&V.current&&V.current.focus()}),[r,t.autoFocus]),C&&(m=C(V)),n(ne,{_base:I,className:"v-validity v-input".concat(_?" ".concat(_):""),children:[n(He,{display:m?"none":void 0,children:[n(Ve,{gap:"0.6em",children:[!!i&&e(re,{children:i}),n(re,{width:"100%",lineHeight:0,children:[e("input",T({ref:V},x,{className:(b?"".concat(b," "):"")+"".concat(I.getClassName("v-input-native")),style:y,type:o,value:l||R.value,onChange:function(e){var t;f&&E({value:null===(t=V.current)||void 0===t?void 0:t.value}),S&&S(e),d?d(e.target.value):E({value:e.target.value})}},O)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!k&&k(V)]}),!!f&&e(Pe,{children:e(ie,{padding:v,isAutoSize:t.isAutoSize,fontSize:p||L.Normal,frontColor:g||w.Black,caption:void 0!==R.value?R.value.toString():c?c.toString():""})})]}),!!m&&m]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Ye||(Ye={}));var qe,Ze,Je=c((function(n){var r=ce(n);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:Ye.Default,o=r.getClassName("v-svg-".concat(t)),c=n.onClick,l=n.onMouseEnter,u=n.onMouseLeave,s={className:o,style:T(T({},r.getStyle()),{cursor:c?"pointer":"inherit"}),onClick:c,onMouseEnter:l,onMouseLeave:u};return e.type===a?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,s)}(e)}))})}));function Ke(){return Ke=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},Ke.apply(null,arguments)}var Qe,$e=function(e){return r.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qe||(qe=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"})),Ze||(Ze=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 et(){return et=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},et.apply(null,arguments)}var tt,nt,rt,ot,at=function(e){return r.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Qe||(Qe=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"}(tt||(tt={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(nt||(nt={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(rt||(rt={})),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"}(ot||(ot={}));var it,ct=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})},lt=function(t){t.animationCategory,t.animationSpeed;var n=D(t,["animationCategory","animationSpeed"]),r=ce(n);return e(ne,{_base:r,className:"v-loading",children:e(ct,{category:t.animationCategory?t.animationCategory:tt.Flip,speed:t.animationSpeed?t.animationSpeed:rt.Slower,repeat:nt.Infinite,children:t.children})})};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 st,dt=function(e){return r.createElement("svg",ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),it||(it=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"}(st||(st={}));var ft,ht=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"}(ft||(ft={}));var pt,gt,mt=c((function(t){var n=t.category,r=D(t,["category"]),o=ce(r),a=o.getProps("img").html,i=n||ft.Default;return e("img",T({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))})),vt=function(t){return e(Ge,T({display:"none",type:"hidden"},t))};function yt(){return yt=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},yt.apply(null,arguments)}var bt,wt=function(e){return r.createElement("svg",yt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),pt||(pt=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"})),gt||(gt=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 Ct(){return Ct=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},Ct.apply(null,arguments)}var kt,St,_t=function(e){return r.createElement("svg",Ct({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:"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 xt(){return xt=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},xt.apply(null,arguments)}var Bt,It=function(e){return r.createElement("svg",xt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),kt||(kt=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),St||(St=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Tt=function(t){var r=t.enableClear,o=D(t,["enableClear"]);return e(Ge,r?T({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(Ee,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(Je,{fontSize:L.ExtraSmall,frontColor:w.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(It,{})})]})}}):T({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};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 Ot,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("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(Ot||(Ot={}));var Nt,Rt,Et=function(t){var n=t.category,r=t.to,o=D(t,["category","to"]),a=ce(o),i=a.getProps("a").html;return e(ne,{_base:a,className:"v-hyperlink",children:e("a",T({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"}(Nt||(Nt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Rt||(Rt={}));var Vt;!function(e){e.Default="default",e.Fixed="fixed"}(Vt||(Vt={}));var Ft;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Ft||(Ft={}));var zt;!function(e){e.Default="default",e.Fixed="fixed"}(zt||(zt={}));var At;!function(e){e.Default="default",e.Max="max"}(At||(At={}));var Pt,Wt="--den-";!function(e){e.Global="global",e.Area="area"}(Pt||(Pt={}));var jt;!function(e){e.Hover="hover",e.Click="click"}(jt||(jt={}));var Ut,Ht=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return b(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(ie,{backgroundColor:w.Error,frontColor:w.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"}(Ut||(Ut={}));var Mt;!function(e){e.Normal="normal",e.Italic="italic"}(Mt||(Mt={}));var Xt,Yt,Gt=function(t){return e("div",{id:t.id})};!function(e){e.Popup="popup",e.Redirect="redirect"}(Xt||(Xt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Yt||(Yt={}));var qt,Zt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(qt||(qt={}));var Jt,Kt=Object.freeze({__proto__:null,get AnimationCategory(){return tt},get AnimationDelay(){return ot},get AnimationRepeat(){return nt},get AnimationSpeed(){return rt},get BackgroundPositionType(){return je},Base:ce,get BorderRadiusType(){return B},get BreakpointType(){return oe},get ColorType(){return w},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:fe,get DisplayCategory(){return le},get DisplayType(){return ue},Dock:be,get DockAlignment(){return de},get DockCategory(){return se},get EllipseCategory(){return Vt},get ExtensionStatus(){return Ut},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 st},Flex:Ce,get FlexAlignContentType(){return ye},get FlexAlignItemsType(){return ve},get FlexDirectionType(){return pe},FlexItem:Se,get FlexItemAlignSelfType(){return we},get FlexJustifyContentType(){return me},get FlexWrapType(){return ge},get FontFamilyType(){return k},get FontSizeType(){return L},get FontWeightType(){return C},get GoogleFontType(){return Mt},GoogleGrant:function(t){return h((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==Yt.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(re,{className:"google-grant-fragment"}):e(Gt,{id:Zt,children:t.children})},get GoogleGrantCategory(){return Yt},get GoogleGrantUXMode(){return Xt},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,u=t.disableGoogle,s=t.googleAuthButtonId,d=s||"fewbox-google-auth";return h((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!=qt.Prompt?r:void 0,use_fedcm_for_prompt:r==qt.Prompt,callback:function(e){i(e.credential)},login_uri:o}),r==qt.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!")),u())}l()},e.onerror=function(e){console.error(e),u()},document.body.appendChild(e),function(){e.remove()}}}),[n,r,o,a,i,c,l,u,d]),e(Gt,{id:d})},get GoogleSigninUXMode(){return qt},get HandleSubmitCategory(){return Me},get HyperlinkCategory(){return Ot},get ImageCategory(){return ft},get LabelAlignType(){return te},get LabelCategory(){return $},get LabelType(){return ee},get LetterSpacingType(){return x},get LineCategory(){return Ft},get LineHeightType(){return S},get PaddingType(){return _},Position:J,PositionArea:Q,get PositionAreaCategory(){return Z},get PositionCategory(){return V},get PositionType(){return F},Responsive:function(r){return n(t,{children:[e(fe,{category:le.Hidden,type:ue.Down,breakpoint:r.breakpointType?r.breakpointType:oe.Small,children:r.desktop}),e(fe,{category:le.Hidden,type:ue.Up,breakpoint:r.breakpointType?r.breakpointType:oe.Small,children:r.mobile})]})},SBaseline:_e,SBottom:xe,SCenter:De,SLeft:Be,SMiddle:Ie,SRight:Te,SStretch:Oe,STop:Le,get ShadowCategory(){return At},get SvgCategory(){return Ye},get TextAlignType(){return Rt},get TextCategory(){return Nt},get ThemeCategory(){return Pt},get TooltipCategory(){return jt},VActionForm:function(t){return e("form",T({className:"v-action-form"},t,{children:t.children}))},VAnimation:ct,VAudio:function(t){t.sources;var n=D(t,["sources"]),r=ce(n),o=r.getProps("audio").html;return e("audio",T({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=D(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=ce(T(T({},r),{style:n}));return e(ne,{_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=D(t,["fileIcon","base64Image"]),i=ce(a),c=u({base64Image:o}),l=c[0],s=c[1];return n(ne,{_base:i,className:"v-base64file",children:[e(vt,{name:t.name,value:l.base64Image}),e(Ge,T({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(He,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(mt,{fontSize:t.fontSize,category:ft.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},VBoundary:re,VCheckBox:function(t){var r=t.isChecked,o=D(t,["isChecked"]);return e(Ge,T({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(We,{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(Je,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?$e:at,{})}),!!t.label&&e(ie,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VChromeExtensionValidator:function(t){var n=u({}),r=n[0],o=n[1];if(h((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?Ut.Ready:Ut.Outdated,meta:e})})).catch((function(){return o({status:Ut.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===Ut.Ready?e(re,{className:"v-chrome-extension-validator-fragment"}):(r.status===Ut.Uninstalled?a=t.uninstalledMessage:r.status===Ut.Outdated&&(a=t.outdatedMessage),e(Et,{category:Ot.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(re,{className:"v-chrome-extension-validator-fragment"})},VColor:function(t){return e(Ge,T({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ge,T({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ge,T({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,c=t.name,l=t.icon,d=t.emptyIcon,f=t.downIcon,g=t.upIcon,m=t.enableClear,v=t.items,y=t.dockCategory,b=t.dockAlignment,C=t.menuBackgroundColor,k=t.menuZIndex;t.onClick;var S=t.overWriteDropdownMenu,_=t.overWriteDropdownItem,x=t.handleChange,B=D(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),I=ce(B),O=u({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),N=O[0],R=O[1],E=s(null),V=p();h((function(){"object"==typeof a&&a?a.current=E.current:"function"==typeof a&&a(E.current),t.autoFocus&&E.current&&E.current.focus()}),[]);var F=k||he;return e(be,{width:"fit-content",overlayZIndex:N.isSelectionShow?F:-2147483648,category:y||se.RightBottom,alignment:b||de.Vertical,renderOverlay:function(){return e(re,{visibility:N.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius,role:"listbox",id:V,children:S?S(N.items):n(He,{backgroundColor:C||w.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[N.items.map((function(t){return _?e(re,{role:"option","aria-selected":t.value===N.selectValue,children:_(t)},t.value):n(We,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===N.selectValue,onClick:function(){R(T(T({},N),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),x&&x(t.value)},children:[t.icon?e(Je,{fontSize:L.ExtraSmall,children:t.icon}):e(re,{className:"v-dropdown-icon-fragment"}),e(ie,{caption:t.caption})]},t.value)})),!(0!=N.items.length)&&e(Je,{fontSize:L.ExtraSmall,onClick:function(){},children:d})]})})},children:n(Fe,T({className:I.getClassName("v-dropdown"),style:I.getStyle(t.style)},B,{role:"combobox","aria-expanded":N.isSelectionShow,"aria-haspopup":"listbox","aria-controls":V,onClick:function(){R(T(T({},N),{isSelectionShow:!N.isSelectionShow}))},children:[n(re,{children:[e(Tt,{ref:E,id:t.id,padding:0,fontSize:t.fontSize,frontColor:t.frontColor,icon:e(Je,{fontSize:t.iconSize?t.iconSize:L.Small,children:N.selectIcon?N.selectIcon:l}),valueHook:null===(r=N.selectCaption)||void 0===r?void 0:r.toString(),enableClear:m,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,R(T(T({},N),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(vt,{name:c,valueHook:null===(o=N.selectValue)||void 0===o?void 0:o.toString()})]}),e(Je,{fontSize:t.iconSize?t.iconSize:L.Small,children:N.isSelectionShow?f:g})]}))})},VEllipse:function(t){t.category;var n=D(t,["category"]),r=ce(n);return e(ne,{_base:r,className:"v-ellipse-".concat(t.category?t.category:Vt.Default),children:t.children})},VEmail:function(t){return e(Ge,T({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VErrorBoundary:Ht,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,d=t.textLength,f=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=D(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=u({inputFiles:[],isLoading:!1}),b=y[0],w=y[1],C=function(){w((function(e){return T(T({},e),{isLoading:!1})}))};h((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var k=function(e){e.preventDefault(),e.currentTarget.className="v-file"},S=ce(T({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:ht(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(f?(w(T(T({},b),{inputFiles:n,isLoading:!0})),f(t,C),e.currentTarget.className="v-file"):(w(T(T({},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:k,onDragLeave:k,onDragExit:k},m));return e(ne,{_base:S,className:"v-file",children:e(Ge,T({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:ht(e)?URL.createObjectURL(e):void 0}}));w(T(T({},b),{inputFiles:r})),f&&(w(T(T({},b),{inputFiles:r,isLoading:!0})),f(n,C))},overWrite:function(t){return c?g?e(re,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==st.Vertical?n(He,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Ne.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(He,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(He,{cross:Ne.Center,children:[!!t.objectUrl&&e(re,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(ie,{fontSize:L.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(lt,{animationCategory:tt.Flash,children:e(Pe,{children:e(Je,{fontSize:a,frontColor:i,children:e(dt,{})})})}))]}):n(Ee,{gap:"1em",children:[n(Ee,{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(He,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(He,{cross:Ne.Center,children:[!!t.objectUrl&&e(re,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(ie,{fontSize:L.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(lt,{animationCategory:tt.Flash,children:e(Je,{fontSize:a,frontColor:i,children:e(dt,{})})}))]}):e(re,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=ce(t),r=n.getProps("footer").html;return e("footer",T({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=D(t,["handleSubmitCategory"]),r=ce(n),o=r.getProps("main").html;return e("form",T({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.classList.remove("invalid")}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==Me.FormData)t.handleSubmit(r);else{var o=Xe(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.classList.remove("invalid"):i.classList.add("invalid")),t.handleValidateError&&t.handleValidateError(a)}}},o,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=D(t,["image","backingBoard","style"]),c=ce(i);return o&&(n=T(T({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ne,T({_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 h((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==Mt.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==Mt.Normal?l.push("0,".concat(E(e.weight))):e.type==Mt.Italic&&l.push("1,".concat(E(e.weight))):l.push(E(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(re,{className:"google-font-fragment"})},VGroup:function(n){var r=u({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=ce(t),r=n.getProps("hr").html;return e("hr",T({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=ce(t),r=n.getProps("header").html;return e("header",T({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:vt,VHyperlink:Et,VImage:mt,VLabel:ie,VLine:function(t){t.category;var n=D(t,["category"]),r=ce(n);return e(ne,{_base:r,className:"v-line-".concat(t.category)})},VLoading:lt,VMain:function(t){var n=ce(t),r=n.getProps("main").html;return e("main",T({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=ce(T({width:"100vw",height:"100vh",backgroundColor:w.Dark75},t));return e(J,{zIndex:t.zIndex?t.zIndex:1e8,category:V.Window,type:F.Center,children:e(Q,{children:e(ne,{_base:n,className:"v-mask",children:e(J,{category:V.Area,type:F.Center,children:t.children})})})})},VMonth:function(t){return e(Ge,T({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ge,T({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ge,T({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=D(t,["isChecked"]);return e(Ge,T({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(We,{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(Je,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?wt:_t,{})}),!!t.label&&e(ie,{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=D(t,["thumbColor","thumbBorderColor","trackColor"]),i="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background");return e(Ge,T({type:"range",inputClassName:i},a))},VRectangle:function(t){t.category;var n=D(t,["category"]),r=ce(n);return e(ne,{_base:r,className:"v-rectangle-".concat(t.category?t.category:zt.Default)})},VSearch:function(t){return e(Ge,T({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=ce(t),r=n.getProps("section").html;return e("section",T({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=D(t,["name","items","value","isMultiple","fontFamily"]),i=ce(a),c=i.getProps("select").html;return e(ne,{_base:i,className:"v-select",children:e("select",T({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=ce(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:At.Default)),style:T(T({},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(ie,{backgroundColor:w.Error,caption:"[VShadow] No Children!"})}(t)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=D(t,["ref","caption","isFormNoValidate"]),a=s(null);h((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=ce(T({onClick:function(){a.current.click()}},o)),c=i.getProps("input").html;return n(ne,{_base:i,className:"v-submit",children:[n(Pe,{cross:ke.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",T({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},c))]})},VSubmitWrapper:function(t){var r=ce(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:Je,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,l=D(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=u({isOn:r}),d=s[0],f=s[1];h((function(){f({isOn:r})}),[r]);var p=o?e(Je,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:w.White,fontSize:L.Normal,children:o}):e(re,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!d.isOn),f({isOn:!d.isOn}))},m=ce(T({onClick:g},l));return e(ne,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(Ae,{role:"switch","aria-checked":d.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:g?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),g())}:void 0,borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:w.Success:t.backgroundColor?t.backgroundColor:w.Placeholder,gap:a||"0.6em",children:[d.isOn?e(Je,{category:Ye.Circle,frontColor:w.White,children:e(Lt,{})}):p,d.isOn?p:e(Je,{category:Ye.Circle,frontColor:w.White,children:e(Lt,{})})]})})},VTel:function(t){return e(Ge,T({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=D(t,["category","alignType","renderContent"]),c=ce(i);switch(t.alignType){case Rt.Center:o="v-text-center";break;case Rt.Justify:o="v-text-justify";break;case Rt.Left:o="v-text";break;case Rt.Right:o="v-text-right";break;default:o="v-text"}if(n){var u=n,s=c.getProps(u).html;r=l(u,s,a())}else{s=c.getProps("span").html;r=l("span",s,a())}return e(ne,{_base:c,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=D(t,["ref","icon","valueHook","setStateHook"]),c=ce(i),l=c.getProps("textarea").html,d=u({value:t.value}),f=d[0],p=d[1],g=s(null);return h((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[]),e(ne,{category:K.Display,_base:c,className:"v-validity v-textarea",children:n(ze,{cross:ke.Top,gap:"0.6em",children:[t.icon,e(re,{children:e("textarea",T({ref:g},l,{id:t.id?t.id:t.name,value:o?t.valueHook:f.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):p({value:e.target.value})}}))})]})})},VTextBox:Tt,VTheme:function(t){var n=t.category,r=t.area,o=t.theme,a=D(t,["category","area","theme"]),i=ce(T({id:r},a));return h((function(){var e;n==Pt.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Wt,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Wt).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Wt).concat(t),o.fontWeights[t])})))}),[]),n==Pt.Area?e(ne,{_base:i,className:"v-theme",children:t.children}):e(ie,{backgroundColor:w.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(Ge,T({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,c=D(t,["category","dockCategory","dockAlignment","renderOverlay"]),l=ce(c),s=u({isShow:!1}),d=s[0],f=s[1],h=p();return n=r||jt.Hover,e(ne,{_base:l,className:"v-tooltip",children:e(be,{category:o,alignment:a,renderOverlay:function(){return d.isShow?e(re,{role:"tooltip",id:h,children:i()}):e(re,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(re,{"aria-describedby":d.isShow?h:void 0,onClick:function(){n==jt.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){n==jt.Hover&&f({isShow:!0})},onMouseLeave:function(){n==jt.Hover&&f({isShow:!1})},onFocus:function(){n==jt.Hover&&f({isShow:!0})},onBlur:function(){n==jt.Hover&&f({isShow:!1})},children:t.children})})})},VUrl:function(t){return e(Ge,T({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=D(t,["sources"]),r=ce(n),o=r.getProps("video").html;return e("video",T({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(Ge,T({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=D(t,["category"]),o=ce(r);return e(ne,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return I},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:Ee,XAround:function(e){return Re(e,void 0,void 0,(function(){return me.SpaceAround}))},XAutoBoth:function(t){var n=ce(t);return Re(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Se,{grow:0,alignSelf:a,shrink:i,children:t}):e(Se,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoCenter:Ve,XAutoLeft:Fe,XAutoLefts:function(t){var n=ce(t);return Re(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Se,{grow:0,alignSelf:a,shrink:i,children:t}):e(Se,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:ze,XAutoRights:function(t){return Re(t,(function(t,n,r,o){return e(Se,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:Ae,XCenter:Pe,get XCrossType(){return ke},XCustom:function(t){return Re(t,(function(n,r,o,a){var i=e(Se,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Se,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=ce(t);return Re(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Se,{basis:t.basis,shrink:c,children:r}):e(Se,{grow:1,shrink:c,children:r})}))},XEvenly:function(e){return Re(e,void 0,void 0,(function(){return me.SpaceEvenly}))},XLeft:We,XRight:function(e){return Re(e,void 0,void 0,(function(){return me.End}))},XWrapAround:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.SpaceAround}))},XWrapBetween:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.SpaceBetween}))},XWrapBottom:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.End}))},XWrapEvenly:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.SpaceEvenly}))},XWrapMiddle:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.Center}))},XWrapTop:function(e){return Re(e,void 0,(function(){return ge.Wrap}),void 0,(function(){return ye.Start}))},Y:He,YAround:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.SpaceAround}))},YAutoBoth:function(t){var n=ce(t);return Ue(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Se,{grow:0,alignSelf:a,shrink:i,children:t}):e(Se,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=ce(t);return Ue(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Se,{grow:1,shrink:i,children:t}):e(Se,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return Ue(t,(function(t,n,r,o){return e(Se,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=ce(t);return Ue(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Se,{grow:1,alignSelf:a,shrink:i,children:t}):e(Se,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return Ue(t,(function(t,n,r,o){return e(Se,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=ce(t);return Ue(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Se,{grow:0,alignSelf:a,shrink:i,children:t}):e(Se,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.SpaceBetween}))},YBottom:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.End}))},get YCrossType(){return Ne},YCustom:function(t){return Ue(t,(function(n,r,o,a){var i=e(Se,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Se,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=ce(t);return Ue(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Se,{basis:t.basis,shrink:c,children:r}):e(Se,{grow:1,shrink:c,children:r})}))},YEvenly:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.SpaceEvenly}))},YMiddle:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.Center}))},YTop:function(e){return Ue(e,void 0,void 0,void 0,(function(){return me.Start}))},YWrapAround:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.SpaceAround}),void 0)},YWrapBetween:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.SpaceBetween}))},YWrapCenter:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.Center}))},YWrapEvenly:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.SpaceEvenly}))},YWrapLeft:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.Start}))},YWrapRight:function(e){return Ue(e,void 0,(function(){return ge.Wrap}),(function(){return ye.End}))},get ZoneCategory(){return ae},convertFormDataToJson:Xe,getGeneratedClassName:U,parseJWT:function(e){var t={},n=v(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=Kt}(Jt||(Jt={}));export{Jt as Den};
1
+ 'use client';
2
+ 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,useState as u,useEffect as d,useCallback as f,useLayoutEffect as h,useId as p,Component as m}from"react";import{createPortal as g}from"react-dom";import{jwtDecode as v}from"jwt-decode";var y=function(e,t){return y=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])},y(e,t)};function b(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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=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},w.apply(this,arguments)};function C(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 S(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;var k={Font:"font",Body:"body",White:"white",Black:"black",Light:"light",Light75:"light75",Light50:"light50",Light25:"light25",Dark:"dark",Dark75:"dark75",Dark50:"dark50",Dark25:"dark25",Primary:"primary",Primary75:"primary75",Primary50:"primary50",Primary25:"primary25",Secondary:"secondary",Secondary75:"secondary75",Secondary50:"secondary50",Secondary25:"secondary25",Tertiary:"tertiary",Tertiary75:"tertiary75",Tertiary50:"tertiary50",Tertiary25:"tertiary25",Info:"info",Info75:"info75",Info50:"info50",Info25:"info25",Success:"success",Success75:"success75",Success50:"success50",Success25:"success25",Warning:"warning",Warning75:"warning75",Warning50:"warning50",Warning25:"warning25",Error:"error",Error75:"error75",Error50:"error50",Error25:"error25",Border:"border",Border75:"border75",Border50:"border50",Border25:"border25",Placeholder:"placeholder",Placeholder75:"placeholder75",Placeholder50:"placeholder50",Placeholder25:"placeholder25",Transparent:"transparent"},_={Thin:"font-weight-thin",ExtraLight:"font-weight-extra-light",Light:"font-weight-light",Regular:"font-weight-regular",Medium:"font-weight-medium",SemiBold:"font-weight-semi-bold",Bold:"font-weight-bold",ExtraBold:"font-weight-extra-bold",Black:"font-weight-black"},x={Default:"font-family"},N={Default:"line-height"},I={Default:"padding",Normal:"padding-normal",ExtraSmall:"padding-extra-small",Small:"padding-small",Large:"padding-large",ExtraLarge:"padding-extra-large"},O={Default:"margin",Normal:"margin-normal",ExtraSmall:"margin-extra-small",Small:"margin-small",Large:"margin-large",ExtraLarge:"margin-extra-large"},B={Default:"gap",Normal:"gap-normal",ExtraSmall:"gap-extra-small",Small:"gap-small",Large:"gap-large",ExtraLarge:"gap-extra-large"},D={Default:"letter-spacing"},L={Default:"border-radius",Normal:"border-radius-normal",ExtraSmall:"border-radius-extra-small",Small:"border-radius-small",Large:"border-radius-large",ExtraLarge:"border-radius-extra-large",Max:"border-radius-max"},R={None:"border-style-none",Solid:"border-style-solid",Dashed:"border-style-dashed",Dotted:"border-style-dotted",Double:"border-style-double",Groove:"border-style-groove",Ridge:"border-style-ridge",Inset:"border-style-inset",Outset:"border-style-outset",Hidden:"border-style-hidden"},z={Default:"border-width",Normal:"border-width-normal",ExtraSmall:"border-width-extra-small",Small:"border-width-small",Large:"border-width-large",ExtraLarge:"border-width-extra-large"},T={Visible:"visibility-visible",Hidden:"visibility-hidden",Collapse:"visibility-collapse"},E={None:"display-none",Block:"display-block",Inline:"display-inline",InlineBlock:"display-inline-block",Flex:"display-flex",InlineFlex:"display-inline-flex",Grid:"display-grid",InlineGrid:"display-inline-grid",Table:"display-table",TableRow:"display-table-row",TableCell:"display-table-cell",Contents:"display-contents",FlowRoot:"display-flow-root"},F={Auto:"cursor-auto",Default:"cursor-default",None:"cursor-none",ContextMenu:"cursor-context-menu",Help:"cursor-help",Pointer:"cursor-pointer",Progress:"cursor-progress",Wait:"cursor-wait",Cell:"cursor-cell",Crosshair:"cursor-crosshair",Text:"cursor-text",VerticalText:"cursor-vertical-text",Alias:"cursor-alias",Copy:"cursor-copy",Move:"cursor-move",NoDrop:"cursor-no-drop",NotAllowed:"cursor-not-allowed",Grab:"cursor-grab",Grabbing:"cursor-grabbing",AllScroll:"cursor-all-scroll",ColResize:"cursor-col-resize",RowResize:"cursor-row-resize",NResize:"cursor-n-resize",EResize:"cursor-e-resize",SResize:"cursor-s-resize",WResize:"cursor-w-resize",NeResize:"cursor-ne-resize",NwResize:"cursor-nw-resize",SeResize:"cursor-se-resize",SwResize:"cursor-sw-resize",EwResize:"cursor-ew-resize",NsResize:"cursor-ns-resize",NeswResize:"cursor-nesw-resize",NwseResize:"cursor-nwse-resize",ZoomIn:"cursor-zoom-in",ZoomOut:"cursor-zoom-out"},P={Visible:"overflow-visible",Hidden:"overflow-hidden",Scroll:"overflow-scroll",Auto:"overflow-auto",Clip:"overflow-clip"},j={Visible:"overflow-x-visible",Hidden:"overflow-x-hidden",Scroll:"overflow-x-scroll",Auto:"overflow-x-auto",Clip:"overflow-x-clip"},W={Visible:"overflow-y-visible",Hidden:"overflow-y-hidden",Scroll:"overflow-y-scroll",Auto:"overflow-y-auto",Clip:"overflow-y-clip"},V={_0:"opacity-0",_10:"opacity-10",_20:"opacity-20",_25:"opacity-25",_30:"opacity-30",_40:"opacity-40",_50:"opacity-50",_60:"opacity-60",_70:"opacity-70",_75:"opacity-75",_80:"opacity-80",_90:"opacity-90",_100:"opacity-100"},A={Ellipse:"v-ellipse-size",Rectangle:"v-rectangle-size",Image:"v-image-size",Svg:"v-svg-size",Window:"v-window-size"},U=function(e){var t;switch(e){case _.Thin:t=100;break;case _.ExtraLight:t=200;break;case _.Light:t=300;break;case _.Regular:t=400;break;case _.Medium:t=500;break;case _.SemiBold:t=600;break;case _.Bold:t=700;break;case _.ExtraBold:t=800;break;case _.Black:t=900;break;default:t=400}return t},H={Default:"font-size",Normal:"font-size-normal",Small:"font-size-small",ExtraSmall:"font-size-extra-small",Large:"font-size-large",ExtraLarge:"font-size-extra-large",AutoNormal:"auto-font-size-normal",AutoSmall:"auto-font-size-small",AutoExtraSmall:"auto-font-size-extra-small",AutoLarge:"auto-font-size-large",AutoExtraLarge:"auto-font-size-extra-large"},M={All:"all",Before:"before",After:"after"},q={All:"all",Top:"top",Right:"right",Bottom:"bottom",Left:"left",ExceptTop:"except-top",ExceptRight:"except-right",ExceptBottom:"except-bottom",ExceptLeft:"except-left",RightTop:"right-top",RightBottom:"right-bottom",LeftTop:"left-top",LeftBottom:"left-bottom",TopBottom:"top-bottom",LeftRight:"left-right"},Z=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),G=function(e){this.component=e},X=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return b(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(H).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),Y=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return b(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 b(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(T).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 b(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(F).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 b(t,e),t.prototype.getClassName=function(){if(this.overflow){var e=void 0;return e=Object.values(P).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 b(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(j).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 b(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(W).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 b(t,e),t.prototype.getClassName=function(){if(this.display){var e=void 0;return e=Object.values(E).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 b(t,e),t.prototype.getClassName=function(){return this.opacityType&&Object.values(V).includes(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 b(t,e),t.prototype.getClassName=function(){if(this.borderRadius){var e=void 0;return e=Object.values(L).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 b(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(R).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 b(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(I).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 b(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(O).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 b(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(z).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 b(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 q.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case q.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case q.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case q.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case q.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case q.Left:r=" ".concat(e).concat(o,"-border-left");break;case q.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case q.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case q.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case q.Right:r=" ".concat(e).concat(o,"-border-right");break;case q.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case q.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case q.Top:r=" ".concat(e).concat(o,"-border-top");break;case q.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(k.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(k.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(k.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(k.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(k.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(k.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(k.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(k.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,h,p,m,g,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 X(new Y(new Z(e),o),n,r),p),m),g),v),y),b),w),C),S),k),_),x),t,a,i,c,l,s,u,d,f,h).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"],he=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],pe={div:S(S([],ue,!0),de,!0),input:S(S(S(S([],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:S(S(S([],ue,!0),de,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:S(S([],ue,!0),de,!0),abbr:S(S([],ue,!0),de,!0),span:S(S([],ue,!0),de,!0),h1:S(S([],ue,!0),de,!0),h2:S(S([],ue,!0),de,!0),h3:S(S([],ue,!0),de,!0),h4:S(S([],ue,!0),de,!0),h5:S(S([],ue,!0),de,!0),h6:S(S([],ue,!0),de,!0),i:S(S([],ue,!0),de,!0),b:S(S([],ue,!0),de,!0),u:S(S([],ue,!0),de,!0),em:S(S([],ue,!0),de,!0),strong:S(S([],ue,!0),de,!0),blockquote:S(S([],ue,!0),de,!0),cite:S(S([],ue,!0),de,!0),code:S(S([],ue,!0),de,!0),del:S(S([],ue,!0),de,!0),dfn:S(S([],ue,!0),de,!0),ins:S(S([],ue,!0),de,!0),kbd:S(S([],ue,!0),de,!0),mark:S(S([],ue,!0),de,!0),pre:S(S([],ue,!0),de,!0),q:S(S([],ue,!0),de,!0),s:S(S([],ue,!0),de,!0),samp:S(S([],ue,!0),de,!0),small:S(S([],ue,!0),de,!0),summary:S(S([],ue,!0),de,!0),sup:S(S([],ue,!0),de,!0),sub:S(S([],ue,!0),de,!0),time:S(S([],ue,!0),de,!0),var:S(S([],ue,!0),de,!0),wbr:S(S([],ue,!0),de,!0),p:S(S([],ue,!0),de,!0),address:S(S([],ue,!0),de,!0),article:S(S([],ue,!0),de,!0),aside:S(S([],ue,!0),de,!0),details:S(S(S([],ue,!0),de,!0),["onToggle"],!0),section:S(S([],ue,!0),de,!0),form:S(S(S([],ue,!0),de,!0),["onReset","onSubmit"],!0),dialog:S(S(S([],ue,!0),de,!0),["onCancel","onClose"],!0),img:S(S(S(S([],ue,!0),de,!0),fe,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:S(S(S(S([],ue,!0),de,!0),fe,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:S(S(S([],ue,!0),de,!0),fe,!0),embed:S(S(S([],ue,!0),de,!0),fe,!0),link:S(S(S([],ue,!0),de,!0),fe,!0),svg:S(S(S([],ue,!0),de,!0),fe,!0),audio:S(S(S([],ue,!0),de,!0),he,!0),video:S(S(S([],ue,!0),de,!0),he,!0)},me=["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"],ge=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,lineHeight:t.lineHeight};return t.letterSpacing&&!Object.values(D).includes(t.letterSpacing)&&(n.letterSpacing=t.letterSpacing),t.opacity&&!Object.values(V).includes(t.opacity)&&(n.opacity=t.opacity),t.padding&&!Object.values(I).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(O).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),w(w(w({},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){me.includes(o)?n[o]=t[o]:pe[e]&&pe[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}},ve={Display:"display",Rich:"rich"},ye=function(t){var n=(t.category==ve.Display?{}:t._base.getProps("div")).html;return e("div",w({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},be={Fluid:"fluid",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},we=function(t){var n=t.category,r=C(t,["category"]),o=ge(r);return e(ye,{_base:o,className:"v-zone-".concat(n),children:t.children})},Ce={Edge:"edge",Window:"window",Area:"area",Self:"self"},Se={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",Center:"center"},ke=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=w(w({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=Ce.Self?w(w({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):w(w({},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})},_e={Default:"default",FullSize:"full-size"},xe=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:_e.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)}))})},Ne=function(t){var n=ge(t);return e(ye,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})},Ie={Div:"div",Abbr:"abbr",Span:"span",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",I:"i",B:"b",U:"u",Em:"em",Strong:"strong",Blockquote:"blockquote",Cite:"cite",Code:"code",Del:"del",Dfn:"dfn",Ins:"ins",Kbd:"kbd",Mark:"mark",Pre:"pre",Q:"q",S:"s",Samp:"samp",Small:"small",Summary:"summary",Sup:"sup",Sub:"sub",Time:"time",Var:"var",Wbr:"wbr"},Oe={Default:"default",Circle:"circle"},Be={Justify:0,Left:1,Right:2,Center:3},De=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,s=t.caption,u=C(t,["category","type","alignType","isTextOverflow","caption"]),d=ge(w({display:null==t.category||t.category==Ie.Span?"inline-block":"block"},u)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case Be.Center:r="v-label-center";break;case Be.Justify:r="v-label-justify";break;case Be.Left:r="v-label";break;case Be.Right:r="v-label-right";break;default:r="v-label"}if(a==Oe.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),u.fontWeight&&(r+=" v-label-inherit-font-weight"),u.fontSize&&(r+=" v-label-inherit-font-size"),o){var m=o,g=d.getProps(m).html;n=l(m,g,s)}else{var v=d.getProps("span").html;n=l("span",v,s)}return a==Oe.Circle?e(xe,{children:e(Ne,w({width:"1.6em",height:"1.6em",borderRadius:L.Max},h,{className:r},p,{children:e(ke,{category:Ce.Area,type:Se.Center,children:n})}))}):e(Ne,w({},h,{className:t.className?"".concat(t.className," ").concat(r):r},p,{children:n}))};De.displayName="VLabel";var Le=c(De),Re={ExtraSmall:"extra-small",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},ze={Visible:"visiable",Hidden:"hidden"},Te={Only:"only",Up:"up",Down:"down"},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!=Te.Only?n.type==Te.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Te.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(Le,{backgroundColor:k.Error,caption:"[BreakpointDisplay] No Children!"})},Fe=function(r){return n(t,{children:[e(Ee,{category:ze.Hidden,type:Te.Down,breakpoint:r.breakpointType?r.breakpointType:Re.Small,children:r.desktop}),e(Ee,{category:ze.Hidden,type:Te.Up,breakpoint:r.breakpointType?r.breakpointType:Re.Small,children:r.mobile})]})},Pe=2147483647,je={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",InnerTop:"inner-top",InnerRight:"inner-right",InnerBottom:"inner-bottom",InnerLeft:"inner-left",InnerLeftTop:"inner-left-top",InnerRightTop:"inner-right-top",InnerLeftBottom:"inner-left-bottom",InnerRightBottom:"inner-right-bottom"},We={Horizontal:"horizontal",Vertical:"vertical"},Ve=function(r){var o=r.category,a=r.offset,i=void 0===a?0:a,c=r.overlayZIndex,l=void 0===c?Pe:c,p=r.renderOverlay,m=C(r,["category","offset","overlayZIndex","renderOverlay"]),v="alignment"in r?r.alignment:void 0,y=ge(m),b=y.getProps("div").html,S=s(null),k=s(null),_=u(!1),x=_[0],N=_[1];d((function(){N(!0)}),[]);var I=f((function(){var e=S.current,t=k.current;if(e&&t){var n=function(e,t,n,r,o,a){var i=e.width,c=e.height,l=e.left+window.scrollX,s=e.top+window.scrollY;switch(r){case je.Top:l+=(i-t)/2,s+=-n-o;break;case je.Right:l+=i+o,s+=(c-n)/2;break;case je.Bottom:l+=(i-t)/2,s+=c+o;break;case je.Left:l+=-t-o,s+=(c-n)/2;break;case je.LeftTop:a==We.Horizontal?(l+=-t-o,s+=o):a==We.Vertical?(l+=o,s+=-n-o):(l+=-t-o,s+=-n-o);break;case je.RightTop:a==We.Horizontal?(l+=i+o,s+=o):a==We.Vertical?(l+=i-t-o,s+=-n-o):(l+=i+o,s+=-n-o);break;case je.LeftBottom:a==We.Horizontal?(l+=-t-o,s+=c-n-o):a==We.Vertical?(l+=o,s+=c+o):(l+=-t-o,s+=c+o);break;case je.RightBottom:a==We.Horizontal?(l+=i+o,s+=c-n-o):a==We.Vertical?(l+=i-t-o,s+=c+o):(l+=i+o,s+=c+o);break;case je.InnerTop:l+=(i-t)/2,s+=o;break;case je.InnerRight:l+=i-t-o,s+=(c-n)/2;break;case je.InnerBottom:l+=(i-t)/2,s+=c-n-o;break;case je.InnerLeft:l+=o,s+=(c-n)/2;break;case je.InnerLeftTop:l+=o,s+=o;break;case je.InnerRightTop:l+=i-t-o,s+=o;break;case je.InnerLeftBottom:l+=o,s+=c-n-o;break;case je.InnerRightBottom:l+=i-t-o,s+=c-n-o}return{x:l,y:s}}(e.getBoundingClientRect(),t.offsetWidth,t.offsetHeight,o,i,v),r=n.x,a=n.y;t.style.transform="translate3d(".concat(r,"px, ").concat(a,"px, 0)")}}),[o,i,v]);h((function(){I()}),[I,p,l]),d((function(){var e=function(){return I()},t=function(){return I()};return window.addEventListener("resize",e),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",t,!0)}}),[I]);var O=x&&g(e("div",{ref:k,className:"dock-overlay",style:{zIndex:l},children:p()}),document.body);return n(t,{children:[e("div",w({ref:S,className:y.getClassName("dock"),style:y.getStyle()},b,{children:r.children})),O]})},Ae={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},Ue={NoWrap:"nowrap",Wrap:"wrap"},He={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Me={Start:"flex-start",Center:"center",End:"flex-end",Stretch:"stretch",Baseline:"baseline"},qe={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Ze=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=C(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=F.Pointer);var u=ge(s),d=u.getProps("div").html,f=c&&Object.values(B).includes(c)?"var(--den-".concat(c,")"):c,h=w(w({},u.getStyle()),{gap:f}),p=l?"flex-".concat(l):"flex-hidden",m=n?" flex-direction-".concat(n):"",g=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):"",S="".concat(p).concat(m).concat(g).concat(v).concat(y).concat(b),k=u.getClassName(S);return e("div",w({className:k,style:h},d,{children:t.children}))},Ge={Start:"start",Center:"center",End:"end",Stretch:"stretch",Baseline:"baseline"},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:w(w({},n),{display:"flex",flexDirection:"column"}),children:t.children})},Ye=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})},et=function(n){return e(t,{children:n.children})},tt=function(n){return e(t,{children:n.children})},nt=function(n){return e(t,{children:n.children})},rt={Top:"top",Middle:"middle",Bottom:"bottom",Stretch:"stretch",Baseline:"baseline"},ot=function(n,r,a,i,c){n.cross;var l=n.itemsShrink,s=C(n,["cross","itemsShrink"]),u=ge(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(Ze,w({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case rt.Stretch:e=Me.Stretch;break;case rt.Baseline:e=Me.Baseline;break;case rt.Bottom:e=Me.End;break;case rt.Middle:e=Me.Center;break;case rt.Top:e=Me.Start;break;default:e=Me.Center}else e=Me.Center;return e}(),wrap:a?a():Ue.NoWrap,justifyContent:i?i():He.Start,alignContent:c?c():qe.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===nt?d(o.props.children,r,Ge.Start):o.type===Qe?d(o.props.children,r,Ge.Center):o.type===Je?d(o.props.children,r,Ge.End):o.type===tt?d(o.props.children,r,Ge.Stretch):o.type===Ye?d(o.props.children,r,Ge.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},at=function(t){return ot(t,(function(t,n,r,o){return e(Xe,{grow:1,alignSelf:r,shrink:o,children:t})}))},it=function(e){return ot(e,void 0,void 0,(function(){return He.SpaceAround}))},ct=function(t){var n=ge(t);return ot(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})}))},lt=function(t){var n=ge(t);return ot(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})}))},st=function(t){return ot(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})}))},ut=function(t){var n=ge(t);return ot(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})}))},dt=function(t){var n=ge(t);return ot(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})}))},ft=function(t){return ot(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})}))},ht=function(e){return ot(e,void 0,void 0,(function(){return He.SpaceBetween}))},pt=function(e){return ot(e,void 0,void 0,(function(){return He.Center}))},mt=function(t){return ot(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}))},gt=function(t){var n=ge(t);return ot(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})}))},vt=function(e){return ot(e,void 0,void 0,(function(){return He.SpaceEvenly}))},yt=function(e){return ot(e)},bt=function(e){return ot(e,void 0,void 0,(function(){return He.End}))},wt=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.SpaceAround}))},Ct=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.SpaceBetween}))},St=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.End}))},kt=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.SpaceEvenly}))},_t=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.Center}))},xt=function(e){return ot(e,void 0,(function(){return Ue.Wrap}),void 0,(function(){return qe.Start}))},Nt={Left:"left",Center:"center",Right:"right",Baseline:"baseline",Stretch:"stretch"},It=function(n,r,a,i,c){var l=n.cross,s=n.itemsShrink,u=C(n,["cross","itemsShrink"]),d=ge(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(Ze,w({vClassName:"v-ybase",wrap:a?a():Ue.NoWrap,alignContent:i?i():qe.Start,alignItems:function(){var e;if(l)switch(l){case Nt.Left:e=Me.Start;break;case Nt.Center:e=Me.Center;break;case Nt.Right:e=Me.End;break;case Nt.Baseline:e=Me.Baseline;break;default:e=Me.Stretch}else e=Me.Stretch;return e}(),direction:Ae.Column,justifyContent:c?c():He.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===Ke?f(o.props.children,r,Ge.Start):o.type===Qe||o.type===et?f(o.props.children,r,Ge.Center):o.type===$e?f(o.props.children,r,Ge.End):o.type===tt?f(o.props.children,r,Ge.Stretch):o.type===Ye?f(o.props.children,r,Ge.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},Ot=function(t){return It(t,(function(t,n,r,o){return e(Xe,{grow:1,alignSelf:r,shrink:o,children:t})}))},Bt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.SpaceBetween}))},Dt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.Center}))},Lt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.Start}))},Rt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.End}))},zt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.SpaceAround}))},Tt=function(e){return It(e,void 0,void 0,void 0,(function(){return He.SpaceEvenly}))},Et=function(t){return It(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})}))},Ft=function(t){var n=ge(t);return It(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})}))},Pt=function(t){var n=ge(t);return It(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})}))},jt=function(t){var n=ge(t);return It(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})}))},Wt=function(t){return It(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})}))},Vt=function(t){var n=ge(t);return It(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})}))},At=function(t){return It(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}))},Ut=function(t){var n=ge(t);return It(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})}))},Ht=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.Start}))},Mt=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.Center}))},qt=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.End}))},Zt=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.SpaceAround}),void 0)},Gt=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.SpaceBetween}))},Xt=function(e){return It(e,void 0,(function(){return Ue.Wrap}),(function(){return qe.SpaceEvenly}))},Yt={Top:"top",Right:"right",Bottom:"bottom",Left:"left",Center:"center"},Jt=function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=C(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=ge(w(w({},r),{style:n}));return e(ye,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},Kt=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]=S(S([],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},Qt={Json:"json",FormData:"formdata"},$t=function(t){var n=t.handleSubmitCategory,r=t.handleSubmit,o=t.handleValidateError,a=C(t,["handleSubmitCategory","handleSubmit","handleValidateError"]),i=ge(a),c=i.getProps("form").html;return e("form",w({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);r(n===Qt.FormData?c:Kt(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}))},en=function(t){return e("form",w({className:"v-action-form"},t,{children:t.children}))},tn=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,c=t.value,l=t.valueHook,f=t.setStateHook,h=t.isValueShow,p=t.gap,m=t.valueSize,g=t.frontColor;t.valueCategory;var v,y=t.valuePadding,b=t.inputStyle,S=t.inputClassName,_=t.placeholderColor,x=t.overWrite,N=t.renderOptions,I=t.onChange,O=t.inheritClassName,B=t.customAttributes,D=C(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),L=ge(D),R=L.getProps("input").html,z=u({value:void 0!==t.value?t.value:""}),T=z[0],F=z[1],P=s(null);return d((function(){"object"==typeof r&&r?r.current=P.current:"function"==typeof r&&r(P.current),t.autoFocus&&P.current&&P.current.focus()}),[r,t.autoFocus]),x&&(v=x(P)),n(ye,{_base:L,className:"v-validity v-input ".concat((_||k.Placeholder)+"-placeholder").concat(O?" ".concat(O):""),children:[n(Ot,{display:v?E.None:void 0,children:[n(lt,{gap:p,children:[e(Ne,{children:i}),n(Ne,{children:[e("input",w({ref:P},B,{className:(S?"".concat(S," "):"")+"".concat(L.getClassName("v-input-native")),style:b,type:o,value:l||T.value,onChange:function(e){var t;h&&F({value:null===(t=P.current)||void 0===t?void 0:t.value}),I&&I(e),f?f(e.target.value):F({value:e.target.value})}},R)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),N?N(P):e(Ne,{})]}),!!h&&e(pt,{children:e(Le,{padding:y,isAutoSize:t.isAutoSize,fontSize:m||H.Normal,frontColor:g||k.Black,caption:void 0!==T.value?T.value.toString():c?c.toString():""})})]}),!!v&&v]})},nn={Default:"default",Circle:"circle",Squared:"squared",Custom:"custom"},rn=function(n){var r=w({},n);!r.cursor&&n.onClick&&(r.cursor=F.Pointer);var c=ge(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:nn.Default,r=c.getClassName("v-svg-".concat(t)),o=n.onClick,l=n.onMouseEnter,s=n.onMouseLeave,u={className:r,style:w({},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)}))})};rn.displayName="VSvg";var on,an,cn=c(rn);function ln(){return ln=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},ln.apply(null,arguments)}var sn,un=function(e){return r.createElement("svg",ln({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),on||(on=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"})),an||(an=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 dn(){return dn=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},dn.apply(null,arguments)}var fn,hn=function(e){return r.createElement("svg",dn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),sn||(sn=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"})))},pn=function(t){var r=t.isChecked,o=C(t,["isChecked"]);return e(tn,w({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(yt,{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(cn,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?un:hn,{})}),!!t.label&&e(Le,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},mn=function(t){return e(tn,w({type:"color",isDefaultValue:!0},t))},gn=function(t){return e(tn,w({type:"date",isDefaultValue:!0},t))},vn=function(t){return e(tn,w({type:"datetime-local",isDefaultValue:!0},t))},yn=function(t){return e(tn,w({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},bn={Bounce:"animate__bounce",Flash:"animate__flash",Pulse:"animate__pulse",RubberBand:"animate__rubberBand",ShakeX:"animate__shakeX",ShakeY:"animate__shakeY",HeadShake:"animate__headShake",Swing:"animate__swing",Tada:"animate__tada",Wobble:"animate__wobble",Jello:"animate__jello",HeartBeat:"animate__heartBeat",BackInDown:"animate__backInDown",BackInLeft:"animate__backInLeft",BackInRight:"animate__backInRight",BackInUp:"animate__backInUp",BackOutDown:"animate__backOutDown",BackOutLeft:"animate__backOutLeft",BackOutRight:"animate__backOutRight",BackOutUp:"animate__backOutUp",BounceIn:"animate__bounceIn",BounceInDown:"animate__bounceInDown",BounceInLeft:"animate__bounceInLeft",BounceInRight:"animate__bounceInRight",BounceInUp:"animate__bounceInUp",BounceOut:"animate__bounceOut",BounceOutDown:"animate__bounceOutDown",BounceOutLeft:"animate__bounceOutLeft",BounceOutRight:"animate__bounceOutRight",BounceOutUp:"animate__bounceOutUp",FadeIn:"animate__fadeIn",FadeInDown:"animate__fadeInDown",FadeInDownBig:"animate__fadeInDownBig",FadeInLeft:"animate__fadeInLeft",FadeInLeftBig:"animate__fadeInLeftBig",FadeInRight:"animate__fadeInRight",FadeInRightBig:"animate__fadeInRightBig",FadeInUp:"animate__fadeInUp",FadeInUpBig:"animate__fadeInUpBig",FadeInTopLeft:"animate__fadeInTopLeft",FadeInTopRight:"animate__fadeInTopRight",FadeInBottomLeft:"animate__fadeInBottomLeft",FadeInBottomRight:"animate__fadeInBottomRight",FadeOut:"animate__fadeOut",FadeOutDown:"animate__fadeOutDown",FadeOutDownBig:"animate__fadeOutDownBig",FadeOutLeft:"animate__fadeOutLeft",FadeOutLeftBig:"animate__fadeOutLeftBig",FadeOutRight:"animate__fadeOutRight",FadeOutRightBig:"animate__fadeOutRightBig",FadeOutUp:"animate__fadeOutUp",FadeOutUpBig:"animate__fadeOutUpBig",FadeOutTopLeft:"animate__fadeOutTopLeft",FadeOutTopRight:"animate__fadeOutTopRight",FadeOutBottomLeft:"animate__fadeOutBottomLeft",FadeOutBottomRight:"animate__fadeOutBottomRight",Flip:"animate__flip",FlipInX:"animate__flipInX",FlipInY:"animate__flipInY",FlipOutX:"animate__flipOutX",FlipOutY:"animate__flipOutY",LightSpeedInRight:"animate__lightSpeedInRight",LightSpeedInLeft:"animate__lightSpeedInLeft",LightSpeedOutRight:"animate__lightSpeedOutRight",LightSpeedOutLeft:"animate__lightSpeedOutLeft",RotateIn:"animate__rotateIn",RotateInDownLeft:"animate__rotateInDownLeft",RotateInDownRight:"animate__rotateInDownRight",RotateInUpLeft:"animate__rotateInUpLeft",RotateInUpRight:"animate__rotateInUpRight",RotateOut:"animate__rotateOut",RotateOutDownLeft:"animate__rotateOutDownLeft",RotateOutDownRight:"animate__rotateOutDownRight",RotateOutUpLeft:"animate__rotateOutUpLeft",RotateOutUpRight:"animate__rotateOutUpRight",Hinge:"animate__hinge",JackInTheBox:"animate__jackInTheBox",RollIn:"animate__rollIn",RollOut:"animate__rollOut",ZoomIn:"animate__zoomIn",ZoomInDown:"animate__zoomInDown",ZoomInLeft:"animate__zoomInLeft",ZoomInRight:"animate__zoomInRight",ZoomInUp:"animate__zoomInUp",ZoomOut:"animate__zoomOut",ZoomOutDown:"animate__zoomOutDown",ZoomOutLeft:"animate__zoomOutLeft",ZoomOutRight:"animate__zoomOutRight",ZoomOutUp:"animate__zoomOutUp",SlideInDown:"animate__slideInDown",SlideInLeft:"animate__slideInLeft",SlideInRight:"animate__slideInRight",SlideInUp:"animate__slideInUp",SlideOutDown:"animate__slideOutDown",SlideOutLeft:"animate__slideOutLeft",SlideOutRight:"animate__slideOutRight",SlideOutUp:"animate__slideOutUp"},wn={Once:"animate__repeat-1",Twice:"animate__repeat-2",Thrice:"animate__repeat-3",Infinite:"animate__infinite"},Cn={Slow:"animate__slow",Slower:"animate__slower",Fast:"animate__fast",Faster:"animate__faster"},Sn={Delay1Second:"animate__delay-1s",Delay2Second:"animate__delay-2s",Delay3Second:"animate__delay-3s",Delay4Second:"animate__delay-4s",Delay5Second:"animate__delay-5s"},kn=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})},_n=function(t){t.animationCategory,t.animationSpeed;var n=C(t,["animationCategory","animationSpeed"]),r=ge(n);return e(ye,{_base:r,className:"v-loading",children:e(kn,{category:t.animationCategory?t.animationCategory:bn.Flip,speed:t.animationSpeed?t.animationSpeed:Cn.Slower,repeat:wn.Infinite,children:t.children})})};function xn(){return xn=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},xn.apply(null,arguments)}var Nn=function(e){return r.createElement("svg",xn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),fn||(fn=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"})))},In={Vertical:"Vertical",Horizontal:"Horizontal"},On=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")},Bn=function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,c=t.isPreview,l=t.previewImageWidth,f=t.textLength,h=t.autoUpload,p=t.renderLoader,m=t.renderPreview,g=C(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=u({inputFiles:[],isLoading:!1}),b=y[0],S=y[1],k=function(){S((function(e){return w(w({},e),{isLoading:!1})}))};d((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var _=function(e){e.preventDefault(),e.currentTarget.className="v-file"},x=ge(w({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:On(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(h?(S(w(w({},b),{inputFiles:n,isLoading:!0})),h(t,k),e.currentTarget.className="v-file"):(S(w(w({},b),{inputFiles:n})),e.currentTarget.className="v-file"))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:_,onDragLeave:_,onDragExit:_},g));return e(ye,{_base:x,className:"v-file",children:e(tn,w({type:"file",isDefaultValue:!0,ref:v},g,{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:On(e)?URL.createObjectURL(e):void 0}}));S(w(w({},b),{inputFiles:r})),h&&(S(w(w({},b),{inputFiles:r,isLoading:!0})),h(n,k))},overWrite:function(t){return c?m?e(Ne,{cursor:F.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:m(b.inputFiles,b.isLoading)}):r==In.Vertical?n(Ot,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Nt.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(Ot,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(Ot,{cross:Nt.Center,children:[!!t.objectUrl&&e(Ne,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(Le,{fontSize:H.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(_n,{animationCategory:bn.Flash,children:e(pt,{children:e(cn,{fontSize:a,frontColor:i,children:e(Nn,{})})})}))]}):n(at,{gap:"1em",children:[n(at,{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(Ot,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(Ot,{cross:Nt.Center,children:[!!t.objectUrl&&e(Ne,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(Le,{fontSize:H.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(_n,{animationCategory:bn.Flash,children:e(cn,{fontSize:a,frontColor:i,children:e(Nn,{})})}))]}):e(Ne,{cursor:F.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},Dn={Default:"default",Circle:"circle",Squared:"squared",FullSize:"full-size",Scale:"scale"},Ln=function(t){var n=t.category,r=C(t,["category"]),o=ge(r),a=o.getProps("img").html,i=n||Dn.Default;return e("img",w({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))};Ln.displayName="VImage";var Rn,zn,Tn=c(Ln),En=function(t){return e(tn,w({display:E.None,type:"hidden"},t))},Fn=function(t){var r=t.fileIcon,o=t.base64Image,a=C(t,["fileIcon","base64Image"]),i=ge(a),c=u({base64Image:o}),l=c[0],s=c[1];return n(ye,{_base:i,className:"v-base64file",children:[e(En,{name:t.name,value:l.base64Image}),e(tn,w({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(Ot,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Tn,{fontSize:t.fontSize,category:Dn.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},Pn=function(t){return e(tn,w({type:"month",isDefaultValue:!0},t))},jn=function(t){return e(tn,w({type:"number",isDefaultValue:!0},t))},Wn=function(t){return e(tn,w({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))};function Vn(){return Vn=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},Vn.apply(null,arguments)}var An,Un=function(e){return r.createElement("svg",Vn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Rn||(Rn=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"})),zn||(zn=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 Hn(){return Hn=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},Hn.apply(null,arguments)}var Mn,qn,Zn=function(e){return r.createElement("svg",Hn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),An||(An=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"})))},Gn=function(t){var r=t.isChecked,o=C(t,["isChecked"]);return e(tn,w({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(yt,{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(cn,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Un:Zn,{})}),!!t.label&&e(Le,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},Xn=function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=t.trackHeight,i=t.inputStyle,c=C(t,["thumbColor","thumbBorderColor","trackColor","trackHeight","inputStyle"]),l="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background"),s=a?w(w({},i),{"--den-range-track-height":a}):i;return e(tn,w({type:"range",inputClassName:l},c,{inputStyle:s}))},Yn=function(t){return e(tn,w({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},Jn=function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=C(t,["ref","caption","isFormNoValidate"]),a=s(null);d((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[r,t.autoFocus]);var i=ge(w({onClick:function(){a.current.click()}},o)),c=i.getProps("input").html;return n(ye,{_base:i,className:"v-submit",children:[n(pt,{cross:rt.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",w({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},c))]})},Kn=function(t){var r=ge(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"})]})},Qn=function(t){return e(tn,w({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))};function $n(){return $n=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},$n.apply(null,arguments)}var er,tr=function(e){return r.createElement("svg",$n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Mn||(Mn=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),qn||(qn=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},nr=function(t){var r=t.enableClear,o=C(t,["enableClear"]);return e(tn,r?w({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(at,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(cn,{fontSize:H.ExtraSmall,frontColor:k.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(tr,{})})]})}}):w({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))},rr=function(t){return e(tn,w({type:"time",isDefaultValue:!0},t))},or=function(t){return e(tn,w({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},ar=function(t){return e(tn,w({type:"week",isDefaultValue:!0},t))},ir=function(n){var r=u({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})};function cr(){return cr=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},cr.apply(null,arguments)}var lr=function(e){return r.createElement("svg",cr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),er||(er=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},sr=function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,l=C(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=u({isOn:r}),f=s[0],h=s[1];d((function(){h({isOn:r})}),[r]);var p=o?e(cn,{style:{margin:f.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:k.White,fontSize:H.Normal,children:o}):e(Ne,{width:"1em",height:"1em"}),m=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!f.isOn),h({isOn:!f.isOn}))},g=ge(w({onClick:m},l));return e(ye,{_base:g,className:i?"v-switch-disabled":"v-switch",children:n(ht,{role:"switch","aria-checked":f.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:m?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),m())}:void 0,borderRadius:L.ExtraLarge,backgroundColor:f.isOn?t.frontColor?t.frontColor:k.Success:t.backgroundColor?t.backgroundColor:k.Placeholder,gap:a||"0.6em",children:[f.isOn?e(cn,{category:nn.Circle,frontColor:k.White,children:e(lr,{})}):p,f.isOn?p:e(cn,{category:nn.Circle,frontColor:k.White,children:e(lr,{})})]})})},ur=function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=C(t,["name","items","value","isMultiple","fontFamily"]),i=ge(a),c=i.getProps("select").html;return e(ye,{_base:i,className:"v-select",children:e("select",w({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)}))}))})},dr=function(t){var r,o,a=t.ref,i=t.value,c=t.name,l=t.icon,f=t.emptyIcon,h=t.downIcon,m=t.upIcon,g=t.enableClear,v=t.items,y=t.dockCategory,b=t.dockAlignment,S=t.menuBackgroundColor,_=t.menuZIndex;t.onClick;var x=t.overWriteDropdownMenu,N=t.overWriteDropdownItem,I=t.handleChange,O=C(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),B=ge(O),D=u({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),L=D[0],R=D[1],z=s(null),E=p(),F=s(null),P=s(null);d((function(){if(L.isSelectionShow){var e=function(e){var t=e.target;F.current&&!F.current.contains(t)&&P.current&&!P.current.contains(t)&&R((function(e){return w(w({},e),{isSelectionShow:!1,items:v})}))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}}),[L.isSelectionShow,v]);d((function(){"object"==typeof a&&a?a.current=z.current:"function"==typeof a&&a(z.current),t.autoFocus&&z.current&&z.current.focus()}),[a,t.autoFocus]);var j=_||Pe;return e(Ve,{width:"fit-content",overlayZIndex:L.isSelectionShow?j:-2147483648,category:y||je.RightBottom,alignment:b||We.Vertical,renderOverlay:function(){return e(Ne,{ref:P,children:e(Ne,{visibility:L.isSelectionShow?T.Visible:T.Hidden,borderRadius:t.borderRadius,role:"listbox",id:E,children:x?x(L.items):n(Ot,{backgroundColor:S||k.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[L.items.map((function(t){return N?e(Ne,{role:"option","aria-selected":t.value===L.selectValue,children:N(t)},t.value):n(yt,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===L.selectValue,onClick:function(){R(w(w({},L),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),I&&I(t.value)},children:[t.icon?e(cn,{fontSize:H.ExtraSmall,children:t.icon}):e(Ne,{className:"v-dropdown-icon-fragment"}),e(Le,{caption:t.caption})]},t.value)})),!(0!=L.items.length)&&e(cn,{fontSize:H.ExtraSmall,onClick:function(){},children:f})]})})})},children:e(Ne,{ref:F,children:n(st,w({className:B.getClassName("v-dropdown"),style:B.getStyle(t.style)},O,{role:"combobox","aria-expanded":L.isSelectionShow,"aria-haspopup":"listbox","aria-controls":E,onClick:function(){R(w(w({},L),{isSelectionShow:!L.isSelectionShow}))},children:[n(Ne,{children:[e(nr,{ref:z,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(cn,{fontSize:t.iconSize?t.iconSize:H.Small,children:L.selectIcon?L.selectIcon:l}),valueHook:null===(r=L.selectCaption)||void 0===r?void 0:r.toString(),enableClear:g,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,R(w(w({},L),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(En,{name:c,valueHook:null===(o=L.selectValue)||void 0===o?void 0:o.toString()})]}),e(cn,{fontSize:t.iconSize?t.iconSize:H.Small,children:L.isSelectionShow?h:m})]}))})})},fr={NewWindow:"_blank",Self:"_self",Parent:"_parent",Top:"_top"},hr=function(t){var n=t.category,r=t.to,o=C(t,["category","to"]),a=ge(o),i=a.getProps("a").html;return e(ye,{_base:a,className:"v-hyperlink",children:e("a",w({href:r,target:n},i,{children:t.children}))})},pr={P:"p",Address:"address",Article:"article",Aside:"aside",Details:"details",Section:"section"},mr={Justify:0,Left:1,Right:2,Center:3},gr=function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=C(t,["category","alignType","renderContent"]),c=ge(i);switch(t.alignType){case mr.Center:o="v-text-center";break;case mr.Justify:o="v-text-justify";break;case mr.Left:o="v-text";break;case mr.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})},vr=function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,c=C(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),l=ge(c),f=l.getProps("textarea").html,h=u({value:t.value}),p=h[0],m=h[1],g=s(null);return d((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[r,t.autoFocus]),e(ye,{category:ve.Display,_base:l,className:"v-validity v-textarea ".concat((i||k.Placeholder)+"-placeholder"),children:n(dt,{cross:rt.Top,gap:"0.6em",children:[t.icon,e(Ne,{children:e("textarea",w({ref:g},f,{id:t.id?t.id:t.name,value:o?t.valueHook:p.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):m({value:e.target.value})}}))})]})})},yr={Default:"default",Fixed:"fixed"},br=function(t){t.category;var n=C(t,["category"]),r=ge(n);return e(ye,{_base:r,className:"v-ellipse-".concat(t.category?t.category:yr.Default),children:t.children})},wr={Vertical:"vertical",Horizontal:"horizontal"},Cr=function(t){t.category;var n=C(t,["category"]),r=ge(n);return e(ye,{_base:r,className:"v-line-".concat(t.category)})},Sr="default",kr=function(t){t.category;var n=C(t,["category"]),r=ge(n);return e(ye,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Sr)})},_r={Default:"default",Max:"max"},xr=function(n){var r=ge(n);return 0===o.toArray(n.children).length?e(Le,{backgroundColor:k.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:_r.Default)),style:w(w({},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)}))})},Nr=function(t){t.sources;var n=C(t,["sources"]),r=ge(n),o=r.getProps("audio").html;return e("audio",w({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))}))}))},Ir=function(t){t.sources;var n=C(t,["sources"]),r=ge(n),o=r.getProps("video").html;return e("video",w({className:r.getClassName("v-video"),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))}))}))},Or=function(t){var n=ge(t),r=n.getProps("header").html;return e("header",w({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},Br=function(t){var n=ge(t),r=n.getProps("main").html;return e("main",w({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},Dr=function(t){var n=ge(t),r=n.getProps("footer").html;return e("footer",w({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},Lr=function(t){var n=ge(t),r=n.getProps("hr").html;return e("hr",w({className:n.getClassName("v-hr"),style:n.getStyle()},r))},Rr=function(t){var n=ge(t),r=n.getProps("section").html;return e("section",w({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},zr=function(t){var n=ge(w({width:"100vw",height:"100vh",backgroundColor:k.Dark75},t));return e(ke,{zIndex:t.zIndex?t.zIndex:Pe,category:Ce.Window,type:Se.Center,children:e(xe,{children:e(ye,{_base:n,className:"v-mask",children:e(ke,{category:Ce.Area,type:Se.Center,children:t.children})})})})},Tr=function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=C(t,["image","backingBoard","style"]),c=ge(i);return o&&(n=w(w({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ye,w({_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})}))},Er="--den-",Fr={Global:"global",Area:"area"},Pr=function(t){var n=t.category,r=t.area,o=t.variables,a=C(t,["category","area","variables"]),i=ge(w({id:r},a));return d((function(){var e;n==Fr.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Er,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Er).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Er).concat(t),o.fontWeights[t])})))}),[]),n==Fr.Area?e(ye,{_base:i,className:"v-theme",children:t.children}):e(Le,{backgroundColor:k.Error,caption:"[VTheme] No Area!"})},jr={Hover:"hover",Click:"click"},Wr=function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,c=C(t,["category","dockCategory","dockAlignment","renderOverlay"]),l=ge(c),s=u({isShow:!1}),d=s[0],f=s[1],h=p();return n=r||jr.Hover,e(ye,{_base:l,className:"v-tooltip",children:e(Ve,{category:o,alignment:a,renderOverlay:function(){return d.isShow?e(Ne,{role:"tooltip",id:h,children:i()}):e(Ne,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(Ne,{"aria-describedby":d.isShow?h:void 0,onClick:function(){n==jr.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){n==jr.Hover&&f({isShow:!0})},onMouseLeave:function(){n==jr.Hover&&f({isShow:!1})},onFocus:function(){n==jr.Hover&&f({isShow:!0})},onBlur:function(){n==jr.Hover&&f({isShow:!1})},children:t.children})})})},Vr=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return b(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(Le,{backgroundColor:k.Error,frontColor:k.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}(m),Ar=function(t){return e(xe,{children:!!t.badge&&e(ke,{category:Ce.Area,bottom:"0",right:"0",children:"string"==typeof t.badge||t.badge instanceof String?e(Tn,{category:Dn.Circle,fontSize:H.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:k.Light}):e(cn,{category:nn.Circle,frontColor:k.Secondary,backgroundColor:k.White,fontSize:H.Small,children:t.badge})})})},Ur=function(t){var n=ge(t),r=n.getProps("template").html;return e("template",w({className:n.getClassName("v-template"),style:n.getStyle()},r,{children:t.children}))},Hr=function(t){return e("div",{id:t.id})},Mr=function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},qr={Uninstalled:"uninstalled",Outdated:"outdated",Ready:"ready"},Zr=function(t){var n=u({}),r=n[0],o=n[1];if(d((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?qr.Ready:qr.Outdated,meta:e})})).catch((function(){return o({status:qr.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===qr.Ready?e(Ne,{className:"v-chrome-extension-validator-fragment"}):(r.status===qr.Uninstalled?a=t.uninstalledMessage:r.status===qr.Outdated&&(a=t.outdatedMessage),e(hr,{category:fr.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(Ne,{className:"v-chrome-extension-validator-fragment"})},Gr={Normal:"normal",Italic:"italic"},Xr=function(t){return d((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==Gr.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==Gr.Normal?l.push("0,".concat(U(e.weight))):e.type==Gr.Italic&&l.push("1,".concat(U(e.weight))):l.push(U(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(Ne,{className:"google-font-fragment"})},Yr={Popup:"popup",Redirect:"redirect"},Jr={Implicit:"implicit",AuthorizationCode:"authorization-code"},Kr="fewbox-google-grant",Qr=function(t){return d((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==Jr.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(Kr);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(Kr);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[t.clientId,t.scope,t.uxMode,t.category,t.isAutoRequest]),t.isAutoRequest?e(Ne,{className:"google-grant-fragment"}):e(Hr,{id:Kr,children:t.children})},$r=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})},eo={Prompt:"prompt",Popup:"popup",Redirect:"redirect"},to=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,f=u||"fewbox-google-auth";return d((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!=eo.Prompt?r:void 0,use_fedcm_for_prompt:r==eo.Prompt,callback:function(e){i(e.credential)},login_uri:o}),r==eo.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&c&&c(e.getNotDisplayedReason())}));else{var e=document.getElementById(f);e?google.accounts.id.renderButton(e,a||{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element '".concat(f,"' 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,f]),e(Hr,{id:f})},no=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})},ro=function(e){var t={},n=v(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};export{bn as AnimationCategory,Sn as AnimationDelay,wn as AnimationRepeat,Cn as AnimationSpeed,Yt as BackgroundPositionType,ge as Base,L as BorderRadiusType,R as BorderStyleType,z as BorderWidthType,ze as BreakpointCategory,Ee as BreakpointDisplay,Te as BreakpointType,k as ColorType,F as CursorType,Mr as Debug,q as DirectionType,E as DisplayType,Ve as Dock,We as DockAlignment,je as DockCategory,yr as EllipseCategory,qr as ExtensionStatus,$r as FigmaSignin,In as FileCategory,Ze as Flex,qe as FlexAlignContentType,Me as FlexAlignItemsType,Ae as FlexDirectionType,Xe as FlexItem,Ge as FlexItemAlignSelfType,He as FlexJustifyContentType,Ue as FlexWrapType,x as FontFamilyType,H as FontSizeType,_ as FontWeightType,B as GapType,Gr as GoogleFontType,Qr as GoogleGrant,Jr as GoogleGrantCategory,Yr as GoogleGrantUXMode,to as GoogleSignin,eo as GoogleSigninUXMode,Qt as HandleSubmitCategory,fr as HyperlinkCategory,Dn as ImageCategory,Be as LabelAlignType,Ie as LabelCategory,Oe as LabelType,D as LetterSpacingType,wr as LineCategory,N as LineHeightType,O as MarginType,V as OpacityType,P as OverflowType,j as OverflowXType,W as OverflowYType,I as PaddingType,ke as Position,xe as PositionArea,_e as PositionAreaCategory,Ce as PositionCategory,Se as PositionType,M as PseudoType,Fe as Responsive,ve as RootCategory,Ye as SBaseline,Je as SBottom,et as SCenter,Ke as SLeft,Qe as SMiddle,$e as SRight,tt as SStretch,nt as STop,Re as ScreenSizeType,_r as ShadowCategory,nn as SvgCategory,mr as TextAlignType,pr as TextCategory,Fr as ThemeCategory,jr as TooltipCategory,en as VActionForm,kn as VAnimation,Nr as VAudio,Jt as VBackground,Ar as VBadge,Fn as VBase64File,Ne as VBoundary,pn as VCheckBox,Zr as VChromeExtensionValidator,mn as VColor,gn as VDate,vn as VDatetimeLocal,dr as VDropdown,br as VEllipse,yn as VEmail,Vr as VErrorBoundary,Bn as VFile,Dr as VFooter,$t as VForm,Tr as VFrame,Xr as VGoogleFont,ir as VGroup,Lr as VHR,Or as VHeader,En as VHidden,hr as VHyperlink,Tn as VImage,Le as VLabel,Cr as VLine,_n as VLoading,Br as VMain,zr as VMask,Pn as VMonth,Hr as VMount,jn as VNumber,Wn as VPassword,Gn as VRadio,Xn as VRange,kr as VRectangle,Yn as VSearch,Rr as VSection,ur as VSelect,xr as VShadow,Jn as VSubmit,Kn as VSubmitWrapper,cn as VSvg,sr as VSwitch,Qn as VTel,Ur as VTemplate,gr as VText,vr as VTextArea,nr as VTextBox,Pr as VTheme,rr as VTime,Wr as VTooltip,or as VUrl,Ir as VVideo,ar as VWeek,we as VZone,A as ViewSizeType,T as VisibilityType,no as WeComSignin,at as X,it as XAround,ct as XAutoBoth,lt as XAutoCenter,st as XAutoLeft,ut as XAutoLefts,dt as XAutoRight,ft as XAutoRights,ht as XBetween,pt as XCenter,rt as XCrossType,mt as XCustom,gt as XCustomBoth,vt as XEvenly,yt as XLeft,bt as XRight,wt as XWrapAround,Ct as XWrapBetween,St as XWrapBottom,kt as XWrapEvenly,_t as XWrapMiddle,xt as XWrapTop,Ot as Y,zt as YAround,Vt as YAutoBoth,Pt as YAutoBottom,Wt as YAutoBottoms,Ft as YAutoCenter,Et as YAutoTop,jt as YAutoTops,Bt as YBetween,Rt as YBottom,Nt as YCrossType,At as YCustom,Ut as YCustomBoth,Tt as YEvenly,Dt as YMiddle,Lt as YTop,Zt as YWrapAround,Gt as YWrapBetween,Mt as YWrapCenter,Xt as YWrapEvenly,Ht as YWrapLeft,qt as YWrapRight,be as ZoneCategory,Kt as convertFormDataToJson,se as getGeneratedClassName,U as getWeightValue,ro as parseJWT};
2
3
  //# sourceMappingURL=index.js.map