@fewbox/den 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Api/Google/index.d.ts +9 -0
- package/src/components/Auth/GoogleSignin/index.d.ts +12 -10
- package/src/components/app.d.ts +2 -7
- package/src/components/Api/GAPI/index.d.ts +0 -7
- package/src/components/View/VDesigner/VDesignerConnection/index.d.ts +0 -10
- package/src/components/View/VDesigner/VDesignerElement/index.d.ts +0 -11
- package/src/components/View/VDesigner/VDesignerGroup/index.d.ts +0 -10
- package/src/components/View/VDesigner/VDesignerNode/index.d.ts +0 -68
- package/src/components/View/VDesigner/index.d.ts +0 -35
- package/src/components/View/VImage/Web/index.d.ts +0 -6
- package/src/components/View/VInput/VBase64File/Web/index.d.ts +0 -10
- package/src/components/View/VLink/Web/index.d.ts +0 -6
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{Link as t,useLocation as n}from"react-router-dom";import r from"konva";import o from"juice";import a from"react-dom/server";import{PayPalScriptProvider as i,PayPalButtons as c}from"@paypal/react-paypal-js";import l from"react-ga4";import{jwtDecode as u}from"jwt-decode";import{createIntlCache as s,createIntl as d}from"react-intl";import{of as f,Observable as m}from"rxjs";import{switchMap as p,map as g,retry as h,catchError as v}from"rxjs/operators";import{ajax as y}from"rxjs/ajax";import{fromFetch as b}from"rxjs/fetch";var E;!function(e){e.EMPTY="EMPTY",e.RESET="RESET"}(E||(E={}));var C=function(){return{type:E.EMPTY}},w=Object.freeze({__proto__:null,emptyAction:C,resetAction:function(){return{type:E.RESET}}}),x=function(e,t){return x=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])},x(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}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var k,T,B,P,_,R,I,L,O=function(){return O=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},O.apply(this,arguments)};function D(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function c(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(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 A(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[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]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function N(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"}(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"}(T||(T={})),function(e){e.Default="font-family"}(B||(B={})),function(e){e.Default="line-height"}(P||(P={})),function(e){e.Default="padding"}(_||(_={})),function(e){e.Default="letter-spacing"}(R||(R={})),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"}(L||(L={}));var V,z,F,W,G=function(e){var t;switch(e){case T.Thin:t=100;break;case T.ExtraLight:t=200;break;case T.Light:t=300;break;case T.Regular:t=400;break;case T.Medium:t=500;break;case T.SemiBold:t=600;break;case T.Bold:t=700;break;case T.ExtraBold:t=800;break;case T.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"}(V||(V={})),function(e){e.All="all",e.Before="before",e.After="after"}(z||(z={})),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"}(F||(F={})),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"}(W||(W={}));var H,M=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),U=function(e){this.component=e},j=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return S(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(V).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}(U),X=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}(U),Y=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 S(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 F.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case F.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case F.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case F.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case F.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case F.Left:r=" ".concat(e).concat(o,"-border-left");break;case F.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case F.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case F.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case F.Right:r=" ".concat(e).concat(o,"-border-right");break;case F.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case F.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case F.Top:r=" ".concat(e).concat(o,"-border-top");break;case F.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(k.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(k.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(k.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(k.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(k.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(k.Black,"-after-front"):"",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(a).concat(i).concat(u).concat(e).concat(t)},t}(U),q=function(e,t,n,r,o,a,i,c,l,u,s,d,f,m){return new Y(new j(new X(new M(e),o),n,r),t,a,i,c,l,u,s,d,f,m).getClassName()};!function(e){e.Div="div",e.Span="span"}(H||(H={}));var J,Q=function(e){return{getClassName:function(t){var n=q(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 O(O({},e.style),n)},getChildren:function(e){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name?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"}(J||(J={}));var Z,K=function(t){var n=Q(t);return t.rootCategory==H.Span?e.createElement("span",O({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.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",O({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.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"}(Z||(Z={}));var $,ee;!function(e){e.Visiable="visiable",e.Hidden="hidden"}($||($={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(ee||(ee={}));var 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.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(te||(te={}));var ne,re,oe=function(t){var n,r=e.useRef(null),o=e.useRef(null),a=e.useRef(null),i=function(){if(o.current&&a.current&&r.current)if(t.category==te.Bottom||t.category==te.Top){var e="-".concat(Math.abs(a.current.offsetWidth-o.current.offsetWidth)/2,"px");o.current.style.marginLeft=e}else if(t.category==te.Left||t.category==te.Right){var n="".concat(Math.abs(a.current.offsetHeight-r.current.offsetHeight)/2,"px");r.current.style.top=n}else if(t.category==te.LeftTop){e="-".concat(o.current.offsetWidth,"px");o.current.style.marginLeft=e}else if(t.category==te.LeftBottom){e="-".concat(o.current.offsetWidth,"px");o.current.style.marginLeft=e}else if(t.category==te.RightTop){e="".concat(a.current.offsetWidth,"px");o.current.style.marginLeft=e}else if(t.category==te.RightBottom){e="".concat(a.current.offsetWidth,"px");o.current.style.marginLeft=e}else if(t.category==te.LeftInnerTop);else if(t.category==te.LeftInnerBottom);else if(t.category==te.RightInnerTop){e="".concat(a.current.offsetWidth-o.current.offsetWidth,"px");o.current.style.marginLeft=e}else if(t.category==te.RightInnerBottom){e="".concat(a.current.offsetWidth-o.current.offsetWidth,"px");o.current.style.marginLeft=e}};if(e.useEffect((function(){o.current&&new ResizeObserver((function(e){i()})).observe(o.current);i()}),[]),t.category)switch(t.category){case te.Bottom:n="dock-overlay-bottom";break;case te.Left:n="dock-overlay-left";break;case te.LeftBottom:n="dock-overlay-leftbottom";break;case te.LeftTop:n="dock-overlay-lefttop";break;case te.Right:n="dock-overlay-right";break;case te.RightBottom:n="dock-overlay-rightbottom";break;case te.RightTop:n="dock-overlay-righttop";break;case te.Top:n="dock-overlay-top";break;case te.LeftInnerBottom:n="dock-overlay-leftinnerbottom";break;case te.LeftInnerTop:n="dock-overlay-leftinnertop";break;case te.RightInnerBottom:n="dock-overlay-rightinnerbottom";break;case te.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:o},t.renderOverlay())),e.createElement("div",{id:"dockContent",className:"dock-content",ref:a,onClick:function(e){t.onClick&&t.onClick(e)}},t.children))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(ne||(ne={})),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"}(re||(re={}));var ae,ie=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=O(O({},t.style),{zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)}r=void 0;return r=t.category!=ne.Self?O(O({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):O(O({},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 ce,le,ue,se,de,fe=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"}(ce||(ce={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(le||(le={})),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"}(ue||(ue={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(se||(se={})),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"}(de||(de={}));var me,pe=function(t){var n=O(O({},t.style),{gap:t.gap,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),r=t.overflow?"flex-".concat(t.overflow):"flex-hidden",o=t.direction?" flex-direction-".concat(t.direction):"",a=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(o).concat(a).concat(i).concat(c).concat(l);return t.rootCategory==H.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"}(me||(me={}));var ge,he=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 o=O(O({},r),n.props?n.props.style:null),a=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",i=n.props.className?" ".concat(n.props.className):"",c={className:"flex-item".concat(a).concat(i),style:o};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"}(ge||(ge={}));var ve,ye=function(t,n,r,o,a){var i=Q(t),c=function(t,r,o){return n?n(t,r,o):e.createElement(he,{key:"child".concat(r),alignSelf:o},t)};return e.createElement(pe,{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 ge.Stretch:e=se.Stretch;break;case ge.Baseline:e=se.Baseline;break;case ge.Bottom:e=se.End;break;case ge.Middle:e=se.Center;break;case ge.Top:e=se.Start;break;default:e=se.Center}else e=se.Center;return e}(),wrap:r?r():le.NoWrap,justifyContent:o?o():ue.Start,alignContent:a?a():de.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,me.Start):"SMiddle"===r.props.typeName?c(r.props.children,n,me.Center):"SBottom"===r.props.typeName?c(r.props.children,n,me.End):"SStretch"===r.props.typeName?c(r.props.children,n,me.Stretch):"SBaseline"===r.props.typeName?c(r.props.children,n,me.Baseline):c(r,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check X layout children.")):void 0})))},be=function(t){return ye(t,(function(t,n,r){return e.createElement(he,{grow:1,alignSelf:r},t)}))},Ee=function(t){var n=Q(t);return ye(t,(function(r,o,a){return 0!=o&&o!=e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:0,alignSelf:a},r):e.createElement(he,{grow:1,alignSelf:a},r)}))},Ce=function(t){var n=Q(t);return ye(t,(function(r,o,a){return 0!=o&&o!=e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:1,alignSelf:a},r):e.createElement(he,{grow:0,alignSelf:a},r)}))},we=function(t){var n=Q(t);return ye(t,(function(r,o){return o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:1},r):e.createElement(he,{grow:0},r)}))},xe=function(e){return ye(e,void 0,void 0,(function(){return ue.SpaceBetween}))},Se=function(e){return ye(e,void 0,void 0,(function(){return ue.Center}))},ke=function(e){return ye(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(ve||(ve={}));var Te,Be=function(t,n,r,o,a){var i=Q(t),c=function(t,r,o){return n?n(t,r,o):e.createElement(he,{key:"child".concat(r),alignSelf:o},t)};return e.createElement(pe,{className:i.getClassName("v-ybase"),style:i.getStyle(),overflow:t.overflow,gap:t.gap,wrap:r?r():le.NoWrap,alignContent:o?o():de.Start,alignItems:function(){var e;if(t.cross)switch(t.cross){case ve.Left:e=se.Start;break;case ve.Center:e=se.Center;break;case ve.Right:e=se.End;break;case ve.Baseline:e=se.Baseline;break;default:e=se.Stretch}else e=se.Stretch;return e}(),direction:ce.Column,justifyContent:a?a():ue.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,me.Start):r&&"SMiddle"===r.props.typeName||r&&"SCenter"===r.props.typeName?c(r.props.children,n,me.Center):r&&"SRight"===r.props.typeName?c(r.props.children,n,me.End):r&&"SStretch"===r.props.typeName?c(r.props.children,n,me.Stretch):r&&"SBaseline"===r.props.typeName?c(r.props.children,n,me.Baseline):c(t,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check Y layout children.")):void 0})))},Pe=function(t){return Be(t,(function(t,n,r){return e.createElement(he,{grow:1,alignSelf:r},t)}))},_e=function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.SpaceBetween}))},Re=function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.Center}))},Ie=function(t){return e.createElement(K,O({id:t.id,vClassName:"v-boundary"},t),e.createElement("div",{onClick:t.onClick,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave},t.children))};!function(e){e.Default="default",e.Fixed="fixed"}(Te||(Te={}));var Le,Oe=function(t){return e.createElement(K,O({vClassName:"v-ellipse-".concat(t.category?t.category:Te.Default)},t),t.children)};!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Le||(Le={}));var De;!function(e){e.Default="default",e.Fixed="fixed"}(De||(De={}));var Ae;!function(e){e.Default="default",e.Max="max"}(Ae||(Ae={}));var Ne,Ve,ze,Fe=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 o={};t.x&&t.y&&t.blur&&t.spread&&t.color&&(o.boxShadow="".concat(t.x,"px ").concat(t.y,"px ").concat(t.blur,"px ").concat(t.spread,"px ").concat(t.color));var a={className:n.getClassName("v-shadow-".concat(t.category?t.category:Ae.Default)),style:O(O({},o),n.getStyle())};return e.cloneElement(r,a)}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"}(Ne||(Ne={})),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"}(ze||(ze={}));var We=function(t){var n,r;switch(t.alignType){case ze.Center:r="v-label-center";break;case ze.Justify:r="v-label-justify";break;case ze.Left:r="v-label";break;case ze.Right:r="v-label-right";break;default:r="v-label"}switch(t.type==Ve.Circle&&(r="".concat(r,"-circle")),t.isTextOverflow&&(r+=" v-label-text-overflow"),t.category){case Ne.Div:n=e.createElement("div",null,t.caption);break;case Ne.Span:n=e.createElement("span",null,t.caption);break;case Ne.H1:n=e.createElement("h1",null,t.caption);break;case Ne.H2:n=e.createElement("h2",null,t.caption);break;case Ne.H3:n=e.createElement("h3",null,t.caption);break;case Ne.H4:n=e.createElement("h4",null,t.caption);break;case Ne.H5:n=e.createElement("h5",null,t.caption);break;case Ne.H6:n=e.createElement("h6",null,t.caption);break;case Ne.I:n=e.createElement("i",null,t.caption);break;case Ne.B:n=e.createElement("b",null,t.caption);break;case Ne.U:n=e.createElement("u",null,t.caption);break;case Ne.Abbr:n=e.createElement("abbr",{title:t.title},t.caption);break;case Ne.Em:n=e.createElement("em",null,t.caption);break;case Ne.Strong:n=e.createElement("strong",null,t.caption);break;case Ne.Blockquote:n=e.createElement("blockquote",{cite:t.cite},t.caption);break;case Ne.Cite:n=e.createElement("cite",null,t.caption);break;case Ne.Code:n=e.createElement("code",null,t.caption);break;case Ne.Del:n=e.createElement("del",null,t.caption);break;case Ne.Dfn:n=e.createElement("dfn",null,t.caption);break;case Ne.Ins:n=e.createElement("ins",null,t.caption);break;case Ne.Kbd:n=e.createElement("kbd",null,t.caption);break;case Ne.Mark:n=e.createElement("mark",null,t.caption);break;case Ne.Pre:n=e.createElement("pre",null,t.caption);break;case Ne.Q:n=e.createElement("q",null,t.caption);break;case Ne.S:n=e.createElement("s",null,t.caption);break;case Ne.Samp:n=e.createElement("samp",null,t.caption);break;case Ne.Small:n=e.createElement("small",null,t.caption);break;case Ne.Summary:n=e.createElement("summary",null,t.caption);break;case Ne.Sub:n=e.createElement("sub",null,t.caption);break;case Ne.Sup:n=e.createElement("sup",null,t.caption);break;case Ne.Time:n=e.createElement("time",null,t.caption);break;case Ne.Var:n=e.createElement("var",null,t.caption);break;case Ne.Wbr:n=e.createElement("wbr",null,t.caption);break;default:n=e.createElement("span",null,t.caption)}return t.type==Ve.Circle?e.createElement(fe,null,e.createElement(K,O({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},t),e.createElement(ie,{category:ne.Area,type:re.Center},n))):e.createElement(K,O({display:null==t.category||t.category==Ne.Span?"inline-block":"block",vClassName:r},t),n)};var Ge,He=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"}(Ge||(Ge={}));var Me,Ue=function(t){var n=Q(t),r=t.category?t.category:Ge.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"}(Me||(Me={}));var je,Xe,Ye,qe,Je=function(t){var n=Q(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){var o=t.category?t.category:Me.Default,a=n.getClassName("v-svg-".concat(o)),i=t.onClick,c=t.onMouseEnter,l=t.onMouseLeave,u={className:a,style:O(O({},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"}(Xe||(Xe={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ye||(Ye={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(qe||(qe={}));var Qe,Ze=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 Ke,$e=function(t){var n=e.useState({isClick:!1}),r=n[0],o=n[1],a=e.createElement(K,O({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(){o({isClick:!0})},onKeyUp:function(){}}),e.createElement(Se,{cross:ge.Middle,gap:"0.6em"},!!t.icon&&e.createElement(Je,{size:t.size,frontColor:t.frontColor},t.icon),!(!t.caption||t.category==Qe.Circle)&&e.createElement(We,{size:t.size,frontColor:t.frontColor,caption:t.caption})));return r.isClick?e.createElement(Ze,{category:je.Pulse,repeat:Xe.Once},a):a};!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}(Ke||(Ke={}));var et;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(et||(et={}));var tt;!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(tt||(tt={}));var nt,rt,ot=function(t){var n=Q(t);return e.createElement(K,O({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"}(nt||(nt={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(rt||(rt={}));var at,it;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(at||(at={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(it||(it={}));var ct,lt=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]=N(N([],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"}(ct||(ct={}));var ut,st,dt=function(t){var n,r=e.useState({value:void 0!==t.value?t.value:""}),o=r[0],a=r[1],i=e.useRef(null),c=e.useRef(null);return e.useEffect((function(){var e;t.ref?null===(e=t.ref.current)||void 0===e||e.focus():t.isFocus&&i.current&&i.current.focus()})),t.overWrite&&(n=t.ref?t.overWrite(t.ref):t.overWrite(i)),e.createElement(K,O({vClassName:"v-validity v-input".concat(t.inheritClassName?" ".concat(t.inheritClassName):"")},t),e.createElement(Pe,{display:n?"none":void 0},e.createElement(Ce,{gap:"0.6em"},e.createElement(Ie,null,!!t.icon&&t.icon),e.createElement(Ie,null,e.createElement("input",O({ref:t.ref?t.ref:i},t.customAttibutes,{className:t.inputClassName,style:O(O({},t.inputStyle),{display:t.isReadonly?"none":"block"}),required:t.isRequired,placeholder:t.placeholder,type:t.type,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:o.value,min:t.min,max:t.max,step:t.step,disabled:t.disabled,onChange:function(e){var n,r;t.isValueShow&&a({value:t.ref?null===(n=t.ref.current)||void 0===n?void 0:n.value:null===(r=i.current)||void 0===r?void 0:r.value}),t.onChange&&t.onChange(e),t.setStateHook?t.setStateHook(e.target.value):a({value:e.target.value})},onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp,onClick:t.onClick,onBlur:t.onBlur,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onDrag:t.onDrag})),!!t.isReadonly&&e.createElement("div",{ref:t.readonlyRef?t.readonlyRef:c},t.valueHook?t.valueHook:o.value?o.value.toString():""),!!t.label&&e.createElement("label",{htmlFor:t.id?t.id:t.name},t.label)),e.createElement(Ie,null,!!t.extensions&&e.createElement(be,null,t.extensions.map((function(n,r){return e.createElement("span",{key:"extension".concat(r),className:"extension",onClick:function(){var e=t.ref?t.ref.current:i.current;n.handleOption(e)}},n.option)}))))),!!t.isValueShow&&e.createElement(Se,null,e.createElement(We,{padding:t.valuePadding,isAutoSize:t.isAutoSize,size:t.valueSize?t.valueSize:V.Normal,frontColor:t.valueColor?t.valueColor:k.Black,caption:void 0!==o.value?o.value.toString():t.value?t.value.toString():""}))),!!n&&n)};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),ut||(ut=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"})),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"})))};function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(null,arguments)}var ht,vt=function(t){return e.createElement("svg",gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),mt||(mt=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"})))},yt=function(t){var n=Q(t);return e.createElement(Ie,O({className:n.getClassName("v-loading"),style:n.getStyle()},t),e.createElement(Ze,{category:t.animationCategory?t.animationCategory:je.Flip,speed:t.animationSpeed?t.animationSpeed:Ye.Slower,repeat:Xe.Infinite},t.children))};function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(null,arguments)}var Et,Ct=function(t){return e.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),ht||(ht=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"}(Et||(Et={}));var wt,xt,St=function(t){return e.createElement(dt,O({ref:t.ref,display:"none",type:"hidden",id:t.id?t.id:t.name},t))};function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kt.apply(null,arguments)}var Tt,Bt=function(t){return e.createElement("svg",kt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),wt||(wt=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"})),xt||(xt=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 Pt(){return Pt=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},Pt.apply(null,arguments)}var _t,Rt,It=function(t){return e.createElement("svg",Pt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Tt||(Tt=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 Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lt.apply(null,arguments)}var Ot,Dt,At=function(t){return e.createElement("svg",Lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),_t||(_t=e.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Rt||(Rt=e.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Nt=function(t){var n;if(t.enableClear){var r={option:e.createElement(Je,{size:V.ExtraSmall,frontColor:k.Placeholder,onClick:function(){}},e.createElement(At,null)),handleOption:function(e){e.value=""}};n=t.extensions?N(N([],t.extensions,!0),[r],!1):[r]}else t.extensions&&(n=t.extensions);return e.createElement(dt,O({ref:t.ref,readonlyRef:t.readonlyRef,isFocus:t.isFocus,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},t,{extensions:n}))},Vt=function(e){var t=document.getElementById(e),n=t&&0!=t.offsetWidth?t.offsetWidth:1024,r=t?t.offsetHeight:0;return{width:n,height:0!=r?r:.618*n}},zt=function(e,t){window.addEventListener("resize",(function(){!function(e,t){t(Vt(e))}(e,t)}))},Ft=function(e){Wt.getInstance().options=e},Wt=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}(),Gt=Object.freeze({__proto__:null,Boot:function(t){return Ft(t.options),e.createElement(e.Fragment,null)},BootClass:Wt,boot:Ft});!function(e){e.Element="element",e.Group="group",e.Connection="connection"}(Ot||(Ot={})),function(e){e[e.None=0]="None",e[e.Top=2]="Top",e[e.Right=4]="Right",e[e.Bottom=8]="Bottom",e[e.Left=16]="Left",e[e.LeftTop=32]="LeftTop",e[e.RightTop=64]="RightTop",e[e.LeftBottom=128]="LeftBottom",e[e.RightBottom=256]="RightBottom",e[e.Center=512]="Center",e[e.All=1022]="All"}(Dt||(Dt={}));var Ht,Mt,Ut,jt=function(e){switch(e){case"Bottom":return Dt.Bottom;case"Center":default:return Dt.Center;case"Left":return Dt.Left;case"LeftBottom":return Dt.LeftBottom;case"LeftTop":return Dt.LeftTop;case"Right":return Dt.Right;case"RightBottom":return Dt.RightBottom;case"RightTop":return Dt.RightTop;case"Top":return Dt.Top}},Xt=function(){function e(e,t,n,o,a,i){var c=this;if(this.layer=e,t.type==Ot.Element){var l=t;this.rootContainer=new r.Group({id:"".concat(t.id),name:Ot.Element,x:l.x,y:l.y,zIndex:t.zIndex,draggable:!0});var u=new r.Text({name:"Tooltip",caption:t.id,opacity:0});this.rootContainer.add(u),this.rootContainer.on("click",(function(){l.onClick&&l.onClick(c.rootContainer)}))}else if(t.type==Ot.Group){var s=t;this.rootContainer=new r.Group({id:"".concat(t.id),name:Ot.Group,x:s.x,y:s.y,zIndex:t.zIndex,draggable:!0})}else if(t.type==Ot.Connection){var d=t;this.rootContainer=new r.Group({id:"".concat(d.upstream,">").concat(d.downstream),name:Ot.Connection,zIndex:t.zIndex})}this.rootContainer.on("click",(function(){t.onClick&&t.onClick(c.rootContainer)})),this.rootContainer.on("dragstart",(function(){c.rootContainer.moveToTop()})),e.add(this.rootContainer),this.props=t,this.startConnectPointCallback=i,this.selectedColor=n,this.normalColor=o,this.connectionColor=a}return e.prototype.buildElement=function(e,t,n,i){var c,l=this;void 0===n&&(n=0),void 0===i&&(i=0);var u,s,d=document.createElement("div");d.className="designer-element","string"==typeof e.content||e.content instanceof String?u=e.content:(u=a.renderToStaticMarkup(e.content),s=!0),d.innerHTML=u;var f="".concat((new XMLSerializer).serializeToString(d)),m=o(f,{preserveMediaQueries:!1,xmlMode:!0,preserveImportant:!0}),p=document.createElement("div");p.innerHTML=f;var g=document.createElement("div");g.style.visibility="hidden",g.style.width="".concat(e.width,"px");var h=null===(c=p.firstChild)||void 0===c?void 0:c.firstChild;document.body.appendChild(g);var v=window.getComputedStyle(g.appendChild(h)),y=parseFloat(v.height.replace("px",""));document.body.removeChild(g);var b=e.width,E=y,C="";e.isGlobalStyle&&document.querySelectorAll("style").forEach((function(e){C+=e.innerText}));var w='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '.concat(b," ").concat(E,'"><style>.wrapper{width:').concat(v.width,";height:").concat(v.height,"px;}").concat(C,'</style><foreignObject x="0" y="0" width="100%" height="100%" style="overflow:visible;">').concat(m,"</foreignObject></svg>");w=w.replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23"),Wt.getInstance().options.isDebug&&console.log(w);var x=new Image;x.src=w;var S=new r.Image({id:"foreign-".concat(e.id),name:"Foreign",x:n,y:i,image:x,width:b,height:E,zIndex:e.zIndex});return x.onload=function(){t&&(S.on("mouseover",(function(){document.body.style.cursor="move"})),S.on("mouseout",(function(){document.body.style.cursor="default"}))),s&&S.on("click",(function(t){e.content.props.onClick&&e.content.props.onClick(t),e.onClick&&e.onClick(l.rootContainer)}))},S},e.prototype.buildAnchor=function(e){var t,n=null===(t=this.rootContainer.getStage())||void 0===t?void 0:t.findOne("#".concat(e));if(!n)throw"#".concat(e," can not be found, please check buildAnchor method!");return n},e.prototype.buildControlAnchor=function(e,t,n){var o,a,i=null===(o=this.rootContainer.getStage())||void 0===o?void 0:o.findOne("#".concat(t)),c=null===(a=this.rootContainer.getStage())||void 0===a?void 0:a.findOne("#".concat(n)),l=0,u=0;1==e?(l=c.x()+(i.x()-c.x())/2,u=c.y()+(i.y()-c.y())/2+20):(l=c.x()+(i.x()-c.x())/2,u=c.y()+(i.y()-c.y())/2-20);var s=new r.Circle({id:"".concat(t,">").concat(n,"-").concat(e),name:"Control Anchor",x:l,y:u,radius:8,fill:"#ddd",strokeWidth:2,opacity:0,draggable:!0});return s.on("mouseover",(function(){document.body.style.cursor="pointer",s.strokeWidth(4)})),s.on("mouseout",(function(){document.body.style.cursor="default",s.strokeWidth(2)})),s.on("dragmove",(function(){})),s},e.prototype.buildAnimated=function(e,t){var n,o=.1;new r.Animation((function(r){if(r){var a=r.time;n||(n=a),(a-n)/1e3>6*o?(n=a,e.dashOffset(0)):(a-n)/1e3>.5?e.dashOffset(t):(a-n)/1e3>.4?e.dashOffset(2*t):(a-n)/1e3>3*o?e.dashOffset(3*t):(a-n)/1e3>.2?e.dashOffset(4*t):(a-n)/1e3>o&&e.dashOffset(5*t)}}),this.layer).start()},e.prototype.getPosition=function(e,t){var n=e.getClientRect();switch(t){case Dt.Top:return{x:e.x()+n.width/2,y:e.y()};case Dt.Right:return{x:e.x()+n.width,y:e.y()+n.height/2};case Dt.Bottom:return{x:e.x()+n.width/2,y:e.y()+n.height};case Dt.Left:return{x:e.x(),y:e.y()+n.height/2};case Dt.LeftTop:return{x:e.x(),y:e.y()};case Dt.LeftBottom:return{x:e.x(),y:e.y()+n.height};case Dt.RightTop:return{x:e.x()+n.width,y:e.y()};case Dt.RightBottom:return{x:e.x()+n.width,y:e.y()+n.height};default:return{x:0,y:0}}},e.prototype.getAngle=function(e,t){var n=e.x-t.x,r=e.y-t.y,o=Math.abs(n),a=Math.abs(r),i=Math.hypot(o,a),c=Math.acos(o/i),l=Math.floor(180*c/Math.PI);return n>0?r>0&&(l=360-l):l=r>0?180+l:180-l,l},e.prototype.getAutoPosition=function(e,t){var n={x:e.x()+e.width()/2,y:e.y()+e.height()/2},r={x:t.x()+t.width()/2,y:t.y()+t.height()/2},o=this.getAngle(n,r),a=e.getClientRect();return o>=247.5&&o<292.5?{x:e.x()+a.width/2,y:e.y()}:o>=157.5&&o<202.5?{x:e.x()+a.width,y:e.y()+a.height/2}:o>=67.5&&o<112.5?{x:e.x()+a.width/2,y:e.y()+a.height}:o>=337.5&&o<360||o>=0&&o<22.5?{x:e.x(),y:e.y()+a.height/2}:o>=292.5&&o<337.5?{x:e.x(),y:e.y()}:o>=22.5&&o<67.5?{x:e.x(),y:e.y()+a.height}:o>=202.5&&o<247.5?{x:e.x()+a.width,y:e.y()}:o>=112.5&&o<157.5?{x:e.x()+a.width,y:e.y()+a.height}:{x:e.x(),y:e.y()}},e.prototype.buildConnection=function(e){var t=this,n=this,o=new r.Group({name:"Container",zIndex:e.zIndex}),a=16/6,i=new r.Line({name:"Bezier Path",dash:[10,10,0,10],strokeWidth:3,stroke:this.normalColor,lineCap:"round",points:[0,0]}),c=this.buildAnchor(e.upstream),l=this.buildControlAnchor(1,e.upstream,e.downstream),u=this.buildControlAnchor(2,e.upstream,e.downstream),s=this.buildAnchor(e.downstream),d={start:c,control1:l,control2:u,end:s},f=new r.Shape({name:"Bezier Line",dash:[8,8],stroke:this.connectionColor,strokeWidth:2,sceneFunc:function(n,r){var o,a;o=e.upstreamPointType?t.getPosition(d.start,e.upstreamPointType):t.getAutoPosition(d.start,d.end),a=e.downstreamPointType?t.getPosition(d.end,e.downstreamPointType):t.getAutoPosition(d.end,d.start);var i=(o.x+a.x)/2,c=(o.y+a.y)/2;d.control1.x(i),d.control1.y(c+26),d.control2.x(i),d.control2.y(c-26),n.beginPath(),n.moveTo(o.x,o.y),n.bezierCurveTo(d.control1.x(),d.control1.y(),d.control2.x(),d.control2.y(),a.x,a.y),n.fillStrokeShape(r)}});return f.on("mouseover",(function(){document.body.style.cursor="pointer",f.strokeWidth(4),f.stroke(n.selectedColor)})),f.on("mouseout",(function(){document.body.style.cursor="default",f.strokeWidth(2),f.stroke(n.connectionColor)})),e.isAnimated&&this.buildAnimated(f,a),o.add(f),o.add(i),o.add(c),o.add(l),o.add(u),o.add(s),o},e.prototype.bindPointEvent=function(e,t){var n=this;t.on("mouseover",(function(){var e,r;if(document.body.style.cursor="crosshair","Ring"==t.className){var o=t;o.outerRadius(12),o.innerRadius(0)}else t.radius(12);null===(r=null===(e=t.parent)||void 0===e?void 0:e.children)||void 0===r||r.forEach((function(e,t){e.fill(n.normalColor)})),t.fill(n.selectedColor)})),t.on("mouseout",(function(){if(document.body.style.cursor="default","Ring"==t.className){var e=t;e.outerRadius(8),e.innerRadius(4)}else t.radius(6);t.fill(n.normalColor)})),t.on("mousedown",(function(r){var o,a;null===(a=null===(o=t.parent)||void 0===o?void 0:o.children)||void 0===a||a.forEach((function(e,t){e.fill(n.normalColor)})),t.fill(n.selectedColor),n.startConnectPointCallback&&n.startConnectPointCallback(e,jt(t.name()))}))},e.prototype.buildConnectionPoints=function(e,t,n,o){var a=new r.Group({id:"".concat(e,"-points"),name:"Connection Points"});if(o){var i=this.getPointPositions(t,n),c=this.normalColor;if((o&Dt.Top)!=Dt.None){var l=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.Top),name:"Top",x:i[Dt.Top].x,y:i[Dt.Top].y,radius:6,angle:180,rotation:180,fill:c});this.bindPointEvent(e,l),a.add(l)}if((o&Dt.Right)!=Dt.None){var u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.Right),name:"Right",x:i[Dt.Right].x,y:i[Dt.Right].y,radius:6,angle:180,rotation:270,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.Bottom)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.Bottom),name:"Bottom",x:i[Dt.Bottom].x,y:i[Dt.Bottom].y,radius:6,angle:180,rotation:0,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.Left)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.Left),name:"Left",x:i[Dt.Left].x,y:i[Dt.Left].y,radius:6,angle:180,rotation:90,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.LeftTop)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.LeftTop),name:"LeftTop",x:i[Dt.LeftTop].x,y:i[Dt.LeftTop].y,radius:6,angle:270,rotation:90,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.LeftBottom)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.LeftBottom),name:"LeftBottom",x:i[Dt.LeftBottom].x,y:i[Dt.LeftBottom].y,radius:6,angle:270,rotation:0,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.RightTop)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.RightTop),name:"RightTop",x:i[Dt.RightTop].x,y:i[Dt.RightTop].y,radius:6,fill:c,angle:270,rotation:180});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.RightBottom)!=Dt.None){u=new r.Wedge({id:"".concat(e,"-point-").concat(Dt.RightBottom),name:"RightBottom",x:i[Dt.RightBottom].x,y:i[Dt.RightBottom].y,radius:6,angle:270,rotation:270,fill:c});this.bindPointEvent(e,u),a.add(u)}if((o&Dt.Center)!=Dt.None){var s=new r.Ring({id:"".concat(e,"-point-").concat(Dt.Center),name:"Center",x:i[Dt.Center].x,y:i[Dt.Center].y,innerRadius:4,outerRadius:8,fill:c});this.bindPointEvent(e,s),a.add(s)}}return a},e.prototype.getPointPositions=function(e,t){var n={};return n[Dt.Top]={x:e/2,y:0},n[Dt.Right]={x:e,y:t/2},n[Dt.Bottom]={x:e/2,y:t},n[Dt.Left]={x:0,y:t/2},n[Dt.LeftTop]={x:0,y:0},n[Dt.LeftBottom]={x:0,y:0+t},n[Dt.RightTop]={x:0+e,y:0},n[Dt.RightBottom]={x:e,y:t},n[Dt.Center]={x:e/2,y:t/2},n},e.prototype.drawGroup=function(e,t){var n=this;t.on("mouseover",(function(){document.body.style.cursor="move"})),t.on("mouseout",(function(){document.body.style.cursor="default"})),e.children.forEach((function(o,a){if(o.type==Ot.Element){var i=o,c=n.buildElement(i,!1),l=c.getClientRect({relativeTo:n.rootContainer}),u=n.buildConnectionPoints(i.id,l.width,l.height,i.connectionPointType),s=new r.Group({id:"".concat(i.id),name:Ot.Element,x:i.x,y:i.y,zIndex:i.zIndex}),d=new r.Text({name:"Tooltip",caption:i.id,opacity:0});s.add(d),s.add(c),s.add(u),t.add(s)}else if(o.type==Ot.Group){s=new r.Group({id:"".concat(o.id),name:"Group",x:e.x,y:e.y,zIndex:o.zIndex,draggable:!0});n.layer.add(s),n.drawGroup(o,s)}}))},e.prototype.draw=function(){if(this.props.type==Ot.Element){var e=this.props,t=this.buildElement(e,!1),n=t.getClientRect(),o=this.buildConnectionPoints(e.id,n.width,n.height,e.connectionPointType);this.rootContainer.add(t),this.rootContainer.add(o)}else if(this.props.type==Ot.Group){var a=this.props;this.drawGroup(a,this.rootContainer);n=this.rootContainer.getClientRect();var i=new r.Rect({id:"".concat(a.id,"-border"),width:n.width,height:n.height,stroke:this.normalColor,strokeWidth:2,cornerRadius:8,dash:[6,6,0,6]});n=this.rootContainer.getClientRect(),o=this.buildConnectionPoints(a.id,n.width,n.height,a.connectionPointType);this.rootContainer.add(i),this.rootContainer.add(o)}else if(this.props.type==Ot.Connection){var c=this.props,l=this.buildConnection(c);this.rootContainer.add(l)}},e}(),Yt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t}(Xt),qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t}(Xt),Jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t}(Xt);function Qt(){return Qt=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},Qt.apply(null,arguments)}var Zt,Kt,$t=function(t){return e.createElement("svg",Qt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ht||(Ht=e.createElement("path",{fill:"currentColor",d:"M128 30c2.411 0 4.724.957 6.429 2.662a9.1 9.1 0 0 1 2.661 6.428v136.364h-18.18V39.09c0-2.41.957-4.722 2.661-6.428A9.1 9.1 0 0 1 128 30"})),Mt||(Mt=e.createElement("path",{fill:"currentColor",d:"M191.635 225.729H64.365a36.36 36.36 0 0 1-25.713-10.652A36.36 36.36 0 0 1 28 189.364v-54.546a36.365 36.365 0 0 1 36.365-36.363c2.41 0 4.722.957 6.427 2.663a9.086 9.086 0 0 1 0 12.856 9.1 9.1 0 0 1-6.427 2.663 18.18 18.18 0 0 0-18.183 18.181v54.546a18.186 18.186 0 0 0 18.182 18.182h127.271a18.185 18.185 0 0 0 18.183-18.182v-54.546c0-4.821-1.916-9.446-5.326-12.855a18.18 18.18 0 0 0-12.857-5.326 9.09 9.09 0 0 1 0-18.182A36.36 36.36 0 0 1 228 134.818v54.546a36.36 36.36 0 0 1-10.652 25.713 36.36 36.36 0 0 1-25.713 10.652"})),Ut||(Ut=e.createElement("path",{fill:"currentColor",d:"m102.27 137.183 24.365 24.364a2 2 0 0 0 2.727 0l24.364-24.364a9.09 9.09 0 0 1 12.818 0 9.09 9.09 0 0 1 0 12.91l-24.365 24.364v-.001a20.27 20.27 0 0 1-28.362 0l-24.364-24.363a9.095 9.095 0 0 1 0-12.91 9.09 9.09 0 0 1 12.817 0"})))};function en(){return en=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},en.apply(null,arguments)}var tn,nn,rn=function(t){return e.createElement("svg",en({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Zt||(Zt=e.createElement("path",{fill:"currentColor",d:"M191.635 228.652H64.365A36.36 36.36 0 0 1 38.652 218 36.36 36.36 0 0 1 28 192.287v-70.908a36.363 36.363 0 0 1 36.365-36.363h127.27A36.36 36.36 0 0 1 228 121.379v70.908A36.36 36.36 0 0 1 217.348 218a36.36 36.36 0 0 1-25.713 10.652M64.365 103.194a18.19 18.19 0 0 0-12.857 5.325 18.2 18.2 0 0 0-5.326 12.857v70.909a18.186 18.186 0 0 0 18.182 18.182h127.271a18.185 18.185 0 0 0 18.183-18.182v-70.909a18.185 18.185 0 0 0-18.183-18.182z"})),Kt||(Kt=e.createElement("path",{fill:"currentColor",d:"M82.544 153.74c5.02 0 9.09 5.021 9.09 9.091v45.456a9.09 9.09 0 0 1-9.09 9.09c-5.02 0-9.09-5.021-9.09-9.09v-45.456a9.09 9.09 0 0 1 9.09-9.091m92 0c5.021 0 9.09 5.021 9.09 9.091v45.456a9.09 9.09 0 0 1-9.09 9.09c-5.021 0-9.09-5.021-9.09-9.09v-45.456a9.09 9.09 0 0 1 9.09-9.091m-46.454 0c5.021 0 9.091 5.021 9.091 9.091v45.456a9.09 9.09 0 0 1-9.091 9.09c-5.021 0-9.09-5.021-9.09-9.09v-45.456a9.09 9.09 0 0 1 9.09-9.091M123.092 28h8.545A36.363 36.363 0 0 1 168 64.364v38.269H86.731v-38.27A36.36 36.36 0 0 1 123.094 28zm26.728 56.455v-20.09c0-4.822-1.916-9.446-5.325-12.857a18.2 18.2 0 0 0-12.857-5.325h-8.545a18.2 18.2 0 0 0-12.857 5.325 18.19 18.19 0 0 0-5.325 12.857v20.09z"})))};function on(){return on=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},on.apply(null,arguments)}var an,cn,ln=function(t){return e.createElement("svg",on({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),tn||(tn=e.createElement("path",{fill:"currentColor",d:"M140.853 119.037a6 6 0 0 0-5.454 6.5l8.462 96.722a6 6 0 0 0 6.5 5.454l22.28-1.949c19.412-1.698 30.468-13.102 38.702-30.763a54.54 54.54 0 0 0-4.754-54.338c-11.177-15.963-24.045-25.273-43.456-23.575zm26.037 88.977a6 6 0 0 1-6.501-5.454l-5.292-60.496a6 6 0 0 1 5.455-6.501l4.165-.363c12.942-1.133 19.528 5.248 26.979 15.89a36.37 36.37 0 0 1 3.17 36.226c-5.491 11.773-10.868 19.201-23.81 20.333zm-52.867-88.977a6 6 0 0 1 5.454 6.5l-8.462 96.722a6 6 0 0 1-6.5 5.454l-22.28-1.949c-19.412-1.698-30.468-13.102-38.702-30.763a54.55 54.55 0 0 1 4.754-54.338c11.177-15.963 24.045-25.273 43.456-23.575zm-26.037 88.977a6 6 0 0 0 6.5-5.454l5.293-60.496a6 6 0 0 0-5.455-6.501l-4.165-.363c-12.942-1.133-19.528 5.248-26.98 15.89a36.37 36.37 0 0 0-3.169 36.226c5.49 11.773 10.868 19.201 23.81 20.333z"})),nn||(nn=e.createElement("path",{fill:"currentColor",d:"M127.337 139.888a55.944 55.944 0 1 1 0-111.886 55.944 55.944 0 0 1 0 111.886m0-93.239a37.293 37.293 0 0 0-37.296 37.296 37.297 37.297 0 0 0 37.296 37.297 37.3 37.3 0 0 0 37.295-37.297 37.296 37.296 0 0 0-37.295-37.296"})))};function un(){return un=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},un.apply(null,arguments)}var sn,dn,fn=function(t){return e.createElement("svg",un({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),an||(an=e.createElement("path",{fill:"currentColor",d:"M128 228a100 100 0 1 1 0-200 100 100 0 0 1 0 200m0-181.82a81.815 81.815 0 0 0-81.818 81.818A81.816 81.816 0 0 0 128 209.815a81.82 81.82 0 0 0 81.818-81.817A81.817 81.817 0 0 0 128 46.18"})),cn||(cn=e.createElement("path",{fill:"currentColor",d:"M149.819 127.272a27.26 27.26 0 0 1-8.273 19.636l-16.279 15.761a9.12 9.12 0 0 1-12.883-.195 9.12 9.12 0 0 1 .208-12.922l16.318-15.734a9.09 9.09 0 0 0 0-13.092l-16.318-15.734a9.12 9.12 0 0 1-.208-12.923 9.12 9.12 0 0 1 12.883-.195l16.278 15.76.001.001v.001a27.26 27.26 0 0 1 8.273 19.635z"})))};function mn(){return mn=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},mn.apply(null,arguments)}var pn,gn,hn,vn=function(t){return e.createElement("svg",mn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),sn||(sn=e.createElement("path",{fill:"currentColor",d:"M128 228a100 100 0 1 1 0-200 100 100 0 0 1 0 200m0-181.82a81.815 81.815 0 0 0-81.818 81.818A81.816 81.816 0 0 0 128 209.815a81.82 81.82 0 0 0 81.818-81.817A81.817 81.817 0 0 0 128 46.18"})),dn||(dn=e.createElement("path",{fill:"currentColor",d:"M106 127.272a27.26 27.26 0 0 0 8.273 19.636l16.279 15.761a9.12 9.12 0 0 0 12.883-.195 9.12 9.12 0 0 0-.208-12.922l-16.318-15.734a9.09 9.09 0 0 1 0-13.092l16.318-15.734a9.12 9.12 0 0 0 .208-12.923 9.12 9.12 0 0 0-12.883-.195l-16.278 15.76-.001.001-.001.001A27.27 27.27 0 0 0 106 127.271z"})))};function yn(){return yn=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},yn.apply(null,arguments)}var bn,En=function(t){return e.createElement("svg",yn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),pn||(pn=e.createElement("path",{fill:"currentColor",d:"M46.09 64.365h163.635c5.021 0 9.09 5.021 9.09 9.09a9.09 9.09 0 0 1-9.09 9.09H46.09c-5.02 0-9.09-5.02-9.09-9.09a9.09 9.09 0 0 1 9.09-9.09"})),gn||(gn=e.createElement("path",{fill:"currentColor",d:"M155.18 228.001h-54.545a36.366 36.366 0 0 1-36.363-36.365V64.367h127.269v127.269a36.366 36.366 0 0 1-36.362 36.365zM82.452 82.545v109.09c0 4.823 1.916 9.446 5.325 12.857a18.2 18.2 0 0 0 12.857 5.325h54.545a18.186 18.186 0 0 0 18.183-18.182V82.545zM109.725 28h36.362c5.021 0 9.091 5.02 9.091 9.09a9.09 9.09 0 0 1-9.091 9.09h-36.362c-5.021 0-9.091-5.02-9.091-9.09a9.09 9.09 0 0 1 9.091-9.09"})),hn||(hn=e.createElement("path",{fill:"currentColor",d:"M127.908 100.729c5.021 0 9.09 5.02 9.09 9.09v72.728a9.09 9.09 0 0 1-9.09 9.09c-5.021 0-9.091-5.021-9.091-9.09v-72.728a9.09 9.09 0 0 1 9.091-9.09"})))};function Cn(){return Cn=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},Cn.apply(null,arguments)}var wn,xn=function(t){return e.createElement("svg",Cn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),bn||(bn=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 Sn(){return Sn=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},Sn.apply(null,arguments)}var kn,Tn=function(t){return e.createElement("svg",Sn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),wn||(wn=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"})))},Bn=function(t){var n,r,o=Q(t),a=e.useState({isExpand:t.isExpand}),i=a[0],c=a[1];return r=t.renderItem?t.renderItem(t.node):e.createElement(ke,null,!!t.node.icon&&e.createElement(Je,null,t.node.icon),e.createElement(We,{caption:t.node.name})),e.createElement("div",{className:o.getClassName("v-tree-block"),style:o.getStyle()},e.createElement(ke,{cross:ge.Top,gap:"0.2em"},e.createElement(Je,{size:V.ExtraSmall,onClick:function(){c({isExpand:!i.isExpand})}},i.isExpand?t.expandIcon?t.expandIcon:e.createElement(xn,null):t.collapseIcon?t.collapseIcon:e.createElement(Tn,null)),e.createElement(Pe,{gap:"1em"},r,!!i.isExpand&&(null===(n=t.node.children)||void 0===n?void 0:n.map((function(t,n){return e.createElement(Bn,{key:"".concat(t.name,"-").concat(n),node:t})}))))))},Pn=function(t){return e.createElement(K,{vClassName:"v-tree"},e.createElement(Bn,{node:t.rootNode,isExpand:t.isExpand,expandIcon:t.expandIcon,collapseIcon:t.collapseIcon}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(kn||(kn={}));var _n;!function(e){e.Hover="hover",e.Click="click"}(_n||(_n={}));var Rn,In=function(t){var n=Q(t);return e.createElement("div",O({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"}(Rn||(Rn={}));var Ln;function On(){return On=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},On.apply(null,arguments)}var Dn,An=function(t){return e.createElement("svg",On({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ln||(Ln=e.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},Nn=function(e){l.isInitialized||e()},Vn=function(e,t,n,r){Nn((function(){t?l.initialize(e,{testMode:!0,gaOptions:n,gtagOptions:r}):l.initialize(e,{gaOptions:n,gtagOptions:r})}))},zn=function(e,t){l.send({hitType:"pageview",page:e})};!function(e){e.Beacon="beacon",e.Xhr="xhr",e.Image="image"}(Dn||(Dn={}));var Fn,Wn="--den-";!function(e){e.Global="global",e.Area="area"}(Fn||(Fn={}));var Gn,Hn=Object.freeze({__proto__:null,get AnimationCategory(){return je},get AnimationDelay(){return qe},get AnimationRepeat(){return Xe},get AnimationSpeed(){return Ye},get BackgroundPositionType(){return et},Base:Q,BaseComponent:He,get BorderRadiusType(){return I},get BreakpointType(){return J},get ButtonCategory(){return Qe},get ButtonShapeType(){return Qe},get CardWindowSizeType(){return Ke},get ColorType(){return k},get ComponentType(){return W},Debug:function(t){return t.isDebug?e.createElement("div",{className:"debug"},t.children):e.createElement("div",{className:"no-debug"},t.children)},get DesignerConnectionPointType(){return Dt},get DesignerNodeType(){return Ot},Display: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!=ee.Only?t.type==ee.Up?r="".concat(t.breakpoint,"-up-").concat(t.category):t.type==ee.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 o={className:r};return e.cloneElement(n,o)}return n}(n)}))):e.createElement(e.Fragment,null)},get DisplayCategory(){return $},get DisplayType(){return ee},Dock:oe,get DockCategory(){return te},get EllipseCategory(){return Te},get ExtensionStatus(){return kn},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 Et},Flex:pe,get FlexAlignContentType(){return de},get FlexAlignItemsType(){return se},get FlexDirectionType(){return ce},FlexItem:he,get FlexItemAlignSelfType(){return me},get FlexJustifyContentType(){return ue},get FlexWrapType(){return le},get FontFamilyType(){return B},get FontWeightType(){return T},GA4:function(t){Vn(t.trackingId,t.isDebugMode,t.options);var r=n();return e.useEffect((function(){zn(r.pathname,t.isDebugMode)}),[r]),e.createElement(e.Fragment,null)},get GAEventTransportType(){return Dn},GAPI:function(t){return e.useEffect((function(){if("undefined"==typeof gapi){var e=t.clientId,n=t.enableGoogle,r=t.disableGoogle,o=document.createElement("script");o.src="https://apis.google.com/js/platform.js",o.onload=function(){gapi.load("auth2",(function(){var t={client_id:e,cookie_policy:"none"};gapi.auth2.init(t).then((function(){n()}))}))},o.onerror=function(){r()},document.body.appendChild(o)}})),e.createElement(e.Fragment,null)},get GoogleFontType(){return Rn},GoogleSignin:function(t){return e.createElement("div",{className:"google-signin",onClick:function(){void 0===window.gapi?t.showStopWorkingMessage():window.gapi.auth2.getAuthInstance().signIn().then((function(e){var n=e.getBasicProfile(),r=e.getAuthResponse().id_token,o={id:n.getId(),name:n.getName(),avatarUrl:n.getImageUrl(),token:r};t.initGoogleAccount(o)})).catch((function(e){t.showErrorMessage(e)}))}},t.children)},get HandleSubmitCategory(){return ct},get HyperlinkCategory(){return tt},get ImageCategory(){return Ge},get LabelAlignType(){return ze},get LabelCategory(){return Ne},get LabelType(){return Ve},get LetterSpacingType(){return R},get LineCategory(){return Le},get LineHeightType(){return P},get PaddingType(){return _},get PhotoCategory(){return nt},get PhotoPositionType(){return rt},Position:ie,PositionArea:fe,get PositionAreaCategory(){return ae},get PositionCategory(){return ne},get PositionType(){return re},get RootCategory(){return H},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 Ae},get SizeType(){return V},get SvgCategory(){return Me},get TextAlignType(){return it},get TextCategory(){return at},get ThemeCategory(){return Fn},get TooltipCategory(){return _n},VActionForm:function(t){return e.createElement("form",{className:"v-action-form",action:t.action,method:t.method,target:t.target},t.children)},VAnimation:Ze,VAvatar:function(t){var n=t.badgeOffset?t.badgeOffset:"-0.2em",r=t.statusOffset?t.statusOffset:"-0.2em";return e.createElement(fe,null,e.createElement(K,O({vClassName:"v-avatar"},t),e.createElement(Fe,{category:Ae.Max},"string"==typeof t.avatar||t.avatar instanceof String?e.createElement(Ue,{isAutoSize:t.isAutoSize,category:Ge.Circle,size:V.Large,src:t.avatar,alt:"null"}):e.createElement(Je,{isAutoSize:t.isAutoSize,category:Me.Circle,size:V.ExtraLarge},t.avatar),!!t.badge&&e.createElement(ie,{category:ne.Area,bottom:n,right:n},"string"==typeof t.badge||t.badge instanceof String?e.createElement(Ue,{isAutoSize:t.isAutoSize,category:Ge.Circle,size:V.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:k.Light}):e.createElement(Je,{isAutoSize:t.isAutoSize,category:Me.Circle,frontColor:k.Secondary,backgroundColor:k.White,size:V.Small},t.badge)),!!t.status&&e.createElement(ie,{category:ne.Area,top:r,right:r},e.createElement(Oe,{isAutoSize:t.isAutoSize,category:Te.Fixed,size:V.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(K,O({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],o=n[1];return e.createElement(Ie,{className:"v-base64file"},e.createElement(St,{name:t.name,value:r.base64Image}),e.createElement(dt,{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",o({base64Image:e})},n.readAsDataURL(t)},overWrite:function(n){return e.createElement(Pe,{gap:"0.2em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},t.fileIcon,e.createElement(Ue,{size:t.size,category:Ge.Scale,src:"data:image/png;base64,".concat(r.base64Image),alt:"file"}))}}))},VBlock:function(t){return e.createElement(K,O({vClassName:"v-block"},t),e.createElement(Ce,{cross:ge.Middle,gap:"1em"},t.icon,e.createElement(Re,{gap:"0.2em"},t.title,t.subTitle),t.action))},VBoundary:Ie,VButton:$e,VCard:function(t){var n=Q(t);return e.createElement("div",O({className:n.getClassName("v-card"),style:n.getStyle()},t.customAttibutes,{draggable:t.isDraggable}),e.createElement(Pe,{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(Pe,{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(Pe,null,e.createElement(xe,null,t.title,t.icon),e.createElement(we,{cross:ge.Top,gap:"1em"},t.avatar,e.createElement(Pe,{gap:"1em"},t.name,t.post,e.createElement(ke,{gap:"0.6em"},t.hashTags.map((function(e,t){return e}))))),e.createElement(Ee,null,t.leftAction,t.rightAction)))},VCardWindow:function(t){var n=e.useState({isDetailShow:!1}),r=n[0],o=n[1],a=Q(t),i=O(O({},a.getStyle()),{backgroundImage:'url("'.concat(t.backgroundUrl,'")')});return e.createElement("div",{className:a.getClassName("v-card-window-".concat(t.backgroundSize?t.backgroundSize:Ke.Auto)),style:i,onMouseEnter:function(){o({isDetailShow:!0})},onMouseLeave:function(){o({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],o=n[1];return e.createElement(dt,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!r.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(n){return e.createElement(ke,{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"))?o({isChecked:!1}):o({isChecked:!0})}},e.createElement(Je,{frontColor:t.frontColor,size:t.size},r.isChecked?e.createElement(pt,null):e.createElement(vt,null)),e.createElement(We,{frontColor:t.frontColor,size:t.size,caption:t.label?t.label:""}))}})},VChromeExtensionValidator:function(t){var n,r=e.useState({}),o=r[0],a=r[1];return e.useEffect((function(){var e;o.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?a(O(O({},o),{status:kn.Ready})):a(O(O({},o),{status:kn.Outdated})):a(O(O({},o),{status:kn.Ready})):a(O(O({},o),{status:kn.Outdated})):a(O(O({},o),{status:kn.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||a(O(O({},o),{status:kn.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),o.status===kn.Uninstalled?n=t.uninstalledCaption:o.status===kn.Outdated&&(n=t.outdatedCaption),e.createElement(Ie,null,!(o.status===kn.Ready)&&(t.overWrite&&o.status?t.overWrite(o.status):e.createElement(ot,{category:tt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com"},n)))},VColor:function(t){return e.createElement(dt,O({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e.createElement(dt,O({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e.createElement(dt,O({type:"datetime-local",isDefaultValue:!0},t))},VDesigner:function(t){var n,o,a,i=e.useState({isToolboxExtend:!1}),c=i[0],l=i[1],u=Q(t);e.useEffect((function(){var e,i,c,l,u="dynamic-point",s=new r.Layer({id:"elements",name:"Elements"}),d=new r.Layer({id:"connections",name:"Connections"}),f=function(e,r,o){var a=n.findOne("#".concat(e,">").concat(r));if(a){if(e!=o){var i=n.findOne("#".concat(e));i&&(i.find("Ring").forEach((function(e,n){e.fill(t.normalColor)})),i.find("Wedge").forEach((function(e,n){e.fill(t.normalColor)}))),s.add(i)}if(r!=o){var c=n.findOne("#".concat(r));c&&(c.find("Ring").forEach((function(e,n){e.fill(t.normalColor)})),c.find("Wedge").forEach((function(e,n){e.fill(t.normalColor)}))),s.add(c)}a.destroy()}},m=function(e){for(var t=e;t.parent&&"Layer"!=t.parent.nodeType;)t=t.parent;return t},p=function(e,n,r){var o,a,i=m(n);if(i&&i.id()!=r){if(o=n.getClientRect(),!((a=e).x>o.x+o.width||a.x+a.width<o.x||a.y>o.y+o.height||a.y+a.height<o.y)){if(n.fill(t.selectedColor),"Wedge"==n.className)n.radius(12);else if("Ring"==n.className){(c=n).outerRadius(12),c.innerRadius(0)}return{id:i.id(),pointType:jt(n.name())}}if(n.fill(t.normalColor),"Wedge"==n.className)n.radius(6);else if("Ring"==n.className){var c;(c=n).outerRadius(8),c.innerRadius(4)}}},g=function(e,i){o={id:e,pointType:i};var c=u;n.findOne("#".concat(e,">").concat(c))&&f(e,c);var l=n.findOne("#".concat(u));if(!l){var m=n.getPointerPosition(),g=new r.Circle({name:"Temp Point",radius:12,fill:t.connectionColor});(l=new r.Group({id:"".concat(c),x:m?m.x:0,y:m?m.y:0,name:"Temp",draggable:!0})).add(g),s.add(l),l.on("dragmove",(function(t){a=void 0;var r=t.target.getClientRect();n.find("Wedge").forEach((function(t){var n=p(r,t,e);n&&(a=n)})),n.find("Ring").forEach((function(t){var n=p(r,t,e);n&&(a=n)}))}))}var h={id:"".concat(e,">").concat(c),type:Ot.Connection,upstream:e,downstream:c,upstreamPointType:o.pointType==Dt.Center?void 0:i,isAnimated:!0};new Jt(d,h,t.selectedColor,t.normalColor,t.connectionColor).draw()},h=document.getElementById("designer-menu"),v=document.getElementById("designer-delete-button");if(v&&v.addEventListener("click",(function(){var e=m(l);if(e){if(e.name()==Ot.Connection){var t=e.id().split(">");if("Bezier Line"==l.name())f(t[0],t[1]);else{var n=function(e){for(var t=e;t.parent&&(t.parent.name()==Ot.Element||t.parent.name()==Ot.Group);)t=t.parent;return t}(l);f(t[0],t[1],n.id())}}else e.destroyChildren(),e.destroy();h&&(h.style.display="none")}})),t.isAutoLayout){if(!n){var y=Vt("v-designer-autosize");n=0!=y.width?new r.Stage({name:"FewBox",container:t.containerName?t.containerName:"v-designer",width:y.width,height:y.height,draggable:!0}):new r.Stage({name:"FewBox",container:t.containerName?t.containerName:"v-designer",draggable:!0})}zt("v-designer-autosize",(function(e){n.width(e.width),n.height(e.height)}))}else n||(n=new r.Stage({name:"FewBox",container:t.containerName?t.containerName:"v-designer",width:t.width,height:t.height,draggable:!0}));n.on("mouseup",(function(e){if(a){f(o.id,u);var r=n.findOne("#".concat(u));r&&r.destroy();var i=n.findOne("#".concat(o.id,">").concat(u));i&&i.destroy();var c={id:"".concat(o.id,">").concat(a.id),type:Ot.Connection,upstream:o.id,downstream:a.id,upstreamPointType:o.pointType==Dt.Center?void 0:o.pointType,downstreamPointType:a.pointType==Dt.Center?void 0:a.pointType,isAnimated:!0};new Jt(d,c,t.selectedColor,t.normalColor,t.connectionColor).draw(),a=void 0}}));var b=n.container();b.addEventListener("dragover",(function(e){e.preventDefault()})),b.addEventListener("drop",(function(e){var r;if(e.preventDefault(),n.setPointersPositions(e),i){var o,a=null===(r=s.children)||void 0===r?void 0:r.filter((function(e){return e.id().startsWith(i.attributes["fb-id"].value)})).length,l=a&&0!=a?a+1:1,u="".concat(i.attributes["fb-id"].value,"-").concat(l),d=n.getPointerPosition();if((o={id:u,width:i.offsetWidth,x:d?d.x-c.x:0,y:d?d.y-c.y:0,type:Ot.Element,content:i.outerHTML,connectionPointType:Dt.All,isGlobalStyle:!0,onClick:function(e){}}).type==Ot.Element)new qt(s,o,t.selectedColor,t.normalColor,t.connectionColor,g).draw();else if(o.type==Ot.Group){new Yt(s,o,t.selectedColor,t.normalColor,t.connectionColor,g).draw()}else if(o.type==Ot.Connection){new Jt(s,o,t.selectedColor,t.normalColor,t.connectionColor).draw()}else console.debug("Unknown node type!")}})),n.add(s),n.add(d),null===(e=t.nodeItems)||void 0===e||e.forEach((function(e,n){if(e.type==Ot.Element)new qt(s,e,t.selectedColor,t.normalColor,t.connectionColor,g).draw();else if(e.type==Ot.Group){new Yt(s,e,t.selectedColor,t.normalColor,t.connectionColor,g).draw()}else if(e.type==Ot.Connection){new Jt(s,e,t.selectedColor,t.normalColor,t.connectionColor,g).draw()}})),document.addEventListener("dragstart",(function(e){if(i=e.target){var t=i.getBoundingClientRect();c={x:e.clientX-t.left,y:e.clientY-t.top}}})),n.on("contextmenu",(function(e){if(e.evt.preventDefault(),e.target!==n){l=e.target;var t=n.getPointerPosition();if(h){h.style.display="initial";var r=n.container().getBoundingClientRect();h.style.top=r.top+(t?t.y:0)+4+"px",h.style.left=r.left+(t?t.x:0)+4+"px"}}}))}));var s=function(e){var t,n={key:"".concat(e.id()),name:"[".concat(e.name(),"]").concat(e.id()," (").concat(e.x(),",").concat(e.y(),")")};return e.hasChildren()&&(n.children=[],null===(t=e.children)||void 0===t||t.forEach((function(e,t){var r,o=s(e);null===(r=n.children)||void 0===r||r.push(o)}))),n};return e.createElement("div",{id:"v-designer-autosize",className:"v-designer-autosize",style:{height:t.autosizeHeight}},e.createElement(fe,null,e.createElement(Ie,null,e.createElement("div",{id:t.containerName?t.containerName:"v-designer",className:u.getClassName("v-designer"),style:u.getStyle()}),!!t.toolbox&&e.createElement(ie,{category:ne.Area,type:re.Right},e.createElement(Ie,{borderStyle:"solid",borderColor:k.Border,borderWidth:"1px",backgroundColor:k.White},e.createElement(Pe,null,!!c.isToolboxExtend&&e.createElement(_e,{padding:"1em",height:t.autosizeHeight,cross:ve.Center},e.createElement(Pe,{gap:"2em"},e.createElement(xe,null,e.createElement(We,{isAutoSize:t.isAutoSize,size:V.Normal,weight:T.Bold,caption:t.toolboxCaption}),e.createElement(Je,{isAutoSize:t.isAutoSize,size:V.ExtraSmall,onClick:function(){l(O(O({},c),{isToolboxExtend:!1}))}},t.rightIcon?t.rightIcon:e.createElement(fn,null))),t.toolbox),e.createElement(Pe,null,!!c.debugNode&&e.createElement(Pn,{rootNode:c.debugNode}),e.createElement(be,{gap:"1em"},e.createElement($e,{isAutoSize:t.isAutoSize,icon:e.createElement(Je,{size:V.ExtraSmall},t.downloadIcon?t.downloadIcon:e.createElement($t,null)),onClick:function(){var e,t,r,o=n.toDataURL({pixelRatio:3});e=o,t="download.png",(r=document.createElement("a")).download=t,r.href=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}),e.createElement($e,{isAutoSize:t.isAutoSize,icon:e.createElement(Je,{size:V.ExtraSmall},t.clearIcon?t.clearIcon:e.createElement(rn,null)),onClick:function(){n.destroyChildren()}}),!!Wt.getInstance().options.isDebug&&e.createElement($e,{icon:e.createElement(Je,{size:V.ExtraSmall},t.debugIcon?t.debugIcon:e.createElement(ln,null)),onClick:function(){var e=s(n);console.debug(e),l(O(O({},c),{debugNode:e}))}})))),!c.isToolboxExtend&&e.createElement(Pe,{padding:"1em 0",height:t.autosizeHeight,cross:ve.Center},e.createElement(Je,{isAutoSize:t.isAutoSize,size:V.ExtraSmall,frontColor:k.Dark,onClick:function(){l(O(O({},c),{isToolboxExtend:!0}))}},t.leftIcon?t.leftIcon:e.createElement(vn,null)))))))),e.createElement(Ie,{customAttibutes:{id:"designer-menu"}},e.createElement(Pe,{gap:"1em"},e.createElement(xe,{padding:"1em 0 0 1em"},e.createElement(We,{isAutoSize:t.isAutoSize,caption:t.contextMenuCaption}),e.createElement(Je,{isAutoSize:t.isAutoSize,onClick:function(){var e=document.getElementById("designer-menu");e&&(e.style.display="none")}},t.closeIcon?t.closeIcon:e.createElement(At,null))),e.createElement(Ie,{padding:"0 1em 1em 1em"},e.createElement($e,{isAutoSize:t.isAutoSize,customAttibutes:{id:"designer-delete-button"},caption:t.deleteCaption,icon:e.createElement(Je,null,t.deleteIcon?t.deleteIcon:e.createElement(En,null))})))))},VDropdown:function(t){var n,r,o=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}),a=o[0],i=o[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(In,O({vClassName:"v-dropdown"},t),e.createElement(St,{id:t.id?t.id:t.name,name:t.name,valueHook:null===(n=a.selectValue)||void 0===n?void 0:n.toString(),ref:c}),e.createElement(oe,{zIndex:a.isSelectionShow?2e9:-2e9,category:te.RightInnerBottom,renderOverlay:function(){return e.createElement(Ie,{id:"".concat(t.name,"-dock"),visibility:a.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius},e.createElement(Pe,{backgroundColor:k.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid"},a.items.map((function(n,r){return t.overWriteDropdownItem?e.createElement(Ie,{key:"item".concat(r)},t.overWriteDropdownItem(n)):e.createElement(ke,{gap:"0.2em",padding:"0.2em 1em",key:"item".concat(r),className:"item",onClick:function(){i(O(O({},a),{isSelectionShow:!1,selectIcon:n.icon,selectCaption:n.caption,selectValue:n.value,items:t.items})),t.onChange&&t.onChange(n.value)}},n.icon?e.createElement(Je,{size:V.ExtraSmall},n.icon):e.createElement(e.Fragment,null),e.createElement(We,{caption:n.caption}))})),!(0!=a.items.length)&&e.createElement(Je,{size:V.ExtraSmall,onClick:function(){}},t.emptyIcon)))}},e.createElement(Nt,{padding:t.padding,isReadonly:t.isReadonly,size:t.size,icon:e.createElement(Je,{size:t.size?t.size:V.Normal},a.selectIcon?a.selectIcon:t.icon),valueHook:null===(r=a.selectCaption)||void 0===r?void 0:r.toString(),enableClear:t.enableClear,extensions:[{option:e.createElement(Je,{size:t.size?t.size:V.Small,onClick:function(){}},a.isSelectionShow?t.upIcon:t.downIcon),handleOption:function(e){i(O(O({},a),{isSelectionShow:!a.isSelectionShow}))}}],onClick:function(){i(O(O({},a),{isSelectionShow:!a.isSelectionShow}))},onChange:function(e){var n;n=e.target.value,i(O(O({},a),{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:a.selectValue===a.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,O({},t),t.children):e.createElement(We,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:k.Placeholder,frontColor:k.White})):e.createElement(e.Fragment,null,n?e.createElement(n,O({},t)):e.createElement(We,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:k.Placeholder,frontColor:k.White}))},VEllipse:Oe,VEmail:function(t){return e.createElement(dt,O({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var n=e.useState({fileName:t.emptyMessage,isLoading:!1}),r=n[0],o=n[1],a=function(){o(O(O({},r),{isLoading:!1}))},i=function(e){e.preventDefault(),t.autoUpload&&(e.currentTarget.className="v-file")};return e.createElement(Ie,{className:"v-file",onDrop:function(e){if(e.preventDefault(),t.autoUpload){var n=e.dataTransfer.files;1==n.length&&(o(O(O({},r),{fileName:n[0].name,isLoading:!0})),t.autoUpload(n[0],a),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(dt,O({type:"file",isDefaultValue:!0},t,{onChange:function(e){o(O(O({},r),{fileName:e.target.files[0].name})),t.autoUpload&&(o(O(O({},r),{fileName:e.target.files[0].name,isLoading:!0})),t.autoUpload(e.target.files[0],a))},overWrite:function(n){return t.category&&t.category==Et.Vertical?e.createElement(Pe,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()},cross:ve.Center},t.fileIcon,e.createElement(Ie,null,t.caption),e.createElement(We,{category:Ne.Div,alignType:ze.Center,caption:r.fileName}),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(yt,{animationCategory:je.Flash},e.createElement(Se,null,e.createElement(Je,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(Ct,null)))))):e.createElement(Pe,{gap:"1em",cross:ve.Center},e.createElement(be,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},t.fileIcon,e.createElement(We,{caption:r.fileName})),e.createElement(Ie,null,t.caption),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(yt,{animationCategory:je.Flash},e.createElement(Je,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(Ct,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=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==ct.FormData)t.handleSubmit(r);else{var o=lt(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)}}},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(K,{vClassName:"v-frame",borderRadius:t.borderRadius,style:n},e.createElement("div",O({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,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==Rn.Italic})),i=a&&a.length>0?"ital,wght":"wght",c=document.createElement("link");c.rel="stylesheet";var l=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==Rn.Normal?l.push("0,".concat(G(e.weight))):e.type==Rn.Italic&&l.push("1,".concat(G(e.weight))):l.push(G(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e.createElement(e.Fragment,null)},VGroup:function(t){var n=e.useState({selectedValue:t.selectedValue}),r=n[0],o=n[1];return e.createElement(e.Fragment,null,t.renderGroup(r.selectedValue,(function(e){o(e.currentTarget.value)})))},VHidden:St,VHyperlink:ot,VImage:Ue,VLabel:We,VLine:function(t){return e.createElement(K,O({vClassName:"v-line-".concat(t.category)},t))},VLink:function(n){return e.createElement(t,{to:n.to},n.children)},VLoading:yt,VMask:function(t){return e.createElement(ie,{zIndex:t.zIndex?t.zIndex:1e8,category:ne.Window,type:re.Center},e.createElement(fe,null,e.createElement(Ie,{width:"100vw",height:"100vh",backgroundColor:k.Dark75},e.createElement(ie,{category:ne.Area,type:re.Center},t.children))))},VMonth:function(t){return e.createElement(dt,O({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e.createElement(dt,O({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e.createElement(dt,O({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VPaypal:function(t){return e.createElement(i,{options:t.options},e.createElement(c,O({},t.buttonOptions)))},VPhoto:function(t){var n=Q(t),r=O(O({},n.getStyle()),{backgroundImage:'url("'.concat(t.src,'")'),width:t.width?t.width:"",height:t.height?t.height:""});return e.createElement(Ie,O({className:n.getClassName("v-photo-".concat(t.category,"-").concat(t.position?t.position:rt.Center)),style:r},t),t.children)},VRadio:function(t){return e.createElement(dt,O({type:"radio",customAttibutes:{checked:!!t.isChecked},isDefaultValue:!0},t,{overWrite:function(n){return e.createElement(ke,{onClick:function(){var e;console.log(n.current),null===(e=n.current)||void 0===e||e.click()}},e.createElement(Je,{padding:"0.4em",frontColor:t.frontColor,size:t.size},t.isChecked?e.createElement(Bt,null):e.createElement(It,null)),e.createElement(We,{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(dt,O({type:"range",isDefaultValue:!0},t,{inputClassName:n}))},VRectangle:function(t){return e.createElement(K,O({vClassName:"v-rectangle-".concat(t.category?t.category:De.Default)},t))},VSearch:function(t){return e.createElement(dt,O({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSelect:function(t){var n=Q(t);return e.createElement(Ie,O({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:Fe,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(Se,{cross:ge.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:Je,VSwitch:function(t){var n=Q(t),r=e.useState({isOn:t.isOn}),o=r[0],a=r[1],i=t.icon?e.createElement(Je,{frontColor:k.White},t.icon):e.createElement(Ie,{width:"1em",height:"1em"}),c=t.isDisabled?void 0:function(){t.isDisabled||(t.onSwitch&&t.onSwitch(!o.isOn),a({isOn:!o.isOn}))};return e.createElement(K,O({},t,{vClassName:n.getClassName(t.isDisabled?"v-switch-disabled":"v-switch"),borderRadius:"32em",backgroundColor:o.isOn?t.frontColor?t.frontColor:k.Success:t.backgroundColor?t.backgroundColor:k.Placeholder}),e.createElement(xe,{onClick:c,gap:t.gap?t.gap:"0.6em"},o.isOn?e.createElement(Je,{category:Me.Circle,frontColor:k.White},e.createElement(An,null)):i,o.isOn?i:e.createElement(Je,{category:Me.Circle,frontColor:k.White},e.createElement(An,null))))},VTel:function(t){return e.createElement(dt,O({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n,r;switch(t.alignType){case it.Center:r="v-text-center";break;case it.Justify:r="v-text-justify";break;case it.Left:r="v-text";break;case it.Right:r="v-text-right";break;default:r="v-text"}switch(t.category){case at.P:n=e.createElement("p",null,t.content);break;case at.Address:n=e.createElement("address",null,t.content);break;case at.Article:n=e.createElement("article",null,t.content);break;case at.Aside:n=e.createElement("aside",null,t.content);break;case at.Details:n=e.createElement("details",null,t.content);break;case at.Section:n=e.createElement("section",null,t.content);break;default:n=e.createElement("div",null,t.content)}return e.createElement(K,O({vClassName:r},t),n)},VTextArea:function(t){var n=e.useState({value:t.value}),r=n[0],o=n[1],a=e.useRef(null);return e.createElement(K,O({vClassName:"v-validity v-textarea"},t),e.createElement(we,{cross:ge.Top,gap:"0.6em"},t.icon,e.createElement(Ie,null,e.createElement("textarea",{ref:t.ref?t.ref:a,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:r.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})}}))))},VTextBox:Nt,VTheme:function(t){return e.useEffect((function(){var e;t.category==Fn.Area?t.area&&(e=document.getElementById(t.area)):e=document.documentElement,e&&(Object.keys(t.theme.colors).forEach((function(n){e.style.setProperty("".concat(Wn,"color-").concat(n),t.theme.colors[n])})),Object.keys(t.theme.fontSizes).forEach((function(n){e.style.setProperty("".concat(Wn).concat(n),t.theme.fontSizes[n])})),Object.keys(t.theme.fontWeights).forEach((function(n){e.style.setProperty("".concat(Wn).concat(n),t.theme.fontWeights[n])})))}),[]),t.category==Fn.Area?t.area?e.createElement(Ie,{id:t.area,backgroundColor:k.Body},t.children):e.createElement(We,{backgroundColor:k.Error,caption:"No Area!"}):e.createElement(e.Fragment,null)},VTime:function(t){return e.createElement(dt,O({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r,o=e.useState({isShow:!1}),a=o[0],i=o[1];switch(n=t.category?t.category:_n.Hover,t.dockCategory){case te.Top:r=F.Top;break;case te.Right:r=F.Right;break;case te.Bottom:r=F.Bottom;break;case te.Left:r=F.Left;break;default:r=F.Top}return console.debug(r),e.createElement(K,O({vClassName:"v-tooltip"},t),e.createElement(oe,{category:t.dockCategory,zIndex:a.isShow?9999:-9999,renderOverlay:function(){return e.createElement(Ie,{className:"content",opacity:a.isShow?1:0},t.content?t.content:e.createElement(We,{caption:t.caption,padding:"0.6em 1.8em",borderRadius:"0.2em",frontColor:t.textFrontColor,backgroundColor:t.textBackgroundColor}))}},e.createElement(Ie,{onClick:function(){n==_n.Click&&i({isShow:!a.isShow})},onMouseEnter:function(){n==_n.Hover&&i({isShow:!0})},onMouseLeave:function(){n==_n.Hover&&i({isShow:!1})}},t.children)))},VTree:Pn,VUrl:function(t){return e.createElement(dt,O({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VWeek:function(t){return e.createElement(dt,O({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e.createElement(K,{vClassName:"v-zone-".concat(t.category)},t.children)},get ViewSizeType(){return L},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:be,XAround:function(e){return ye(e,void 0,void 0,(function(){return ue.SpaceAround}))},XAutoBoth:Ee,XAutoCenter:Ce,XAutoLeft:function(t){return ye(t,(function(t,n,r){return 0==n?e.createElement(he,{grow:1,alignSelf:r},t):e.createElement(he,{grow:0,alignSelf:r},t)}))},XAutoLefts:function(t){var n=Q(t);return ye(t,(function(r,o,a){return o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:0,alignSelf:a},r):e.createElement(he,{grow:1,alignSelf:a},r)}))},XAutoRight:we,XAutoRights:function(t){return ye(t,(function(t,n,r){return 0==n?e.createElement(he,{grow:0,alignSelf:r},t):e.createElement(he,{grow:1,alignSelf:r},t)}))},XBetween:xe,XCenter:Se,get XCrossType(){return ge},XCustom:function(t){return ye(t,(function(n,r){var o=e.createElement(he,null,n);return t.basises&&r<t.basises.length&&(o=e.createElement(he,{basis:t.basises[r]},n)),o}))},XCustomBoth:function(t){var n=Q(t);return ye(t,(function(r,o){return 0==o||o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{basis:t.basis},r):e.createElement(he,{grow:1},r)}))},XEvenly:function(e){return ye(e,void 0,void 0,(function(){return ue.SpaceEvenly}))},XLeft:ke,XRight:function(e){return ye(e,void 0,void 0,(function(){return ue.End}))},XWrapAround:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.SpaceAround}))},XWrapBetween:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.SpaceBetween}))},XWrapBottom:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.End}))},XWrapEvenly:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.SpaceEvenly}))},XWrapMiddle:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.Center}))},XWrapTop:function(e){return ye(e,void 0,(function(){return le.Wrap}),void 0,(function(){return de.Start}))},Y:Pe,YAround:function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.SpaceAround}))},YAutoBoth:function(t){var n=Q(t);return Be(t,(function(r,o,a){return 0!=o&&o!=e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:0,alignSelf:a},r):e.createElement(he,{grow:1,alignSelf:a},r)}))},YAutoBottom:function(t){var n=Q(t);return Be(t,(function(r,o){return o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:1},r):e.createElement(he,{grow:0},r)}))},YAutoBottoms:function(t){return Be(t,(function(t,n,r){return 0==n?e.createElement(he,{grow:0,alignSelf:r},t):e.createElement(he,{grow:1,alignSelf:r},t)}))},YAutoCenter:function(t){var n=Q(t);return Be(t,(function(r,o,a){return 0!=o&&o!=e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:1,alignSelf:a},r):e.createElement(he,{grow:0,alignSelf:a},r)}))},YAutoTop:function(t){return Be(t,(function(t,n,r){return 0==n?e.createElement(he,{grow:1,alignSelf:r},t):e.createElement(he,{grow:0,alignSelf:r},t)}))},YAutoTops:function(t){var n=Q(t);return Be(t,(function(r,o,a){return o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{grow:0,alignSelf:a},r):e.createElement(he,{grow:1,alignSelf:a},r)}))},YBetween:_e,YBottom:function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.End}))},get YCrossType(){return ve},YCustom:function(t){return Be(t,(function(n,r){var o=e.createElement(he,null,n);return t.basises&&r<t.basises.length&&(o=e.createElement(he,{basis:t.basises[r]},n)),o}))},YCustomBoth:function(t){var n=Q(t);return Be(t,(function(r,o){return 0==o||o==e.Children.count(n.getChildren(t))-1?e.createElement(he,{basis:t.basis},r):e.createElement(he,{grow:1},r)}))},YEvenly:function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.SpaceEvenly}))},YMiddle:Re,YTop:function(e){return Be(e,void 0,void 0,void 0,(function(){return ue.Start}))},YWrapAround:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.SpaceAround}),void 0)},YWrapBetween:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.SpaceBetween}))},YWrapCenter:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.Center}))},YWrapEvenly:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.SpaceEvenly}))},YWrapLeft:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.Start}))},YWrapRight:function(e){return Be(e,void 0,(function(){return le.Wrap}),(function(){return de.End}))},get ZoneCategory(){return Z},convertFormDataToJson:lt,ga4Event:function(e,t){l.event(e)},ga4Init:Vn,ga4Pageview:zn,ga4Scope:Nn,ga4SetFieldsObject:function(e,t){l.set(e)},getGeneratedClassName:q,parseJWT:function(e){var t={},n=u(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}}),Mn=s(),Un=function(){return navigator.language},jn=function(){return Un().split("-")[0]},Xn=Object.freeze({__proto__:null,getBrowserLang:jn,getBrowserLangFull:Un,getIntlMessage:function(e,t,n){var r=Wt.getInstance().options.getLanguages(t);return d({locale:t||"en",messages:r},Mn).formatMessage({id:e},n)},language:function(e,t,n){switch(null==n?jn():n){case"en":default:return e;case"zh":return t}},languageFull:function(e,t){return e[null==t?Un():t]}}),Yn={},qn={accept:"application/json","content-type":"application/json"},Jn=function(e){var t=Wt.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):"")},Qn=function(e,t){var n=Wt.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):"")},Zn=function(e){var t,n,r=e||qn,o=Wt.getInstance().options.getToken(),a=null===(n=(t=Wt.getInstance().options).getHeaders)||void 0===n?void 0:n.call(t);return o&&o.length>0&&(r=O(O({},r),{authorization:"Bearer ".concat(o)})),a&&(r=O(O({},r),a)),Wt.getInstance().options.isDebug&&console.debug(JSON.stringify(r)),r},Kn=function(e,t,n,r,o,a){fetch(e,{method:t,headers:Zn(n),body:a}).then((function(e){r(e)})).catch((function(e){o(e)}))},$n=function(e,t,n,r){return fetch(e,{method:t,headers:Zn(n),body:r})},er=function(e,t,n,r,o,a){Kn(Jn(e),t,n,r,o)},tr=function(e,t,n,r){return $n(Jn(e),t,n,r)},nr=function(e,t,n,r,o,a,i){Kn(Qn(e,t),n,r,o,a)},rr=function(e,t,n,r,o){return $n(Qn(e,t),n,r,o)},or=function(e){var t;return t=e.external?"".concat(Qn(e.external)).concat(e.query):"".concat(Jn()).concat(e.query),new WebSocket(t,e.protocols)},ar=function(e){function t(){var t=e.call(this)||this;return t.Path="",t.ParseData=function(){},t}return S(t,e),t.prototype.GetHeader=function(e){return Zn(e)},t.prototype.GetFormHeader=function(){var e,t,n,r=Wt.getInstance().options.getToken(),o=null===(t=(e=Wt.getInstance().options).getHeaders)||void 0===t?void 0:t.call(e);return n=r&&r.length>0?O(O({},Yn),{authorization:"Bearer ".concat(r)}):O({},Yn),o&&(n=O(O({},n),o)),Wt.getInstance().options.isDebug&&console.debug(JSON.stringify(n)),n},t.prototype.Pipe=function(e){var t=this;return this.Action?e.pipe(p((function(e){return null!=e.ok?e.json():f(e)})),g((function(e){Wt.getInstance().options.isDebug&&console.debug(JSON.stringify(e));var n=t.ParseData(e);return n.isSuccessful?t.Action?t.Action(n.payload):(Wt.getInstance().options.handleError({summary:"isSuccessful: true; action: empty",data:n}),C()):"boolean"!=typeof n.isSuccessful?(Wt.getInstance().options.handleError({summary:"isSucessful: not boolean;",data:n}),t.Action?t.Action(n):C()):(Wt.getInstance().options.handleIsNotSuccessful(n),C())})),h(3),v((function(e){return Wt.getInstance().options.handleNetworkError({summary:"Network Issue",data:e}),f(C())}))):e},t}(m),ir=function(e,t){if(e.response.errors){Wt.getInstance().options.handleError({summary:"GQL Error",data:e.response.errors});var n=[];return e.response.errors.forEach((function(e,t){n.push(e.message)})),{isSuccessful:!1,errorCode:"0001",errorMessage:n.join(";")}}return e.response.data[t]?e.response.data[t].isSuccessful?e.response.data[t]:{isSuccessful:!0,payload:e.response.data[t]}:{isSuccessful:!1,errorCode:"0003",errorMessage:"Please check the field is match GraphQL string!"}},cr=function(e){return e.response},lr=function(e){return e},ur=function(e){var t=typeof e;if("object"==t){var n="",r=Object.keys(e);return r.forEach((function(t,o){var a=o==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(ur(e)).concat(r)})),n+="]\n"):n+="".concat(t,":").concat(ur(i)).concat(a,"\n"):"string"==c?i.startsWith("#")?n+="".concat(t,":").concat(i.replace("#","")).concat(a,"\n"):n+="".concat(t,':"').concat(i,'"').concat(a,"\n"):n+="".concat(t,":").concat(i).concat(a,"\n")})),"{\n ".concat(n,"\n }")}return"string"==t?e.startsWith("#")?"".concat(e.replace("#","")):'"'.concat(e,'"'):"".concat(e)},sr=function(e){function t(t,n){var r=e.call(this)||this;return r.Path=t,r.Action=n,r.ParseData=cr,r}return S(t,e),t.prototype.GetUrl=function(){return Jn(this.Path)},t}(ar),dr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(y.delete(r.GetUrl(),r.GetHeader()))}return S(t,e),t}(sr),fr=function(e){function t(t,n,r){var o=e.call(this)||this;return o.Path=t,o.External=n,o.Action=r,o.ParseData=function(e){return e.response},Wt.getInstance().options.isDebug&&console.debug(o.External),o}return S(t,e),t.prototype.GetUrl=function(){return Qn(this.External,this.Path)},t}(ar),mr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(y.delete(o.GetUrl(),o.GetHeader()))}return S(t,e),t}(fr),pr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(y.get(o.GetUrl(),o.GetHeader()))}return S(t,e),t}(fr),gr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.patch(a.GetUrl(),r,a.GetHeader()))}return S(t,e),t}(fr),hr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.post(a.GetUrl(),r,a.GetHeader()))}return S(t,e),t}(fr),vr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.put(a.GetUrl(),r,a.GetHeader()))}return S(t,e),t}(fr),yr=function(e){function t(t,n,r){var o=e.call(this)||this;return o.Path=t,o.Action=r,o.ParseData=function(e){return ir(e,n)},o}return S(t,e),t.prototype.GetUrl=function(){return Jn(this.Path)},t}(ar),br=function(e){function t(t,n,r){var o=e.call(this,"graphql",n,r)||this;return o.Pipe(y.post("".concat(o.GetUrl()),t,o.GetHeader()))}return S(t,e),t}(yr),Er=function(e){function t(t,n,r,o){var a=e.call(this)||this;return a.Path=t,a.External=r,a.Action=o,a.ParseData=function(e){return ir(e,n)},a}return S(t,e),t.prototype.GetUrl=function(){return Qn(this.External,this.Path)},t}(ar),Cr=function(e){function t(t,n,r,o){var a=e.call(this,"graphql",n,r,o)||this;return a.Pipe(y.post("".concat(a.GetUrl()),t,a.GetHeader()))}return S(t,e),t}(Er),wr={},xr=function(e){function t(t,n,r){var o=e.call(this,"graphql",n,r)||this;return o.Pipe(y.post("".concat(o.GetUrl()),t,o.GetHeader(wr)))}return S(t,e),t}(yr),Sr=function(e){function t(t,n,r,o){var a=e.call(this,"graphql",n,r,o)||this;return a.Pipe(y.post("".concat(a.GetUrl()),t,a.GetHeader(wr)))}return S(t,e),t}(Er),kr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(y.get(r.GetUrl(),r.GetHeader()))}return S(t,e),t}(sr),Tr=function(e){function t(t,n){var r=e.call(this,t,n)||this,o="".concat(location.origin,"/").concat(t);return r.Pipe(y.get(o,r.GetHeader()))}return S(t,e),t}(sr),Br=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.patch(o.GetUrl(),n,o.GetHeader()))}return S(t,e),t}(sr),Pr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.post(o.GetUrl(),n,o.GetHeader()))}return S(t,e),t}(sr),_r=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.put(o.GetUrl(),n,o.GetHeader()))}return S(t,e),t}(sr),Rr=function(e){function t(t,n){var r=e.call(this)||this;return r.Path=t,r.Action=n,r.ParseData=lr,r}return S(t,e),t.prototype.GetUrl=function(){return Jn(this.Path)},t}(ar),Ir=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(b(r.GetUrl(),{method:"GET",headers:r.GetHeader()}))}return S(t,e),t}(Rr),Lr=function(e){function t(t,n,r){var o=e.call(this)||this;return o.Path=t,o.External=n,o.Action=r,o.ParseData=lr,o}return S(t,e),t.prototype.GetUrl=function(){return Qn(this.External,this.Path)},t}(ar),Or=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(b(o.GetUrl(),{method:"GET",headers:o.GetHeader()}))}return S(t,e),t}(Lr),Dr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(b(r.GetUrl(),{method:"POST",headers:r.GetHeader()}))}return S(t,e),t}(Rr),Ar=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(b(o.GetUrl(),{method:"POST",headers:o.GetHeader()}))}return S(t,e),t}(Lr),Nr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(b(r.GetUrl(),{method:"PUT",headers:r.GetHeader()}))}return S(t,e),t}(Rr),Vr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(b(o.GetUrl(),{method:"PUT",headers:o.GetHeader()}))}return S(t,e),t}(Lr),zr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(b(r.GetUrl(),{method:"PATCH",headers:r.GetHeader()}))}return S(t,e),t}(Rr),Fr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(b(o.GetUrl(),{method:"PATCH",headers:o.GetHeader()}))}return S(t,e),t}(Lr),Wr=function(e){function t(t,n,r,o,a,i){var c=e.call(this,t,n,o,a,i)||this;return new m((function(e){c.Pipe("POST",r)}))}return S(t,e),t}(function(e){function t(t,n,r,o,a){var i=e.call(this)||this;return i.Path=t,i.External=n,i.Action=r,i.ErrorHandler=o,i.DoneHandler=a,i}return S(t,e),t.prototype.GetHeader=function(e){return Zn(e)},t.prototype.GetUrl=function(){return Qn(this.External,this.Path)},t.prototype.Pipe=function(e,t){return D(this,void 0,void 0,(function(){var n=this;return A(this,(function(r){switch(r.label){case 0:return[4,fetch(this.GetUrl(),{method:e,headers:{Accept:"text/event-stream",Connection:"keep-alive","Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return D(n,void 0,void 0,(function(){var t,n,r;return A(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.Action(r),[3,1]);case 3:return[2]}}))}))})).catch((function(e){n.ErrorHandler(e)}))];case 1:return r.sent(),[2]}}))}))},t}(m)),Gr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.post(o.GetUrl(),n,o.GetFormHeader()))}return S(t,e),t}(sr),Hr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.post(a.GetUrl(),r,a.GetFormHeader()))}return S(t,e),t}(fr),Mr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.put(o.GetUrl(),n,o.GetFormHeader()))}return S(t,e),t}(sr),Ur=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.put(a.GetUrl(),r,a.GetFormHeader()))}return S(t,e),t}(fr),jr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.Pipe(y.patch(o.GetUrl(),n,o.GetFormHeader()))}return S(t,e),t}(sr),Xr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.Pipe(y.patch(a.GetUrl(),r,a.GetFormHeader()))}return S(t,e),t}(fr),Yr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(y.get(r.GetUrl(),r.GetFormHeader()))}return S(t,e),t}(sr),qr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(y.get(o.GetUrl(),o.GetFormHeader()))}return S(t,e),t}(fr),Jr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(y.delete(r.GetUrl(),r.GetFormHeader()))}return S(t,e),t}(sr),Qr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.Pipe(y.delete(o.GetUrl(),o.GetFormHeader()))}return S(t,e),t}(fr),Zr=function(){function e(e){this.websocket=or(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}(),Kr=Object.freeze({__proto__:null,Delete:dr,DeleteExternal:mr,DeleteForm:Jr,DeleteFormExternal:Qr,GQL:br,GQLExternal:Cr,GQLExternalUpload:Sr,GQLUpload:xr,Get:kr,GetExternal:pr,GetFetch:Ir,GetFetchExternal:Or,GetForm:Yr,GetFormExternal:qr,GetLocal:Tr,JsonHeaders:qn,NetworkObservableAjax:sr,NetworkObservableAjaxExternal:fr,NetworkObservableGQL:yr,Patch:Br,PatchExternal:gr,PatchFetch:zr,PatchFetchExternal:Fr,PatchForm:jr,PatchFormExternal:Xr,Post:Pr,PostExternal:hr,PostFetch:Dr,PostFetchExternal:Ar,PostForm:Gr,PostFormExternal:Hr,PostSSE:Wr,Put:_r,PutExternal:vr,PutFetch:Nr,PutFetchExternal:Vr,PutForm:Mr,PutFormExternal:Ur,WS:Zr,_verbsDelete:function(e,t,n,r){Kn(e,"DELETE",t,n,r)},_verbsDeletePromise:function(e,t){return $n(e,"DELETE",t)},_verbsGet:function(e,t,n,r){Kn(e,"GET",t,n,r)},_verbsGetPromise:function(e,t){return $n(e,"GET",t)},_verbsPatch:function(e,t,n,r,o){Kn(e,"PATCH",t,r,o,n)},_verbsPatchPromise:function(e,t,n){return $n(e,"PATCH",t,n)},_verbsPost:function(e,t,n,r,o){Kn(e,"POST",t,r,o,n)},_verbsPostPromise:function(e,t,n){return $n(e,"POST",t,n)},_verbsPut:function(e,t,n,r,o){Kn(e,"PUT",t,r,o,n)},_verbsPutPromise:function(e,t,n){return $n(e,"PUT",t,n)},buildExternalUrl:Qn,buildHeaders:Zn,buildUrl:Jn,convertJsonToGraphQLSchema:ur,parseAjaxData:cr,parseFetchData:lr,parseGQLAjaxData:ir,verbsDelete:function(e,t,n,r){er(e,"DELETE",t,n,r)},verbsDeleteExternal:function(e,t,n,r,o){nr(e,t,"DELETE",n,r,o)},verbsDeletePromise:function(e,t){return tr(e,"DELETE",t)},verbsDeletePromiseExternal:function(e,t,n){return rr(e,t,"DELETE",n)},verbsGet:function(e,t,n,r){er(e,"GET",t,n,r)},verbsGetExternal:function(e,t,n,r,o){nr(e,t,"GET",n,r,o)},verbsGetPromise:function(e,t){return tr(e,"GET",t)},verbsGetPromiseExternal:function(e,t,n){return rr(e,t,"GET",n)},verbsPatch:function(e,t,n,r,o){er(e,"PATCH",t,r,o)},verbsPatchExternal:function(e,t,n,r,o,a){nr(e,t,"PATCH",n,o,a)},verbsPatchPromise:function(e,t,n){return tr(e,"PATCH",t,n)},verbsPatchPromiseExternal:function(e,t,n,r){return rr(e,t,"PATCH",n,r)},verbsPost:function(e,t,n,r,o){er(e,"POST",t,r,o)},verbsPostExternal:function(e,t,n,r,o,a){nr(e,t,"POST",n,o,a)},verbsPostPromise:function(e,t,n){return tr(e,"POST",t,n)},verbsPostPromiseExternal:function(e,t,n,r){return rr(e,t,"POST",n,r)},verbsPut:function(e,t,n,r,o){er(e,"PUT",t,r,o)},verbsPutExternal:function(e,t,n,r,o,a){nr(e,t,"PUT",n,o,a)},verbsPutPromise:function(e,t,n){return tr(e,"PUT",t,n)},verbsPutPromiseExternal:function(e,t,n,r){return rr(e,t,"PUT",n,r)},ws:or}),$r=Object.freeze({__proto__:null});!function(e){e.Action=w,e.Components=Hn,e.FewBox=Gt,e.Language=Xn,e.Network=Kr,e.Store=$r}(Gn||(Gn={}));export{Gn as Den};
|
|
1
|
+
import*as e from"react";import{Link as t,useLocation as n}from"react-router-dom";import{PayPalScriptProvider as r,PayPalButtons as a}from"@paypal/react-paypal-js";import o from"react-ga4";import{jwtDecode as i}from"jwt-decode";import{createIntlCache as c,createIntl as l}from"react-intl";import{of as u,Observable as s}from"rxjs";import{switchMap as d,map as f,retry as m,catchError as p}from"rxjs/operators";import{ajax as g}from"rxjs/ajax";import{fromFetch as h}from"rxjs/fetch";var v;!function(e){e.EMPTY="EMPTY",e.RESET="RESET"}(v||(v={}));var y=function(){return{type:v.EMPTY}},b=Object.freeze({__proto__:null,emptyAction:y,resetAction:function(){return{type:v.RESET}}}),E=function(e,t){return E=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])},E(e,t)};function C(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}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var S,w,k,x,_,T,B,D,P=function(){return P=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},P.apply(this,arguments)};function I(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"}(S||(S={})),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"}(k||(k={})),function(e){e.Default="line-height"}(x||(x={})),function(e){e.Default="padding"}(_||(_={})),function(e){e.Default="letter-spacing"}(T||(T={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(B||(B={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(D||(D={}));var L,N,R,A,F=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"}(L||(L={})),function(e){e.All="all",e.Before="before",e.After="after"}(N||(N={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(R||(R={})),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"}(A||(A={}));var z,G=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),W=function(e){this.component=e},H=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.sizeType=n,a.isAuto=r,a}return C(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(L).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(W),U=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return C(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(W),M=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 C(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 R.Bottom:r=" ".concat(e).concat(a,"-border-bottom");break;case R.ExceptBottom:r=" ".concat(e).concat(a,"-border-except-bottom");break;case R.ExceptLeft:r=" ".concat(e).concat(a,"-border-except-left");break;case R.ExceptRight:r=" ".concat(e).concat(a,"-border-except-right");break;case R.ExceptTop:r=" ".concat(e).concat(a,"-border-except-top");break;case R.Left:r=" ".concat(e).concat(a,"-border-left");break;case R.LeftBottom:r=" ".concat(e).concat(a,"-border-left-bottom");break;case R.LeftRight:r=" ".concat(e).concat(a,"-border-left-right");break;case R.LeftTop:r=" ".concat(e).concat(a,"-border-left-top");break;case R.Right:r=" ".concat(e).concat(a,"-border-right");break;case R.RightBottom:r=" ".concat(e).concat(a,"-border-right-bottom");break;case R.RightTop:r=" ".concat(e).concat(a,"-border-right-top");break;case R.Top:r=" ".concat(e).concat(a,"-border-top");break;case R.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(S.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(S.White,"-before-background"):"",a=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(S.White,"-after-background"):"",o="".concat(r).concat(a),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(S.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(S.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(S.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(S.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(S.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(o).concat(i).concat(u).concat(e).concat(t)},t}(W),j=function(e,t,n,r,a,o,i,c,l,u,s,d,f,m){return new M(new H(new U(new G(e),a),n,r),t,o,i,c,l,u,s,d,f,m).getClassName()};!function(e){e.Div="div",e.Span="span"}(z||(z={}));var X,Y=function(e){return{getClassName:function(t){var n=j(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 P(P({},e.style),n)},getChildren:function(e){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name?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"}(X||(X={}));var q,J=function(t){var n=Y(t);return t.rootCategory==z.Span?e.createElement("span",P({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.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",P({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.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"}(q||(q={}));var Z,Q;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(Z||(Z={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Q||(Q={}));var K;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(K||(K={}));var $,ee,te=function(t){var 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==K.Bottom||t.category==K.Top){var e="-".concat(Math.abs(o.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==K.Left||t.category==K.Right){var n="".concat(Math.abs(o.current.offsetHeight-r.current.offsetHeight)/2,"px");r.current.style.top=n}else if(t.category==K.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==K.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==K.RightTop){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==K.RightBottom){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==K.LeftInnerTop);else if(t.category==K.LeftInnerBottom);else if(t.category==K.RightInnerTop){e="".concat(o.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==K.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 K.Bottom:n="dock-overlay-bottom";break;case K.Left:n="dock-overlay-left";break;case K.LeftBottom:n="dock-overlay-leftbottom";break;case K.LeftTop:n="dock-overlay-lefttop";break;case K.Right:n="dock-overlay-right";break;case K.RightBottom:n="dock-overlay-rightbottom";break;case K.RightTop:n="dock-overlay-righttop";break;case K.Top:n="dock-overlay-top";break;case K.LeftInnerBottom:n="dock-overlay-leftinnerbottom";break;case K.LeftInnerTop:n="dock-overlay-leftinnertop";break;case K.RightInnerBottom:n="dock-overlay-rightinnerbottom";break;case K.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"}($||($={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(ee||(ee={}));var ne,re=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=P(P({},t.style),{zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)}r=void 0;return r=t.category!=$.Self?P(P({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):P(P({},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"}(ne||(ne={}));var ae,oe,ie,ce,le,ue=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:ne.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"}(ae||(ae={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(oe||(oe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(ie||(ie={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ce||(ce={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(le||(le={}));var se,de=function(t){var n=P(P({},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==z.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"}(se||(se={}));var fe,me=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=P(P({},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"}(fe||(fe={}));var pe,ge=function(t,n,r,a,o){var i=Y(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(me,{key:"child".concat(r),alignSelf:a},t)};return e.createElement(de,{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 fe.Stretch:e=ce.Stretch;break;case fe.Baseline:e=ce.Baseline;break;case fe.Bottom:e=ce.End;break;case fe.Middle:e=ce.Center;break;case fe.Top:e=ce.Start;break;default:e=ce.Center}else e=ce.Center;return e}(),wrap:r?r():oe.NoWrap,justifyContent:a?a():ie.Start,alignContent:o?o():le.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,se.Start):"SMiddle"===r.props.typeName?c(r.props.children,n,se.Center):"SBottom"===r.props.typeName?c(r.props.children,n,se.End):"SStretch"===r.props.typeName?c(r.props.children,n,se.Stretch):"SBaseline"===r.props.typeName?c(r.props.children,n,se.Baseline):c(r,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check X layout children.")):void 0})))},he=function(t){return ge(t,(function(t,n,r){return e.createElement(me,{grow:1,alignSelf:r},t)}))},ve=function(t){var n=Y(t);return ge(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:0,alignSelf:o},r):e.createElement(me,{grow:1,alignSelf:o},r)}))},ye=function(t){var n=Y(t);return ge(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:1,alignSelf:o},r):e.createElement(me,{grow:0,alignSelf:o},r)}))},be=function(t){var n=Y(t);return ge(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:1},r):e.createElement(me,{grow:0},r)}))},Ee=function(e){return ge(e,void 0,void 0,(function(){return ie.SpaceBetween}))},Ce=function(e){return ge(e,void 0,void 0,(function(){return ie.Center}))},Se=function(e){return ge(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(pe||(pe={}));var we,ke=function(t,n,r,a,o){var i=Y(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(me,{key:"child".concat(r),alignSelf:a},t)};return e.createElement(de,{className:i.getClassName("v-ybase"),style:i.getStyle(),overflow:t.overflow,gap:t.gap,wrap:r?r():oe.NoWrap,alignContent:a?a():le.Start,alignItems:function(){var e;if(t.cross)switch(t.cross){case pe.Left:e=ce.Start;break;case pe.Center:e=ce.Center;break;case pe.Right:e=ce.End;break;case pe.Baseline:e=ce.Baseline;break;default:e=ce.Stretch}else e=ce.Stretch;return e}(),direction:ae.Column,justifyContent:o?o():ie.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,se.Start):r&&"SMiddle"===r.props.typeName||r&&"SCenter"===r.props.typeName?c(r.props.children,n,se.Center):r&&"SRight"===r.props.typeName?c(r.props.children,n,se.End):r&&"SStretch"===r.props.typeName?c(r.props.children,n,se.Stretch):r&&"SBaseline"===r.props.typeName?c(r.props.children,n,se.Baseline):c(t,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check Y layout children.")):void 0})))},xe=function(t){return ke(t,(function(t,n,r){return e.createElement(me,{grow:1,alignSelf:r},t)}))},_e=function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.Center}))},Te=function(t){return e.createElement(J,P({id:t.id,vClassName:"v-boundary"},t),e.createElement("div",{onClick:t.onClick,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave},t.children))};!function(e){e.Default="default",e.Fixed="fixed"}(we||(we={}));var Be,De=function(t){return e.createElement(J,P({vClassName:"v-ellipse-".concat(t.category?t.category:we.Default)},t),t.children)};!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Be||(Be={}));var Pe;!function(e){e.Default="default",e.Fixed="fixed"}(Pe||(Pe={}));var Ie;!function(e){e.Default="default",e.Max="max"}(Ie||(Ie={}));var Oe,Ve,Le,Ne=function(t){var n=Y(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:Ie.Default)),style:P(P({},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"}(Oe||(Oe={})),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"}(Le||(Le={}));var Re=function(t){var n,r;switch(t.alignType){case Le.Center:r="v-label-center";break;case Le.Justify:r="v-label-justify";break;case Le.Left:r="v-label";break;case Le.Right:r="v-label-right";break;default:r="v-label"}switch(t.type==Ve.Circle&&(r="".concat(r,"-circle")),t.isTextOverflow&&(r+=" v-label-text-overflow"),t.category){case Oe.Div:n=e.createElement("div",null,t.caption);break;case Oe.Span:n=e.createElement("span",null,t.caption);break;case Oe.H1:n=e.createElement("h1",null,t.caption);break;case Oe.H2:n=e.createElement("h2",null,t.caption);break;case Oe.H3:n=e.createElement("h3",null,t.caption);break;case Oe.H4:n=e.createElement("h4",null,t.caption);break;case Oe.H5:n=e.createElement("h5",null,t.caption);break;case Oe.H6:n=e.createElement("h6",null,t.caption);break;case Oe.I:n=e.createElement("i",null,t.caption);break;case Oe.B:n=e.createElement("b",null,t.caption);break;case Oe.U:n=e.createElement("u",null,t.caption);break;case Oe.Abbr:n=e.createElement("abbr",{title:t.title},t.caption);break;case Oe.Em:n=e.createElement("em",null,t.caption);break;case Oe.Strong:n=e.createElement("strong",null,t.caption);break;case Oe.Blockquote:n=e.createElement("blockquote",{cite:t.cite},t.caption);break;case Oe.Cite:n=e.createElement("cite",null,t.caption);break;case Oe.Code:n=e.createElement("code",null,t.caption);break;case Oe.Del:n=e.createElement("del",null,t.caption);break;case Oe.Dfn:n=e.createElement("dfn",null,t.caption);break;case Oe.Ins:n=e.createElement("ins",null,t.caption);break;case Oe.Kbd:n=e.createElement("kbd",null,t.caption);break;case Oe.Mark:n=e.createElement("mark",null,t.caption);break;case Oe.Pre:n=e.createElement("pre",null,t.caption);break;case Oe.Q:n=e.createElement("q",null,t.caption);break;case Oe.S:n=e.createElement("s",null,t.caption);break;case Oe.Samp:n=e.createElement("samp",null,t.caption);break;case Oe.Small:n=e.createElement("small",null,t.caption);break;case Oe.Summary:n=e.createElement("summary",null,t.caption);break;case Oe.Sub:n=e.createElement("sub",null,t.caption);break;case Oe.Sup:n=e.createElement("sup",null,t.caption);break;case Oe.Time:n=e.createElement("time",null,t.caption);break;case Oe.Var:n=e.createElement("var",null,t.caption);break;case Oe.Wbr:n=e.createElement("wbr",null,t.caption);break;default:n=e.createElement("span",null,t.caption)}return t.type==Ve.Circle?e.createElement(ue,null,e.createElement(J,P({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},t),e.createElement(re,{category:$.Area,type:ee.Center},n))):e.createElement(J,P({display:null==t.category||t.category==Oe.Span?"inline-block":"block",vClassName:r},t),n)};var Ae,Fe=function(e){function t(t){var n=e.call(this,t)||this;return n._base=Y(t),n}return C(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"}(Ae||(Ae={}));var ze,Ge=function(t){var n=Y(t),r=t.category?t.category:Ae.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"}(ze||(ze={}));var We,He,Ue,Me,je=function(t){var n=Y(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){var a=t.category?t.category:ze.Default,o=n.getClassName("v-svg-".concat(a)),i=t.onClick,c=t.onMouseEnter,l=t.onMouseLeave,u={className:o,style:P(P({},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"}(We||(We={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(He||(He={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ue||(Ue={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(Me||(Me={}));var Xe,Ye=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"}(Xe||(Xe={}));var qe;!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}(qe||(qe={}));var Je;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(Je||(Je={}));var Ze;!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(Ze||(Ze={}));var Qe,Ke,$e=function(t){var n=Y(t);return e.createElement(J,P({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"}(Qe||(Qe={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(Ke||(Ke={}));var et,tt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(et||(et={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(tt||(tt={}));var nt,rt=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"}(nt||(nt={}));var at,ot,it=function(t){var n,r=e.useState({value:void 0!==t.value?t.value:""}),a=r[0],o=r[1],i=e.useRef(null),c=e.useRef(null);return e.useEffect((function(){var e;t.ref?null===(e=t.ref.current)||void 0===e||e.focus():t.isFocus&&i.current&&i.current.focus()})),t.overWrite&&(n=t.ref?t.overWrite(t.ref):t.overWrite(i)),e.createElement(J,P({vClassName:"v-validity v-input".concat(t.inheritClassName?" ".concat(t.inheritClassName):"")},t),e.createElement(xe,{display:n?"none":void 0},e.createElement(ye,{gap:"0.6em"},e.createElement(Te,null,!!t.icon&&t.icon),e.createElement(Te,null,e.createElement("input",P({ref:t.ref?t.ref:i},t.customAttibutes,{className:t.inputClassName,style:P(P({},t.inputStyle),{display:t.isReadonly?"none":"block"}),required:t.isRequired,placeholder:t.placeholder,type:t.type,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:a.value,min:t.min,max:t.max,step:t.step,disabled:t.disabled,onChange:function(e){var n,r;t.isValueShow&&o({value:t.ref?null===(n=t.ref.current)||void 0===n?void 0:n.value:null===(r=i.current)||void 0===r?void 0:r.value}),t.onChange&&t.onChange(e),t.setStateHook?t.setStateHook(e.target.value):o({value:e.target.value})},onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp,onClick:t.onClick,onBlur:t.onBlur,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onDrag:t.onDrag})),!!t.isReadonly&&e.createElement("div",{ref:t.readonlyRef?t.readonlyRef:c},t.valueHook?t.valueHook:a.value?a.value.toString():""),!!t.label&&e.createElement("label",{htmlFor:t.id?t.id:t.name},t.label)),e.createElement(Te,null,!!t.extensions&&e.createElement(he,null,t.extensions.map((function(n,r){return e.createElement("span",{key:"extension".concat(r),className:"extension",onClick:function(){var e=t.ref?t.ref.current:i.current;n.handleOption(e)}},n.option)}))))),!!t.isValueShow&&e.createElement(Ce,null,e.createElement(Re,{padding:t.valuePadding,isAutoSize:t.isAutoSize,size:t.valueSize?t.valueSize:L.Normal,frontColor:t.valueColor?t.valueColor:S.Black,caption:void 0!==a.value?a.value.toString():t.value?t.value.toString():""}))),!!n&&n)};function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ct.apply(null,arguments)}var lt,ut=function(t){return e.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),at||(at=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"})),ot||(ot=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 st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},st.apply(null,arguments)}var dt,ft=function(t){return e.createElement("svg",st({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),lt||(lt=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"})))},mt=function(t){var n=Y(t);return e.createElement(Te,P({className:n.getClassName("v-loading"),style:n.getStyle()},t),e.createElement(Ye,{category:t.animationCategory?t.animationCategory:We.Flip,speed:t.animationSpeed?t.animationSpeed:Ue.Slower,repeat:He.Infinite},t.children))};function pt(){return pt=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},pt.apply(null,arguments)}var gt,ht=function(t){return e.createElement("svg",pt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),dt||(dt=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"}(gt||(gt={}));var vt,yt,bt=function(t){return e.createElement(it,P({ref:t.ref,display:"none",type:"hidden",id:t.id?t.id:t.name},t))};function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Et.apply(null,arguments)}var Ct,St=function(t){return e.createElement("svg",Et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),vt||(vt=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"})),yt||(yt=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 wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wt.apply(null,arguments)}var kt,xt,_t=function(t){return e.createElement("svg",wt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ct||(Ct=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 Tt(){return Tt=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},Tt.apply(null,arguments)}var Bt,Dt=function(t){return e.createElement("svg",Tt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),kt||(kt=e.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),xt||(xt=e.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Pt=function(t){var n;if(t.enableClear){var r={option:e.createElement(je,{size:L.ExtraSmall,frontColor:S.Placeholder,onClick:function(){}},e.createElement(Dt,null)),handleOption:function(e){e.value=""}};n=t.extensions?V(V([],t.extensions,!0),[r],!1):[r]}else t.extensions&&(n=t.extensions);return e.createElement(it,P({ref:t.ref,readonlyRef:t.readonlyRef,isFocus:t.isFocus,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},t,{extensions:n}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(Bt||(Bt={}));var It;!function(e){e.Hover="hover",e.Click="click"}(It||(It={}));var Ot,Vt=function(t){var n=Y(t);return e.createElement("div",P({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"}(Ot||(Ot={}));var Lt;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,At=function(t){return e.createElement("svg",Nt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Lt||(Lt=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 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,Gt=function(t){return e.createElement("svg",Ft({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Rt||(Rt=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"})))},Wt=function(t){var n,r,a=Y(t),o=e.useState({isExpand:t.isExpand}),i=o[0],c=o[1];return r=t.renderItem?t.renderItem(t.node):e.createElement(Se,null,!!t.node.icon&&e.createElement(je,null,t.node.icon),e.createElement(Re,{caption:t.node.name})),e.createElement("div",{className:a.getClassName("v-tree-block"),style:a.getStyle()},e.createElement(Se,{cross:fe.Top,gap:"0.2em"},e.createElement(je,{size:L.ExtraSmall,onClick:function(){c({isExpand:!i.isExpand})}},i.isExpand?t.expandIcon?t.expandIcon:e.createElement(At,null):t.collapseIcon?t.collapseIcon:e.createElement(Gt,null)),e.createElement(xe,{gap:"1em"},r,!!i.isExpand&&(null===(n=t.node.children)||void 0===n?void 0:n.map((function(t,n){return e.createElement(Wt,{key:"".concat(t.name,"-").concat(n),node:t})}))))))};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 Ut,Mt=function(t){return e.createElement("svg",Ht({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),zt||(zt=e.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},jt=function(e){o.isInitialized||e()},Xt=function(e,t,n,r){jt((function(){t?o.initialize(e,{testMode:!0,gaOptions:n,gtagOptions:r}):o.initialize(e,{gaOptions:n,gtagOptions:r})}))},Yt=function(e,t){o.send({hitType:"pageview",page:e})};!function(e){e.Beacon="beacon",e.Xhr="xhr",e.Image="image"}(Ut||(Ut={}));var qt,Jt="fewbox-google-api";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(qt||(qt={}));var Zt,Qt="fewbox-google-auth",Kt="--den-";!function(e){e.Global="global",e.Area="area"}(Zt||(Zt={}));var $t,en=Object.freeze({__proto__:null,get AnimationCategory(){return We},get AnimationDelay(){return Me},get AnimationRepeat(){return He},get AnimationSpeed(){return Ue},get BackgroundPositionType(){return Je},Base:Y,BaseComponent:Fe,get BorderRadiusType(){return B},get BreakpointType(){return X},get ButtonCategory(){return Xe},get ButtonShapeType(){return Xe},get CardWindowSizeType(){return qe},get ColorType(){return S},get ComponentType(){return A},Debug:function(t){return t.isDebug?e.createElement("div",{className:"debug"},t.children):e.createElement("div",{className:"no-debug"},t.children)},Display: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!=Q.Only?t.type==Q.Up?r="".concat(t.breakpoint,"-up-").concat(t.category):t.type==Q.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)},get DisplayCategory(){return Z},get DisplayType(){return Q},Dock:te,get DockCategory(){return K},get EllipseCategory(){return we},get ExtensionStatus(){return Bt},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 gt},Flex:de,get FlexAlignContentType(){return le},get FlexAlignItemsType(){return ce},get FlexDirectionType(){return ae},FlexItem:me,get FlexItemAlignSelfType(){return se},get FlexJustifyContentType(){return ie},get FlexWrapType(){return oe},get FontFamilyType(){return k},get FontWeightType(){return w},GA4:function(t){Xt(t.trackingId,t.isDebugMode,t.options);var r=n();return e.useEffect((function(){Yt(r.pathname,t.isDebugMode)}),[r]),e.createElement(e.Fragment,null)},get GAEventTransportType(){return Ut},Google:function(t){return e.useEffect((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:"https://www.googleapis.com/auth/calendar",callback:function(e){t.callback(e.access_token)}}),n=document.getElementById(Jt);null==n||n.addEventListener("click",(function(){e.requestAccessToken()})),t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e.createElement(Te,{id:Jt},t.children)},get GoogleFontType(){return Ot},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.category!=qt.Prompt?t.category:void 0,use_fedcm_for_prompt:t.category==qt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.category==qt.Prompt)google.accounts.id.prompt((function(e){e.isNotDisplayed()||e.isSkippedMoment()}));else{var e=document.getElementById(Qt);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(Te,{id:Qt})},get GoogleSigninCategory(){return qt},get HandleSubmitCategory(){return nt},get HyperlinkCategory(){return Ze},get ImageCategory(){return Ae},get LabelAlignType(){return Le},get LabelCategory(){return Oe},get LabelType(){return Ve},get LetterSpacingType(){return T},get LineCategory(){return Be},get LineHeightType(){return x},get PaddingType(){return _},get PhotoCategory(){return Qe},get PhotoPositionType(){return Ke},Position:re,PositionArea:ue,get PositionAreaCategory(){return ne},get PositionCategory(){return $},get PositionType(){return ee},get RootCategory(){return z},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 Ie},get SizeType(){return L},get SvgCategory(){return ze},get TextAlignType(){return tt},get TextCategory(){return et},get ThemeCategory(){return Zt},get TooltipCategory(){return It},VActionForm:function(t){return e.createElement("form",{className:"v-action-form",action:t.action,method:t.method,target:t.target},t.children)},VAnimation:Ye,VAvatar:function(t){var n=t.badgeOffset?t.badgeOffset:"-0.2em",r=t.statusOffset?t.statusOffset:"-0.2em";return e.createElement(ue,null,e.createElement(J,P({vClassName:"v-avatar"},t),e.createElement(Ne,{category:Ie.Max},"string"==typeof t.avatar||t.avatar instanceof String?e.createElement(Ge,{isAutoSize:t.isAutoSize,category:Ae.Circle,size:L.Large,src:t.avatar,alt:"null"}):e.createElement(je,{isAutoSize:t.isAutoSize,category:ze.Circle,size:L.ExtraLarge},t.avatar),!!t.badge&&e.createElement(re,{category:$.Area,bottom:n,right:n},"string"==typeof t.badge||t.badge instanceof String?e.createElement(Ge,{isAutoSize:t.isAutoSize,category:Ae.Circle,size:L.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:S.Light}):e.createElement(je,{isAutoSize:t.isAutoSize,category:ze.Circle,frontColor:S.Secondary,backgroundColor:S.White,size:L.Small},t.badge)),!!t.status&&e.createElement(re,{category:$.Area,top:r,right:r},e.createElement(De,{isAutoSize:t.isAutoSize,category:we.Fixed,size:L.Normal,backgroundColor:t.status,borderStyle:"solid",borderWidth:"0.1em",borderColor:S.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(J,P({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(Te,{className:"v-base64file"},e.createElement(bt,{name:t.name,value:r.base64Image}),e.createElement(it,{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(xe,{gap:"0.2em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},t.fileIcon,e.createElement(Ge,{size:t.size,category:Ae.Scale,src:"data:image/png;base64,".concat(r.base64Image),alt:"file"}))}}))},VBlock:function(t){return e.createElement(J,P({vClassName:"v-block"},t),e.createElement(ye,{cross:fe.Middle,gap:"1em"},t.icon,e.createElement(_e,{gap:"0.2em"},t.title,t.subTitle),t.action))},VBoundary:Te,VButton:function(t){var n=e.useState({isClick:!1}),r=n[0],a=n[1],o=e.createElement(J,P({vClassName:"v-button-".concat(t.category?t.category:Xe.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(Ce,{cross:fe.Middle,gap:"0.6em"},!!t.icon&&e.createElement(je,{size:t.size,frontColor:t.frontColor},t.icon),!(!t.caption||t.category==Xe.Circle)&&e.createElement(Re,{size:t.size,frontColor:t.frontColor,caption:t.caption})));return r.isClick?e.createElement(Ye,{category:We.Pulse,repeat:He.Once},o):o},VCard:function(t){var n=Y(t);return e.createElement("div",P({className:n.getClassName("v-card"),style:n.getStyle()},t.customAttibutes,{draggable:t.isDraggable}),e.createElement(xe,{gap:"0.6em"},t.head,t.body))},VCardMedia:function(t){var n=Y(t);return e.createElement("div",{className:n.getClassName("v-card-media"),style:n.getStyle()},e.createElement(xe,{gap:"1em"},t.media,t.head,t.body,t.foot))},VCardSocial:function(t){var n=Y(t);return e.createElement("div",{className:n.getClassName("v-card-social"),style:n.getStyle()},e.createElement(xe,null,e.createElement(Ee,null,t.title,t.icon),e.createElement(be,{cross:fe.Top,gap:"1em"},t.avatar,e.createElement(xe,{gap:"1em"},t.name,t.post,e.createElement(Se,{gap:"0.6em"},t.hashTags.map((function(e,t){return e}))))),e.createElement(ve,null,t.leftAction,t.rightAction)))},VCardWindow:function(t){var n=e.useState({isDetailShow:!1}),r=n[0],a=n[1],o=Y(t),i=P(P({},o.getStyle()),{backgroundImage:'url("'.concat(t.backgroundUrl,'")')});return e.createElement("div",{className:o.getClassName("v-card-window-".concat(t.backgroundSize?t.backgroundSize:qe.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(it,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!r.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(n){return e.createElement(Se,{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(je,{frontColor:t.frontColor,size:t.size},r.isChecked?e.createElement(ut,null):e.createElement(ft,null)),e.createElement(Re,{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(P(P({},a),{status:Bt.Ready})):o(P(P({},a),{status:Bt.Outdated})):o(P(P({},a),{status:Bt.Ready})):o(P(P({},a),{status:Bt.Outdated})):o(P(P({},a),{status:Bt.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||o(P(P({},a),{status:Bt.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),a.status===Bt.Uninstalled?n=t.uninstalledCaption:a.status===Bt.Outdated&&(n=t.outdatedCaption),e.createElement(Te,null,!(a.status===Bt.Ready)&&(t.overWrite&&a.status?t.overWrite(a.status):e.createElement($e,{category:Ze.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com"},n)))},VColor:function(t){return e.createElement(it,P({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e.createElement(it,P({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e.createElement(it,P({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(Vt,P({vClassName:"v-dropdown"},t),e.createElement(bt,{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(te,{zIndex:o.isSelectionShow?2e9:-2e9,category:K.RightInnerBottom,renderOverlay:function(){return e.createElement(Te,{id:"".concat(t.name,"-dock"),visibility:o.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius},e.createElement(xe,{backgroundColor:S.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(Te,{key:"item".concat(r)},t.overWriteDropdownItem(n)):e.createElement(Se,{gap:"0.2em",padding:"0.2em 1em",key:"item".concat(r),className:"item",onClick:function(){i(P(P({},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(je,{size:L.ExtraSmall},n.icon):e.createElement(e.Fragment,null),e.createElement(Re,{caption:n.caption}))})),!(0!=o.items.length)&&e.createElement(je,{size:L.ExtraSmall,onClick:function(){}},t.emptyIcon)))}},e.createElement(Pt,{padding:t.padding,isReadonly:t.isReadonly,size:t.size,icon:e.createElement(je,{size:t.size?t.size:L.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(je,{size:t.size?t.size:L.Small,onClick:function(){}},o.isSelectionShow?t.upIcon:t.downIcon),handleOption:function(e){i(P(P({},o),{isSelectionShow:!o.isSelectionShow}))}}],onClick:function(){i(P(P({},o),{isSelectionShow:!o.isSelectionShow}))},onChange:function(e){var n;n=e.target.value,i(P(P({},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:S.Error})))},VDynamic:function(t){var n=t.components[t.name];return t.children?e.createElement(e.Fragment,null,n?e.createElement(n,P({},t),t.children):e.createElement(Re,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:S.Placeholder,frontColor:S.White})):e.createElement(e.Fragment,null,n?e.createElement(n,P({},t)):e.createElement(Re,{caption:t.notFindMessage?t.notFindMessage:"VDynamic",padding:"1em",backgroundColor:S.Placeholder,frontColor:S.White}))},VEllipse:De,VEmail:function(t){return e.createElement(it,P({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var n=e.useState({fileName:t.emptyMessage,isLoading:!1}),r=n[0],a=n[1],o=function(){a(P(P({},r),{isLoading:!1}))},i=function(e){e.preventDefault(),t.autoUpload&&(e.currentTarget.className="v-file")};return e.createElement(Te,{className:"v-file",onDrop:function(e){if(e.preventDefault(),t.autoUpload){var n=e.dataTransfer.files;1==n.length&&(a(P(P({},r),{fileName:n[0].name,isLoading:!0})),t.autoUpload(n[0],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(it,P({type:"file",isDefaultValue:!0},t,{onChange:function(e){a(P(P({},r),{fileName:e.target.files[0].name})),t.autoUpload&&(a(P(P({},r),{fileName:e.target.files[0].name,isLoading:!0})),t.autoUpload(e.target.files[0],o))},overWrite:function(n){return t.category&&t.category==gt.Vertical?e.createElement(xe,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()},cross:pe.Center},t.fileIcon,e.createElement(Te,null,t.caption),e.createElement(Re,{category:Oe.Div,alignType:Le.Center,caption:r.fileName}),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(mt,{animationCategory:We.Flash},e.createElement(Ce,null,e.createElement(je,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(ht,null)))))):e.createElement(xe,{gap:"1em",cross:pe.Center},e.createElement(he,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},t.fileIcon,e.createElement(Re,{caption:r.fileName})),e.createElement(Te,null,t.caption),!!r.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(mt,{animationCategory:We.Flash},e.createElement(je,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(ht,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==nt.FormData)t.handleSubmit(r);else{var a=rt(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(J,{vClassName:"v-frame",borderRadius:t.borderRadius,style:n},e.createElement("div",P({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==Ot.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==Ot.Normal?l.push("0,".concat(F(e.weight))):e.type==Ot.Italic&&l.push("1,".concat(F(e.weight))):l.push(F(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:bt,VHyperlink:$e,VImage:Ge,VLabel:Re,VLine:function(t){return e.createElement(J,P({vClassName:"v-line-".concat(t.category)},t))},VLink:function(n){return e.createElement(t,{to:n.to},n.children)},VLoading:mt,VMask:function(t){return e.createElement(re,{zIndex:t.zIndex?t.zIndex:1e8,category:$.Window,type:ee.Center},e.createElement(ue,null,e.createElement(Te,{width:"100vw",height:"100vh",backgroundColor:S.Dark75},e.createElement(re,{category:$.Area,type:ee.Center},t.children))))},VMonth:function(t){return e.createElement(it,P({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e.createElement(it,P({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e.createElement(it,P({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VPaypal:function(t){return e.createElement(r,{options:t.options},e.createElement(a,P({},t.buttonOptions)))},VPhoto:function(t){var n=Y(t),r=P(P({},n.getStyle()),{backgroundImage:'url("'.concat(t.src,'")'),width:t.width?t.width:"",height:t.height?t.height:""});return e.createElement(Te,P({className:n.getClassName("v-photo-".concat(t.category,"-").concat(t.position?t.position:Ke.Center)),style:r},t),t.children)},VRadio:function(t){return e.createElement(it,P({type:"radio",customAttibutes:{checked:!!t.isChecked},isDefaultValue:!0},t,{overWrite:function(n){return e.createElement(Se,{onClick:function(){var e;console.log(n.current),null===(e=n.current)||void 0===e||e.click()}},e.createElement(je,{padding:"0.4em",frontColor:t.frontColor,size:t.size},t.isChecked?e.createElement(St,null):e.createElement(_t,null)),e.createElement(Re,{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(it,P({type:"range",isDefaultValue:!0},t,{inputClassName:n}))},VRectangle:function(t){return e.createElement(J,P({vClassName:"v-rectangle-".concat(t.category?t.category:Pe.Default)},t))},VSearch:function(t){return e.createElement(it,P({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSelect:function(t){var n=Y(t);return e.createElement(Te,P({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:Ne,VStack:function(t){var n=Y(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=Y(t),r=e.useRef(null);return e.createElement("div",{className:n.getClassName("v-submit"),style:n.getStyle(),onClick:function(){r.current.click()}},e.createElement(Ce,{cross:fe.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=Y(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:je,VSwitch:function(t){var n=Y(t),r=e.useState({isOn:t.isOn}),a=r[0],o=r[1],i=t.icon?e.createElement(je,{frontColor:S.White},t.icon):e.createElement(Te,{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(J,P({},t,{vClassName:n.getClassName(t.isDisabled?"v-switch-disabled":"v-switch"),borderRadius:"32em",backgroundColor:a.isOn?t.frontColor?t.frontColor:S.Success:t.backgroundColor?t.backgroundColor:S.Placeholder}),e.createElement(Ee,{onClick:c,gap:t.gap?t.gap:"0.6em"},a.isOn?e.createElement(je,{category:ze.Circle,frontColor:S.White},e.createElement(Mt,null)):i,a.isOn?i:e.createElement(je,{category:ze.Circle,frontColor:S.White},e.createElement(Mt,null))))},VTel:function(t){return e.createElement(it,P({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n,r;switch(t.alignType){case tt.Center:r="v-text-center";break;case tt.Justify:r="v-text-justify";break;case tt.Left:r="v-text";break;case tt.Right:r="v-text-right";break;default:r="v-text"}switch(t.category){case et.P:n=e.createElement("p",null,t.content);break;case et.Address:n=e.createElement("address",null,t.content);break;case et.Article:n=e.createElement("article",null,t.content);break;case et.Aside:n=e.createElement("aside",null,t.content);break;case et.Details:n=e.createElement("details",null,t.content);break;case et.Section:n=e.createElement("section",null,t.content);break;default:n=e.createElement("div",null,t.content)}return e.createElement(J,P({vClassName:r},t),n)},VTextArea:function(t){var n=e.useState({value:t.value}),r=n[0],a=n[1],o=e.useRef(null);return e.createElement(J,P({vClassName:"v-validity v-textarea"},t),e.createElement(be,{cross:fe.Top,gap:"0.6em"},t.icon,e.createElement(Te,null,e.createElement("textarea",{ref:t.ref?t.ref:o,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:r.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):a({value:e.target.value})}}))))},VTextBox:Pt,VTheme:function(t){return e.useEffect((function(){var e;t.category==Zt.Area?t.area&&(e=document.getElementById(t.area)):e=document.documentElement,e&&(Object.keys(t.theme.colors).forEach((function(n){e.style.setProperty("".concat(Kt,"color-").concat(n),t.theme.colors[n])})),Object.keys(t.theme.fontSizes).forEach((function(n){e.style.setProperty("".concat(Kt).concat(n),t.theme.fontSizes[n])})),Object.keys(t.theme.fontWeights).forEach((function(n){e.style.setProperty("".concat(Kt).concat(n),t.theme.fontWeights[n])})))}),[]),t.category==Zt.Area?t.area?e.createElement(Te,{id:t.area,backgroundColor:S.Body},t.children):e.createElement(Re,{backgroundColor:S.Error,caption:"No Area!"}):e.createElement(e.Fragment,null)},VTime:function(t){return e.createElement(it,P({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:It.Hover,t.dockCategory){case K.Top:r=R.Top;break;case K.Right:r=R.Right;break;case K.Bottom:r=R.Bottom;break;case K.Left:r=R.Left;break;default:r=R.Top}return console.debug(r),e.createElement(J,P({vClassName:"v-tooltip"},t),e.createElement(te,{category:t.dockCategory,zIndex:o.isShow?9999:-9999,renderOverlay:function(){return e.createElement(Te,{className:"content",opacity:o.isShow?1:0},t.content?t.content:e.createElement(Re,{caption:t.caption,padding:"0.6em 1.8em",borderRadius:"0.2em",frontColor:t.textFrontColor,backgroundColor:t.textBackgroundColor}))}},e.createElement(Te,{onClick:function(){n==It.Click&&i({isShow:!o.isShow})},onMouseEnter:function(){n==It.Hover&&i({isShow:!0})},onMouseLeave:function(){n==It.Hover&&i({isShow:!1})}},t.children)))},VTree:function(t){return e.createElement(J,{vClassName:"v-tree"},e.createElement(Wt,{node:t.rootNode,isExpand:t.isExpand,expandIcon:t.expandIcon,collapseIcon:t.collapseIcon}))},VUrl:function(t){return e.createElement(it,P({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VWeek:function(t){return e.createElement(it,P({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e.createElement(J,{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:he,XAround:function(e){return ge(e,void 0,void 0,(function(){return ie.SpaceAround}))},XAutoBoth:ve,XAutoCenter:ye,XAutoLeft:function(t){return ge(t,(function(t,n,r){return 0==n?e.createElement(me,{grow:1,alignSelf:r},t):e.createElement(me,{grow:0,alignSelf:r},t)}))},XAutoLefts:function(t){var n=Y(t);return ge(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:0,alignSelf:o},r):e.createElement(me,{grow:1,alignSelf:o},r)}))},XAutoRight:be,XAutoRights:function(t){return ge(t,(function(t,n,r){return 0==n?e.createElement(me,{grow:0,alignSelf:r},t):e.createElement(me,{grow:1,alignSelf:r},t)}))},XBetween:Ee,XCenter:Ce,get XCrossType(){return fe},XCustom:function(t){return ge(t,(function(n,r){var a=e.createElement(me,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(me,{basis:t.basises[r]},n)),a}))},XCustomBoth:function(t){var n=Y(t);return ge(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{basis:t.basis},r):e.createElement(me,{grow:1},r)}))},XEvenly:function(e){return ge(e,void 0,void 0,(function(){return ie.SpaceEvenly}))},XLeft:Se,XRight:function(e){return ge(e,void 0,void 0,(function(){return ie.End}))},XWrapAround:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.SpaceAround}))},XWrapBetween:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.SpaceBetween}))},XWrapBottom:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.End}))},XWrapEvenly:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.SpaceEvenly}))},XWrapMiddle:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.Center}))},XWrapTop:function(e){return ge(e,void 0,(function(){return oe.Wrap}),void 0,(function(){return le.Start}))},Y:xe,YAround:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.SpaceAround}))},YAutoBoth:function(t){var n=Y(t);return ke(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:0,alignSelf:o},r):e.createElement(me,{grow:1,alignSelf:o},r)}))},YAutoBottom:function(t){var n=Y(t);return ke(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:1},r):e.createElement(me,{grow:0},r)}))},YAutoBottoms:function(t){return ke(t,(function(t,n,r){return 0==n?e.createElement(me,{grow:0,alignSelf:r},t):e.createElement(me,{grow:1,alignSelf:r},t)}))},YAutoCenter:function(t){var n=Y(t);return ke(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:1,alignSelf:o},r):e.createElement(me,{grow:0,alignSelf:o},r)}))},YAutoTop:function(t){return ke(t,(function(t,n,r){return 0==n?e.createElement(me,{grow:1,alignSelf:r},t):e.createElement(me,{grow:0,alignSelf:r},t)}))},YAutoTops:function(t){var n=Y(t);return ke(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{grow:0,alignSelf:o},r):e.createElement(me,{grow:1,alignSelf:o},r)}))},YBetween:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.SpaceBetween}))},YBottom:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.End}))},get YCrossType(){return pe},YCustom:function(t){return ke(t,(function(n,r){var a=e.createElement(me,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(me,{basis:t.basises[r]},n)),a}))},YCustomBoth:function(t){var n=Y(t);return ke(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(me,{basis:t.basis},r):e.createElement(me,{grow:1},r)}))},YEvenly:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.SpaceEvenly}))},YMiddle:_e,YTop:function(e){return ke(e,void 0,void 0,void 0,(function(){return ie.Start}))},YWrapAround:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.SpaceAround}),void 0)},YWrapBetween:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.SpaceBetween}))},YWrapCenter:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.Center}))},YWrapEvenly:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.SpaceEvenly}))},YWrapLeft:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.Start}))},YWrapRight:function(e){return ke(e,void 0,(function(){return oe.Wrap}),(function(){return le.End}))},get ZoneCategory(){return q},convertFormDataToJson:rt,ga4Event:function(e,t){o.event(e)},ga4Init:Xt,ga4Pageview:Yt,ga4Scope:jt,ga4SetFieldsObject:function(e,t){o.set(e)},getGeneratedClassName:j,parseJWT:function(e){var t={},n=i(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}}),tn=function(e){nn.getInstance().options=e},nn=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}(),rn=Object.freeze({__proto__:null,Boot:function(t){return tn(t.options),e.createElement(e.Fragment,null)},BootClass:nn,boot:tn}),an=c(),on=function(){return navigator.language},cn=function(){return on().split("-")[0]},ln=Object.freeze({__proto__:null,getBrowserLang:cn,getBrowserLangFull:on,getIntlMessage:function(e,t,n){var r=nn.getInstance().options.getLanguages(t);return l({locale:t||"en",messages:r},an).formatMessage({id:e},n)},language:function(e,t,n){switch(null==n?cn():n){case"en":default:return e;case"zh":return t}},languageFull:function(e,t){return e[null==t?on():t]}}),un={},sn={accept:"application/json","content-type":"application/json"},dn=function(e){var t=nn.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):"")},fn=function(e,t){var n=nn.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):"")},mn=function(e){var t,n,r=e||sn,a=nn.getInstance().options.getToken(),o=null===(n=(t=nn.getInstance().options).getHeaders)||void 0===n?void 0:n.call(t);return a&&a.length>0&&(r=P(P({},r),{authorization:"Bearer ".concat(a)})),o&&(r=P(P({},r),o)),nn.getInstance().options.isDebug&&console.debug(JSON.stringify(r)),r},pn=function(e,t,n,r,a,o){fetch(e,{method:t,headers:mn(n),body:o}).then((function(e){r(e)})).catch((function(e){a(e)}))},gn=function(e,t,n,r){return fetch(e,{method:t,headers:mn(n),body:r})},hn=function(e,t,n,r,a,o){pn(dn(e),t,n,r,a)},vn=function(e,t,n,r){return gn(dn(e),t,n,r)},yn=function(e,t,n,r,a,o,i){pn(fn(e,t),n,r,a,o)},bn=function(e,t,n,r,a){return gn(fn(e,t),n,r,a)},En=function(e){var t;return t=e.external?"".concat(fn(e.external)).concat(e.query):"".concat(dn()).concat(e.query),new WebSocket(t,e.protocols)},Cn=function(e){function t(){var t=e.call(this)||this;return t.Path="",t.ParseData=function(){},t}return C(t,e),t.prototype.GetHeader=function(e){return mn(e)},t.prototype.GetFormHeader=function(){var e,t,n,r=nn.getInstance().options.getToken(),a=null===(t=(e=nn.getInstance().options).getHeaders)||void 0===t?void 0:t.call(e);return n=r&&r.length>0?P(P({},un),{authorization:"Bearer ".concat(r)}):P({},un),a&&(n=P(P({},n),a)),nn.getInstance().options.isDebug&&console.debug(JSON.stringify(n)),n},t.prototype.Pipe=function(e){var t=this;return this.Action?e.pipe(d((function(e){return null!=e.ok?e.json():u(e)})),f((function(e){nn.getInstance().options.isDebug&&console.debug(JSON.stringify(e));var n=t.ParseData(e);return n.isSuccessful?t.Action?t.Action(n.payload):(nn.getInstance().options.handleError({summary:"isSuccessful: true; action: empty",data:n}),y()):"boolean"!=typeof n.isSuccessful?(nn.getInstance().options.handleError({summary:"isSucessful: not boolean;",data:n}),t.Action?t.Action(n):y()):(nn.getInstance().options.handleIsNotSuccessful(n),y())})),m(3),p((function(e){return nn.getInstance().options.handleNetworkError({summary:"Network Issue",data:e}),u(y())}))):e},t}(s),Sn=function(e,t){if(e.response.errors){nn.getInstance().options.handleError({summary:"GQL Error",data:e.response.errors});var n=[];return e.response.errors.forEach((function(e,t){n.push(e.message)})),{isSuccessful:!1,errorCode:"0001",errorMessage:n.join(";")}}return e.response.data[t]?e.response.data[t].isSuccessful?e.response.data[t]:{isSuccessful:!0,payload:e.response.data[t]}:{isSuccessful:!1,errorCode:"0003",errorMessage:"Please check the field is match GraphQL string!"}},wn=function(e){return e.response},kn=function(e){return e},xn=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(xn(e)).concat(r)})),n+="]\n"):n+="".concat(t,":").concat(xn(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)},_n=function(e){function t(t,n){var r=e.call(this)||this;return r.Path=t,r.Action=n,r.ParseData=wn,r}return C(t,e),t.prototype.GetUrl=function(){return dn(this.Path)},t}(Cn),Tn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(g.delete(r.GetUrl(),r.GetHeader()))}return C(t,e),t}(_n),Bn=function(e){function t(t,n,r){var a=e.call(this)||this;return a.Path=t,a.External=n,a.Action=r,a.ParseData=function(e){return e.response},nn.getInstance().options.isDebug&&console.debug(a.External),a}return C(t,e),t.prototype.GetUrl=function(){return fn(this.External,this.Path)},t}(Cn),Dn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(g.delete(a.GetUrl(),a.GetHeader()))}return C(t,e),t}(Bn),Pn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(g.get(a.GetUrl(),a.GetHeader()))}return C(t,e),t}(Bn),In=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.patch(o.GetUrl(),r,o.GetHeader()))}return C(t,e),t}(Bn),On=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.post(o.GetUrl(),r,o.GetHeader()))}return C(t,e),t}(Bn),Vn=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.put(o.GetUrl(),r,o.GetHeader()))}return C(t,e),t}(Bn),Ln=function(e){function t(t,n,r){var a=e.call(this)||this;return a.Path=t,a.Action=r,a.ParseData=function(e){return Sn(e,n)},a}return C(t,e),t.prototype.GetUrl=function(){return dn(this.Path)},t}(Cn),Nn=function(e){function t(t,n,r){var a=e.call(this,"graphql",n,r)||this;return a.Pipe(g.post("".concat(a.GetUrl()),t,a.GetHeader()))}return C(t,e),t}(Ln),Rn=function(e){function t(t,n,r,a){var o=e.call(this)||this;return o.Path=t,o.External=r,o.Action=a,o.ParseData=function(e){return Sn(e,n)},o}return C(t,e),t.prototype.GetUrl=function(){return fn(this.External,this.Path)},t}(Cn),An=function(e){function t(t,n,r,a){var o=e.call(this,"graphql",n,r,a)||this;return o.Pipe(g.post("".concat(o.GetUrl()),t,o.GetHeader()))}return C(t,e),t}(Rn),Fn={},zn=function(e){function t(t,n,r){var a=e.call(this,"graphql",n,r)||this;return a.Pipe(g.post("".concat(a.GetUrl()),t,a.GetHeader(Fn)))}return C(t,e),t}(Ln),Gn=function(e){function t(t,n,r,a){var o=e.call(this,"graphql",n,r,a)||this;return o.Pipe(g.post("".concat(o.GetUrl()),t,o.GetHeader(Fn)))}return C(t,e),t}(Rn),Wn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(g.get(r.GetUrl(),r.GetHeader()))}return C(t,e),t}(_n),Hn=function(e){function t(t,n){var r=e.call(this,t,n)||this,a="".concat(location.origin,"/").concat(t);return r.Pipe(g.get(a,r.GetHeader()))}return C(t,e),t}(_n),Un=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.patch(a.GetUrl(),n,a.GetHeader()))}return C(t,e),t}(_n),Mn=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.post(a.GetUrl(),n,a.GetHeader()))}return C(t,e),t}(_n),jn=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.put(a.GetUrl(),n,a.GetHeader()))}return C(t,e),t}(_n),Xn=function(e){function t(t,n){var r=e.call(this)||this;return r.Path=t,r.Action=n,r.ParseData=kn,r}return C(t,e),t.prototype.GetUrl=function(){return dn(this.Path)},t}(Cn),Yn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(h(r.GetUrl(),{method:"GET",headers:r.GetHeader()}))}return C(t,e),t}(Xn),qn=function(e){function t(t,n,r){var a=e.call(this)||this;return a.Path=t,a.External=n,a.Action=r,a.ParseData=kn,a}return C(t,e),t.prototype.GetUrl=function(){return fn(this.External,this.Path)},t}(Cn),Jn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(h(a.GetUrl(),{method:"GET",headers:a.GetHeader()}))}return C(t,e),t}(qn),Zn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(h(r.GetUrl(),{method:"POST",headers:r.GetHeader()}))}return C(t,e),t}(Xn),Qn=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(h(a.GetUrl(),{method:"POST",headers:a.GetHeader()}))}return C(t,e),t}(qn),Kn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(h(r.GetUrl(),{method:"PUT",headers:r.GetHeader()}))}return C(t,e),t}(Xn),$n=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(h(a.GetUrl(),{method:"PUT",headers:a.GetHeader()}))}return C(t,e),t}(qn),er=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(h(r.GetUrl(),{method:"PATCH",headers:r.GetHeader()}))}return C(t,e),t}(Xn),tr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(h(a.GetUrl(),{method:"PATCH",headers:a.GetHeader()}))}return C(t,e),t}(qn),nr=function(e){function t(t,n,r,a,o,i){var c=e.call(this,t,n,a,o,i)||this;return new s((function(e){c.Pipe("POST",r)}))}return C(t,e),t}(function(e){function t(t,n,r,a,o){var i=e.call(this)||this;return i.Path=t,i.External=n,i.Action=r,i.ErrorHandler=a,i.DoneHandler=o,i}return C(t,e),t.prototype.GetHeader=function(e){return mn(e)},t.prototype.GetUrl=function(){return fn(this.External,this.Path)},t.prototype.Pipe=function(e,t){return I(this,void 0,void 0,(function(){var n=this;return O(this,(function(r){switch(r.label){case 0:return[4,fetch(this.GetUrl(),{method:e,headers:{Accept:"text/event-stream",Connection:"keep-alive","Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return I(n,void 0,void 0,(function(){var t,n,r;return O(this,(function(a){switch(a.label){case 0:if(!e.body)return[3,3];t=e.body.pipeThrough(new TextDecoderStream).getReader(),a.label=1;case 1:return[4,t.read()];case 2:return n=a.sent(),r=n.value,n.done?(this.DoneHandler&&this.DoneHandler(),[3,3]):(this.Action(r),[3,1]);case 3:return[2]}}))}))})).catch((function(e){n.ErrorHandler(e)}))];case 1:return r.sent(),[2]}}))}))},t}(s)),rr=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.post(a.GetUrl(),n,a.GetFormHeader()))}return C(t,e),t}(_n),ar=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.post(o.GetUrl(),r,o.GetFormHeader()))}return C(t,e),t}(Bn),or=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.put(a.GetUrl(),n,a.GetFormHeader()))}return C(t,e),t}(_n),ir=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.put(o.GetUrl(),r,o.GetFormHeader()))}return C(t,e),t}(Bn),cr=function(e){function t(t,n,r){var a=e.call(this,t,r)||this;return a.Pipe(g.patch(a.GetUrl(),n,a.GetFormHeader()))}return C(t,e),t}(_n),lr=function(e){function t(t,n,r,a){var o=e.call(this,t,n,a)||this;return o.Pipe(g.patch(o.GetUrl(),r,o.GetFormHeader()))}return C(t,e),t}(Bn),ur=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(g.get(r.GetUrl(),r.GetFormHeader()))}return C(t,e),t}(_n),sr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(g.get(a.GetUrl(),a.GetFormHeader()))}return C(t,e),t}(Bn),dr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.Pipe(g.delete(r.GetUrl(),r.GetFormHeader()))}return C(t,e),t}(_n),fr=function(e){function t(t,n,r){var a=e.call(this,t,n,r)||this;return a.Pipe(g.delete(a.GetUrl(),a.GetFormHeader()))}return C(t,e),t}(Bn),mr=function(){function e(e){this.websocket=En(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}(),pr=Object.freeze({__proto__:null,Delete:Tn,DeleteExternal:Dn,DeleteForm:dr,DeleteFormExternal:fr,GQL:Nn,GQLExternal:An,GQLExternalUpload:Gn,GQLUpload:zn,Get:Wn,GetExternal:Pn,GetFetch:Yn,GetFetchExternal:Jn,GetForm:ur,GetFormExternal:sr,GetLocal:Hn,JsonHeaders:sn,NetworkObservableAjax:_n,NetworkObservableAjaxExternal:Bn,NetworkObservableGQL:Ln,Patch:Un,PatchExternal:In,PatchFetch:er,PatchFetchExternal:tr,PatchForm:cr,PatchFormExternal:lr,Post:Mn,PostExternal:On,PostFetch:Zn,PostFetchExternal:Qn,PostForm:rr,PostFormExternal:ar,PostSSE:nr,Put:jn,PutExternal:Vn,PutFetch:Kn,PutFetchExternal:$n,PutForm:or,PutFormExternal:ir,WS:mr,_verbsDelete:function(e,t,n,r){pn(e,"DELETE",t,n,r)},_verbsDeletePromise:function(e,t){return gn(e,"DELETE",t)},_verbsGet:function(e,t,n,r){pn(e,"GET",t,n,r)},_verbsGetPromise:function(e,t){return gn(e,"GET",t)},_verbsPatch:function(e,t,n,r,a){pn(e,"PATCH",t,r,a,n)},_verbsPatchPromise:function(e,t,n){return gn(e,"PATCH",t,n)},_verbsPost:function(e,t,n,r,a){pn(e,"POST",t,r,a,n)},_verbsPostPromise:function(e,t,n){return gn(e,"POST",t,n)},_verbsPut:function(e,t,n,r,a){pn(e,"PUT",t,r,a,n)},_verbsPutPromise:function(e,t,n){return gn(e,"PUT",t,n)},buildExternalUrl:fn,buildHeaders:mn,buildUrl:dn,convertJsonToGraphQLSchema:xn,parseAjaxData:wn,parseFetchData:kn,parseGQLAjaxData:Sn,verbsDelete:function(e,t,n,r){hn(e,"DELETE",t,n,r)},verbsDeleteExternal:function(e,t,n,r,a){yn(e,t,"DELETE",n,r,a)},verbsDeletePromise:function(e,t){return vn(e,"DELETE",t)},verbsDeletePromiseExternal:function(e,t,n){return bn(e,t,"DELETE",n)},verbsGet:function(e,t,n,r){hn(e,"GET",t,n,r)},verbsGetExternal:function(e,t,n,r,a){yn(e,t,"GET",n,r,a)},verbsGetPromise:function(e,t){return vn(e,"GET",t)},verbsGetPromiseExternal:function(e,t,n){return bn(e,t,"GET",n)},verbsPatch:function(e,t,n,r,a){hn(e,"PATCH",t,r,a)},verbsPatchExternal:function(e,t,n,r,a,o){yn(e,t,"PATCH",n,a,o)},verbsPatchPromise:function(e,t,n){return vn(e,"PATCH",t,n)},verbsPatchPromiseExternal:function(e,t,n,r){return bn(e,t,"PATCH",n,r)},verbsPost:function(e,t,n,r,a){hn(e,"POST",t,r,a)},verbsPostExternal:function(e,t,n,r,a,o){yn(e,t,"POST",n,a,o)},verbsPostPromise:function(e,t,n){return vn(e,"POST",t,n)},verbsPostPromiseExternal:function(e,t,n,r){return bn(e,t,"POST",n,r)},verbsPut:function(e,t,n,r,a){hn(e,"PUT",t,r,a)},verbsPutExternal:function(e,t,n,r,a,o){yn(e,t,"PUT",n,a,o)},verbsPutPromise:function(e,t,n){return vn(e,"PUT",t,n)},verbsPutPromiseExternal:function(e,t,n,r){return bn(e,t,"PUT",n,r)},ws:En}),gr=Object.freeze({__proto__:null});!function(e){e.Action=b,e.Components=en,e.FewBox=rn,e.Language=ln,e.Network=pr,e.Store=gr}($t||($t={}));export{$t as Den};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|