@fewbox/den 0.0.99 → 0.1.16
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-core.d.ts +5 -0
- package/index-web.d.ts +5 -0
- package/index.css +1 -12226
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +4 -13
- package/src/components/Auth/FigmaSignin/index.d.ts +3 -3
- package/src/components/Auth/GoogleGrant/index.d.ts +3 -3
- package/src/components/Auth/GoogleSignin/index.d.ts +1 -1
- package/src/components/Auth/WeComSignin/index.d.ts +3 -3
- package/src/components/Debug/index.d.ts +3 -3
- package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
- package/src/components/Engine/Base/index.d.ts +7 -179
- package/src/components/Engine/index.d.ts +3 -3
- package/src/components/Layout/Display/index.d.ts +3 -3
- package/src/components/Layout/Dock/index.d.ts +18 -11
- package/src/components/Layout/Flex/index.d.ts +3 -2
- package/src/components/Layout/FlexItem/index.d.ts +2 -2
- package/src/components/Layout/Position/index.d.ts +3 -4
- package/src/components/Layout/PositionArea/index.d.ts +3 -3
- package/src/components/Layout/Responsive/index.d.ts +3 -3
- package/src/components/Layout/SBaseline/index.d.ts +3 -3
- package/src/components/Layout/SBottom/index.d.ts +3 -3
- package/src/components/Layout/SCenter/index.d.ts +3 -3
- package/src/components/Layout/SLeft/index.d.ts +3 -3
- package/src/components/Layout/SMiddle/index.d.ts +3 -3
- package/src/components/Layout/SRight/index.d.ts +3 -3
- package/src/components/Layout/SStretch/index.d.ts +3 -3
- package/src/components/Layout/STop/index.d.ts +3 -3
- 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 -3
- 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 +3 -6
- package/src/components/View/VAnimation/index.d.ts +3 -3
- package/src/components/View/VAudio/index.d.ts +2 -2
- package/src/components/View/VAvatar/index.d.ts +4 -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/VBoundary/index.d.ts +1 -3
- 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 +9 -11
- package/src/components/View/VFooter/index.d.ts +2 -2
- package/src/components/View/VForm/index.d.ts +3 -3
- package/src/components/View/VFrame/index.d.ts +1 -3
- package/src/components/View/VGoogleFont/index.d.ts +1 -1
- package/src/components/View/VHR/index.d.ts +2 -2
- package/src/components/View/VHeader/index.d.ts +2 -2
- package/src/components/View/VHyperlink/index.d.ts +2 -2
- package/src/components/View/VImage/index.d.ts +13 -0
- package/src/components/View/VInput/VBase64File/{App/index.d.ts → index.d.ts} +3 -3
- 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 +11 -12
- package/src/components/View/VInput/VEmail/index.d.ts +1 -1
- package/src/components/View/VInput/VFile/index.d.ts +12 -14
- package/src/components/View/VInput/VGroup/index.d.ts +2 -3
- package/src/components/View/VInput/VHidden/index.d.ts +1 -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/VTextBox/index.d.ts +1 -3
- 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 +9 -21
- package/src/components/View/VLabel/index.d.ts +6 -10
- package/src/components/View/VLoading/index.d.ts +3 -3
- package/src/components/View/VMain/index.d.ts +2 -2
- package/src/components/View/VMask/index.d.ts +1 -1
- package/src/components/View/VPhoto/index.d.ts +1 -1
- package/src/components/View/VRoot/index.d.ts +2 -4
- package/src/components/View/VSection/index.d.ts +2 -2
- package/src/components/View/VSelect/index.d.ts +2 -2
- 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 -2
- package/src/components/View/VSwitch/index.d.ts +2 -2
- package/src/components/View/VTemplate/index.d.ts +2 -2
- package/src/components/View/VText/index.d.ts +6 -5
- package/src/components/View/VTextArea/index.d.ts +3 -6
- package/src/components/View/VTheme/index.d.ts +4 -5
- package/src/components/View/VTooltip/index.d.ts +3 -7
- 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 +2 -2
- package/src/components/View/VZone/index.d.ts +1 -1
- package/src/components/{app.d.ts → core.d.ts} +26 -44
- package/src/components/web.d.ts +9 -0
- package/templates/FEWBOX.md +8 -9
- package/index-app.d.ts +0 -15
- package/src/action/index.d.ts +0 -9
- package/src/components/Analyze/GA4/index.d.ts +0 -9
- package/src/components/Analyze/GA4NextJS/index.d.ts +0 -5
- package/src/components/Analyze/util.d.ts +0 -115
- package/src/components/Engine/BaseComponent/index.d.ts +0 -9
- package/src/components/Layout/DockBak/index.d.ts +0 -24
- package/src/components/View/VButton/index.d.ts +0 -17
- package/src/components/View/VDynamic/index.d.ts +0 -7
- package/src/components/View/VImage/App/index.d.ts +0 -16
- package/src/components/View/VLink/App/index.d.ts +0 -6
- package/src/components/View/VPaypal/index.d.ts +0 -10
- package/src/components/View/VPureRoot/index.d.ts +0 -7
- package/src/fewbox/index.d.ts +0 -27
- package/src/language/index.d.ts +0 -5
- package/src/network/FormHeaders.d.ts +0 -2
- package/src/network/IGraphQL.d.ts +0 -6
- package/src/network/JsonHeaders.d.ts +0 -5
- package/src/network/Network.d.ts +0 -45
- package/src/network/NetworkObservableBase.d.ts +0 -13
- package/src/network/StreamObservableBase.d.ts +0 -11
- package/src/network/UploadHeaders.d.ts +0 -5
- package/src/network/WS.d.ts +0 -11
- package/src/network/ajax/default/Delete.d.ts +0 -5
- package/src/network/ajax/default/DeleteText.d.ts +0 -5
- package/src/network/ajax/default/Get.d.ts +0 -5
- package/src/network/ajax/default/GetLocal.d.ts +0 -5
- package/src/network/ajax/default/GetText.d.ts +0 -5
- package/src/network/ajax/default/NetworkObservableAjax.d.ts +0 -7
- package/src/network/ajax/default/Patch.d.ts +0 -5
- package/src/network/ajax/default/PatchText.d.ts +0 -5
- package/src/network/ajax/default/Post.d.ts +0 -5
- package/src/network/ajax/default/PostText.d.ts +0 -5
- package/src/network/ajax/default/Put.d.ts +0 -5
- package/src/network/ajax/default/PutText.d.ts +0 -5
- package/src/network/ajax/external/DeleteExternal.d.ts +0 -5
- package/src/network/ajax/external/DeleteTextExternal.d.ts +0 -5
- package/src/network/ajax/external/GetExternal.d.ts +0 -5
- package/src/network/ajax/external/GetTextExternal.d.ts +0 -5
- package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +0 -8
- package/src/network/ajax/external/PatchExternal.d.ts +0 -5
- package/src/network/ajax/external/PatchTextExternal.d.ts +0 -5
- package/src/network/ajax/external/PostExternal.d.ts +0 -5
- package/src/network/ajax/external/PostTextExternal.d.ts +0 -5
- package/src/network/ajax/external/PutExternal.d.ts +0 -5
- package/src/network/ajax/external/PutTextExternal.d.ts +0 -5
- package/src/network/fetch/default/DeleteFetch.d.ts +0 -5
- package/src/network/fetch/default/GetFetch.d.ts +0 -5
- package/src/network/fetch/default/NetworkObservableFetch.d.ts +0 -7
- package/src/network/fetch/default/PatchFetch.d.ts +0 -5
- package/src/network/fetch/default/PostFetch.d.ts +0 -5
- package/src/network/fetch/default/PutFetch.d.ts +0 -5
- package/src/network/fetch/external/GetFetchExternal.d.ts +0 -5
- package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +0 -8
- package/src/network/fetch/external/PatchFetchExternal.d.ts +0 -5
- package/src/network/fetch/external/PostFetchExternal.d.ts +0 -5
- package/src/network/fetch/external/PutFetchExternal.d.ts +0 -5
- package/src/network/graphql/default/GQL.d.ts +0 -6
- package/src/network/graphql/default/GQLUpload.d.ts +0 -6
- package/src/network/graphql/default/NetworkObservableGQL.d.ts +0 -7
- package/src/network/graphql/external/GQLExternal.d.ts +0 -6
- package/src/network/graphql/external/GQLExternalUpload.d.ts +0 -6
- package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +0 -7
- package/src/network/index.d.ts +0 -46
- package/src/network/sse/default/GetSSE.d.ts +0 -5
- package/src/network/sse/default/PostSSE.d.ts +0 -5
- package/src/network/sse/default/StreamObservableSSE.d.ts +0 -5
- package/src/network/sse/external/GetSSEExternal.d.ts +0 -5
- package/src/network/sse/external/PostSSEExternal.d.ts +0 -5
- package/src/network/sse/external/StreamObservableSSEExternal.d.ts +0 -6
- package/src/network/util.d.ts +0 -4
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{useImperativeHandle as t}from"react";import{Link as n,useLocation as r}from"react-router-dom";import{PayPalScriptProvider as a,PayPalButtons as o}from"@paypal/react-paypal-js";import i from"react-ga4";import{jwtDecode as c}from"jwt-decode";import{createIntlCache as l,createIntl as u}from"react-intl";import{of as s,Observable as d}from"rxjs";import{switchMap as f,map as m,retry as p,catchError as g}from"rxjs/operators";import{ajax as h}from"rxjs/ajax";import{fromFetch as v}from"rxjs/fetch";var y;!function(e){e.EMPTY="EMPTY",e.RESET="RESET"}(y||(y={}));var b=function(){return{type:y.EMPTY}},E=Object.freeze({__proto__:null,emptyAction:b,resetAction:function(){return{type:y.RESET}}}),C=function(e,t){return C=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])},C(e,t)};function S(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}C(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var k,w,x,T,_,B,I,D,L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},L.apply(this,arguments)};function R(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function c(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}l((r=r.apply(e,t||[])).next())}))}function O(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function V(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);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"}(k||(k={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(w||(w={})),function(e){e.Default="font-family"}(x||(x={})),function(e){e.Default="line-height"}(T||(T={})),function(e){e.Default="padding"}(_||(_={})),function(e){e.Default="letter-spacing"}(B||(B={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(I||(I={})),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"}(D||(D={}));var N,P,A,F,z=function(e){var t;switch(e){case w.Thin:t=100;break;case w.ExtraLight:t=200;break;case w.Light:t=300;break;case w.Regular:t=400;break;case w.Medium:t=500;break;case w.SemiBold:t=600;break;case w.Bold:t=700;break;case w.ExtraBold:t=800;break;case w.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(N||(N={})),function(e){e.All="all",e.Before="before",e.After="after"}(P||(P={})),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"}(A||(A={})),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"}(F||(F={}));var W,U=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),H=function(e){this.component=e},j=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.sizeType=n,a.isAuto=r,a}return S(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(N).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}(H),M=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return S(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(H),X=function(e){function t(t,n,r,a,o,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=a,f.borderColorType=o,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return S(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,a=this.getBorderPrefix(n);switch(t){case A.Bottom:r=" ".concat(e).concat(a,"-border-bottom");break;case A.ExceptBottom:r=" ".concat(e).concat(a,"-border-except-bottom");break;case A.ExceptLeft:r=" ".concat(e).concat(a,"-border-except-left");break;case A.ExceptRight:r=" ".concat(e).concat(a,"-border-except-right");break;case A.ExceptTop:r=" ".concat(e).concat(a,"-border-except-top");break;case A.Left:r=" ".concat(e).concat(a,"-border-left");break;case A.LeftBottom:r=" ".concat(e).concat(a,"-border-left-bottom");break;case A.LeftRight:r=" ".concat(e).concat(a,"-border-left-right");break;case A.LeftTop:r=" ".concat(e).concat(a,"-border-left-top");break;case A.Right:r=" ".concat(e).concat(a,"-border-right");break;case A.RightBottom:r=" ".concat(e).concat(a,"-border-right-bottom");break;case A.RightTop:r=" ".concat(e).concat(a,"-border-right-top");break;case A.Top:r=" ".concat(e).concat(a,"-border-top");break;case A.TopBottom:r=" ".concat(e).concat(a,"-border-bottom");break;default:r=" ".concat(e).concat(a,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(k.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(k.White,"-before-background"):"",a=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(k.White,"-after-background"):"",o="".concat(r).concat(a),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(k.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(k.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(k.Black,"-after-front"):"",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(k.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(k.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(o).concat(i).concat(u).concat(e).concat(t)},t}(H),G=function(e,t,n,r,a,o,i,c,l,u,s,d,f,m){return new X(new j(new M(new U(e),a),n,r),t,o,i,c,l,u,s,d,f,m).getClassName()};!function(e){e.Div="div",e.Span="span"}(W||(W={}));var Y,q=function(e){return{getClassName:function(t){var n=G(t,e.isDefaultValue,e.size,e.isAutoSize,e.weight,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;e.fontFamily&&(t=e.fontFamily);var n={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:t,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return L(L({},e.style),n)},getChildren:function(e){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}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(Y||(Y={}));var J,Z=e.forwardRef((function(t,n){var r=q(t);return t.rootCategory==W.Span?e.createElement("span",L({id:t.id,ref:n,className:"v-root ".concat(r.getClassName(t.vClassName)),style:r.getStyle()},t.customAttibutes,{onClick:t.onClick,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onDrag:t.onDrag,onDrop:t.onDrop,onDragOver:t.onDragOver,onDragEnd:t.onDragEnd,onDragLeave:t.onDragLeave,onDragExit:t.onDragExit}),t.children):e.createElement("div",L({id:t.id,ref:n,className:"v-root ".concat(r.getClassName(t.vClassName)),style:r.getStyle()},t.customAttibutes,{onClick:t.onClick,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onDrag:t.onDrag,onDrop:t.onDrop,onDragOver:t.onDragOver,onDragEnd:t.onDragEnd,onDragLeave:t.onDragLeave,onDragExit:t.onDragExit}),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"}(J||(J={}));var Q,K;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(Q||(Q={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(K||(K={}));var $,ee=function(t){return t.children?e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){if(n&&n.props){var r=void 0;t.breakpoint?"string"==typeof t.breakpoint?t.type&&t.type!=K.Only?t.type==K.Up?r="".concat(t.breakpoint,"-up-").concat(t.category):t.type==K.Down&&(r="".concat(t.breakpoint,"-down-").concat(t.category)):r="".concat(t.breakpoint,"-").concat(t.category):r=t.breakpoint.map((function(e,n){return"".concat(e,"-").concat(t.category)})).join(" "):r=t.category;var a={className:r};return e.cloneElement(n,a)}return n}(n)}))):e.createElement(e.Fragment,null)};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}($||($={}));var te,ne,re=function(t){var n,r=e.useRef(null),a=e.useRef(null),o=e.useRef(null),i=function(){if(a.current&&o.current&&r.current)if(t.category==$.Bottom||t.category==$.Top){var e="-".concat(Math.abs(o.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==$.Left||t.category==$.Right){var n="".concat(Math.abs(o.current.offsetHeight-r.current.offsetHeight)/2,"px");r.current.style.top=n}else if(t.category==$.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==$.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==$.RightTop){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==$.RightBottom){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==$.LeftInnerTop);else if(t.category==$.LeftInnerBottom);else if(t.category==$.RightInnerTop){e="".concat(o.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==$.RightInnerBottom){e="".concat(o.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(e.useEffect((function(){a.current&&new ResizeObserver((function(e){i()})).observe(a.current);i()}),[]),t.category)switch(t.category){case $.Bottom:n="dock-overlay-bottom";break;case $.Left:n="dock-overlay-left";break;case $.LeftBottom:n="dock-overlay-leftbottom";break;case $.LeftTop:n="dock-overlay-lefttop";break;case $.Right:n="dock-overlay-right";break;case $.RightBottom:n="dock-overlay-rightbottom";break;case $.RightTop:n="dock-overlay-righttop";break;case $.Top:n="dock-overlay-top";break;case $.LeftInnerBottom:n="dock-overlay-leftinnerbottom";break;case $.LeftInnerTop:n="dock-overlay-leftinnertop";break;case $.RightInnerBottom:n="dock-overlay-rightinnerbottom";break;case $.RightInnerTop:n="dock-overlay-rightinnertop";break;default:n="dock-overlay"}return e.createElement("div",{className:"dock"},e.createElement("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:n,ref:r},e.createElement("div",{ref:a},t.renderOverlay())),e.createElement("div",{id:"dockContent",className:"dock-content",ref:o,onClick:function(e){t.onClick&&t.onClick(e)}},t.children))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(te||(te={})),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"}(ne||(ne={}));var ae,oe=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=L(L({},t.style),{zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)}r=void 0;return r=t.category!=te.Self?L(L({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):L(L({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)};!function(e){e.Default="default",e.FullSize="full-size"}(ae||(ae={}));var ie,ce,le,ue,se,de=function(t){return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){var r={className:"position-area-".concat(t.category?t.category:ae.Default," ").concat(n.props.className)};return e.cloneElement(n,r)}(n)})))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(ie||(ie={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(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={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ue||(ue={})),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"}(se||(se={}));var fe,me=function(t){var n=L(L({},t.style),{gap:t.gap,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),r=t.overflow?"flex-".concat(t.overflow):"flex-hidden",a=t.direction?" flex-direction-".concat(t.direction):"",o=t.wrap?" flex-wrap-".concat(t.wrap):"",i=t.justifyContent?" flex-justify-content-".concat(t.justifyContent):"",c=t.alignItems?" flex-align-items-".concat(t.alignItems):"",l=t.alignContent?" flex-align-content-".concat(t.alignContent):"",u="".concat(r).concat(a).concat(o).concat(i).concat(c).concat(l);return t.rootCategory==W.Span?e.createElement("span",{className:t.className?"".concat(t.className," ").concat(u):u,style:n,onClick:t.onClick},t.children):e.createElement("div",{className:t.className?"".concat(t.className," ").concat(u):u,style:n,onClick:t.onClick},t.children)};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(fe||(fe={}));var pe,ge=function(t){return t.children&&Object.keys(t.children).indexOf("type")>-1?e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){var r={};if(t.order&&(r.order=t.order),t.basis&&(r.flexBasis=t.basis),t.grow&&(r.flexGrow=t.grow),t.shrink&&(r.flexShrink=t.shrink),n.props){var a=L(L({},r),n.props?n.props.style:null),o=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",i=n.props.className?" ".concat(n.props.className):"",c={className:"flex-item".concat(o).concat(i),style:a};return e.cloneElement(n,c)}return console.debug(n),e.createElement(e.Fragment,null,"Please check child.")}(n)}))):e.createElement(e.Fragment,null)};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(pe||(pe={}));var he,ve=function(t,n,r,a,o){var i=q(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(ge,{key:"child".concat(r),alignSelf:a},t)};return e.createElement(me,{rootCategory:t.rootCategory,className:i.getClassName("v-xbase"),style:i.getStyle(),gap:t.gap,overflow:t.overflow,alignItems:function(){var e;if(t.cross)switch(t.cross){case pe.Stretch:e=ue.Stretch;break;case pe.Baseline:e=ue.Baseline;break;case pe.Bottom:e=ue.End;break;case pe.Middle:e=ue.Center;break;case pe.Top:e=ue.Start;break;default:e=ue.Center}else e=ue.Center;return e}(),wrap:r?r():ce.NoWrap,justifyContent:a?a():le.Start,alignContent:o?o():se.Start,onClick:t.onClick},e.Children.map(i.getChildren(t),(function(t,n){var r=t;return r?r.type?"STop"===r.props.typeName?c(r.props.children,n,fe.Start):"SMiddle"===r.props.typeName?c(r.props.children,n,fe.Center):"SBottom"===r.props.typeName?c(r.props.children,n,fe.End):"SStretch"===r.props.typeName?c(r.props.children,n,fe.Stretch):"SBaseline"===r.props.typeName?c(r.props.children,n,fe.Baseline):c(r,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check X layout children.")):void 0})))},ye=function(t){return ve(t,(function(t,n,r){return e.createElement(ge,{grow:1,alignSelf:r},t)}))},be=function(t){var n=q(t);return ve(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:0,alignSelf:o},r):e.createElement(ge,{grow:1,alignSelf:o},r)}))},Ee=function(t){var n=q(t);return ve(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:1,alignSelf:o},r):e.createElement(ge,{grow:0,alignSelf:o},r)}))},Ce=function(t){var n=q(t);return ve(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:1},r):e.createElement(ge,{grow:0},r)}))},Se=function(e){return ve(e,void 0,void 0,(function(){return le.SpaceBetween}))},ke=function(e){return ve(e,void 0,void 0,(function(){return le.Center}))},we=function(e){return ve(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(he||(he={}));var xe=function(t,n,r,a,o){var i=q(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(ge,{key:"child".concat(r),alignSelf:a},t)};return e.createElement(me,{className:i.getClassName("v-ybase"),style:i.getStyle(),overflow:t.overflow,gap:t.gap,wrap:r?r():ce.NoWrap,alignContent:a?a():se.Start,alignItems:function(){var e;if(t.cross)switch(t.cross){case he.Left:e=ue.Start;break;case he.Center:e=ue.Center;break;case he.Right:e=ue.End;break;case he.Baseline:e=ue.Baseline;break;default:e=ue.Stretch}else e=ue.Stretch;return e}(),direction:ie.Column,justifyContent:o?o():le.Start,onClick:t.onClick},e.Children.map(i.getChildren(t),(function(t,n){var r=t;return r?r.type?r&&"SLeft"===r.props.typeName?c(r.props.children,n,fe.Start):r&&"SMiddle"===r.props.typeName||r&&"SCenter"===r.props.typeName?c(r.props.children,n,fe.Center):r&&"SRight"===r.props.typeName?c(r.props.children,n,fe.End):r&&"SStretch"===r.props.typeName?c(r.props.children,n,fe.Stretch):r&&"SBaseline"===r.props.typeName?c(r.props.children,n,fe.Baseline):c(t,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check Y layout children.")):void 0})))},Te=function(t){return xe(t,(function(t,n,r){return e.createElement(ge,{grow:1,alignSelf:r},t)}))},_e=function(e){return xe(e,void 0,void 0,void 0,(function(){return le.Center}))},Be=e.forwardRef((function(t,n){return e.createElement(Z,L({id:t.id,ref:n,vClassName:"v-boundary"},t),t.children)}));Be.displayName="VBoundary";var Ie;!function(e){e.Default="default",e.Fixed="fixed"}(Ie||(Ie={}));var De,Le=function(t){return e.createElement(Z,L({vClassName:"v-ellipse-".concat(t.category?t.category:Ie.Default)},t),t.children)};!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(De||(De={}));var Re;!function(e){e.Default="default",e.Fixed="fixed"}(Re||(Re={}));var Oe;!function(e){e.Default="default",e.Max="max"}(Oe||(Oe={}));var Ve,Ne,Pe,Ae=function(t){var n=q(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){if(r){var a={};t.x&&t.y&&t.blur&&t.spread&&t.color&&(a.boxShadow="".concat(t.x,"px ").concat(t.y,"px ").concat(t.blur,"px ").concat(t.spread,"px ").concat(t.color));var o={className:n.getClassName("v-shadow-".concat(t.category?t.category:Oe.Default)),style:L(L({},a),n.getStyle())};return e.cloneElement(r,o)}return e.createElement(e.Fragment,null)}(r)})))};!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"}(Ve||(Ve={})),function(e){e.Default="default",e.Circle="circle"}(Ne||(Ne={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Pe||(Pe={}));var Fe=function(t){var n,r;switch(t.alignType){case Pe.Center:r="v-label-center";break;case Pe.Justify:r="v-label-justify";break;case Pe.Left:r="v-label";break;case Pe.Right:r="v-label-right";break;default:r="v-label"}switch(t.type==Ne.Circle&&(r="".concat(r,"-circle")),t.isTextOverflow&&(r+=" v-label-text-overflow"),t.category){case Ve.Div:n=e.createElement("div",null,t.caption);break;case Ve.Span:n=e.createElement("span",null,t.caption);break;case Ve.H1:n=e.createElement("h1",null,t.caption);break;case Ve.H2:n=e.createElement("h2",null,t.caption);break;case Ve.H3:n=e.createElement("h3",null,t.caption);break;case Ve.H4:n=e.createElement("h4",null,t.caption);break;case Ve.H5:n=e.createElement("h5",null,t.caption);break;case Ve.H6:n=e.createElement("h6",null,t.caption);break;case Ve.I:n=e.createElement("i",null,t.caption);break;case Ve.B:n=e.createElement("b",null,t.caption);break;case Ve.U:n=e.createElement("u",null,t.caption);break;case Ve.Abbr:n=e.createElement("abbr",{title:t.title},t.caption);break;case Ve.Em:n=e.createElement("em",null,t.caption);break;case Ve.Strong:n=e.createElement("strong",null,t.caption);break;case Ve.Blockquote:n=e.createElement("blockquote",{cite:t.cite},t.caption);break;case Ve.Cite:n=e.createElement("cite",null,t.caption);break;case Ve.Code:n=e.createElement("code",null,t.caption);break;case Ve.Del:n=e.createElement("del",null,t.caption);break;case Ve.Dfn:n=e.createElement("dfn",null,t.caption);break;case Ve.Ins:n=e.createElement("ins",null,t.caption);break;case Ve.Kbd:n=e.createElement("kbd",null,t.caption);break;case Ve.Mark:n=e.createElement("mark",null,t.caption);break;case Ve.Pre:n=e.createElement("pre",null,t.caption);break;case Ve.Q:n=e.createElement("q",null,t.caption);break;case Ve.S:n=e.createElement("s",null,t.caption);break;case Ve.Samp:n=e.createElement("samp",null,t.caption);break;case Ve.Small:n=e.createElement("small",null,t.caption);break;case Ve.Summary:n=e.createElement("summary",null,t.caption);break;case Ve.Sub:n=e.createElement("sub",null,t.caption);break;case Ve.Sup:n=e.createElement("sup",null,t.caption);break;case Ve.Time:n=e.createElement("time",null,t.caption);break;case Ve.Var:n=e.createElement("var",null,t.caption);break;case Ve.Wbr:n=e.createElement("wbr",null,t.caption);break;default:n=e.createElement("span",null,t.caption)}return t.type==Ne.Circle?e.createElement(de,null,e.createElement(Z,L({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},t),e.createElement(oe,{category:te.Area,type:ne.Center},n))):e.createElement(Z,L({display:null==t.category||t.category==Ve.Span?"inline-block":"block",vClassName:r},t),n)};var ze,We=function(e){function t(t){var n=e.call(this,t)||this;return n._base=q(t),n}return S(t,e),t.prototype.getClassName=function(e){return this._base.getClassName(e)},t.prototype.getStyle=function(){return this._base.getStyle()},t.prototype.getChildren=function(e){return this._base.getChildren(e)},t}(e.Component);!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(ze||(ze={}));var Ue,He=function(t){var n=q(t),r=t.category?t.category:ze.Default;return e.createElement("img",{className:n.getClassName("v-image-".concat(r)),style:n.getStyle(),src:t.src,srcSet:t.srcSet,alt:t.alt})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Ue||(Ue={}));var je,Me,Xe,Ge,Ye=function(t){var n=q(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){var a=t.category?t.category:Ue.Default,o=n.getClassName("v-svg-".concat(a)),i=t.onClick,c=t.onMouseEnter,l=t.onMouseLeave,u={className:o,style:L(L({},n.getStyle()),{cursor:i?"pointer":"inherit"}),onClick:i,onMouseEnter:c,onMouseLeave:l};return e.cloneElement(r,u)}(r)})))};!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"}(je||(je={})),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"}(Xe||(Xe={})),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"}(Ge||(Ge={}));var qe,Je=function(t){var n;return e.createElement("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(" ")))},t.children)};!function(e){e.Round="round",e.Circle="circle"}(qe||(qe={}));var Ze;!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}(Ze||(Ze={}));var Qe;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(Qe||(Qe={}));var Ke;!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(Ke||(Ke={}));var $e,et,tt=function(t){var n=q(t);return e.createElement(Z,L({vClassName:n.getClassName("v-hyperlink"),style:n.getStyle()},t),e.createElement("a",{href:t.to,target:t.category},t.children))};!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}($e||($e={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(et||(et={}));var nt,rt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(nt||(nt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(rt||(rt={}));var at,ot=function(e){var t={};return e.forEach((function(e,n){var r,a=!1;n.startsWith("#")?(a=!0,r=n.substring(1).split(".")):r=n.split(".");var o=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(o).filter((function(e){return e==i})).length>0?o[i]=V(V([],o[i],!0),[a?JSON.parse(e.toString()):e],!1):o[i]=[a?JSON.parse(e.toString()):e]}else o[t]=a?JSON.parse(e.toString()):e;else t in o||(o[t]={}),o=o[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(at||(at={}));var it,ct,lt=e.forwardRef((function(n,r){var a,o=e.useState({value:void 0!==n.value?n.value:""}),i=o[0],c=o[1],l=e.useRef(null),u=e.useRef(null),s=e.useRef(null);return t(r,(function(){return s.current}),[]),e.useEffect((function(){var e;r?null===(e=s.current)||void 0===e||e.focus():n.isFocus&&l.current&&l.current.focus()})),n.overWrite&&(a=r?n.overWrite(s):n.overWrite(l)),e.createElement(Z,L({vClassName:"v-validity v-input".concat(n.inheritClassName?" ".concat(n.inheritClassName):"")},n),e.createElement(Te,{display:a?"none":void 0},e.createElement(Ee,{gap:"0.6em"},e.createElement(Be,null,!!n.icon&&n.icon),e.createElement(Be,null,e.createElement("input",L({ref:r?s:l},n.customAttibutes,{className:n.inputClassName,style:L(L({},n.inputStyle),{display:n.isReadonly?"none":"block"}),required:n.isRequired,placeholder:n.placeholder,type:n.type,id:n.id?n.id:n.name,name:n.name,value:n.valueHook?n.valueHook:i.value,min:n.min,max:n.max,step:n.step,disabled:n.disabled,onChange:function(e){var t,a;n.isValueShow&&c({value:r?null===(t=s.current)||void 0===t?void 0:t.value:null===(a=l.current)||void 0===a?void 0:a.value}),n.onChange&&n.onChange(e),n.setStateHook?n.setStateHook(e.target.value):c({value:e.target.value})},onKeyDown:n.onKeyDown,onKeyUp:n.onKeyUp,onClick:n.onClick,onBlur:n.onBlur,onCopy:n.onCopy,onCut:n.onCut,onPaste:n.onPaste,onDrag:n.onDrag,multiple:n.isMultiple,accept:n.accept})),!!n.isReadonly&&e.createElement("div",{ref:n.readonlyRef?n.readonlyRef:u},n.valueHook?n.valueHook:i.value?i.value.toString():""),!!n.label&&e.createElement("label",{htmlFor:n.id?n.id:n.name},n.label)),e.createElement(Be,null,!!n.extensions&&e.createElement(ye,null,n.extensions.map((function(t,n){return e.createElement("span",{key:"extension".concat(n),className:"extension",onClick:function(){var e=r?s.current:l.current;t.handleOption(e)}},t.option)}))))),!!n.isValueShow&&e.createElement(ke,null,e.createElement(Fe,{padding:n.valuePadding,isAutoSize:n.isAutoSize,size:n.valueSize?n.valueSize:N.Normal,frontColor:n.valueColor?n.valueColor:k.Black,caption:void 0!==i.value?i.value.toString():n.value?n.value.toString():""}))),!!a&&a)}));function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ut.apply(null,arguments)}var st,dt=function(t){return e.createElement("svg",ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),it||(it=e.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"})),ct||(ct=e.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 ft(){return ft=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},ft.apply(null,arguments)}var mt,pt=function(t){return e.createElement("svg",ft({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),st||(st=e.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"})))},gt=function(t){var n=q(t);return e.createElement(Be,L({className:n.getClassName("v-loading"),style:n.getStyle()},t),e.createElement(Je,{category:t.animationCategory?t.animationCategory:je.Flip,speed:t.animationSpeed?t.animationSpeed:Xe.Slower,repeat:Me.Infinite},t.children))};function ht(){return ht=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},ht.apply(null,arguments)}var vt,yt=function(t){return e.createElement("svg",ht({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),mt||(mt=e.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"}(vt||(vt={}));var bt,Et,Ct=e.forwardRef((function(t,n){return e.createElement(lt,L({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},St.apply(null,arguments)}var kt,wt=function(t){return e.createElement("svg",St({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),bt||(bt=e.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=e.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xt.apply(null,arguments)}var Tt,_t,Bt=function(t){return e.createElement("svg",xt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),kt||(kt=e.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 Dt,Lt=function(t){return e.createElement("svg",It({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Tt||(Tt=e.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),_t||(_t=e.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Rt=e.forwardRef((function(t,n){var r;if(t.enableClear){var a={option:e.createElement(Ye,{size:N.ExtraSmall,frontColor:k.Placeholder,onClick:function(){}},e.createElement(Lt,null)),handleOption:function(e){e.value=""}};r=t.extensions?V(V([],t.extensions,!0),[a],!1):[a]}else t.extensions&&(r=t.extensions);return e.createElement(lt,L({ref:n,readonlyRef:t.readonlyRef,isFocus:t.isFocus,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},t,{extensions:r}))}));!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(Dt||(Dt={}));var Ot;!function(e){e.Hover="hover",e.Click="click"}(Ot||(Ot={}));var Vt,Nt=e.forwardRef((function(t,n){var r=e.useState({value:t.value}),a=r[0],o=r[1],i=e.useRef(null);return e.createElement(Z,L({vClassName:"v-validity v-textarea"},t),e.createElement(Ce,{cross:pe.Top,gap:"0.6em"},t.icon,e.createElement(Be,null,e.createElement("textarea",{ref:n||i,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:a.value,required:t.isRequired,placeholder:t.placeholder,rows:t.rows,onChange:function(e){t.onChange&&t.onChange(e),t.setStateHook?t.setStateHook(e.target.value):o({value:e.target.value})}}))))})),Pt=function(t){var n=q(t);return e.createElement("div",L({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.getStyle()},t.customAttibutes),t.children)};!function(e){e.Normal="normal",e.Italic="italic"}(Vt||(Vt={}));var At;function Ft(){return Ft=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},Ft.apply(null,arguments)}var zt,Wt=function(t){return e.createElement("svg",Ft({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),At||(At=e.createElement("path",{fill:"currentColor",d:"M223.605 95.894c4.337-4.384 5.53-10.893 3.285-16.566A15.225 15.225 0 0 0 212.819 70H43.179c-6.127 0-11.658 3.655-13.998 9.329-2.388 5.672-1.087 12.183 3.285 16.565l84.827 84.827c5.948 5.877 15.54 5.877 21.485 0z"})))};function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ut.apply(null,arguments)}var Ht,jt=function(t){return e.createElement("svg",Ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),zt||(zt=e.createElement("path",{fill:"currentColor",d:"M95.894 32.395c-4.384-4.337-10.893-5.53-16.566-3.285A15.225 15.225 0 0 0 70 43.18v169.642c0 6.126 3.655 11.657 9.329 13.997 5.672 2.388 12.183 1.087 16.565-3.285l84.827-84.827c5.877-5.948 5.877-15.54 0-21.485z"})))},Mt=function(t){var n,r,a=q(t),o=e.useState({isExpand:t.isExpand}),i=o[0],c=o[1];return r=t.renderItem?t.renderItem(t.node):e.createElement(we,null,!!t.node.icon&&e.createElement(Ye,null,t.node.icon),e.createElement(Fe,{caption:t.node.name})),e.createElement("div",{className:a.getClassName("v-tree-block"),style:a.getStyle()},e.createElement(we,{cross:pe.Top,gap:"0.2em"},e.createElement(Ye,{size:N.ExtraSmall,onClick:function(){c({isExpand:!i.isExpand})}},i.isExpand?t.expandIcon?t.expandIcon:e.createElement(Wt,null):t.collapseIcon?t.collapseIcon:e.createElement(jt,null)),e.createElement(Te,{gap:"1em"},r,!!i.isExpand&&(null===(n=t.node.children)||void 0===n?void 0:n.map((function(t,n){return e.createElement(Mt,{key:"".concat(t.name,"-").concat(n),node:t})}))))))};function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xt.apply(null,arguments)}var Gt,Yt=function(t){return e.createElement("svg",Xt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ht||(Ht=e.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},qt=function(e){i.isInitialized||e()},Jt=function(e,t,n,r){qt((function(){t?i.initialize(e,{testMode:!0,gaOptions:n,gtagOptions:r}):i.initialize(e,{gaOptions:n,gtagOptions:r})}))},Zt=function(e,t){i.send({hitType:"pageview",page:e})};!function(e){e.Beacon="beacon",e.Xhr="xhr",e.Image="image"}(Gt||(Gt={}));var Qt,Kt;!function(e){e.Popup="popup",e.Redirect="redirect"}(Qt||(Qt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Kt||(Kt={}));var $t,en="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}($t||($t={}));var tn,nn="fewbox-google-auth",rn="--den-";!function(e){e.Global="global",e.Area="area"}(tn||(tn={}));var an,on=Object.freeze({__proto__:null,get AnimationCategory(){return je},get AnimationDelay(){return Ge},get AnimationRepeat(){return Me},get AnimationSpeed(){return Xe},get BackgroundPositionType(){return Qe},Base:q,BaseComponent:We,get BorderRadiusType(){return I},get BreakpointType(){return Y},get ButtonCategory(){return qe},get ButtonShapeType(){return qe},get CardWindowSizeType(){return Ze},get ColorType(){return k},get ComponentType(){return F},Debug:function(t){return t.isDebug?e.createElement("div",{className:"debug"},t.children):e.createElement("div",{className:"no-debug"},t.children)},Display:ee,get DisplayCategory(){return Q},get DisplayType(){return K},Dock:re,get DockCategory(){return $},get EllipseCategory(){return Ie},get ExtensionStatus(){return Dt},FigmaSignin:function(t){return e.createElement("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)}},t.children)},get FileCategory(){return vt},Flex:me,get FlexAlignContentType(){return se},get FlexAlignItemsType(){return ue},get FlexDirectionType(){return ie},FlexItem:ge,get FlexItemAlignSelfType(){return fe},get FlexJustifyContentType(){return le},get FlexWrapType(){return ce},get FontFamilyType(){return x},get FontWeightType(){return w},GA4:function(t){Jt(t.trackingId,t.isDebugMode,t.options);var n=r();return e.useEffect((function(){Zt(n.pathname,t.isDebugMode)}),[n]),e.createElement(e.Fragment,null)},get GAEventTransportType(){return Gt},get GoogleFontType(){return Vt},GoogleGrant:function(t){return e.useEffect((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==Kt.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(en);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(en);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),t.isAutoRequest?e.createElement(e.Fragment,null):e.createElement(Be,{id:en},t.children)},get GoogleGrantCategory(){return Kt},get GoogleGrantUXMode(){return Qt},GoogleSignin:function(t){return e.useEffect((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!=$t.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==$t.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==$t.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:nn);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.createElement(Be,{id:t.googleAuthButtonId?t.googleAuthButtonId:nn})},get GoogleSigninUXMode(){return $t},get HandleSubmitCategory(){return at},get HyperlinkCategory(){return Ke},get ImageCategory(){return ze},get LabelAlignType(){return Pe},get LabelCategory(){return Ve},get LabelType(){return Ne},get LetterSpacingType(){return B},get LineCategory(){return De},get LineHeightType(){return T},get PaddingType(){return _},get PhotoCategory(){return $e},get PhotoPositionType(){return et},Position:oe,PositionArea:de,get PositionAreaCategory(){return ae},get PositionCategory(){return te},get PositionType(){return ne},Responsive:function(t){return e.createElement(e.Fragment,null,e.createElement(ee,{category:Q.Hidden,type:K.Down,breakpoint:t.breakpointType?t.breakpointType:Y.Small},t.desktop),e.createElement(ee,{category:Q.Hidden,type:K.Up,breakpoint:t.breakpointType?t.breakpointType:Y.Small},t.mobile))},get RootCategory(){return W},SBaseline:function(t){return e.createElement(e.Fragment,null,t.children)},SBottom:function(t){return e.createElement(e.Fragment,null,t.children)},SCenter:function(t){return e.createElement(e.Fragment,null,t.children)},SLeft:function(t){return e.createElement(e.Fragment,null,t.children)},SMiddle:function(t){return e.createElement(e.Fragment,null,t.children)},SRight:function(t){return e.createElement(e.Fragment,null,t.children)},SStretch:function(t){return e.createElement(e.Fragment,null,t.children)},STop:function(t){return e.createElement(e.Fragment,null,t.children)},get ShadowCategory(){return Oe},get SizeType(){return N},get SvgCategory(){return Ue},get TextAlignType(){return rt},get TextCategory(){return nt},get ThemeCategory(){return tn},get TooltipCategory(){return Ot},VActionForm:function(t){return e.createElement("form",{className:"v-action-form",action:t.action,method:t.method,target:t.target},t.children)},VAnimation:Je,VAvatar:function(t){var n=t.badgeOffset?t.badgeOffset:"-0.2em",r=t.statusOffset?t.statusOffset:"-0.2em";return e.createElement(de,null,e.createElement(Z,L({vClassName:"v-avatar"},t),e.createElement(Ae,{category:Oe.Max},"string"==typeof t.avatar||t.avatar instanceof String?e.createElement(He,{isAutoSize:t.isAutoSize,category:ze.Circle,size:N.Large,src:t.avatar,alt:"null"}):e.createElement(Ye,{isAutoSize:t.isAutoSize,category:Ue.Circle,size:N.ExtraLarge},t.avatar),!!t.badge&&e.createElement(oe,{category:te.Area,bottom:n,right:n},"string"==typeof t.badge||t.badge instanceof String?e.createElement(He,{isAutoSize:t.isAutoSize,category:ze.Circle,size:N.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:k.Light}):e.createElement(Ye,{isAutoSize:t.isAutoSize,category:Ue.Circle,frontColor:k.Secondary,backgroundColor:k.White,size:N.Small},t.badge)),!!t.status&&e.createElement(oe,{category:te.Area,top:r,right:r},e.createElement(Le,{isAutoSize:t.isAutoSize,category:Ie.Fixed,size:N.Normal,backgroundColor:t.status,borderStyle:"solid",borderWidth:"0.1em",borderColor:k.Light})))))},VBackground:function(t){var n;return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e.createElement(Z,L({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},t.customAttibutes),t.children)},VBase64File:function(t){var n=e.useState({base64Image:t.base64Image}),r=n[0],a=n[1];return e.createElement(Be,{className:"v-base64file"},e.createElement(Ct,{name:t.name,value:r.base64Image}),e.createElement(lt,{type:"file",isDefaultValue:!0,onChange:function(e){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",a({base64Image:e})},n.readAsDataURL(t)},overWrite:function(n){return e.createElement(Te,{gap:"0.2em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},t.fileIcon,e.createElement(He,{size:t.size,category:ze.Scale,src:"data:image/png;base64,".concat(r.base64Image),alt:"file"}))}}))},VBlock:function(t){return e.createElement(Z,L({vClassName:"v-block"},t),e.createElement(Ee,{cross:pe.Middle,gap:"1em"},t.icon,e.createElement(_e,{gap:"0.2em"},t.title,t.subTitle),t.action))},VBoundary:Be,VButton:function(t){var n=e.useState({isClick:!1}),r=n[0],a=n[1],o=e.createElement(Z,L({vClassName:"v-button-".concat(t.category?t.category:qe.Round)},t,{onClick:function(e){var n;null===(n=t.onClick)||void 0===n||n.call(t,e)},onKeyDown:function(){a({isClick:!0})},onKeyUp:function(){}}),e.createElement(ke,{cross:pe.Middle,gap:"0.6em"},!!t.icon&&e.createElement(Ye,{size:t.size,frontColor:t.frontColor},t.icon),!(!t.caption||t.category==qe.Circle)&&e.createElement(Fe,{size:t.size,frontColor:t.frontColor,caption:t.caption})));return r.isClick?e.createElement(Je,{category:je.Pulse,repeat:Me.Once},o):o},VCard:function(t){var n=q(t);return e.createElement("div",L({className:n.getClassName("v-card"),style:n.getStyle()},t.customAttibutes,{draggable:t.isDraggable}),e.createElement(Te,{gap:"0.6em"},t.head,t.body))},VCardMedia:function(t){var n=q(t);return e.createElement("div",{className:n.getClassName("v-card-media"),style:n.getStyle()},e.createElement(Te,{gap:"1em"},t.media,t.head,t.body,t.foot))},VCardSocial:function(t){var n=q(t);return e.createElement("div",{className:n.getClassName("v-card-social"),style:n.getStyle()},e.createElement(Te,null,e.createElement(Se,null,t.title,t.icon),e.createElement(Ce,{cross:pe.Top,gap:"1em"},t.avatar,e.createElement(Te,{gap:"1em"},t.name,t.post,e.createElement(we,{gap:"0.6em"},t.hashTags.map((function(e,t){return e}))))),e.createElement(be,null,t.leftAction,t.rightAction)))},VCardWindow:function(t){var n=e.useState({isDetailShow:!1}),r=n[0],a=n[1],o=q(t),i=L(L({},o.getStyle()),{backgroundImage:'url("'.concat(t.backgroundUrl,'")')});return e.createElement("div",{className:o.getClassName("v-card-window-".concat(t.backgroundSize?t.backgroundSize:Ze.Auto)),style:i,onMouseEnter:function(){a({isDetailShow:!0})},onMouseLeave:function(){a({isDetailShow:!1})}},e.createElement("div",{className:"overlay",style:{opacity:r.isDetailShow?.6:0}}),!!r.isDetailShow&&e.createElement("div",{className:"detail"},t.children))},VCheckBox:function(t){var n=e.useState({isChecked:t.isChecked}),r=n[0],a=n[1];return e.createElement(lt,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!r.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(n){return e.createElement(we,{gap:"0.2em",onClick:function(){var e,t;null===(e=n.current)||void 0===e||e.click(),(null===(t=n.current)||void 0===t?void 0:t.hasAttribute("checked"))?a({isChecked:!1}):a({isChecked:!0})}},e.createElement(Ye,{frontColor:t.frontColor,size:t.size},r.isChecked?e.createElement(dt,null):e.createElement(pt,null)),e.createElement(Fe,{frontColor:t.frontColor,size:t.size,caption:t.label?t.label:""}))}})},VChromeExtensionValidator:function(t){var n,r=e.useState({}),a=r[0],o=r[1];return e.useEffect((function(){var e;a.status||(e=!1,window.addEventListener("extension-meta-".concat(t.extensionId),(function(n){e=!0,n.detail?n.detail.version?t.version?n.detail.version>=t.version?o(L(L({},a),{status:Dt.Ready})):o(L(L({},a),{status:Dt.Outdated})):o(L(L({},a),{status:Dt.Ready})):o(L(L({},a),{status:Dt.Outdated})):o(L(L({},a),{status:Dt.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||o(L(L({},a),{status:Dt.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),a.status===Dt.Uninstalled?n=t.uninstalledCaption:a.status===Dt.Outdated&&(n=t.outdatedCaption),e.createElement(Be,null,!(a.status===Dt.Ready)&&(t.overWrite&&a.status?t.overWrite(a.status):e.createElement(tt,{category:Ke.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com"},n)))},VColor:function(t){return e.createElement(lt,L({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e.createElement(lt,L({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e.createElement(lt,L({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var n,r,a=e.useState({isSelectionShow:!1,selectValue:t.value?t.value:"",selectCaption:t.value?t.items.filter((function(e){return e.value==t.value}))[0].caption:"",items:t.items}),o=a[0],i=a[1],c=e.useRef(null),l=e.useRef(null),u=e.useRef(null);e.useEffect((function(){var e=window.document.getElementById("".concat(t.name,"-dock"));if(e){var n=0;t.icon&&(n+=2),n+=t.extensions?4*(t.extensions.length+1):4,t.isReadonly?e.style.width=u.current?"calc(".concat(u.current.offsetWidth,"px + ").concat(n,"em)"):"12em":e.style.width=l.current?"calc(".concat(l.current.offsetWidth,"px + ").concat(n,"em)"):"12em"}}));return e.createElement(Pt,L({vClassName:"v-dropdown"},t),e.createElement(Ct,{id:t.id?t.id:t.name,name:t.name,valueHook:null===(n=o.selectValue)||void 0===n?void 0:n.toString(),ref:c}),e.createElement(re,{zIndex:o.isSelectionShow?2e9:-2e9,category:$.RightInnerBottom,renderOverlay:function(){return e.createElement(Be,{id:"".concat(t.name,"-dock"),visibility:o.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius},e.createElement(Te,{backgroundColor:k.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid"},o.items.map((function(n,r){return t.overWriteDropdownItem?e.createElement(Be,{key:"item".concat(r)},t.overWriteDropdownItem(n)):e.createElement(we,{gap:"0.2em",padding:"0.2em 1em",key:"item".concat(r),className:"item",onClick:function(){i(L(L({},o),{isSelectionShow:!1,selectIcon:n.icon,selectCaption:n.caption,selectValue:n.value,items:t.items})),t.onChange&&t.onChange(n.value)}},n.icon?e.createElement(Ye,{size:N.ExtraSmall},n.icon):e.createElement(e.Fragment,null),e.createElement(Fe,{caption:n.caption}))})),!(0!=o.items.length)&&e.createElement(Ye,{size:N.ExtraSmall,onClick:function(){}},t.emptyIcon)))}},e.createElement(Rt,{padding:t.padding,isReadonly:t.isReadonly,size:t.size,icon:e.createElement(Ye,{size:t.size?t.size:N.Normal},o.selectIcon?o.selectIcon:t.icon),valueHook:null===(r=o.selectCaption)||void 0===r?void 0:r.toString(),enableClear:t.enableClear,extensions:[{option:e.createElement(Ye,{size:t.size?t.size:N.Small,onClick:function(){}},o.isSelectionShow?t.upIcon:t.downIcon),handleOption:function(e){i(L(L({},o),{isSelectionShow:!o.isSelectionShow}))}}],onClick:function(){i(L(L({},o),{isSelectionShow:!o.isSelectionShow}))},onChange:function(e){var n;n=e.target.value,i(L(L({},o),{isSelectionShow:!0,selectCaption:n,items:t.items.filter((function(e){return e.caption.toLowerCase().indexOf(n.toLowerCase())>-1}))}))},ref:l,readonlyRef:u,borderRadius:t.borderRadius,frontColor:o.selectValue===o.selectCaption?t.frontColor:k.Error})))},VDynamic:function(t){var n=t.components[t.name];return t.children?e.createElement(e.Fragment,null,n?e.createElement(n,L({},t),t.children):e.createElement(Fe,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:k.Placeholder,frontColor:k.White})):e.createElement(e.Fragment,null,n?e.createElement(n,L({},t)):e.createElement(Fe,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:k.Placeholder,frontColor:k.White}))},VEllipse:Le,VEmail:function(t){return e.createElement(lt,L({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var n=e.useState({imageFiles:[],isLoading:!1}),r=n[0],a=n[1],o=function(){a(L(L({},r),{isLoading:!1}))};e.useEffect((function(){return function(){return r.imageFiles.forEach((function(e){return URL.revokeObjectURL(e.objectUrl)}))}}),[r.imageFiles]);var i=function(e){e.preventDefault(),t.autoUpload&&(e.currentTarget.className="v-file")};return e.createElement(Be,{className:"v-file",onDrop:function(e){if(e.preventDefault(),t.autoUpload){var n=Array.from(e.dataTransfer.files),i=n.map((function(e){return{name:e.name,objectUrl:URL.createObjectURL(e)}}));i.length>0&&(a(L(L({},r),{imageFiles:i,isLoading:!0})),t.autoUpload(n,o),e.currentTarget.className="v-file")}},onDragOver:function(e){e.preventDefault(),t.autoUpload&&(e.currentTarget.className="v-file on-drag")},onDragEnd:i,onDragLeave:i,onDragExit:i},e.createElement(lt,L({type:"file",isDefaultValue:!0},t,{onChange:function(e){var n=Array.from(e.target.files).map((function(e){return{name:e.name,objectUrl:URL.createObjectURL(e)}}));a(L(L({},r),{imageFiles:n})),t.autoUpload&&(a(L(L({},r),{imageFiles:n,isLoading:!0})),t.autoUpload(e.target.files[0],o))},overWrite:function(n){return t.category&&t.category==vt.Vertical?e.createElement(Te,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()},cross:he.Center},!(0!=r.imageFiles.length)&&t.fileIcon,e.createElement(Be,null,t.caption),e.createElement(Te,{gap:"0.6em"},r.imageFiles.map((function(n,r){return e.createElement(Te,{key:"image-file".concat(r),cross:he.Center},!!(n.name.endsWith(".jpg")||n.name.endsWith(".jpeg")||n.name.endsWith(".png"))&&e.createElement(Be,null,e.createElement("img",{src:n.objectUrl,alt:n.name,width:t.previewImageWidth?t.previewImageWidth:120})),e.createElement(Fe,{size:N.Small,caption:n.name.length>(t.textLength?t.textLength:12)?n.name.slice(0,t.textLength?t.textLength:12)+"…":n.name}))}))),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(gt,{animationCategory:je.Flash},e.createElement(ke,null,e.createElement(Ye,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(yt,null)))))):e.createElement(Te,{gap:"1em",cross:he.Center},e.createElement(ye,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},!(0!=r.imageFiles.length)&&t.fileIcon,e.createElement(Te,{gap:"0.6em"},r.imageFiles.map((function(n,r){return e.createElement(Te,{key:"image-file".concat(r),cross:he.Center},!!(n.name.endsWith(".jpg")||n.name.endsWith(".jpeg")||n.name.endsWith(".png"))&&e.createElement(Be,null,e.createElement("img",{src:n.objectUrl,alt:n.name,width:t.previewImageWidth?t.previewImageWidth:120})),e.createElement(Fe,{size:N.Small,caption:n.name.length>(t.textLength?t.textLength:12)?n.name.slice(0,t.textLength?t.textLength:12)+"…":n.name}))})))),e.createElement(Be,null,t.caption),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(gt,{animationCategory:je.Flash},e.createElement(Ye,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(yt,null)))))}})))},VForm:function(t){return e.createElement("form",{className:"v-form",onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(o=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==at.FormData)t.handleSubmit(r);else{var a=ot(r);t.handleSubmit(a)}}else for(n=0;n<e.currentTarget.elements.length;n++){var o,i;(i=(o=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(o.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(o)}}},t.children)},VFrame:function(t){var n;return t.backingBoard&&(n={background:"linear-gradient(".concat(t.backingBoard.degree,", ").concat(t.backingBoard.startColor,", ").concat(t.backingBoard.endColor,")")}),e.createElement(Z,{vClassName:"v-frame",borderRadius:t.borderRadius,style:n},e.createElement("div",L({style:{padding:t.padding,backgroundImage:"url(".concat(t.image,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes),t.children))},VGoogleFont:function(t){return e.useEffect((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,a=e.family,o=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==Vt.Italic})),i=o&&o.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==Vt.Normal?l.push("0,".concat(z(e.weight))):e.type==Vt.Italic&&l.push("1,".concat(z(e.weight))):l.push(z(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(a,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(a,"&display=swap"),document.head.appendChild(c)}))})),e.createElement(e.Fragment,null)},VGroup:function(t){var n=e.useState({selectedValue:t.selectedValue}),r=n[0],a=n[1];return e.createElement(e.Fragment,null,t.renderGroup(r.selectedValue,(function(e){a(e.currentTarget.value)})))},VHidden:Ct,VHyperlink:tt,VImage:He,VLabel:Fe,VLine:function(t){return e.createElement(Z,L({vClassName:"v-line-".concat(t.category)},t))},VLink:function(t){return e.createElement(n,{to:t.to},t.children)},VLoading:gt,VMask:function(t){return e.createElement(oe,{zIndex:t.zIndex?t.zIndex:1e8,category:te.Window,type:ne.Center},e.createElement(de,null,e.createElement(Be,{width:"100vw",height:"100vh",backgroundColor:k.Dark75},e.createElement(oe,{category:te.Area,type:ne.Center},t.children))))},VMonth:function(t){return e.createElement(lt,L({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e.createElement(lt,L({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e.createElement(lt,L({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VPaypal:function(t){return e.createElement(a,{options:t.options},e.createElement(o,L({},t.buttonOptions)))},VPhoto:function(t){var n=q(t),r=L(L({},n.getStyle()),{backgroundImage:'url("'.concat(t.src,'")'),width:t.width?t.width:"",height:t.height?t.height:""});return e.createElement(Be,L({className:n.getClassName("v-photo-".concat(t.category,"-").concat(t.position?t.position:et.Center)),style:r},t),t.children)},VRadio:function(t){return e.createElement(lt,L({type:"radio",customAttibutes:{checked:!!t.isChecked},isDefaultValue:!0},t,{overWrite:function(n){return e.createElement(we,{onClick:function(){var e;console.log(n.current),null===(e=n.current)||void 0===e||e.click()}},e.createElement(Ye,{padding:"0.4em",frontColor:t.frontColor,size:t.size},t.isChecked?e.createElement(wt,null):e.createElement(Bt,null)),e.createElement(Fe,{frontColor:t.frontColor,size:t.size,caption:t.label?t.label:""}))}}))},VRange:function(t){var n="".concat(t.controlBackgroundColor,"-background ").concat(t.controlBorderColor,"-border");return e.createElement(lt,L({type:"range",isDefaultValue:!0},t,{inputClassName:n}))},VRectangle:function(t){return e.createElement(Z,L({vClassName:"v-rectangle-".concat(t.category?t.category:Re.Default)},t))},VSearch:function(t){return e.createElement(lt,L({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSelect:function(t){var n=q(t);return e.createElement(Be,L({className:n.getClassName("v-select"),style:n.getStyle()},t),e.createElement("select",{multiple:t.isMultiple,name:t.name,defaultValue:t.value,onChange:t.onChange},t.items.map((function(t,n){return e.createElement("option",{key:"option".concat(n),value:t.value},t.caption)}))))},VShadow:Ae,VStack:function(t){var n=q(t);return e.createElement("div",{className:n.getClassName("v-stack"),style:n.getStyle()},e.Children.map(t.children,(function(t){return function(t){var r={className:n.getClassName("v-stack-item")};return e.cloneElement(t,r)}(t)})))},VSubmit:function(t){var n=q(t),r=e.useRef(null);return e.createElement("div",{className:n.getClassName("v-submit"),style:n.getStyle(),onClick:function(){r.current.click()}},e.createElement(ke,{cross:pe.Middle},!!t.icon&&e.createElement("span",null,t.icon),!!t.caption&&e.createElement("span",null,t.caption)),e.createElement("input",{formNoValidate:t.isFormNoValidate,ref:r,type:"submit",className:n.getClassName("v-submit"),style:n.getStyle()}))},VSubmitWrapper:function(t){var n=q(t),r=e.useRef(null);return e.createElement("div",{className:n.getClassName("v-submit-wrapper"),style:n.getStyle()},t.content,e.createElement("input",{ref:r,type:"submit"}))},VSvg:Ye,VSwitch:function(t){var n=q(t),r=e.useState({isOn:t.isOn}),a=r[0],o=r[1],i=t.icon?e.createElement(Ye,{frontColor:k.White},t.icon):e.createElement(Be,{width:"1em",height:"1em"}),c=t.isDisabled?void 0:function(){t.isDisabled||(t.onSwitch&&t.onSwitch(!a.isOn),o({isOn:!a.isOn}))};return e.createElement(Z,L({},t,{vClassName:n.getClassName(t.isDisabled?"v-switch-disabled":"v-switch"),borderRadius:"32em",backgroundColor:a.isOn?t.frontColor?t.frontColor:k.Success:t.backgroundColor?t.backgroundColor:k.Placeholder}),e.createElement(Se,{onClick:c,gap:t.gap?t.gap:"0.6em"},a.isOn?e.createElement(Ye,{category:Ue.Circle,frontColor:k.White},e.createElement(Yt,null)):i,a.isOn?i:e.createElement(Ye,{category:Ue.Circle,frontColor:k.White},e.createElement(Yt,null))))},VTel:function(t){return e.createElement(lt,L({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n,r;switch(t.alignType){case rt.Center:r="v-text-center";break;case rt.Justify:r="v-text-justify";break;case rt.Left:r="v-text";break;case rt.Right:r="v-text-right";break;default:r="v-text"}switch(t.category){case nt.P:n=e.createElement("p",null,t.content);break;case nt.Address:n=e.createElement("address",null,t.content);break;case nt.Article:n=e.createElement("article",null,t.content);break;case nt.Aside:n=e.createElement("aside",null,t.content);break;case nt.Details:n=e.createElement("details",null,t.content);break;case nt.Section:n=e.createElement("section",null,t.content);break;default:n=e.createElement("div",null,t.content)}return e.createElement(Z,L({vClassName:r},t),n)},VTextArea:Nt,VTextBox:Rt,VTheme:function(t){return e.useEffect((function(){var e;t.category==tn.Area?t.area&&(e=document.getElementById(t.area)):e=document.documentElement,e&&(Object.keys(t.theme.colors).forEach((function(n){e.style.setProperty("".concat(rn,"color-").concat(n),t.theme.colors[n])})),Object.keys(t.theme.fontSizes).forEach((function(n){e.style.setProperty("".concat(rn).concat(n),t.theme.fontSizes[n])})),Object.keys(t.theme.fontWeights).forEach((function(n){e.style.setProperty("".concat(rn).concat(n),t.theme.fontWeights[n])})))}),[]),t.category==tn.Area?t.area?e.createElement(Be,{id:t.area,backgroundColor:k.Body},t.children):e.createElement(Fe,{backgroundColor:k.Error,caption:"No Area!"}):e.createElement(e.Fragment,null)},VTime:function(t){return e.createElement(lt,L({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r,a=e.useState({isShow:!1}),o=a[0],i=a[1];switch(n=t.category?t.category:Ot.Hover,t.dockCategory){case $.Top:r=A.Top;break;case $.Right:r=A.Right;break;case $.Bottom:r=A.Bottom;break;case $.Left:r=A.Left;break;default:r=A.Top}return console.debug(r),e.createElement(Z,L({vClassName:"v-tooltip"},t),e.createElement(re,{category:t.dockCategory,zIndex:o.isShow?9999:-9999,renderOverlay:function(){return e.createElement(Be,{className:"content",opacity:o.isShow?1:0},t.content?t.content:e.createElement(Fe,{caption:t.caption,padding:"0.6em 1.8em",borderRadius:"0.2em",frontColor:t.textFrontColor,backgroundColor:t.textBackgroundColor}))}},e.createElement(Be,{onClick:function(){n==Ot.Click&&i({isShow:!o.isShow})},onMouseEnter:function(){n==Ot.Hover&&i({isShow:!0})},onMouseLeave:function(){n==Ot.Hover&&i({isShow:!1})}},t.children)))},VTree:function(t){return e.createElement(Z,{vClassName:"v-tree"},e.createElement(Mt,{node:t.rootNode,isExpand:t.isExpand,expandIcon:t.expandIcon,collapseIcon:t.collapseIcon}))},VUrl:function(t){return e.createElement(lt,L({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VWeek:function(t){return e.createElement(lt,L({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e.createElement(Z,{vClassName:"v-zone-".concat(t.category)},t.children)},get ViewSizeType(){return D},WeComSignin:function(t){return e.createElement("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")}},t.children)},X:ye,XAround:function(e){return ve(e,void 0,void 0,(function(){return le.SpaceAround}))},XAutoBoth:be,XAutoCenter:Ee,XAutoLeft:function(t){return ve(t,(function(t,n,r){return 0==n?e.createElement(ge,{grow:1,alignSelf:r},t):e.createElement(ge,{grow:0,alignSelf:r},t)}))},XAutoLefts:function(t){var n=q(t);return ve(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:0,alignSelf:o},r):e.createElement(ge,{grow:1,alignSelf:o},r)}))},XAutoRight:Ce,XAutoRights:function(t){return ve(t,(function(t,n,r){return 0==n?e.createElement(ge,{grow:0,alignSelf:r},t):e.createElement(ge,{grow:1,alignSelf:r},t)}))},XBetween:Se,XCenter:ke,get XCrossType(){return pe},XCustom:function(t){return ve(t,(function(n,r){var a=e.createElement(ge,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(ge,{basis:t.basises[r]},n)),a}))},XCustomBoth:function(t){var n=q(t);return ve(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{basis:t.basis},r):e.createElement(ge,{grow:1},r)}))},XEvenly:function(e){return ve(e,void 0,void 0,(function(){return le.SpaceEvenly}))},XLeft:we,XRight:function(e){return ve(e,void 0,void 0,(function(){return le.End}))},XWrapAround:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.SpaceAround}))},XWrapBetween:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.SpaceBetween}))},XWrapBottom:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.End}))},XWrapEvenly:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.SpaceEvenly}))},XWrapMiddle:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.Center}))},XWrapTop:function(e){return ve(e,void 0,(function(){return ce.Wrap}),void 0,(function(){return se.Start}))},Y:Te,YAround:function(e){return xe(e,void 0,void 0,void 0,(function(){return le.SpaceAround}))},YAutoBoth:function(t){var n=q(t);return xe(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:0,alignSelf:o},r):e.createElement(ge,{grow:1,alignSelf:o},r)}))},YAutoBottom:function(t){var n=q(t);return xe(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:1},r):e.createElement(ge,{grow:0},r)}))},YAutoBottoms:function(t){return xe(t,(function(t,n,r){return 0==n?e.createElement(ge,{grow:0,alignSelf:r},t):e.createElement(ge,{grow:1,alignSelf:r},t)}))},YAutoCenter:function(t){var n=q(t);return xe(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:1,alignSelf:o},r):e.createElement(ge,{grow:0,alignSelf:o},r)}))},YAutoTop:function(t){return xe(t,(function(t,n,r){return 0==n?e.createElement(ge,{grow:1,alignSelf:r},t):e.createElement(ge,{grow:0,alignSelf:r},t)}))},YAutoTops:function(t){var n=q(t);return xe(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{grow:0,alignSelf:o},r):e.createElement(ge,{grow:1,alignSelf:o},r)}))},YBetween:function(e){return xe(e,void 0,void 0,void 0,(function(){return le.SpaceBetween}))},YBottom:function(e){return xe(e,void 0,void 0,void 0,(function(){return le.End}))},get YCrossType(){return he},YCustom:function(t){return xe(t,(function(n,r){var a=e.createElement(ge,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(ge,{basis:t.basises[r]},n)),a}))},YCustomBoth:function(t){var n=q(t);return xe(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(ge,{basis:t.basis},r):e.createElement(ge,{grow:1},r)}))},YEvenly:function(e){return xe(e,void 0,void 0,void 0,(function(){return le.SpaceEvenly}))},YMiddle:_e,YTop:function(e){return xe(e,void 0,void 0,void 0,(function(){return le.Start}))},YWrapAround:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.SpaceAround}),void 0)},YWrapBetween:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.SpaceBetween}))},YWrapCenter:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.Center}))},YWrapEvenly:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.SpaceEvenly}))},YWrapLeft:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.Start}))},YWrapRight:function(e){return xe(e,void 0,(function(){return ce.Wrap}),(function(){return se.End}))},get ZoneCategory(){return J},convertFormDataToJson:ot,ga4Event:function(e,t){i.event(e)},ga4Init:Jt,ga4Pageview:Zt,ga4Scope:qt,ga4SetFieldsObject:function(e,t){i.set(e)},getGeneratedClassName:G,parseJWT:function(e){var t={},n=c(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}}),cn=function(e){ln.getInstance().options=e},ln=function(){function e(){this.options={getToken:function(){return""},getAppSettings:function(){},getLanguages:function(){},handleIsNotSuccessful:function(){},handleError:function(){},handleNetworkError:function(){},isDebug:!0}}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e}(),un=Object.freeze({__proto__:null,Boot:function(t){return cn(t.options),e.createElement(e.Fragment,null)},BootClass:ln,boot:cn}),sn=l(),dn=function(){return navigator.language},fn=function(){return dn().split("-")[0]},mn=Object.freeze({__proto__:null,getBrowserLang:fn,getBrowserLangFull:dn,getIntlMessage:function(e,t,n){var r=ln.getInstance().options.getLanguages(t);return u({locale:t||"en",messages:r},sn).formatMessage({id:e},n)},language:function(e,t,n){switch(null==n?fn():n){case"en":default:return e;case"zh":return t}},languageFull:function(e,t){return e[null==t?dn():t]}}),pn={},gn={accept:"application/json","content-type":"application/json"},hn=function(e){var t=ln.getInstance().options.getAppSettings();return"".concat(t.endpoint.PROTOCOL,"://").concat(t.endpoint.HOST).concat(t.endpoint.PORT?":"+t.endpoint.PORT:"").concat(t.endpoint.BASEPATH?"/".concat(t.endpoint.BASEPATH):"").concat(e?"/".concat(e):"")},vn=function(e,t){var n=ln.getInstance().options.getAppSettings();return"".concat(n[e].PROTOCOL,"://").concat(n[e].HOST).concat(n[e].PORT?":"+n[e].PORT:"").concat(n[e].BASEPATH?"/".concat(n[e].BASEPATH):"").concat(t?"/".concat(t):"")},yn=function(e){var t,n,r=e||gn,a=ln.getInstance().options.getToken(),o=null===(n=(t=ln.getInstance().options).getHeaders)||void 0===n?void 0:n.call(t);return a&&a.length>0&&(r=L(L({},r),{authorization:"Bearer ".concat(a)})),o&&(r=L(L({},r),o)),ln.getInstance().options.isDebug&&console.debug(JSON.stringify(r)),r},bn=function(e,t,n,r,a,o){fetch(e,{method:t,headers:yn(n),body:o}).then((function(e){r(e)})).catch((function(e){a(e)}))},En=function(e,t,n,r){return fetch(e,{method:t,headers:yn(n),body:r})},Cn=function(e,t,n,r,a,o){bn(hn(e),t,n,r,a)},Sn=function(e,t,n,r){return En(hn(e),t,n,r)},kn=function(e,t,n,r,a,o,i){bn(vn(e,t),n,r,a,o)},wn=function(e,t,n,r,a){return En(vn(e,t),n,r,a)},xn=function(e){var t;return t=e.external?"".concat(vn(e.external)).concat(e.query):"".concat(hn()).concat(e.query),new WebSocket(t,e.protocols)},Tn=function(e){function t(t,n){var r=e.call(this)||this;return r.subPath=t,r.processAction=n,r}return S(t,e),t.prototype.getUrl=function(e){return e?vn(e,this.subPath):hn(this.subPath)},t.prototype.getHeader=function(e){return yn(e)},t.prototype.getTextHeader=function(){var e,t,n,r=ln.getInstance().options.getToken(),a=null===(t=(e=ln.getInstance().options).getHeaders)||void 0===t?void 0:t.call(e);return n=r&&r.length>0?L(L({},pn),{authorization:"Bearer ".concat(r)}):L({},pn),a&&(n=L(L({},n),a)),ln.getInstance().options.isDebug&&console.debug(JSON.stringify(n)),n},t.prototype.pipeline=function(e){var t=this;if(this.processAction){var n=this.processAction;return e.pipe(f((function(e){if(ln.getInstance().options.isDebug&&console.debug(e),"xhr"in e){var t=e.response;return s(t||{})}return e.json()})),m((function(e){if("string"==typeof e)return n(e);var r=t.parseResponse(e);if("isSuccessful"in r)return r.isSuccessful?n(r.payload):(ln.getInstance().options.handleIsNotSuccessful(r),b());var a=ln.getInstance().options.handleWarning;return a&&a({summary:"isSucessful: not boolean;",data:r}),n(r)})),p(3),g((function(e){return ln.getInstance().options.handleNetworkError({summary:"Network Issue",data:e}),s(b())})))}return e},t}(d),_n=function(e){if(e.errors){ln.getInstance().options.handleError({summary:"GQL Error",data:e.errors});var t=[];return e.errors.forEach((function(e,n){t.push(e.message)})),{isSuccessful:!1,errorCode:"0001",errorMessage:t.join(";")}}var n=Object.keys(e.data)[0];return e.data[n]?e.data[n].isSuccessful?e.data[n]:{isSuccessful:!0,payload:e.data[n]}:{isSuccessful:!1,errorCode:"0003",errorMessage:"Please check the field is match GraphQL string!"}},Bn=function(e){return e},In=function(e){return e},Dn=function(e){var t=typeof e;if("object"==t){var n="",r=Object.keys(e);return r.forEach((function(t,a){var o=a==r.length-1?"":",",i=e[t],c=typeof i;"object"==c?Array.isArray(i)?(n+="".concat(t,":["),i.forEach((function(e,t){var r=t==i.length-1?"":",";n+="".concat(Dn(e)).concat(r)})),n+="]\n"):n+="".concat(t,":").concat(Dn(i)).concat(o,"\n"):"string"==c?i.startsWith("#")?n+="".concat(t,":").concat(i.replace("#","")).concat(o,"\n"):n+="".concat(t,':"').concat(i,'"').concat(o,"\n"):n+="".concat(t,":").concat(i).concat(o,"\n")})),"{\n ".concat(n,"\n }")}return"string"==t?e.startsWith("#")?"".concat(e.replace("#","")):'"'.concat(e,'"'):"".concat(e)},Ln=function(e){function t(t,n){return e.call(this,t,n)||this}return S(t,e),t.prototype.parseResponse=function(e){return e},t}(Tn),Rn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(h.delete(r.getUrl(),r.getHeader()))}return S(t,e),t}(Ln),On=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.external=n,a}return S(t,e),t.prototype.parseResponse=function(e){return e},t}(Tn),Vn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(h.delete(a.getUrl(a.external),a.getHeader()))}return S(t,e),t}(On),Nn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(h.get(a.getUrl(a.external),a.getHeader()))}return S(t,e),t}(On),Pn=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h.patch(o.getUrl(o.external),r,o.getHeader()))}return S(t,e),t}(On),An=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h.post(o.getUrl(o.external),r,o.getHeader()))}return S(t,e),t}(On),Fn=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h.put(o.getUrl(o.external),r,o.getHeader()))}return S(t,e),t}(On),zn=function(e){function t(t,n){return e.call(this,t,n)||this}return S(t,e),t.prototype.parseResponse=function(e){return _n(e)},t}(Tn),Wn=function(e){function t(t,n){var r=e.call(this,"graphql",n)||this;return r.pipeline(h.post(r.getUrl(),t,r.getHeader()))}return S(t,e),t}(zn),Un=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.external=n,a}return S(t,e),t.prototype.parseResponse=function(e){return _n(e)},t}(Tn),Hn=function(e){function t(t,n,r){var a=e.call(this,"graphql",n,r)||this;return a.pipeline(h.post(a.getUrl(a.external),t,a.getHeader()))}return S(t,e),t}(Un),jn={accept:"application/json","content-type":"multipart/form-data"},Mn=function(e){function t(t,n){var r=e.call(this,"graphql",n)||this;return r.pipeline(h.post(r.getUrl(),t,r.getHeader(jn)))}return S(t,e),t}(zn),Xn=function(e){function t(t,n,r){var a=e.call(this,"graphql",n,r)||this;return a.pipeline(h.post(a.getUrl(n),t,a.getHeader(jn)))}return S(t,e),t}(Un),Gn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(h.get(r.getUrl(),r.getHeader()))}return S(t,e),t}(Ln),Yn=function(e){function t(t,n){var r=e.call(this,t,n)||this,a="".concat(location.origin,"/").concat(t);return r.pipeline(h.get(a,r.getHeader()))}return S(t,e),t}(Ln),qn=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h.patch(a.getUrl(),n,a.getHeader()))}return S(t,e),t}(Ln),Jn=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h.post(a.getUrl(),n,a.getHeader()))}return S(t,e),t}(Ln),Zn=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h.put(a.getUrl(),n,a.getHeader()))}return S(t,e),t}(Ln),Qn=function(e){function t(t,n){return e.call(this,t,n)||this}return S(t,e),t.prototype.parseResponse=function(e){return e},t}(Tn),Kn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(v(r.getUrl(),{method:"GET",headers:r.getHeader()}))}return S(t,e),t}(Qn),$n=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.external=n,a}return S(t,e),t.prototype.parseResponse=function(e){return e},t}(Tn),er=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(v(a.getUrl(a.external),{method:"GET",headers:a.getHeader()}))}return S(t,e),t}($n),tr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(v(r.getUrl(),{method:"POST",headers:r.getHeader()}))}return S(t,e),t}(Qn),nr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(v(a.getUrl(a.external),{method:"POST",headers:a.getHeader()}))}return S(t,e),t}($n),rr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(v(r.getUrl(),{method:"PUT",headers:r.getHeader()}))}return S(t,e),t}(Qn),ar=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(v(a.getUrl(a.external),{method:"PUT",headers:a.getHeader()}))}return S(t,e),t}($n),or=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(v(r.getUrl(),{method:"PATCH",headers:r.getHeader()}))}return S(t,e),t}(Qn),ir=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(v(a.getUrl(a.external),{method:"PATCH",headers:a.getHeader()}))}return S(t,e),t}($n),cr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(v(r.getUrl(),{method:"DELETE",headers:r.getHeader()}))}return S(t,e),t}(Qn),lr=function(e){function t(t,n,r,a){var o=e.call(this)||this;return o.subPath=t,o.processAction=n,o.errorHandler=r,o.doneHandler=a,o}return S(t,e),t.prototype.getHeader=function(e){return yn(e)},t.prototype.getUrl=function(e){return e?vn(e,this.subPath):hn(this.subPath)},t.prototype.pipeline=function(e,t,n){var r=this;return new d((function(a){fetch(e,{method:t,headers:{Accept:"text/event-stream",Connection:"keep-alive","Content-Type":"application/json"},body:JSON.stringify(n)}).then((function(e){return R(r,void 0,void 0,(function(){var t,n,r;return O(this,(function(o){switch(o.label){case 0:if(!e.body)return[3,3];t=e.body.pipeThrough(new TextDecoderStream).getReader(),o.label=1;case 1:return[4,t.read()];case 2:return n=o.sent(),r=n.value,n.done?(this.doneHandler&&this.doneHandler(),[3,3]):(this.processAction(r),[3,1]);case 3:return a.next(e.body),a.complete(),[2]}}))}))})).catch((function(e){r.errorHandler(e)}))}))},t}(d),ur=function(e){function t(t,n,r,a){return e.call(this,t,n,r,a)||this}return S(t,e),t}(lr),sr=function(e){function t(t,n,r,a){var o=e.call(this,t,n,r,a)||this;return o.pipeline(o.getUrl(),"GET")}return S(t,e),t}(ur),dr=function(e){function t(t,n,r,a,o){var i=e.call(this,t,r,a,o)||this;return i.pipeline(i.getUrl(),"POST",n)}return S(t,e),t}(ur),fr=function(e){function t(t,n,r,a,o){var i=e.call(this,t,r,a,o)||this;return i.external=n,i}return S(t,e),t}(lr),mr=function(e){function t(t,n,r,a,o){var i=e.call(this,t,n,r,a,o)||this;return i.pipeline(i.getUrl(i.external),"GET")}return S(t,e),t}(fr),pr=function(e){function t(t,n,r,a,o,i){var c=e.call(this,t,n,a,o,i)||this;return c.pipeline(c.getUrl(c.external),"POST",r)}return S(t,e),t}(fr),gr=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h({url:a.getUrl(),method:"POST",body:n,headers:a.getTextHeader(),responseType:"text"}))}return S(t,e),t}(Ln),hr=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h({url:o.getUrl(o.external),method:"POST",body:r,headers:o.getTextHeader(),responseType:"text"}))}return S(t,e),t}(On),vr=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h({url:a.getUrl(),method:"PUT",body:n,headers:a.getTextHeader(),responseType:"text"}))}return S(t,e),t}(Ln),yr=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h({url:o.getUrl(o.external),method:"PUT",body:r,headers:o.getTextHeader(),responseType:"text"}))}return S(t,e),t}(On),br=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.pipeline(h({url:a.getUrl(),method:"PATCH",body:n,headers:a.getTextHeader(),responseType:"text"}))}return S(t,e),t}(Ln),Er=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.pipeline(h({url:o.getUrl(o.external),method:"PATCH",body:r,headers:o.getTextHeader(),responseType:"text"}))}return S(t,e),t}(On),Cr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(h({url:r.getUrl(),method:"GET",headers:r.getTextHeader(),responseType:"text"}))}return S(t,e),t}(Ln),Sr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(h({url:a.getUrl(a.external),method:"GET",headers:a.getTextHeader(),responseType:"text"}))}return S(t,e),t}(On),kr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(h({url:r.getUrl(),method:"DELETE",headers:r.getTextHeader(),responseType:"text"}))}return S(t,e),t}(Ln),wr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.pipeline(h({url:a.getUrl(a.external),method:"DELETE",headers:a.getTextHeader(),responseType:"text"}))}return S(t,e),t}(On),xr=function(){function e(e){this.websocket=xn(e)}return e.prototype.send=function(e){this.websocket.send(e)},e.prototype.receive=function(e){this.websocket.onmessage=e},e.prototype.open=function(e){this.websocket.onopen=e},e.prototype.close=function(e){this.websocket.onclose=e},e.prototype.handleError=function(e){this.websocket.onerror=e},e}(),Tr=Object.freeze({__proto__:null,Delete:Rn,DeleteExternal:Vn,DeleteFetch:cr,DeleteText:kr,DeleteTextExternal:wr,GQL:Wn,GQLExternal:Hn,GQLExternalUpload:Xn,GQLUpload:Mn,Get:Gn,GetExternal:Nn,GetFetch:Kn,GetFetchExternal:er,GetLocal:Yn,GetSSE:sr,GetSSEExternal:mr,GetText:Cr,GetTextExternal:Sr,JsonHeaders:gn,NetworkObservableAjax:Ln,NetworkObservableAjaxExternal:On,NetworkObservableGQL:zn,Patch:qn,PatchExternal:Pn,PatchFetch:or,PatchFetchExternal:ir,PatchText:br,PatchTextExternal:Er,Post:Jn,PostExternal:An,PostFetch:tr,PostFetchExternal:nr,PostSSE:dr,PostSSEExternal:pr,PostText:gr,PostTextExternal:hr,Put:Zn,PutExternal:Fn,PutFetch:rr,PutFetchExternal:ar,PutText:vr,PutTextExternal:yr,WS:xr,_verbsDelete:function(e,t,n,r){bn(e,"DELETE",t,n,r)},_verbsDeletePromise:function(e,t){return En(e,"DELETE",t)},_verbsGet:function(e,t,n,r){bn(e,"GET",t,n,r)},_verbsGetPromise:function(e,t){return En(e,"GET",t)},_verbsPatch:function(e,t,n,r,a){bn(e,"PATCH",t,r,a,n)},_verbsPatchPromise:function(e,t,n){return En(e,"PATCH",t,n)},_verbsPost:function(e,t,n,r,a){bn(e,"POST",t,r,a,n)},_verbsPostPromise:function(e,t,n){return En(e,"POST",t,n)},_verbsPut:function(e,t,n,r,a){bn(e,"PUT",t,r,a,n)},_verbsPutPromise:function(e,t,n){return En(e,"PUT",t,n)},buildExternalUrl:vn,buildHeaders:yn,buildUrl:hn,convertJsonToGraphQLSchema:Dn,parseAjaxData:Bn,parseFetchData:In,parseGQLAjaxData:_n,verbsDelete:function(e,t,n,r){Cn(e,"DELETE",t,n,r)},verbsDeleteExternal:function(e,t,n,r,a){kn(e,t,"DELETE",n,r,a)},verbsDeletePromise:function(e,t){return Sn(e,"DELETE",t)},verbsDeletePromiseExternal:function(e,t,n){return wn(e,t,"DELETE",n)},verbsGet:function(e,t,n,r){Cn(e,"GET",t,n,r)},verbsGetExternal:function(e,t,n,r,a){kn(e,t,"GET",n,r,a)},verbsGetPromise:function(e,t){return Sn(e,"GET",t)},verbsGetPromiseExternal:function(e,t,n){return wn(e,t,"GET",n)},verbsPatch:function(e,t,n,r,a){Cn(e,"PATCH",t,r,a)},verbsPatchExternal:function(e,t,n,r,a,o){kn(e,t,"PATCH",n,a,o)},verbsPatchPromise:function(e,t,n){return Sn(e,"PATCH",t,n)},verbsPatchPromiseExternal:function(e,t,n,r){return wn(e,t,"PATCH",n,r)},verbsPost:function(e,t,n,r,a){Cn(e,"POST",t,r,a)},verbsPostExternal:function(e,t,n,r,a,o){kn(e,t,"POST",n,a,o)},verbsPostPromise:function(e,t,n){return Sn(e,"POST",t,n)},verbsPostPromiseExternal:function(e,t,n,r){return wn(e,t,"POST",n,r)},verbsPut:function(e,t,n,r,a){Cn(e,"PUT",t,r,a)},verbsPutExternal:function(e,t,n,r,a,o){kn(e,t,"PUT",n,a,o)},verbsPutPromise:function(e,t,n){return Sn(e,"PUT",t,n)},verbsPutPromiseExternal:function(e,t,n,r){return wn(e,t,"PUT",n,r)},ws:xn}),_r=Object.freeze({__proto__:null});!function(e){e.Action=E,e.Components=on,e.FewBox=un,e.Language=mn,e.Network=Tr,e.Store=_r}(an||(an={}));export{an as Den};
|
|
1
|
+
import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useRef as c,useCallback as l,useLayoutEffect as u,useEffect as s,createElement as d,useState as f,useImperativeHandle as h}from"react";import{createPortal as p}from"react-dom";var g=function(e,t){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},g(e,t)};function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var v,y,b,C,S,w,k,_,B,x,V,T,I=function(){return I=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},I.apply(this,arguments)};function L(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function O(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(v||(v={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(y||(y={})),function(e){e.Default="font-family"}(b||(b={})),function(e){e.Default="line-height"}(C||(C={})),function(e){e.Default="padding"}(S||(S={})),function(e){e.Default="letter-spacing"}(w||(w={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(k||(k={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(_||(_={})),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"}(B||(B={})),function(e){e.All="all",e.Before="before",e.After="after"}(x||(x={})),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"}(V||(V={})),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"}(T||(T={}));var R,D=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),N=function(e){this.component=e},E=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return m(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(B).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}(N),z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return m(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(N),F=function(e){function t(t,n,r,o,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return m(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case V.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case V.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case V.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case V.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case V.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case V.Left:r=" ".concat(e).concat(o,"-border-left");break;case V.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case V.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case V.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case V.Right:r=" ".concat(e).concat(o,"-border-right");break;case V.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case V.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case V.Top:r=" ".concat(e).concat(o,"-border-top");break;case V.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(v.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(v.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(v.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(v.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(v.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(v.Black,"-after-front"):"",u="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(v.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(v.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(N),A=function(e,t,n,r,o,a,i,c,l,u,s,d,f,h){return new F(new E(new z(new D(e),o),n,r),t,a,i,c,l,u,s,d,f,h).getClassName()},W=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],P=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],X=["onError","onLoad"],U=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],j={div:O(O([],W,!0),P,!0),input:O(O(O(O([],W,!0),P,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:O(O(O([],W,!0),P,!0),["rows","cols","wrap"],!0),template:O(O([],W,!0),P,!0),abbr:O(O([],W,!0),P,!0),span:O(O([],W,!0),P,!0),h1:O(O([],W,!0),P,!0),h2:O(O([],W,!0),P,!0),h3:O(O([],W,!0),P,!0),h4:O(O([],W,!0),P,!0),h5:O(O([],W,!0),P,!0),h6:O(O([],W,!0),P,!0),i:O(O([],W,!0),P,!0),b:O(O([],W,!0),P,!0),u:O(O([],W,!0),P,!0),em:O(O([],W,!0),P,!0),strong:O(O([],W,!0),P,!0),blockquote:O(O([],W,!0),P,!0),cite:O(O([],W,!0),P,!0),code:O(O([],W,!0),P,!0),del:O(O([],W,!0),P,!0),dfn:O(O([],W,!0),P,!0),ins:O(O([],W,!0),P,!0),kbd:O(O([],W,!0),P,!0),mark:O(O([],W,!0),P,!0),pre:O(O([],W,!0),P,!0),q:O(O([],W,!0),P,!0),s:O(O([],W,!0),P,!0),samp:O(O([],W,!0),P,!0),small:O(O([],W,!0),P,!0),summary:O(O([],W,!0),P,!0),sup:O(O([],W,!0),P,!0),sub:O(O([],W,!0),P,!0),time:O(O([],W,!0),P,!0),var:O(O([],W,!0),P,!0),wbr:O(O([],W,!0),P,!0),p:O(O([],W,!0),P,!0),address:O(O([],W,!0),P,!0),article:O(O([],W,!0),P,!0),aside:O(O([],W,!0),P,!0),details:O(O(O([],W,!0),P,!0),["onToggle"],!0),section:O(O([],W,!0),P,!0),form:O(O(O([],W,!0),P,!0),["onReset","onSubmit"],!0),dialog:O(O(O([],W,!0),P,!0),["onCancel","onClose"],!0),img:O(O(O(O([],W,!0),P,!0),X,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:O(O(O(O([],W,!0),P,!0),X,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:O(O(O([],W,!0),P,!0),X,!0),embed:O(O(O([],W,!0),P,!0),X,!0),link:O(O(O([],W,!0),P,!0),X,!0),svg:O(O(O([],W,!0),P,!0),X,!0),audio:O(O(O([],W,!0),P,!0),U,!0),video:O(O(O([],W,!0),P,!0),U,!0)},M=function(n){return{getClassName:function(e){var t=A(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 I(I({},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){j[e]&&j[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"}(R||(R={}));var H,Y=o((function(t,n){var r=t.vClassName,o=L(t,["vClassName"]),a=M(o);return e("div",I({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"}(H||(H={}));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 q,K=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"}(q||(q={}));var G,Q,$=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,h=L(t,["category","offset","overlayZIndex","renderOverlay"]),g=M(h),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 q.Top:i=n.left+(n.width-o.width)/2,c=n.top-o.height-a;break;case q.Right:i=n.left+n.width+a,c=n.top+(n.height-o.height)/2;break;case q.Bottom:i=n.left+(n.width-o.width)/2,c=n.top+n.height+a;break;case q.Left:i=n.left-o.width-a,c=n.top+(n.height-o.height)/2;break;case q.LeftTop:i=n.left-o.width-a,c=n.top-o.height-a;break;case q.RightTop:i=n.left+n.width+a,c=n.top-o.height-a;break;case q.LeftBottom:i=n.left-o.width-a,c=n.top+n.height+a;break;case q.RightBottom:i=n.left+n.width+a,c=n.top+n.height+a;break;case q.InnerTop:i=n.left+(n.width-o.width)/2+a,c=n.top+a;break;case q.InnerRight:i=n.left+(n.width-o.width)-a,c=n.top+(n.height-o.height)/2;break;case q.InnerBottom:i=n.left+(n.width-o.width)/2,c=n.top+(n.height-o.height)-a;break;case q.InnerLeft:i=n.left+a,c=n.top+(n.height-o.height)/2;break;case q.InnerLeftTop:i=n.left+a,c=n.top+a;break;case q.InnerRightTop:i=n.left+(n.width-o.width)-a,c=n.top+a;break;case q.InnerLeftBottom:i=n.left+a,c=n.top+(n.height-o.height)-a;break;case q.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",I({ref:m,className:g.getClassName("dock"),style:g.getStyle()},g.getProps("div"),{children:[t.children,p(y,document.body)]}))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(G||(G={})),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"}(Q||(Q={}));var ee,te=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=I(I({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=G.Self?I(I({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):I(I({},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"}(ee||(ee={}));var ne,re,oe,ae,ie,ce=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:ee.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"}(ne||(ne={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(re||(re={})),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"}(oe||(oe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(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={}));var le,ue=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=L(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=M(l),s=I(I({},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):"",h=r?" flex-wrap-".concat(r):"",p=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(h).concat(p).concat(g).concat(m),y=u.getClassName(v);return e("div",I({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"}(le||(le={}));var se,de=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=I(I({},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"}(se||(se={}));var fe,he=function(n,r,o,i,c){n.cross;var l=L(n,["cross"]),u=M(l),s=function(t,n,o){return r?r(t,n,o):e(de,{alignSelf:o,children:t},"child".concat(n))};return e(ue,I({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case se.Stretch:e=ae.Stretch;break;case se.Baseline:e=ae.Baseline;break;case se.Bottom:e=ae.End;break;case se.Middle:e=ae.Center;break;case se.Top:e=ae.Start;break;default:e=ae.Center}else e=ae.Center;return e}(),wrap:o?o():re.NoWrap,justifyContent:i?i():oe.Start,alignContent:c?c():ie.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,le.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,le.Center):"SBottom"===o.props.typeName?s(o.props.children,r,le.End):"SStretch"===o.props.typeName?s(o.props.children,r,le.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,le.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},pe=function(t){return he(t,(function(t,n,r){return e(de,{grow:1,alignSelf:r,children:t})}))},ge=function(t){var n=M(t);return he(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(de,{grow:1,alignSelf:o,children:t}):e(de,{grow:0,alignSelf:o,children:t})}))},me=function(t){var n=M(t);return he(t,(function(t,r){return r==a.count(n.getChildren())-1?e(de,{grow:1,children:t}):e(de,{grow:0,children:t})}))},ve=function(e){return he(e,void 0,void 0,(function(){return oe.SpaceBetween}))},ye=function(e){return he(e,void 0,void 0,(function(){return oe.Center}))},be=function(e){return he(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(fe||(fe={}));var Ce,Se=function(n,r,o,i,c){var l=n.cross,u=L(n,["cross"]),s=M(u),d=function(t,n,o){return r?r(t,n,o):e(de,{alignSelf:o,children:t},"child".concat(n))};return e(ue,I({vClassName:"v-ybase",wrap:o?o():re.NoWrap,alignContent:i?i():ie.Start,alignItems:function(){var e;if(l)switch(l){case fe.Left:e=ae.Start;break;case fe.Center:e=ae.Center;break;case fe.Right:e=ae.End;break;case fe.Baseline:e=ae.Baseline;break;default:e=ae.Stretch}else e=ae.Stretch;return e}(),direction:ne.Column,justifyContent:c?c():oe.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,le.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,le.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,le.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,le.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,le.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},we=function(t){return Se(t,(function(t,n,r){return e(de,{grow:1,alignSelf:r,children:t})}))},ke=o((function(t,n){return e(Y,I({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));ke.displayName="VBoundary",function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(Ce||(Ce={}));var _e,Be=function(e){var t={};return e.forEach((function(e,n){var r,o=!1;n.startsWith("#")?(o=!0,r=n.substring(1).split(".")):r=n.split(".");var a=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=O(O([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(_e||(_e={}));var xe,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"}(xe||(xe={})),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,Le=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,u=L(t,["category","type","alignType","isTextOverflow","caption"]),s=M(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(ce,{children:e(Y,I({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},u,{children:e(te,{category:G.Area,type:Q.Center,children:n})}))}):e(Y,I({display:null==t.category||t.category==xe.Span?"inline-block":"block",vClassName:r},u,{children:n}))},Oe=o((function(t,r){var o=t.type,a=t.label,i=t.icon,l=t.extensions,u=t.value,d=t.valueHook,p=t.setStateHook,g=t.isValueShow,m=t.isReadonly,y=t.valueSize,b=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,_=t.overWrite,x=t.onChange,V=t.inheritClassName,T=t.customAttibutes,O=t.isFocus,R=L(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),D=M(R),N=f({value:void 0!==t.value?t.value:""}),E=N[0],z=N[1],F=c(null),A=c(null),W=c(null);return h(r,(function(){return W.current}),[]),s((function(){var e;r?null===(e=W.current)||void 0===e||e.focus():O&&F.current&&F.current.focus()}),[]),_&&(C=_(r?W:F)),n(Y,I({vClassName:"v-validity v-input".concat(V?" ".concat(V):"")},R,{children:[n(we,{display:C?"none":void 0,children:[n(ge,{gap:"0.6em",children:[!!i&&e(ke,{children:i}),n(ke,{children:[e("input",I({ref:r?W:F},T,{className:k,style:I(I({},w),{display:m?"none":"block"}),type:o,value:d||E.value,onChange:function(e){var t,n;g&&z({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),p?p(e.target.value):z({value:e.target.value})}},D.getProps("input"))),!!m&&e("div",{ref:t.readonlyRef?t.readonlyRef:A,children:d||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!l&&e(pe,{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))}))})]}),!!g&&e(ye,{children:e(Le,{padding:S,isAutoSize:t.isAutoSize,fontSize:y||B.Normal,frontColor:b||v.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"}(Ie||(Ie={}));var Re,De,Ne=function(n){var r=M(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Ie.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=I(I({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Ee(){return Ee=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},Ee.apply(null,arguments)}var ze,Fe=function(e){return r.createElement("svg",Ee({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Re||(Re=r.createElement("path",{fill:"currentColor",d:"M198.132 64.763a6 6 0 0 0-6-6H65.753a6 6 0 0 0-6 6v126.473a6 6 0 0 0 6 6h126.399a6 6 0 0 0 6-6.001z"})),De||(De=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(null,arguments)}var We,Pe,Xe,Ue,je=function(e){return r.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ze||(ze=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(We||(We={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Pe||(Pe={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Xe||(Xe={})),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"}(Ue||(Ue={}));var Me,He=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})},Ye=function(t){t.animationCategory,t.animationSpeed;var n=L(t,["animationCategory","animationSpeed"]),r=M(n);return e(Y,I({className:r.getClassName("v-loading"),style:r.getStyle()},n,{children:e(He,{category:t.animationCategory?t.animationCategory:We.Flip,speed:t.animationSpeed?t.animationSpeed:Xe.Slower,repeat:Pe.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,qe=function(e){return r.createElement("svg",Je({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Me||(Me=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 Ke,Ge=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 Qe,$e,et=function(t){var n=t.category,r=L(t,["category"]),o=M(r),a=n||Ke.Default;return e("img",I({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},tt=o((function(t,n){return e(Oe,I({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function nt(){return nt=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},nt.apply(null,arguments)}var rt,ot=function(e){return r.createElement("svg",nt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Qe||(Qe=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"})),$e||($e=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 at(){return at=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},at.apply(null,arguments)}var it,ct,lt=function(e){return r.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),rt||(rt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ut.apply(null,arguments)}var st,dt=function(e){return r.createElement("svg",ut({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),it||(it=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),ct||(ct=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ft=o((function(t,n){var r,o=t.enableClear,a=L(t,["enableClear"]);if(o){var i={option:e(Ne,{fontSize:B.ExtraSmall,frontColor:v.Placeholder,onClick:function(){},children:e(dt,{})}),handleOption:function(e){e.value=""}};r=t.extensions?O(O([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(r=t.extensions);return e(Oe,I({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:r}))}));function ht(){return ht=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},ht.apply(null,arguments)}var pt,gt=function(e){return r.createElement("svg",ht({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),st||(st=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"}(pt||(pt={}));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=L(t,["icon","value","valueHook","setStateHook"]),u=M(l),s=f({value:o}),d=s[0],h=s[1],p=c(null);return e(Y,I({vClassName:"v-validity v-textarea"},l,{children:n(me,{cross:se.Top,gap:"0.6em",children:[t.icon,e(ke,{children:e("textarea",I({ref:r||p,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):h({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,_t="--den-";!function(e){e.Global="global",e.Area="area"}(kt||(kt={}));var Bt;!function(e){e.Hover="hover",e.Click="click"}(Bt||(Bt={}));var xt,Vt=Object.freeze({__proto__:null,get AnimationCategory(){return We},get AnimationDelay(){return Ue},get AnimationRepeat(){return Pe},get AnimationSpeed(){return Xe},get BackgroundPositionType(){return Ce},Base:M,get BorderRadiusType(){return k},get BreakpointType(){return R},get ColorType(){return v},get ComponentType(){return T},Display:K,get DisplayCategory(){return J},get DisplayType(){return Z},Dock:$,get DockCategory(){return q},get EllipseCategory(){return yt},get FileCategory(){return Ze},Flex:ue,get FlexAlignContentType(){return ie},get FlexAlignItemsType(){return ae},get FlexDirectionType(){return ne},FlexItem:de,get FlexItemAlignSelfType(){return le},get FlexJustifyContentType(){return oe},get FlexWrapType(){return re},get FontFamilyType(){return b},get FontSizeType(){return B},get FontWeightType(){return y},get HandleSubmitCategory(){return _e},get HyperlinkCategory(){return pt},get ImageCategory(){return Ke},get LabelAlignType(){return Te},get LabelCategory(){return xe},get LabelType(){return Ve},get LetterSpacingType(){return w},get LineCategory(){return Ct},get LineHeightType(){return C},get PaddingType(){return S},Position:te,PositionArea:ce,get PositionAreaCategory(){return ee},get PositionCategory(){return G},get PositionType(){return Q},Responsive:function(r){return n(t,{children:[e(K,{category:J.Hidden,type:Z.Down,breakpoint:r.breakpointType?r.breakpointType:R.Small,children:r.desktop}),e(K,{category:J.Hidden,type:Z.Up,breakpoint:r.breakpointType?r.breakpointType:R.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 Ie},get TextAlignType(){return vt},get TextCategory(){return mt},get ThemeCategory(){return kt},get TooltipCategory(){return Bt},VActionForm:function(t){return e("form",I({className:"v-action-form"},t,{children:t.children}))},VAnimation:He,VAudio:function(t){t.sources;var n=L(t,["sources"]),r=M(n);return e("audio",I({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=L(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(Y,I({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=L(t,["fileIcon","base64Image"]),i=f({base64Image:o}),c=i[0],l=i[1];return n(Y,{className:"v-base64file",children:[e(tt,{name:t.name,value:c.base64Image}),e(Oe,I({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(we,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(et,{fontSize:t.fontSize,category:Ke.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:ke,VCheckBox:function(t){var r=t.isChecked,o=L(t,["isChecked"]),a=f({isChecked:r}),i=a[0],c=a[1];return e(Oe,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(be,I({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(Ne,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Fe,{}):e(je,{})}),e(Le,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VColor:function(t){return e(Oe,I({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Oe,I({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Oe,I({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,l=r.name,u=r.icon,d=r.emptyIcon,h=r.downIcon,p=r.upIcon,g=r.enableClear,m=r.isReadonly,y=r.items,b=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=L(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=f({isSelectionShow:!1,selectValue:i||"",selectCaption:i?y.filter((function(e){return e.value==i}))[0].caption:"",items:y}),_=k[0],x=k[1],V=c(null),T=c(null),O=c(null);s((function(){var e=window.document.getElementById("".concat(l,"-dock"));if(e){var t=0;u&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=m?O.current?"calc(".concat(O.current.offsetWidth,"px + ").concat(t,"em)"):"12em":T.current?"calc(".concat(T.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(Y,I({vClassName:"v-dropdown"},w,{children:[e(tt,{id:r.id?r.id:l,name:l,valueHook:null===(o=_.selectValue)||void 0===o?void 0:o.toString(),ref:V}),e($,{zIndex:_.isSelectionShow?2e9:-2e9,category:q.InnerRightBottom,renderOverlay:function(){return e(ke,{id:"".concat(l,"-dock"),visibility:_.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(we,{backgroundColor:v.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(ke,{children:C(r)},"item".concat(o)):n(be,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){x(I(I({},_),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:y})),S&&S(r.value)},children:[r.icon?e(Ne,{fontSize:B.ExtraSmall,children:r.icon}):e(t,{}),e(Le,{caption:r.caption})]},"item".concat(o))})),!(0!=_.items.length)&&e(Ne,{fontSize:B.ExtraSmall,onClick:function(){},children:d})]})})},children:e(ft,{padding:r.padding,isReadonly:m,fontSize:r.fontSize,icon:e(Ne,{fontSize:r.fontSize?r.fontSize:B.Normal,children:_.selectIcon?_.selectIcon:u}),valueHook:null===(a=_.selectCaption)||void 0===a?void 0:a.toString(),enableClear:g,extensions:[{option:e(Ne,{fontSize:r.fontSize?r.fontSize:B.Small,onClick:function(){},children:_.isSelectionShow?p:h}),handleOption:function(e){x(I(I({},_),{isSelectionShow:!_.isSelectionShow}))}}],onClick:function(){x(I(I({},_),{isSelectionShow:!_.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,x(I(I({},_),{isSelectionShow:!0,selectCaption:t,items:y.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:T,readonlyRef:O,borderRadius:r.borderRadius,frontColor:_.selectValue===_.selectCaption?r.frontColor:v.Error})})]}))},VEllipse:function(t){t.category;var n=L(t,["category"]);return e(Y,I({vClassName:"v-ellipse-".concat(t.category?t.category:yt.Default)},n,{children:t.children}))},VEmail:function(t){return e(Oe,I({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,h=t.autoUpload,p=t.renderLoader,g=L(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 I(I({},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(Y,{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:Ge(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(h?(b(I(I({},y),{inputFiles:n,isLoading:!0})),h(t,C),e.currentTarget.className="v-file"):(b(I(I({},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(Oe,I({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:Ge(e)?URL.createObjectURL(e):void 0}}));b(I(I({},y),{inputFiles:r})),h&&(b(I(I({},y),{inputFiles:r,isLoading:!0})),h(n,C))},overWrite:function(t){return l?r&&r==Ze.Vertical?n(we,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:fe.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(we,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(we,{cross:fe.Center,children:[!!t.objectUrl&&e(ke,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Le,{fontSize:B.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(p?p():e(Ye,{animationCategory:We.Flash,children:e(ye,{children:e(Ne,{fontSize:a,frontColor:i,children:e(qe,{})})})}))]}):n(we,{gap:"1em",cross:fe.Center,children:[n(pe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(we,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(we,{cross:fe.Center,children:[!!t.objectUrl&&e(ke,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Le,{fontSize:B.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(p?p():e(Ye,{animationCategory:We.Flash,children:e(Ne,{fontSize:a,frontColor:i,children:e(qe,{})})}))]}):e(ke,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=M(t);return e("footer",I({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=L(t,["handleSubmitCategory"]),r=M(n);return e("form",I({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=Be(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=L(t,["image","backingBoard","style"]);return o&&(n=I(I({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(Y,I({vClassName:"v-frame",style:n},i,{children:e("div",I({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},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=M(t);return e("hr",I({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=M(t);return e("header",I({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:tt,VHyperlink:function(t){var n=t.category,r=t.to,o=L(t,["category","to"]),a=M(o);return e(Y,I({vClassName:"v-hyperlink"},o,{children:e("a",I({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))},VImage:et,VLabel:Le,VLine:function(t){t.category;var n=L(t,["category"]);return e(Y,I({vClassName:"v-line-".concat(t.category)},n))},VLoading:Ye,VMain:function(t){var n=M(t);return e("main",I({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(te,{zIndex:t.zIndex?t.zIndex:1e8,category:G.Window,type:Q.Center,children:e(ce,{children:e(Y,{width:"100vw",height:"100vh",backgroundColor:v.Dark75,children:e(te,{category:G.Area,type:Q.Center,children:t.children})})})})},VMonth:function(t){return e(Oe,I({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Oe,I({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Oe,I({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=L(t,["isChecked"]);return e(Oe,I({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(be,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(Ne,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?ot:lt,{})}),e(Le,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=L(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(Oe,I({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=L(t,["category"]);return e(Y,I({vClassName:"v-rectangle-".concat(t.category?t.category:St.Default)},n))},VSearch:function(t){return e(Oe,I({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=M(t);return e("section",I({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=L(t,["name","items","value","isMultiple","fontFamily"]),i=M(a);return e(Y,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",I({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=M(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=I(I({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=M(t),o=c(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(ye,{cross:se.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=M(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:Ne,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,l=L(t,["isOn","icon","gap","isDisabled","onSwitch"]),u=f({isOn:r}),s=u[0],d=u[1],h=o?e(Ne,{margin:s.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:v.White,fontSize:B.Normal,children:o}):e(ke,{width:"1em",height:"1em"}),p=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!s.isOn),d({isOn:!s.isOn}))};return e(Y,I({vClassName:i?"v-switch-disabled":"v-switch",borderRadius:"32em",backgroundColor:s.isOn?t.frontColor?t.frontColor:v.Success:t.backgroundColor?t.backgroundColor:v.Placeholder},l,{onClick:p,children:n(ve,{onClick:p,gap:a||"0.6em",children:[s.isOn?e(Ne,{category:Ie.Circle,frontColor:v.White,children:e(gt,{})}):h,s.isOn?h:e(Ne,{category:Ie.Circle,frontColor:v.White,children:e(gt,{})})]})}))},VTel:function(t){return e(Oe,I({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=L(t,["category","alignType","renderContent"]),c=M(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(Y,I({vClassName:o},i,{children:r}))},VTextArea:bt,VTextBox:ft,VTheme:function(n){return s((function(){var e;n.category==kt.Area?n.area&&(e=document.getElementById(n.area)):e=document.documentElement,e&&(Object.keys(n.theme.colors).forEach((function(t){e.style.setProperty("".concat(_t,"color-").concat(t),n.theme.colors[t])})),Object.keys(n.theme.fontSizes).forEach((function(t){e.style.setProperty("".concat(_t).concat(t),n.theme.fontSizes[t])})),Object.keys(n.theme.fontWeights).forEach((function(t){e.style.setProperty("".concat(_t).concat(t),n.theme.fontWeights[t])})))}),[]),n.category==kt.Area?n.area?e(Y,{id:n.area,backgroundColor:v.Body,children:n.children}):e(Le,{backgroundColor:v.Error,caption:"No Area!"}):e(t,{})},VTime:function(t){return e(Oe,I({type:"time",isDefaultValue:!0},t))},VTooltip:function(n){var r,o=n.category,a=n.dockCategory,i=n.renderOverlay,c=L(n,["category","dockCategory","renderOverlay"]),l=f({isShow:!1}),u=l[0],s=l[1];return r=o||Bt.Hover,e(Y,I({vClassName:"v-tooltip"},c,{children:e($,{category:a,renderOverlay:function(){return u.isShow?i():e(t,{})},children:e(ke,{onClick:function(){r==Bt.Click&&s({isShow:!u.isShow})},onMouseEnter:function(){r==Bt.Hover&&s({isShow:!0})},onMouseLeave:function(){r==Bt.Hover&&s({isShow:!1})},children:n.children})})}))},VUrl:function(t){return e(Oe,I({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=L(t,["sources"]),r=M(n);return e("video",I({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(Oe,I({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(Y,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return _},X:pe,XAround:function(e){return he(e,void 0,void 0,(function(){return oe.SpaceAround}))},XAutoBoth:function(t){var n=M(t);return he(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(de,{grow:0,alignSelf:o,children:t}):e(de,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:ge,XAutoLeft:function(t){return he(t,(function(t,n,r){return e(de,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=M(t);return he(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(de,{grow:0,alignSelf:o,children:t}):e(de,{grow:1,alignSelf:o,children:t})}))},XAutoRight:me,XAutoRights:function(t){return he(t,(function(t,n,r){return e(de,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:ve,XCenter:ye,get XCrossType(){return se},XCustom:function(t){return he(t,(function(n,r){var o=e(de,{children:n});return t.basises&&r<t.basises.length&&(o=e(de,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=M(t);return he(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(de,{basis:t.basis,children:r}):e(de,{grow:1,children:r})}))},XEvenly:function(e){return he(e,void 0,void 0,(function(){return oe.SpaceEvenly}))},XLeft:be,XRight:function(e){return he(e,void 0,void 0,(function(){return oe.End}))},XWrapAround:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.SpaceAround}))},XWrapBetween:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.SpaceBetween}))},XWrapBottom:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.End}))},XWrapEvenly:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.SpaceEvenly}))},XWrapMiddle:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.Center}))},XWrapTop:function(e){return he(e,void 0,(function(){return re.Wrap}),void 0,(function(){return ie.Start}))},Y:we,YAround:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.SpaceAround}))},YAutoBoth:function(t){var n=M(t);return Se(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(de,{grow:0,alignSelf:o,children:t}):e(de,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=M(t);return Se(t,(function(t,r){return r==a.count(n.getChildren())-1?e(de,{grow:1,children:t}):e(de,{grow:0,children:t})}))},YAutoBottoms:function(t){return Se(t,(function(t,n,r){return e(de,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=M(t);return Se(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(de,{grow:1,alignSelf:o,children:t}):e(de,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return Se(t,(function(t,n,r){return e(de,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=M(t);return Se(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(de,{grow:0,alignSelf:o,children:t}):e(de,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.SpaceBetween}))},YBottom:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.End}))},get YCrossType(){return fe},YCustom:function(t){return Se(t,(function(n,r){var o=e(de,{children:n});return t.basises&&r<t.basises.length&&(o=e(de,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=M(t);return Se(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(de,{basis:t.basis,children:r}):e(de,{grow:1,children:r})}))},YEvenly:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.SpaceEvenly}))},YMiddle:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.Center}))},YTop:function(e){return Se(e,void 0,void 0,void 0,(function(){return oe.Start}))},YWrapAround:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.SpaceAround}),void 0)},YWrapBetween:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.SpaceBetween}))},YWrapCenter:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.Center}))},YWrapEvenly:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.SpaceEvenly}))},YWrapLeft:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.Start}))},YWrapRight:function(e){return Se(e,void 0,(function(){return re.Wrap}),(function(){return ie.End}))},get ZoneCategory(){return H},convertFormDataToJson:Be,getGeneratedClassName:A});!function(e){e.Components=Vt}(xt||(xt={}));export{xt as Den};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|