@openmrs/esm-login-app 3.3.2-pre.5 → 3.3.2-pre.62
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/.turbo/turbo-build.log +35 -36
- package/dist/1.js +1 -2
- package/dist/216.js +1 -2
- package/dist/25.js +1 -2
- package/dist/302.js +1 -0
- package/dist/322.js +1 -2
- package/dist/393.js +1 -2
- package/dist/406.js +1 -2
- package/dist/420.js +1 -2
- package/dist/454.js +2 -0
- package/dist/{762.js.LICENSE.txt → 454.js.LICENSE.txt} +0 -0
- package/dist/574.js +1 -1
- package/dist/607.js +1 -2
- package/dist/688.js +1 -0
- package/dist/735.js +1 -2
- package/dist/743.js +1 -2
- package/dist/754.js +1 -2
- package/dist/788.js +1 -2
- package/dist/860.js +1 -2
- package/dist/889.js +1 -2
- package/dist/openmrs-esm-login-app.js +1 -1
- package/dist/openmrs-esm-login-app.js.buildmanifest.json +101 -163
- package/dist/openmrs-esm-login-app.old +1 -2
- package/package.json +4 -4
- package/src/login/login.component.tsx +14 -0
- package/src/styles.scss +8 -0
- package/translations/en.json +1 -0
- package/dist/1.js.map +0 -1
- package/dist/195.js +0 -2
- package/dist/195.js.map +0 -1
- package/dist/216.js.map +0 -1
- package/dist/25.js.map +0 -1
- package/dist/322.js.map +0 -1
- package/dist/393.js.map +0 -1
- package/dist/406.js.map +0 -1
- package/dist/420.js.map +0 -1
- package/dist/607.js.map +0 -1
- package/dist/695.js +0 -2
- package/dist/695.js.map +0 -1
- package/dist/735.js.map +0 -1
- package/dist/743.js.map +0 -1
- package/dist/754.js.map +0 -1
- package/dist/762.js +0 -3
- package/dist/762.js.map +0 -1
- package/dist/788.js.map +0 -1
- package/dist/860.js.map +0 -1
- package/dist/889.js.map +0 -1
- package/dist/951.js +0 -2
- package/dist/951.js.map +0 -1
- package/dist/openmrs-esm-login-app.js.map +0 -1
package/dist/393.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 393.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[393],{6058:(t,n,e)=>{"use strict";var r=e(2594),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(t){return r.isMemo(t)?a:c[t.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var s=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(n,e,r){if("string"!=typeof e){if(d){var o=h(e);o&&o!==d&&t(n,o,r)}var a=f(e);l&&(a=a.concat(l(e)));for(var c=u(n),v=u(e),m=0;m<a.length;++m){var y=a[m];if(!(i[y]||r&&r[y]||v&&v[y]||c&&c[y])){var g=p(e,y);try{s(n,y,g)}catch(t){}}}}return n}},6697:(t,n)=>{"use strict";var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var n=t.$$typeof;switch(n){case r:switch(t=t.type){case f:case l:case i:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case s:case p:case m:case v:case u:return t;default:return n}}case o:return n}}}function P(t){return b(t)===l}n.AsyncMode=f,n.ConcurrentMode=l,n.ContextConsumer=s,n.ContextProvider=u,n.Element=r,n.ForwardRef=p,n.Fragment=i,n.Lazy=m,n.Memo=v,n.Portal=o,n.Profiler=c,n.StrictMode=a,n.Suspense=h,n.isAsyncMode=function(t){return P(t)||b(t)===f},n.isConcurrentMode=P,n.isContextConsumer=function(t){return b(t)===s},n.isContextProvider=function(t){return b(t)===u},n.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},n.isForwardRef=function(t){return b(t)===p},n.isFragment=function(t){return b(t)===i},n.isLazy=function(t){return b(t)===m},n.isMemo=function(t){return b(t)===v},n.isPortal=function(t){return b(t)===o},n.isProfiler=function(t){return b(t)===c},n.isStrictMode=function(t){return b(t)===a},n.isSuspense=function(t){return b(t)===h},n.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===l||t===c||t===a||t===h||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===v||t.$$typeof===u||t.$$typeof===s||t.$$typeof===p||t.$$typeof===g||t.$$typeof===w||t.$$typeof===x||t.$$typeof===y)},n.typeOf=b},2594:(t,n,e)=>{"use strict";t.exports=e(6697)},7393:(t,n,e)=>{"use strict";e.r(n),e.d(n,{BrowserRouter:()=>gt,HashRouter:()=>wt,Link:()=>Ot,MemoryRouter:()=>z,NavLink:()=>St,Prompt:()=>G,Redirect:()=>tt,Route:()=>ot,Router:()=>q,StaticRouter:()=>ft,Switch:()=>lt,generatePath:()=>Y,matchPath:()=>rt,useHistory:()=>dt,useLocation:()=>vt,useParams:()=>mt,useRouteMatch:()=>yt,withRouter:()=>pt});var r=e(3974),o=e(6983),i=e.n(o),a=e(11);function c(t){return"/"===t.charAt(0)}function u(t,n){for(var e=n,r=e+1,o=t.length;r<o;e+=1,r+=1)t[e]=t[r];t.pop()}function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const f=function t(n,e){if(n===e)return!0;if(null==n||null==e)return!1;if(Array.isArray(n))return Array.isArray(e)&&n.length===e.length&&n.every((function(n,r){return t(n,e[r])}));if("object"==typeof n||"object"==typeof e){var r=s(n),o=s(e);return r!==n||o!==e?t(r,o):Object.keys(Object.assign({},n,e)).every((function(r){return t(n[r],e[r])}))}return!1};function l(t,n){if(!t)throw new Error("Invariant failed")}function p(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function d(t,n){return function(t,n){return 0===t.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(n.length))}(t,n)?t.substr(n.length):t}function v(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function m(t){var n=t.pathname,e=t.search,r=t.hash,o=n||"/";return e&&"?"!==e&&(o+="?"===e.charAt(0)?e:"?"+e),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(t,n,e,r){var o;"string"==typeof t?(o=function(t){var n=t||"/",e="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var i=n.indexOf("?");return-1!==i&&(e=n.substr(i),n=n.substr(0,i)),{pathname:n,search:"?"===e?"":e,hash:"#"===r?"":r}}(t),o.state=n):(void 0===(o=(0,a.Z)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==n&&void 0===o.state&&(o.state=n));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return e&&(o.key=e),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(t,n){void 0===n&&(n="");var e,r=t&&t.split("/")||[],o=n&&n.split("/")||[],i=t&&c(t),a=n&&c(n),s=i||a;if(t&&c(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var f=o[o.length-1];e="."===f||".."===f||""===f}else e=!1;for(var l=0,p=o.length;p>=0;p--){var h=o[p];"."===h?u(o,p):".."===h?(u(o,p),l++):l&&(u(o,p),l--)}if(!s)for(;l--;l)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var d=o.join("/");return e&&"/"!==d.substr(-1)&&(d+="/"),d}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function g(){var t=null,n=[];return{setPrompt:function(n){return t=n,function(){t===n&&(t=null)}},confirmTransitionTo:function(n,e,r,o){if(null!=t){var i="function"==typeof t?t(n,e):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var e=!0;function r(){e&&t.apply(void 0,arguments)}return n.push(r),function(){e=!1,n=n.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.forEach((function(t){return t.apply(void 0,e)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function x(t,n){n(window.confirm(t))}var b="popstate",P="hashchange";function E(){try{return window.history.state||{}}catch(t){return{}}}function C(t){void 0===t&&(t={}),w||l(!1);var n,e=window.history,r=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t,c=i.forceRefresh,u=void 0!==c&&c,s=i.getUserConfirmation,f=void 0===s?x:s,h=i.keyLength,C=void 0===h?6:h,O=t.basename?v(p(t.basename)):"";function k(t){var n=t||{},e=n.key,r=n.state,o=window.location,i=o.pathname+o.search+o.hash;return O&&(i=d(i,O)),y(i,r,e)}function R(){return Math.random().toString(36).substr(2,C)}var S=g();function A(t){(0,a.Z)(H,t),H.length=e.length,S.notifyListeners(H.location,H.action)}function T(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||L(k(t.state))}function $(){L(k(E()))}var _=!1;function L(t){_?(_=!1,A()):S.confirmTransitionTo(t,"POP",f,(function(n){n?A({action:"POP",location:t}):function(t){var n=H.location,e=Z.indexOf(n.key);-1===e&&(e=0);var r=Z.indexOf(t.key);-1===r&&(r=0);var o=e-r;o&&(_=!0,j(o))}(t)}))}var M=k(E()),Z=[M.key];function U(t){return O+m(t)}function j(t){e.go(t)}var N=0;function F(t){1===(N+=t)&&1===t?(window.addEventListener(b,T),o&&window.addEventListener(P,$)):0===N&&(window.removeEventListener(b,T),o&&window.removeEventListener(P,$))}var B=!1,H={length:e.length,action:"POP",location:M,createHref:U,push:function(t,n){var o="PUSH",i=y(t,n,R(),H.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=U(i),a=i.key,c=i.state;if(r)if(e.pushState({key:a,state:c},null,n),u)window.location.href=n;else{var s=Z.indexOf(H.location.key),f=Z.slice(0,s+1);f.push(i.key),Z=f,A({action:o,location:i})}else window.location.href=n}}))},replace:function(t,n){var o="REPLACE",i=y(t,n,R(),H.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=U(i),a=i.key,c=i.state;if(r)if(e.replaceState({key:a,state:c},null,n),u)window.location.replace(n);else{var s=Z.indexOf(H.location.key);-1!==s&&(Z[s]=i.key),A({action:o,location:i})}else window.location.replace(n)}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var n=S.setPrompt(t);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),n()}},listen:function(t){var n=S.appendListener(t);return F(1),function(){F(-1),n()}}};return H}var O="hashchange",k={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+h(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:h,decodePath:p},slash:{encodePath:p,decodePath:p}};function R(t){var n=t.indexOf("#");return-1===n?t:t.slice(0,n)}function S(){var t=window.location.href,n=t.indexOf("#");return-1===n?"":t.substring(n+1)}function A(t){window.location.replace(R(window.location.href)+"#"+t)}function T(t){void 0===t&&(t={}),w||l(!1);var n=window.history,e=(window.navigator.userAgent.indexOf("Firefox"),t),r=e.getUserConfirmation,o=void 0===r?x:r,i=e.hashType,c=void 0===i?"slash":i,u=t.basename?v(p(t.basename)):"",s=k[c],f=s.encodePath,h=s.decodePath;function b(){var t=h(S());return u&&(t=d(t,u)),y(t)}var P=g();function E(t){(0,a.Z)(B,t),B.length=n.length,P.notifyListeners(B.location,B.action)}var C=!1,T=null;function $(){var t,n,e=S(),r=f(e);if(e!==r)A(r);else{var i=b(),a=B.location;if(!C&&(n=i,(t=a).pathname===n.pathname&&t.search===n.search&&t.hash===n.hash))return;if(T===m(i))return;T=null,function(t){if(C)C=!1,E();else{P.confirmTransitionTo(t,"POP",o,(function(n){n?E({action:"POP",location:t}):function(t){var n=B.location,e=Z.lastIndexOf(m(n));-1===e&&(e=0);var r=Z.lastIndexOf(m(t));-1===r&&(r=0);var o=e-r;o&&(C=!0,U(o))}(t)}))}}(i)}}var _=S(),L=f(_);_!==L&&A(L);var M=b(),Z=[m(M)];function U(t){n.go(t)}var j=0;function N(t){1===(j+=t)&&1===t?window.addEventListener(O,$):0===j&&window.removeEventListener(O,$)}var F=!1,B={length:n.length,action:"POP",location:M,createHref:function(t){var n=document.querySelector("base"),e="";return n&&n.getAttribute("href")&&(e=R(window.location.href)),e+"#"+f(u+m(t))},push:function(t,n){var e="PUSH",r=y(t,void 0,void 0,B.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);if(S()!==o){T=n,function(t){window.location.hash=t}(o);var i=Z.lastIndexOf(m(B.location)),a=Z.slice(0,i+1);a.push(n),Z=a,E({action:e,location:r})}else E()}}))},replace:function(t,n){var e="REPLACE",r=y(t,void 0,void 0,B.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);S()!==o&&(T=n,A(o));var i=Z.indexOf(m(B.location));-1!==i&&(Z[i]=n),E({action:e,location:r})}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(t){void 0===t&&(t=!1);var n=P.setPrompt(t);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),n()}},listen:function(t){var n=P.appendListener(t);return N(1),function(){N(-1),n()}}};return B}function $(t,n,e){return Math.min(Math.max(t,n),e)}function _(t){void 0===t&&(t={});var n=t,e=n.getUserConfirmation,r=n.initialEntries,o=void 0===r?["/"]:r,i=n.initialIndex,c=void 0===i?0:i,u=n.keyLength,s=void 0===u?6:u,f=g();function l(t){(0,a.Z)(x,t),x.length=x.entries.length,f.notifyListeners(x.location,x.action)}function p(){return Math.random().toString(36).substr(2,s)}var h=$(c,0,o.length-1),d=o.map((function(t){return y(t,void 0,"string"==typeof t?p():t.key||p())})),v=m;function w(t){var n=$(x.index+t,0,x.entries.length-1),r=x.entries[n];f.confirmTransitionTo(r,"POP",e,(function(t){t?l({action:"POP",location:r,index:n}):l()}))}var x={length:d.length,action:"POP",location:d[h],index:h,entries:d,createHref:v,push:function(t,n){var r="PUSH",o=y(t,n,p(),x.location);f.confirmTransitionTo(o,r,e,(function(t){if(t){var n=x.index+1,e=x.entries.slice(0);e.length>n?e.splice(n,e.length-n,o):e.push(o),l({action:r,location:o,index:n,entries:e})}}))},replace:function(t,n){var r="REPLACE",o=y(t,n,p(),x.location);f.confirmTransitionTo(o,r,e,(function(t){t&&(x.entries[x.index]=o,l({action:r,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var n=x.index+t;return n>=0&&n<x.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return x}var L=e(216),M=e.n(L),Z=1073741823,U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:{};function j(t){var n=[];return{on:function(t){n.push(t)},off:function(t){n=n.filter((function(n){return n!==t}))},get:function(){return t},set:function(e,r){t=e,n.forEach((function(n){return n(t,r)}))}}}const N=i().createContext||function(t,n){var e,i,a,c="__create-react-context-"+((U[a="__global_unique_id__"]=(U[a]||0)+1)+"__"),u=function(t){function e(){var n;return(n=t.apply(this,arguments)||this).emitter=j(n.props.value),n}(0,r.Z)(e,t);var o=e.prototype;return o.getChildContext=function(){var t;return(t={})[c]=this.emitter,t},o.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var e,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?e=0:(e="function"==typeof n?n(r,o):Z,0!=(e|=0)&&this.emitter.set(t.value,e))}var i,a},o.render=function(){return this.props.children},e}(o.Component);u.childContextTypes=((e={})[c]=M().object.isRequired,e);var s=function(n){function e(){var t;return(t=n.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(n,e){0!=((0|t.observedBits)&e)&&t.setState({value:t.getValue()})},t}(0,r.Z)(e,n);var o=e.prototype;return o.componentWillReceiveProps=function(t){var n=t.observedBits;this.observedBits=null==n?Z:n},o.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?Z:t},o.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},o.getValue=function(){return this.context[c]?this.context[c].get():t},o.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},e}(o.Component);return s.contextTypes=((i={})[c]=M().object,i),{Provider:u,Consumer:s}};var F=e(2816),B=e.n(F),H=(e(2594),e(6017)),I=e(6058),D=e.n(I),W=function(t){var n=N();return n.displayName=t,n},V=W("Router-History"),K=W("Router"),q=function(t){function n(n){var e;return(e=t.call(this,n)||this).state={location:n.history.location},e._isMounted=!1,e._pendingLocation=null,n.staticContext||(e.unlisten=n.history.listen((function(t){e._isMounted?e.setState({location:t}):e._pendingLocation=t}))),e}(0,r.Z)(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var e=n.prototype;return e.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},e.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},e.render=function(){return i().createElement(K.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(V.Provider,{children:this.props.children||null,value:this.props.history}))},n}(i().Component),z=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=_(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),J=function(t){function n(){return t.apply(this,arguments)||this}(0,r.Z)(n,t);var e=n.prototype;return e.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},e.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},e.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},e.render=function(){return null},n}(i().Component);function G(t){var n=t.message,e=t.when,r=void 0===e||e;return i().createElement(K.Consumer,null,(function(t){if(t||l(!1),!r||t.staticContext)return null;var e=t.history.block;return i().createElement(J,{onMount:function(t){t.release=e(n)},onUpdate:function(t,r){r.message!==n&&(t.release(),t.release=e(n))},onUnmount:function(t){t.release()},message:n})}))}var Q={},X=0;function Y(t,n){return void 0===t&&(t="/"),void 0===n&&(n={}),"/"===t?t:function(t){if(Q[t])return Q[t];var n=B().compile(t);return X<1e4&&(Q[t]=n,X++),n}(t)(n,{pretty:!0})}function tt(t){var n=t.computedMatch,e=t.to,r=t.push,o=void 0!==r&&r;return i().createElement(K.Consumer,null,(function(t){t||l(!1);var r=t.history,c=t.staticContext,u=o?r.push:r.replace,s=y(n?"string"==typeof e?Y(e,n.params):(0,a.Z)({},e,{pathname:Y(e.pathname,n.params)}):e);return c?(u(s),null):i().createElement(J,{onMount:function(){u(s)},onUpdate:function(t,n){var e,r,o=y(n.to);e=o,r=(0,a.Z)({},s,{key:o.key}),e.pathname===r.pathname&&e.search===r.search&&e.hash===r.hash&&e.key===r.key&&f(e.state,r.state)||u(s)},to:e})}))}var nt={},et=0;function rt(t,n){void 0===n&&(n={}),("string"==typeof n||Array.isArray(n))&&(n={path:n});var e=n,r=e.path,o=e.exact,i=void 0!==o&&o,a=e.strict,c=void 0!==a&&a,u=e.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(n,e){if(!e&&""!==e)return null;if(n)return n;var r=function(t,n){var e=""+n.end+n.strict+n.sensitive,r=nt[e]||(nt[e]={});if(r[t])return r[t];var o=[],i={regexp:B()(t,o,n),keys:o};return et<1e4&&(r[t]=i,et++),i}(e,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var f=u[0],l=u.slice(1),p=t===f;return i&&!p?null:{path:e,url:"/"===e&&""===f?"/":f,isExact:p,params:a.reduce((function(t,n,e){return t[n.name]=l[e],t}),{})}}),null)}var ot=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this;return i().createElement(K.Consumer,null,(function(n){n||l(!1);var e=t.props.location||n.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?rt(e.pathname,t.props):n.match,o=(0,a.Z)({},n,{location:e,match:r}),c=t.props,u=c.children,s=c.component,f=c.render;return Array.isArray(u)&&function(t){return 0===i().Children.count(t)}(u)&&(u=null),i().createElement(K.Provider,{value:o},o.match?u?"function"==typeof u?u(o):u:s?i().createElement(s,o):f?f(o):null:"function"==typeof u?u(o):null)}))},n}(i().Component);function it(t){return"/"===t.charAt(0)?t:"/"+t}function at(t,n){if(!t)return n;var e=it(t);return 0!==n.pathname.indexOf(e)?n:(0,a.Z)({},n,{pathname:n.pathname.substr(e.length)})}function ct(t){return"string"==typeof t?t:m(t)}function ut(t){return function(){l(!1)}}function st(){}var ft=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).handlePush=function(t){return n.navigateTo(t,"PUSH")},n.handleReplace=function(t){return n.navigateTo(t,"REPLACE")},n.handleListen=function(){return st},n.handleBlock=function(){return st},n}(0,r.Z)(n,t);var e=n.prototype;return e.navigateTo=function(t,n){var e=this.props,r=e.basename,o=void 0===r?"":r,i=e.context,c=void 0===i?{}:i;c.action=n,c.location=function(t,n){return t?(0,a.Z)({},n,{pathname:it(t)+n.pathname}):n}(o,y(t)),c.url=ct(c.location)},e.render=function(){var t=this.props,n=t.basename,e=void 0===n?"":n,r=t.context,o=void 0===r?{}:r,c=t.location,u=void 0===c?"/":c,s=(0,H.Z)(t,["basename","context","location"]),f={createHref:function(t){return it(e+ct(t))},action:"POP",location:at(e,y(u)),push:this.handlePush,replace:this.handleReplace,go:ut(),goBack:ut(),goForward:ut(),listen:this.handleListen,block:this.handleBlock};return i().createElement(q,(0,a.Z)({},s,{history:f,staticContext:o}))},n}(i().Component),lt=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this;return i().createElement(K.Consumer,null,(function(n){n||l(!1);var e,r,o=t.props.location||n.location;return i().Children.forEach(t.props.children,(function(t){if(null==r&&i().isValidElement(t)){e=t;var c=t.props.path||t.props.from;r=c?rt(o.pathname,(0,a.Z)({},t.props,{path:c})):n.match}})),r?i().cloneElement(e,{location:o,computedMatch:r}):null}))},n}(i().Component);function pt(t){var n="withRouter("+(t.displayName||t.name)+")",e=function(n){var e=n.wrappedComponentRef,r=(0,H.Z)(n,["wrappedComponentRef"]);return i().createElement(K.Consumer,null,(function(n){return n||l(!1),i().createElement(t,(0,a.Z)({},r,n,{ref:e}))}))};return e.displayName=n,e.WrappedComponent=t,D()(e,t)}var ht=i().useContext;function dt(){return ht(V)}function vt(){return ht(K).location}function mt(){var t=ht(K).match;return t?t.params:{}}function yt(t){var n=vt(),e=ht(K).match;return t?rt(n.pathname,t):e}var gt=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=C(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),wt=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=T(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),xt=function(t,n){return"function"==typeof t?t(n):t},bt=function(t,n){return"string"==typeof t?y(t,null,null,n):t},Pt=function(t){return t},Et=i().forwardRef;void 0===Et&&(Et=Pt);var Ct=Et((function(t,n){var e=t.innerRef,r=t.navigate,o=t.onClick,c=(0,H.Z)(t,["innerRef","navigate","onClick"]),u=c.target,s=(0,a.Z)({},c,{onClick:function(t){try{o&&o(t)}catch(n){throw t.preventDefault(),n}t.defaultPrevented||0!==t.button||u&&"_self"!==u||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return s.ref=Pt!==Et&&n||e,i().createElement("a",s)})),Ot=Et((function(t,n){var e=t.component,r=void 0===e?Ct:e,o=t.replace,c=t.to,u=t.innerRef,s=(0,H.Z)(t,["component","replace","to","innerRef"]);return i().createElement(K.Consumer,null,(function(t){t||l(!1);var e=t.history,f=bt(xt(c,t.location),t.location),p=f?e.createHref(f):"",h=(0,a.Z)({},s,{href:p,navigate:function(){var n=xt(c,t.location),r=m(t.location)===m(bt(n));(o||r?e.replace:e.push)(n)}});return Pt!==Et?h.ref=n||u:h.innerRef=u,i().createElement(r,h)}))})),kt=function(t){return t},Rt=i().forwardRef;void 0===Rt&&(Rt=kt);var St=Rt((function(t,n){var e=t["aria-current"],r=void 0===e?"page":e,o=t.activeClassName,c=void 0===o?"active":o,u=t.activeStyle,s=t.className,f=t.exact,p=t.isActive,h=t.location,d=t.sensitive,v=t.strict,m=t.style,y=t.to,g=t.innerRef,w=(0,H.Z)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(K.Consumer,null,(function(t){t||l(!1);var e=h||t.location,o=bt(xt(y,e),e),x=o.pathname,b=x&&x.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=b?rt(e.pathname,{path:b,exact:f,sensitive:d,strict:v}):null,E=!!(p?p(P,e):P),C="function"==typeof s?s(E):s,O="function"==typeof m?m(E):m;E&&(C=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.filter((function(t){return t})).join(" ")}(C,c),O=(0,a.Z)({},O,u));var k=(0,a.Z)({"aria-current":E&&r||null,className:C,style:O,to:o},w);return kt!==Rt?k.ref=n||g:k.innerRef=g,i().createElement(Ot,k)}))}))},9547:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},2816:(t,n,e)=>{var r=e(9547);t.exports=function t(n,e,o){return r(e)||(o=e||o,e=[]),o=o||{},n instanceof RegExp?function(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,n)}(n,e):r(n)?function(n,e,r){for(var o=[],i=0;i<n.length;i++)o.push(t(n[i],e,r).source);return f(new RegExp("(?:"+o.join("|")+")",l(r)),e)}(n,e,o):function(t,n,e){return p(i(t,e),n,e)}(n,e,o)},t.exports.parse=i,t.exports.compile=function(t,n){return c(i(t,n),n)},t.exports.tokensToFunction=c,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,n){for(var e,r=[],i=0,a=0,c="",f=n&&n.delimiter||"/";null!=(e=o.exec(t));){var l=e[0],p=e[1],h=e.index;if(c+=t.slice(a,h),a=h+l.length,p)c+=p[1];else{var d=t[a],v=e[2],m=e[3],y=e[4],g=e[5],w=e[6],x=e[7];c&&(r.push(c),c="");var b=null!=v&&null!=d&&d!==v,P="+"===w||"*"===w,E="?"===w||"*"===w,C=e[2]||f,O=y||g;r.push({name:m||i++,prefix:v||"",delimiter:C,optional:E,repeat:P,partial:b,asterisk:!!x,pattern:O?s(O):x?".*":"[^"+u(C)+"]+?"})}}return a<t.length&&(c+=t.substr(a)),c&&r.push(c),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function c(t,n){for(var e=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(e[o]=new RegExp("^(?:"+t[o].pattern+")$",l(n)));return function(n,o){for(var i="",c=n||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<t.length;s++){var f=t[s];if("string"!=typeof f){var l,p=c[f.name];if(null==p){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(l=u(p[h]),!e[s].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(p),!e[s].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');i+=f.prefix+l}}else i+=f}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,n){return t.keys=n,t}function l(t){return t&&t.sensitive?"":"i"}function p(t,n,e){r(n)||(e=n||e,n=[]);for(var o=(e=e||{}).strict,i=!1!==e.end,a="",c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";n.push(s),s.repeat&&(h+="(?:"+p+h+")*"),a+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(e.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",f(new RegExp("^"+a,l(e)),n)}},11:(t,n,e)=>{"use strict";function r(){return r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},r.apply(this,arguments)}e.d(n,{Z:()=>r})},3974:(t,n,e)=>{"use strict";function r(t,n){return r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},r(t,n)}function o(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n)}e.d(n,{Z:()=>o})},6017:(t,n,e)=>{"use strict";function r(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}e.d(n,{Z:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=393.js.map
|
|
2
|
+
(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[393],{6058:(t,n,e)=>{"use strict";var r=e(2594),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(t){return r.isMemo(t)?a:c[t.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var s=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(n,e,r){if("string"!=typeof e){if(d){var o=h(e);o&&o!==d&&t(n,o,r)}var a=f(e);l&&(a=a.concat(l(e)));for(var c=u(n),v=u(e),m=0;m<a.length;++m){var y=a[m];if(!(i[y]||r&&r[y]||v&&v[y]||c&&c[y])){var g=p(e,y);try{s(n,y,g)}catch(t){}}}}return n}},6697:(t,n)=>{"use strict";var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var n=t.$$typeof;switch(n){case r:switch(t=t.type){case f:case l:case i:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case s:case p:case m:case v:case u:return t;default:return n}}case o:return n}}}function P(t){return b(t)===l}n.AsyncMode=f,n.ConcurrentMode=l,n.ContextConsumer=s,n.ContextProvider=u,n.Element=r,n.ForwardRef=p,n.Fragment=i,n.Lazy=m,n.Memo=v,n.Portal=o,n.Profiler=c,n.StrictMode=a,n.Suspense=h,n.isAsyncMode=function(t){return P(t)||b(t)===f},n.isConcurrentMode=P,n.isContextConsumer=function(t){return b(t)===s},n.isContextProvider=function(t){return b(t)===u},n.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},n.isForwardRef=function(t){return b(t)===p},n.isFragment=function(t){return b(t)===i},n.isLazy=function(t){return b(t)===m},n.isMemo=function(t){return b(t)===v},n.isPortal=function(t){return b(t)===o},n.isProfiler=function(t){return b(t)===c},n.isStrictMode=function(t){return b(t)===a},n.isSuspense=function(t){return b(t)===h},n.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===l||t===c||t===a||t===h||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===v||t.$$typeof===u||t.$$typeof===s||t.$$typeof===p||t.$$typeof===g||t.$$typeof===w||t.$$typeof===x||t.$$typeof===y)},n.typeOf=b},2594:(t,n,e)=>{"use strict";t.exports=e(6697)},7393:(t,n,e)=>{"use strict";e.r(n),e.d(n,{BrowserRouter:()=>gt,HashRouter:()=>wt,Link:()=>Ot,MemoryRouter:()=>z,NavLink:()=>St,Prompt:()=>G,Redirect:()=>tt,Route:()=>ot,Router:()=>q,StaticRouter:()=>ft,Switch:()=>lt,generatePath:()=>Y,matchPath:()=>rt,useHistory:()=>dt,useLocation:()=>vt,useParams:()=>mt,useRouteMatch:()=>yt,withRouter:()=>pt});var r=e(3974),o=e(6983),i=e.n(o),a=e(11);function c(t){return"/"===t.charAt(0)}function u(t,n){for(var e=n,r=e+1,o=t.length;r<o;e+=1,r+=1)t[e]=t[r];t.pop()}function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const f=function t(n,e){if(n===e)return!0;if(null==n||null==e)return!1;if(Array.isArray(n))return Array.isArray(e)&&n.length===e.length&&n.every((function(n,r){return t(n,e[r])}));if("object"==typeof n||"object"==typeof e){var r=s(n),o=s(e);return r!==n||o!==e?t(r,o):Object.keys(Object.assign({},n,e)).every((function(r){return t(n[r],e[r])}))}return!1};function l(t,n){if(!t)throw new Error("Invariant failed")}function p(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function d(t,n){return function(t,n){return 0===t.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(n.length))}(t,n)?t.substr(n.length):t}function v(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function m(t){var n=t.pathname,e=t.search,r=t.hash,o=n||"/";return e&&"?"!==e&&(o+="?"===e.charAt(0)?e:"?"+e),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(t,n,e,r){var o;"string"==typeof t?(o=function(t){var n=t||"/",e="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var i=n.indexOf("?");return-1!==i&&(e=n.substr(i),n=n.substr(0,i)),{pathname:n,search:"?"===e?"":e,hash:"#"===r?"":r}}(t),o.state=n):(void 0===(o=(0,a.Z)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==n&&void 0===o.state&&(o.state=n));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return e&&(o.key=e),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(t,n){void 0===n&&(n="");var e,r=t&&t.split("/")||[],o=n&&n.split("/")||[],i=t&&c(t),a=n&&c(n),s=i||a;if(t&&c(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var f=o[o.length-1];e="."===f||".."===f||""===f}else e=!1;for(var l=0,p=o.length;p>=0;p--){var h=o[p];"."===h?u(o,p):".."===h?(u(o,p),l++):l&&(u(o,p),l--)}if(!s)for(;l--;l)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var d=o.join("/");return e&&"/"!==d.substr(-1)&&(d+="/"),d}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function g(){var t=null,n=[];return{setPrompt:function(n){return t=n,function(){t===n&&(t=null)}},confirmTransitionTo:function(n,e,r,o){if(null!=t){var i="function"==typeof t?t(n,e):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var e=!0;function r(){e&&t.apply(void 0,arguments)}return n.push(r),function(){e=!1,n=n.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.forEach((function(t){return t.apply(void 0,e)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function x(t,n){n(window.confirm(t))}var b="popstate",P="hashchange";function E(){try{return window.history.state||{}}catch(t){return{}}}function C(t){void 0===t&&(t={}),w||l(!1);var n,e=window.history,r=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t,c=i.forceRefresh,u=void 0!==c&&c,s=i.getUserConfirmation,f=void 0===s?x:s,h=i.keyLength,C=void 0===h?6:h,O=t.basename?v(p(t.basename)):"";function k(t){var n=t||{},e=n.key,r=n.state,o=window.location,i=o.pathname+o.search+o.hash;return O&&(i=d(i,O)),y(i,r,e)}function R(){return Math.random().toString(36).substr(2,C)}var S=g();function A(t){(0,a.Z)(H,t),H.length=e.length,S.notifyListeners(H.location,H.action)}function T(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||L(k(t.state))}function $(){L(k(E()))}var _=!1;function L(t){_?(_=!1,A()):S.confirmTransitionTo(t,"POP",f,(function(n){n?A({action:"POP",location:t}):function(t){var n=H.location,e=Z.indexOf(n.key);-1===e&&(e=0);var r=Z.indexOf(t.key);-1===r&&(r=0);var o=e-r;o&&(_=!0,j(o))}(t)}))}var M=k(E()),Z=[M.key];function U(t){return O+m(t)}function j(t){e.go(t)}var N=0;function F(t){1===(N+=t)&&1===t?(window.addEventListener(b,T),o&&window.addEventListener(P,$)):0===N&&(window.removeEventListener(b,T),o&&window.removeEventListener(P,$))}var B=!1,H={length:e.length,action:"POP",location:M,createHref:U,push:function(t,n){var o="PUSH",i=y(t,n,R(),H.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=U(i),a=i.key,c=i.state;if(r)if(e.pushState({key:a,state:c},null,n),u)window.location.href=n;else{var s=Z.indexOf(H.location.key),f=Z.slice(0,s+1);f.push(i.key),Z=f,A({action:o,location:i})}else window.location.href=n}}))},replace:function(t,n){var o="REPLACE",i=y(t,n,R(),H.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=U(i),a=i.key,c=i.state;if(r)if(e.replaceState({key:a,state:c},null,n),u)window.location.replace(n);else{var s=Z.indexOf(H.location.key);-1!==s&&(Z[s]=i.key),A({action:o,location:i})}else window.location.replace(n)}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var n=S.setPrompt(t);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),n()}},listen:function(t){var n=S.appendListener(t);return F(1),function(){F(-1),n()}}};return H}var O="hashchange",k={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+h(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:h,decodePath:p},slash:{encodePath:p,decodePath:p}};function R(t){var n=t.indexOf("#");return-1===n?t:t.slice(0,n)}function S(){var t=window.location.href,n=t.indexOf("#");return-1===n?"":t.substring(n+1)}function A(t){window.location.replace(R(window.location.href)+"#"+t)}function T(t){void 0===t&&(t={}),w||l(!1);var n=window.history,e=(window.navigator.userAgent.indexOf("Firefox"),t),r=e.getUserConfirmation,o=void 0===r?x:r,i=e.hashType,c=void 0===i?"slash":i,u=t.basename?v(p(t.basename)):"",s=k[c],f=s.encodePath,h=s.decodePath;function b(){var t=h(S());return u&&(t=d(t,u)),y(t)}var P=g();function E(t){(0,a.Z)(B,t),B.length=n.length,P.notifyListeners(B.location,B.action)}var C=!1,T=null;function $(){var t,n,e=S(),r=f(e);if(e!==r)A(r);else{var i=b(),a=B.location;if(!C&&(n=i,(t=a).pathname===n.pathname&&t.search===n.search&&t.hash===n.hash))return;if(T===m(i))return;T=null,function(t){if(C)C=!1,E();else{P.confirmTransitionTo(t,"POP",o,(function(n){n?E({action:"POP",location:t}):function(t){var n=B.location,e=Z.lastIndexOf(m(n));-1===e&&(e=0);var r=Z.lastIndexOf(m(t));-1===r&&(r=0);var o=e-r;o&&(C=!0,U(o))}(t)}))}}(i)}}var _=S(),L=f(_);_!==L&&A(L);var M=b(),Z=[m(M)];function U(t){n.go(t)}var j=0;function N(t){1===(j+=t)&&1===t?window.addEventListener(O,$):0===j&&window.removeEventListener(O,$)}var F=!1,B={length:n.length,action:"POP",location:M,createHref:function(t){var n=document.querySelector("base"),e="";return n&&n.getAttribute("href")&&(e=R(window.location.href)),e+"#"+f(u+m(t))},push:function(t,n){var e="PUSH",r=y(t,void 0,void 0,B.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);if(S()!==o){T=n,function(t){window.location.hash=t}(o);var i=Z.lastIndexOf(m(B.location)),a=Z.slice(0,i+1);a.push(n),Z=a,E({action:e,location:r})}else E()}}))},replace:function(t,n){var e="REPLACE",r=y(t,void 0,void 0,B.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);S()!==o&&(T=n,A(o));var i=Z.indexOf(m(B.location));-1!==i&&(Z[i]=n),E({action:e,location:r})}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(t){void 0===t&&(t=!1);var n=P.setPrompt(t);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),n()}},listen:function(t){var n=P.appendListener(t);return N(1),function(){N(-1),n()}}};return B}function $(t,n,e){return Math.min(Math.max(t,n),e)}function _(t){void 0===t&&(t={});var n=t,e=n.getUserConfirmation,r=n.initialEntries,o=void 0===r?["/"]:r,i=n.initialIndex,c=void 0===i?0:i,u=n.keyLength,s=void 0===u?6:u,f=g();function l(t){(0,a.Z)(x,t),x.length=x.entries.length,f.notifyListeners(x.location,x.action)}function p(){return Math.random().toString(36).substr(2,s)}var h=$(c,0,o.length-1),d=o.map((function(t){return y(t,void 0,"string"==typeof t?p():t.key||p())})),v=m;function w(t){var n=$(x.index+t,0,x.entries.length-1),r=x.entries[n];f.confirmTransitionTo(r,"POP",e,(function(t){t?l({action:"POP",location:r,index:n}):l()}))}var x={length:d.length,action:"POP",location:d[h],index:h,entries:d,createHref:v,push:function(t,n){var r="PUSH",o=y(t,n,p(),x.location);f.confirmTransitionTo(o,r,e,(function(t){if(t){var n=x.index+1,e=x.entries.slice(0);e.length>n?e.splice(n,e.length-n,o):e.push(o),l({action:r,location:o,index:n,entries:e})}}))},replace:function(t,n){var r="REPLACE",o=y(t,n,p(),x.location);f.confirmTransitionTo(o,r,e,(function(t){t&&(x.entries[x.index]=o,l({action:r,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var n=x.index+t;return n>=0&&n<x.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return x}var L=e(216),M=e.n(L),Z=1073741823,U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:{};function j(t){var n=[];return{on:function(t){n.push(t)},off:function(t){n=n.filter((function(n){return n!==t}))},get:function(){return t},set:function(e,r){t=e,n.forEach((function(n){return n(t,r)}))}}}const N=i().createContext||function(t,n){var e,i,a,c="__create-react-context-"+((U[a="__global_unique_id__"]=(U[a]||0)+1)+"__"),u=function(t){function e(){var n;return(n=t.apply(this,arguments)||this).emitter=j(n.props.value),n}(0,r.Z)(e,t);var o=e.prototype;return o.getChildContext=function(){var t;return(t={})[c]=this.emitter,t},o.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var e,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?e=0:(e="function"==typeof n?n(r,o):Z,0!=(e|=0)&&this.emitter.set(t.value,e))}var i,a},o.render=function(){return this.props.children},e}(o.Component);u.childContextTypes=((e={})[c]=M().object.isRequired,e);var s=function(n){function e(){var t;return(t=n.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(n,e){0!=((0|t.observedBits)&e)&&t.setState({value:t.getValue()})},t}(0,r.Z)(e,n);var o=e.prototype;return o.componentWillReceiveProps=function(t){var n=t.observedBits;this.observedBits=null==n?Z:n},o.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?Z:t},o.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},o.getValue=function(){return this.context[c]?this.context[c].get():t},o.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},e}(o.Component);return s.contextTypes=((i={})[c]=M().object,i),{Provider:u,Consumer:s}};var F=e(2816),B=e.n(F),H=(e(2594),e(3573)),I=e(6058),D=e.n(I),W=function(t){var n=N();return n.displayName=t,n},V=W("Router-History"),K=W("Router"),q=function(t){function n(n){var e;return(e=t.call(this,n)||this).state={location:n.history.location},e._isMounted=!1,e._pendingLocation=null,n.staticContext||(e.unlisten=n.history.listen((function(t){e._isMounted?e.setState({location:t}):e._pendingLocation=t}))),e}(0,r.Z)(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var e=n.prototype;return e.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},e.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},e.render=function(){return i().createElement(K.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(V.Provider,{children:this.props.children||null,value:this.props.history}))},n}(i().Component),z=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=_(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),J=function(t){function n(){return t.apply(this,arguments)||this}(0,r.Z)(n,t);var e=n.prototype;return e.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},e.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},e.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},e.render=function(){return null},n}(i().Component);function G(t){var n=t.message,e=t.when,r=void 0===e||e;return i().createElement(K.Consumer,null,(function(t){if(t||l(!1),!r||t.staticContext)return null;var e=t.history.block;return i().createElement(J,{onMount:function(t){t.release=e(n)},onUpdate:function(t,r){r.message!==n&&(t.release(),t.release=e(n))},onUnmount:function(t){t.release()},message:n})}))}var Q={},X=0;function Y(t,n){return void 0===t&&(t="/"),void 0===n&&(n={}),"/"===t?t:function(t){if(Q[t])return Q[t];var n=B().compile(t);return X<1e4&&(Q[t]=n,X++),n}(t)(n,{pretty:!0})}function tt(t){var n=t.computedMatch,e=t.to,r=t.push,o=void 0!==r&&r;return i().createElement(K.Consumer,null,(function(t){t||l(!1);var r=t.history,c=t.staticContext,u=o?r.push:r.replace,s=y(n?"string"==typeof e?Y(e,n.params):(0,a.Z)({},e,{pathname:Y(e.pathname,n.params)}):e);return c?(u(s),null):i().createElement(J,{onMount:function(){u(s)},onUpdate:function(t,n){var e,r,o=y(n.to);e=o,r=(0,a.Z)({},s,{key:o.key}),e.pathname===r.pathname&&e.search===r.search&&e.hash===r.hash&&e.key===r.key&&f(e.state,r.state)||u(s)},to:e})}))}var nt={},et=0;function rt(t,n){void 0===n&&(n={}),("string"==typeof n||Array.isArray(n))&&(n={path:n});var e=n,r=e.path,o=e.exact,i=void 0!==o&&o,a=e.strict,c=void 0!==a&&a,u=e.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(n,e){if(!e&&""!==e)return null;if(n)return n;var r=function(t,n){var e=""+n.end+n.strict+n.sensitive,r=nt[e]||(nt[e]={});if(r[t])return r[t];var o=[],i={regexp:B()(t,o,n),keys:o};return et<1e4&&(r[t]=i,et++),i}(e,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var f=u[0],l=u.slice(1),p=t===f;return i&&!p?null:{path:e,url:"/"===e&&""===f?"/":f,isExact:p,params:a.reduce((function(t,n,e){return t[n.name]=l[e],t}),{})}}),null)}var ot=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this;return i().createElement(K.Consumer,null,(function(n){n||l(!1);var e=t.props.location||n.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?rt(e.pathname,t.props):n.match,o=(0,a.Z)({},n,{location:e,match:r}),c=t.props,u=c.children,s=c.component,f=c.render;return Array.isArray(u)&&function(t){return 0===i().Children.count(t)}(u)&&(u=null),i().createElement(K.Provider,{value:o},o.match?u?"function"==typeof u?u(o):u:s?i().createElement(s,o):f?f(o):null:"function"==typeof u?u(o):null)}))},n}(i().Component);function it(t){return"/"===t.charAt(0)?t:"/"+t}function at(t,n){if(!t)return n;var e=it(t);return 0!==n.pathname.indexOf(e)?n:(0,a.Z)({},n,{pathname:n.pathname.substr(e.length)})}function ct(t){return"string"==typeof t?t:m(t)}function ut(t){return function(){l(!1)}}function st(){}var ft=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).handlePush=function(t){return n.navigateTo(t,"PUSH")},n.handleReplace=function(t){return n.navigateTo(t,"REPLACE")},n.handleListen=function(){return st},n.handleBlock=function(){return st},n}(0,r.Z)(n,t);var e=n.prototype;return e.navigateTo=function(t,n){var e=this.props,r=e.basename,o=void 0===r?"":r,i=e.context,c=void 0===i?{}:i;c.action=n,c.location=function(t,n){return t?(0,a.Z)({},n,{pathname:it(t)+n.pathname}):n}(o,y(t)),c.url=ct(c.location)},e.render=function(){var t=this.props,n=t.basename,e=void 0===n?"":n,r=t.context,o=void 0===r?{}:r,c=t.location,u=void 0===c?"/":c,s=(0,H.Z)(t,["basename","context","location"]),f={createHref:function(t){return it(e+ct(t))},action:"POP",location:at(e,y(u)),push:this.handlePush,replace:this.handleReplace,go:ut(),goBack:ut(),goForward:ut(),listen:this.handleListen,block:this.handleBlock};return i().createElement(q,(0,a.Z)({},s,{history:f,staticContext:o}))},n}(i().Component),lt=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this;return i().createElement(K.Consumer,null,(function(n){n||l(!1);var e,r,o=t.props.location||n.location;return i().Children.forEach(t.props.children,(function(t){if(null==r&&i().isValidElement(t)){e=t;var c=t.props.path||t.props.from;r=c?rt(o.pathname,(0,a.Z)({},t.props,{path:c})):n.match}})),r?i().cloneElement(e,{location:o,computedMatch:r}):null}))},n}(i().Component);function pt(t){var n="withRouter("+(t.displayName||t.name)+")",e=function(n){var e=n.wrappedComponentRef,r=(0,H.Z)(n,["wrappedComponentRef"]);return i().createElement(K.Consumer,null,(function(n){return n||l(!1),i().createElement(t,(0,a.Z)({},r,n,{ref:e}))}))};return e.displayName=n,e.WrappedComponent=t,D()(e,t)}var ht=i().useContext;function dt(){return ht(V)}function vt(){return ht(K).location}function mt(){var t=ht(K).match;return t?t.params:{}}function yt(t){var n=vt(),e=ht(K).match;return t?rt(n.pathname,t):e}var gt=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=C(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),wt=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).history=T(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(q,{history:this.history,children:this.props.children})},n}(i().Component),xt=function(t,n){return"function"==typeof t?t(n):t},bt=function(t,n){return"string"==typeof t?y(t,null,null,n):t},Pt=function(t){return t},Et=i().forwardRef;void 0===Et&&(Et=Pt);var Ct=Et((function(t,n){var e=t.innerRef,r=t.navigate,o=t.onClick,c=(0,H.Z)(t,["innerRef","navigate","onClick"]),u=c.target,s=(0,a.Z)({},c,{onClick:function(t){try{o&&o(t)}catch(n){throw t.preventDefault(),n}t.defaultPrevented||0!==t.button||u&&"_self"!==u||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return s.ref=Pt!==Et&&n||e,i().createElement("a",s)})),Ot=Et((function(t,n){var e=t.component,r=void 0===e?Ct:e,o=t.replace,c=t.to,u=t.innerRef,s=(0,H.Z)(t,["component","replace","to","innerRef"]);return i().createElement(K.Consumer,null,(function(t){t||l(!1);var e=t.history,f=bt(xt(c,t.location),t.location),p=f?e.createHref(f):"",h=(0,a.Z)({},s,{href:p,navigate:function(){var n=xt(c,t.location),r=m(t.location)===m(bt(n));(o||r?e.replace:e.push)(n)}});return Pt!==Et?h.ref=n||u:h.innerRef=u,i().createElement(r,h)}))})),kt=function(t){return t},Rt=i().forwardRef;void 0===Rt&&(Rt=kt);var St=Rt((function(t,n){var e=t["aria-current"],r=void 0===e?"page":e,o=t.activeClassName,c=void 0===o?"active":o,u=t.activeStyle,s=t.className,f=t.exact,p=t.isActive,h=t.location,d=t.sensitive,v=t.strict,m=t.style,y=t.to,g=t.innerRef,w=(0,H.Z)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(K.Consumer,null,(function(t){t||l(!1);var e=h||t.location,o=bt(xt(y,e),e),x=o.pathname,b=x&&x.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=b?rt(e.pathname,{path:b,exact:f,sensitive:d,strict:v}):null,E=!!(p?p(P,e):P),C="function"==typeof s?s(E):s,O="function"==typeof m?m(E):m;E&&(C=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.filter((function(t){return t})).join(" ")}(C,c),O=(0,a.Z)({},O,u));var k=(0,a.Z)({"aria-current":E&&r||null,className:C,style:O,to:o},w);return kt!==Rt?k.ref=n||g:k.innerRef=g,i().createElement(Ot,k)}))}))},9547:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},2816:(t,n,e)=>{var r=e(9547);t.exports=function t(n,e,o){return r(e)||(o=e||o,e=[]),o=o||{},n instanceof RegExp?function(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,n)}(n,e):r(n)?function(n,e,r){for(var o=[],i=0;i<n.length;i++)o.push(t(n[i],e,r).source);return f(new RegExp("(?:"+o.join("|")+")",l(r)),e)}(n,e,o):function(t,n,e){return p(i(t,e),n,e)}(n,e,o)},t.exports.parse=i,t.exports.compile=function(t,n){return c(i(t,n),n)},t.exports.tokensToFunction=c,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,n){for(var e,r=[],i=0,a=0,c="",f=n&&n.delimiter||"/";null!=(e=o.exec(t));){var l=e[0],p=e[1],h=e.index;if(c+=t.slice(a,h),a=h+l.length,p)c+=p[1];else{var d=t[a],v=e[2],m=e[3],y=e[4],g=e[5],w=e[6],x=e[7];c&&(r.push(c),c="");var b=null!=v&&null!=d&&d!==v,P="+"===w||"*"===w,E="?"===w||"*"===w,C=e[2]||f,O=y||g;r.push({name:m||i++,prefix:v||"",delimiter:C,optional:E,repeat:P,partial:b,asterisk:!!x,pattern:O?s(O):x?".*":"[^"+u(C)+"]+?"})}}return a<t.length&&(c+=t.substr(a)),c&&r.push(c),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function c(t,n){for(var e=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(e[o]=new RegExp("^(?:"+t[o].pattern+")$",l(n)));return function(n,o){for(var i="",c=n||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<t.length;s++){var f=t[s];if("string"!=typeof f){var l,p=c[f.name];if(null==p){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(l=u(p[h]),!e[s].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(p),!e[s].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');i+=f.prefix+l}}else i+=f}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,n){return t.keys=n,t}function l(t){return t&&t.sensitive?"":"i"}function p(t,n,e){r(n)||(e=n||e,n=[]);for(var o=(e=e||{}).strict,i=!1!==e.end,a="",c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";n.push(s),s.repeat&&(h+="(?:"+p+h+")*"),a+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(e.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",f(new RegExp("^"+a,l(e)),n)}},11:(t,n,e)=>{"use strict";function r(){return r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},r.apply(this,arguments)}e.d(n,{Z:()=>r})},3974:(t,n,e)=>{"use strict";function r(t,n){return r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},r(t,n)}function o(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n)}e.d(n,{Z:()=>o})},3573:(t,n,e)=>{"use strict";function r(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}e.d(n,{Z:()=>r})}}]);
|
package/dist/406.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[406],{3493:(e,n,t)=>{t.d(n,{Z:()=>p});var i=t(9233),r=t.n(i),a=t(361),o=t.n(a)()(r());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-login__logout__productiveHeading01___g3GJQ,.-esm-login__logout__logout___fmll0{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}.-esm-login__logout__productiveHeading02___dZKu1{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}.-esm-login__logout__productiveHeading03___Nej8R{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}.-esm-login__logout__productiveHeading04___mGDJ3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}.-esm-login__logout__productiveHeading05___KZTOl{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}.-esm-login__logout__productiveHeading06___GtCjd{font-size:2rem;font-weight:300;line-height:1.199;letter-spacing:0}.-esm-login__logout__bodyShort01___9dLxj{font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px}.-esm-login__logout__bodyShort02___6YtfH{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0}.-esm-login__logout__bodyLong01___J1rHz{font-size:.875rem;font-weight:400;line-height:1.43;letter-spacing:.16px}.-esm-login__logout__bodyLong02___RCybS{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}.-esm-login__logout__label01___DNCyx{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__caption01___xMdj2{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__helperText01___mif0u{font-size:.75rem;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__text01___49o6H{color:#161616}.-esm-login__logout__text02___4Txjj{color:#525252}.-esm-login__logout__logout___fmll0{padding-right:0rem;background-color:#004144;background-color:var(--brand-02);width:16rem}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../../node_modules/carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss","webpack://./../../../node_modules/carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/themes/generated/_mixins.scss","webpack://./src/logout/logout.scss"],names:[],mappings:"AAyCA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCtCF,qFCygBI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CD1rB1B,iDCqgBI,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CDtrB1B,iDCigBI,iBAqLsB,CArLtB,eAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CDlrB1B,iDC6fI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,gBAqLsB,CD9qB1B,iDCyfI,cAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,gBAqLsB,CD1qB1B,iDCqfI,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CDtqB1B,yCCifI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CDlqB1B,yCC6eI,cAqLsB,CArLtB,eAqLsB,CArLtB,iBAqLsB,CArLtB,gBAqLsB,CD9pB1B,wCCyeI,iBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CD1pB1B,wCCqeI,cAqLsB,CArLtB,eAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CDtpB1B,qCCieI,gBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CDlpB1B,uCC6dI,gBAqLsB,CArLtB,eAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CD9oB1B,0CCydI,gBAqLsB,CArLtB,gBAqLsB,CArLtB,oBAqLsB,CD1oB1B,oCACE,aETU,CFYZ,oCACE,aEZU,CCjDZ,oCACE,kBAAA,CJ6BA,wBAAA,CACA,gCAAA,CI3BA,WAAA",sourcesContent:["$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@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}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1200px;\n$breakpoint-desktop-min: 1201px;\n$breakpoint-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",'@import "~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/type/styles";\n@import "~carbon-components/src/globals/scss/vendor/@carbon/layout/scss/generated/spacing";\n@import "~carbon-components/src/globals/scss/vendor/@carbon/layout/scss/generated/layout";\n@import "~@openmrs/esm-styleguide/src/vars";\n@import "carbon-components/scss/globals/scss/typography.scss";\n\n.productiveHeading01 {\n @include carbon--type-style("productive-heading-01");\n}\n\n.productiveHeading02 {\n @include carbon--type-style("productive-heading-02");\n}\n\n.productiveHeading03 {\n @include carbon--type-style("productive-heading-03");\n}\n\n.productiveHeading04 {\n @include carbon--type-style("productive-heading-04");\n}\n\n.productiveHeading05 {\n @include carbon--type-style("productive-heading-05");\n}\n\n.productiveHeading06 {\n @include carbon--type-style("productive-heading-06");\n}\n\n.bodyShort01 {\n @include carbon--type-style("body-short-01");\n}\n\n.bodyShort02 {\n @include carbon--type-style("body-short-02");\n}\n\n.bodyLong01 {\n @include carbon--type-style("body-long-01");\n}\n\n.bodyLong02 {\n @include carbon--type-style("body-long-02");\n}\n\n.label01 {\n @include carbon--type-style("label-01");\n}\n\n.caption01 {\n @include carbon--type-style("caption-01");\n}\n\n.helperText01 {\n @include carbon--type-style("helper-text-01");\n}\n\n.text01 {\n color: $text-01;\n}\n\n.text02 {\n color: $text-02;\n}\n',"//\n// Copyright IBM Corp. 2018, 2018\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@import '../layout/breakpoint';\n@import 'font-family';\n@import 'scale';\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$caption-01: (\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$helper-text-01: (\n font-size: carbon--type-scale(1),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.43,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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-long-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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$code-01: (\n font-family: carbon--font-family('mono'),\n font-size: carbon--type-scale(1),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.34,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: carbon--font-family('mono'),\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.43,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: carbon--type-scale(2),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.29,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: carbon--type-scale(3),\n font-weight: carbon--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$productive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--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$productive-heading-04: (\n font-size: carbon--type-scale(7),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--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$productive-heading-06: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--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$productive-heading-07: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--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$expressive-heading-01: map-merge(\n $heading-01,\n (\n line-height: 1.25,\n )\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: map-merge(\n $heading-02,\n (\n line-height: 1.5,\n )\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: carbon--type-scale(5),\n line-height: 1.25,\n ),\n max: (\n font-size: carbon--type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: carbon--type-scale(7),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.29,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: carbon--type-scale(7),\n line-height: 1.25,\n ),\n max: (\n font-size: carbon--type-scale(8),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n font-weight: carbon--font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: carbon--type-scale(6),\n font-weight: carbon--font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: carbon--type-scale(7),\n line-height: 1.29,\n ),\n max: (\n font-size: carbon--type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-size: carbon--type-scale(5),\n font-weight: carbon--font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(5),\n ),\n lg: (\n font-size: carbon--type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: carbon--type-scale(7),\n line-height: 1.29,\n ),\n max: (\n font-size: carbon--type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-size: carbon--type-scale(8),\n font-weight: carbon--font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: carbon--type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: carbon--type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(10),\n ),\n lg: (\n font-size: carbon--type-scale(12),\n ),\n xlg: (\n font-size: carbon--type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: carbon--type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(10),\n ),\n lg: (\n font-size: carbon--type-scale(12),\n ),\n xlg: (\n font-size: carbon--type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: carbon--type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: carbon--type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: carbon--type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: carbon--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$display-04: (\n font-size: carbon--type-scale(10),\n font-weight: carbon--font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: carbon--type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: carbon--type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: carbon--type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: carbon--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$tokens: (\n caption-01: $caption-01,\n label-01: $label-01,\n helper-text-01: $helper-text-01,\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);\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 $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 [$carbon--grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: $carbon--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 carbon--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 [$carbon--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: $carbon--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: carbon--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: carbon--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$custom-property-prefix: 'cds' !default;\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 [$carbon--grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin carbon--type-style(\n $name,\n $fluid: false,\n $breakpoints: $carbon--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 @if global-variable-exists('feature-flags') and\n map-get($feature-flags, 'enable-css-custom-properties')\n {\n @include custom-properties($name, $token);\n } @else {\n // Otherwise, we just include all the property declarations directly on the\n // selector\n @include properties(map-remove($token, 'breakpoints'));\n }\n }\n}\n","// Code generated by @carbon/themes. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2019\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@import './themes';\n\n/// Define theme variables from a map of tokens\n/// @access public\n/// @param {Map} $theme [$carbon--theme] - Map of theme tokens\n/// @param {Bool} $emit-custom-properties [false] - Output CSS Custom Properties for theme tokens\n/// @content Pass in your custom declaration blocks to be used after the token maps set theming variables.\n///\n/// @example scss\n/// // Default usage\n/// @include carbon--theme();\n///\n/// // Alternate styling (not white theme)\n/// @include carbon--theme($carbon--theme--g90) {\n/// // declarations...\n/// }\n///\n/// // Inline styling\n/// @include carbon--theme($carbon--theme--g90) {\n/// .my-dark-theme {\n/// // declarations...\n/// }\n/// }\n///\n/// @group @carbon/themes\n@mixin carbon--theme(\n $theme: $carbon--theme,\n $emit-custom-properties: false,\n $emit-difference: false\n) {\n $parent-carbon-theme: $carbon--theme;\n $carbon--theme: $theme !global;\n $interactive-01: map-get($theme, 'interactive-01') !global;\n $interactive-02: map-get($theme, 'interactive-02') !global;\n $interactive-03: map-get($theme, 'interactive-03') !global;\n $interactive-04: map-get($theme, 'interactive-04') !global;\n $ui-background: map-get($theme, 'ui-background') !global;\n $ui-01: map-get($theme, 'ui-01') !global;\n $ui-02: map-get($theme, 'ui-02') !global;\n $ui-03: map-get($theme, 'ui-03') !global;\n $ui-04: map-get($theme, 'ui-04') !global;\n $ui-05: map-get($theme, 'ui-05') !global;\n $text-01: map-get($theme, 'text-01') !global;\n $text-02: map-get($theme, 'text-02') !global;\n $text-03: map-get($theme, 'text-03') !global;\n $text-04: map-get($theme, 'text-04') !global;\n $text-05: map-get($theme, 'text-05') !global;\n $text-error: map-get($theme, 'text-error') !global;\n $icon-01: map-get($theme, 'icon-01') !global;\n $icon-02: map-get($theme, 'icon-02') !global;\n $icon-03: map-get($theme, 'icon-03') !global;\n $link-01: map-get($theme, 'link-01') !global;\n $link-02: map-get($theme, 'link-02') !global;\n $inverse-link: map-get($theme, 'inverse-link') !global;\n $field-01: map-get($theme, 'field-01') !global;\n $field-02: map-get($theme, 'field-02') !global;\n $inverse-01: map-get($theme, 'inverse-01') !global;\n $inverse-02: map-get($theme, 'inverse-02') !global;\n $support-01: map-get($theme, 'support-01') !global;\n $support-02: map-get($theme, 'support-02') !global;\n $support-03: map-get($theme, 'support-03') !global;\n $support-04: map-get($theme, 'support-04') !global;\n $inverse-support-01: map-get($theme, 'inverse-support-01') !global;\n $inverse-support-02: map-get($theme, 'inverse-support-02') !global;\n $inverse-support-03: map-get($theme, 'inverse-support-03') !global;\n $inverse-support-04: map-get($theme, 'inverse-support-04') !global;\n $overlay-01: map-get($theme, 'overlay-01') !global;\n $danger-01: map-get($theme, 'danger-01') !global;\n $danger-02: map-get($theme, 'danger-02') !global;\n $focus: map-get($theme, 'focus') !global;\n $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;\n $hover-primary: map-get($theme, 'hover-primary') !global;\n $active-primary: map-get($theme, 'active-primary') !global;\n $hover-primary-text: map-get($theme, 'hover-primary-text') !global;\n $hover-secondary: map-get($theme, 'hover-secondary') !global;\n $active-secondary: map-get($theme, 'active-secondary') !global;\n $hover-tertiary: map-get($theme, 'hover-tertiary') !global;\n $active-tertiary: map-get($theme, 'active-tertiary') !global;\n $hover-ui: map-get($theme, 'hover-ui') !global;\n $hover-light-ui: map-get($theme, 'hover-light-ui') !global;\n $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;\n $active-ui: map-get($theme, 'active-ui') !global;\n $active-light-ui: map-get($theme, 'active-light-ui') !global;\n $selected-ui: map-get($theme, 'selected-ui') !global;\n $selected-light-ui: map-get($theme, 'selected-light-ui') !global;\n $inverse-hover-ui: map-get($theme, 'inverse-hover-ui') !global;\n $hover-danger: map-get($theme, 'hover-danger') !global;\n $active-danger: map-get($theme, 'active-danger') !global;\n $hover-row: map-get($theme, 'hover-row') !global;\n $visited-link: map-get($theme, 'visited-link') !global;\n $disabled-01: map-get($theme, 'disabled-01') !global;\n $disabled-02: map-get($theme, 'disabled-02') !global;\n $disabled-03: map-get($theme, 'disabled-03') !global;\n $highlight: map-get($theme, 'highlight') !global;\n $decorative-01: map-get($theme, 'decorative-01') !global;\n $button-separator: map-get($theme, 'button-separator') !global;\n $skeleton-01: map-get($theme, 'skeleton-01') !global;\n $skeleton-02: map-get($theme, 'skeleton-02') !global;\n $brand-01: map-get($theme, 'brand-01') !global;\n $brand-02: map-get($theme, 'brand-02') !global;\n $brand-03: map-get($theme, 'brand-03') !global;\n $active-01: map-get($theme, 'active-01') !global;\n $hover-field: map-get($theme, 'hover-field') !global;\n $danger: map-get($theme, 'danger') !global;\n $caption-01: map-get($theme, 'caption-01') !global;\n $label-01: map-get($theme, 'label-01') !global;\n $helper-text-01: map-get($theme, 'helper-text-01') !global;\n $body-short-01: map-get($theme, 'body-short-01') !global;\n $body-long-01: map-get($theme, 'body-long-01') !global;\n $body-short-02: map-get($theme, 'body-short-02') !global;\n $body-long-02: map-get($theme, 'body-long-02') !global;\n $code-01: map-get($theme, 'code-01') !global;\n $code-02: map-get($theme, 'code-02') !global;\n $heading-01: map-get($theme, 'heading-01') !global;\n $productive-heading-01: map-get($theme, 'productive-heading-01') !global;\n $heading-02: map-get($theme, 'heading-02') !global;\n $productive-heading-02: map-get($theme, 'productive-heading-02') !global;\n $productive-heading-03: map-get($theme, 'productive-heading-03') !global;\n $productive-heading-04: map-get($theme, 'productive-heading-04') !global;\n $productive-heading-05: map-get($theme, 'productive-heading-05') !global;\n $productive-heading-06: map-get($theme, 'productive-heading-06') !global;\n $productive-heading-07: map-get($theme, 'productive-heading-07') !global;\n $expressive-heading-01: map-get($theme, 'expressive-heading-01') !global;\n $expressive-heading-02: map-get($theme, 'expressive-heading-02') !global;\n $expressive-heading-03: map-get($theme, 'expressive-heading-03') !global;\n $expressive-heading-04: map-get($theme, 'expressive-heading-04') !global;\n $expressive-heading-05: map-get($theme, 'expressive-heading-05') !global;\n $expressive-heading-06: map-get($theme, 'expressive-heading-06') !global;\n $expressive-paragraph-01: map-get($theme, 'expressive-paragraph-01') !global;\n $quotation-01: map-get($theme, 'quotation-01') !global;\n $quotation-02: map-get($theme, 'quotation-02') !global;\n $display-01: map-get($theme, 'display-01') !global;\n $display-02: map-get($theme, 'display-02') !global;\n $display-03: map-get($theme, 'display-03') !global;\n $display-04: map-get($theme, 'display-04') !global;\n $spacing-01: map-get($theme, 'spacing-01') !global;\n $spacing-02: map-get($theme, 'spacing-02') !global;\n $spacing-03: map-get($theme, 'spacing-03') !global;\n $spacing-04: map-get($theme, 'spacing-04') !global;\n $spacing-05: map-get($theme, 'spacing-05') !global;\n $spacing-06: map-get($theme, 'spacing-06') !global;\n $spacing-07: map-get($theme, 'spacing-07') !global;\n $spacing-08: map-get($theme, 'spacing-08') !global;\n $spacing-09: map-get($theme, 'spacing-09') !global;\n $spacing-10: map-get($theme, 'spacing-10') !global;\n $spacing-11: map-get($theme, 'spacing-11') !global;\n $spacing-12: map-get($theme, 'spacing-12') !global;\n $fluid-spacing-01: map-get($theme, 'fluid-spacing-01') !global;\n $fluid-spacing-02: map-get($theme, 'fluid-spacing-02') !global;\n $fluid-spacing-03: map-get($theme, 'fluid-spacing-03') !global;\n $fluid-spacing-04: map-get($theme, 'fluid-spacing-04') !global;\n $layout-01: map-get($theme, 'layout-01') !global;\n $layout-02: map-get($theme, 'layout-02') !global;\n $layout-03: map-get($theme, 'layout-03') !global;\n $layout-04: map-get($theme, 'layout-04') !global;\n $layout-05: map-get($theme, 'layout-05') !global;\n $layout-06: map-get($theme, 'layout-06') !global;\n $layout-07: map-get($theme, 'layout-07') !global;\n $container-01: map-get($theme, 'container-01') !global;\n $container-02: map-get($theme, 'container-02') !global;\n $container-03: map-get($theme, 'container-03') !global;\n $container-04: map-get($theme, 'container-04') !global;\n $container-05: map-get($theme, 'container-05') !global;\n $icon-size-01: map-get($theme, 'icon-size-01') !global;\n $icon-size-02: map-get($theme, 'icon-size-02') !global;\n\n @if global-variable-exists('feature-flags') and\n map-get($feature-flags, 'enable-css-custom-properties')\n {\n $interactive-01: var(\n --#{$custom-property-prefix}-interactive-01,\n map-get($theme, 'interactive-01')\n ) !global;\n $interactive-02: var(\n --#{$custom-property-prefix}-interactive-02,\n map-get($theme, 'interactive-02')\n ) !global;\n $interactive-03: var(\n --#{$custom-property-prefix}-interactive-03,\n map-get($theme, 'interactive-03')\n ) !global;\n $interactive-04: var(\n --#{$custom-property-prefix}-interactive-04,\n map-get($theme, 'interactive-04')\n ) !global;\n $ui-background: var(\n --#{$custom-property-prefix}-ui-background,\n map-get($theme, 'ui-background')\n ) !global;\n $ui-01: var(\n --#{$custom-property-prefix}-ui-01,\n map-get($theme, 'ui-01')\n ) !global;\n $ui-02: var(\n --#{$custom-property-prefix}-ui-02,\n map-get($theme, 'ui-02')\n ) !global;\n $ui-03: var(\n --#{$custom-property-prefix}-ui-03,\n map-get($theme, 'ui-03')\n ) !global;\n $ui-04: var(\n --#{$custom-property-prefix}-ui-04,\n map-get($theme, 'ui-04')\n ) !global;\n $ui-05: var(\n --#{$custom-property-prefix}-ui-05,\n map-get($theme, 'ui-05')\n ) !global;\n $text-01: var(\n --#{$custom-property-prefix}-text-01,\n map-get($theme, 'text-01')\n ) !global;\n $text-02: var(\n --#{$custom-property-prefix}-text-02,\n map-get($theme, 'text-02')\n ) !global;\n $text-03: var(\n --#{$custom-property-prefix}-text-03,\n map-get($theme, 'text-03')\n ) !global;\n $text-04: var(\n --#{$custom-property-prefix}-text-04,\n map-get($theme, 'text-04')\n ) !global;\n $text-05: var(\n --#{$custom-property-prefix}-text-05,\n map-get($theme, 'text-05')\n ) !global;\n $text-error: var(\n --#{$custom-property-prefix}-text-error,\n map-get($theme, 'text-error')\n ) !global;\n $icon-01: var(\n --#{$custom-property-prefix}-icon-01,\n map-get($theme, 'icon-01')\n ) !global;\n $icon-02: var(\n --#{$custom-property-prefix}-icon-02,\n map-get($theme, 'icon-02')\n ) !global;\n $icon-03: var(\n --#{$custom-property-prefix}-icon-03,\n map-get($theme, 'icon-03')\n ) !global;\n $link-01: var(\n --#{$custom-property-prefix}-link-01,\n map-get($theme, 'link-01')\n ) !global;\n $link-02: var(\n --#{$custom-property-prefix}-link-02,\n map-get($theme, 'link-02')\n ) !global;\n $inverse-link: var(\n --#{$custom-property-prefix}-inverse-link,\n map-get($theme, 'inverse-link')\n ) !global;\n $field-01: var(\n --#{$custom-property-prefix}-field-01,\n map-get($theme, 'field-01')\n ) !global;\n $field-02: var(\n --#{$custom-property-prefix}-field-02,\n map-get($theme, 'field-02')\n ) !global;\n $inverse-01: var(\n --#{$custom-property-prefix}-inverse-01,\n map-get($theme, 'inverse-01')\n ) !global;\n $inverse-02: var(\n --#{$custom-property-prefix}-inverse-02,\n map-get($theme, 'inverse-02')\n ) !global;\n $support-01: var(\n --#{$custom-property-prefix}-support-01,\n map-get($theme, 'support-01')\n ) !global;\n $support-02: var(\n --#{$custom-property-prefix}-support-02,\n map-get($theme, 'support-02')\n ) !global;\n $support-03: var(\n --#{$custom-property-prefix}-support-03,\n map-get($theme, 'support-03')\n ) !global;\n $support-04: var(\n --#{$custom-property-prefix}-support-04,\n map-get($theme, 'support-04')\n ) !global;\n $inverse-support-01: var(\n --#{$custom-property-prefix}-inverse-support-01,\n map-get($theme, 'inverse-support-01')\n ) !global;\n $inverse-support-02: var(\n --#{$custom-property-prefix}-inverse-support-02,\n map-get($theme, 'inverse-support-02')\n ) !global;\n $inverse-support-03: var(\n --#{$custom-property-prefix}-inverse-support-03,\n map-get($theme, 'inverse-support-03')\n ) !global;\n $inverse-support-04: var(\n --#{$custom-property-prefix}-inverse-support-04,\n map-get($theme, 'inverse-support-04')\n ) !global;\n $overlay-01: var(\n --#{$custom-property-prefix}-overlay-01,\n map-get($theme, 'overlay-01')\n ) !global;\n $danger-01: var(\n --#{$custom-property-prefix}-danger-01,\n map-get($theme, 'danger-01')\n ) !global;\n $danger-02: var(\n --#{$custom-property-prefix}-danger-02,\n map-get($theme, 'danger-02')\n ) !global;\n $focus: var(\n --#{$custom-property-prefix}-focus,\n map-get($theme, 'focus')\n ) !global;\n $inverse-focus-ui: var(\n --#{$custom-property-prefix}-inverse-focus-ui,\n map-get($theme, 'inverse-focus-ui')\n ) !global;\n $hover-primary: var(\n --#{$custom-property-prefix}-hover-primary,\n map-get($theme, 'hover-primary')\n ) !global;\n $active-primary: var(\n --#{$custom-property-prefix}-active-primary,\n map-get($theme, 'active-primary')\n ) !global;\n $hover-primary-text: var(\n --#{$custom-property-prefix}-hover-primary-text,\n map-get($theme, 'hover-primary-text')\n ) !global;\n $hover-secondary: var(\n --#{$custom-property-prefix}-hover-secondary,\n map-get($theme, 'hover-secondary')\n ) !global;\n $active-secondary: var(\n --#{$custom-property-prefix}-active-secondary,\n map-get($theme, 'active-secondary')\n ) !global;\n $hover-tertiary: var(\n --#{$custom-property-prefix}-hover-tertiary,\n map-get($theme, 'hover-tertiary')\n ) !global;\n $active-tertiary: var(\n --#{$custom-property-prefix}-active-tertiary,\n map-get($theme, 'active-tertiary')\n ) !global;\n $hover-ui: var(\n --#{$custom-property-prefix}-hover-ui,\n map-get($theme, 'hover-ui')\n ) !global;\n $hover-light-ui: var(\n --#{$custom-property-prefix}-hover-light-ui,\n map-get($theme, 'hover-light-ui')\n ) !global;\n $hover-selected-ui: var(\n --#{$custom-property-prefix}-hover-selected-ui,\n map-get($theme, 'hover-selected-ui')\n ) !global;\n $active-ui: var(\n --#{$custom-property-prefix}-active-ui,\n map-get($theme, 'active-ui')\n ) !global;\n $active-light-ui: var(\n --#{$custom-property-prefix}-active-light-ui,\n map-get($theme, 'active-light-ui')\n ) !global;\n $selected-ui: var(\n --#{$custom-property-prefix}-selected-ui,\n map-get($theme, 'selected-ui')\n ) !global;\n $selected-light-ui: var(\n --#{$custom-property-prefix}-selected-light-ui,\n map-get($theme, 'selected-light-ui')\n ) !global;\n $inverse-hover-ui: var(\n --#{$custom-property-prefix}-inverse-hover-ui,\n map-get($theme, 'inverse-hover-ui')\n ) !global;\n $hover-danger: var(\n --#{$custom-property-prefix}-hover-danger,\n map-get($theme, 'hover-danger')\n ) !global;\n $active-danger: var(\n --#{$custom-property-prefix}-active-danger,\n map-get($theme, 'active-danger')\n ) !global;\n $hover-row: var(\n --#{$custom-property-prefix}-hover-row,\n map-get($theme, 'hover-row')\n ) !global;\n $visited-link: var(\n --#{$custom-property-prefix}-visited-link,\n map-get($theme, 'visited-link')\n ) !global;\n $disabled-01: var(\n --#{$custom-property-prefix}-disabled-01,\n map-get($theme, 'disabled-01')\n ) !global;\n $disabled-02: var(\n --#{$custom-property-prefix}-disabled-02,\n map-get($theme, 'disabled-02')\n ) !global;\n $disabled-03: var(\n --#{$custom-property-prefix}-disabled-03,\n map-get($theme, 'disabled-03')\n ) !global;\n $highlight: var(\n --#{$custom-property-prefix}-highlight,\n map-get($theme, 'highlight')\n ) !global;\n $decorative-01: var(\n --#{$custom-property-prefix}-decorative-01,\n map-get($theme, 'decorative-01')\n ) !global;\n $button-separator: var(\n --#{$custom-property-prefix}-button-separator,\n map-get($theme, 'button-separator')\n ) !global;\n $skeleton-01: var(\n --#{$custom-property-prefix}-skeleton-01,\n map-get($theme, 'skeleton-01')\n ) !global;\n $skeleton-02: var(\n --#{$custom-property-prefix}-skeleton-02,\n map-get($theme, 'skeleton-02')\n ) !global;\n $brand-01: var(\n --#{$custom-property-prefix}-brand-01,\n map-get($theme, 'brand-01')\n ) !global;\n $brand-02: var(\n --#{$custom-property-prefix}-brand-02,\n map-get($theme, 'brand-02')\n ) !global;\n $brand-03: var(\n --#{$custom-property-prefix}-brand-03,\n map-get($theme, 'brand-03')\n ) !global;\n $active-01: var(\n --#{$custom-property-prefix}-active-01,\n map-get($theme, 'active-01')\n ) !global;\n $hover-field: var(\n --#{$custom-property-prefix}-hover-field,\n map-get($theme, 'hover-field')\n ) !global;\n $danger: var(\n --#{$custom-property-prefix}-danger,\n map-get($theme, 'danger')\n ) !global;\n $spacing-01: var(\n --#{$custom-property-prefix}-spacing-01,\n map-get($theme, 'spacing-01')\n ) !global;\n $spacing-02: var(\n --#{$custom-property-prefix}-spacing-02,\n map-get($theme, 'spacing-02')\n ) !global;\n $spacing-03: var(\n --#{$custom-property-prefix}-spacing-03,\n map-get($theme, 'spacing-03')\n ) !global;\n $spacing-04: var(\n --#{$custom-property-prefix}-spacing-04,\n map-get($theme, 'spacing-04')\n ) !global;\n $spacing-05: var(\n --#{$custom-property-prefix}-spacing-05,\n map-get($theme, 'spacing-05')\n ) !global;\n $spacing-06: var(\n --#{$custom-property-prefix}-spacing-06,\n map-get($theme, 'spacing-06')\n ) !global;\n $spacing-07: var(\n --#{$custom-property-prefix}-spacing-07,\n map-get($theme, 'spacing-07')\n ) !global;\n $spacing-08: var(\n --#{$custom-property-prefix}-spacing-08,\n map-get($theme, 'spacing-08')\n ) !global;\n $spacing-09: var(\n --#{$custom-property-prefix}-spacing-09,\n map-get($theme, 'spacing-09')\n ) !global;\n $spacing-10: var(\n --#{$custom-property-prefix}-spacing-10,\n map-get($theme, 'spacing-10')\n ) !global;\n $spacing-11: var(\n --#{$custom-property-prefix}-spacing-11,\n map-get($theme, 'spacing-11')\n ) !global;\n $spacing-12: var(\n --#{$custom-property-prefix}-spacing-12,\n map-get($theme, 'spacing-12')\n ) !global;\n $fluid-spacing-01: var(\n --#{$custom-property-prefix}-fluid-spacing-01,\n map-get($theme, 'fluid-spacing-01')\n ) !global;\n $fluid-spacing-02: var(\n --#{$custom-property-prefix}-fluid-spacing-02,\n map-get($theme, 'fluid-spacing-02')\n ) !global;\n $fluid-spacing-03: var(\n --#{$custom-property-prefix}-fluid-spacing-03,\n map-get($theme, 'fluid-spacing-03')\n ) !global;\n $fluid-spacing-04: var(\n --#{$custom-property-prefix}-fluid-spacing-04,\n map-get($theme, 'fluid-spacing-04')\n ) !global;\n $layout-01: var(\n --#{$custom-property-prefix}-layout-01,\n map-get($theme, 'layout-01')\n ) !global;\n $layout-02: var(\n --#{$custom-property-prefix}-layout-02,\n map-get($theme, 'layout-02')\n ) !global;\n $layout-03: var(\n --#{$custom-property-prefix}-layout-03,\n map-get($theme, 'layout-03')\n ) !global;\n $layout-04: var(\n --#{$custom-property-prefix}-layout-04,\n map-get($theme, 'layout-04')\n ) !global;\n $layout-05: var(\n --#{$custom-property-prefix}-layout-05,\n map-get($theme, 'layout-05')\n ) !global;\n $layout-06: var(\n --#{$custom-property-prefix}-layout-06,\n map-get($theme, 'layout-06')\n ) !global;\n $layout-07: var(\n --#{$custom-property-prefix}-layout-07,\n map-get($theme, 'layout-07')\n ) !global;\n $container-01: var(\n --#{$custom-property-prefix}-container-01,\n map-get($theme, 'container-01')\n ) !global;\n $container-02: var(\n --#{$custom-property-prefix}-container-02,\n map-get($theme, 'container-02')\n ) !global;\n $container-03: var(\n --#{$custom-property-prefix}-container-03,\n map-get($theme, 'container-03')\n ) !global;\n $container-04: var(\n --#{$custom-property-prefix}-container-04,\n map-get($theme, 'container-04')\n ) !global;\n $container-05: var(\n --#{$custom-property-prefix}-container-05,\n map-get($theme, 'container-05')\n ) !global;\n $icon-size-01: var(\n --#{$custom-property-prefix}-icon-size-01,\n map-get($theme, 'icon-size-01')\n ) !global;\n $icon-size-02: var(\n --#{$custom-property-prefix}-icon-size-02,\n map-get($theme, 'icon-size-02')\n ) !global;\n }\n @if $emit-custom-properties == true {\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-01',\n map-get($theme, 'interactive-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-02',\n map-get($theme, 'interactive-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-03',\n map-get($theme, 'interactive-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'interactive-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'interactive-04',\n map-get($theme, 'interactive-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'ui-background',\n $emit-difference\n )\n {\n @include custom-property(\n 'ui-background',\n map-get($theme, 'ui-background')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-01', $emit-difference) {\n @include custom-property('ui-01', map-get($theme, 'ui-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-02', $emit-difference) {\n @include custom-property('ui-02', map-get($theme, 'ui-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-03', $emit-difference) {\n @include custom-property('ui-03', map-get($theme, 'ui-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-04', $emit-difference) {\n @include custom-property('ui-04', map-get($theme, 'ui-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'ui-05', $emit-difference) {\n @include custom-property('ui-05', map-get($theme, 'ui-05'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-01', $emit-difference) {\n @include custom-property('text-01', map-get($theme, 'text-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-02', $emit-difference) {\n @include custom-property('text-02', map-get($theme, 'text-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-03', $emit-difference) {\n @include custom-property('text-03', map-get($theme, 'text-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-04', $emit-difference) {\n @include custom-property('text-04', map-get($theme, 'text-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'text-05', $emit-difference) {\n @include custom-property('text-05', map-get($theme, 'text-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'text-error',\n $emit-difference\n )\n {\n @include custom-property('text-error', map-get($theme, 'text-error'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-01', $emit-difference) {\n @include custom-property('icon-01', map-get($theme, 'icon-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-02', $emit-difference) {\n @include custom-property('icon-02', map-get($theme, 'icon-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'icon-03', $emit-difference) {\n @include custom-property('icon-03', map-get($theme, 'icon-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'link-01', $emit-difference) {\n @include custom-property('link-01', map-get($theme, 'link-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'link-02', $emit-difference) {\n @include custom-property('link-02', map-get($theme, 'link-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-link',\n $emit-difference\n )\n {\n @include custom-property('inverse-link', map-get($theme, 'inverse-link'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'field-01', $emit-difference)\n {\n @include custom-property('field-01', map-get($theme, 'field-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'field-02', $emit-difference)\n {\n @include custom-property('field-02', map-get($theme, 'field-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-01',\n $emit-difference\n )\n {\n @include custom-property('inverse-01', map-get($theme, 'inverse-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-02',\n $emit-difference\n )\n {\n @include custom-property('inverse-02', map-get($theme, 'inverse-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-01',\n $emit-difference\n )\n {\n @include custom-property('support-01', map-get($theme, 'support-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-02',\n $emit-difference\n )\n {\n @include custom-property('support-02', map-get($theme, 'support-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-03',\n $emit-difference\n )\n {\n @include custom-property('support-03', map-get($theme, 'support-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'support-04',\n $emit-difference\n )\n {\n @include custom-property('support-04', map-get($theme, 'support-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-01',\n map-get($theme, 'inverse-support-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-02',\n map-get($theme, 'inverse-support-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-03',\n map-get($theme, 'inverse-support-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-support-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-support-04',\n map-get($theme, 'inverse-support-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'overlay-01',\n $emit-difference\n )\n {\n @include custom-property('overlay-01', map-get($theme, 'overlay-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger-01', $emit-difference)\n {\n @include custom-property('danger-01', map-get($theme, 'danger-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger-02', $emit-difference)\n {\n @include custom-property('danger-02', map-get($theme, 'danger-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'focus', $emit-difference) {\n @include custom-property('focus', map-get($theme, 'focus'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-focus-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-focus-ui',\n map-get($theme, 'inverse-focus-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-primary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-primary',\n map-get($theme, 'hover-primary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-primary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-primary',\n map-get($theme, 'active-primary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-primary-text',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-primary-text',\n map-get($theme, 'hover-primary-text')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-secondary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-secondary',\n map-get($theme, 'hover-secondary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-secondary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-secondary',\n map-get($theme, 'active-secondary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-tertiary',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-tertiary',\n map-get($theme, 'hover-tertiary')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-tertiary',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-tertiary',\n map-get($theme, 'active-tertiary')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'hover-ui', $emit-difference)\n {\n @include custom-property('hover-ui', map-get($theme, 'hover-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-light-ui',\n map-get($theme, 'hover-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-selected-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'hover-selected-ui',\n map-get($theme, 'hover-selected-ui')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)\n {\n @include custom-property('active-ui', map-get($theme, 'active-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-light-ui',\n map-get($theme, 'active-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'selected-ui',\n $emit-difference\n )\n {\n @include custom-property('selected-ui', map-get($theme, 'selected-ui'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'selected-light-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'selected-light-ui',\n map-get($theme, 'selected-light-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'inverse-hover-ui',\n $emit-difference\n )\n {\n @include custom-property(\n 'inverse-hover-ui',\n map-get($theme, 'inverse-hover-ui')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-danger',\n $emit-difference\n )\n {\n @include custom-property('hover-danger', map-get($theme, 'hover-danger'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'active-danger',\n $emit-difference\n )\n {\n @include custom-property(\n 'active-danger',\n map-get($theme, 'active-danger')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'hover-row', $emit-difference)\n {\n @include custom-property('hover-row', map-get($theme, 'hover-row'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'visited-link',\n $emit-difference\n )\n {\n @include custom-property('visited-link', map-get($theme, 'visited-link'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-01',\n $emit-difference\n )\n {\n @include custom-property('disabled-01', map-get($theme, 'disabled-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-02',\n $emit-difference\n )\n {\n @include custom-property('disabled-02', map-get($theme, 'disabled-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'disabled-03',\n $emit-difference\n )\n {\n @include custom-property('disabled-03', map-get($theme, 'disabled-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'highlight', $emit-difference)\n {\n @include custom-property('highlight', map-get($theme, 'highlight'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'decorative-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'decorative-01',\n map-get($theme, 'decorative-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'button-separator',\n $emit-difference\n )\n {\n @include custom-property(\n 'button-separator',\n map-get($theme, 'button-separator')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'skeleton-01',\n $emit-difference\n )\n {\n @include custom-property('skeleton-01', map-get($theme, 'skeleton-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'skeleton-02',\n $emit-difference\n )\n {\n @include custom-property('skeleton-02', map-get($theme, 'skeleton-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-01', $emit-difference)\n {\n @include custom-property('brand-01', map-get($theme, 'brand-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-02', $emit-difference)\n {\n @include custom-property('brand-02', map-get($theme, 'brand-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'brand-03', $emit-difference)\n {\n @include custom-property('brand-03', map-get($theme, 'brand-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'active-01', $emit-difference)\n {\n @include custom-property('active-01', map-get($theme, 'active-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'hover-field',\n $emit-difference\n )\n {\n @include custom-property('hover-field', map-get($theme, 'hover-field'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {\n @include custom-property('danger', map-get($theme, 'danger'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'caption-01',\n $emit-difference\n )\n {\n @include custom-property('caption-01', map-get($theme, 'caption-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'label-01', $emit-difference)\n {\n @include custom-property('label-01', map-get($theme, 'label-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'helper-text-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'helper-text-01',\n map-get($theme, 'helper-text-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-short-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'body-short-01',\n map-get($theme, 'body-short-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-long-01',\n $emit-difference\n )\n {\n @include custom-property('body-long-01', map-get($theme, 'body-long-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-short-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'body-short-02',\n map-get($theme, 'body-short-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'body-long-02',\n $emit-difference\n )\n {\n @include custom-property('body-long-02', map-get($theme, 'body-long-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'code-01', $emit-difference) {\n @include custom-property('code-01', map-get($theme, 'code-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'code-02', $emit-difference) {\n @include custom-property('code-02', map-get($theme, 'code-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'heading-01',\n $emit-difference\n )\n {\n @include custom-property('heading-01', map-get($theme, 'heading-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-01',\n map-get($theme, 'productive-heading-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'heading-02',\n $emit-difference\n )\n {\n @include custom-property('heading-02', map-get($theme, 'heading-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-02',\n map-get($theme, 'productive-heading-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-03',\n map-get($theme, 'productive-heading-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-04',\n map-get($theme, 'productive-heading-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-05',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-05',\n map-get($theme, 'productive-heading-05')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-06',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-06',\n map-get($theme, 'productive-heading-06')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'productive-heading-07',\n $emit-difference\n )\n {\n @include custom-property(\n 'productive-heading-07',\n map-get($theme, 'productive-heading-07')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-01',\n map-get($theme, 'expressive-heading-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-02',\n map-get($theme, 'expressive-heading-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-03',\n map-get($theme, 'expressive-heading-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-04',\n map-get($theme, 'expressive-heading-04')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-05',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-05',\n map-get($theme, 'expressive-heading-05')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-heading-06',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-heading-06',\n map-get($theme, 'expressive-heading-06')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'expressive-paragraph-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'expressive-paragraph-01',\n map-get($theme, 'expressive-paragraph-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'quotation-01',\n $emit-difference\n )\n {\n @include custom-property('quotation-01', map-get($theme, 'quotation-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'quotation-02',\n $emit-difference\n )\n {\n @include custom-property('quotation-02', map-get($theme, 'quotation-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-01',\n $emit-difference\n )\n {\n @include custom-property('display-01', map-get($theme, 'display-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-02',\n $emit-difference\n )\n {\n @include custom-property('display-02', map-get($theme, 'display-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-03',\n $emit-difference\n )\n {\n @include custom-property('display-03', map-get($theme, 'display-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'display-04',\n $emit-difference\n )\n {\n @include custom-property('display-04', map-get($theme, 'display-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-01',\n $emit-difference\n )\n {\n @include custom-property('spacing-01', map-get($theme, 'spacing-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-02',\n $emit-difference\n )\n {\n @include custom-property('spacing-02', map-get($theme, 'spacing-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-03',\n $emit-difference\n )\n {\n @include custom-property('spacing-03', map-get($theme, 'spacing-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-04',\n $emit-difference\n )\n {\n @include custom-property('spacing-04', map-get($theme, 'spacing-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-05',\n $emit-difference\n )\n {\n @include custom-property('spacing-05', map-get($theme, 'spacing-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-06',\n $emit-difference\n )\n {\n @include custom-property('spacing-06', map-get($theme, 'spacing-06'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-07',\n $emit-difference\n )\n {\n @include custom-property('spacing-07', map-get($theme, 'spacing-07'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-08',\n $emit-difference\n )\n {\n @include custom-property('spacing-08', map-get($theme, 'spacing-08'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-09',\n $emit-difference\n )\n {\n @include custom-property('spacing-09', map-get($theme, 'spacing-09'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-10',\n $emit-difference\n )\n {\n @include custom-property('spacing-10', map-get($theme, 'spacing-10'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-11',\n $emit-difference\n )\n {\n @include custom-property('spacing-11', map-get($theme, 'spacing-11'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'spacing-12',\n $emit-difference\n )\n {\n @include custom-property('spacing-12', map-get($theme, 'spacing-12'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-01',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-01',\n map-get($theme, 'fluid-spacing-01')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-02',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-02',\n map-get($theme, 'fluid-spacing-02')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-03',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-03',\n map-get($theme, 'fluid-spacing-03')\n );\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'fluid-spacing-04',\n $emit-difference\n )\n {\n @include custom-property(\n 'fluid-spacing-04',\n map-get($theme, 'fluid-spacing-04')\n );\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-01', $emit-difference)\n {\n @include custom-property('layout-01', map-get($theme, 'layout-01'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-02', $emit-difference)\n {\n @include custom-property('layout-02', map-get($theme, 'layout-02'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-03', $emit-difference)\n {\n @include custom-property('layout-03', map-get($theme, 'layout-03'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-04', $emit-difference)\n {\n @include custom-property('layout-04', map-get($theme, 'layout-04'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-05', $emit-difference)\n {\n @include custom-property('layout-05', map-get($theme, 'layout-05'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-06', $emit-difference)\n {\n @include custom-property('layout-06', map-get($theme, 'layout-06'));\n }\n\n @if should-emit($theme, $parent-carbon-theme, 'layout-07', $emit-difference)\n {\n @include custom-property('layout-07', map-get($theme, 'layout-07'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-01',\n $emit-difference\n )\n {\n @include custom-property('container-01', map-get($theme, 'container-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-02',\n $emit-difference\n )\n {\n @include custom-property('container-02', map-get($theme, 'container-02'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-03',\n $emit-difference\n )\n {\n @include custom-property('container-03', map-get($theme, 'container-03'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-04',\n $emit-difference\n )\n {\n @include custom-property('container-04', map-get($theme, 'container-04'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'container-05',\n $emit-difference\n )\n {\n @include custom-property('container-05', map-get($theme, 'container-05'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'icon-size-01',\n $emit-difference\n )\n {\n @include custom-property('icon-size-01', map-get($theme, 'icon-size-01'));\n }\n\n @if should-emit(\n $theme,\n $parent-carbon-theme,\n 'icon-size-02',\n $emit-difference\n )\n {\n @include custom-property('icon-size-02', map-get($theme, 'icon-size-02'));\n }\n }\n\n @content;\n\n // Reset to default theme after apply in content\n @if $carbon--theme != $parent-carbon-theme {\n $carbon--theme: $parent-carbon-theme !global;\n\n @include carbon--theme();\n }\n}\n",'@import "../root.scss";\n\n.logout {\n padding-right: 0rem;\n @include brand-02(background-color);\n @extend .productiveHeading01;\n width: 16rem;\n}\n'],sourceRoot:""}]),o.locals={productiveHeading01:"-esm-login__logout__productiveHeading01___g3GJQ",logout:"-esm-login__logout__logout___fmll0",productiveHeading02:"-esm-login__logout__productiveHeading02___dZKu1",productiveHeading03:"-esm-login__logout__productiveHeading03___Nej8R",productiveHeading04:"-esm-login__logout__productiveHeading04___mGDJ3",productiveHeading05:"-esm-login__logout__productiveHeading05___KZTOl",productiveHeading06:"-esm-login__logout__productiveHeading06___GtCjd",bodyShort01:"-esm-login__logout__bodyShort01___9dLxj",bodyShort02:"-esm-login__logout__bodyShort02___6YtfH",bodyLong01:"-esm-login__logout__bodyLong01___J1rHz",bodyLong02:"-esm-login__logout__bodyLong02___RCybS",label01:"-esm-login__logout__label01___DNCyx",caption01:"-esm-login__logout__caption01___xMdj2",helperText01:"-esm-login__logout__helperText01___mif0u",text01:"-esm-login__logout__text01___49o6H",text02:"-esm-login__logout__text02___4Txjj"};const p=o},361:e=>{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,i){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(i)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(r[o]=!0)}for(var p=0;p<e.length;p++){var l=[].concat(e[p]);i&&r[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}},9233:e=>{function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}e.exports=function(e){var t,i,r=(i=4,function(e){if(Array.isArray(e))return e}(t=e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var i,r,a=[],o=!0,p=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(a.push(i.value),!n||a.length!==n);o=!0);}catch(e){p=!0,r=e}finally{try{o||null==t.return||t.return()}finally{if(p)throw r}}return a}}(t,i)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=r[1],o=r[3];if(!o)return a;if("function"==typeof btoa){var p=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(p),m="/*# ".concat(l," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[a].concat(s).concat([m]).join("\n")}return[a].join("\n")}},487:e=>{var n=[];function t(e){for(var t=-1,i=0;i<n.length;i++)if(n[i].identifier===e){t=i;break}return t}function i(e,i){for(var a={},o=[],p=0;p<e.length;p++){var l=e[p],m=i.base?l[0]+i.base:l[0],s=a[m]||0,c="".concat(m," ").concat(s);a[m]=s+1;var h=t(c),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)n[h].references++,n[h].updater(g);else{var u=r(g,i);i.byIndex=p,n.splice(p,0,{identifier:c,updater:u,references:1})}o.push(c)}return o}function r(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,r){var a=i(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var p=t(a[o]);n[p].references--}for(var l=i(e,r),m=0;m<a.length;m++){var s=t(a[m]);0===n[s].references&&(n[s].updater(),n.splice(s,1))}a=l}}},2052:e=>{var n={};e.exports=function(e,t){var i=function(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);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}},1469:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},4010:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},631:e=>{e.exports=function(e){var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var i="";t.supports&&(i+="@supports (".concat(t.supports,") {")),t.media&&(i+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(i+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),i+=t.css,r&&(i+="}"),t.media&&(i+="}"),t.supports&&(i+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),n.styleTagTransform(i,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},9329:e=>{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))}}},7406:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(6983),r=t.n(i),a=t(7644),o=t(9784),p=t(2680),l=t(487),m=t.n(l),s=t(631),c=t.n(s),h=t(2052),g=t.n(h),u=t(4010),$=t.n(u),d=t(1469),f=t.n(d),b=t(9329),y=t.n(b),v=t(3493),x={};x.styleTagTransform=y(),x.setAttributes=$(),x.insert=g().bind(null,"head"),x.domAPI=c(),x.insertStyleElement=f(),m()(v.Z,x);const _=v.Z&&v.Z.locals?v.Z.locals:void 0,k=function(){var e=(0,p.useTranslation)().t,n=(0,i.useCallback)((function(){(0,a.navigate)({to:"${openmrsSpaBase}/logout"})}),[]);return r().createElement(r().Fragment,null,r().createElement(o.SwitcherDivider,{className:_.divider}),r().createElement(o.Switcher,{"aria-label":"Switcher Container"},r().createElement(o.Button,{className:_.logout,onClick:n,"aria-labelledby":"Logout",role:"button"},e("Logout","Logout"))))}}}]);
|
|
2
|
-
//# sourceMappingURL=406.js.map
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[406],{3493:(e,t,o)=>{o.d(t,{Z:()=>_});var n=o(361),i=o.n(n)()((function(e){return e[1]}));i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-login__logout__productiveHeading01___g3GJQ,.-esm-login__logout__logout___fmll0{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}.-esm-login__logout__productiveHeading02___dZKu1{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}.-esm-login__logout__productiveHeading03___Nej8R{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}.-esm-login__logout__productiveHeading04___mGDJ3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}.-esm-login__logout__productiveHeading05___KZTOl{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}.-esm-login__logout__productiveHeading06___GtCjd{font-size:2rem;font-weight:300;line-height:1.199;letter-spacing:0}.-esm-login__logout__bodyShort01___9dLxj{font-size:.875rem;font-weight:400;line-height:1.29;letter-spacing:.16px}.-esm-login__logout__bodyShort02___6YtfH{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0}.-esm-login__logout__bodyLong01___J1rHz{font-size:.875rem;font-weight:400;line-height:1.43;letter-spacing:.16px}.-esm-login__logout__bodyLong02___RCybS{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}.-esm-login__logout__label01___DNCyx{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__caption01___xMdj2{font-size:.75rem;font-weight:400;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__helperText01___mif0u{font-size:.75rem;line-height:1.34;letter-spacing:.32px}.-esm-login__logout__text01___49o6H{color:#161616}.-esm-login__logout__text02___4Txjj{color:#525252}.-esm-login__logout__logout___fmll0{padding-right:0rem;background-color:#004144;background-color:var(--brand-02);width:16rem}",""]),i.locals={productiveHeading01:"-esm-login__logout__productiveHeading01___g3GJQ",logout:"-esm-login__logout__logout___fmll0",productiveHeading02:"-esm-login__logout__productiveHeading02___dZKu1",productiveHeading03:"-esm-login__logout__productiveHeading03___Nej8R",productiveHeading04:"-esm-login__logout__productiveHeading04___mGDJ3",productiveHeading05:"-esm-login__logout__productiveHeading05___KZTOl",productiveHeading06:"-esm-login__logout__productiveHeading06___GtCjd",bodyShort01:"-esm-login__logout__bodyShort01___9dLxj",bodyShort02:"-esm-login__logout__bodyShort02___6YtfH",bodyLong01:"-esm-login__logout__bodyLong01___J1rHz",bodyLong02:"-esm-login__logout__bodyLong02___RCybS",label01:"-esm-login__logout__label01___DNCyx",caption01:"-esm-login__logout__caption01___xMdj2",helperText01:"-esm-login__logout__helperText01___mif0u",text01:"-esm-login__logout__text01___49o6H",text02:"-esm-login__logout__text02___4Txjj"};const _=i},361:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var _=0;_<this.length;_++){var r=this[_][0];null!=r&&(i[r]=!0)}for(var l=0;l<e.length;l++){var a=[].concat(e[l]);n&&i[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),t.push(a))}},t}},487:e=>{var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var _={},r=[],l=0;l<e.length;l++){var a=e[l],s=n.base?a[0]+n.base:a[0],g=_[s]||0,u="".concat(s," ").concat(g);_[s]=g+1;var c=o(u),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==c)t[c].references++,t[c].updater(d);else{var p=i(d,n);n.byIndex=l,t.splice(l,0,{identifier:u,updater:p,references:1})}r.push(u)}return r}function i(e,t){var o=t.domAPI(t);return o.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,i){var _=n(e=e||[],i=i||{});return function(e){e=e||[];for(var r=0;r<_.length;r++){var l=o(_[r]);t[l].references--}for(var a=n(e,i),s=0;s<_.length;s++){var g=o(_[s]);0===t[g].references&&(t[g].updater(),t.splice(g,1))}_=a}}},2052:e=>{var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},1469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},4010:(e,t,o)=>{e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},631:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(o){!function(e,t,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,i&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var _=o.sourceMap;_&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(_))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9329:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},7406:(e,t,o)=>{o.r(t),o.d(t,{default:()=>w});var n=o(6983),i=o.n(n),_=o(7644),r=o(9784),l=o(2680),a=o(487),s=o.n(a),g=o(631),u=o.n(g),c=o(2052),d=o.n(c),p=o(4010),m=o.n(p),f=o(1469),h=o.n(f),v=o(9329),b=o.n(v),y=o(3493),x={};x.styleTagTransform=b(),x.setAttributes=m(),x.insert=d().bind(null,"head"),x.domAPI=u(),x.insertStyleElement=h(),s()(y.Z,x);const H=y.Z&&y.Z.locals?y.Z.locals:void 0,w=function(){var e=(0,l.useTranslation)().t,t=(0,n.useCallback)((function(){(0,_.navigate)({to:"${openmrsSpaBase}/logout"})}),[]);return i().createElement(i().Fragment,null,i().createElement(r.SwitcherDivider,{className:H.divider}),i().createElement(r.Switcher,{"aria-label":"Switcher Container"},i().createElement(r.Button,{className:H.logout,onClick:t,"aria-labelledby":"Logout",role:"button"},e("Logout","Logout"))))}}}]);
|
package/dist/420.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[420],{2420:(e,o,t)=>{"use strict";t.r(o),t.d(o,{backendDependencies:()=>a,importTranslation:()=>s,setupOpenMRS:()=>u});var n=t(7644),r={provider:{type:{_type:n.Type.String,_default:"basic",_description:"Selects the login mechanism to use. Choices are 'basic' and 'oauth2'. For 'oauth2' you'll also need to set the 'loginUrl' and 'logoutUrl'."},loginUrl:{_type:n.Type.String,_default:"${openmrsSpaBase}/login",_description:"The URL to use for an OAuth2 login.",_validators:[n.validators.isUrl]},logoutUrl:{_type:n.Type.String,_default:"${openmrsSpaBase}/logout",_description:"The URL to use for an OAuth2 logout.",_validators:[n.validators.isUrl]}},chooseLocation:{enabled:{_type:n.Type.Boolean,_default:!0,_description:"Whether to show a 'Choose Location' screen after login. If true, the user will be taken to the loginSuccess URL after they choose a location."},numberToShow:{_type:n.Type.Number,_default:8,_description:"The number of locations displayed on location picker"},locationsPerRequest:{_type:n.Type.Number,_default:50,_description:"The number of results to be fetched in each cycle of the infinite scroll"},useLoginLocationTag:{_type:n.Type.Boolean,_default:!0,_description:"Whether to show only locations with the 'Login Location' tag. If false, shows all locations."}},links:{loginSuccess:{_type:n.Type.String,_description:"Where to take the user after they are logged in.",_default:"${openmrsSpaBase}/home",_validators:[n.validators.isUrl]}},logo:{src:{_type:n.Type.String,_default:null,_description:"A path or URL to an image. If null, will use the OpenMRS SVG sprite.",_validators:[n.validators.isUrl]},alt:{_type:n.Type.String,_default:"Logo",_description:"Alt text, shown on hover"}}};function i(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function l(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(o){i(e,o,t[o])}))}return e}var s=t(3979),a={"webservices.rest":"^2.24.0"},c={online:{isLoginEnabled:!0},offline:{isLoginEnabled:!1}};function u(){var e="@openmrs/esm-login-app",o={featureName:"login",moduleName:e};return(0,n.defineConfigSchema)(e,r),{pages:[l({load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(
|
|
2
|
-
//# sourceMappingURL=420.js.map
|
|
1
|
+
(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[420],{2420:(e,o,t)=>{"use strict";t.r(o),t.d(o,{backendDependencies:()=>a,importTranslation:()=>s,setupOpenMRS:()=>u});var n=t(7644),r={provider:{type:{_type:n.Type.String,_default:"basic",_description:"Selects the login mechanism to use. Choices are 'basic' and 'oauth2'. For 'oauth2' you'll also need to set the 'loginUrl' and 'logoutUrl'."},loginUrl:{_type:n.Type.String,_default:"${openmrsSpaBase}/login",_description:"The URL to use for an OAuth2 login.",_validators:[n.validators.isUrl]},logoutUrl:{_type:n.Type.String,_default:"${openmrsSpaBase}/logout",_description:"The URL to use for an OAuth2 logout.",_validators:[n.validators.isUrl]}},chooseLocation:{enabled:{_type:n.Type.Boolean,_default:!0,_description:"Whether to show a 'Choose Location' screen after login. If true, the user will be taken to the loginSuccess URL after they choose a location."},numberToShow:{_type:n.Type.Number,_default:8,_description:"The number of locations displayed on location picker"},locationsPerRequest:{_type:n.Type.Number,_default:50,_description:"The number of results to be fetched in each cycle of the infinite scroll"},useLoginLocationTag:{_type:n.Type.Boolean,_default:!0,_description:"Whether to show only locations with the 'Login Location' tag. If false, shows all locations."}},links:{loginSuccess:{_type:n.Type.String,_description:"Where to take the user after they are logged in.",_default:"${openmrsSpaBase}/home",_validators:[n.validators.isUrl]}},logo:{src:{_type:n.Type.String,_default:null,_description:"A path or URL to an image. If null, will use the OpenMRS SVG sprite.",_validators:[n.validators.isUrl]},alt:{_type:n.Type.String,_default:"Logo",_description:"Alt text, shown on hover"}}};function i(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function l(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(o){i(e,o,t[o])}))}return e}var s=t(3979),a={"webservices.rest":"^2.24.0"},c={online:{isLoginEnabled:!0},offline:{isLoginEnabled:!1}};function u(){var e="@openmrs/esm-login-app",o={featureName:"login",moduleName:e};return(0,n.defineConfigSchema)(e,r),{pages:[l({load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(454),t.e(302),t.e(983),t.e(844),t.e(607),t.e(754)]).then(t.bind(t,1754))}),o),route:"login"},c),l({load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(454),t.e(302),t.e(983),t.e(844),t.e(607),t.e(754)]).then(t.bind(t,1754))}),o),route:"logout"},c)],extensions:[l({name:"location-picker",slot:"location-picker",load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(454),t.e(983),t.e(844),t.e(607)]).then(t.bind(t,9607))}),o)},c),{name:"logout-button",slot:"user-panel-actions-slot",load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(983),t.e(844),t.e(406)]).then(t.bind(t,7406))}),o),online:!0,offline:!1},l({name:"location-changer",slot:"user-panel-slot",order:1,load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(983),t.e(844),t.e(688)]).then(t.bind(t,6688))}),o)},c)]}}},3979:(e,o,t)=>{var n={"./de.json":[4272,272],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./hi.json":[5336,336],"./sw.json":[236,236],"./sw_KE.json":[539,539],"./tr_TR.json":[5673,673],"./uk.json":[5240,240],"./zh_CN.json":[1644,644]};function r(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}));var o=n[e],r=o[0];return t.e(o[1]).then((()=>t(r)))}r.keys=()=>Object.keys(n),r.id=3979,e.exports=r}}]);
|
package/dist/454.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 454.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[454],{361:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},487:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],u=0;u<e.length;u++){var c=e[u],f=r.base?c[0]+r.base:c[0],s=i[f]||0,l="".concat(f," ").concat(s);i[f]=s+1;var d=n(l),v={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)t[d].references++,t[d].updater(v);else{var p=o(v,r);r.byIndex=u,t.splice(u,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var u=n(i[a]);t[u].references--}for(var c=r(e,o),f=0;f<i.length;f++){var s=n(i[f]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}i=c}}},2052:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},1469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},4010:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},631:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9329:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9717:(e,t,n)=>{n.d(t,{Z:()=>k});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},o="object"==typeof global&&global&&global.Object===Object&&global;var i="object"==typeof self&&self&&self.Object===Object&&self;const a=o||i||Function("return this")(),u=function(){return a.Date.now()};var c=/\s/;var f=/^\s+/;const s=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&c.test(e.charAt(t)););return t}(e)+1).replace(f,""):e},l=a.Symbol;var d=Object.prototype,v=d.hasOwnProperty,p=d.toString,h=l?l.toStringTag:void 0;var y=Object.prototype.toString;var g=l?l.toStringTag:void 0;const b=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":g&&g in Object(e)?function(e){var t=v.call(e,h),n=e[h];try{e[h]=void 0;var r=!0}catch(e){}var o=p.call(e);return r&&(t?e[h]=n:delete e[h]),o}(e):function(e){return y.call(e)}(e)};var m=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,O=/^0o[0-7]+$/i,S=parseInt;const x=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==b(e)}(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var n=w.test(e);return n||O.test(e)?S(e.slice(2),n?2:8):m.test(e)?NaN:+e};var E=Math.max,T=Math.min;const k=function(e,t,n){var o,i,a,c,f,s,l=0,d=!1,v=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=o,r=i;return o=i=void 0,l=t,c=e.apply(r,n)}function y(e){return l=e,f=setTimeout(b,t),d?h(e):c}function g(e){var n=e-s;return void 0===s||n>=t||n<0||v&&e-l>=a}function b(){var e=u();if(g(e))return m(e);f=setTimeout(b,function(e){var n=t-(e-s);return v?T(n,a-(e-l)):n}(e))}function m(e){return f=void 0,p&&o?h(e):(o=i=void 0,c)}function w(){var e=u(),n=g(e);if(o=arguments,i=this,s=e,n){if(void 0===f)return y(s);if(v)return clearTimeout(f),f=setTimeout(b,t),h(s)}return void 0===f&&(f=setTimeout(b,t)),c}return t=x(t)||0,r(n)&&(d=!!n.leading,a=(v="maxWait"in n)?E(x(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==f&&clearTimeout(f),l=0,o=s=i=f=void 0},w.flush=function(){return void 0===f?c:m(u())},w}},3415:(e,t,n)=>{n.d(t,{ZP:()=>ce});var r=n(6983);function o(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}var a,u=function(){},c=u(),f=Object,s=function(e){return e===c},l=function(e){return"function"==typeof e},d=function(e,t){return f.assign({},e,t)},v="undefined",p=function(){return typeof window!=v},h=new WeakMap,y=0,g=function(e){var t,n,r=typeof e,o=e&&e.constructor,i=o==Date;if(f(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=h.get(e))return t;if(t=++y+"~",h.set(e,t),o==Array){for(t="@",n=0;n<e.length;n++)t+=g(e[n])+",";h.set(e,t)}if(o==f){t="#";for(var a=f.keys(e).sort();!s(n=a.pop());)s(e[n])||(t+=n+":"+g(e[n])+",");h.set(e,t)}}return t},b=!0,m=p(),w=typeof document!=v,O=m&&window.addEventListener?window.addEventListener.bind(window):u,S=w?document.addEventListener.bind(document):u,x=m&&window.removeEventListener?window.removeEventListener.bind(window):u,E=w?document.removeEventListener.bind(document):u,T={isOnline:function(){return b},isVisible:function(){var e=w&&document.visibilityState;return s(e)||"hidden"!==e}},k={initFocus:function(e){return S("visibilitychange",e),O("focus",e),function(){E("visibilitychange",e),x("focus",e)}},initReconnect:function(e){var t=function(){b=!0,e()},n=function(){b=!1};return O("online",t),O("offline",n),function(){x("online",t),x("offline",n)}}},R=!p()||"Deno"in window,C=R?r.useEffect:r.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,V=!R&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),M=function(e){if(l(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"",t,e?"$swr$"+e:""]},I=new WeakMap,D=function(e,t,n,r,o,i,a){void 0===a&&(a=!0);var u=I.get(e),c=u[0],f=u[1],s=u[3],l=c[t],d=f[t];if(a&&d)for(var v=0;v<d.length;++v)d[v](n,r,o);return i&&(delete s[t],l&&l[0])?l[0](2).then((function(){return e.get(t)})):e.get(t)},A=0,L=function(){return++A},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(void 0,void 0,void 0,(function(){var t,n,r,o,a,u,f,v,p,h,y,g,b,m,w,O,S,x,E,T;return i(this,(function(i){switch(i.label){case 0:if(t=e[0],n=e[1],r=e[2],o=e[3],u=!!s((a="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||a.populateCache,f=!1!==a.revalidate,v=!1!==a.rollbackOnError,p=a.optimisticData,h=M(n),y=h[0],g=h[2],!y)return[2];if(b=I.get(t),m=b[2],e.length<3)return[2,D(t,y,t.get(y),c,c,f,!0)];if(w=r,S=L(),m[y]=[S,0],x=!s(p),E=t.get(y),x&&(t.set(y,p),D(t,y,p)),l(w))try{w=w(t.get(y))}catch(e){O=e}return w&&l(w.then)?[4,w.catch((function(e){O=e}))]:[3,2];case 1:if(w=i.sent(),S!==m[y][0]){if(O)throw O;return[2,w]}O&&x&&v&&(u=!0,w=E,t.set(y,E)),i.label=2;case 2:return u&&(O||(l(u)&&(w=u(w,E)),t.set(y,w)),t.set(g,d(t.get(g),{error:O}))),m[y][1]=L(),[4,D(t,y,w,O,c,f,!!u)];case 3:if(T=i.sent(),O)throw O;return[2,u?T:w]}}))}))},P=function(e,t){for(var n in e)e[n][0]&&e[n][0](t)},$=function(e,t){if(!I.has(e)){var n=d(k,t),r={},o=N.bind(c,e),i=u;if(I.set(e,[r,{},{},{},o]),!R){var a=n.initFocus(setTimeout.bind(c,P.bind(c,r,0))),f=n.initReconnect(setTimeout.bind(c,P.bind(c,r,1)));i=function(){a&&a(),f&&f(),I.delete(e)}}return[e,o,i]}return[e,I.get(e)[4]]},F=$(new Map),_=F[0],W=F[1],J=d({onLoadingSlow:u,onSuccess:u,onError:u,onErrorRetry:function(e,t,n,r,o){var i=n.errorRetryCount,a=o.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!s(i)&&a>i||setTimeout(r,u,o)},onDiscarded:u,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:V?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:V?5e3:3e3,compare:function(e,t){return g(e)==g(t)},isPaused:function(){return!1},cache:_,mutate:W,fallback:{}},T),z=function(e,t){var n=d(e,t);if(t){var r=e.use,o=e.fallback,i=t.use,a=t.fallback;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=d(o,a))}return n},q=(0,r.createContext)({}),H=function(e){return l(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},U=function(){return d(J,(0,r.useContext)(q))},G=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},Z={dedupe:!0},B=(f.defineProperty((function(e){var t=e.value,n=z((0,r.useContext)(q),t),o=t&&t.provider,i=(0,r.useState)((function(){return o?$(o(n.cache||_),t):c}))[0];return i&&(n.cache=i[0],n.mutate=i[1]),C((function(){return i?i[2]:c}),[]),(0,r.createElement)(q.Provider,d(e,{value:n}))}),"default",{value:J}),a=function(e,t,n){var a=n.cache,u=n.compare,f=n.fallbackData,h=n.suspense,y=n.revalidateOnMount,g=n.refreshInterval,b=n.refreshWhenHidden,m=n.refreshWhenOffline,w=I.get(a),O=w[0],S=w[1],x=w[2],E=w[3],T=M(e),k=T[0],j=T[1],V=T[2],A=(0,r.useRef)(!1),P=(0,r.useRef)(!1),$=(0,r.useRef)(k),F=(0,r.useRef)(t),_=(0,r.useRef)(n),W=function(){return _.current},J=function(){return W().isVisible()&&W().isOnline()},z=function(e){return a.set(V,d(a.get(V),e))},q=a.get(k),H=s(f)?n.fallback[k]:f,U=s(q)?H:q,B=a.get(V)||{},K=B.error,Q=!A.current,X=function(){return Q&&!s(y)?y:!W().isPaused()&&(h?!s(U):s(U)||n.revalidateIfStale)},Y=!(!k||!t)&&(!!B.isValidating||Q&&X()),ee=function(e,t){var n=(0,r.useState)({})[1],o=(0,r.useRef)(e),i=(0,r.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,r.useCallback)((function(e){var r=!1,a=o.current;for(var u in e){var c=u;a[c]!==e[c]&&(a[c]=e[c],i.current[c]&&(r=!0))}r&&!t.current&&n({})}),[]);return C((function(){o.current=e})),[o,i.current,a]}({data:U,error:K,isValidating:Y},P),te=ee[0],ne=ee[1],re=ee[2],oe=(0,r.useCallback)((function(e){return o(void 0,void 0,void 0,(function(){var t,r,o,f,d,v,p,h,y,g,b,m,w;return i(this,(function(i){switch(i.label){case 0:if(t=F.current,!k||!t||P.current||W().isPaused())return[2,!1];f=!0,d=e||{},v=!E[k]||!d.dedupe,p=function(){return!P.current&&k===$.current&&A.current},h=function(){var e=E[k];e&&e[1]===o&&delete E[k]},y={isValidating:!1},g=function(){z({isValidating:!1}),p()&&re(y)},z({isValidating:!0}),re({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),v&&(D(a,k,te.current.data,te.current.error,!0),n.loadingTimeout&&!a.get(k)&&setTimeout((function(){f&&p()&&W().onLoadingSlow(k,n)}),n.loadingTimeout),E[k]=[t.apply(void 0,j),L()]),w=E[k],r=w[0],o=w[1],[4,r];case 2:return r=i.sent(),v&&setTimeout(h,n.dedupingInterval),E[k]&&E[k][1]===o?(z({error:c}),y.error=c,b=x[k],!s(b)&&(o<=b[0]||o<=b[1]||0===b[1])?(g(),v&&p()&&W().onDiscarded(k),[2,!1]):(u(te.current.data,r)?y.data=te.current.data:y.data=r,u(a.get(k),r)||a.set(k,r),v&&p()&&W().onSuccess(r,k,n),[3,4])):(v&&p()&&W().onDiscarded(k),[2,!1]);case 3:return m=i.sent(),h(),W().isPaused()||(z({error:m}),y.error=m,v&&p()&&(W().onError(m,k,n),("boolean"==typeof n.shouldRetryOnError&&n.shouldRetryOnError||l(n.shouldRetryOnError)&&n.shouldRetryOnError(m))&&J()&&W().onErrorRetry(m,k,n,oe,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return f=!1,g(),p()&&v&&D(a,k,y.data,y.error,!1),[2,!0]}}))}))}),[k]),ie=(0,r.useCallback)(N.bind(c,a,(function(){return $.current})),[]);if(C((function(){F.current=t,_.current=n})),C((function(){if(k){var e=k!==$.current,t=oe.bind(c,Z),n=0,r=G(k,S,(function(e,t,n){re(d({error:t,isValidating:n},u(te.current.data,e)?c:{data:e}))})),o=G(k,O,(function(e){if(0==e){var r=Date.now();W().revalidateOnFocus&&r>n&&J()&&(n=r+W().focusThrottleInterval,t())}else if(1==e)W().revalidateOnReconnect&&J()&&t();else if(2==e)return oe()}));return P.current=!1,$.current=k,A.current=!0,e&&re({data:U,error:K,isValidating:Y}),X()&&(s(U)||R?t():(i=t,p()&&typeof window.requestAnimationFrame!=v?window.requestAnimationFrame(i):setTimeout(i,1))),function(){P.current=!0,r(),o()}}var i}),[k,oe]),C((function(){var e;function t(){var t=l(g)?g(U):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){te.current.error||!b&&!W().isVisible()||!m&&!W().isOnline()?t():oe(Z).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[g,b,m,oe]),(0,r.useDebugValue)(U),h&&s(U)&&k)throw F.current=t,_.current=n,P.current=!1,s(K)?oe(Z):K;return{mutate:ie,get data(){return ne.data=!0,U},get error(){return ne.error=!0,K},get isValidating(){return ne.isValidating=!0,Y}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=U(),r=H(e),o=r[0],i=r[1],u=r[2],c=z(n,u),f=a,s=c.use;if(s)for(var l=s.length;l-- >0;)f=s[l](f);return f(o,i||c.fetcher,c)}),K=function(){return K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},K.apply(this,arguments)};var Q=function(){},X=Q(),Y=Object,ee=function(e){return e===X},te=function(e){return"function"==typeof e},ne="undefined"==typeof window||"Deno"in window?r.useEffect:r.useLayoutEffect,re=new WeakMap,oe=0,ie=function(e){var t,n,r=typeof e,o=e&&e.constructor,i=o==Date;if(Y(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=re.get(e))return t;if(t=++oe+"~",re.set(e,t),o==Array){for(t="@",n=0;n<e.length;n++)t+=ie(e[n])+",";re.set(e,t)}if(o==Y){t="#";for(var a=Y.keys(e).sort();!ee(n=a.pop());)ee(e[n])||(t+=n+":"+ie(e[n])+",");re.set(e,t)}}return t},ae=function(e){if(te(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?ie(e):"",t,e?"$swr$"+e:""]},ue=function(e){return te(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},ce=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=ue(n),i=o[0],a=o[1],u=o[2],c=(u.use||[]).concat(t);return e(i,a,K(K({},u),{use:c}))}}(B,(function(e){return function(t,n,o){var i=(0,r.useState)({})[1],a=(0,r.useRef)(!1),u=(0,r.useRef)(),c=o.cache,f=o.initialSize,s=void 0===f?1:f,l=o.revalidateAll,d=void 0!==l&&l,v=o.persistSize,p=void 0!==v&&v,h=o.revalidateFirstPage,y=void 0===h||h,g=o.revalidateOnMount,b=void 0!==g&&g,m=null;try{m=function(e){return ae(e?e(0,null):null)[0]}(t)}catch(e){}var w=null,O=null;m&&(w="$ctx$"+m,O="$len$"+m);var S=(0,r.useCallback)((function(){var e=c.get(O);return ee(e)?s:e}),[O,s]),x=(0,r.useRef)(S());ne((function(){a.current?m&&c.set(O,p?x.current:s):a.current=!0}),[m]);var E=b&&!a.current,T=e(m?"$inf$"+m:null,(function(){return e=void 0,r=void 0,a=function(){var e,r,i,a,f,s,l,v,p,h,g,b;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}(this,(function(m){switch(m.label){case 0:e=c.get(w)||[],r=e[0],i=e[1],a=[],f=S(),s=null,l=0,m.label=1;case 1:return l<f?(v=ae(t(l,s)),p=v[0],h=v[1],p?(g=c.get(p),b=d||r||ee(g)||y&&!l&&!ee(u.current)||E||i&&!ee(i[l])&&!o.compare(i[l],g),n&&b?[4,n.apply(void 0,h)]:[3,3]):[3,5]):[3,5];case 2:g=m.sent(),c.set(p,g),m.label=3;case 3:a.push(g),s=g,m.label=4;case 4:return++l,[3,1];case 5:return c.delete(w),[2,a]}}))},new((i=void 0)||(i=Promise))((function(t,n){function o(e){try{c(a.next(e))}catch(e){n(e)}}function u(e){try{c(a.throw(e))}catch(e){n(e)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof i?n:new i((function(e){e(n)}))).then(o,u)}c((a=a.apply(e,r||[])).next())}));var e,r,i,a}),o);ne((function(){u.current=T.data}),[T.data]);var k=(0,r.useCallback)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0],r=!1!==e[1];if(w){if(r)if(ee(n))c.set(w,[!0]);else{var o=u.current;c.set(w,[!1,o])}return e.length?T.mutate(n,r):T.mutate()}}),[w]),R=(0,r.useCallback)((function(e){var n;if(O&&(te(e)?n=e(S()):"number"==typeof e&&(n=e),"number"==typeof n))return c.set(O,n),x.current=n,i({}),k(function(e){for(var n=[],r=null,o=0;o<e;++o){var i=ae(t(o,r))[0],a=i?c.get(i):X;if(ee(a))return u.current;n.push(a),r=a}return n}(n))}),[O,S,k]);return{size:S(),setSize:R,mutate:k,get error(){return T.error},get data(){return T.data},get isValidating(){return T.isValidating}}}}))}}]);
|
|
File without changes
|
package/dist/574.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[574],{3574:o=>{o.exports=JSON.parse('{"change":"Change","confirm":"Confirm","contactAdmin":"Contact the site administrator","continue":"Continue","error":"Error","found":"found","invalidCredentials":"Invalid username or password","loading":"Loading","locationNotFound":"Sorry, no matching location was found.","locations":"locations","login":"Log in","Logout":"Logout","match":"match","matches":"matches","needHelp":"Need help?","of":"of","password":"Password","poweredBy":"Powered by","searchForLocation":"Search for a location","selectYourLocation":"Select your location from the list below. Use the search bar to search for your location.","showing":"Showing","username":"Username","validValueRequired":"A valid value is required","welcome":"Welcome"}')}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_login_app=self.webpackChunk_openmrs_esm_login_app||[]).push([[574],{3574:o=>{o.exports=JSON.parse('{"back":"back","change":"Change","confirm":"Confirm","contactAdmin":"Contact the site administrator","continue":"Continue","error":"Error","found":"found","invalidCredentials":"Invalid username or password","loading":"Loading","locationNotFound":"Sorry, no matching location was found.","locations":"locations","login":"Log in","Logout":"Logout","match":"match","matches":"matches","needHelp":"Need help?","of":"of","password":"Password","poweredBy":"Powered by","searchForLocation":"Search for a location","selectYourLocation":"Select your location from the list below. Use the search bar to search for your location.","showing":"Showing","username":"Username","validValueRequired":"A valid value is required","welcome":"Welcome"}')}}]);
|