hplx-feature-library 1.0.51 → 1.0.52
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/PediatricsCalculator/index.js +1 -1
- package/dist/{PediatricsCalculatorTable-Dd4kWarQ.js → PediatricsCalculatorTable-CgAlyn3Y.js} +5 -2
- package/dist/{PediatricsCalculatorTable-qBoDcNZk.cjs → PediatricsCalculatorTable-wy0-t3Rd.cjs} +2 -2
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/{PediatricsCalculatorTable-Dd4kWarQ.js → PediatricsCalculatorTable-CgAlyn3Y.js}
RENAMED
|
@@ -15749,7 +15749,7 @@ const B7 = /* @__PURE__ */ Gn(F7), U7 = ({
|
|
|
15749
15749
|
return /* @__PURE__ */ $.jsxs(
|
|
15750
15750
|
"div",
|
|
15751
15751
|
{
|
|
15752
|
-
className: `medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${O ? "hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50" : ""} ${o === "prescription" && !h.pedia_data_available
|
|
15752
|
+
className: `medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${O ? "hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50" : ""} ${o === "prescription" && !h.pedia_data_available, ""}
|
|
15753
15753
|
`,
|
|
15754
15754
|
children: [
|
|
15755
15755
|
/* @__PURE__ */ $.jsx("div", { className: "hfl-w-full hfl-py-2.5 hfl-min-w-0", children: M("medicine_name") ? /* @__PURE__ */ $.jsx(
|
|
@@ -16075,7 +16075,10 @@ const B7 = /* @__PURE__ */ Gn(F7), U7 = ({
|
|
|
16075
16075
|
id: `pedia-dose-edit-div-${h.rowId}`,
|
|
16076
16076
|
divContent: ob(h.pedia_dosage),
|
|
16077
16077
|
className: "hfl-flex hfl-items-center hfl-shadow-xs hfl-px-2 hfl-border-1 hfl-rounded-lg hfl-overflow-x-auto hfl-border-Gray-300 hfl-h-10 hfl-bg-White hover:hfl-border-Primary-300 hover:hfl-shadow-xs-primary hfl-outline-none",
|
|
16078
|
-
|
|
16078
|
+
onKeyDownEvent: (W) => {
|
|
16079
|
+
W.key === "Enter" && k("pedia_dosage", W?.currentTarget?.innerText);
|
|
16080
|
+
},
|
|
16081
|
+
onBlurEvent: (W) => {
|
|
16079
16082
|
k("pedia_dosage", W?.currentTarget?.innerText);
|
|
16080
16083
|
}
|
|
16081
16084
|
}
|
package/dist/{PediatricsCalculatorTable-qBoDcNZk.cjs → PediatricsCalculatorTable-wy0-t3Rd.cjs}
RENAMED
|
@@ -134,8 +134,8 @@ vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
|
|
134
134
|
Or, to disable this warning, add the \`allowVulnerableTags\` option
|
|
135
135
|
and ensure you are accounting for this risk.
|
|
136
136
|
|
|
137
|
-
`)});const _=m.nonTextTags||["script","style","textarea","option"];let k,j;m.allowedAttributes&&(k={},j={},s(m.allowedAttributes,function(B,U){k[U]=[];const K=[];B.forEach(function(re){typeof re=="string"&&re.indexOf("*")>=0?K.push(u(re).replace(/\\\*/g,".*")):k[U].push(re)}),K.length&&(j[U]=new RegExp("^("+K.join("|")+")$"))}));const L={},S={},D={};s(m.allowedClasses,function(B,U){if(k&&(l(k,U)||(k[U]=[]),k[U].push("class")),L[U]=B,Array.isArray(B)){const K=[];L[U]=[],D[U]=[],B.forEach(function(re){typeof re=="string"&&re.indexOf("*")>=0?K.push(u(re).replace(/\\\*/g,".*")):re instanceof RegExp?D[U].push(re):L[U].push(re)}),K.length&&(S[U]=new RegExp("^("+K.join("|")+")$"))}});const C={};let M;s(m.transformTags,function(B,U){let K;typeof B=="function"?K=B:typeof B=="string"&&(K=h.simpleTransform(B)),U==="*"?M=K:C[U]=K});let E,T,P,W,X,q,V=!1;I();const te=new t.Parser({onopentag:function(B,U){if(m.onOpenTag&&m.onOpenTag(B,U),m.enforceHtmlBoundary&&B==="html"&&I(),X){q++;return}const K=new y(B,U);T.push(K);let re=!1;const le=!!K.text;let be;if(l(C,B)&&(be=C[B](B,U),K.attribs=U=be.attribs,be.text!==void 0&&(K.innerText=be.text),B!==be.tagName&&(K.name=B=be.tagName,W[E]=be.tagName)),M&&(be=M(B,U),K.attribs=U=be.attribs,B!==be.tagName&&(K.name=B=be.tagName,W[E]=be.tagName)),(!v(B)||m.disallowedTagsMode==="recursiveEscape"&&!p(P)||m.nestingLimit!=null&&E>=m.nestingLimit)&&(re=!0,P[E]=!0,(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&_.indexOf(B)!==-1&&(X=!0,q=1)),E++,re){if(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){if(K.innerText&&!le){const pe=z(K.innerText);m.textFilter?x+=m.textFilter(pe,B):x+=pe,V=!0}return}O=x,x=""}x+="<"+B,B==="script"&&(m.allowedScriptHostnames||m.allowedScriptDomains)&&(K.innerText=""),re&&(m.disallowedTagsMode==="escape"||m.disallowedTagsMode==="recursiveEscape")&&m.preserveEscapedAttributes?s(U,function(pe,ge){x+=" "+ge+'="'+z(pe||"",!0)+'"'}):(!k||l(k,B)||k["*"])&&s(U,function(pe,ge){if(!d.test(ge)){delete K.attribs[ge];return}if(pe===""&&!m.allowedEmptyAttributes.includes(ge)&&(m.nonBooleanAttributes.includes(ge)||m.nonBooleanAttributes.includes("*"))){delete K.attribs[ge];return}let gt=!1;if(!k||l(k,B)&&k[B].indexOf(ge)!==-1||k["*"]&&k["*"].indexOf(ge)!==-1||l(j,B)&&j[B].test(ge)||j["*"]&&j["*"].test(ge))gt=!0;else if(k&&k[B]){for(const ve of k[B])if(n(ve)&&ve.name&&ve.name===ge){gt=!0;let ye="";if(ve.multiple===!0){const dt=pe.split(" ");for(const $e of dt)ve.values.indexOf($e)!==-1&&(ye===""?ye=$e:ye+=" "+$e)}else ve.values.indexOf(pe)>=0&&(ye=pe);pe=ye}}if(gt){if(m.allowedSchemesAppliedToAttributes.indexOf(ge)!==-1&&J(B,pe)){delete K.attribs[ge];return}if(B==="script"&&ge==="src"){let ve=!0;try{const ye=F(pe);if(m.allowedScriptHostnames||m.allowedScriptDomains){const dt=(m.allowedScriptHostnames||[]).find(function(rt){return rt===ye.url.hostname}),$e=(m.allowedScriptDomains||[]).find(function(rt){return ye.url.hostname===rt||ye.url.hostname.endsWith(`.${rt}`)});ve=dt||$e}}catch{ve=!1}if(!ve){delete K.attribs[ge];return}}if(B==="iframe"&&ge==="src"){let ve=!0;try{const ye=F(pe);if(ye.isRelativeUrl)ve=l(m,"allowIframeRelativeUrls")?m.allowIframeRelativeUrls:!m.allowedIframeHostnames&&!m.allowedIframeDomains;else if(m.allowedIframeHostnames||m.allowedIframeDomains){const dt=(m.allowedIframeHostnames||[]).find(function(rt){return rt===ye.url.hostname}),$e=(m.allowedIframeDomains||[]).find(function(rt){return ye.url.hostname===rt||ye.url.hostname.endsWith(`.${rt}`)});ve=dt||$e}}catch{ve=!1}if(!ve){delete K.attribs[ge];return}}if(ge==="srcset")try{let ve=r(pe);if(ve.forEach(function(ye){J("srcset",ye.url)&&(ye.evil=!0)}),ve=c(ve,function(ye){return!ye.evil}),ve.length)pe=f(c(ve,function(ye){return!ye.evil})),K.attribs[ge]=pe;else{delete K.attribs[ge];return}}catch{delete K.attribs[ge];return}if(ge==="class"){const ve=L[B],ye=L["*"],dt=S[B],$e=D[B],rt=D["*"],xr=S["*"],Oe=[dt,xr].concat($e,rt).filter(function(Ve){return Ve});if(ve&&ye?pe=Z(pe,e(ve,ye),Oe):pe=Z(pe,ve||ye,Oe),!pe.length){delete K.attribs[ge];return}}if(ge==="style"){if(m.parseStyleAttributes)try{const ve=a(B+" {"+pe+"}",{map:!1}),ye=H(ve,m.allowedStyles);if(pe=Y(ye),pe.length===0){delete K.attribs[ge];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+B+" {"+pe+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete K.attribs[ge];return}else if(m.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}x+=" "+ge,pe&&pe.length?x+='="'+z(pe,!0)+'"':m.allowedEmptyAttributes.includes(ge)&&(x+='=""')}else delete K.attribs[ge]}),m.selfClosing.indexOf(B)!==-1?x+=" />":(x+=">",K.innerText&&!le&&!m.textFilter&&(x+=z(K.innerText),V=!0)),re&&(x=O+z(x),O=""),K.openingTagLength=x.length-K.tagPosition},ontext:function(B){if(X)return;const U=T[T.length-1];let K;if(U&&(K=U.tag,B=U.innerText!==void 0?U.innerText:B),m.disallowedTagsMode==="completelyDiscard"&&!v(K))B="";else if((m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&(K==="script"||K==="style"))x+=B;else if(!V){const re=z(B,!1);m.textFilter?x+=m.textFilter(re,K):x+=re}if(T.length){const re=T[T.length-1];re.text+=B}},onclosetag:function(B,U){if(m.onCloseTag&&m.onCloseTag(B,U),X)if(q--,!q)X=!1;else return;const K=T.pop();if(!K)return;if(K.tag!==B){T.push(K);return}X=m.enforceHtmlBoundary?B==="html":!1,E--;const re=P[E];if(re){if(delete P[E],m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){K.updateParentNodeText();return}O=x,x=""}if(W[E]&&(B=W[E],delete W[E]),m.exclusiveFilter){const le=m.exclusiveFilter(K);if(le==="excludeTag"){re&&(x=O,O=""),x=x.substring(0,K.tagPosition)+x.substring(K.tagPosition+K.openingTagLength);return}else if(le){x=x.substring(0,K.tagPosition);return}}if(K.updateParentNodeMediaChildren(),K.updateParentNodeText(),m.selfClosing.indexOf(B)!==-1||U&&!v(B)&&["escape","recursiveEscape"].indexOf(m.disallowedTagsMode)>=0){re&&(x=O,O="");return}x+="</"+B+">",re&&(x=O+z(x),O=""),V=!1}},m.parser);return te.write(g),te.end(),x;function I(){x="",E=0,T=[],P={},W={},X=!1,q=0}function z(B,U){return typeof B!="string"&&(B=B+""),m.parser.decodeEntities&&(B=B.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),U&&(B=B.replace(/"/g,"""))),B=B.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),U&&(B=B.replace(/"/g,""")),B}function J(B,U){for(U=U.replace(/[\x00-\x20]+/g,"");;){const le=U.indexOf("<!--");if(le===-1)break;const be=U.indexOf("-->",le+4);if(be===-1)break;U=U.substring(0,le)+U.substring(be+3)}const K=U.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!K)return U.match(/^[/\\]{2}/)?!m.allowProtocolRelative:!1;const re=K[1].toLowerCase();return l(m.allowedSchemesByTag,B)?m.allowedSchemesByTag[B].indexOf(re)===-1:!m.allowedSchemes||m.allowedSchemes.indexOf(re)===-1}function F(B){if(B=B.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),B.startsWith("relative:"))throw new Error("relative: exploit attempt");let U="relative://relative-site";for(let le=0;le<100;le++)U+=`/${le}`;const K=new URL(B,U);return{isRelativeUrl:K&&K.hostname==="relative-site"&&K.protocol==="relative:",url:K}}function H(B,U){if(!U)return B;const K=B.nodes[0];let re;return U[K.selector]&&U["*"]?re=e(U[K.selector],U["*"]):re=U[K.selector]||U["*"],re&&(B.nodes[0].nodes=K.nodes.reduce(Q(re),[])),B}function Y(B){return B.nodes[0].nodes.reduce(function(U,K){return U.push(`${K.prop}:${K.value}${K.important?" !important":""}`),U},[]).join(";")}function Q(B){return function(U,K){return l(B,K.prop)&&B[K.prop].some(function(le){return le.test(K.value)})&&U.push(K),U}}function Z(B,U,K){return U?(B=B.split(/\s+/),B.filter(function(re){return U.indexOf(re)!==-1||K.some(function(le){return le.test(re)})}).join(" ")):B}}const b={decodeEntities:!0};return h.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},h.simpleTransform=function(g,m,w){return w=w===void 0?!0:w,m=m||{},function(x,O){let y;if(w)for(y in m)O[y]=m[y];else O=m;return{tagName:g,attribs:O}}},Ol}var Dk=_k();const Ek=$n(Dk),Ck=({id:t,divContent:u,className:n,tabIndex:e,onChangeEvent:r,onFocusEvent:a,onKeyDownEvent:o,onBlurEvent:i})=>{const s=c=>Ek(c?.toString(),{allowedTags:["sup","sub","b","i","u","span"],allowedAttributes:!1}),l=ne.useMemo(()=>s(u||""),[u]);return $.jsx(KC,{id:t,className:n,onFocus:c=>a&&a(c),onBlur:c=>i&&i(c),tabIndex:e,onKeyDown:c=>{c&&c.key==="Enter"&&c.preventDefault()},onKeyUp:c=>o&&o(c),onChange:c=>r&&r(c),html:l})},kk=t=>{if(/^\d+\/\d+$/.test(t)){const[u,n]=t.split("/").map(Number);if(!n||isNaN(u))return{html:t,whole:"",num:"",denom:""};if(u>=n){const e=Math.floor(u/n),r=u%n;return r===0?{html:`${e}`,whole:`${e}`,num:"",denom:""}:{html:`${e} <sup>${r}</sup>/<sub>${n}</sub>`,whole:`${e}`,num:`${r}`,denom:`${n}`}}else return{html:`<sup>${u}</sup>/<sub>${n}</sub>`,whole:"",num:`${u}`,denom:`${n}`}}return{html:t,whole:"",num:"",denom:""}},J1=t=>{try{if(!t?.length)return"";const u=t.split("-").map(e=>e?.replace(/\n/g,"")),n=[];return u.forEach((e,r)=>{r>0&&n.push("-"),n.push(kk(e)?.html)}),n.join("")}catch(u){return console.error("formatDosageFractionDisplay error:",u),t}},_l=(t,u)=>{const n=parseFloat(t),e=parseFloat(u);if(!t||!u||isNaN(n)||isNaN(e)||e===0)return"";const r=n/e;return Number.isInteger(r)?r.toString(10):r.toFixed(3).replace(/\.?0+$/,"")},Cr=t=>/^(\d+)?(\.)?(\d*)?$/.test(t),Gt=({label:t,children:u})=>$.jsxs(Qe,{variant:"Regular",type:"Text sm",className:"hfl-grid hfl-grid-cols-2 hfl-items-center hfl-text-Blue_gray-800 hfl-justify-between hfl-gap-8",children:[$.jsxs("span",{className:"hfl-flex-shrink-0",children:[t,":"]}),$.jsx("div",{className:"hfl-flex-1 hfl-min-w-0",children:u})]}),Kt=({label:t,value:u})=>$.jsxs(Qe,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-text-Blue_gray-800 hfl-gap-1",children:[$.jsxs("span",{className:"hfl-flex-shrink-0",children:[t,":"]}),$.jsx(Qe,{variant:"Bold",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-break-words hfl-min-w-0",children:u||"--"})]}),Lu=({children:t,className:u=""})=>$.jsx(Qe,{variant:"Regular",type:"Text sm",className:`hfl-text-Blue_gray-800 hfl-px-2 hfl-break-words hfl-overflow-wrap-anywhere hfl-min-w-0 ${u}`,children:t}),Tk=ne.memo(function({rowData:u,isEditing:n,setIsEditing:e,onSaveRow:r,allowCustomMedicineInput:a}){const{variant:o,externallyTriggeredEditMode:i,externallyTriggeredEditRowIds:s,getMedicineOptions:l,onRowChange:c,onRowDelete:p}=ey(),[f,d]=ne.useState([]),[h,b]=ne.useState(u),[g,m]=ne.useState(u.medicine_name);ne.useEffect(()=>{n||m(u.medicine_name)},[u.medicine_name,n]),ne.useEffect(()=>{n||b(u)},[u,n]);const w=async T=>(await l?.(T))?.map(W=>({label:W.doctorMedicineName,value:W}))||[],O=i||s?.includes(u.rowId)||n,y=ne.useMemo(()=>h.out_of_range||u.out_of_range,[h.out_of_range,u.out_of_range]),v=ne.useMemo(()=>h.calculation_type===Tt.C_MedicineCalculatorList[0]?h.calculation_fields:null,[h.calculation_fields,h.calculation_type]),_=ne.useMemo(()=>h.calculation_type===Tt.C_MedicineCalculatorList[1]?h.calculation_fields:null,[h.calculation_fields,h.calculation_type]),k=(T,P)=>{let W;if(T==="calculation_type"){const X=P,q={frequency:h.calculation_fields.frequency,pedia_dosage:o==="standard"?h.calculation_fields.pedia_dosage:h.pedia_dosage};W={...h,calculation_type:X,calculation_fields:X==="mg/kg/dose"?{...Tt.C_DefaultMgKgFields,...q}:{...Tt.C_DefaultMlKgFields,...q}}}else W={...h,[T]:P};b(W),o==="prescription"&&j(W,T)},j=ne.useMemo(()=>zC((T,P)=>{c?.(T,P||void 0)},500),[c]),L=ne.useMemo(()=>$.jsxs("div",{className:"hfl-mb-1 hfl-flex hfl-w-max hfl-items-center hfl-rounded hfl-border-1 hfl-border-Warning-400 hfl-bg-Warning-50 hfl-p-1 hfl-px-2",children:[$.jsx("div",{className:"hx_warning hfl-text-Error-400"}),$.jsx(Qe,{variant:"Regular",type:"Text sm",className:"hfl-px-2 hfl-text-1 hfl-text-Error-500",children:"Dosage exceed safety limits"})]}),[]);ne.useEffect(()=>()=>{j.cancel()},[j]);const S=ne.useCallback((T,P)=>{b(W=>{let X={...W.calculation_fields,[T]:P};if(T==="frequency"&&o==="standard"){const V=Tt.C_FrequencyDosageMap[P]||[];V.length>0&&(X={...X,pedia_dosage:V[0]})}const q={...W,calculation_fields:X};return o==="prescription"&&j(q,T),q})},[j,o]),D=async()=>{const T={...h,calculation_fields:{...h.calculation_fields}};await r?.(T)&&j({...T,isNewlyAdded:!1,isEditing:!1})},C=async()=>{if(!u.medicine_name||u.medicine_name.trim()===""){p?.(u.rowId);return}b(u),o==="standard"&&e(!1)},M=T=>o==="prescription"&&(T==="medicine_name"||T==="generic_name"||T==="type"||T==="calculation_type")?!1:O,E=()=>{const T=!(h?.isSavedToLibrary??!1),P={...h,isSavedToLibrary:T};b(P),j(P,"isSavedToLibrary")};return $.jsxs("div",{className:`medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${O?"hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50":""} ${o==="prescription"&&!h.pedia_data_available?"hfl-hidden":""}
|
|
138
|
-
`,children:[$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("medicine_name")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",inputClassName:"hfl-w-full",inputValue:h.medicine_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:async T=>{if(k("medicine_name",T),T.trim()){const P=await w(T);d(P)}else d([])},onInputFocus:async()=>{const T=await w(h.medicine_name);d(T)},onChangeHandler:T=>{const P=T.value,W=Tt.C_MedicineTypeList.find(X=>X.val===P.medicineType);b(X=>({...X,medicine_name:P.doctorMedicineName,medicine_id:P.medicineId,generic_name:P.doctorGenericName,type:W?.type??""})),m(P.doctorMedicineName)},options:f,isSearchable:!0,placeholder:"Search medicine",disabled:!h?.isNewlyAdded,inputProps:{onBlur:T=>{const P=T.relatedTarget;if(!(P&&P.closest(".custom-dropdown-menu"))&&!a){const W=h.medicine_name?.trim()||"";f.some(q=>q.label===W)||b(q=>({...q,medicine_name:g}))}}}}):$.jsx(Lu,{children:u.medicine_name})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("generic_name")?$.jsx(ht,{wrapperClass:"hfl-w-full",inputClassName:"hfl-w-full",btnClassName:"hfl-w-full",inputValue:h.generic_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:T=>k("generic_name",T),hideDropdownIcon:!0}):$.jsx(Lu,{children:u.generic_name})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("type")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:(()=>{const T=Tt.C_MedicineTypeList.find(P=>P.type===h.type);return T?{label:T.type,value:T.type}:void 0})(),options:Tt.C_MedicineTypeList.map(T=>({label:T.type,value:T.type})),onChangeHandler:T=>k("type",T.value)}):$.jsx(Lu,{children:u.type||""})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("calculation_type")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:{label:h.calculation_type,value:h.calculation_type},options:Tt.C_MedicineCalculatorList.map(T=>({label:T,value:T})),onChangeHandler:T=>k("calculation_type",T.value)}):$.jsx(Lu,{children:u.calculation_type})}),$.jsx("div",{className:"hfl-flex hfl-w-full hfl-flex-col hfl-gap-2 hfl-py-2.5 hfl-px-2",children:M("calculation_fields")?$.jsxs($.Fragment,{children:[v&&$.jsxs($.Fragment,{children:[$.jsx(Gt,{label:"Drug Strength",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.drug_strength||"",inputChangeHandler:T=>{Cr(T)&&S("drug_strength",T)}})}),$.jsx(Gt,{label:"Dose/mg/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.dose_mg_kg||"",inputChangeHandler:T=>{Cr(T)&&S("dose_mg_kg",T)}})}),$.jsx(Gt,{label:"Frequency",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Frequency",showInput:!1,selectedOption:h.calculation_fields.frequency?{label:h.calculation_fields.frequency,value:h.calculation_fields.frequency}:void 0,options:Tt.C_MedicineFrequencyList.map(T=>({label:T,value:T})),onChangeHandler:T=>{S("frequency",T.value)}})}),$.jsx(Gt,{label:"Max Dose (mg)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mg/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.max_mg_dose||"",inputChangeHandler:T=>{Cr(T)&&S("max_mg_dose",T)}})}),$.jsx(Gt,{label:"Max Day (mg)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mg/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.max_mg_day||"",inputChangeHandler:T=>{Cr(T)&&S("max_mg_day",T)}})})]}),_&&$.jsxs($.Fragment,{children:[$.jsx(Gt,{label:"Drug Strength/mL",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.drug_strength||"",inputChangeHandler:T=>{Cr(T)&&(S("drug_strength",T),S("dose_ml_kg",_l(_.dose_mg_kg,T)))}})}),$.jsx(Gt,{label:"Dose/mg/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.dose_mg_kg||"",inputChangeHandler:T=>{Cr(T)&&(S("dose_mg_kg",T),S("dose_ml_kg",_l(T,_.drug_strength)))}})}),$.jsx(Gt,{label:"Dose/mL/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",disabled:!0,placeholder:"e.g., 5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_l(_.dose_mg_kg,_.drug_strength)||"",inputChangeHandler:T=>{Cr(T)&&S("dose_ml_kg",T)}})}),$.jsx(Gt,{label:"Frequency",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Frequency",showInput:!1,selectedOption:h.calculation_fields.frequency?{label:h.calculation_fields.frequency,value:h.calculation_fields.frequency}:void 0,options:Tt.C_MedicineFrequencyList.map(T=>({label:T,value:T})),onChangeHandler:T=>{S("frequency",T.value)}})}),$.jsx(Gt,{label:"Max Dose (mL)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mL/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.max_ml_dose||"",inputChangeHandler:T=>{Cr(T)&&S("max_ml_dose",T)}})}),$.jsx(Gt,{label:"Max Day (mL)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mL/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.max_ml_day||"",inputChangeHandler:T=>{Cr(T)&&S("max_ml_day",T)}})})]})]}):$.jsxs($.Fragment,{children:[v&&$.jsxs($.Fragment,{children:[$.jsx(Kt,{label:"Drug Strength",value:v.drug_strength}),$.jsx(Kt,{label:"Dose/mg/kg",value:v.dose_mg_kg}),$.jsx(Kt,{label:"Frequency",value:v.frequency}),$.jsx(Kt,{label:"Max Dose (mg)",value:v.max_mg_dose}),$.jsx(Kt,{label:"Max Day (mg)",value:v.max_mg_day})]}),_&&$.jsxs($.Fragment,{children:[$.jsx(Kt,{label:"Drug Strength/mL",value:_.drug_strength}),$.jsx(Kt,{label:"Dose/mg/kg",value:_.dose_mg_kg}),$.jsx(Kt,{label:"Dose/mL/kg",value:_.dose_ml_kg}),$.jsx(Kt,{label:"Frequency",value:_.frequency}),$.jsx(Kt,{label:"Max Dose (mL)",value:_.max_ml_dose}),$.jsx(Kt,{label:"Max Day (mL)",value:_.max_ml_day})]})]})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("pedia_dosage")?(()=>{const T=h.calculation_fields.frequency,P=Tt.C_FrequencyDosageMap[T]||[];return $.jsxs($.Fragment,{children:[o==="standard"&&$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",inputClassName:"hfl-w-full",placeholder:"Select",showInput:o!=="standard",disableInputAutoSize:!0,inputValue:h.calculation_fields.pedia_dosage,inputChangeHandler:W=>S("pedia_dosage",W),selectedOption:o==="standard"?{label:h.calculation_fields.pedia_dosage,value:h.calculation_fields.pedia_dosage}:void 0,options:P.map(W=>({label:W,value:W})),onChangeHandler:W=>S("pedia_dosage",W.value),showEmptyDropdownPopup:!0}),o=="prescription"&&$.jsx(Ck,{id:`pedia-dose-edit-div-${h.rowId}`,divContent:J1(h.pedia_dosage),className:"hfl-flex hfl-items-center hfl-shadow-xs hfl-px-2 hfl-border-1 hfl-rounded-lg hfl-overflow-x-auto hfl-border-Gray-300 hfl-h-10 hfl-bg-White hover:hfl-border-Primary-300 hover:hfl-shadow-xs-primary hfl-outline-none",
|
|
137
|
+
`)});const _=m.nonTextTags||["script","style","textarea","option"];let k,j;m.allowedAttributes&&(k={},j={},s(m.allowedAttributes,function(B,U){k[U]=[];const K=[];B.forEach(function(re){typeof re=="string"&&re.indexOf("*")>=0?K.push(u(re).replace(/\\\*/g,".*")):k[U].push(re)}),K.length&&(j[U]=new RegExp("^("+K.join("|")+")$"))}));const L={},S={},D={};s(m.allowedClasses,function(B,U){if(k&&(l(k,U)||(k[U]=[]),k[U].push("class")),L[U]=B,Array.isArray(B)){const K=[];L[U]=[],D[U]=[],B.forEach(function(re){typeof re=="string"&&re.indexOf("*")>=0?K.push(u(re).replace(/\\\*/g,".*")):re instanceof RegExp?D[U].push(re):L[U].push(re)}),K.length&&(S[U]=new RegExp("^("+K.join("|")+")$"))}});const C={};let M;s(m.transformTags,function(B,U){let K;typeof B=="function"?K=B:typeof B=="string"&&(K=h.simpleTransform(B)),U==="*"?M=K:C[U]=K});let E,T,P,W,X,q,V=!1;I();const te=new t.Parser({onopentag:function(B,U){if(m.onOpenTag&&m.onOpenTag(B,U),m.enforceHtmlBoundary&&B==="html"&&I(),X){q++;return}const K=new y(B,U);T.push(K);let re=!1;const le=!!K.text;let be;if(l(C,B)&&(be=C[B](B,U),K.attribs=U=be.attribs,be.text!==void 0&&(K.innerText=be.text),B!==be.tagName&&(K.name=B=be.tagName,W[E]=be.tagName)),M&&(be=M(B,U),K.attribs=U=be.attribs,B!==be.tagName&&(K.name=B=be.tagName,W[E]=be.tagName)),(!v(B)||m.disallowedTagsMode==="recursiveEscape"&&!p(P)||m.nestingLimit!=null&&E>=m.nestingLimit)&&(re=!0,P[E]=!0,(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&_.indexOf(B)!==-1&&(X=!0,q=1)),E++,re){if(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){if(K.innerText&&!le){const pe=z(K.innerText);m.textFilter?x+=m.textFilter(pe,B):x+=pe,V=!0}return}O=x,x=""}x+="<"+B,B==="script"&&(m.allowedScriptHostnames||m.allowedScriptDomains)&&(K.innerText=""),re&&(m.disallowedTagsMode==="escape"||m.disallowedTagsMode==="recursiveEscape")&&m.preserveEscapedAttributes?s(U,function(pe,ge){x+=" "+ge+'="'+z(pe||"",!0)+'"'}):(!k||l(k,B)||k["*"])&&s(U,function(pe,ge){if(!d.test(ge)){delete K.attribs[ge];return}if(pe===""&&!m.allowedEmptyAttributes.includes(ge)&&(m.nonBooleanAttributes.includes(ge)||m.nonBooleanAttributes.includes("*"))){delete K.attribs[ge];return}let gt=!1;if(!k||l(k,B)&&k[B].indexOf(ge)!==-1||k["*"]&&k["*"].indexOf(ge)!==-1||l(j,B)&&j[B].test(ge)||j["*"]&&j["*"].test(ge))gt=!0;else if(k&&k[B]){for(const ve of k[B])if(n(ve)&&ve.name&&ve.name===ge){gt=!0;let ye="";if(ve.multiple===!0){const dt=pe.split(" ");for(const $e of dt)ve.values.indexOf($e)!==-1&&(ye===""?ye=$e:ye+=" "+$e)}else ve.values.indexOf(pe)>=0&&(ye=pe);pe=ye}}if(gt){if(m.allowedSchemesAppliedToAttributes.indexOf(ge)!==-1&&J(B,pe)){delete K.attribs[ge];return}if(B==="script"&&ge==="src"){let ve=!0;try{const ye=F(pe);if(m.allowedScriptHostnames||m.allowedScriptDomains){const dt=(m.allowedScriptHostnames||[]).find(function(rt){return rt===ye.url.hostname}),$e=(m.allowedScriptDomains||[]).find(function(rt){return ye.url.hostname===rt||ye.url.hostname.endsWith(`.${rt}`)});ve=dt||$e}}catch{ve=!1}if(!ve){delete K.attribs[ge];return}}if(B==="iframe"&&ge==="src"){let ve=!0;try{const ye=F(pe);if(ye.isRelativeUrl)ve=l(m,"allowIframeRelativeUrls")?m.allowIframeRelativeUrls:!m.allowedIframeHostnames&&!m.allowedIframeDomains;else if(m.allowedIframeHostnames||m.allowedIframeDomains){const dt=(m.allowedIframeHostnames||[]).find(function(rt){return rt===ye.url.hostname}),$e=(m.allowedIframeDomains||[]).find(function(rt){return ye.url.hostname===rt||ye.url.hostname.endsWith(`.${rt}`)});ve=dt||$e}}catch{ve=!1}if(!ve){delete K.attribs[ge];return}}if(ge==="srcset")try{let ve=r(pe);if(ve.forEach(function(ye){J("srcset",ye.url)&&(ye.evil=!0)}),ve=c(ve,function(ye){return!ye.evil}),ve.length)pe=f(c(ve,function(ye){return!ye.evil})),K.attribs[ge]=pe;else{delete K.attribs[ge];return}}catch{delete K.attribs[ge];return}if(ge==="class"){const ve=L[B],ye=L["*"],dt=S[B],$e=D[B],rt=D["*"],xr=S["*"],Oe=[dt,xr].concat($e,rt).filter(function(Ve){return Ve});if(ve&&ye?pe=Z(pe,e(ve,ye),Oe):pe=Z(pe,ve||ye,Oe),!pe.length){delete K.attribs[ge];return}}if(ge==="style"){if(m.parseStyleAttributes)try{const ve=a(B+" {"+pe+"}",{map:!1}),ye=H(ve,m.allowedStyles);if(pe=Y(ye),pe.length===0){delete K.attribs[ge];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+B+" {"+pe+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete K.attribs[ge];return}else if(m.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}x+=" "+ge,pe&&pe.length?x+='="'+z(pe,!0)+'"':m.allowedEmptyAttributes.includes(ge)&&(x+='=""')}else delete K.attribs[ge]}),m.selfClosing.indexOf(B)!==-1?x+=" />":(x+=">",K.innerText&&!le&&!m.textFilter&&(x+=z(K.innerText),V=!0)),re&&(x=O+z(x),O=""),K.openingTagLength=x.length-K.tagPosition},ontext:function(B){if(X)return;const U=T[T.length-1];let K;if(U&&(K=U.tag,B=U.innerText!==void 0?U.innerText:B),m.disallowedTagsMode==="completelyDiscard"&&!v(K))B="";else if((m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&(K==="script"||K==="style"))x+=B;else if(!V){const re=z(B,!1);m.textFilter?x+=m.textFilter(re,K):x+=re}if(T.length){const re=T[T.length-1];re.text+=B}},onclosetag:function(B,U){if(m.onCloseTag&&m.onCloseTag(B,U),X)if(q--,!q)X=!1;else return;const K=T.pop();if(!K)return;if(K.tag!==B){T.push(K);return}X=m.enforceHtmlBoundary?B==="html":!1,E--;const re=P[E];if(re){if(delete P[E],m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){K.updateParentNodeText();return}O=x,x=""}if(W[E]&&(B=W[E],delete W[E]),m.exclusiveFilter){const le=m.exclusiveFilter(K);if(le==="excludeTag"){re&&(x=O,O=""),x=x.substring(0,K.tagPosition)+x.substring(K.tagPosition+K.openingTagLength);return}else if(le){x=x.substring(0,K.tagPosition);return}}if(K.updateParentNodeMediaChildren(),K.updateParentNodeText(),m.selfClosing.indexOf(B)!==-1||U&&!v(B)&&["escape","recursiveEscape"].indexOf(m.disallowedTagsMode)>=0){re&&(x=O,O="");return}x+="</"+B+">",re&&(x=O+z(x),O=""),V=!1}},m.parser);return te.write(g),te.end(),x;function I(){x="",E=0,T=[],P={},W={},X=!1,q=0}function z(B,U){return typeof B!="string"&&(B=B+""),m.parser.decodeEntities&&(B=B.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),U&&(B=B.replace(/"/g,"""))),B=B.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),U&&(B=B.replace(/"/g,""")),B}function J(B,U){for(U=U.replace(/[\x00-\x20]+/g,"");;){const le=U.indexOf("<!--");if(le===-1)break;const be=U.indexOf("-->",le+4);if(be===-1)break;U=U.substring(0,le)+U.substring(be+3)}const K=U.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!K)return U.match(/^[/\\]{2}/)?!m.allowProtocolRelative:!1;const re=K[1].toLowerCase();return l(m.allowedSchemesByTag,B)?m.allowedSchemesByTag[B].indexOf(re)===-1:!m.allowedSchemes||m.allowedSchemes.indexOf(re)===-1}function F(B){if(B=B.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),B.startsWith("relative:"))throw new Error("relative: exploit attempt");let U="relative://relative-site";for(let le=0;le<100;le++)U+=`/${le}`;const K=new URL(B,U);return{isRelativeUrl:K&&K.hostname==="relative-site"&&K.protocol==="relative:",url:K}}function H(B,U){if(!U)return B;const K=B.nodes[0];let re;return U[K.selector]&&U["*"]?re=e(U[K.selector],U["*"]):re=U[K.selector]||U["*"],re&&(B.nodes[0].nodes=K.nodes.reduce(Q(re),[])),B}function Y(B){return B.nodes[0].nodes.reduce(function(U,K){return U.push(`${K.prop}:${K.value}${K.important?" !important":""}`),U},[]).join(";")}function Q(B){return function(U,K){return l(B,K.prop)&&B[K.prop].some(function(le){return le.test(K.value)})&&U.push(K),U}}function Z(B,U,K){return U?(B=B.split(/\s+/),B.filter(function(re){return U.indexOf(re)!==-1||K.some(function(le){return le.test(re)})}).join(" ")):B}}const b={decodeEntities:!0};return h.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},h.simpleTransform=function(g,m,w){return w=w===void 0?!0:w,m=m||{},function(x,O){let y;if(w)for(y in m)O[y]=m[y];else O=m;return{tagName:g,attribs:O}}},Ol}var Dk=_k();const Ek=$n(Dk),Ck=({id:t,divContent:u,className:n,tabIndex:e,onChangeEvent:r,onFocusEvent:a,onKeyDownEvent:o,onBlurEvent:i})=>{const s=c=>Ek(c?.toString(),{allowedTags:["sup","sub","b","i","u","span"],allowedAttributes:!1}),l=ne.useMemo(()=>s(u||""),[u]);return $.jsx(KC,{id:t,className:n,onFocus:c=>a&&a(c),onBlur:c=>i&&i(c),tabIndex:e,onKeyDown:c=>{c&&c.key==="Enter"&&c.preventDefault()},onKeyUp:c=>o&&o(c),onChange:c=>r&&r(c),html:l})},kk=t=>{if(/^\d+\/\d+$/.test(t)){const[u,n]=t.split("/").map(Number);if(!n||isNaN(u))return{html:t,whole:"",num:"",denom:""};if(u>=n){const e=Math.floor(u/n),r=u%n;return r===0?{html:`${e}`,whole:`${e}`,num:"",denom:""}:{html:`${e} <sup>${r}</sup>/<sub>${n}</sub>`,whole:`${e}`,num:`${r}`,denom:`${n}`}}else return{html:`<sup>${u}</sup>/<sub>${n}</sub>`,whole:"",num:`${u}`,denom:`${n}`}}return{html:t,whole:"",num:"",denom:""}},J1=t=>{try{if(!t?.length)return"";const u=t.split("-").map(e=>e?.replace(/\n/g,"")),n=[];return u.forEach((e,r)=>{r>0&&n.push("-"),n.push(kk(e)?.html)}),n.join("")}catch(u){return console.error("formatDosageFractionDisplay error:",u),t}},_l=(t,u)=>{const n=parseFloat(t),e=parseFloat(u);if(!t||!u||isNaN(n)||isNaN(e)||e===0)return"";const r=n/e;return Number.isInteger(r)?r.toString(10):r.toFixed(3).replace(/\.?0+$/,"")},Cr=t=>/^(\d+)?(\.)?(\d*)?$/.test(t),Gt=({label:t,children:u})=>$.jsxs(Qe,{variant:"Regular",type:"Text sm",className:"hfl-grid hfl-grid-cols-2 hfl-items-center hfl-text-Blue_gray-800 hfl-justify-between hfl-gap-8",children:[$.jsxs("span",{className:"hfl-flex-shrink-0",children:[t,":"]}),$.jsx("div",{className:"hfl-flex-1 hfl-min-w-0",children:u})]}),Kt=({label:t,value:u})=>$.jsxs(Qe,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-text-Blue_gray-800 hfl-gap-1",children:[$.jsxs("span",{className:"hfl-flex-shrink-0",children:[t,":"]}),$.jsx(Qe,{variant:"Bold",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-break-words hfl-min-w-0",children:u||"--"})]}),Lu=({children:t,className:u=""})=>$.jsx(Qe,{variant:"Regular",type:"Text sm",className:`hfl-text-Blue_gray-800 hfl-px-2 hfl-break-words hfl-overflow-wrap-anywhere hfl-min-w-0 ${u}`,children:t}),Tk=ne.memo(function({rowData:u,isEditing:n,setIsEditing:e,onSaveRow:r,allowCustomMedicineInput:a}){const{variant:o,externallyTriggeredEditMode:i,externallyTriggeredEditRowIds:s,getMedicineOptions:l,onRowChange:c,onRowDelete:p}=ey(),[f,d]=ne.useState([]),[h,b]=ne.useState(u),[g,m]=ne.useState(u.medicine_name);ne.useEffect(()=>{n||m(u.medicine_name)},[u.medicine_name,n]),ne.useEffect(()=>{n||b(u)},[u,n]);const w=async T=>(await l?.(T))?.map(W=>({label:W.doctorMedicineName,value:W}))||[],O=i||s?.includes(u.rowId)||n,y=ne.useMemo(()=>h.out_of_range||u.out_of_range,[h.out_of_range,u.out_of_range]),v=ne.useMemo(()=>h.calculation_type===Tt.C_MedicineCalculatorList[0]?h.calculation_fields:null,[h.calculation_fields,h.calculation_type]),_=ne.useMemo(()=>h.calculation_type===Tt.C_MedicineCalculatorList[1]?h.calculation_fields:null,[h.calculation_fields,h.calculation_type]),k=(T,P)=>{let W;if(T==="calculation_type"){const X=P,q={frequency:h.calculation_fields.frequency,pedia_dosage:o==="standard"?h.calculation_fields.pedia_dosage:h.pedia_dosage};W={...h,calculation_type:X,calculation_fields:X==="mg/kg/dose"?{...Tt.C_DefaultMgKgFields,...q}:{...Tt.C_DefaultMlKgFields,...q}}}else W={...h,[T]:P};b(W),o==="prescription"&&j(W,T)},j=ne.useMemo(()=>zC((T,P)=>{c?.(T,P||void 0)},500),[c]),L=ne.useMemo(()=>$.jsxs("div",{className:"hfl-mb-1 hfl-flex hfl-w-max hfl-items-center hfl-rounded hfl-border-1 hfl-border-Warning-400 hfl-bg-Warning-50 hfl-p-1 hfl-px-2",children:[$.jsx("div",{className:"hx_warning hfl-text-Error-400"}),$.jsx(Qe,{variant:"Regular",type:"Text sm",className:"hfl-px-2 hfl-text-1 hfl-text-Error-500",children:"Dosage exceed safety limits"})]}),[]);ne.useEffect(()=>()=>{j.cancel()},[j]);const S=ne.useCallback((T,P)=>{b(W=>{let X={...W.calculation_fields,[T]:P};if(T==="frequency"&&o==="standard"){const V=Tt.C_FrequencyDosageMap[P]||[];V.length>0&&(X={...X,pedia_dosage:V[0]})}const q={...W,calculation_fields:X};return o==="prescription"&&j(q,T),q})},[j,o]),D=async()=>{const T={...h,calculation_fields:{...h.calculation_fields}};await r?.(T)&&j({...T,isNewlyAdded:!1,isEditing:!1})},C=async()=>{if(!u.medicine_name||u.medicine_name.trim()===""){p?.(u.rowId);return}b(u),o==="standard"&&e(!1)},M=T=>o==="prescription"&&(T==="medicine_name"||T==="generic_name"||T==="type"||T==="calculation_type")?!1:O,E=()=>{const T=!(h?.isSavedToLibrary??!1),P={...h,isSavedToLibrary:T};b(P),j(P,"isSavedToLibrary")};return $.jsxs("div",{className:`medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${O?"hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50":""} ${o==="prescription"&&!h.pedia_data_available,""}
|
|
138
|
+
`,children:[$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("medicine_name")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",inputClassName:"hfl-w-full",inputValue:h.medicine_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:async T=>{if(k("medicine_name",T),T.trim()){const P=await w(T);d(P)}else d([])},onInputFocus:async()=>{const T=await w(h.medicine_name);d(T)},onChangeHandler:T=>{const P=T.value,W=Tt.C_MedicineTypeList.find(X=>X.val===P.medicineType);b(X=>({...X,medicine_name:P.doctorMedicineName,medicine_id:P.medicineId,generic_name:P.doctorGenericName,type:W?.type??""})),m(P.doctorMedicineName)},options:f,isSearchable:!0,placeholder:"Search medicine",disabled:!h?.isNewlyAdded,inputProps:{onBlur:T=>{const P=T.relatedTarget;if(!(P&&P.closest(".custom-dropdown-menu"))&&!a){const W=h.medicine_name?.trim()||"";f.some(q=>q.label===W)||b(q=>({...q,medicine_name:g}))}}}}):$.jsx(Lu,{children:u.medicine_name})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("generic_name")?$.jsx(ht,{wrapperClass:"hfl-w-full",inputClassName:"hfl-w-full",btnClassName:"hfl-w-full",inputValue:h.generic_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:T=>k("generic_name",T),hideDropdownIcon:!0}):$.jsx(Lu,{children:u.generic_name})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("type")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:(()=>{const T=Tt.C_MedicineTypeList.find(P=>P.type===h.type);return T?{label:T.type,value:T.type}:void 0})(),options:Tt.C_MedicineTypeList.map(T=>({label:T.type,value:T.type})),onChangeHandler:T=>k("type",T.value)}):$.jsx(Lu,{children:u.type||""})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("calculation_type")?$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:{label:h.calculation_type,value:h.calculation_type},options:Tt.C_MedicineCalculatorList.map(T=>({label:T,value:T})),onChangeHandler:T=>k("calculation_type",T.value)}):$.jsx(Lu,{children:u.calculation_type})}),$.jsx("div",{className:"hfl-flex hfl-w-full hfl-flex-col hfl-gap-2 hfl-py-2.5 hfl-px-2",children:M("calculation_fields")?$.jsxs($.Fragment,{children:[v&&$.jsxs($.Fragment,{children:[$.jsx(Gt,{label:"Drug Strength",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.drug_strength||"",inputChangeHandler:T=>{Cr(T)&&S("drug_strength",T)}})}),$.jsx(Gt,{label:"Dose/mg/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.dose_mg_kg||"",inputChangeHandler:T=>{Cr(T)&&S("dose_mg_kg",T)}})}),$.jsx(Gt,{label:"Frequency",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Frequency",showInput:!1,selectedOption:h.calculation_fields.frequency?{label:h.calculation_fields.frequency,value:h.calculation_fields.frequency}:void 0,options:Tt.C_MedicineFrequencyList.map(T=>({label:T,value:T})),onChangeHandler:T=>{S("frequency",T.value)}})}),$.jsx(Gt,{label:"Max Dose (mg)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mg/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.max_mg_dose||"",inputChangeHandler:T=>{Cr(T)&&S("max_mg_dose",T)}})}),$.jsx(Gt,{label:"Max Day (mg)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mg/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:v.max_mg_day||"",inputChangeHandler:T=>{Cr(T)&&S("max_mg_day",T)}})})]}),_&&$.jsxs($.Fragment,{children:[$.jsx(Gt,{label:"Drug Strength/mL",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.drug_strength||"",inputChangeHandler:T=>{Cr(T)&&(S("drug_strength",T),S("dose_ml_kg",_l(_.dose_mg_kg,T)))}})}),$.jsx(Gt,{label:"Dose/mg/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.dose_mg_kg||"",inputChangeHandler:T=>{Cr(T)&&(S("dose_mg_kg",T),S("dose_ml_kg",_l(T,_.drug_strength)))}})}),$.jsx(Gt,{label:"Dose/mL/kg",children:$.jsx(ht,{wrapperClass:"hfl-w-full",disabled:!0,placeholder:"e.g., 5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_l(_.dose_mg_kg,_.drug_strength)||"",inputChangeHandler:T=>{Cr(T)&&S("dose_ml_kg",T)}})}),$.jsx(Gt,{label:"Frequency",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Frequency",showInput:!1,selectedOption:h.calculation_fields.frequency?{label:h.calculation_fields.frequency,value:h.calculation_fields.frequency}:void 0,options:Tt.C_MedicineFrequencyList.map(T=>({label:T,value:T})),onChangeHandler:T=>{S("frequency",T.value)}})}),$.jsx(Gt,{label:"Max Dose (mL)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mL/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.max_ml_dose||"",inputChangeHandler:T=>{Cr(T)&&S("max_ml_dose",T)}})}),$.jsx(Gt,{label:"Max Day (mL)",children:$.jsx(ht,{wrapperClass:"hfl-w-full",placeholder:"Max mL/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:_.max_ml_day||"",inputChangeHandler:T=>{Cr(T)&&S("max_ml_day",T)}})})]})]}):$.jsxs($.Fragment,{children:[v&&$.jsxs($.Fragment,{children:[$.jsx(Kt,{label:"Drug Strength",value:v.drug_strength}),$.jsx(Kt,{label:"Dose/mg/kg",value:v.dose_mg_kg}),$.jsx(Kt,{label:"Frequency",value:v.frequency}),$.jsx(Kt,{label:"Max Dose (mg)",value:v.max_mg_dose}),$.jsx(Kt,{label:"Max Day (mg)",value:v.max_mg_day})]}),_&&$.jsxs($.Fragment,{children:[$.jsx(Kt,{label:"Drug Strength/mL",value:_.drug_strength}),$.jsx(Kt,{label:"Dose/mg/kg",value:_.dose_mg_kg}),$.jsx(Kt,{label:"Dose/mL/kg",value:_.dose_ml_kg}),$.jsx(Kt,{label:"Frequency",value:_.frequency}),$.jsx(Kt,{label:"Max Dose (mL)",value:_.max_ml_dose}),$.jsx(Kt,{label:"Max Day (mL)",value:_.max_ml_day})]})]})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:M("pedia_dosage")?(()=>{const T=h.calculation_fields.frequency,P=Tt.C_FrequencyDosageMap[T]||[];return $.jsxs($.Fragment,{children:[o==="standard"&&$.jsx(ht,{wrapperClass:"hfl-w-full",btnClassName:"hfl-w-full",inputClassName:"hfl-w-full",placeholder:"Select",showInput:o!=="standard",disableInputAutoSize:!0,inputValue:h.calculation_fields.pedia_dosage,inputChangeHandler:W=>S("pedia_dosage",W),selectedOption:o==="standard"?{label:h.calculation_fields.pedia_dosage,value:h.calculation_fields.pedia_dosage}:void 0,options:P.map(W=>({label:W,value:W})),onChangeHandler:W=>S("pedia_dosage",W.value),showEmptyDropdownPopup:!0}),o=="prescription"&&$.jsx(Ck,{id:`pedia-dose-edit-div-${h.rowId}`,divContent:J1(h.pedia_dosage),className:"hfl-flex hfl-items-center hfl-shadow-xs hfl-px-2 hfl-border-1 hfl-rounded-lg hfl-overflow-x-auto hfl-border-Gray-300 hfl-h-10 hfl-bg-White hover:hfl-border-Primary-300 hover:hfl-shadow-xs-primary hfl-outline-none",onKeyDownEvent:W=>{W.key==="Enter"&&k("pedia_dosage",W?.currentTarget?.innerText)},onBlurEvent:W=>{k("pedia_dosage",W?.currentTarget?.innerText)}})]})})():$.jsxs("div",{className:"hfl-flex hfl-flex-col hfl-h-full hfl-justify-between hfl-min-w-0",children:[o==="prescription"?$.jsx(Lu,{children:$.jsx(Qe,{variant:"Regular",type:"Text sm",dangerouslySetInnerHTML:{__html:J1(u.pedia_dosage)}})}):$.jsx(Lu,{children:u.calculation_fields.pedia_dosage}),y&&L]})}),$.jsx("div",{className:"hfl-w-full hfl-py-2.5 hfl-min-w-0",children:$.jsx(qC,{effectiveEditMode:O,rowData:u,isSavedToLibrary:h.isSavedToLibrary??!1,onSave:D,onCancel:C,onEdit:()=>e(!0),onCheckboxToggle:E})})]})},(t,u)=>t.isEditing===u.isEditing&&t.rowData.rowId===u.rowData.rowId&&t.rowData.isEditing===u.rowData.isEditing&&t.rowData.medicine_name===u.rowData.medicine_name&&t.rowData.generic_name===u.rowData.generic_name&&t.rowData.type===u.rowData.type&&t.rowData.pedia_dosage===u.rowData.pedia_dosage&&t.rowData.calculation_type===u.rowData.calculation_type&&JSON.stringify(t.rowData.calculation_fields)===JSON.stringify(u.rowData.calculation_fields)&&t.rowData.out_of_range===u.rowData.out_of_range&&t.rowData.isDosageMismatch===u.rowData.isDosageMismatch&&t.rowData.calculation_fields.pedia_dosage===u.rowData.calculation_fields.pedia_dosage&&t.rowData?.isNewlyAdded===u.rowData?.isNewlyAdded&&t.rowData?.pedia_data_available===u.rowData?.pedia_data_available);var Va={exports:{}},Lr={},Ga={exports:{}},At={},Ka={exports:{}},Z1;function py(){return Z1||(Z1=1,function(t,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=c;/*!
|
|
139
139
|
* Adapted from jQuery UI core
|
|
140
140
|
*
|
|
141
141
|
* http://jqueryui.com
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!hfl-pointer-events-none{pointer-events:none!important}.hfl-pointer-events-none{pointer-events:none}.hfl-visible{visibility:visible}.hfl-invisible{visibility:hidden}.hfl-absolute{position:absolute}.hfl-relative{position:relative}.hfl-top-1\/2{top:50%}.hfl-z-50{z-index:50}.hfl-mx-2{margin-left:.5em;margin-right:.5em}.hfl-my-0{margin-top:0;margin-bottom:0}.hfl-mb-1{margin-bottom:.25em}.hfl-mb-4{margin-bottom:1em}.hfl-ml-1{margin-left:.25em}.hfl-ml-\[1px\]{margin-left:1px}.hfl-mr-2{margin-right:.5em}.hfl-mt-1{margin-top:.25em}.hfl-mt-2{margin-top:.5em}.hfl-mt-3{margin-top:.75em}.hfl-mt-4{margin-top:1em}.hfl-mt-5{margin-top:1.25em}.hfl-block{display:block}.hfl-inline-block{display:inline-block}.hfl-flex{display:flex}.hfl-inline-flex{display:inline-flex}.hfl-grid{display:grid}.hfl-hidden{display:none}.hfl-h-10{height:2.5em}.hfl-h-12{height:3em}.hfl-h-\[40px\]{height:40px}.hfl-h-full{height:100%}.hfl-max-h-\[330px\]{max-height:330px}.hfl-w-12{width:3em}.hfl-w-full{width:100%}.hfl-w-max{width:-moz-max-content;width:max-content}.hfl-min-w-0{min-width:0px}.hfl-min-w-\[16em\]{min-width:16em}.hfl-min-w-\[20em\]{min-width:20em}.hfl-flex-1{flex:1 1 0%}.hfl-flex-shrink-0{flex-shrink:0}.hfl--translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!hfl-cursor-not-allowed{cursor:not-allowed!important}.hfl-cursor-pointer{cursor:pointer}.hfl-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hfl-grid-cols-\[1\.36fr_1\.36fr_1\.02fr_1\.25fr_2\.27fr_1\.36fr_1\.36fr\]{grid-template-columns:1.36fr 1.36fr 1.02fr 1.25fr 2.27fr 1.36fr 1.36fr}.hfl-grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.hfl-grid-cols-\[1fr_1fr_1fr\]{grid-template-columns:1fr 1fr 1fr}.hfl-flex-col{flex-direction:column}.hfl-flex-wrap{flex-wrap:wrap}.hfl-items-center{align-items:center}.hfl-justify-end{justify-content:flex-end}.hfl-justify-center{justify-content:center}.hfl-justify-between{justify-content:space-between}.hfl-gap-1{gap:.25em}.hfl-gap-2{gap:.5em}.hfl-gap-2\.5{gap:.625em}.hfl-gap-4{gap:1em}.hfl-gap-6{gap:1.5em}.hfl-gap-8{gap:2em}.hfl-overflow-x-auto{overflow-x:auto}.hfl-overflow-y-auto{overflow-y:auto}.hfl-overflow-y-scroll{overflow-y:scroll}.hfl-text-nowrap{text-wrap:nowrap}.hfl-break-words{overflow-wrap:break-word}.hfl-rounded{border-radius:.25em}.hfl-rounded-full{border-radius:9999px}.hfl-rounded-lg{border-radius:.5em}.hfl-rounded-md{border-radius:.375em}.hfl-rounded-sm{border-radius:.125rem}.hfl-border-0{border-width:0}.hfl-border-1{border-width:1px}.hfl-border-8{border-width:8px}.hfl-border-x-1{border-left-width:1px;border-right-width:1px}.hfl-border-b-1{border-bottom-width:1px}.hfl-border-r-1{border-right-width:1px}.hfl-border-t{border-top-width:1px}.hfl-border-Error-300{--tw-border-opacity: 1;border-color:rgb(253 162 155 / var(--tw-border-opacity, 1))}.hfl-border-Gray-200{--tw-border-opacity: 1;border-color:rgb(234 236 240 / var(--tw-border-opacity, 1))}.hfl-border-Gray-300{--tw-border-opacity: 1;border-color:rgb(208 213 221 / var(--tw-border-opacity, 1))}.hfl-border-Warning-400{--tw-border-opacity: 1;border-color:rgb(253 176 34 / var(--tw-border-opacity, 1))}.hfl-border-Warning-50{--tw-border-opacity: 1;border-color:rgb(255 250 235 / var(--tw-border-opacity, 1))}.\!hfl-bg-Gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))!important}.hfl-bg-Blue-100{--tw-bg-opacity: 1;background-color:rgb(209 233 255 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue-50{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue-600{--tw-bg-opacity: 1;background-color:rgb(21 112 239 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue_gray-50{--tw-bg-opacity: 1;background-color:rgb(248 249 252 / var(--tw-bg-opacity, 1))}.hfl-bg-Error-500{--tw-bg-opacity: 1;background-color:rgb(240 68 56 / var(--tw-bg-opacity, 1))}.hfl-bg-Gray-100{--tw-bg-opacity: 1;background-color:rgb(242 244 247 / var(--tw-bg-opacity, 1))}.hfl-bg-Gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hfl-bg-Primary-600{--tw-bg-opacity: 1;background-color:rgb(21 112 239 / var(--tw-bg-opacity, 1))}.hfl-bg-Warning-100{--tw-bg-opacity: 1;background-color:rgb(254 240 199 / var(--tw-bg-opacity, 1))}.hfl-bg-Warning-50{--tw-bg-opacity: 1;background-color:rgb(255 250 235 / var(--tw-bg-opacity, 1))}.hfl-bg-White{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hfl-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.hfl-bg-gradient_primary_600_500_90{background-image:linear-gradient(90deg,#1570ef,#2e90fa)}.hfl-from-White_20{--tw-gradient-from: #fffffd var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hfl-to-Primary-50{--tw-gradient-to: #eff8ff var(--tw-gradient-to-position)}.hfl-p-1{padding:.25em}.hfl-px-2{padding-left:.5em;padding-right:.5em}.hfl-px-3{padding-left:.75em;padding-right:.75em}.hfl-px-4{padding-left:1em;padding-right:1em}.hfl-px-6{padding-left:1.5em;padding-right:1.5em}.hfl-px-7{padding-left:1.75em;padding-right:1.75em}.hfl-py-0\.5{padding-top:.125em;padding-bottom:.125em}.hfl-py-1{padding-top:.25em;padding-bottom:.25em}.hfl-py-2{padding-top:.5em;padding-bottom:.5em}.hfl-py-2\.5{padding-top:.625em;padding-bottom:.625em}.hfl-py-3{padding-top:.75em;padding-bottom:.75em}.hfl-py-5{padding-top:1.25em;padding-bottom:1.25em}.hfl-py-\[6px\]{padding-top:6px;padding-bottom:6px}.hfl-pl-2{padding-left:.5em}.hfl-pr-4{padding-right:1em}.hfl-text-left{text-align:left}.hfl-text-0{font-size:12px}.hfl-text-1{font-size:14px}.hfl-text-5{font-size:24px}.hfl-text-\[14px\]{font-size:14px}.hfl-font-bold{font-weight:700}.hfl-font-inter-0{font-weight:400}.hfl-text-Blue-500{--tw-text-opacity: 1;color:rgb(46 144 250 / var(--tw-text-opacity, 1))}.hfl-text-Blue-600{--tw-text-opacity: 1;color:rgb(21 112 239 / var(--tw-text-opacity, 1))}.hfl-text-Blue_gray-600{--tw-text-opacity: 1;color:rgb(62 71 132 / var(--tw-text-opacity, 1))}.hfl-text-Blue_gray-800{--tw-text-opacity: 1;color:rgb(41 48 86 / var(--tw-text-opacity, 1))}.hfl-text-Error-400{--tw-text-opacity: 1;color:rgb(249 112 102 / var(--tw-text-opacity, 1))}.hfl-text-Error-500{--tw-text-opacity: 1;color:rgb(240 68 56 / var(--tw-text-opacity, 1))}.hfl-text-Error-600{--tw-text-opacity: 1;color:rgb(217 45 32 / var(--tw-text-opacity, 1))}.hfl-text-Gray-500{--tw-text-opacity: 1;color:rgb(102 112 133 / var(--tw-text-opacity, 1))}.hfl-text-Gray-700{--tw-text-opacity: 1;color:rgb(52 64 84 / var(--tw-text-opacity, 1))}.hfl-text-Gray-900{--tw-text-opacity: 1;color:rgb(16 24 40 / var(--tw-text-opacity, 1))}.hfl-text-Warning-600{--tw-text-opacity: 1;color:rgb(220 104 3 / var(--tw-text-opacity, 1))}.hfl-text-White{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hfl-shadow-lg{--tw-shadow: 0px 12px 16px -4px rgba(16, 24, 40, .08), 0px 4px 6px -2px rgba(16, 24, 40, .03);--tw-shadow-colored: 0px 12px 16px -4px var(--tw-shadow-color), 0px 4px 6px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hfl-shadow-xs{--tw-shadow: 0px 1px 2px rgba(16, 24, 40, .05);--tw-shadow-colored: 0px 1px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hfl-outline-none{outline:2px solid transparent;outline-offset:2px}.odd\:hfl-bg-Gray-100:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(242 244 247 / var(--tw-bg-opacity, 1))}.hover\:hfl-border-Primary-300:hover{--tw-border-opacity: 1;border-color:rgb(132 202 255 / var(--tw-border-opacity, 1))}.hover\:hfl-bg-Blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Error-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 242 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Error-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 35 24 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hover\:hfl-shadow-xs-primary:hover{--tw-shadow: 0px 1px 2px rgba(16, 24, 40, .05), 0px 0px 0px 4px #d1e9ff;--tw-shadow-colored: 0px 1px 2px var(--tw-shadow-color), 0px 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:hfl-border-0:focus{border-width:0}.focus-visible\:hfl-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:hfl-outline-0:focus-visible{outline-width:0px}.disabled\:hfl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:hfl-opacity-50:disabled{opacity:.5}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!hfl-pointer-events-none{pointer-events:none!important}.hfl-pointer-events-none{pointer-events:none}.hfl-visible{visibility:visible}.hfl-invisible{visibility:hidden}.hfl-absolute{position:absolute}.hfl-relative{position:relative}.hfl-top-1\/2{top:50%}.hfl-z-50{z-index:50}.hfl-mx-2{margin-left:.5em;margin-right:.5em}.hfl-my-0{margin-top:0;margin-bottom:0}.hfl-mb-1{margin-bottom:.25em}.hfl-mb-4{margin-bottom:1em}.hfl-ml-1{margin-left:.25em}.hfl-ml-\[1px\]{margin-left:1px}.hfl-mr-2{margin-right:.5em}.hfl-mt-1{margin-top:.25em}.hfl-mt-2{margin-top:.5em}.hfl-mt-3{margin-top:.75em}.hfl-mt-4{margin-top:1em}.hfl-mt-5{margin-top:1.25em}.hfl-block{display:block}.hfl-inline-block{display:inline-block}.hfl-flex{display:flex}.hfl-inline-flex{display:inline-flex}.hfl-grid{display:grid}.hfl-h-10{height:2.5em}.hfl-h-12{height:3em}.hfl-h-\[40px\]{height:40px}.hfl-h-full{height:100%}.hfl-max-h-\[330px\]{max-height:330px}.hfl-w-12{width:3em}.hfl-w-full{width:100%}.hfl-w-max{width:-moz-max-content;width:max-content}.hfl-min-w-0{min-width:0px}.hfl-min-w-\[16em\]{min-width:16em}.hfl-min-w-\[20em\]{min-width:20em}.hfl-flex-1{flex:1 1 0%}.hfl-flex-shrink-0{flex-shrink:0}.hfl--translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!hfl-cursor-not-allowed{cursor:not-allowed!important}.hfl-cursor-pointer{cursor:pointer}.hfl-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hfl-grid-cols-\[1\.36fr_1\.36fr_1\.02fr_1\.25fr_2\.27fr_1\.36fr_1\.36fr\]{grid-template-columns:1.36fr 1.36fr 1.02fr 1.25fr 2.27fr 1.36fr 1.36fr}.hfl-grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.hfl-grid-cols-\[1fr_1fr_1fr\]{grid-template-columns:1fr 1fr 1fr}.hfl-flex-col{flex-direction:column}.hfl-flex-wrap{flex-wrap:wrap}.hfl-items-center{align-items:center}.hfl-justify-end{justify-content:flex-end}.hfl-justify-center{justify-content:center}.hfl-justify-between{justify-content:space-between}.hfl-gap-1{gap:.25em}.hfl-gap-2{gap:.5em}.hfl-gap-2\.5{gap:.625em}.hfl-gap-4{gap:1em}.hfl-gap-6{gap:1.5em}.hfl-gap-8{gap:2em}.hfl-overflow-x-auto{overflow-x:auto}.hfl-overflow-y-auto{overflow-y:auto}.hfl-overflow-y-scroll{overflow-y:scroll}.hfl-text-nowrap{text-wrap:nowrap}.hfl-break-words{overflow-wrap:break-word}.hfl-rounded{border-radius:.25em}.hfl-rounded-full{border-radius:9999px}.hfl-rounded-lg{border-radius:.5em}.hfl-rounded-md{border-radius:.375em}.hfl-rounded-sm{border-radius:.125rem}.hfl-border-0{border-width:0}.hfl-border-1{border-width:1px}.hfl-border-8{border-width:8px}.hfl-border-x-1{border-left-width:1px;border-right-width:1px}.hfl-border-b-1{border-bottom-width:1px}.hfl-border-r-1{border-right-width:1px}.hfl-border-t{border-top-width:1px}.hfl-border-Error-300{--tw-border-opacity: 1;border-color:rgb(253 162 155 / var(--tw-border-opacity, 1))}.hfl-border-Gray-200{--tw-border-opacity: 1;border-color:rgb(234 236 240 / var(--tw-border-opacity, 1))}.hfl-border-Gray-300{--tw-border-opacity: 1;border-color:rgb(208 213 221 / var(--tw-border-opacity, 1))}.hfl-border-Warning-400{--tw-border-opacity: 1;border-color:rgb(253 176 34 / var(--tw-border-opacity, 1))}.hfl-border-Warning-50{--tw-border-opacity: 1;border-color:rgb(255 250 235 / var(--tw-border-opacity, 1))}.\!hfl-bg-Gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))!important}.hfl-bg-Blue-100{--tw-bg-opacity: 1;background-color:rgb(209 233 255 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue-50{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue-600{--tw-bg-opacity: 1;background-color:rgb(21 112 239 / var(--tw-bg-opacity, 1))}.hfl-bg-Blue_gray-50{--tw-bg-opacity: 1;background-color:rgb(248 249 252 / var(--tw-bg-opacity, 1))}.hfl-bg-Error-500{--tw-bg-opacity: 1;background-color:rgb(240 68 56 / var(--tw-bg-opacity, 1))}.hfl-bg-Gray-100{--tw-bg-opacity: 1;background-color:rgb(242 244 247 / var(--tw-bg-opacity, 1))}.hfl-bg-Gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hfl-bg-Primary-600{--tw-bg-opacity: 1;background-color:rgb(21 112 239 / var(--tw-bg-opacity, 1))}.hfl-bg-Warning-100{--tw-bg-opacity: 1;background-color:rgb(254 240 199 / var(--tw-bg-opacity, 1))}.hfl-bg-Warning-50{--tw-bg-opacity: 1;background-color:rgb(255 250 235 / var(--tw-bg-opacity, 1))}.hfl-bg-White{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hfl-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.hfl-bg-gradient_primary_600_500_90{background-image:linear-gradient(90deg,#1570ef,#2e90fa)}.hfl-from-White_20{--tw-gradient-from: #fffffd var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hfl-to-Primary-50{--tw-gradient-to: #eff8ff var(--tw-gradient-to-position)}.hfl-p-1{padding:.25em}.hfl-px-2{padding-left:.5em;padding-right:.5em}.hfl-px-3{padding-left:.75em;padding-right:.75em}.hfl-px-4{padding-left:1em;padding-right:1em}.hfl-px-6{padding-left:1.5em;padding-right:1.5em}.hfl-px-7{padding-left:1.75em;padding-right:1.75em}.hfl-py-0\.5{padding-top:.125em;padding-bottom:.125em}.hfl-py-1{padding-top:.25em;padding-bottom:.25em}.hfl-py-2{padding-top:.5em;padding-bottom:.5em}.hfl-py-2\.5{padding-top:.625em;padding-bottom:.625em}.hfl-py-3{padding-top:.75em;padding-bottom:.75em}.hfl-py-5{padding-top:1.25em;padding-bottom:1.25em}.hfl-py-\[6px\]{padding-top:6px;padding-bottom:6px}.hfl-pl-2{padding-left:.5em}.hfl-pr-4{padding-right:1em}.hfl-text-left{text-align:left}.hfl-text-0{font-size:12px}.hfl-text-1{font-size:14px}.hfl-text-5{font-size:24px}.hfl-text-\[14px\]{font-size:14px}.hfl-font-bold{font-weight:700}.hfl-font-inter-0{font-weight:400}.hfl-text-Blue-500{--tw-text-opacity: 1;color:rgb(46 144 250 / var(--tw-text-opacity, 1))}.hfl-text-Blue-600{--tw-text-opacity: 1;color:rgb(21 112 239 / var(--tw-text-opacity, 1))}.hfl-text-Blue_gray-600{--tw-text-opacity: 1;color:rgb(62 71 132 / var(--tw-text-opacity, 1))}.hfl-text-Blue_gray-800{--tw-text-opacity: 1;color:rgb(41 48 86 / var(--tw-text-opacity, 1))}.hfl-text-Error-400{--tw-text-opacity: 1;color:rgb(249 112 102 / var(--tw-text-opacity, 1))}.hfl-text-Error-500{--tw-text-opacity: 1;color:rgb(240 68 56 / var(--tw-text-opacity, 1))}.hfl-text-Error-600{--tw-text-opacity: 1;color:rgb(217 45 32 / var(--tw-text-opacity, 1))}.hfl-text-Gray-500{--tw-text-opacity: 1;color:rgb(102 112 133 / var(--tw-text-opacity, 1))}.hfl-text-Gray-700{--tw-text-opacity: 1;color:rgb(52 64 84 / var(--tw-text-opacity, 1))}.hfl-text-Gray-900{--tw-text-opacity: 1;color:rgb(16 24 40 / var(--tw-text-opacity, 1))}.hfl-text-Warning-600{--tw-text-opacity: 1;color:rgb(220 104 3 / var(--tw-text-opacity, 1))}.hfl-text-White{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hfl-shadow-lg{--tw-shadow: 0px 12px 16px -4px rgba(16, 24, 40, .08), 0px 4px 6px -2px rgba(16, 24, 40, .03);--tw-shadow-colored: 0px 12px 16px -4px var(--tw-shadow-color), 0px 4px 6px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hfl-shadow-xs{--tw-shadow: 0px 1px 2px rgba(16, 24, 40, .05);--tw-shadow-colored: 0px 1px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hfl-outline-none{outline:2px solid transparent;outline-offset:2px}.odd\:hfl-bg-Gray-100:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(242 244 247 / var(--tw-bg-opacity, 1))}.hover\:hfl-border-Primary-300:hover{--tw-border-opacity: 1;border-color:rgb(132 202 255 / var(--tw-border-opacity, 1))}.hover\:hfl-bg-Blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Error-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 242 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Error-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 35 24 / var(--tw-bg-opacity, 1))}.hover\:hfl-bg-Primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 248 255 / var(--tw-bg-opacity, 1))}.hover\:hfl-shadow-xs-primary:hover{--tw-shadow: 0px 1px 2px rgba(16, 24, 40, .05), 0px 0px 0px 4px #d1e9ff;--tw-shadow-colored: 0px 1px 2px var(--tw-shadow-color), 0px 0px 0px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:hfl-border-0:focus{border-width:0}.focus-visible\:hfl-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:hfl-outline-0:focus-visible{outline-width:0px}.disabled\:hfl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:hfl-opacity-50:disabled{opacity:.5}
|
package/dist/index.js
CHANGED