@solace-health/ui 0.9.6 → 0.9.7
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/dist/index.cjs +59 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -42
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var web = require('@react-spring/web');
|
|
|
8
8
|
var reactHookForm = require('react-hook-form');
|
|
9
9
|
var q5 = require('react');
|
|
10
10
|
var w1 = require('dayjs');
|
|
11
|
-
var
|
|
11
|
+
var lt = require('react-lottie-player');
|
|
12
12
|
var R5 = require('contentful');
|
|
13
13
|
var reactMenu = require('@szhsin/react-menu');
|
|
14
14
|
var luxon = require('luxon');
|
|
@@ -39,7 +39,7 @@ function _interopNamespace(e) {
|
|
|
39
39
|
var r__default = /*#__PURE__*/_interopDefault(r);
|
|
40
40
|
var q5__default = /*#__PURE__*/_interopDefault(q5);
|
|
41
41
|
var w1__default = /*#__PURE__*/_interopDefault(w1);
|
|
42
|
-
var
|
|
42
|
+
var lt__default = /*#__PURE__*/_interopDefault(lt);
|
|
43
43
|
var R5__namespace = /*#__PURE__*/_interopNamespace(R5);
|
|
44
44
|
var _4__default = /*#__PURE__*/_interopDefault(_4);
|
|
45
45
|
|
|
@@ -363,15 +363,15 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
363
363
|
left: -1px;
|
|
364
364
|
right: 0;
|
|
365
365
|
z-index: -1;
|
|
366
|
-
`,P5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-7px, 0px)"});return jsxRuntime.jsxs(qe,{children:[jsxRuntime.jsx("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("g",{id:"bank",children:jsxRuntime.jsx("path",{id:"Vector",d:"M30.5 31.1406V30.1406H1.5V31.1406M21.5 26.1406H26.5M21.5 13.1406H26.5M22.5 26.1406V13.1406M25.5 26.1406V13.1406M13.5 26.1406H18.5M13.5 13.1406H18.5M14.5 26.1406V13.1406M17.5 26.1406V13.1406M5.5 26.1406H10.5M5.5 13.1406H10.5M28.5 28.1406H3.5M6.5 26.1406V13.1406M9.5 26.1406V13.1406M1.5 11.1406L16 2.14062L30.5 11.1406H1.5Z",stroke:"#555555","stroke-linecap":"round","stroke-linejoin":"round"})})}),jsxRuntime.jsx(Qe,{style:o,children:jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M3.5 28V9.5H28.5V21.5C28.5 21.5 26.5 20 24.5 20.5C22.5 21 21.8609 21.5577 21 23C19.8991 24.8443 21 28.5 21 28.5L3.5 28Z",fill:"url(#paint0_linear_11308_26842)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11308_26842",x1:"16",y1:"9.5",x2:"16",y2:"28.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.208333",stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#D7A13B"})]})})]})})]})};var
|
|
366
|
+
`,P5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-7px, 0px)"});return jsxRuntime.jsxs(qe,{children:[jsxRuntime.jsx("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("g",{id:"bank",children:jsxRuntime.jsx("path",{id:"Vector",d:"M30.5 31.1406V30.1406H1.5V31.1406M21.5 26.1406H26.5M21.5 13.1406H26.5M22.5 26.1406V13.1406M25.5 26.1406V13.1406M13.5 26.1406H18.5M13.5 13.1406H18.5M14.5 26.1406V13.1406M17.5 26.1406V13.1406M5.5 26.1406H10.5M5.5 13.1406H10.5M28.5 28.1406H3.5M6.5 26.1406V13.1406M9.5 26.1406V13.1406M1.5 11.1406L16 2.14062L30.5 11.1406H1.5Z",stroke:"#555555","stroke-linecap":"round","stroke-linejoin":"round"})})}),jsxRuntime.jsx(Qe,{style:o,children:jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M3.5 28V9.5H28.5V21.5C28.5 21.5 26.5 20 24.5 20.5C22.5 21 21.8609 21.5577 21 23C19.8991 24.8443 21 28.5 21 28.5L3.5 28Z",fill:"url(#paint0_linear_11308_26842)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11308_26842",x1:"16",y1:"9.5",x2:"16",y2:"28.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.208333",stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#D7A13B"})]})})]})})]})};var tt=r__default.default.div`
|
|
367
367
|
position: relative;
|
|
368
|
-
`,
|
|
368
|
+
`,ot=r__default.default(web.animated.div)`
|
|
369
369
|
position: absolute;
|
|
370
370
|
top: 0px;
|
|
371
371
|
left: 2px;
|
|
372
372
|
right: 0;
|
|
373
373
|
z-index: -1;
|
|
374
|
-
`,D5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(
|
|
374
|
+
`,D5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(tt,{children:[jsxRuntime.jsx("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("g",{id:"financial-report",children:jsxRuntime.jsx("path",{id:"Vector",d:"M13.5 26.1406H14M13.5 23.1406H14M13.5 20.1406H14M16 26.1406H20M16 23.1406H20.5M21.5 12.1406H24.5M13.5 12.1406H19.5M16 20.1406H19.5M13.5 15.1406H26.5M25 26.1406V26.6406M25 19.6406V20.1406M26.5 21.6406C26.5 20.8121 25.828 20.1406 25 20.1406C24.172 20.1406 23.5 20.8121 23.5 21.6406C23.5 22.4691 24.172 23.1406 25 23.1406C25.828 23.1406 26.5 23.8121 26.5 24.6406C26.5 25.4691 25.828 26.1406 25 26.1406C24.172 26.1406 23.5 25.4691 23.5 24.6406M6.5 27.1406H9.5M11 6.14062H28.5C29.6045 6.14062 30.5 7.03612 30.5 8.14062V31.1406H9.5V8.14062C9.5 7.03612 8.6045 6.14062 7.5 6.14062C6.3955 6.14062 5.5 7.03612 5.5 8.14062V25.1406C5.5 26.2451 4.6045 27.1406 3.5 27.1406C2.3955 27.1406 1.5 26.2451 1.5 25.1406V2.14062H22.5V4.14062",stroke:t,"stroke-linecap":"round","stroke-linejoin":"round"})})}),jsxRuntime.jsx(ot,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var Z={AddCircle:b2,Books:n5,Tools:S5,Files:Z5,Records:_5,Bank:P5,Copy:w2,Caret:M2,Calendar:L2,CalendarClock:i5,Invoice:D5,Celebrate:a5,Checkbox:k2,Form:p5,FramedPainting:C5,House:H5,NoteDocument:t5,CircleExclamation:S2,Check:Z2,Close:L1,DefaultFile:B2,Heart:F2,HeartPulse:R2,IdBadge:O2,Key:f5,LightBulb:T2,LocationPin:I2,Message:g5,MoneyLayered:h5,Permissions:N2,Phone:W2,RatingStar:K2,ReceptionBell:y5,Rose:w5,Sparkles:J2,Sun:q2,Signature:H1,TaskList:M5,Trash:j2};var rt=r__default.default.div`
|
|
375
375
|
.loader {
|
|
376
376
|
margin: 0px auto;
|
|
377
377
|
${e=>e.size==="xl"&&`
|
|
@@ -430,7 +430,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
430
430
|
stroke: ${({color:e})=>e||"#fff"};
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
`,o2=({color:e=void 0,size:t="sm"})=>jsxRuntime.jsx(
|
|
433
|
+
`,o2=({color:e=void 0,size:t="sm"})=>jsxRuntime.jsx(rt,{color:e,size:t,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var it=(o=>(o.LOADING_LISTINGS="loadingListings",o.LOADING_ACCOUNT="loadingAccount",o))(it||{}),r1=class{client;constructor(t){this.client=R5__namespace.createClient(t);}async getLottieFile({slug:t}){let n=(await this.client.getEntries({content_type:"lottie"})).items.find(i=>i.fields.slug===t);return n?n.fields.lottieFile:(console.warn(`Lottie file not found for slug ${t}`),null)}async getImage(t){let n=(await this.client.getEntries({content_type:"image"})).items.find(i=>i.fields.slug===t);return n?n.fields.image.fields.file.url:null}};var Ct=({animationData:e,height:t,width:o,loop:n})=>{let i=web.useSpring({from:{opacity:0},to:{opacity:1}});return jsxRuntime.jsx(web.animated.div,{style:i,children:jsxRuntime.jsx(lt__default.default,{loop:n,animationData:e,play:!0,style:{width:o,height:t},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})})},mt=({height:e,width:t,loop:o,slug:n,contentfulConfig:i})=>{let[s,l]=q5.useState();return q5.useEffect(()=>{new r1(i).getLottieFile({slug:n}).then(a=>{l(a);});},[]),s?jsxRuntime.jsx(Ct,{animationData:s,height:e,width:t,loop:o}):null};var ut=r__default.default(antd.Modal)`
|
|
434
434
|
border-radius: 20px;
|
|
435
435
|
@media (max-width: 620px) {
|
|
436
436
|
max-width: 100dvw;
|
|
@@ -441,13 +441,13 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
441
441
|
overflow: scroll;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
`,
|
|
444
|
+
`,ht=r__default.default(web.animated.div)`
|
|
445
445
|
background-color: #fefefe;
|
|
446
446
|
|
|
447
447
|
@media (min-width: 620px) {
|
|
448
448
|
padding: 0 10px;
|
|
449
449
|
}
|
|
450
|
-
`,
|
|
450
|
+
`,xt=({children:e,isOpen:t,onClose:o=()=>null,width:n=560,style:i={},bodyStyle:s={}})=>(q5.useEffect(()=>{document&&(t?document.body.style.overflow="hidden":document.body.style.overflow="inherit");},[t]),jsxRuntime.jsx(ut,{centered:!0,open:t,onCancel:o,footer:!1,width:n,style:i,bodyStyle:s,children:jsxRuntime.jsx(ht,{children:e})}));var wt=({percent:e=75,size:t=63})=>jsxRuntime.jsx(antd.Space,{wrap:!0,children:jsxRuntime.jsx(antd.Progress,{type:"circle",percent:e,size:t,"aria-label":"progress-circle","aria-labelledby":"progress",strokeLinecap:"butt",strokeColor:"#3F937C"})});var Mt=r__default.default(antd.Segmented)`
|
|
451
451
|
padding: 4px;
|
|
452
452
|
|
|
453
453
|
label {
|
|
@@ -461,7 +461,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
461
461
|
font-weight: ${({theme:e})=>e.typography.weight.bold};
|
|
462
462
|
letter-spacing: 0.25px;
|
|
463
463
|
}
|
|
464
|
-
`,L8=({onChange:e=()=>null,options:t=[],size:o="middle",defaultValue:n="",block:i=!0})=>jsxRuntime.jsx(M8,{block:i,onChange:e,options:t,size:o,defaultValue:n}),H8=L8;var S8=({color:e})=>jsxRuntime.jsx("svg",{width:"86",height:"24",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.632 6.104C0.632 5.05867 0.834667 4.16267 1.24 3.416C1.66667 2.66933 2.22133 2.06133 2.904 1.592C3.608 1.12267 4.39733 0.781332 5.272 0.567999C6.14667 0.333333 7.032 0.216 7.928 0.216C8.35467 0.216 8.856 0.237333 9.432 0.279999C10.0293 0.322666 10.6267 0.397333 11.224 0.504C11.8427 0.610666 12.44 0.76 13.016 0.952C13.592 1.12267 14.0827 1.34667 14.488 1.624V6.04C14.296 5.336 13.9867 4.664 13.56 4.024C13.1547 3.36267 12.664 2.78667 12.088 2.296C11.512 1.784 10.8613 1.37867 10.136 1.08C9.432 0.759998 8.67467 0.599998 7.864 0.599998C7.224 0.599998 6.584 0.685332 5.944 0.855999C5.32533 1.00533 4.76 1.25067 4.248 1.592C3.75733 1.912 3.352 2.328 3.032 2.84C2.73333 3.352 2.584 3.97067 2.584 4.696C2.584 5.464 2.76533 6.136 3.128 6.712C3.512 7.26667 4.01333 7.768 4.632 8.216C5.25067 8.664 5.95467 9.08 6.744 9.464C7.53333 9.82667 8.33333 10.2 9.144 10.584C9.976 10.9467 10.7867 11.3307 11.576 11.736C12.3653 12.1413 13.0693 12.6107 13.688 13.144C14.3067 13.656 14.7973 14.2533 15.16 14.936C15.544 15.6187 15.736 16.408 15.736 17.304C15.736 18.4773 15.5013 19.4587 15.032 20.248C14.5627 21.016 13.944 21.6347 13.176 22.104C12.4293 22.552 11.576 22.872 10.616 23.064C9.656 23.256 8.68533 23.352 7.704 23.352C7.256 23.352 6.712 23.32 6.072 23.256C5.432 23.2133 4.77067 23.1173 4.088 22.968C3.42667 22.8187 2.78667 22.6373 2.168 22.424C1.54933 22.1893 1.03733 21.8907 0.632 21.528V16.792C0.845333 17.688 1.16533 18.52 1.592 19.288C2.04 20.056 2.57333 20.7173 3.192 21.272C3.832 21.8053 4.54667 22.232 5.336 22.552C6.14667 22.8507 7.02133 23 7.96 23C8.62133 23 9.272 22.9253 9.912 22.776C10.552 22.6053 11.128 22.3493 11.64 22.008C12.152 21.6453 12.5573 21.1973 12.856 20.664C13.176 20.1093 13.336 19.448 13.336 18.68C13.336 17.5493 13.016 16.6107 12.376 15.864C11.7573 15.1173 10.9787 14.4773 10.04 13.944C9.10133 13.3893 8.07733 12.888 6.968 12.44C5.88 11.9707 4.86667 11.4587 3.928 10.904C2.98933 10.3493 2.2 9.69867 1.56 8.952C0.941333 8.20533 0.632 7.256 0.632 6.104ZM25.5425 8.12C26.6945 8.12 27.7078 8.30133 28.5825 8.664C29.4785 9.00533 30.2358 9.48533 30.8545 10.104C31.7932 9.18667 32.6892 8.17333 33.5425 7.064C34.3958 5.95467 35.1852 4.86667 35.9105 3.8C36.3372 3.18133 36.7318 2.60533 37.0945 2.072C37.4572 1.51733 37.7878 1.02667 38.0865 0.599998H38.4065V20.952C38.4065 21.3573 38.4598 21.688 38.5665 21.944C38.6732 22.2 38.8012 22.4027 38.9505 22.552C39.1212 22.68 39.2918 22.776 39.4625 22.84C39.6332 22.8827 39.7825 22.904 39.9105 22.904V23H34.5665V22.904C34.7158 22.904 34.8758 22.8827 35.0465 22.84C35.2172 22.776 35.3772 22.68 35.5265 22.552C35.6758 22.4027 35.7932 22.2 35.8785 21.944C35.9638 21.688 36.0065 21.3573 36.0065 20.952V4.312C35.5158 5.016 34.9932 5.752 34.4385 6.52C33.8838 7.26667 33.2972 8.00267 32.6785 8.728C32.0598 9.432 31.3985 10.104 30.6945 10.744C30.0118 11.3627 29.2972 11.896 28.5505 12.344C27.7185 12.8347 26.9505 13.144 26.2465 13.272C25.5638 13.4 24.9558 13.4 24.4225 13.272C23.8892 13.144 23.4518 12.92 23.1105 12.6C22.7692 12.2587 22.5238 11.8853 22.3745 11.48C22.1398 10.7547 22.2145 10.072 22.5985 9.432C21.9158 10.008 21.4252 10.776 21.1265 11.736C20.8278 12.6747 20.6785 13.6453 20.6785 14.648C20.6785 15.4373 20.7638 16.312 20.9345 17.272C21.1052 18.232 21.3825 19.1387 21.7665 19.992C22.1718 20.824 22.7052 21.528 23.3665 22.104C24.0278 22.68 24.8598 22.968 25.8625 22.968C26.7158 22.968 27.4412 22.808 28.0385 22.488C28.6358 22.168 29.1158 21.7413 29.4785 21.208C29.8412 20.6533 30.0972 20.024 30.2465 19.32C30.4172 18.616 30.5025 17.8907 30.5025 17.144C30.5025 15.416 30.2038 13.7627 29.6065 12.184L31.3985 10.712C31.9532 11.4587 32.3372 12.2587 32.5505 13.112C32.7852 13.9653 32.9025 14.8613 32.9025 15.8C32.9025 16.9307 32.7318 17.9653 32.3905 18.904C32.0705 19.8213 31.5905 20.6107 30.9505 21.272C30.3318 21.9333 29.5638 22.4453 28.6465 22.808C27.7505 23.1707 26.7265 23.352 25.5745 23.352C24.4225 23.352 23.3878 23.1707 22.4705 22.808C21.5745 22.4453 20.8065 21.9333 20.1665 21.272C19.5478 20.6107 19.0678 19.8213 18.7265 18.904C18.4065 17.9653 18.2465 16.9307 18.2465 15.8C18.2465 14.712 18.4172 13.6987 18.7585 12.76C19.0998 11.8213 19.5798 11.0107 20.1985 10.328C20.8385 9.624 21.6065 9.08 22.5025 8.696C23.3985 8.312 24.4118 8.12 25.5425 8.12ZM22.7585 11.224C22.8652 11.608 23.0678 11.96 23.3665 12.28C23.6652 12.6 24.0492 12.824 24.5185 12.952C25.0092 13.08 25.5745 13.0907 26.2145 12.984C26.8758 12.856 27.6118 12.5467 28.4225 12.056C28.5718 11.9493 28.7105 11.8533 28.8385 11.768C28.9878 11.6613 29.1372 11.5547 29.2865 11.448C28.8812 10.6373 28.3478 9.95467 27.6865 9.4C27.0465 8.84533 26.2358 8.568 25.2545 8.568C24.5932 8.568 24.0278 8.664 23.5585 8.856C23.1745 9.15467 22.9185 9.51733 22.7905 9.944C22.6625 10.3707 22.6518 10.7973 22.7585 11.224ZM43.5965 17.016C44.3218 16.44 45.0258 15.992 45.7085 15.672C46.4125 15.352 47.0952 15.0533 47.7565 14.776C48.4392 14.4987 49.0258 14.232 49.5165 13.976C50.0072 13.72 50.4018 13.4533 50.7005 13.176C50.9992 12.8773 51.2125 12.5467 51.3405 12.184C51.4898 11.8 51.5645 11.352 51.5645 10.84C51.5645 10.4773 51.4898 10.136 51.3405 9.816C51.2125 9.496 51.0098 9.22933 50.7325 9.016C50.4552 8.78133 50.1032 8.61067 49.6765 8.504C49.2498 8.39733 48.7378 8.38667 48.1405 8.472C47.0952 8.62133 46.0925 9.15467 45.1325 10.072C44.1938 10.968 43.3512 12.0347 42.6045 13.272V10.648C42.9245 10.2427 43.2978 9.89067 43.7245 9.592C44.1725 9.272 44.6418 9.016 45.1325 8.824C45.6232 8.61067 46.1245 8.45067 46.6365 8.344C47.1698 8.23733 47.6818 8.17333 48.1725 8.152C49.9218 8.10933 51.2872 8.48267 52.2685 9.272C53.2498 10.0613 53.7405 11.384 53.7405 13.24V20.472C53.7405 20.8987 53.8045 21.2933 53.9325 21.656C54.0818 21.9973 54.4338 22.1573 54.9885 22.136C55.1165 22.136 55.2552 22.1147 55.4045 22.072C55.5538 22.008 55.6925 21.912 55.8205 21.784V21.944C55.6285 22.2853 55.3192 22.5733 54.8925 22.808C54.4658 23.0427 53.9752 23.16 53.4205 23.16C53.0365 23.16 52.7165 23.0853 52.4605 22.936C52.2045 22.7867 51.9912 22.6053 51.8205 22.392C51.6712 22.1787 51.5645 21.9653 51.5005 21.752C51.4365 21.5173 51.4045 21.3253 51.4045 21.176C51.0845 21.5387 50.7432 21.8587 50.3805 22.136C50.0392 22.392 49.6445 22.616 49.1965 22.808C48.7698 23 48.2685 23.1387 47.6925 23.224C47.1378 23.3307 46.4872 23.3733 45.7405 23.352C45.1858 23.3307 44.6738 23.2453 44.2045 23.096C43.7352 22.968 43.3512 22.776 43.0525 22.52C42.7325 22.2427 42.4872 21.9227 42.3165 21.56C42.1672 21.1973 42.0818 20.8027 42.0605 20.376C42.0392 19.7573 42.1672 19.1387 42.4445 18.52C42.7218 17.9013 43.1058 17.4 43.5965 17.016ZM44.5885 19.8C44.5885 20.8453 44.8552 21.624 45.3885 22.136C45.9432 22.6267 46.5618 22.8827 47.2445 22.904C47.6712 22.9253 48.1192 22.8613 48.5885 22.712C49.0792 22.5413 49.5272 22.328 49.9325 22.072C50.3378 21.816 50.6685 21.5173 50.9245 21.176C51.2018 20.8133 51.3405 20.4507 51.3405 20.088V13.56C50.5938 13.816 49.8258 14.1253 49.0365 14.488C48.2472 14.8507 47.5218 15.2773 46.8605 15.768C46.1992 16.2587 45.6552 16.8347 45.2285 17.496C44.8018 18.1573 44.5885 18.9253 44.5885 19.8ZM59.2045 21.08C58.6498 20.4613 58.2125 19.7147 57.8925 18.84C57.5938 17.944 57.4445 16.9093 57.4445 15.736C57.4445 14.392 57.7112 13.1867 58.2445 12.12C58.8632 10.8613 59.7592 9.89067 60.9325 9.208C62.1058 8.504 63.4178 8.152 64.8685 8.152C65.8712 8.152 66.8738 8.28 67.8765 8.536C68.9005 8.792 69.7218 9.272 70.3405 9.976V13.016C70.1058 12.5253 69.8285 12.024 69.5085 11.512C69.2098 10.9787 68.8578 10.488 68.4525 10.04C68.0472 9.592 67.5885 9.22933 67.0765 8.952C66.5645 8.65333 65.9778 8.504 65.3165 8.504C64.6125 8.48267 63.8978 8.64267 63.1725 8.984C62.4472 9.304 61.8392 9.74133 61.3485 10.296C60.8792 10.8507 60.5272 11.5333 60.2925 12.344C60.0792 13.1333 59.9618 13.9653 59.9405 14.84C59.9192 15.6933 59.9938 16.536 60.1645 17.368C60.3565 18.2 60.6232 18.9253 60.9645 19.544C61.5405 20.6107 62.2765 21.3787 63.1725 21.848C64.0685 22.296 64.9965 22.52 65.9565 22.52C66.9805 22.52 67.8445 22.2853 68.5485 21.816C69.2738 21.3253 69.9138 20.7387 70.4685 20.056L70.6605 20.184C70.1272 21.016 69.3592 21.752 68.3565 22.392C67.3538 23.032 66.1165 23.352 64.6445 23.352C63.5778 23.352 62.5752 23.1707 61.6365 22.808C60.6978 22.424 59.8872 21.848 59.2045 21.08ZM73.2155 12.12C73.8342 10.8613 74.7302 9.89067 75.9035 9.208C77.0768 8.504 78.3888 8.152 79.8395 8.152C80.9275 8.152 81.8662 8.33333 82.6555 8.696C83.4448 9.03733 84.0742 9.50667 84.5435 10.104C85.0128 10.68 85.3328 11.352 85.5035 12.12C85.6742 12.8667 85.6955 13.6347 85.5675 14.424L74.9435 16.12C75.0075 16.76 75.1248 17.3787 75.2955 17.976C75.4662 18.552 75.6688 19.0747 75.9035 19.544C76.4795 20.6107 77.2155 21.3787 78.1115 21.848C79.0288 22.296 79.9675 22.52 80.9275 22.52C81.9515 22.52 82.8155 22.2853 83.5195 21.816C84.2448 21.3253 84.8848 20.7387 85.4395 20.056L85.5995 20.184C85.0875 21.016 84.3302 21.752 83.3275 22.392C82.3248 23.032 81.0875 23.352 79.6155 23.352C78.5488 23.352 77.5355 23.1707 76.5755 22.808C75.6368 22.424 74.8368 21.848 74.1755 21.08C73.6208 20.4613 73.1835 19.7147 72.8635 18.84C72.5648 17.944 72.4155 16.9093 72.4155 15.736C72.4155 14.392 72.6822 13.1867 73.2155 12.12ZM74.9115 15.768L80.7035 14.68C81.0235 14.616 81.3008 14.5307 81.5355 14.424C81.7915 14.3173 82.0368 14.2107 82.2715 14.104C82.7835 13.848 83.1568 13.5173 83.3915 13.112C83.6262 12.6853 83.7328 12.248 83.7115 11.8C83.6902 10.7547 83.3915 9.976 82.8155 9.464C82.2395 8.93067 81.5568 8.62133 80.7675 8.536C79.9782 8.45067 79.1675 8.55733 78.3355 8.856C77.5035 9.15467 76.8315 9.61333 76.3195 10.232C75.7648 10.8933 75.3702 11.7253 75.1355 12.728C74.9222 13.7093 74.8475 14.7227 74.9115 15.768Z",fill:e})});var Z8=({className:e="",items:t,navigate:o,activeKey:n,pathname:i,...s})=>{let l=t?.map(a=>({...a,label:a.label,key:a.key,children:a.children}));return jsxRuntime.jsx(antd.Tabs,{className:e,style:{marginBottom:32},items:l,activeKey:n,onChange:a=>{o&&o(`${i}/${a}`);},...s})},z8=Z8;var I5=r__default.default.div`
|
|
464
|
+
`,Lt=({onChange:e=()=>null,options:t=[],size:o="middle",defaultValue:n="",block:i=!0})=>jsxRuntime.jsx(Mt,{block:i,onChange:e,options:t,size:o,defaultValue:n}),Ht=Lt;var St=({color:e})=>jsxRuntime.jsx("svg",{width:"86",height:"24",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.632 6.104C0.632 5.05867 0.834667 4.16267 1.24 3.416C1.66667 2.66933 2.22133 2.06133 2.904 1.592C3.608 1.12267 4.39733 0.781332 5.272 0.567999C6.14667 0.333333 7.032 0.216 7.928 0.216C8.35467 0.216 8.856 0.237333 9.432 0.279999C10.0293 0.322666 10.6267 0.397333 11.224 0.504C11.8427 0.610666 12.44 0.76 13.016 0.952C13.592 1.12267 14.0827 1.34667 14.488 1.624V6.04C14.296 5.336 13.9867 4.664 13.56 4.024C13.1547 3.36267 12.664 2.78667 12.088 2.296C11.512 1.784 10.8613 1.37867 10.136 1.08C9.432 0.759998 8.67467 0.599998 7.864 0.599998C7.224 0.599998 6.584 0.685332 5.944 0.855999C5.32533 1.00533 4.76 1.25067 4.248 1.592C3.75733 1.912 3.352 2.328 3.032 2.84C2.73333 3.352 2.584 3.97067 2.584 4.696C2.584 5.464 2.76533 6.136 3.128 6.712C3.512 7.26667 4.01333 7.768 4.632 8.216C5.25067 8.664 5.95467 9.08 6.744 9.464C7.53333 9.82667 8.33333 10.2 9.144 10.584C9.976 10.9467 10.7867 11.3307 11.576 11.736C12.3653 12.1413 13.0693 12.6107 13.688 13.144C14.3067 13.656 14.7973 14.2533 15.16 14.936C15.544 15.6187 15.736 16.408 15.736 17.304C15.736 18.4773 15.5013 19.4587 15.032 20.248C14.5627 21.016 13.944 21.6347 13.176 22.104C12.4293 22.552 11.576 22.872 10.616 23.064C9.656 23.256 8.68533 23.352 7.704 23.352C7.256 23.352 6.712 23.32 6.072 23.256C5.432 23.2133 4.77067 23.1173 4.088 22.968C3.42667 22.8187 2.78667 22.6373 2.168 22.424C1.54933 22.1893 1.03733 21.8907 0.632 21.528V16.792C0.845333 17.688 1.16533 18.52 1.592 19.288C2.04 20.056 2.57333 20.7173 3.192 21.272C3.832 21.8053 4.54667 22.232 5.336 22.552C6.14667 22.8507 7.02133 23 7.96 23C8.62133 23 9.272 22.9253 9.912 22.776C10.552 22.6053 11.128 22.3493 11.64 22.008C12.152 21.6453 12.5573 21.1973 12.856 20.664C13.176 20.1093 13.336 19.448 13.336 18.68C13.336 17.5493 13.016 16.6107 12.376 15.864C11.7573 15.1173 10.9787 14.4773 10.04 13.944C9.10133 13.3893 8.07733 12.888 6.968 12.44C5.88 11.9707 4.86667 11.4587 3.928 10.904C2.98933 10.3493 2.2 9.69867 1.56 8.952C0.941333 8.20533 0.632 7.256 0.632 6.104ZM25.5425 8.12C26.6945 8.12 27.7078 8.30133 28.5825 8.664C29.4785 9.00533 30.2358 9.48533 30.8545 10.104C31.7932 9.18667 32.6892 8.17333 33.5425 7.064C34.3958 5.95467 35.1852 4.86667 35.9105 3.8C36.3372 3.18133 36.7318 2.60533 37.0945 2.072C37.4572 1.51733 37.7878 1.02667 38.0865 0.599998H38.4065V20.952C38.4065 21.3573 38.4598 21.688 38.5665 21.944C38.6732 22.2 38.8012 22.4027 38.9505 22.552C39.1212 22.68 39.2918 22.776 39.4625 22.84C39.6332 22.8827 39.7825 22.904 39.9105 22.904V23H34.5665V22.904C34.7158 22.904 34.8758 22.8827 35.0465 22.84C35.2172 22.776 35.3772 22.68 35.5265 22.552C35.6758 22.4027 35.7932 22.2 35.8785 21.944C35.9638 21.688 36.0065 21.3573 36.0065 20.952V4.312C35.5158 5.016 34.9932 5.752 34.4385 6.52C33.8838 7.26667 33.2972 8.00267 32.6785 8.728C32.0598 9.432 31.3985 10.104 30.6945 10.744C30.0118 11.3627 29.2972 11.896 28.5505 12.344C27.7185 12.8347 26.9505 13.144 26.2465 13.272C25.5638 13.4 24.9558 13.4 24.4225 13.272C23.8892 13.144 23.4518 12.92 23.1105 12.6C22.7692 12.2587 22.5238 11.8853 22.3745 11.48C22.1398 10.7547 22.2145 10.072 22.5985 9.432C21.9158 10.008 21.4252 10.776 21.1265 11.736C20.8278 12.6747 20.6785 13.6453 20.6785 14.648C20.6785 15.4373 20.7638 16.312 20.9345 17.272C21.1052 18.232 21.3825 19.1387 21.7665 19.992C22.1718 20.824 22.7052 21.528 23.3665 22.104C24.0278 22.68 24.8598 22.968 25.8625 22.968C26.7158 22.968 27.4412 22.808 28.0385 22.488C28.6358 22.168 29.1158 21.7413 29.4785 21.208C29.8412 20.6533 30.0972 20.024 30.2465 19.32C30.4172 18.616 30.5025 17.8907 30.5025 17.144C30.5025 15.416 30.2038 13.7627 29.6065 12.184L31.3985 10.712C31.9532 11.4587 32.3372 12.2587 32.5505 13.112C32.7852 13.9653 32.9025 14.8613 32.9025 15.8C32.9025 16.9307 32.7318 17.9653 32.3905 18.904C32.0705 19.8213 31.5905 20.6107 30.9505 21.272C30.3318 21.9333 29.5638 22.4453 28.6465 22.808C27.7505 23.1707 26.7265 23.352 25.5745 23.352C24.4225 23.352 23.3878 23.1707 22.4705 22.808C21.5745 22.4453 20.8065 21.9333 20.1665 21.272C19.5478 20.6107 19.0678 19.8213 18.7265 18.904C18.4065 17.9653 18.2465 16.9307 18.2465 15.8C18.2465 14.712 18.4172 13.6987 18.7585 12.76C19.0998 11.8213 19.5798 11.0107 20.1985 10.328C20.8385 9.624 21.6065 9.08 22.5025 8.696C23.3985 8.312 24.4118 8.12 25.5425 8.12ZM22.7585 11.224C22.8652 11.608 23.0678 11.96 23.3665 12.28C23.6652 12.6 24.0492 12.824 24.5185 12.952C25.0092 13.08 25.5745 13.0907 26.2145 12.984C26.8758 12.856 27.6118 12.5467 28.4225 12.056C28.5718 11.9493 28.7105 11.8533 28.8385 11.768C28.9878 11.6613 29.1372 11.5547 29.2865 11.448C28.8812 10.6373 28.3478 9.95467 27.6865 9.4C27.0465 8.84533 26.2358 8.568 25.2545 8.568C24.5932 8.568 24.0278 8.664 23.5585 8.856C23.1745 9.15467 22.9185 9.51733 22.7905 9.944C22.6625 10.3707 22.6518 10.7973 22.7585 11.224ZM43.5965 17.016C44.3218 16.44 45.0258 15.992 45.7085 15.672C46.4125 15.352 47.0952 15.0533 47.7565 14.776C48.4392 14.4987 49.0258 14.232 49.5165 13.976C50.0072 13.72 50.4018 13.4533 50.7005 13.176C50.9992 12.8773 51.2125 12.5467 51.3405 12.184C51.4898 11.8 51.5645 11.352 51.5645 10.84C51.5645 10.4773 51.4898 10.136 51.3405 9.816C51.2125 9.496 51.0098 9.22933 50.7325 9.016C50.4552 8.78133 50.1032 8.61067 49.6765 8.504C49.2498 8.39733 48.7378 8.38667 48.1405 8.472C47.0952 8.62133 46.0925 9.15467 45.1325 10.072C44.1938 10.968 43.3512 12.0347 42.6045 13.272V10.648C42.9245 10.2427 43.2978 9.89067 43.7245 9.592C44.1725 9.272 44.6418 9.016 45.1325 8.824C45.6232 8.61067 46.1245 8.45067 46.6365 8.344C47.1698 8.23733 47.6818 8.17333 48.1725 8.152C49.9218 8.10933 51.2872 8.48267 52.2685 9.272C53.2498 10.0613 53.7405 11.384 53.7405 13.24V20.472C53.7405 20.8987 53.8045 21.2933 53.9325 21.656C54.0818 21.9973 54.4338 22.1573 54.9885 22.136C55.1165 22.136 55.2552 22.1147 55.4045 22.072C55.5538 22.008 55.6925 21.912 55.8205 21.784V21.944C55.6285 22.2853 55.3192 22.5733 54.8925 22.808C54.4658 23.0427 53.9752 23.16 53.4205 23.16C53.0365 23.16 52.7165 23.0853 52.4605 22.936C52.2045 22.7867 51.9912 22.6053 51.8205 22.392C51.6712 22.1787 51.5645 21.9653 51.5005 21.752C51.4365 21.5173 51.4045 21.3253 51.4045 21.176C51.0845 21.5387 50.7432 21.8587 50.3805 22.136C50.0392 22.392 49.6445 22.616 49.1965 22.808C48.7698 23 48.2685 23.1387 47.6925 23.224C47.1378 23.3307 46.4872 23.3733 45.7405 23.352C45.1858 23.3307 44.6738 23.2453 44.2045 23.096C43.7352 22.968 43.3512 22.776 43.0525 22.52C42.7325 22.2427 42.4872 21.9227 42.3165 21.56C42.1672 21.1973 42.0818 20.8027 42.0605 20.376C42.0392 19.7573 42.1672 19.1387 42.4445 18.52C42.7218 17.9013 43.1058 17.4 43.5965 17.016ZM44.5885 19.8C44.5885 20.8453 44.8552 21.624 45.3885 22.136C45.9432 22.6267 46.5618 22.8827 47.2445 22.904C47.6712 22.9253 48.1192 22.8613 48.5885 22.712C49.0792 22.5413 49.5272 22.328 49.9325 22.072C50.3378 21.816 50.6685 21.5173 50.9245 21.176C51.2018 20.8133 51.3405 20.4507 51.3405 20.088V13.56C50.5938 13.816 49.8258 14.1253 49.0365 14.488C48.2472 14.8507 47.5218 15.2773 46.8605 15.768C46.1992 16.2587 45.6552 16.8347 45.2285 17.496C44.8018 18.1573 44.5885 18.9253 44.5885 19.8ZM59.2045 21.08C58.6498 20.4613 58.2125 19.7147 57.8925 18.84C57.5938 17.944 57.4445 16.9093 57.4445 15.736C57.4445 14.392 57.7112 13.1867 58.2445 12.12C58.8632 10.8613 59.7592 9.89067 60.9325 9.208C62.1058 8.504 63.4178 8.152 64.8685 8.152C65.8712 8.152 66.8738 8.28 67.8765 8.536C68.9005 8.792 69.7218 9.272 70.3405 9.976V13.016C70.1058 12.5253 69.8285 12.024 69.5085 11.512C69.2098 10.9787 68.8578 10.488 68.4525 10.04C68.0472 9.592 67.5885 9.22933 67.0765 8.952C66.5645 8.65333 65.9778 8.504 65.3165 8.504C64.6125 8.48267 63.8978 8.64267 63.1725 8.984C62.4472 9.304 61.8392 9.74133 61.3485 10.296C60.8792 10.8507 60.5272 11.5333 60.2925 12.344C60.0792 13.1333 59.9618 13.9653 59.9405 14.84C59.9192 15.6933 59.9938 16.536 60.1645 17.368C60.3565 18.2 60.6232 18.9253 60.9645 19.544C61.5405 20.6107 62.2765 21.3787 63.1725 21.848C64.0685 22.296 64.9965 22.52 65.9565 22.52C66.9805 22.52 67.8445 22.2853 68.5485 21.816C69.2738 21.3253 69.9138 20.7387 70.4685 20.056L70.6605 20.184C70.1272 21.016 69.3592 21.752 68.3565 22.392C67.3538 23.032 66.1165 23.352 64.6445 23.352C63.5778 23.352 62.5752 23.1707 61.6365 22.808C60.6978 22.424 59.8872 21.848 59.2045 21.08ZM73.2155 12.12C73.8342 10.8613 74.7302 9.89067 75.9035 9.208C77.0768 8.504 78.3888 8.152 79.8395 8.152C80.9275 8.152 81.8662 8.33333 82.6555 8.696C83.4448 9.03733 84.0742 9.50667 84.5435 10.104C85.0128 10.68 85.3328 11.352 85.5035 12.12C85.6742 12.8667 85.6955 13.6347 85.5675 14.424L74.9435 16.12C75.0075 16.76 75.1248 17.3787 75.2955 17.976C75.4662 18.552 75.6688 19.0747 75.9035 19.544C76.4795 20.6107 77.2155 21.3787 78.1115 21.848C79.0288 22.296 79.9675 22.52 80.9275 22.52C81.9515 22.52 82.8155 22.2853 83.5195 21.816C84.2448 21.3253 84.8848 20.7387 85.4395 20.056L85.5995 20.184C85.0875 21.016 84.3302 21.752 83.3275 22.392C82.3248 23.032 81.0875 23.352 79.6155 23.352C78.5488 23.352 77.5355 23.1707 76.5755 22.808C75.6368 22.424 74.8368 21.848 74.1755 21.08C73.6208 20.4613 73.1835 19.7147 72.8635 18.84C72.5648 17.944 72.4155 16.9093 72.4155 15.736C72.4155 14.392 72.6822 13.1867 73.2155 12.12ZM74.9115 15.768L80.7035 14.68C81.0235 14.616 81.3008 14.5307 81.5355 14.424C81.7915 14.3173 82.0368 14.2107 82.2715 14.104C82.7835 13.848 83.1568 13.5173 83.3915 13.112C83.6262 12.6853 83.7328 12.248 83.7115 11.8C83.6902 10.7547 83.3915 9.976 82.8155 9.464C82.2395 8.93067 81.5568 8.62133 80.7675 8.536C79.9782 8.45067 79.1675 8.55733 78.3355 8.856C77.5035 9.15467 76.8315 9.61333 76.3195 10.232C75.7648 10.8933 75.3702 11.7253 75.1355 12.728C74.9222 13.7093 74.8475 14.7227 74.9115 15.768Z",fill:e})});var Zt=({className:e="",items:t,navigate:o,activeKey:n,pathname:i,...s})=>{let l=t?.map(a=>({...a,label:a.label,key:a.key,children:a.children}));return jsxRuntime.jsx(antd.Tabs,{className:e,style:{marginBottom:32},items:l,activeKey:n,onChange:a=>{o&&o(`${i}/${a}`);},...s})},zt=Zt;var I5=r__default.default.div`
|
|
465
465
|
margin-right: 10px;
|
|
466
466
|
`,$5=r__default.default.div`
|
|
467
467
|
display: flex;
|
|
@@ -703,7 +703,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
703
703
|
.szh-menu--state-closing.szh-menu--dir-bottom {
|
|
704
704
|
animation: szh-menu-hide-slide-bottom 0.15s ease-in forwards;
|
|
705
705
|
}
|
|
706
|
-
`;function r2({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(Z.Caret,{direction:"up",color:t})})}var
|
|
706
|
+
`;function r2({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(Z.Caret,{direction:"up",color:t})})}var Nt=({children:e,cta:t,onItemClick:o=()=>null,onMenuChange:n=()=>null,className:i="",menuProps:s={menuButton:null},caretColor:l="#000",borderColor:a="#555555"})=>{let C={overflow:"auto",position:"archor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},m=q5.useRef(null),[f,c]=reactMenu.useMenuState({transition:!0}),u=reactMenu.useClick(f.state,c),h=f.state==="open"||f.state==="opening";return q5.useEffect(()=>{n(f.state);},[f.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs($5,{className:`${i} ${h?"menu-open":"menu-closed"}`,ref:m,borderColor:a,...u,children:[jsxRuntime.jsx(I5,{children:t}),jsxRuntime.jsx(r2,{isActive:h,color:l}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...f,anchorRef:m,onClose:()=>c(!1),onItemClick:o,onMenuChange:n,...C,...s,children:e})]})})},Ut=({label:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:t,children:e}),Wt=({label:e,value:t,selected:o=!1,onClick:n=()=>null,disabled:i=!1,linkTo:s="",className:l=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${l} ${o?"active":"inactive"}`,value:t,onClick:n,href:s,disabled:i,children:e}),Xt=({value:e,onChange:t=()=>null,className:o=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:n})=>jsxRuntime.jsx("input",{className:o,ref:n,type:"text",placeholder:"Type to filter",value:e,onChange:t})}),Kt=({children:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:t,children:e}),Jt=({className:e=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:e}),c1={Button:Ut,Container:Nt,Search:Xt,Divider:Jt,Header:Kt,Item:Wt};r__default.default.div`
|
|
707
707
|
padding: 0 20px;
|
|
708
708
|
border-radius: 10px;
|
|
709
709
|
border: 1px solid #7f7f7f;
|
|
@@ -724,9 +724,9 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
724
724
|
&.szh-menu__divider {
|
|
725
725
|
margin: 0;
|
|
726
726
|
}
|
|
727
|
-
`;var
|
|
727
|
+
`;var o8=({startTime:e="00:00",endTime:t="24:00",interval:o=30,defaultValue:n="",onChange:i=()=>null})=>{let[s,l]=q5.useState(),C=q5.useCallback(()=>{let f=luxon.DateTime.fromFormat(t,"HH:mm"),c=luxon.Duration.fromObject({minutes:o}),u=[],h=luxon.DateTime.fromFormat(e,"hh:mm");for(;h<=f;)u.push({label:h.toFormat("h:mm a"),value:{hour:h.toFormat("HH"),min:h.toFormat("mm"),raw:h.toFormat("HH:mm"),formatted:h.toFormat("h:mm a")}}),h=h.plus(c);return u},[e,t,o,n])();return q5.useEffect(()=>{let f=C.find(c=>c.value.raw===(n||e));l(f);},[n]),jsxRuntime.jsx(W5,{onItemClick:f=>{let c=C.find(u=>u.value.raw===f.value.raw);l(c),i(f);},cta:jsxRuntime.jsx(d.Body,{size:"lg",children:s?.value.formatted||"-"}),children:C.map(f=>jsxRuntime.jsx(X5,{label:f.label,value:f.value,selected:f.value.raw===s?.value.raw},f.label))})},s2=o8;var s8=({defaultState:e=!1,name:t,label:o={active:"YES",inactive:"NO"},handleEvent:n=null,value:i,disabled:s=!1,loading:l=!1})=>{let a=reactHookForm.useFormContext();q5.useEffect(()=>{a&&e&&a.setValue(t,i);},[]);let C=m=>{s||(a&&a.setValue(t,m?i:null),n&&n(m));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:e,checkedChildren:o.active,unCheckedChildren:o.inactive,loading:l,disabled:s,onChange:C})},a2=s8;var p8=r__default.default.div`
|
|
728
728
|
display: inline-block;
|
|
729
|
-
`,
|
|
729
|
+
`,d8=({className:e="",children:t,content:o,...n})=>jsxRuntime.jsx(antd.Tooltip,{placement:"topLeft",color:"#E9F0EE",title:o,arrow:{pointAtCenter:!0},overlayClassName:e,...n,children:jsxRuntime.jsx(p8,{children:t})}),C8=r__default.default(d8)`
|
|
730
730
|
max-width: 355px;
|
|
731
731
|
min-width: 300px;
|
|
732
732
|
width: 100%;
|
|
@@ -741,7 +741,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
741
741
|
color: #1d4339;
|
|
742
742
|
padding: 15px 22px;
|
|
743
743
|
}
|
|
744
|
-
`,
|
|
744
|
+
`,m8=C8;var f8=r__default.default.div`
|
|
745
745
|
display: flex;
|
|
746
746
|
flex-direction: column;
|
|
747
747
|
|
|
@@ -750,10 +750,10 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
750
750
|
align-items: center;
|
|
751
751
|
justify-content: center;
|
|
752
752
|
}
|
|
753
|
-
`,
|
|
753
|
+
`,c8=r__default.default.div`
|
|
754
754
|
width: 32px;
|
|
755
755
|
height: 32px;
|
|
756
|
-
`,
|
|
756
|
+
`,g8=r__default.default.div`
|
|
757
757
|
border-radius: 30px;
|
|
758
758
|
border: 1px solid #347866;
|
|
759
759
|
width: 32px;
|
|
@@ -765,9 +765,9 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
765
765
|
color: ${({active:e})=>e?"#fff":"#347866"};
|
|
766
766
|
|
|
767
767
|
transition: all 0.15s ease-in;
|
|
768
|
-
`,
|
|
768
|
+
`,u8=r__default.default.div`
|
|
769
769
|
width: 32px;
|
|
770
|
-
`,
|
|
770
|
+
`,h8=r__default.default.div`
|
|
771
771
|
border: 1px solid #afc8bf;
|
|
772
772
|
|
|
773
773
|
width: 35%;
|
|
@@ -775,25 +775,25 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
775
775
|
@media (max-width: 768px) {
|
|
776
776
|
width: 25%;
|
|
777
777
|
}
|
|
778
|
-
`,
|
|
778
|
+
`,x8=r__default.default.div`
|
|
779
779
|
width: 35%;
|
|
780
780
|
|
|
781
781
|
@media (max-width: 768px) {
|
|
782
782
|
width: 25%;
|
|
783
783
|
}
|
|
784
|
-
`,Q5=({currentStep:e,steps:t})=>jsxRuntime.jsxs(
|
|
784
|
+
`,Q5=({currentStep:e,steps:t})=>jsxRuntime.jsxs(f8,{children:[jsxRuntime.jsx("div",{children:t.map((o,n)=>jsxRuntime.jsxs(q5__default.default.Fragment,{children:[jsxRuntime.jsx(c8,{children:jsxRuntime.jsx(g8,{active:e===n,children:n+1})}),n<t.length-1&&jsxRuntime.jsx(h8,{})]},o))}),jsxRuntime.jsx("div",{children:t.map((o,n)=>jsxRuntime.jsxs(q5__default.default.Fragment,{children:[jsxRuntime.jsx(u8,{children:o}),n<t.length-1&&jsxRuntime.jsx(x8,{})]},o))})]});var y8=r__default.default.div`
|
|
785
785
|
margin-left: 16px;
|
|
786
786
|
|
|
787
787
|
& > div:last-of-type {
|
|
788
788
|
padding-bottom: 0;
|
|
789
789
|
border: none;
|
|
790
790
|
}
|
|
791
|
-
`,
|
|
791
|
+
`,b8=r__default.default.div`
|
|
792
792
|
display: flex;
|
|
793
793
|
gap: 16px;
|
|
794
794
|
padding-bottom: 40px;
|
|
795
795
|
border-left: 1px solid #afc8bf;
|
|
796
|
-
`,
|
|
796
|
+
`,w8=r__default.default.div`
|
|
797
797
|
margin-left: -18px;
|
|
798
798
|
border-radius: 30px;
|
|
799
799
|
border: 1px solid #347866;
|
|
@@ -809,29 +809,29 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
809
809
|
font-size: 16px;
|
|
810
810
|
font-style: normal;
|
|
811
811
|
font-weight: 600;
|
|
812
|
-
`,
|
|
812
|
+
`,v8=r__default.default.div`
|
|
813
813
|
display: flex;
|
|
814
814
|
flex-direction: column;
|
|
815
815
|
gap: 8px;
|
|
816
|
-
`,
|
|
816
|
+
`,M8=r__default.default.div`
|
|
817
817
|
color: #285e50;
|
|
818
818
|
font-family: Lato;
|
|
819
819
|
font-size: 18px;
|
|
820
820
|
font-weight: 700;
|
|
821
821
|
line-height: normal;
|
|
822
|
-
`,
|
|
822
|
+
`,L8=r__default.default.div`
|
|
823
823
|
color: #000;
|
|
824
824
|
font-family: Lato;
|
|
825
825
|
font-size: 16px;
|
|
826
826
|
font-weight: 400;
|
|
827
827
|
line-height: normal;
|
|
828
|
-
`,e3=({steps:e})=>{let t=e.map((o,n)=>jsxRuntime.jsxs(
|
|
828
|
+
`,e3=({steps:e})=>{let t=e.map((o,n)=>jsxRuntime.jsxs(b8,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx(w8,{children:n+1})}),jsxRuntime.jsxs(v8,{children:[jsxRuntime.jsx(M8,{children:o.title}),jsxRuntime.jsx(L8,{children:o.description})]})]},o.title));return jsxRuntime.jsx(y8,{children:t})};var H8={Horizontal:Q5,Vertical:e3};var Z8=r__default.default(d.Body)`
|
|
829
829
|
margin-bottom: 5px;
|
|
830
830
|
font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
|
|
831
831
|
text-align: start;
|
|
832
|
-
`,
|
|
832
|
+
`,z8=r__default.default(d.Body)`
|
|
833
833
|
margin-bottom: 5px;
|
|
834
|
-
`,
|
|
834
|
+
`,_8=r__default.default.input`
|
|
835
835
|
width: 100%;
|
|
836
836
|
height: 50px;
|
|
837
837
|
box-sizing: border-box;
|
|
@@ -856,7 +856,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
856
856
|
transition: background-color 5000s ease-in-out 0s;
|
|
857
857
|
background-clip: content-box !important;
|
|
858
858
|
}
|
|
859
|
-
`,
|
|
859
|
+
`,B8=reactImask.IMaskMixin(({inputRef:e,...t})=>jsxRuntime.jsx(_8,{ref:e,...t})),P8=r__default.default.textarea`
|
|
860
860
|
width: 100%;
|
|
861
861
|
resize: none;
|
|
862
862
|
height: 200px;
|
|
@@ -876,14 +876,14 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
876
876
|
}
|
|
877
877
|
`,t3=r__default.default(d.Body)`
|
|
878
878
|
margin-bottom: 24px;
|
|
879
|
-
`,
|
|
879
|
+
`,F8=({name:e,label:t=null,details:o=null,type:n="text",options:i={},previewOnly:s=!1,textArea:l=!1,marginBottom:a="24px",isLabelBold:C=!0,format:m=String,errorMessage:f="This field is required",...c})=>{let{register:u,control:h,getValues:b,formState:{errors:v}}=reactHookForm.useFormContext();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t&&jsxRuntime.jsx(Z8,{size:"lg",isLabelBold:C,children:t}),o&&jsxRuntime.jsx(z8,{children:o}),l?jsxRuntime.jsx("div",{children:s?jsxRuntime.jsx(t3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsx(P8,{...c,...u(e,i),marginBottom:a})}):jsxRuntime.jsx("div",{style:{width:"100%"},children:s?jsxRuntime.jsx(t3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsxs("div",{style:{marginBottom:v?.[e]?"6px":a,display:"flex",flexDirection:"column"},children:[jsxRuntime.jsx(reactHookForm.Controller,{render:S=>jsxRuntime.jsx(B8,{...c,unmask:!1,mask:m,name:S.field.name,onBlur:S.field.onBlur,defaultValue:i.value||S.field.value,onAccept:P=>S.field.onChange({target:{value:P}}),marginBottom:a,type:n}),name:e,rules:i,control:h}),v?.[e]&&jsxRuntime.jsx(x1,{children:f})]})})]})},i1=F8;var E8=r__default.default.div`
|
|
880
880
|
margin-bottom: 32px;
|
|
881
|
-
`,
|
|
881
|
+
`,O8=r__default.default.div`
|
|
882
882
|
display: ${({inline:e})=>e?"flex":"block"};
|
|
883
883
|
gap: 20px;
|
|
884
884
|
flex-wrap: wrap;
|
|
885
885
|
margin: 20px 0;
|
|
886
|
-
`,
|
|
886
|
+
`,A8=r__default.default.div`
|
|
887
887
|
display: flex;
|
|
888
888
|
gap: 30rem;
|
|
889
889
|
align-items: center;
|
|
@@ -894,7 +894,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
894
894
|
label {
|
|
895
895
|
padding-left: 35px;
|
|
896
896
|
}
|
|
897
|
-
`,
|
|
897
|
+
`,T8=r__default.default.input`
|
|
898
898
|
-webkit-appearance: none;
|
|
899
899
|
position: absolute;
|
|
900
900
|
appearance: none;
|
|
@@ -949,12 +949,12 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
949
949
|
&:checked + label::before {
|
|
950
950
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMC42NjY3IDEuNTAwMTJMNC4yNTAwNCA3LjkxNjc5TDEuMzMzMzcgNS4wMDAxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
|
|
951
951
|
}
|
|
952
|
-
`,
|
|
952
|
+
`,G8=r__default.default(d.Body)`
|
|
953
953
|
margin-bottom: 5px;
|
|
954
954
|
font-weight: bold;
|
|
955
|
-
`,
|
|
955
|
+
`,I8=r__default.default(d.Body)`
|
|
956
956
|
margin-bottom: 5px;
|
|
957
|
-
`,$
|
|
957
|
+
`,$8=r__default.default.div`
|
|
958
958
|
display: flex;
|
|
959
959
|
gap: 15px;
|
|
960
960
|
align-items: center;
|
|
@@ -963,7 +963,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
963
963
|
input[type="text"] {
|
|
964
964
|
margin: 0;
|
|
965
965
|
}
|
|
966
|
-
`,B1=({option:e,name:t,...o})=>{let{register:n}=reactHookForm.useFormContext();return jsxRuntime.jsxs(
|
|
966
|
+
`,B1=({option:e,name:t,...o})=>{let{register:n}=reactHookForm.useFormContext();return jsxRuntime.jsxs(A8,{children:[jsxRuntime.jsx(T8,{type:"checkbox",value:e.value,...n(t),...o}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},n3=({name:e,label:t,details:o="",options:n=[],inline:i=!1,other:s={},...l})=>jsxRuntime.jsxs(E8,{children:[jsxRuntime.jsx(G8,{size:"lg",children:t}),o&&jsxRuntime.jsx(I8,{children:o}),jsxRuntime.jsxs(O8,{inline:i,children:[n.map(a=>jsxRuntime.jsx(B1,{option:a,name:e,...l},`${e}-${a.value}`)),s.label&&jsxRuntime.jsxs($8,{children:[jsxRuntime.jsx(B1,{option:{label:s.label,value:"other"},name:e,...l},e),jsxRuntime.jsx(i1,{name:`${e}_other`,...l})]})]})]});var W8=({formMethods:e=null,formOptions:t={},onSubmit:o,children:n,className:i=""})=>{let s={mode:"onBlur",...t},l=reactHookForm.useForm(s),a=e||l,C=m=>o(m);return jsxRuntime.jsx(reactHookForm.FormProvider,{...a,children:jsxRuntime.jsx("form",{className:i,onSubmit:a.handleSubmit(C),children:n})})},i3=W8;var K8=({label:e,name:t,options:o={},...n})=>{let{register:i}=reactHookForm.useFormContext(),s=r__default.default.div`
|
|
967
967
|
position: relative;
|
|
968
968
|
margin-bottom: 24px;
|
|
969
969
|
|
|
@@ -990,14 +990,14 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
990
990
|
font-size: 24px;
|
|
991
991
|
font-style: normal;
|
|
992
992
|
width: 100%;
|
|
993
|
-
`;return jsxRuntime.jsxs(s,{children:[jsxRuntime.jsxs(l,{children:[jsxRuntime.jsx(H1,{}),jsxRuntime.jsx(a,{...i(t,o),...n})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e})})]})},a3=
|
|
993
|
+
`;return jsxRuntime.jsxs(s,{children:[jsxRuntime.jsxs(l,{children:[jsxRuntime.jsx(H1,{}),jsxRuntime.jsx(a,{...i(t,o),...n})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e})})]})},a3=K8;var J8=r__default.default.div`
|
|
994
994
|
margin-bottom: 32px;
|
|
995
|
-
`,
|
|
995
|
+
`,Y8=r__default.default.div`
|
|
996
996
|
display: ${({inline:e})=>e?"flex":"block"};
|
|
997
997
|
gap: 20px;
|
|
998
998
|
flex-wrap: wrap;
|
|
999
999
|
margin: 20px 0;
|
|
1000
|
-
`,
|
|
1000
|
+
`,q8=r__default.default.div`
|
|
1001
1001
|
display: flex;
|
|
1002
1002
|
gap: 30rem;
|
|
1003
1003
|
align-items: center;
|
|
@@ -1008,7 +1008,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1008
1008
|
label {
|
|
1009
1009
|
padding-left: 32px;
|
|
1010
1010
|
}
|
|
1011
|
-
`,
|
|
1011
|
+
`,Q8=r__default.default.input`
|
|
1012
1012
|
-webkit-appearance: none;
|
|
1013
1013
|
position: absolute;
|
|
1014
1014
|
appearance: none;
|
|
@@ -1062,7 +1062,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1062
1062
|
transform: scale(1.65);
|
|
1063
1063
|
background: #1d4339;
|
|
1064
1064
|
}
|
|
1065
|
-
`,
|
|
1065
|
+
`,j8=r__default.default(d.Body)`
|
|
1066
1066
|
margin-bottom: 5px;
|
|
1067
1067
|
font-weight: bold;
|
|
1068
1068
|
`,e4=r__default.default(d.Body)`
|
|
@@ -1075,7 +1075,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1075
1075
|
input[type="text"] {
|
|
1076
1076
|
margin: 0;
|
|
1077
1077
|
}
|
|
1078
|
-
`,F1=({option:e,name:t,inline:o,...n})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(
|
|
1078
|
+
`,F1=({option:e,name:t,inline:o,...n})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(q8,{inline:o,children:[jsxRuntime.jsx(Q8,{type:"radio",value:e.value,...i(t),...n}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},p3=({name:e,label:t,details:o="",options:n=[],inline:i=!1,allowOther:s=!1,...l})=>jsxRuntime.jsxs(J8,{children:[jsxRuntime.jsx(j8,{size:"lg",children:t}),o&&jsxRuntime.jsx(e4,{children:o}),jsxRuntime.jsxs(Y8,{inline:i,children:[n.map(a=>jsxRuntime.jsx(F1,{option:a,name:e,inline:i,...l},`${e}-${a.value}`)),s&&jsxRuntime.jsxs(t4,{children:[jsxRuntime.jsx(F1,{option:{label:"Other",value:"other"},name:e,inline:i,...l},e),jsxRuntime.jsx(i1,{name:`${e}_other`,...l})]})]})]}),o4=r__default.default.div`
|
|
1079
1079
|
width: 100%;
|
|
1080
1080
|
`,n4=({hasError:e,selected:t})=>e?"red":t?"#285E50":"#7f7f7f",r4=r__default.default.label`
|
|
1081
1081
|
display: flex;
|
|
@@ -1434,6 +1434,14 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1434
1434
|
margin-top: 16px;
|
|
1435
1435
|
margin-bottom: 16px;
|
|
1436
1436
|
}
|
|
1437
|
+
.ant-menu-submenu-title {
|
|
1438
|
+
display: flex;
|
|
1439
|
+
flex-direction: row;
|
|
1440
|
+
gap: 18px;
|
|
1441
|
+
}
|
|
1442
|
+
&& .ant-menu-title-content {
|
|
1443
|
+
margin: 0px !important;
|
|
1444
|
+
}
|
|
1437
1445
|
&& .ant-menu-submenu-title:hover {
|
|
1438
1446
|
background-color: #fff;
|
|
1439
1447
|
}
|
|
@@ -1478,26 +1486,26 @@ exports.Avatar = r0;
|
|
|
1478
1486
|
exports.Button = G1;
|
|
1479
1487
|
exports.Collapse = L0;
|
|
1480
1488
|
exports.Contentful = r1;
|
|
1481
|
-
exports.ContentfulLottieFileSlug =
|
|
1489
|
+
exports.ContentfulLottieFileSlug = it;
|
|
1482
1490
|
exports.DateSelect = I1;
|
|
1483
1491
|
exports.Drawer = _0;
|
|
1484
1492
|
exports.Form = f9;
|
|
1485
1493
|
exports.Icons = Z;
|
|
1486
1494
|
exports.LoadingSpinner = o2;
|
|
1487
|
-
exports.LottieAnimation =
|
|
1495
|
+
exports.LottieAnimation = mt;
|
|
1488
1496
|
exports.Menu = c1;
|
|
1489
|
-
exports.Modal =
|
|
1497
|
+
exports.Modal = xt;
|
|
1490
1498
|
exports.NavigationMenu = z9;
|
|
1491
|
-
exports.NumberedProgressSteps =
|
|
1492
|
-
exports.Progress =
|
|
1493
|
-
exports.Segmented =
|
|
1499
|
+
exports.NumberedProgressSteps = H8;
|
|
1500
|
+
exports.Progress = wt;
|
|
1501
|
+
exports.Segmented = Ht;
|
|
1494
1502
|
exports.Size = c2;
|
|
1495
|
-
exports.SolaceLogo =
|
|
1503
|
+
exports.SolaceLogo = St;
|
|
1496
1504
|
exports.SolaceThemeProvider = A3;
|
|
1497
|
-
exports.Tabs =
|
|
1505
|
+
exports.Tabs = zt;
|
|
1498
1506
|
exports.TimeSelect = s2;
|
|
1499
1507
|
exports.Toggle = a2;
|
|
1500
|
-
exports.Tooltip =
|
|
1508
|
+
exports.Tooltip = m8;
|
|
1501
1509
|
exports.Typography = d;
|
|
1502
1510
|
exports.VantaLogo = w9;
|
|
1503
1511
|
//# sourceMappingURL=out.js.map
|