@fewbox/den-web 0.1.9 → 0.1.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.
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useRef as c,useEffect as l,createElement as u,useState as s,useImperativeHandle as d}from"react";import{jwtDecode as f}from"jwt-decode";var p;!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(p||(p={}));var g=function(e,t){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},g(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,v,y,b,C,S,w,k,_=function(){return _=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},_.apply(this,arguments)};function x(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 B(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"}(m||(m={})),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"}(v||(v={})),function(e){e.Default="font-family"}(y||(y={})),function(e){e.Default="line-height"}(b||(b={})),function(e){e.Default="padding"}(C||(C={})),function(e){e.Default="letter-spacing"}(S||(S={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(w||(w={})),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"}(k||(k={}));var T,V,I,R,L=function(e){var t;switch(e){case v.Thin:t=100;break;case v.ExtraLight:t=200;break;case v.Light:t=300;break;case v.Regular:t=400;break;case v.Medium:t=500;break;case v.SemiBold:t=600;break;case v.Bold:t=700;break;case v.ExtraBold:t=800;break;case v.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(T||(T={})),function(e){e.All="all",e.Before="before",e.After="after"}(V||(V={})),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"}(I||(I={})),function(e){e.Flex="Flex",e.FlexItem="FlexItem",e.Position="Position",e.PositionArea="PositionArea",e.SBaseline="SBaseline",e.SBottom="SBottom",e.SLeft="SLeft",e.SMiddle="SMiddle",e.SCenter="SCenter",e.SRight="SRight",e.SStretch="SStretch",e.STop="STop",e.X="X",e.XAround="XAround",e.XAutoBoth="XAutoBoth",e.XAutoCenter="XAutoCenter",e.XAutoLeft="XAutoLeft",e.XAutoLefts="XAutoLefts",e.XAutoRight="XAutoRight",e.XAutoRights="XAutoRights",e.XBetween="XBetween",e.XCenter="XCenter",e.XCustom="XCustom",e.XCustomBoth="XCustomBoth",e.XEvenly="XEvenly",e.XLeft="XLeft",e.XRight="XRight",e.XWrap="XWrap",e.XWrapAround="XWrapAround",e.XWrapBetween="XWrapBetween",e.XWrapBottom="XWrapBottom",e.XWrapEvenly="XWrapEvenly",e.XWrapMiddle="XWrapMiddle",e.XWrapTop="XWrapTop",e.Y="Y",e.YAround="YAround",e.YBetween="YBetween",e.YBottom="YBottom",e.YEvenly="YEvenly",e.YMiddle="YMiddle",e.YTop="YTop",e.VEllipse="VEllipse",e.VLine="VLine",e.VRectangle="VRectangle",e.VAvatar="VAvatar",e.VBlock="VBlock",e.VBoundary="VBoundary",e.VButton="VButton",e.VCard="VCard",e.VCardMedia="VCardMedia",e.VCardSocial="VCardSocial",e.VCardWindow="VCardWindow",e.VChromeExtensionValidator="VChromeExtensionValidator",e.VCodePreview="VCodePreview",e.VDesigner="VDesigner",e.VDynamic="VDynamic",e.VBackground="VBackground",e.VForm="VForm",e.VImage="VImage",e.VCheckBox="VCheckBox",e.VColor="VColor",e.VDate="VDate",e.VDatetimeLocal="VDatetimeLocal",e.VEmail="VEmail",e.VFile="VFile",e.VMonth="VMonth",e.VNumber="VNumber",e.VPassword="VPassword",e.VRadio="VRadio",e.VRange="VRange",e.VSearch="VSearch",e.VSubmit="VSubmit",e.VTel="VTel",e.VTextBox="VTextBox",e.VTime="VTime",e.VUrl="VUrl",e.VWeek="VWeek",e.VLabel="VLabel",e.VLink="VLink",e.VPhoto="VPhoto",e.VShadow="VShadow",e.VStack="VStack",e.VSvg="VSvg",e.VText="VText",e.VTooltip="VTooltip"}(R||(R={}));var D,N=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),O=function(e){this.component=e},E=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return h(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(T).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(O),A=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return h(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(O),W=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 h(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 I.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case I.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case I.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case I.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case I.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case I.Left:r=" ".concat(e).concat(o,"-border-left");break;case I.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case I.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case I.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case I.Right:r=" ".concat(e).concat(o,"-border-right");break;case I.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case I.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case I.Top:r=" ".concat(e).concat(o,"-border-top");break;case I.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(m.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(m.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(m.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(m.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(m.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(m.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(m.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(m.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(O),z=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new W(new E(new A(new N(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},F=["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"],P=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],X=["onError","onLoad"],U=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],M={div:B(B([],F,!0),P,!0),input:B(B(B(B([],F,!0),P,!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:B(B(B([],F,!0),P,!0),["rows","cols","wrap"],!0),template:B(B([],F,!0),P,!0),abbr:B(B([],F,!0),P,!0),span:B(B([],F,!0),P,!0),h1:B(B([],F,!0),P,!0),h2:B(B([],F,!0),P,!0),h3:B(B([],F,!0),P,!0),h4:B(B([],F,!0),P,!0),h5:B(B([],F,!0),P,!0),h6:B(B([],F,!0),P,!0),i:B(B([],F,!0),P,!0),b:B(B([],F,!0),P,!0),u:B(B([],F,!0),P,!0),em:B(B([],F,!0),P,!0),strong:B(B([],F,!0),P,!0),blockquote:B(B([],F,!0),P,!0),cite:B(B([],F,!0),P,!0),code:B(B([],F,!0),P,!0),del:B(B([],F,!0),P,!0),dfn:B(B([],F,!0),P,!0),ins:B(B([],F,!0),P,!0),kbd:B(B([],F,!0),P,!0),mark:B(B([],F,!0),P,!0),pre:B(B([],F,!0),P,!0),q:B(B([],F,!0),P,!0),s:B(B([],F,!0),P,!0),samp:B(B([],F,!0),P,!0),small:B(B([],F,!0),P,!0),summary:B(B([],F,!0),P,!0),sup:B(B([],F,!0),P,!0),sub:B(B([],F,!0),P,!0),time:B(B([],F,!0),P,!0),var:B(B([],F,!0),P,!0),wbr:B(B([],F,!0),P,!0),p:B(B([],F,!0),P,!0),address:B(B([],F,!0),P,!0),article:B(B([],F,!0),P,!0),aside:B(B([],F,!0),P,!0),details:B(B(B([],F,!0),P,!0),["onToggle"],!0),section:B(B([],F,!0),P,!0),form:B(B(B([],F,!0),P,!0),["onReset","onSubmit"],!0),dialog:B(B(B([],F,!0),P,!0),["onCancel","onClose"],!0),img:B(B(B(B([],F,!0),P,!0),X,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:B(B(B(B([],F,!0),P,!0),X,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:B(B(B([],F,!0),P,!0),X,!0),embed:B(B(B([],F,!0),P,!0),X,!0),link:B(B(B([],F,!0),P,!0),X,!0),svg:B(B(B([],F,!0),P,!0),X,!0),audio:B(B(B([],F,!0),P,!0),U,!0),video:B(B(B([],F,!0),P,!0),U,!0)},j=function(e){return{getClassName:function(t){var n=z(t,e.isDefaultValue,e.fontSize,e.isAutoSize,e.fontWeight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:e.fontFamily,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return _(_({},e.style),t)},getChildren:function(){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children},getProps:function(t){var n={},r=Object.keys(e);return r.length>0&&r.forEach((function(r){M[t]&&M[t].includes(r)&&(n[r]=e[r])})),n}}},H=o((function(t,n){var r=t.vClassName,o=x(t,["vClassName"]),a=j(o);return e("div",_({ref:n,className:a.getClassName(r),style:a.getStyle()},a.getProps("div"),{children:t.children}))}));!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(D||(D={}));var Y,q;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(Y||(Y={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(q||(q={}));var G,J=function(n){return n.children?e(t,{children:a.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;return n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=q.Only?n.type==q.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==q.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,i(e,{className:t})}return e}(e)}))}):e(t,{})};!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.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(G||(G={}));var Z,K,Q=function(t){var r,o=c(null),a=c(null),i=c(null),u=function(){if(a.current&&i.current&&o.current)if(t.category==G.Bottom||t.category==G.Top){var e="-".concat(Math.abs(i.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==G.Left||t.category==G.Right){var n="".concat(Math.abs(i.current.offsetHeight-o.current.offsetHeight)/2,"px");o.current.style.top=n}else if(t.category==G.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightTop){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightBottom){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.LeftInnerTop);else if(t.category==G.LeftInnerBottom);else if(t.category==G.RightInnerTop){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightInnerBottom){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(l((function(){a.current&&new ResizeObserver((function(e){u()})).observe(a.current);u()}),[]),t.category)switch(t.category){case G.Bottom:r="dock-overlay-bottom";break;case G.Left:r="dock-overlay-left";break;case G.LeftBottom:r="dock-overlay-leftbottom";break;case G.LeftTop:r="dock-overlay-lefttop";break;case G.Right:r="dock-overlay-right";break;case G.RightBottom:r="dock-overlay-rightbottom";break;case G.RightTop:r="dock-overlay-righttop";break;case G.Top:r="dock-overlay-top";break;case G.LeftInnerBottom:r="dock-overlay-leftinnerbottom";break;case G.LeftInnerTop:r="dock-overlay-leftinnertop";break;case G.RightInnerBottom:r="dock-overlay-rightinnerbottom";break;case G.RightInnerTop:r="dock-overlay-rightinnertop";break;default:r="dock-overlay"}return n("div",{className:"dock",children:[e("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:r,ref:o,children:e("div",{ref:a,children:t.renderOverlay()})}),e("div",{id:"dockContent",className:"dock-content",ref:i,onClick:function(e){t.onClick&&t.onClick(e)},children:t.children})]})};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(Z||(Z={})),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"}(K||(K={}));var $,ee=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.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=Z.Self?_(_({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):_(_({},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"}($||($={}));var te,ne,re,oe,ae,ie=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:$.Default," ").concat(e.props.className);return i(e,{className:t})}(e)}))})};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(te||(te={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ne||(ne={})),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"}(re||(re={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(oe||(oe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(ae||(ae={}));var ce,le=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=x(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=j(l),s=_(_({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),d=t.overflow?"flex-".concat(t.overflow):"flex-hidden",f=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",h=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(g).concat(h).concat(m),y=u.getClassName(v);return e("div",_({className:y,style:s},u.getProps("div"),{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ce||(ce={}));var ue,se=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:a.map(n.children,(function(r){return function(r){var o={};if(n.order&&(o.order=n.order),n.basis&&(o.flexBasis=n.basis),n.grow&&(o.flexGrow=n.grow),n.shrink&&(o.flexShrink=n.shrink),r.props){var a=_(_({},o),r.props?r.props.style:null),c=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",l=r.props.className?" ".concat(r.props.className):"",u="flex-item".concat(c).concat(l);return i(r,{className:u,style:a})}return console.debug(r),e(t,{children:"Please check child."})}(r)}))}):e(t,{})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(ue||(ue={}));var de,fe=function(n,r,o,i,c){n.cross;var l=x(n,["cross"]),u=j(l),s=function(t,n,o){return r?r(t,n,o):e(se,{alignSelf:o,children:t},"child".concat(n))};return e(le,_({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case ue.Stretch:e=oe.Stretch;break;case ue.Baseline:e=oe.Baseline;break;case ue.Bottom:e=oe.End;break;case ue.Middle:e=oe.Center;break;case ue.Top:e=oe.Start;break;default:e=oe.Center}else e=oe.Center;return e}(),wrap:o?o():ne.NoWrap,justifyContent:i?i():re.Start,alignContent:c?c():ae.Start},l,{children:a.map(u.getChildren(),(function(n,r){var o=n;return o?o.type?"STop"===o.props.typeName?s(o.props.children,r,ce.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,ce.Center):"SBottom"===o.props.typeName?s(o.props.children,r,ce.End):"SStretch"===o.props.typeName?s(o.props.children,r,ce.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,ce.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."})):void 0}))}))},pe=function(t){return fe(t,(function(t,n,r){return e(se,{grow:1,alignSelf:r,children:t})}))},ge=function(t){var n=j(t);return fe(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:o,children:t}):e(se,{grow:0,alignSelf:o,children:t})}))},he=function(t){var n=j(t);return fe(t,(function(t,r){return r==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},me=function(e){return fe(e,void 0,void 0,(function(){return re.Center}))},ve=function(e){return fe(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(de||(de={}));var ye,be=function(n,r,o,i,c){var l=n.cross,u=x(n,["cross"]),s=j(u),d=function(t,n,o){return r?r(t,n,o):e(se,{alignSelf:o,children:t},"child".concat(n))};return e(le,_({vClassName:"v-ybase",wrap:o?o():ne.NoWrap,alignContent:i?i():ae.Start,alignItems:function(){var e;if(l)switch(l){case de.Left:e=oe.Start;break;case de.Center:e=oe.Center;break;case de.Right:e=oe.End;break;case de.Baseline:e=oe.Baseline;break;default:e=oe.Stretch}else e=oe.Stretch;return e}(),direction:te.Column,justifyContent:c?c():re.Start},u,{children:a.map(s.getChildren(),(function(n,r){var o=n;return o?o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,ce.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,ce.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,ce.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,ce.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,ce.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."})):void 0}))}))},Ce=function(t){return be(t,(function(t,n,r){return e(se,{grow:1,alignSelf:r,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ye||(ye={}));var Se,we=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]=B(B([],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"}(Se||(Se={}));var ke,_e,xe;!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(ke||(ke={})),function(e){e.Default="default",e.Circle="circle"}(_e||(_e={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(xe||(xe={}));var Be=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,s=x(t,["category","type","alignType","isTextOverflow","caption"]),d=j(s);switch(i){case xe.Center:r="v-label-center";break;case xe.Justify:r="v-label-justify";break;case xe.Left:r="v-label";break;case xe.Right:r="v-label-right";break;default:r="v-label"}if(a==_e.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var f=o;n=u(f,d.getProps(f),l)}else n=u("span",d.getProps("span"),l);return a==_e.Circle?e(ie,{children:e(H,_({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},s,{children:e(ee,{category:Z.Area,type:K.Center,children:n})}))}):e(H,_({display:null==t.category||t.category==ke.Span?"inline-block":"block",vClassName:r},s,{children:n}))},Te=o((function(t,n){return e(H,_({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));Te.displayName="VBoundary";var Ve,Ie=o((function(t,r){var o=t.type,a=t.label,i=t.icon,u=t.extensions,f=t.value,p=t.valueHook,g=t.setStateHook,h=t.isValueShow,v=t.isReadonly,y=t.valueSize,b=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,B=t.overWrite,V=t.onChange,I=t.inheritClassName,R=t.customAttibutes,L=t.isFocus,D=x(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),N=j(D),O=s({value:void 0!==t.value?t.value:""}),E=O[0],A=O[1],W=c(null),z=c(null),F=c(null);return d(r,(function(){return F.current}),[]),l((function(){var e;r?null===(e=F.current)||void 0===e||e.focus():L&&W.current&&W.current.focus()}),[]),B&&(C=B(r?F:W)),n(H,_({vClassName:"v-validity v-input".concat(I?" ".concat(I):"")},D,{children:[n(Ce,{display:C?"none":void 0,children:[n(ge,{gap:"0.6em",children:[!!i&&e(Te,{children:i}),n(Te,{children:[e("input",_({ref:r?F:W},R,{className:k,style:_(_({},w),{display:v?"none":"block"}),type:o,value:p||E.value,onChange:function(e){var t,n;h&&A({value:r?null===(t=F.current)||void 0===t?void 0:t.value:null===(n=W.current)||void 0===n?void 0:n.value}),V&&V(e),g?g(e.target.value):A({value:e.target.value})}},N.getProps("input"))),!!v&&e("div",{ref:t.readonlyRef?t.readonlyRef:z,children:p||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!u&&e(pe,{children:u.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=r?F.current:W.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})]}),!!h&&e(me,{children:e(Be,{padding:S,isAutoSize:t.isAutoSize,fontSize:y||T.Normal,frontColor:b||m.Black,caption:void 0!==E.value?E.value.toString():f?f.toString():""})})]}),!!C&&C]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Ve||(Ve={}));var Re,Le,De=function(n){var r=j(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Ve.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=_(_({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Ne(){return Ne=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},Ne.apply(null,arguments)}var Oe,Ee=function(e){return r.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Re||(Re=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"})),Le||(Le=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 Ae(){return Ae=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},Ae.apply(null,arguments)}var We,ze,Fe,Pe,Xe=function(e){return r.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Oe||(Oe=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(We||(We={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(ze||(ze={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Fe||(Fe={})),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"}(Pe||(Pe={}));var Ue,Me=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})},je=function(t){var n=j(t);return e(Te,_({className:n.getClassName("v-loading"),style:n.getStyle()},t,{children:e(Me,{category:t.animationCategory?t.animationCategory:We.Flip,speed:t.animationSpeed?t.animationSpeed:Fe.Slower,repeat:ze.Infinite,children:t.children})}))};function He(){return He=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},He.apply(null,arguments)}var Ye,qe=function(e){return r.createElement("svg",He({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ue||(Ue=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"}(Ye||(Ye={}));var Ge,Je=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"}(Ge||(Ge={}));var Ze,Ke,Qe=function(t){var n=t.category,r=x(t,["category"]),o=j(r),a=n||Ge.Default;return e("img",_({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},$e=o((function(t,n){return e(Ie,_({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));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=function(e){return r.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ze||(Ze=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"})),Ke||(Ke=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 rt(){return rt=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},rt.apply(null,arguments)}var ot,at,it=function(e){return r.createElement("svg",rt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),tt||(tt=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 lt,ut=function(e){return r.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ot||(ot=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),at||(at=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},st=o((function(t,n){var r,o=t.enableClear,a=x(t,["enableClear"]);if(o){var i={option:e(De,{fontSize:T.ExtraSmall,frontColor:m.Placeholder,onClick:function(){},children:e(ut,{})}),handleOption:function(e){e.value=""}};r=t.extensions?B(B([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(r=t.extensions);return e(Ie,_({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:r}))}));!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(lt||(lt={}));var dt,ft=function(t){var n=t.category,r=t.to,o=x(t,["category","to"]),a=j(o);return e(H,_({vClassName:"v-hyperlink"},o,{children:e("a",_({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(dt||(dt={}));var pt,gt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(pt||(pt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(gt||(gt={}));var ht,mt=o((function(t,r){t.icon;var o=t.value,a=t.valueHook,i=t.setStateHook,l=x(t,["icon","value","valueHook","setStateHook"]),u=j(l),d=s({value:o}),f=d[0],p=d[1],g=c(null);return e(H,_({vClassName:"v-validity v-textarea"},l,{children:n(he,{cross:ue.Top,gap:"0.6em",children:[t.icon,e(Te,{children:e("textarea",_({ref:r||g,id:t.id?t.id:t.name,value:a?t.valueHook:f.value},u.getProps("textarea"),{onChange:function(e){t.onChange&&t.onChange(e),i?i(e.target.value):p({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(ht||(ht={}));var vt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(vt||(vt={}));var yt;!function(e){e.Default="default",e.Fixed="fixed"}(yt||(yt={}));var bt;!function(e){e.Default="default",e.Max="max"}(bt||(bt={}));var Ct;!function(e){e.Normal="normal",e.Italic="italic"}(Ct||(Ct={}));var St,wt;!function(e){e.Popup="popup",e.Redirect="redirect"}(St||(St={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(wt||(wt={}));var kt,_t="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(kt||(kt={}));var xt,Bt="fewbox-google-auth",Tt=Object.freeze({__proto__:null,get AnimationCategory(){return We},get AnimationDelay(){return Pe},get AnimationRepeat(){return ze},get AnimationSpeed(){return Fe},get BackgroundPositionType(){return ye},Base:j,get BorderRadiusType(){return w},get BreakpointType(){return p},get ColorType(){return m},get ComponentType(){return R},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:J,get DisplayCategory(){return Y},get DisplayType(){return q},Dock:Q,get DockCategory(){return G},get EllipseCategory(){return ht},get ExtensionStatus(){return dt},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 Ye},Flex:le,get FlexAlignContentType(){return ae},get FlexAlignItemsType(){return oe},get FlexDirectionType(){return te},FlexItem:se,get FlexItemAlignSelfType(){return ce},get FlexJustifyContentType(){return re},get FlexWrapType(){return ne},get FontFamilyType(){return y},get FontWeightType(){return v},get GoogleFontType(){return Ct},GoogleGrant:function(n){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==wt.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:n.clientId,scope:n.scope,callback:function(e){var t={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};n.callback(t)}});if(n.isAutoRequest)e.requestAccessToken();else{var t=document.getElementById(_t);null==t||t.addEventListener("click",(function(){e.requestAccessToken()}))}n.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:n.clientId,scope:n.scope,ux_mode:n.uxMode,callback:function(e){var t={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};n.callback(t)}});if(n.isAutoRequest)e.requestCode();else{var t=document.getElementById(_t);null==t||t.addEventListener("click",(function(){e.requestCode()}))}n.enableGoogle()},e.onerror=function(e){console.error(e),n.disableGoogle()},document.body.appendChild(e)}),[]),n.isAutoRequest?e(t,{}):e(Te,{id:_t,children:n.children})},get GoogleGrantCategory(){return wt},get GoogleGrantUXMode(){return St},GoogleSignin:function(t){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=kt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==kt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==kt.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&t.switchAnotherIdentityProvider&&t.switchAnotherIdentityProvider(e.getNotDisplayedReason())}));else{var e=document.getElementById(t.googleAuthButtonId?t.googleAuthButtonId:Bt);e?google.accounts.id.renderButton(e,t.gsiButtonConfiguration?t.gsiButtonConfiguration:{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element google-auth not found!"),t.disableGoogle())}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e(Te,{id:t.googleAuthButtonId?t.googleAuthButtonId:Bt})},get GoogleSigninUXMode(){return kt},get HandleSubmitCategory(){return Se},get HyperlinkCategory(){return lt},get ImageCategory(){return Ge},get LabelAlignType(){return xe},get LabelCategory(){return ke},get LabelType(){return _e},get LetterSpacingType(){return S},get LineCategory(){return vt},get LineHeightType(){return b},get PaddingType(){return C},Position:ee,PositionArea:ie,get PositionAreaCategory(){return $},get PositionCategory(){return Z},get PositionType(){return K},Responsive:function(r){return n(t,{children:[e(J,{category:Y.Hidden,type:q.Down,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.desktop}),e(J,{category:Y.Hidden,type:q.Up,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return bt},get SizeType(){return T},get SvgCategory(){return Ve},get TextAlignType(){return gt},get TextCategory(){return pt},VActionForm:function(t){return e("form",_({className:"v-action-form"},t,{children:t.children}))},VAnimation:Me,VAudio:function(t){t.sources;var n=x(t,["sources"]),r=j(n);return e("audio",_({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},r.getProps("audio"),{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=x(t,["image","imageWidth","imageHeight","position"]);return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e(H,_({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},r,{children:t.children}))},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=x(t,["fileIcon","base64Image"]),i=s({base64Image:o}),c=i[0],l=i[1];return n(Te,{className:"v-base64file",children:[e($e,{name:t.name,value:c.base64Image}),e(Ie,_({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",l({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(Ce,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Qe,{fontSize:t.fontSize,category:Ge.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:Te,VCheckBox:function(t){var r=t.isChecked,o=x(t,["isChecked"]),a=s({isChecked:r}),i=a[0],c=a[1];return e(Ie,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(ve,_({gap:"0.2em",onClick:function(){var e,t;null===(e=r.current)||void 0===e||e.click(),(null===(t=r.current)||void 0===t?void 0:t.hasAttribute("checked"))?c({isChecked:!1}):c({isChecked:!0})}},o,{children:[e(De,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Ee,{}):e(Xe,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(n){var r=s({}),o=r[0],a=r[1];if(l((function(){var e;o.status||(e="chrome-extension://".concat(n.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var t=!n.version||e.version>=n.version;a({status:t?dt.Ready:dt.Outdated,meta:e})})).catch((function(){return a({status:dt.Uninstalled})})))})),o.status){if(n.overWrite)return n.overWrite(o.status,o.meta);var i=void 0;return o.status===dt.Ready?e(t,{}):(o.status===dt.Uninstalled?i=n.uninstalledMessage:o.status===dt.Outdated&&(i=n.outdatedMessage),e(ft,{category:lt.NewWindow,to:n.downloadUrl?n.downloadUrl:"mailto:support@fewbox.com",children:i}))}return e(t,{})},VColor:function(t){return e(Ie,_({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ie,_({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ie,_({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,u=r.name,d=r.icon,f=r.emptyIcon,p=r.downIcon,g=r.upIcon,h=r.enableClear,v=r.isReadonly,y=r.items,b=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=x(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=s({isSelectionShow:!1,selectValue:i||"",selectCaption:i?y.filter((function(e){return e.value==i}))[0].caption:"",items:y}),B=k[0],V=k[1],I=c(null),R=c(null),L=c(null);l((function(){var e=window.document.getElementById("".concat(u,"-dock"));if(e){var t=0;d&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=v?L.current?"calc(".concat(L.current.offsetWidth,"px + ").concat(t,"em)"):"12em":R.current?"calc(".concat(R.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(H,_({vClassName:"v-dropdown"},w,{children:[e($e,{id:r.id?r.id:u,name:u,valueHook:null===(o=B.selectValue)||void 0===o?void 0:o.toString(),ref:I}),e(Q,{zIndex:B.isSelectionShow?2e9:-2e9,category:G.RightInnerBottom,renderOverlay:function(){return e(Te,{id:"".concat(u,"-dock"),visibility:B.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(Ce,{backgroundColor:m.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:r.borderColor,borderWidth:r.borderWidth,borderStyle:"solid",children:[B.items.map((function(r,o){return C?e(Te,{children:C(r)},"item".concat(o)):n(ve,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){V(_(_({},B),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:y})),S&&S(r.value)},children:[r.icon?e(De,{fontSize:T.ExtraSmall,children:r.icon}):e(t,{}),e(Be,{caption:r.caption})]},"item".concat(o))})),!(0!=B.items.length)&&e(De,{fontSize:T.ExtraSmall,onClick:function(){},children:f})]})})},children:e(st,{padding:r.padding,isReadonly:v,fontSize:r.fontSize,icon:e(De,{fontSize:r.fontSize?r.fontSize:T.Normal,children:B.selectIcon?B.selectIcon:d}),valueHook:null===(a=B.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,extensions:[{option:e(De,{fontSize:r.fontSize?r.fontSize:T.Small,onClick:function(){},children:B.isSelectionShow?g:p}),handleOption:function(e){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))}}],onClick:function(){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,V(_(_({},B),{isSelectionShow:!0,selectCaption:t,items:y.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:R,readonlyRef:L,borderRadius:r.borderRadius,frontColor:B.selectValue===B.selectCaption?r.frontColor:m.Error})})]}))},VEllipse:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-ellipse-".concat(t.category?t.category:ht.Default)},n,{children:t.children}))},VEmail:function(t){return e(Ie,_({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,u=t.isPreview,d=t.previewImageWidth,f=t.textLength,p=t.autoUpload,g=t.renderLoader,h=x(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader"]),m=c(null),v=s({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return _(_({},e),{isLoading:!1})}))};l((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(Te,{className:"v-file",onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Je(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(_(_({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(_(_({},y),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S,children:e(Ie,_({type:"file",isDefaultValue:!0,ref:m},h,{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:Je(e)?URL.createObjectURL(e):void 0}}));b(_(_({},y),{inputFiles:r})),p&&(b(_(_({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return u?r&&r==Ye.Vertical?n(Ce,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:de.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(Ce,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(g?g():e(je,{animationCategory:We.Flash,children:e(me,{children:e(De,{fontSize:a,frontColor:i,children:e(qe,{})})})}))]}):n(Ce,{gap:"1em",cross:de.Center,children:[n(pe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(Ce,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(g?g():e(je,{animationCategory:We.Flash,children:e(De,{fontSize:a,frontColor:i,children:e(qe,{})})}))]}):e(Te,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=j(t);return e("footer",_({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=x(t,["handleSubmitCategory"]),r=j(n);return e("form",_({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==Se.FormData)t.handleSubmit(r);else{var o=we(r);t.handleSubmit(o)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},r.getProps("form"),{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=x(t,["image","backingBoard","style"]);return o&&(n=_(_({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(H,_({vClassName:"v-frame",style:n},i,{children:e("div",_({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return l((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(t),n.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==Ct.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==Ct.Normal?l.push("0,".concat(L(e.weight))):e.type==Ct.Italic&&l.push("1,".concat(L(e.weight))):l.push(L(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e(t,{})},VGroup:function(n){var r=s({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=j(t);return e("hr",_({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=j(t);return e("header",_({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:$e,VHyperlink:ft,VImage:Qe,VLabel:Be,VLine:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-line-".concat(t.category)},n))},VMain:function(t){var n=j(t);return e("main",_({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(ee,{zIndex:t.zIndex?t.zIndex:1e8,category:Z.Window,type:K.Center,children:e(ie,{children:e(Te,{width:"100vw",height:"100vh",backgroundColor:m.Dark75,children:e(ee,{category:Z.Area,type:K.Center,children:t.children})})})})},VMonth:function(t){return e(Ie,_({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ie,_({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ie,_({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=x(t,["isChecked"]);return e(Ie,_({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(ve,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(De,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?nt:it,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=x(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(Ie,_({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-rectangle-".concat(t.category?t.category:yt.Default)},n))},VSearch:function(t){return e(Ie,_({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=j(t);return e("section",_({className:n.getClassName("v-section"),style:n.getStyle()},n.getProps("section"),{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=x(t,["name","items","value","isMultiple","fontFamily"]),i=j(a);return e(Te,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",_({multiple:o,name:n,defaultValue:r},i.getProps("select"),{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=j(n);return e(t,{children:a.map(n.children,(function(o){return function(o){if(o){var a={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(a.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c=r.getClassName("v-shadow-".concat(n.category?n.category:bt.Default)),l=_(_({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=j(t),o=c(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(me,{cross:ue.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",{formNoValidate:t.isFormNoValidate,ref:o,type:"submit",className:r.getClassName("v-submit"),style:r.getStyle()})]})},VSubmitWrapper:function(t){var r=j(t),o=c(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:De,VTel:function(t){return e(Ie,_({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.body,i=x(t,["category","alignType","body"]),c=j(i);switch(t.alignType){case gt.Center:o="v-text-center";break;case gt.Justify:o="v-text-justify";break;case gt.Left:o="v-text";break;case gt.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=u(l,c.getProps(l),a)}else r=u("span",c.getProps("span"),a);return e(H,_({vClassName:o},i,{children:r}))},VTextArea:mt,VTextBox:st,VTime:function(t){return e(Ie,_({type:"time",isDefaultValue:!0},t))},VUrl:function(t){return e(Ie,_({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=x(t,["sources"]),r=j(n);return e("video",_({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},r.getProps("video"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Ie,_({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(H,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return k},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:pe,XAround:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceAround}))},XAutoBoth:function(t){var n=j(t);return fe(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:ge,XAutoLeft:function(t){return fe(t,(function(t,n,r){return e(se,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=j(t);return fe(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},XAutoRight:he,XAutoRights:function(t){return fe(t,(function(t,n,r){return e(se,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceBetween}))},XCenter:me,get XCrossType(){return ue},XCustom:function(t){return fe(t,(function(n,r){var o=e(se,{children:n});return t.basises&&r<t.basises.length&&(o=e(se,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=j(t);return fe(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:r}):e(se,{grow:1,children:r})}))},XEvenly:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceEvenly}))},XLeft:ve,XRight:function(e){return fe(e,void 0,void 0,(function(){return re.End}))},XWrapAround:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceAround}))},XWrapBetween:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceBetween}))},XWrapBottom:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.End}))},XWrapEvenly:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceEvenly}))},XWrapMiddle:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Center}))},XWrapTop:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Start}))},Y:Ce,YAround:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceAround}))},YAutoBoth:function(t){var n=j(t);return be(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=j(t);return be(t,(function(t,r){return r==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},YAutoBottoms:function(t){return be(t,(function(t,n,r){return e(se,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=j(t);return be(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:o,children:t}):e(se,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return be(t,(function(t,n,r){return e(se,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=j(t);return be(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceBetween}))},YBottom:function(e){return be(e,void 0,void 0,void 0,(function(){return re.End}))},get YCrossType(){return de},YCustom:function(t){return be(t,(function(n,r){var o=e(se,{children:n});return t.basises&&r<t.basises.length&&(o=e(se,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=j(t);return be(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:r}):e(se,{grow:1,children:r})}))},YEvenly:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceEvenly}))},YMiddle:function(e){return be(e,void 0,void 0,void 0,(function(){return re.Center}))},YTop:function(e){return be(e,void 0,void 0,void 0,(function(){return re.Start}))},YWrapAround:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceAround}),void 0)},YWrapBetween:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceBetween}))},YWrapCenter:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Center}))},YWrapEvenly:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceEvenly}))},YWrapLeft:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Start}))},YWrapRight:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.End}))},get ZoneCategory(){return D},convertFormDataToJson:we,getGeneratedClassName:z,parseJWT:function(e){var t={},n=f(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=Tt}(xt||(xt={}));export{xt as Den};
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useRef as c,useCallback as l,useLayoutEffect as u,useEffect as s,createElement as d,useState as f,useImperativeHandle as p}from"react";import{createPortal as g}from"react-dom";import{jwtDecode as h}from"jwt-decode";var m;!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(m||(m={}));var v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},v(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b,C,S,w,k,_,x,B,V=function(){return V=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},V.apply(this,arguments)};function T(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 I(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(b||(b={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(C||(C={})),function(e){e.Default="font-family"}(S||(S={})),function(e){e.Default="line-height"}(w||(w={})),function(e){e.Default="padding"}(k||(k={})),function(e){e.Default="letter-spacing"}(_||(_={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(x||(x={})),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"}(B||(B={}));var R,L,D,N,O=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"}(R||(R={})),function(e){e.All="all",e.Before="before",e.After="after"}(L||(L={})),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"}(D||(D={})),function(e){e.Flex="Flex",e.FlexItem="FlexItem",e.Position="Position",e.PositionArea="PositionArea",e.SBaseline="SBaseline",e.SBottom="SBottom",e.SLeft="SLeft",e.SMiddle="SMiddle",e.SCenter="SCenter",e.SRight="SRight",e.SStretch="SStretch",e.STop="STop",e.X="X",e.XAround="XAround",e.XAutoBoth="XAutoBoth",e.XAutoCenter="XAutoCenter",e.XAutoLeft="XAutoLeft",e.XAutoLefts="XAutoLefts",e.XAutoRight="XAutoRight",e.XAutoRights="XAutoRights",e.XBetween="XBetween",e.XCenter="XCenter",e.XCustom="XCustom",e.XCustomBoth="XCustomBoth",e.XEvenly="XEvenly",e.XLeft="XLeft",e.XRight="XRight",e.XWrap="XWrap",e.XWrapAround="XWrapAround",e.XWrapBetween="XWrapBetween",e.XWrapBottom="XWrapBottom",e.XWrapEvenly="XWrapEvenly",e.XWrapMiddle="XWrapMiddle",e.XWrapTop="XWrapTop",e.Y="Y",e.YAround="YAround",e.YBetween="YBetween",e.YBottom="YBottom",e.YEvenly="YEvenly",e.YMiddle="YMiddle",e.YTop="YTop",e.VEllipse="VEllipse",e.VLine="VLine",e.VRectangle="VRectangle",e.VAvatar="VAvatar",e.VBlock="VBlock",e.VBoundary="VBoundary",e.VButton="VButton",e.VCard="VCard",e.VCardMedia="VCardMedia",e.VCardSocial="VCardSocial",e.VCardWindow="VCardWindow",e.VChromeExtensionValidator="VChromeExtensionValidator",e.VCodePreview="VCodePreview",e.VDesigner="VDesigner",e.VDynamic="VDynamic",e.VBackground="VBackground",e.VForm="VForm",e.VImage="VImage",e.VCheckBox="VCheckBox",e.VColor="VColor",e.VDate="VDate",e.VDatetimeLocal="VDatetimeLocal",e.VEmail="VEmail",e.VFile="VFile",e.VMonth="VMonth",e.VNumber="VNumber",e.VPassword="VPassword",e.VRadio="VRadio",e.VRange="VRange",e.VSearch="VSearch",e.VSubmit="VSubmit",e.VTel="VTel",e.VTextBox="VTextBox",e.VTime="VTime",e.VUrl="VUrl",e.VWeek="VWeek",e.VLabel="VLabel",e.VLink="VLink",e.VPhoto="VPhoto",e.VShadow="VShadow",e.VStack="VStack",e.VSvg="VSvg",e.VText="VText",e.VTooltip="VTooltip"}(N||(N={}));var E,A=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),F=function(e){this.component=e},z=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return y(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(R).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(F),W=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return y(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(F),P=function(e){function t(t,n,r,o,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return y(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case D.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case D.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case D.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case D.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case D.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case D.Left:r=" ".concat(e).concat(o,"-border-left");break;case D.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case D.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case D.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case D.Right:r=" ".concat(e).concat(o,"-border-right");break;case D.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case D.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case D.Top:r=" ".concat(e).concat(o,"-border-top");break;case D.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(b.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(b.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(b.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(b.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(b.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(b.Black,"-after-front"):"",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(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(F),X=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new P(new z(new W(new A(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},U=["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"],j=["onError","onLoad"],H=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],Y={div:I(I([],U,!0),M,!0),input:I(I(I(I([],U,!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:I(I(I([],U,!0),M,!0),["rows","cols","wrap"],!0),template:I(I([],U,!0),M,!0),abbr:I(I([],U,!0),M,!0),span:I(I([],U,!0),M,!0),h1:I(I([],U,!0),M,!0),h2:I(I([],U,!0),M,!0),h3:I(I([],U,!0),M,!0),h4:I(I([],U,!0),M,!0),h5:I(I([],U,!0),M,!0),h6:I(I([],U,!0),M,!0),i:I(I([],U,!0),M,!0),b:I(I([],U,!0),M,!0),u:I(I([],U,!0),M,!0),em:I(I([],U,!0),M,!0),strong:I(I([],U,!0),M,!0),blockquote:I(I([],U,!0),M,!0),cite:I(I([],U,!0),M,!0),code:I(I([],U,!0),M,!0),del:I(I([],U,!0),M,!0),dfn:I(I([],U,!0),M,!0),ins:I(I([],U,!0),M,!0),kbd:I(I([],U,!0),M,!0),mark:I(I([],U,!0),M,!0),pre:I(I([],U,!0),M,!0),q:I(I([],U,!0),M,!0),s:I(I([],U,!0),M,!0),samp:I(I([],U,!0),M,!0),small:I(I([],U,!0),M,!0),summary:I(I([],U,!0),M,!0),sup:I(I([],U,!0),M,!0),sub:I(I([],U,!0),M,!0),time:I(I([],U,!0),M,!0),var:I(I([],U,!0),M,!0),wbr:I(I([],U,!0),M,!0),p:I(I([],U,!0),M,!0),address:I(I([],U,!0),M,!0),article:I(I([],U,!0),M,!0),aside:I(I([],U,!0),M,!0),details:I(I(I([],U,!0),M,!0),["onToggle"],!0),section:I(I([],U,!0),M,!0),form:I(I(I([],U,!0),M,!0),["onReset","onSubmit"],!0),dialog:I(I(I([],U,!0),M,!0),["onCancel","onClose"],!0),img:I(I(I(I([],U,!0),M,!0),j,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:I(I(I(I([],U,!0),M,!0),j,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:I(I(I([],U,!0),M,!0),j,!0),embed:I(I(I([],U,!0),M,!0),j,!0),link:I(I(I([],U,!0),M,!0),j,!0),svg:I(I(I([],U,!0),M,!0),j,!0),audio:I(I(I([],U,!0),M,!0),H,!0),video:I(I(I([],U,!0),M,!0),H,!0)},q=function(e){return{getClassName:function(t){var n=X(t,e.isDefaultValue,e.fontSize,e.isAutoSize,e.fontWeight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:e.fontFamily,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return V(V({},e.style),t)},getChildren:function(){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children},getProps:function(t){var n={},r=Object.keys(e);return r.length>0&&r.forEach((function(r){Y[t]&&Y[t].includes(r)&&(n[r]=e[r])})),n}}},G=o((function(t,n){var r=t.vClassName,o=T(t,["vClassName"]),a=q(o);return e("div",V({ref:n,className:a.getClassName(r),style:a.getStyle()},a.getProps("div"),{children:t.children}))}));!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(E||(E={}));var J,Z;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(J||(J={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Z||(Z={}));var K,Q=function(n){return n.children?e(t,{children:a.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;return n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=Z.Only?n.type==Z.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Z.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,i(e,{className:t})}return e}(e)}))}):e(t,{})};!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.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(K||(K={}));var $,ee,te=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,d=void 0===i?2147483647:i,f=t.renderOverlay,p=T(t,["category","offset","overlayZIndex","renderOverlay"]),h=q(p),m=c(null),v=c(null),y=l((function(){var e=m.current,t=v.current;if(e&&t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),i=0,c=0;switch(r){case K.Top:i=n.left+(n.width-o.width)/2,c=n.top-o.height-a;break;case K.Bottom:i=n.left+(n.width-o.width)/2,c=n.top+n.height+a;break;case K.Left:i=n.left-o.width-a,c=n.top+(n.height-o.height)/2;break;case K.Right:i=n.left+n.width+a,c=n.top+(n.height-o.height)/2;break;case K.LeftTop:i=n.left-o.width-a,c=n.top-o.height-a;break;case K.RightTop:i=n.left+n.width+a,c=n.top-o.height-a;break;case K.LeftBottom:i=n.left-o.width-a,c=n.top+n.height+a;break;case K.RightBottom:i=n.left+n.width+a,c=n.top+n.height+a;break;case K.LeftInnerTop:i=n.left+a,c=n.top+a;break;case K.RightInnerTop:i=n.left+(n.width-o.width)-a,c=n.top+a;break;case K.LeftInnerBottom:i=n.left+a,c=n.top+(n.height-o.height)-a;break;case K.RightInnerBottom:i=n.left+(n.width-o.width)-a,c=n.top+(n.height-o.height)-a}t.style.transform="translate3d(".concat(i,"px, ").concat(c,"px, 0)")}}),[r,a,d,f]);return u((function(){requestAnimationFrame(y)}),[y]),s((function(){var e=function(){return y()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[y]),n("div",V({ref:m,className:h.getClassName("dock"),style:h.getStyle()},h.getProps("div"),{children:[t.children,g(e("div",{ref:v,className:"dock-overlay",style:{zIndex:d},children:f()}),document.body)]}))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}($||($={})),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"}(ee||(ee={}));var ne,re=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=V(V({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=$.Self?V(V({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):V(V({},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"}(ne||(ne={}));var oe,ae,ie,ce,le,ue=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:ne.Default," ").concat(e.props.className);return i(e,{className:t})}(e)}))})};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(oe||(oe={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ae||(ae={})),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"}(ie||(ie={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ce||(ce={})),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"}(le||(le={}));var se,de=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(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=q(l),s=V(V({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),d=t.overflow?"flex-".concat(t.overflow):"flex-hidden",f=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",h=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(g).concat(h).concat(m),y=u.getClassName(v);return e("div",V({className:y,style:s},u.getProps("div"),{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(se||(se={}));var fe,pe=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:a.map(n.children,(function(r){return function(r){var o={};if(n.order&&(o.order=n.order),n.basis&&(o.flexBasis=n.basis),n.grow&&(o.flexGrow=n.grow),n.shrink&&(o.flexShrink=n.shrink),r.props){var a=V(V({},o),r.props?r.props.style:null),c=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",l=r.props.className?" ".concat(r.props.className):"",u="flex-item".concat(c).concat(l);return i(r,{className:u,style:a})}return console.debug(r),e(t,{children:"Please check child."})}(r)}))}):e(t,{})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(fe||(fe={}));var ge,he=function(n,r,o,i,c){n.cross;var l=T(n,["cross"]),u=q(l),s=function(t,n,o){return r?r(t,n,o):e(pe,{alignSelf:o,children:t},"child".concat(n))};return e(de,V({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case fe.Stretch:e=ce.Stretch;break;case fe.Baseline:e=ce.Baseline;break;case fe.Bottom:e=ce.End;break;case fe.Middle:e=ce.Center;break;case fe.Top:e=ce.Start;break;default:e=ce.Center}else e=ce.Center;return e}(),wrap:o?o():ae.NoWrap,justifyContent:i?i():ie.Start,alignContent:c?c():le.Start},l,{children:a.map(u.getChildren(),(function(n,r){var o=n;return o?o.type?"STop"===o.props.typeName?s(o.props.children,r,se.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,se.Center):"SBottom"===o.props.typeName?s(o.props.children,r,se.End):"SStretch"===o.props.typeName?s(o.props.children,r,se.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,se.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."})):void 0}))}))},me=function(t){return he(t,(function(t,n,r){return e(pe,{grow:1,alignSelf:r,children:t})}))},ve=function(t){var n=q(t);return he(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(pe,{grow:1,alignSelf:o,children:t}):e(pe,{grow:0,alignSelf:o,children:t})}))},ye=function(t){var n=q(t);return he(t,(function(t,r){return r==a.count(n.getChildren())-1?e(pe,{grow:1,children:t}):e(pe,{grow:0,children:t})}))},be=function(e){return he(e,void 0,void 0,(function(){return ie.Center}))},Ce=function(e){return he(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(ge||(ge={}));var Se,we=function(n,r,o,i,c){var l=n.cross,u=T(n,["cross"]),s=q(u),d=function(t,n,o){return r?r(t,n,o):e(pe,{alignSelf:o,children:t},"child".concat(n))};return e(de,V({vClassName:"v-ybase",wrap:o?o():ae.NoWrap,alignContent:i?i():le.Start,alignItems:function(){var e;if(l)switch(l){case ge.Left:e=ce.Start;break;case ge.Center:e=ce.Center;break;case ge.Right:e=ce.End;break;case ge.Baseline:e=ce.Baseline;break;default:e=ce.Stretch}else e=ce.Stretch;return e}(),direction:oe.Column,justifyContent:c?c():ie.Start},u,{children:a.map(s.getChildren(),(function(n,r){var o=n;return o?o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,se.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,se.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,se.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,se.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,se.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."})):void 0}))}))},ke=function(t){return we(t,(function(t,n,r){return e(pe,{grow:1,alignSelf:r,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(Se||(Se={}));var _e,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]=I(I([],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"}(_e||(_e={}));var Be,Ve,Te;!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"}(Be||(Be={})),function(e){e.Default="default",e.Circle="circle"}(Ve||(Ve={})),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 Ie=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,u=T(t,["category","type","alignType","isTextOverflow","caption"]),s=q(u);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==Ve.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var f=o;n=d(f,s.getProps(f),l)}else n=d("span",s.getProps("span"),l);return a==Ve.Circle?e(ue,{children:e(G,V({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},u,{children:e(re,{category:$.Area,type:ee.Center,children:n})}))}):e(G,V({display:null==t.category||t.category==Be.Span?"inline-block":"block",vClassName:r},u,{children:n}))},Re=o((function(t,n){return e(G,V({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));Re.displayName="VBoundary";var Le,De=o((function(t,r){var o=t.type,a=t.label,i=t.icon,l=t.extensions,u=t.value,d=t.valueHook,g=t.setStateHook,h=t.isValueShow,m=t.isReadonly,v=t.valueSize,y=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,_=t.overWrite,x=t.onChange,B=t.inheritClassName,I=t.customAttibutes,L=t.isFocus,D=T(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),N=q(D),O=f({value:void 0!==t.value?t.value:""}),E=O[0],A=O[1],F=c(null),z=c(null),W=c(null);return p(r,(function(){return W.current}),[]),s((function(){var e;r?null===(e=W.current)||void 0===e||e.focus():L&&F.current&&F.current.focus()}),[]),_&&(C=_(r?W:F)),n(G,V({vClassName:"v-validity v-input".concat(B?" ".concat(B):"")},D,{children:[n(ke,{display:C?"none":void 0,children:[n(ve,{gap:"0.6em",children:[!!i&&e(Re,{children:i}),n(Re,{children:[e("input",V({ref:r?W:F},I,{className:k,style:V(V({},w),{display:m?"none":"block"}),type:o,value:d||E.value,onChange:function(e){var t,n;h&&A({value:r?null===(t=W.current)||void 0===t?void 0:t.value:null===(n=F.current)||void 0===n?void 0:n.value}),x&&x(e),g?g(e.target.value):A({value:e.target.value})}},N.getProps("input"))),!!m&&e("div",{ref:t.readonlyRef?t.readonlyRef:z,children:d||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!l&&e(me,{children:l.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=r?W.current:F.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})]}),!!h&&e(be,{children:e(Ie,{padding:S,isAutoSize:t.isAutoSize,fontSize:v||R.Normal,frontColor:y||b.Black,caption:void 0!==E.value?E.value.toString():u?u.toString():""})})]}),!!C&&C]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Le||(Le={}));var Ne,Oe,Ee=function(n){var r=q(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Le.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=V(V({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Ae(){return Ae=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},Ae.apply(null,arguments)}var Fe,ze=function(e){return r.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ne||(Ne=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"})),Oe||(Oe=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 We(){return We=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},We.apply(null,arguments)}var Pe,Xe,Ue,Me,je=function(e){return r.createElement("svg",We({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Fe||(Fe=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(Pe||(Pe={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Xe||(Xe={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ue||(Ue={})),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"}(Me||(Me={}));var He,Ye=function(t){var n;return e("div",{className:(n=[],n.push(t.category),t.repeat&&n.push(t.repeat),t.speed&&n.push(t.speed),t.delay&&n.push(t.delay),"animate__animated ".concat(n.join(" "))),children:t.children})},qe=function(t){var n=q(t);return e(Re,V({className:n.getClassName("v-loading"),style:n.getStyle()},t,{children:e(Ye,{category:t.animationCategory?t.animationCategory:Pe.Flip,speed:t.animationSpeed?t.animationSpeed:Ue.Slower,repeat:Xe.Infinite,children:t.children})}))};function Ge(){return Ge=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},Ge.apply(null,arguments)}var Je,Ze=function(e){return r.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),He||(He=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"}(Je||(Je={}));var Ke,Qe=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"}(Ke||(Ke={}));var $e,et,tt=function(t){var n=t.category,r=T(t,["category"]),o=q(r),a=n||Ke.Default;return e("img",V({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},nt=o((function(t,n){return e(De,V({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function rt(){return rt=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},rt.apply(null,arguments)}var ot,at=function(e){return r.createElement("svg",rt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),$e||($e=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"})),et||(et=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 it(){return it=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},it.apply(null,arguments)}var ct,lt,ut=function(e){return r.createElement("svg",it({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ot||(ot=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 st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},st.apply(null,arguments)}var dt,ft=function(e){return r.createElement("svg",st({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ct||(ct=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),lt||(lt=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},pt=o((function(t,n){var r,o=t.enableClear,a=T(t,["enableClear"]);if(o){var i={option:e(Ee,{fontSize:R.ExtraSmall,frontColor:b.Placeholder,onClick:function(){},children:e(ft,{})}),handleOption:function(e){e.value=""}};r=t.extensions?I(I([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(r=t.extensions);return e(De,V({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:r}))}));!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(dt||(dt={}));var gt,ht=function(t){var n=t.category,r=t.to,o=T(t,["category","to"]),a=q(o);return e(G,V({vClassName:"v-hyperlink"},o,{children:e("a",V({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(gt||(gt={}));var mt,vt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(mt||(mt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(vt||(vt={}));var yt,bt=o((function(t,r){t.icon;var o=t.value,a=t.valueHook,i=t.setStateHook,l=T(t,["icon","value","valueHook","setStateHook"]),u=q(l),s=f({value:o}),d=s[0],p=s[1],g=c(null);return e(G,V({vClassName:"v-validity v-textarea"},l,{children:n(ye,{cross:fe.Top,gap:"0.6em",children:[t.icon,e(Re,{children:e("textarea",V({ref:r||g,id:t.id?t.id:t.name,value:a?t.valueHook:d.value},u.getProps("textarea"),{onChange:function(e){t.onChange&&t.onChange(e),i?i(e.target.value):p({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(yt||(yt={}));var Ct;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Ct||(Ct={}));var St;!function(e){e.Default="default",e.Fixed="fixed"}(St||(St={}));var wt;!function(e){e.Default="default",e.Max="max"}(wt||(wt={}));var kt;!function(e){e.Normal="normal",e.Italic="italic"}(kt||(kt={}));var _t;!function(e){e.Hover="hover",e.Click="click"}(_t||(_t={}));var xt,Bt;!function(e){e.Popup="popup",e.Redirect="redirect"}(xt||(xt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Bt||(Bt={}));var Vt,Tt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(Vt||(Vt={}));var It,Rt="fewbox-google-auth",Lt=Object.freeze({__proto__:null,get AnimationCategory(){return Pe},get AnimationDelay(){return Me},get AnimationRepeat(){return Xe},get AnimationSpeed(){return Ue},get BackgroundPositionType(){return Se},Base:q,get BorderRadiusType(){return x},get BreakpointType(){return m},get ColorType(){return b},get ComponentType(){return N},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:Q,get DisplayCategory(){return J},get DisplayType(){return Z},Dock:te,get DockCategory(){return K},get EllipseCategory(){return yt},get ExtensionStatus(){return gt},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 Je},Flex:de,get FlexAlignContentType(){return le},get FlexAlignItemsType(){return ce},get FlexDirectionType(){return oe},FlexItem:pe,get FlexItemAlignSelfType(){return se},get FlexJustifyContentType(){return ie},get FlexWrapType(){return ae},get FontFamilyType(){return S},get FontSizeType(){return R},get FontWeightType(){return C},get GoogleFontType(){return kt},GoogleGrant:function(n){return s((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==Bt.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:n.clientId,scope:n.scope,callback:function(e){var t={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};n.callback(t)}});if(n.isAutoRequest)e.requestAccessToken();else{var t=document.getElementById(Tt);null==t||t.addEventListener("click",(function(){e.requestAccessToken()}))}n.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:n.clientId,scope:n.scope,ux_mode:n.uxMode,callback:function(e){var t={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};n.callback(t)}});if(n.isAutoRequest)e.requestCode();else{var t=document.getElementById(Tt);null==t||t.addEventListener("click",(function(){e.requestCode()}))}n.enableGoogle()},e.onerror=function(e){console.error(e),n.disableGoogle()},document.body.appendChild(e)}),[]),n.isAutoRequest?e(t,{}):e(Re,{id:Tt,children:n.children})},get GoogleGrantCategory(){return Bt},get GoogleGrantUXMode(){return xt},GoogleSignin:function(t){return s((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=Vt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==Vt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==Vt.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&t.switchAnotherIdentityProvider&&t.switchAnotherIdentityProvider(e.getNotDisplayedReason())}));else{var e=document.getElementById(t.googleAuthButtonId?t.googleAuthButtonId:Rt);e?google.accounts.id.renderButton(e,t.gsiButtonConfiguration?t.gsiButtonConfiguration:{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element google-auth not found!"),t.disableGoogle())}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e(Re,{id:t.googleAuthButtonId?t.googleAuthButtonId:Rt})},get GoogleSigninUXMode(){return Vt},get HandleSubmitCategory(){return _e},get HyperlinkCategory(){return dt},get ImageCategory(){return Ke},get LabelAlignType(){return Te},get LabelCategory(){return Be},get LabelType(){return Ve},get LetterSpacingType(){return _},get LineCategory(){return Ct},get LineHeightType(){return w},get PaddingType(){return k},Position:re,PositionArea:ue,get PositionAreaCategory(){return ne},get PositionCategory(){return $},get PositionType(){return ee},Responsive:function(r){return n(t,{children:[e(Q,{category:J.Hidden,type:Z.Down,breakpoint:r.breakpointType?r.breakpointType:m.Small,children:r.desktop}),e(Q,{category:J.Hidden,type:Z.Up,breakpoint:r.breakpointType?r.breakpointType:m.Small,children:r.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return wt},get SvgCategory(){return Le},get TextAlignType(){return vt},get TextCategory(){return mt},get TooltipCategory(){return _t},VActionForm:function(t){return e("form",V({className:"v-action-form"},t,{children:t.children}))},VAnimation:Ye,VAudio:function(t){t.sources;var n=T(t,["sources"]),r=q(n);return e("audio",V({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},r.getProps("audio"),{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=T(t,["image","imageWidth","imageHeight","position"]);return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e(G,V({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},r,{children:t.children}))},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=T(t,["fileIcon","base64Image"]),i=f({base64Image:o}),c=i[0],l=i[1];return n(Re,{className:"v-base64file",children:[e(nt,{name:t.name,value:c.base64Image}),e(De,V({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",l({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(ke,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(tt,{fontSize:t.fontSize,category:Ke.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:Re,VCheckBox:function(t){var r=t.isChecked,o=T(t,["isChecked"]),a=f({isChecked:r}),i=a[0],c=a[1];return e(De,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(Ce,V({gap:"0.2em",onClick:function(){var e,t;null===(e=r.current)||void 0===e||e.click(),(null===(t=r.current)||void 0===t?void 0:t.hasAttribute("checked"))?c({isChecked:!1}):c({isChecked:!0})}},o,{children:[e(Ee,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(ze,{}):e(je,{})}),e(Ie,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(n){var r=f({}),o=r[0],a=r[1];if(s((function(){var e;o.status||(e="chrome-extension://".concat(n.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var t=!n.version||e.version>=n.version;a({status:t?gt.Ready:gt.Outdated,meta:e})})).catch((function(){return a({status:gt.Uninstalled})})))})),o.status){if(n.overWrite)return n.overWrite(o.status,o.meta);var i=void 0;return o.status===gt.Ready?e(t,{}):(o.status===gt.Uninstalled?i=n.uninstalledMessage:o.status===gt.Outdated&&(i=n.outdatedMessage),e(ht,{category:dt.NewWindow,to:n.downloadUrl?n.downloadUrl:"mailto:support@fewbox.com",children:i}))}return e(t,{})},VColor:function(t){return e(De,V({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(De,V({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(De,V({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,l=r.name,u=r.icon,d=r.emptyIcon,p=r.downIcon,g=r.upIcon,h=r.enableClear,m=r.isReadonly,v=r.items,y=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=T(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=f({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),_=k[0],x=k[1],B=c(null),I=c(null),L=c(null);s((function(){var e=window.document.getElementById("".concat(l,"-dock"));if(e){var t=0;u&&(t+=2),t+=y?4*(y.length+1):4,e.style.width=m?L.current?"calc(".concat(L.current.offsetWidth,"px + ").concat(t,"em)"):"12em":I.current?"calc(".concat(I.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(G,V({vClassName:"v-dropdown"},w,{children:[e(nt,{id:r.id?r.id:l,name:l,valueHook:null===(o=_.selectValue)||void 0===o?void 0:o.toString(),ref:B}),e(te,{zIndex:_.isSelectionShow?2e9:-2e9,category:K.RightInnerBottom,renderOverlay:function(){return e(Re,{id:"".concat(l,"-dock"),visibility:_.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(ke,{backgroundColor:b.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:r.borderColor,borderWidth:r.borderWidth,borderStyle:"solid",children:[_.items.map((function(r,o){return C?e(Re,{children:C(r)},"item".concat(o)):n(Ce,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){x(V(V({},_),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:v})),S&&S(r.value)},children:[r.icon?e(Ee,{fontSize:R.ExtraSmall,children:r.icon}):e(t,{}),e(Ie,{caption:r.caption})]},"item".concat(o))})),!(0!=_.items.length)&&e(Ee,{fontSize:R.ExtraSmall,onClick:function(){},children:d})]})})},children:e(pt,{padding:r.padding,isReadonly:m,fontSize:r.fontSize,icon:e(Ee,{fontSize:r.fontSize?r.fontSize:R.Normal,children:_.selectIcon?_.selectIcon:u}),valueHook:null===(a=_.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,extensions:[{option:e(Ee,{fontSize:r.fontSize?r.fontSize:R.Small,onClick:function(){},children:_.isSelectionShow?g:p}),handleOption:function(e){x(V(V({},_),{isSelectionShow:!_.isSelectionShow}))}}],onClick:function(){x(V(V({},_),{isSelectionShow:!_.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,x(V(V({},_),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:I,readonlyRef:L,borderRadius:r.borderRadius,frontColor:_.selectValue===_.selectCaption?r.frontColor:b.Error})})]}))},VEllipse:function(t){t.category;var n=T(t,["category"]);return e(G,V({vClassName:"v-ellipse-".concat(t.category?t.category:yt.Default)},n,{children:t.children}))},VEmail:function(t){return e(De,V({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,u=t.previewImageWidth,d=t.textLength,p=t.autoUpload,g=t.renderLoader,h=T(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader"]),m=c(null),v=f({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return V(V({},e),{isLoading:!1})}))};s((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(Re,{className:"v-file",onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Qe(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(V(V({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(V(V({},y),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S,children:e(De,V({type:"file",isDefaultValue:!0,ref:m},h,{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:Qe(e)?URL.createObjectURL(e):void 0}}));b(V(V({},y),{inputFiles:r})),p&&(b(V(V({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return l?r&&r==Je.Vertical?n(ke,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:ge.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(ke,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(ke,{cross:ge.Center,children:[!!t.objectUrl&&e(Re,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Ie,{fontSize:R.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(g?g():e(qe,{animationCategory:Pe.Flash,children:e(be,{children:e(Ee,{fontSize:a,frontColor:i,children:e(Ze,{})})})}))]}):n(ke,{gap:"1em",cross:ge.Center,children:[n(me,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(ke,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(ke,{cross:ge.Center,children:[!!t.objectUrl&&e(Re,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Ie,{fontSize:R.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(g?g():e(qe,{animationCategory:Pe.Flash,children:e(Ee,{fontSize:a,frontColor:i,children:e(Ze,{})})}))]}):e(Re,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=q(t);return e("footer",V({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=T(t,["handleSubmitCategory"]),r=q(n);return e("form",V({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==_e.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.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},r.getProps("form"),{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=T(t,["image","backingBoard","style"]);return o&&(n=V(V({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(G,V({vClassName:"v-frame",style:n},i,{children:e("div",V({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return s((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(t),n.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==kt.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==kt.Normal?l.push("0,".concat(O(e.weight))):e.type==kt.Italic&&l.push("1,".concat(O(e.weight))):l.push(O(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(t,{})},VGroup:function(n){var r=f({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=q(t);return e("hr",V({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=q(t);return e("header",V({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:nt,VHyperlink:ht,VImage:tt,VLabel:Ie,VLine:function(t){t.category;var n=T(t,["category"]);return e(G,V({vClassName:"v-line-".concat(t.category)},n))},VMain:function(t){var n=q(t);return e("main",V({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(re,{zIndex:t.zIndex?t.zIndex:1e8,category:$.Window,type:ee.Center,children:e(ue,{children:e(Re,{width:"100vw",height:"100vh",backgroundColor:b.Dark75,children:e(re,{category:$.Area,type:ee.Center,children:t.children})})})})},VMonth:function(t){return e(De,V({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(De,V({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(De,V({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=T(t,["isChecked"]);return e(De,V({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Ce,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(Ee,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?at:ut,{})}),e(Ie,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=T(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(De,V({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=T(t,["category"]);return e(G,V({vClassName:"v-rectangle-".concat(t.category?t.category:St.Default)},n))},VSearch:function(t){return e(De,V({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=q(t);return e("section",V({className:n.getClassName("v-section"),style:n.getStyle()},n.getProps("section"),{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=T(t,["name","items","value","isMultiple","fontFamily"]),i=q(a);return e(Re,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",V({multiple:o,name:n,defaultValue:r},i.getProps("select"),{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=q(n);return e(t,{children:a.map(n.children,(function(o){return function(o){if(o){var a={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(a.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c=r.getClassName("v-shadow-".concat(n.category?n.category:wt.Default)),l=V(V({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=q(t),o=c(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(be,{cross:fe.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",{formNoValidate:t.isFormNoValidate,ref:o,type:"submit",className:r.getClassName("v-submit"),style:r.getStyle()})]})},VSubmitWrapper:function(t){var r=q(t),o=c(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:Ee,VTel:function(t){return e(De,V({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=T(t,["category","alignType","renderContent"]),c=q(i);switch(t.alignType){case vt.Center:o="v-text-center";break;case vt.Justify:o="v-text-justify";break;case vt.Left:o="v-text";break;case vt.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=d(l,c.getProps(l),a())}else r=d("span",c.getProps("span"),a());return e(G,V({vClassName:o},i,{children:r}))},VTextArea:bt,VTextBox:pt,VTime:function(t){return e(De,V({type:"time",isDefaultValue:!0},t))},VTooltip:function(n){var r,o=n.category,a=n.dockCategory,i=n.renderOverlay,c=T(n,["category","dockCategory","renderOverlay"]),l=f({isShow:!1}),u=l[0],s=l[1];return r=o||_t.Hover,e(G,V({vClassName:"v-tooltip"},c,{children:e(te,{category:a,renderOverlay:function(){return u.isShow?i():e(t,{})},children:e(Re,{onClick:function(){r==_t.Click&&s({isShow:!u.isShow})},onMouseEnter:function(){r==_t.Hover&&s({isShow:!0})},onMouseLeave:function(){r==_t.Hover&&s({isShow:!1})},children:n.children})})}))},VUrl:function(t){return e(De,V({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=T(t,["sources"]),r=q(n);return e("video",V({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},r.getProps("video"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(De,V({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(G,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return B},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:me,XAround:function(e){return he(e,void 0,void 0,(function(){return ie.SpaceAround}))},XAutoBoth:function(t){var n=q(t);return he(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(pe,{grow:0,alignSelf:o,children:t}):e(pe,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:ve,XAutoLeft:function(t){return he(t,(function(t,n,r){return e(pe,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=q(t);return he(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(pe,{grow:0,alignSelf:o,children:t}):e(pe,{grow:1,alignSelf:o,children:t})}))},XAutoRight:ye,XAutoRights:function(t){return he(t,(function(t,n,r){return e(pe,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:function(e){return he(e,void 0,void 0,(function(){return ie.SpaceBetween}))},XCenter:be,get XCrossType(){return fe},XCustom:function(t){return he(t,(function(n,r){var o=e(pe,{children:n});return t.basises&&r<t.basises.length&&(o=e(pe,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=q(t);return he(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(pe,{basis:t.basis,children:r}):e(pe,{grow:1,children:r})}))},XEvenly:function(e){return he(e,void 0,void 0,(function(){return ie.SpaceEvenly}))},XLeft:Ce,XRight:function(e){return he(e,void 0,void 0,(function(){return ie.End}))},XWrapAround:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceAround}))},XWrapBetween:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceBetween}))},XWrapBottom:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.End}))},XWrapEvenly:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceEvenly}))},XWrapMiddle:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.Center}))},XWrapTop:function(e){return he(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.Start}))},Y:ke,YAround:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.SpaceAround}))},YAutoBoth:function(t){var n=q(t);return we(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(pe,{grow:0,alignSelf:o,children:t}):e(pe,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=q(t);return we(t,(function(t,r){return r==a.count(n.getChildren())-1?e(pe,{grow:1,children:t}):e(pe,{grow:0,children:t})}))},YAutoBottoms:function(t){return we(t,(function(t,n,r){return e(pe,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=q(t);return we(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(pe,{grow:1,alignSelf:o,children:t}):e(pe,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return we(t,(function(t,n,r){return e(pe,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=q(t);return we(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(pe,{grow:0,alignSelf:o,children:t}):e(pe,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.SpaceBetween}))},YBottom:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.End}))},get YCrossType(){return ge},YCustom:function(t){return we(t,(function(n,r){var o=e(pe,{children:n});return t.basises&&r<t.basises.length&&(o=e(pe,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=q(t);return we(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(pe,{basis:t.basis,children:r}):e(pe,{grow:1,children:r})}))},YEvenly:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.SpaceEvenly}))},YMiddle:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.Center}))},YTop:function(e){return we(e,void 0,void 0,void 0,(function(){return ie.Start}))},YWrapAround:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceAround}),void 0)},YWrapBetween:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceBetween}))},YWrapCenter:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.Center}))},YWrapEvenly:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceEvenly}))},YWrapLeft:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.Start}))},YWrapRight:function(e){return we(e,void 0,(function(){return ae.Wrap}),(function(){return le.End}))},get ZoneCategory(){return E},convertFormDataToJson:xe,getGeneratedClassName:X,parseJWT:function(e){var t={},n=h(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=Lt}(It||(It={}));export{It as Den};
2
2
  //# sourceMappingURL=index.js.map