@openmrs/esm-offline-tools-app 9.0.3-pre.4841 → 10.0.0

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/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (()=>{var __webpack_modules__={4789(e,n,t){"use strict";function a(e,n,t){return(n=c(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function r(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach(function(n){a(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function o(e,n){if(null==e)return{};var t,a,i=s(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],-1===n.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function s(e,n){if(null==e)return{};var t={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==n.indexOf(a))continue;t[a]=e[a]}return t}function l(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n);if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}function c(e){var n=l(e,"string");return"symbol"==typeof n?n:n+""}t.d(n,{A:()=>v});var p=["width","height","viewBox"],u=["tabindex"],f={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width,t=e.height,a=e.viewBox,i=void 0===a?"0 0 ".concat(n," ").concat(t):a,s=o(e,p),l=s.tabindex,c=o(s,u),d=r(r(r({},f),c),{},{width:n,height:t,viewBox:i});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=l&&(d.focusable="true",d.tabindex=l)):d["aria-hidden"]=!0,d}function g(e){var n=e.elem,t=void 0===n?"svg":n,a=e.attrs,i=void 0===a?{}:a,r=e.content,o=(void 0===r?[]:r).map(g).join("");return"svg"!==t?"<".concat(t," ").concat(h(i),">").concat(o,"</").concat(t,">"):"<".concat(t," ").concat(h(d(i)),">").concat(o,"</").concat(t,">")}function h(e){return Object.keys(e).reduce(function(n,t,a){var i="".concat(t,'="').concat(e[t],'"');return 0===a?i:n+" "+i},"")}var y=t(97598),b=t.n(y),m=t(46925),$=t.n(m);let v=$().forwardRef(function({className:e,children:n,tabIndex:t,xmlns:a="http://www.w3.org/2000/svg",preserveAspectRatio:i="xMidYMid meet",...r},o){let{tabindex:s,...l}=d({...r,tabindex:t}),c=l;return e&&(c.className=e),null!=s&&("number"==typeof s?c.tabIndex=s:c.tabIndex=Number(t)),o&&(c.ref=o),a&&(c.xmlns=a),i&&(c.preserveAspectRatio=i),$().createElement("svg",c,n)});v.displayName="Icon",v.propTypes={"aria-hidden":b().oneOfType([b().bool,b().oneOf(["true","false"])]),"aria-label":b().string,"aria-labelledby":b().string,children:b().node,className:b().string,height:b().oneOfType([b().number,b().string]),preserveAspectRatio:b().string,tabIndex:b().oneOfType([b().number,b().string]),viewBox:b().string,width:b().oneOfType([b().number,b().string]),xmlns:b().string}},91596(e,n,t){"use strict";t.d(n,{VP:()=>c});var a,i,r,o=t(46925),s=t.n(o),l=t(4789);let c=s().forwardRef(function({children:e,size:n=16,...t},o){return s().createElement(l.A,{width:n,height:n,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},a||(a=s().createElement("path",{d:"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z"})),i||(i=s().createElement("path",{d:"M20,20H12V12h8Zm-6-2h4V14H14Z"})),r||(r=s().createElement("path",{d:"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z"})),e)})},57683(e,n,t){"use strict";t.d(n,{CH:()=>h,GU:()=>y,aI:()=>g});var a,i,r,o,s,l,c,p,u=t(46925),f=t.n(u),d=t(4789);let g=f().forwardRef(function({children:e,size:n=16,...t},o){return f().createElement(d.A,{width:n,height:n,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},a||(a=f().createElement("circle",{cx:"8",cy:"16",r:"2"})),i||(i=f().createElement("circle",{cx:"16",cy:"16",r:"2"})),r||(r=f().createElement("circle",{cx:"24",cy:"16",r:"2"})),e)}),h=f().forwardRef(function({children:e,size:n=16,...t},a){return f().createElement(d.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},o||(o=f().createElement("circle",{cx:"16",cy:"8",r:"2"})),s||(s=f().createElement("circle",{cx:"16",cy:"16",r:"2"})),l||(l=f().createElement("circle",{cx:"16",cy:"24",r:"2"})),e)}),y=f().forwardRef(function({children:e,size:n=16,...t},a){return f().createElement(d.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},c||(c=f().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM8,18a2,2,0,1,1,2-2A2,2,0,0,1,8,18Zm8,0a2,2,0,1,1,2-2A2,2,0,0,1,16,18Zm8,0a2,2,0,1,1,2-2A2,2,0,0,1,24,18Z"})),p||(p=f().createElement("path",{fill:"none",d:"M10,16a2,2,0,1,1-2-2A2,2,0,0,1,10,16Zm6-2a2,2,0,1,0,2,2A2,2,0,0,0,16,14Zm8,0a2,2,0,1,0,2,2A2,2,0,0,0,24,14Z","data-icon-path":"inner-path"})),e)})},53994(e,n,t){"use strict";t.d(n,{a:()=>p,ly:()=>u,wM:()=>f});var a,i,r,o,s=t(46925),l=t.n(s),c=t(4789);let p=l().forwardRef(function({children:e,size:n=16,...t},i){return l().createElement(c.A,{width:n,height:n,ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},a||(a=l().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),e)}),u=l().forwardRef(function({children:e,size:n=16,...t},a){return l().createElement(c.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},i||(i=l().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),r||(r=l().createElement("path",{d:"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Z"})),e)}),f=l().forwardRef(function({children:e,size:n=16,...t},a){return l().createElement(c.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},o||(o=l().createElement("path",{d:"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z"})),e)})},32573(e,n,t){"use strict";t.d(n,{BF:()=>j,N5:()=>R,OR:()=>P,Ss:()=>O,eI:()=>H,n2:()=>B,vZ:()=>D});var a,i,r,o,s,l,c,p,u,f,d,g,h,y,b,m,$,v,A,w,k,_,x,C,z,E,M,S,T=t(46925),N=t.n(T),I=t(4789);let O=N().forwardRef(function({children:e,size:n=16,...t},s){return 16===n||"16"===n||"16px"===n?N().createElement(I.A,{width:n,height:n,ref:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},a||(a=N().createElement("path",{d:"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3 c3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5 C13.4,10.5,10.6,12.5,8,12.5z"})),i||(i=N().createElement("path",{d:"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z"})),e):N().createElement(I.A,{width:n,height:n,ref:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},r||(r=N().createElement("path",{d:"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z"})),o||(o=N().createElement("path",{d:"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z"})),e)}),D=N().forwardRef(function({children:e,size:n=16,...t},a){return 16===n||"16"===n||"16px"===n?N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},s||(s=N().createElement("path",{d:"M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5 C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z"})),l||(l=N().createElement("path",{d:"M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z"})),e):N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},c||(c=N().createElement("path",{d:"M5.24,22.51l1.43-1.42A14.06,14.06,0,0,1,3.07,16C5.1,10.93,10.7,7,16,7a12.38,12.38,0,0,1,4,.72l1.55-1.56A14.72,14.72,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16,16,0,0,0,5.24,22.51Z"})),p||(p=N().createElement("path",{d:"M12 15.73a4 4 0 013.7-3.7l1.81-1.82a6 6 0 00-7.33 7.33zM30.94 15.66A16.4 16.4 0 0025.2 8.22L30 3.41 28.59 2 2 28.59 3.41 30l5.1-5.1A15.29 15.29 0 0016 27 16.69 16.69 0 0030.94 16.34 1 1 0 0030.94 15.66zM20 16a4 4 0 01-6 3.44L19.44 14A4 4 0 0120 16zm-4 9a13.05 13.05 0 01-6-1.58l2.54-2.54a6 6 0 008.35-8.35l2.87-2.87A14.54 14.54 0 0128.93 16C26.9 21.07 21.3 25 16 25z"})),e)}),R=N().forwardRef(function({children:e,size:n=16,...t},a){return 16===n||"16"===n||"16px"===n?N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},u||(u=N().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z"})),f||(f=N().createElement("path",{d:"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z"})),e):N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},d||(d=N().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),g||(g=N().createElement("path",{d:"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z"})),e)}),P=N().forwardRef(function({children:e,size:n=16,...t},a){return N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},h||(h=N().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),y||(y=N().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),b||(b=N().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),e)}),B=N().forwardRef(function({children:e,size:n=16,...t},a){return N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},m||(m=N().createElement("path",{fill:"none",d:"M16,20a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,20Zm-1.125-5h2.25V6h-2.25Z","data-icon-path":"inner-path"})),$||($=N().createElement("path",{d:"M27.3494,4H4.6506l-.0019.0034L15.998,25.8286h.004L27.3513,4.0034ZM14.875,6h2.25v9h-2.25ZM16,20a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,20Z"})),v||(v=N().createElement("path",{d:"M29.855,2.481a1.001,1.001,0,0,1,.0322.98l-13,25a1,1,0,0,1-1.7744,0l-13-25A1,1,0,0,1,3,2H29A1.0007,1.0007,0,0,1,29.855,2.481ZM4.6487,4.0033,15.998,25.8286h.004L27.3513,4.0033,27.3493,4H4.6507Z"})),e)}),j=N().forwardRef(function({children:e,size:n=16,...t},a){return 16===n||"16"===n||"16px"===n?N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},A||(A=N().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),w||(w=N().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),e):20===n||"20"===n||"20px"===n?N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...t},k||(k=N().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),_||(_=N().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),e):24===n||"24"===n||"24px"===n?N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...t},x||(x=N().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),C||(C=N().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),e):N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},z||(z=N().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),E||(E=N().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),e)}),H=N().forwardRef(function({children:e,size:n=16,...t},a){return N().createElement(I.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},M||(M=N().createElement("path",{d:"M26.0022,4H5.998A1.998,1.998,0,0,0,4,5.998V26.002A1.998,1.998,0,0,0,5.998,28H26.0022A1.9979,1.9979,0,0,0,28,26.002V5.998A1.9979,1.9979,0,0,0,26.0022,4ZM14.8752,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z"})),S||(S=N().createElement("path",{fill:"none",d:"M14.8751,8h2.25V18h-2.25ZM16,24a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,24Z","data-icon-path":"inner-path"})),e)})},31782(e,n,t){"use strict";t.d(n,{IF:()=>W,JG:()=>q,MG:()=>H,NW:()=>j,Sc:()=>B,Vg:()=>G,_j:()=>F,bm:()=>Y,cR:()=>L,c_:()=>V,nb:()=>Z,yQ:()=>U});var a,i,r,o,s,l,c,p,u,f,d,g,h,y,b,m,$,v,A,w,k,_,x,C,z,E,M,S,T,N,I,O,D=t(46925),R=t.n(D),P=t(4789);let B=R().forwardRef(function({children:e,size:n=16,...t},i){return R().createElement(P.A,{width:n,height:n,ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},a||(a=R().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"})),e)}),j=R().forwardRef(function({children:e,size:n=16,...t},a){return R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},i||(i=R().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),r||(r=R().createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),e)}),H=R().forwardRef(function({children:e,size:n=16,...t},a){return 20===n||"20"===n||"20px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...t},o||(o=R().createElement("path",{d:"M8 13.2L3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"})),s||(s=R().createElement("path",{d:"M15.6 5.6L8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"})),e):24===n||"24"===n||"24px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...t},l||(l=R().createElement("path",{d:"M10 15.9L4.7 10.6 3.6 11.6 8.9 16.9 10 18 20.6 7.4 19.5 6.3z"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},c||(c=R().createElement("path",{d:"M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"})),e)}),F=R().forwardRef(function({children:e,size:n=16,...t},a){return 16===n||"16"===n||"16px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},p||(p=R().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),u||(u=R().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),e):20===n||"20"===n||"20px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...t},f||(f=R().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),d||(d=R().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),e):24===n||"24"===n||"24px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...t},g||(g=R().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),h||(h=R().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},y||(y=R().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),b||(b=R().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),e)}),L=R().forwardRef(function({children:e,size:n=16,...t},a){return R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},m||(m=R().createElement("path",{d:"M14 21.414L9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z"})),$||($=R().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),e)}),U=R().forwardRef(function({children:e,size:n=16,...t},a){return"glyph"===n||"glyph"===n||"glyphpx"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor",...t},v||(v=R().createElement("path",{d:"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z"})),e):16===n||"16"===n||"16px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},A||(A=R().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},w||(w=R().createElement("path",{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"})),e)}),q=R().forwardRef(function({children:e,size:n=16,...t},a){return"glyph"===n||"glyph"===n||"glyphpx"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...t},k||(k=R().createElement("path",{d:"M0 5L5 0 5.7 0.7 1.4 5 5.7 9.3 5 10z"})),e):16===n||"16"===n||"16px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},_||(_=R().createElement("path",{d:"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},x||(x=R().createElement("path",{d:"M10 16L20 6 21.4 7.4 12.8 16 21.4 24.6 20 26z"})),e)}),V=R().forwardRef(function({children:e,size:n=16,...t},a){return"glyph"===n||"glyph"===n||"glyphpx"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...t},C||(C=R().createElement("path",{d:"M6 5L1 10 0.3 9.3 4.6 5 0.3 0.7 1 0z"})),e):16===n||"16"===n||"16px"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},z||(z=R().createElement("path",{d:"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},E||(E=R().createElement("path",{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"})),e)}),G=R().forwardRef(function({children:e,size:n=16,...t},a){return R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},M||(M=R().createElement("path",{d:"M7.7 4.7a14.7 14.7 0 00-3 3.1L6.3 9A13.26 13.26 0 018.9 6.3zM4.6 12.3l-1.9-.6A12.51 12.51 0 002 16H4A11.48 11.48 0 014.6 12.3zM2.7 20.4a14.4 14.4 0 002 3.9l1.6-1.2a12.89 12.89 0 01-1.7-3.3zM7.8 27.3a14.4 14.4 0 003.9 2l.6-1.9A12.89 12.89 0 019 25.7zM11.7 2.7l.6 1.9A11.48 11.48 0 0116 4V2A12.51 12.51 0 0011.7 2.7zM24.2 27.3a15.18 15.18 0 003.1-3.1L25.7 23A11.53 11.53 0 0123 25.7zM27.4 19.7l1.9.6A15.47 15.47 0 0030 16H28A11.48 11.48 0 0127.4 19.7zM29.2 11.6a14.4 14.4 0 00-2-3.9L25.6 8.9a12.89 12.89 0 011.7 3.3zM24.1 4.6a14.4 14.4 0 00-3.9-2l-.6 1.9a12.89 12.89 0 013.3 1.7zM20.3 29.3l-.6-1.9A11.48 11.48 0 0116 28v2A21.42 21.42 0 0020.3 29.3z"})),e)}),W=R().forwardRef(function({children:e,size:n=16,...t},a){return"glyph"===n||"glyph"===n||"glyphpx"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},S||(S=R().createElement("circle",{cx:"8",cy:"8",r:"6"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},T||(T=R().createElement("circle",{cx:"8",cy:"8",r:"6"})),e)}),Z=R().forwardRef(function({children:e,size:n=16,...t},a){return"glyph"===n||"glyph"===n||"glyphpx"===n?R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},N||(N=R().createElement("path",{d:"M8,4A4,4,0,1,1,4,8,4.0045,4.0045,0,0,1,8,4M8,2a6,6,0,1,0,6,6A6,6,0,0,0,8,2Z"})),e):R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...t},I||(I=R().createElement("path",{d:"M8,4A4,4,0,1,1,4,8,4.0045,4.0045,0,0,1,8,4M8,2a6,6,0,1,0,6,6A6,6,0,0,0,8,2Z"})),e)}),Y=R().forwardRef(function({children:e,size:n=16,...t},a){return R().createElement(P.A,{width:n,height:n,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...t},O||(O=R().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),e)})},80160(e,n){"use strict";let t="RUNTIME-001",a="RUNTIME-002",i="RUNTIME-003",r="RUNTIME-004",o="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",p="RUNTIME-009",u="TYPE-001",f="BUILD-001",d="BUILD-002",g=e=>{let n=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${n}/${e}`},h=(e,n,t,a)=>{let i=[`${[n[e]]} #${e}`];return t&&i.push(`args: ${JSON.stringify(t)}`),i.push(g(e)),a&&i.push(`Original Error Message:
2
- ${a}`),i.join("\n")},y={[t]:"Failed to get remoteEntry exports.",[a]:'The remote entry interface does not contain "init"',[i]:"Failed to get manifest.",[r]:"Failed to locate remote.",[o]:"Invalid loadShareSync function call from bundler runtime",[s]:"Invalid loadShareSync function call from runtime",[l]:"Failed to get remote snapshot.",[c]:"Failed to load script resources.",[p]:"Please call createInstance first."},b={[u]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},m={[f]:"Failed to find expose module.",[d]:"PublicPath is required in prod mode."},$={...y,...b,...m};n.BUILD_001=f,n.BUILD_002=d,n.RUNTIME_001=t,n.RUNTIME_002=a,n.RUNTIME_003=i,n.RUNTIME_004=r,n.RUNTIME_005=o,n.RUNTIME_006=s,n.RUNTIME_007=l,n.RUNTIME_008=c,n.RUNTIME_009=p,n.TYPE_001=u,n.buildDescMap=m,n.errorDescMap=$,n.getShortErrorMsg=h,n.runtimeDescMap=y,n.typeDescMap=b},59273(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__headered-quick-info-styles__productiveHeading04___rzhFc{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-offline-tools__headered-quick-info-styles__label01___CoZeb{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/headered-quick-info.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,6EC+1BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CD31BJ,iEC21BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDz1BF,aDFQ",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading04 {\n @include type.type-style('heading-04');\n}\n\n.label01 {\n @include type.type-style('label-01');\n color: $text-02;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={productiveHeading04:"-esm-offline-tools__headered-quick-info-styles__productiveHeading04___rzhFc",label01:"-esm-offline-tools__headered-quick-info-styles__label01___CoZeb"};let s=o},28458(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__overview-card-styles__productiveHeading01___e9uzg,.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__heading___uKvmI{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k{border:1px solid #e0e0e0}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__heading___uKvmI{color:#525252}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__headerContainer___13OYp{display:flex;justify-content:space-between;align-items:center}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__contentContainer___ym7-\\+{display:flex;justify-content:space-between;margin-top:1.5rem}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__viewButton___9YEmH{margin-top:-0.25rem;margin-right:-1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/overview-card.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,kMC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,gEACE,wBAAA,CAEA,2HAEE,aDNM,CCSR,mIACE,YAAA,CACA,6BAAA,CACA,kBAAA,CAGF,qIACE,YAAA,CACA,6BAAA,CACA,iBEWS,CFRX,8HACE,mBAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.overviewCard {\n border: 1px solid $ui-03;\n\n .heading {\n @extend .productiveHeading01;\n color: $text-02;\n }\n\n .headerContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .contentContainer {\n display: flex;\n justify-content: space-between;\n margin-top: layout.$spacing-06;\n }\n\n .viewButton {\n margin-top: -(layout.$spacing-02);\n margin-right: -(layout.$spacing-05);\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__overview-card-styles__productiveHeading01___e9uzg",overviewCard:"-esm-offline-tools__overview-card-styles__overviewCard___4NT8k",heading:"-esm-offline-tools__overview-card-styles__heading___uKvmI",headerContainer:"-esm-offline-tools__overview-card-styles__headerContainer___13OYp",contentContainer:"-esm-offline-tools__overview-card-styles__contentContainer___ym7-+",viewButton:"-esm-offline-tools__overview-card-styles__viewButton___9YEmH"};let s=o},39038(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__shared-page-layout-styles__productiveHeading03___1pkiK,.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm .-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#ededed}.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm .-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/shared-page-layout.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,2NC81BI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CD11BJ,4EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,YEmBW,CFlBX,wBAAA,CAEA,+IAEE,sBAAA,CACA,eAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading03 {\n @include type.type-style('heading-03');\n}\n\n.pageHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-05;\n background-color: #ededed;\n\n .pageHeader {\n @extend .productiveHeading03;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading03:"-esm-offline-tools__shared-page-layout-styles__productiveHeading03___1pkiK",pageHeaderContainer:"-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm",pageHeader:"-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF"};let s=o},50700(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,".-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;padding:1rem;padding-top:0;background-color:#ededed}.omrs-breakpoint-gt-tablet .-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW{grid-template-columns:repeat(3, 1fr)}","",{version:3,sources:["webpack://./src/home/cards-container.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAEA,2EACE,YAAA,CACA,oCAAA,CACA,QC0BW,CDzBX,YCyBW,CDxBX,aAAA,CACA,wBAAA,CAGF,sGACE,oCAAA",sourcesContent:["@use '@carbon/layout';\n\n.overviewCardContainer {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: layout.$spacing-05;\n padding: layout.$spacing-05;\n padding-top: 0;\n background-color: #ededed;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .overviewCardContainer {\n grid-template-columns: repeat(3, 1fr);\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={overviewCardContainer:"-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW"};let s=o},25004(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__home-styles__offlinePatientsTableContainer___rNt9y{border-top:1px solid #e0e0e0;padding:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/home/home.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,wEACE,4BAAA,CACA,YC0BW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.offlinePatientsTableContainer {\n border-top: 1px solid $ui-03;\n padding: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={offlinePatientsTableContainer:"-esm-offline-tools__home-styles__offlinePatientsTableContainer___rNt9y"};let s=o},28725(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__desktop-side-nav-styles__productiveHeading01___t9n-X,.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){height:3rem;padding:1.5rem 0 1.5rem 1.2rem;color:#8d8d8d;border-left:.25rem solid rgba(0,0,0,0)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1):hover{background-color:#e0e0e0;color:#161616;border-left-color:#005d5d;border-left-color:var(--brand-01)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1):focus{background-color:#e0e0e0;outline:none;color:#161616;border-left-color:#005d5d;border-left-color:var(--brand-01)}.omrs-breakpoint-gt-tablet .-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div{padding-top:1rem}.omrs-breakpoint-gt-tablet .-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){height:2rem;color:#8d8d8d;padding:0 0 0 1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/nav/desktop-side-nav.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,wJC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,8EACE,WE0CW,CFzCX,8BAAA,CACA,aDNM,CCQN,sCAAA,CAEA,oFACE,wBDZI,CCaJ,aDXI,CAkCN,yBAAA,CACA,iCAAA,CCpBA,oFACE,wBDlBI,CCmBJ,YAAA,CACA,aDlBI,CAkCN,yBAAA,CACA,iCAAA,CCZF,0FACE,gBECW,CFEb,yGACE,WEOW,CFNX,aD9BM,CC+BN,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.link > div a:nth-child(1) {\n height: layout.$spacing-09;\n padding: layout.$spacing-06 0 layout.$spacing-06 1.2rem;\n color: $ui-04;\n @extend .productiveHeading01;\n border-left: layout.$spacing-02 solid transparent;\n\n &:hover {\n background-color: $ui-03;\n color: $ui-05;\n @include brand-01(border-left-color);\n }\n\n &:focus {\n background-color: $ui-03;\n outline: none;\n color: $ui-05;\n @include brand-01(border-left-color);\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .link > div {\n padding-top: layout.$spacing-05;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .link > div a:nth-child(1) {\n height: layout.$spacing-07;\n color: $ui-04;\n padding: 0 0 0 layout.$spacing-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__desktop-side-nav-styles__productiveHeading01___t9n-X",link:"-esm-offline-tools__desktop-side-nav-styles__link___-yvG6"};let s=o},64550(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__no-actions-empty-state-styles__productiveHeading01___TiIrt,.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__no-actions-empty-state-styles__layer___\\+Ixk9{margin:1.5rem}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8{display:flex;flex-direction:column;justify-content:center;align-items:center}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__emptyStateDescription___HBNSX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px);color:#525252;white-space:pre-line;text-align:center}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3{color:#161616}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/no-actions-empty-state.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,oOC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,mEACE,aE2BW,CFxBb,gFACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,kKCg1BE,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD90BA,aDbM,CCcN,oBAAA,CACA,iBAAA,CAGF,oJAEE,aDrBI",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.layer {\n margin: layout.$spacing-06;\n}\n\n.emptyStateContainer {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n .emptyStateDescription {\n @include type.type-style('body-01');\n color: $text-02;\n white-space: pre-line;\n text-align: center;\n }\n\n .heading {\n @extend .productiveHeading01;\n color: $ui-05;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__no-actions-empty-state-styles__productiveHeading01___TiIrt",emptyStateContainer:"-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8",heading:"-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3",layer:"-esm-offline-tools__no-actions-empty-state-styles__layer___+Ixk9",emptyStateDescription:"-esm-offline-tools__no-actions-empty-state-styles__emptyStateDescription___HBNSX"};let s=o},60667(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a{display:flex;justify-content:space-between;align-items:center}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle-input__label .cds--toggle__switch{margin-top:0 !important}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle{width:76px;margin:0 1rem}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle__text{color:#fff}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf div{display:flex;align-items:center}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-mode-button.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,+EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CAEA,8HACE,uBAAA,CAGF,4FAEE,UAAA,CACA,aAAA,CAGF,kGACE,UDhBI,CCoBR,iFACE,YAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.panelItemContainer a {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n :global(.cds--toggle-input__label .cds--toggle__switch) {\n margin-top: 0 !important;\n }\n\n :global(.cds--toggle) {\n /* setting the width prevents the toggle from changing size when the text changes */\n width: 76px;\n margin: 0 layout.$spacing-05;\n }\n\n :global(.cds--toggle__text) {\n color: $ui-02;\n }\n}\n\n.panelItemContainer div {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={panelItemContainer:"-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf"};let s=o},70632(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-page-styles__buttonInlineIcon___a-kXf{margin-right:1rem}.omrs-breakpoint-lt-small-desktop .-esm-offline-tools__offline-actions-page-styles__primaryActionButton___xLNFh{position:fixed;bottom:1rem;right:1rem;border-radius:100vh;padding-right:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-page.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,2EACE,iBC2BW,CDxBb,gHACE,cAAA,CACA,WCsBW,CDrBX,UCqBW,CDpBX,mBAAA,CACA,kBCmBW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.buttonInlineIcon {\n margin-right: layout.$spacing-05;\n}\n\n:global(.omrs-breakpoint-lt-small-desktop) .primaryActionButton {\n position: fixed;\n bottom: layout.$spacing-05;\n right: layout.$spacing-05;\n border-radius: 100vh;\n padding-right: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={buttonInlineIcon:"-esm-offline-tools__offline-actions-page-styles__buttonInlineIcon___a-kXf",primaryActionButton:"-esm-offline-tools__offline-actions-page-styles__primaryActionButton___xLNFh"};let s=o},6460(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__widgetCard___FpVUO{background-color:#fff;border:1px solid #e0e0e0;position:relative}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4{color:#525252}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4:after,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI{height:3rem}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg{height:4.5rem}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}',"",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-patient-chart-widget.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,qFACE,qBDIc,CCHd,wBAAA,CACA,iBAAA,CAGF,+KAEE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDPc,CCSd,qLACE,aDZM,CCcN,iMACE,UAAA,CACA,aAAA,CACA,UCiBO,CDhBP,mBAAA,CACA,2CAAA,CAKN,wFACE,WCmBW,CDjBX,2FEg0BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF3zBJ,uFACE,aAAA,CAEA,0FEwzBE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.widgetCard {\n background-color: $ui-background;\n border: 1px solid $ui-03;\n position: relative;\n}\n\n.desktopHeader,\n.tabletHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-background;\n\n h4 {\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n }\n}\n\n.desktopHeader {\n height: layout.$spacing-09;\n\n h4 {\n @include type.type-style('heading-compact-02');\n }\n}\n\n.tabletHeader {\n height: 4.5rem;\n\n h4 {\n @include type.type-style('heading-03');\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={widgetCard:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__widgetCard___FpVUO",desktopHeader:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI",tabletHeader:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg"};let s=o},41103(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-table-styles__tableContainer___g0Osy{background-color:rgba(0,0,0,0)}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg{display:grid;grid-template-rows:auto auto;grid-template-columns:1fr 1fr auto;padding-top:1rem}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM{grid-row:2;grid-column:2;align-self:end}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1{grid-row:2;grid-column:3;align-self:end}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg{grid-template-columns:1fr 20% 250px auto}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM{grid-row:1;grid-column:3}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1{grid-row:1;grid-column:4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-table.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,0EACE,8BAAA,CAGF,gFACE,YAAA,CACA,4BAAA,CACA,kCAAA,CACA,gBCoBW,CDlBX,uJACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,8JACE,UAAA,CACA,aAAA,CACA,cAAA,CAIJ,2GACE,wCAAA,CAEA,kLACE,UAAA,CACA,aAAA,CAGF,yLACE,UAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tableContainer {\n background-color: transparent;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-rows: auto auto;\n grid-template-columns: 1fr 1fr auto;\n padding-top: layout.$spacing-05;\n\n .tableSearch {\n grid-row: 2;\n grid-column: 2;\n align-self: end;\n }\n\n .tablePrimaryAction {\n grid-row: 2;\n grid-column: 3;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 20% 250px auto;\n\n .tableSearch {\n grid-row: 1;\n grid-column: 3;\n }\n\n .tablePrimaryAction {\n grid-row: 1;\n grid-column: 4;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={tableContainer:"-esm-offline-tools__offline-actions-table-styles__tableContainer___g0Osy",tableHeaderContainer:"-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg",tableSearch:"-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM",tablePrimaryAction:"-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1"};let s=o},8215(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__empty-state__action___5xzx9{margin-bottom:.5rem}.-esm-offline-tools__empty-state__content___sSUz0{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-offline-tools__empty-state__desktopHeading___ynieY h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-offline-tools__empty-state__tabletHeading___RhBzr h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-offline-tools__empty-state__desktopHeading___ynieY,.-esm-offline-tools__empty-state__tabletHeading___RhBzr{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-offline-tools__empty-state__desktopHeading___ynieY h4:after,.-esm-offline-tools__empty-state__tabletHeading___RhBzr h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__empty-state__heading___boZIF:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__empty-state__tile___ep8He{text-align:center;border:1px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/empty-state.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,iDACE,mBCgBW,CDbb,kDE01BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFx1BF,aDHQ,CCIR,eCoBW,CDnBX,mBCSW,CDLX,4DEk1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFh1BA,aDXM,CCgBR,2DE20BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CFz0BA,aDlBM,CCsBV,iHAEE,eAAA,CACA,yBAAA,CACA,kBCFW,CDIX,mIACE,UAAA,CACA,aAAA,CACA,UCGS,CDFT,mBAAA,CACA,2CAAA,CAIJ,wDACE,UAAA,CACA,aAAA,CACA,UCNW,CDOX,mBAAA,CACA,2CAAA,CAGF,+CACE,iBAAA,CACA,wBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.heading:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={action:"-esm-offline-tools__empty-state__action___5xzx9",content:"-esm-offline-tools__empty-state__content___sSUz0",desktopHeading:"-esm-offline-tools__empty-state__desktopHeading___ynieY",tabletHeading:"-esm-offline-tools__empty-state__tabletHeading___RhBzr",heading:"-esm-offline-tools__empty-state__heading___boZIF",tile:"-esm-offline-tools__empty-state__tile___ep8He"};let s=o},94436(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__last-updated-table-cell__errorIcon___X\\+q9m{color:#da1e28}.-esm-offline-tools__last-updated-table-cell__pendingIcon___KBj4y{color:#ff832b}.-esm-offline-tools__last-updated-table-cell__cellContainer___xDUA\\+{display:flex;align-items:center;gap:.25rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/last-updated-table-cell.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,iEACE,aDkBO,CCfT,kEACE,aAAA,CAGF,qEACE,YAAA,CACA,kBAAA,CACA,UCEW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.errorIcon {\n color: $danger;\n}\n\n.pendingIcon {\n color: #ff832b;\n}\n\n.cellContainer {\n display: flex;\n align-items: center;\n gap: layout.$spacing-02;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={errorIcon:"-esm-offline-tools__last-updated-table-cell__errorIcon___X+q9m",pendingIcon:"-esm-offline-tools__last-updated-table-cell__pendingIcon___KBj4y",cellContainer:"-esm-offline-tools__last-updated-table-cell__cellContainer___xDUA+"};let s=o},50772(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-offline-tools__offline-patient-sync-details-styles__bodyShort01___jdqXx{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__offline-patient-sync-details-styles__label01___F\\+bCs{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252}.-esm-offline-tools__offline-patient-sync-details-styles__contentContainer___Pp58i{padding:0 1rem;max-width:800px}.-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc{margin-bottom:3rem}.-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc .-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w{margin-bottom:.5rem}.-esm-offline-tools__offline-patient-sync-details-styles__syncedTile___qnsaC{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.-esm-offline-tools__offline-patient-sync-details-styles__failedTile___MthoF{margin-bottom:.5rem;display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr auto;align-items:center;row-gap:1rem}.-esm-offline-tools__offline-patient-sync-details-styles__syncedTileIcon___GbknY{color:#24a148}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patient-sync-details.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,sFC81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD11BJ,8EC01BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDt1BJ,2ECs1BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDp1BF,aDPQ,CCUV,mFACE,cAAA,CACA,eAAA,CAGF,sFACE,kBE4BW,CF1BX,4KACE,mBELS,CFSb,6EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,mBEbW,CFgBb,6EACE,mBEjBW,CFkBX,YAAA,CACA,0BAAA,CACA,8BAAA,CACA,kBAAA,CACA,YEZW,CFmBb,iFACE,aDjCW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.label01 {\n @include type.type-style('label-01');\n color: $text-02;\n}\n\n.contentContainer {\n padding: 0 layout.$spacing-05;\n max-width: 800px;\n}\n\n.headeredTileSection {\n margin-bottom: layout.$spacing-09;\n\n .productiveHeading02 {\n margin-bottom: layout.$spacing-03;\n }\n}\n\n.syncedTile {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: layout.$spacing-03;\n}\n\n.failedTile {\n margin-bottom: layout.$spacing-03;\n display: grid;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr auto;\n align-items: center;\n row-gap: layout.$spacing-05;\n}\n\n.failedTileErrorMessage {\n // color: $support-01;\n}\n\n.syncedTileIcon {\n color: $support-02;\n}\n\n.failedTileIcon {\n // color: $support-01;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading02:"-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w",bodyShort01:"-esm-offline-tools__offline-patient-sync-details-styles__bodyShort01___jdqXx",label01:"-esm-offline-tools__offline-patient-sync-details-styles__label01___F+bCs",contentContainer:"-esm-offline-tools__offline-patient-sync-details-styles__contentContainer___Pp58i",headeredTileSection:"-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc",syncedTile:"-esm-offline-tools__offline-patient-sync-details-styles__syncedTile___qnsaC",failedTile:"-esm-offline-tools__offline-patient-sync-details-styles__failedTile___MthoF",syncedTileIcon:"-esm-offline-tools__offline-patient-sync-details-styles__syncedTileIcon___GbknY"};let s=o},32564(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patient-table__tableContainer___rqIiM{background-color:rgba(0,0,0,0)}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG{display:grid;grid-template-rows:auto auto;grid-template-columns:1fr 1fr auto auto}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableHeader___xRLwl{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;padding:.75rem 0 .75rem .75rem;grid-row:1;grid-column:1/span 4}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSearch___pnm9P{grid-row:2;grid-column:2;align-self:end}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW{grid-row:2;grid-column:4;align-self:end}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy{grid-row:2;grid-column:3;align-self:end}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG{grid-template-columns:1fr 20% 250px auto auto}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableHeader___xRLwl{grid-column:1;padding:.75rem 0 .25rem .75rem}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSearch___pnm9P{grid-row:1;grid-column:3}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW{grid-row:1;grid-column:5}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy{grid-row:1;grid-column:4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patient-table.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,mEACE,8BAAA,CAGF,yEACE,YAAA,CACA,4BAAA,CACA,uCAAA,CAEA,yICq1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDn1BA,aDRM,CCSN,8BAAA,CACA,UAAA,CACA,oBAAA,CAGF,yIACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,gJACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,kJACE,UAAA,CACA,aAAA,CACA,cAAA,CAIJ,oGACE,6CAAA,CAEA,oKACE,aAAA,CACA,8BAAA,CAGF,oKACE,UAAA,CACA,aAAA,CAGF,2KACE,UAAA,CACA,aAAA,CAGF,6KACE,UAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tableContainer {\n background-color: transparent;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-rows: auto auto;\n grid-template-columns: 1fr 1fr auto auto;\n\n .tableHeader {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-04;\n grid-row: 1;\n grid-column: 1 / span 4;\n }\n\n .tableSearch {\n grid-row: 2;\n grid-column: 2;\n align-self: end;\n }\n\n .tablePrimaryAction {\n grid-row: 2;\n grid-column: 4;\n align-self: end;\n }\n\n .tableSecondaryAction {\n grid-row: 2;\n grid-column: 3;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 20% 250px auto auto;\n\n .tableHeader {\n grid-column: 1;\n padding: layout.$spacing-04 0 layout.$spacing-02 layout.$spacing-04;\n }\n\n .tableSearch {\n grid-row: 1;\n grid-column: 3;\n }\n\n .tablePrimaryAction {\n grid-row: 1;\n grid-column: 5;\n }\n\n .tableSecondaryAction {\n grid-row: 1;\n grid-column: 4;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={tableContainer:"-esm-offline-tools__offline-patient-table__tableContainer___rqIiM",tableHeaderContainer:"-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG",tableHeader:"-esm-offline-tools__offline-patient-table__tableHeader___xRLwl",tableSearch:"-esm-offline-tools__offline-patient-table__tableSearch___pnm9P",tablePrimaryAction:"-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW",tableSecondaryAction:"-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy"};let s=o},36718(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patients-styles__contentContainer___UfTlX{padding:0 1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patients.styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,uEACE,cAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.contentContainer {\n padding: 0 layout.$spacing-05;\n}\n"],sourceRoot:""}]),o.locals={contentContainer:"-esm-offline-tools__offline-patients-styles__contentContainer___UfTlX"};let s=o},58603(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__patient-name-table-cell__cellContainer___EHkf0{display:flex;align-items:center;column-gap:.5rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/patient-name-table-cell.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,oEACE,YAAA,CACA,kBAAA,CACA,gBCeW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.cellContainer {\n display: flex;\n align-items: center;\n column-gap: layout.$spacing-03;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={cellContainer:"-esm-offline-tools__patient-name-table-cell__cellContainer___EHkf0"};let s=o},11963(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.omrs-breakpoint-gt-tablet .-esm-offline-tools__root-styles__mainContentContainer___EsoD1{margin-left:var(--omrs-sidenav-width)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC3DF,0FACE,qCAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@openmrs/esm-styleguide/src/vars' as *;\n\n:global(.omrs-breakpoint-gt-tablet) .mainContentContainer {\n margin-left: var(--omrs-sidenav-width);\n}\n"],sourceRoot:""}]),o.locals={mainContentContainer:"-esm-offline-tools__root-styles__mainContentContainer___EsoD1"};let s=o},75248(e){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t}).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&i[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}},41109(e){"use strict";function n(e,n){return o(e)||r(e,n)||a(e,n)||t()}function t(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,n)}}function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function r(e,n){var t,a,i=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function o(e){if(Array.isArray(e))return e}e.exports=function(e){var t=n(e,4),a=t[1],i=t[3];if(!i)return a;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),s="/*# ".concat(o," */");return[a].concat(i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")})).concat([s]).join("\n")}return[a].join("\n")}},90856(e,n,t){"use strict";var a=t(7183);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,o){if(o!==a){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},97598(e,n,t){e.exports=t(90856)()},7183(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97478(e){"use strict";var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],p=r[c]||0,u="".concat(c," ").concat(p);r[c]=p+1;var f=t(u),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)n[f].references++,n[f].updater(d);else{var g=i(d,a);a.byIndex=s,n.splice(s,0,{identifier:u,updater:g,references:1})}o.push(u)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){n?(n.css!==e.css||n.media!==e.media||n.sourceMap!==e.sourceMap||n.supports!==e.supports||n.layer!==e.layer)&&t.update(e=n):t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var s=t(r[o]);n[s].references--}for(var l=a(e,i),c=0;c<r.length;c++){var p=t(r[c]);0===n[p].references&&(n[p].updater(),n.splice(p,1))}r=l}}},61301(e){"use strict";var n={};function t(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}e.exports=function(e,n){var a=t(e);if(!a)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},6626(e){"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},49222(e,n,t){"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},27135(e){"use strict";function n(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"u">typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}function t(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}e.exports=function(e){if("u"<typeof document)return{update:function(){},remove:function(){}};var a=e.insertStyleElement(e);return{update:function(t){n(a,e,t)},remove:function(){t(a)}}}},88279(e){"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},98319(e,n,t){"use strict";var a=t(46925);function i(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}var r="function"==typeof Object.is?Object.is:i,o=a.useState,s=a.useEffect,l=a.useLayoutEffect,c=a.useDebugValue;function p(e,n){var t=n(),a=o({inst:{value:t,getSnapshot:n}}),i=a[0].inst,r=a[1];return l(function(){i.value=t,i.getSnapshot=n,u(i)&&r({inst:i})},[e,t,n]),s(function(){return u(i)&&r({inst:i}),e(function(){u(i)&&r({inst:i})})},[e]),c(t),t}function u(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!r(e,t)}catch(e){return!0}}function f(e,n){return n()}var d="u"<typeof window||void 0===window.document||void 0===window.document.createElement?f:p;n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:d},73634(e,n,t){"use strict";e.exports=t(98319)},84767(e,n,t){var a={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function i(e){if(!t.o(a,e))return Promise.resolve().then(function(){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=a[e],i=n[0];return t.e(n[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=84767,e.exports=i},67426(e,n,t){"use strict";var a=t(78572),i="offline-tools",r="offline-tools/patients",o="offline-tools/actions";!function(e,n,t){n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}({},a.omrsOfflineCachingStrategyHttpHeaderName,"network-first");var s=t(46925),l=t.n(s),c=t(55530),p=t.n(c),u=t(56414),f=t(47665);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function g(e){if(Array.isArray(e))return e}function h(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function y(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,n){return g(e)||h(e,n)||m(e,n)||y()}function m(e,n){if(e){if("string"==typeof e)return d(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,n)}}var $=function(e){var n=e.basePath,t=e.path,i=e.title,r=(0,f.useLocation)(),o=(0,s.useMemo)(function(){return decodeURIComponent((0,u.A)(r.pathname.split("/")))},[r.pathname]),c=b((0,s.useState)(),2),d=c[0],g=c[1];(0,s.useEffect)(function(){"function"==typeof i?Promise.resolve(i()).then(function(e){g(e)}).catch(function(e){throw e}):g(i)},[i]);var h=t===o?"active-left-nav-link":"non-active";return i&&d&&l().createElement("div",{key:t,className:h},l().createElement(a.ConfigurableLink,{className:p()("cds--side-nav__link",h),to:"".concat(n,"/").concat(encodeURIComponent(t))},d))},v=function(e){return function(n){var t=n.basePath;return l().createElement(f.BrowserRouter,null,l().createElement($,{basePath:t,path:e.path,title:e.title}))}},A={slot:"patient-chart-offline-actions-dashboard-slot",columns:1,path:"Offline Actions",title:"Offline Actions"};function w(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}var k=t(99737),_=t(3658);function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function C(e){if(Array.isArray(e))return e}function z(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function E(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,n){return C(e)||z(e,n)||S(e,n)||E()}function S(e,n){if(e){if("string"==typeof e)return x(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(e,n)}}var T=0;function N(e){var n=useStore(getOfflineSynchronizationStore());return e===T?n.synchronization:void 0}function I(e){var n,t=null==e?void 0:e.abortController,a=M(useState(null!=(n=null==t?void 0:t.signal.aborted)&&n),2),i=a[0],r=a[1];return useEffect(function(){var e=function(){return r(!0)};return null==t||t.signal.addEventListener("abort",e),function(){return null==t?void 0:t.signal.removeEventListener("abort",e)}},[t]),i}var O=t(18326),D=t(97478),R=t.n(D),P=t(27135),B=t.n(P),j=t(61301),H=t.n(j),F=t(49222),L=t.n(F),U=t(6626),q=t.n(U),V=t(88279),G=t.n(V),W=t(28725),Z={};Z.styleTagTransform=G(),Z.setAttributes=L(),Z.insert=H().bind(null,"head"),Z.domAPI=B(),Z.insertStyleElement=q(),R()(W.A,Z);let Y=W.A&&W.A.locals?W.A.locals:void 0,K=function(){var e=(0,a.useLayoutType)();return(0,s.useEffect)(function(){return(0,a.attach)("nav-menu-slot","offline-tools-nav-items"),function(){return(0,a.detach)("nav-menu-slot","offline-tools-nav-items")}},[]),(0,a.isDesktop)(e)&&l().createElement(O.SideNav,{expanded:!0,"aria-label":"Menu",className:Y.link},l().createElement(a.ExtensionSlot,{name:"nav-menu-slot"}))};var X=t(50700),J={};J.styleTagTransform=G(),J.setAttributes=L(),J.insert=H().bind(null,"head"),J.domAPI=B(),J.insertStyleElement=q(),R()(X.A,J);let Q=X.A&&X.A.locals?X.A.locals:void 0,ee=function(){return l().createElement(a.ExtensionSlot,{name:"offline-tools-dashboard-cards",className:Q.overviewCardContainer})};var en=t(71769),et=t(53994),ea=t(47488),ei=t(11216);function er(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eo(e){if(Array.isArray(e))return er(e)}function es(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function el(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){es(r,a,i,o,s,"next",e)}function s(e){es(r,a,i,o,s,"throw",e)}o(void 0)})}}function ec(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ep(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eu(e){return eo(e)||ec(e)||ef(e)||ep()}function ef(e,n){if(e){if("string"==typeof e)return er(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return er(e,n)}}function ed(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function eg(e){return(0,ea.Ay)("dynamicOfflineData/entries/".concat(e),function(){return(0,a.getDynamicOfflineDataEntries)(e)})}function eh(e){return(0,ea.Ay)("syncQueue/items/".concat(e),function(){return(0,a.getSynchronizationItems)(e)})}function ey(e){var n=(0,s.useMemo)(function(){return eu(e).sort()},[e]);return(0,ea.Ay)(["fhirPatients",n],function(){return Promise.all(n.map(function(e){return(0,a.fetchCurrentPatient)(e,void 0,!1)}))})}function eb(){var e=eg("patient"),n=eh("patient-registration");return eA(function(){return n.data.filter(function(n){return n.fhirPatient&&!e.data.find(function(e){return e.identifier===n.fhirPatient.id})}).map(function(e){return e.fhirPatient})},[e,n])}function em(){var e,n,t=eg("patient"),a=eh("patient-registration"),i=ey(null!=(e=null==(n=t.data)?void 0:n.map(function(e){return e.identifier}))?e:[]);return eA(function(){return t.data.map(function(e){var n=i.data.find(function(n){return n.id===e.identifier}),t=a.data.filter(function(n){return n.fhirPatient.id===e.identifier}).map(function(e){return e.fhirPatient});return{patient:ei.A.apply(void 0,[n].concat(eu(t))),entry:e}})},[t,a,i])}function e$(){var e=eg("patient"),n=eb();return eA(function(){return{downloadedCount:e.data.length,registeredCount:n.data.length}},[e,n])}function ev(e){return(0,ea.Ay)("offlineTools/offlinePatient/".concat(e,"/lastSyncState"),function(){return el(function(){var n;return ed(this,function(t){switch(t.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient")];case 1:return[2,null==(n=t.sent().find(function(n){return n.identifier===e}))?void 0:n.syncState]}})})()})}function eA(e,n){return(0,s.useMemo)(function(){return{data:n.every(function(e){return!!e.data})?e():null,error:n.find(function(e){return e.error}),mutate:function(){return Promise.all(n.map(function(e){return e.mutate()})).then(function(){e()})},isValidating:n.some(function(e){return e.isValidating}),isLoading:n.some(function(e){return e.isLoading})}},[e,n])}var ew=function(e){var n=e.width,t=void 0===n?"64":n,a=e.height,i=void 0===a?"64":a;return l().createElement("svg",{width:t,height:i,viewBox:"0 0 64 64"},l().createElement("title",null,"Empty data illustration"),l().createElement("g",{fill:"none",fillRule:"evenodd"},l().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),l().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),l().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),l().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),l().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),l().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),l().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),l().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),l().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),l().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},ek=t(8215),e_={};e_.styleTagTransform=G(),e_.setAttributes=L(),e_.insert=H().bind(null,"head"),e_.domAPI=B(),e_.insertStyleElement=q(),R()(ek.A,e_);let ex=ek.A&&ek.A.locals?ek.A.locals:void 0,eC=function(e){var n=e.displayText,t=e.headerTitle,i=(0,k.useTranslation)().t,r="tablet"===(0,a.useLayoutType)();return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:ex.tile},l().createElement("div",{className:r?ex.tabletHeading:ex.desktopHeading},l().createElement("h4",null,t)),l().createElement(ew,null),l().createElement("p",{className:ex.content},i("emptyStateText","There are no {{displayText}} to display",{displayText:n}))))};var ez=t(57683),eE=t(32573),eM=t(31782),eS=t(94436),eT={};eT.styleTagTransform=G(),eT.setAttributes=L(),eT.insert=H().bind(null,"head"),eT.domAPI=B(),eT.insertStyleElement=q(),R()(eS.A,eT);let eN=eS.A&&eS.A.locals?eS.A.locals:void 0;function eI(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eO(e){if(Array.isArray(e))return eI(e)}function eD(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function eR(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eP(e){return eO(e)||eD(e)||eB(e)||eR()}function eB(e,n){if(e){if("string"==typeof e)return eI(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eI(e,n)}}function ej(e){var n=(0,a.getDynamicOfflineDataHandlers)().filter(function(e){return"patient"===e.type}).map(function(e){return e.id}),t=eP(e.succeededHandlers).concat(eP(e.erroredHandlers));return n.some(function(e){return!t.includes(e)})}let eH=function(e){var n=e.patientUuid,t=e.isSyncing,i=e.lastSyncState,r=(0,k.useTranslation)().t,o=function(){return t?l().createElement(l().Fragment,null,l().createElement(ez.GU,{className:eN.pendingIcon}),r("offlinePatientsTableLastUpdatedDownloading","Downloading...")):i?ej(i)?l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),r("offlinePatientsTableLastUpdatedOutdatedData","Outdated data")):i.erroredHandlers.length>0?l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"offline-tools/patients/").concat(n,"/offline-data")})}},i.erroredHandlers.length," ",1===i.erroredHandlers.length?r("offlinePatientsTableLastUpdatedError","error"):r("offlinePatientsTableLastUpdatedErrors","errors"))):l().createElement(l().Fragment,null,l().createElement(eM.cR,null),i.syncedOn.toLocaleDateString()):l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),r("offlinePatientsTableLastUpdatedNotYetSynchronized","Not synchronized"))};return l().createElement("div",{className:eN.cellContainer},l().createElement(o,null))};var eF=t(58603),eL={};eL.styleTagTransform=G(),eL.setAttributes=L(),eL.insert=H().bind(null,"head"),eL.domAPI=B(),eL.insertStyleElement=q(),R()(eF.A,eL);let eU=eF.A&&eF.A.locals?eF.A.locals:void 0,eq=function(e){var n,t,i,r,o=e.patient,s=e.isNewlyRegistered,c=void 0!==s&&s,p=(0,k.useTranslation)().t,u="".concat([null==(t=o.name)||null==(n=t[0])?void 0:n.given,null==(r=o.name)||null==(i=r[0])?void 0:i.family].filter(Boolean).join(" "));return l().createElement("div",{className:eU.cellContainer},l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"patient/").concat(o.id,"/chart")})}},u),c&&l().createElement(O.Tag,{type:"magenta"},p("offlinePatientsTableNameNewlyRegistered","New")))};var eV=t(32564),eG={};eG.styleTagTransform=G(),eG.setAttributes=L(),eG.insert=H().bind(null,"head"),eG.domAPI=B(),eG.insertStyleElement=q(),R()(eV.A,eG);let eW=eV.A&&eV.A.locals?eV.A.locals:void 0;function eZ(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eY(e){if(Array.isArray(e))return e}function eK(e){if(Array.isArray(e))return eZ(e)}function eX(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function eJ(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){eX(r,a,i,o,s,"next",e)}function s(e){eX(r,a,i,o,s,"throw",e)}o(void 0)})}}function eQ(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function e0(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function e1(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function e2(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e3(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e4(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){eQ(e,n,t[n])})}return e}function e5(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function e6(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function e8(e,n){return eY(e)||e1(e,n)||e9(e,n)||e2()}function e7(e){return eK(e)||e0(e)||e9(e)||e3()}function e9(e,n){if(e){if("string"==typeof e)return eZ(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eZ(e,n)}}function ne(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var nn=function(e){var n=e.showHeader;return l().createElement(O.TableContainer,{className:eW.tableContainer},l().createElement("div",{className:eW.tableHeaderContainer},n&&l().createElement(O.SkeletonText,{heading:!0,width:"20%",className:eW.tableHeader}),l().createElement(O.SearchSkeleton,{className:eW.tableSearch})),l().createElement(O.DataTableSkeleton,{showToolbar:!1,showHeader:!1}))};function nt(e){var n=e.rowIds,t=e.headers,a=e.cellsById,i=e.inputValue,r=e.getCellId;return n.filter(function(e){return t.some(function(n){var t,o,s,l=a[r(e,n.key)].value;return(null!=(t=null!=(o=null==l||null==(s=l.filterableValue)?void 0:s.toString())?o:null==l?void 0:l.toString())?t:"").replace(/\s/g,"").toLowerCase().includes(i.replace(/\s/g,"").toLowerCase())})})}function na(){var e=(0,k.useTranslation)().t;return(0,s.useMemo)(function(){return[{key:"name",header:e("offlinePatientsTableHeaderName","Name")},{key:"lastUpdated",header:e("offlinePatientsTableHeaderLastUpdated","Last updated")},{key:"gender",header:e("offlinePatientsTableHeaderGender","Gender")},{key:"age",header:e("offlinePatientsTableHeaderAge","Age")}]},[e])}function ni(e){var n=em(),t=eb();return(0,s.useMemo)(function(){var i=[],r=function(n,t,i){return{id:n.id,name:{value:l().createElement(eq,{key:n.id,patient:n,isNewlyRegistered:t}),filterableValue:JSON.stringify(n.name)},lastUpdated:t?"--":l().createElement(eH,{key:n.id,patientUuid:n.id,isSyncing:e.includes(n.id),lastSyncState:i}),gender:(0,en.A)(n.gender),age:n.birthDate?(0,a.age)(n.birthDate):""}},o=!0,s=!1,c=void 0;try{for(var p,u,f,d=(null!=(p=t.data)?p:[])[Symbol.iterator]();!(o=(f=d.next()).done);o=!0){var g=f.value;i.push(r(g,!0))}}catch(e){s=!0,c=e}finally{try{o||null==d.return||d.return()}finally{if(s)throw c}}var h=!0,y=!1,b=void 0;try{for(var m,$=(null!=(u=n.data)?u:[])[Symbol.iterator]();!(h=(m=$.next()).done);h=!0){var v=m.value,A=v.patient,w=v.entry;i.push(r(A,!1,w.syncState))}}catch(e){y=!0,b=e}finally{try{h||null==$.return||$.return()}finally{if(y)throw b}}return i},[e,n.data,t.data])}function nr(e){return eJ(function(){var n;return ne(this,function(t){switch(t.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient-registration")];case 1:return n=t.sent().map(function(e){return e.identifier}),[4,Promise.all(e.filter(function(e){return n.includes(e)}).map(function(e){return(0,a.syncDynamicOfflineData)("patient",e)}))];case 2:return[2,t.sent()]}})})()}function no(e){return eJ(function(){var n,t,i,r;return ne(this,function(o){switch(o.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient")];case 1:return n=o.sent(),[4,(0,a.getFullSynchronizationItems)("patient-registration")];case 2:return t=o.sent(),i=e.filter(function(e){return n.some(function(n){return n.identifier===e})}),r=e.filter(function(e){return!i.includes(e)}),[4,Promise.all(e7(i.map(function(e){return(0,a.removeDynamicOfflineData)("patient",e)})).concat(e7(r.map(function(e){return eJ(function(){var n;return ne(this,function(i){switch(i.label){case 0:if(!(n=t.find(function(n){return n.content.fhirPatient.id===e})))return[3,2];return[4,(0,a.deleteSynchronizationItem)(n.id)];case 1:i.sent(),i.label=2;case 2:return[2]}})})()}))))];case 3:return o.sent(),[2]}})})()}let ns=function(e){var n,t,i=e.isInteractive,r=e.showHeader,o=(0,k.useTranslation)().t,c=(0,a.useLayoutType)(),p=em(),u=eb(),f=(0,a.isDesktop)(c)?"sm":void 0,d=e8((0,s.useState)([]),2),g=d[0],h=d[1],y=na(),b=ni(g),m=function(e){return eJ(function(){var n;return ne(this,function(t){switch(t.label){case 0:return h(n=e.map(function(e){return e.id})),[4,nr(n).finally(function(){return h([])})];case 1:return t.sent(),p.mutate(),u.mutate(),[2]}})})()},$=function(e){return eJ(function(){var n;return ne(this,function(t){return n=(0,a.showModal)("offline-tools-confirmation-modal",{title:o("offlinePatientsTableDeleteConfirmationModalTitle","Remove offline patients"),children:o("offlinePatientsTableDeleteConfirmationModalContent","Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted."),confirmText:o("offlinePatientsTableDeleteConfirmationModalConfirm","Remove patients"),cancelText:o("offlinePatientsTableDeleteConfirmationModalCancel","Cancel"),closeModal:function(){return n()},onConfirm:function(){return eJ(function(){return ne(this,function(n){switch(n.label){case 0:return[4,no(e.map(function(e){return e.id}))];case 1:return n.sent(),p.mutate(),u.mutate(),[2]}})})()}}),[2]})})()};return p.isValidating||u.isValidating?l().createElement(nn,{showHeader:r}):(null==p||null==(n=p.data)?void 0:n.length)===0&&(null==u||null==(t=u.data)?void 0:t.length)===0?l().createElement(eC,{displayText:o("offlinePatients_lower","offline patients"),headerTitle:o("offlinePatients","Offline patients")}):l().createElement(l().Fragment,null,l().createElement(O.DataTable,{rows:b,headers:y,filterRows:nt},function(e){var n=e.rows,t=e.headers,a=e.getTableProps,s=e.getHeaderProps,c=e.getRowProps,p=e.getTableContainerProps,u=e.getSelectionProps,d=e.onInputChange,g=e.selectedRows;return l().createElement(O.TableContainer,e4({className:eW.tableContainer},p()),l().createElement("div",{className:eW.tableHeaderContainer},r&&l().createElement("h4",{className:eW.tableHeader},o("offlinePatientsTableTitle","Offline patients")),0===g.length&&l().createElement(O.Layer,null,l().createElement(O.Search,{className:eW.tableSearch,labelText:o("offlinePatientsTableSearchLabel","Search this list"),placeholder:o("offlinePatientsTableSearchPlaceholder","Search this list"),size:f,onChange:function(e){return d(e)}})),g.length>0&&l().createElement(l().Fragment,null,l().createElement(O.Button,{className:eW.tableSecondaryAction,kind:"ghost",size:f,renderIcon:function(e){return l().createElement(et.wM,e4({size:32},e))},onClick:function(){return m(g)}},1===g.length?o("offlinePatientsTableUpdatePatient","Update patient"):o("offlinePatientsTableUpdatePatients","Update patients")),l().createElement(O.Button,{className:eW.tablePrimaryAction,kind:"danger",size:f,onClick:function(){return $(g)}},o("offlinePatientsTableRemoveFromOfflineList","Remove from list")))),l().createElement(O.Table,e6(e4({},a()),{useZebraStyles:!0}),l().createElement(O.TableHead,null,l().createElement(O.TableRow,null,i&&l().createElement(O.TableSelectAll,u()),t.map(function(e){return l().createElement(O.TableHeader,e6(e4({},s({header:e})),{isSortable:!0}),e.header)}))),l().createElement(O.TableBody,null,n.map(function(e){return l().createElement(O.TableRow,c({row:e}),i&&l().createElement(O.TableSelectRow,u({row:e})),e.cells.map(function(e){var n,t;return l().createElement(O.TableCell,{key:e.id},null!=(n=null==(t=e.value)?void 0:t.value)?n:e.value)}))}))))}))};var nl=t(39038),nc={};nc.styleTagTransform=G(),nc.setAttributes=L(),nc.insert=H().bind(null,"head"),nc.domAPI=B(),nc.insertStyleElement=q(),R()(nl.A,nc);let np=nl.A&&nl.A.locals?nl.A.locals:void 0,nu=function(e){var n=e.header,t=e.primaryActions,a=e.children;return l().createElement(l().Fragment,null,l().createElement("header",{className:np.pageHeaderContainer},l().createElement("h1",{className:np.pageHeader},n),t),a)};var nf=t(25004),nd={};nd.styleTagTransform=G(),nd.setAttributes=L(),nd.insert=H().bind(null,"head"),nd.domAPI=B(),nd.insertStyleElement=q(),R()(nf.A,nd);let ng=nf.A&&nf.A.locals?nf.A.locals:void 0,nh=function(){var e=(0,k.useTranslation)().t;return l().createElement(nu,{header:e("homeHeader","Offline home")},l().createElement("div",{style:{backgroundColor:"#ededed"}},l().createElement(ee,null)),l().createElement("div",{className:ng.offlinePatientsTableContainer},l().createElement(ns,{isInteractive:!1,showHeader:!0})))};var ny=t(13847);let nb=function(){var e=(0,f.useLocation)(),n=(0,f.useParams)().page,t=(0,ny.A)(window.getOpenmrsSpaBase(),"/")+e.pathname,i=Object.values((0,a.useExtensionSlotMeta)("offline-tools-page-slot")).find(function(e){return e.name===n});return i?l().createElement(l().Fragment,null,l().createElement(a.ExtensionSlot,{name:"breadcrumbs-slot"}),l().createElement(a.ExtensionSlot,{key:i.slot,name:i.slot,state:{basePath:t}})):null};var nm=t(11963),n$={};n$.styleTagTransform=G(),n$.setAttributes=L(),n$.insert=H().bind(null,"head"),n$.domAPI=B(),n$.insertStyleElement=q(),R()(nm.A,n$);let nv=nm.A&&nm.A.locals?nm.A.locals:void 0,nA=function(){return l().createElement(f.BrowserRouter,{basename:window.getOpenmrsSpaBase()},l().createElement(K,null),l().createElement("div",{className:p()("omrs-main-content",nv.mainContentContainer)},l().createElement(f.Routes,null,l().createElement(f.Route,{path:"offline-tools",element:l().createElement(nh,null)}),l().createElement(f.Route,{path:"offline-tools/:page",element:l().createElement(nb,null)},l().createElement(f.Route,{path:":patientUuid",element:l().createElement(nb,null)})))))};function nw(){var e=(0,k.useTranslation)().t;return l().createElement(a.ConfigurableLink,{to:"${openmrsSpaBase}/offline-tools"},e("offlineToolsAppMenuLink","Offline tools"))}function nk(e){var n=e.page,t=e.title,r=(0,k.useTranslation)().t;return l().createElement("div",{key:n},l().createElement(a.ConfigurableLink,{to:"${openmrsSpaBase}/"+i+(n?"/".concat(n):""),className:"cds--side-nav__link"},r(t)))}let n_=function(){var e=(0,k.useTranslation)().t;return l().createElement(l().Fragment,null,l().createElement(nk,{title:e("home","Home")}),l().createElement(a.ExtensionSlot,{name:"offline-tools-page-slot"}))},nx=function(e){var n=e.title,t=e.confirmText,a=e.cancelText,i=e.children,r=e.closeModal,o=e.onConfirm,s=e.onCancel;return l().createElement(l().Fragment,null,l().createElement(O.ModalHeader,{title:n,closeModal:r,buttonOnClick:s}),l().createElement(O.ModalBody,null,i),l().createElement(O.ModalFooter,{danger:!0,primaryButtonText:t,secondaryButtonText:a,closeModal:r,onRequestSubmit:function(){null==r||r(),null==o||o()},onRequestClose:s,children:void 0}))};var nC=t(59273),nz={};nz.styleTagTransform=G(),nz.setAttributes=L(),nz.insert=H().bind(null,"head"),nz.domAPI=B(),nz.insertStyleElement=q(),R()(nC.A,nz);let nE=nC.A&&nC.A.locals?nC.A.locals:void 0,nM=function(e){var n=e.header,t=e.content,a=e.isLoading,i=void 0!==a&&a;return l().createElement("div",null,l().createElement("h4",{className:nE.label01},n),i?l().createElement(O.SkeletonText,{heading:!0}):l().createElement("span",{className:nE.productiveHeading04},t))};var nS=t(28458),nT={};nT.styleTagTransform=G(),nT.setAttributes=L(),nT.insert=H().bind(null,"head"),nT.domAPI=B(),nT.insertStyleElement=q(),R()(nS.A,nT);let nN=nS.A&&nS.A.locals?nS.A.locals:void 0;function nI(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function nO(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){nI(e,n,t[n])})}return e}let nD=function(e){var n=e.header,t=e.viewLink,i=e.children,r=(0,k.useTranslation)().t;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:nN.overviewCard},l().createElement("div",{className:nN.headerContainer},l().createElement("h3",{className:nN.heading},n),l().createElement(O.Button,{className:nN.viewButton,kind:"ghost",renderIcon:function(e){return l().createElement(a.ArrowRightIcon,nO({size:16},e))},size:"sm",onClick:function(){return(0,a.navigate)({to:"${openmrsSpaBase}/".concat(t)})}},r("homeOverviewCardView","View"))),l().createElement("div",{className:nN.contentContainer},i)))},nR=function(){var e=(0,k.useTranslation)().t,n=e$().data;return l().createElement(nD,{header:e("homeOverviewCardPatientsHeader","Patients"),viewLink:r},l().createElement(nM,{header:e("homeOverviewCardPatientsDownloaded","Downloaded"),content:null==n?void 0:n.downloadedCount,isLoading:!n}),l().createElement(nM,{header:e("homeOverviewCardPatientsNewlyRegistered","Newly registered"),content:null==n?void 0:n.registeredCount,isLoading:!n}))};var nP=t(99627);function nB(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function nj(e){if(Array.isArray(e))return nB(e)}function nH(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function nF(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nL(e){return nj(e)||nH(e)||nU(e)||nF()}function nU(e,n){if(e){if("string"==typeof e)return nB(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nB(e,n)}}function nq(){return(0,ea.Ay)("offlineActions/pending",function(){return(0,_.getFullSynchronizationItems)()})}function nV(e){var n=e?(0,nP.A)(e.map(function(e){var n;return null==e||null==(n=e.descriptor)?void 0:n.patientUuid}).filter(Boolean)):null;return(0,ea.Ay)(function(){return["patients"].concat(nL(n))},function(){return Promise.all(n.map(function(e){return(0,_.fetchCurrentPatient)(e)}))})}let nG=function(){var e=(0,k.useTranslation)().t,n=nq().data;return l().createElement(nD,{header:e("homeOverviewCardOfflineActionsHeader","Offline actions"),viewLink:o},l().createElement(nM,{header:e("homeOverviewCardOfflineActionsFailedToUpload","Failed to upload"),isLoading:!n,content:l().createElement(l().Fragment,null,null==n?void 0:n.filter(function(e){return e.lastError}).length)}),l().createElement(nM,{header:e("homeOverviewCardOfflineActionsPendingUpload","Pending upload"),isLoading:!n,content:l().createElement(l().Fragment,null,null==n?void 0:n.length)}))};var nW=t(41103),nZ={};nZ.styleTagTransform=G(),nZ.setAttributes=L(),nZ.insert=H().bind(null,"head"),nZ.domAPI=B(),nZ.insertStyleElement=q(),R()(nW.A,nZ);let nY=nW.A&&nW.A.locals?nW.A.locals:void 0;function nK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function nX(e){if(Array.isArray(e))return e}function nJ(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function nQ(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function n0(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n1(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){nJ(e,n,t[n])})}return e}function n2(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function n3(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n2(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function n4(e,n){return nX(e)||nQ(e,n)||n5(e,n)||n0()}function n5(e,n){if(e){if("string"==typeof e)return nK(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nK(e,n)}}var n6=function(){return l().createElement(O.TableContainer,{className:nY.tableContainer},l().createElement("div",{className:nY.tableHeaderContainer},l().createElement(O.SearchSkeleton,{className:nY.tableSearch})),l().createElement(O.DataTableSkeleton,{showToolbar:!1,showHeader:!1}))};function n8(e){var n,t,a=e.item,i=e.patient;if(null==(n=a.descriptor)?void 0:n.patientUuid){var r=null==i||null==(t=i.name)?void 0:t[0];return r?"".concat(r.given.join(" ")," ").concat(r.family):a.descriptor.patientUuid}}function n7(e){var n,t=e.syncItem,i=null!=(n=t.descriptor.displayName)?n:"-";return(0,a.canBeginEditSynchronizationItemsOfType)(t.type)?l().createElement(O.Link,{onClick:function(){return(0,a.beginEditSynchronizationItem)(t.id).catch(function(e){return(0,a.createErrorHandler)()(e)})}},i):l().createElement(l().Fragment,null,i)}function n9(e){var n=e.patientUuid,t=e.patientName;return n?l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"patient/").concat(n,"/chart")})}},t):l().createElement(l().Fragment,null,"-")}function te(e){var n=e.rowIds,t=e.headers,a=e.cellsById,i=e.inputValue,r=e.getCellId;return n.filter(function(e){return t.some(function(n){var t,o,s,l=a[r(e,n.key)].value;return(null!=(t=null!=(o=null==l||null==(s=l.filterableValue)?void 0:s.toString())?o:null==l?void 0:l.toString())?t:"").toLowerCase().includes(i.toLowerCase())})})}let tn=function(e){var n=e.isLoading,t=e.data,i=void 0===t?[]:t,r=e.hiddenHeaders,o=e.disableEditing,c=e.disableDelete,p=e.onDelete,u=(0,k.useTranslation)().t,f=n4((0,s.useState)(10),2),d=f[0],g=f[1],h=(0,a.usePagination)(i),y=h.results,b=h.currentPage,m=h.goTo,$=(0,a.useLayoutType)(),v=(0,a.isDesktop)($)?"sm":void 0,A=[{key:"createdOn",header:u("offlineActionsTableCreatedOn","Date & Time")},{key:"patient",header:u("offlineActionsTablePatient","Patient")},{key:"action",header:u("offlineActionsTableAction","Action")},{key:"error",header:u("offlineActionsTableError","Error")}].filter(function(e){return!(null==r?void 0:r.includes(e.key))}),w=y.map(function(e){var n,t,a,i,r,o=n8(e);return{id:e.item.id.toString(),createdOn:null==(a=e.item.createdOn)?void 0:a.toLocaleDateString(),patient:{value:l().createElement(n9,{patientUuid:null==(i=e.item.descriptor)?void 0:i.patientUuid,patientName:o}),filterableValue:o},action:{value:l().createElement(n7,{syncItem:e.item}),filterableValue:null!=(n=e.item.descriptor.displayName)?n:"-"},error:null!=(t=null==(r=e.item.lastError)?void 0:r.message)?t:"-"}});return n?l().createElement(n6,null):l().createElement(O.DataTable,{rows:w,headers:A,filterRows:te},function(e){var n=e.rows,t=e.headers,a=e.getTableProps,r=e.getHeaderProps,s=e.getRowProps,f=e.getTableContainerProps,h=e.getSelectionProps,y=e.onInputChange,$=e.selectedRows;return l().createElement(O.TableContainer,n1({className:nY.tableContainer},f()),l().createElement("div",{className:nY.tableHeaderContainer},0===$.length&&l().createElement(O.Layer,null,l().createElement(O.Search,{className:nY.tableSearch,labelText:u("offlinePatientsTableSearchLabel","Search this list"),placeholder:u("offlinePatientsTableSearchPlaceholder","Search this list"),size:v,onChange:function(e){return y(e)}})),$.length>0&&l().createElement(O.Button,{className:nY.tablePrimaryAction,kind:"danger",size:v,disabled:o||c,onClick:function(){return p($.map(function(e){return+e.id}))}},u("offlineActionsTableDeleteActions","Delete {{count}} actions",{count:$.length}))),l().createElement(O.Table,n3(n1({},a()),{isSortable:!0,useZebraStyles:!0}),l().createElement(O.TableHead,null,l().createElement(O.TableRow,null,l().createElement(O.TableSelectAll,n3(n1({},h()),{disabled:o})),t.map(function(e){return l().createElement(O.TableHeader,n3(n1({},r({header:e})),{isSortable:!0}),e.header)}))),l().createElement(O.TableBody,null,n.map(function(e){return l().createElement(O.TableRow,s({row:e}),l().createElement(O.TableSelectRow,n3(n1({},h({row:e})),{disabled:o})),e.cells.map(function(e){var n,t;return l().createElement(O.TableCell,{key:e.id},null!=(n=null==(t=e.value)?void 0:t.value)?n:e.value)}))}))),l().createElement(O.Pagination,{pageSizes:[10,20,30,40,50],page:b,pageSize:d,totalItems:i.length,onChange:function(e){var n=e.page,t=e.pageSize;m(n),g(t)}}))})},tt='<svg width="130" height="86" xmlns="http://www.w3.org/2000/svg">\n <g fill="none" fill-rule="evenodd">\n <path d="M71.85 20c2.333 0 4.225 1.88 4.225 4.2 0 2.32-1.892 4.2-4.226 4.2h38.642c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2h13.283c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2h-11.472c-2.334 0-4.227 1.88-4.227 4.2 0 2.32 1.893 4.2 4.227 4.2h3.623c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2H27.774c-2.335 0-4.227-1.88-4.227-4.2 0-2.32 1.892-4.2 4.227-4.2H4.226C1.892 53.6 0 51.72 0 49.4c0-2.32 1.892-4.2 4.226-4.2h24.151c2.335 0 4.227-1.88 4.227-4.2 0-2.32-1.892-4.2-4.227-4.2H13.283c-2.334 0-4.226-1.88-4.226-4.2 0-2.32 1.892-4.2 4.226-4.2h24.151c-2.334 0-4.226-1.88-4.226-4.2 0-2.32 1.892-4.2 4.226-4.2h34.415zM126 54a4 4 0 1 1 0 8 4 4 0 0 1 0-8z" fill="#F4F4F4"/>\n <path d="M84.1 67.27c2.047-.998 3.731-2.455 4.753-3.714m1.775-2.081h0a28.783 28.783 0 0 0 5.698-11.513 29.183 29.183 0 0 0-.801-16.319 28.964 28.964 0 0 0-3.53-6.976 29.401 29.401 0 0 0-3.058-3.733 29.266 29.266 0 0 0-5.45-4.437 28.968 28.968 0 0 0-6.616-3.082 29.197 29.197 0 0 0-15.803-.56 28.766 28.766 0 0 0-13.207 7.29 28.886 28.886 0 0 0-5.454 7.228 28.855 28.855 0 0 0-2.851 8.078 29.21 29.21 0 0 0-.352 8.734 29.04 29.04 0 0 0 8.012 17.04 29.089 29.089 0 0 0 9.875 6.718 29.186 29.186 0 0 0 13.805 2.062 28.869 28.869 0 0 0 11.301-3.48" stroke="#ACACAC" stroke-width="1.5" fill="#FFF" stroke-linecap="round"/>\n <path d="M59.021 19.439a23.46 23.46 0 0 0-8.227 5.164 23.75 23.75 0 0 0-1.703 1.827M46.877 29a30.21 30.21 0 0 0-2.182 3.498" stroke="#B6B6B7" stroke-width="1.5" fill="#FFF" stroke-linecap="round"/>\n <path d="M56.588 42.78a2.136 2.136 0 0 0-3.027.138 2.159 2.159 0 0 0 .137 3.04l10.085 9.254a2.99 2.99 0 0 0 4.238-.193c.047-.052.047-.052.092-.106l14.392-17.385a2.159 2.159 0 0 0-.278-3.03 2.136 2.136 0 0 0-3.018.278L65.68 51.121l-9.09-8.34z" stroke="#979797" stroke-width="1.5" fill="#F4F4F5" fill-rule="nonzero"/>\n </g>\n</svg>\n';var ta=t(64550),ti={};ti.styleTagTransform=G(),ti.setAttributes=L(),ti.insert=H().bind(null,"head"),ti.domAPI=B(),ti.insertStyleElement=q(),R()(ta.A,ti);let tr=ta.A&&ta.A.locals?ta.A.locals:void 0,to=function(){var e=(0,k.useTranslation)().t;return l().createElement(O.Layer,{className:tr.layer},l().createElement(O.Tile,{className:tr.emptyStateContainer},l().createElement("img",{src:tt,alt:e("offlineActionsNoActionsEmptyStateImageAlt","No Pending Actions Image")}),l().createElement("h4",{className:tr.productiveHeading01},e("offlineActionsNoActionsEmptyStateTitle","No actions pending upload")),l().createElement("span",{className:tr.emptyStateDescription},e("offlineActionsNoActionsEmptyStateContent","All offline actions have been uploaded successfully,\nand merged with the online patient records."))))};function ts(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function tl(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){ts(r,a,i,o,s,"next",e)}function s(e){ts(r,a,i,o,s,"throw",e)}o(void 0)})}}function tc(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map(function(e){return{item:e,patient:n.find(function(n){var t;return n.id===(null==(t=e.descriptor)?void 0:t.patientUuid)})}})}let tu=function(e){var n=e.patientUuid,t=(0,k.useTranslation)().t,a=(0,_.useStore)((0,_.getOfflineSynchronizationStore)()),i=nq(),r=i.data,o=i.mutate,s=nV(r).data,c=tp(n?null==r?void 0:r.filter(function(e){return e.descriptor.patientUuid===n}):r,s),p=!r||!s,u=!!a.synchronization,f=function(e){return tl(function(){var n;return tc(this,function(a){return n=(0,_.showModal)("offline-tools-confirmation-modal",{title:t("offlineActionsDeleteConfirmationModalTitle","Delete offline actions"),children:t("offlineActionsDeleteConfirmationModalContent","Are you sure that you want to delete all selected offline actions? This cannot be undone!"),confirmText:t("offlineActionsDeleteConfirmationModalConfirm","Delete forever"),cancelText:t("offlineActionsDeleteConfirmationModalCancel","Cancel"),closeModal:function(){return n()},onConfirm:function(){return tl(function(){return tc(this,function(n){switch(n.label){case 0:return[4,Promise.allSettled(e.map(function(e){return(0,_.deleteSynchronizationItem)(e)}))];case 1:return n.sent(),o(),[2]}})})()}}),[2]})})()};return l().createElement(l().Fragment,null,p||(null==r?void 0:r.length)>0?l().createElement(tn,{isLoading:p,data:c,hiddenHeaders:n?["patient"]:[],disableEditing:u,disableDelete:!1,onDelete:f}):l().createElement(to,null))};var tf=t(50772),td={};td.styleTagTransform=G(),td.setAttributes=L(),td.insert=H().bind(null,"head"),td.domAPI=B(),td.insertStyleElement=q(),R()(tf.A,td);let tg=tf.A&&tf.A.locals?tf.A.locals:void 0;function th(e){var n=(0,a.getDynamicOfflineDataHandlers)();return e.filter(function(e){return n.some(function(n){return n.id===e&&!!n.displayName})})}let ty=function(){var e,n,t=(0,k.useTranslation)().t,i=ev((0,f.useParams)().patientUuid).data,r=(0,a.getDynamicOfflineDataHandlers)(),o=th(null!=(e=null==i?void 0:i.succeededHandlers)?e:[]),s=th(null!=(n=null==i?void 0:i.erroredHandlers)?n:[]);return l().createElement(nu,{header:t("offlinePatientSyncDetailsHeader","Offline patient details")},l().createElement("div",{className:tg.contentContainer},o.length>0&&l().createElement("section",{className:tg.headeredTileSection},l().createElement("h2",{className:tg.productiveHeading02},t("offlinePatientSyncDetailsDownloadedHeader","Downloaded to this device")),o.map(function(e){var n;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:tg.syncedTile},l().createElement("span",{className:tg.bodyShort01},null==(n=r.find(function(n){return n.id===e}))?void 0:n.displayName),l().createElement(eM._j,{size:16,className:tg.syncedTileIcon})))})),s.length>0&&l().createElement("section",{className:tg.headeredTileSection},l().createElement("h2",{className:tg.productiveHeading02},t("offlinePatientSyncDetailsFailedHeader","There was an error downloading the following items")),s.map(function(e){var n,a,o;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:tg.failedTile},l().createElement("span",{className:tg.bodyShort01},null==(a=r.find(function(n){return n.id===e}))?void 0:a.displayName),l().createElement(eE.BF,{size:16,className:tg.failedTileIcon}),l().createElement("span",{className:p()(tg.failedTileErrorMessage,tg.label01)},null!=(n=null==(o=i.errors.find(function(n){return n.handlerId===e}))?void 0:o.message)?n:t("offlinePatientSyncDetailsFallbackErrorMessage","Unknown error."))))}))))};var tb=t(36718),tm={};tm.styleTagTransform=G(),tm.setAttributes=L(),tm.insert=H().bind(null,"head"),tm.domAPI=B(),tm.insertStyleElement=q(),R()(tb.A,tm);let t$=tb.A&&tb.A.locals?tb.A.locals:void 0,tv=function(e){var n=e.basePath,t=(0,k.useTranslation)().t;return l().createElement(f.BrowserRouter,{basename:n},l().createElement(f.Routes,null,l().createElement(f.Route,{path:"/",element:l().createElement(nu,{header:t("offlinePatientsHeader","Offline patients")},l().createElement("div",{className:t$.contentContainer},l().createElement(ns,{isInteractive:!0,showHeader:!1})))}),l().createElement(f.Route,{path:"/:patientUuid/offline-data",element:l().createElement(ty,null)})))};var tA=t(70632),tw={};tw.styleTagTransform=G(),tw.setAttributes=L(),tw.insert=H().bind(null,"head"),tw.domAPI=B(),tw.insertStyleElement=q(),R()(tA.A,tw);let tk=tA.A&&tA.A.locals?tA.A.locals:void 0;function t_(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function tx(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){t_(e,n,t[n])})}return e}let tC=function(){var e=(0,k.useTranslation)().t,n=(0,_.useConnectivity)(),t=(0,_.useLayoutType)(),a=(0,_.useStore)((0,_.getOfflineSynchronizationStore)()),i=nq().mutate,r=!!a.synchronization,o=function(){return(0,_.runSynchronization)().finally(function(){return i()})},s=l().createElement(O.Button,{className:tk.primaryActionButton,size:(0,_.isDesktop)(t)?"sm":void 0,renderIcon:function(e){return(0,_.isDesktop)(t)&&l().createElement(et.wM,tx({size:16},e))},disabled:r,onClick:o},!(0,_.isDesktop)(t)&&l().createElement(et.wM,{size:16,className:tk.buttonInlineIcon}),e("offlineActionsUpdateOfflinePatients","Update offline patients"));return l().createElement(nu,{header:e("offlineActionsHeader","Offline actions"),primaryActions:n?s:void 0},l().createElement("div",{className:tk.contentContainer},l().createElement(tu,null)))};var tz=t(6460),tE={};tE.styleTagTransform=G(),tE.setAttributes=L(),tE.insert=H().bind(null,"head"),tE.domAPI=B(),tE.insertStyleElement=q(),R()(tz.A,tE);let tM=tz.A&&tz.A.locals?tz.A.locals:void 0;var tS=function(e){var n=e.title,t=e.children,i="tablet"===(0,a.useLayoutType)();return l().createElement("div",{className:i?tM.tabletHeader:tM.desktopHeader},l().createElement("h4",null,n),t)};let tT=function(e){var n=e.patientUuid,t=(0,k.useTranslation)().t;return l().createElement("div",{className:tM.widgetCard},l().createElement(tS,{title:t("offlineActions","Offline actions")}),l().createElement(tu,{patientUuid:n}))};var tN=t(91596),tI=t(60667),tO={};tO.styleTagTransform=G(),tO.setAttributes=L(),tO.insert=H().bind(null,"head"),tO.domAPI=B(),tO.insertStyleElement=q(),R()(tI.A,tO);let tD=tI.A&&tI.A.locals?tI.A.locals:void 0;function tR(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function tP(e){if(Array.isArray(e))return e}function tB(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function tj(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tH(e,n){return tP(e)||tB(e,n)||tF(e,n)||tj()}function tF(e,n){if(e){if("string"==typeof e)return tR(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tR(e,n)}}function tL(e){e.stopPropagation()}let tU=function(){var e=(0,k.useTranslation)().t,n=tH(l().useState(function(){return(0,_.getCurrentOfflineMode)().active}),2),t=n[0],a=n[1],i=l().useCallback(function(){a(function(e){var n=!e;return(0,_.setCurrentOfflineMode)(n?"on":"off"),n})},[]);return l().createElement(O.SwitcherItem,{className:tD.panelItemContainer,"aria-label":"Offline mode"},l().createElement("div",null,l().createElement(tN.VP,{size:20}),l().createElement("p",{onClick:tL,role:"none"},e("offlineReady","Offline Ready"))),l().createElement(O.Toggle,{className:tD.toggle,id:"offlineModeSwitch",toggled:t,onToggle:i}))};function tq(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function tV(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){tq(e,n,t[n])})}return e}function tG(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function tW(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}t(84767);var tZ="@openmrs/esm-offline-tools-app",tY={featureName:"offline-tools",moduleName:tZ};(0,a.getSyncLifecycle)(nA,tY),(0,a.getSyncLifecycle)(nw,tY),(0,a.getSyncLifecycle)(n_,{featureName:"nav-items",moduleName:tZ}),(0,a.getSyncLifecycle)(nx,tY),(0,a.getSyncLifecycle)(nR,tY),(0,a.getSyncLifecycle)(nG,tY),(0,a.getSyncLifecycle)(function(){return nk({page:"patients",title:"offlinePatients"})},tY),(0,a.getSyncLifecycle)(function(){return nk({page:"actions",title:"offlineActions"})},tY),(0,a.getSyncLifecycle)(tu,tY),(0,a.getSyncLifecycle)(tv,tY),(0,a.getSyncLifecycle)(tC,tY),(0,a.getSyncLifecycle)(tT,tY),(0,a.getSyncLifecycle)(v(tW(tV({},A),{title:function(){var e,n;return Promise.resolve(null!=(e=null==(n=window.i18next)?void 0:n.t("offline_actions_link",{defaultValue:"Offline Actions",ns:tZ}))?e:"Offline Actions")}})),tY),(0,a.getSyncLifecycle)(tU,tY)},35281(e,n,t){"use strict";var a=t(68092),i=t.n(a);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function o(e){if(Array.isArray(e))return e}function s(e){if(Array.isArray(e))return r(e)}function l(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function p(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,n){return o(e)||c(e,n)||h(e,n)||p()}function d(e){return s(e)||l(e)||h(e)||u()}function g(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function h(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}}var y=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),b={},m="@openmrs/esm-offline-tools-app",$="version-first";if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var v,A,w,k,_,x,C,z,E,M,S,T,N=function(e,n,t){e&&e[n]&&(e[n]=t)},I=function(e,n,t){var a,i,r,o,s,l,c,p=t();Array.isArray(p)?(null!=(o=(i=e)[r=n])||(i[r]=[]),(a=e[n]).push.apply(a,d(p))):(void 0===p?"undefined":g(p))==="object"&&null!==p&&(null!=(c=(s=e)[l=n])||(s[l]={}),Object.assign(e[n],p))},O=function(e,n,t){var a,i,r;null!=(r=(a=e)[i=n])||(a[i]=t())},D=null!=(v=null==(x=t.remotesLoadingData)?void 0:x.chunkMapping)?v:{},R=null!=(A=null==(C=t.remotesLoadingData)?void 0:C.moduleIdToRemoteDataMapping)?A:{},P=null!=(w=null==(z=t.initializeSharingData)?void 0:z.scopeToSharingDataMapping)?w:{},B=null!=(k=null==(E=t.consumesLoadingData)?void 0:E.chunkMapping)?k:{},j=null!=(_=null==(M=t.consumesLoadingData)?void 0:M.moduleIdToConsumeDataMapping)?_:{},H={},F=[],L={},U=null==(S=t.initializeExposesData)?void 0:S.shareScope;for(var q in i())t.federation[q]=i()[q];O(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(j)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1];e[s]={getter:l.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:l.requiredVersion,strictVersion:l.strictVersion,singleton:l.singleton,eager:l.eager},scope:[l.shareScope]},shareKey:l.shareKey}}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),O(t.federation,"initOptions",function(){return{}}),O(t.federation.initOptions,"name",function(){return m}),O(t.federation.initOptions,"shareStrategy",function(){return $}),O(t.federation.initOptions,"shared",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(P)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1],c=!0,p=!1,u=void 0;try{for(var d,h=l[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var y=d.value;if((void 0===y?"undefined":g(y))==="object"&&null!==y){var b=y.name,m=y.version,$=y.factory,v=y.eager,A=y.singleton,w=y.requiredVersion,k=y.strictVersion,_={},x=function(e){return void 0!==e};x(A)&&(_.singleton=A),x(w)&&(_.requiredVersion=w),x(v)&&(_.eager=v),x(k)&&(_.strictVersion=k);var C={version:m,scope:[s],shareConfig:_,get:$};e[b]?e[b].push(C):e[b]=[C]}}}catch(e){p=!0,u=e}finally{try{c||null==h.return||h.return()}finally{if(p)throw u}}}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),I(t.federation.initOptions,"remotes",function(){return Object.values(b).flat().filter(function(e){return"script"===e.externalType})}),I(t.federation.initOptions,"plugins",function(){return y}),O(t.federation,"bundlerRuntimeOptions",function(){return{}}),O(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),O(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return D}),O(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return b}),O(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(R)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1];e[s]=[l.shareScope,l.name,l.externalModuleId,l.remoteName]}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),O(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),I(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(R)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=b[o[1].remoteName];l&&(e[s]=l)}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),N(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),N(t.f,"remotes",function(e,n){return t.federation.bundlerRuntime.remotes({chunkId:e,promises:n,chunkMapping:D,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),N(t.f,"consumes",function(e,n){return t.federation.bundlerRuntime.consumes({chunkId:e,promises:n,chunkMapping:B,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:H,webpackRequire:t})}),N(t,"I",function(e,n){return t.federation.bundlerRuntime.I({shareScopeName:e,initScope:n,initPromises:F,initTokens:L,webpackRequire:t})}),N(t,"initContainer",function(e,n,a){return t.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:n,remoteEntryInitOptions:a,shareScopeKey:U,webpackRequire:t})}),N(t,"getContainer",function(e,n){var a=t.initializeExposesData.moduleMap;return t.R=n,n=Object.prototype.hasOwnProperty.call(a,e)?a[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,n}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(T=t.consumesLoadingData)?void 0:T.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:H,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},49895(e,n,t){"use strict";var a=t(17149),i=t(80160);let r="[ Federation Runtime ]",o=a.createLogger(r);function s(e,n){e||l(n)}function l(e){if(e instanceof Error)throw e.message.startsWith(r)||(e.message=`${r}: ${e.message}`),e;throw Error(`${r}: ${e}`)}function c(e){e instanceof Error&&(e.message.startsWith(r)||(e.message=`${r}: ${e.message}`)),o.warn(e)}function p(e,n){return -1===e.findIndex(e=>e===n)&&e.push(n),e}function u(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function f(e){return void 0!==e.entry}function d(e){return!e.entry.includes(".json")}async function g(e,n){try{return await e()}catch(e){n||c(e);return}}function h(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function b(e){return"[object Object]"===y.call(e)}function m(e,n){let t=/^(https?:)?\/\//i;return e.replace(t,"").replace(/\/$/,"")===n.replace(t,"").replace(/\/$/,"")}function $(e){return Array.isArray(e)?e:[e]}function v(e){let n={url:"",type:"global",globalName:""};return a.isBrowserEnv()||a.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:n:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||n.url,type:e.ssrRemoteEntryType||n.type,globalName:e.globalName}:n}let A=(e,n)=>{let t;return t=e.endsWith("/")?e.slice(0,-1):e,n.startsWith(".")&&(n=n.slice(1)),t+=n},w="object"==typeof globalThis?globalThis:window,k=(()=>{try{return document.defaultView}catch{return w}})(),_=k;function x(e,n,t){Object.defineProperty(e,n,{value:t,configurable:!1,writable:!0})}function C(e,n){return Object.hasOwnProperty.call(e,n)}C(w,"__GLOBAL_LOADING_REMOTE_ENTRY__")||x(w,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let z=w.__GLOBAL_LOADING_REMOTE_ENTRY__;function E(e){C(e,"__VMOK__")&&!C(e,"__FEDERATION__")&&x(e,"__FEDERATION__",e.__VMOK__),C(e,"__FEDERATION__")||(x(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),x(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function M(){w.__FEDERATION__.__GLOBAL_PLUGIN__=[],w.__FEDERATION__.__INSTANCES__=[],w.__FEDERATION__.moduleInfo={},w.__FEDERATION__.__SHARE__={},w.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(z).forEach(e=>{delete z[e]})}function S(e){w.__FEDERATION__.__INSTANCES__.push(e)}function T(){return w.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function N(e,n=a.isDebugMode()){n&&(w.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,w.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.22.0")}function I(e,n){if("string"==typeof n){if(e[n])return{value:e[n],key:n};for(let t of Object.keys(e)){let[a,i]=t.split(":"),r=`${a}:${n}`,o=e[r];if(o)return{value:o,key:r}}return{value:void 0,key:n}}throw Error("key must be string")}E(w),E(k);let O=()=>k.__FEDERATION__.moduleInfo,D=(e,n)=>{let t=I(n,u(e)).value;if(t&&!t.version&&"version"in e&&e.version&&(t.version=e.version),t)return t;if("version"in e&&e.version){let{version:n,...t}=e,a=u(t),i=I(k.__FEDERATION__.moduleInfo,a).value;if(i?.version===n)return i}},R=e=>D(e,k.__FEDERATION__.moduleInfo),P=(e,n)=>{let t=u(e);return k.__FEDERATION__.moduleInfo[t]=n,k.__FEDERATION__.moduleInfo},B=e=>(k.__FEDERATION__.moduleInfo={...k.__FEDERATION__.moduleInfo,...e},()=>{for(let n of Object.keys(e))delete k.__FEDERATION__.moduleInfo[n]}),j=(e,n)=>{let t=n||`__FEDERATION_${e}:custom__`,a=w[t];return{remoteEntryKey:t,entryExports:a}},H=e=>{let{__GLOBAL_PLUGIN__:n}=k.__FEDERATION__;e.forEach(e=>{-1===n.findIndex(n=>n.name===e.name)?n.push(e):c(`The plugin ${e.name} has been registered.`)})},F=()=>k.__FEDERATION__.__GLOBAL_PLUGIN__,L=e=>w.__FEDERATION__.__PRELOADED_MAP__.get(e),U=e=>w.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),q="default",V="global",G="[0-9A-Za-z-]+",W=`(?:\\+(${G}(?:\\.${G})*))`,Z="0|[1-9]\\d*",Y="[0-9]+",K="\\d*[a-zA-Z-][a-zA-Z0-9-]*",X=`(?:${Y}|${K})`,J=`(?:-?(${X}(?:\\.${X})*))`,Q=`(?:${Z}|${K})`,ee=`(?:-(${Q}(?:\\.${Q})*))`,en=`${Z}|x|X|\\*`,et=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${ee})?${W}?)?)?`,ea=`^\\s*(${et})\\s+-\\s+(${et})\\s*$`,ei=`(${Y})\\.(${Y})\\.(${Y})`,er=`[v=\\s]*${ei}${J}?${W}?`,eo="((?:<|>)?=?)",es=`(\\s*)${eo}\\s*(${er}|${et})`,el="(?:~>?)",ec=`(\\s*)${el}\\s+`,ep="(?:\\^)",eu=`(\\s*)${ep}\\s+`,ef="(<|>)?=?\\s*\\*",ed=`^${ep}${et}$`,eg=`(${Z})\\.(${Z})\\.(${Z})`,eh=`v?${eg}${ee}?${W}?`,ey=`^${el}${et}$`,eb=`^${eo}\\s*${et}$`,em=`^${eo}\\s*(${eh})$|^$`,e$="^\\s*>=\\s*0.0.0\\s*$";function ev(e){return new RegExp(e)}function eA(e){return!e||"x"===e.toLowerCase()||"*"===e}function ew(...e){return n=>e.reduce((e,n)=>n(e),n)}function ek(e){return e.match(ev(em))}function e_(e,n,t,a){let i=`${e}.${n}.${t}`;return a?`${i}-${a}`:i}function ex(e){return e.replace(ev(ea),(e,n,t,a,i,r,o,s,l,c,p,u)=>(n=eA(t)?"":eA(a)?`>=${t}.0.0`:eA(i)?`>=${t}.${a}.0`:`>=${n}`,s=eA(l)?"":eA(c)?`<${Number(l)+1}.0.0-0`:eA(p)?`<${l}.${Number(c)+1}.0-0`:u?`<=${l}.${c}.${p}-${u}`:`<=${s}`,`${n} ${s}`.trim()))}function eC(e){return e.replace(ev(es),"$1$2$3")}function ez(e){return e.replace(ev(ec),"$1~")}function eE(e){return e.replace(ev(eu),"$1^")}function eM(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ed),(e,n,t,a,i)=>{if(eA(n))return"";if(eA(t))return`>=${n}.0.0 <${Number(n)+1}.0.0-0`;if(eA(a))if("0"===n)return`>=${n}.${t}.0 <${n}.${Number(t)+1}.0-0`;else return`>=${n}.${t}.0 <${Number(n)+1}.0.0-0`;if(i)if("0"!==n)return`>=${n}.${t}.${a}-${i} <${Number(n)+1}.0.0-0`;else if("0"===t)return`>=${n}.${t}.${a}-${i} <${n}.${t}.${Number(a)+1}-0`;else return`>=${n}.${t}.${a}-${i} <${n}.${Number(t)+1}.0-0`;if("0"===n)if("0"===t)return`>=${n}.${t}.${a} <${n}.${t}.${Number(a)+1}-0`;else return`>=${n}.${t}.${a} <${n}.${Number(t)+1}.0-0`;return`>=${n}.${t}.${a} <${Number(n)+1}.0.0-0`})).join(" ")}function eS(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ey),(e,n,t,a,i)=>eA(n)?"":eA(t)?`>=${n}.0.0 <${Number(n)+1}.0.0-0`:eA(a)?`>=${n}.${t}.0 <${n}.${Number(t)+1}.0-0`:i?`>=${n}.${t}.${a}-${i} <${n}.${Number(t)+1}.0-0`:`>=${n}.${t}.${a} <${n}.${Number(t)+1}.0-0`)).join(" ")}function eT(e){return e.split(/\s+/).map(e=>e.trim().replace(ev(eb),(e,n,t,a,i,r)=>{let o=eA(t),s=o||eA(a),l=s||eA(i);if("="===n&&l&&(n=""),r="",o)if(">"===n||"<"===n)return"<0.0.0-0";else return"*";return n&&l?(s&&(a=0),i=0,">"===n?(n=">=",s?(t=Number(t)+1,a=0):a=Number(a)+1,i=0):"<="===n&&(n="<",s?t=Number(t)+1:a=Number(a)+1),"<"===n&&(r="-0"),`${n+t}.${a}.${i}${r}`):s?`>=${t}.0.0${r} <${Number(t)+1}.0.0-0`:l?`>=${t}.${a}.0${r} <${t}.${Number(a)+1}.0-0`:e})).join(" ")}function eN(e){return e.trim().replace(ev(ef),"")}function eI(e){return e.trim().replace(ev(e$),"")}function eO(e,n){return(e=Number(e)||e)>(n=Number(n)||n)?1:e===n?0:-1}function eD(e,n){let{preRelease:t}=e,{preRelease:a}=n;if(void 0===t&&a)return 1;if(t&&void 0===a)return -1;if(void 0===t&&void 0===a)return 0;for(let e=0,n=t.length;e<=n;e++){let n=t[e],i=a[e];if(n!==i){if(void 0===n&&void 0===i)return 0;if(!n)return 1;if(!i)return -1;return eO(n,i)}}return 0}function eR(e,n){return eO(e.major,n.major)||eO(e.minor,n.minor)||eO(e.patch,n.patch)||eD(e,n)}function eP(e,n){return e.version===n.version}function eB(e,n){switch(e.operator){case"":case"=":return eP(e,n);case">":return 0>eR(e,n);case">=":return eP(e,n)||0>eR(e,n);case"<":return eR(e,n)>0;case"<=":return eP(e,n)||eR(e,n)>0;case void 0:return!0;default:return!1}}function ej(e){return ew(eM,eS,eT,eN)(e)}function eH(e){return ew(ex,eC,ez,eE)(e.trim()).split(/\s+/).join(" ")}function eF(e,n){if(!e)return!1;let t=ek(e);if(!t)return!1;let[,a,,i,r,o,s]=t,l={operator:a,version:e_(i,r,o,s),major:i,minor:r,patch:o,preRelease:s?.split(".")};for(let e of n.split("||")){let n=e.trim();if(!n||"*"===n||"x"===n)return!0;try{let e=eH(n);if(!e.trim())return!0;let t=e.split(" ").map(e=>ej(e)).join(" ");if(!t.trim())return!0;let a=t.split(/\s+/).map(e=>eI(e)).filter(Boolean);if(0===a.length)continue;let i=!0;for(let e of a){let n=ek(e);if(!n){i=!1;break}let[,t,,a,r,o,s]=n,c={operator:t,version:e_(a,r,o,s),major:a,minor:r,patch:o,preRelease:s?.split(".")};if(!eB(c,l)){i=!1;break}}if(i)return!0}catch(e){console.error(`[semver] Error processing range part "${n}":`,e);continue}}return!1}function eL(e,n,t,a){let i;return i="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${t}'!`)}),{deps:[],useIn:[],from:n,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:i,loaded:!!e?.loaded||"lib"in e||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??a)||"version-first"}}function eU(e,n){let t=n.shared||{},a=n.name,i=Object.keys(t).reduce((e,i)=>{let r=$(t[i]);return e[i]=e[i]||[],r.forEach(t=>{e[i].push(eL(t,a,i,n.shareStrategy))}),e},{}),r={...e.shared};return Object.keys(i).forEach(e=>{r[e]?i[e].forEach(n=>{r[e].find(e=>e.version===n.version)||r[e].push(n)}):r[e]=i[e]}),{shared:r,shareInfos:i}}function eq(e,n){let t=e=>{if(!Number.isNaN(Number(e))){let n=e.split("."),t=e;for(let e=0;e<3-n.length;e++)t+=".0";return t}return e};return!!eF(t(e),`<=${t(n)}`)}let eV=(e,n)=>{let t=n||function(e,n){return eq(e,n)};return Object.keys(e).reduce((e,n)=>!e||t(e,n)||"0"===e?n:e,0)},eG=e=>!!e.loaded||"function"==typeof e.lib,eW=e=>!!e.loading;function eZ(e,n,t){let a=e[n][t],i=function(e,n){return!eG(a[e])&&eq(e,n)};return eV(e[n][t],i)}function eY(e,n,t){let a=e[n][t],i=function(e,n){let t=e=>eG(e)||eW(e);if(t(a[n]))if(t(a[e]))return!!eq(e,n);else return!0;return!t(a[e])&&eq(e,n)};return eV(e[n][t],i)}function eK(e){return"loaded-first"===e?eY:eZ}function eX(e,n,t,a){if(!e)return;let{shareConfig:i,scope:r=q,strategy:o}=t;for(let s of Array.isArray(r)?r:[r])if(i&&e[s]&&e[s][n]){let{requiredVersion:r}=i,p=eK(o)(e,s,n),u=()=>{if(i.singleton){if("string"==typeof r&&!eF(p,r)){let a=`Version ${p} from ${p&&e[s][n][p].from} of shared singleton module ${n} does not satisfy the requirement of ${t.from} which needs ${r})`;i.strictVersion?l(a):c(a)}return e[s][n][p]}if(!1===r||"*"===r||eF(p,r))return e[s][n][p];for(let[t,a]of Object.entries(e[s][n]))if(eF(t,r))return a},f={shareScopeMap:e,scope:s,pkgName:n,version:p,GlobalFederation:_.__FEDERATION__,resolver:u};return(a.emit(f)||f).resolver()}}function eJ(){return _.__FEDERATION__.__SHARE__}function eQ(e){let{pkgName:n,extraOptions:t,shareInfos:a}=e,i=e=>{if(!e)return;let n={};e.forEach(e=>{n[e.version]=e});let t=function(e,t){return!eG(n[e])&&eq(e,t)},a=eV(n,t);return n[a]};return Object.assign({},(t?.resolver??i)(a[n]),t?.customShareInfo)}function e0(){return"u">typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}function e1(e,n){for(let t of e){let e=n.startsWith(t.name),a=n.replace(t.name,"");if(e){if(a.startsWith("/"))return{pkgNameOrAlias:t.name,expose:a=`.${a}`,remote:t};else if(""===a)return{pkgNameOrAlias:t.name,expose:".",remote:t}}let i=t.alias&&n.startsWith(t.alias),r=t.alias&&n.replace(t.alias,"");if(t.alias&&i){if(r&&r.startsWith("/"))return{pkgNameOrAlias:t.alias,expose:r=`.${r}`,remote:t};else if(""===r)return{pkgNameOrAlias:t.alias,expose:".",remote:t}}}}function e2(e,n){for(let t of e)if(n===t.name||t.alias&&n===t.alias)return t}function e3(e,n){let t=F(),a=[n.hooks,n.remoteHandler.hooks,n.sharedHandler.hooks,n.snapshotHandler.hooks,n.loaderHook,n.bridgeHook];return t.length>0&&t.forEach(n=>{e?.find(e=>e.name!==n.name)&&e.push(n)}),e&&e.length>0&&e.forEach(e=>{a.forEach(t=>{t.applyPlugin(e,n)})}),e}let e4=".then(callbacks[0]).catch(callbacks[1])";async function e5({entry:e,remoteEntryExports:n}){return new Promise((t,a)=>{try{n?t(n):"u">typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${e}")${e4}`)([t,a]):import(e).then(t).catch(a)}catch(e){a(e)}})}async function e6({entry:e,remoteEntryExports:n}){return new Promise((t,a)=>{try{n?t(n):Function("callbacks",`System.import("${e}")${e4}`)([t,a])}catch(e){a(e)}})}function e8(e,n,t){let{remoteEntryKey:a,entryExports:r}=j(e,n);return s(r,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:e,remoteEntryUrl:t,remoteEntryKey:a})),r}async function e7({name:e,globalName:n,entry:t,loaderHook:r,getEntryUrl:o}){let{entryExports:l}=j(e,n);if(l)return l;let c=o?o(t):t;return a.loadScript(c,{attrs:{},createScriptHook:(e,n)=>{let t=r.lifecycle.createScript.emit({url:e,attrs:n});if(t&&(t instanceof HTMLScriptElement||"script"in t||"timeout"in t))return t}}).then(()=>e8(e,n,t)).catch(n=>{throw s(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:e,resourceUrl:t})),n})}async function e9({remoteInfo:e,remoteEntryExports:n,loaderHook:t,getEntryUrl:a}){let{entry:i,entryGlobalName:r,name:o,type:s}=e;switch(s){case"esm":case"module":return e5({entry:i,remoteEntryExports:n});case"system":return e6({entry:i,remoteEntryExports:n});default:return e7({entry:i,globalName:r,name:o,loaderHook:t,getEntryUrl:a})}}async function ne({remoteInfo:e,loaderHook:n}){let{entry:t,entryGlobalName:i,name:r,type:o}=e,{entryExports:s}=j(r,i);return s||a.loadScriptNode(t,{attrs:{name:r,globalName:i,type:o},loaderHook:{createScriptHook:(e,t={})=>{let a=n.lifecycle.createScript.emit({url:e,attrs:t});if(a&&"url"in a)return a}}}).then(()=>e8(r,i,t)).catch(e=>{throw e})}function nn(e){let{entry:n,name:t}=e;return a.composeKeyWithSeparator(t,n)}async function nt(e){let{origin:n,remoteEntryExports:t,remoteInfo:r,getEntryUrl:o,_inErrorHandling:s=!1}=e,l=nn(r);if(t)return t;if(!z[l]){let e=n.remoteHandler.hooks.lifecycle.loadEntry,c=n.loaderHook;z[l]=e.emit({loaderHook:c,remoteInfo:r,remoteEntryExports:t}).then(e=>e||(("u">typeof ENV_TARGET?"web"===ENV_TARGET:a.isBrowserEnv())?e9({remoteInfo:r,remoteEntryExports:t,loaderHook:c,getEntryUrl:o}):ne({remoteInfo:r,loaderHook:c}))).catch(async e=>{let a=nn(r);if(e instanceof Error&&e.message.includes(i.RUNTIME_008)&&!s){let e=e=>nt({...e,_inErrorHandling:!0}),i=await n.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e,origin:n,remoteInfo:r,remoteEntryExports:t,globalLoading:z,uniqueKey:a});if(i)return i}throw e})}return z[l]}function na(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||V,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||q}}function ni(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1,...e}}function nr(e,n){return n.map(n=>{let t=e2(e,n.nameOrAlias);return s(t,`Unable to preload ${n.nameOrAlias} as it is not included in ${!t&&a.safeToString({remoteInfo:t,remotes:e})}`),{remote:t,preloadConfig:ni(n)}})}function no(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function ns(e,n,t,i=!0){let{cssAssets:r,jsAssetsWithoutEntry:o,entryAssets:s}=t;if(n.options.inBrowser){if(s.forEach(t=>{let{moduleInfo:a}=t,i=n.moduleCache.get(e.name);i?nt({origin:n,remoteInfo:a,remoteEntryExports:i.remoteEntryExports}):nt({origin:n,remoteInfo:a,remoteEntryExports:void 0})}),i){let e={rel:"preload",as:"style"};r.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a}});r&&document.head.appendChild(i)})}else{let e={rel:"stylesheet",type:"text/css"};r.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a},needDeleteLink:!1});r&&document.head.appendChild(i)})}if(i){let e={rel:"preload",as:"script"};o.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a}});r&&document.head.appendChild(i)})}else{let t={fetchpriority:"high",type:e?.type==="module"?"module":"text/javascript"};o.forEach(e=>{let{script:i,needAttach:r}=a.createScript({url:e,cb:()=>{},attrs:t,createScriptHook:(e,t)=>{let a=n.loaderHook.lifecycle.createScript.emit({url:e,attrs:t});if(a instanceof HTMLScriptElement)return a},needDeleteScript:!0});r&&document.head.appendChild(i)})}}}var nl={global:{Global:_,nativeGlobal:k,resetFederationGlobalInfo:M,setGlobalFederationInstance:S,getGlobalFederationConstructor:T,setGlobalFederationConstructor:N,getInfoWithoutType:I,getGlobalSnapshot:O,getTargetSnapshotInfoByModuleInfo:D,getGlobalSnapshotInfoByModuleInfo:R,setGlobalSnapshotInfoByModuleInfo:P,addGlobalSnapshot:B,getRemoteEntryExports:j,registerGlobalPlugins:H,getGlobalHostPlugins:F,getPreloaded:L,setPreloaded:U},share:{getRegisteredShare:eX,getGlobalShareScope:eJ},utils:{matchRemoteWithNameAndExpose:e1,preloadAssets:ns,getRemoteInfo:na}};class nc{constructor({remoteInfo:e,host:n}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=n}async getEntry(){let e;return this.remoteEntryExports||(s(e=await nt({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports}),`remoteEntryExports is undefined
2
+ ${a}`),i.join("\n")},y={[t]:"Failed to get remoteEntry exports.",[a]:'The remote entry interface does not contain "init"',[i]:"Failed to get manifest.",[r]:"Failed to locate remote.",[o]:"Invalid loadShareSync function call from bundler runtime",[s]:"Invalid loadShareSync function call from runtime",[l]:"Failed to get remote snapshot.",[c]:"Failed to load script resources.",[p]:"Please call createInstance first."},b={[u]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},m={[f]:"Failed to find expose module.",[d]:"PublicPath is required in prod mode."},$={...y,...b,...m};n.BUILD_001=f,n.BUILD_002=d,n.RUNTIME_001=t,n.RUNTIME_002=a,n.RUNTIME_003=i,n.RUNTIME_004=r,n.RUNTIME_005=o,n.RUNTIME_006=s,n.RUNTIME_007=l,n.RUNTIME_008=c,n.RUNTIME_009=p,n.TYPE_001=u,n.buildDescMap=m,n.errorDescMap=$,n.getShortErrorMsg=h,n.runtimeDescMap=y,n.typeDescMap=b},59273(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__headered-quick-info-styles__productiveHeading04___rzhFc{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-offline-tools__headered-quick-info-styles__label01___CoZeb{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/headered-quick-info.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,6EC+1BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CD31BJ,iEC21BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDz1BF,aDFQ",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading04 {\n @include type.type-style('heading-04');\n}\n\n.label01 {\n @include type.type-style('label-01');\n color: $text-02;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={productiveHeading04:"-esm-offline-tools__headered-quick-info-styles__productiveHeading04___rzhFc",label01:"-esm-offline-tools__headered-quick-info-styles__label01___CoZeb"};let s=o},28458(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__overview-card-styles__productiveHeading01___e9uzg,.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__heading___uKvmI{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k{border:1px solid #e0e0e0}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__heading___uKvmI{color:#525252}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__headerContainer___13OYp{display:flex;justify-content:space-between;align-items:center}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__contentContainer___ym7-\\+{display:flex;justify-content:space-between;margin-top:1.5rem}.-esm-offline-tools__overview-card-styles__overviewCard___4NT8k .-esm-offline-tools__overview-card-styles__viewButton___9YEmH{margin-top:-0.25rem;margin-right:-1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/overview-card.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,kMC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,gEACE,wBAAA,CAEA,2HAEE,aDNM,CCSR,mIACE,YAAA,CACA,6BAAA,CACA,kBAAA,CAGF,qIACE,YAAA,CACA,6BAAA,CACA,iBEWS,CFRX,8HACE,mBAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.overviewCard {\n border: 1px solid $ui-03;\n\n .heading {\n @extend .productiveHeading01;\n color: $text-02;\n }\n\n .headerContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .contentContainer {\n display: flex;\n justify-content: space-between;\n margin-top: layout.$spacing-06;\n }\n\n .viewButton {\n margin-top: -(layout.$spacing-02);\n margin-right: -(layout.$spacing-05);\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__overview-card-styles__productiveHeading01___e9uzg",overviewCard:"-esm-offline-tools__overview-card-styles__overviewCard___4NT8k",heading:"-esm-offline-tools__overview-card-styles__heading___uKvmI",headerContainer:"-esm-offline-tools__overview-card-styles__headerContainer___13OYp",contentContainer:"-esm-offline-tools__overview-card-styles__contentContainer___ym7-+",viewButton:"-esm-offline-tools__overview-card-styles__viewButton___9YEmH"};let s=o},39038(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__shared-page-layout-styles__productiveHeading03___1pkiK,.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm .-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#ededed}.-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm .-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/components/shared-page-layout.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,2NC81BI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CD11BJ,4EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,YEmBW,CFlBX,wBAAA,CAEA,+IAEE,sBAAA,CACA,eAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading03 {\n @include type.type-style('heading-03');\n}\n\n.pageHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-05;\n background-color: #ededed;\n\n .pageHeader {\n @extend .productiveHeading03;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading03:"-esm-offline-tools__shared-page-layout-styles__productiveHeading03___1pkiK",pageHeaderContainer:"-esm-offline-tools__shared-page-layout-styles__pageHeaderContainer___BgGBm",pageHeader:"-esm-offline-tools__shared-page-layout-styles__pageHeader___nTpsF"};let s=o},50700(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,".-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem;padding:1rem;padding-top:0;background-color:#ededed}.omrs-breakpoint-gt-tablet .-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW{grid-template-columns:repeat(3, 1fr)}","",{version:3,sources:["webpack://./src/home/cards-container.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAEA,2EACE,YAAA,CACA,oCAAA,CACA,QC0BW,CDzBX,YCyBW,CDxBX,aAAA,CACA,wBAAA,CAGF,sGACE,oCAAA",sourcesContent:["@use '@carbon/layout';\n\n.overviewCardContainer {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: layout.$spacing-05;\n padding: layout.$spacing-05;\n padding-top: 0;\n background-color: #ededed;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .overviewCardContainer {\n grid-template-columns: repeat(3, 1fr);\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={overviewCardContainer:"-esm-offline-tools__cards-container-styles__overviewCardContainer___n4tiW"};let s=o},25004(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__home-styles__offlinePatientsTableContainer___rNt9y{border-top:1px solid #e0e0e0;padding:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/home/home.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,wEACE,4BAAA,CACA,YC0BW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.offlinePatientsTableContainer {\n border-top: 1px solid $ui-03;\n padding: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={offlinePatientsTableContainer:"-esm-offline-tools__home-styles__offlinePatientsTableContainer___rNt9y"};let s=o},28725(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__desktop-side-nav-styles__productiveHeading01___t9n-X,.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){height:3rem;padding:1.5rem 0 1.5rem 1.2rem;color:#8d8d8d;border-left:.25rem solid rgba(0,0,0,0)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1):hover{background-color:#e0e0e0;color:#161616;border-left-color:#005d5d;border-left-color:var(--brand-01)}.-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1):focus{background-color:#e0e0e0;outline:none;color:#161616;border-left-color:#005d5d;border-left-color:var(--brand-01)}.omrs-breakpoint-gt-tablet .-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div{padding-top:1rem}.omrs-breakpoint-gt-tablet .-esm-offline-tools__desktop-side-nav-styles__link___-yvG6>div a:nth-child(1){height:2rem;color:#8d8d8d;padding:0 0 0 1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/nav/desktop-side-nav.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,wJC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,8EACE,WE0CW,CFzCX,8BAAA,CACA,aDNM,CCQN,sCAAA,CAEA,oFACE,wBDZI,CCaJ,aDXI,CAkCN,yBAAA,CACA,iCAAA,CCpBA,oFACE,wBDlBI,CCmBJ,YAAA,CACA,aDlBI,CAkCN,yBAAA,CACA,iCAAA,CCZF,0FACE,gBECW,CFEb,yGACE,WEOW,CFNX,aD9BM,CC+BN,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.link > div a:nth-child(1) {\n height: layout.$spacing-09;\n padding: layout.$spacing-06 0 layout.$spacing-06 1.2rem;\n color: $ui-04;\n @extend .productiveHeading01;\n border-left: layout.$spacing-02 solid transparent;\n\n &:hover {\n background-color: $ui-03;\n color: $ui-05;\n @include brand-01(border-left-color);\n }\n\n &:focus {\n background-color: $ui-03;\n outline: none;\n color: $ui-05;\n @include brand-01(border-left-color);\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .link > div {\n padding-top: layout.$spacing-05;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .link > div a:nth-child(1) {\n height: layout.$spacing-07;\n color: $ui-04;\n padding: 0 0 0 layout.$spacing-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__desktop-side-nav-styles__productiveHeading01___t9n-X",link:"-esm-offline-tools__desktop-side-nav-styles__link___-yvG6"};let s=o},64550(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__no-actions-empty-state-styles__productiveHeading01___TiIrt,.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__no-actions-empty-state-styles__layer___\\+Ixk9{margin:1.5rem}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8{display:flex;flex-direction:column;justify-content:center;align-items:center}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__emptyStateDescription___HBNSX{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px);color:#525252;white-space:pre-line;text-align:center}.-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8 .-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3{color:#161616}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/no-actions-empty-state.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,oOC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BJ,mEACE,aE2BW,CFxBb,gFACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,kKCg1BE,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CD90BA,aDbM,CCcN,oBAAA,CACA,iBAAA,CAGF,oJAEE,aDrBI",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading01 {\n @include type.type-style('heading-compact-01');\n}\n\n.layer {\n margin: layout.$spacing-06;\n}\n\n.emptyStateContainer {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n .emptyStateDescription {\n @include type.type-style('body-01');\n color: $text-02;\n white-space: pre-line;\n text-align: center;\n }\n\n .heading {\n @extend .productiveHeading01;\n color: $ui-05;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-offline-tools__no-actions-empty-state-styles__productiveHeading01___TiIrt",emptyStateContainer:"-esm-offline-tools__no-actions-empty-state-styles__emptyStateContainer___9ElZ8",heading:"-esm-offline-tools__no-actions-empty-state-styles__heading___WCmY3",layer:"-esm-offline-tools__no-actions-empty-state-styles__layer___+Ixk9",emptyStateDescription:"-esm-offline-tools__no-actions-empty-state-styles__emptyStateDescription___HBNSX"};let s=o},60667(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a{display:flex;justify-content:space-between;align-items:center}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle-input__label .cds--toggle__switch{margin-top:0 !important}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle{width:76px;margin:0 1rem}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf a .cds--toggle__text{color:#fff}.-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf div{display:flex;align-items:center}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-mode-button.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,+EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CAEA,8HACE,uBAAA,CAGF,4FAEE,UAAA,CACA,aAAA,CAGF,kGACE,UDhBI,CCoBR,iFACE,YAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.panelItemContainer a {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n :global(.cds--toggle-input__label .cds--toggle__switch) {\n margin-top: 0 !important;\n }\n\n :global(.cds--toggle) {\n /* setting the width prevents the toggle from changing size when the text changes */\n width: 76px;\n margin: 0 layout.$spacing-05;\n }\n\n :global(.cds--toggle__text) {\n color: $ui-02;\n }\n}\n\n.panelItemContainer div {\n display: flex;\n align-items: center;\n}\n"],sourceRoot:""}]),o.locals={panelItemContainer:"-esm-offline-tools__offline-actions-mode-button__panelItemContainer___3Pylf"};let s=o},70632(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-page-styles__buttonInlineIcon___a-kXf{margin-right:1rem}.omrs-breakpoint-lt-small-desktop .-esm-offline-tools__offline-actions-page-styles__primaryActionButton___xLNFh{position:fixed;bottom:1rem;right:1rem;border-radius:100vh;padding-right:1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-page.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,2EACE,iBC2BW,CDxBb,gHACE,cAAA,CACA,WCsBW,CDrBX,UCqBW,CDpBX,mBAAA,CACA,kBCmBW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.buttonInlineIcon {\n margin-right: layout.$spacing-05;\n}\n\n:global(.omrs-breakpoint-lt-small-desktop) .primaryActionButton {\n position: fixed;\n bottom: layout.$spacing-05;\n right: layout.$spacing-05;\n border-radius: 100vh;\n padding-right: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={buttonInlineIcon:"-esm-offline-tools__offline-actions-page-styles__buttonInlineIcon___a-kXf",primaryActionButton:"-esm-offline-tools__offline-actions-page-styles__primaryActionButton___xLNFh"};let s=o},6460(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__widgetCard___FpVUO{background-color:#fff;border:1px solid #e0e0e0;position:relative}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4{color:#525252}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4:after,.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI{height:3rem}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg{height:4.5rem}.-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}',"",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-patient-chart-widget.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,qFACE,qBDIc,CCHd,wBAAA,CACA,iBAAA,CAGF,+KAEE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDPc,CCSd,qLACE,aDZM,CCcN,iMACE,UAAA,CACA,aAAA,CACA,UCiBO,CDhBP,mBAAA,CACA,2CAAA,CAKN,wFACE,WCmBW,CDjBX,2FEg0BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF3zBJ,uFACE,aAAA,CAEA,0FEwzBE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.widgetCard {\n background-color: $ui-background;\n border: 1px solid $ui-03;\n position: relative;\n}\n\n.desktopHeader,\n.tabletHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-background;\n\n h4 {\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n }\n}\n\n.desktopHeader {\n height: layout.$spacing-09;\n\n h4 {\n @include type.type-style('heading-compact-02');\n }\n}\n\n.tabletHeader {\n height: 4.5rem;\n\n h4 {\n @include type.type-style('heading-03');\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={widgetCard:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__widgetCard___FpVUO",desktopHeader:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__desktopHeader___mdUkI",tabletHeader:"-esm-offline-tools__offline-actions-patient-chart-widget-styles__tabletHeader___7Midg"};let s=o},41103(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-actions-table-styles__tableContainer___g0Osy{background-color:rgba(0,0,0,0)}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg{display:grid;grid-template-rows:auto auto;grid-template-columns:1fr 1fr auto;padding-top:1rem}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM{grid-row:2;grid-column:2;align-self:end}.-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1{grid-row:2;grid-column:3;align-self:end}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg{grid-template-columns:1fr 20% 250px auto}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM{grid-row:1;grid-column:3}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg .-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1{grid-row:1;grid-column:4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-actions/offline-actions-table.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,0EACE,8BAAA,CAGF,gFACE,YAAA,CACA,4BAAA,CACA,kCAAA,CACA,gBCoBW,CDlBX,uJACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,8JACE,UAAA,CACA,aAAA,CACA,cAAA,CAIJ,2GACE,wCAAA,CAEA,kLACE,UAAA,CACA,aAAA,CAGF,yLACE,UAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tableContainer {\n background-color: transparent;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-rows: auto auto;\n grid-template-columns: 1fr 1fr auto;\n padding-top: layout.$spacing-05;\n\n .tableSearch {\n grid-row: 2;\n grid-column: 2;\n align-self: end;\n }\n\n .tablePrimaryAction {\n grid-row: 2;\n grid-column: 3;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 20% 250px auto;\n\n .tableSearch {\n grid-row: 1;\n grid-column: 3;\n }\n\n .tablePrimaryAction {\n grid-row: 1;\n grid-column: 4;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={tableContainer:"-esm-offline-tools__offline-actions-table-styles__tableContainer___g0Osy",tableHeaderContainer:"-esm-offline-tools__offline-actions-table-styles__tableHeaderContainer___FibAg",tableSearch:"-esm-offline-tools__offline-actions-table-styles__tableSearch___9cdiM",tablePrimaryAction:"-esm-offline-tools__offline-actions-table-styles__tablePrimaryAction___OvHk1"};let s=o},8215(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__empty-state__action___5xzx9{margin-bottom:.5rem}.-esm-offline-tools__empty-state__content___sSUz0{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-offline-tools__empty-state__desktopHeading___ynieY h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-offline-tools__empty-state__tabletHeading___RhBzr h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-offline-tools__empty-state__desktopHeading___ynieY,.-esm-offline-tools__empty-state__tabletHeading___RhBzr{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-offline-tools__empty-state__desktopHeading___ynieY h4:after,.-esm-offline-tools__empty-state__tabletHeading___RhBzr h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__empty-state__heading___boZIF:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-offline-tools__empty-state__tile___ep8He{text-align:center;border:1px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/empty-state.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,iDACE,mBCgBW,CDbb,kDE01BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFx1BF,aDHQ,CCIR,eCoBW,CDnBX,mBCSW,CDLX,4DEk1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFh1BA,aDXM,CCgBR,2DE20BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CFz0BA,aDlBM,CCsBV,iHAEE,eAAA,CACA,yBAAA,CACA,kBCFW,CDIX,mIACE,UAAA,CACA,aAAA,CACA,UCGS,CDFT,mBAAA,CACA,2CAAA,CAIJ,wDACE,UAAA,CACA,aAAA,CACA,UCNW,CDOX,mBAAA,CACA,2CAAA,CAGF,+CACE,iBAAA,CACA,wBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.heading:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={action:"-esm-offline-tools__empty-state__action___5xzx9",content:"-esm-offline-tools__empty-state__content___sSUz0",desktopHeading:"-esm-offline-tools__empty-state__desktopHeading___ynieY",tabletHeading:"-esm-offline-tools__empty-state__tabletHeading___RhBzr",heading:"-esm-offline-tools__empty-state__heading___boZIF",tile:"-esm-offline-tools__empty-state__tile___ep8He"};let s=o},94436(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__last-updated-table-cell__errorIcon___X\\+q9m{color:#da1e28}.-esm-offline-tools__last-updated-table-cell__pendingIcon___KBj4y{color:#ff832b}.-esm-offline-tools__last-updated-table-cell__cellContainer___xDUA\\+{display:flex;align-items:center;gap:.25rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/last-updated-table-cell.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,iEACE,aDkBO,CCfT,kEACE,aAAA,CAGF,qEACE,YAAA,CACA,kBAAA,CACA,UCEW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.errorIcon {\n color: $danger;\n}\n\n.pendingIcon {\n color: #ff832b;\n}\n\n.cellContainer {\n display: flex;\n align-items: center;\n gap: layout.$spacing-02;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={errorIcon:"-esm-offline-tools__last-updated-table-cell__errorIcon___X+q9m",pendingIcon:"-esm-offline-tools__last-updated-table-cell__pendingIcon___KBj4y",cellContainer:"-esm-offline-tools__last-updated-table-cell__cellContainer___xDUA+"};let s=o},50772(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-offline-tools__offline-patient-sync-details-styles__bodyShort01___jdqXx{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-offline-tools__offline-patient-sync-details-styles__label01___F\\+bCs{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252}.-esm-offline-tools__offline-patient-sync-details-styles__contentContainer___Pp58i{padding:0 1rem;max-width:800px}.-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc{margin-bottom:3rem}.-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc .-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w{margin-bottom:.5rem}.-esm-offline-tools__offline-patient-sync-details-styles__syncedTile___qnsaC{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.-esm-offline-tools__offline-patient-sync-details-styles__failedTile___MthoF{margin-bottom:.5rem;display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr auto;align-items:center;row-gap:1rem}.-esm-offline-tools__offline-patient-sync-details-styles__syncedTileIcon___GbknY{color:#24a148}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patient-sync-details.styles.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,sFC81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD11BJ,8EC01BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDt1BJ,2ECs1BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDp1BF,aDPQ,CCUV,mFACE,cAAA,CACA,eAAA,CAGF,sFACE,kBE4BW,CF1BX,4KACE,mBELS,CFSb,6EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,mBEbW,CFgBb,6EACE,mBEjBW,CFkBX,YAAA,CACA,0BAAA,CACA,8BAAA,CACA,kBAAA,CACA,YEZW,CFmBb,iFACE,aDjCW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.productiveHeading02 {\n @include type.type-style('heading-compact-02');\n}\n\n.bodyShort01 {\n @include type.type-style('body-compact-01');\n}\n\n.label01 {\n @include type.type-style('label-01');\n color: $text-02;\n}\n\n.contentContainer {\n padding: 0 layout.$spacing-05;\n max-width: 800px;\n}\n\n.headeredTileSection {\n margin-bottom: layout.$spacing-09;\n\n .productiveHeading02 {\n margin-bottom: layout.$spacing-03;\n }\n}\n\n.syncedTile {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: layout.$spacing-03;\n}\n\n.failedTile {\n margin-bottom: layout.$spacing-03;\n display: grid;\n grid-template-rows: 1fr 1fr;\n grid-template-columns: 1fr auto;\n align-items: center;\n row-gap: layout.$spacing-05;\n}\n\n.failedTileErrorMessage {\n // color: $support-01;\n}\n\n.syncedTileIcon {\n color: $support-02;\n}\n\n.failedTileIcon {\n // color: $support-01;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={productiveHeading02:"-esm-offline-tools__offline-patient-sync-details-styles__productiveHeading02___lF34w",bodyShort01:"-esm-offline-tools__offline-patient-sync-details-styles__bodyShort01___jdqXx",label01:"-esm-offline-tools__offline-patient-sync-details-styles__label01___F+bCs",contentContainer:"-esm-offline-tools__offline-patient-sync-details-styles__contentContainer___Pp58i",headeredTileSection:"-esm-offline-tools__offline-patient-sync-details-styles__headeredTileSection___1MCsc",syncedTile:"-esm-offline-tools__offline-patient-sync-details-styles__syncedTile___qnsaC",failedTile:"-esm-offline-tools__offline-patient-sync-details-styles__failedTile___MthoF",syncedTileIcon:"-esm-offline-tools__offline-patient-sync-details-styles__syncedTileIcon___GbknY"};let s=o},32564(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patient-table__tableContainer___rqIiM{background-color:rgba(0,0,0,0)}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG{display:grid;grid-template-rows:auto auto;grid-template-columns:1fr 1fr auto auto}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableHeader___xRLwl{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;padding:.75rem 0 .75rem .75rem;grid-row:1;grid-column:1/span 4}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSearch___pnm9P{grid-row:2;grid-column:2;align-self:end}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW{grid-row:2;grid-column:4;align-self:end}.-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy{grid-row:2;grid-column:3;align-self:end}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG{grid-template-columns:1fr 20% 250px auto auto}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableHeader___xRLwl{grid-column:1;padding:.75rem 0 .25rem .75rem}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSearch___pnm9P{grid-row:1;grid-column:3}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW{grid-row:1;grid-column:5}.omrs-breakpoint-gt-tablet .-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG .-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy{grid-row:1;grid-column:4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patient-table.scss","webpack://./../../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,mEACE,8BAAA,CAGF,yEACE,YAAA,CACA,4BAAA,CACA,uCAAA,CAEA,yICq1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDn1BA,aDRM,CCSN,8BAAA,CACA,UAAA,CACA,oBAAA,CAGF,yIACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,gJACE,UAAA,CACA,aAAA,CACA,cAAA,CAGF,kJACE,UAAA,CACA,aAAA,CACA,cAAA,CAIJ,oGACE,6CAAA,CAEA,oKACE,aAAA,CACA,8BAAA,CAGF,oKACE,UAAA,CACA,aAAA,CAGF,2KACE,UAAA,CACA,aAAA,CAGF,6KACE,UAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tableContainer {\n background-color: transparent;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-rows: auto auto;\n grid-template-columns: 1fr 1fr auto auto;\n\n .tableHeader {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-04;\n grid-row: 1;\n grid-column: 1 / span 4;\n }\n\n .tableSearch {\n grid-row: 2;\n grid-column: 2;\n align-self: end;\n }\n\n .tablePrimaryAction {\n grid-row: 2;\n grid-column: 4;\n align-self: end;\n }\n\n .tableSecondaryAction {\n grid-row: 2;\n grid-column: 3;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 20% 250px auto auto;\n\n .tableHeader {\n grid-column: 1;\n padding: layout.$spacing-04 0 layout.$spacing-02 layout.$spacing-04;\n }\n\n .tableSearch {\n grid-row: 1;\n grid-column: 3;\n }\n\n .tablePrimaryAction {\n grid-row: 1;\n grid-column: 5;\n }\n\n .tableSecondaryAction {\n grid-row: 1;\n grid-column: 4;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={tableContainer:"-esm-offline-tools__offline-patient-table__tableContainer___rqIiM",tableHeaderContainer:"-esm-offline-tools__offline-patient-table__tableHeaderContainer___NTOoG",tableHeader:"-esm-offline-tools__offline-patient-table__tableHeader___xRLwl",tableSearch:"-esm-offline-tools__offline-patient-table__tableSearch___pnm9P",tablePrimaryAction:"-esm-offline-tools__offline-patient-table__tablePrimaryAction___NgzzW",tableSecondaryAction:"-esm-offline-tools__offline-patient-table__tableSecondaryAction___oJ-yy"};let s=o},36718(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__offline-patients-styles__contentContainer___UfTlX{padding:0 1rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/offline-patients.styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,uEACE,cAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.contentContainer {\n padding: 0 layout.$spacing-05;\n}\n"],sourceRoot:""}]),o.locals={contentContainer:"-esm-offline-tools__offline-patients-styles__contentContainer___UfTlX"};let s=o},58603(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-offline-tools__patient-name-table-cell__cellContainer___EHkf0{display:flex;align-items:center;column-gap:.5rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/offline-patients/patient-name-table-cell.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,oEACE,YAAA,CACA,kBAAA,CACA,gBCeW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.cellContainer {\n display: flex;\n align-items: center;\n column-gap: layout.$spacing-03;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={cellContainer:"-esm-offline-tools__patient-name-table-cell__cellContainer___EHkf0"};let s=o},11963(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(41109),i=t.n(a),r=t(75248),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.omrs-breakpoint-gt-tablet .-esm-offline-tools__root-styles__mainContentContainer___EsoD1{margin-left:var(--omrs-sidenav-width)}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC3DF,0FACE,qCAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@openmrs/esm-styleguide/src/vars' as *;\n\n:global(.omrs-breakpoint-gt-tablet) .mainContentContainer {\n margin-left: var(--omrs-sidenav-width);\n}\n"],sourceRoot:""}]),o.locals={mainContentContainer:"-esm-offline-tools__root-styles__mainContentContainer___EsoD1"};let s=o},75248(e){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t}).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&i[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}},41109(e){"use strict";function n(e,n){return o(e)||r(e,n)||a(e,n)||t()}function t(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,n)}}function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function r(e,n){var t,a,i=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function o(e){if(Array.isArray(e))return e}e.exports=function(e){var t=n(e,4),a=t[1],i=t[3];if(!i)return a;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),s="/*# ".concat(o," */");return[a].concat(i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")})).concat([s]).join("\n")}return[a].join("\n")}},90856(e,n,t){"use strict";var a=t(7183);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,o){if(o!==a){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},97598(e,n,t){e.exports=t(90856)()},7183(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97478(e){"use strict";var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],p=r[c]||0,u="".concat(c," ").concat(p);r[c]=p+1;var f=t(u),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)n[f].references++,n[f].updater(d);else{var g=i(d,a);a.byIndex=s,n.splice(s,0,{identifier:u,updater:g,references:1})}o.push(u)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){n?(n.css!==e.css||n.media!==e.media||n.sourceMap!==e.sourceMap||n.supports!==e.supports||n.layer!==e.layer)&&t.update(e=n):t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var s=t(r[o]);n[s].references--}for(var l=a(e,i),c=0;c<r.length;c++){var p=t(r[c]);0===n[p].references&&(n[p].updater(),n.splice(p,1))}r=l}}},61301(e){"use strict";var n={};function t(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}e.exports=function(e,n){var a=t(e);if(!a)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},6626(e){"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},49222(e,n,t){"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},27135(e){"use strict";function n(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"u">typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}function t(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}e.exports=function(e){if("u"<typeof document)return{update:function(){},remove:function(){}};var a=e.insertStyleElement(e);return{update:function(t){n(a,e,t)},remove:function(){t(a)}}}},88279(e){"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},98319(e,n,t){"use strict";var a=t(46925);function i(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}var r="function"==typeof Object.is?Object.is:i,o=a.useState,s=a.useEffect,l=a.useLayoutEffect,c=a.useDebugValue;function p(e,n){var t=n(),a=o({inst:{value:t,getSnapshot:n}}),i=a[0].inst,r=a[1];return l(function(){i.value=t,i.getSnapshot=n,u(i)&&r({inst:i})},[e,t,n]),s(function(){return u(i)&&r({inst:i}),e(function(){u(i)&&r({inst:i})})},[e]),c(t),t}function u(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!r(e,t)}catch(e){return!0}}function f(e,n){return n()}var d="u"<typeof window||void 0===window.document||void 0===window.document.createElement?f:p;n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:d},73634(e,n,t){"use strict";e.exports=t(98319)},84767(e,n,t){var a={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function i(e){if(!t.o(a,e))return Promise.resolve().then(function(){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=a[e],i=n[0];return t.e(n[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=84767,e.exports=i},67426(e,n,t){"use strict";var a=t(43004),i="offline-tools",r="offline-tools/patients",o="offline-tools/actions";!function(e,n,t){n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}({},a.omrsOfflineCachingStrategyHttpHeaderName,"network-first");var s=t(46925),l=t.n(s),c=t(55530),p=t.n(c),u=t(56414),f=t(47665);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function g(e){if(Array.isArray(e))return e}function h(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function y(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,n){return g(e)||h(e,n)||m(e,n)||y()}function m(e,n){if(e){if("string"==typeof e)return d(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,n)}}var $=function(e){var n=e.basePath,t=e.path,i=e.title,r=(0,f.useLocation)(),o=(0,s.useMemo)(function(){return decodeURIComponent((0,u.A)(r.pathname.split("/")))},[r.pathname]),c=b((0,s.useState)(),2),d=c[0],g=c[1];(0,s.useEffect)(function(){"function"==typeof i?Promise.resolve(i()).then(function(e){g(e)}).catch(function(e){throw e}):g(i)},[i]);var h=t===o?"active-left-nav-link":"non-active";return i&&d&&l().createElement("div",{key:t,className:h},l().createElement(a.ConfigurableLink,{className:p()("cds--side-nav__link",h),to:"".concat(n,"/").concat(encodeURIComponent(t))},d))},v=function(e){return function(n){var t=n.basePath;return l().createElement(f.BrowserRouter,null,l().createElement($,{basePath:t,path:e.path,title:e.title}))}},A={slot:"patient-chart-offline-actions-dashboard-slot",columns:1,path:"Offline Actions",title:"Offline Actions"};function w(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}var k=t(99737),_=t(3658);function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function C(e){if(Array.isArray(e))return e}function z(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function E(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,n){return C(e)||z(e,n)||S(e,n)||E()}function S(e,n){if(e){if("string"==typeof e)return x(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(e,n)}}var T=0;function N(e){var n=useStore(getOfflineSynchronizationStore());return e===T?n.synchronization:void 0}function I(e){var n,t=null==e?void 0:e.abortController,a=M(useState(null!=(n=null==t?void 0:t.signal.aborted)&&n),2),i=a[0],r=a[1];return useEffect(function(){var e=function(){return r(!0)};return null==t||t.signal.addEventListener("abort",e),function(){return null==t?void 0:t.signal.removeEventListener("abort",e)}},[t]),i}var O=t(18326),D=t(97478),R=t.n(D),P=t(27135),B=t.n(P),j=t(61301),H=t.n(j),F=t(49222),L=t.n(F),U=t(6626),q=t.n(U),V=t(88279),G=t.n(V),W=t(28725),Z={};Z.styleTagTransform=G(),Z.setAttributes=L(),Z.insert=H().bind(null,"head"),Z.domAPI=B(),Z.insertStyleElement=q(),R()(W.A,Z);let Y=W.A&&W.A.locals?W.A.locals:void 0,K=function(){var e=(0,a.useLayoutType)();return(0,s.useEffect)(function(){return(0,a.attach)("nav-menu-slot","offline-tools-nav-items"),function(){return(0,a.detach)("nav-menu-slot","offline-tools-nav-items")}},[]),(0,a.isDesktop)(e)&&l().createElement(O.SideNav,{expanded:!0,"aria-label":"Menu",className:Y.link},l().createElement(a.ExtensionSlot,{name:"nav-menu-slot"}))};var X=t(50700),J={};J.styleTagTransform=G(),J.setAttributes=L(),J.insert=H().bind(null,"head"),J.domAPI=B(),J.insertStyleElement=q(),R()(X.A,J);let Q=X.A&&X.A.locals?X.A.locals:void 0,ee=function(){return l().createElement(a.ExtensionSlot,{name:"offline-tools-dashboard-cards",className:Q.overviewCardContainer})};var en=t(71769),et=t(53994),ea=t(47488),ei=t(11216);function er(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eo(e){if(Array.isArray(e))return er(e)}function es(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function el(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){es(r,a,i,o,s,"next",e)}function s(e){es(r,a,i,o,s,"throw",e)}o(void 0)})}}function ec(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ep(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eu(e){return eo(e)||ec(e)||ef(e)||ep()}function ef(e,n){if(e){if("string"==typeof e)return er(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return er(e,n)}}function ed(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function eg(e){return(0,ea.Ay)("dynamicOfflineData/entries/".concat(e),function(){return(0,a.getDynamicOfflineDataEntries)(e)})}function eh(e){return(0,ea.Ay)("syncQueue/items/".concat(e),function(){return(0,a.getSynchronizationItems)(e)})}function ey(e){var n=(0,s.useMemo)(function(){return eu(e).sort()},[e]);return(0,ea.Ay)(["fhirPatients",n],function(){return Promise.all(n.map(function(e){return(0,a.fetchCurrentPatient)(e,void 0,!1)}))})}function eb(){var e=eg("patient"),n=eh("patient-registration");return eA(function(){return n.data.filter(function(n){return n.fhirPatient&&!e.data.find(function(e){return e.identifier===n.fhirPatient.id})}).map(function(e){return e.fhirPatient})},[e,n])}function em(){var e,n,t=eg("patient"),a=eh("patient-registration"),i=ey(null!=(e=null==(n=t.data)?void 0:n.map(function(e){return e.identifier}))?e:[]);return eA(function(){return t.data.map(function(e){var n=i.data.find(function(n){return n.id===e.identifier}),t=a.data.filter(function(n){return n.fhirPatient.id===e.identifier}).map(function(e){return e.fhirPatient});return{patient:ei.A.apply(void 0,[n].concat(eu(t))),entry:e}})},[t,a,i])}function e$(){var e=eg("patient"),n=eb();return eA(function(){return{downloadedCount:e.data.length,registeredCount:n.data.length}},[e,n])}function ev(e){return(0,ea.Ay)("offlineTools/offlinePatient/".concat(e,"/lastSyncState"),function(){return el(function(){var n;return ed(this,function(t){switch(t.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient")];case 1:return[2,null==(n=t.sent().find(function(n){return n.identifier===e}))?void 0:n.syncState]}})})()})}function eA(e,n){return(0,s.useMemo)(function(){return{data:n.every(function(e){return!!e.data})?e():null,error:n.find(function(e){return e.error}),mutate:function(){return Promise.all(n.map(function(e){return e.mutate()})).then(function(){e()})},isValidating:n.some(function(e){return e.isValidating}),isLoading:n.some(function(e){return e.isLoading})}},[e,n])}var ew=function(e){var n=e.width,t=void 0===n?"64":n,a=e.height,i=void 0===a?"64":a;return l().createElement("svg",{width:t,height:i,viewBox:"0 0 64 64"},l().createElement("title",null,"Empty data illustration"),l().createElement("g",{fill:"none",fillRule:"evenodd"},l().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),l().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),l().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),l().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),l().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),l().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),l().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),l().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),l().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),l().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},ek=t(8215),e_={};e_.styleTagTransform=G(),e_.setAttributes=L(),e_.insert=H().bind(null,"head"),e_.domAPI=B(),e_.insertStyleElement=q(),R()(ek.A,e_);let ex=ek.A&&ek.A.locals?ek.A.locals:void 0,eC=function(e){var n=e.displayText,t=e.headerTitle,i=(0,k.useTranslation)().t,r="tablet"===(0,a.useLayoutType)();return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:ex.tile},l().createElement("div",{className:r?ex.tabletHeading:ex.desktopHeading},l().createElement("h4",null,t)),l().createElement(ew,null),l().createElement("p",{className:ex.content},i("emptyStateText","There are no {{displayText}} to display",{displayText:n}))))};var ez=t(57683),eE=t(32573),eM=t(31782),eS=t(94436),eT={};eT.styleTagTransform=G(),eT.setAttributes=L(),eT.insert=H().bind(null,"head"),eT.domAPI=B(),eT.insertStyleElement=q(),R()(eS.A,eT);let eN=eS.A&&eS.A.locals?eS.A.locals:void 0;function eI(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eO(e){if(Array.isArray(e))return eI(e)}function eD(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function eR(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eP(e){return eO(e)||eD(e)||eB(e)||eR()}function eB(e,n){if(e){if("string"==typeof e)return eI(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eI(e,n)}}function ej(e){var n=(0,a.getDynamicOfflineDataHandlers)().filter(function(e){return"patient"===e.type}).map(function(e){return e.id}),t=eP(e.succeededHandlers).concat(eP(e.erroredHandlers));return n.some(function(e){return!t.includes(e)})}let eH=function(e){var n=e.patientUuid,t=e.isSyncing,i=e.lastSyncState,r=(0,k.useTranslation)().t,o=function(){return t?l().createElement(l().Fragment,null,l().createElement(ez.GU,{className:eN.pendingIcon}),r("offlinePatientsTableLastUpdatedDownloading","Downloading...")):i?ej(i)?l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),r("offlinePatientsTableLastUpdatedOutdatedData","Outdated data")):i.erroredHandlers.length>0?l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"offline-tools/patients/").concat(n,"/offline-data")})}},i.erroredHandlers.length," ",1===i.erroredHandlers.length?r("offlinePatientsTableLastUpdatedError","error"):r("offlinePatientsTableLastUpdatedErrors","errors"))):l().createElement(l().Fragment,null,l().createElement(eM.cR,null),i.syncedOn.toLocaleDateString()):l().createElement(l().Fragment,null,l().createElement(eE.OR,{className:eN.errorIcon}),r("offlinePatientsTableLastUpdatedNotYetSynchronized","Not synchronized"))};return l().createElement("div",{className:eN.cellContainer},l().createElement(o,null))};var eF=t(58603),eL={};eL.styleTagTransform=G(),eL.setAttributes=L(),eL.insert=H().bind(null,"head"),eL.domAPI=B(),eL.insertStyleElement=q(),R()(eF.A,eL);let eU=eF.A&&eF.A.locals?eF.A.locals:void 0,eq=function(e){var n,t,i,r,o=e.patient,s=e.isNewlyRegistered,c=void 0!==s&&s,p=(0,k.useTranslation)().t,u="".concat([null==(t=o.name)||null==(n=t[0])?void 0:n.given,null==(r=o.name)||null==(i=r[0])?void 0:i.family].filter(Boolean).join(" "));return l().createElement("div",{className:eU.cellContainer},l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"patient/").concat(o.id,"/chart")})}},u),c&&l().createElement(O.Tag,{type:"magenta"},p("offlinePatientsTableNameNewlyRegistered","New")))};var eV=t(32564),eG={};eG.styleTagTransform=G(),eG.setAttributes=L(),eG.insert=H().bind(null,"head"),eG.domAPI=B(),eG.insertStyleElement=q(),R()(eV.A,eG);let eW=eV.A&&eV.A.locals?eV.A.locals:void 0;function eZ(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function eY(e){if(Array.isArray(e))return e}function eK(e){if(Array.isArray(e))return eZ(e)}function eX(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function eJ(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){eX(r,a,i,o,s,"next",e)}function s(e){eX(r,a,i,o,s,"throw",e)}o(void 0)})}}function eQ(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function e0(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function e1(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function e2(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e3(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e4(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){eQ(e,n,t[n])})}return e}function e5(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function e6(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function e8(e,n){return eY(e)||e1(e,n)||e9(e,n)||e2()}function e7(e){return eK(e)||e0(e)||e9(e)||e3()}function e9(e,n){if(e){if("string"==typeof e)return eZ(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eZ(e,n)}}function ne(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var nn=function(e){var n=e.showHeader;return l().createElement(O.TableContainer,{className:eW.tableContainer},l().createElement("div",{className:eW.tableHeaderContainer},n&&l().createElement(O.SkeletonText,{heading:!0,width:"20%",className:eW.tableHeader}),l().createElement(O.SearchSkeleton,{className:eW.tableSearch})),l().createElement(O.DataTableSkeleton,{showToolbar:!1,showHeader:!1}))};function nt(e){var n=e.rowIds,t=e.headers,a=e.cellsById,i=e.inputValue,r=e.getCellId;return n.filter(function(e){return t.some(function(n){var t,o,s,l=a[r(e,n.key)].value;return(null!=(t=null!=(o=null==l||null==(s=l.filterableValue)?void 0:s.toString())?o:null==l?void 0:l.toString())?t:"").replace(/\s/g,"").toLowerCase().includes(i.replace(/\s/g,"").toLowerCase())})})}function na(){var e=(0,k.useTranslation)().t;return(0,s.useMemo)(function(){return[{key:"name",header:e("offlinePatientsTableHeaderName","Name")},{key:"lastUpdated",header:e("offlinePatientsTableHeaderLastUpdated","Last updated")},{key:"gender",header:e("offlinePatientsTableHeaderGender","Gender")},{key:"age",header:e("offlinePatientsTableHeaderAge","Age")}]},[e])}function ni(e){var n=em(),t=eb();return(0,s.useMemo)(function(){var i=[],r=function(n,t,i){return{id:n.id,name:{value:l().createElement(eq,{key:n.id,patient:n,isNewlyRegistered:t}),filterableValue:JSON.stringify(n.name)},lastUpdated:t?"--":l().createElement(eH,{key:n.id,patientUuid:n.id,isSyncing:e.includes(n.id),lastSyncState:i}),gender:(0,en.A)(n.gender),age:n.birthDate?(0,a.age)(n.birthDate):""}},o=!0,s=!1,c=void 0;try{for(var p,u,f,d=(null!=(p=t.data)?p:[])[Symbol.iterator]();!(o=(f=d.next()).done);o=!0){var g=f.value;i.push(r(g,!0))}}catch(e){s=!0,c=e}finally{try{o||null==d.return||d.return()}finally{if(s)throw c}}var h=!0,y=!1,b=void 0;try{for(var m,$=(null!=(u=n.data)?u:[])[Symbol.iterator]();!(h=(m=$.next()).done);h=!0){var v=m.value,A=v.patient,w=v.entry;i.push(r(A,!1,w.syncState))}}catch(e){y=!0,b=e}finally{try{h||null==$.return||$.return()}finally{if(y)throw b}}return i},[e,n.data,t.data])}function nr(e){return eJ(function(){var n;return ne(this,function(t){switch(t.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient-registration")];case 1:return n=t.sent().map(function(e){return e.identifier}),[4,Promise.all(e.filter(function(e){return n.includes(e)}).map(function(e){return(0,a.syncDynamicOfflineData)("patient",e)}))];case 2:return[2,t.sent()]}})})()}function no(e){return eJ(function(){var n,t,i,r;return ne(this,function(o){switch(o.label){case 0:return[4,(0,a.getDynamicOfflineDataEntries)("patient")];case 1:return n=o.sent(),[4,(0,a.getFullSynchronizationItems)("patient-registration")];case 2:return t=o.sent(),i=e.filter(function(e){return n.some(function(n){return n.identifier===e})}),r=e.filter(function(e){return!i.includes(e)}),[4,Promise.all(e7(i.map(function(e){return(0,a.removeDynamicOfflineData)("patient",e)})).concat(e7(r.map(function(e){return eJ(function(){var n;return ne(this,function(i){switch(i.label){case 0:if(!(n=t.find(function(n){return n.content.fhirPatient.id===e})))return[3,2];return[4,(0,a.deleteSynchronizationItem)(n.id)];case 1:i.sent(),i.label=2;case 2:return[2]}})})()}))))];case 3:return o.sent(),[2]}})})()}let ns=function(e){var n,t,i=e.isInteractive,r=e.showHeader,o=(0,k.useTranslation)().t,c=(0,a.useLayoutType)(),p=em(),u=eb(),f=(0,a.isDesktop)(c)?"sm":void 0,d=e8((0,s.useState)([]),2),g=d[0],h=d[1],y=na(),b=ni(g),m=function(e){return eJ(function(){var n;return ne(this,function(t){switch(t.label){case 0:return h(n=e.map(function(e){return e.id})),[4,nr(n).finally(function(){return h([])})];case 1:return t.sent(),p.mutate(),u.mutate(),[2]}})})()},$=function(e){return eJ(function(){var n;return ne(this,function(t){return n=(0,a.showModal)("offline-tools-confirmation-modal",{title:o("offlinePatientsTableDeleteConfirmationModalTitle","Remove offline patients"),children:o("offlinePatientsTableDeleteConfirmationModalContent","Are you sure that you want to remove all selected patients from the offline list? Their charts will no longer be available in offline mode and any newly registered patient will be permanently deleted."),confirmText:o("offlinePatientsTableDeleteConfirmationModalConfirm","Remove patients"),cancelText:o("offlinePatientsTableDeleteConfirmationModalCancel","Cancel"),closeModal:function(){return n()},onConfirm:function(){return eJ(function(){return ne(this,function(n){switch(n.label){case 0:return[4,no(e.map(function(e){return e.id}))];case 1:return n.sent(),p.mutate(),u.mutate(),[2]}})})()}}),[2]})})()};return p.isValidating||u.isValidating?l().createElement(nn,{showHeader:r}):(null==p||null==(n=p.data)?void 0:n.length)===0&&(null==u||null==(t=u.data)?void 0:t.length)===0?l().createElement(eC,{displayText:o("offlinePatients_lower","offline patients"),headerTitle:o("offlinePatients","Offline patients")}):l().createElement(l().Fragment,null,l().createElement(O.DataTable,{rows:b,headers:y,filterRows:nt},function(e){var n=e.rows,t=e.headers,a=e.getTableProps,s=e.getHeaderProps,c=e.getRowProps,p=e.getTableContainerProps,u=e.getSelectionProps,d=e.onInputChange,g=e.selectedRows;return l().createElement(O.TableContainer,e4({className:eW.tableContainer},p()),l().createElement("div",{className:eW.tableHeaderContainer},r&&l().createElement("h4",{className:eW.tableHeader},o("offlinePatientsTableTitle","Offline patients")),0===g.length&&l().createElement(O.Layer,null,l().createElement(O.Search,{className:eW.tableSearch,labelText:o("offlinePatientsTableSearchLabel","Search this list"),placeholder:o("offlinePatientsTableSearchPlaceholder","Search this list"),size:f,onChange:function(e){return d(e)}})),g.length>0&&l().createElement(l().Fragment,null,l().createElement(O.Button,{className:eW.tableSecondaryAction,kind:"ghost",size:f,renderIcon:function(e){return l().createElement(et.wM,e4({size:32},e))},onClick:function(){return m(g)}},1===g.length?o("offlinePatientsTableUpdatePatient","Update patient"):o("offlinePatientsTableUpdatePatients","Update patients")),l().createElement(O.Button,{className:eW.tablePrimaryAction,kind:"danger",size:f,onClick:function(){return $(g)}},o("offlinePatientsTableRemoveFromOfflineList","Remove from list")))),l().createElement(O.Table,e6(e4({},a()),{useZebraStyles:!0}),l().createElement(O.TableHead,null,l().createElement(O.TableRow,null,i&&l().createElement(O.TableSelectAll,u()),t.map(function(e){return l().createElement(O.TableHeader,e6(e4({},s({header:e})),{isSortable:!0}),e.header)}))),l().createElement(O.TableBody,null,n.map(function(e){return l().createElement(O.TableRow,c({row:e}),i&&l().createElement(O.TableSelectRow,u({row:e})),e.cells.map(function(e){var n,t;return l().createElement(O.TableCell,{key:e.id},null!=(n=null==(t=e.value)?void 0:t.value)?n:e.value)}))}))))}))};var nl=t(39038),nc={};nc.styleTagTransform=G(),nc.setAttributes=L(),nc.insert=H().bind(null,"head"),nc.domAPI=B(),nc.insertStyleElement=q(),R()(nl.A,nc);let np=nl.A&&nl.A.locals?nl.A.locals:void 0,nu=function(e){var n=e.header,t=e.primaryActions,a=e.children;return l().createElement(l().Fragment,null,l().createElement("header",{className:np.pageHeaderContainer},l().createElement("h1",{className:np.pageHeader},n),t),a)};var nf=t(25004),nd={};nd.styleTagTransform=G(),nd.setAttributes=L(),nd.insert=H().bind(null,"head"),nd.domAPI=B(),nd.insertStyleElement=q(),R()(nf.A,nd);let ng=nf.A&&nf.A.locals?nf.A.locals:void 0,nh=function(){var e=(0,k.useTranslation)().t;return l().createElement(nu,{header:e("homeHeader","Offline home")},l().createElement("div",{style:{backgroundColor:"#ededed"}},l().createElement(ee,null)),l().createElement("div",{className:ng.offlinePatientsTableContainer},l().createElement(ns,{isInteractive:!1,showHeader:!0})))};var ny=t(13847);let nb=function(){var e=(0,f.useLocation)(),n=(0,f.useParams)().page,t=(0,ny.A)(window.getOpenmrsSpaBase(),"/")+e.pathname,i=Object.values((0,a.useExtensionSlotMeta)("offline-tools-page-slot")).find(function(e){return e.name===n});return i?l().createElement(l().Fragment,null,l().createElement(a.ExtensionSlot,{name:"breadcrumbs-slot"}),l().createElement(a.ExtensionSlot,{key:i.slot,name:i.slot,state:{basePath:t}})):null};var nm=t(11963),n$={};n$.styleTagTransform=G(),n$.setAttributes=L(),n$.insert=H().bind(null,"head"),n$.domAPI=B(),n$.insertStyleElement=q(),R()(nm.A,n$);let nv=nm.A&&nm.A.locals?nm.A.locals:void 0,nA=function(){return l().createElement(f.BrowserRouter,{basename:window.getOpenmrsSpaBase()},l().createElement(K,null),l().createElement("div",{className:p()("omrs-main-content",nv.mainContentContainer)},l().createElement(f.Routes,null,l().createElement(f.Route,{path:"offline-tools",element:l().createElement(nh,null)}),l().createElement(f.Route,{path:"offline-tools/:page",element:l().createElement(nb,null)},l().createElement(f.Route,{path:":patientUuid",element:l().createElement(nb,null)})))))};function nw(){var e=(0,k.useTranslation)().t;return l().createElement(a.ConfigurableLink,{to:"${openmrsSpaBase}/offline-tools"},e("offlineToolsAppMenuLink","Offline tools"))}function nk(e){var n=e.page,t=e.title,r=(0,k.useTranslation)().t;return l().createElement("div",{key:n},l().createElement(a.ConfigurableLink,{to:"${openmrsSpaBase}/"+i+(n?"/".concat(n):""),className:"cds--side-nav__link"},r(t)))}let n_=function(){var e=(0,k.useTranslation)().t;return l().createElement(l().Fragment,null,l().createElement(nk,{title:e("home","Home")}),l().createElement(a.ExtensionSlot,{name:"offline-tools-page-slot"}))},nx=function(e){var n=e.title,t=e.confirmText,a=e.cancelText,i=e.children,r=e.closeModal,o=e.onConfirm,s=e.onCancel;return l().createElement(l().Fragment,null,l().createElement(O.ModalHeader,{title:n,closeModal:r,buttonOnClick:s}),l().createElement(O.ModalBody,null,i),l().createElement(O.ModalFooter,{danger:!0,primaryButtonText:t,secondaryButtonText:a,closeModal:r,onRequestSubmit:function(){null==r||r(),null==o||o()},onRequestClose:s,children:void 0}))};var nC=t(59273),nz={};nz.styleTagTransform=G(),nz.setAttributes=L(),nz.insert=H().bind(null,"head"),nz.domAPI=B(),nz.insertStyleElement=q(),R()(nC.A,nz);let nE=nC.A&&nC.A.locals?nC.A.locals:void 0,nM=function(e){var n=e.header,t=e.content,a=e.isLoading,i=void 0!==a&&a;return l().createElement("div",null,l().createElement("h4",{className:nE.label01},n),i?l().createElement(O.SkeletonText,{heading:!0}):l().createElement("span",{className:nE.productiveHeading04},t))};var nS=t(28458),nT={};nT.styleTagTransform=G(),nT.setAttributes=L(),nT.insert=H().bind(null,"head"),nT.domAPI=B(),nT.insertStyleElement=q(),R()(nS.A,nT);let nN=nS.A&&nS.A.locals?nS.A.locals:void 0;function nI(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function nO(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){nI(e,n,t[n])})}return e}let nD=function(e){var n=e.header,t=e.viewLink,i=e.children,r=(0,k.useTranslation)().t;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:nN.overviewCard},l().createElement("div",{className:nN.headerContainer},l().createElement("h3",{className:nN.heading},n),l().createElement(O.Button,{className:nN.viewButton,kind:"ghost",renderIcon:function(e){return l().createElement(a.ArrowRightIcon,nO({size:16},e))},size:"sm",onClick:function(){return(0,a.navigate)({to:"${openmrsSpaBase}/".concat(t)})}},r("homeOverviewCardView","View"))),l().createElement("div",{className:nN.contentContainer},i)))},nR=function(){var e=(0,k.useTranslation)().t,n=e$().data;return l().createElement(nD,{header:e("homeOverviewCardPatientsHeader","Patients"),viewLink:r},l().createElement(nM,{header:e("homeOverviewCardPatientsDownloaded","Downloaded"),content:null==n?void 0:n.downloadedCount,isLoading:!n}),l().createElement(nM,{header:e("homeOverviewCardPatientsNewlyRegistered","Newly registered"),content:null==n?void 0:n.registeredCount,isLoading:!n}))};var nP=t(99627);function nB(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function nj(e){if(Array.isArray(e))return nB(e)}function nH(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function nF(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nL(e){return nj(e)||nH(e)||nU(e)||nF()}function nU(e,n){if(e){if("string"==typeof e)return nB(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nB(e,n)}}function nq(){return(0,ea.Ay)("offlineActions/pending",function(){return(0,_.getFullSynchronizationItems)()})}function nV(e){var n=e?(0,nP.A)(e.map(function(e){var n;return null==e||null==(n=e.descriptor)?void 0:n.patientUuid}).filter(Boolean)):null;return(0,ea.Ay)(function(){return["patients"].concat(nL(n))},function(){return Promise.all(n.map(function(e){return(0,_.fetchCurrentPatient)(e)}))})}let nG=function(){var e=(0,k.useTranslation)().t,n=nq().data;return l().createElement(nD,{header:e("homeOverviewCardOfflineActionsHeader","Offline actions"),viewLink:o},l().createElement(nM,{header:e("homeOverviewCardOfflineActionsFailedToUpload","Failed to upload"),isLoading:!n,content:l().createElement(l().Fragment,null,null==n?void 0:n.filter(function(e){return e.lastError}).length)}),l().createElement(nM,{header:e("homeOverviewCardOfflineActionsPendingUpload","Pending upload"),isLoading:!n,content:l().createElement(l().Fragment,null,null==n?void 0:n.length)}))};var nW=t(41103),nZ={};nZ.styleTagTransform=G(),nZ.setAttributes=L(),nZ.insert=H().bind(null,"head"),nZ.domAPI=B(),nZ.insertStyleElement=q(),R()(nW.A,nZ);let nY=nW.A&&nW.A.locals?nW.A.locals:void 0;function nK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function nX(e){if(Array.isArray(e))return e}function nJ(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function nQ(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function n0(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n1(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){nJ(e,n,t[n])})}return e}function n2(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function n3(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n2(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function n4(e,n){return nX(e)||nQ(e,n)||n5(e,n)||n0()}function n5(e,n){if(e){if("string"==typeof e)return nK(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nK(e,n)}}var n6=function(){return l().createElement(O.TableContainer,{className:nY.tableContainer},l().createElement("div",{className:nY.tableHeaderContainer},l().createElement(O.SearchSkeleton,{className:nY.tableSearch})),l().createElement(O.DataTableSkeleton,{showToolbar:!1,showHeader:!1}))};function n8(e){var n,t,a=e.item,i=e.patient;if(null==(n=a.descriptor)?void 0:n.patientUuid){var r=null==i||null==(t=i.name)?void 0:t[0];return r?"".concat(r.given.join(" ")," ").concat(r.family):a.descriptor.patientUuid}}function n7(e){var n,t=e.syncItem,i=null!=(n=t.descriptor.displayName)?n:"-";return(0,a.canBeginEditSynchronizationItemsOfType)(t.type)?l().createElement(O.Link,{onClick:function(){return(0,a.beginEditSynchronizationItem)(t.id).catch(function(e){return(0,a.createErrorHandler)()(e)})}},i):l().createElement(l().Fragment,null,i)}function n9(e){var n=e.patientUuid,t=e.patientName;return n?l().createElement(O.Link,{onClick:function(){return(0,a.navigate)({to:"".concat(window.getOpenmrsSpaBase(),"patient/").concat(n,"/chart")})}},t):l().createElement(l().Fragment,null,"-")}function te(e){var n=e.rowIds,t=e.headers,a=e.cellsById,i=e.inputValue,r=e.getCellId;return n.filter(function(e){return t.some(function(n){var t,o,s,l=a[r(e,n.key)].value;return(null!=(t=null!=(o=null==l||null==(s=l.filterableValue)?void 0:s.toString())?o:null==l?void 0:l.toString())?t:"").toLowerCase().includes(i.toLowerCase())})})}let tn=function(e){var n=e.isLoading,t=e.data,i=void 0===t?[]:t,r=e.hiddenHeaders,o=e.disableEditing,c=e.disableDelete,p=e.onDelete,u=(0,k.useTranslation)().t,f=n4((0,s.useState)(10),2),d=f[0],g=f[1],h=(0,a.usePagination)(i),y=h.results,b=h.currentPage,m=h.goTo,$=(0,a.useLayoutType)(),v=(0,a.isDesktop)($)?"sm":void 0,A=[{key:"createdOn",header:u("offlineActionsTableCreatedOn","Date & Time")},{key:"patient",header:u("offlineActionsTablePatient","Patient")},{key:"action",header:u("offlineActionsTableAction","Action")},{key:"error",header:u("offlineActionsTableError","Error")}].filter(function(e){return!(null==r?void 0:r.includes(e.key))}),w=y.map(function(e){var n,t,a,i,r,o=n8(e);return{id:e.item.id.toString(),createdOn:null==(a=e.item.createdOn)?void 0:a.toLocaleDateString(),patient:{value:l().createElement(n9,{patientUuid:null==(i=e.item.descriptor)?void 0:i.patientUuid,patientName:o}),filterableValue:o},action:{value:l().createElement(n7,{syncItem:e.item}),filterableValue:null!=(n=e.item.descriptor.displayName)?n:"-"},error:null!=(t=null==(r=e.item.lastError)?void 0:r.message)?t:"-"}});return n?l().createElement(n6,null):l().createElement(O.DataTable,{rows:w,headers:A,filterRows:te},function(e){var n=e.rows,t=e.headers,a=e.getTableProps,r=e.getHeaderProps,s=e.getRowProps,f=e.getTableContainerProps,h=e.getSelectionProps,y=e.onInputChange,$=e.selectedRows;return l().createElement(O.TableContainer,n1({className:nY.tableContainer},f()),l().createElement("div",{className:nY.tableHeaderContainer},0===$.length&&l().createElement(O.Layer,null,l().createElement(O.Search,{className:nY.tableSearch,labelText:u("offlinePatientsTableSearchLabel","Search this list"),placeholder:u("offlinePatientsTableSearchPlaceholder","Search this list"),size:v,onChange:function(e){return y(e)}})),$.length>0&&l().createElement(O.Button,{className:nY.tablePrimaryAction,kind:"danger",size:v,disabled:o||c,onClick:function(){return p($.map(function(e){return+e.id}))}},u("offlineActionsTableDeleteActions","Delete {{count}} actions",{count:$.length}))),l().createElement(O.Table,n3(n1({},a()),{isSortable:!0,useZebraStyles:!0}),l().createElement(O.TableHead,null,l().createElement(O.TableRow,null,l().createElement(O.TableSelectAll,n3(n1({},h()),{disabled:o})),t.map(function(e){return l().createElement(O.TableHeader,n3(n1({},r({header:e})),{isSortable:!0}),e.header)}))),l().createElement(O.TableBody,null,n.map(function(e){return l().createElement(O.TableRow,s({row:e}),l().createElement(O.TableSelectRow,n3(n1({},h({row:e})),{disabled:o})),e.cells.map(function(e){var n,t;return l().createElement(O.TableCell,{key:e.id},null!=(n=null==(t=e.value)?void 0:t.value)?n:e.value)}))}))),l().createElement(O.Pagination,{pageSizes:[10,20,30,40,50],page:b,pageSize:d,totalItems:i.length,onChange:function(e){var n=e.page,t=e.pageSize;m(n),g(t)}}))})},tt='<svg width="130" height="86" xmlns="http://www.w3.org/2000/svg">\n <g fill="none" fill-rule="evenodd">\n <path d="M71.85 20c2.333 0 4.225 1.88 4.225 4.2 0 2.32-1.892 4.2-4.226 4.2h38.642c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2h13.283c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2h-11.472c-2.334 0-4.227 1.88-4.227 4.2 0 2.32 1.893 4.2 4.227 4.2h3.623c2.334 0 4.226 1.88 4.226 4.2 0 2.32-1.892 4.2-4.226 4.2H27.774c-2.335 0-4.227-1.88-4.227-4.2 0-2.32 1.892-4.2 4.227-4.2H4.226C1.892 53.6 0 51.72 0 49.4c0-2.32 1.892-4.2 4.226-4.2h24.151c2.335 0 4.227-1.88 4.227-4.2 0-2.32-1.892-4.2-4.227-4.2H13.283c-2.334 0-4.226-1.88-4.226-4.2 0-2.32 1.892-4.2 4.226-4.2h24.151c-2.334 0-4.226-1.88-4.226-4.2 0-2.32 1.892-4.2 4.226-4.2h34.415zM126 54a4 4 0 1 1 0 8 4 4 0 0 1 0-8z" fill="#F4F4F4"/>\n <path d="M84.1 67.27c2.047-.998 3.731-2.455 4.753-3.714m1.775-2.081h0a28.783 28.783 0 0 0 5.698-11.513 29.183 29.183 0 0 0-.801-16.319 28.964 28.964 0 0 0-3.53-6.976 29.401 29.401 0 0 0-3.058-3.733 29.266 29.266 0 0 0-5.45-4.437 28.968 28.968 0 0 0-6.616-3.082 29.197 29.197 0 0 0-15.803-.56 28.766 28.766 0 0 0-13.207 7.29 28.886 28.886 0 0 0-5.454 7.228 28.855 28.855 0 0 0-2.851 8.078 29.21 29.21 0 0 0-.352 8.734 29.04 29.04 0 0 0 8.012 17.04 29.089 29.089 0 0 0 9.875 6.718 29.186 29.186 0 0 0 13.805 2.062 28.869 28.869 0 0 0 11.301-3.48" stroke="#ACACAC" stroke-width="1.5" fill="#FFF" stroke-linecap="round"/>\n <path d="M59.021 19.439a23.46 23.46 0 0 0-8.227 5.164 23.75 23.75 0 0 0-1.703 1.827M46.877 29a30.21 30.21 0 0 0-2.182 3.498" stroke="#B6B6B7" stroke-width="1.5" fill="#FFF" stroke-linecap="round"/>\n <path d="M56.588 42.78a2.136 2.136 0 0 0-3.027.138 2.159 2.159 0 0 0 .137 3.04l10.085 9.254a2.99 2.99 0 0 0 4.238-.193c.047-.052.047-.052.092-.106l14.392-17.385a2.159 2.159 0 0 0-.278-3.03 2.136 2.136 0 0 0-3.018.278L65.68 51.121l-9.09-8.34z" stroke="#979797" stroke-width="1.5" fill="#F4F4F5" fill-rule="nonzero"/>\n </g>\n</svg>\n';var ta=t(64550),ti={};ti.styleTagTransform=G(),ti.setAttributes=L(),ti.insert=H().bind(null,"head"),ti.domAPI=B(),ti.insertStyleElement=q(),R()(ta.A,ti);let tr=ta.A&&ta.A.locals?ta.A.locals:void 0,to=function(){var e=(0,k.useTranslation)().t;return l().createElement(O.Layer,{className:tr.layer},l().createElement(O.Tile,{className:tr.emptyStateContainer},l().createElement("img",{src:tt,alt:e("offlineActionsNoActionsEmptyStateImageAlt","No Pending Actions Image")}),l().createElement("h4",{className:tr.productiveHeading01},e("offlineActionsNoActionsEmptyStateTitle","No actions pending upload")),l().createElement("span",{className:tr.emptyStateDescription},e("offlineActionsNoActionsEmptyStateContent","All offline actions have been uploaded successfully,\nand merged with the online patient records."))))};function ts(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function tl(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var r=e.apply(n,t);function o(e){ts(r,a,i,o,s,"next",e)}function s(e){ts(r,a,i,o,s,"throw",e)}o(void 0)})}}function tc(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(e){return function(n){return c([e,n])}}function c(s){if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map(function(e){return{item:e,patient:n.find(function(n){var t;return n.id===(null==(t=e.descriptor)?void 0:t.patientUuid)})}})}let tu=function(e){var n=e.patientUuid,t=(0,k.useTranslation)().t,a=(0,_.useStore)((0,_.getOfflineSynchronizationStore)()),i=nq(),r=i.data,o=i.mutate,s=nV(r).data,c=tp(n?null==r?void 0:r.filter(function(e){return e.descriptor.patientUuid===n}):r,s),p=!r||!s,u=!!a.synchronization,f=function(e){return tl(function(){var n;return tc(this,function(a){return n=(0,_.showModal)("offline-tools-confirmation-modal",{title:t("offlineActionsDeleteConfirmationModalTitle","Delete offline actions"),children:t("offlineActionsDeleteConfirmationModalContent","Are you sure that you want to delete all selected offline actions? This cannot be undone!"),confirmText:t("offlineActionsDeleteConfirmationModalConfirm","Delete forever"),cancelText:t("offlineActionsDeleteConfirmationModalCancel","Cancel"),closeModal:function(){return n()},onConfirm:function(){return tl(function(){return tc(this,function(n){switch(n.label){case 0:return[4,Promise.allSettled(e.map(function(e){return(0,_.deleteSynchronizationItem)(e)}))];case 1:return n.sent(),o(),[2]}})})()}}),[2]})})()};return l().createElement(l().Fragment,null,p||(null==r?void 0:r.length)>0?l().createElement(tn,{isLoading:p,data:c,hiddenHeaders:n?["patient"]:[],disableEditing:u,disableDelete:!1,onDelete:f}):l().createElement(to,null))};var tf=t(50772),td={};td.styleTagTransform=G(),td.setAttributes=L(),td.insert=H().bind(null,"head"),td.domAPI=B(),td.insertStyleElement=q(),R()(tf.A,td);let tg=tf.A&&tf.A.locals?tf.A.locals:void 0;function th(e){var n=(0,a.getDynamicOfflineDataHandlers)();return e.filter(function(e){return n.some(function(n){return n.id===e&&!!n.displayName})})}let ty=function(){var e,n,t=(0,k.useTranslation)().t,i=ev((0,f.useParams)().patientUuid).data,r=(0,a.getDynamicOfflineDataHandlers)(),o=th(null!=(e=null==i?void 0:i.succeededHandlers)?e:[]),s=th(null!=(n=null==i?void 0:i.erroredHandlers)?n:[]);return l().createElement(nu,{header:t("offlinePatientSyncDetailsHeader","Offline patient details")},l().createElement("div",{className:tg.contentContainer},o.length>0&&l().createElement("section",{className:tg.headeredTileSection},l().createElement("h2",{className:tg.productiveHeading02},t("offlinePatientSyncDetailsDownloadedHeader","Downloaded to this device")),o.map(function(e){var n;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:tg.syncedTile},l().createElement("span",{className:tg.bodyShort01},null==(n=r.find(function(n){return n.id===e}))?void 0:n.displayName),l().createElement(eM._j,{size:16,className:tg.syncedTileIcon})))})),s.length>0&&l().createElement("section",{className:tg.headeredTileSection},l().createElement("h2",{className:tg.productiveHeading02},t("offlinePatientSyncDetailsFailedHeader","There was an error downloading the following items")),s.map(function(e){var n,a,o;return l().createElement(O.Layer,null,l().createElement(O.Tile,{className:tg.failedTile},l().createElement("span",{className:tg.bodyShort01},null==(a=r.find(function(n){return n.id===e}))?void 0:a.displayName),l().createElement(eE.BF,{size:16,className:tg.failedTileIcon}),l().createElement("span",{className:p()(tg.failedTileErrorMessage,tg.label01)},null!=(n=null==(o=i.errors.find(function(n){return n.handlerId===e}))?void 0:o.message)?n:t("offlinePatientSyncDetailsFallbackErrorMessage","Unknown error."))))}))))};var tb=t(36718),tm={};tm.styleTagTransform=G(),tm.setAttributes=L(),tm.insert=H().bind(null,"head"),tm.domAPI=B(),tm.insertStyleElement=q(),R()(tb.A,tm);let t$=tb.A&&tb.A.locals?tb.A.locals:void 0,tv=function(e){var n=e.basePath,t=(0,k.useTranslation)().t;return l().createElement(f.BrowserRouter,{basename:n},l().createElement(f.Routes,null,l().createElement(f.Route,{path:"/",element:l().createElement(nu,{header:t("offlinePatientsHeader","Offline patients")},l().createElement("div",{className:t$.contentContainer},l().createElement(ns,{isInteractive:!0,showHeader:!1})))}),l().createElement(f.Route,{path:"/:patientUuid/offline-data",element:l().createElement(ty,null)})))};var tA=t(70632),tw={};tw.styleTagTransform=G(),tw.setAttributes=L(),tw.insert=H().bind(null,"head"),tw.domAPI=B(),tw.insertStyleElement=q(),R()(tA.A,tw);let tk=tA.A&&tA.A.locals?tA.A.locals:void 0;function t_(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function tx(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){t_(e,n,t[n])})}return e}let tC=function(){var e=(0,k.useTranslation)().t,n=(0,_.useConnectivity)(),t=(0,_.useLayoutType)(),a=(0,_.useStore)((0,_.getOfflineSynchronizationStore)()),i=nq().mutate,r=!!a.synchronization,o=function(){return(0,_.runSynchronization)().finally(function(){return i()})},s=l().createElement(O.Button,{className:tk.primaryActionButton,size:(0,_.isDesktop)(t)?"sm":void 0,renderIcon:function(e){return(0,_.isDesktop)(t)&&l().createElement(et.wM,tx({size:16},e))},disabled:r,onClick:o},!(0,_.isDesktop)(t)&&l().createElement(et.wM,{size:16,className:tk.buttonInlineIcon}),e("offlineActionsUpdateOfflinePatients","Update offline patients"));return l().createElement(nu,{header:e("offlineActionsHeader","Offline actions"),primaryActions:n?s:void 0},l().createElement("div",{className:tk.contentContainer},l().createElement(tu,null)))};var tz=t(6460),tE={};tE.styleTagTransform=G(),tE.setAttributes=L(),tE.insert=H().bind(null,"head"),tE.domAPI=B(),tE.insertStyleElement=q(),R()(tz.A,tE);let tM=tz.A&&tz.A.locals?tz.A.locals:void 0;var tS=function(e){var n=e.title,t=e.children,i="tablet"===(0,a.useLayoutType)();return l().createElement("div",{className:i?tM.tabletHeader:tM.desktopHeader},l().createElement("h4",null,n),t)};let tT=function(e){var n=e.patientUuid,t=(0,k.useTranslation)().t;return l().createElement("div",{className:tM.widgetCard},l().createElement(tS,{title:t("offlineActions","Offline actions")}),l().createElement(tu,{patientUuid:n}))};var tN=t(91596),tI=t(60667),tO={};tO.styleTagTransform=G(),tO.setAttributes=L(),tO.insert=H().bind(null,"head"),tO.domAPI=B(),tO.insertStyleElement=q(),R()(tI.A,tO);let tD=tI.A&&tI.A.locals?tI.A.locals:void 0;function tR(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function tP(e){if(Array.isArray(e))return e}function tB(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function tj(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tH(e,n){return tP(e)||tB(e,n)||tF(e,n)||tj()}function tF(e,n){if(e){if("string"==typeof e)return tR(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tR(e,n)}}function tL(e){e.stopPropagation()}let tU=function(){var e=(0,k.useTranslation)().t,n=tH(l().useState(function(){return(0,_.getCurrentOfflineMode)().active}),2),t=n[0],a=n[1],i=l().useCallback(function(){a(function(e){var n=!e;return(0,_.setCurrentOfflineMode)(n?"on":"off"),n})},[]);return l().createElement(O.SwitcherItem,{className:tD.panelItemContainer,"aria-label":"Offline mode"},l().createElement("div",null,l().createElement(tN.VP,{size:20}),l().createElement("p",{onClick:tL,role:"none"},e("offlineReady","Offline Ready"))),l().createElement(O.Toggle,{className:tD.toggle,id:"offlineModeSwitch",toggled:t,onToggle:i}))};function tq(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function tV(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){tq(e,n,t[n])})}return e}function tG(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function tW(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}t(84767);var tZ="@openmrs/esm-offline-tools-app",tY={featureName:"offline-tools",moduleName:tZ};(0,a.getSyncLifecycle)(nA,tY),(0,a.getSyncLifecycle)(nw,tY),(0,a.getSyncLifecycle)(n_,{featureName:"nav-items",moduleName:tZ}),(0,a.getSyncLifecycle)(nx,tY),(0,a.getSyncLifecycle)(nR,tY),(0,a.getSyncLifecycle)(nG,tY),(0,a.getSyncLifecycle)(function(){return nk({page:"patients",title:"offlinePatients"})},tY),(0,a.getSyncLifecycle)(function(){return nk({page:"actions",title:"offlineActions"})},tY),(0,a.getSyncLifecycle)(tu,tY),(0,a.getSyncLifecycle)(tv,tY),(0,a.getSyncLifecycle)(tC,tY),(0,a.getSyncLifecycle)(tT,tY),(0,a.getSyncLifecycle)(v(tW(tV({},A),{title:function(){var e,n;return Promise.resolve(null!=(e=null==(n=window.i18next)?void 0:n.t("offline_actions_link",{defaultValue:"Offline Actions",ns:tZ}))?e:"Offline Actions")}})),tY),(0,a.getSyncLifecycle)(tU,tY)},35281(e,n,t){"use strict";var a=t(68092),i=t.n(a);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function o(e){if(Array.isArray(e))return e}function s(e){if(Array.isArray(e))return r(e)}function l(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,n){var t,a,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw a}}return r}}function p(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,n){return o(e)||c(e,n)||h(e,n)||p()}function d(e){return s(e)||l(e)||h(e)||u()}function g(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function h(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}}var y=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),b={},m="@openmrs/esm-offline-tools-app",$="version-first";if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var v,A,w,k,_,x,C,z,E,M,S,T,N=function(e,n,t){e&&e[n]&&(e[n]=t)},I=function(e,n,t){var a,i,r,o,s,l,c,p=t();Array.isArray(p)?(null!=(o=(i=e)[r=n])||(i[r]=[]),(a=e[n]).push.apply(a,d(p))):(void 0===p?"undefined":g(p))==="object"&&null!==p&&(null!=(c=(s=e)[l=n])||(s[l]={}),Object.assign(e[n],p))},O=function(e,n,t){var a,i,r;null!=(r=(a=e)[i=n])||(a[i]=t())},D=null!=(v=null==(x=t.remotesLoadingData)?void 0:x.chunkMapping)?v:{},R=null!=(A=null==(C=t.remotesLoadingData)?void 0:C.moduleIdToRemoteDataMapping)?A:{},P=null!=(w=null==(z=t.initializeSharingData)?void 0:z.scopeToSharingDataMapping)?w:{},B=null!=(k=null==(E=t.consumesLoadingData)?void 0:E.chunkMapping)?k:{},j=null!=(_=null==(M=t.consumesLoadingData)?void 0:M.moduleIdToConsumeDataMapping)?_:{},H={},F=[],L={},U=null==(S=t.initializeExposesData)?void 0:S.shareScope;for(var q in i())t.federation[q]=i()[q];O(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(j)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1];e[s]={getter:l.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:l.requiredVersion,strictVersion:l.strictVersion,singleton:l.singleton,eager:l.eager},scope:[l.shareScope]},shareKey:l.shareKey}}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),O(t.federation,"initOptions",function(){return{}}),O(t.federation.initOptions,"name",function(){return m}),O(t.federation.initOptions,"shareStrategy",function(){return $}),O(t.federation.initOptions,"shared",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(P)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1],c=!0,p=!1,u=void 0;try{for(var d,h=l[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var y=d.value;if((void 0===y?"undefined":g(y))==="object"&&null!==y){var b=y.name,m=y.version,$=y.factory,v=y.eager,A=y.singleton,w=y.requiredVersion,k=y.strictVersion,_={},x=function(e){return void 0!==e};x(A)&&(_.singleton=A),x(w)&&(_.requiredVersion=w),x(v)&&(_.eager=v),x(k)&&(_.strictVersion=k);var C={version:m,scope:[s],shareConfig:_,get:$};e[b]?e[b].push(C):e[b]=[C]}}}catch(e){p=!0,u=e}finally{try{c||null==h.return||h.return()}finally{if(p)throw u}}}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),I(t.federation.initOptions,"remotes",function(){return Object.values(b).flat().filter(function(e){return"script"===e.externalType})}),I(t.federation.initOptions,"plugins",function(){return y}),O(t.federation,"bundlerRuntimeOptions",function(){return{}}),O(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),O(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return D}),O(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return b}),O(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(R)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=o[1];e[s]=[l.shareScope,l.name,l.externalModuleId,l.remoteName]}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),O(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),I(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},n=!0,t=!1,a=void 0;try{for(var i,r=Object.entries(R)[Symbol.iterator]();!(n=(i=r.next()).done);n=!0){var o=f(i.value,2),s=o[0],l=b[o[1].remoteName];l&&(e[s]=l)}}catch(e){t=!0,a=e}finally{try{n||null==r.return||r.return()}finally{if(t)throw a}}return e}),N(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),N(t.f,"remotes",function(e,n){return t.federation.bundlerRuntime.remotes({chunkId:e,promises:n,chunkMapping:D,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),N(t.f,"consumes",function(e,n){return t.federation.bundlerRuntime.consumes({chunkId:e,promises:n,chunkMapping:B,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:H,webpackRequire:t})}),N(t,"I",function(e,n){return t.federation.bundlerRuntime.I({shareScopeName:e,initScope:n,initPromises:F,initTokens:L,webpackRequire:t})}),N(t,"initContainer",function(e,n,a){return t.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:n,remoteEntryInitOptions:a,shareScopeKey:U,webpackRequire:t})}),N(t,"getContainer",function(e,n){var a=t.initializeExposesData.moduleMap;return t.R=n,n=Object.prototype.hasOwnProperty.call(a,e)?a[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,n}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(T=t.consumesLoadingData)?void 0:T.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:H,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},49895(e,n,t){"use strict";var a=t(17149),i=t(80160);let r="[ Federation Runtime ]",o=a.createLogger(r);function s(e,n){e||l(n)}function l(e){if(e instanceof Error)throw e.message.startsWith(r)||(e.message=`${r}: ${e.message}`),e;throw Error(`${r}: ${e}`)}function c(e){e instanceof Error&&(e.message.startsWith(r)||(e.message=`${r}: ${e.message}`)),o.warn(e)}function p(e,n){return -1===e.findIndex(e=>e===n)&&e.push(n),e}function u(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function f(e){return void 0!==e.entry}function d(e){return!e.entry.includes(".json")}async function g(e,n){try{return await e()}catch(e){n||c(e);return}}function h(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function b(e){return"[object Object]"===y.call(e)}function m(e,n){let t=/^(https?:)?\/\//i;return e.replace(t,"").replace(/\/$/,"")===n.replace(t,"").replace(/\/$/,"")}function $(e){return Array.isArray(e)?e:[e]}function v(e){let n={url:"",type:"global",globalName:""};return a.isBrowserEnv()||a.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:n:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||n.url,type:e.ssrRemoteEntryType||n.type,globalName:e.globalName}:n}let A=(e,n)=>{let t;return t=e.endsWith("/")?e.slice(0,-1):e,n.startsWith(".")&&(n=n.slice(1)),t+=n},w="object"==typeof globalThis?globalThis:window,k=(()=>{try{return document.defaultView}catch{return w}})(),_=k;function x(e,n,t){Object.defineProperty(e,n,{value:t,configurable:!1,writable:!0})}function C(e,n){return Object.hasOwnProperty.call(e,n)}C(w,"__GLOBAL_LOADING_REMOTE_ENTRY__")||x(w,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let z=w.__GLOBAL_LOADING_REMOTE_ENTRY__;function E(e){C(e,"__VMOK__")&&!C(e,"__FEDERATION__")&&x(e,"__FEDERATION__",e.__VMOK__),C(e,"__FEDERATION__")||(x(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),x(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function M(){w.__FEDERATION__.__GLOBAL_PLUGIN__=[],w.__FEDERATION__.__INSTANCES__=[],w.__FEDERATION__.moduleInfo={},w.__FEDERATION__.__SHARE__={},w.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(z).forEach(e=>{delete z[e]})}function S(e){w.__FEDERATION__.__INSTANCES__.push(e)}function T(){return w.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function N(e,n=a.isDebugMode()){n&&(w.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,w.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.22.0")}function I(e,n){if("string"==typeof n){if(e[n])return{value:e[n],key:n};for(let t of Object.keys(e)){let[a,i]=t.split(":"),r=`${a}:${n}`,o=e[r];if(o)return{value:o,key:r}}return{value:void 0,key:n}}throw Error("key must be string")}E(w),E(k);let O=()=>k.__FEDERATION__.moduleInfo,D=(e,n)=>{let t=I(n,u(e)).value;if(t&&!t.version&&"version"in e&&e.version&&(t.version=e.version),t)return t;if("version"in e&&e.version){let{version:n,...t}=e,a=u(t),i=I(k.__FEDERATION__.moduleInfo,a).value;if(i?.version===n)return i}},R=e=>D(e,k.__FEDERATION__.moduleInfo),P=(e,n)=>{let t=u(e);return k.__FEDERATION__.moduleInfo[t]=n,k.__FEDERATION__.moduleInfo},B=e=>(k.__FEDERATION__.moduleInfo={...k.__FEDERATION__.moduleInfo,...e},()=>{for(let n of Object.keys(e))delete k.__FEDERATION__.moduleInfo[n]}),j=(e,n)=>{let t=n||`__FEDERATION_${e}:custom__`,a=w[t];return{remoteEntryKey:t,entryExports:a}},H=e=>{let{__GLOBAL_PLUGIN__:n}=k.__FEDERATION__;e.forEach(e=>{-1===n.findIndex(n=>n.name===e.name)?n.push(e):c(`The plugin ${e.name} has been registered.`)})},F=()=>k.__FEDERATION__.__GLOBAL_PLUGIN__,L=e=>w.__FEDERATION__.__PRELOADED_MAP__.get(e),U=e=>w.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),q="default",V="global",G="[0-9A-Za-z-]+",W=`(?:\\+(${G}(?:\\.${G})*))`,Z="0|[1-9]\\d*",Y="[0-9]+",K="\\d*[a-zA-Z-][a-zA-Z0-9-]*",X=`(?:${Y}|${K})`,J=`(?:-?(${X}(?:\\.${X})*))`,Q=`(?:${Z}|${K})`,ee=`(?:-(${Q}(?:\\.${Q})*))`,en=`${Z}|x|X|\\*`,et=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${ee})?${W}?)?)?`,ea=`^\\s*(${et})\\s+-\\s+(${et})\\s*$`,ei=`(${Y})\\.(${Y})\\.(${Y})`,er=`[v=\\s]*${ei}${J}?${W}?`,eo="((?:<|>)?=?)",es=`(\\s*)${eo}\\s*(${er}|${et})`,el="(?:~>?)",ec=`(\\s*)${el}\\s+`,ep="(?:\\^)",eu=`(\\s*)${ep}\\s+`,ef="(<|>)?=?\\s*\\*",ed=`^${ep}${et}$`,eg=`(${Z})\\.(${Z})\\.(${Z})`,eh=`v?${eg}${ee}?${W}?`,ey=`^${el}${et}$`,eb=`^${eo}\\s*${et}$`,em=`^${eo}\\s*(${eh})$|^$`,e$="^\\s*>=\\s*0.0.0\\s*$";function ev(e){return new RegExp(e)}function eA(e){return!e||"x"===e.toLowerCase()||"*"===e}function ew(...e){return n=>e.reduce((e,n)=>n(e),n)}function ek(e){return e.match(ev(em))}function e_(e,n,t,a){let i=`${e}.${n}.${t}`;return a?`${i}-${a}`:i}function ex(e){return e.replace(ev(ea),(e,n,t,a,i,r,o,s,l,c,p,u)=>(n=eA(t)?"":eA(a)?`>=${t}.0.0`:eA(i)?`>=${t}.${a}.0`:`>=${n}`,s=eA(l)?"":eA(c)?`<${Number(l)+1}.0.0-0`:eA(p)?`<${l}.${Number(c)+1}.0-0`:u?`<=${l}.${c}.${p}-${u}`:`<=${s}`,`${n} ${s}`.trim()))}function eC(e){return e.replace(ev(es),"$1$2$3")}function ez(e){return e.replace(ev(ec),"$1~")}function eE(e){return e.replace(ev(eu),"$1^")}function eM(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ed),(e,n,t,a,i)=>{if(eA(n))return"";if(eA(t))return`>=${n}.0.0 <${Number(n)+1}.0.0-0`;if(eA(a))if("0"===n)return`>=${n}.${t}.0 <${n}.${Number(t)+1}.0-0`;else return`>=${n}.${t}.0 <${Number(n)+1}.0.0-0`;if(i)if("0"!==n)return`>=${n}.${t}.${a}-${i} <${Number(n)+1}.0.0-0`;else if("0"===t)return`>=${n}.${t}.${a}-${i} <${n}.${t}.${Number(a)+1}-0`;else return`>=${n}.${t}.${a}-${i} <${n}.${Number(t)+1}.0-0`;if("0"===n)if("0"===t)return`>=${n}.${t}.${a} <${n}.${t}.${Number(a)+1}-0`;else return`>=${n}.${t}.${a} <${n}.${Number(t)+1}.0-0`;return`>=${n}.${t}.${a} <${Number(n)+1}.0.0-0`})).join(" ")}function eS(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ey),(e,n,t,a,i)=>eA(n)?"":eA(t)?`>=${n}.0.0 <${Number(n)+1}.0.0-0`:eA(a)?`>=${n}.${t}.0 <${n}.${Number(t)+1}.0-0`:i?`>=${n}.${t}.${a}-${i} <${n}.${Number(t)+1}.0-0`:`>=${n}.${t}.${a} <${n}.${Number(t)+1}.0-0`)).join(" ")}function eT(e){return e.split(/\s+/).map(e=>e.trim().replace(ev(eb),(e,n,t,a,i,r)=>{let o=eA(t),s=o||eA(a),l=s||eA(i);if("="===n&&l&&(n=""),r="",o)if(">"===n||"<"===n)return"<0.0.0-0";else return"*";return n&&l?(s&&(a=0),i=0,">"===n?(n=">=",s?(t=Number(t)+1,a=0):a=Number(a)+1,i=0):"<="===n&&(n="<",s?t=Number(t)+1:a=Number(a)+1),"<"===n&&(r="-0"),`${n+t}.${a}.${i}${r}`):s?`>=${t}.0.0${r} <${Number(t)+1}.0.0-0`:l?`>=${t}.${a}.0${r} <${t}.${Number(a)+1}.0-0`:e})).join(" ")}function eN(e){return e.trim().replace(ev(ef),"")}function eI(e){return e.trim().replace(ev(e$),"")}function eO(e,n){return(e=Number(e)||e)>(n=Number(n)||n)?1:e===n?0:-1}function eD(e,n){let{preRelease:t}=e,{preRelease:a}=n;if(void 0===t&&a)return 1;if(t&&void 0===a)return -1;if(void 0===t&&void 0===a)return 0;for(let e=0,n=t.length;e<=n;e++){let n=t[e],i=a[e];if(n!==i){if(void 0===n&&void 0===i)return 0;if(!n)return 1;if(!i)return -1;return eO(n,i)}}return 0}function eR(e,n){return eO(e.major,n.major)||eO(e.minor,n.minor)||eO(e.patch,n.patch)||eD(e,n)}function eP(e,n){return e.version===n.version}function eB(e,n){switch(e.operator){case"":case"=":return eP(e,n);case">":return 0>eR(e,n);case">=":return eP(e,n)||0>eR(e,n);case"<":return eR(e,n)>0;case"<=":return eP(e,n)||eR(e,n)>0;case void 0:return!0;default:return!1}}function ej(e){return ew(eM,eS,eT,eN)(e)}function eH(e){return ew(ex,eC,ez,eE)(e.trim()).split(/\s+/).join(" ")}function eF(e,n){if(!e)return!1;let t=ek(e);if(!t)return!1;let[,a,,i,r,o,s]=t,l={operator:a,version:e_(i,r,o,s),major:i,minor:r,patch:o,preRelease:s?.split(".")};for(let e of n.split("||")){let n=e.trim();if(!n||"*"===n||"x"===n)return!0;try{let e=eH(n);if(!e.trim())return!0;let t=e.split(" ").map(e=>ej(e)).join(" ");if(!t.trim())return!0;let a=t.split(/\s+/).map(e=>eI(e)).filter(Boolean);if(0===a.length)continue;let i=!0;for(let e of a){let n=ek(e);if(!n){i=!1;break}let[,t,,a,r,o,s]=n,c={operator:t,version:e_(a,r,o,s),major:a,minor:r,patch:o,preRelease:s?.split(".")};if(!eB(c,l)){i=!1;break}}if(i)return!0}catch(e){console.error(`[semver] Error processing range part "${n}":`,e);continue}}return!1}function eL(e,n,t,a){let i;return i="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${t}'!`)}),{deps:[],useIn:[],from:n,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:i,loaded:!!e?.loaded||"lib"in e||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??a)||"version-first"}}function eU(e,n){let t=n.shared||{},a=n.name,i=Object.keys(t).reduce((e,i)=>{let r=$(t[i]);return e[i]=e[i]||[],r.forEach(t=>{e[i].push(eL(t,a,i,n.shareStrategy))}),e},{}),r={...e.shared};return Object.keys(i).forEach(e=>{r[e]?i[e].forEach(n=>{r[e].find(e=>e.version===n.version)||r[e].push(n)}):r[e]=i[e]}),{shared:r,shareInfos:i}}function eq(e,n){let t=e=>{if(!Number.isNaN(Number(e))){let n=e.split("."),t=e;for(let e=0;e<3-n.length;e++)t+=".0";return t}return e};return!!eF(t(e),`<=${t(n)}`)}let eV=(e,n)=>{let t=n||function(e,n){return eq(e,n)};return Object.keys(e).reduce((e,n)=>!e||t(e,n)||"0"===e?n:e,0)},eG=e=>!!e.loaded||"function"==typeof e.lib,eW=e=>!!e.loading;function eZ(e,n,t){let a=e[n][t],i=function(e,n){return!eG(a[e])&&eq(e,n)};return eV(e[n][t],i)}function eY(e,n,t){let a=e[n][t],i=function(e,n){let t=e=>eG(e)||eW(e);if(t(a[n]))if(t(a[e]))return!!eq(e,n);else return!0;return!t(a[e])&&eq(e,n)};return eV(e[n][t],i)}function eK(e){return"loaded-first"===e?eY:eZ}function eX(e,n,t,a){if(!e)return;let{shareConfig:i,scope:r=q,strategy:o}=t;for(let s of Array.isArray(r)?r:[r])if(i&&e[s]&&e[s][n]){let{requiredVersion:r}=i,p=eK(o)(e,s,n),u=()=>{if(i.singleton){if("string"==typeof r&&!eF(p,r)){let a=`Version ${p} from ${p&&e[s][n][p].from} of shared singleton module ${n} does not satisfy the requirement of ${t.from} which needs ${r})`;i.strictVersion?l(a):c(a)}return e[s][n][p]}if(!1===r||"*"===r||eF(p,r))return e[s][n][p];for(let[t,a]of Object.entries(e[s][n]))if(eF(t,r))return a},f={shareScopeMap:e,scope:s,pkgName:n,version:p,GlobalFederation:_.__FEDERATION__,resolver:u};return(a.emit(f)||f).resolver()}}function eJ(){return _.__FEDERATION__.__SHARE__}function eQ(e){let{pkgName:n,extraOptions:t,shareInfos:a}=e,i=e=>{if(!e)return;let n={};e.forEach(e=>{n[e.version]=e});let t=function(e,t){return!eG(n[e])&&eq(e,t)},a=eV(n,t);return n[a]};return Object.assign({},(t?.resolver??i)(a[n]),t?.customShareInfo)}function e0(){return"u">typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}function e1(e,n){for(let t of e){let e=n.startsWith(t.name),a=n.replace(t.name,"");if(e){if(a.startsWith("/"))return{pkgNameOrAlias:t.name,expose:a=`.${a}`,remote:t};else if(""===a)return{pkgNameOrAlias:t.name,expose:".",remote:t}}let i=t.alias&&n.startsWith(t.alias),r=t.alias&&n.replace(t.alias,"");if(t.alias&&i){if(r&&r.startsWith("/"))return{pkgNameOrAlias:t.alias,expose:r=`.${r}`,remote:t};else if(""===r)return{pkgNameOrAlias:t.alias,expose:".",remote:t}}}}function e2(e,n){for(let t of e)if(n===t.name||t.alias&&n===t.alias)return t}function e3(e,n){let t=F(),a=[n.hooks,n.remoteHandler.hooks,n.sharedHandler.hooks,n.snapshotHandler.hooks,n.loaderHook,n.bridgeHook];return t.length>0&&t.forEach(n=>{e?.find(e=>e.name!==n.name)&&e.push(n)}),e&&e.length>0&&e.forEach(e=>{a.forEach(t=>{t.applyPlugin(e,n)})}),e}let e4=".then(callbacks[0]).catch(callbacks[1])";async function e5({entry:e,remoteEntryExports:n}){return new Promise((t,a)=>{try{n?t(n):"u">typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${e}")${e4}`)([t,a]):import(e).then(t).catch(a)}catch(e){a(e)}})}async function e6({entry:e,remoteEntryExports:n}){return new Promise((t,a)=>{try{n?t(n):Function("callbacks",`System.import("${e}")${e4}`)([t,a])}catch(e){a(e)}})}function e8(e,n,t){let{remoteEntryKey:a,entryExports:r}=j(e,n);return s(r,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:e,remoteEntryUrl:t,remoteEntryKey:a})),r}async function e7({name:e,globalName:n,entry:t,loaderHook:r,getEntryUrl:o}){let{entryExports:l}=j(e,n);if(l)return l;let c=o?o(t):t;return a.loadScript(c,{attrs:{},createScriptHook:(e,n)=>{let t=r.lifecycle.createScript.emit({url:e,attrs:n});if(t&&(t instanceof HTMLScriptElement||"script"in t||"timeout"in t))return t}}).then(()=>e8(e,n,t)).catch(n=>{throw s(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:e,resourceUrl:t})),n})}async function e9({remoteInfo:e,remoteEntryExports:n,loaderHook:t,getEntryUrl:a}){let{entry:i,entryGlobalName:r,name:o,type:s}=e;switch(s){case"esm":case"module":return e5({entry:i,remoteEntryExports:n});case"system":return e6({entry:i,remoteEntryExports:n});default:return e7({entry:i,globalName:r,name:o,loaderHook:t,getEntryUrl:a})}}async function ne({remoteInfo:e,loaderHook:n}){let{entry:t,entryGlobalName:i,name:r,type:o}=e,{entryExports:s}=j(r,i);return s||a.loadScriptNode(t,{attrs:{name:r,globalName:i,type:o},loaderHook:{createScriptHook:(e,t={})=>{let a=n.lifecycle.createScript.emit({url:e,attrs:t});if(a&&"url"in a)return a}}}).then(()=>e8(r,i,t)).catch(e=>{throw e})}function nn(e){let{entry:n,name:t}=e;return a.composeKeyWithSeparator(t,n)}async function nt(e){let{origin:n,remoteEntryExports:t,remoteInfo:r,getEntryUrl:o,_inErrorHandling:s=!1}=e,l=nn(r);if(t)return t;if(!z[l]){let e=n.remoteHandler.hooks.lifecycle.loadEntry,c=n.loaderHook;z[l]=e.emit({loaderHook:c,remoteInfo:r,remoteEntryExports:t}).then(e=>e||(("u">typeof ENV_TARGET?"web"===ENV_TARGET:a.isBrowserEnv())?e9({remoteInfo:r,remoteEntryExports:t,loaderHook:c,getEntryUrl:o}):ne({remoteInfo:r,loaderHook:c}))).catch(async e=>{let a=nn(r);if(e instanceof Error&&e.message.includes(i.RUNTIME_008)&&!s){let e=e=>nt({...e,_inErrorHandling:!0}),i=await n.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e,origin:n,remoteInfo:r,remoteEntryExports:t,globalLoading:z,uniqueKey:a});if(i)return i}throw e})}return z[l]}function na(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||V,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||q}}function ni(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1,...e}}function nr(e,n){return n.map(n=>{let t=e2(e,n.nameOrAlias);return s(t,`Unable to preload ${n.nameOrAlias} as it is not included in ${!t&&a.safeToString({remoteInfo:t,remotes:e})}`),{remote:t,preloadConfig:ni(n)}})}function no(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function ns(e,n,t,i=!0){let{cssAssets:r,jsAssetsWithoutEntry:o,entryAssets:s}=t;if(n.options.inBrowser){if(s.forEach(t=>{let{moduleInfo:a}=t,i=n.moduleCache.get(e.name);i?nt({origin:n,remoteInfo:a,remoteEntryExports:i.remoteEntryExports}):nt({origin:n,remoteInfo:a,remoteEntryExports:void 0})}),i){let e={rel:"preload",as:"style"};r.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a}});r&&document.head.appendChild(i)})}else{let e={rel:"stylesheet",type:"text/css"};r.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a},needDeleteLink:!1});r&&document.head.appendChild(i)})}if(i){let e={rel:"preload",as:"script"};o.forEach(t=>{let{link:i,needAttach:r}=a.createLink({url:t,cb:()=>{},attrs:e,createLinkHook:(e,t)=>{let a=n.loaderHook.lifecycle.createLink.emit({url:e,attrs:t});if(a instanceof HTMLLinkElement)return a}});r&&document.head.appendChild(i)})}else{let t={fetchpriority:"high",type:e?.type==="module"?"module":"text/javascript"};o.forEach(e=>{let{script:i,needAttach:r}=a.createScript({url:e,cb:()=>{},attrs:t,createScriptHook:(e,t)=>{let a=n.loaderHook.lifecycle.createScript.emit({url:e,attrs:t});if(a instanceof HTMLScriptElement)return a},needDeleteScript:!0});r&&document.head.appendChild(i)})}}}var nl={global:{Global:_,nativeGlobal:k,resetFederationGlobalInfo:M,setGlobalFederationInstance:S,getGlobalFederationConstructor:T,setGlobalFederationConstructor:N,getInfoWithoutType:I,getGlobalSnapshot:O,getTargetSnapshotInfoByModuleInfo:D,getGlobalSnapshotInfoByModuleInfo:R,setGlobalSnapshotInfoByModuleInfo:P,addGlobalSnapshot:B,getRemoteEntryExports:j,registerGlobalPlugins:H,getGlobalHostPlugins:F,getPreloaded:L,setPreloaded:U},share:{getRegisteredShare:eX,getGlobalShareScope:eJ},utils:{matchRemoteWithNameAndExpose:e1,preloadAssets:ns,getRemoteInfo:na}};class nc{constructor({remoteInfo:e,host:n}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=n}async getEntry(){let e;return this.remoteEntryExports||(s(e=await nt({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports}),`remoteEntryExports is undefined
3
3
  ${a.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e),this.remoteEntryExports}async get(e,n,t,a){let r,{loadFactory:o=!0}=t||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let n=this.host.shareScopeMap,t=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];t.length||t.push("default"),t.forEach(e=>{n[e]||(n[e]={})});let r=n[t[0]],o=[],s={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?t:this.remoteInfo.shareScope||"default"};Object.defineProperty(s,"shareScopeMap",{value:n,enumerable:!1});let p=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:r,remoteEntryInitOptions:s,initScope:o,remoteInfo:this.remoteInfo,origin:this.host});void 0===c?.init&&l(i.getShortErrorMsg(i.RUNTIME_002,i.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(p.shareScope,p.initScope,p.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...p,id:e,remoteSnapshot:a,remoteEntryExports:c})}this.lib=c,this.inited=!0,(r=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:n,moduleInfo:this.remoteInfo}))||(r=await c.get(n)),s(r,`${u(this.remoteInfo)} remote don't export ${n}.`);let p=A(this.remoteInfo.name,n),f=this.wraperFactory(r,p);return o?await f():f}wraperFactory(e,n){function t(e,n){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:n,enumerable:!1})}return e instanceof Promise?async()=>{let a=await e();return t(a,n),a}:()=>{let a=e();return t(a,n),a}}}class np{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let n=this;this.on(function t(...a){return n.remove(t),e.apply(null,a)})}emit(...e){let n;return this.listeners.size>0&&this.listeners.forEach(t=>{n=t(...e)}),n}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}}class nu extends np{emit(...e){let n,t=Array.from(this.listeners);if(t.length>0){let a=0,i=n=>!1!==n&&(a<t.length?Promise.resolve(t[a++].apply(null,e)).then(i):n);n=i()}return Promise.resolve(n)}}function nf(e,n){if(!h(n))return!1;if(e!==n){for(let t in e)if(!(t in n))return!1}return!0}class nd extends np{constructor(e){super(),this.onerror=l,this.type=e}emit(e){for(let n of(h(e)||l(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let t=n(e);if(nf(e,t))e=t;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){c(e),this.onerror(e)}return e}}class ng extends np{constructor(e){super(),this.onerror=l,this.type=e}emit(e){h(e)||l(`The response data for the "${this.type}" hook must be an object.`);let n=Array.from(this.listeners);if(n.length>0){let t=0,a=n=>(c(n),this.onerror(n),e),i=r=>{if(nf(e,r)){if(e=r,t<n.length)try{return Promise.resolve(n[t++](e)).then(i,a)}catch(e){return a(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(i(e))}return Promise.resolve(e)}}class nh{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,n){s(b(e),"Plugin configuration is invalid.");let t=e.name;s(t,"A name must be provided by the plugin."),this.registerPlugins[t]||(this.registerPlugins[t]=e,e.apply?.(n),Object.keys(this.lifecycle).forEach(n=>{let t=e[n];t&&this.lifecycle[n].on(t)}))}removePlugin(e){s(e,"A name is required.");let n=this.registerPlugins[e];s(n,`The plugin "${e}" is not registered.`),Object.keys(n).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(n[e])})}}function ny(e,n){let t=v(n);t.url||l(`The attribute remoteEntry of ${e.name} must not be undefined.`);let i=a.getResourceUrl(n,t.url);a.isBrowserEnv()||i.startsWith("http")||(i=`https:${i}`),e.type=t.type,e.entryGlobalName=t.globalName,e.entry=i,e.version=n.version,e.buildVersion=n.buildVersion}function nb(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:n,pkgNameOrAlias:t,expose:a,origin:i,remoteInfo:r,id:o}=e;if(!f(n)||!d(n)){let{remoteSnapshot:s,globalSnapshot:l}=await i.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:n,id:o});ny(r,s);let c={remote:n,preloadConfig:{nameOrAlias:t,exposes:[a],resourceCategory:"sync",share:!1,depsRemote:!1}},p=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:c,remoteInfo:r,remote:n,remoteSnapshot:s,globalSnapshot:l});return p&&ns(r,i,p,!1),{...e,remoteSnapshot:s}}return e}}}function nm(e){let n=e.split(":");return 1===n.length?{name:n[0],version:void 0}:2===n.length?{name:n[0],version:n[1]}:{name:n[1],version:n[2]}}function n$(e,n,t,i,r={},o){let{value:s}=I(e,u(n)),l=o||s;if(l&&!a.isManifestProvider(l)&&(t(l,n,i),l.remotesInfo))for(let n of Object.keys(l.remotesInfo)){if(r[n])continue;r[n]=!0;let a=nm(n),i=l.remotesInfo[n];n$(e,{name:a.name,version:i.matchedVersion},t,!1,r,void 0)}}let nv=(e,n)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${n}"]`);function nA(e,n,t,i,r){let o=[],s=[],l=[],c=new Set,p=new Set,{options:u}=e,{preloadConfig:f}=n,{depsRemote:d}=f;if(n$(i,t,(n,t,i)=>{let r;if(i)r=f;else if(Array.isArray(d)){let e=d.find(e=>e.nameOrAlias===t.name||e.nameOrAlias===t.alias);if(!e)return;r=ni(e)}else{if(!0!==d)return;r=f}let c=a.getResourceUrl(n,v(n).url);c&&l.push({name:t.name,moduleInfo:{name:t.name,entry:c,type:"remoteEntryType"in n?n.remoteEntryType:"global",entryGlobalName:"globalName"in n?n.globalName:t.name,shareScope:"",version:"version"in n?n.version:void 0},url:c});let p="modules"in n?n.modules:[],u=no(r.exposes);function g(e){let t=e.map(e=>a.getResourceUrl(n,e));return r.filter?t.filter(r.filter):t}if(u.length&&"modules"in n&&(p=n?.modules?.reduce((e,n)=>(u?.indexOf(n.moduleName)!==-1&&e.push(n),e),[])),p){let a=p.length;for(let i=0;i<a;i++){let a=p[i],l=`${t.name}/${a.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===a.moduleName?t.name:l,name:t.name,remoteSnapshot:n,preloadConfig:r,remote:t,origin:e}),L(l)||("all"===r.resourceCategory?(o.push(...g(a.assets.css.async)),o.push(...g(a.assets.css.sync)),s.push(...g(a.assets.js.async))):(r.resourceCategory="sync",o.push(...g(a.assets.css.sync))),s.push(...g(a.assets.js.sync)),U(l))}}},!0,{},r),r.shared&&r.shared.length>0){let n=(n,t)=>{let a=eX(e.shareScopeMap,t.sharedName,n,e.sharedHandler.hooks.lifecycle.resolveShare);a&&"function"==typeof a.lib&&(t.assets.js.sync.forEach(e=>{c.add(e)}),t.assets.css.sync.forEach(e=>{p.add(e)}))};r.shared.forEach(e=>{let t=u.shared?.[e.sharedName];if(!t)return;let a=e.version?t.find(n=>n.version===e.version):t;a&&$(a).forEach(t=>{n(t,e)})})}let g=s.filter(e=>!c.has(e)&&!nv("script",e));return{cssAssets:o.filter(e=>!p.has(e)&&!nv("link",e)),jsAssetsWithoutEntry:g,entryAssets:l.filter(e=>!nv("script",e.url))}}let nw=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:n,preloadOptions:t,remoteInfo:i,remote:r,globalSnapshot:o,remoteSnapshot:s}=e;return a.isBrowserEnv()?f(r)&&d(r)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:r.name,url:r.entry,moduleInfo:{name:i.name,entry:r.entry,type:i.type||"global",entryGlobalName:"",shareScope:""}}]}:(ny(i,s),nA(n,t,i,o,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function nk(e,n){let t=R({name:n.name,version:n.options.version}),a=t&&"remotesInfo"in t&&t.remotesInfo&&I(t.remotesInfo,e.name).value;return a&&a.matchedVersion?{hostGlobalSnapshot:t,globalSnapshot:O(),remoteSnapshot:R({name:e.name,version:a.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:O(),remoteSnapshot:R({name:e.name,version:"version"in e?e.version:void 0})}}class n_{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new nh({beforeLoadRemoteSnapshot:new nu("beforeLoadRemoteSnapshot"),loadSnapshot:new ng("loadGlobalSnapshot"),loadRemoteSnapshot:new ng("loadRemoteSnapshot"),afterLoadSnapshot:new ng("afterLoadSnapshot")}),this.manifestLoading=_.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:n,expose:t}){let r,o,{options:s}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:s,moduleInfo:e});let c=R({name:this.HostInstance.options.name,version:this.HostInstance.options.version});c||(c={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},B({[this.HostInstance.options.name]:c})),c&&"remotesInfo"in c&&!I(c.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(c.remotesInfo={...c?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});let{hostGlobalSnapshot:p,remoteSnapshot:u,globalSnapshot:d}=this.getGlobalRemoteInfo(e),{remoteSnapshot:g,globalSnapshot:h}=await this.hooks.lifecycle.loadSnapshot.emit({options:s,moduleInfo:e,hostGlobalSnapshot:p,remoteSnapshot:u,globalSnapshot:d});if(g)if(a.isManifestProvider(g)){let n=a.isBrowserEnv()?g.remoteEntry:g.ssrRemoteEntry||g.remoteEntry||"",t=await this.getManifestJson(n,e,{}),i=P({...e,entry:n},t);r=t,o=i}else{let{remoteSnapshot:n}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:g,from:"global"});r=n,o=h}else if(f(e)){let n=await this.getManifestJson(e.entry,e,{}),t=P(e,n),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:n,from:"global"});r=a,o=t}else l(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(h)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:n,host:this.HostInstance,options:s,moduleInfo:e,remoteSnapshot:r}),{remoteSnapshot:r,globalSnapshot:o}}getGlobalRemoteInfo(e){return nk(e,this.HostInstance)}async getManifestJson(e,n,t){let r=async()=>{let t=this.manifestCache.get(e);if(t)return t;try{let n=await this.loaderHook.lifecycle.fetch.emit(e,{});n&&n instanceof Response||(n=await fetch(e,{})),t=await n.json()}catch(a){(t=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:a,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],l(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:n.name,hostName:this.HostInstance.options.name},`${a}`)))}return s(t.metaData&&t.exposes&&t.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,t),t},o=async()=>{let t=await r(),i=a.generateSnapshotFromManifest(t,{version:e}),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:n,manifestJson:t,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return o};return this.manifestLoading[e]||(this.manifestLoading[e]=o().then(e=>e)),this.manifestLoading[e]}}class nx{constructor(e){this.hooks=new nh({afterResolve:new ng("afterResolve"),beforeLoadShare:new ng("beforeLoadShare"),loadShare:new nu,resolveShare:new nd("resolveShare"),initContainerShareScopeMap:new nd("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,n){let{shareInfos:t,shared:a}=eU(e,n);return Object.keys(t).forEach(e=>{t[e].forEach(t=>{t.scope.forEach(a=>{this.shareScopeMap[a]?.[e]||this.setShared({pkgName:e,lib:t.lib,get:t.get,loaded:t.loaded||!!t.lib,shared:t,from:n.name})})})}),{shareInfos:t,shared:a}}async loadShare(e,n){let{host:t}=this,a=eQ({pkgName:e,extraOptions:n,shareInfos:t.options.shared});a?.scope&&await Promise.all(a.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:a.strategy}))}));let{shareInfo:i}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:a,shared:t.options.shared,origin:t});s(i,`Cannot find ${e} Share in the ${t.options.name}. Please ensure that the ${e} Share parameters have been injected`);let r=eX(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare),o=e=>{e.useIn||(e.useIn=[]),p(e.useIn,t.options.name)};if(r&&r.lib)return o(r),r.lib;if(r&&r.loading&&!r.loaded){let e=await r.loading;return r.loaded=!0,r.lib||(r.lib=e),o(r),e}if(r){let n=(async()=>{let e=await r.get();return o(r),r.loaded=!0,r.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:r,from:t.options.name,lib:null,loading:n}),n}{if(n?.customShareInfo)return!1;let a=(async()=>{let n=await i.get();i.lib=n,i.loaded=!0,o(i);let t=eX(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare);return t&&(t.lib=n,t.loaded=!0,t.from=i.from),n})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:t.options.name,lib:null,loading:a}),a}}initializeSharing(e=q,n){let{host:t}=this,a=n?.from,i=n?.strategy,r=n?.initScope,o=[];if("build"!==a){let{initTokens:n}=this;r||(r=[]);let t=n[e];if(t||(t=n[e]={from:this.host.name}),r.indexOf(t)>=0)return o;r.push(t)}let s=this.shareScopeMap,l=t.options.name;s[e]||(s[e]={});let c=s[e],p=(e,n)=>{let{version:t,eager:a}=n;c[e]=c[e]||{};let i=c[e],r=i[t],o=!!(r&&(r.eager||r.shareConfig?.eager));(!r||"loaded-first"!==r.strategy&&!r.loaded&&(!a!=!o?a:l>r.from))&&(i[t]=n)},u=n=>n&&n.init&&n.init(s[e],r),f=async e=>{let{module:n}=await t.remoteHandler.getRemoteModuleAndOptions({id:e});if(n.getEntry){let a;try{a=await n.getEntry()}catch(n){a=await t.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"beforeLoadShare",origin:t})}n.inited||(await u(a),n.inited=!0)}};return Object.keys(t.options.shared).forEach(n=>{t.options.shared[n].forEach(t=>{t.scope.includes(e)&&p(n,t)})}),("version-first"===t.options.shareStrategy||"version-first"===i)&&t.options.remotes.forEach(n=>{n.shareScope===e&&o.push(f(n.name))}),o}loadShareSync(e,n){let{host:t}=this,a=eQ({pkgName:e,extraOptions:n,shareInfos:t.options.shared});a?.scope&&a.scope.forEach(e=>{this.initializeSharing(e,{strategy:a.strategy})});let r=eX(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),o=e=>{e.useIn||(e.useIn=[]),p(e.useIn,t.options.name)};if(r){if("function"==typeof r.lib)return o(r),r.loaded||(r.loaded=!0,r.from===t.options.name&&(a.loaded=!0)),r.lib;if("function"==typeof r.get){let n=r.get();if(!(n instanceof Promise))return o(r),this.setShared({pkgName:e,loaded:!0,from:t.options.name,lib:n,shared:r}),n}}if(a.lib)return a.loaded||(a.loaded=!0),a.lib;if(a.get){let r=a.get();if(r instanceof Promise){let a=n?.from==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(a,i.runtimeDescMap,{hostName:t.options.name,sharedPkgName:e}))}return a.lib=r,this.setShared({pkgName:e,loaded:!0,from:t.options.name,lib:a.lib,shared:a}),a.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:t.options.name,sharedPkgName:e}))}initShareScopeMap(e,n,t={}){let{host:a}=this;this.shareScopeMap[e]=n,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:n,options:a.options,origin:a,scopeName:e,hostShareScopeMap:t.hostShareScopeMap})}setShared({pkgName:e,shared:n,from:t,lib:a,loading:i,loaded:r,get:o}){let{version:s,scope:l="default",...c}=n;(Array.isArray(l)?l:[l]).forEach(n=>{if(this.shareScopeMap[n]||(this.shareScopeMap[n]={}),this.shareScopeMap[n][e]||(this.shareScopeMap[n][e]={}),!this.shareScopeMap[n][e][s]){this.shareScopeMap[n][e][s]={version:s,scope:[n],...c,lib:a,loaded:r,loading:i},o&&(this.shareScopeMap[n][e][s].get=o);return}let l=this.shareScopeMap[n][e][s];i&&!l.loading&&(l.loading=i),r&&!l.loaded&&(l.loaded=r),t&&l.from!==t&&(l.from=t)})}_setGlobalShareScopeMap(e){let n=eJ(),t=e.id||e.name;t&&!n[t]&&(n[t]=this.shareScopeMap)}}class nC{constructor(e){this.hooks=new nh({beforeRegisterRemote:new nd("beforeRegisterRemote"),registerRemote:new nd("registerRemote"),beforeRequest:new ng("beforeRequest"),onLoad:new nu("onLoad"),handlePreloadModule:new np("handlePreloadModule"),errorLoadRemote:new nu("errorLoadRemote"),beforePreloadRemote:new nu("beforePreloadRemote"),generatePreloadAssets:new nu("generatePreloadAssets"),afterPreloadRemote:new nu,loadEntry:new nu}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,n){return(n.remotes||[]).reduce((e,n)=>(this.registerRemote(n,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,n){let{remote:t,expose:a}=n,{name:i,alias:r}=t;if(this.idToRemoteMap[e]={name:t.name,expose:a},r&&e.startsWith(i)){let n=e.replace(i,r);this.idToRemoteMap[n]={name:t.name,expose:a};return}if(r&&e.startsWith(r)){let n=e.replace(r,i);this.idToRemoteMap[n]={name:t.name,expose:a}}}async loadRemote(e,n){let{host:t}=this;try{let{loadFactory:a=!0}=n||{loadFactory:!0},{module:i,moduleOptions:r,remoteMatchInfo:o}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:p,remoteSnapshot:u}=o,f=await i.get(p,c,n,u),d=await this.hooks.lifecycle.onLoad.emit({id:p,pkgNameOrAlias:s,expose:c,exposeModule:a?f:void 0,exposeModuleFactory:a?void 0:f,remote:l,options:r,moduleInstance:i,origin:t});if(this.setIdToRemoteMap(e,o),"function"==typeof d)return d;return f}catch(r){let{from:a="runtime"}=n||{from:"runtime"},i=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:a,lifecycle:"onLoad",origin:t});if(!i)throw r;return i}}async preloadRemote(e){let{host:n}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:n.options,origin:n});let t=nr(n.options.remotes,e);await Promise.all(t.map(async e=>{let{remote:t}=e,a=na(t),{globalSnapshot:i,remoteSnapshot:r}=await n.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t}),o=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:n,preloadOptions:e,remote:t,remoteInfo:a,globalSnapshot:i,remoteSnapshot:r});o&&ns(a,n,o)}))}registerRemotes(e,n){let{host:t}=this;e.forEach(e=>{this.registerRemote(e,t.options.remotes,{force:n?.force})})}async getRemoteModuleAndOptions(e){let n,{host:t}=this,{id:a}=e;try{n=await this.hooks.lifecycle.beforeRequest.emit({id:a,options:t.options,origin:t})}catch(e){if(!(n=await this.hooks.lifecycle.errorLoadRemote.emit({id:a,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:r}=n,o=e1(t.options.remotes,r);s(o,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:t.options.name,requestId:r}));let{remote:l}=o,c=na(l),p=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:r,...o,options:t.options,origin:t,remoteInfo:c}),{remote:u,expose:f}=p;s(u&&f,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${r}.`);let d=t.moduleCache.get(u.name),g={host:t,remoteInfo:c};return d||(d=new nc(g),t.moduleCache.set(u.name,d)),{module:d,moduleOptions:g,remoteMatchInfo:p}}registerRemote(e,n,t){let{host:i}=this,r=()=>{if(e.alias){let t=n.find(n=>e.alias&&(n.name.startsWith(e.alias)||n.alias?.startsWith(e.alias)));s(!t,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${t&&t.name} name or alias`)}"entry"in e&&a.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=q),e.type||(e.type=V)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:i});let o=n.find(n=>n.name===e.name);if(o){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];t?.force&&(this.removeRemote(o),r(),n.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:i}),a.warn(s.join(" ")))}else r(),n.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:i})}removeRemote(e){try{let{host:n}=this,{name:t}=e,i=n.options.remotes.findIndex(e=>e.name===t);-1!==i&&n.options.remotes.splice(i,1);let r=n.moduleCache.get(e.name);if(r){let t=r.remoteInfo,i=t.entryGlobalName;w[i]&&(Object.getOwnPropertyDescriptor(w,i)?.configurable?delete w[i]:w[i]=void 0);let o=nn(r.remoteInfo);z[o]&&delete z[o],n.snapshotHandler.manifestCache.delete(t.entry);let s=t.buildVersion?a.composeKeyWithSeparator(t.name,t.buildVersion):t.name,l=w.__FEDERATION__.__INSTANCES__.findIndex(e=>t.buildVersion?e.options.id===s:e.name===s);if(-1!==l){let e=w.__FEDERATION__.__INSTANCES__[l];s=e.options.id||s;let n=eJ(),a=!0,i=[];Object.keys(n).forEach(e=>{let r=n[e];r&&Object.keys(r).forEach(n=>{let o=r[n];o&&Object.keys(o).forEach(r=>{let s=o[r];s&&Object.keys(s).forEach(o=>{let l=s[o];l&&"object"==typeof l&&l.from===t.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==t.name),l.useIn.length?a=!1:i.push([e,n,r,o])):i.push([e,n,r,o]))})})})}),a&&(e.shareScopeMap={},delete n[s]),i.forEach(([e,t,a,i])=>{delete n[e]?.[t]?.[a]?.[i]}),w.__FEDERATION__.__INSTANCES__.splice(l,1)}let{hostGlobalSnapshot:c}=nk(e,n);if(c){let n=c&&"remotesInfo"in c&&c.remotesInfo&&I(c.remotesInfo,e.name).key;n&&(delete c.remotesInfo[n],_.__FEDERATION__.__MANIFEST_LOADING__[n]&&delete _.__FEDERATION__.__MANIFEST_LOADING__[n])}n.moduleCache.delete(e.name)}}catch(e){o.log("removeRemote fail: ",e)}}}let nz="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;class nE{constructor(e){this.hooks=new nh({beforeInit:new nd("beforeInit"),init:new np,beforeInitContainer:new ng("beforeInitContainer"),initContainer:new ng("initContainer")}),this.version="0.22.0",this.moduleCache=new Map,this.loaderHook=new nh({getModuleInfo:new np,createScript:new np,createLink:new np,fetch:new nu,loadEntryError:new nu,getModuleFactory:new nu}),this.bridgeHook=new nh({beforeBridgeRender:new np,afterBridgeRender:new np,beforeBridgeDestroy:new np,afterBridgeDestroy:new np});const n=nz?[nb(),nw()]:[],t={id:e0(),name:e.name,plugins:n,remotes:[],shared:{},inBrowser:a.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new n_(this),this.sharedHandler=new nx(this),this.remoteHandler=new nC(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}initOptions(e){this.registerPlugins(e.plugins);let n=this.formatOptions(this.options,e);return this.options=n,n}async loadShare(e,n){return this.sharedHandler.loadShare(e,n)}loadShareSync(e,n){return this.sharedHandler.loadShareSync(e,n)}initializeSharing(e=q,n){return this.sharedHandler.initializeSharing(e,n)}initRawContainer(e,n,t){let a=new nc({host:this,remoteInfo:na({name:e,entry:n})});return a.remoteEntryExports=t,this.moduleCache.set(e,a),a}async loadRemote(e,n){return this.remoteHandler.loadRemote(e,n)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,n,t={}){this.sharedHandler.initShareScopeMap(e,n,t)}formatOptions(e,n){let{shared:t}=eU(e,n),{userOptions:a,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:n,options:e,shareInfo:t}),r=this.remoteHandler.formatAndRegisterRemote(i,a),{shared:o}=this.sharedHandler.registerShared(i,a),s=[...i.plugins];a.plugins&&a.plugins.forEach(e=>{s.includes(e)||s.push(e)});let l={...e,...n,plugins:s,remotes:r,shared:o};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){let n=e3(e,this);this.options.plugins=this.options.plugins.reduce((e,n)=>(n&&e&&!e.find(e=>e.name===n.name)&&e.push(n),e),n||[])}registerRemotes(e,n){return this.remoteHandler.registerRemotes(e,n)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}}var nM=Object.freeze({__proto__:null});n.loadScript=a.loadScript,n.loadScriptNode=a.loadScriptNode,n.CurrentGlobal=w,n.Global=_,n.Module=nc,n.ModuleFederation=nE,n.addGlobalSnapshot=B,n.assert=s,n.getGlobalFederationConstructor=T,n.getGlobalSnapshot=O,n.getInfoWithoutType=I,n.getRegisteredShare=eX,n.getRemoteEntry=nt,n.getRemoteInfo=na,n.helpers=nl,n.isStaticResourcesEqual=m,n.matchRemoteWithNameAndExpose=e1,n.registerGlobalPlugins=H,n.resetFederationGlobalInfo=M,n.safeWrapper=g,n.satisfy=eF,n.setGlobalFederationConstructor=N,n.setGlobalFederationInstance=S,n.types=nM},39597(e,n,t){"use strict";var a=t(49895),i=t(80160),r=t(4710);function o(e){let n=new(a.getGlobalFederationConstructor()||a.ModuleFederation)(e);return a.setGlobalFederationInstance(n),n}let s=null;function l(e){let n=r.getGlobalFederationInstance(e.name,e.version);return n?(n.initOptions(e),s||(s=n),n):s=o(e)}function c(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.loadRemote.apply(s,e)}function p(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.loadShare.apply(s,e)}function u(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.loadShareSync.apply(s,e)}function f(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.preloadRemote.apply(s,e)}function d(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.registerRemotes.apply(s,e)}function g(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.registerPlugins.apply(s,e)}function h(){return s}function y(...e){return a.assert(s,i.getShortErrorMsg(i.RUNTIME_009,i.runtimeDescMap)),s.registerShared.apply(s,e)}a.setGlobalFederationConstructor(a.ModuleFederation),n.Module=a.Module,n.ModuleFederation=a.ModuleFederation,n.getRemoteEntry=a.getRemoteEntry,n.getRemoteInfo=a.getRemoteInfo,n.loadScript=a.loadScript,n.loadScriptNode=a.loadScriptNode,n.registerGlobalPlugins=a.registerGlobalPlugins,n.createInstance=o,n.getInstance=h,n.init=l,n.loadRemote=c,n.loadShare=p,n.loadShareSync=u,n.preloadRemote=f,n.registerPlugins=g,n.registerRemotes=d,n.registerShared=y},4710(e,n,t){"use strict";var a=t(49895);function i(){return"u">typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}n.getGlobalFederationInstance=function(e,n){let t=i();return a.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(a=>!!t&&a.options.id===t||a.options.name===e&&!a.options.version&&!n||a.options.name===e&&!!n&&a.options.version===n)}},17149(__unused_rspack_module,exports){"use strict";let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"u">typeof window&&void 0!==window.document}function isReactNativeEnv(){return"u">typeof navigator&&navigator?.product==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return!!localStorage.getItem(BROWSER_LOG_KEY)}catch(e){}return!1}function isDebugMode(){return"u">typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("u">typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"u">typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,n,t=SEPARATOR)=>{let a=e.split(t),i="development"===getProcessEnv().NODE_ENV&&n,r="*",o=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(a.length>=2){let[n,...s]=a;e.startsWith(t)&&(n=a.slice(0,2).join(t),s=[i||a.slice(2).join(t)]);let l=i||s.join(t);return o(l)?{name:n,entry:l}:{name:n,version:l||r}}if(1===a.length){let[e]=a;return i&&o(i)?{name:e,entry:i}:{name:e,version:i||r}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,n)=>n?e?`${e}${SEPARATOR}${n}`:n:e,""):""},encodeName=function(e,n="",t=!1){try{let a=t?".js":"";return`${n}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${a}`}catch(e){throw e}},decodeName=function(e,n,t){try{let a=e;if(n){if(!a.startsWith(n))return a;a=a.replace(RegExp(n,"g"),"")}return a=a.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),t&&(a=a.replace(".js","")),a}catch(e){throw e}},generateExposeFilename=(e,n)=>{if(!e)return"";let t=e;return"."===t&&(t="default_export"),t.startsWith("./")&&(t=t.replace("./","")),encodeName(t,"__federation_expose_",n)},generateShareFilename=(e,n)=>e?encodeName(e,"__federation_shared_",n):"",getResourceUrl=(e,n)=>{if("getPublicPath"in e){let t;return t=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${t}${n}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${n}`:`${e.publicPath}${n}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,n),"")},assert=(e,n)=>{e||error(n)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,n)=>{if(!e)return n;let t=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let n=e.slice(1);return n.endsWith("/")?n.slice(0,-1):n}return e})(e);return t?t.endsWith("/")?`${t}${n}`:`${t}/${n}`:n};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,n={}){let t,{remotes:a={},overrides:i={},version:r}=n,o=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&r?inferAutoPublicPath(r):e.metaData.publicPath:e.metaData.getPublicPath,s=Object.keys(i),l={};Object.keys(a).length||(l=e.remotes?.reduce((e,n)=>{let t,a=n.federationContainerName;return t=s.includes(a)?i[a]:"version"in n?n.version:n.entry,e[a]={matchedVersion:t},e},{})||{}),Object.keys(a).forEach(e=>l[e]={matchedVersion:s.includes(e)?i[e]:a[e]});let{remoteEntry:{path:c,name:p,type:u},types:f={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:d},globalName:g,ssrRemoteEntry:h}=e.metaData,{exposes:y}=e,b={version:r||"",buildVersion:d,globalName:g,remoteEntry:simpleJoinRemoteEntry(c,p),remoteEntryType:u,remoteTypes:simpleJoinRemoteEntry(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:l,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:y?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(e.metaData?.prefetchInterface){let n=e.metaData.prefetchInterface;b={...b,prefetchInterface:n}}if(e.metaData?.prefetchEntry){let{path:n,name:t,type:a}=e.metaData.prefetchEntry;b={...b,prefetchEntry:simpleJoinRemoteEntry(n,t),prefetchEntryType:a}}return t="publicPath"in e.metaData?{...b,publicPath:o(),ssrPublicPath:e.metaData.ssrPublicPath}:{...b,getPublicPath:o()},h&&(t.ssrRemoteEntry=simpleJoinRemoteEntry(h.path,h.name),t.ssrRemoteEntryType=h.type||"commonjs-module"),t}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}function getManifestFileName(e){if(!e)return{statsFileName:StatsFileName,manifestFileName:ManifestFileName};let n="boolean"==typeof e?"":e.filePath||"",t="boolean"==typeof e?"":e.fileName||"",a=".json",i=e=>e.endsWith(a)?e:`${e}${a}`,r=(e,n)=>e.replace(a,`${n}${a}`),o=t?i(t):ManifestFileName;return{statsFileName:simpleJoinRemoteEntry(n,t?r(o,"-stats"):StatsFileName),manifestFileName:simpleJoinRemoteEntry(n,o)}}let PREFIX="[ Module Federation ]",DEFAULT_DELEGATE=console,LOGGER_STACK_SKIP_TOKENS=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];function captureStackTrace(){try{let e=Error().stack;if(!e)return;let[,...n]=e.split("\n"),t=n.filter(e=>!LOGGER_STACK_SKIP_TOKENS.some(n=>e.includes(n)));if(!t.length)return;let a=t.slice(0,5).join("\n");return`Stack trace:
4
4
  ${a}`}catch{return}}class Logger{constructor(e,n=DEFAULT_DELEGATE){this.prefix=e,this.delegate=n??DEFAULT_DELEGATE}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??DEFAULT_DELEGATE}emit(e,n){let t=this.delegate,a=isDebugMode()?captureStackTrace():void 0,i=a?[...n,a]:n,r=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of r){let n=t[e];if("function"==typeof n)return void n.call(t,this.prefix,...i)}for(let e of r){let n=DEFAULT_DELEGATE[e];if("function"==typeof n)return void n.call(DEFAULT_DELEGATE,this.prefix,...i)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){isDebugMode()&&this.emit("debug",e)}}function createLogger(e){return new Logger(e)}function createInfrastructureLogger(e){let n=new Logger(e);return Object.defineProperty(n,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),n}function bindLoggerToCompiler(e,n,t){if(e.__mf_infrastructure_logger__&&n?.getInfrastructureLogger)try{let a=n.getInfrastructureLogger(t);a&&"object"==typeof a&&("function"==typeof a.log||"function"==typeof a.info||"function"==typeof a.warn||"function"==typeof a.error)&&e.setDelegate(a)}catch{e.setDelegate(void 0)}}let logger=createLogger(PREFIX),infrastructureLogger=createInfrastructureLogger(PREFIX);async function safeWrapper(e,n){try{return await e()}catch(e){n||warn(e);return}}function isStaticResourcesEqual(e,n){let t=/^(https?:)?\/\//i;return e.replace(t,"").replace(/\/$/,"")===n.replace(t,"").replace(/\/$/,"")}function createScript(e){let n,t=null,a=!0,i=2e4,r=document.getElementsByTagName("script");for(let n=0;n<r.length;n++){let i=r[n],o=i.getAttribute("src");if(o&&isStaticResourcesEqual(o,e.url)){t=i,a=!1;break}}if(!t){let n,a=e.attrs;(t=document.createElement("script")).type=a?.type==="module"?"module":"text/javascript",e.createScriptHook&&((n=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?t=n:"object"==typeof n&&("script"in n&&n.script&&(t=n.script),"timeout"in n&&n.timeout&&(i=n.timeout))),t.src||(t.src=e.url),a&&!n&&Object.keys(a).forEach(e=>{t&&("async"===e||"defer"===e?t[e]=a[e]:t.getAttribute(e)||t.setAttribute(e,a[e]))})}let o=async(a,i)=>{clearTimeout(n);let r=()=>{i?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(i):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteScript:n=!0}=e;n&&t?.parentNode&&t.parentNode.removeChild(t)}),a&&"function"==typeof a)){let e=a(i);if(e instanceof Promise){let n=await e;return r(),n}return r(),e}r()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),n=setTimeout(()=>{o(null,Error(`Remote script "${e.url}" time-outed.`))},i),{script:t,needAttach:a}}function createLink(e){let n=null,t=!0,a=document.getElementsByTagName("link");for(let i=0;i<a.length;i++){let r=a[i],o=r.getAttribute("href"),s=r.getAttribute("rel");if(o&&isStaticResourcesEqual(o,e.url)&&s===e.attrs.rel){n=r,t=!1;break}}if(!n){let t;(n=document.createElement("link")).setAttribute("href",e.url);let a=e.attrs;e.createLinkHook&&(t=e.createLinkHook(e.url,a))instanceof HTMLLinkElement&&(n=t),a&&!t&&Object.keys(a).forEach(e=>{n&&!n.getAttribute(e)&&n.setAttribute(e,a[e])})}let i=(t,a)=>{let i=()=>{a?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(n&&(n.onerror=null,n.onload=null,safeWrapper(()=>{let{needDeleteLink:t=!0}=e;t&&n?.parentNode&&n.parentNode.removeChild(n)}),t)){let e=t(a);return i(),e}i()};return n.onerror=i.bind(null,n.onerror),n.onload=i.bind(null,n.onload),{link:n,needAttach:t}}function loadScript(e,n){let{attrs:t={},createScriptHook:a}=n;return new Promise((n,i)=>{let{script:r,needAttach:o}=createScript({url:e,cb:n,onErrorCallback:i,attrs:{fetchpriority:"high",...t},createScriptHook:a,needDeleteScript:!0});o&&document.head.appendChild(r)})}let sdkImportCache=new Map;function importNodeModule(e){if(!e)throw Error("import specifier is required");if(sdkImportCache.has(e))return sdkImportCache.get(e);let n=Function("name","return import(name)")(e).then(e=>e).catch(n=>{throw console.error(`Error importing module ${e}:`,n),sdkImportCache.delete(e),n});return sdkImportCache.set(e,n),n}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,n,t)=>{let a=(e,n)=>t.lifecycle.fetch.emit(e,n),i=await a(e,n||{});return i&&i instanceof Response?i:("u"<typeof fetch?await loadNodeFetch():fetch)(e,n||{})},createScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{let urlObj;if(loaderHook?.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>loaderHook?.fetch?(e,n)=>lazyLoaderHookFetch(e,n,loaderHook):"u"<typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
5
5
  })`,{filename,importModuleDynamically:vm.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER??importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if(attrs?.type==="esm"||attrs?.type==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}:(e,n,t,a)=>{n(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(e,n)=>new Promise((t,a)=>{createScriptNode(e,(e,i)=>{if(e)a(e);else{let e=n?.attrs?.globalName||`__FEDERATION_${n?.attrs?.name}:custom__`;t(globalThis[e]=i)}},n.attrs,n.loaderHook)}):(e,n)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")},esmModuleCache=new Map;async function loadModule(e,n){if(esmModuleCache.has(e))return esmModuleCache.get(e);let{fetch:t,vm:a}=n,i=await t(e),r=await i.text(),o=new a.SourceTextModule(r,{importModuleDynamically:async(t,a)=>loadModule(new URL(t,e).href,n)});return esmModuleCache.set(e,o),await o.link(async t=>{let a=new URL(t,e).href;return await loadModule(a,n)}),o}function normalizeOptions(e,n,t){return function(a){if(!1===a)return!1;if(void 0===a)if(e)return n;else return!1;if(!0===a)return n;if(a&&"object"==typeof a)return{...n,...a};throw Error(`Unexpected type for \`${t}\`, expect boolean/undefined/object, got: ${typeof a}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.bindLoggerToCompiler=bindLoggerToCompiler,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createInfrastructureLogger=createInfrastructureLogger,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getManifestFileName=getManifestFileName,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.infrastructureLogger=infrastructureLogger,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},56692(e,n){"use strict";n.FEDERATION_SUPPORTED_TYPES=["script"]},68092(e,n,t){"use strict";var a=t(39597),i=t(56692),r=t(17149);function o(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function s(e){let{webpackRequire:n,moduleToHandlerMapping:t}=e,{consumesLoadingData:a,initializeSharingData:i}=n;if(a&&!a._updated){let{moduleIdToConsumeDataMapping:n={},initialConsumes:i=[],chunkMapping:r={}}=a;if(Object.entries(n).forEach(([e,n])=>{t[e]||(t[e]={getter:n.fallback,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"]},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:n=[]}=e;i.forEach(e=>{n.includes(e)||n.push(e)})}if("chunkMapping"in e){let{chunkMapping:n={}}=e;Object.entries(r).forEach(([e,t])=>{n[e]||(n[e]=[]),t.forEach(t=>{n[e].includes(t)||n[e].push(t)})})}a._updated=1}if(i&&!i._updated){let{federation:e}=n;if(!e.instance||!i.scopeToSharingDataMapping)return;let t={};for(let[e,n]of Object.entries(i.scopeToSharingDataMapping))for(let a of n)if("object"==typeof a&&null!==a){let{name:n,version:i,factory:r,eager:o,singleton:s,requiredVersion:l,strictVersion:c}=a,p={requiredVersion:`^${i}`},u=function(e){return void 0!==e};u(s)&&(p.singleton=s),u(l)&&(p.requiredVersion=l),u(o)&&(p.eager=o),u(c)&&(p.strictVersion=c);let f={version:i,scope:[e],shareConfig:p,get:r};t[n]?t[n].push(f):t[n]=[f]}e.instance.registerShared(t),i._updated=1}}function l(e){let{webpackRequire:n,idToExternalAndNameMapping:t={},idToRemoteMap:a={},chunkMapping:i={}}=e,{remotesLoadingData:r}=n,o=n.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!r||r._updated||!o)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=r;if(s&&l){for(let[e,n]of Object.entries(l))if(t[e]||(t[e]=[n.shareScope,n.name,n.externalModuleId]),!a[e]&&o[n.remoteName]){let t=o[n.remoteName];a[e]||=[],t.forEach(n=>{a[e].includes(n)||a[e].push(n)})}i&&Object.entries(s).forEach(([e,n])=>{i[e]||(i[e]=[]),n.forEach(n=>{i[e].includes(n)||i[e].push(n)})}),r._updated=1}}function c(e){l(e);let{chunkId:n,promises:t,webpackRequire:a,chunkMapping:s,idToExternalAndNameMapping:c,idToRemoteMap:p}=e;o(a),a.o(s,n)&&s[n].forEach(e=>{let n=a.R;n||(n=[]);let o=c[e],s=p[e]||[];if(n.indexOf(o)>=0)return;if(n.push(o),o.p)return t.push(o.p);let l=n=>{n||(n=Error("Container missing")),"string"==typeof n.message&&(n.message+=`
6
- while loading "${o[1]}" from ${o[2]}`),a.m[e]=()=>{throw n},o.p=0},u=(e,n,a,i,r,s)=>{try{let c=e(n,a);if(!c||!c.then)return r(c,i,s);{let e=c.then(e=>r(e,i),l);if(!s)return e;t.push(o.p=e)}}catch(e){l(e)}},f=(e,n,t)=>e?u(a.I,o[0],0,e,d,t):l();var d=(e,t,a)=>u(t.get,o[1],n,0,g,a),g=n=>{o.p=1,a.m[e]=e=>{e.exports=n()}};let h=()=>{try{let e=r.decodeName(s[0].name,r.ENCODE_NAME_PREFIX)+o[1].slice(1),n=a.federation.instance,t=()=>a.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===n.options.shareStrategy)return Promise.all(n.sharedHandler.initializeSharing(o[0])).then(()=>t());return t()}catch(e){l(e)}};1===s.length&&i.FEDERATION_SUPPORTED_TYPES.includes(s[0].externalType)&&s[0].name?u(h,o[2],0,0,g,1):u(a,o[2],0,0,f,1)})}function p(e){s(e);let{chunkId:n,promises:t,installedModules:a,webpackRequire:i,chunkMapping:r,moduleToHandlerMapping:l}=e;o(i),i.o(r,n)&&r[n].forEach(e=>{if(i.o(a,e))return t.push(a[e]);let n=n=>{a[e]=0,i.m[e]=t=>{delete i.c[e];let a=n(),{shareInfo:r}=l[e];if(r?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=r.shareConfig.layer)}catch(e){}t.exports=a}},r=n=>{delete a[e],i.m[e]=t=>{throw delete i.c[e],n}};try{let o=i.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:p}=l[e],u=o.loadShare(s,{customShareInfo:p}).then(e=>!1===e?c():e);u.then?t.push(a[e]=u.then(n).catch(r)):n(u)}catch(e){r(e)}})}function u({shareScopeName:e,webpackRequire:n,initPromises:t,initTokens:a,initScope:r}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){r||(r=[]);let l=n.federation.instance;var c=a[s];if(c||(c=a[s]={from:l.name}),r.indexOf(c)>=0)return;r.push(c);let p=t[s];if(p)return p;var u=e=>"u">typeof console&&console.warn&&console.warn(e),f=t=>{var a=e=>u("Initialization of sharing external failed: "+e);try{var i=n(t);if(!i)return;var o=t=>t&&t.init&&t.init(n.S[s],r,{shareScopeMap:n.S||{},shareScopeKeys:e});if(i.then)return d.push(i.then(o,a));var l=o(i);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(a))}catch(e){a(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:r,from:"build"});o(n);let g=n.federation.bundlerRuntimeOptions.remotes;return(g&&Object.keys(g.idToRemoteMap).forEach(e=>{let n=g.idToRemoteMap[e],t=g.idToExternalAndNameMapping[e][2];if(n.length>1)f(t);else if(1===n.length){let e=n[0];i.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(t)}}),d.length)?t[s]=Promise.all(d).then(()=>t[s]=!0):t[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}function f(e){let{moduleId:n,moduleToHandlerMapping:t,webpackRequire:a}=e,i=a.federation.instance;if(!i)throw Error("Federation instance not found!");let{shareKey:r,shareInfo:o}=t[n];try{return i.loadShareSync(r,{customShareInfo:o})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function d(e){let{webpackRequire:n}=e;s(e);let{initialConsumes:t,moduleToHandlerMapping:a,installedModules:i}=e;t.forEach(e=>{n.m[e]=t=>{i[e]=0,delete n.c[e];let r=f({moduleId:e,moduleToHandlerMapping:a,webpackRequire:n});if("function"!=typeof r)throw Error(`Shared module is not available for eager consumption: ${e}`);let o=r(),{shareInfo:s}=a[e];if(s?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=s.shareConfig.layer)}catch(e){}t.exports=o}})}function g(e){let{webpackRequire:n,shareScope:t,initScope:a,shareScopeKey:i,remoteEntryInitOptions:r}=e;if(!n.S||!n.federation||!n.federation.instance||!n.federation.initOptions)return;let o=n.federation.instance;o.initOptions({name:n.federation.initOptions.name,remotes:[],...r});let s=r?.shareScopeKeys,l=r?.shareScopeMap;if(i&&"string"!=typeof i)i.forEach(e=>{if(!s||!l)return void o.initShareScopeMap(e,t,{hostShareScopeMap:r?.shareScopeMap||{}});l[e]||(l[e]={});let n=l[e];o.initShareScopeMap(e,n,{hostShareScopeMap:r?.shareScopeMap||{}})});else{let e=i||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let n=l[e];o.initShareScopeMap(e,n,{hostShareScopeMap:r?.shareScopeMap||{}})}):o.initShareScopeMap(e,t,{hostShareScopeMap:r?.shareScopeMap||{}})}return(n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),"function"==typeof n.federation.prefetch&&n.federation.prefetch(),Array.isArray(i))?n.federation.initOptions.shared?n.I(i,a):Promise.all(i.map(e=>n.I(e,a))).then(()=>!0):n.I(i||"default",a)}e.exports={runtime:function(e){var n=Object.create(null);if(e)for(var t in e)n[t]=e[t];return n.default=e,Object.freeze(n)}(a),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:p,I:u,S:{},installInitialConsumes:d,initContainerEntry:g},attachShareScopeMap:o,bundlerRuntimeOptions:{}}},55530(e){!function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=i(e,a(t)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var r in e)n.call(e,r)&&e[r]&&(a=i(a,r));return a}function i(e,n){return n?e?e+" "+n:e+n:e}e.exports?(t.default=t,e.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()},72035(e,n,t){"use strict";t.d(n,{A:()=>f});let a=function(){this.__data__=[],this.size=0};var i=t(196);let r=function(e,n){for(var t=e.length;t--;)if((0,i.A)(e[t][0],n))return t;return -1};var o=Array.prototype.splice;let s=function(e){var n=this.__data__,t=r(n,e);return!(t<0)&&(t==n.length-1?n.pop():o.call(n,t,1),--this.size,!0)},l=function(e){var n=this.__data__,t=r(n,e);return t<0?void 0:n[t][1]},c=function(e){return r(this.__data__,e)>-1},p=function(e,n){var t=this.__data__,a=r(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this};function u(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}u.prototype.clear=a,u.prototype.delete=s,u.prototype.get=l,u.prototype.has=c,u.prototype.set=p;let f=u},71331(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(3855),i=t(25801);let r=(0,a.A)(i.A,"Map")},15643(e,n,t){"use strict";t.d(n,{A:()=>x});let a=(0,t(3855).A)(Object,"create"),i=function(){this.__data__=a?a(null):{},this.size=0},r=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=!!n,n};var o="__lodash_hash_undefined__",s=Object.prototype.hasOwnProperty;let l=function(e){var n=this.__data__;if(a){var t=n[e];return t===o?void 0:t}return s.call(n,e)?n[e]:void 0};var c=Object.prototype.hasOwnProperty;let p=function(e){var n=this.__data__;return a?void 0!==n[e]:c.call(n,e)};var u="__lodash_hash_undefined__";let f=function(e,n){var t=this.__data__;return this.size+=+!this.has(e),t[e]=a&&void 0===n?u:n,this};function d(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}d.prototype.clear=i,d.prototype.delete=r,d.prototype.get=l,d.prototype.has=p,d.prototype.set=f;let g=d;var h=t(72035),y=t(71331);let b=function(){this.size=0,this.__data__={hash:new g,map:new(y.A||h.A),string:new g}},m=function(e){var n=typeof e;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e},$=function(e,n){var t=e.__data__;return m(n)?t["string"==typeof n?"string":"hash"]:t.map},v=function(e){var n=$(this,e).delete(e);return this.size-=!!n,n},A=function(e){return $(this,e).get(e)},w=function(e){return $(this,e).has(e)},k=function(e,n){var t=$(this,e),a=t.size;return t.set(e,n),this.size+=+(t.size!=a),this};function _(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=A,_.prototype.has=w,_.prototype.set=k;let x=_},24429(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(3855),i=t(25801);let r=(0,a.A)(i.A,"Set")},71917(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(15643),i="__lodash_hash_undefined__";let r=function(e){return this.__data__.set(e,i),this},o=function(e){return this.__data__.has(e)};function s(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new a.A;++n<t;)this.add(e[n])}s.prototype.add=s.prototype.push=r,s.prototype.has=o;let l=s},29109(e,n,t){"use strict";t.d(n,{A:()=>d});var a=t(72035);let i=function(){this.__data__=new a.A,this.size=0},r=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},o=function(e){return this.__data__.get(e)},s=function(e){return this.__data__.has(e)};var l=t(71331),c=t(15643),p=200;let u=function(e,n){var t=this.__data__;if(t instanceof a.A){var i=t.__data__;if(!l.A||i.length<p-1)return i.push([e,n]),this.size=++t.size,this;t=this.__data__=new c.A(i)}return t.set(e,n),this.size=t.size,this};function f(e){var n=this.__data__=new a.A(e);this.size=n.size}f.prototype.clear=i,f.prototype.delete=r,f.prototype.get=o,f.prototype.has=s,f.prototype.set=u;let d=f},39229(e,n,t){"use strict";t.d(n,{A:()=>a});let a=t(25801).A.Symbol},22560(e,n,t){"use strict";t.d(n,{A:()=>a});let a=t(25801).A.Uint8Array},26256(e,n,t){"use strict";t.d(n,{A:()=>p});let a=function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a};var i=t(97200),r=t(74637),o=t(49961),s=t(15405),l=t(120),c=Object.prototype.hasOwnProperty;let p=function(e,n){var t=(0,r.A)(e),p=!t&&(0,i.A)(e),u=!t&&!p&&(0,o.A)(e),f=!t&&!p&&!u&&(0,l.A)(e),d=t||p||u||f,g=d?a(e.length,String):[],h=g.length;for(var y in e)(n||c.call(e,y))&&!(d&&("length"==y||u&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,s.A)(y,h)))&&g.push(y);return g}},77184(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){for(var t=-1,a=null==e?0:e.length,i=Array(a);++t<a;)i[t]=n(e[t],t,e);return i}},71199(e,n,t){"use strict";t.d(n,{A:()=>o});var a=t(91908),i=t(196),r=Object.prototype.hasOwnProperty;let o=function(e,n,t){var o=e[n];r.call(e,n)&&(0,i.A)(o,t)&&(void 0!==t||n in e)||(0,a.A)(e,n,t)}},91908(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(66831);let i=function(e,n,t){"__proto__"==n&&a.A?(0,a.A)(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}},37978(e,n,t){"use strict";t.d(n,{A:()=>g});var a=t(39229),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,s=a.A?a.A.toStringTag:void 0;let l=function(e){var n=r.call(e,s),t=e[s];try{e[s]=void 0;var a=!0}catch(e){}var i=o.call(e);return a&&(n?e[s]=t:delete e[s]),i};var c=Object.prototype.toString;let p=function(e){return c.call(e)};var u="[object Null]",f="[object Undefined]",d=a.A?a.A.toStringTag:void 0;let g=function(e){return null==e?void 0===e?f:u:d&&d in Object(e)?l(e):p(e)}},64706(e,n,t){"use strict";t.d(n,{A:()=>o});let a=function(e,n,t,a){for(var i=e.length,r=t+(a?1:-1);a?r--:++r<i;)if(n(e[r],r,e))return r;return -1},i=function(e){return e!=e},r=function(e,n,t){for(var a=t-1,i=e.length;++a<i;)if(e[a]===n)return a;return -1},o=function(e,n,t){return n==n?r(e,n,t):a(e,i,t)}},10777(e,n,t){"use strict";t.d(n,{A:()=>E});var a=t(29109),i=t(91908),r=t(196);let o=function(e,n,t){(void 0===t||(0,r.A)(e[n],t))&&(void 0!==t||n in e)||(0,i.A)(e,n,t)},s=function(){return function(e,n,t){for(var a=-1,i=Object(e),r=t(e),o=r.length;o--;){var s=r[++a];if(!1===n(i[s],s,i))break}return e}}();var l=t(61318),c=t(85997),p=t(47827),u=t(72008),f=t(97200),d=t(74637),g=t(41578),h=t(43046);let y=function(e){return(0,h.A)(e)&&(0,g.A)(e)};var b=t(49961),m=t(54750),$=t(40345),v=t(23591),A=t(120);let w=function(e,n){if(("constructor"!==n||"function"!=typeof e[n])&&"__proto__"!=n)return e[n]};var k=t(73171),_=t(88544);let x=function(e){return(0,k.A)(e,(0,_.A)(e))},C=function(e,n,t,a,i,r,s){var g=w(e,t),h=w(n,t),k=s.get(h);if(k)return void o(e,t,k);var _=r?r(g,h,t+"",e,n,s):void 0,C=void 0===_;if(C){var z=(0,d.A)(h),E=!z&&(0,b.A)(h),M=!z&&!E&&(0,A.A)(h);_=h,z||E||M?(0,d.A)(g)?_=g:y(g)?_=(0,p.A)(g):E?(C=!1,_=(0,l.A)(h,!0)):M?(C=!1,_=(0,c.A)(h,!0)):_=[]:(0,v.A)(h)||(0,f.A)(h)?(_=g,(0,f.A)(g)?_=x(g):(!(0,$.A)(g)||(0,m.A)(g))&&(_=(0,u.A)(h))):C=!1}C&&(s.set(h,_),i(_,h,a,r,s),s.delete(h)),o(e,t,_)};function z(e,n,t,i,r){e!==n&&s(n,function(s,l){if(r||(r=new a.A),(0,$.A)(s))C(e,n,l,t,z,i,r);else{var c=i?i(w(e,l),s,l+"",e,n,r):void 0;void 0===c&&(c=s),o(e,l,c)}},_.A)}let E=z},3644(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n,t){var a=-1,i=e.length;n<0&&(n=-n>i?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var r=Array(i);++a<i;)r[a]=e[a+n];return r}},93240(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(39229),i=t(77184),r=t(74637),o=t(89990),s=1/0,l=a.A?a.A.prototype:void 0,c=l?l.toString:void 0;function p(e){if("string"==typeof e)return e;if((0,r.A)(e))return(0,i.A)(e,p)+"";if((0,o.A)(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}let u=p},16105(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return function(n){return e(n)}}},95199(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return e.has(n)}},66982(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(3644);let i=function(e,n,t){var i=e.length;return t=void 0===t?i:t,!n&&t>=i?e:(0,a.A)(e,n,t)}},91401(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(22560);let i=function(e){var n=new e.constructor(e.byteLength);return new a.A(n).set(new a.A(e)),n}},61318(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(25801),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=r&&r.exports===i?a.A.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(e,n){if(n)return e.slice();var t=e.length,a=s?s(t):new e.constructor(t);return e.copy(a),a}},85997(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(91401);let i=function(e,n){var t=n?(0,a.A)(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}},47827(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){var t=-1,a=e.length;for(n||(n=Array(a));++t<a;)n[t]=e[t];return n}},73171(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(71199),i=t(91908);let r=function(e,n,t,r){var o=!t;t||(t={});for(var s=-1,l=n.length;++s<l;){var c=n[s],p=r?r(t[c],e[c],c,t,e):void 0;void 0===p&&(p=e[c]),o?(0,i.A)(t,c,p):(0,a.A)(t,c,p)}return t}},70980(e,n,t){"use strict";t.d(n,{A:()=>f});var a=t(63708),i=t(89739),r=t(64371);let o=function(e,n){return(0,r.A)((0,i.A)(e,n,a.A),e+"")};var s=t(196),l=t(41578),c=t(15405),p=t(40345);let u=function(e,n,t){if(!(0,p.A)(t))return!1;var a=typeof n;return("number"==a?!!((0,l.A)(t)&&(0,c.A)(n,t.length)):"string"==a&&n in t)&&(0,s.A)(t[n],e)},f=function(e){return o(function(n,t){var a=-1,i=t.length,r=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=e.length>3&&"function"==typeof r?(i--,r):void 0,o&&u(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),n=Object(n);++a<i;){var s=t[a];s&&e(n,s,a,r)}return n})}},66831(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(3855);let i=function(){try{var e=(0,a.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},42692(e,n,t){"use strict";t.d(n,{A:()=>a});let a="object"==typeof global&&global&&global.Object===Object&&global},3855(e,n,t){"use strict";t.d(n,{A:()=>b});var a=t(54750);let i=t(25801).A["__core-js_shared__"];var r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();let o=function(e){return!!r&&r in e};var s=t(40345),l=t(7837),c=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,u=Object.prototype,f=Function.prototype.toString,d=u.hasOwnProperty,g=RegExp("^"+f.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let h=function(e){return!(!(0,s.A)(e)||o(e))&&((0,a.A)(e)?g:p).test((0,l.A)(e))},y=function(e,n){return null==e?void 0:e[n]},b=function(e,n){var t=y(e,n);return h(t)?t:void 0}},13875(e,n,t){"use strict";t.d(n,{A:()=>a});let a=(0,t(12123).A)(Object.getPrototypeOf,Object)},58174(e,n,t){"use strict";t.d(n,{A:()=>i});var a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let i=function(e){return a.test(e)}},72008(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(40345),i=Object.create;let r=function(){function e(){}return function(n){if(!(0,a.A)(n))return{};if(i)return i(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}();var o=t(13875),s=t(8923);let l=function(e){return"function"!=typeof e.constructor||(0,s.A)(e)?{}:r((0,o.A)(e))}},15405(e,n,t){"use strict";t.d(n,{A:()=>r});var a=0x1fffffffffffff,i=/^(?:0|[1-9]\d*)$/;let r=function(e,n){var t=typeof e;return!!(n=null==n?a:n)&&("number"==t||"symbol"!=t&&i.test(e))&&e>-1&&e%1==0&&e<n}},8923(e,n,t){"use strict";t.d(n,{A:()=>i});var a=Object.prototype;let i=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||a)}},7605(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(42692),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=r&&r.exports===i&&a.A.process;let s=function(){try{var e=r&&r.require&&r.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}()},12123(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return function(t){return e(n(t))}}},89739(e,n,t){"use strict";t.d(n,{A:()=>r});let a=function(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)};var i=Math.max;let r=function(e,n,t){return n=i(void 0===n?e.length-1:n,0),function(){for(var r=arguments,o=-1,s=i(r.length-n,0),l=Array(s);++o<s;)l[o]=r[n+o];o=-1;for(var c=Array(n+1);++o<n;)c[o]=r[o];return c[n]=t(l),a(e,this,c)}}},25801(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(42692),i="object"==typeof self&&self&&self.Object===Object&&self;let r=a.A||i||Function("return this")()},9563(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=-1,t=Array(e.size);return e.forEach(function(e){t[++n]=e}),t}},64371(e,n,t){"use strict";t.d(n,{A:()=>p});let a=function(e){return function(){return e}};var i=t(66831),r=t(63708);let o=i.A?function(e,n){return(0,i.A)(e,"toString",{configurable:!0,enumerable:!1,value:a(n),writable:!0})}:r.A;var s=800,l=16,c=Date.now;let p=function(e){var n=0,t=0;return function(){var a=c(),i=l-(a-t);if(t=a,i>0){if(++n>=s)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}(o)},66494(e,n,t){"use strict";t.d(n,{A:()=>m});let a=function(e){return e.split("")};var i=t(58174),r="\\ud800-\\udfff",o="["+r+"]",s="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",l="\\ud83c[\\udffb-\\udfff]",c="[^"+r+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+s+"|"+l+")?",d="[\\ufe0e\\ufe0f]?",g="(?:\\u200d(?:"+[c,p,u].join("|")+")"+d+f+")*",h=d+f+g,y=RegExp(l+"(?="+l+")|"+("(?:"+[c+s+"?",s,p,u,o].join("|"))+")"+h,"g");let b=function(e){return e.match(y)||[]},m=function(e){return(0,i.A)(e)?b(e):a(e)}},7837(e,n,t){"use strict";t.d(n,{A:()=>i});var a=Function.prototype.toString;let i=function(e){if(null!=e){try{return a.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},71769(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(16402),i=t(66982),r=t(58174),o=t(66494);let s=function(e){return function(n){n=(0,a.A)(n);var t=(0,r.A)(n)?(0,o.A)(n):void 0,s=t?t[0]:n.charAt(0),l=t?(0,i.A)(t,1).join(""):n.slice(1);return s[e]()+l}}("toUpperCase"),l=function(e){return s((0,a.A)(e).toLowerCase())}},196(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return e===n||e!=e&&n!=n}},63708(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return e}},97200(e,n,t){"use strict";t.d(n,{A:()=>p});var a=t(37978),i=t(43046),r="[object Arguments]";let o=function(e){return(0,i.A)(e)&&(0,a.A)(e)==r};var s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable;let p=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&l.call(e,"callee")&&!c.call(e,"callee")}},74637(e,n,t){"use strict";t.d(n,{A:()=>a});let a=Array.isArray},41578(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(54750),i=t(3986);let r=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,a.A)(e)}},49961(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(25801);let i=function(){return!1};var r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===r?a.A.Buffer:void 0;let l=(s?s.isBuffer:void 0)||i},54750(e,n,t){"use strict";t.d(n,{A:()=>c});var a=t(37978),i=t(40345),r="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";let c=function(e){if(!(0,i.A)(e))return!1;var n=(0,a.A)(e);return n==o||n==s||n==r||n==l}},3986(e,n,t){"use strict";t.d(n,{A:()=>i});var a=0x1fffffffffffff;let i=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}},40345(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},43046(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return null!=e&&"object"==typeof e}},23591(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(37978),i=t(13875),r=t(43046),o="[object Object]",s=Object.prototype,l=Function.prototype.toString,c=s.hasOwnProperty,p=l.call(Object);let u=function(e){if(!(0,r.A)(e)||(0,a.A)(e)!=o)return!1;var n=(0,i.A)(e);if(null===n)return!0;var t=c.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&l.call(t)==p}},89990(e,n,t){"use strict";t.d(n,{A:()=>o});var a=t(37978),i=t(43046),r="[object Symbol]";let o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&(0,a.A)(e)==r}},120(e,n,t){"use strict";t.d(n,{A:()=>O});var a=t(37978),i=t(3986),r=t(43046),o="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",p="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",g="[object Object]",h="[object RegExp]",y="[object Set]",b="[object String]",m="[object WeakMap]",$="[object ArrayBuffer]",v="[object DataView]",A="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",_="[object Int32Array]",x="[object Uint8Array]",C="[object Uint8ClampedArray]",z="[object Uint16Array]",E="[object Uint32Array]",M={};M["[object Float32Array]"]=M[A]=M[w]=M[k]=M[_]=M[x]=M[C]=M[z]=M[E]=!0,M[o]=M[s]=M[$]=M[l]=M[v]=M[c]=M[p]=M[u]=M[f]=M[d]=M[g]=M[h]=M[y]=M[b]=M[m]=!1;let S=function(e){return(0,r.A)(e)&&(0,i.A)(e.length)&&!!M[(0,a.A)(e)]};var T=t(16105),N=t(7605),I=N.A&&N.A.isTypedArray;let O=I?(0,T.A)(I):S},88544(e,n,t){"use strict";t.d(n,{A:()=>p});var a=t(26256),i=t(40345),r=t(8923);let o=function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n};var s=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return o(e);var n=(0,r.A)(e),t=[];for(var a in e)"constructor"==a&&(n||!s.call(e,a))||t.push(a);return t};var c=t(41578);let p=function(e){return(0,c.A)(e)?(0,a.A)(e,!0):l(e)}},56414(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},11216(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(10777);let i=(0,t(70980).A)(function(e,n,t){(0,a.A)(e,n,t)})},16402(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(93240);let i=function(e){return null==e?"":(0,a.A)(e)}},13847(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(93240),i=t(66982),r=t(64706);let o=function(e,n){for(var t=e.length;t--&&(0,r.A)(n,e[t],0)>-1;);return t};var s=t(66494),l=t(16402),c=/\s/;let p=function(e){for(var n=e.length;n--&&c.test(e.charAt(n)););return n},u=function(e,n,t){if((e=(0,l.A)(e))&&(t||void 0===n))return e.slice(0,p(e)+1);if(!e||!(n=(0,a.A)(n)))return e;var r=(0,s.A)(e),c=o(r,(0,s.A)(n))+1;return(0,i.A)(r,0,c).join("")}},99627(e,n,t){"use strict";t.d(n,{A:()=>h});var a=t(71917),i=t(64706);let r=function(e,n){return!!(null==e?0:e.length)&&(0,i.A)(e,n,0)>-1},o=function(e,n,t){for(var a=-1,i=null==e?0:e.length;++a<i;)if(t(n,e[a]))return!0;return!1};var s=t(95199),l=t(24429);let c=function(){};var p=t(9563),u=1/0;let f=l.A&&1/(0,p.A)(new l.A([,-0]))[1]==u?function(e){return new l.A(e)}:c;var d=200;let g=function(e,n,t){var i=-1,l=r,c=e.length,u=!0,g=[],h=g;if(t)u=!1,l=o;else if(c>=d){var y=n?null:f(e);if(y)return(0,p.A)(y);u=!1,l=s.A,h=new a.A}else h=n?[]:g;e:for(;++i<c;){var b=e[i],m=n?n(b):b;if(b=t||0!==b?b:0,u&&m==m){for(var $=h.length;$--;)if(h[$]===m)continue e;n&&h.push(m),g.push(b)}else l(h,m,t)||(h!==g&&h.push(m),g.push(b))}return g},h=function(e){return e&&e.length?g(e):[]}},47488(e,n,t){"use strict";t.d(n,{Ay:()=>u,BE:()=>p});var a=t(46925),i=t.n(a),r=t(73634),o=t(45254);let s=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e}),l={dedupe:!0},c=(e,n,t)=>{let{cache:i,compare:c,suspense:p,fallbackData:u,revalidateOnMount:f,revalidateIfStale:d,refreshInterval:g,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:b}=t,[m,$,v,A]=o.SWRGlobalState.get(i),[w,k]=(0,o.serialize)(e),_=(0,a.useRef)(!1),x=(0,a.useRef)(!1),C=(0,a.useRef)(w),z=(0,a.useRef)(n),E=(0,a.useRef)(t),M=()=>E.current,S=()=>M().isVisible()&&M().isOnline(),[T,N,I,O]=(0,o.createCacheHelper)(i,w),D=(0,a.useRef)({}).current,R=(0,o.isUndefined)(u)?t.fallback[w]:u,P=(e,n)=>{for(let t in D){let a=t;if("data"===a){if(!c(e[a],n[a])&&(!(0,o.isUndefined)(e[a])||!c(G,n[a])))return!1}else if(n[a]!==e[a])return!1}return!0},B=(0,a.useMemo)(()=>{let e=!!w&&!!n&&((0,o.isUndefined)(f)?!M().isPaused()&&!p&&(!!(0,o.isUndefined)(d)||d):f),t=n=>{let t=(0,o.mergeObjects)(n);return(delete t._k,e)?{isValidating:!0,isLoading:!0,...t}:t},a=T(),i=O(),r=t(a),s=a===i?r:t(i),l=r;return[()=>{let e=t(T());return P(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[i,w]),j=(0,r.useSyncExternalStore)((0,a.useCallback)(e=>I(w,(n,t)=>{P(t,n)||e()}),[i,w]),B[0],B[1]),H=!_.current,F=m[w]&&m[w].length>0,L=j.data,U=(0,o.isUndefined)(L)?R:L,q=j.error,V=(0,a.useRef)(U),G=b?(0,o.isUndefined)(L)?V.current:L:U,W=(!F||!!(0,o.isUndefined)(q))&&(H&&!(0,o.isUndefined)(f)?f:!M().isPaused()&&(p?!(0,o.isUndefined)(U)&&d:(0,o.isUndefined)(U)||d)),Z=!!(w&&n&&H&&W),Y=(0,o.isUndefined)(j.isValidating)?Z:j.isValidating,K=(0,o.isUndefined)(j.isLoading)?Z:j.isLoading,X=(0,a.useCallback)(async e=>{let n,a,i=z.current;if(!w||!i||x.current||M().isPaused())return!1;let r=!0,s=e||{},l=!v[w]||!s.dedupe,p=()=>o.IS_REACT_LEGACY?!x.current&&w===C.current&&_.current:w===C.current,u={isValidating:!1,isLoading:!1},f=()=>{N(u)},d=()=>{let e=v[w];e&&e[1]===a&&delete v[w]},g={isValidating:!0};(0,o.isUndefined)(T().data)&&(g.isLoading=!0);try{if(l&&(N(g),t.loadingTimeout&&(0,o.isUndefined)(T().data)&&setTimeout(()=>{r&&p()&&M().onLoadingSlow(w,t)},t.loadingTimeout),v[w]=[i(k),(0,o.getTimestamp)()]),[n,a]=v[w],n=await n,l&&setTimeout(d,t.dedupingInterval),!v[w]||v[w][1]!==a)return l&&p()&&M().onDiscarded(w),!1;u.error=o.UNDEFINED;let e=$[w];if(!(0,o.isUndefined)(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return f(),l&&p()&&M().onDiscarded(w),!1;let s=T().data;u.data=c(s,n)?s:n,l&&p()&&M().onSuccess(n,w,t)}catch(t){d();let e=M(),{shouldRetryOnError:n}=e;!e.isPaused()&&(u.error=t,l&&p()&&(e.onError(t,w,e),(!0===n||(0,o.isFunction)(n)&&n(t))&&(!M().revalidateOnFocus||!M().revalidateOnReconnect||S())&&e.onErrorRetry(t,w,e,e=>{let n=m[w];n&&n[0]&&n[0](o.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return r=!1,f(),!0},[w,i]),J=(0,a.useCallback)((...e)=>(0,o.internalMutate)(i,C.current,...e),[]);if((0,o.useIsomorphicLayoutEffect)(()=>{z.current=n,E.current=t,(0,o.isUndefined)(L)||(V.current=L)}),(0,o.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=X.bind(o.UNDEFINED,l),n=0,t=(t,a={})=>{if(t==o.revalidateEvents.FOCUS_EVENT){let t=Date.now();M().revalidateOnFocus&&t>n&&S()&&(n=t+M().focusThrottleInterval,e())}else if(t==o.revalidateEvents.RECONNECT_EVENT)M().revalidateOnReconnect&&S()&&e();else if(t==o.revalidateEvents.MUTATE_EVENT)return X();else if(t==o.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(a)},a=(0,o.subscribeCallback)(w,m,t);return x.current=!1,C.current=w,_.current=!0,N({_k:k}),W&&((0,o.isUndefined)(U)||o.IS_SERVER?e():(0,o.rAF)(e)),()=>{x.current=!0,a()}},[w]),(0,o.useIsomorphicLayoutEffect)(()=>{let e;function n(){let n=(0,o.isFunction)(g)?g(T().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){!T().error&&(h||M().isVisible())&&(y||M().isOnline())?X(l).then(n):n()}return n(),()=>{e&&(clearTimeout(e),e=-1)}},[g,h,y,w]),(0,a.useDebugValue)(G),p&&(0,o.isUndefined)(U)&&w){if(!o.IS_REACT_LEGACY&&o.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");z.current=n,E.current=t,x.current=!1;let e=A[w];if((0,o.isUndefined)(e)||s(J(e)),(0,o.isUndefined)(q)){let e=X(l);(0,o.isUndefined)(G)||(e.status="fulfilled",e.value=!0),s(e)}else throw q}return{mutate:J,get data(){return D.data=!0,G},get error(){return D.error=!0,q},get isValidating(){return D.isValidating=!0,Y},get isLoading(){return D.isLoading=!0,K}}},p=o.OBJECT.defineProperty(o.SWRConfig,"defaultValue",{value:o.defaultConfig}),u=(0,o.withArgs)(c)}},__webpack_module_cache__={};function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var t=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__),t.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(67426),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^((3|69)23|2366|4234|9778)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(n,{a:n}),n}})(),(()=>{__webpack_require__.d=(e,n)=>{for(var t in n)__webpack_require__.o(n,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((n,t)=>(__webpack_require__.f[t](e,n),n),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n)})(),(()=>{var e={},n="@openmrs/esm-offline-tools-app:";__webpack_require__.l=function(t,a,i,r){if(e[t])return void e[t].push(a);if(void 0!==i)for(var o,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var p=l[c];if(p.getAttribute("src")==t||p.getAttribute("data-rspack")==n+i){o=p;break}}o||(s=!0,(o=document.createElement("script")).timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-rspack",n+i),o.src=t),e[t]=[a];var u=function(n,a){o.onerror=o.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(function(e){return e(a)}),n)return n(a)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),s&&document.head.appendChild(o)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("3624"),__webpack_require__.e("7221"),__webpack_require__.e("5167"),__webpack_require__.e("2366"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(94114)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"9.0.3-pre.4841",factory:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("7221"),__webpack_require__.e("6725"),__webpack_require__.e("3663"),__webpack_require__.e("2366"),__webpack_require__.e("4234"),__webpack_require__.e("6923"),__webpack_require__.e("4271"),__webpack_require__.e("323"),__webpack_require__.e("9778")]).then(()=>()=>__webpack_require__(88930)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([__webpack_require__.e("9116"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("651"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.30.3",factory:()=>Promise.all([__webpack_require__.e("8031"),__webpack_require__.e("2366"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(75842)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("5819").then(()=>()=>__webpack_require__(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>__webpack_require__.e("8613").then(()=>()=>__webpack_require__(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("8574"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(51405)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("7918"),__webpack_require__.e("2366"),__webpack_require__.e("6923"),__webpack_require__.e("6847")]).then(()=>()=>__webpack_require__(96269)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("1582"),__webpack_require__.e("2366"),__webpack_require__.e("6923"),__webpack_require__.e("9228")]).then(()=>()=>__webpack_require__(13709)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@openmrs/esm-offline-tools-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,n=__webpack_require__.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{4234:["22065"],1889:["45254","78572","18326","3658","47665","99737","46925"],323:["18326","47665"],9778:["99737"],2366:["46925"],6923:["45254"],4271:["38086","67436","62216"]},moduleIdToConsumeDataMapping:{46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5819").then(()=>()=>__webpack_require__(86326))},47665:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("8031"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(75842))},3658:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("6725"),__webpack_require__.e("4234"),__webpack_require__.e("4271")]).then(()=>()=>__webpack_require__(88930))},78572:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("6725"),__webpack_require__.e("4234"),__webpack_require__.e("4271")]).then(()=>()=>__webpack_require__(88930))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("3624"),__webpack_require__.e("5167"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(94114))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("651").then(()=>()=>__webpack_require__(72454))},45254:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("8574").then(()=>()=>__webpack_require__(51405))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("9116").then(()=>()=>__webpack_require__(35623))},38086:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("7918").then(()=>()=>__webpack_require__(96269))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("8613").then(()=>()=>__webpack_require__(29188))},62216:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1582").then(()=>()=>__webpack_require__(13709))}},initialConsumes:["45254","78572","18326","3658","47665","99737","46925"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{var e={1889:0};__webpack_require__.f.j=function(n,t){var a=__webpack_require__.o(e,n)?e[n]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^((3|69)23|2366|4234|9778)$/.test(n))e[n]=0;else{var i=new Promise((t,i)=>a=e[n]=[t,i]);t.push(a[2]=i);var r=__webpack_require__.p+__webpack_require__.u(n),o=Error(),s=function(t){if(__webpack_require__.o(e,n)&&(0!==(a=e[n])&&(e[n]=void 0),a)){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;o.message="Loading chunk "+n+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}};__webpack_require__.l(r,s,"chunk-"+n,n)}};var n=(n,t)=>{var a,i,[r,o,s]=t,l=0;if(r.some(n=>0!==e[n])){for(a in o)__webpack_require__.o(o,a)&&(__webpack_require__.m[a]=o[a]);s&&s(__webpack_require__)}for(n&&n(t);l<r.length;l++)i=r[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,n=!1;__webpack_require__.x=function(){if(n||(n=!0,__webpack_require__(35281)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x()})();
6
+ while loading "${o[1]}" from ${o[2]}`),a.m[e]=()=>{throw n},o.p=0},u=(e,n,a,i,r,s)=>{try{let c=e(n,a);if(!c||!c.then)return r(c,i,s);{let e=c.then(e=>r(e,i),l);if(!s)return e;t.push(o.p=e)}}catch(e){l(e)}},f=(e,n,t)=>e?u(a.I,o[0],0,e,d,t):l();var d=(e,t,a)=>u(t.get,o[1],n,0,g,a),g=n=>{o.p=1,a.m[e]=e=>{e.exports=n()}};let h=()=>{try{let e=r.decodeName(s[0].name,r.ENCODE_NAME_PREFIX)+o[1].slice(1),n=a.federation.instance,t=()=>a.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===n.options.shareStrategy)return Promise.all(n.sharedHandler.initializeSharing(o[0])).then(()=>t());return t()}catch(e){l(e)}};1===s.length&&i.FEDERATION_SUPPORTED_TYPES.includes(s[0].externalType)&&s[0].name?u(h,o[2],0,0,g,1):u(a,o[2],0,0,f,1)})}function p(e){s(e);let{chunkId:n,promises:t,installedModules:a,webpackRequire:i,chunkMapping:r,moduleToHandlerMapping:l}=e;o(i),i.o(r,n)&&r[n].forEach(e=>{if(i.o(a,e))return t.push(a[e]);let n=n=>{a[e]=0,i.m[e]=t=>{delete i.c[e];let a=n(),{shareInfo:r}=l[e];if(r?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=r.shareConfig.layer)}catch(e){}t.exports=a}},r=n=>{delete a[e],i.m[e]=t=>{throw delete i.c[e],n}};try{let o=i.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:p}=l[e],u=o.loadShare(s,{customShareInfo:p}).then(e=>!1===e?c():e);u.then?t.push(a[e]=u.then(n).catch(r)):n(u)}catch(e){r(e)}})}function u({shareScopeName:e,webpackRequire:n,initPromises:t,initTokens:a,initScope:r}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){r||(r=[]);let l=n.federation.instance;var c=a[s];if(c||(c=a[s]={from:l.name}),r.indexOf(c)>=0)return;r.push(c);let p=t[s];if(p)return p;var u=e=>"u">typeof console&&console.warn&&console.warn(e),f=t=>{var a=e=>u("Initialization of sharing external failed: "+e);try{var i=n(t);if(!i)return;var o=t=>t&&t.init&&t.init(n.S[s],r,{shareScopeMap:n.S||{},shareScopeKeys:e});if(i.then)return d.push(i.then(o,a));var l=o(i);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(a))}catch(e){a(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:r,from:"build"});o(n);let g=n.federation.bundlerRuntimeOptions.remotes;return(g&&Object.keys(g.idToRemoteMap).forEach(e=>{let n=g.idToRemoteMap[e],t=g.idToExternalAndNameMapping[e][2];if(n.length>1)f(t);else if(1===n.length){let e=n[0];i.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(t)}}),d.length)?t[s]=Promise.all(d).then(()=>t[s]=!0):t[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}function f(e){let{moduleId:n,moduleToHandlerMapping:t,webpackRequire:a}=e,i=a.federation.instance;if(!i)throw Error("Federation instance not found!");let{shareKey:r,shareInfo:o}=t[n];try{return i.loadShareSync(r,{customShareInfo:o})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function d(e){let{webpackRequire:n}=e;s(e);let{initialConsumes:t,moduleToHandlerMapping:a,installedModules:i}=e;t.forEach(e=>{n.m[e]=t=>{i[e]=0,delete n.c[e];let r=f({moduleId:e,moduleToHandlerMapping:a,webpackRequire:n});if("function"!=typeof r)throw Error(`Shared module is not available for eager consumption: ${e}`);let o=r(),{shareInfo:s}=a[e];if(s?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=s.shareConfig.layer)}catch(e){}t.exports=o}})}function g(e){let{webpackRequire:n,shareScope:t,initScope:a,shareScopeKey:i,remoteEntryInitOptions:r}=e;if(!n.S||!n.federation||!n.federation.instance||!n.federation.initOptions)return;let o=n.federation.instance;o.initOptions({name:n.federation.initOptions.name,remotes:[],...r});let s=r?.shareScopeKeys,l=r?.shareScopeMap;if(i&&"string"!=typeof i)i.forEach(e=>{if(!s||!l)return void o.initShareScopeMap(e,t,{hostShareScopeMap:r?.shareScopeMap||{}});l[e]||(l[e]={});let n=l[e];o.initShareScopeMap(e,n,{hostShareScopeMap:r?.shareScopeMap||{}})});else{let e=i||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let n=l[e];o.initShareScopeMap(e,n,{hostShareScopeMap:r?.shareScopeMap||{}})}):o.initShareScopeMap(e,t,{hostShareScopeMap:r?.shareScopeMap||{}})}return(n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),"function"==typeof n.federation.prefetch&&n.federation.prefetch(),Array.isArray(i))?n.federation.initOptions.shared?n.I(i,a):Promise.all(i.map(e=>n.I(e,a))).then(()=>!0):n.I(i||"default",a)}e.exports={runtime:function(e){var n=Object.create(null);if(e)for(var t in e)n[t]=e[t];return n.default=e,Object.freeze(n)}(a),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:p,I:u,S:{},installInitialConsumes:d,initContainerEntry:g},attachShareScopeMap:o,bundlerRuntimeOptions:{}}},55530(e){!function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=i(e,a(t)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var r in e)n.call(e,r)&&e[r]&&(a=i(a,r));return a}function i(e,n){return n?e?e+" "+n:e+n:e}e.exports?(t.default=t,e.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()},72035(e,n,t){"use strict";t.d(n,{A:()=>f});let a=function(){this.__data__=[],this.size=0};var i=t(196);let r=function(e,n){for(var t=e.length;t--;)if((0,i.A)(e[t][0],n))return t;return -1};var o=Array.prototype.splice;let s=function(e){var n=this.__data__,t=r(n,e);return!(t<0)&&(t==n.length-1?n.pop():o.call(n,t,1),--this.size,!0)},l=function(e){var n=this.__data__,t=r(n,e);return t<0?void 0:n[t][1]},c=function(e){return r(this.__data__,e)>-1},p=function(e,n){var t=this.__data__,a=r(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this};function u(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}u.prototype.clear=a,u.prototype.delete=s,u.prototype.get=l,u.prototype.has=c,u.prototype.set=p;let f=u},71331(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(3855),i=t(25801);let r=(0,a.A)(i.A,"Map")},15643(e,n,t){"use strict";t.d(n,{A:()=>x});let a=(0,t(3855).A)(Object,"create"),i=function(){this.__data__=a?a(null):{},this.size=0},r=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=!!n,n};var o="__lodash_hash_undefined__",s=Object.prototype.hasOwnProperty;let l=function(e){var n=this.__data__;if(a){var t=n[e];return t===o?void 0:t}return s.call(n,e)?n[e]:void 0};var c=Object.prototype.hasOwnProperty;let p=function(e){var n=this.__data__;return a?void 0!==n[e]:c.call(n,e)};var u="__lodash_hash_undefined__";let f=function(e,n){var t=this.__data__;return this.size+=+!this.has(e),t[e]=a&&void 0===n?u:n,this};function d(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}d.prototype.clear=i,d.prototype.delete=r,d.prototype.get=l,d.prototype.has=p,d.prototype.set=f;let g=d;var h=t(72035),y=t(71331);let b=function(){this.size=0,this.__data__={hash:new g,map:new(y.A||h.A),string:new g}},m=function(e){var n=typeof e;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e},$=function(e,n){var t=e.__data__;return m(n)?t["string"==typeof n?"string":"hash"]:t.map},v=function(e){var n=$(this,e).delete(e);return this.size-=!!n,n},A=function(e){return $(this,e).get(e)},w=function(e){return $(this,e).has(e)},k=function(e,n){var t=$(this,e),a=t.size;return t.set(e,n),this.size+=+(t.size!=a),this};function _(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}_.prototype.clear=b,_.prototype.delete=v,_.prototype.get=A,_.prototype.has=w,_.prototype.set=k;let x=_},24429(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(3855),i=t(25801);let r=(0,a.A)(i.A,"Set")},71917(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(15643),i="__lodash_hash_undefined__";let r=function(e){return this.__data__.set(e,i),this},o=function(e){return this.__data__.has(e)};function s(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new a.A;++n<t;)this.add(e[n])}s.prototype.add=s.prototype.push=r,s.prototype.has=o;let l=s},29109(e,n,t){"use strict";t.d(n,{A:()=>d});var a=t(72035);let i=function(){this.__data__=new a.A,this.size=0},r=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},o=function(e){return this.__data__.get(e)},s=function(e){return this.__data__.has(e)};var l=t(71331),c=t(15643),p=200;let u=function(e,n){var t=this.__data__;if(t instanceof a.A){var i=t.__data__;if(!l.A||i.length<p-1)return i.push([e,n]),this.size=++t.size,this;t=this.__data__=new c.A(i)}return t.set(e,n),this.size=t.size,this};function f(e){var n=this.__data__=new a.A(e);this.size=n.size}f.prototype.clear=i,f.prototype.delete=r,f.prototype.get=o,f.prototype.has=s,f.prototype.set=u;let d=f},39229(e,n,t){"use strict";t.d(n,{A:()=>a});let a=t(25801).A.Symbol},22560(e,n,t){"use strict";t.d(n,{A:()=>a});let a=t(25801).A.Uint8Array},26256(e,n,t){"use strict";t.d(n,{A:()=>p});let a=function(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a};var i=t(97200),r=t(74637),o=t(49961),s=t(15405),l=t(120),c=Object.prototype.hasOwnProperty;let p=function(e,n){var t=(0,r.A)(e),p=!t&&(0,i.A)(e),u=!t&&!p&&(0,o.A)(e),f=!t&&!p&&!u&&(0,l.A)(e),d=t||p||u||f,g=d?a(e.length,String):[],h=g.length;for(var y in e)(n||c.call(e,y))&&!(d&&("length"==y||u&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,s.A)(y,h)))&&g.push(y);return g}},77184(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){for(var t=-1,a=null==e?0:e.length,i=Array(a);++t<a;)i[t]=n(e[t],t,e);return i}},71199(e,n,t){"use strict";t.d(n,{A:()=>o});var a=t(91908),i=t(196),r=Object.prototype.hasOwnProperty;let o=function(e,n,t){var o=e[n];r.call(e,n)&&(0,i.A)(o,t)&&(void 0!==t||n in e)||(0,a.A)(e,n,t)}},91908(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(66831);let i=function(e,n,t){"__proto__"==n&&a.A?(0,a.A)(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}},37978(e,n,t){"use strict";t.d(n,{A:()=>g});var a=t(39229),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,s=a.A?a.A.toStringTag:void 0;let l=function(e){var n=r.call(e,s),t=e[s];try{e[s]=void 0;var a=!0}catch(e){}var i=o.call(e);return a&&(n?e[s]=t:delete e[s]),i};var c=Object.prototype.toString;let p=function(e){return c.call(e)};var u="[object Null]",f="[object Undefined]",d=a.A?a.A.toStringTag:void 0;let g=function(e){return null==e?void 0===e?f:u:d&&d in Object(e)?l(e):p(e)}},64706(e,n,t){"use strict";t.d(n,{A:()=>o});let a=function(e,n,t,a){for(var i=e.length,r=t+(a?1:-1);a?r--:++r<i;)if(n(e[r],r,e))return r;return -1},i=function(e){return e!=e},r=function(e,n,t){for(var a=t-1,i=e.length;++a<i;)if(e[a]===n)return a;return -1},o=function(e,n,t){return n==n?r(e,n,t):a(e,i,t)}},10777(e,n,t){"use strict";t.d(n,{A:()=>E});var a=t(29109),i=t(91908),r=t(196);let o=function(e,n,t){(void 0===t||(0,r.A)(e[n],t))&&(void 0!==t||n in e)||(0,i.A)(e,n,t)},s=function(){return function(e,n,t){for(var a=-1,i=Object(e),r=t(e),o=r.length;o--;){var s=r[++a];if(!1===n(i[s],s,i))break}return e}}();var l=t(61318),c=t(85997),p=t(47827),u=t(72008),f=t(97200),d=t(74637),g=t(41578),h=t(43046);let y=function(e){return(0,h.A)(e)&&(0,g.A)(e)};var b=t(49961),m=t(54750),$=t(40345),v=t(23591),A=t(120);let w=function(e,n){if(("constructor"!==n||"function"!=typeof e[n])&&"__proto__"!=n)return e[n]};var k=t(73171),_=t(88544);let x=function(e){return(0,k.A)(e,(0,_.A)(e))},C=function(e,n,t,a,i,r,s){var g=w(e,t),h=w(n,t),k=s.get(h);if(k)return void o(e,t,k);var _=r?r(g,h,t+"",e,n,s):void 0,C=void 0===_;if(C){var z=(0,d.A)(h),E=!z&&(0,b.A)(h),M=!z&&!E&&(0,A.A)(h);_=h,z||E||M?(0,d.A)(g)?_=g:y(g)?_=(0,p.A)(g):E?(C=!1,_=(0,l.A)(h,!0)):M?(C=!1,_=(0,c.A)(h,!0)):_=[]:(0,v.A)(h)||(0,f.A)(h)?(_=g,(0,f.A)(g)?_=x(g):(!(0,$.A)(g)||(0,m.A)(g))&&(_=(0,u.A)(h))):C=!1}C&&(s.set(h,_),i(_,h,a,r,s),s.delete(h)),o(e,t,_)};function z(e,n,t,i,r){e!==n&&s(n,function(s,l){if(r||(r=new a.A),(0,$.A)(s))C(e,n,l,t,z,i,r);else{var c=i?i(w(e,l),s,l+"",e,n,r):void 0;void 0===c&&(c=s),o(e,l,c)}},_.A)}let E=z},3644(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n,t){var a=-1,i=e.length;n<0&&(n=-n>i?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var r=Array(i);++a<i;)r[a]=e[a+n];return r}},93240(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(39229),i=t(77184),r=t(74637),o=t(89990),s=1/0,l=a.A?a.A.prototype:void 0,c=l?l.toString:void 0;function p(e){if("string"==typeof e)return e;if((0,r.A)(e))return(0,i.A)(e,p)+"";if((0,o.A)(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}let u=p},16105(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return function(n){return e(n)}}},95199(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return e.has(n)}},66982(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(3644);let i=function(e,n,t){var i=e.length;return t=void 0===t?i:t,!n&&t>=i?e:(0,a.A)(e,n,t)}},91401(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(22560);let i=function(e){var n=new e.constructor(e.byteLength);return new a.A(n).set(new a.A(e)),n}},61318(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(25801),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=r&&r.exports===i?a.A.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(e,n){if(n)return e.slice();var t=e.length,a=s?s(t):new e.constructor(t);return e.copy(a),a}},85997(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(91401);let i=function(e,n){var t=n?(0,a.A)(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}},47827(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){var t=-1,a=e.length;for(n||(n=Array(a));++t<a;)n[t]=e[t];return n}},73171(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(71199),i=t(91908);let r=function(e,n,t,r){var o=!t;t||(t={});for(var s=-1,l=n.length;++s<l;){var c=n[s],p=r?r(t[c],e[c],c,t,e):void 0;void 0===p&&(p=e[c]),o?(0,i.A)(t,c,p):(0,a.A)(t,c,p)}return t}},70980(e,n,t){"use strict";t.d(n,{A:()=>f});var a=t(63708),i=t(89739),r=t(64371);let o=function(e,n){return(0,r.A)((0,i.A)(e,n,a.A),e+"")};var s=t(196),l=t(41578),c=t(15405),p=t(40345);let u=function(e,n,t){if(!(0,p.A)(t))return!1;var a=typeof n;return("number"==a?!!((0,l.A)(t)&&(0,c.A)(n,t.length)):"string"==a&&n in t)&&(0,s.A)(t[n],e)},f=function(e){return o(function(n,t){var a=-1,i=t.length,r=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=e.length>3&&"function"==typeof r?(i--,r):void 0,o&&u(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),n=Object(n);++a<i;){var s=t[a];s&&e(n,s,a,r)}return n})}},66831(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(3855);let i=function(){try{var e=(0,a.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},42692(e,n,t){"use strict";t.d(n,{A:()=>a});let a="object"==typeof global&&global&&global.Object===Object&&global},3855(e,n,t){"use strict";t.d(n,{A:()=>b});var a=t(54750);let i=t(25801).A["__core-js_shared__"];var r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();let o=function(e){return!!r&&r in e};var s=t(40345),l=t(7837),c=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,u=Object.prototype,f=Function.prototype.toString,d=u.hasOwnProperty,g=RegExp("^"+f.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let h=function(e){return!(!(0,s.A)(e)||o(e))&&((0,a.A)(e)?g:p).test((0,l.A)(e))},y=function(e,n){return null==e?void 0:e[n]},b=function(e,n){var t=y(e,n);return h(t)?t:void 0}},13875(e,n,t){"use strict";t.d(n,{A:()=>a});let a=(0,t(12123).A)(Object.getPrototypeOf,Object)},58174(e,n,t){"use strict";t.d(n,{A:()=>i});var a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let i=function(e){return a.test(e)}},72008(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(40345),i=Object.create;let r=function(){function e(){}return function(n){if(!(0,a.A)(n))return{};if(i)return i(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}();var o=t(13875),s=t(8923);let l=function(e){return"function"!=typeof e.constructor||(0,s.A)(e)?{}:r((0,o.A)(e))}},15405(e,n,t){"use strict";t.d(n,{A:()=>r});var a=0x1fffffffffffff,i=/^(?:0|[1-9]\d*)$/;let r=function(e,n){var t=typeof e;return!!(n=null==n?a:n)&&("number"==t||"symbol"!=t&&i.test(e))&&e>-1&&e%1==0&&e<n}},8923(e,n,t){"use strict";t.d(n,{A:()=>i});var a=Object.prototype;let i=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||a)}},7605(e,n,t){"use strict";t.d(n,{A:()=>s});var a=t(42692),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=r&&r.exports===i&&a.A.process;let s=function(){try{var e=r&&r.require&&r.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}()},12123(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return function(t){return e(n(t))}}},89739(e,n,t){"use strict";t.d(n,{A:()=>r});let a=function(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)};var i=Math.max;let r=function(e,n,t){return n=i(void 0===n?e.length-1:n,0),function(){for(var r=arguments,o=-1,s=i(r.length-n,0),l=Array(s);++o<s;)l[o]=r[n+o];o=-1;for(var c=Array(n+1);++o<n;)c[o]=r[o];return c[n]=t(l),a(e,this,c)}}},25801(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(42692),i="object"==typeof self&&self&&self.Object===Object&&self;let r=a.A||i||Function("return this")()},9563(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=-1,t=Array(e.size);return e.forEach(function(e){t[++n]=e}),t}},64371(e,n,t){"use strict";t.d(n,{A:()=>p});let a=function(e){return function(){return e}};var i=t(66831),r=t(63708);let o=i.A?function(e,n){return(0,i.A)(e,"toString",{configurable:!0,enumerable:!1,value:a(n),writable:!0})}:r.A;var s=800,l=16,c=Date.now;let p=function(e){var n=0,t=0;return function(){var a=c(),i=l-(a-t);if(t=a,i>0){if(++n>=s)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}(o)},66494(e,n,t){"use strict";t.d(n,{A:()=>m});let a=function(e){return e.split("")};var i=t(58174),r="\\ud800-\\udfff",o="["+r+"]",s="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",l="\\ud83c[\\udffb-\\udfff]",c="[^"+r+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+s+"|"+l+")?",d="[\\ufe0e\\ufe0f]?",g="(?:\\u200d(?:"+[c,p,u].join("|")+")"+d+f+")*",h=d+f+g,y=RegExp(l+"(?="+l+")|"+("(?:"+[c+s+"?",s,p,u,o].join("|"))+")"+h,"g");let b=function(e){return e.match(y)||[]},m=function(e){return(0,i.A)(e)?b(e):a(e)}},7837(e,n,t){"use strict";t.d(n,{A:()=>i});var a=Function.prototype.toString;let i=function(e){if(null!=e){try{return a.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},71769(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(16402),i=t(66982),r=t(58174),o=t(66494);let s=function(e){return function(n){n=(0,a.A)(n);var t=(0,r.A)(n)?(0,o.A)(n):void 0,s=t?t[0]:n.charAt(0),l=t?(0,i.A)(t,1).join(""):n.slice(1);return s[e]()+l}}("toUpperCase"),l=function(e){return s((0,a.A)(e).toLowerCase())}},196(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e,n){return e===n||e!=e&&n!=n}},63708(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return e}},97200(e,n,t){"use strict";t.d(n,{A:()=>p});var a=t(37978),i=t(43046),r="[object Arguments]";let o=function(e){return(0,i.A)(e)&&(0,a.A)(e)==r};var s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable;let p=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&l.call(e,"callee")&&!c.call(e,"callee")}},74637(e,n,t){"use strict";t.d(n,{A:()=>a});let a=Array.isArray},41578(e,n,t){"use strict";t.d(n,{A:()=>r});var a=t(54750),i=t(3986);let r=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,a.A)(e)}},49961(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(25801);let i=function(){return!1};var r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===r?a.A.Buffer:void 0;let l=(s?s.isBuffer:void 0)||i},54750(e,n,t){"use strict";t.d(n,{A:()=>c});var a=t(37978),i=t(40345),r="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";let c=function(e){if(!(0,i.A)(e))return!1;var n=(0,a.A)(e);return n==o||n==s||n==r||n==l}},3986(e,n,t){"use strict";t.d(n,{A:()=>i});var a=0x1fffffffffffff;let i=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}},40345(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},43046(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){return null!=e&&"object"==typeof e}},23591(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(37978),i=t(13875),r=t(43046),o="[object Object]",s=Object.prototype,l=Function.prototype.toString,c=s.hasOwnProperty,p=l.call(Object);let u=function(e){if(!(0,r.A)(e)||(0,a.A)(e)!=o)return!1;var n=(0,i.A)(e);if(null===n)return!0;var t=c.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&l.call(t)==p}},89990(e,n,t){"use strict";t.d(n,{A:()=>o});var a=t(37978),i=t(43046),r="[object Symbol]";let o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&(0,a.A)(e)==r}},120(e,n,t){"use strict";t.d(n,{A:()=>O});var a=t(37978),i=t(3986),r=t(43046),o="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",p="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",g="[object Object]",h="[object RegExp]",y="[object Set]",b="[object String]",m="[object WeakMap]",$="[object ArrayBuffer]",v="[object DataView]",A="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",_="[object Int32Array]",x="[object Uint8Array]",C="[object Uint8ClampedArray]",z="[object Uint16Array]",E="[object Uint32Array]",M={};M["[object Float32Array]"]=M[A]=M[w]=M[k]=M[_]=M[x]=M[C]=M[z]=M[E]=!0,M[o]=M[s]=M[$]=M[l]=M[v]=M[c]=M[p]=M[u]=M[f]=M[d]=M[g]=M[h]=M[y]=M[b]=M[m]=!1;let S=function(e){return(0,r.A)(e)&&(0,i.A)(e.length)&&!!M[(0,a.A)(e)]};var T=t(16105),N=t(7605),I=N.A&&N.A.isTypedArray;let O=I?(0,T.A)(I):S},88544(e,n,t){"use strict";t.d(n,{A:()=>p});var a=t(26256),i=t(40345),r=t(8923);let o=function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n};var s=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return o(e);var n=(0,r.A)(e),t=[];for(var a in e)"constructor"==a&&(n||!s.call(e,a))||t.push(a);return t};var c=t(41578);let p=function(e){return(0,c.A)(e)?(0,a.A)(e,!0):l(e)}},56414(e,n,t){"use strict";t.d(n,{A:()=>a});let a=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},11216(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(10777);let i=(0,t(70980).A)(function(e,n,t){(0,a.A)(e,n,t)})},16402(e,n,t){"use strict";t.d(n,{A:()=>i});var a=t(93240);let i=function(e){return null==e?"":(0,a.A)(e)}},13847(e,n,t){"use strict";t.d(n,{A:()=>u});var a=t(93240),i=t(66982),r=t(64706);let o=function(e,n){for(var t=e.length;t--&&(0,r.A)(n,e[t],0)>-1;);return t};var s=t(66494),l=t(16402),c=/\s/;let p=function(e){for(var n=e.length;n--&&c.test(e.charAt(n)););return n},u=function(e,n,t){if((e=(0,l.A)(e))&&(t||void 0===n))return e.slice(0,p(e)+1);if(!e||!(n=(0,a.A)(n)))return e;var r=(0,s.A)(e),c=o(r,(0,s.A)(n))+1;return(0,i.A)(r,0,c).join("")}},99627(e,n,t){"use strict";t.d(n,{A:()=>h});var a=t(71917),i=t(64706);let r=function(e,n){return!!(null==e?0:e.length)&&(0,i.A)(e,n,0)>-1},o=function(e,n,t){for(var a=-1,i=null==e?0:e.length;++a<i;)if(t(n,e[a]))return!0;return!1};var s=t(95199),l=t(24429);let c=function(){};var p=t(9563),u=1/0;let f=l.A&&1/(0,p.A)(new l.A([,-0]))[1]==u?function(e){return new l.A(e)}:c;var d=200;let g=function(e,n,t){var i=-1,l=r,c=e.length,u=!0,g=[],h=g;if(t)u=!1,l=o;else if(c>=d){var y=n?null:f(e);if(y)return(0,p.A)(y);u=!1,l=s.A,h=new a.A}else h=n?[]:g;e:for(;++i<c;){var b=e[i],m=n?n(b):b;if(b=t||0!==b?b:0,u&&m==m){for(var $=h.length;$--;)if(h[$]===m)continue e;n&&h.push(m),g.push(b)}else l(h,m,t)||(h!==g&&h.push(m),g.push(b))}return g},h=function(e){return e&&e.length?g(e):[]}},47488(e,n,t){"use strict";t.d(n,{Ay:()=>u,BE:()=>p});var a=t(46925),i=t.n(a),r=t(73634),o=t(45254);let s=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e}),l={dedupe:!0},c=(e,n,t)=>{let{cache:i,compare:c,suspense:p,fallbackData:u,revalidateOnMount:f,revalidateIfStale:d,refreshInterval:g,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:b}=t,[m,$,v,A]=o.SWRGlobalState.get(i),[w,k]=(0,o.serialize)(e),_=(0,a.useRef)(!1),x=(0,a.useRef)(!1),C=(0,a.useRef)(w),z=(0,a.useRef)(n),E=(0,a.useRef)(t),M=()=>E.current,S=()=>M().isVisible()&&M().isOnline(),[T,N,I,O]=(0,o.createCacheHelper)(i,w),D=(0,a.useRef)({}).current,R=(0,o.isUndefined)(u)?t.fallback[w]:u,P=(e,n)=>{for(let t in D){let a=t;if("data"===a){if(!c(e[a],n[a])&&(!(0,o.isUndefined)(e[a])||!c(G,n[a])))return!1}else if(n[a]!==e[a])return!1}return!0},B=(0,a.useMemo)(()=>{let e=!!w&&!!n&&((0,o.isUndefined)(f)?!M().isPaused()&&!p&&(!!(0,o.isUndefined)(d)||d):f),t=n=>{let t=(0,o.mergeObjects)(n);return(delete t._k,e)?{isValidating:!0,isLoading:!0,...t}:t},a=T(),i=O(),r=t(a),s=a===i?r:t(i),l=r;return[()=>{let e=t(T());return P(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[i,w]),j=(0,r.useSyncExternalStore)((0,a.useCallback)(e=>I(w,(n,t)=>{P(t,n)||e()}),[i,w]),B[0],B[1]),H=!_.current,F=m[w]&&m[w].length>0,L=j.data,U=(0,o.isUndefined)(L)?R:L,q=j.error,V=(0,a.useRef)(U),G=b?(0,o.isUndefined)(L)?V.current:L:U,W=(!F||!!(0,o.isUndefined)(q))&&(H&&!(0,o.isUndefined)(f)?f:!M().isPaused()&&(p?!(0,o.isUndefined)(U)&&d:(0,o.isUndefined)(U)||d)),Z=!!(w&&n&&H&&W),Y=(0,o.isUndefined)(j.isValidating)?Z:j.isValidating,K=(0,o.isUndefined)(j.isLoading)?Z:j.isLoading,X=(0,a.useCallback)(async e=>{let n,a,i=z.current;if(!w||!i||x.current||M().isPaused())return!1;let r=!0,s=e||{},l=!v[w]||!s.dedupe,p=()=>o.IS_REACT_LEGACY?!x.current&&w===C.current&&_.current:w===C.current,u={isValidating:!1,isLoading:!1},f=()=>{N(u)},d=()=>{let e=v[w];e&&e[1]===a&&delete v[w]},g={isValidating:!0};(0,o.isUndefined)(T().data)&&(g.isLoading=!0);try{if(l&&(N(g),t.loadingTimeout&&(0,o.isUndefined)(T().data)&&setTimeout(()=>{r&&p()&&M().onLoadingSlow(w,t)},t.loadingTimeout),v[w]=[i(k),(0,o.getTimestamp)()]),[n,a]=v[w],n=await n,l&&setTimeout(d,t.dedupingInterval),!v[w]||v[w][1]!==a)return l&&p()&&M().onDiscarded(w),!1;u.error=o.UNDEFINED;let e=$[w];if(!(0,o.isUndefined)(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return f(),l&&p()&&M().onDiscarded(w),!1;let s=T().data;u.data=c(s,n)?s:n,l&&p()&&M().onSuccess(n,w,t)}catch(t){d();let e=M(),{shouldRetryOnError:n}=e;!e.isPaused()&&(u.error=t,l&&p()&&(e.onError(t,w,e),(!0===n||(0,o.isFunction)(n)&&n(t))&&(!M().revalidateOnFocus||!M().revalidateOnReconnect||S())&&e.onErrorRetry(t,w,e,e=>{let n=m[w];n&&n[0]&&n[0](o.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return r=!1,f(),!0},[w,i]),J=(0,a.useCallback)((...e)=>(0,o.internalMutate)(i,C.current,...e),[]);if((0,o.useIsomorphicLayoutEffect)(()=>{z.current=n,E.current=t,(0,o.isUndefined)(L)||(V.current=L)}),(0,o.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=X.bind(o.UNDEFINED,l),n=0,t=(t,a={})=>{if(t==o.revalidateEvents.FOCUS_EVENT){let t=Date.now();M().revalidateOnFocus&&t>n&&S()&&(n=t+M().focusThrottleInterval,e())}else if(t==o.revalidateEvents.RECONNECT_EVENT)M().revalidateOnReconnect&&S()&&e();else if(t==o.revalidateEvents.MUTATE_EVENT)return X();else if(t==o.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(a)},a=(0,o.subscribeCallback)(w,m,t);return x.current=!1,C.current=w,_.current=!0,N({_k:k}),W&&((0,o.isUndefined)(U)||o.IS_SERVER?e():(0,o.rAF)(e)),()=>{x.current=!0,a()}},[w]),(0,o.useIsomorphicLayoutEffect)(()=>{let e;function n(){let n=(0,o.isFunction)(g)?g(T().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){!T().error&&(h||M().isVisible())&&(y||M().isOnline())?X(l).then(n):n()}return n(),()=>{e&&(clearTimeout(e),e=-1)}},[g,h,y,w]),(0,a.useDebugValue)(G),p&&(0,o.isUndefined)(U)&&w){if(!o.IS_REACT_LEGACY&&o.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");z.current=n,E.current=t,x.current=!1;let e=A[w];if((0,o.isUndefined)(e)||s(J(e)),(0,o.isUndefined)(q)){let e=X(l);(0,o.isUndefined)(G)||(e.status="fulfilled",e.value=!0),s(e)}else throw q}return{mutate:J,get data(){return D.data=!0,G},get error(){return D.error=!0,q},get isValidating(){return D.isValidating=!0,Y},get isLoading(){return D.isLoading=!0,K}}},p=o.OBJECT.defineProperty(o.SWRConfig,"defaultValue",{value:o.defaultConfig}),u=(0,o.withArgs)(c)}},__webpack_module_cache__={};function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var t=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__),t.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(67426),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^((3|69)23|2366|4234|9778)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(n,{a:n}),n}})(),(()=>{__webpack_require__.d=(e,n)=>{for(var t in n)__webpack_require__.o(n,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((n,t)=>(__webpack_require__.f[t](e,n),n),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n)})(),(()=>{var e={},n="@openmrs/esm-offline-tools-app:";__webpack_require__.l=function(t,a,i,r){if(e[t])return void e[t].push(a);if(void 0!==i)for(var o,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var p=l[c];if(p.getAttribute("src")==t||p.getAttribute("data-rspack")==n+i){o=p;break}}o||(s=!0,(o=document.createElement("script")).timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-rspack",n+i),o.src=t),e[t]=[a];var u=function(n,a){o.onerror=o.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(function(e){return e(a)}),n)return n(a)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),s&&document.head.appendChild(o)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("3624"),__webpack_require__.e("7221"),__webpack_require__.e("5167"),__webpack_require__.e("2366"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(94114)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.0",factory:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("7221"),__webpack_require__.e("6725"),__webpack_require__.e("3663"),__webpack_require__.e("2366"),__webpack_require__.e("4234"),__webpack_require__.e("6923"),__webpack_require__.e("4271"),__webpack_require__.e("323"),__webpack_require__.e("9778")]).then(()=>()=>__webpack_require__(88930)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([__webpack_require__.e("9116"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("651"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.30.3",factory:()=>Promise.all([__webpack_require__.e("8031"),__webpack_require__.e("2366"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(75842)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("5819").then(()=>()=>__webpack_require__(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>__webpack_require__.e("8613").then(()=>()=>__webpack_require__(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("8574"),__webpack_require__.e("2366")]).then(()=>()=>__webpack_require__(51405)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("7918"),__webpack_require__.e("2366"),__webpack_require__.e("6923"),__webpack_require__.e("6847")]).then(()=>()=>__webpack_require__(96269)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([__webpack_require__.e("1582"),__webpack_require__.e("2366"),__webpack_require__.e("6923"),__webpack_require__.e("9228")]).then(()=>()=>__webpack_require__(13709)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@openmrs/esm-offline-tools-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,n=__webpack_require__.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{4234:["22065"],1889:["45254","18326","3658","47665","43004","99737","46925"],323:["18326","47665"],9778:["99737"],2366:["46925"],6923:["45254"],4271:["38086","67436","62216"]},moduleIdToConsumeDataMapping:{43004:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("6725"),__webpack_require__.e("4234"),__webpack_require__.e("4271")]).then(()=>()=>__webpack_require__(88930))},47665:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("8031"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(75842))},46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5819").then(()=>()=>__webpack_require__(86326))},3658:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("6725"),__webpack_require__.e("4234"),__webpack_require__.e("4271")]).then(()=>()=>__webpack_require__(88930))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3818"),__webpack_require__.e("3624"),__webpack_require__.e("5167"),__webpack_require__.e("4234")]).then(()=>()=>__webpack_require__(94114))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("651").then(()=>()=>__webpack_require__(72454))},45254:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("8574").then(()=>()=>__webpack_require__(51405))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("9116").then(()=>()=>__webpack_require__(35623))},38086:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("7918").then(()=>()=>__webpack_require__(96269))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("8613").then(()=>()=>__webpack_require__(29188))},62216:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1582").then(()=>()=>__webpack_require__(13709))}},initialConsumes:["45254","18326","3658","47665","43004","99737","46925"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{var e={1889:0};__webpack_require__.f.j=function(n,t){var a=__webpack_require__.o(e,n)?e[n]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^((3|69)23|2366|4234|9778)$/.test(n))e[n]=0;else{var i=new Promise((t,i)=>a=e[n]=[t,i]);t.push(a[2]=i);var r=__webpack_require__.p+__webpack_require__.u(n),o=Error(),s=function(t){if(__webpack_require__.o(e,n)&&(0!==(a=e[n])&&(e[n]=void 0),a)){var i=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;o.message="Loading chunk "+n+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}};__webpack_require__.l(r,s,"chunk-"+n,n)}};var n=(n,t)=>{var a,i,[r,o,s]=t,l=0;if(r.some(n=>0!==e[n])){for(a in o)__webpack_require__.o(o,a)&&(__webpack_require__.m[a]=o[a]);s&&s(__webpack_require__)}for(n&&n(t);l<r.length;l++)i=r[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,n=!1;__webpack_require__.x=function(){if(n||(n=!0,__webpack_require__(35281)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x()})();