@openmrs/esm-devtools-app 4.0.0-pre.0 → 4.0.1-pre.206
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 +31 -30
- package/README.md +4 -0
- package/dist/733.js +1 -2
- package/dist/735.js +1 -2
- package/dist/735.js.LICENSE.txt +0 -0
- package/dist/889.js +1 -2
- package/dist/889.js.LICENSE.txt +0 -0
- package/dist/988.js +1 -2
- package/dist/main.js +1 -2
- package/dist/openmrs-esm-devtools-app.js +1 -1
- package/dist/openmrs-esm-devtools-app.js.buildmanifest.json +24 -36
- package/dist/openmrs-esm-devtools-app.old +1 -2
- package/package.json +5 -5
- package/src/index.ts +5 -1
- package/.turbo/turbo-lint.log +0 -8
- package/.turbo/turbo-test.log +0 -11
- package/.turbo/turbo-typescript.log +0 -2
- package/dist/733.js.map +0 -1
- package/dist/735.js.map +0 -1
- package/dist/889.js.map +0 -1
- package/dist/988.js.map +0 -1
- package/dist/main.js.map +0 -1
- package/dist/openmrs-esm-devtools-app.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
1
|
+
[35m@openmrs/esm-devtools-app:build[0m: cache hit, replaying output [2m0ced50e7d6edd689[0m
|
|
2
|
+
[35m@openmrs/esm-devtools-app:build: [0m$ webpack --mode=production
|
|
3
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[33m889.js[39m[22m [1m[33m384 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m 1 related asset
|
|
4
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32m733.js[39m[22m 8.83 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
5
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32m735.js[39m[22m 6.46 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m 1 related asset
|
|
6
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32mopenmrs-esm-devtools-app.js[39m[22m 6.22 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: @openmrs/esm-devtools-app)
|
|
7
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32mmain.js[39m[22m 5.92 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: main)
|
|
8
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32mopenmrs-esm-devtools-app.js.buildmanifest.json[39m[22m 3.22 KiB [1m[32m[emitted][39m[22m
|
|
9
|
+
[35m@openmrs/esm-devtools-app:build: [0masset [1m[32m988.js[39m[22m 575 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
10
|
+
[35m@openmrs/esm-devtools-app:build: [0mruntime modules 36.5 KiB 28 modules
|
|
11
|
+
[35m@openmrs/esm-devtools-app:build: [0morphan modules 175 KiB [1m[33m[orphan][39m[22m 7 modules
|
|
12
|
+
[35m@openmrs/esm-devtools-app:build: [0mbuilt modules 1000 KiB (javascript) 84 bytes (share-init) 84 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
13
|
+
[35m@openmrs/esm-devtools-app:build: [0m cacheable modules 1000 KiB
|
|
14
|
+
[35m@openmrs/esm-devtools-app:build: [0m modules by path [1m../../[39m[22m 992 KiB 20 modules
|
|
15
|
+
[35m@openmrs/esm-devtools-app:build: [0m modules by path [1m./src/[39m[22m 12.9 KiB
|
|
16
|
+
[35m@openmrs/esm-devtools-app:build: [0m modules by path [1m./src/devtools/*.css[39m[22m 3.94 KiB 3 modules
|
|
17
|
+
[35m@openmrs/esm-devtools-app:build: [0m + 2 modules
|
|
18
|
+
[35m@openmrs/esm-devtools-app:build: [0m provide-module modules 84 bytes
|
|
19
|
+
[35m@openmrs/esm-devtools-app:build: [0m [1mprovide shared module (default) @openmrs/esm-framework@4.0.1-pre.206 = ../../framework/esm-framework/src/internal.ts[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
20
|
+
[35m@openmrs/esm-devtools-app:build: [0m [1mprovide shared module (default) react@18.2.0 = ../../../node_modules/react/index.js[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
21
|
+
[35m@openmrs/esm-devtools-app:build: [0m consume-shared-module modules 84 bytes
|
|
22
|
+
[35m@openmrs/esm-devtools-app:build: [0m [1mconsume shared module (default) @openmrs/esm-framework@>=4.0-pre (singleton) (fallback: ../../framework/esm-framework/src/internal.ts)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
23
|
+
[35m@openmrs/esm-devtools-app:build: [0m [1mconsume shared module (default) react@^18 (singleton) (fallback: ../../../node_modules/react/index.js)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
24
|
+
[35m@openmrs/esm-devtools-app:build: [0m [1mcontainer entry[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
25
|
+
[35m@openmrs/esm-devtools-app:build: [0m
|
|
26
|
+
[35m@openmrs/esm-devtools-app:build: [0m[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
27
|
+
[35m@openmrs/esm-devtools-app:build: [0mThis can impact web performance.
|
|
28
|
+
[35m@openmrs/esm-devtools-app:build: [0mAssets:
|
|
29
|
+
[35m@openmrs/esm-devtools-app:build: [0m 889.js (384 KiB)[39m[22m
|
|
30
|
+
[35m@openmrs/esm-devtools-app:build: [0m
|
|
31
|
+
[35m@openmrs/esm-devtools-app:build: [0mwebpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in 58500 ms
|
package/README.md
CHANGED
|
@@ -12,6 +12,10 @@ This is useful for developing features and for debugging problems, because you
|
|
|
12
12
|
can tell the browser to load one module from your localhost while keeping all
|
|
13
13
|
other modules using the default version in the import map.
|
|
14
14
|
|
|
15
|
+
Usage is documented both below and in the
|
|
16
|
+
[Import Map Overrides](http://o3-dev.docs.openmrs.org/#/getting_started/setup?id=import-map-overrides)
|
|
17
|
+
section of the developer documentation.
|
|
18
|
+
|
|
15
19
|
## Installation / Usage
|
|
16
20
|
|
|
17
21
|
The devtools are registered as a
|
package/dist/733.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_devtools_app=self.webpackChunk_openmrs_esm_devtools_app||[]).push([[733],{159:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(233),r=t.n(o),i=t(361),s=t.n(i)()(r());s.push([e.id,".-esm-devtools__devtools-popup-styles__popup___CkRFm {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 50%;\n z-index: 100000;\n background-color: black;\n color: white;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n box-sizing: border-box;\n font-family: sans serif;\n overflow-y: auto;\n}\n\n.-esm-devtools__devtools-popup-styles__tabs___DiZOd {\n width: 100%;\n}\n\n.-esm-devtools__devtools-popup-styles__tabList___ju4HZ {\n position: fixed;\n height: 4rem;\n width: 100%;\n z-index: 1000;\n background-color: black;\n}\n\n.-esm-devtools__devtools-popup-styles__tabPanels___keTDw {\n padding: 1.5rem;\n}\n\n.-esm-devtools__devtools-popup-styles__farRight___hP\\+s\\+ {\n position: absolute;\n right: 24px;\n top: 16px;\n display: flex;\n z-index: 1000;\n}\n\n.-esm-devtools__devtools-popup-styles__closeButton___\\+z1ZU {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n height: inherit;\n background: transparent;\n\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n text-align: inherit;\n\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n\n /* Corrects inability to style clickable `input` types in iOS */\n -webkit-appearance: none;\n}\n\n.-esm-devtools__devtools-popup-styles__closeButton___\\+z1ZU:focus {\n /*\n there's some 3rd party css that turns these off using !important, so the only way to override them is to also use important.\n this is why you don't use !important -- it makes it hard for other people to override it when they need to :(\n */\n outline: solid !important;\n outline-width: thin !important;\n outline-color: #e5e5e6 !important;\n}\n","",{version:3,sources:["webpack://./src/devtools/devtools-popup.styles.css"],names:[],mappings:"AAAA;EACE,eAAe;EACf,SAAS;EACT,OAAO;EACP,WAAW;EACX,WAAW;EACX,eAAe;EACf,uBAAuB;EACvB,YAAY;EACZ,aAAa;EACb,8BAA8B;EAC9B,uBAAuB;EACvB,sBAAsB;EACtB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,eAAe;EACf,YAAY;EACZ,WAAW;EACX,aAAa;EACb,uBAAuB;AACzB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,aAAa;EACb,aAAa;AACf;;AAEA;EACE,YAAY;EACZ,SAAS;EACT,UAAU;EACV,WAAW;EACX,iBAAiB;EACjB,eAAe;EACf,uBAAuB;;EAEvB,uCAAuC;EACvC,cAAc;EACd,aAAa;EACb,mBAAmB;;EAEnB,4EAA4E;EAC5E,mBAAmB;;EAEnB,uCAAuC;EACvC,+BAA+B;EAC/B,gCAAgC;;EAEhC,+DAA+D;EAC/D,wBAAwB;AAC1B;;AAEA;EACE;;;GAGC;EACD,yBAAyB;EACzB,8BAA8B;EAC9B,iCAAiC;AACnC",sourcesContent:[".popup {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 50%;\n z-index: 100000;\n background-color: black;\n color: white;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n box-sizing: border-box;\n font-family: sans serif;\n overflow-y: auto;\n}\n\n.tabs {\n width: 100%;\n}\n\n.tabList {\n position: fixed;\n height: 4rem;\n width: 100%;\n z-index: 1000;\n background-color: black;\n}\n\n.tabPanels {\n padding: 1.5rem;\n}\n\n.farRight {\n position: absolute;\n right: 24px;\n top: 16px;\n display: flex;\n z-index: 1000;\n}\n\n.closeButton {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n height: inherit;\n background: transparent;\n\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n text-align: inherit;\n\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n\n /* Corrects inability to style clickable `input` types in iOS */\n -webkit-appearance: none;\n}\n\n.closeButton:focus {\n /*\n there's some 3rd party css that turns these off using !important, so the only way to override them is to also use important.\n this is why you don't use !important -- it makes it hard for other people to override it when they need to :(\n */\n outline: solid !important;\n outline-width: thin !important;\n outline-color: #e5e5e6 !important;\n}\n"],sourceRoot:""}]),s.locals={popup:"-esm-devtools__devtools-popup-styles__popup___CkRFm",tabs:"-esm-devtools__devtools-popup-styles__tabs___DiZOd",tabList:"-esm-devtools__devtools-popup-styles__tabList___ju4HZ",tabPanels:"-esm-devtools__devtools-popup-styles__tabPanels___keTDw",farRight:"-esm-devtools__devtools-popup-styles__farRight___hP+s+",closeButton:"-esm-devtools__devtools-popup-styles__closeButton___+z1ZU"};const a=s},702:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(233),r=t.n(o),i=t(361),s=t.n(i)()(r());s.push([e.id,".-esm-devtools__devtools-styles__devtoolsTriggerButton___jdOjG {\n z-index: 100000;\n background-color: #c6c6c6;\n height: 40px !important;\n width: 40px !important;\n bottom: 10px;\n right: 8px;\n position: fixed;\n border-radius: 2px;\n}\n\n.-esm-devtools__devtools-styles__overridden___6XJFA {\n background-color: #da1e28;\n}\n","",{version:3,sources:["webpack://./src/devtools/devtools.styles.css"],names:[],mappings:"AAAA;EACE,eAAe;EACf,yBAAyB;EACzB,uBAAuB;EACvB,sBAAsB;EACtB,YAAY;EACZ,UAAU;EACV,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,yBAAyB;AAC3B",sourcesContent:[".devtoolsTriggerButton {\n z-index: 100000;\n background-color: #c6c6c6;\n height: 40px !important;\n width: 40px !important;\n bottom: 10px;\n right: 8px;\n position: fixed;\n border-radius: 2px;\n}\n\n.overridden {\n background-color: #da1e28;\n}\n"],sourceRoot:""}]),s.locals={devtoolsTriggerButton:"-esm-devtools__devtools-styles__devtoolsTriggerButton___jdOjG",overridden:"-esm-devtools__devtools-styles__overridden___6XJFA"};const a=s},260:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(233),r=t.n(o),i=t(361),s=t.n(i)()(r());s.push([e.id,".-esm-devtools__import-map-styles__importMap___ICDeA {\n width: 100%;\n margin-top: 12px;\n}\n","",{version:3,sources:["webpack://./src/devtools/import-map.styles.css"],names:[],mappings:"AAAA;EACE,WAAW;EACX,gBAAgB;AAClB",sourcesContent:[".importMap {\n width: 100%;\n margin-top: 12px;\n}\n"],sourceRoot:""}]),s.locals={importMap:"-esm-devtools__import-map-styles__importMap___ICDeA"};const a=s},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,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);o&&r[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}},233:e=>{function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}e.exports=function(e){var t,o,r=(o=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 o,r,i=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(o=t.next()).done)&&(i.push(o.value),!n||i.length!==n);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw r}}return i}}(t,o)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}(t,o)||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.")}()),i=r[1],s=r[3];if(!s)return i;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),c="/*# ".concat(l," */"),u=s.sources.map((function(e){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(e," */")}));return[i].concat(u).concat([c]).join("\n")}return[i].join("\n")}},487:e=>{var n=[];function t(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function o(e,o){for(var i={},s=[],a=0;a<e.length;a++){var l=e[a],c=o.base?l[0]+o.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var A=t(p),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==A)n[A].references++,n[A].updater(d);else{var m=r(d,o);o.byIndex=a,n.splice(a,0,{identifier:p,updater:m,references:1})}s.push(p)}return s}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 i=o(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var a=t(i[s]);n[a].references--}for(var l=o(e,r),c=0;c<i.length;c++){var u=t(i[c]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}i=l}}},52:e=>{var n={};e.exports=function(e,t){var o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},469:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},10:(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 o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,r&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var i=t.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),n.styleTagTransform(o,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},329: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))}}},733:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var o=t(776),r=t.n(o),i=t(487),s=t.n(i),a=t(631),l=t.n(a),c=t(52),u=t.n(c),p=t(10),A=t.n(p),d=t(469),m=t.n(d),f=t(329),h=t.n(f),v=t(260),_={};_.styleTagTransform=h(),_.setAttributes=A(),_.insert=u().bind(null,"head"),_.domAPI=l(),_.insertStyleElement=m(),s()(v.Z,_);const y=v.Z&&v.Z.locals?v.Z.locals:void 0;function g(e){var n=(0,o.useRef)(null);return(0,o.useEffect)((function(){var n=function(n){e.toggleOverridden(b())};return window.addEventListener("import-map-overrides:change",n),function(){return window.removeEventListener("import-map-overrides:change",n)}}),[n.current]),r().createElement("div",{className:y.importMap},r().createElement("import-map-overrides-list",{ref:n}))}function b(){return Object.keys(window.importMapOverrides.getOverrideMap().imports).length>0}var C=t(159),E={};E.styleTagTransform=h(),E.setAttributes=A(),E.insert=u().bind(null,"head"),E.domAPI=l(),E.insertStyleElement=m(),s()(C.Z,E);const B=C.Z&&C.Z.locals?C.Z.locals:void 0;function w(e){return r().createElement("div",{className:B.popup},r().createElement(g,{toggleOverridden:e.toggleOverridden}),r().createElement("div",{className:B.farRight},r().createElement("button",{onClick:e.close,className:B.closeButton},"ⓧ")))}var x=t(702),k={};k.styleTagTransform=h(),k.setAttributes=A(),k.insert=u().bind(null,"head"),k.domAPI=l(),k.insertStyleElement=m(),s()(x.Z,k);const S=x.Z&&x.Z.locals?x.Z.locals:void 0;function Z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function T(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,i=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(o=t.next()).done)&&(i.push(o.value),!n||i.length!==n);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw r}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Z(e,n):void 0}}(e,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.")}()}function j(e){var n=function(){s(!i)},t=T((0,o.useState)(!1),2),i=t[0],s=t[1],a=T((0,o.useState)(b),2),l=a[0],c=a[1];return r().createElement(r().Fragment,null,r().createElement("div",{role:"button",tabIndex:0,onClick:n,className:"".concat(S.devtoolsTriggerButton," ").concat(S.overridden?l:"")}),i&&r().createElement(w,{close:n,toggleOverridden:function(e){c(e)}}))}}}]);
|
|
2
|
-
//# sourceMappingURL=733.js.map
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_devtools_app=self.webpackChunk_openmrs_esm_devtools_app||[]).push([[733],{159:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(361),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".-esm-devtools__devtools-popup-styles__popup___CkRFm {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 50%;\n z-index: 100000;\n background-color: black;\n color: white;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n box-sizing: border-box;\n font-family: sans serif;\n overflow-y: auto;\n}\n\n.-esm-devtools__devtools-popup-styles__tabs___DiZOd {\n width: 100%;\n}\n\n.-esm-devtools__devtools-popup-styles__tabList___ju4HZ {\n position: fixed;\n height: 4rem;\n width: 100%;\n z-index: 1000;\n background-color: black;\n}\n\n.-esm-devtools__devtools-popup-styles__tabPanels___keTDw {\n padding: 1.5rem;\n}\n\n.-esm-devtools__devtools-popup-styles__farRight___hP\\+s\\+ {\n position: absolute;\n right: 24px;\n top: 16px;\n display: flex;\n z-index: 1000;\n}\n\n.-esm-devtools__devtools-popup-styles__closeButton___\\+z1ZU {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n height: inherit;\n background: transparent;\n\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n text-align: inherit;\n\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n\n /* Corrects inability to style clickable `input` types in iOS */\n -webkit-appearance: none;\n}\n\n.-esm-devtools__devtools-popup-styles__closeButton___\\+z1ZU:focus {\n /*\n there's some 3rd party css that turns these off using !important, so the only way to override them is to also use important.\n this is why you don't use !important -- it makes it hard for other people to override it when they need to :(\n */\n outline: solid !important;\n outline-width: thin !important;\n outline-color: #e5e5e6 !important;\n}\n",""]),r.locals={popup:"-esm-devtools__devtools-popup-styles__popup___CkRFm",tabs:"-esm-devtools__devtools-popup-styles__tabs___DiZOd",tabList:"-esm-devtools__devtools-popup-styles__tabList___ju4HZ",tabPanels:"-esm-devtools__devtools-popup-styles__tabPanels___keTDw",farRight:"-esm-devtools__devtools-popup-styles__farRight___hP+s+",closeButton:"-esm-devtools__devtools-popup-styles__closeButton___+z1ZU"};const s=r},702:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(361),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".-esm-devtools__devtools-styles__devtoolsTriggerButton___jdOjG {\n z-index: 100000;\n background-color: #c6c6c6;\n height: 40px !important;\n width: 40px !important;\n bottom: 10px;\n right: 8px;\n position: fixed;\n border-radius: 2px;\n}\n\n.-esm-devtools__devtools-styles__overridden___6XJFA {\n background-color: #da1e28;\n}\n",""]),r.locals={devtoolsTriggerButton:"-esm-devtools__devtools-styles__devtoolsTriggerButton___jdOjG",overridden:"-esm-devtools__devtools-styles__overridden___6XJFA"};const s=r},260:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(361),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".-esm-devtools__import-map-styles__importMap___ICDeA {\n width: 100%;\n margin-top: 12px;\n}\n",""]),r.locals={importMap:"-esm-devtools__import-map-styles__importMap___ICDeA"};const s=r},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,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var s=0;s<this.length;s++){var i=this[s][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},487:e=>{var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var s={},i=[],a=0;a<e.length;a++){var l=e[a],d=o.base?l[0]+o.base:l[0],u=s[d]||0,c="".concat(d," ").concat(u);s[d]=u+1;var p=n(c),_={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(_);else{var m=r(_,o);o.byIndex=a,t.splice(a,0,{identifier:c,updater:m,references:1})}i.push(c)}return i}function r(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,r){var s=o(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<s.length;i++){var a=n(s[i]);t[a].references--}for(var l=o(e,r),d=0;d<s.length;d++){var u=n(s[d]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}s=l}}},52:e=>{var t={};e.exports=function(e,n){var o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},10:(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 o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},329: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))}}},733:(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var o=n(776),r=n.n(o),s=n(487),i=n.n(s),a=n(631),l=n.n(a),d=n(52),u=n.n(d),c=n(10),p=n.n(c),_=n(469),m=n.n(_),f=n(329),v=n.n(f),h=n(260),y={};y.styleTagTransform=v(),y.setAttributes=p(),y.insert=u().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=m(),i()(h.Z,y);const g=h.Z&&h.Z.locals?h.Z.locals:void 0;function b(e){var t=(0,o.useRef)(null);return(0,o.useEffect)((function(){var t=function(t){e.toggleOverridden(w())};return window.addEventListener("import-map-overrides:change",t),function(){return window.removeEventListener("import-map-overrides:change",t)}}),[t.current]),r().createElement("div",{className:g.importMap},r().createElement("import-map-overrides-list",{ref:t}))}function w(){return Object.keys(window.importMapOverrides.getOverrideMap().imports).length>0}var x=n(159),k={};k.styleTagTransform=v(),k.setAttributes=p(),k.insert=u().bind(null,"head"),k.domAPI=l(),k.insertStyleElement=m(),i()(x.Z,k);const Z=x.Z&&x.Z.locals?x.Z.locals:void 0;function E(e){return r().createElement("div",{className:Z.popup},r().createElement(b,{toggleOverridden:e.toggleOverridden}),r().createElement("div",{className:Z.farRight},r().createElement("button",{onClick:e.close,className:Z.closeButton},"ⓧ")))}var C=n(702),T={};T.styleTagTransform=v(),T.setAttributes=p(),T.insert=u().bind(null,"head"),T.domAPI=l(),T.insertStyleElement=m(),i()(C.Z,T);const A=C.Z&&C.Z.locals?C.Z.locals:void 0;function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function O(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 o,r,s=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(s.push(o.value),!t||s.length!==t);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(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)?S(e,t):void 0}}(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 I(e){var t=function(){i(!s)},n=O((0,o.useState)(!1),2),s=n[0],i=n[1],a=O((0,o.useState)(w),2),l=a[0],d=a[1];return r().createElement(r().Fragment,null,r().createElement("div",{role:"button",tabIndex:0,onClick:t,className:"".concat(A.devtoolsTriggerButton," ").concat(A.overridden?l:"")}),s&&r().createElement(E,{close:t,toggleOverridden:function(e){d(e)}}))}}}]);
|
package/dist/735.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 735.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_openmrs_esm_devtools_app=self.webpackChunk_openmrs_esm_devtools_app||[]).push([[735],{447:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,u,a){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var i=!1;if(null===e)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return a=a(i=e),e=""===u?"."+j(i,0):u,k(a)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(g,"$&/")+"/")+e)),t.push(a)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var s=u+j(c=e[f],f);i+=O(c,t,o,s,a)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),f=0;!(c=e.next()).done;)i+=O(c=c.value,t,o,s=u+j(c,f++),a);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.
|
|
3
|
-
//# sourceMappingURL=735.js.map
|
|
2
|
+
"use strict";(self.webpackChunk_openmrs_esm_devtools_app=self.webpackChunk_openmrs_esm_devtools_app||[]).push([[735],{447:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,u,a){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var i=!1;if(null===e)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return a=a(i=e),e=""===u?"."+j(i,0):u,k(a)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(g,"$&/")+"/")+e)),t.push(a)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var s=u+j(c=e[f],f);i+=O(c,t,o,s,a)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),f=0;!(c=e.next()).done;)i+=O(c=c.value,t,o,s=u+j(c,f++),a);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},735:(e,t,r)=>{e.exports=r(447)}}]);
|
package/dist/735.js.LICENSE.txt
CHANGED
|
File without changes
|