@fewbox/den-web 0.1.12 → 0.1.18
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.css +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +4 -5
- package/src/components/Auth/FigmaSignin/index.d.ts +1 -1
- package/src/components/Auth/GoogleGrant/index.d.ts +1 -1
- package/src/components/Auth/GoogleSignin/index.d.ts +1 -1
- package/src/components/Auth/WeComSignin/index.d.ts +1 -1
- package/src/components/Debug/index.d.ts +1 -1
- package/src/components/Engine/Base/index.d.ts +2 -2
- package/src/components/Layout/Display/index.d.ts +1 -1
- package/src/components/Layout/Dock/index.d.ts +3 -3
- package/src/components/Layout/Flex/index.d.ts +1 -1
- package/src/components/Layout/FlexItem/index.d.ts +1 -1
- package/src/components/Layout/Position/index.d.ts +1 -1
- package/src/components/Layout/PositionArea/index.d.ts +1 -1
- package/src/components/Layout/Responsive/index.d.ts +3 -3
- package/src/components/Layout/SBaseline/index.d.ts +1 -1
- package/src/components/Layout/SBottom/index.d.ts +1 -1
- package/src/components/Layout/SCenter/index.d.ts +1 -1
- package/src/components/Layout/SLeft/index.d.ts +1 -1
- package/src/components/Layout/SMiddle/index.d.ts +1 -1
- package/src/components/Layout/SRight/index.d.ts +1 -1
- package/src/components/Layout/SStretch/index.d.ts +1 -1
- package/src/components/Layout/STop/index.d.ts +1 -1
- package/src/components/Layout/X/index.d.ts +1 -1
- package/src/components/Layout/XAround/index.d.ts +1 -1
- package/src/components/Layout/XAutoBoth/index.d.ts +1 -1
- package/src/components/Layout/XAutoCenter/index.d.ts +1 -1
- package/src/components/Layout/XAutoLeft/index.d.ts +1 -1
- package/src/components/Layout/XAutoLefts/index.d.ts +1 -1
- package/src/components/Layout/XAutoRight/index.d.ts +1 -1
- package/src/components/Layout/XAutoRights/index.d.ts +1 -1
- package/src/components/Layout/XBase/index.d.ts +1 -1
- package/src/components/Layout/XBetween/index.d.ts +1 -1
- package/src/components/Layout/XCenter/index.d.ts +1 -1
- package/src/components/Layout/XCustom/index.d.ts +1 -1
- package/src/components/Layout/XCustomBoth/index.d.ts +1 -1
- package/src/components/Layout/XEvenly/index.d.ts +1 -1
- package/src/components/Layout/XLeft/index.d.ts +1 -1
- package/src/components/Layout/XRight/index.d.ts +1 -1
- package/src/components/Layout/XWrapAround/index.d.ts +1 -1
- package/src/components/Layout/XWrapBetween/index.d.ts +1 -1
- package/src/components/Layout/XWrapBottom/index.d.ts +1 -1
- package/src/components/Layout/XWrapEvenly/index.d.ts +1 -1
- package/src/components/Layout/XWrapMiddle/index.d.ts +1 -1
- package/src/components/Layout/XWrapTop/index.d.ts +1 -1
- package/src/components/Layout/Y/index.d.ts +1 -1
- package/src/components/Layout/YAround/index.d.ts +1 -1
- package/src/components/Layout/YAutoBoth/index.d.ts +1 -1
- package/src/components/Layout/YAutoBottom/index.d.ts +1 -1
- package/src/components/Layout/YAutoBottoms/index.d.ts +1 -1
- package/src/components/Layout/YAutoCenter/index.d.ts +1 -1
- package/src/components/Layout/YAutoTop/index.d.ts +1 -1
- package/src/components/Layout/YAutoTops/index.d.ts +1 -1
- package/src/components/Layout/YBase/index.d.ts +1 -1
- package/src/components/Layout/YBetween/index.d.ts +1 -1
- package/src/components/Layout/YBottom/index.d.ts +1 -1
- package/src/components/Layout/YCustom/index.d.ts +1 -1
- package/src/components/Layout/YCustomBoth/index.d.ts +1 -1
- package/src/components/Layout/YEvenly/index.d.ts +1 -1
- package/src/components/Layout/YMiddle/index.d.ts +1 -1
- package/src/components/Layout/YTop/index.d.ts +1 -1
- package/src/components/Layout/YWrapAround/index.d.ts +1 -1
- package/src/components/Layout/YWrapBetween/index.d.ts +1 -1
- package/src/components/Layout/YWrapCenter/index.d.ts +1 -1
- package/src/components/Layout/YWrapEvenly/index.d.ts +1 -1
- package/src/components/Layout/YWrapLeft/index.d.ts +1 -1
- package/src/components/Layout/YWrapRight/index.d.ts +1 -1
- package/src/components/View/VActionForm/index.d.ts +1 -1
- package/src/components/View/VAnimation/index.d.ts +1 -1
- package/src/components/View/VAudio/index.d.ts +1 -1
- package/src/components/View/VAvatar/index.d.ts +3 -3
- package/src/components/View/VBackground/index.d.ts +1 -1
- package/src/components/View/VBadge/index.d.ts +2 -2
- package/src/components/View/VBlock/index.d.ts +5 -5
- package/src/components/View/VCard/index.d.ts +3 -3
- package/src/components/View/VCardMedia/index.d.ts +5 -5
- package/src/components/View/VCardSocial/index.d.ts +9 -9
- package/src/components/View/VCardWindow/index.d.ts +1 -1
- package/src/components/View/VChromeExtensionValidator/index.d.ts +4 -4
- package/src/components/View/VFooter/index.d.ts +1 -1
- package/src/components/View/VForm/index.d.ts +1 -1
- package/src/components/View/VFrame/index.d.ts +1 -1
- package/src/components/View/VGoogleFont/index.d.ts +1 -1
- package/src/components/View/VHR/index.d.ts +1 -1
- package/src/components/View/VHeader/index.d.ts +1 -1
- package/src/components/View/VHyperlink/index.d.ts +1 -1
- package/src/components/View/VImage/index.d.ts +1 -1
- package/src/components/View/VInput/VBase64File/index.d.ts +2 -2
- package/src/components/View/VInput/VCheckBox/index.d.ts +1 -1
- package/src/components/View/VInput/VColor/index.d.ts +1 -1
- package/src/components/View/VInput/VDate/index.d.ts +1 -1
- package/src/components/View/VInput/VDatetimeLocal/index.d.ts +1 -1
- package/src/components/View/VInput/VDropdown/index.d.ts +8 -8
- package/src/components/View/VInput/VEmail/index.d.ts +1 -1
- package/src/components/View/VInput/VFile/index.d.ts +4 -4
- package/src/components/View/VInput/VGroup/index.d.ts +2 -2
- package/src/components/View/VInput/VMonth/index.d.ts +1 -1
- package/src/components/View/VInput/VNumber/index.d.ts +1 -1
- package/src/components/View/VInput/VPassword/index.d.ts +1 -1
- package/src/components/View/VInput/VRadio/index.d.ts +1 -1
- package/src/components/View/VInput/VRange/index.d.ts +1 -1
- package/src/components/View/VInput/VSearch/index.d.ts +1 -1
- package/src/components/View/VInput/VSubmit/index.d.ts +2 -2
- package/src/components/View/VInput/VSubmitWrapper/index.d.ts +2 -2
- package/src/components/View/VInput/VTel/index.d.ts +1 -1
- package/src/components/View/VInput/VTime/index.d.ts +1 -1
- package/src/components/View/VInput/VUrl/index.d.ts +1 -1
- package/src/components/View/VInput/VWeek/index.d.ts +1 -1
- package/src/components/View/VInput/index.d.ts +3 -3
- package/src/components/View/VLabel/index.d.ts +2 -2
- package/src/components/View/VLoading/index.d.ts +1 -1
- package/src/components/View/VMain/index.d.ts +1 -1
- package/src/components/View/VMask/index.d.ts +1 -1
- package/src/components/View/VPhoto/index.d.ts +1 -1
- package/src/components/View/VSection/index.d.ts +1 -1
- package/src/components/View/VSelect/index.d.ts +1 -1
- package/src/components/View/VShadow/index.d.ts +1 -1
- package/src/components/View/VShape/VEllipse/index.d.ts +1 -1
- package/src/components/View/VShape/VLine/index.d.ts +1 -1
- package/src/components/View/VShape/VRectangle/index.d.ts +1 -1
- package/src/components/View/VStack/index.d.ts +1 -1
- package/src/components/View/VSvg/index.d.ts +1 -1
- package/src/components/View/VSwitch/index.d.ts +2 -2
- package/src/components/View/VTemplate/index.d.ts +1 -1
- package/src/components/View/VText/index.d.ts +2 -2
- package/src/components/View/VTextArea/index.d.ts +1 -1
- package/src/components/View/VTooltip/index.d.ts +2 -2
- package/src/components/View/VTree/Block/index.d.ts +4 -4
- package/src/components/View/VTree/index.d.ts +4 -4
- package/src/components/View/VVideo/index.d.ts +1 -1
- package/src/components/View/VZone/index.d.ts +1 -1
- package/src/components/core.d.ts +117 -0
- package/src/components/web.d.ts +1 -114
- package/templates/FEWBOX.md +6 -7
- package/src/components/Engine/BaseComponent/index.d.ts +0 -9
- package/src/components/View/VButton/index.d.ts +0 -15
- package/src/components/View/VLink/App/index.d.ts +0 -6
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,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.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(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=e("div",{ref:v,className:"dock-overlay",style:{zIndex:d},children:f()}),b=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.Right:i=n.left+n.width+a,c=n.top+(n.height-o.height)/2;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.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.InnerTop:i=n.left+(n.width-o.width)/2+a,c=n.top+a;break;case K.InnerRight:i=n.left+(n.width-o.width)-a,c=n.top+(n.height-o.height)/2;break;case K.InnerBottom:i=n.left+(n.width-o.width)/2,c=n.top+(n.height-o.height)-a;break;case K.InnerLeft:i=n.left+a,c=n.top+(n.height-o.height)/2;break;case K.InnerLeftTop:i=n.left+a,c=n.top+a;break;case K.InnerRightTop:i=n.left+(n.width-o.width)-a,c=n.top+a;break;case K.InnerLeftBottom:i=n.left+a,c=n.top+(n.height-o.height)-a;break;case K.InnerRightBottom: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(b)}),[b,f,d]),s((function(){var e=function(){return b()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[b]),n("div",V({ref:m,className:h.getClassName("dock"),style:h.getStyle()},h.getProps("div"),{children:[t.children,g(y,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.InnerRightBottom,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};
|
|
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,useState as c,useRef as l,useCallback as u,useLayoutEffect as s,useEffect as d,createElement as f,useImperativeHandle as p}from"react";import{createPortal as h}from"react-dom";import{jwtDecode as g}from"jwt-decode";var m=function(e,t){return m=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])},m(e,t)};function v(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}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var y,b,C,S,w,k,_,x,B=function(){return B=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},B.apply(this,arguments)};function V(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 T(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"}(y||(y={})),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"}(b||(b={})),function(e){e.Default="font-family"}(C||(C={})),function(e){e.Default="line-height"}(S||(S={})),function(e){e.Default="padding"}(w||(w={})),function(e){e.Default="letter-spacing"}(k||(k={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(_||(_={})),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"}(x||(x={}));var I,R,L,O,D=function(e){var t;switch(e){case b.Thin:t=100;break;case b.ExtraLight:t=200;break;case b.Light:t=300;break;case b.Regular:t=400;break;case b.Medium:t=500;break;case b.SemiBold:t=600;break;case b.Bold:t=700;break;case b.ExtraBold:t=800;break;case b.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"}(I||(I={})),function(e){e.All="all",e.Before="before",e.After="after"}(R||(R={})),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"}(L||(L={})),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"}(O||(O={}));var N,E=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),A=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 v(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(I).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(A),F=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return v(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(A),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 v(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 L.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case L.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case L.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case L.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case L.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case L.Left:r=" ".concat(e).concat(o,"-border-left");break;case L.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case L.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case L.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case L.Right:r=" ".concat(e).concat(o,"-border-right");break;case L.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case L.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case L.Top:r=" ".concat(e).concat(o,"-border-top");break;case L.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(y.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(y.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(y.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(y.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(y.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(y.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(y.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(y.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(A),P=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new W(new z(new F(new E(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},X=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],M=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],U=["onError","onLoad"],j=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],H={div:T(T([],X,!0),M,!0),input:T(T(T(T([],X,!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:T(T(T([],X,!0),M,!0),["rows","cols","wrap"],!0),template:T(T([],X,!0),M,!0),abbr:T(T([],X,!0),M,!0),span:T(T([],X,!0),M,!0),h1:T(T([],X,!0),M,!0),h2:T(T([],X,!0),M,!0),h3:T(T([],X,!0),M,!0),h4:T(T([],X,!0),M,!0),h5:T(T([],X,!0),M,!0),h6:T(T([],X,!0),M,!0),i:T(T([],X,!0),M,!0),b:T(T([],X,!0),M,!0),u:T(T([],X,!0),M,!0),em:T(T([],X,!0),M,!0),strong:T(T([],X,!0),M,!0),blockquote:T(T([],X,!0),M,!0),cite:T(T([],X,!0),M,!0),code:T(T([],X,!0),M,!0),del:T(T([],X,!0),M,!0),dfn:T(T([],X,!0),M,!0),ins:T(T([],X,!0),M,!0),kbd:T(T([],X,!0),M,!0),mark:T(T([],X,!0),M,!0),pre:T(T([],X,!0),M,!0),q:T(T([],X,!0),M,!0),s:T(T([],X,!0),M,!0),samp:T(T([],X,!0),M,!0),small:T(T([],X,!0),M,!0),summary:T(T([],X,!0),M,!0),sup:T(T([],X,!0),M,!0),sub:T(T([],X,!0),M,!0),time:T(T([],X,!0),M,!0),var:T(T([],X,!0),M,!0),wbr:T(T([],X,!0),M,!0),p:T(T([],X,!0),M,!0),address:T(T([],X,!0),M,!0),article:T(T([],X,!0),M,!0),aside:T(T([],X,!0),M,!0),details:T(T(T([],X,!0),M,!0),["onToggle"],!0),section:T(T([],X,!0),M,!0),form:T(T(T([],X,!0),M,!0),["onReset","onSubmit"],!0),dialog:T(T(T([],X,!0),M,!0),["onCancel","onClose"],!0),img:T(T(T(T([],X,!0),M,!0),U,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:T(T(T(T([],X,!0),M,!0),U,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:T(T(T([],X,!0),M,!0),U,!0),embed:T(T(T([],X,!0),M,!0),U,!0),link:T(T(T([],X,!0),M,!0),U,!0),svg:T(T(T([],X,!0),M,!0),U,!0),audio:T(T(T([],X,!0),M,!0),j,!0),video:T(T(T([],X,!0),M,!0),j,!0)},Y=function(n){return{getClassName:function(e){var t=P(e,n.isDefaultValue,n.fontSize,n.isAutoSize,n.fontWeight,n.frontColor,n.backgroundColor,n.borderColor,n.borderDirection,n.pseudoType,n.pseudoFrontColor,n.pseudoBackgroundColor,n.pseudoBorderColor,n.pseudoBorderDirection);return n.className?"".concat(n.className," ").concat(t):t},getStyle:function(){var e={borderRadius:n.borderRadius,borderWidth:n.borderWidth,borderStyle:n.borderStyle,borderColor:n.borderColor,padding:n.padding,margin:n.margin,height:n.height,width:n.width,minHeight:n.minHeight,minWidth:n.minWidth,maxHeight:n.maxHeight,maxWidth:n.maxWidth,opacity:n.opacity,display:n.display,zIndex:n.zIndex,visibility:n.visibility,fontFamily:n.fontFamily,letterSpacing:n.letterSpacing,lineHeight:n.lineHeight,cursor:n.cursor,overflow:n.overflow,overflowX:n.overflowX,overflowY:n.overflowY};return B(B({},n.style),e)},getChildren:function(){if(n.children){if(Array.isArray(n.children)){var r=n.children.filter(Boolean);return r&&r.length>0?r:e(t,{})}return n.children?n.children:e(t,{})}return e(t,{})},getProps:function(e){var t={},r=Object.keys(n);return r.length>0&&r.forEach((function(r){H[e]&&H[e].includes(r)&&(t[r]=n[r])})),t}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(N||(N={}));var q,G=o((function(t,n){var r=t.vClassName,o=V(t,["vClassName"]),a=Y(o);return e("div",B({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"}(q||(q={}));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.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(K||(K={}));var $,ee,te=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,f=void 0===i?2147483647:i,p=t.renderOverlay,g=V(t,["category","offset","overlayZIndex","renderOverlay"]),m=Y(g),v=c({isMounted:!1}),y=v[0],b=v[1],C=l(null),S=l(null),w=e("div",{ref:S,className:"dock-overlay",style:{zIndex:f},children:p()}),k=u((function(){var e=C.current,t=S.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.Right:i=n.left+n.width+a,c=n.top+(n.height-o.height)/2;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.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.InnerTop:i=n.left+(n.width-o.width)/2+a,c=n.top+a;break;case K.InnerRight:i=n.left+(n.width-o.width)-a,c=n.top+(n.height-o.height)/2;break;case K.InnerBottom:i=n.left+(n.width-o.width)/2,c=n.top+(n.height-o.height)-a;break;case K.InnerLeft:i=n.left+a,c=n.top+(n.height-o.height)/2;break;case K.InnerLeftTop:i=n.left+a,c=n.top+a;break;case K.InnerRightTop:i=n.left+(n.width-o.width)-a,c=n.top+a;break;case K.InnerLeftBottom:i=n.left+a,c=n.top+(n.height-o.height)-a;break;case K.InnerRightBottom: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,f,p]);return s((function(){requestAnimationFrame(k)}),[k,p,f]),d((function(){var e=function(){return k()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[k]),s((function(){b({isMounted:!0})}),[]),console.log(y.isMounted),n("div",B({ref:C,className:m.getClassName("dock"),style:m.getStyle()},m.getProps("div"),{children:[t.children,y.isMounted&&"undefined"!=typeof document&&h(w,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=B(B({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=$.Self?B(B({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):B(B({},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=V(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=Y(l),s=B(B({},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):"",h=o?" flex-justify-content-".concat(o):"",g=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(h).concat(g).concat(m),y=u.getClassName(v);return e("div",B({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=B(B({},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 he,ge=function(n,r,o,i,c){n.cross;var l=V(n,["cross"]),u=Y(l),s=function(t,n,o){return r?r(t,n,o):e(pe,{alignSelf:o,children:t},"child".concat(n))};return e(de,B({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.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."}))}))}))},me=function(t){return ge(t,(function(t,n,r){return e(pe,{grow:1,alignSelf:r,children:t})}))},ve=function(t){var n=Y(t);return ge(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=Y(t);return ge(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 ge(e,void 0,void 0,(function(){return ie.SpaceBetween}))},Ce=function(e){return ge(e,void 0,void 0,(function(){return ie.Center}))},Se=function(e){return ge(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(he||(he={}));var we,ke=function(n,r,o,i,c){var l=n.cross,u=V(n,["cross"]),s=Y(u),d=function(t,n,o){return r?r(t,n,o):e(pe,{alignSelf:o,children:t},"child".concat(n))};return e(de,B({vClassName:"v-ybase",wrap:o?o():ae.NoWrap,alignContent:i?i():le.Start,alignItems:function(){var e;if(l)switch(l){case he.Left:e=ce.Start;break;case he.Center:e=ce.Center;break;case he.Right:e=ce.End;break;case he.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.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."}))}))}))},_e=function(t){return ke(t,(function(t,n,r){return e(pe,{grow:1,alignSelf:r,children:t})}))},xe=o((function(t,n){return e(G,B({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));xe.displayName="VBoundary",function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(we||(we={}));var Be,Ve=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]=T(T([],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"}(Be||(Be={}));var Te,Ie,Re;!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"}(Te||(Te={})),function(e){e.Default="default",e.Circle="circle"}(Ie||(Ie={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Re||(Re={}));var Le,Oe=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,u=V(t,["category","type","alignType","isTextOverflow","caption"]),s=Y(u);switch(i){case Re.Center:r="v-label-center";break;case Re.Justify:r="v-label-justify";break;case Re.Left:r="v-label";break;case Re.Right:r="v-label-right";break;default:r="v-label"}if(a==Ie.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var d=o;n=f(d,s.getProps(d),l)}else n=f("span",s.getProps("span"),l);return a==Ie.Circle?e(ue,{children:e(G,B({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},u,{children:e(re,{category:$.Area,type:ee.Center,children:n})}))}):e(G,B({display:null==t.category||t.category==Te.Span?"inline-block":"block",vClassName:r},u,{children:n}))},De=o((function(t,r){var o=t.type,a=t.label,i=t.icon,u=t.extensions,s=t.value,f=t.valueHook,h=t.setStateHook,g=t.isValueShow,m=t.isReadonly,v=t.valueSize,b=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,_=t.overWrite,x=t.onChange,T=t.inheritClassName,R=t.customAttibutes,L=t.isFocus,O=V(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),D=Y(O),N=c({value:void 0!==t.value?t.value:""}),E=N[0],A=N[1],z=l(null),F=l(null),W=l(null);return p(r,(function(){return W.current}),[]),d((function(){var e;r?null===(e=W.current)||void 0===e||e.focus():L&&z.current&&z.current.focus()}),[]),_&&(C=_(r?W:z)),n(G,B({vClassName:"v-validity v-input".concat(T?" ".concat(T):"")},O,{children:[n(_e,{display:C?"none":void 0,children:[n(ve,{gap:"0.6em",children:[!!i&&e(xe,{children:i}),n(xe,{children:[e("input",B({ref:r?W:z},R,{className:k,style:B(B({},w),{display:m?"none":"block"}),type:o,value:f||E.value,onChange:function(e){var t,n;g&&A({value:r?null===(t=W.current)||void 0===t?void 0:t.value:null===(n=z.current)||void 0===n?void 0:n.value}),x&&x(e),h?h(e.target.value):A({value:e.target.value})}},D.getProps("input"))),!!m&&e("div",{ref:t.readonlyRef?t.readonlyRef:F,children:f||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!u&&e(me,{children:u.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=r?W.current:z.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})]}),!!g&&e(Ce,{children:e(Oe,{padding:S,isAutoSize:t.isAutoSize,fontSize:v||I.Normal,frontColor:b||y.Black,caption:void 0!==E.value?E.value.toString():s?s.toString():""})})]}),!!C&&C]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Le||(Le={}));var Ne,Ee,Ae=function(n){var r=Y(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=B(B({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function ze(){return ze=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},ze.apply(null,arguments)}var Fe,We=function(e){return r.createElement("svg",ze({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"})),Ee||(Ee=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 Pe(){return Pe=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},Pe.apply(null,arguments)}var Xe,Me,Ue,je,He=function(e){return r.createElement("svg",Pe({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"}(Xe||(Xe={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Me||(Me={})),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"}(je||(je={}));var Ye,qe=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})},Ge=function(t){t.animationCategory,t.animationSpeed;var n=V(t,["animationCategory","animationSpeed"]),r=Y(n);return e(G,B({className:r.getClassName("v-loading"),style:r.getStyle()},n,{children:e(qe,{category:t.animationCategory?t.animationCategory:Xe.Flip,speed:t.animationSpeed?t.animationSpeed:Ue.Slower,repeat:Me.Infinite,children:t.children})}))};function Je(){return Je=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},Je.apply(null,arguments)}var Ze,Ke=function(e){return r.createElement("svg",Je({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ye||(Ye=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"}(Ze||(Ze={}));var Qe,$e=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"}(Qe||(Qe={}));var et,tt,nt=function(t){var n=t.category,r=V(t,["category"]),o=Y(r),a=n||Qe.Default;return e("img",B({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},rt=o((function(t,n){return e(De,B({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function ot(){return ot=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},ot.apply(null,arguments)}var at,it=function(e){return r.createElement("svg",ot({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),et||(et=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"})),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,st=function(e){return r.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),at||(at=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dt.apply(null,arguments)}var ft,pt=function(e){return r.createElement("svg",dt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),lt||(lt=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),ut||(ut=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ht=o((function(t,n){var r,o=t.enableClear,a=V(t,["enableClear"]);if(o){var i={option:e(Ae,{fontSize:I.ExtraSmall,frontColor:y.Placeholder,onClick:function(){},children:e(pt,{})}),handleOption:function(e){e.value=""}};r=t.extensions?T(T([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(r=t.extensions);return e(De,B({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:r}))}));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(null,arguments)}var mt,vt=function(e){return r.createElement("svg",gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ft||(ft=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(mt||(mt={}));var yt,bt,Ct=function(t){var n=t.category,r=t.to,o=V(t,["category","to"]),a=Y(o);return e(G,B({vClassName:"v-hyperlink"},o,{children:e("a",B({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(yt||(yt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(bt||(bt={}));var St,wt=o((function(t,r){t.icon;var o=t.value,a=t.valueHook,i=t.setStateHook,u=V(t,["icon","value","valueHook","setStateHook"]),s=Y(u),d=c({value:o}),f=d[0],p=d[1],h=l(null);return e(G,B({vClassName:"v-validity v-textarea"},u,{children:n(ye,{cross:fe.Top,gap:"0.6em",children:[t.icon,e(xe,{children:e("textarea",B({ref:r||h,id:t.id?t.id:t.name,value:a?t.valueHook:f.value},s.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"}(St||(St={}));var kt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(kt||(kt={}));var _t;!function(e){e.Default="default",e.Fixed="fixed"}(_t||(_t={}));var xt;!function(e){e.Default="default",e.Max="max"}(xt||(xt={}));var Bt,Vt="--den-";!function(e){e.Global="global",e.Area="area"}(Bt||(Bt={}));var Tt;!function(e){e.Hover="hover",e.Click="click"}(Tt||(Tt={}));var It;!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(It||(It={}));var Rt;!function(e){e.Normal="normal",e.Italic="italic"}(Rt||(Rt={}));var Lt,Ot;!function(e){e.Popup="popup",e.Redirect="redirect"}(Lt||(Lt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Ot||(Ot={}));var Dt,Nt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(Dt||(Dt={}));var Et,At="fewbox-google-auth",zt=Object.freeze({__proto__:null,get AnimationCategory(){return Xe},get AnimationDelay(){return je},get AnimationRepeat(){return Me},get AnimationSpeed(){return Ue},get BackgroundPositionType(){return we},Base:Y,get BorderRadiusType(){return _},get BreakpointType(){return N},get ColorType(){return y},get ComponentType(){return O},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 St},get ExtensionStatus(){return It},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 Ze},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 C},get FontSizeType(){return I},get FontWeightType(){return b},get GoogleFontType(){return Rt},GoogleGrant:function(n){return d((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==Ot.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(Nt);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(Nt);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(G,{id:Nt,children:n.children})},get GoogleGrantCategory(){return Ot},get GoogleGrantUXMode(){return Lt},GoogleSignin:function(t){return d((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!=Dt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==Dt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==Dt.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:At);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(G,{id:t.googleAuthButtonId?t.googleAuthButtonId:At})},get GoogleSigninUXMode(){return Dt},get HandleSubmitCategory(){return Be},get HyperlinkCategory(){return mt},get ImageCategory(){return Qe},get LabelAlignType(){return Re},get LabelCategory(){return Te},get LabelType(){return Ie},get LetterSpacingType(){return k},get LineCategory(){return kt},get LineHeightType(){return S},get PaddingType(){return w},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:N.Small,children:r.desktop}),e(Q,{category:J.Hidden,type:Z.Up,breakpoint:r.breakpointType?r.breakpointType:N.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 xt},get SvgCategory(){return Le},get TextAlignType(){return bt},get TextCategory(){return yt},get ThemeCategory(){return Bt},get TooltipCategory(){return Tt},VActionForm:function(t){return e("form",B({className:"v-action-form"},t,{children:t.children}))},VAnimation:qe,VAudio:function(t){t.sources;var n=V(t,["sources"]),r=Y(n);return e("audio",B({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=V(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,B({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=V(t,["fileIcon","base64Image"]),i=c({base64Image:o}),l=i[0],u=i[1];return n(G,{className:"v-base64file",children:[e(rt,{name:t.name,value:l.base64Image}),e(De,B({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",u({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(_e,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(nt,{fontSize:t.fontSize,category:Qe.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},VBoundary:xe,VCheckBox:function(t){var r=t.isChecked,o=V(t,["isChecked"]),a=c({isChecked:r}),i=a[0],l=a[1];return e(De,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(Se,B({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"))?l({isChecked:!1}):l({isChecked:!0})}},o,{children:[e(Ae,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(We,{}):e(He,{})}),e(Oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(n){var r=c({}),o=r[0],a=r[1];if(d((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?It.Ready:It.Outdated,meta:e})})).catch((function(){return a({status:It.Uninstalled})})))})),o.status){if(n.overWrite)return n.overWrite(o.status,o.meta);var i=void 0;return o.status===It.Ready?e(t,{}):(o.status===It.Uninstalled?i=n.uninstalledMessage:o.status===It.Outdated&&(i=n.outdatedMessage),e(Ct,{category:mt.NewWindow,to:n.downloadUrl?n.downloadUrl:"mailto:support@fewbox.com",children:i}))}return e(t,{})},VColor:function(t){return e(De,B({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(De,B({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(De,B({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,u=r.name,s=r.icon,f=r.emptyIcon,p=r.downIcon,h=r.upIcon,g=r.enableClear,m=r.isReadonly,v=r.items,b=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=V(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=c({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),_=k[0],x=k[1],T=l(null),R=l(null),L=l(null);d((function(){var e=window.document.getElementById("".concat(u,"-dock"));if(e){var t=0;s&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=m?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(G,B({vClassName:"v-dropdown"},w,{children:[e(rt,{id:r.id?r.id:u,name:u,valueHook:null===(o=_.selectValue)||void 0===o?void 0:o.toString(),ref:T}),e(te,{zIndex:_.isSelectionShow?2e9:-2e9,category:K.InnerRightBottom,renderOverlay:function(){return e(xe,{id:"".concat(u,"-dock"),visibility:_.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(_e,{backgroundColor:y.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(xe,{children:C(r)},"item".concat(o)):n(Se,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){x(B(B({},_),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:v})),S&&S(r.value)},children:[r.icon?e(Ae,{fontSize:I.ExtraSmall,children:r.icon}):e(t,{}),e(Oe,{caption:r.caption})]},"item".concat(o))})),!(0!=_.items.length)&&e(Ae,{fontSize:I.ExtraSmall,onClick:function(){},children:f})]})})},children:e(ht,{padding:r.padding,isReadonly:m,fontSize:r.fontSize,icon:e(Ae,{fontSize:r.fontSize?r.fontSize:I.Normal,children:_.selectIcon?_.selectIcon:s}),valueHook:null===(a=_.selectCaption)||void 0===a?void 0:a.toString(),enableClear:g,extensions:[{option:e(Ae,{fontSize:r.fontSize?r.fontSize:I.Small,onClick:function(){},children:_.isSelectionShow?h:p}),handleOption:function(e){x(B(B({},_),{isSelectionShow:!_.isSelectionShow}))}}],onClick:function(){x(B(B({},_),{isSelectionShow:!_.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,x(B(B({},_),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:R,readonlyRef:L,borderRadius:r.borderRadius,frontColor:_.selectValue===_.selectCaption?r.frontColor:y.Error})})]}))},VEllipse:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-ellipse-".concat(t.category?t.category:St.Default)},n,{children:t.children}))},VEmail:function(t){return e(De,B({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,s=t.previewImageWidth,f=t.textLength,p=t.autoUpload,h=t.renderLoader,g=V(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader"]),m=l(null),v=c({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return B(B({},e),{isLoading:!1})}))};d((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(G,{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:$e(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(B(B({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(B(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(De,B({type:"file",isDefaultValue:!0,ref:m},g,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:$e(e)?URL.createObjectURL(e):void 0}}));b(B(B({},y),{inputFiles:r})),p&&(b(B(B({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return u?r&&r==Ze.Vertical?n(_e,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:he.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(_e,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(_e,{cross:he.Center,children:[!!t.objectUrl&&e(xe,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(Oe,{fontSize:I.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(h?h():e(Ge,{animationCategory:Xe.Flash,children:e(Ce,{children:e(Ae,{fontSize:a,frontColor:i,children:e(Ke,{})})})}))]}):n(_e,{gap:"1em",cross:he.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(_e,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(_e,{cross:he.Center,children:[!!t.objectUrl&&e(xe,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(Oe,{fontSize:I.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(h?h():e(Ge,{animationCategory:Xe.Flash,children:e(Ae,{fontSize:a,frontColor:i,children:e(Ke,{})})}))]}):e(xe,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=Y(t);return e("footer",B({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=V(t,["handleSubmitCategory"]),r=Y(n);return e("form",B({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==Be.FormData)t.handleSubmit(r);else{var o=Ve(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=V(t,["image","backingBoard","style"]);return o&&(n=B(B({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(G,B({vClassName:"v-frame",style:n},i,{children:e("div",B({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return d((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==Rt.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==Rt.Normal?l.push("0,".concat(D(e.weight))):e.type==Rt.Italic&&l.push("1,".concat(D(e.weight))):l.push(D(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=c({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=Y(t);return e("hr",B({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=Y(t);return e("header",B({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:rt,VHyperlink:Ct,VImage:nt,VLabel:Oe,VLine:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-line-".concat(t.category)},n))},VLoading:Ge,VMain:function(t){var n=Y(t);return e("main",B({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(G,{width:"100vw",height:"100vh",backgroundColor:y.Dark75,children:e(re,{category:$.Area,type:ee.Center,children:t.children})})})})},VMonth:function(t){return e(De,B({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(De,B({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(De,B({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=V(t,["isChecked"]);return e(De,B({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Se,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(Ae,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?it:st,{})}),e(Oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=V(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(De,B({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-rectangle-".concat(t.category?t.category:_t.Default)},n))},VSearch:function(t){return e(De,B({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=Y(t);return e("section",B({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=V(t,["name","items","value","isMultiple","fontFamily"]),i=Y(a);return e(G,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",B({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=Y(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:xt.Default)),l=B(B({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=Y(t),o=l(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(Ce,{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=Y(t),o=l(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:Ae,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,u=V(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=c({isOn:r}),d=s[0],f=s[1],p=o?e(Ae,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:y.White,fontSize:I.Normal,children:o}):e(xe,{width:"1em",height:"1em"}),h=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!d.isOn),f({isOn:!d.isOn}))};return e(G,B({vClassName:i?"v-switch-disabled":"v-switch",borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:y.Success:t.backgroundColor?t.backgroundColor:y.Placeholder},u,{onClick:h,children:n(be,{onClick:h,gap:a||"0.6em",children:[d.isOn?e(Ae,{category:Le.Circle,frontColor:y.White,children:e(vt,{})}):p,d.isOn?p:e(Ae,{category:Le.Circle,frontColor:y.White,children:e(vt,{})})]})}))},VTel:function(t){return e(De,B({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=V(t,["category","alignType","renderContent"]),c=Y(i);switch(t.alignType){case bt.Center:o="v-text-center";break;case bt.Justify:o="v-text-justify";break;case bt.Left:o="v-text";break;case bt.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=f(l,c.getProps(l),a())}else r=f("span",c.getProps("span"),a());return e(G,B({vClassName:o},i,{children:r}))},VTextArea:wt,VTextBox:ht,VTheme:function(n){return d((function(){var e;n.category==Bt.Area?n.area&&(e=document.getElementById(n.area)):e=document.documentElement,e&&(Object.keys(n.theme.colors).forEach((function(t){e.style.setProperty("".concat(Vt,"color-").concat(t),n.theme.colors[t])})),Object.keys(n.theme.fontSizes).forEach((function(t){e.style.setProperty("".concat(Vt).concat(t),n.theme.fontSizes[t])})),Object.keys(n.theme.fontWeights).forEach((function(t){e.style.setProperty("".concat(Vt).concat(t),n.theme.fontWeights[t])})))}),[]),n.category==Bt.Area?n.area?e(G,{id:n.area,backgroundColor:y.Body,children:n.children}):e(Oe,{backgroundColor:y.Error,caption:"No Area!"}):e(t,{})},VTime:function(t){return e(De,B({type:"time",isDefaultValue:!0},t))},VTooltip:function(n){var r,o=n.category,a=n.dockCategory,i=n.renderOverlay,l=V(n,["category","dockCategory","renderOverlay"]),u=c({isShow:!1}),s=u[0],d=u[1];return r=o||Tt.Hover,e(G,B({vClassName:"v-tooltip"},l,{children:e(te,{category:a,renderOverlay:function(){return s.isShow?i():e(t,{})},children:e(xe,{onClick:function(){r==Tt.Click&&d({isShow:!s.isShow})},onMouseEnter:function(){r==Tt.Hover&&d({isShow:!0})},onMouseLeave:function(){r==Tt.Hover&&d({isShow:!1})},children:n.children})})}))},VUrl:function(t){return e(De,B({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=V(t,["sources"]),r=Y(n);return e("video",B({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,B({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(G,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return x},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 ge(e,void 0,void 0,(function(){return ie.SpaceAround}))},XAutoBoth:function(t){var n=Y(t);return ge(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 ge(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=Y(t);return ge(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 ge(t,(function(t,n,r){return e(pe,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:be,XCenter:Ce,get XCrossType(){return fe},XCustom:function(t){return ge(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=Y(t);return ge(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 ge(e,void 0,void 0,(function(){return ie.SpaceEvenly}))},XLeft:Se,XRight:function(e){return ge(e,void 0,void 0,(function(){return ie.End}))},XWrapAround:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceAround}))},XWrapBetween:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceBetween}))},XWrapBottom:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.End}))},XWrapEvenly:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.SpaceEvenly}))},XWrapMiddle:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.Center}))},XWrapTop:function(e){return ge(e,void 0,(function(){return ae.Wrap}),void 0,(function(){return le.Start}))},Y:_e,YAround:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.SpaceAround}))},YAutoBoth:function(t){var n=Y(t);return ke(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=Y(t);return ke(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 ke(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=Y(t);return ke(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 ke(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=Y(t);return ke(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 ke(e,void 0,void 0,void 0,(function(){return ie.SpaceBetween}))},YBottom:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.End}))},get YCrossType(){return he},YCustom:function(t){return ke(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=Y(t);return ke(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 ke(e,void 0,void 0,void 0,(function(){return ie.SpaceEvenly}))},YMiddle:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.Center}))},YTop:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.Start}))},YWrapAround:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceAround}),void 0)},YWrapBetween:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceBetween}))},YWrapCenter:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.Center}))},YWrapEvenly:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.SpaceEvenly}))},YWrapLeft:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.Start}))},YWrapRight:function(e){return ke(e,void 0,(function(){return ae.Wrap}),(function(){return le.End}))},get ZoneCategory(){return q},convertFormDataToJson:Ve,getGeneratedClassName:P,parseJWT:function(e){var t={},n=g(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=zt}(Et||(Et={}));export{Et as Den};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|