dash-ant-design 0.1.2 → 0.1.3

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 (89) hide show
  1. package/dash_antd_components/async-audio-player.js +1 -1
  2. package/dash_antd_components/async-chart.js +1 -1
  3. package/dash_antd_components/async-data-entry.js +1 -1
  4. package/dash_antd_components/async-display.js +1 -1
  5. package/dash_antd_components/async-dnd.js +1 -1
  6. package/dash_antd_components/async-feedback.js +1 -1
  7. package/dash_antd_components/async-form-controls.js +1 -0
  8. package/dash_antd_components/async-form-upload.js +1 -1
  9. package/dash_antd_components/async-highlight.js +1 -1
  10. package/dash_antd_components/async-icon-outlined.js +1 -1
  11. package/dash_antd_components/async-infographic.js +1 -1
  12. package/dash_antd_components/async-locale-ar.js +1 -1
  13. package/dash_antd_components/async-locale-az.js +1 -1
  14. package/dash_antd_components/async-locale-bg.js +1 -1
  15. package/dash_antd_components/async-locale-bn.js +1 -1
  16. package/dash_antd_components/async-locale-by.js +1 -1
  17. package/dash_antd_components/async-locale-ca.js +1 -1
  18. package/dash_antd_components/async-locale-cs.js +1 -1
  19. package/dash_antd_components/async-locale-da.js +1 -1
  20. package/dash_antd_components/async-locale-de.js +1 -1
  21. package/dash_antd_components/async-locale-el.js +1 -1
  22. package/dash_antd_components/async-locale-en.js +1 -1
  23. package/dash_antd_components/async-locale-es.js +1 -1
  24. package/dash_antd_components/async-locale-et.js +1 -1
  25. package/dash_antd_components/async-locale-eu.js +1 -1
  26. package/dash_antd_components/async-locale-fa.js +1 -1
  27. package/dash_antd_components/async-locale-fi.js +1 -1
  28. package/dash_antd_components/async-locale-fr.js +1 -1
  29. package/dash_antd_components/async-locale-ga.js +1 -1
  30. package/dash_antd_components/async-locale-gl.js +1 -1
  31. package/dash_antd_components/async-locale-he.js +1 -1
  32. package/dash_antd_components/async-locale-hi.js +1 -1
  33. package/dash_antd_components/async-locale-hr.js +1 -1
  34. package/dash_antd_components/async-locale-hu.js +1 -1
  35. package/dash_antd_components/async-locale-hy.js +1 -1
  36. package/dash_antd_components/async-locale-id.js +1 -1
  37. package/dash_antd_components/async-locale-is.js +1 -1
  38. package/dash_antd_components/async-locale-it.js +1 -1
  39. package/dash_antd_components/async-locale-ja.js +1 -1
  40. package/dash_antd_components/async-locale-ka.js +1 -1
  41. package/dash_antd_components/async-locale-kk.js +1 -1
  42. package/dash_antd_components/async-locale-km.js +1 -1
  43. package/dash_antd_components/async-locale-kmr.js +1 -1
  44. package/dash_antd_components/async-locale-kn.js +1 -1
  45. package/dash_antd_components/async-locale-ko.js +1 -1
  46. package/dash_antd_components/async-locale-ku.js +1 -1
  47. package/dash_antd_components/async-locale-lt.js +1 -1
  48. package/dash_antd_components/async-locale-lv.js +1 -1
  49. package/dash_antd_components/async-locale-mk.js +1 -1
  50. package/dash_antd_components/async-locale-ml.js +1 -1
  51. package/dash_antd_components/async-locale-mn.js +1 -1
  52. package/dash_antd_components/async-locale-mr.js +1 -1
  53. package/dash_antd_components/async-locale-ms.js +1 -1
  54. package/dash_antd_components/async-locale-my.js +1 -1
  55. package/dash_antd_components/async-locale-nb.js +1 -1
  56. package/dash_antd_components/async-locale-ne.js +1 -1
  57. package/dash_antd_components/async-locale-nl.js +1 -1
  58. package/dash_antd_components/async-locale-pl.js +1 -1
  59. package/dash_antd_components/async-locale-pt.js +1 -1
  60. package/dash_antd_components/async-locale-ro.js +1 -1
  61. package/dash_antd_components/async-locale-ru.js +1 -1
  62. package/dash_antd_components/async-locale-si.js +1 -1
  63. package/dash_antd_components/async-locale-sk.js +1 -1
  64. package/dash_antd_components/async-locale-sl.js +1 -1
  65. package/dash_antd_components/async-locale-sq.js +1 -1
  66. package/dash_antd_components/async-locale-sr.js +1 -1
  67. package/dash_antd_components/async-locale-sv.js +1 -1
  68. package/dash_antd_components/async-locale-ta.js +1 -1
  69. package/dash_antd_components/async-locale-th.js +1 -1
  70. package/dash_antd_components/async-locale-tk.js +1 -1
  71. package/dash_antd_components/async-locale-tr.js +1 -1
  72. package/dash_antd_components/async-locale-uk.js +1 -1
  73. package/dash_antd_components/async-locale-ur.js +1 -1
  74. package/dash_antd_components/async-locale-uz.js +1 -1
  75. package/dash_antd_components/async-locale-vi.js +1 -1
  76. package/dash_antd_components/async-locale-zh.js +1 -1
  77. package/dash_antd_components/async-markdown.js +1 -1
  78. package/dash_antd_components/async-media-shared.js +1 -1
  79. package/dash_antd_components/async-media.js +1 -1
  80. package/dash_antd_components/async-navigation.js +1 -1
  81. package/dash_antd_components/async-picker.js +1 -1
  82. package/dash_antd_components/async-select.js +1 -1
  83. package/dash_antd_components/async-sheet.js +1 -1
  84. package/dash_antd_components/async-table.js +1 -1
  85. package/dash_antd_components/async-tree.js +1 -1
  86. package/dash_antd_components/async-video-player.js +1 -1
  87. package/dash_antd_components/async-viz-shared.js +1 -1
  88. package/dash_antd_components/dash_antd_components.js +1 -1
  89. package/package.json +2 -2
@@ -1 +1 @@
1
- (self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-media"],{"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"(e,t,n){"use strict";n.d(t,{A:()=>fe});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),s=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),a=n("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),l=n("./node_modules/.pnpm/@rc-component+portal@2.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/portal/es/index.js");const c=o.createContext(null);function d(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}const u={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function p(e,t,n,o){const r=t+n,i=(n-o)/2;if(n>o){if(t>0)return{[e]:i};if(t<0&&r<o)return{[e]:-i}}else if(t<0||r>o)return{[e]:t<0?i:-i};return{}}function m(e,t,n,o){const{width:r,height:i}=d();let s=null;return e<=r&&t<=i?s={x:0,y:0}:(e>r||t>i)&&(s={...p("x",n,e,r),...p("y",o,t,i)}),s}function h({src:e,isCustomPlaceholder:t,fallback:n}){const[r,i]=(0,o.useState)(t?"loading":"normal"),s=(0,o.useRef)(!1),a="error"===r;(0,o.useEffect)(()=>{let t=!0;return function(e){return new Promise(t=>{if(!e)return void t(!1);const n=document.createElement("img");n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}(e).then(e=>{!e&&t&&i("error")}),()=>{t=!1}},[e]),(0,o.useEffect)(()=>{t&&!s.current?i("loading"):a&&i("normal")},[e]);const l=()=>{i("normal")};return[e=>{s.current=!1,"loading"===r&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,l())},a&&n?{src:n}:{onLoad:l,src:e},r]}function f(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function g(e,t,n,r,i,s,a){const{rotate:l,scale:c,x:d,y:u}=i,[p,h]=(0,o.useState)(!1),g=(0,o.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=e=>{g.current={...g.current,...e}};return(0,o.useEffect)(()=>{const e=e=>{e.preventDefault()};return n&&t&&window.addEventListener("touchmove",e,{passive:!1}),()=>{window.removeEventListener("touchmove",e)}},[n,t]),{isTouching:p,onTouchStart:e=>{if(!t)return;e.stopPropagation(),h(!0);const{touches:n=[]}=e;v(n.length>1?{point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}:{point1:{x:n[0].clientX-d,y:n[0].clientY-u},eventType:"move"})},onTouchMove:e=>{const{touches:t=[]}=e,{point1:n,point2:o,eventType:r}=g.current;if(t.length>1&&"touchZoom"===r){const e={x:t[0].clientX,y:t[0].clientY},r={x:t[1].clientX,y:t[1].clientY},[i,s]=function(e,t,n,o){const r=f(e,n),i=f(t,o);if(0===r&&0===i)return[e.x,e.y];const s=r/(r+i);return[e.x+s*(t.x-e.x),e.y+s*(t.y-e.y)]}(n,o,e,r),l=f(e,r)/f(n,o);a(l,"touchZoom",i,s,!0),v({point1:e,point2:r,eventType:"touchZoom"})}else"move"===r&&(s({x:t[0].clientX-n.x,y:t[0].clientY-n.y},"move"),v({eventType:"move"}))},onTouchEnd:()=>{if(!n)return;if(p&&h(!1),v({eventType:"none"}),r>c)return s({x:0,y:0,scale:r},"touchZoom");const t=e.current.offsetWidth*c,o=e.current.offsetHeight*c,{left:i,top:a}=e.current.getBoundingClientRect(),d=l%180!=0,u=m(d?o:t,d?t:o,i,a);u&&s({...u},"dragRebound")}}}function v(e){const{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return o.createElement("button",{className:(0,s.$)(`${t}-close`,i),style:a,onClick:r},n)}function y(e){const{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:l,styles:c,icons:d,image:u,transform:p,countRender:m,actionsRender:h,scale:f,minScale:g,maxScale:v,onActive:y,onFlipY:_,onFlipX:b,onRotateLeft:w,onRotateRight:S,onZoomOut:A,onZoomIn:k,onClose:C,onReset:x}=e,{left:E,right:M,prev:N,next:R,flipY:L,flipX:$,rotateLeft:I,rotateRight:T,zoomOut:z,zoomIn:j}=d,O=n&&o.createElement("div",{className:`${t}-progress`},m?m(r+1,i):o.createElement("bdi",null,`${r+1} / ${i}`)),P=`${t}-actions-action`,D=({type:e,disabled:t,onClick:n,icon:r})=>o.createElement("button",{type:"button",key:e,className:(0,s.$)(P,`${P}-${e}`,{[`${P}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),H=a?D({icon:N??E,onClick:()=>y(-1),type:"prev",disabled:0===r}):void 0,W=a?D({icon:R??M,onClick:()=>y(1),type:"next",disabled:r===i-1}):void 0,F=D({icon:L,onClick:_,type:"flipY"}),X=D({icon:$,onClick:b,type:"flipX"}),Y=D({icon:I,onClick:w,type:"rotateLeft"}),B=D({icon:T,onClick:S,type:"rotateRight"}),U=D({icon:z,onClick:A,type:"zoomOut",disabled:f<=g}),V=D({icon:j,onClick:k,type:"zoomIn",disabled:f===v}),q=o.createElement("div",{className:(0,s.$)(`${t}-actions`,l.actions),style:c.actions},F,X,Y,B,U,V);return o.createElement("div",{className:(0,s.$)(`${t}-footer`,l.footer),style:c.footer},O,h?h(q,{icons:{prevIcon:H,nextIcon:W,flipYIcon:F,flipXIcon:X,rotateLeftIcon:Y,rotateRightIcon:B,zoomOutIcon:U,zoomInIcon:V},actions:{onActive:y,onFlipY:_,onFlipX:b,onRotateLeft:w,onRotateRight:S,onZoomOut:A,onZoomIn:k,onReset:x,onClose:C},transform:p,current:r,total:i,image:u}):q)}function _(e){const{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:l,prev:c,next:d}}=e,u=`${t}-switch`,p=0===r,m=r===i-1;return o.createElement(o.Fragment,null,o.createElement("button",{className:(0,s.$)(u,`${u}-prev`,{[`${u}-disabled`]:p}),onClick:()=>n(-1),disabled:p},c??a),o.createElement("button",{type:"button",className:(0,s.$)(u,`${u}-next`,{[`${u}-disabled`]:m}),onClick:()=>n(1),disabled:m},d??l))}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b.apply(this,arguments)}const w=({fallback:e,src:t,imgRef:n,...o})=>{const[i,s]=h({src:t,fallback:e});return r().createElement("img",b({ref:e=>{n.current=e,i(e)}},o,s))},S=e=>{const{prefixCls:t,rootClassName:n,src:p,alt:h,imageInfo:f,fallback:S,movable:A=!0,onClose:k,open:C,afterOpenChange:x,maskClosable:E=!0,icons:M={},closeIcon:N,getContainer:R,current:L=0,count:$=1,countRender:I,scaleStep:T=.5,minScale:z=1,maxScale:j=50,motionName:O="fade",imageRender:P,imgCommonProps:D,actionsRender:H,onTransform:W,onChange:F,classNames:X={},styles:Y={},mousePosition:B,zIndex:U,wheel:V=!0,focusTrap:q=!0}=e,G=(0,o.useRef)(null),Z=(0,o.useRef)(null),Q=(0,o.useRef)(null),K=(0,o.useContext)(c),J=K&&$>1,ee=K&&$>=1,[te,ne]=(0,o.useState)(!0),{transform:oe,resetTransform:re,updateTransform:ie,dispatchZoomChange:se}=function(e,t,n,r){const s=(0,o.useRef)(null),a=(0,o.useRef)([]),[l,c]=(0,o.useState)(u),p=(e,t)=>{null===s.current&&(a.current=[],s.current=(0,i.er)(()=>{c(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),s.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...l,...e})};return{transform:l,resetTransform:e=>{c(u),(0,i.n4)(u,l)||r?.({transform:u,action:e})},updateTransform:p,dispatchZoomChange:(o,r,i,s,a)=>{const{width:c,height:u,offsetWidth:m,offsetHeight:h,offsetLeft:f,offsetTop:g}=e.current;let v=o,y=l.scale*o;y>n?(y=n,v=n/l.scale):y<t&&(y=a?y:t,v=y/l.scale);const _=i??innerWidth/2,b=s??innerHeight/2,w=v-1;let S=l.x-(w*(_-l.x-f)-w*c*.5),A=l.y-(w*(b-l.y-g)-w*u*.5);if(o<1&&1===y){const e=m*y,t=h*y,{width:n,height:o}=d();e<=n&&t<=o&&(S=0,A=0)}p({x:S,y:A,scale:y},r)}}}(G,z,j,W),{isMoving:ae,onMouseDown:le,onWheel:ce}=function(e,t,n,r,s,a,l,c=!0){const{rotate:d,scale:u,x:p,y:h}=s,[f,g]=(0,o.useState)(!1),v=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),y=e=>{n&&f&&a({x:e.pageX-v.current.diffX,y:e.pageY-v.current.diffY},"move")},_=()=>{if(n&&f){g(!1);const{transformX:t,transformY:n}=v.current;if(p===t||h===n)return;const o=e.current.offsetWidth*u,r=e.current.offsetHeight*u,{left:i,top:s}=e.current.getBoundingClientRect(),l=d%180!=0,c=m(l?r:o,l?o:r,i,s);c&&a({...c},"dragRebound")}};return(0,o.useEffect)(()=>{if(t){window.addEventListener("mouseup",_,!1),window.addEventListener("mousemove",y,!1);try{window.top!==window.self&&(window.top.addEventListener("mouseup",_,!1),window.top.addEventListener("mousemove",y,!1))}catch(e){(0,i.$e)(!1,`[rc-image] ${e}`)}}return()=>{window.removeEventListener("mouseup",_),window.removeEventListener("mousemove",y);try{window.top?.removeEventListener("mouseup",_),window.top?.removeEventListener("mousemove",y)}catch(e){}}},[n,f,p,h,d,t]),{isMoving:f,onMouseDown:e=>{t&&0===e.button&&(e.preventDefault(),e.stopPropagation(),v.current={diffX:e.pageX-p,diffY:e.pageY-h,transformX:p,transformY:h},g(!0))},onMouseMove:y,onMouseUp:_,onWheel:e=>{if(!n||!c||0==e.deltaY)return;const t=Math.abs(e.deltaY/100);let o=1+Math.min(t,1)*r;e.deltaY>0&&(o=1/o),l(o,"wheel",e.clientX,e.clientY)}}}(G,A,C,T,oe,ie,se,V),{isTouching:de,onTouchStart:ue,onTouchMove:pe,onTouchEnd:me}=g(G,A,C,z,oe,ie,se),{rotate:he,scale:fe}=oe;(0,o.useEffect)(()=>{te||ne(!0)},[te]),(0,o.useEffect)(()=>{C||re("close")},[C]);const ge=r().createElement(w,b({},D,{width:e.width,height:e.height,imgRef:G,className:`${t}-img`,alt:h,style:{transform:`translate3d(${oe.x}px, ${oe.y}px, 0) scale3d(${oe.flipX?"-":""}${fe}, ${oe.flipY?"-":""}${fe}, 1) rotate(${he}deg)`,transitionDuration:(!te||de)&&"0s"},fallback:S,src:p,onWheel:ce,onMouseDown:le,onDoubleClick:e=>{C&&(1!==fe?ie({x:0,y:0,scale:1},"doubleClick"):se(1+T,"doubleClick",e.clientX,e.clientY))},onTouchStart:ue,onTouchMove:pe,onTouchEnd:me,onTouchCancel:me})),ve={url:p,alt:h,...f},ye=()=>{se(1+T,"zoomIn")},_e=()=>{se(1/(1+T),"zoomOut")},be=()=>{ie({rotate:he+90},"rotateRight")},we=()=>{ie({rotate:he-90},"rotateLeft")},Se=()=>{ie({flipX:!oe.flipX},"flipX")},Ae=()=>{ie({flipY:!oe.flipY},"flipY")},ke=()=>{re("reset")},Ce=e=>{const t=L+e;t>=0&&t<=$-1&&(ne(!1),re(e<0?"prev":"next"),F?.(t,L))},xe=(0,i._q)(e=>{if(C){const{keyCode:t}=e;J&&(t===i.DD.LEFT?Ce(-1):t===i.DD.RIGHT&&Ce(1))}});(0,o.useEffect)(()=>{if(C)return window.addEventListener("keydown",xe),()=>{window.removeEventListener("keydown",xe)}},[C]);const[Ee,Me]=(0,o.useState)(!1);r().useEffect(()=>{C&&Me(!0)},[C]);const[Ne,Re]=(0,o.useState)(!1);(0,i.Nf)(()=>{C&&Re(!0)},[C]);(0,i.Nf)(()=>{C&&(Q.current=document.activeElement)},[C]),(0,i.T$)(q&&C&&Ne,()=>Z.current);const Le={...Y.body};return B&&(Le.transformOrigin=`${B.x}px ${B.y}px`),r().createElement(l.A,{open:Ne&&C,autoDestroy:!1,getContainer:R,autoLock:Ee,onEsc:({top:e})=>{e&&k?.()}},r().createElement(a.Ay,{motionName:O,visible:Ne&&C,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:e=>{e||(Me(!1),Q.current?.focus?.(),Q.current=null),x?.(e)}},({className:e,style:o})=>{const i={...Y.root,...o};return U&&(i.zIndex=U),r().createElement("div",{ref:Z,className:(0,s.$)(t,n,X.root,e,{[`${t}-movable`]:A,[`${t}-moving`]:ae}),style:i,role:"dialog","aria-modal":"true","aria-label":h,tabIndex:-1},r().createElement("div",{className:(0,s.$)(`${t}-mask`,X.mask),style:Y.mask,onClick:E?k:void 0}),r().createElement("div",{className:(0,s.$)(`${t}-body`,X.body),style:Le},P?P(ge,{transform:oe,image:ve,...K?{current:L}:{}}):ge),!1!==N&&null!==N&&r().createElement(v,{prefixCls:t,icon:!0===N?M.close:N||M.close,onClick:k,className:X.close,style:Y.close}),J&&r().createElement(_,{prefixCls:t,current:L,count:$,icons:M,onActive:Ce}),r().createElement(y,{prefixCls:t,showProgress:ee,current:L,count:$,showSwitch:J,classNames:X,styles:Y,image:ve,transform:oe,icons:M,countRender:I,actionsRender:H,scale:fe,minScale:z,maxScale:j,onActive:Ce,onFlipY:Ae,onFlipX:Se,onRotateLeft:we,onRotateRight:be,onZoomOut:_e,onZoomIn:ye,onClose:k,onReset:ke}))}))},A=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt","fetchPriority"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k.apply(this,arguments)}const C=({previewPrefixCls:e="rc-image-preview",classNames:t,styles:n,children:r,icons:s={},items:a,preview:l,fallback:d})=>{const{open:u,onOpenChange:p,current:m,onChange:h,...f}=l&&"object"==typeof l?l:{},[g,v,y]=function(e){const[t,n]=o.useState({}),r=o.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{const n={...t};return delete n[e],n})}),[]);return[o.useMemo(()=>e?e.map(e=>{if("string"==typeof e)return{data:{src:e}};const t={};return Object.keys(e).forEach(n=>{["src",...A].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{const{canPreview:o,data:r}=t[n];return o&&e.push({data:r,id:n}),e},[]),[e,t]),r,!!e]}(a),[_,b]=(0,i.PW)(0,m),[w,C]=(0,o.useState)(!1),{src:x,...E}=g[_]?.data||{},[M,N]=(0,i.PW)(!!u,u),R=(0,i._q)(e=>{N(e),e!==M&&p?.(e,{current:_})}),[L,$]=(0,o.useState)(null),I=o.useCallback((e,t,n,o)=>{const r=g.findIndex(y?e=>e.data.src===t:t=>t.id===e);b(r<0?0:r),R(!0),$({x:n,y:o}),C(!0)},[g,y]);o.useEffect(()=>{M?w||b(0):C(!1)},[M]);const T=o.useMemo(()=>({register:v,onPreview:I}),[v,I]);return o.createElement(c.Provider,{value:T},r,o.createElement(S,k({"aria-hidden":!M,open:M,prefixCls:e,onClose:()=>{R(!1),$(null)},mousePosition:L,imgCommonProps:E,src:x,fallback:d,icons:s,current:_,count:g.length,onChange:(e,t)=>{b(e),h?.(e,t)}},f,{classNames:t?.popup,styles:n?.popup})))};let x=0;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},E.apply(this,arguments)}const M=e=>{const{prefixCls:t="rc-image",previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:a,style:l,classNames:d={},styles:u={},width:p,height:m,src:f,alt:g,placeholder:v,fallback:y,preview:_=!0,onClick:b,onError:w,onKeyDown:k,...C}=e,M=(0,o.useContext)(c),N=!!_,{src:R,open:L,onOpenChange:$,cover:I,rootClassName:T,...z}=_&&"object"==typeof _?_:{},j="object"==typeof I&&I.placement&&I.placement||"center",O="object"==typeof I&&I.coverNode?I.coverNode:I,[P,D]=(0,i.PW)(!!L,L),[H,W]=(0,o.useState)(null),F=e=>{D(e),$?.(e)},X=v&&!0!==v,Y=R??f,[B,U,V]=h({src:f,isCustomPlaceholder:X,fallback:y}),q=(0,o.useMemo)(()=>{const t={};return A.forEach(n=>{void 0!==e[n]&&(t[n]=e[n])}),t},A.map(t=>e[t])),G=(0,o.useMemo)(()=>({...q,src:Y}),[Y,q]),Z=function(e,t){const[n]=o.useState(()=>(x+=1,String(x))),r=o.useContext(c),i={data:t,canPreview:e};return o.useEffect(()=>{if(r)return r.register(n,i)},[]),o.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}(N,G);return o.createElement(o.Fragment,null,o.createElement("div",E({},C,{className:(0,s.$)(t,r,d.root,{[`${t}-error`]:"error"===V}),onClick:N?e=>{const t=e.target.getBoundingClientRect(),n=t.x+t.width/2,o=t.y+t.height/2;M?M.onPreview(Z,Y,n,o):(W({x:n,y:o}),F(!0)),b?.(e)}:b,role:N?"button":C.role,tabIndex:N&&null==C.tabIndex?0:C.tabIndex,"aria-label":N?C["aria-label"]??g:C["aria-label"],onKeyDown:e=>{if(k?.(e),N&&("Enter"===e.key||" "===e.key)){e.preventDefault();const t=e.target.getBoundingClientRect(),n=t.x+t.width/2,o=t.y+t.height/2;M?M.onPreview(Z,Y,n,o):(W({x:n,y:o}),F(!0))}},style:{width:p,height:m,...u.root}}),o.createElement("img",E({},q,{className:(0,s.$)(`${t}-img`,{[`${t}-img-placeholder`]:!0===v},d.image,a),style:{height:m,...u.image,...l},ref:B},U,{width:p,height:m,onError:w})),"loading"===V&&o.createElement("div",{"aria-hidden":"true",className:`${t}-placeholder`},v),!1!==I&&N&&o.createElement("div",{className:(0,s.$)(`${t}-cover`,d.cover,`${t}-cover-${j}`),style:{display:"none"===l?.display?"none":void 0,...u.cover}},O)),!M&&N&&o.createElement(S,E({"aria-hidden":!P,open:P,prefixCls:n,onClose:()=>{F(!1)},mousePosition:H,src:Y,alt:g,imageInfo:{width:p,height:m},fallback:y,imgCommonProps:q},z,{classNames:d?.popup,styles:u?.popup,rootClassName:(0,s.$)(T,r)})))};M.PreviewGroup=C;const N=M;var R=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),L=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),$=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),I=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useZIndex.js"),T=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergedMask.js"),z=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js");const j=(e,t,n,o,i,a,l)=>{const[c]=(0,I.YK)("ImagePreview",e?.zIndex),[d,u,p]=(0,T.u)(e?.mask,t?.mask,`${n}-preview`);return r().useMemo(()=>{if(!e)return e;const{cover:r,getContainer:m,closeIcon:h,rootClassName:f}=e,{closeIcon:g}=t??{};return{motionName:(0,z.b)(`${n}-preview`,"fade"),...e,...l?{cover:r??l}:{},icons:a,getContainer:m??i,zIndex:c,closeIcon:h??g,rootClassName:(0,s.$)(o,f),mask:d,maskClosable:p,blurClassName:u.mask}},[e,t,n,o,i,l,a,c,d,p,u])};var O=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js");function P(e){return(0,O.Qd)(e)&&!(0,o.isValidElement)(e)}function D(e){const t=(0,o.useMemo)(()=>"boolean"==typeof e?e?{}:null:(0,O.Qd)(e)?e:{},[e]);return(0,o.useMemo)(()=>{if(!t)return[t,"",""];const{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:s,onVisibleChange:a,rootClassName:l,maskClassName:c,mask:d,forceRender:u,destroyOnClose:p,toolbarRender:m,...h}=t;let f;n?f=n:a&&(f=(e,t)=>{const{current:n}=t||{};void 0!==n?a(e,!e,n):a(e,!e)});const[g,v]=function(e){return(0,o.isValidElement)(e)?[e,void 0]:"boolean"==typeof e||(0,O.Qd)(e)?[void 0,e]:[void 0,void 0]}(d);return[{...h,open:e??s,onOpenChange:f,cover:r??g,mask:v,actionsRender:i??m},l,c]},[t])}var H=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),W=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),F=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js"),X=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"),Y=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"),B=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"),U=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"),V=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"),q=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),G=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),Z=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),Q=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),K=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js");const J=new q.Mo("antImageProgressActive",{"0%":{backgroundPosition:"200% 0"},"100%":{backgroundPosition:"-200% 0"}}),ee=(e,t,n,o="translate(0%, 0%)",r=.8)=>new q.Mo(e,{"0%":{transform:o,opacity:r},"50%":{transform:t,opacity:n},"100%":{transform:o,opacity:r}}),te=ee("antImageInkFlow1","translate(15%, -20%) scale(1.25)",.5),ne=ee("antImageInkFlow2","translate(-18%, 15%) scale(0.85)",.9,"translate(0%, 0%) scale(1.1)",.7),oe=ee("antImageInkFlow3","translate(8%, 10%) scale(1.15)",.8,"translate(0%, 0%) scale(0.85)",.65),re=e=>({position:e||"absolute",inset:0}),ie=e=>{const{componentCls:t,motionDurationSlow:n,colorTextLightSolid:o}=e;return{[t]:{[`${t}-cover`]:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new G.Y("#000").setA(.3).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:"0 0 auto 0",justifyContent:"center"},[`${t}-cover-bottom`]:{inset:"auto 0 0 0",justifyContent:"center"}}}},se=e=>{const{componentCls:t,motionDurationMid:n,motionEaseInOut:o,progressAnimationDuration:r}=e,i={position:"absolute",width:"150%",height:"150%",left:"-25%",top:"-25%",animationTimingFunction:o,animationIterationCount:"infinite",pointerEvents:"none",willChange:"transform, opacity"};return{[`${t}-progress-wrapper`]:{position:"relative",display:"inline-block",overflow:"hidden",borderRadius:"inherit",backgroundColor:e.colorBgBase,backdropFilter:"blur(8px)",[`${t}-progress-ink-1`]:{...i,background:"radial-gradient(ellipse 65% 55% at 25% 30%, rgba(100, 180, 255, 0.98) 0%, transparent 55%)",animationName:te,animationDuration:r,filter:"blur(40px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 60% 65% at 75% 45%, rgba(180, 140, 255, 0.95) 0%, transparent 50%)",animationName:ne,animationDuration:`calc(${r} + 2s)`,animationDelay:"-1s",filter:"blur(45px)"},"&::after":{content:'""',...i,background:"radial-gradient(ellipse 55% 50% at 50% 70%, rgba(100, 220, 220, 0.9) 0%, transparent 45%)",animationName:oe,animationDuration:`calc(${r} + 0.5s)`,animationDelay:"-2s",filter:"blur(38px)"}},[`${t}-progress-ink-2`]:{...i,background:"radial-gradient(ellipse 45% 40% at 60% 20%, rgba(255, 150, 200, 0.88) 0%, transparent 45%)",animationName:oe,animationDuration:`calc(${r} + 1.5s)`,animationDelay:"-3s",filter:"blur(42px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 50% 55% at 20% 75%, rgba(160, 190, 255, 0.88) 0%, transparent 50%)",animationName:te,animationDuration:`calc(${r} + 2.5s)`,animationDelay:"-2.5s",filter:"blur(35px)"}},[`${t}-progress-content`]:{position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",display:"flex",flexDirection:"column",alignItems:"center",width:"100%",paddingInline:e.paddingLG,textAlign:"center",fontSize:e.fontSize,color:e.colorTextSecondary,zIndex:1},[`${t}-progress-rail`]:{width:"100%",height:6,marginTop:e.marginSM,backgroundColor:"rgba(255, 255, 255, 0.5)",borderRadius:e.borderRadiusXS,overflow:"hidden",backdropFilter:"blur(4px)","&::before":{content:'""',display:"block",height:"100%",width:"var(--progress-percent, 0%)",background:"linear-gradient(90deg, rgba(120, 170, 255, 0.85) 0%, rgba(160, 150, 245, 0.85) 40%, rgba(130, 200, 220, 0.85) 60%, rgba(120, 170, 255, 0.85) 100%)",backgroundSize:"200% 100%",borderRadius:e.borderRadiusXS/2,transition:`width ${n} ease`,animationName:J,animationDuration:r,animationTimingFunction:"linear",animationIterationCount:"infinite"}},[`${t}-progress-indicator`]:{marginTop:e.marginXS}}}},ae=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r,colorBgMask:i,marginXL:s,marginSM:a,margin:l,colorTextLightSolid:c,paddingSM:d,paddingLG:u,previewOperationHoverColor:p,previewOperationColorDisabled:m,previewOperationSize:h,zIndexPopup:f}=e,g=new G.Y(i).setA(.1),v=g.clone().setA(.2),y={position:"absolute",color:c,backgroundColor:g.toRgbString(),borderRadius:"50%",padding:d,outline:0,border:0,cursor:"pointer",transition:`all ${o}`,display:"flex",fontSize:h,"&:hover":{backgroundColor:v.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":(0,K.jk)(e)};return{[`${r}-preview`]:{textAlign:"center",inset:0,position:"fixed",userSelect:"none",zIndex:f,[`${n}-mask`]:{inset:0,position:"absolute",background:i,backdropFilter:"blur(0px)",transition:`backdrop-filter ${o}`,[`&${r}-preview-mask-blur`]:{backdropFilter:"blur(4px)"},[`&${r}-preview-mask-hidden`]:{display:"none"}},[`${n}-body`]:{...re(),"pointer-events":"none",display:"flex",alignItems:"center",justifyContent:"center","> *":{pointerEvents:"auto"}},[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",transition:`transform ${o} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:"grab"},[`&-moving ${n}-img`]:{cursor:"grabbing"},[`${n}-close`]:{...y,top:a,insetInlineEnd:a},[`${n}-switch`]:{...y,top:"50%",transform:"translateY(-50%)","&-disabled":{"&, &:hover, &:active":{color:m,background:"transparent",cursor:"not-allowed"}},"&-prev":{insetInlineStart:a},"&-next":{insetInlineEnd:a}},[`${n}-footer`]:{position:"absolute",bottom:s,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)",gap:l},[`${n}-actions`]:{display:"flex",gap:d,padding:`0 ${(0,q.zA)(u)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:h,"&-action":{color:"inherit",background:"transparent",border:0,font:"inherit",padding:d,cursor:"pointer",transition:`all ${o}`,display:"flex",[`&:not(${n}-actions-action-disabled):hover`]:{color:p},"&:focus-visible":(0,K.jk)(e),"&-disabled":{color:m,cursor:"not-allowed"}}}}}},le=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",...(0,K.K8)(e),[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-placeholder`]:{...re()}}}},ce=e=>{const{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:"scale(0)"},"&-active":{opacity:1,[`${t}-body`]:{transform:"scale(1)",transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:"scale(0)",transition:`transform ${n}`}}}}}}},de=(0,Z.OF)("Image",e=>{const t=(0,Q.oX)(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[le(t),ie(t),se(t),ae(t),ce(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new G.Y(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new G.Y(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new G.Y(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon,progressAnimationDuration:"3s"})),ue={rotateLeft:o.createElement(X.A,null),rotateRight:o.createElement(Y.A,null),zoomIn:o.createElement(U.A,null),zoomOut:o.createElement(V.A,null),close:o.createElement(H.A,null),left:o.createElement(W.A,null),right:o.createElement(F.A,null),flipX:o.createElement(B.A,null),flipY:o.createElement(B.A,{rotate:90})},pe={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0};const me=e=>{const{prefixCls:t,percent:n,render:r,classNames:i,styles:a,rootClassName:l,rootStyle:c,width:d,height:u}=e,p=(0,O.Et)(n)&&Number.isFinite(n),m=p?Math.max(0,Math.min(100,Math.round(n))):0,h=p?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m,"aria-label":`${m}%`}:{"aria-busy":!0},f=p?o.createElement("div",{className:(0,s.$)(`${t}-progress-rail`,i?.rail),style:{...a?.rail,"--progress-percent":`${m}%`}}):null,g=r?r(f,m):o.createElement(o.Fragment,null,f,p&&o.createElement("div",{className:(0,s.$)(`${t}-progress-indicator`,i?.indicator),style:a?.indicator},`${m}%`));return o.createElement("div",{className:(0,s.$)(t,`${t}-progress-wrapper`,i?.root,l),style:{width:d,height:u,...c,...a?.root},...h},!p&&o.createElement("span",{role:"status","aria-live":"polite",style:pe},"Loading"),o.createElement("div",{className:`${t}-progress-ink-1`}),o.createElement("div",{className:`${t}-progress-ink-2`}),o.createElement("div",{className:(0,s.$)(`${t}-progress-content`,i?.content),style:a?.content},g))},he=e=>{const{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:l,classNames:c,wrapperStyle:d,fallback:u,placeholder:p,...m}=e,{getPrefixCls:h,getPopupContainer:f,className:g,style:v,preview:y,styles:_,classNames:b,fallback:w}=(0,L.TP)("image"),S=h("image",t);const A=(0,$.A)(S),[k,C]=de(S,A),x=(0,s.$)(i,k,C,A),E=(0,s.$)(r,k,g),[M,I,T]=D(n),[z,O,H]=D(y),W=j(M,z,S,x,f,ue,!0),F={...e,preview:W},X=o.useMemo(()=>({cover:(0,s.$)(H,T),popup:{root:(0,s.$)(O,I)}}),[I,T,O,H]),{mask:Y,blurClassName:B}=W??{},U=o.useMemo(()=>({mask:(0,s.$)({[`${S}-preview-mask-hidden`]:!Y},B)}),[Y,S,B]),V=o.useMemo(()=>[b,c,X,{popup:U}],[b,c,X,U]),q=(0,R.XT)(v,"image"),G=(0,R.XT)(a,"image"),Z=(0,R.XT)(v),Q=(0,R.XT)(a),[K,J]=(0,R.AV)(V,[_,{root:d},q,l,G],{props:F},{popup:{_default:"root"},placeholder:{}}),[,ee]=(0,R.AV)([],[_,Z,{root:d},l,Q],{props:F},{popup:{_default:"root"},placeholder:{}}),{image:te,...ne}=J,oe=u??w,{progressConfig:re}=function(e){return(0,o.useMemo)(()=>e&&P(e)?"boolean"==typeof e.progress?{progressConfig:e.progress?{}:void 0}:{progressConfig:e.progress}:{},[e])}(p),ie=void 0!==re,{percent:se,render:ae}=re||{},le=K?.placeholder?.progress,ce=ee?.placeholder?.progress,{width:pe,height:he,src:fe,...ge}=m,ve=P(p)?void 0:p,ye=ve&&!fe;return ie||ye?o.createElement(me,{prefixCls:S,percent:se,render:ye?e=>ve:ae,classNames:le,styles:ce,rootClassName:(0,s.$)(x,E),rootStyle:ee?.root,width:pe,height:he}):o.createElement(N,{prefixCls:S,preview:W||!1,rootClassName:x,className:E,style:te,fallback:oe,placeholder:ve,width:pe,height:he,src:fe,...ge,classNames:K,styles:ne})};he.PreviewGroup=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{const{getPrefixCls:a,getPopupContainer:l,direction:c,preview:d,classNames:u,styles:p}=(0,L.TP)("image"),m=a("image",e),h=`${m}-preview`,f=(0,$.A)(m),[g,v]=de(m,f),y=(0,s.$)(g,v,f),[_,b,w]=D(t),[S,A,k]=D(d),C=o.useMemo(()=>({...ue,left:o.createElement("rtl"===c?F.A:W.A,null),right:o.createElement("rtl"===c?W.A:F.A,null)}),[c]),x=j(_,S,m,y,l,C),{mask:E,blurClassName:M}=x??{},I={...i,classNames:n,styles:r},[T,z]=(0,R.AV)([u,n,{cover:(0,s.$)(k,w),popup:{root:(0,s.$)(A,b),mask:(0,s.$)({[`${m}-preview-mask-hidden`]:!E},M)}}],[p,r],{props:I},{popup:{_default:"root"}});return o.createElement(N.PreviewGroup,{preview:x,previewPrefixCls:h,icons:C,...i,classNames:T,styles:z})};const fe=he},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js"(e,t,n){"use strict";n.d(t,{A:()=>N});var o=n("react"),r=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),s=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),a=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),c=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),d=n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const u=80*Math.PI,p=e=>{const{dotClassName:t,style:n,hasCircleCls:i}=e;return o.createElement("circle",{className:(0,r.$)(`${t}-circle`,{[`${t}-circle-bg`]:i}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},m=({percent:e,prefixCls:t})=>{const n=`${t}-dot`,i=`${n}-holder`,s=`${i}-hidden`,[a,l]=o.useState(!1);(0,d.Nf)(()=>{0!==e&&l(!0)},[e]);const c=Math.max(Math.min(e,100),0);if(!a)return null;const m={strokeDashoffset:""+u/4,strokeDasharray:`${u*c/100} ${u*(100-c)/100}`};return o.createElement("span",{className:(0,r.$)(i,`${n}-progress`,{[s]:c<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},o.createElement(p,{dotClassName:n,hasCircleCls:!0}),o.createElement(p,{dotClassName:n,style:m})))};function h(e){const{prefixCls:t,percent:n=0,className:i,style:s}=e,a=`${t}-dot`,l=`${a}-holder`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,r.$)(l,i,n>0&&`${l}-hidden`),style:s},o.createElement("span",{className:(0,r.$)(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:n}))}function f(e){const{prefixCls:t,indicator:n,percent:i,className:s,style:a}=e,l=`${t}-dot`;return n&&o.isValidElement(n)?(0,c.Ob)(n,e=>({className:(0,r.$)(e.className,l,s),style:{...e.style,...a},percent:i})):o.createElement(h,{prefixCls:t,percent:i,className:s,style:a})}var g=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),v=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),y=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),_=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const b=new g.Mo("antSpinMove",{to:{opacity:1}}),w=new g.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),S=e=>{const{componentCls:t}=e,n=`${t}-section`;return{[t]:{...(0,v.dF)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${n}, > ${n}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:"inline-flex"},[`> ${n}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${n}`]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},A=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o}=e,[r,i]=(0,y.PN)(n,"spin");return{[t]:{[r("dot-holder-size")]:e.dotSize,[r("dot-item-size")]:`calc((${i("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:i("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${o} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:i("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:w,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:i("dot-item-size"),height:i("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${o} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},k=e=>{const{componentCls:t}=e,[n]=(0,y.PN)(e.antCls,"spin");return{[t]:{"&-sm":{[n("dot-holder-size")]:e.dotSizeSM},"&-lg":{[n("dot-holder-size")]:e.dotSizeLG}}}},C=(0,y.OF)("Spin",e=>{const t=(0,_.oX)(e,{spinDotDefault:e.colorTextDescription});return[S(t),A(t),k(t)]},e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),x=[[30,.05],[70,.03],[96,.01]];let E;const M=o.forwardRef((e,t)=>{const{prefixCls:n,spinning:c=!0,delay:d=0,className:u,rootClassName:p,size:m,tip:h,description:g,wrapperClassName:v,style:y,children:_,fullscreen:b=!1,indicator:w,percent:S,classNames:A,styles:k,...M}=e,{getPrefixCls:N,direction:R,indicator:L,className:$,style:I,classNames:T,styles:z}=(0,a.TP)("spin"),j=N("spin",n),[O,P]=C(j),[D,H]=o.useState(()=>c&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(c,d)),W=function(e,t){const[n,r]=o.useState(0),i=o.useRef(null),s="auto"===t;return o.useEffect(()=>(s&&e&&(r(0),i.current=setInterval(()=>{r(e=>{const t=100-e;for(let n=0;n<x.length;n+=1){const[o,r]=x[n];if(e<=o)return e+t*r}return e})},200)),()=>{i.current&&(clearInterval(i.current),i.current=null)}),[s,e]),s?n:t}(D,S);o.useEffect(()=>{if(c){const e=(0,i.s)(d,()=>{H(!0)});return e(),()=>{e?.cancel?.()}}H(!1)},[d,c]);const F=(0,l.A)(e=>m??e),X=g??h,Y={...e,size:F,spinning:D,tip:X,description:X,fullscreen:b,children:_,percent:W},B=(0,s.XT)(I),[U,V]=(0,s.AV)([T,A],[z,B,k],{props:Y});const q=w??L??E,G=void 0!==_,Z=G||b,Q=o.createElement(o.Fragment,null,o.createElement(f,{className:(0,r.$)(U.indicator),style:V.indicator,prefixCls:j,indicator:q,percent:W}),X&&o.createElement("div",{className:(0,r.$)(`${j}-description`,U.tip,U.description),style:{...V.tip,...V.description}},X)),K=o.useRef(null);return o.useImperativeHandle(t,()=>({nativeElement:K.current})),o.createElement("div",{ref:K,className:(0,r.$)(j,{[`${j}-sm`]:"small"===F,[`${j}-lg`]:"large"===F,[`${j}-spinning`]:D,[`${j}-rtl`]:"rtl"===R,[`${j}-fullscreen`]:b},p,U.root,b&&U.mask,Z?v:[`${j}-section`,U.section],$,u,O,P),style:{...V.root,...Z?{}:V.section,...b?V.mask:{},...y},"aria-live":"polite","aria-busy":D,...M},D&&(Z?o.createElement("div",{className:(0,r.$)(`${j}-section`,U.section),style:V.section},Q):Q),G&&o.createElement("div",{className:(0,r.$)(`${j}-container`,U.container),style:V.container},_))});M.setDefaultIndicator=e=>{E=e};const N=M},"./node_modules/.pnpm/json2mq@0.2.0/node_modules/json2mq/index.js"(e,t,n){var o=n("./node_modules/.pnpm/string-convert@0.2.1/node_modules/string-convert/camel2hyphen.js"),r=function(e){var t="",n=Object.keys(e);return n.forEach(function(r,i){var s=e[r];(function(e){return/[height|width]$/.test(e)})(r=o(r))&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,o){t+=r(n),o<e.length-1&&(t+=", ")}),t):r(e)}},"./node_modules/.pnpm/string-convert@0.2.1/node_modules/string-convert/camel2hyphen.js"(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},"./src/components/fragments/Watermark.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>I});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),s=(n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/hooks/useEvent.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/hooks/useLayoutEffect.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/ref.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/Dom/canUseDom.js"));const a={subtree:!0,childList:!0,attributeFilter:["style","class"]},l=(e,t,n=a)=>{r().useEffect(()=>{if(!(0,s.A)()||!e)return;let o;const r=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(o=new MutationObserver(t),r.forEach(e=>{o.observe(e,n)})),()=>{o?.takeRecords(),o?.disconnect()}},[n,e])};var c=n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),d=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),u=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),m=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/watermark/context.js"),h=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),f=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/toList.js");const g=(e,t=1)=>Number(e.fontSize)*t,v=(e,t=1,n)=>{const o=void 0===n?"":`/${n}px`;return`${e.fontStyle} normal ${e.fontWeight} ${g(e,t)}px${o} ${e.fontFamily}`},y=(e,t)=>(0,f.A)(e,{skipEmpty:!0}).map(e=>(e=>(0,h.Qd)(e))(e)?{text:e.text??"",font:(0,c.v6)(t,e.font??{})}:{text:e??"",font:t}),_=(e,t,n=1)=>{const o=document.createElement("canvas"),r=o.getContext("2d"),i=e*n,s=t*n;return o.setAttribute("width",`${i}px`),o.setAttribute("height",`${s}px`),r.save(),[r,o,i,s]},b=()=>r().useCallback((e,t,n,o,r,i,s)=>{const[a,l,c,d]=_(o,r,n);if(e instanceof HTMLImageElement)a.drawImage(e,0,0,c,d);else{a.textBaseline="top";let t=0;e.forEach(({text:e,font:o})=>{a.font=v(o,n,r),a.fillStyle=o.color,a.textAlign=o.textAlign,a.fillText(e,c/2,t),t+=g(o,n)+3*n})}const u=Math.PI/180*Number(t),p=Math.max(o,r),[m,h,f]=_(p,p,n);m.translate(f/2,f/2),m.rotate(u),c>0&&d>0&&m.drawImage(l,-c/2,-d/2);let y=0,b=0,w=0,S=0;const A=c/2,k=d/2;[[0-A,0-k],[0+A,0-k],[0+A,0+k],[0-A,0+k]].forEach(([e,t])=>{const[n,o]=((e,t,n)=>[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)])(e,t,u);y=Math.min(y,n),b=Math.max(b,n),w=Math.min(w,o),S=Math.max(S,o)});const C=y+f/2,x=w+f/2,E=b-y,M=S-w,N=i*n,R=s*n,L=2*(E+N),$=M+R,[I,T]=_(L,$),z=(e=0,t=0)=>{E<=0||M<=0||I.drawImage(h,C,x,E,M,e,t,E,M)};return z(),z(E+N,-M/2-R/2),z(E+N,+M/2+R/2),[T.toDataURL(),L/n,$/n]},[]);const w=()=>{const e=o.useRef([null,null]);return(t,n)=>{const o=t.map(e=>(0,h.sb)(e)||Number.isNaN(e)?"":e);return(0,c.n4)(e.current[0],o)||(e.current=[o,n()]),e.current[1]}},S=()=>{},A={visibility:"visible !important"},k=(e,t)=>{const n=o.useRef(new Map),r=(0,c._q)(t??S);return[(o,i,s)=>{if(s){const l=n.current.get(s);if(!l){const e=document.createElement("div");n.current.set(s,e)}const c=n.current.get(s);c.setAttribute("style",(a={...e,backgroundImage:`url('${o}')`,backgroundSize:`${Math.floor(i)}px`,...A},Object.keys(a).map(e=>`${function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(e)}: ${a[e]};`).join(" "))),c.removeAttribute("class"),c.removeAttribute("hidden"),c.parentElement!==s&&(l&&t&&r(),s.append(c))}var a;return n.current.get(s)},e=>{const t=n.current.get(e);t&&e&&e.removeChild(t),n.current.delete(e)},e=>Array.from(n.current.values()).includes(e)]};function C(e,t){return e.size===t.size?e:t}const x=100,E=100,M={position:"relative",overflow:"hidden"},N=r().forwardRef((e,t)=>{const{zIndex:n,rotate:s=-22,width:a,height:h,image:f,content:g,font:_={},style:S,className:A,rootClassName:N,gap:R=[x,E],offset:L,children:$,inherit:I=!0,onRemove:T}=e,{className:z,style:j}=(0,u.TP)("watermark"),O={...M,...j,...S},[,P]=(0,p.Ay)(),D=n??P.zIndexPopupBase-1,{color:H=P.colorFill,fontSize:W=P.fontSizeLG,fontWeight:F=400,fontStyle:X="normal",fontFamily:Y="sans-serif",textAlign:B="center"}=_,U=r().useMemo(()=>({color:H,fontSize:W,fontWeight:F,fontStyle:X,fontFamily:Y,textAlign:B}),[H,W,F,X,Y,B]),V=r().useMemo(()=>y(g,U),[g,U]),[q=x,G=E]=R,Z=q/2,Q=G/2,K=L?.[0]??Z,J=L?.[1]??Q,ee=r().useMemo(()=>{const e={zIndex:D,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let t=K-Z,n=J-Q;return t>0&&(e.left=`${t}px`,e.width=`calc(100% - ${t}px)`,t=0),n>0&&(e.top=`${n}px`,e.height=`calc(100% - ${n}px)`,n=0),e.backgroundPosition=`${t}px ${n}px`,e},[D,K,Z,J,Q]),[te,ne]=r().useState(),oe=r().useRef(null);r().useImperativeHandle(t,()=>({nativeElement:oe.current}));const re=(0,c.xK)(oe,ne),[ie,se]=r().useState(()=>new Set),ae=r().useMemo(()=>[].concat(te?[te]:[],(0,i.A)(Array.from(ie))),[te,ie]),le=b(),ce=w(),[de,ue]=r().useState(null),pe=function(e){const t=r().useRef(!1),n=r().useRef(null),o=(0,c._q)(e);return()=>{t.current||(t.current=!0,o(),n.current=(0,c.er)(()=>{t.current=!1}))}}(()=>{const e=document.createElement("canvas").getContext("2d");if(e){const t=window.devicePixelRatio||1,[n,o]=(e=>{let t=120,n=64;if(!f&&e.measureText)if(V.length){const o=V.map(({text:t,font:n})=>{e.font=v(n);const o=e.measureText(t);return[o.width,o.fontBoundingBoxAscent+o.fontBoundingBoxDescent]});t=Math.ceil(Math.max.apply(Math,(0,i.A)(o.map(e=>e[0])))),n=Math.ceil(o.reduce((e,t)=>e+t[1],0))+3*(V.length-1)}else t=0,n=0;return[a??t,h??n]})(e),r=e=>{const r=[e||[],s,t,n,o,q,G],[i,a]=ce(r,()=>le.apply(void 0,r));ue([i,a])};if(f){const e=new Image;e.onload=()=>{r(e)},e.onerror=()=>{r(V)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=f}else r(V)}}),[me,he,fe]=k(ee,T);(0,o.useEffect)(()=>{de&&ae.forEach(e=>{me(de[0],de[1],e)})},[de,ae]);const ge=(0,c._q)(e=>{e.forEach(e=>{if(((e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(t)),"attributes"===e.type&&t(e.target)&&(n=!0),n})(e,fe))pe();else if(e.target===te&&"style"===e.attributeName){const e=Object.keys(M);for(let t=0;t<e.length;t+=1){const n=e[t],o=O[n];o&&o!==te.style[n]&&(te.style[n]=o)}}})});l(ae,ge),(0,o.useEffect)(pe,[s,D,a,h,f,V,q,G,K,J]);const ve=r().useMemo(()=>({add:e=>{se(t=>{const n=new Set(t);return n.add(e),C(t,n)})},remove:e=>{he(e),se(t=>{const n=new Set(t);return n.delete(e),C(t,n)})}}),[]),ye=I?r().createElement(m.A.Provider,{value:ve},$):$;return r().createElement("div",{ref:re,className:(0,d.$)(A,z,N),style:O},ye)});const R=N;var L=n("./src/utils/antd.tsx"),$=n("./src/utils/dash3.ts");const I=e=>{const{children:t,loading_state:n,n_remove:o,setProps:i}=e,s=(0,L.I4)(e),a=R;return r().createElement(a,{...s,onRemove:()=>i?.({n_remove:(o||0)+1}),"data-dash-is-loading":(0,$.A_)(n)||void 0},(0,L.lq)(t))}},"./src/components/fragments/async/dataDisplay/Carousel.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>Me});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js"),s=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),a=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),l=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js"),c=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"),d=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"),u=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),p=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js"),m=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js"),h=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js"),f=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");const g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var v=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),y=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");const _={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r().createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r().createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};function b(e,t,n){return Math.max(t,Math.min(e,n))}var w=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},S=function(e){for(var t=[],n=A(e),o=k(e),r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},A=function(e){return e.currentSlide-C(e)},k=function(e){return e.currentSlide+x(e)},C=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},x=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},E=function(e){return e&&e.offsetWidth||0},M=function(e){return e&&e.offsetHeight||0},N=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=Math.atan2(e.startY-e.curY,e.startX-e.curX),(n=Math.round(180*t/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===o?n>=35&&n<=135?"up":"down":"vertical"},R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},L=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},$=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return r}(e),o=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=o;break}o=n[r]}return t},I=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];return Array.from(r).every(function(o){if(e.vertical){if(o.offsetTop+M(o)/2>-1*e.swipeLeft)return n=o,!1}else if(o.offsetLeft-t+E(o)/2>-1*e.swipeLeft)return n=o,!1;return!0}),n?Math.abs(n.dataset.index-(!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide))||1:0}return e.slidesToScroll},T=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},z=function(e){var t,n;(T(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=H(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=(0,s.A)((0,s.A)({},o),{},{WebkitTransform:r,transform:i,msTransform:a})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},j=function(e){T(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=z(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):t.transition=e.vertical?"top "+e.speed+"ms "+e.cssEase:"left "+e.speed+"ms "+e.cssEase,t},O=function(e){if(e.unslick)return 0;T(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,o=e.slideIndex,r=e.trackRef,i=e.infinite,s=e.centerMode,a=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,d=e.slideWidth,u=e.listWidth,p=e.variableWidth,m=e.slideHeight,h=e.vertical;if(e.fade||1===e.slideCount)return 0;var f=0;if(i?(f=-P(e),a%c!==0&&o+c>a&&(f=-(o>a?l-(o-a):a%c)),s&&(f+=parseInt(l/2))):(a%c!==0&&o+c>a&&(f=l-a%c),s&&(f=parseInt(l/2))),t=h?o*m*-1+f*m:o*d*-1+f*d,!0===p){var g,v=r&&r.node;if(g=o+P(e),t=(n=v&&v.childNodes[g])?-1*n.offsetLeft:0,!0===s){g=i?o+P(e):o,n=v&&v.children[g],t=0;for(var y=0;y<g;y++)t-=v&&v.children[y]&&v.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(u-n.offsetWidth)/2}}return t},P=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},D=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},H=function(e){return 1===e.slideCount?1:P(e)+e.slideCount+D(e)},W=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-X(e)?"right":"left"},F=function(e){var t=e.slidesToShow,n=e.rtl;if(e.centerMode){var o=(t-1)/2+1;return parseInt(e.centerPadding)>0&&(o+=1),n&&t%2==0&&(o+=1),o}return n?0:t-1},X=function(e){var t=e.slidesToShow,n=e.rtl;if(e.centerMode){var o=(t-1)/2+1;return parseInt(e.centerPadding)>0&&(o+=1),n||t%2!=0||(o+=1),o}return n?t-1:0},Y=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},B=Object.keys(_);var U=function(e){var t,n,o,r,i;return o=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-r-1&&i<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},V=function(e,t){return e.key+"-"+t},q=function(e){var t,n=[],o=[],i=[],a=r().Children.count(e.children),l=A(e),c=k(e);return r().Children.forEach(e.children,function(d,u){var p,m={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?d:r().createElement("div",null);var h=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}((0,s.A)((0,s.A)({},e),{},{index:u})),f=p.props.className||"",g=U((0,s.A)((0,s.A)({},e),{},{index:u}));if(n.push(r().cloneElement(p,{key:"original"+V(p,u),"data-index":u,className:(0,y.$)(g,f),tabIndex:"-1","aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({outline:"none"},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&a>1&&!1===e.fade&&!e.unslick){var v=a-u;v<=P(e)&&((t=-v)>=l&&(p=d),g=U((0,s.A)((0,s.A)({},e),{},{index:t})),o.push(r().cloneElement(p,{key:"precloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,y.$)(g,f),"aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),u<D(e)&&((t=a+u)<c&&(p=d),g=U((0,s.A)((0,s.A)({},e),{},{index:t})),i.push(r().cloneElement(p,{key:"postcloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,y.$)(g,f),"aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}}),e.rtl?o.concat(n,i).reverse():o.concat(n,i)},G=function(e){function t(){var e,n,o,r;(0,a.A)(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=this,o=t,r=[].concat(s),o=(0,u.A)(o),e=(0,c.A)(n,(0,d.A)()?Reflect.construct(o,r||[],(0,u.A)(n).constructor):o.apply(n,r)),(0,m.A)(e,"node",null),(0,m.A)(e,"handleRef",function(t){e.node=t}),e}return(0,p.A)(t,e),(0,l.A)(t,[{key:"render",value:function(){var e=q(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r().createElement("div",(0,i.A)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])}(r().PureComponent);var Z=function(e){function t(){return(0,a.A)(this,t),e=this,o=arguments,n=(0,u.A)(n=t),(0,c.A)(e,(0,d.A)()?Reflect.construct(n,o||[],(0,u.A)(e).constructor):n.apply(e,o));var e,n,o}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,o=t.onMouseOver,i=t.onMouseLeave,a=t.infinite,l=t.slidesToScroll,c=t.slideCount,d=t.currentSlide,u=(e={slideCount:c,slidesToScroll:l,slidesToShow:t.slidesToShow,infinite:a}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,p={onMouseEnter:n,onMouseOver:o,onMouseLeave:i},m=[],h=0;h<u;h++){var f=(h+1)*l-1,g=a?f:b(f,0,c-1),v=g-(l-1),_=a?v:b(v,0,c-1),w=(0,y.$)({"slick-active":a?d>=_&&d<=g:d===_}),S=this.clickHandler.bind(this,{message:"dots",index:h,slidesToScroll:l,currentSlide:d});m=m.concat(r().createElement("li",{key:h,className:w},r().cloneElement(this.props.customPaging(h),{onClick:S})))}return r().cloneElement(this.props.appendDots(m),(0,s.A)({className:this.props.dotsClass},p))}}])}(r().PureComponent);function Q(e,t,n){return t=(0,u.A)(t),(0,c.A)(e,(0,d.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var K=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,y.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r().cloneElement(this.props.prevArrow,(0,s.A)((0,s.A)({},n),o)):r().createElement("button",(0,i.A)({key:"0",type:"button"},n)," ","Previous")}}])}(r().PureComponent),J=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});R(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,y.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r().cloneElement(this.props.nextArrow,(0,s.A)((0,s.A)({},n),o)):r().createElement("button",(0,i.A)({key:"1",type:"button"},n)," ","Next")}}])}(r().PureComponent),ee=["animating"];var te=function(e){function t(e){var n,o,l,p;(0,a.A)(this,t),o=this,p=[e],l=(0,u.A)(l=t),n=(0,c.A)(o,(0,d.A)()?Reflect.construct(l,p||[],(0,u.A)(o).constructor):l.apply(o,p)),(0,m.A)(n,"listRefHandler",function(e){return n.list=e}),(0,m.A)(n,"trackRefHandler",function(e){return n.track=e}),(0,m.A)(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=M(e)+"px"}}),(0,m.A)(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=S((0,s.A)((0,s.A)({},n.props),n.state));e.length>0&&(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,s.A)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),"undefined"!=typeof ResizeObserver&&(n.ro=new ResizeObserver(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list)),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),(0,m.A)(n,"componentWillUnmount",function(){var e;n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(e){return clearTimeout(e)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),null===(e=n.ro)||void 0===e||e.disconnect()}),(0,m.A)(n,"componentDidUpdate",function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=S((0,s.A)((0,s.A)({},n.props),n.state));t.length>0&&(n.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var o=(0,s.A)((0,s.A)({listRef:n.list,trackRef:n.track},n.props),n.state),i=n.didPropsChange(e);i&&n.updateState(o,i,function(){n.state.currentSlide>=r().Children.count(n.props.children)&&n.changeSlide({message:"index",index:r().Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay===n.props.autoplay&&e.autoplaySpeed===n.props.autoplaySpeed||(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),(0,m.A)(n,"onWindowResized",function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,v.s)(50,function(){return n.resizeWindow(e)}),n.debouncedResize()}),(0,m.A)(n,"resizeWindow",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(n.track&&n.track.node)){var t=(0,s.A)((0,s.A)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),(0,m.A)(n,"updateState",function(e,t,o){var i=function(e){var t,n=r().Children.count(e.children),o=e.listRef,i=Math.ceil(E(o)),a=Math.ceil(E(e.trackRef&&e.trackRef.node));if(e.vertical)t=i;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=i/100),t=Math.ceil((i-l)/e.slidesToShow)}var c=o&&M(o.querySelector('[data-index="0"]')),d=c*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var p=e.lazyLoadedList||[],m=S((0,s.A)((0,s.A)({},e),{},{currentSlide:u,lazyLoadedList:p})),h={slideCount:n,slideWidth:t,listWidth:i,trackWidth:a,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:p=p.concat(m)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h}(e);e=(0,s.A)((0,s.A)((0,s.A)({},e),i),{},{slideIndex:i.currentSlide});var a=O(e);e=(0,s.A)((0,s.A)({},e),{},{left:a});var l=z(e);(t||r().Children.count(n.props.children)!==r().Children.count(e.children))&&(i.trackStyle=l),n.setState(i,o)}),(0,m.A)(n,"ssrInit",function(){if(n.props.variableWidth){var e=0,t=0,o=[],i=P((0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:n.props.children.length})),a=D((0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function(t){o.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<i;l++)t+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<a;c++)e+=o[c];for(var d=0;d<n.state.currentSlide;d++)t+=o[d];var u={width:e+"px",left:-t+"px"};if(n.props.centerMode){var p="".concat(o[n.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:u}}var m=r().Children.count(n.props.children),h=(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:m}),f=P(h)+D(h)+m,g=100/n.props.slidesToShow*f,v=100/f,y=-v*(P(h)+n.state.currentSlide)*g/100;return n.props.centerMode&&(y+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:y+"%"}}}),(0,m.A)(n,"checkImagesLoad",function(){var e=n.list&&n.list.querySelectorAll&&n.list.querySelectorAll(".slick-slide img")||[],t=e.length,o=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++o&&o>=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=r,e.onerror=function(){r(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),(0,m.A)(n,"progressiveLazyLoad",function(){for(var e=[],t=(0,s.A)((0,s.A)({},n.props),n.state),o=n.state.currentSlide;o<n.state.slideCount+D(t);o++)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var r=n.state.currentSlide-1;r>=-P(t);r--)if(n.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),(0,m.A)(n,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=n.props,r=o.asNavFor,i=o.beforeChange,a=o.onLazyLoad,l=o.speed,c=o.afterChange,d=n.state.currentSlide,u=function(e){var t=e.fade,n=e.infinite,o=e.index,r=e.slideCount,i=e.lazyLoad,a=e.currentSlide,l=e.centerMode,c=e.slidesToScroll,d=e.slidesToShow,u=e.useCSS,p=e.lazyLoadedList;if(e.waitForAnimate&&e.animating)return{};var m,h,f,g=o,v={},y={},_=n?o:b(o,0,r-1);if(t){if(!n&&(o<0||o>=r))return{};o<0?g=o+r:o>=r&&(g=o-r),i&&p.indexOf(g)<0&&(p=p.concat(g)),v={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},y={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+r,n?r%c!==0&&(m=r-r%c):m=0):!R(e)&&g>a?g=m=a:l&&g>=r?(g=n?r:r-1,m=n?0:r-1):g>=r&&(m=g-r,n?r%c!==0&&(m=0):m=r-d),!n&&g+d>=r&&(m=r-d),h=O((0,s.A)((0,s.A)({},e),{},{slideIndex:g})),f=O((0,s.A)((0,s.A)({},e),{},{slideIndex:m})),n||(h===f&&(g=m),h=f),i&&(p=p.concat(S((0,s.A)((0,s.A)({},e),{},{currentSlide:g})))),u?(v={animating:!0,currentSlide:m,trackStyle:j((0,s.A)((0,s.A)({},e),{},{left:h})),lazyLoadedList:p,targetSlide:_},y={animating:!1,currentSlide:m,trackStyle:z((0,s.A)((0,s.A)({},e),{},{left:f})),swipeLeft:null,targetSlide:_}):v={currentSlide:m,trackStyle:z((0,s.A)((0,s.A)({},e),{},{left:f})),lazyLoadedList:p,targetSlide:_};return{state:v,nextState:y}}((0,s.A)((0,s.A)((0,s.A)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),p=u.state,m=u.nextState;if(p){i&&i(d,p.currentSlide);var h=p.lazyLoadedList.filter(function(e){return n.state.lazyLoadedList.indexOf(e)<0});a&&h.length>0&&a(h),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),c&&c(d),delete n.animationEndCallback),n.setState(p,function(){r&&n.asNavForIndex!==e&&(n.asNavForIndex=e,r.innerSlider.slideHandler(e)),m&&(n.animationEndCallback=setTimeout(function(){var e=m.animating,t=(0,f.A)(m,ee);n.setState(t,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:e})},10)),c&&c(p.currentSlide),delete n.animationEndCallback})},l))})}}),(0,m.A)(n,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=function(e,t){var n,o,r,i,a=e.slidesToScroll,l=e.slideCount,c=e.currentSlide,d=e.targetSlide,u=e.lazyLoad,p=e.infinite;if(n=l%a!==0?0:(l-c)%a,"previous"===t.message)i=c-(r=0===n?a:e.slidesToShow-n),u&&!p&&(i=-1===(o=c-r)?l-1:o),p||(i=d-a);else if("next"===t.message)i=c+(r=0===n?a:n),u&&!p&&(i=(c+a)%l+n),p||(i=d+a);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,p){var m=W((0,s.A)((0,s.A)({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===m?i-=l:i<t.currentSlide&&"right"===m&&(i+=l)}}else"index"===t.message&&(i=Number(t.index));return i}((0,s.A)((0,s.A)({},n.props),n.state),e);if((0===o||o)&&(!0===t?n.slideHandler(o,t):n.slideHandler(o),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var r=n.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),(0,m.A)(n,"clickHandler",function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0}),(0,m.A)(n,"keyHandler",function(e){var t=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""}(e,n.props.accessibility,n.props.rtl);""!==t&&n.changeSlide({message:t})}),(0,m.A)(n,"selectHandler",function(e){n.changeSlide(e)}),(0,m.A)(n,"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,m.A)(n,"enableBodyScroll",function(){window.ontouchmove=null}),(0,m.A)(n,"swipeStart",function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=function(e,t,n){return"IMG"===e.target.tagName&&w(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,n.props.swipe,n.props.draggable);""!==t&&n.setState(t)}),(0,m.A)(n,"swipeMove",function(e){var t=function(e,t){var n=t.vertical,o=t.swipeToSlide,r=t.verticalSwiping,i=t.rtl,a=t.currentSlide,l=t.edgeFriction,c=t.edgeDragged,d=t.onEdge,u=t.swiped,p=t.swiping,m=t.slideCount,h=t.slidesToScroll,f=t.infinite,g=t.touchObject,v=t.swipeEvent,y=t.listHeight,_=t.listWidth;if(!t.scrolling){if(t.animating)return w(e);n&&o&&r&&w(e);var b,S={},A=O(t);g.curX=e.touches?e.touches[0].pageX:e.clientX,g.curY=e.touches?e.touches[0].pageY:e.clientY,g.swipeLength=Math.round(Math.sqrt(Math.pow(g.curX-g.startX,2)));var k=Math.round(Math.sqrt(Math.pow(g.curY-g.startY,2)));if(!r&&!p&&k>10)return{scrolling:!0};r&&(g.swipeLength=k);var C=(i?-1:1)*(g.curX>g.startX?1:-1);r&&(C=g.curY>g.startY?1:-1);var x=Math.ceil(m/h),E=N(t.touchObject,r),M=g.swipeLength;return f||(0===a&&("right"===E||"down"===E)||a+1>=x&&("left"===E||"up"===E)||!R(t)&&("left"===E||"up"===E))&&(M=g.swipeLength*l,!1===c&&d&&(d(E),S.edgeDragged=!0)),!u&&v&&(v(E),S.swiped=!0),b=n?A+M*(y/_)*C:i?A-M*C:A+M*C,r&&(b=A+M*C),S=(0,s.A)((0,s.A)({},S),{},{touchObject:g,swipeLeft:b,trackStyle:z((0,s.A)((0,s.A)({},t),{},{left:b}))}),Math.abs(g.curX-g.startX)<.8*Math.abs(g.curY-g.startY)||g.swipeLength>10&&(S.swiping=!0,w(e)),S}}(e,(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))}),(0,m.A)(n,"swipeEnd",function(e){var t=function(e,t){var n=t.touchObject,o=t.listWidth,r=t.touchThreshold,i=t.verticalSwiping,a=t.listHeight,l=t.swipeToSlide,c=t.scrolling,d=t.onSwipe,u=t.targetSlide,p=t.currentSlide,m=t.infinite;if(!t.dragging)return t.swipe&&w(e),{};var h=i?a/r:o/r,f=N(n,i),g={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c)return g;if(!n.swipeLength)return g;if(n.swipeLength>h){var v,y;w(e),d&&d(f);var _=m?p:u;switch(f){case"left":case"up":y=_+I(t),v=l?$(t,y):y,g.currentDirection=0;break;case"right":case"down":y=_-I(t),v=l?$(t,y):y,g.currentDirection=1;break;default:v=_}g.triggerSlideHandler=v}else{var b=O(t);g.trackStyle=j((0,s.A)((0,s.A)({},t),{},{left:b}))}return g}(e,(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var o=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==o&&(n.slideHandler(o),n.props.verticalSwiping&&n.enableBodyScroll())}}),(0,m.A)(n,"touchEnd",function(e){n.swipeEnd(e),n.clickable=!0}),(0,m.A)(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),(0,m.A)(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),(0,m.A)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)},0))}),(0,m.A)(n,"play",function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!R((0,s.A)((0,s.A)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)}),(0,m.A)(n,"autoPlay",function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),(0,m.A)(n,"pause",function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})}),(0,m.A)(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,m.A)(n,"onDotsLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,m.A)(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,m.A)(n,"onTrackLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,m.A)(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),(0,m.A)(n,"onSlideBlur",function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")}),(0,m.A)(n,"render",function(){var e,t,o,a=(0,y.$)("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,s.A)((0,s.A)({},n.props),n.state),c=L(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),d=n.props.pauseOnHover;if(c=(0,s.A)((0,s.A)({},c),{},{onMouseEnter:d?n.onTrackOver:null,onMouseLeave:d?n.onTrackLeave:null,onMouseOver:d?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var u=L(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),p=n.props.pauseOnDotsHover;u=(0,s.A)((0,s.A)({},u),{},{clickHandler:n.changeSlide,onMouseEnter:p?n.onDotsLeave:null,onMouseOver:p?n.onDotsOver:null,onMouseLeave:p?n.onDotsLeave:null}),e=r().createElement(Z,u)}var m=L(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);m.clickHandler=n.changeSlide,n.props.arrows&&(t=r().createElement(K,m),o=r().createElement(J,m));var h=null;n.props.vertical&&(h={height:n.state.listHeight});var f=null;!1===n.props.vertical?!0===n.props.centerMode&&(f={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(f={padding:n.props.centerPadding+" 0px"});var g=(0,s.A)((0,s.A)({},h),f),v=n.props.touchMove,_={className:"slick-list",style:g,onClick:n.clickHandler,onMouseDown:v?n.swipeStart:null,onMouseMove:n.state.dragging&&v?n.swipeMove:null,onMouseUp:v?n.swipeEnd:null,onMouseLeave:n.state.dragging&&v?n.swipeEnd:null,onTouchStart:v?n.swipeStart:null,onTouchMove:n.state.dragging&&v?n.swipeMove:null,onTouchEnd:v?n.touchEnd:null,onTouchCancel:n.state.dragging&&v?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},b={className:a,dir:"ltr",style:n.props.style};return n.props.unslick&&(_={className:"slick-list"},b={className:a,style:n.props.style}),r().createElement("div",b,n.props.unslick?"":t,r().createElement("div",(0,i.A)({ref:n.listRefHandler},_),r().createElement(G,(0,i.A)({ref:n.trackRefHandler},c),n.props.children)),n.props.unslick?"":o,n.props.unslick?"":e)}),n.list=null,n.track=null,n.state=(0,s.A)((0,s.A)({},g),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:r().Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var h=n.ssrInit();return n.state=(0,s.A)((0,s.A)({},n.state),h),n}return(0,p.A)(t,e),(0,l.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==(0,h.A)(e[i])&&"function"!=typeof e[i]&&!isNaN(e[i])&&e[i]!==this.props[i]){t=!0;break}}return t||r().Children.count(this.props.children)!==r().Children.count(e.children)}}])}(r().Component),ne=n("./node_modules/.pnpm/json2mq@0.2.0/node_modules/json2mq/index.js"),oe=n.n(ne);var re=function(e){function t(e){var n,o,r,i;return(0,a.A)(this,t),o=this,i=[e],r=(0,u.A)(r=t),n=(0,c.A)(o,(0,d.A)()?Reflect.construct(r,i||[],(0,u.A)(o).constructor):r.apply(o,i)),(0,m.A)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,m.A)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,m.A)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,m.A)(n,"slickGoTo",function(e){return n.innerSlider.slickGoTo(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}),(0,m.A)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,m.A)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,p.A)(t,e),(0,l.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),o=function(e){e.matches&&t()};n.addListener(o),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,o){var r;r=0===o?oe()({minWidth:0,maxWidth:n}):oe()({minWidth:t[o-1]+1,maxWidth:n}),Y()&&e.media(r,function(){e.setState({breakpoint:n})})});var n=oe()({minWidth:t.slice(-1)[0]});Y()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,s.A)((0,s.A)((0,s.A)({},_),this.props),t[0].settings):(0,s.A)((0,s.A)({},_),this.props)).centerMode&&(e.slidesToScroll=1),e.fade&&(e.slidesToShow=1,e.slidesToScroll=1);var o=r().Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,c=0;c<o.length;c+=e.rows*e.slidesPerRow){for(var d=[],u=c;u<c+e.rows*e.slidesPerRow;u+=e.slidesPerRow){for(var p=[],m=u;m<u+e.slidesPerRow&&(e.variableWidth&&o[m].props.style&&(l=o[m].props.style.width),!(m>=o.length));m+=1)p.push(r().cloneElement(o[m],{key:100*c+10*u+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r().createElement("div",{key:10*c+u},p))}a.push(r().createElement("div",e.variableWidth?{key:c,style:{width:l}}:{key:c},d))}if("unslick"===e){var h="regular slider "+(this.props.className||"");return r().createElement("div",{className:h},o)}return a.length<=e.slidesToShow&&(e.unslick=!0),r().createElement(te,(0,i.A)({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return B.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}(e)),a)}}])}(r().Component);const ie=re;var se=n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),ae=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),le=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),ce=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),de=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/en_US.js"),ue=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),pe=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),me=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const he="--dot-duration",fe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{...(0,pe.dF)(e),".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}}}},ge=e=>{const{componentCls:t,motionDurationSlow:n,arrowSize:o,arrowOffset:r}=e,i=e.calc(o).div(Math.SQRT2).equal();return{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:o,height:o,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${n}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(o).sub(i).div(2).equal(),insetInlineStart:e.calc(o).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineStartWidth:2,borderBlockStartWidth:2,borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:r,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:r,"&::after":{transform:"rotate(135deg)"}}}}},ve=e=>{const{componentCls:t,dotOffset:n,dotWidth:o,dotHeight:r,dotGap:i,colorBgContainer:s,motionDurationSlow:a}=e,l=new ue.Mo(`${e.prefixCls}-dot-animation`,{from:{width:0},to:{width:e.dotActiveWidth}});return{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:o,height:r,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${a}`,borderRadius:r,overflow:"hidden","&::after":{display:"block",position:"absolute",top:0,insetInlineStart:0,width:0,height:r,content:'""',background:"transparent",borderRadius:r,opacity:1,outline:"none",cursor:"pointer",overflow:"hidden"},button:{position:"relative",display:"block",width:"100%",height:r,padding:0,color:"transparent",fontSize:0,background:s,border:0,borderRadius:r,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${a}`,overflow:"hidden","&:hover":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,position:"relative","&:hover":{opacity:1},"&::after":{background:s,animationName:l,animationDuration:`var(${he})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},ye=e=>{const{componentCls:t,dotOffset:n,arrowOffset:o,marginXXS:r}=e,i=new ue.Mo(`${e.prefixCls}-dot-vertical-animation`,{from:{height:0},to:{height:e.dotActiveWidth}}),s={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:o,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:o,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-start":{insetInlineEnd:"auto",insetInlineStart:n},"&-end":{insetInlineEnd:n,insetInlineStart:"auto"},li:{...s,margin:`${(0,ue.zA)(r)} 0`,verticalAlign:"baseline",button:s,"&::after":{...s,height:0},"&.slick-active":{...s,height:e.dotActiveWidth,button:{...s,height:e.dotActiveWidth},"&::after":{...s,animationName:i,animationDuration:`var(${he})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},_e=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl"}}]},be=(0,me.OF)("Carousel",e=>[fe(e),ge(e),ve(e),ye(e),_e(e)],e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),we="slick-dots",Se=({currentSlide:e,slideCount:t,...n})=>o.createElement("button",{type:"button",...n}),Ae=o.forwardRef((e,t)=>{const{dots:n=!0,arrows:r=!1,prevArrow:i,nextArrow:s,draggable:a=!1,waitForAnimate:l=!1,dotPosition:c,dotPlacement:d,vertical:u,rootClassName:p,className:m,style:h,id:f,autoplay:g=!1,autoplaySpeed:v=3e3,rtl:_,...b}=e,w=o.useMemo(()=>{const e=d??c??"bottom";switch(e){case"left":return"start";case"right":return"end";default:return e}},[c,d]),S=u??("start"===w||"end"===w),{getPrefixCls:A,direction:k,className:C,style:x}=(0,le.TP)("carousel"),[E]=(0,ce.A)("Carousel",de.A.Carousel),M=o.useRef(null),N=o.useRef(null),R=(e,t=!1)=>{M.current.slickGoTo(e,t)};o.useImperativeHandle(t,()=>({goTo:R,autoPlay:M.current.innerSlider.autoPlay,innerSlider:M.current.innerSlider,prev:M.current.slickPrev,next:M.current.slickNext,nativeElement:N.current}),[M.current]);const{children:L,initialSlide:$=0}=e,I=(0,se.$r)(L).length,T=(_??"rtl"===k)&&!S;o.useEffect(()=>{if(I>0){R(T?I-$-1:$,!1)}},[$,T]);const z={vertical:S,className:(0,y.$)(m,C),style:{...x,...h},autoplay:!!g,...b};"fade"===z.effect&&(z.fade=!0);const j=A("carousel",z.prefixCls),O=!!n,P=(0,y.$)(we,`${we}-${w}`,"boolean"!=typeof n&&n?.className),[D,H]=be(j),W=(0,y.$)(j,{[`${j}-rtl`]:T,[`${j}-vertical`]:z.vertical},D,H,p),F=g&&!!(0,ae.Qd)(g)&&g.dotDuration;return o.createElement("div",{ref:N,className:W,id:f,style:F?{[he]:`${v}ms`}:{}},o.createElement(ie,{ref:M,...z,dots:O,dotsClass:P,arrows:r,prevArrow:i??o.createElement(Se,{"aria-label":T?E.nextSlide:E.prevSlide}),nextArrow:s??o.createElement(Se,{"aria-label":T?E.prevSlide:E.nextSlide}),draggable:a,verticalSwiping:S,autoplaySpeed:v,waitForAnimate:l,rtl:T}))});const ke=Ae;var Ce=n("./src/utils/antd.tsx"),xe=n("./src/utils/dash3.ts");const Ee=e=>{const{children:t,loading_state:n,setProps:i,slickGoTo:s}=e,a=(0,xe.z5)(),l=(0,o.useRef)(null);(0,o.useEffect)(()=>{"number"==typeof s&&l.current?.goTo(s,!0)},[s]);const c=(0,Ce.I4)(e);delete c.current,c.nextArrow=(0,Ce.LM)(c.nextArrow,[...a,"props","nextArrow"]),c.prevArrow=(0,Ce.LM)(c.prevArrow,[...a,"props","prevArrow"]);const d=r().Children.toArray((0,Ce.lq)(t)).map((e,t)=>r().createElement("div",{key:t,"data-dac-carousel-slide":!0},e));return r().createElement(ke,{ref:l,...c,beforeChange:e=>i?.({previous:e}),afterChange:e=>i?.({current:e}),"data-dash-is-loading":(0,xe.A_)(n)||void 0},d)},Me=e=>r().createElement(Ee,{...e})},"./src/components/fragments/async/dataDisplay/Image.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"),s=n("./src/utils/antd.tsx"),a=n("./src/utils/dash3.ts");const l=e=>{const{loading_state:t,n_error:n,n_load:l,open:c,placeholder:d,preview:u,setProps:p}=e,m=(0,s.P5)(e);delete m.open,delete m.n_error,delete m.n_load;const h=(0,o.useMemo)(()=>{if(!1===u)return!1;return{..."object"==typeof u&&null!==u?(0,s.I4)({preview:u}).preview:{},...void 0===c?{}:{open:c},onOpenChange:e=>p?.({open:e})}},[c,u,p]);return r().createElement(i.A,{...m,preview:h,placeholder:(0,s.lq)(d),onError:()=>p?.({n_error:(n||0)+1}),onLoad:()=>p?.({n_load:(l||0)+1}),"data-dash-is-loading":(0,a.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/ImagePreviewGroup.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"),s=n("./src/utils/antd.tsx"),a=n("./src/utils/dash3.ts");const l=e=>{const{children:t,current:n,loading_state:o,open:l,preview:c,setProps:d}=e,u=(0,s.P5)(e);delete u.current,delete u.open;const p="object"==typeof c&&null!==c?(0,s.I4)({preview:c}).preview:{},m=!1!==c&&{...p,...void 0===n?{}:{current:n},...void 0===l?{}:{open:l},onChange:e=>d?.({current:e}),onOpenChange:e=>d?.({open:e})};return r().createElement(i.A.PreviewGroup,{...u,preview:m,"data-dash-is-loading":(0,a.A_)(o)||void 0},(0,s.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/QRCode.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>U});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js");function s(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let o=t-1;o>=0;o--)n.push(e>>>o&1)}function a(e,t){return!!(e>>>t&1)}function l(e){if(!e)throw new Error("Assertion error")}class c{static#e=(()=>{(0,i.A)(this,"NUMERIC",new c(1,[10,12,14])),(0,i.A)(this,"ALPHANUMERIC",new c(2,[9,11,13])),(0,i.A)(this,"BYTE",new c(4,[8,16,16])),(0,i.A)(this,"KANJI",new c(8,[8,10,12])),(0,i.A)(this,"ECI",new c(7,[0,0,0]))})();modeBits;numBitsCharCount;constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}class d{static#e=(()=>{(0,i.A)(this,"LOW",new d(0,1)),(0,i.A)(this,"MEDIUM",new d(1,0)),(0,i.A)(this,"QUARTILE",new d(2,3)),(0,i.A)(this,"HIGH",new d(3,2))})();ordinal;formatBits;constructor(e,t){this.ordinal=e,this.formatBits=t}}class u{static makeBytes(e){const t=[];for(const n of e)s(n,8,t);return new u(c.BYTE,e.length,t)}static makeNumeric(e){if(!u.isNumeric(e))throw new RangeError("String contains non-numeric characters");const t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);s(parseInt(e.substring(n,n+o),10),3*o+1,t),n+=o}return new u(c.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!u.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");const t=[];let n;for(n=0;n+2<=e.length;n+=2){let o=45*u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n));o+=u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n+1)),s(o,11,t)}return n<e.length&&s(u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n)),6,t),new u(c.ALPHANUMERIC,e.length,t)}static makeSegments(e){return""==e?[]:u.isNumeric(e)?[u.makeNumeric(e)]:u.isAlphanumeric(e)?[u.makeAlphanumeric(e)]:[u.makeBytes(u.toUtf8ByteArray(e))]}static makeEci(e){const t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)s(e,8,t);else if(e<16384)s(2,2,t),s(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");s(6,3,t),s(e,21,t)}return new u(c.ECI,0,t)}static isNumeric(e){return u.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return u.ALPHANUMERIC_REGEX.test(e)}mode;numChars;bitData;constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const o of e){const e=o.mode.numCharCountBits(t);if(o.numChars>=1<<e)return 1/0;n+=4+e+o.bitData.length}return n}static toUtf8ByteArray(e){const t=encodeURI(e),n=[];for(let e=0;e<t.length;e++)"%"!=t.charAt(e)?n.push(t.charCodeAt(e)):(n.push(parseInt(t.substring(e+1,e+3),16)),e+=2);return n}static NUMERIC_REGEX=/^[0-9]*$/;static ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/;static ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"}class p{static encodeText(e,t){const n=u.makeSegments(e);return p.encodeSegments(n,t)}static encodeBinary(e,t){const n=u.makeBytes(e);return p.encodeSegments([n],t)}static encodeSegments(e,t,n=1,o=40,r=-1,i=!0){if(!(p.MIN_VERSION<=n&&n<=o&&o<=p.MAX_VERSION)||r<-1||r>7)throw new RangeError("Invalid value");let a,c;for(a=n;;a++){const n=8*p.getNumDataCodewords(a,t),r=u.getTotalBits(e,a);if(r<=n){c=r;break}if(a>=o)throw new RangeError("Data too long")}let m=t;for(const e of[d.MEDIUM,d.QUARTILE,d.HIGH])i&&c<=8*p.getNumDataCodewords(a,e)&&(m=e);const h=[];for(const t of e){s(t.mode.modeBits,4,h),s(t.numChars,t.mode.numCharCountBits(a),h);for(const e of t.getData())h.push(e)}l(h.length==c);const f=8*p.getNumDataCodewords(a,m);l(h.length<=f),s(0,Math.min(4,f-h.length),h),s(0,(8-h.length%8)%8,h),l(h.length%8==0);for(let e=236;h.length<f;e^=253)s(e,8,h);const g=[];for(;8*g.length<h.length;)g.push(0);return h.forEach((e,t)=>{g[t>>>3]|=e<<7-(7&t)}),new p(a,m,g,r)}size;mask;modules=[];isFunction=[];version;errorCorrectionLevel;constructor(e,t,n,o){let r=o;if(this.version=e,this.errorCorrectionLevel=t,e<p.MIN_VERSION||e>p.MAX_VERSION)throw new RangeError("Version value out of range");if(r<-1||r>7)throw new RangeError("Mask value out of range");this.size=4*e+17;const i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==r){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}l(0<=r&&r<=7),this.mask=r,this.applyMask(r),this.drawFormatBits(r),this.isFunction=[]}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let o=0;o<t;o++)0==n&&0==o||0==n&&o==t-1||n==t-1&&0==o||this.drawAlignmentPattern(e[n],e[o]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const o=21522^(t<<10|n);l(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(o,e));this.setFunctionModule(8,7,a(o,6)),this.setFunctionModule(8,8,a(o,7)),this.setFunctionModule(7,8,a(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;l(t>>>18==0);for(let e=0;e<18;e++){const n=a(t,e),o=this.size-11+e%3,r=Math.floor(e/3);this.setFunctionModule(o,r,n),this.setFunctionModule(r,o,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let o=-4;o<=4;o++){const r=Math.max(Math.abs(o),Math.abs(n)),i=e+o,s=t+n;0<=i&&i<this.size&&0<=s&&s<this.size&&this.setFunctionModule(i,s,2!=r&&4!=r)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let o=-2;o<=2;o++)this.setFunctionModule(e+o,t+n,1!=Math.max(Math.abs(o),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const t=this.version,n=this.errorCorrectionLevel;if(e.length!=p.getNumDataCodewords(t,n))throw new RangeError("Invalid argument");const o=p.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t],r=p.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t],i=Math.floor(p.getNumRawDataModules(t)/8),s=o-i%o,a=Math.floor(i/o),c=[],d=p.reedSolomonComputeDivisor(r);for(let t=0,n=0;t<o;t++){const o=e.slice(n,n+a-r+(t<s?0:1));n+=o.length;const i=p.reedSolomonComputeRemainder(o,d);t<s&&o.push(0),c.push(o.concat(i))}const u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!=a-r||n>=s)&&u.push(t[e])});return l(u.length==i),u}drawCodewords(e){if(e.length!=Math.floor(p.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let t=0;for(let n=this.size-1;n>=1;n-=2){6==n&&(n=5);for(let o=0;o<this.size;o++)for(let r=0;r<2;r++){const i=n-r,s=!(n+1&2)?this.size-1-o:o;!this.isFunction[s][i]&&t<8*e.length&&(this.modules[s][i]=a(e[t>>>3],7-(7&t)),t++)}}l(t==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let o;switch(e){case 0:o=(n+t)%2==0;break;case 1:o=t%2==0;break;case 2:o=n%3==0;break;case 3:o=(n+t)%3==0;break;case 4:o=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:o=n*t%2+n*t%3==0;break;case 6:o=(n*t%2+n*t%3)%2==0;break;case 7:o=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&o&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,o=0;const r=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[t][i]==n?(o++,5==o?e+=p.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*p.PENALTY_N3),n=this.modules[t][i],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*p.PENALTY_N3}for(let t=0;t<this.size;t++){let n=!1,o=0;const r=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][t]==n?(o++,5==o?e+=p.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*p.PENALTY_N3),n=this.modules[i][t],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*p.PENALTY_N3}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){const o=this.modules[t][n];o==this.modules[t][n+1]&&o==this.modules[t+1][n]&&o==this.modules[t+1][n+1]&&(e+=p.PENALTY_N2)}let t=0;for(const e of this.modules)t=e.reduce((e,t)=>e+(t?1:0),t);const n=this.size*this.size,o=Math.ceil(Math.abs(20*t-10*n)/n)-1;return l(0<=o&&o<=9),e+=o*p.PENALTY_N4,l(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),n=[6];for(let o=this.size-7;n.length<e;o-=t)n.splice(1,0,o);return n}}static getNumRawDataModules(e){if(e<p.MIN_VERSION||e>p.MAX_VERSION)throw new RangeError("Version number out of range");let t=(16*e+128)*e+64;if(e>=2){const n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return l(208<=t&&t<=29648),t}static getNumDataCodewords(e,t){return Math.floor(p.getNumRawDataModules(e)/8)-p.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*p.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");const t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<t.length;e++)t[e]=p.reedSolomonMultiply(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=p.reedSolomonMultiply(n,2)}return t}static reedSolomonComputeRemainder(e,t){const n=t.map(()=>0);for(const o of e){const e=o^n.shift();n.push(0),t.forEach((t,o)=>{n[o]^=p.reedSolomonMultiply(t,e)})}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let o=7;o>=0;o--)n=n<<1^285*(n>>>7),n^=(t>>>o&1)*e;return l(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];l(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){let o=t;return e&&(this.finderPenaltyAddHistory(o,n),o=0),o+=this.size,this.finderPenaltyAddHistory(o,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){let n=e;0==t[0]&&(n+=this.size),t.pop(),t.unshift(n)}static MIN_VERSION=1;static MAX_VERSION=40;static PENALTY_N1=3;static PENALTY_N2=3;static PENALTY_N3=40;static PENALTY_N4=10;static ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]];static NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]}const m={L:d.LOW,M:d.MEDIUM,Q:d.QUARTILE,H:d.HIGH},h="#FFFFFF",f="#000000",g=(e,t=0)=>{const n=[];return e.forEach((e,o)=>{let r=null;e.forEach((i,s)=>{if(!i&&null!==r)return n.push(`M${r+t} ${o+t}h${s-r}v1H${r+t}z`),void(r=null);if(s!==e.length-1)i&&null===r&&(r=s);else{if(!i)return;n.push(null===r?`M${s+t},${o+t} h1v1H${s+t}z`:`M${r+t},${o+t} h${s+1-r}v1H${r+t}z`)}})}),n.join("")},v=(e,t)=>e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>(n<t.x||n>=t.x+t.w)&&e)),y=(()=>{try{(new Path2D).addPath(new Path2D)}catch{return!1}return!0})();var _=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");const b=e=>{const{value:t,level:n,minVersion:o,includeMargin:i,marginSize:s,imageSettings:a,size:l,boostLevel:c}=e,d=r().useMemo(()=>{const e=(Array.isArray(t)?t:[t]).reduce((e,t)=>(e.push(...u.makeSegments(t)),e),[]);return p.encodeSegments(e,m[n],o,void 0,void 0,c)},[t,n,o,c]);return r().useMemo(()=>{const e=d.getModules(),t=((e,t)=>null!=t?Math.max(Math.floor(t),0):e?4:0)(i,s),n=e.length+2*t,o=((e,t,n,o)=>{if(null==o)return null;const r=e.length+2*n,i=Math.floor(.1*t),s=r/t,a=(o.width||i)*s,l=(o.height||i)*s,c=null==o.x?e.length/2-a/2:o.x*s,d=null==o.y?e.length/2-l/2:o.y*s,u=o.opacity??1;let p=null;if(o.excavate){const e=Math.floor(c),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(a+c-e),h:Math.ceil(l+d-t)}}return{x:c,y:d,h:l,w:a,excavation:p,opacity:u,crossOrigin:o.crossOrigin}})(e,l,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:o,qrcode:d}},[d,l,a,i,s])},w=r().forwardRef((e,t)=>{const{value:n,size:o=128,level:i="L",bgColor:s=h,fgColor:a=f,includeMargin:l=!1,minVersion:c=1,marginSize:d,style:u,imageSettings:p,boostLevel:m,...w}=e,S=p?.src,A=r().useRef(null),k=r().useRef(null),C=r().useCallback(e=>{A.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[,x]=r().useState(!1),{margin:E,cells:M,numCells:N,calculatedImageSettings:R}=b({value:n,level:i,minVersion:c,includeMargin:l,marginSize:d,imageSettings:p,size:o,boostLevel:m});r().useEffect(()=>{if(A.current){const e=A.current,t=e.getContext("2d");if(!t)return;let n=M;const r=k.current,i=null!=R&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;i&&null!=R.excavation&&(n=v(M,R.excavation));const l=window.devicePixelRatio||1;e.height=e.width=o*l;const c=o/N*l;t.scale(c,c),t.fillStyle=s,t.fillRect(0,0,N,N),t.fillStyle=a,y?t.fill(new Path2D(g(n,E))):M.forEach((e,n)=>{e.forEach((e,o)=>{e&&t.fillRect(o+E,n+E,1,1)})}),R&&(t.globalAlpha=R.opacity),i&&t.drawImage(r,R.x+E,R.y+E,R.w,R.h)}}),r().useEffect(()=>{x(!1)},[S]);const L={height:o,width:o,...u};let $=null;return null!=S&&($=r().createElement("img",{alt:"QR-Code",src:S,key:S,style:{display:"none"},onLoad:()=>{x(!0)},ref:k,crossOrigin:R?.crossOrigin})),r().createElement(r().Fragment,null,r().createElement("canvas",(0,_.A)({style:L,height:o,width:o,ref:C,role:"img"},w)),$)});const S=r().forwardRef((e,t)=>{const{value:n,size:o=128,level:i="L",bgColor:s=h,fgColor:a=f,includeMargin:l=!1,minVersion:c=1,title:d,marginSize:u,imageSettings:p,boostLevel:m,...y}=e,{margin:w,cells:S,numCells:A,calculatedImageSettings:k}=b({value:n,level:i,minVersion:c,includeMargin:l,marginSize:u,imageSettings:p,size:o,boostLevel:m});let C=S,x=null;null!=p&&null!=k&&(null!=k.excavation&&(C=v(S,k.excavation)),x=r().createElement("image",{href:p.src,height:k.h,width:k.w,x:k.x+w,y:k.y+w,preserveAspectRatio:"none",opacity:k.opacity,crossOrigin:k.crossOrigin}));const E=g(C,w);return r().createElement("svg",(0,_.A)({height:o,width:o,viewBox:`0 0 ${A} ${A}`,ref:t,role:"img"},y),!!d&&r().createElement("title",null,d),r().createElement("path",{fill:s,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),r().createElement("path",{fill:a,d:E,shapeRendering:"crispEdges"}),x)});var A=n("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),k=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),C=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),x=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),E=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),M=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),N=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),R=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"),L=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/Button.js"),$=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js");const I=r().createElement($.A,null);function T({prefixCls:e,locale:t,onRefresh:n,statusRender:o,status:i}){const s={expired:r().createElement(r().Fragment,null,r().createElement("p",{className:`${e}-expired`},t?.expired),n&&r().createElement(L.A,{type:"link",icon:r().createElement(R.A,null),onClick:n},t?.refresh)),loading:I,scanned:r().createElement("p",{className:`${e}-scanned`},t?.scanned)};return(o??(e=>s[e.status]))({status:i,locale:t,onRefresh:n})}var z=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),j=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),O=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),P=n("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),D=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const H=(0,P.OF)("QRCode",e=>(e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r}=e;return{[t]:{...(0,O.dF)(e),display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${(0,z.zA)(n)} ${o} ${r}`,position:"relative",overflow:"hidden",[`& > ${t}-cover`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeCoverBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}},[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}})((0,D.oX)(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new j.Y(e.colorBgContainer).setA(.96).toRgbString()})),W=r().forwardRef((e,t)=>{const[,n]=(0,N.Ay)(),{value:o,type:i="canvas",icon:s="",size:a=160,iconSize:l,color:c=n.colorText,errorLevel:d="M",status:u="active",bordered:p=!0,onRefresh:m,style:h,className:f,rootClassName:g,prefixCls:v,bgColor:y="transparent",marginSize:_,statusRender:b,classNames:R,styles:L,boostLevel:$,...I}=e,{getPrefixCls:z,className:j,style:O,classNames:P,styles:D}=(0,E.TP)("qrcode"),W={...e,bgColor:y,type:i,size:a,status:u,bordered:p,errorLevel:d},F=(0,C.XT)(O),X=(0,C.XT)(h),[Y,B]=(0,C.AV)([P,R],[D,F,L,X],{props:W}),U=z("qrcode",v),[V,q]=H(U),G={src:s,x:void 0,y:void 0,height:(0,x.Et)(l)?l:l?.height??40,width:(0,x.Et)(l)?l:l?.width??40,excavate:!0,crossOrigin:"anonymous"},Z=(0,A.KE)(I,!0),Q=(0,A.cJ)(I,Object.keys(Z)),K={value:o,size:a,level:d,bgColor:y,fgColor:c,style:{width:h?.width,height:h?.height},imageSettings:s?G:void 0,marginSize:_,boostLevel:$,...Z},[J]=(0,M.A)("QRCode");const ee=r().useRef(null);if(r().useImperativeHandle(t,()=>({nativeElement:ee.current})),!o)return null;const te=(0,k.$)(U,f,g,V,q,j,Y.root,{[`${U}-borderless`]:!p}),ne={backgroundColor:y,...B.root,width:h?.width??a,height:h?.height??a};return r().createElement("div",{ref:ee,...Q,className:te,style:ne},"active"!==u&&r().createElement("div",{className:(0,k.$)(`${U}-cover`,Y.cover),style:B.cover},r().createElement(T,{prefixCls:U,locale:J,status:u,onRefresh:m,statusRender:b})),r().createElement("canvas"===i?w:S,{...K}))});const F=W;var X=n("./src/utils/dash3.ts"),Y=n("./src/utils/antd.tsx");const B=e=>{const{loading_state:t,n_refresh:n,setProps:o}=e,i=(0,Y.I4)(e);delete i.n_refresh;const s=()=>o?.({n_refresh:(n||0)+1}),a=e=>e?.closest?.(".dac-qr-code-status-refresh");return r().createElement(F,{...i,onClick:e=>{a(e.target)&&s()},onKeyDown:e=>{!a(e.target)||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s())},onRefresh:s,"data-dash-is-loading":(0,X.A_)(t)||void 0})},U=e=>r().createElement(B,{...e})},"./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)-1===t.indexOf(n=i[o])&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{A:()=>o})},"./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"(e,t,n){"use strict";function o(e,t,n){var o=(n||{}).atBegin;return function(e,t,n){var o,r=n||{},i=r.noTrailing,s=void 0!==i&&i,a=r.noLeading,l=void 0!==a&&a,c=r.debounceMode,d=void 0===c?void 0:c,u=!1,p=0;function m(){o&&clearTimeout(o)}function h(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=this,c=Date.now()-p;function h(){p=Date.now(),t.apply(a,r)}function f(){o=void 0}u||(l||!d||o||h(),m(),void 0===d&&c>e?l?(p=Date.now(),s||(o=setTimeout(d?f:h,e))):h():!0!==s&&(o=setTimeout(d?f:h,void 0===d?e-c:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;m(),u=!n},h}(e,t,{debounceMode:!1!==(void 0!==o&&o)})}n.d(t,{s:()=>o})}}]);
1
+ (self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-media"],{"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};var i=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}const a=o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"(e,t,n){"use strict";n.d(t,{A:()=>fe});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),s=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),a=n("./node_modules/.pnpm/@rc-component+motion@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),l=n("./node_modules/.pnpm/@rc-component+portal@2.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/portal/es/index.js");const c=o.createContext(null);function d(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}const u={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function p(e,t,n,o){const r=t+n,i=(n-o)/2;if(n>o){if(t>0)return{[e]:i};if(t<0&&r<o)return{[e]:-i}}else if(t<0||r>o)return{[e]:t<0?i:-i};return{}}function m(e,t,n,o){const{width:r,height:i}=d();let s=null;return e<=r&&t<=i?s={x:0,y:0}:(e>r||t>i)&&(s={...p("x",n,e,r),...p("y",o,t,i)}),s}function h({src:e,isCustomPlaceholder:t,fallback:n}){const[r,i]=(0,o.useState)(t?"loading":"normal"),s=(0,o.useRef)(!1),a="error"===r;(0,o.useEffect)(()=>{let t=!0;return function(e){return new Promise(t=>{if(!e)return void t(!1);const n=document.createElement("img");n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}(e).then(e=>{!e&&t&&i("error")}),()=>{t=!1}},[e]),(0,o.useEffect)(()=>{t&&!s.current?i("loading"):a&&i("normal")},[e]);const l=()=>{i("normal")};return[e=>{s.current=!1,"loading"===r&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,l())},a&&n?{src:n}:{onLoad:l,src:e},r]}function f(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function g(e,t,n,r,i,s,a){const{rotate:l,scale:c,x:d,y:u}=i,[p,h]=(0,o.useState)(!1),g=(0,o.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=e=>{g.current={...g.current,...e}};return(0,o.useEffect)(()=>{const e=e=>{e.preventDefault()};return n&&t&&window.addEventListener("touchmove",e,{passive:!1}),()=>{window.removeEventListener("touchmove",e)}},[n,t]),{isTouching:p,onTouchStart:e=>{if(!t)return;e.stopPropagation(),h(!0);const{touches:n=[]}=e;v(n.length>1?{point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}:{point1:{x:n[0].clientX-d,y:n[0].clientY-u},eventType:"move"})},onTouchMove:e=>{const{touches:t=[]}=e,{point1:n,point2:o,eventType:r}=g.current;if(t.length>1&&"touchZoom"===r){const e={x:t[0].clientX,y:t[0].clientY},r={x:t[1].clientX,y:t[1].clientY},[i,s]=function(e,t,n,o){const r=f(e,n),i=f(t,o);if(0===r&&0===i)return[e.x,e.y];const s=r/(r+i);return[e.x+s*(t.x-e.x),e.y+s*(t.y-e.y)]}(n,o,e,r),l=f(e,r)/f(n,o);a(l,"touchZoom",i,s,!0),v({point1:e,point2:r,eventType:"touchZoom"})}else"move"===r&&(s({x:t[0].clientX-n.x,y:t[0].clientY-n.y},"move"),v({eventType:"move"}))},onTouchEnd:()=>{if(!n)return;if(p&&h(!1),v({eventType:"none"}),r>c)return s({x:0,y:0,scale:r},"touchZoom");const t=e.current.offsetWidth*c,o=e.current.offsetHeight*c,{left:i,top:a}=e.current.getBoundingClientRect(),d=l%180!=0,u=m(d?o:t,d?t:o,i,a);u&&s({...u},"dragRebound")}}}function v(e){const{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return o.createElement("button",{className:(0,s.$)(`${t}-close`,i),style:a,onClick:r},n)}function y(e){const{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:l,styles:c,icons:d,image:u,transform:p,countRender:m,actionsRender:h,scale:f,minScale:g,maxScale:v,onActive:y,onFlipY:_,onFlipX:b,onRotateLeft:w,onRotateRight:S,onZoomOut:A,onZoomIn:k,onClose:C,onReset:x}=e,{left:E,right:M,prev:N,next:R,flipY:L,flipX:$,rotateLeft:I,rotateRight:T,zoomOut:z,zoomIn:j}=d,O=n&&o.createElement("div",{className:`${t}-progress`},m?m(r+1,i):o.createElement("bdi",null,`${r+1} / ${i}`)),P=`${t}-actions-action`,D=({type:e,disabled:t,onClick:n,icon:r})=>o.createElement("button",{type:"button",key:e,className:(0,s.$)(P,`${P}-${e}`,{[`${P}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),H=a?D({icon:N??E,onClick:()=>y(-1),type:"prev",disabled:0===r}):void 0,W=a?D({icon:R??M,onClick:()=>y(1),type:"next",disabled:r===i-1}):void 0,F=D({icon:L,onClick:_,type:"flipY"}),Y=D({icon:$,onClick:b,type:"flipX"}),X=D({icon:I,onClick:w,type:"rotateLeft"}),B=D({icon:T,onClick:S,type:"rotateRight"}),U=D({icon:z,onClick:A,type:"zoomOut",disabled:f<=g}),V=D({icon:j,onClick:k,type:"zoomIn",disabled:f===v}),q=o.createElement("div",{className:(0,s.$)(`${t}-actions`,l.actions),style:c.actions},F,Y,X,B,U,V);return o.createElement("div",{className:(0,s.$)(`${t}-footer`,l.footer),style:c.footer},O,h?h(q,{icons:{prevIcon:H,nextIcon:W,flipYIcon:F,flipXIcon:Y,rotateLeftIcon:X,rotateRightIcon:B,zoomOutIcon:U,zoomInIcon:V},actions:{onActive:y,onFlipY:_,onFlipX:b,onRotateLeft:w,onRotateRight:S,onZoomOut:A,onZoomIn:k,onReset:x,onClose:C},transform:p,current:r,total:i,image:u}):q)}function _(e){const{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:l,prev:c,next:d}}=e,u=`${t}-switch`,p=0===r,m=r===i-1;return o.createElement(o.Fragment,null,o.createElement("button",{className:(0,s.$)(u,`${u}-prev`,{[`${u}-disabled`]:p}),onClick:()=>n(-1),disabled:p},c??a),o.createElement("button",{type:"button",className:(0,s.$)(u,`${u}-next`,{[`${u}-disabled`]:m}),onClick:()=>n(1),disabled:m},d??l))}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b.apply(this,arguments)}const w=({fallback:e,src:t,imgRef:n,...o})=>{const[i,s]=h({src:t,fallback:e});return r().createElement("img",b({ref:e=>{n.current=e,i(e)}},o,s))},S=e=>{const{prefixCls:t,rootClassName:n,src:p,alt:h,imageInfo:f,fallback:S,movable:A=!0,onClose:k,open:C,afterOpenChange:x,maskClosable:E=!0,icons:M={},closeIcon:N,getContainer:R,current:L=0,count:$=1,countRender:I,scaleStep:T=.5,minScale:z=1,maxScale:j=50,motionName:O="fade",imageRender:P,imgCommonProps:D,actionsRender:H,onTransform:W,onChange:F,classNames:Y={},styles:X={},mousePosition:B,zIndex:U,wheel:V=!0,focusTrap:q=!0}=e,G=(0,o.useRef)(null),Z=(0,o.useRef)(null),Q=(0,o.useRef)(null),K=(0,o.useContext)(c),J=K&&$>1,ee=K&&$>=1,[te,ne]=(0,o.useState)(!0),{transform:oe,resetTransform:re,updateTransform:ie,dispatchZoomChange:se}=function(e,t,n,r){const s=(0,o.useRef)(null),a=(0,o.useRef)([]),[l,c]=(0,o.useState)(u),p=(e,t)=>{null===s.current&&(a.current=[],s.current=(0,i.er)(()=>{c(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),s.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...l,...e})};return{transform:l,resetTransform:e=>{c(u),(0,i.n4)(u,l)||r?.({transform:u,action:e})},updateTransform:p,dispatchZoomChange:(o,r,i,s,a)=>{const{width:c,height:u,offsetWidth:m,offsetHeight:h,offsetLeft:f,offsetTop:g}=e.current;let v=o,y=l.scale*o;y>n?(y=n,v=n/l.scale):y<t&&(y=a?y:t,v=y/l.scale);const _=i??innerWidth/2,b=s??innerHeight/2,w=v-1;let S=l.x-(w*(_-l.x-f)-w*c*.5),A=l.y-(w*(b-l.y-g)-w*u*.5);if(o<1&&1===y){const e=m*y,t=h*y,{width:n,height:o}=d();e<=n&&t<=o&&(S=0,A=0)}p({x:S,y:A,scale:y},r)}}}(G,z,j,W),{isMoving:ae,onMouseDown:le,onWheel:ce}=function(e,t,n,r,s,a,l,c=!0){const{rotate:d,scale:u,x:p,y:h}=s,[f,g]=(0,o.useState)(!1),v=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),y=e=>{n&&f&&a({x:e.pageX-v.current.diffX,y:e.pageY-v.current.diffY},"move")},_=()=>{if(n&&f){g(!1);const{transformX:t,transformY:n}=v.current;if(p===t||h===n)return;const o=e.current.offsetWidth*u,r=e.current.offsetHeight*u,{left:i,top:s}=e.current.getBoundingClientRect(),l=d%180!=0,c=m(l?r:o,l?o:r,i,s);c&&a({...c},"dragRebound")}};return(0,o.useEffect)(()=>{if(t){window.addEventListener("mouseup",_,!1),window.addEventListener("mousemove",y,!1);try{window.top!==window.self&&(window.top.addEventListener("mouseup",_,!1),window.top.addEventListener("mousemove",y,!1))}catch(e){(0,i.$e)(!1,`[rc-image] ${e}`)}}return()=>{window.removeEventListener("mouseup",_),window.removeEventListener("mousemove",y);try{window.top?.removeEventListener("mouseup",_),window.top?.removeEventListener("mousemove",y)}catch(e){}}},[n,f,p,h,d,t]),{isMoving:f,onMouseDown:e=>{t&&0===e.button&&(e.preventDefault(),e.stopPropagation(),v.current={diffX:e.pageX-p,diffY:e.pageY-h,transformX:p,transformY:h},g(!0))},onMouseMove:y,onMouseUp:_,onWheel:e=>{if(!n||!c||0==e.deltaY)return;const t=Math.abs(e.deltaY/100);let o=1+Math.min(t,1)*r;e.deltaY>0&&(o=1/o),l(o,"wheel",e.clientX,e.clientY)}}}(G,A,C,T,oe,ie,se,V),{isTouching:de,onTouchStart:ue,onTouchMove:pe,onTouchEnd:me}=g(G,A,C,z,oe,ie,se),{rotate:he,scale:fe}=oe;(0,o.useEffect)(()=>{te||ne(!0)},[te]),(0,o.useEffect)(()=>{C||re("close")},[C]);const ge=r().createElement(w,b({},D,{width:e.width,height:e.height,imgRef:G,className:`${t}-img`,alt:h,style:{transform:`translate3d(${oe.x}px, ${oe.y}px, 0) scale3d(${oe.flipX?"-":""}${fe}, ${oe.flipY?"-":""}${fe}, 1) rotate(${he}deg)`,transitionDuration:(!te||de)&&"0s"},fallback:S,src:p,onWheel:ce,onMouseDown:le,onDoubleClick:e=>{C&&(1!==fe?ie({x:0,y:0,scale:1},"doubleClick"):se(1+T,"doubleClick",e.clientX,e.clientY))},onTouchStart:ue,onTouchMove:pe,onTouchEnd:me,onTouchCancel:me})),ve={url:p,alt:h,...f},ye=()=>{se(1+T,"zoomIn")},_e=()=>{se(1/(1+T),"zoomOut")},be=()=>{ie({rotate:he+90},"rotateRight")},we=()=>{ie({rotate:he-90},"rotateLeft")},Se=()=>{ie({flipX:!oe.flipX},"flipX")},Ae=()=>{ie({flipY:!oe.flipY},"flipY")},ke=()=>{re("reset")},Ce=e=>{const t=L+e;t>=0&&t<=$-1&&(ne(!1),re(e<0?"prev":"next"),F?.(t,L))},xe=(0,i._q)(e=>{if(C){const{keyCode:t}=e;J&&(t===i.DD.LEFT?Ce(-1):t===i.DD.RIGHT&&Ce(1))}});(0,o.useEffect)(()=>{if(C)return window.addEventListener("keydown",xe),()=>{window.removeEventListener("keydown",xe)}},[C]);const[Ee,Me]=(0,o.useState)(!1);r().useEffect(()=>{C&&Me(!0)},[C]);const[Ne,Re]=(0,o.useState)(!1);(0,i.Nf)(()=>{C&&Re(!0)},[C]);(0,i.Nf)(()=>{C&&(Q.current=document.activeElement)},[C]),(0,i.T$)(q&&C&&Ne,()=>Z.current);const Le={...X.body};return B&&(Le.transformOrigin=`${B.x}px ${B.y}px`),r().createElement(l.A,{open:Ne&&C,autoDestroy:!1,getContainer:R,autoLock:Ee,onEsc:({top:e})=>{e&&k?.()}},r().createElement(a.Ay,{motionName:O,visible:Ne&&C,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:e=>{e||(Me(!1),Q.current?.focus?.(),Q.current=null),x?.(e)}},({className:e,style:o})=>{const i={...X.root,...o};return U&&(i.zIndex=U),r().createElement("div",{ref:Z,className:(0,s.$)(t,n,Y.root,e,{[`${t}-movable`]:A,[`${t}-moving`]:ae}),style:i,role:"dialog","aria-modal":"true","aria-label":h,tabIndex:-1},r().createElement("div",{className:(0,s.$)(`${t}-mask`,Y.mask),style:X.mask,onClick:E?k:void 0}),r().createElement("div",{className:(0,s.$)(`${t}-body`,Y.body),style:Le},P?P(ge,{transform:oe,image:ve,...K?{current:L}:{}}):ge),!1!==N&&null!==N&&r().createElement(v,{prefixCls:t,icon:!0===N?M.close:N||M.close,onClick:k,className:Y.close,style:X.close}),J&&r().createElement(_,{prefixCls:t,current:L,count:$,icons:M,onActive:Ce}),r().createElement(y,{prefixCls:t,showProgress:ee,current:L,count:$,showSwitch:J,classNames:Y,styles:X,image:ve,transform:oe,icons:M,countRender:I,actionsRender:H,scale:fe,minScale:z,maxScale:j,onActive:Ce,onFlipY:Ae,onFlipX:Se,onRotateLeft:we,onRotateRight:be,onZoomOut:_e,onZoomIn:ye,onClose:k,onReset:ke}))}))},A=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt","fetchPriority"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k.apply(this,arguments)}const C=({previewPrefixCls:e="rc-image-preview",classNames:t,styles:n,children:r,icons:s={},items:a,preview:l,fallback:d})=>{const{open:u,onOpenChange:p,current:m,onChange:h,...f}=l&&"object"==typeof l?l:{},[g,v,y]=function(e){const[t,n]=o.useState({}),r=o.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{const n={...t};return delete n[e],n})}),[]);return[o.useMemo(()=>e?e.map(e=>{if("string"==typeof e)return{data:{src:e}};const t={};return Object.keys(e).forEach(n=>{["src",...A].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{const{canPreview:o,data:r}=t[n];return o&&e.push({data:r,id:n}),e},[]),[e,t]),r,!!e]}(a),[_,b]=(0,i.PW)(0,m),[w,C]=(0,o.useState)(!1),{src:x,...E}=g[_]?.data||{},[M,N]=(0,i.PW)(!!u,u),R=(0,i._q)(e=>{N(e),e!==M&&p?.(e,{current:_})}),[L,$]=(0,o.useState)(null),I=o.useCallback((e,t,n,o)=>{const r=g.findIndex(y?e=>e.data.src===t:t=>t.id===e);b(r<0?0:r),R(!0),$({x:n,y:o}),C(!0)},[g,y]);o.useEffect(()=>{M?w||b(0):C(!1)},[M]);const T=o.useMemo(()=>({register:v,onPreview:I}),[v,I]);return o.createElement(c.Provider,{value:T},r,o.createElement(S,k({"aria-hidden":!M,open:M,prefixCls:e,onClose:()=>{R(!1),$(null)},mousePosition:L,imgCommonProps:E,src:x,fallback:d,icons:s,current:_,count:g.length,onChange:(e,t)=>{b(e),h?.(e,t)}},f,{classNames:t?.popup,styles:n?.popup})))};let x=0;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},E.apply(this,arguments)}const M=e=>{const{prefixCls:t="rc-image",previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:a,style:l,classNames:d={},styles:u={},width:p,height:m,src:f,alt:g,placeholder:v,fallback:y,preview:_=!0,onClick:b,onError:w,onKeyDown:k,...C}=e,M=(0,o.useContext)(c),N=!!_,{src:R,open:L,onOpenChange:$,cover:I,rootClassName:T,...z}=_&&"object"==typeof _?_:{},j="object"==typeof I&&I.placement&&I.placement||"center",O="object"==typeof I&&I.coverNode?I.coverNode:I,[P,D]=(0,i.PW)(!!L,L),[H,W]=(0,o.useState)(null),F=e=>{D(e),$?.(e)},Y=v&&!0!==v,X=R??f,[B,U,V]=h({src:f,isCustomPlaceholder:Y,fallback:y}),q=(0,o.useMemo)(()=>{const t={};return A.forEach(n=>{void 0!==e[n]&&(t[n]=e[n])}),t},A.map(t=>e[t])),G=(0,o.useMemo)(()=>({...q,src:X}),[X,q]),Z=function(e,t){const[n]=o.useState(()=>(x+=1,String(x))),r=o.useContext(c),i={data:t,canPreview:e};return o.useEffect(()=>{if(r)return r.register(n,i)},[]),o.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}(N,G);return o.createElement(o.Fragment,null,o.createElement("div",E({},C,{className:(0,s.$)(t,r,d.root,{[`${t}-error`]:"error"===V}),onClick:N?e=>{const t=e.target.getBoundingClientRect(),n=t.x+t.width/2,o=t.y+t.height/2;M?M.onPreview(Z,X,n,o):(W({x:n,y:o}),F(!0)),b?.(e)}:b,role:N?"button":C.role,tabIndex:N&&null==C.tabIndex?0:C.tabIndex,"aria-label":N?C["aria-label"]??g:C["aria-label"],onKeyDown:e=>{if(k?.(e),N&&("Enter"===e.key||" "===e.key)){e.preventDefault();const t=e.target.getBoundingClientRect(),n=t.x+t.width/2,o=t.y+t.height/2;M?M.onPreview(Z,X,n,o):(W({x:n,y:o}),F(!0))}},style:{width:p,height:m,...u.root}}),o.createElement("img",E({},q,{className:(0,s.$)(`${t}-img`,{[`${t}-img-placeholder`]:!0===v},d.image,a),style:{height:m,...u.image,...l},ref:B},U,{width:p,height:m,onError:w})),"loading"===V&&o.createElement("div",{"aria-hidden":"true",className:`${t}-placeholder`},v),!1!==I&&N&&o.createElement("div",{className:(0,s.$)(`${t}-cover`,d.cover,`${t}-cover-${j}`),style:{display:"none"===l?.display?"none":void 0,...u.cover}},O)),!M&&N&&o.createElement(S,E({"aria-hidden":!P,open:P,prefixCls:n,onClose:()=>{F(!1)},mousePosition:H,src:X,alt:g,imageInfo:{width:p,height:m},fallback:y,imgCommonProps:q},z,{classNames:d?.popup,styles:u?.popup,rootClassName:(0,s.$)(T,r)})))};M.PreviewGroup=C;const N=M;var R=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),L=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),$=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),I=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useZIndex.js"),T=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergedMask.js"),z=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js");const j=(e,t,n,o,i,a,l)=>{const[c]=(0,I.YK)("ImagePreview",e?.zIndex),[d,u,p]=(0,T.u)(e?.mask,t?.mask,`${n}-preview`);return r().useMemo(()=>{if(!e)return e;const{cover:r,getContainer:m,closeIcon:h,rootClassName:f}=e,{closeIcon:g}=t??{};return{motionName:(0,z.b)(`${n}-preview`,"fade"),...e,...l?{cover:r??l}:{},icons:a,getContainer:m??i,zIndex:c,closeIcon:h??g,rootClassName:(0,s.$)(o,f),mask:d,maskClosable:p,blurClassName:u.mask}},[e,t,n,o,i,l,a,c,d,p,u])};var O=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js");function P(e){return(0,O.Qd)(e)&&!(0,o.isValidElement)(e)}function D(e){const t=(0,o.useMemo)(()=>"boolean"==typeof e?e?{}:null:(0,O.Qd)(e)?e:{},[e]);return(0,o.useMemo)(()=>{if(!t)return[t,"",""];const{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:s,onVisibleChange:a,rootClassName:l,maskClassName:c,mask:d,forceRender:u,destroyOnClose:p,toolbarRender:m,...h}=t;let f;n?f=n:a&&(f=(e,t)=>{const{current:n}=t||{};void 0!==n?a(e,!e,n):a(e,!e)});const[g,v]=function(e){return(0,o.isValidElement)(e)?[e,void 0]:"boolean"==typeof e||(0,O.Qd)(e)?[void 0,e]:[void 0,void 0]}(d);return[{...h,open:e??s,onOpenChange:f,cover:r??g,mask:v,actionsRender:i??m},l,c]},[t])}var H=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),W=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),F=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js"),Y=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"),X=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"),B=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"),U=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"),V=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"),q=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),G=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),Z=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),Q=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),K=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js");const J=new q.Mo("antImageProgressActive",{"0%":{backgroundPosition:"200% 0"},"100%":{backgroundPosition:"-200% 0"}}),ee=(e,t,n,o="translate(0%, 0%)",r=.8)=>new q.Mo(e,{"0%":{transform:o,opacity:r},"50%":{transform:t,opacity:n},"100%":{transform:o,opacity:r}}),te=ee("antImageInkFlow1","translate(15%, -20%) scale(1.25)",.5),ne=ee("antImageInkFlow2","translate(-18%, 15%) scale(0.85)",.9,"translate(0%, 0%) scale(1.1)",.7),oe=ee("antImageInkFlow3","translate(8%, 10%) scale(1.15)",.8,"translate(0%, 0%) scale(0.85)",.65),re=e=>({position:e||"absolute",inset:0}),ie=e=>{const{componentCls:t,motionDurationSlow:n,colorTextLightSolid:o}=e;return{[t]:{[`${t}-cover`]:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new G.Y("#000").setA(.3).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:"0 0 auto 0",justifyContent:"center"},[`${t}-cover-bottom`]:{inset:"auto 0 0 0",justifyContent:"center"}}}},se=e=>{const{componentCls:t,motionDurationMid:n,motionEaseInOut:o,progressAnimationDuration:r}=e,i={position:"absolute",width:"150%",height:"150%",left:"-25%",top:"-25%",animationTimingFunction:o,animationIterationCount:"infinite",pointerEvents:"none",willChange:"transform, opacity"};return{[`${t}-progress-wrapper`]:{position:"relative",display:"inline-block",overflow:"hidden",borderRadius:"inherit",backgroundColor:e.colorBgBase,backdropFilter:"blur(8px)",[`${t}-progress-ink-1`]:{...i,background:"radial-gradient(ellipse 65% 55% at 25% 30%, rgba(100, 180, 255, 0.98) 0%, transparent 55%)",animationName:te,animationDuration:r,filter:"blur(40px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 60% 65% at 75% 45%, rgba(180, 140, 255, 0.95) 0%, transparent 50%)",animationName:ne,animationDuration:`calc(${r} + 2s)`,animationDelay:"-1s",filter:"blur(45px)"},"&::after":{content:'""',...i,background:"radial-gradient(ellipse 55% 50% at 50% 70%, rgba(100, 220, 220, 0.9) 0%, transparent 45%)",animationName:oe,animationDuration:`calc(${r} + 0.5s)`,animationDelay:"-2s",filter:"blur(38px)"}},[`${t}-progress-ink-2`]:{...i,background:"radial-gradient(ellipse 45% 40% at 60% 20%, rgba(255, 150, 200, 0.88) 0%, transparent 45%)",animationName:oe,animationDuration:`calc(${r} + 1.5s)`,animationDelay:"-3s",filter:"blur(42px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 50% 55% at 20% 75%, rgba(160, 190, 255, 0.88) 0%, transparent 50%)",animationName:te,animationDuration:`calc(${r} + 2.5s)`,animationDelay:"-2.5s",filter:"blur(35px)"}},[`${t}-progress-content`]:{position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",display:"flex",flexDirection:"column",alignItems:"center",width:"100%",paddingInline:e.paddingLG,textAlign:"center",fontSize:e.fontSize,color:e.colorTextSecondary,zIndex:1},[`${t}-progress-rail`]:{width:"100%",height:6,marginTop:e.marginSM,backgroundColor:"rgba(255, 255, 255, 0.5)",borderRadius:e.borderRadiusXS,overflow:"hidden",backdropFilter:"blur(4px)","&::before":{content:'""',display:"block",height:"100%",width:"var(--progress-percent, 0%)",background:"linear-gradient(90deg, rgba(120, 170, 255, 0.85) 0%, rgba(160, 150, 245, 0.85) 40%, rgba(130, 200, 220, 0.85) 60%, rgba(120, 170, 255, 0.85) 100%)",backgroundSize:"200% 100%",borderRadius:e.borderRadiusXS/2,transition:`width ${n} ease`,animationName:J,animationDuration:r,animationTimingFunction:"linear",animationIterationCount:"infinite"}},[`${t}-progress-indicator`]:{marginTop:e.marginXS}}}},ae=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r,colorBgMask:i,marginXL:s,marginSM:a,margin:l,colorTextLightSolid:c,paddingSM:d,paddingLG:u,previewOperationHoverColor:p,previewOperationColorDisabled:m,previewOperationSize:h,zIndexPopup:f}=e,g=new G.Y(i).setA(.1),v=g.clone().setA(.2),y={position:"absolute",color:c,backgroundColor:g.toRgbString(),borderRadius:"50%",padding:d,outline:0,border:0,cursor:"pointer",transition:`all ${o}`,display:"flex",fontSize:h,"&:hover":{backgroundColor:v.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":(0,K.jk)(e)};return{[`${r}-preview`]:{textAlign:"center",inset:0,position:"fixed",userSelect:"none",zIndex:f,[`${n}-mask`]:{inset:0,position:"absolute",background:i,backdropFilter:"blur(0px)",transition:`backdrop-filter ${o}`,[`&${r}-preview-mask-blur`]:{backdropFilter:"blur(4px)"},[`&${r}-preview-mask-hidden`]:{display:"none"}},[`${n}-body`]:{...re(),"pointer-events":"none",display:"flex",alignItems:"center",justifyContent:"center","> *":{pointerEvents:"auto"}},[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",transition:`transform ${o} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:"grab"},[`&-moving ${n}-img`]:{cursor:"grabbing"},[`${n}-close`]:{...y,top:a,insetInlineEnd:a},[`${n}-switch`]:{...y,top:"50%",transform:"translateY(-50%)","&-disabled":{"&, &:hover, &:active":{color:m,background:"transparent",cursor:"not-allowed"}},"&-prev":{insetInlineStart:a},"&-next":{insetInlineEnd:a}},[`${n}-footer`]:{position:"absolute",bottom:s,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)",gap:l},[`${n}-actions`]:{display:"flex",gap:d,padding:`0 ${(0,q.zA)(u)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:h,"&-action":{color:"inherit",background:"transparent",border:0,font:"inherit",padding:d,cursor:"pointer",transition:`all ${o}`,display:"flex",[`&:not(${n}-actions-action-disabled):hover`]:{color:p},"&:focus-visible":(0,K.jk)(e),"&-disabled":{color:m,cursor:"not-allowed"}}}}}},le=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",...(0,K.K8)(e),[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-placeholder`]:{...re()}}}},ce=e=>{const{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:"scale(0)"},"&-active":{opacity:1,[`${t}-body`]:{transform:"scale(1)",transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:"scale(0)",transition:`transform ${n}`}}}}}}},de=(0,Z.OF)("Image",e=>{const t=(0,Q.oX)(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[le(t),ie(t),se(t),ae(t),ce(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new G.Y(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new G.Y(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new G.Y(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon,progressAnimationDuration:"3s"})),ue={rotateLeft:o.createElement(Y.A,null),rotateRight:o.createElement(X.A,null),zoomIn:o.createElement(U.A,null),zoomOut:o.createElement(V.A,null),close:o.createElement(H.A,null),left:o.createElement(W.A,null),right:o.createElement(F.A,null),flipX:o.createElement(B.A,null),flipY:o.createElement(B.A,{rotate:90})},pe={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0};const me=e=>{const{prefixCls:t,percent:n,render:r,classNames:i,styles:a,rootClassName:l,rootStyle:c,width:d,height:u}=e,p=(0,O.Et)(n)&&Number.isFinite(n),m=p?Math.max(0,Math.min(100,Math.round(n))):0,h=p?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m,"aria-label":`${m}%`}:{"aria-busy":!0},f=p?o.createElement("div",{className:(0,s.$)(`${t}-progress-rail`,i?.rail),style:{...a?.rail,"--progress-percent":`${m}%`}}):null,g=r?r(f,m):o.createElement(o.Fragment,null,f,p&&o.createElement("div",{className:(0,s.$)(`${t}-progress-indicator`,i?.indicator),style:a?.indicator},`${m}%`));return o.createElement("div",{className:(0,s.$)(t,`${t}-progress-wrapper`,i?.root,l),style:{width:d,height:u,...c,...a?.root},...h},!p&&o.createElement("span",{role:"status","aria-live":"polite",style:pe},"Loading"),o.createElement("div",{className:`${t}-progress-ink-1`}),o.createElement("div",{className:`${t}-progress-ink-2`}),o.createElement("div",{className:(0,s.$)(`${t}-progress-content`,i?.content),style:a?.content},g))},he=e=>{const{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:l,classNames:c,wrapperStyle:d,fallback:u,placeholder:p,...m}=e,{getPrefixCls:h,getPopupContainer:f,className:g,style:v,preview:y,styles:_,classNames:b,fallback:w}=(0,L.TP)("image"),S=h("image",t);const A=(0,$.A)(S),[k,C]=de(S,A),x=(0,s.$)(i,k,C,A),E=(0,s.$)(r,k,g),[M,I,T]=D(n),[z,O,H]=D(y),W=j(M,z,S,x,f,ue,!0),F={...e,preview:W},Y=o.useMemo(()=>({cover:(0,s.$)(H,T),popup:{root:(0,s.$)(O,I)}}),[I,T,O,H]),{mask:X,blurClassName:B}=W??{},U=o.useMemo(()=>({mask:(0,s.$)({[`${S}-preview-mask-hidden`]:!X},B)}),[X,S,B]),V=o.useMemo(()=>[b,c,Y,{popup:U}],[b,c,Y,U]),q=(0,R.XT)(v,"image"),G=(0,R.XT)(a,"image"),Z=(0,R.XT)(v),Q=(0,R.XT)(a),[K,J]=(0,R.AV)(V,[_,{root:d},q,l,G],{props:F},{popup:{_default:"root"},placeholder:{}}),[,ee]=(0,R.AV)([],[_,Z,{root:d},l,Q],{props:F},{popup:{_default:"root"},placeholder:{}}),{image:te,...ne}=J,oe=u??w,{progressConfig:re}=function(e){return(0,o.useMemo)(()=>e&&P(e)?"boolean"==typeof e.progress?{progressConfig:e.progress?{}:void 0}:{progressConfig:e.progress}:{},[e])}(p),ie=void 0!==re,{percent:se,render:ae}=re||{},le=K?.placeholder?.progress,ce=ee?.placeholder?.progress,{width:pe,height:he,src:fe,...ge}=m,ve=P(p)?void 0:p,ye=ve&&!fe;return ie||ye?o.createElement(me,{prefixCls:S,percent:se,render:ye?e=>ve:ae,classNames:le,styles:ce,rootClassName:(0,s.$)(x,E),rootStyle:ee?.root,width:pe,height:he}):o.createElement(N,{prefixCls:S,preview:W||!1,rootClassName:x,className:E,style:te,fallback:oe,placeholder:ve,width:pe,height:he,src:fe,...ge,classNames:K,styles:ne})};he.PreviewGroup=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{const{getPrefixCls:a,getPopupContainer:l,direction:c,preview:d,classNames:u,styles:p}=(0,L.TP)("image"),m=a("image",e),h=`${m}-preview`,f=(0,$.A)(m),[g,v]=de(m,f),y=(0,s.$)(g,v,f),[_,b,w]=D(t),[S,A,k]=D(d),C=o.useMemo(()=>({...ue,left:o.createElement("rtl"===c?F.A:W.A,null),right:o.createElement("rtl"===c?W.A:F.A,null)}),[c]),x=j(_,S,m,y,l,C),{mask:E,blurClassName:M}=x??{},I={...i,classNames:n,styles:r},[T,z]=(0,R.AV)([u,n,{cover:(0,s.$)(k,w),popup:{root:(0,s.$)(A,b),mask:(0,s.$)({[`${m}-preview-mask-hidden`]:!E},M)}}],[p,r],{props:I},{popup:{_default:"root"}});return o.createElement(N.PreviewGroup,{preview:x,previewPrefixCls:h,icons:C,...i,classNames:T,styles:z})};const fe=he},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js"(e,t,n){"use strict";n.d(t,{A:()=>N});var o=n("react"),r=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),s=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),a=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),c=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),d=n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const u=80*Math.PI,p=e=>{const{dotClassName:t,style:n,hasCircleCls:i}=e;return o.createElement("circle",{className:(0,r.$)(`${t}-circle`,{[`${t}-circle-bg`]:i}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},m=({percent:e,prefixCls:t})=>{const n=`${t}-dot`,i=`${n}-holder`,s=`${i}-hidden`,[a,l]=o.useState(!1);(0,d.Nf)(()=>{0!==e&&l(!0)},[e]);const c=Math.max(Math.min(e,100),0);if(!a)return null;const m={strokeDashoffset:""+u/4,strokeDasharray:`${u*c/100} ${u*(100-c)/100}`};return o.createElement("span",{className:(0,r.$)(i,`${n}-progress`,{[s]:c<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},o.createElement(p,{dotClassName:n,hasCircleCls:!0}),o.createElement(p,{dotClassName:n,style:m})))};function h(e){const{prefixCls:t,percent:n=0,className:i,style:s}=e,a=`${t}-dot`,l=`${a}-holder`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,r.$)(l,i,n>0&&`${l}-hidden`),style:s},o.createElement("span",{className:(0,r.$)(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:n}))}function f(e){const{prefixCls:t,indicator:n,percent:i,className:s,style:a}=e,l=`${t}-dot`;return n&&o.isValidElement(n)?(0,c.Ob)(n,e=>({className:(0,r.$)(e.className,l,s),style:{...e.style,...a},percent:i})):o.createElement(h,{prefixCls:t,percent:i,className:s,style:a})}var g=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),v=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),y=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),_=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const b=new g.Mo("antSpinMove",{to:{opacity:1}}),w=new g.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),S=e=>{const{componentCls:t}=e,n=`${t}-section`;return{[t]:{...(0,v.dF)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${n}, > ${n}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:"inline-flex"},[`> ${n}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${n}`]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},A=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o}=e,[r,i]=(0,y.PN)(n,"spin");return{[t]:{[r("dot-holder-size")]:e.dotSize,[r("dot-item-size")]:`calc((${i("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:i("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${o} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:i("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:w,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:i("dot-item-size"),height:i("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${o} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},k=e=>{const{componentCls:t}=e,[n]=(0,y.PN)(e.antCls,"spin");return{[t]:{"&-sm":{[n("dot-holder-size")]:e.dotSizeSM},"&-lg":{[n("dot-holder-size")]:e.dotSizeLG}}}},C=(0,y.OF)("Spin",e=>{const t=(0,_.oX)(e,{spinDotDefault:e.colorTextDescription});return[S(t),A(t),k(t)]},e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),x=[[30,.05],[70,.03],[96,.01]];let E;const M=o.forwardRef((e,t)=>{const{prefixCls:n,spinning:c=!0,delay:d=0,className:u,rootClassName:p,size:m,tip:h,description:g,wrapperClassName:v,style:y,children:_,fullscreen:b=!1,indicator:w,percent:S,classNames:A,styles:k,...M}=e,{getPrefixCls:N,direction:R,indicator:L,className:$,style:I,classNames:T,styles:z}=(0,a.TP)("spin"),j=N("spin",n),[O,P]=C(j),[D,H]=o.useState(()=>c&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(c,d)),W=function(e,t){const[n,r]=o.useState(0),i=o.useRef(null),s="auto"===t;return o.useEffect(()=>(s&&e&&(r(0),i.current=setInterval(()=>{r(e=>{const t=100-e;for(let n=0;n<x.length;n+=1){const[o,r]=x[n];if(e<=o)return e+t*r}return e})},200)),()=>{i.current&&(clearInterval(i.current),i.current=null)}),[s,e]),s?n:t}(D,S);o.useEffect(()=>{if(c){const e=(0,i.s)(d,()=>{H(!0)});return e(),()=>{e?.cancel?.()}}H(!1)},[d,c]);const F=(0,l.A)(e=>m??e),Y=g??h,X={...e,size:F,spinning:D,tip:Y,description:Y,fullscreen:b,children:_,percent:W},B=(0,s.XT)(I),[U,V]=(0,s.AV)([T,A],[z,B,k],{props:X});const q=w??L??E,G=void 0!==_,Z=G||b,Q=o.createElement(o.Fragment,null,o.createElement(f,{className:(0,r.$)(U.indicator),style:V.indicator,prefixCls:j,indicator:q,percent:W}),Y&&o.createElement("div",{className:(0,r.$)(`${j}-description`,U.tip,U.description),style:{...V.tip,...V.description}},Y)),K=o.useRef(null);return o.useImperativeHandle(t,()=>({nativeElement:K.current})),o.createElement("div",{ref:K,className:(0,r.$)(j,{[`${j}-sm`]:"small"===F,[`${j}-lg`]:"large"===F,[`${j}-spinning`]:D,[`${j}-rtl`]:"rtl"===R,[`${j}-fullscreen`]:b},p,U.root,b&&U.mask,Z?v:[`${j}-section`,U.section],$,u,O,P),style:{...V.root,...Z?{}:V.section,...b?V.mask:{},...y},"aria-live":"polite","aria-busy":D,...M},D&&(Z?o.createElement("div",{className:(0,r.$)(`${j}-section`,U.section),style:V.section},Q):Q),G&&o.createElement("div",{className:(0,r.$)(`${j}-container`,U.container),style:V.container},_))});M.setDefaultIndicator=e=>{E=e};const N=M},"./node_modules/.pnpm/json2mq@0.2.0/node_modules/json2mq/index.js"(e,t,n){var o=n("./node_modules/.pnpm/string-convert@0.2.1/node_modules/string-convert/camel2hyphen.js"),r=function(e){var t="",n=Object.keys(e);return n.forEach(function(r,i){var s=e[r];(function(e){return/[height|width]$/.test(e)})(r=o(r))&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,o){t+=r(n),o<e.length-1&&(t+=", ")}),t):r(e)}},"./node_modules/.pnpm/string-convert@0.2.1/node_modules/string-convert/camel2hyphen.js"(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},"./src/components/fragments/Watermark.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>I});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),s=(n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/hooks/useEvent.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/hooks/useLayoutEffect.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/ref.js"),n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/Dom/canUseDom.js"));const a={subtree:!0,childList:!0,attributeFilter:["style","class"]},l=(e,t,n=a)=>{r().useEffect(()=>{if(!(0,s.A)()||!e)return;let o;const r=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(o=new MutationObserver(t),r.forEach(e=>{o.observe(e,n)})),()=>{o?.takeRecords(),o?.disconnect()}},[n,e])};var c=n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),d=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),u=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),m=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/watermark/context.js"),h=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),f=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/toList.js");const g=(e,t=1)=>Number(e.fontSize)*t,v=(e,t=1,n)=>{const o=void 0===n?"":`/${n}px`;return`${"none"===e.fontStyle?"normal":e.fontStyle} normal ${e.fontWeight} ${g(e,t)}px${o} ${e.fontFamily}`},y=(e,t)=>(0,f.A)(e,{skipEmpty:!0}).map(e=>(e=>(0,h.Qd)(e))(e)?{text:e.text??"",font:(0,c.v6)(t,e.font??{})}:{text:e??"",font:t}),_=(e,t,n=1)=>{const o=document.createElement("canvas"),r=o.getContext("2d"),i=e*n,s=t*n;return o.setAttribute("width",`${i}px`),o.setAttribute("height",`${s}px`),r.save(),[r,o,i,s]},b=()=>r().useCallback((e,t,n,o,r,i,s)=>{const[a,l,c,d]=_(o,r,n);if(e instanceof HTMLImageElement)a.drawImage(e,0,0,c,d);else{a.textBaseline="top";let t=0;e.forEach(({text:e,font:o})=>{a.font=v(o,n,r),a.fillStyle=o.color,a.textAlign=o.textAlign,a.fillText(e,c/2,t),t+=g(o,n)+3*n})}const u=Math.PI/180*Number(t),p=Math.max(o,r),[m,h,f]=_(p,p,n);m.translate(f/2,f/2),m.rotate(u),c>0&&d>0&&m.drawImage(l,-c/2,-d/2);let y=0,b=0,w=0,S=0;const A=c/2,k=d/2;[[0-A,0-k],[0+A,0-k],[0+A,0+k],[0-A,0+k]].forEach(([e,t])=>{const[n,o]=((e,t,n)=>[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)])(e,t,u);y=Math.min(y,n),b=Math.max(b,n),w=Math.min(w,o),S=Math.max(S,o)});const C=y+f/2,x=w+f/2,E=b-y,M=S-w,N=i*n,R=s*n,L=2*(E+N),$=M+R,[I,T]=_(L,$),z=(e=0,t=0)=>{E<=0||M<=0||I.drawImage(h,C,x,E,M,e,t,E,M)};return z(),z(E+N,-M/2-R/2),z(E+N,+M/2+R/2),[T.toDataURL(),L/n,$/n]},[]);const w=()=>{const e=o.useRef([null,null]);return(t,n)=>{const o=t.map(e=>(0,h.sb)(e)||Number.isNaN(e)?"":e);return(0,c.n4)(e.current[0],o)||(e.current=[o,n()]),e.current[1]}},S=()=>{},A={visibility:"visible !important"},k=(e,t)=>{const n=o.useRef(new Map),r=(0,c._q)(t??S);return[(o,i,s)=>{if(s){const l=n.current.get(s);if(!l){const e=document.createElement("div");n.current.set(s,e)}const c=n.current.get(s);c.setAttribute("style",(a={...e,backgroundImage:`url('${o}')`,backgroundSize:`${Math.floor(i)}px`,...A},Object.keys(a).map(e=>`${function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(e)}: ${a[e]};`).join(" "))),c.removeAttribute("class"),c.removeAttribute("hidden"),c.parentElement!==s&&(l&&t&&r(),s.append(c))}var a;return n.current.get(s)},e=>{const t=n.current.get(e);t&&e&&e.removeChild(t),n.current.delete(e)},e=>Array.from(n.current.values()).includes(e)]};function C(e,t){return e.size===t.size?e:t}const x=100,E=100,M={position:"relative",overflow:"hidden"},N=r().forwardRef((e,t)=>{const{zIndex:n,rotate:s=-22,width:a,height:h,image:f,content:g,font:_={},style:S,className:A,rootClassName:N,gap:R=[x,E],offset:L,children:$,inherit:I=!0,onRemove:T}=e,{className:z,style:j}=(0,u.TP)("watermark"),O={...M,...j,...S},[,P]=(0,p.Ay)(),D=n??P.zIndexPopupBase-1,{color:H=P.colorFill,fontSize:W=P.fontSizeLG,fontWeight:F=400,fontStyle:Y="normal",fontFamily:X="sans-serif",textAlign:B="center"}=_,U=r().useMemo(()=>({color:H,fontSize:W,fontWeight:F,fontStyle:Y,fontFamily:X,textAlign:B}),[H,W,F,Y,X,B]),V=r().useMemo(()=>y(g,U),[g,U]),[q=x,G=E]=R,Z=q/2,Q=G/2,K=L?.[0]??Z,J=L?.[1]??Q,ee=r().useMemo(()=>{const e={zIndex:D,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let t=K-Z,n=J-Q;return t>0&&(e.left=`${t}px`,e.width=`calc(100% - ${t}px)`,t=0),n>0&&(e.top=`${n}px`,e.height=`calc(100% - ${n}px)`,n=0),e.backgroundPosition=`${t}px ${n}px`,e},[D,K,Z,J,Q]),[te,ne]=r().useState(),oe=r().useRef(null);r().useImperativeHandle(t,()=>({nativeElement:oe.current}));const re=(0,c.xK)(oe,ne),[ie,se]=r().useState(()=>new Set),ae=r().useMemo(()=>[].concat((0,i.A)(te?[te]:[]),(0,i.A)(Array.from(ie))),[te,ie]),le=b(),ce=w(),[de,ue]=r().useState(null),pe=function(e){const t=r().useRef(!1),n=(0,c._q)(e);return()=>{t.current||(t.current=!0,n(),(0,c.er)(()=>{t.current=!1}))}}(()=>{const e=document.createElement("canvas").getContext("2d");if(e){const t=window.devicePixelRatio||1,[n,o]=(e=>{let t=120,n=64;if(!f&&e.measureText)if(V.length){const a=V.map(({text:t,font:n})=>{e.font=v(n);const o=e.measureText(t);return[o.width,o.fontBoundingBoxAscent+o.fontBoundingBoxDescent]});t=Math.ceil((o=Math.max,r=Math,s=(0,i.A)(a.map(e=>e[0])),o.apply(r,s))),n=Math.ceil(a.reduce((e,t)=>e+t[1],0))+3*(V.length-1)}else t=0,n=0;var o,r,s;return[a??t,h??n]})(e),r=e=>{const r=[e||[],s,t,n,o,q,G],[i,a]=ce(r,()=>le.apply(void 0,r));ue([i,a])};if(f){const e=new Image;e.onload=()=>{r(e)},e.onerror=()=>{r(V)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=f}else r(V)}}),[me,he,fe]=k(ee,T);(0,o.useEffect)(()=>{de&&ae.forEach(e=>{me(de[0],de[1],e)})},[de,ae]);const ge=(0,c._q)(e=>{e.forEach(e=>{if(((e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(t)),"attributes"===e.type&&t(e.target)&&(n=!0),n})(e,fe))pe();else if(e.target===te&&"style"===e.attributeName){const e=Object.keys(M);for(let t=0;t<e.length;t+=1){const n=e[t],o=O[n];o&&o!==te.style[n]&&(te.style[n]=o)}}})});l(ae,ge),(0,o.useEffect)(pe,[s,D,a,h,f,V,q,G,K,J]);const ve=r().useMemo(()=>({add:e=>{se(t=>{const n=new Set(t);return n.add(e),C(t,n)})},remove:e=>{he(e),se(t=>{const n=new Set(t);return n.delete(e),C(t,n)})}}),[]),ye=I?r().createElement(m.A.Provider,{value:ve},$):$;return r().createElement("div",{ref:re,className:(0,d.$)(A,z,N),style:O},ye)});const R=N;var L=n("./src/utils/antd.tsx"),$=n("./src/utils/dash3.ts");const I=e=>{const{children:t,loading_state:n,n_remove:o,setProps:i}=e,s=(0,L.I4)(e),a=R;return r().createElement(a,{...s,onRemove:()=>i?.({n_remove:(o||0)+1}),"data-dash-is-loading":(0,$.A_)(n)||void 0},(0,L.lq)(t))}},"./src/components/fragments/async/dataDisplay/Carousel.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>Me});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js"),s=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),a=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),l=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js"),c=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"),d=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"),u=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),p=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js"),m=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js"),h=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js"),f=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");const g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var v=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),y=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");const _={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r().createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r().createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};function b(e,t,n){return Math.max(t,Math.min(e,n))}var w=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},S=function(e){for(var t=[],n=A(e),o=k(e),r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},A=function(e){return e.currentSlide-C(e)},k=function(e){return e.currentSlide+x(e)},C=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},x=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},E=function(e){return e&&e.offsetWidth||0},M=function(e){return e&&e.offsetHeight||0},N=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=Math.atan2(e.startY-e.curY,e.startX-e.curX),(n=Math.round(180*t/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===o?n>=35&&n<=135?"up":"down":"vertical"},R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},L=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},$=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return r}(e),o=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=o;break}o=n[r]}return t},I=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];return Array.from(r).every(function(o){if(e.vertical){if(o.offsetTop+M(o)/2>-1*e.swipeLeft)return n=o,!1}else if(o.offsetLeft-t+E(o)/2>-1*e.swipeLeft)return n=o,!1;return!0}),n?Math.abs(n.dataset.index-(!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide))||1:0}return e.slidesToScroll},T=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},z=function(e){var t,n;(T(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=H(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=(0,s.A)((0,s.A)({},o),{},{WebkitTransform:r,transform:i,msTransform:a})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},j=function(e){T(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=z(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):t.transition=e.vertical?"top "+e.speed+"ms "+e.cssEase:"left "+e.speed+"ms "+e.cssEase,t},O=function(e){if(e.unslick)return 0;T(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,o=e.slideIndex,r=e.trackRef,i=e.infinite,s=e.centerMode,a=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,d=e.slideWidth,u=e.listWidth,p=e.variableWidth,m=e.slideHeight,h=e.vertical;if(e.fade||1===e.slideCount)return 0;var f=0;if(i?(f=-P(e),a%c!==0&&o+c>a&&(f=-(o>a?l-(o-a):a%c)),s&&(f+=parseInt(l/2))):(a%c!==0&&o+c>a&&(f=l-a%c),s&&(f=parseInt(l/2))),t=h?o*m*-1+f*m:o*d*-1+f*d,!0===p){var g,v=r&&r.node;if(g=o+P(e),t=(n=v&&v.childNodes[g])?-1*n.offsetLeft:0,!0===s){g=i?o+P(e):o,n=v&&v.children[g],t=0;for(var y=0;y<g;y++)t-=v&&v.children[y]&&v.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(u-n.offsetWidth)/2}}return t},P=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},D=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},H=function(e){return 1===e.slideCount?1:P(e)+e.slideCount+D(e)},W=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-Y(e)?"right":"left"},F=function(e){var t=e.slidesToShow,n=e.rtl;if(e.centerMode){var o=(t-1)/2+1;return parseInt(e.centerPadding)>0&&(o+=1),n&&t%2==0&&(o+=1),o}return n?0:t-1},Y=function(e){var t=e.slidesToShow,n=e.rtl;if(e.centerMode){var o=(t-1)/2+1;return parseInt(e.centerPadding)>0&&(o+=1),n||t%2!=0||(o+=1),o}return n?t-1:0},X=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},B=Object.keys(_);var U=function(e){var t,n,o,r,i;return o=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-r-1&&i<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},V=function(e,t){return e.key+"-"+t},q=function(e){var t,n=[],o=[],i=[],a=r().Children.count(e.children),l=A(e),c=k(e);return r().Children.forEach(e.children,function(d,u){var p,m={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?d:r().createElement("div",null);var h=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}((0,s.A)((0,s.A)({},e),{},{index:u})),f=p.props.className||"",g=U((0,s.A)((0,s.A)({},e),{},{index:u}));if(n.push(r().cloneElement(p,{key:"original"+V(p,u),"data-index":u,className:(0,y.$)(g,f),tabIndex:"-1","aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({outline:"none"},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&a>1&&!1===e.fade&&!e.unslick){var v=a-u;v<=P(e)&&((t=-v)>=l&&(p=d),g=U((0,s.A)((0,s.A)({},e),{},{index:t})),o.push(r().cloneElement(p,{key:"precloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,y.$)(g,f),"aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),u<D(e)&&((t=a+u)<c&&(p=d),g=U((0,s.A)((0,s.A)({},e),{},{index:t})),i.push(r().cloneElement(p,{key:"postcloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,y.$)(g,f),"aria-hidden":!g["slick-active"],style:(0,s.A)((0,s.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}}),e.rtl?o.concat(n,i).reverse():o.concat(n,i)},G=function(e){function t(){var e,n,o,r;(0,a.A)(this,t);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=this,o=t,r=[].concat(s),o=(0,u.A)(o),e=(0,c.A)(n,(0,d.A)()?Reflect.construct(o,r||[],(0,u.A)(n).constructor):o.apply(n,r)),(0,m.A)(e,"node",null),(0,m.A)(e,"handleRef",function(t){e.node=t}),e}return(0,p.A)(t,e),(0,l.A)(t,[{key:"render",value:function(){var e=q(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r().createElement("div",(0,i.A)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])}(r().PureComponent);var Z=function(e){function t(){return(0,a.A)(this,t),e=this,o=arguments,n=(0,u.A)(n=t),(0,c.A)(e,(0,d.A)()?Reflect.construct(n,o||[],(0,u.A)(e).constructor):n.apply(e,o));var e,n,o}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,o=t.onMouseOver,i=t.onMouseLeave,a=t.infinite,l=t.slidesToScroll,c=t.slideCount,d=t.currentSlide,u=(e={slideCount:c,slidesToScroll:l,slidesToShow:t.slidesToShow,infinite:a}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,p={onMouseEnter:n,onMouseOver:o,onMouseLeave:i},m=[],h=0;h<u;h++){var f=(h+1)*l-1,g=a?f:b(f,0,c-1),v=g-(l-1),_=a?v:b(v,0,c-1),w=(0,y.$)({"slick-active":a?d>=_&&d<=g:d===_}),S=this.clickHandler.bind(this,{message:"dots",index:h,slidesToScroll:l,currentSlide:d});m=m.concat(r().createElement("li",{key:h,className:w},r().cloneElement(this.props.customPaging(h),{onClick:S})))}return r().cloneElement(this.props.appendDots(m),(0,s.A)({className:this.props.dotsClass},p))}}])}(r().PureComponent);function Q(e,t,n){return t=(0,u.A)(t),(0,c.A)(e,(0,d.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var K=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,y.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r().cloneElement(this.props.prevArrow,(0,s.A)((0,s.A)({},n),o)):r().createElement("button",(0,i.A)({key:"0",type:"button"},n)," ","Previous")}}])}(r().PureComponent),J=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,p.A)(t,e),(0,l.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});R(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,y.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r().cloneElement(this.props.nextArrow,(0,s.A)((0,s.A)({},n),o)):r().createElement("button",(0,i.A)({key:"1",type:"button"},n)," ","Next")}}])}(r().PureComponent),ee=["animating"];var te=function(e){function t(e){var n,o,l,p;(0,a.A)(this,t),o=this,p=[e],l=(0,u.A)(l=t),n=(0,c.A)(o,(0,d.A)()?Reflect.construct(l,p||[],(0,u.A)(o).constructor):l.apply(o,p)),(0,m.A)(n,"listRefHandler",function(e){return n.list=e}),(0,m.A)(n,"trackRefHandler",function(e){return n.track=e}),(0,m.A)(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=M(e)+"px"}}),(0,m.A)(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=S((0,s.A)((0,s.A)({},n.props),n.state));e.length>0&&(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,s.A)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),"undefined"!=typeof ResizeObserver&&(n.ro=new ResizeObserver(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list)),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),(0,m.A)(n,"componentWillUnmount",function(){var e;n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(e){return clearTimeout(e)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),null===(e=n.ro)||void 0===e||e.disconnect()}),(0,m.A)(n,"componentDidUpdate",function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=S((0,s.A)((0,s.A)({},n.props),n.state));t.length>0&&(n.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var o=(0,s.A)((0,s.A)({listRef:n.list,trackRef:n.track},n.props),n.state),i=n.didPropsChange(e);i&&n.updateState(o,i,function(){n.state.currentSlide>=r().Children.count(n.props.children)&&n.changeSlide({message:"index",index:r().Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay===n.props.autoplay&&e.autoplaySpeed===n.props.autoplaySpeed||(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),(0,m.A)(n,"onWindowResized",function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,v.s)(50,function(){return n.resizeWindow(e)}),n.debouncedResize()}),(0,m.A)(n,"resizeWindow",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(n.track&&n.track.node)){var t=(0,s.A)((0,s.A)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),(0,m.A)(n,"updateState",function(e,t,o){var i=function(e){var t,n=r().Children.count(e.children),o=e.listRef,i=Math.ceil(E(o)),a=Math.ceil(E(e.trackRef&&e.trackRef.node));if(e.vertical)t=i;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=i/100),t=Math.ceil((i-l)/e.slidesToShow)}var c=o&&M(o.querySelector('[data-index="0"]')),d=c*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var p=e.lazyLoadedList||[],m=S((0,s.A)((0,s.A)({},e),{},{currentSlide:u,lazyLoadedList:p})),h={slideCount:n,slideWidth:t,listWidth:i,trackWidth:a,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:p=p.concat(m)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h}(e);e=(0,s.A)((0,s.A)((0,s.A)({},e),i),{},{slideIndex:i.currentSlide});var a=O(e);e=(0,s.A)((0,s.A)({},e),{},{left:a});var l=z(e);(t||r().Children.count(n.props.children)!==r().Children.count(e.children))&&(i.trackStyle=l),n.setState(i,o)}),(0,m.A)(n,"ssrInit",function(){if(n.props.variableWidth){var e=0,t=0,o=[],i=P((0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:n.props.children.length})),a=D((0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function(t){o.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<i;l++)t+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<a;c++)e+=o[c];for(var d=0;d<n.state.currentSlide;d++)t+=o[d];var u={width:e+"px",left:-t+"px"};if(n.props.centerMode){var p="".concat(o[n.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:u}}var m=r().Children.count(n.props.children),h=(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{slideCount:m}),f=P(h)+D(h)+m,g=100/n.props.slidesToShow*f,v=100/f,y=-v*(P(h)+n.state.currentSlide)*g/100;return n.props.centerMode&&(y+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:y+"%"}}}),(0,m.A)(n,"checkImagesLoad",function(){var e=n.list&&n.list.querySelectorAll&&n.list.querySelectorAll(".slick-slide img")||[],t=e.length,o=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++o&&o>=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=r,e.onerror=function(){r(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),(0,m.A)(n,"progressiveLazyLoad",function(){for(var e=[],t=(0,s.A)((0,s.A)({},n.props),n.state),o=n.state.currentSlide;o<n.state.slideCount+D(t);o++)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var r=n.state.currentSlide-1;r>=-P(t);r--)if(n.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),(0,m.A)(n,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=n.props,r=o.asNavFor,i=o.beforeChange,a=o.onLazyLoad,l=o.speed,c=o.afterChange,d=n.state.currentSlide,u=function(e){var t=e.fade,n=e.infinite,o=e.index,r=e.slideCount,i=e.lazyLoad,a=e.currentSlide,l=e.centerMode,c=e.slidesToScroll,d=e.slidesToShow,u=e.useCSS,p=e.lazyLoadedList;if(e.waitForAnimate&&e.animating)return{};var m,h,f,g=o,v={},y={},_=n?o:b(o,0,r-1);if(t){if(!n&&(o<0||o>=r))return{};o<0?g=o+r:o>=r&&(g=o-r),i&&p.indexOf(g)<0&&(p=p.concat(g)),v={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},y={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+r,n?r%c!==0&&(m=r-r%c):m=0):!R(e)&&g>a?g=m=a:l&&g>=r?(g=n?r:r-1,m=n?0:r-1):g>=r&&(m=g-r,n?r%c!==0&&(m=0):m=r-d),!n&&g+d>=r&&(m=r-d),h=O((0,s.A)((0,s.A)({},e),{},{slideIndex:g})),f=O((0,s.A)((0,s.A)({},e),{},{slideIndex:m})),n||(h===f&&(g=m),h=f),i&&(p=p.concat(S((0,s.A)((0,s.A)({},e),{},{currentSlide:g})))),u?(v={animating:!0,currentSlide:m,trackStyle:j((0,s.A)((0,s.A)({},e),{},{left:h})),lazyLoadedList:p,targetSlide:_},y={animating:!1,currentSlide:m,trackStyle:z((0,s.A)((0,s.A)({},e),{},{left:f})),swipeLeft:null,targetSlide:_}):v={currentSlide:m,trackStyle:z((0,s.A)((0,s.A)({},e),{},{left:f})),lazyLoadedList:p,targetSlide:_};return{state:v,nextState:y}}((0,s.A)((0,s.A)((0,s.A)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),p=u.state,m=u.nextState;if(p){i&&i(d,p.currentSlide);var h=p.lazyLoadedList.filter(function(e){return n.state.lazyLoadedList.indexOf(e)<0});a&&h.length>0&&a(h),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),c&&c(d),delete n.animationEndCallback),n.setState(p,function(){r&&n.asNavForIndex!==e&&(n.asNavForIndex=e,r.innerSlider.slideHandler(e)),m&&(n.animationEndCallback=setTimeout(function(){var e=m.animating,t=(0,f.A)(m,ee);n.setState(t,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:e})},10)),c&&c(p.currentSlide),delete n.animationEndCallback})},l))})}}),(0,m.A)(n,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=function(e,t){var n,o,r,i,a=e.slidesToScroll,l=e.slideCount,c=e.currentSlide,d=e.targetSlide,u=e.lazyLoad,p=e.infinite;if(n=l%a!==0?0:(l-c)%a,"previous"===t.message)i=c-(r=0===n?a:e.slidesToShow-n),u&&!p&&(i=-1===(o=c-r)?l-1:o),p||(i=d-a);else if("next"===t.message)i=c+(r=0===n?a:n),u&&!p&&(i=(c+a)%l+n),p||(i=d+a);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,p){var m=W((0,s.A)((0,s.A)({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===m?i-=l:i<t.currentSlide&&"right"===m&&(i+=l)}}else"index"===t.message&&(i=Number(t.index));return i}((0,s.A)((0,s.A)({},n.props),n.state),e);if((0===o||o)&&(!0===t?n.slideHandler(o,t):n.slideHandler(o),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var r=n.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),(0,m.A)(n,"clickHandler",function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0}),(0,m.A)(n,"keyHandler",function(e){var t=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""}(e,n.props.accessibility,n.props.rtl);""!==t&&n.changeSlide({message:t})}),(0,m.A)(n,"selectHandler",function(e){n.changeSlide(e)}),(0,m.A)(n,"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,m.A)(n,"enableBodyScroll",function(){window.ontouchmove=null}),(0,m.A)(n,"swipeStart",function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=function(e,t,n){return"IMG"===e.target.tagName&&w(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,n.props.swipe,n.props.draggable);""!==t&&n.setState(t)}),(0,m.A)(n,"swipeMove",function(e){var t=function(e,t){var n=t.vertical,o=t.swipeToSlide,r=t.verticalSwiping,i=t.rtl,a=t.currentSlide,l=t.edgeFriction,c=t.edgeDragged,d=t.onEdge,u=t.swiped,p=t.swiping,m=t.slideCount,h=t.slidesToScroll,f=t.infinite,g=t.touchObject,v=t.swipeEvent,y=t.listHeight,_=t.listWidth;if(!t.scrolling){if(t.animating)return w(e);n&&o&&r&&w(e);var b,S={},A=O(t);g.curX=e.touches?e.touches[0].pageX:e.clientX,g.curY=e.touches?e.touches[0].pageY:e.clientY,g.swipeLength=Math.round(Math.sqrt(Math.pow(g.curX-g.startX,2)));var k=Math.round(Math.sqrt(Math.pow(g.curY-g.startY,2)));if(!r&&!p&&k>10)return{scrolling:!0};r&&(g.swipeLength=k);var C=(i?-1:1)*(g.curX>g.startX?1:-1);r&&(C=g.curY>g.startY?1:-1);var x=Math.ceil(m/h),E=N(t.touchObject,r),M=g.swipeLength;return f||(0===a&&("right"===E||"down"===E)||a+1>=x&&("left"===E||"up"===E)||!R(t)&&("left"===E||"up"===E))&&(M=g.swipeLength*l,!1===c&&d&&(d(E),S.edgeDragged=!0)),!u&&v&&(v(E),S.swiped=!0),b=n?A+M*(y/_)*C:i?A-M*C:A+M*C,r&&(b=A+M*C),S=(0,s.A)((0,s.A)({},S),{},{touchObject:g,swipeLeft:b,trackStyle:z((0,s.A)((0,s.A)({},t),{},{left:b}))}),Math.abs(g.curX-g.startX)<.8*Math.abs(g.curY-g.startY)||g.swipeLength>10&&(S.swiping=!0,w(e)),S}}(e,(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))}),(0,m.A)(n,"swipeEnd",function(e){var t=function(e,t){var n=t.touchObject,o=t.listWidth,r=t.touchThreshold,i=t.verticalSwiping,a=t.listHeight,l=t.swipeToSlide,c=t.scrolling,d=t.onSwipe,u=t.targetSlide,p=t.currentSlide,m=t.infinite;if(!t.dragging)return t.swipe&&w(e),{};var h=i?a/r:o/r,f=N(n,i),g={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c)return g;if(!n.swipeLength)return g;if(n.swipeLength>h){var v,y;w(e),d&&d(f);var _=m?p:u;switch(f){case"left":case"up":y=_+I(t),v=l?$(t,y):y,g.currentDirection=0;break;case"right":case"down":y=_-I(t),v=l?$(t,y):y,g.currentDirection=1;break;default:v=_}g.triggerSlideHandler=v}else{var b=O(t);g.trackStyle=j((0,s.A)((0,s.A)({},t),{},{left:b}))}return g}(e,(0,s.A)((0,s.A)((0,s.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var o=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==o&&(n.slideHandler(o),n.props.verticalSwiping&&n.enableBodyScroll())}}),(0,m.A)(n,"touchEnd",function(e){n.swipeEnd(e),n.clickable=!0}),(0,m.A)(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),(0,m.A)(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),(0,m.A)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)},0))}),(0,m.A)(n,"play",function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!R((0,s.A)((0,s.A)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)}),(0,m.A)(n,"autoPlay",function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),(0,m.A)(n,"pause",function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})}),(0,m.A)(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,m.A)(n,"onDotsLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,m.A)(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,m.A)(n,"onTrackLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,m.A)(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),(0,m.A)(n,"onSlideBlur",function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")}),(0,m.A)(n,"render",function(){var e,t,o,a=(0,y.$)("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,s.A)((0,s.A)({},n.props),n.state),c=L(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),d=n.props.pauseOnHover;if(c=(0,s.A)((0,s.A)({},c),{},{onMouseEnter:d?n.onTrackOver:null,onMouseLeave:d?n.onTrackLeave:null,onMouseOver:d?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var u=L(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),p=n.props.pauseOnDotsHover;u=(0,s.A)((0,s.A)({},u),{},{clickHandler:n.changeSlide,onMouseEnter:p?n.onDotsLeave:null,onMouseOver:p?n.onDotsOver:null,onMouseLeave:p?n.onDotsLeave:null}),e=r().createElement(Z,u)}var m=L(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);m.clickHandler=n.changeSlide,n.props.arrows&&(t=r().createElement(K,m),o=r().createElement(J,m));var h=null;n.props.vertical&&(h={height:n.state.listHeight});var f=null;!1===n.props.vertical?!0===n.props.centerMode&&(f={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(f={padding:n.props.centerPadding+" 0px"});var g=(0,s.A)((0,s.A)({},h),f),v=n.props.touchMove,_={className:"slick-list",style:g,onClick:n.clickHandler,onMouseDown:v?n.swipeStart:null,onMouseMove:n.state.dragging&&v?n.swipeMove:null,onMouseUp:v?n.swipeEnd:null,onMouseLeave:n.state.dragging&&v?n.swipeEnd:null,onTouchStart:v?n.swipeStart:null,onTouchMove:n.state.dragging&&v?n.swipeMove:null,onTouchEnd:v?n.touchEnd:null,onTouchCancel:n.state.dragging&&v?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},b={className:a,dir:"ltr",style:n.props.style};return n.props.unslick&&(_={className:"slick-list"},b={className:a,style:n.props.style}),r().createElement("div",b,n.props.unslick?"":t,r().createElement("div",(0,i.A)({ref:n.listRefHandler},_),r().createElement(G,(0,i.A)({ref:n.trackRefHandler},c),n.props.children)),n.props.unslick?"":o,n.props.unslick?"":e)}),n.list=null,n.track=null,n.state=(0,s.A)((0,s.A)({},g),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:r().Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var h=n.ssrInit();return n.state=(0,s.A)((0,s.A)({},n.state),h),n}return(0,p.A)(t,e),(0,l.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==(0,h.A)(e[i])&&"function"!=typeof e[i]&&!isNaN(e[i])&&e[i]!==this.props[i]){t=!0;break}}return t||r().Children.count(this.props.children)!==r().Children.count(e.children)}}])}(r().Component),ne=n("./node_modules/.pnpm/json2mq@0.2.0/node_modules/json2mq/index.js"),oe=n.n(ne);var re=function(e){function t(e){var n,o,r,i;return(0,a.A)(this,t),o=this,i=[e],r=(0,u.A)(r=t),n=(0,c.A)(o,(0,d.A)()?Reflect.construct(r,i||[],(0,u.A)(o).constructor):r.apply(o,i)),(0,m.A)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,m.A)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,m.A)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,m.A)(n,"slickGoTo",function(e){return n.innerSlider.slickGoTo(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}),(0,m.A)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,m.A)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,p.A)(t,e),(0,l.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),o=function(e){e.matches&&t()};n.addListener(o),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,o){var r;r=0===o?oe()({minWidth:0,maxWidth:n}):oe()({minWidth:t[o-1]+1,maxWidth:n}),X()&&e.media(r,function(){e.setState({breakpoint:n})})});var n=oe()({minWidth:t.slice(-1)[0]});X()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,s.A)((0,s.A)((0,s.A)({},_),this.props),t[0].settings):(0,s.A)((0,s.A)({},_),this.props)).centerMode&&(e.slidesToScroll=1),e.fade&&(e.slidesToShow=1,e.slidesToScroll=1);var o=r().Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,c=0;c<o.length;c+=e.rows*e.slidesPerRow){for(var d=[],u=c;u<c+e.rows*e.slidesPerRow;u+=e.slidesPerRow){for(var p=[],m=u;m<u+e.slidesPerRow&&(e.variableWidth&&o[m].props.style&&(l=o[m].props.style.width),!(m>=o.length));m+=1)p.push(r().cloneElement(o[m],{key:100*c+10*u+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r().createElement("div",{key:10*c+u},p))}a.push(r().createElement("div",e.variableWidth?{key:c,style:{width:l}}:{key:c},d))}if("unslick"===e){var h="regular slider "+(this.props.className||"");return r().createElement("div",{className:h},o)}return a.length<=e.slidesToShow&&(e.unslick=!0),r().createElement(te,(0,i.A)({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return B.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}(e)),a)}}])}(r().Component);const ie=re;var se=n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),ae=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),le=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),ce=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),de=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/en_US.js"),ue=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),pe=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),me=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const he="--dot-duration",fe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{...(0,pe.dF)(e),".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}}}},ge=e=>{const{componentCls:t,motionDurationSlow:n,arrowSize:o,arrowOffset:r}=e,i=e.calc(o).div(Math.SQRT2).equal();return{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:o,height:o,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${n}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(o).sub(i).div(2).equal(),insetInlineStart:e.calc(o).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineStartWidth:2,borderBlockStartWidth:2,borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:r,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:r,"&::after":{transform:"rotate(135deg)"}}}}},ve=e=>{const{componentCls:t,dotOffset:n,dotWidth:o,dotHeight:r,dotGap:i,colorBgContainer:s,motionDurationSlow:a}=e,l=new ue.Mo(`${e.prefixCls}-dot-animation`,{from:{width:0},to:{width:e.dotActiveWidth}});return{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:o,height:r,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${a}`,borderRadius:r,overflow:"hidden","&::after":{display:"block",position:"absolute",top:0,insetInlineStart:0,width:0,height:r,content:'""',background:"transparent",borderRadius:r,opacity:1,outline:"none",cursor:"pointer",overflow:"hidden"},button:{position:"relative",display:"block",width:"100%",height:r,padding:0,color:"transparent",fontSize:0,background:s,border:0,borderRadius:r,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${a}`,overflow:"hidden","&:hover":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,position:"relative","&:hover":{opacity:1},"&::after":{background:s,animationName:l,animationDuration:`var(${he})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},ye=e=>{const{componentCls:t,dotOffset:n,arrowOffset:o,marginXXS:r}=e,i=new ue.Mo(`${e.prefixCls}-dot-vertical-animation`,{from:{height:0},to:{height:e.dotActiveWidth}}),s={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:o,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:o,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-start":{insetInlineEnd:"auto",insetInlineStart:n},"&-end":{insetInlineEnd:n,insetInlineStart:"auto"},li:{...s,margin:`${(0,ue.zA)(r)} 0`,verticalAlign:"baseline",button:s,"&::after":{...s,height:0},"&.slick-active":{...s,height:e.dotActiveWidth,button:{...s,height:e.dotActiveWidth},"&::after":{...s,animationName:i,animationDuration:`var(${he})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},_e=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl"}}]},be=(0,me.OF)("Carousel",e=>[fe(e),ge(e),ve(e),ye(e),_e(e)],e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),we="slick-dots",Se=({currentSlide:e,slideCount:t,...n})=>o.createElement("button",{type:"button",...n}),Ae=o.forwardRef((e,t)=>{const{dots:n=!0,arrows:r=!1,prevArrow:i,nextArrow:s,draggable:a=!1,waitForAnimate:l=!1,dotPosition:c,dotPlacement:d,vertical:u,rootClassName:p,className:m,style:h,id:f,autoplay:g=!1,autoplaySpeed:v=3e3,rtl:_,...b}=e,w=o.useMemo(()=>{const e=d??c??"bottom";switch(e){case"left":return"start";case"right":return"end";default:return e}},[c,d]),S=u??("start"===w||"end"===w),{getPrefixCls:A,direction:k,className:C,style:x}=(0,le.TP)("carousel"),[E]=(0,ce.A)("Carousel",de.A.Carousel),M=o.useRef(null),N=o.useRef(null),R=(e,t=!1)=>{M.current.slickGoTo(e,t)};o.useImperativeHandle(t,()=>({goTo:R,autoPlay:M.current.innerSlider.autoPlay,innerSlider:M.current.innerSlider,prev:M.current.slickPrev,next:M.current.slickNext,nativeElement:N.current}),[M.current]);const{children:L,initialSlide:$=0}=e,I=(0,se.$r)(L).length,T=(_??"rtl"===k)&&!S;o.useEffect(()=>{if(I>0){R(T?I-$-1:$,!1)}},[$,T]);const z={vertical:S,className:(0,y.$)(m,C),style:{...x,...h},autoplay:!!g,...b};"fade"===z.effect&&(z.fade=!0);const j=A("carousel",z.prefixCls),O=!!n,P=(0,y.$)(we,`${we}-${w}`,"boolean"!=typeof n&&n?.className),[D,H]=be(j),W=(0,y.$)(j,{[`${j}-rtl`]:T,[`${j}-vertical`]:z.vertical},D,H,p),F=g&&!!(0,ae.Qd)(g)&&g.dotDuration;return o.createElement("div",{ref:N,className:W,id:f,style:F?{[he]:`${v}ms`}:{}},o.createElement(ie,{ref:M,...z,dots:O,dotsClass:P,arrows:r,prevArrow:i??o.createElement(Se,{"aria-label":T?E.nextSlide:E.prevSlide}),nextArrow:s??o.createElement(Se,{"aria-label":T?E.prevSlide:E.nextSlide}),draggable:a,verticalSwiping:S,autoplaySpeed:v,waitForAnimate:l,rtl:T}))});const ke=Ae;var Ce=n("./src/utils/antd.tsx"),xe=n("./src/utils/dash3.ts");const Ee=e=>{const{children:t,loading_state:n,setProps:i,slickGoTo:s}=e,a=(0,xe.z5)(),l=(0,o.useRef)(null);(0,o.useEffect)(()=>{"number"==typeof s&&l.current?.goTo(s,!0)},[s]);const c=(0,Ce.I4)(e);delete c.current,c.nextArrow=(0,Ce.LM)(c.nextArrow,[...a,"props","nextArrow"]),c.prevArrow=(0,Ce.LM)(c.prevArrow,[...a,"props","prevArrow"]);const d=r().Children.toArray((0,Ce.lq)(t)).map((e,t)=>r().createElement("div",{key:t,"data-dac-carousel-slide":!0},e));return r().createElement(ke,{ref:l,...c,beforeChange:e=>i?.({previous:e}),afterChange:e=>i?.({current:e}),"data-dash-is-loading":(0,xe.A_)(n)||void 0},d)},Me=e=>r().createElement(Ee,{...e})},"./src/components/fragments/async/dataDisplay/Image.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"),s=n("./src/utils/antd.tsx"),a=n("./src/utils/dash3.ts");const l=e=>{const{loading_state:t,n_error:n,n_load:l,open:c,placeholder:d,preview:u,setProps:p}=e,m=(0,s.P5)(e);delete m.open,delete m.n_error,delete m.n_load;const h=(0,o.useMemo)(()=>{if(!1===u)return!1;return{..."object"==typeof u&&null!==u?(0,s.I4)({preview:u}).preview:{},...void 0===c?{}:{open:c},onOpenChange:e=>p?.({open:e})}},[c,u,p]);return r().createElement(i.A,{...m,preview:h,placeholder:(0,s.lq)(d),onError:()=>p?.({n_error:(n||0)+1}),onLoad:()=>p?.({n_load:(l||0)+1}),"data-dash-is-loading":(0,a.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/ImagePreviewGroup.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/image/index.js"),s=n("./src/utils/antd.tsx"),a=n("./src/utils/dash3.ts");const l=e=>{const{children:t,current:n,loading_state:o,open:l,preview:c,setProps:d}=e,u=(0,s.P5)(e);delete u.current,delete u.open;const p="object"==typeof c&&null!==c?(0,s.I4)({preview:c}).preview:{},m=!1!==c&&{...p,...void 0===n?{}:{current:n},...void 0===l?{}:{open:l},onChange:e=>d?.({current:e}),onOpenChange:e=>d?.({open:e})};return r().createElement(i.A.PreviewGroup,{...u,preview:m,"data-dash-is-loading":(0,a.A_)(o)||void 0},(0,s.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/QRCode.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>U});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js");function s(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let o=t-1;o>=0;o--)n.push(e>>>o&1)}function a(e,t){return!!(e>>>t&1)}function l(e){if(!e)throw new Error("Assertion error")}class c{static#e=(()=>{(0,i.A)(this,"NUMERIC",new c(1,[10,12,14])),(0,i.A)(this,"ALPHANUMERIC",new c(2,[9,11,13])),(0,i.A)(this,"BYTE",new c(4,[8,16,16])),(0,i.A)(this,"KANJI",new c(8,[8,10,12])),(0,i.A)(this,"ECI",new c(7,[0,0,0]))})();modeBits;numBitsCharCount;constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}class d{static#e=(()=>{(0,i.A)(this,"LOW",new d(0,1)),(0,i.A)(this,"MEDIUM",new d(1,0)),(0,i.A)(this,"QUARTILE",new d(2,3)),(0,i.A)(this,"HIGH",new d(3,2))})();ordinal;formatBits;constructor(e,t){this.ordinal=e,this.formatBits=t}}class u{static makeBytes(e){const t=[];for(const n of e)s(n,8,t);return new u(c.BYTE,e.length,t)}static makeNumeric(e){if(!u.isNumeric(e))throw new RangeError("String contains non-numeric characters");const t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);s(parseInt(e.substring(n,n+o),10),3*o+1,t),n+=o}return new u(c.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!u.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");const t=[];let n;for(n=0;n+2<=e.length;n+=2){let o=45*u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n));o+=u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n+1)),s(o,11,t)}return n<e.length&&s(u.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n)),6,t),new u(c.ALPHANUMERIC,e.length,t)}static makeSegments(e){return""==e?[]:u.isNumeric(e)?[u.makeNumeric(e)]:u.isAlphanumeric(e)?[u.makeAlphanumeric(e)]:[u.makeBytes(u.toUtf8ByteArray(e))]}static makeEci(e){const t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)s(e,8,t);else if(e<16384)s(2,2,t),s(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");s(6,3,t),s(e,21,t)}return new u(c.ECI,0,t)}static isNumeric(e){return u.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return u.ALPHANUMERIC_REGEX.test(e)}mode;numChars;bitData;constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const o of e){const e=o.mode.numCharCountBits(t);if(o.numChars>=1<<e)return 1/0;n+=4+e+o.bitData.length}return n}static toUtf8ByteArray(e){const t=encodeURI(e),n=[];for(let e=0;e<t.length;e++)"%"!=t.charAt(e)?n.push(t.charCodeAt(e)):(n.push(parseInt(t.substring(e+1,e+3),16)),e+=2);return n}static NUMERIC_REGEX=/^[0-9]*$/;static ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/;static ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"}class p{static encodeText(e,t){const n=u.makeSegments(e);return p.encodeSegments(n,t)}static encodeBinary(e,t){const n=u.makeBytes(e);return p.encodeSegments([n],t)}static encodeSegments(e,t,n=1,o=40,r=-1,i=!0){if(!(p.MIN_VERSION<=n&&n<=o&&o<=p.MAX_VERSION)||r<-1||r>7)throw new RangeError("Invalid value");let a,c;for(a=n;;a++){const n=8*p.getNumDataCodewords(a,t),r=u.getTotalBits(e,a);if(r<=n){c=r;break}if(a>=o)throw new RangeError("Data too long")}let m=t;for(const e of[d.MEDIUM,d.QUARTILE,d.HIGH])i&&c<=8*p.getNumDataCodewords(a,e)&&(m=e);const h=[];for(const t of e){s(t.mode.modeBits,4,h),s(t.numChars,t.mode.numCharCountBits(a),h);for(const e of t.getData())h.push(e)}l(h.length==c);const f=8*p.getNumDataCodewords(a,m);l(h.length<=f),s(0,Math.min(4,f-h.length),h),s(0,(8-h.length%8)%8,h),l(h.length%8==0);for(let e=236;h.length<f;e^=253)s(e,8,h);const g=[];for(;8*g.length<h.length;)g.push(0);return h.forEach((e,t)=>{g[t>>>3]|=e<<7-(7&t)}),new p(a,m,g,r)}size;mask;modules=[];isFunction=[];version;errorCorrectionLevel;constructor(e,t,n,o){let r=o;if(this.version=e,this.errorCorrectionLevel=t,e<p.MIN_VERSION||e>p.MAX_VERSION)throw new RangeError("Version value out of range");if(r<-1||r>7)throw new RangeError("Mask value out of range");this.size=4*e+17;const i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==r){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}l(0<=r&&r<=7),this.mask=r,this.applyMask(r),this.drawFormatBits(r),this.isFunction=[]}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let o=0;o<t;o++)0==n&&0==o||0==n&&o==t-1||n==t-1&&0==o||this.drawAlignmentPattern(e[n],e[o]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const o=21522^(t<<10|n);l(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(o,e));this.setFunctionModule(8,7,a(o,6)),this.setFunctionModule(8,8,a(o,7)),this.setFunctionModule(7,8,a(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;l(t>>>18==0);for(let e=0;e<18;e++){const n=a(t,e),o=this.size-11+e%3,r=Math.floor(e/3);this.setFunctionModule(o,r,n),this.setFunctionModule(r,o,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let o=-4;o<=4;o++){const r=Math.max(Math.abs(o),Math.abs(n)),i=e+o,s=t+n;0<=i&&i<this.size&&0<=s&&s<this.size&&this.setFunctionModule(i,s,2!=r&&4!=r)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let o=-2;o<=2;o++)this.setFunctionModule(e+o,t+n,1!=Math.max(Math.abs(o),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const t=this.version,n=this.errorCorrectionLevel;if(e.length!=p.getNumDataCodewords(t,n))throw new RangeError("Invalid argument");const o=p.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t],r=p.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t],i=Math.floor(p.getNumRawDataModules(t)/8),s=o-i%o,a=Math.floor(i/o),c=[],d=p.reedSolomonComputeDivisor(r);for(let t=0,n=0;t<o;t++){const o=e.slice(n,n+a-r+(t<s?0:1));n+=o.length;const i=p.reedSolomonComputeRemainder(o,d);t<s&&o.push(0),c.push(o.concat(i))}const u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!=a-r||n>=s)&&u.push(t[e])});return l(u.length==i),u}drawCodewords(e){if(e.length!=Math.floor(p.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let t=0;for(let n=this.size-1;n>=1;n-=2){6==n&&(n=5);for(let o=0;o<this.size;o++)for(let r=0;r<2;r++){const i=n-r,s=!(n+1&2)?this.size-1-o:o;!this.isFunction[s][i]&&t<8*e.length&&(this.modules[s][i]=a(e[t>>>3],7-(7&t)),t++)}}l(t==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let o;switch(e){case 0:o=(n+t)%2==0;break;case 1:o=t%2==0;break;case 2:o=n%3==0;break;case 3:o=(n+t)%3==0;break;case 4:o=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:o=n*t%2+n*t%3==0;break;case 6:o=(n*t%2+n*t%3)%2==0;break;case 7:o=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&o&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,o=0;const r=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[t][i]==n?(o++,5==o?e+=p.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*p.PENALTY_N3),n=this.modules[t][i],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*p.PENALTY_N3}for(let t=0;t<this.size;t++){let n=!1,o=0;const r=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][t]==n?(o++,5==o?e+=p.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*p.PENALTY_N3),n=this.modules[i][t],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*p.PENALTY_N3}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){const o=this.modules[t][n];o==this.modules[t][n+1]&&o==this.modules[t+1][n]&&o==this.modules[t+1][n+1]&&(e+=p.PENALTY_N2)}let t=0;for(const e of this.modules)t=e.reduce((e,t)=>e+(t?1:0),t);const n=this.size*this.size,o=Math.ceil(Math.abs(20*t-10*n)/n)-1;return l(0<=o&&o<=9),e+=o*p.PENALTY_N4,l(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),n=[6];for(let o=this.size-7;n.length<e;o-=t)n.splice(1,0,o);return n}}static getNumRawDataModules(e){if(e<p.MIN_VERSION||e>p.MAX_VERSION)throw new RangeError("Version number out of range");let t=(16*e+128)*e+64;if(e>=2){const n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return l(208<=t&&t<=29648),t}static getNumDataCodewords(e,t){return Math.floor(p.getNumRawDataModules(e)/8)-p.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*p.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");const t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<t.length;e++)t[e]=p.reedSolomonMultiply(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=p.reedSolomonMultiply(n,2)}return t}static reedSolomonComputeRemainder(e,t){const n=t.map(()=>0);for(const o of e){const e=o^n.shift();n.push(0),t.forEach((t,o)=>{n[o]^=p.reedSolomonMultiply(t,e)})}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let o=7;o>=0;o--)n=n<<1^285*(n>>>7),n^=(t>>>o&1)*e;return l(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];l(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){let o=t;return e&&(this.finderPenaltyAddHistory(o,n),o=0),o+=this.size,this.finderPenaltyAddHistory(o,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){let n=e;0==t[0]&&(n+=this.size),t.pop(),t.unshift(n)}static MIN_VERSION=1;static MAX_VERSION=40;static PENALTY_N1=3;static PENALTY_N2=3;static PENALTY_N3=40;static PENALTY_N4=10;static ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]];static NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]}const m={L:d.LOW,M:d.MEDIUM,Q:d.QUARTILE,H:d.HIGH},h="#FFFFFF",f="#000000",g=(e,t=0)=>{const n=[];return e.forEach((e,o)=>{let r=null;e.forEach((i,s)=>{if(!i&&null!==r)return n.push(`M${r+t} ${o+t}h${s-r}v1H${r+t}z`),void(r=null);if(s!==e.length-1)i&&null===r&&(r=s);else{if(!i)return;n.push(null===r?`M${s+t},${o+t} h1v1H${s+t}z`:`M${r+t},${o+t} h${s+1-r}v1H${r+t}z`)}})}),n.join("")},v=(e,t)=>e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>(n<t.x||n>=t.x+t.w)&&e)),y=(()=>{try{(new Path2D).addPath(new Path2D)}catch{return!1}return!0})();var _=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");const b=e=>{const{value:t,level:n,minVersion:o,includeMargin:i,marginSize:s,imageSettings:a,size:l,boostLevel:c}=e,d=r().useMemo(()=>{const e=(Array.isArray(t)?t:[t]).reduce((e,t)=>(e.push(...u.makeSegments(t)),e),[]);return p.encodeSegments(e,m[n],o,void 0,void 0,c)},[t,n,o,c]);return r().useMemo(()=>{const e=d.getModules(),t=((e,t)=>null!=t?Math.max(Math.floor(t),0):e?4:0)(i,s),n=e.length+2*t,o=((e,t,n,o)=>{if(null==o)return null;const r=e.length+2*n,i=Math.floor(.1*t),s=r/t,a=(o.width||i)*s,l=(o.height||i)*s,c=null==o.x?e.length/2-a/2:o.x*s,d=null==o.y?e.length/2-l/2:o.y*s,u=o.opacity??1;let p=null;if(o.excavate){const e=Math.floor(c),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(a+c-e),h:Math.ceil(l+d-t)}}return{x:c,y:d,h:l,w:a,excavation:p,opacity:u,crossOrigin:o.crossOrigin}})(e,l,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:o,qrcode:d}},[d,l,a,i,s])},w=r().forwardRef((e,t)=>{const{value:n,size:o=128,level:i="L",bgColor:s=h,fgColor:a=f,includeMargin:l=!1,minVersion:c=1,marginSize:d,style:u,imageSettings:p,boostLevel:m,...w}=e,S=p?.src,A=r().useRef(null),k=r().useRef(null),C=r().useCallback(e=>{A.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[,x]=r().useState(!1),{margin:E,cells:M,numCells:N,calculatedImageSettings:R}=b({value:n,level:i,minVersion:c,includeMargin:l,marginSize:d,imageSettings:p,size:o,boostLevel:m});r().useEffect(()=>{if(A.current){const e=A.current,t=e.getContext("2d");if(!t)return;let n=M;const r=k.current,i=null!=R&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;i&&null!=R.excavation&&(n=v(M,R.excavation));const l=window.devicePixelRatio||1;e.height=e.width=o*l;const c=o/N*l;t.scale(c,c),t.fillStyle=s,t.fillRect(0,0,N,N),t.fillStyle=a,y?t.fill(new Path2D(g(n,E))):M.forEach((e,n)=>{e.forEach((e,o)=>{e&&t.fillRect(o+E,n+E,1,1)})}),R&&(t.globalAlpha=R.opacity),i&&t.drawImage(r,R.x+E,R.y+E,R.w,R.h)}}),r().useEffect(()=>{x(!1)},[S]);const L={height:o,width:o,...u};let $=null;return null!=S&&($=r().createElement("img",{alt:"QR-Code",src:S,key:S,style:{display:"none"},onLoad:()=>{x(!0)},ref:k,crossOrigin:R?.crossOrigin})),r().createElement(r().Fragment,null,r().createElement("canvas",(0,_.A)({style:L,height:o,width:o,ref:C,role:"img"},w)),$)});const S=r().forwardRef((e,t)=>{const{value:n,size:o=128,level:i="L",bgColor:s=h,fgColor:a=f,includeMargin:l=!1,minVersion:c=1,title:d,marginSize:u,imageSettings:p,boostLevel:m,...y}=e,{margin:w,cells:S,numCells:A,calculatedImageSettings:k}=b({value:n,level:i,minVersion:c,includeMargin:l,marginSize:u,imageSettings:p,size:o,boostLevel:m});let C=S,x=null;null!=p&&null!=k&&(null!=k.excavation&&(C=v(S,k.excavation)),x=r().createElement("image",{href:p.src,height:k.h,width:k.w,x:k.x+w,y:k.y+w,preserveAspectRatio:"none",opacity:k.opacity,crossOrigin:k.crossOrigin}));const E=g(C,w);return r().createElement("svg",(0,_.A)({height:o,width:o,viewBox:`0 0 ${A} ${A}`,ref:t,role:"img"},y),!!d&&r().createElement("title",null,d),r().createElement("path",{fill:s,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),r().createElement("path",{fill:a,d:E,shapeRendering:"crispEdges"}),x)});var A=n("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),k=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),C=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),x=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),E=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),M=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),N=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),R=n("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"),L=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/Button.js"),$=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js");const I=r().createElement($.A,null);function T({prefixCls:e,locale:t,onRefresh:n,statusRender:o,status:i}){const s={expired:r().createElement(r().Fragment,null,r().createElement("p",{className:`${e}-expired`},t?.expired),n&&r().createElement(L.A,{type:"link",icon:r().createElement(R.A,null),onClick:n},t?.refresh)),loading:I,scanned:r().createElement("p",{className:`${e}-scanned`},t?.scanned)};return(o??(e=>s[e.status]))({status:i,locale:t,onRefresh:n})}var z=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),j=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),O=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),P=n("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),D=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const H=(0,P.OF)("QRCode",e=>(e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r}=e;return{[t]:{...(0,O.dF)(e),display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${(0,z.zA)(n)} ${o} ${r}`,position:"relative",overflow:"hidden",[`& > ${t}-cover`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeCoverBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0}},[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}})((0,D.oX)(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new j.Y(e.colorBgContainer).setA(.96).toRgbString()})),W=r().forwardRef((e,t)=>{const[,n]=(0,N.Ay)(),{value:o,type:i="canvas",icon:s="",size:a=160,iconSize:l,color:c=n.colorText,errorLevel:d="M",status:u="active",bordered:p=!0,onRefresh:m,style:h,className:f,rootClassName:g,prefixCls:v,bgColor:y="transparent",marginSize:_,statusRender:b,classNames:R,styles:L,boostLevel:$,...I}=e,{getPrefixCls:z,className:j,style:O,classNames:P,styles:D}=(0,E.TP)("qrcode"),W={...e,bgColor:y,type:i,size:a,status:u,bordered:p,errorLevel:d},F=(0,C.XT)(O),Y=(0,C.XT)(h),[X,B]=(0,C.AV)([P,R],[D,F,L,Y],{props:W}),U=z("qrcode",v),[V,q]=H(U),G={src:s,x:void 0,y:void 0,height:(0,x.Et)(l)?l:l?.height??40,width:(0,x.Et)(l)?l:l?.width??40,excavate:!0,crossOrigin:"anonymous"},Z=(0,A.KE)(I,!0),Q=(0,A.cJ)(I,Object.keys(Z)),K={value:o,size:a,level:d,bgColor:y,fgColor:c,style:{width:h?.width,height:h?.height},imageSettings:s?G:void 0,marginSize:_,boostLevel:$,...Z},[J]=(0,M.A)("QRCode");const ee=r().useRef(null);if(r().useImperativeHandle(t,()=>({nativeElement:ee.current})),!o)return null;const te=(0,k.$)(U,f,g,V,q,j,X.root,{[`${U}-borderless`]:!p}),ne={backgroundColor:y,...B.root,width:h?.width??a,height:h?.height??a};return r().createElement("div",{ref:ee,...Q,className:te,style:ne},"active"!==u&&r().createElement("div",{className:(0,k.$)(`${U}-cover`,X.cover),style:B.cover},r().createElement(T,{prefixCls:U,locale:J,status:u,onRefresh:m,statusRender:b})),r().createElement("canvas"===i?w:S,{...K}))});const F=W;var Y=n("./src/utils/dash3.ts"),X=n("./src/utils/antd.tsx");const B=e=>{const{loading_state:t,n_refresh:n,setProps:o}=e,i=(0,X.I4)(e);delete i.n_refresh;const s=()=>o?.({n_refresh:(n||0)+1}),a=e=>e?.closest?.(".dac-qr-code-status-refresh");return r().createElement(F,{...i,onClick:e=>{a(e.target)&&s()},onKeyDown:e=>{!a(e.target)||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s())},onRefresh:s,"data-dash-is-loading":(0,Y.A_)(t)||void 0})},U=e=>r().createElement(B,{...e})},"./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)-1===t.indexOf(n=i[o])&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{A:()=>o})},"./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"(e,t,n){"use strict";function o(e,t,n){var o=(n||{}).atBegin;return function(e,t,n){var o,r=n||{},i=r.noTrailing,s=void 0!==i&&i,a=r.noLeading,l=void 0!==a&&a,c=r.debounceMode,d=void 0===c?void 0:c,u=!1,p=0;function m(){o&&clearTimeout(o)}function h(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=this,c=Date.now()-p;function h(){p=Date.now(),t.apply(a,r)}function f(){o=void 0}u||(l||!d||o||h(),m(),void 0===d&&c>e?l?(p=Date.now(),s||(o=setTimeout(d?f:h,e))):h():!0!==s&&(o=setTimeout(d?f:h,void 0===d?e-c:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;m(),u=!n},h}(e,t,{debounceMode:!1!==(void 0!==o&&o)})}n.d(t,{s:()=>o})}}]);