@openmrs/esm-fast-data-entry-app 1.0.0-pre.17 → 1.0.0-pre.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/375.js +1 -0
- package/dist/536.js +2 -0
- package/dist/{338.js.LICENSE.txt → 536.js.LICENSE.txt} +0 -0
- package/dist/737.js +2 -0
- package/dist/{767.js.LICENSE.txt → 737.js.LICENSE.txt} +0 -0
- package/dist/804.js +1 -1
- package/dist/900.js +2 -0
- package/dist/900.js.LICENSE.txt +5 -0
- package/dist/906.js +1 -2
- package/dist/947.js +1 -0
- package/dist/openmrs-esm-fast-data-entry-app.js +1 -1
- package/dist/openmrs-esm-fast-data-entry-app.js.buildmanifest.json +58 -97
- package/dist/openmrs-esm-fast-data-entry-app.old +1 -1
- package/package.json +1 -3
- package/dist/338.js +0 -2
- package/dist/350.js +0 -1
- package/dist/482.js +0 -1
- package/dist/666.js +0 -1
- package/dist/767.js +0 -2
- package/dist/906.js.LICENSE.txt +0 -27
package/dist/947.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[947],{7947:(e,t,n)=>{n.r(t),n.d(t,{default:()=>he});var r=n(7114),a=n(7103),i=n(311),o=n(8663),l=n(4211),s=n.n(l),c=n(2221),u=n(5666),f=n.n(u);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,a,i,o){try{var l=e[i](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}const p=function(e){var t,n,r=(t=(0,l.useState)(null),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(t,n)||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[0],o=r[1];(0,l.useEffect)((function(){e?u(e):o(null)}),[e]);var s,c,u=(s=f().mark((function e(t){var n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.fetchCurrentPatient)(t);case 2:n=e.sent,o(null==n?void 0:n.data);case 4:case"end":return e.stop()}}),e)})),c=function(){var e=this,t=arguments;return new Promise((function(n,r){var a=s.apply(e,t);function i(e){m(a,n,r,i,o,"next",e)}function o(e){m(a,n,r,i,o,"throw",e)}i(void 0)}))},function(e){return c.apply(this,arguments)});return a},h=function(e){var t=e.formUuid,n=e.patientUuid,r=e.visitUuid,a=e.visitTypeUuid,o=e.encounterUuid,l=p(n);return s().createElement("div",null,t&&n&&l&&s().createElement(i.ExtensionSlot,{extensionSlotName:"form-widget-slot",state:{view:"form",formUuid:t,visitUuid:null!=r?r:"",visitTypeUuid:null!=a?a:"",patientUuid:n,patient:l,encounterUuid:null!=o?o:"",closeWorkspace:function(){}}}))};var v=n(5697),y=n.n(v),_=n(4184),g=n.n(_),b=n(9033);function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=b.Z.prefix,I=[.973051493507435,.15334737213558558,.5671034553053769];function C(e,t,n){return Math.floor(I[n%3]*(t-e+1))+e}var S=function(e){var t,n=e.paragraph,r=e.lineCount,a=e.width,i=e.heading,o=e.className,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["paragraph","lineCount","width","heading","className"]),c=g()((w(t={},"".concat(x,"--skeleton__text"),!0),w(t,"".concat(x,"--skeleton__heading"),i),w(t,o,o),t)),u=parseInt(a,10),f=a.includes("px");if(a.includes("%")&&n){for(var d=[],m=0;m<r;m++){var p=C(0,75,m)+"px";d.push(s().createElement("p",E({className:c,style:{width:"calc(".concat(a," - ").concat(p,")")},key:m},l)))}return s().createElement("div",null,d)}if(f&&n){for(var h=[],v=0;v<r;v++){var y=C(u-75,u,v)+"px";h.push(s().createElement("p",E({className:c,style:{width:y},key:v},l)))}return s().createElement("div",null,h)}return s().createElement("p",E({className:c,style:{width:a}},l))};S.propTypes={className:y().string,heading:y().bool,lineCount:y().number,paragraph:y().bool,width:y().string},S.defaultProps={paragraph:!1,width:"100%",heading:!1,lineCount:3};const N=S;var k=function(e){var t=e.children;return s().createElement("div",{style:{padding:"1rem"}},t)};const A=function(e){var t,n,r,a,i,o,l,c=e.patientUuid,u=p(c),f=null==u||null===(t=u.name)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.given)||void 0===r?void 0:r[0],d=null==u||null===(a=u.name)||void 0===a||null===(i=a[0])||void 0===i?void 0:i.family,m=null==u||null===(o=u.identifier)||void 0===o||null===(l=o[0])||void 0===l?void 0:l.value;return u?s().createElement(k,null,s().createElement("div",{style:{fontWeight:300,fontSize:"0.8rem",lineHeight:"0.9rem"}},m),s().createElement("div",{style:{fontWeight:"bold"}},f," ",d)):s().createElement(k,null,s().createElement(N,{style:{maxWidth:"8rem"}}))};function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=b.Z.prefix,U=function(e){var t,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className"]),a=g()((j(t={},"".concat(P,"--skeleton__placeholder"),!0),j(t,n,n),t));return s().createElement("div",O({className:a},r))};U.propTypes={className:y().string};const T=U;var Z=n(3379),M=n.n(Z),z=n(7795),R=n.n(z),B=n(569),q=n.n(B),D=n(3565),X=n.n(D),W=n(9216),L=n.n(W),H=n(4589),F=n.n(H),Q=n(8407),G={};G.styleTagTransform=F(),G.setAttributes=X(),G.insert=q().bind(null,"head"),G.domAPI=R(),G.insertStyleElement=L(),M()(Q.Z,G);const J=Q.Z&&Q.Z.locals?Q.Z.locals:void 0;var V,$,K=n(3346),Y=["children"],ee=s().forwardRef((function(e,t){var n=e.children,r=(0,K._)(e,Y);return s().createElement(K.I,(0,K.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),V||(V=s().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),n)})),te=["children"],ne=s().forwardRef((function(e,t){var n=e.children,r=(0,K._)(e,te);return s().createElement(K.I,(0,K.a)({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),$||($=s().createElement("path",{d:"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z"})),n)})),re=n(3397);function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=function(){return s().createElement("div",{className:J.container},s().createElement("div",{className:J.patientInfoContainer},s().createElement(T,null),s().createElement("div",{className:J.patientInfoContent},s().createElement("div",{className:J.patientInfoRow},s().createElement("span",{className:J.patientName},s().createElement(N,null))),s().createElement("div",{className:J.patientInfoRow},s().createElement("div",{className:J.demographics},s().createElement("span",null,s().createElement(N,null)),s().createElement("span",null,s().createElement(N,null)),s().createElement("span",null,s().createElement(N,null)))),s().createElement("div",{className:J.patientInfoRow},s().createElement("span",{className:J.identifier},s().createElement(N,null))))))};const oe=function(e){var t,n,r,a,c,u,f,d=e.patientUuid,m=p(d),h=(0,re.useTranslation)().t,v=(u=(0,l.useState)(!1),f=2,function(e){if(Array.isArray(e))return e}(u)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(u,f)||function(e,t){if(e){if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0}}(u,f)||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.")}()),y=v[0],_=v[1],g="".concat(null===(n=null==m||null===(t=m.name)||void 0===t?void 0:t[0].given)||void 0===n?void 0:n.join(" ")," ").concat(null==m||null===(r=m.name)||void 0===r||null===(a=r[0])||void 0===a?void 0:a.family),b=s().useMemo((function(){return{patientUuid:null==m?void 0:m.id,patientName:g}}),[null==m?void 0:m.id,g]);return m?s().createElement("div",{className:J.container},s().createElement("div",{className:"".concat(y?J.activePatientInfoContainer:J.patientInfoContainer)},s().createElement(i.ExtensionSlot,{extensionSlotName:"patient-photo-slot",state:b}),s().createElement("div",{className:J.patientInfoContent},s().createElement("div",{className:J.patientInfoRow},s().createElement("span",{className:J.patientName},g)),s().createElement("div",{className:J.patientInfoRow},s().createElement("div",{className:J.demographics},s().createElement("span",null,(null!==(c=m.gender)&&void 0!==c?c:h("unknown","Unknown")).replace(/^\w/,(function(e){return e.toUpperCase()}))," ","·"," "),s().createElement("span",null,(0,i.age)(m.birthDate)," · "),s().createElement("span",null,(0,i.formatDate)((0,i.parseDate)(m.birthDate),{mode:"wide",time:!1})))),s().createElement("div",{className:J.patientInfoRow},s().createElement("span",{className:J.identifier},m.identifier.length?m.identifier.map((function(e){return e.value})).join(", "):"--"),s().createElement(o.Z,{kind:"ghost",renderIcon:y?ne:ee,iconDescription:"Toggle contact details",onClick:function(e){return function(e){e.stopPropagation(),_((function(e){return!e}))}(e)},disabled:!0},y?h("showLess","Show less"):h("showAllDetails","Show all details")))))):s().createElement(ie,null)};var le=n(2275),se={};se.styleTagTransform=F(),se.setAttributes=X(),se.insert=q().bind(null,"head"),se.domAPI=R(),se.insertStyleElement=L(),M()(le.Z,se);const ce=le.Z&&le.Z.locals?le.Z.locals:void 0;function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fe(){return fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fe.apply(this,arguments)}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||me(e,t)||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.")}()}function me(e,t){if(e){if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}var pe=function(e){var t=e.patientUuids,n=e.setPatientUuids,l=e.setActivePatientUuid;return s().createElement("div",{style:{display:"flex",backgroundColor:"white",padding:"2rem 1rem"}},s().createElement("span",{style:{padding:"1rem"}},"Next patient:"),s().createElement("span",{style:{minWidth:"35rem"}},s().createElement(i.ExtensionSlot,{extensionSlotName:"patient-search-bar-slot",state:{selectPatientAction:function(e){var r;n((r=t,function(e){if(Array.isArray(e))return ue(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||me(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([e])),l(e)},buttonProps:{kind:"primary"}}})),s().createElement("span",{style:{padding:"1rem"}},"or"),s().createElement("span",null,s().createElement(o.Z,{disabled:!0},"Create new patient ",s().createElement(r.RVU,null))),s().createElement("span",{style:{flexGrow:1}}),s().createElement("span",null,s().createElement(o.Z,{kind:"ghost",disabled:!0},"Cancel ",s().createElement(a.dOq,null))))};const he=function(){var e=(0,c.useParams)().formUuid,t=de((0,l.useState)([]),2),n=t[0],r=t[1],a=de((0,l.useState)(null),2),u=a[0],f=a[1];return s().createElement("div",null,s().createElement("div",{className:ce.breadcrumbsContainer},s().createElement(i.ExtensionSlot,{extensionSlotName:"breadcrumbs-slot"})),!u&&s().createElement(pe,fe({},{patientUuids:n,setPatientUuids:r,setActivePatientUuid:f})),u&&s().createElement(oe,{patientUuid:u}),s().createElement("div",{style:{display:"flex",justifyContent:"center"}},s().createElement("div",{style:{width:"1100px"}},!n.length&&s().createElement("div",{style:{margin:"2rem",textAlign:"center"}},"Please select a patient first"),!!n.length&&s().createElement("div",{className:ce.formContainer},s().createElement("div",{style:{flexGrow:1}},s().createElement(h,fe({patientUuid:u},{formUuid:e}))),s().createElement("div",{style:{width:"13rem",textAlign:"left"}},s().createElement("h4",null,"Forms filled"),s().createElement("div",{style:{margin:"1rem 0",borderBottom:"1px solid #f4f4f4"}},n.map((function(e){return s().createElement(A,{patientUuid:e,key:e})}))),s().createElement("div",{style:{display:"flex",flexDirection:"column",rowGap:"0.5rem"}},s().createElement(o.Z,{kind:"primary",onClick:function(){return f(null)},style:{width:"100%"}},"Next Patient"),s().createElement(o.Z,{kind:"secondary",disabled:!0,style:{width:"100%"}},"Review & Save"),s().createElement(o.Z,{kind:"tertiary",disabled:!0,style:{width:"100%"}},"Cancel")))))))}},8407:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;font:inherit;font-size:100%;vertical-align:baseline;border:0}button,select,input,textarea{font-family:inherit;border-radius:0}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.29;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.29;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-fast-data-entry__patient-info__skeleton___SIgE4{0%{transform:scaleX(0);transform-origin:left;opacity:.3}20%{transform:scaleX(1);transform-origin:left;opacity:1}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{transform:scaleX(0);transform-origin:left;opacity:.3}}.-esm-fast-data-entry__patient-info__container___TUAaR{border-bottom:.0125rem solid #c6c6c6;background-color:#fff;padding:0}.-esm-fast-data-entry__patient-info__patientInfoContainer___A-vPU{padding:0 0 0 1rem;display:flex;align-items:center;min-height:7rem}.-esm-fast-data-entry__patient-info__activePatientInfoContainer___F5QkZ{background-color:#edf5ff;padding:0 0 0 1rem;display:flex;align-items:center;min-height:7rem}.-esm-fast-data-entry__patient-info__patientName___jlZOP{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}.-esm-fast-data-entry__patient-info__patientInfoContent___AdJAM{margin:1rem 0 0 1rem;width:100%}.-esm-fast-data-entry__patient-info__demographics___jDIQX{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0;color:#525252;margin-top:.25rem}.-esm-fast-data-entry__patient-info__identifier___g\\+HbB{font-size:1rem;font-weight:400;line-height:1.375;letter-spacing:0;color:#8d8d8d}.-esm-fast-data-entry__patient-info__patientInfoRow___4rtW5{display:flex;justify-content:space-between;align-items:center}.-esm-fast-data-entry__patient-info__patientInfoRow___4rtW5>button{min-height:2rem}.-esm-fast-data-entry__patient-info__patientEditBtn___lP3pm{color:#161616;margin:.5rem}",""]),a.locals={container:"-esm-fast-data-entry__patient-info__container___TUAaR",patientInfoContainer:"-esm-fast-data-entry__patient-info__patientInfoContainer___A-vPU",activePatientInfoContainer:"-esm-fast-data-entry__patient-info__activePatientInfoContainer___F5QkZ",patientName:"-esm-fast-data-entry__patient-info__patientName___jlZOP",patientInfoContent:"-esm-fast-data-entry__patient-info__patientInfoContent___AdJAM",demographics:"-esm-fast-data-entry__patient-info__demographics___jDIQX",identifier:"-esm-fast-data-entry__patient-info__identifier___g+HbB",patientInfoRow:"-esm-fast-data-entry__patient-info__patientInfoRow___4rtW5",patientEditBtn:"-esm-fast-data-entry__patient-info__patientEditBtn___lP3pm",skeleton:"-esm-fast-data-entry__patient-info__skeleton___SIgE4"};const i=a},2275:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-fast-data-entry__styles__breadcrumbsContainer___ToO0y>div>div>nav{background-color:#fff;padding:.5rem;border-bottom:1px solid #f4f4f4}.-esm-fast-data-entry__styles__formContainer___KZsne{display:flex;text-align:center;margin-top:1rem}",""]),a.locals={breadcrumbsContainer:"-esm-fast-data-entry__styles__breadcrumbsContainer___ToO0y",formContainer:"-esm-fast-data-entry__styles__formContainer___KZsne"};const i=a},3645: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 a={};if(r)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);r&&a[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},3379: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={},o=[],l=0;l<e.length;l++){var s=e[l],c=r.base?s[0]+r.base:s[0],u=i[c]||0,f="".concat(c," ").concat(u);i[c]=u+1;var d=n(f),m={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)t[d].references++,t[d].updater(m);else{var p=a(m,r);r.byIndex=l,t.splice(l,0,{identifier:f,updater:p,references:1})}o.push(f)}return o}function a(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,a){var i=r(e=e||[],a=a||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var l=n(i[o]);t[l].references--}for(var s=r(e,a),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=s}}},569: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)}},9216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795: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 a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(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)}}}},4589: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))}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@openmrs/esm-fast-data-entry-app",[],function(a,b){var c=void 0;return{execute:function(){a((()=>{function g(a){var b=m[a];if(void 0!==b)return b.exports;var c=m[a]={id:a,loaded:!1,exports:{}};return G[a].call(c.exports,c,c.exports,g),c.loaded=!0,c.exports}var j,k,q,w,x,y,z,A,B,C,r,D,E,F,G={1858:(a,b,c)=>{(0,c(2722).s)(1)},2722:(a,b,c)=>{const d=c(3905).R;b.s=function(a){if(a||(a=1),!c.y.meta||!c.y.meta.url)throw console.error("__system_context__",c.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");c.p=d(c.y.meta.url,a)}},5356:(a,b,c)=>{c(1858)},3905:(a,b)=>{b.R=function(b,c){var d=document.createElement("a");d.href=b;for(var e="/"===d.pathname[0]?d.pathname:"/"+d.pathname,f=0,g=e.length;f!==c&&0<=g;)"/"===e[--g]&&f++;if(f!==c)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+c+") is greater than the number of directories ("+f+") in the URL path "+b);var h=e.slice(0,g+1);return d.protocol+"//"+d.host+h},Number.isInteger},6751:(b,d,f)=>{var g={app:()=>(c||((self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[132],{8132:(b,c,d)=>{function e(){var a={featureName:"fast-data-entry",moduleName:"@openmrs/esm-fast-data-entry"};return(0,f.defineConfigSchema)("@openmrs/esm-fast-data-entry",g),(0,f.registerBreadcrumbs)([{path:"".concat(window.spaBase,"/forms"),title:"Forms",parent:"".concat(window.spaBase,"/home")}]),{pages:[{load:(0,f.getAsyncLifecycle)(function(){return Promise.all([d.e(211),d.e(804)]).then(d.bind(d,9804))},a),route:"forms"}],extensions:[{name:"forms-app-link",slot:"app-menu-slot",load:(0,f.getAsyncLifecycle)(function(){return Promise.all([d.e(211),d.e(397),d.e(776)]).then(d.bind(d,5776))},a),online:!0,offline:!0}]}}d.r(c),d.d(c,{backendDependencies:()=>h,importTranslation:()=>a,setupOpenMRS:()=>e,assets:()=>["294.js","
|
|
1
|
+
System.register("@openmrs/esm-fast-data-entry-app",[],function(a,b){var c=void 0;return{execute:function(){a((()=>{function g(a){var b=m[a];if(void 0!==b)return b.exports;var c=m[a]={id:a,loaded:!1,exports:{}};return G[a].call(c.exports,c,c.exports,g),c.loaded=!0,c.exports}var j,k,q,w,x,y,z,A,B,C,r,D,E,F,G={1858:(a,b,c)=>{(0,c(2722).s)(1)},2722:(a,b,c)=>{const d=c(3905).R;b.s=function(a){if(a||(a=1),!c.y.meta||!c.y.meta.url)throw console.error("__system_context__",c.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");c.p=d(c.y.meta.url,a)}},5356:(a,b,c)=>{c(1858)},3905:(a,b)=>{b.R=function(b,c){var d=document.createElement("a");d.href=b;for(var e="/"===d.pathname[0]?d.pathname:"/"+d.pathname,f=0,g=e.length;f!==c&&0<=g;)"/"===e[--g]&&f++;if(f!==c)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+c+") is greater than the number of directories ("+f+") in the URL path "+b);var h=e.slice(0,g+1);return d.protocol+"//"+d.host+h},Number.isInteger},6751:(b,d,f)=>{var g={app:()=>(c||((self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[132],{8132:(b,c,d)=>{function e(){var a={featureName:"fast-data-entry",moduleName:"@openmrs/esm-fast-data-entry"};return(0,f.defineConfigSchema)("@openmrs/esm-fast-data-entry",g),(0,f.registerBreadcrumbs)([{path:"".concat(window.spaBase,"/forms"),title:"Forms",parent:"".concat(window.spaBase,"/home")}]),{pages:[{load:(0,f.getAsyncLifecycle)(function(){return Promise.all([d.e(211),d.e(804)]).then(d.bind(d,9804))},a),route:"forms"}],extensions:[{name:"forms-app-link",slot:"app-menu-slot",load:(0,f.getAsyncLifecycle)(function(){return Promise.all([d.e(211),d.e(397),d.e(776)]).then(d.bind(d,5776))},a),online:!0,offline:!0}]}}d.r(c),d.d(c,{backendDependencies:()=>h,importTranslation:()=>a,setupOpenMRS:()=>e,assets:()=>["294.js","375.js","418.js","openmrs-esm-fast-data-entry-app.js","536.js","574.js","595.js","737.js","776.js","804.js","900.js","906.js","935.js","947.js"]});var f=d(311),g={formCategories:{_type:f.Type.Array,_description:"Organize forms into categories. A form can belong to multiple categories.",_elements:{name:{_type:f.Type.String,_description:"Category name"},forms:{_type:f.Type.Array,_description:"List of forms for this category.",_elements:{formUUID:{_type:f.Type.UUID,_description:"UUID of form"},name:{_type:f.Type.String,_description:"Name of form"}}}},_default:[{name:"ICRC Forms",forms:[{formUUID:"0cefb866-110c-4f16-af58-560932a1db1f",name:"Adult Triage"}]},{name:"Distress Scales",forms:[{formUUID:"9f26aad4-244a-46ca-be49-1196df1a8c9a",name:"POC Sample Form 1"}]}]},formCategoriesToShow:{_type:f.Type.Array,_description:"Forms to show by default on the forms app home page.",_elements:{_type:f.Type.String,_description:"Name of category"},_default:["ICRC Forms","Distress Scales"]}},a=d(3979),h={fhir2:"^1.2.0","webservices.rest":"^2.2.0"}},3979:(b,c,d)=>{function e(b){if(!d.o(f,b))return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+b+"'");throw a.code="MODULE_NOT_FOUND",a});var c=f[b],e=c[0];return d.e(c[1]).then(()=>d(e))}var f={"./en.json":[3574,574]};e.keys=()=>Object.keys(f),e.id=3979,b.exports=e}}]),c=f.e(132).then(()=>()=>f(8132))),c)},e=(a,b)=>(f.R=b,b=f.o(g,a)?g[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),f.R=void 0,b),h=(a,b)=>{if(f.S){var c=f.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return f.S["default"]=a,f.I("default",b)}};f.d(d,{get:()=>e,init:()=>h})}},m={};return g.m=G,g.c=m,g.y=b,g.n=a=>{var b=a&&a.__esModule?()=>a.default:()=>a;return g.d(b,{a:b}),b},g.d=(a,b)=>{for(var c in b)g.o(b,c)&&!g.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:b[c]})},g.f={},g.e=a=>Promise.all(Object.keys(g.f).reduce((b,c)=>(g.f[c](a,b),b),[])),g.u=a=>a+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),g.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),j={},k="@openmrs/esm-fast-data-entry-app:",g.l=(a,b,c)=>{if(j[a])j[a].push(b);else{var e,h;if(void 0!==c)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+c){e=m;break}e||(h=!0,(e=document.createElement("script")).charset="utf-8",e.timeout=120,g.nc&&e.setAttribute("nonce",g.nc),e.setAttribute("data-webpack",k+c),e.src=a),j[a]=[b];var q=(b,c)=>{e.onerror=e.onload=null,clearTimeout(d);var f=j[a];if(delete j[a],e.parentNode&&e.parentNode.removeChild(e),f&&f.forEach(a=>a(c)),b)return b(c)},d=setTimeout(q.bind(null,void 0,{type:"timeout",target:e}),12e4);e.onerror=q.bind(null,e.onerror),e.onload=q.bind(null,e.onload),h&&document.head.appendChild(e)}},g.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},g.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{g.S={};var b={},c={};g.I=(d,e)=>{e||(e=[]);var f=c[d];if(f||(f=c[d]={}),!(0<=e.indexOf(f))){if(e.push(f),b[d])return b[d];g.o(g.S,d)||(g.S[d]={});var h=g.S[d],a=(a,b,c,d)=>{var e=h[a]=h[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-fast-data-entry-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-fast-data-entry-app",eager:!!d})},i=[];return"default"===d&&(a("@openmrs/esm-framework","3.4.1-pre.109",()=>Promise.all([g.e(595),g.e(211)]).then(()=>()=>g(595))),a("carbon-icons","7.0.7",()=>g.e(906).then(()=>()=>g(906))),a("react-dom","16.14.0",()=>Promise.all([g.e(935),g.e(211)]).then(()=>()=>g(3935))),a("react-i18next","11.17.3",()=>Promise.all([g.e(418),g.e(211)]).then(()=>()=>g(1418))),a("react-router-dom","5.3.3",()=>Promise.all([g.e(536),g.e(211)]).then(()=>()=>g(536))),a("react","16.14.0",()=>g.e(294).then(()=>()=>g(7294)))),b[d]=i.length?Promise.all(i).then(()=>b[d]=1):1}}})(),g.p="",q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},w=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var a=c[d],h=(typeof a)[0];if(g!=h)return"o"==g&&"n"==h||"s"==h||"u"==g;if("o"!=g&&"u"!=g&&f!=a)return f<a;d++}},x=a=>{function b(){return g.pop().replace(/^\((.+)\)$/,"$1")}var c=a[0],d="";if(1===a.length)return"*";if(c+.5){d+=0==c?">=":-1==c?"<":1==c?"^":2==c?"~":0<c?"=":"!=";for(var e=1,f=1;f<a.length;f++)e--,d+="u"==(typeof(h=a[f]))[0]?"-":(0<e?".":"")+(e=2,h);return d}var g=[];for(f=1;f<a.length;f++){var h=a[f];g.push(0===h?"not("+b()+")":1===h?"("+b()+" || "+b()+")":2===h?g.pop()+" "+g.pop():x(h))}return b()},y=(b,e)=>{if(0 in b){e=q(e);var g=b[0],i=0>g;i&&(g=-g-1);for(var j=0,k=1,m=!0;;k++,j++){var n,o,v=k<b.length?(typeof b[k])[0]:"";if(j>=e.length||"o"==(o=(typeof(n=e[j]))[0]))return!m||("u"==v?k>g&&!i:""==v!=i);if("u"==o){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==o){if(!(k<=g)){if(i?n>b[k]:n<b[k])return!1;n!=b[k]&&(m=!1)}else if(n!=b[k])return!1;}else if("s"!=v&&"n"!=v){if(i||k<=g)return!1;m=!1,k--}else{if(k<=g||o<v!=i)return!1;m=!1}}}var d=[],p=d.pop.bind(d);for(j=1;j<b.length;j++){var c=b[j];d.push(1==c?p()|p():2==c?p()&p():c?y(c,e):!p())}return!!p()},z=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!w(a,b))?a:b,0)},A=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+x(d)+")",B=(a,b,c,d)=>{var e=z(a,c);return y(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(A(a,c,e,d)),C(a[c][e])},C=a=>(a.loaded=1,a.get()),r=(b=>function(c,d,e,f){var h=g.I(c);return h&&h.then?h.then(b.bind(b,c,g.S[c],d,e,f)):b(0,g.S[c],d,e,f)})((a,b,c,d,e)=>b&&g.o(b,c)?B(b,0,c,d):e()),D={},E={311:()=>r("default","@openmrs/esm-framework",[1,"next"],()=>Promise.all([g.e(595),g.e(211)]).then(()=>()=>g(595))),4211:()=>r("default","react",[1,16,14],()=>g.e(294).then(()=>()=>g(7294))),2221:()=>r("default","react-router-dom",[1,5,0,0],()=>g.e(536).then(()=>()=>g(536))),3397:()=>r("default","react-i18next",[1,11],()=>g.e(418).then(()=>()=>g(1418))),8408:()=>r("default","react-dom",[1,16,0],()=>g.e(935).then(()=>()=>g(3935)))},F={132:[311],211:[4211],375:[8408],397:[3397],804:[2221]},g.f.consumes=(a,b)=>{g.o(F,a)&&F[a].forEach(a=>{if(g.o(D,a))return b.push(D[a]);var c=b=>{D[a]=0,g.m[a]=c=>{delete g.c[a],c.exports=b()}},d=b=>{delete D[a],g.m[a]=()=>{throw delete g.c[a],b}};try{var e=E[a]();e.then?b.push(D[a]=e.then(c).catch(d)):c(e)}catch(a){d(a)}})},(()=>{var b={447:0};g.f.j=(c,d)=>{var e=g.o(b,c)?b[c]:void 0;if(0!==e)if(e)d.push(e[2]);else if(/^(211|397)$/.test(c))b[c]=0;else{var f=new Promise((a,d)=>e=b[c]=[a,d]);d.push(e[2]=f);var h=g.p+g.u(c),j=new Error;g.l(h,d=>{if(g.o(b,c)&&(0!==(e=b[c])&&(b[c]=void 0),e)){var f=d&&("load"===d.type?"missing":d.type),h=d&&d.target&&d.target.src;j.message="Loading chunk "+c+" failed.\n("+f+": "+h+")",j.name="ChunkLoadError",j.type=f,j.request=h,e[1](j)}},"chunk-"+c,c)}};var a=(c,d)=>{var e,f,[h,a,i]=d,j=0;if(h.some(a=>0!==b[a])){for(e in a)g.o(a,e)&&(g.m[e]=a[e]);i&&i(g)}for(c&&c(d);j<h.length;j++)f=h[j],g.o(b,f)&&b[f]&&b[f][0](),b[f]=0},c=self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})(),g.nc=void 0,g(5356),g(6751)})())}}});
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"files": [],
|
|
41
41
|
"auxiliaryFiles": [],
|
|
42
|
-
"hash": "
|
|
42
|
+
"hash": "d9de6f848675d3310391",
|
|
43
43
|
"childrenByOrder": {}
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -68,33 +68,10 @@
|
|
|
68
68
|
"initial": false,
|
|
69
69
|
"entry": false,
|
|
70
70
|
"recorded": false,
|
|
71
|
-
"
|
|
72
|
-
"size": 93908,
|
|
73
|
-
"sizes": {
|
|
74
|
-
"javascript": 93908
|
|
75
|
-
},
|
|
76
|
-
"names": [],
|
|
77
|
-
"idHints": [
|
|
78
|
-
"vendors"
|
|
79
|
-
],
|
|
80
|
-
"runtime": [
|
|
81
|
-
"@openmrs/esm-fast-data-entry-app"
|
|
82
|
-
],
|
|
83
|
-
"files": [
|
|
84
|
-
"338.js"
|
|
85
|
-
],
|
|
86
|
-
"auxiliaryFiles": [],
|
|
87
|
-
"hash": "21f2656e09e5a2d96423",
|
|
88
|
-
"childrenByOrder": {}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"rendered": true,
|
|
92
|
-
"initial": false,
|
|
93
|
-
"entry": false,
|
|
94
|
-
"recorded": false,
|
|
95
|
-
"size": 30087,
|
|
71
|
+
"size": 11632,
|
|
96
72
|
"sizes": {
|
|
97
|
-
"javascript":
|
|
73
|
+
"javascript": 11590,
|
|
74
|
+
"consume-shared": 42
|
|
98
75
|
},
|
|
99
76
|
"names": [],
|
|
100
77
|
"idHints": [],
|
|
@@ -102,10 +79,10 @@
|
|
|
102
79
|
"@openmrs/esm-fast-data-entry-app"
|
|
103
80
|
],
|
|
104
81
|
"files": [
|
|
105
|
-
"
|
|
82
|
+
"375.js"
|
|
106
83
|
],
|
|
107
84
|
"auxiliaryFiles": [],
|
|
108
|
-
"hash": "
|
|
85
|
+
"hash": "b98bc28b7b52583ab8b2",
|
|
109
86
|
"childrenByOrder": {}
|
|
110
87
|
},
|
|
111
88
|
{
|
|
@@ -128,26 +105,6 @@
|
|
|
128
105
|
"hash": "a46a3adeb1607068637a",
|
|
129
106
|
"childrenByOrder": {}
|
|
130
107
|
},
|
|
131
|
-
{
|
|
132
|
-
"rendered": false,
|
|
133
|
-
"initial": false,
|
|
134
|
-
"entry": false,
|
|
135
|
-
"recorded": false,
|
|
136
|
-
"reason": "reused as split chunk (cache group: default)",
|
|
137
|
-
"size": 42,
|
|
138
|
-
"sizes": {
|
|
139
|
-
"consume-shared": 42
|
|
140
|
-
},
|
|
141
|
-
"names": [],
|
|
142
|
-
"idHints": [],
|
|
143
|
-
"runtime": [
|
|
144
|
-
"@openmrs/esm-fast-data-entry-app"
|
|
145
|
-
],
|
|
146
|
-
"files": [],
|
|
147
|
-
"auxiliaryFiles": [],
|
|
148
|
-
"hash": "a9bde334a4e1f3957e2e",
|
|
149
|
-
"childrenByOrder": {}
|
|
150
|
-
},
|
|
151
108
|
{
|
|
152
109
|
"rendered": true,
|
|
153
110
|
"initial": false,
|
|
@@ -169,7 +126,7 @@
|
|
|
169
126
|
"418.js"
|
|
170
127
|
],
|
|
171
128
|
"auxiliaryFiles": [],
|
|
172
|
-
"hash": "
|
|
129
|
+
"hash": "6553fd70395ee9ab3f81",
|
|
173
130
|
"childrenByOrder": {}
|
|
174
131
|
},
|
|
175
132
|
{
|
|
@@ -177,11 +134,11 @@
|
|
|
177
134
|
"initial": true,
|
|
178
135
|
"entry": true,
|
|
179
136
|
"recorded": false,
|
|
180
|
-
"size":
|
|
137
|
+
"size": 22637,
|
|
181
138
|
"sizes": {
|
|
182
139
|
"javascript": 3409,
|
|
183
140
|
"share-init": 252,
|
|
184
|
-
"runtime":
|
|
141
|
+
"runtime": 18976
|
|
185
142
|
},
|
|
186
143
|
"names": [
|
|
187
144
|
"@openmrs/esm-fast-data-entry-app"
|
|
@@ -194,7 +151,7 @@
|
|
|
194
151
|
"openmrs-esm-fast-data-entry-app.js"
|
|
195
152
|
],
|
|
196
153
|
"auxiliaryFiles": [],
|
|
197
|
-
"hash": "
|
|
154
|
+
"hash": "baa17002cfae307c4b7d",
|
|
198
155
|
"childrenByOrder": {}
|
|
199
156
|
},
|
|
200
157
|
{
|
|
@@ -202,10 +159,10 @@
|
|
|
202
159
|
"initial": false,
|
|
203
160
|
"entry": false,
|
|
204
161
|
"recorded": false,
|
|
205
|
-
"reason": "split chunk (cache group: defaultVendors)",
|
|
206
|
-
"size":
|
|
162
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
163
|
+
"size": 93908,
|
|
207
164
|
"sizes": {
|
|
208
|
-
"javascript":
|
|
165
|
+
"javascript": 93908
|
|
209
166
|
},
|
|
210
167
|
"names": [],
|
|
211
168
|
"idHints": [
|
|
@@ -215,10 +172,10 @@
|
|
|
215
172
|
"@openmrs/esm-fast-data-entry-app"
|
|
216
173
|
],
|
|
217
174
|
"files": [
|
|
218
|
-
"
|
|
175
|
+
"536.js"
|
|
219
176
|
],
|
|
220
177
|
"auxiliaryFiles": [],
|
|
221
|
-
"hash": "
|
|
178
|
+
"hash": "83caa9d52579792daa04",
|
|
222
179
|
"childrenByOrder": {}
|
|
223
180
|
},
|
|
224
181
|
{
|
|
@@ -263,7 +220,7 @@
|
|
|
263
220
|
"595.js"
|
|
264
221
|
],
|
|
265
222
|
"auxiliaryFiles": [],
|
|
266
|
-
"hash": "
|
|
223
|
+
"hash": "679bbf91f9286498a3ae",
|
|
267
224
|
"childrenByOrder": {}
|
|
268
225
|
},
|
|
269
226
|
{
|
|
@@ -272,9 +229,9 @@
|
|
|
272
229
|
"entry": false,
|
|
273
230
|
"recorded": false,
|
|
274
231
|
"reason": "split chunk (cache group: defaultVendors)",
|
|
275
|
-
"size":
|
|
232
|
+
"size": 1198922,
|
|
276
233
|
"sizes": {
|
|
277
|
-
"javascript":
|
|
234
|
+
"javascript": 1198922
|
|
278
235
|
},
|
|
279
236
|
"names": [],
|
|
280
237
|
"idHints": [
|
|
@@ -284,30 +241,31 @@
|
|
|
284
241
|
"@openmrs/esm-fast-data-entry-app"
|
|
285
242
|
],
|
|
286
243
|
"files": [
|
|
287
|
-
"
|
|
244
|
+
"737.js"
|
|
288
245
|
],
|
|
289
246
|
"auxiliaryFiles": [],
|
|
290
|
-
"hash": "
|
|
247
|
+
"hash": "12b8618c46efb31f772c",
|
|
291
248
|
"childrenByOrder": {}
|
|
292
249
|
},
|
|
293
250
|
{
|
|
294
|
-
"rendered":
|
|
251
|
+
"rendered": true,
|
|
295
252
|
"initial": false,
|
|
296
253
|
"entry": false,
|
|
297
254
|
"recorded": false,
|
|
298
|
-
"
|
|
299
|
-
"size": 42,
|
|
255
|
+
"size": 364,
|
|
300
256
|
"sizes": {
|
|
301
|
-
"
|
|
257
|
+
"javascript": 364
|
|
302
258
|
},
|
|
303
259
|
"names": [],
|
|
304
260
|
"idHints": [],
|
|
305
261
|
"runtime": [
|
|
306
262
|
"@openmrs/esm-fast-data-entry-app"
|
|
307
263
|
],
|
|
308
|
-
"files": [
|
|
264
|
+
"files": [
|
|
265
|
+
"776.js"
|
|
266
|
+
],
|
|
309
267
|
"auxiliaryFiles": [],
|
|
310
|
-
"hash": "
|
|
268
|
+
"hash": "ccd2ed819fc89f5e3711",
|
|
311
269
|
"childrenByOrder": {}
|
|
312
270
|
},
|
|
313
271
|
{
|
|
@@ -315,9 +273,10 @@
|
|
|
315
273
|
"initial": false,
|
|
316
274
|
"entry": false,
|
|
317
275
|
"recorded": false,
|
|
318
|
-
"size":
|
|
276
|
+
"size": 1104,
|
|
319
277
|
"sizes": {
|
|
320
|
-
"
|
|
278
|
+
"consume-shared": 42,
|
|
279
|
+
"javascript": 1062
|
|
321
280
|
},
|
|
322
281
|
"names": [],
|
|
323
282
|
"idHints": [],
|
|
@@ -325,10 +284,10 @@
|
|
|
325
284
|
"@openmrs/esm-fast-data-entry-app"
|
|
326
285
|
],
|
|
327
286
|
"files": [
|
|
328
|
-
"
|
|
287
|
+
"804.js"
|
|
329
288
|
],
|
|
330
289
|
"auxiliaryFiles": [],
|
|
331
|
-
"hash": "
|
|
290
|
+
"hash": "86a47067e7624c52c986",
|
|
332
291
|
"childrenByOrder": {}
|
|
333
292
|
},
|
|
334
293
|
{
|
|
@@ -336,20 +295,23 @@
|
|
|
336
295
|
"initial": false,
|
|
337
296
|
"entry": false,
|
|
338
297
|
"recorded": false,
|
|
339
|
-
"
|
|
298
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
299
|
+
"size": 522439,
|
|
340
300
|
"sizes": {
|
|
341
|
-
"javascript":
|
|
301
|
+
"javascript": 522439
|
|
342
302
|
},
|
|
343
303
|
"names": [],
|
|
344
|
-
"idHints": [
|
|
304
|
+
"idHints": [
|
|
305
|
+
"vendors"
|
|
306
|
+
],
|
|
345
307
|
"runtime": [
|
|
346
308
|
"@openmrs/esm-fast-data-entry-app"
|
|
347
309
|
],
|
|
348
310
|
"files": [
|
|
349
|
-
"
|
|
311
|
+
"900.js"
|
|
350
312
|
],
|
|
351
313
|
"auxiliaryFiles": [],
|
|
352
|
-
"hash": "
|
|
314
|
+
"hash": "b65d4c622f5356449d8e",
|
|
353
315
|
"childrenByOrder": {}
|
|
354
316
|
},
|
|
355
317
|
{
|
|
@@ -357,21 +319,23 @@
|
|
|
357
319
|
"initial": false,
|
|
358
320
|
"entry": false,
|
|
359
321
|
"recorded": false,
|
|
360
|
-
"
|
|
322
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
323
|
+
"size": 109242,
|
|
361
324
|
"sizes": {
|
|
362
|
-
"
|
|
363
|
-
"javascript": 1062
|
|
325
|
+
"javascript": 109242
|
|
364
326
|
},
|
|
365
327
|
"names": [],
|
|
366
|
-
"idHints": [
|
|
328
|
+
"idHints": [
|
|
329
|
+
"vendors"
|
|
330
|
+
],
|
|
367
331
|
"runtime": [
|
|
368
332
|
"@openmrs/esm-fast-data-entry-app"
|
|
369
333
|
],
|
|
370
334
|
"files": [
|
|
371
|
-
"
|
|
335
|
+
"906.js"
|
|
372
336
|
],
|
|
373
337
|
"auxiliaryFiles": [],
|
|
374
|
-
"hash": "
|
|
338
|
+
"hash": "3f85c596eb5c7ccd1e8d",
|
|
375
339
|
"childrenByOrder": {}
|
|
376
340
|
},
|
|
377
341
|
{
|
|
@@ -379,10 +343,10 @@
|
|
|
379
343
|
"initial": false,
|
|
380
344
|
"entry": false,
|
|
381
345
|
"recorded": false,
|
|
382
|
-
"reason": "split chunk (cache group: defaultVendors)",
|
|
383
|
-
"size":
|
|
346
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
347
|
+
"size": 127447,
|
|
384
348
|
"sizes": {
|
|
385
|
-
"javascript":
|
|
349
|
+
"javascript": 127447
|
|
386
350
|
},
|
|
387
351
|
"names": [],
|
|
388
352
|
"idHints": [
|
|
@@ -392,10 +356,10 @@
|
|
|
392
356
|
"@openmrs/esm-fast-data-entry-app"
|
|
393
357
|
],
|
|
394
358
|
"files": [
|
|
395
|
-
"
|
|
359
|
+
"935.js"
|
|
396
360
|
],
|
|
397
361
|
"auxiliaryFiles": [],
|
|
398
|
-
"hash": "
|
|
362
|
+
"hash": "209a54cedfc25d5fe3f0",
|
|
399
363
|
"childrenByOrder": {}
|
|
400
364
|
},
|
|
401
365
|
{
|
|
@@ -403,23 +367,20 @@
|
|
|
403
367
|
"initial": false,
|
|
404
368
|
"entry": false,
|
|
405
369
|
"recorded": false,
|
|
406
|
-
"
|
|
407
|
-
"size": 127447,
|
|
370
|
+
"size": 46273,
|
|
408
371
|
"sizes": {
|
|
409
|
-
"javascript":
|
|
372
|
+
"javascript": 46273
|
|
410
373
|
},
|
|
411
374
|
"names": [],
|
|
412
|
-
"idHints": [
|
|
413
|
-
"vendors"
|
|
414
|
-
],
|
|
375
|
+
"idHints": [],
|
|
415
376
|
"runtime": [
|
|
416
377
|
"@openmrs/esm-fast-data-entry-app"
|
|
417
378
|
],
|
|
418
379
|
"files": [
|
|
419
|
-
"
|
|
380
|
+
"947.js"
|
|
420
381
|
],
|
|
421
382
|
"auxiliaryFiles": [],
|
|
422
|
-
"hash": "
|
|
383
|
+
"hash": "159a19fa7a8448d4163e",
|
|
423
384
|
"childrenByOrder": {}
|
|
424
385
|
}
|
|
425
386
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@openmrs/esm-fast-data-entry-app",[],(function(e,r){return{execute:function(){e((()=>{var e,t,n,o,a,i,s,l,
|
|
1
|
+
System.register("@openmrs/esm-fast-data-entry-app",[],(function(e,r){return{execute:function(){e((()=>{var e,t,n,o,a,i,s,u,l,f,d,p,c,h,m={1858:(e,r,t)=>{(0,t(2722).s)(1)},2722:(e,r,t)=>{const n=t(3905).R;r.s=function(e){if(e||(e=1),!t.y.meta||!t.y.meta.url)throw console.error("__system_context__",t.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");t.p=n(t.y.meta.url,e)}},5356:(e,r,t)=>{t(1858)},3905:(e,r,t)=>{r.R=function(e,r){var t=document.createElement("a");t.href=e;for(var n="/"===t.pathname[0]?t.pathname:"/"+t.pathname,o=0,a=n.length;o!==r&&a>=0;)"/"===n[--a]&&o++;if(o!==r)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+r+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,a+1);return t.protocol+"//"+t.host+i};Number.isInteger},6751:(e,r,t)=>{"use strict";var n={app:()=>t.e(132).then((()=>()=>t(8132)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},v={};function y(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}return y.m=m,y.c=v,y.y=r,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},t="@openmrs/esm-fast-data-entry-app:",y.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var i,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){i=f;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",t+o),i.src=r),e[r]=[n];var d=(t,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-fast-data-entry-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(s("@openmrs/esm-framework","3.4.1-pre.109",(()=>Promise.all([y.e(595),y.e(211)]).then((()=>()=>y(595))))),s("carbon-icons","7.0.7",(()=>y.e(906).then((()=>()=>y(906))))),s("react-dom","16.14.0",(()=>Promise.all([y.e(935),y.e(211)]).then((()=>()=>y(3935))))),s("react-i18next","11.17.3",(()=>Promise.all([y.e(418),y.e(211)]).then((()=>()=>y(1418))))),s("react-router-dom","5.3.3",(()=>Promise.all([y.e(536),y.e(211)]).then((()=>()=>y(536))))),s("react","16.14.0",(()=>y.e(294).then((()=>()=>y(7294)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),y.p="",n=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=n(e),r=n(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var o=e[t],a=(typeof o)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;t++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var i=[];for(o=1;o<e.length;o++){var s=e[o];i.push(0===s?"not("+u()+")":1===s?"("+u()+" || "+u()+")":2===s?i.pop()+" "+i.pop():a(s))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=n(r);var t=e[0],o=t<0;o&&(t=-t-1);for(var a=0,s=1,u=!0;;s++,a++){var l,f,d=s<e.length?(typeof e[s])[0]:"";if(a>=r.length||"o"==(f=(typeof(l=r[a]))[0]))return!u||("u"==d?s>t&&!o:""==d!=o);if("u"==f){if(!u||"u"!=d)return!1}else if(u)if(d==f)if(s<=t){if(l!=e[s])return!1}else{if(o?l>e[s]:l<e[s])return!1;l!=e[s]&&(u=!1)}else if("s"!=d&&"n"!=d){if(o||s<=t)return!1;u=!1,s--}else{if(s<=t||f<d!=o)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,s--)}}var p=[],c=p.pop.bind(p);for(a=1;a<e.length;a++){var h=e[a];p.push(1==h?c()|c():2==h?c()&c():h?i(h,r):!c())}return!!c()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},u=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",l=(e,r,t,n)=>{var o=s(e,t);return i(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(u(e,t,o,n)),f(e[t][o])},f=e=>(e.loaded=1,e.get()),d=(e=>function(r,t,n,o){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,n,o)):e(0,y.S[r],t,n,o)})(((e,r,t,n,o)=>r&&y.o(r,t)?l(r,0,t,n):o())),p={},c={311:()=>d("default","@openmrs/esm-framework",[1,"next"],(()=>Promise.all([y.e(595),y.e(211)]).then((()=>()=>y(595))))),4211:()=>d("default","react",[1,16,14],(()=>y.e(294).then((()=>()=>y(7294))))),2221:()=>d("default","react-router-dom",[1,5,0,0],(()=>y.e(536).then((()=>()=>y(536))))),3397:()=>d("default","react-i18next",[1,11],(()=>y.e(418).then((()=>()=>y(1418))))),8408:()=>d("default","react-dom",[1,16,0],(()=>y.e(935).then((()=>()=>y(3935)))))},h={132:[311],211:[4211],375:[8408],397:[3397],804:[2221]},y.f.consumes=(e,r)=>{y.o(h,e)&&h[e].forEach((e=>{if(y.o(p,e))return r.push(p[e]);var t=r=>{p[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},n=r=>{delete p[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var o=c[e]();o.then?r.push(p[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={447:0};y.f.j=(r,t)=>{var n=y.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(211|397)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)y.o(i,n)&&(y.m[n]=i[n]);s&&s(y)}for(r&&r(t);u<a.length;u++)o=a[u],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y.nc=void 0,y(5356),y(6751)})())}}}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-fast-data-entry-app",
|
|
3
|
-
"version": "1.0.0-pre.
|
|
3
|
+
"version": "1.0.0-pre.19",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "An OpenMRS 3.x microfrontend",
|
|
6
6
|
"browser": "dist/openmrs-esm-fast-data-entry-app.js",
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"dependencies": {},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@openmrs/esm-framework": "next",
|
|
51
|
-
"carbon-components-react": "^8.6.0",
|
|
52
51
|
"carbon-icons": "7.x",
|
|
53
52
|
"dayjs": "1.x",
|
|
54
53
|
"react": "^16.14",
|
|
@@ -80,7 +79,6 @@
|
|
|
80
79
|
"babel-eslint": "^10.1.0",
|
|
81
80
|
"babel-jest": "^27.0.2",
|
|
82
81
|
"babel-preset-minify": "^0.5.1",
|
|
83
|
-
"carbon-components-react": "^8.6.0",
|
|
84
82
|
"concurrently": "^6.2.0",
|
|
85
83
|
"eslint": "^7.27.0",
|
|
86
84
|
"eslint-config-prettier": "^8.3.0",
|
package/dist/338.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 338.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[338],{8679:(t,n,e)=>{"use strict";var r=e(9864),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}},2703:(t,n,e)=>{"use strict";var r=e(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},5697:(t,n,e)=>{t.exports=e(2703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9921:(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,b=e?Symbol.for("react.scope"):60119;function x(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 x(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)||x(t)===f},n.isConcurrentMode=P,n.isContextConsumer=function(t){return x(t)===s},n.isContextProvider=function(t){return x(t)===u},n.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},n.isForwardRef=function(t){return x(t)===p},n.isFragment=function(t){return x(t)===i},n.isLazy=function(t){return x(t)===m},n.isMemo=function(t){return x(t)===v},n.isPortal=function(t){return x(t)===o},n.isProfiler=function(t){return x(t)===c},n.isStrictMode=function(t){return x(t)===a},n.isSuspense=function(t){return x(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===b||t.$$typeof===y)},n.typeOf=x},9864:(t,n,e)=>{"use strict";t.exports=e(9921)},3338:(t,n,e)=>{"use strict";e.r(n),e.d(n,{BrowserRouter:()=>gt,HashRouter:()=>wt,Link:()=>Ct,MemoryRouter:()=>z,NavLink:()=>St,Prompt:()=>G,Redirect:()=>tt,Route:()=>ot,Router:()=>K,StaticRouter:()=>ft,Switch:()=>lt,generatePath:()=>X,matchPath:()=>rt,useHistory:()=>dt,useLocation:()=>vt,useParams:()=>mt,useRouteMatch:()=>yt,withRouter:()=>pt});var r=e(1721),o=e(4211),i=e.n(o),a=e(7462);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 b(t,n){n(window.confirm(t))}var x="popstate",P="hashchange";function O(){try{return window.history.state||{}}catch(t){return{}}}function E(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?b:s,h=i.keyLength,E=void 0===h?6:h,C=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 C&&(i=d(i,C)),y(i,r,e)}function R(){return Math.random().toString(36).substr(2,E)}var S=g();function T(t){(0,a.Z)(B,t),B.length=e.length,S.notifyListeners(B.location,B.action)}function A(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||L(k(t.state))}function _(){L(k(O()))}var $=!1;function L(t){$?($=!1,T()):S.confirmTransitionTo(t,"POP",f,(function(n){n?T({action:"POP",location:t}):function(t){var n=B.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,U(o))}(t)}))}var M=k(O()),Z=[M.key];function j(t){return C+m(t)}function U(t){e.go(t)}var N=0;function I(t){1===(N+=t)&&1===t?(window.addEventListener(x,A),o&&window.addEventListener(P,_)):0===N&&(window.removeEventListener(x,A),o&&window.removeEventListener(P,_))}var F=!1,B={length:e.length,action:"POP",location:M,createHref:j,push:function(t,n){var o="PUSH",i=y(t,n,R(),B.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=j(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(B.location.key),f=Z.slice(0,s+1);f.push(i.key),Z=f,T({action:o,location:i})}else window.location.href=n}}))},replace:function(t,n){var o="REPLACE",i=y(t,n,R(),B.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var n=j(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(B.location.key);-1!==s&&(Z[s]=i.key),T({action:o,location:i})}else window.location.replace(n)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(t){void 0===t&&(t=!1);var n=S.setPrompt(t);return F||(I(1),F=!0),function(){return F&&(F=!1,I(-1)),n()}},listen:function(t){var n=S.appendListener(t);return I(1),function(){I(-1),n()}}};return B}var C="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 T(t){window.location.replace(R(window.location.href)+"#"+t)}function A(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?b: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 x(){var t=h(S());return u&&(t=d(t,u)),y(t)}var P=g();function O(t){(0,a.Z)(F,t),F.length=n.length,P.notifyListeners(F.location,F.action)}var E=!1,A=null;function _(){var t,n,e=S(),r=f(e);if(e!==r)T(r);else{var i=x(),a=F.location;if(!E&&(n=i,(t=a).pathname===n.pathname&&t.search===n.search&&t.hash===n.hash))return;if(A===m(i))return;A=null,function(t){if(E)E=!1,O();else{P.confirmTransitionTo(t,"POP",o,(function(n){n?O({action:"POP",location:t}):function(t){var n=F.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&&(E=!0,j(o))}(t)}))}}(i)}}var $=S(),L=f($);$!==L&&T(L);var M=x(),Z=[m(M)];function j(t){n.go(t)}var U=0;function N(t){1===(U+=t)&&1===t?window.addEventListener(C,_):0===U&&window.removeEventListener(C,_)}var I=!1,F={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,F.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);if(S()!==o){A=n,function(t){window.location.hash=t}(o);var i=Z.lastIndexOf(m(F.location)),a=Z.slice(0,i+1);a.push(n),Z=a,O({action:e,location:r})}else O()}}))},replace:function(t,n){var e="REPLACE",r=y(t,void 0,void 0,F.location);P.confirmTransitionTo(r,e,o,(function(t){if(t){var n=m(r),o=f(u+n);S()!==o&&(A=n,T(o));var i=Z.indexOf(m(F.location));-1!==i&&(Z[i]=n),O({action:e,location:r})}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var n=P.setPrompt(t);return I||(N(1),I=!0),function(){return I&&(I=!1,N(-1)),n()}},listen:function(t){var n=P.appendListener(t);return N(1),function(){N(-1),n()}}};return F}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)(b,t),b.length=b.entries.length,f.notifyListeners(b.location,b.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=_(b.index+t,0,b.entries.length-1),r=b.entries[n];f.confirmTransitionTo(r,"POP",e,(function(t){t?l({action:"POP",location:r,index:n}):l()}))}var b={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(),b.location);f.confirmTransitionTo(o,r,e,(function(t){if(t){var n=b.index+1,e=b.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(),b.location);f.confirmTransitionTo(o,r,e,(function(t){t&&(b.entries[b.index]=o,l({action:r,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var n=b.index+t;return n>=0&&n<b.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return b}var L=e(5697),M=e.n(L),Z=1073741823,j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:{};function U(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-"+((j[a="__global_unique_id__"]=(j[a]||0)+1)+"__"),u=function(t){function e(){var n;return(n=t.apply(this,arguments)||this).emitter=U(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 I=e(9658),F=e.n(I),B=(e(9864),e(3366)),H=e(8679),D=e.n(H),W=function(t){var n=N();return n.displayName=t,n},V=W("Router-History"),q=W("Router"),K=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._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(){var t=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(n){t._isMounted&&t.setState({location:n})}))),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(q.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(K,{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(q.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 Y={},Q=0;function X(t,n){return void 0===t&&(t="/"),void 0===n&&(n={}),"/"===t?t:function(t){if(Y[t])return Y[t];var n=F().compile(t);return Q<1e4&&(Y[t]=n,Q++),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(q.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?X(e,n.params):(0,a.Z)({},e,{pathname:X(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:F()(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(q.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(q.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,B.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(K,(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(q.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,B.Z)(n,["wrappedComponentRef"]);return i().createElement(q.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(q).location}function mt(){var t=ht(q).match;return t?t.params:{}}function yt(t){var n=vt(),e=ht(q).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=E(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(K,{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=A(n.props),n}return(0,r.Z)(n,t),n.prototype.render=function(){return i().createElement(K,{history:this.history,children:this.props.children})},n}(i().Component),bt=function(t,n){return"function"==typeof t?t(n):t},xt=function(t,n){return"string"==typeof t?y(t,null,null,n):t},Pt=function(t){return t},Ot=i().forwardRef;void 0===Ot&&(Ot=Pt);var Et=Ot((function(t,n){var e=t.innerRef,r=t.navigate,o=t.onClick,c=(0,B.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!==Ot&&n||e,i().createElement("a",s)})),Ct=Ot((function(t,n){var e=t.component,r=void 0===e?Et:e,o=t.replace,c=t.to,u=t.innerRef,s=(0,B.Z)(t,["component","replace","to","innerRef"]);return i().createElement(q.Consumer,null,(function(t){t||l(!1);var e=t.history,f=xt(bt(c,t.location),t.location),p=f?e.createHref(f):"",h=(0,a.Z)({},s,{href:p,navigate:function(){var n=bt(c,t.location),r=m(t.location)===m(xt(n));(o||r?e.replace:e.push)(n)}});return Pt!==Ot?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,B.Z)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(q.Consumer,null,(function(t){t||l(!1);var e=h||t.location,o=xt(bt(y,e),e),b=o.pathname,x=b&&b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=x?rt(e.pathname,{path:x,exact:f,sensitive:d,strict:v}):null,O=!!(p?p(P,e):P),E="function"==typeof s?s(O):s,C="function"==typeof m?m(O):m;O&&(E=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(" ")}(E,c),C=(0,a.Z)({},C,u));var k=(0,a.Z)({"aria-current":O&&r||null,className:E,style:C,to:o},w);return kt!==Rt?k.ref=n||g:k.innerRef=g,i().createElement(Ct,k)}))}))},6585:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},9658:(t,n,e)=>{var r=e(6585);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],b=e[7];c&&(r.push(c),c="");var x=null!=v&&null!=d&&d!==v,P="+"===w||"*"===w,O="?"===w||"*"===w,E=e[2]||f,C=y||g;r.push({name:m||i++,prefix:v||"",delimiter:E,optional:O,repeat:P,partial:x,asterisk:!!b,pattern:C?s(C):b?".*":"[^"+u(E)+"]+?"})}}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)}},7462:(t,n,e)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():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})},1721:(t,n,e)=>{"use strict";function r(t,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():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})},3366:(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})}}]);
|