@pih/esm-referrals-queue-app 2.0.0-pre.10 → 2.0.0-pre.12

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.
Files changed (214) hide show
  1. package/.husky/{pre-commit → pre-push} +0 -0
  2. package/dist/022d7839fbf0b01f1279.woff2 +0 -0
  3. package/dist/02e1d2dbd3774a8f5658.woff2 +0 -0
  4. package/dist/066f70960ee0bd4c07f5.woff +0 -0
  5. package/dist/0755d9c25fe86099a1fb.woff2 +0 -0
  6. package/dist/091d3a63042974d54d8a.woff +0 -0
  7. package/dist/0befeb0f9f061f052717.woff +0 -0
  8. package/dist/0c7e37865f4bb741d719.woff2 +0 -0
  9. package/dist/0e49dbb9071356a97aa7.woff +0 -0
  10. package/dist/0e5132569fd3eaea21cc.woff +0 -0
  11. package/dist/0eb6e423b08540bb2757.woff2 +0 -0
  12. package/dist/1223fdf597c1c7a57096.woff +0 -0
  13. package/dist/132.js +1 -1
  14. package/dist/13aa346ec359eaa168e2.woff +0 -0
  15. package/dist/144035d867f964f2c13d.woff2 +0 -0
  16. package/dist/152.js +2 -0
  17. package/dist/152.js.LICENSE.txt +47 -0
  18. package/dist/160c450b41a6dfc1bebe.woff2 +0 -0
  19. package/dist/164bc7c64a15028f6b19.woff +0 -0
  20. package/dist/178f507500fb1dabcf4e.woff +0 -0
  21. package/dist/189265eddd933218a2c4.woff2 +0 -0
  22. package/dist/19239848cb5cdf02953e.woff2 +0 -0
  23. package/dist/1ac9d0b721a47c618f27.woff2 +0 -0
  24. package/dist/1b3c2f1d45dbb745b4cf.woff +0 -0
  25. package/dist/2034d12242df27d980b8.woff +0 -0
  26. package/dist/22f2f7f20d522f25d8ec.woff2 +0 -0
  27. package/dist/247.js +1 -0
  28. package/dist/257967d345c4d73a616e.woff +0 -0
  29. package/dist/27626c129fe4aa22e2e6.woff2 +0 -0
  30. package/dist/2861a6629748147a32ea.woff2 +0 -0
  31. package/dist/2b531494817a7008521c.woff +0 -0
  32. package/dist/2d855afa565d0006f5fa.woff2 +0 -0
  33. package/dist/2e0b1ce3e5a1765917d0.woff2 +0 -0
  34. package/dist/3028d912b8189a439418.woff2 +0 -0
  35. package/dist/319.js +1 -0
  36. package/dist/32a6fcddf51918f011f5.woff2 +0 -0
  37. package/dist/332d509af7965c98d5af.woff +0 -0
  38. package/dist/347e5ea493b441f06459.woff2 +0 -0
  39. package/dist/34ca7aaefd825bca9d62.woff +0 -0
  40. package/dist/362a779400aac0be5a12.woff2 +0 -0
  41. package/dist/3647330588ae297a0bd4.woff +0 -0
  42. package/dist/390315031483cbc78b20.woff +0 -0
  43. package/dist/3afa7954e621de8a516a.woff +0 -0
  44. package/dist/3f0da7edcbb8d01dcb97.woff +0 -0
  45. package/dist/3f4766bc8c4721b8d7a6.woff +0 -0
  46. package/dist/3fb99cf388da08c31bd7.woff2 +0 -0
  47. package/dist/404c0909c893f95ee0dc.woff2 +0 -0
  48. package/dist/40e1012bdd73a02c83f8.woff +0 -0
  49. package/dist/422493740da495c4413f.woff2 +0 -0
  50. package/dist/42423f4a1cfd745854a5.woff +0 -0
  51. package/dist/42c5469340604f5e79d5.woff2 +0 -0
  52. package/dist/42df6ba8755c7591afbe.woff2 +0 -0
  53. package/dist/44c432e4a678791737ca.woff2 +0 -0
  54. package/dist/452cc78a1baf50168631.woff +0 -0
  55. package/dist/4882dd164789ce7f44fe.woff2 +0 -0
  56. package/dist/49290aeb66b58f856f84.woff +0 -0
  57. package/dist/49b97d3a9224cb6bd5ac.woff +0 -0
  58. package/dist/4c3ed2a3f44451a96594.woff2 +0 -0
  59. package/dist/4f0c4a9ba045ef843752.woff +0 -0
  60. package/dist/4f746f1bbc05d6e9497f.woff2 +0 -0
  61. package/dist/5192df154d7f8cb9b76c.woff +0 -0
  62. package/dist/54028f60020ee6ac16c1.woff +0 -0
  63. package/dist/5687219882cd972495e6.woff +0 -0
  64. package/dist/56c52b5b71ff7d0decad.woff +0 -0
  65. package/dist/574.js +1 -1
  66. package/dist/578aae4082fb12898fe3.woff2 +0 -0
  67. package/dist/595.js +1 -1
  68. package/dist/5a07c14cd7519e0fa02d.woff +0 -0
  69. package/dist/5d3700da8be3c5172b76.woff2 +0 -0
  70. package/dist/5e1440da12d78046c31a.woff2 +0 -0
  71. package/dist/608bff2bb28ccfd74ca0.woff +0 -0
  72. package/dist/62f5f45b32f0702031ad.woff2 +0 -0
  73. package/dist/62fd670eebf4976bb6df.woff2 +0 -0
  74. package/dist/6305238484fd3cc045b0.woff2 +0 -0
  75. package/dist/64e1054a50262b9083ab.woff2 +0 -0
  76. package/dist/6557a3c33c4218db6066.woff2 +0 -0
  77. package/dist/66e70aaa5d9c7be2b7d9.woff +0 -0
  78. package/dist/68.js +2 -0
  79. package/dist/{879.js.LICENSE.txt → 68.js.LICENSE.txt} +0 -0
  80. package/dist/68c556c669c532459374.woff2 +0 -0
  81. package/dist/6956fe0f5e625049f7e2.woff2 +0 -0
  82. package/dist/6bdf3ec568a6634a4aea.woff2 +0 -0
  83. package/dist/6d9b6411704ee0e26f31.woff2 +0 -0
  84. package/dist/6dc1395379557355e28d.woff2 +0 -0
  85. package/dist/6fcf28e2972af1d72ef8.woff +0 -0
  86. package/dist/712.js +2 -0
  87. package/dist/{147.js.LICENSE.txt → 712.js.LICENSE.txt} +0 -29
  88. package/dist/723a4b364f38da1e93e0.woff2 +0 -0
  89. package/dist/729e5174c878b0a30035.woff2 +0 -0
  90. package/dist/74025371289e2bab9590.woff2 +0 -0
  91. package/dist/757.js +1 -0
  92. package/dist/762888d30d179075ea6c.woff +0 -0
  93. package/dist/784d3444a92b4f1b77bc.woff +0 -0
  94. package/dist/794699869c58056513c7.woff +0 -0
  95. package/dist/79752c5c990ac51471f4.woff2 +0 -0
  96. package/dist/7984062acac19d00de83.woff2 +0 -0
  97. package/dist/79bc83792898f002dfc0.woff +0 -0
  98. package/dist/7d46ea83f372f13d40a0.woff +0 -0
  99. package/dist/7f15c4783287134ac710.woff +0 -0
  100. package/dist/8000079133e696898c7e.woff2 +0 -0
  101. package/dist/806a7a7745e7bd864174.woff +0 -0
  102. package/dist/8212ca4bb829a5d9f858.woff2 +0 -0
  103. package/dist/830.js +1 -0
  104. package/dist/86c57595c1697937314b.woff +0 -0
  105. package/dist/88cb07ee53507d19f992.woff2 +0 -0
  106. package/dist/8a014da16bb5df1e9830.woff2 +0 -0
  107. package/dist/8af6b3d1e1a4ac4fdd49.woff2 +0 -0
  108. package/dist/8bbf2e3b118b1732ea16.woff2 +0 -0
  109. package/dist/8cd3fae70878b55de45b.woff +0 -0
  110. package/dist/8e05df04c42299bc9c31.woff +0 -0
  111. package/dist/9022078be982e16dc192.woff2 +0 -0
  112. package/dist/907c442ef0bf7886cbbc.woff2 +0 -0
  113. package/dist/90822629c9f43acb1cf8.woff2 +0 -0
  114. package/dist/92086fc1b9953ba20acd.woff +0 -0
  115. package/dist/92f1cafa16c646cffd37.woff2 +0 -0
  116. package/dist/9326d3d6ca3411249fd4.woff2 +0 -0
  117. package/dist/9340a047e2c400a8eff4.woff +0 -0
  118. package/dist/951b1b92a4b8315c27a1.woff +0 -0
  119. package/dist/957995d81ad3284f963f.woff2 +0 -0
  120. package/dist/95b38dc2556a6c46dc6c.woff2 +0 -0
  121. package/dist/95db32b85d6efe3f0c92.woff2 +0 -0
  122. package/dist/962cfb135eb81a80c239.woff +0 -0
  123. package/dist/96a9036ba12617504616.woff +0 -0
  124. package/dist/983c50a737da66c0bd02.woff2 +0 -0
  125. package/dist/987d18f198bd7d9fa265.woff2 +0 -0
  126. package/dist/9924e57202230ba397b0.woff2 +0 -0
  127. package/dist/9b6742916c10378bb045.woff +0 -0
  128. package/dist/9df11ababf0dd515e6a3.woff +0 -0
  129. package/dist/9e3f7d82b48ac62c7cb5.woff2 +0 -0
  130. package/dist/a07b795a96fa2b6691d1.woff +0 -0
  131. package/dist/a1c1f2f0c32534ae4785.woff2 +0 -0
  132. package/dist/a1f7181f7c86baf1c351.woff2 +0 -0
  133. package/dist/a32f901b42b9ddcc6e85.woff +0 -0
  134. package/dist/a34802c95c44f5903e18.woff2 +0 -0
  135. package/dist/a7c1ee99b038bc0777e0.woff +0 -0
  136. package/dist/a81d5c10cd640839a4b8.woff2 +0 -0
  137. package/dist/aa343b4fcab1658acc56.woff2 +0 -0
  138. package/dist/ab33fa58a6e7146d03f0.woff +0 -0
  139. package/dist/abeb6d68a7f128eaa1cd.woff +0 -0
  140. package/dist/aec9738277936824e421.woff +0 -0
  141. package/dist/b02a06390388409ab8cd.woff +0 -0
  142. package/dist/b0afed71b45a7f38e794.woff +0 -0
  143. package/dist/b0ec1af29941e0f52305.woff2 +0 -0
  144. package/dist/b3bbe4705c54760ade6b.woff +0 -0
  145. package/dist/b55f8f00b5929160ed27.woff +0 -0
  146. package/dist/b649469b999b248dbb70.woff +0 -0
  147. package/dist/b691d8c0c5110ea3659e.woff +0 -0
  148. package/dist/b729b57f022eb1d859fc.woff +0 -0
  149. package/dist/b8020bf5b1afb9556569.woff +0 -0
  150. package/dist/bb730844c9185c864437.woff2 +0 -0
  151. package/dist/bbae2f8ceda944a1ecd5.woff +0 -0
  152. package/dist/bfefc1c5dd4c689b4f0f.woff2 +0 -0
  153. package/dist/c204ba906a18b66bed05.woff +0 -0
  154. package/dist/c25bc2c3e5c0f0b089a2.woff +0 -0
  155. package/dist/c26797e2920f701bf68f.woff2 +0 -0
  156. package/dist/c32b0c98c77e458414dc.woff +0 -0
  157. package/dist/c3a84513ace37e633e6c.woff +0 -0
  158. package/dist/c6dd22ce106021638df7.woff2 +0 -0
  159. package/dist/c781dd3e68cf4db696e2.woff2 +0 -0
  160. package/dist/c81d3db94f7270abbebf.woff +0 -0
  161. package/dist/c8298f275f960d821949.woff +0 -0
  162. package/dist/c89e876b0e1fd2a0c661.woff2 +0 -0
  163. package/dist/c8cf918de7d9deffd15c.woff2 +0 -0
  164. package/dist/cacfd1d7dbd14067b970.woff2 +0 -0
  165. package/dist/cc33f663568d938071a0.woff +0 -0
  166. package/dist/cc628a3da5e5810acebe.woff +0 -0
  167. package/dist/cd9a0204454ff0e22880.woff2 +0 -0
  168. package/dist/cdb54c58914c803c9ed6.woff +0 -0
  169. package/dist/cf8cdfc9a1ead9d332f5.woff2 +0 -0
  170. package/dist/d55e14dce62503dcad5f.woff +0 -0
  171. package/dist/d69d5111a1f16e74d2fb.woff2 +0 -0
  172. package/dist/d6f3290223965413af92.woff +0 -0
  173. package/dist/d96e5a614e96c351c453.woff +0 -0
  174. package/dist/dacaf9bef27fac67fb17.woff2 +0 -0
  175. package/dist/dd406a41dc851acc7615.woff +0 -0
  176. package/dist/e0d279d30dd9df7831ce.woff2 +0 -0
  177. package/dist/e26dfdb6948e56dcf16c.woff +0 -0
  178. package/dist/e5317022888823405337.woff2 +0 -0
  179. package/dist/e589f9b7ff20e7e011ee.woff2 +0 -0
  180. package/dist/e5b7f5835bf8b91304bf.woff +0 -0
  181. package/dist/e655f59b8f3ed3b7c9fe.woff2 +0 -0
  182. package/dist/e7c487ed0bd3af889f66.woff2 +0 -0
  183. package/dist/eb36767a3caa8dfc71e8.woff2 +0 -0
  184. package/dist/efbc47072be0090327f8.woff +0 -0
  185. package/dist/f064c7d4889d1db43518.woff +0 -0
  186. package/dist/f31b6425f37c2b71c3fc.woff2 +0 -0
  187. package/dist/f3938458fa6048e8a833.woff +0 -0
  188. package/dist/f4031df8380579c41ed7.woff +0 -0
  189. package/dist/f432bafd941d9016122c.woff +0 -0
  190. package/dist/f4367aaef942e4cbea24.woff +0 -0
  191. package/dist/f5b2fe58c9057281ea3f.woff +0 -0
  192. package/dist/f5be008474d38b4cf15a.woff +0 -0
  193. package/dist/f968050d6a8297e66619.woff2 +0 -0
  194. package/dist/fdef8ecc502e23149bcc.woff +0 -0
  195. package/dist/main.js +1 -1
  196. package/dist/pih-esm-referrals-queue-app.js +1 -1
  197. package/dist/pih-esm-referrals-queue-app.js.buildmanifest.json +285 -34
  198. package/dist/pih-esm-referrals-queue-app.old +1 -1
  199. package/package.json +2 -2
  200. package/src/referrals-queue/referrals-queue.component.tsx +73 -88
  201. package/src/referrals-queue/referrals-queue.scss +27 -0
  202. package/src/referrals-queue/referrals-queue.test.tsx +23 -13
  203. package/src/root.component.tsx +1 -1
  204. package/src/table/{table.component.tsx → referrals-table.component.tsx} +41 -34
  205. package/translations/en.json +13 -2
  206. package/translations/es.json +15 -0
  207. package/translations/fr.json +15 -0
  208. package/dist/147.js +0 -2
  209. package/dist/281.js +0 -1
  210. package/dist/879.js +0 -2
  211. package/dist/90.js +0 -1
  212. package/src/referrals-queue/react-dates-overrides.css +0 -39
  213. package/src/referrals-queue/referrals-queue.css +0 -63
  214. package/src/table/table.css +0 -16
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/68.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 68.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_pih_esm_referrals_queue_app=self.webpackChunk_pih_esm_referrals_queue_app||[]).push([[68],{6068:(e,t,n)=>{n.r(t),n.d(t,{BrowserRouter:()=>re,HashRouter:()=>ie,Link:()=>ue,MemoryRouter:()=>K,NavLink:()=>le,Navigate:()=>V,NavigationType:()=>a,Outlet:()=>q,Route:()=>z,Router:()=>G,Routes:()=>Q,UNSAFE_LocationContext:()=>d,UNSAFE_NavigationContext:()=>v,UNSAFE_RouteContext:()=>m,createPath:()=>f,createRoutesFromChildren:()=>X,createSearchParams:()=>he,generatePath:()=>y,matchPath:()=>w,matchRoutes:()=>b,parsePath:()=>p,renderMatches:()=>Y,resolvePath:()=>S,unstable_HistoryRouter:()=>oe,useHref:()=>$,useInRouterContext:()=>_,useLinkClickHandler:()=>ce,useLocation:()=>j,useMatch:()=>W,useNavigate:()=>H,useNavigationType:()=>B,useOutlet:()=>U,useOutletContext:()=>I,useParams:()=>Z,useResolvedPath:()=>F,useRoutes:()=>D,useSearchParams:()=>se});var a,r=n(1672),i=n(7462);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));var o="beforeunload",u="popstate";function l(e,t,n){return Math.min(Math.max(e,t),n)}function c(e){e.preventDefault(),e.returnValue=""}function s(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function h(){return Math.random().toString(36).substr(2,8)}function f(e){var t=e.pathname,n=void 0===t?"/":t,a=e.search,r=void 0===a?"":a,i=e.hash,o=void 0===i?"":i;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function p(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}const v=(0,r.createContext)(null),d=(0,r.createContext)(null),m=(0,r.createContext)({outlet:null,matches:[]});function g(e,t){if(!e)throw new Error(t)}function y(e,t){return void 0===t&&(t={}),e.replace(/:(\w+)/g,((e,n)=>(null==t[n]&&g(!1),t[n]))).replace(/\/*\*$/,(e=>null==t["*"]?"":t["*"].replace(/^\/*/,"/")))}function b(e,t,n){void 0===n&&(n="/");let a=O(("string"==typeof t?p(t):t).pathname||"/",n);if(null==a)return null;let r=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let i=null;for(let e=0;null==i&&e<r.length;++e)i=C(r[e],a);return i}function x(e,t,n,a){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===a&&(a=""),e.forEach(((e,r)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(a)||g(!1),i.relativePath=i.relativePath.slice(a.length));let o=L([a,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(!0===e.index&&g(!1),x(e.children,t,u,o)),(null!=e.path||e.index)&&t.push({path:o,score:k(o,e.index),routesMeta:u})})),t}const P=/^:\w+$/,E=e=>"*"===e;function k(e,t){let n=e.split("/"),a=n.length;return n.some(E)&&(a+=-2),t&&(a+=2),n.filter((e=>!E(e))).reduce(((e,t)=>e+(P.test(t)?3:""===t?1:10)),a)}function C(e,t){let{routesMeta:n}=e,a={},r="/",i=[];for(let e=0;e<n.length;++e){let o=n[e],u=e===n.length-1,l="/"===r?t:t.slice(r.length)||"/",c=w({path:o.relativePath,caseSensitive:o.caseSensitive,end:u},l);if(!c)return null;Object.assign(a,c.params);let s=o.route;i.push({params:a,pathname:L([r,c.pathname]),pathnameBase:A(L([r,c.pathnameBase])),route:s}),"/"!==c.pathnameBase&&(r=L([r,c.pathnameBase]))}return i}function w(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);let a=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(a.push(t),"([^\\/]+)")));return e.endsWith("*")?(a.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(r,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let i=r[0],o=i.replace(/(.)\/+$/,"$1"),u=r.slice(1);return{params:a.reduce(((e,t,n)=>{if("*"===t){let e=u[n]||"";o=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(u[n]||""),e}),{}),pathname:i,pathnameBase:o,pattern:e}}function S(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:r=""}="string"==typeof e?p(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:N(a),hash:M(r)}}function R(e,t,n){let a,r="string"==typeof e?p(e):e,i=""===e||""===r.pathname?"/":r.pathname;if(null==i)a=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}a=e>=0?t[e]:"/"}let o=S(r,a);return i&&"/"!==i&&i.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const L=e=>e.join("/").replace(/\/\/+/g,"/"),A=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),N=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",M=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function $(e){_()||g(!1);let{basename:t,navigator:n}=(0,r.useContext)(v),{hash:a,pathname:i,search:o}=F(e),u=i;if("/"!==t){let n=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?p(e).pathname:e.pathname}(e),a=null!=n&&n.endsWith("/");u="/"===i?t+(a?"/":""):L([t,i])}return n.createHref({pathname:u,search:o,hash:a})}function _(){return null!=(0,r.useContext)(d)}function j(){return _()||g(!1),(0,r.useContext)(d).location}function B(){return(0,r.useContext)(d).navigationType}function W(e){_()||g(!1);let{pathname:t}=j();return(0,r.useMemo)((()=>w(e,t)),[t,e])}function H(){_()||g(!1);let{basename:e,navigator:t}=(0,r.useContext)(v),{matches:n}=(0,r.useContext)(m),{pathname:a}=j(),i=JSON.stringify(n.map((e=>e.pathnameBase))),o=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{o.current=!0})),(0,r.useCallback)((function(n,r){if(void 0===r&&(r={}),!o.current)return;if("number"==typeof n)return void t.go(n);let u=R(n,JSON.parse(i),a);"/"!==e&&(u.pathname=L([e,u.pathname])),(r.replace?t.replace:t.push)(u,r.state)}),[e,t,i,a])}const T=(0,r.createContext)(null);function I(){return(0,r.useContext)(T)}function U(e){let t=(0,r.useContext)(m).outlet;return t?(0,r.createElement)(T.Provider,{value:e},t):t}function Z(){let{matches:e}=(0,r.useContext)(m),t=e[e.length-1];return t?t.params:{}}function F(e){let{matches:t}=(0,r.useContext)(m),{pathname:n}=j(),a=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,r.useMemo)((()=>R(e,JSON.parse(a),n)),[e,a,n])}function D(e,t){_()||g(!1);let{matches:n}=(0,r.useContext)(m),a=n[n.length-1],i=a?a.params:{},o=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,l=j();if(t){var c;let e="string"==typeof t?p(t):t;"/"===o||(null==(c=e.pathname)?void 0:c.startsWith(o))||g(!1),u=e}else u=l;let s=u.pathname||"/",h=b(e,{pathname:"/"===o?s:s.slice(o.length)||"/"});return J(h&&h.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:L([o,e.pathname]),pathnameBase:"/"===e.pathnameBase?o:L([o,e.pathnameBase])}))),n)}function J(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,a,i)=>(0,r.createElement)(m.Provider,{children:void 0!==a.route.element?a.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}})),null)}function K(e){let{basename:t,children:n,initialEntries:o,initialIndex:u}=e,c=(0,r.useRef)();null==c.current&&(c.current=function(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,u=r.map((function(e){return(0,i.Z)({pathname:"/",search:"",hash:"",state:null,key:h()},"string"==typeof e?p(e):e)})),c=l(null==o?u.length-1:o,0,u.length-1),v=a.Pop,d=u[c],m=s(),g=s();function y(e,t){return void 0===t&&(t=null),(0,i.Z)({pathname:d.pathname,search:"",hash:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function b(e,t,n){return!g.length||(g.call({action:e,location:t,retry:n}),!1)}function x(e,t){v=e,d=t,m.call({action:v,location:d})}function P(e){var t=l(c+e,0,u.length-1),n=a.Pop,r=u[t];b(n,r,(function(){P(e)}))&&(c=t,x(n,r))}var E={get index(){return c},get action(){return v},get location(){return d},createHref:function(e){return"string"==typeof e?e:f(e)},push:function e(t,n){var r=a.Push,i=y(t,n);b(r,i,(function(){e(t,n)}))&&(c+=1,u.splice(c,u.length,i),x(r,i))},replace:function e(t,n){var r=a.Replace,i=y(t,n);b(r,i,(function(){e(t,n)}))&&(u[c]=i,x(r,i))},go:P,back:function(){P(-1)},forward:function(){P(1)},listen:function(e){return m.push(e)},block:function(e){return g.push(e)}};return E}({initialEntries:o,initialIndex:u}));let v=c.current,[d,m]=(0,r.useState)({action:v.action,location:v.location});return(0,r.useLayoutEffect)((()=>v.listen(m)),[v]),(0,r.createElement)(G,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:v})}function V(e){let{to:t,replace:n,state:a}=e;_()||g(!1);let i=H();return(0,r.useEffect)((()=>{i(t,{replace:n,state:a})})),null}function q(e){return U(e.context)}function z(e){g(!1)}function G(e){let{basename:t="/",children:n=null,location:i,navigationType:o=a.Pop,navigator:u,static:l=!1}=e;_()&&g(!1);let c=A(t),s=(0,r.useMemo)((()=>({basename:c,navigator:u,static:l})),[c,u,l]);"string"==typeof i&&(i=p(i));let{pathname:h="/",search:f="",hash:m="",state:y=null,key:b="default"}=i,x=(0,r.useMemo)((()=>{let e=O(h,c);return null==e?null:{pathname:e,search:f,hash:m,state:y,key:b}}),[c,h,f,m,y,b]);return null==x?null:(0,r.createElement)(v.Provider,{value:s},(0,r.createElement)(d.Provider,{children:n,value:{location:x,navigationType:o}}))}function Q(e){let{children:t,location:n}=e;return D(X(t),n)}function X(e){let t=[];return r.Children.forEach(e,(e=>{if(!(0,r.isValidElement)(e))return;if(e.type===r.Fragment)return void t.push.apply(t,X(e.props.children));e.type!==z&&g(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=X(e.props.children)),t.push(n)})),t}function Y(e){return J(e)}function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ee.apply(this,arguments)}function te(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}const ne=["onClick","reloadDocument","replace","state","target","to"],ae=["aria-current","caseSensitive","className","end","style","to","children"];function re(e){let{basename:t,children:n,window:l}=e,v=(0,r.useRef)();null==v.current&&(v.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function l(){var e=n.location,t=e.pathname,a=e.search,i=e.hash,o=r.state||{};return[o.idx,{pathname:t,search:a,hash:i,state:o.usr||null,key:o.key||"default"}]}var v=null;n.addEventListener(u,(function(){if(v)x.call(v),v=null;else{var e=a.Pop,t=l(),n=t[0],r=t[1];if(x.length){if(null!=n){var i=g-n;i&&(v={action:e,location:r,retry:function(){S(-1*i)}},S(i))}}else w(e)}}));var d=a.Pop,m=l(),g=m[0],y=m[1],b=s(),x=s();function P(e){return"string"==typeof e?e:f(e)}function E(e,t){return void 0===t&&(t=null),(0,i.Z)({pathname:y.pathname,hash:"",search:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function k(e,t){return[{usr:e.state,key:e.key,idx:t},P(e)]}function C(e,t,n){return!x.length||(x.call({action:e,location:t,retry:n}),!1)}function w(e){d=e;var t=l();g=t[0],y=t[1],b.call({action:d,location:y})}function S(e){r.go(e)}null==g&&(g=0,r.replaceState((0,i.Z)({},r.state,{idx:g}),""));var R={get action(){return d},get location(){return y},createHref:P,push:function e(t,i){var o=a.Push,u=E(t,i);if(C(o,u,(function(){e(t,i)}))){var l=k(u,g+1),c=l[0],s=l[1];try{r.pushState(c,"",s)}catch(e){n.location.assign(s)}w(o)}},replace:function e(t,n){var i=a.Replace,o=E(t,n);if(C(i,o,(function(){e(t,n)}))){var u=k(o,g),l=u[0],c=u[1];r.replaceState(l,"",c),w(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return b.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&n.addEventListener(o,c),function(){t(),x.length||n.removeEventListener(o,c)}}};return R}({window:l}));let d=v.current,[m,g]=(0,r.useState)({action:d.action,location:d.location});return(0,r.useLayoutEffect)((()=>d.listen(g)),[d]),(0,r.createElement)(G,{basename:t,children:n,location:m.location,navigationType:m.action,navigator:d})}function ie(e){let{basename:t,children:n,window:l}=e,v=(0,r.useRef)();null==v.current&&(v.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function l(){var e=p(n.location.hash.substr(1)),t=e.pathname,a=void 0===t?"/":t,i=e.search,o=void 0===i?"":i,u=e.hash,l=void 0===u?"":u,c=r.state||{};return[c.idx,{pathname:a,search:o,hash:l,state:c.usr||null,key:c.key||"default"}]}var v=null;function d(){if(v)P.call(v),v=null;else{var e=a.Pop,t=l(),n=t[0],r=t[1];if(P.length){if(null!=n){var i=y-n;i&&(v={action:e,location:r,retry:function(){R(-1*i)}},R(i))}}else S(e)}}n.addEventListener(u,d),n.addEventListener("hashchange",(function(){f(l()[1])!==f(b)&&d()}));var m=a.Pop,g=l(),y=g[0],b=g[1],x=s(),P=s();function E(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var a=n.location.href,r=a.indexOf("#");t=-1===r?a:a.slice(0,r)}return t}()+"#"+("string"==typeof e?e:f(e))}function k(e,t){return void 0===t&&(t=null),(0,i.Z)({pathname:b.pathname,hash:"",search:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function C(e,t){return[{usr:e.state,key:e.key,idx:t},E(e)]}function w(e,t,n){return!P.length||(P.call({action:e,location:t,retry:n}),!1)}function S(e){m=e;var t=l();y=t[0],b=t[1],x.call({action:m,location:b})}function R(e){r.go(e)}return null==y&&(y=0,r.replaceState((0,i.Z)({},r.state,{idx:y}),"")),{get action(){return m},get location(){return b},createHref:E,push:function e(t,i){var o=a.Push,u=k(t,i);if(w(o,u,(function(){e(t,i)}))){var l=C(u,y+1),c=l[0],s=l[1];try{r.pushState(c,"",s)}catch(e){n.location.assign(s)}S(o)}},replace:function e(t,n){var i=a.Replace,o=k(t,n);if(w(i,o,(function(){e(t,n)}))){var u=C(o,y),l=u[0],c=u[1];r.replaceState(l,"",c),S(i)}},go:R,back:function(){R(-1)},forward:function(){R(1)},listen:function(e){return x.push(e)},block:function(e){var t=P.push(e);return 1===P.length&&n.addEventListener(o,c),function(){t(),P.length||n.removeEventListener(o,c)}}}}({window:l}));let d=v.current,[m,g]=(0,r.useState)({action:d.action,location:d.location});return(0,r.useLayoutEffect)((()=>d.listen(g)),[d]),(0,r.createElement)(G,{basename:t,children:n,location:m.location,navigationType:m.action,navigator:d})}function oe(e){let{basename:t,children:n,history:a}=e;const[i,o]=(0,r.useState)({action:a.action,location:a.location});return(0,r.useLayoutEffect)((()=>a.listen(o)),[a]),(0,r.createElement)(G,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:a})}const ue=(0,r.forwardRef)((function(e,t){let{onClick:n,reloadDocument:a,replace:i=!1,state:o,target:u,to:l}=e,c=te(e,ne),s=$(l),h=ce(l,{replace:i,state:o,target:u});return(0,r.createElement)("a",ee({},c,{href:s,onClick:function(e){n&&n(e),e.defaultPrevented||a||h(e)},ref:t,target:u}))})),le=(0,r.forwardRef)((function(e,t){let{"aria-current":n="page",caseSensitive:a=!1,className:i="",end:o=!1,style:u,to:l,children:c}=e,s=te(e,ae),h=j(),f=F(l),p=h.pathname,v=f.pathname;a||(p=p.toLowerCase(),v=v.toLowerCase());let d,m=p===v||!o&&p.startsWith(v)&&"/"===p.charAt(v.length),g=m?n:void 0;d="function"==typeof i?i({isActive:m}):[i,m?"active":null].filter(Boolean).join(" ");let y="function"==typeof u?u({isActive:m}):u;return(0,r.createElement)(ue,ee({},s,{"aria-current":g,className:d,ref:t,style:y,to:l}),"function"==typeof c?c({isActive:m}):c)}));function ce(e,t){let{target:n,replace:a,state:i}=void 0===t?{}:t,o=H(),u=j(),l=F(e);return(0,r.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!a||f(u)===f(l);o(e,{replace:n,state:i})}}),[u,o,l,a,i,n,e])}function se(e){let t=(0,r.useRef)(he(e)),n=j(),a=(0,r.useMemo)((()=>{let e=he(n.search);for(let n of t.current.keys())e.has(n)||t.current.getAll(n).forEach((t=>{e.append(n,t)}));return e}),[n.search]),i=H();return[a,(0,r.useCallback)(((e,t)=>{i("?"+he(e),t)}),[i])]}function he(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let a=e[n];return t.concat(Array.isArray(a)?a.map((e=>[n,e])):[[n,a]])}),[]))}},7462:(e,t,n)=>{function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},a.apply(this,arguments)}n.d(t,{Z:()=>a})}}]);
File without changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file