dash-ant-design 0.0.1 → 0.1.0

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 (45) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +91 -1
  3. package/dash_antd_components/async-anchor.js +1 -0
  4. package/dash_antd_components/async-breadcrumb.js +1 -0
  5. package/dash_antd_components/async-cascader.js +1 -0
  6. package/dash_antd_components/async-controls.js +1 -0
  7. package/dash_antd_components/async-count.js +1 -0
  8. package/dash_antd_components/async-display.js +1 -0
  9. package/dash_antd_components/async-dnd.js +1 -0
  10. package/dash_antd_components/async-echarts.js +1 -0
  11. package/dash_antd_components/async-feedback.js +1 -0
  12. package/dash_antd_components/async-filled-icon.js +1 -0
  13. package/dash_antd_components/async-floating.js +1 -0
  14. package/dash_antd_components/async-form.js +1 -0
  15. package/dash_antd_components/async-g2.js +1 -0
  16. package/dash_antd_components/async-infographic.js +1 -0
  17. package/dash_antd_components/async-input.js +1 -0
  18. package/dash_antd_components/async-layout.js +1 -0
  19. package/dash_antd_components/async-locale.js +1 -0
  20. package/dash_antd_components/async-lunar-calendar.js +1 -0
  21. package/dash_antd_components/async-markdown.js +1 -0
  22. package/dash_antd_components/async-media.js +1 -0
  23. package/dash_antd_components/async-mentions.js +1 -0
  24. package/dash_antd_components/async-menu.js +1 -0
  25. package/dash_antd_components/async-outlined-icon.js +1 -0
  26. package/dash_antd_components/async-overlay.js +1 -0
  27. package/dash_antd_components/async-pagination.js +1 -0
  28. package/dash_antd_components/async-picker.js +1 -0
  29. package/dash_antd_components/async-prism.js +1 -1
  30. package/dash_antd_components/async-s2.js +1 -0
  31. package/dash_antd_components/async-select.js +1 -0
  32. package/dash_antd_components/async-steps.js +1 -0
  33. package/dash_antd_components/async-table.js +1 -0
  34. package/dash_antd_components/async-tabs.js +1 -0
  35. package/dash_antd_components/async-transfer.js +1 -0
  36. package/dash_antd_components/async-tree.js +1 -0
  37. package/dash_antd_components/async-twotone-icon.js +1 -0
  38. package/dash_antd_components/async-upload.js +1 -0
  39. package/dash_antd_components/dash_antd_components.js +1 -1
  40. package/dash_antd_components/proptypes.js +1778 -1294
  41. package/package.json +58 -13
  42. package/dash_antd_components/async-data-display.js +0 -1
  43. package/dash_antd_components/async-data-entry.js +0 -1
  44. package/dash_antd_components/async-icon.js +0 -1
  45. package/dash_antd_components/async-shared.js +0 -1
@@ -0,0 +1 @@
1
+ (self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-media"],{"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ReloadOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/RotateLeftOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/RotateRightOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/SwapOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ZoomInOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ZoomOutOutlined.js"(e,t){"use strict";t.A={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"}},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ReloadOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/RotateLeftOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/RotateRightOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/SwapOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ZoomInOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"(e,t,n){"use strict";n.r(t);var o=n("react"),r=n("./node_modules/.pnpm/@ant-design+icons-svg@4.5.0/node_modules/@ant-design/icons-svg/lib/asn/ZoomOutOutlined.js"),i=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/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)}n.d(t,["default",0,o.forwardRef((e,t)=>o.createElement(i.A,s({},e,{ref:t,icon:r.A})))])},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/image/index.js"(e,t,n){"use strict";n.d(t,{A:()=>me});var o=n("react"),r=n.n(o),i=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/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@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/motion/es/index.js"),l=n("./node_modules/.pnpm/@rc-component+portal@2.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/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 f({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 h(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function g(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 v(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:f,scale:h,minScale:g,maxScale:v,onActive:y,onFlipY:b,onFlipX:_,onRotateLeft:w,onRotateRight:S,onZoomOut:k,onZoomIn:C,onClose:A,onReset:x}=e,{left:E,right:M,prev:R,next:N,flipY:L,flipX:I,rotateLeft:T,rotateRight:$,zoomOut:O,zoomIn:j}=d,z=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:R??E,onClick:()=>y(-1),type:"prev",disabled:0===r}):void 0,W=a?D({icon:N??M,onClick:()=>y(1),type:"next",disabled:r===i-1}):void 0,F=D({icon:L,onClick:b,type:"flipY"}),X=D({icon:I,onClick:_,type:"flipX"}),Y=D({icon:T,onClick:w,type:"rotateLeft"}),B=D({icon:$,onClick:S,type:"rotateRight"}),U=D({icon:O,onClick:k,type:"zoomOut",disabled:h<=g}),V=D({icon:j,onClick:C,type:"zoomIn",disabled:h===v}),G=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},z,f?f(G,{icons:{prevIcon:H,nextIcon:W,flipYIcon:F,flipXIcon:X,rotateLeftIcon:Y,rotateRightIcon:B,zoomOutIcon:U,zoomInIcon:V},actions:{onActive:y,onFlipY:b,onFlipX:_,onRotateLeft:w,onRotateRight:S,onZoomOut:k,onZoomIn:C,onReset:x,onClose:A},transform:p,current:r,total:i,image:u}):G)}function y(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 _=({fallback:e,src:t,imgRef:n,...o})=>{const[i,s]=f({src:t,fallback:e});return r().createElement("img",b({ref:e=>{n.current=e,i(e)}},o,s))},w=e=>{const{prefixCls:t,rootClassName:n,src:p,alt:f,imageInfo:w,fallback:S,movable:k=!0,onClose:C,open:A,afterOpenChange:x,maskClosable:E=!0,icons:M={},closeIcon:R,getContainer:N,current:L=0,count:I=1,countRender:T,scaleStep:$=.5,minScale:O=1,maxScale:j=50,motionName:z="fade",imageRender:P,imgCommonProps:D,actionsRender:H,onTransform:W,onChange:F,classNames:X={},styles:Y={},mousePosition:B,zIndex:U,wheel:V=!0,focusTrap:G=!0}=e,Z=(0,o.useRef)(null),q=(0,o.useRef)(null),Q=(0,o.useRef)(null),K=(0,o.useContext)(c),J=K&&I>1,ee=K&&I>=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:f,offsetLeft:h,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 b=i??innerWidth/2,_=s??innerHeight/2,w=v-1;let S=l.x-(w*(b-l.x-h)-w*c*.5),k=l.y-(w*(_-l.y-g)-w*u*.5);if(o<1&&1===y){const e=m*y,t=f*y,{width:n,height:o}=d();e<=n&&t<=o&&(S=0,k=0)}p({x:S,y:k,scale:y},r)}}}(Z,O,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:f}=s,[h,g]=(0,o.useState)(!1),v=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),y=e=>{n&&h&&a({x:e.pageX-v.current.diffX,y:e.pageY-v.current.diffY},"move")},b=()=>{if(n&&h){g(!1);const{transformX:t,transformY:n}=v.current;if(p===t||f===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",b,!1),window.addEventListener("mousemove",y,!1);try{window.top!==window.self&&(window.top.addEventListener("mouseup",b,!1),window.top.addEventListener("mousemove",y,!1))}catch(e){(0,i.$e)(!1,`[rc-image] ${e}`)}}return()=>{window.removeEventListener("mouseup",b),window.removeEventListener("mousemove",y);try{window.top?.removeEventListener("mouseup",b),window.top?.removeEventListener("mousemove",y)}catch(e){}}},[n,h,p,f,d,t]),{isMoving:h,onMouseDown:e=>{t&&0===e.button&&(e.preventDefault(),e.stopPropagation(),v.current={diffX:e.pageX-p,diffY:e.pageY-f,transformX:p,transformY:f},g(!0))},onMouseMove:y,onMouseUp:b,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)}}}(Z,k,A,$,oe,ie,se,V),{isTouching:de,onTouchStart:ue,onTouchMove:pe,onTouchEnd:me}=function(e,t,n,r,i,s,a){const{rotate:l,scale:c,x:d,y:u}=i,[p,f]=(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(),f(!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=h(e,n),i=h(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=h(e,r)/h(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&&f(!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")}}}(Z,k,A,O,oe,ie,se),{rotate:fe,scale:he}=oe;(0,o.useEffect)(()=>{te||ne(!0)},[te]),(0,o.useEffect)(()=>{A||re("close")},[A]);const ge=r().createElement(_,b({},D,{width:e.width,height:e.height,imgRef:Z,className:`${t}-img`,alt:f,style:{transform:`translate3d(${oe.x}px, ${oe.y}px, 0) scale3d(${oe.flipX?"-":""}${he}, ${oe.flipY?"-":""}${he}, 1) rotate(${fe}deg)`,transitionDuration:(!te||de)&&"0s"},fallback:S,src:p,onWheel:ce,onMouseDown:le,onDoubleClick:e=>{A&&(1!==he?ie({x:0,y:0,scale:1},"doubleClick"):se(1+$,"doubleClick",e.clientX,e.clientY))},onTouchStart:ue,onTouchMove:pe,onTouchEnd:me,onTouchCancel:me})),ve={url:p,alt:f,...w},ye=()=>{se(1+$,"zoomIn")},be=()=>{se(1/(1+$),"zoomOut")},_e=()=>{ie({rotate:fe+90},"rotateRight")},we=()=>{ie({rotate:fe-90},"rotateLeft")},Se=()=>{ie({flipX:!oe.flipX},"flipX")},ke=()=>{ie({flipY:!oe.flipY},"flipY")},Ce=()=>{re("reset")},Ae=e=>{const t=L+e;t>=0&&t<=I-1&&(ne(!1),re(e<0?"prev":"next"),F?.(t,L))},xe=(0,i._q)(e=>{if(A){const{keyCode:t}=e;J&&(t===i.DD.LEFT?Ae(-1):t===i.DD.RIGHT&&Ae(1))}});(0,o.useEffect)(()=>{if(A)return window.addEventListener("keydown",xe),()=>{window.removeEventListener("keydown",xe)}},[A]);const[Ee,Me]=(0,o.useState)(!1);r().useEffect(()=>{A&&Me(!0)},[A]);const[Re,Ne]=(0,o.useState)(!1);(0,i.Nf)(()=>{A&&Ne(!0)},[A]),(0,i.Nf)(()=>{A&&(Q.current=document.activeElement)},[A]),(0,i.T$)(G&&A&&Re,()=>q.current);const Le={...Y.body};return B&&(Le.transformOrigin=`${B.x}px ${B.y}px`),r().createElement(l.A,{open:Re&&A,autoDestroy:!1,getContainer:N,autoLock:Ee,onEsc:({top:e})=>{e&&C?.()}},r().createElement(a.Ay,{motionName:z,visible:Re&&A,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:q,className:(0,s.$)(t,n,X.root,e,{[`${t}-movable`]:k,[`${t}-moving`]:ae}),style:i,role:"dialog","aria-modal":"true","aria-label":f,tabIndex:-1},r().createElement("div",{className:(0,s.$)(`${t}-mask`,X.mask),style:Y.mask,onClick:E?C: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!==R&&null!==R&&r().createElement(g,{prefixCls:t,icon:!0===R?M.close:R||M.close,onClick:C,className:X.close,style:Y.close}),J&&r().createElement(y,{prefixCls:t,current:L,count:I,icons:M,onActive:Ae}),r().createElement(v,{prefixCls:t,showProgress:ee,current:L,count:I,showSwitch:J,classNames:X,styles:Y,image:ve,transform:oe,icons:M,countRender:T,actionsRender:H,scale:he,minScale:O,maxScale:j,onActive:Ae,onFlipY:ke,onFlipX:Se,onRotateLeft:we,onRotateRight:_e,onZoomOut:be,onZoomIn:ye,onClose:C,onReset:Ce}))}))},S=["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)}let C=0;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},A.apply(this,arguments)}const x=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:h,alt:g,placeholder:v,fallback:y,preview:b=!0,onClick:_,onError:k,onKeyDown:x,...E}=e,M=(0,o.useContext)(c),R=!!b,{src:N,open:L,onOpenChange:I,cover:T,rootClassName:$,...O}=b&&"object"==typeof b?b:{},j="object"==typeof T&&T.placement&&T.placement||"center",z="object"==typeof T&&T.coverNode?T.coverNode:T,[P,D]=(0,i.PW)(!!L,L),[H,W]=(0,o.useState)(null),F=e=>{D(e),I?.(e)},X=v&&!0!==v,Y=N??h,[B,U,V]=f({src:h,isCustomPlaceholder:X,fallback:y}),G=(0,o.useMemo)(()=>{const t={};return S.forEach(n=>{void 0!==e[n]&&(t[n]=e[n])}),t},S.map(t=>e[t])),Z=(0,o.useMemo)(()=>({...G,src:Y}),[Y,G]),q=function(e,t){const[n]=o.useState(()=>(C+=1,String(C))),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}(R,Z);return o.createElement(o.Fragment,null,o.createElement("div",A({},E,{className:(0,s.$)(t,r,d.root,{[`${t}-error`]:"error"===V}),onClick:R?e=>{const t=e.target.getBoundingClientRect(),n=t.x+t.width/2,o=t.y+t.height/2;M?M.onPreview(q,Y,n,o):(W({x:n,y:o}),F(!0)),_?.(e)}:_,role:R?"button":E.role,tabIndex:R&&null==E.tabIndex?0:E.tabIndex,"aria-label":R?E["aria-label"]??g:E["aria-label"],onKeyDown:e=>{if(x?.(e),R&&("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(q,Y,n,o):(W({x:n,y:o}),F(!0))}},style:{width:p,height:m,...u.root}}),o.createElement("img",A({},G,{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:k})),"loading"===V&&o.createElement("div",{"aria-hidden":"true",className:`${t}-placeholder`},v),!1!==T&&R&&o.createElement("div",{className:(0,s.$)(`${t}-cover`,d.cover,`${t}-cover-${j}`),style:{display:"none"===l?.display?"none":void 0,...u.cover}},z)),!M&&R&&o.createElement(w,A({"aria-hidden":!P,open:P,prefixCls:n,onClose:()=>{F(!1)},mousePosition:H,src:Y,alt:g,imageInfo:{width:p,height:m},fallback:y,imgCommonProps:G},O,{classNames:d?.popup,styles:u?.popup,rootClassName:(0,s.$)($,r)})))};x.PreviewGroup=({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:f,...h}=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",...S].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),[C,A]=(0,o.useState)(!1),{src:x,...E}=g[b]?.data||{},[M,R]=(0,i.PW)(!!u,u),N=(0,i._q)(e=>{R(e),e!==M&&p?.(e,{current:b})}),[L,I]=(0,o.useState)(null),T=o.useCallback((e,t,n,o)=>{const r=g.findIndex(y?e=>e.data.src===t:t=>t.id===e);_(r<0?0:r),N(!0),I({x:n,y:o}),A(!0)},[g,y]);o.useEffect(()=>{M?C||_(0):A(!1)},[M]);const $=o.useMemo(()=>({register:v,onPreview:T}),[v,T]);return o.createElement(c.Provider,{value:$},r,o.createElement(w,k({"aria-hidden":!M,open:M,prefixCls:e,onClose:()=>{N(!1),I(null)},mousePosition:L,imgCommonProps:E,src:x,fallback:d,icons:s,current:b,count:g.length,onChange:(e,t)=>{_(e),f?.(e,t)}},h,{classNames:t?.popup,styles:n?.popup})))};const E=x;var M=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),R=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),N=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),L=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useZIndex.js"),I=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergedMask.js"),T=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/motion.js");const $=(e,t,n,o,i,a,l)=>{const[c]=(0,L.YK)("ImagePreview",e?.zIndex),[d,u,p]=(0,I.u)(e?.mask,t?.mask,`${n}-preview`);return r().useMemo(()=>{if(!e)return e;const{cover:r,getContainer:m,closeIcon:f,rootClassName:h}=e,{closeIcon:g}=t??{};return{motionName:(0,T.b)(`${n}-preview`,"fade"),...e,...l?{cover:r??l}:{},icons:a,getContainer:m??i,zIndex:c,closeIcon:f??g,rootClassName:(0,s.$)(o,h),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.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/is.js");function j(e){return(0,O.Qd)(e)&&!(0,o.isValidElement)(e)}function z(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,...f}=t;let h;n?h=n:a&&(h=(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[{...f,open:e??s,onOpenChange:h,cover:r??g,mask:v,actionsRender:i??m},l,c]},[t])}var P=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),D=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),H=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/RightOutlined.js"),W=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js"),F=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js"),X=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/SwapOutlined.js"),Y=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js"),B=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js"),U=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),V=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),G=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),Z=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js"),q=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js");const Q=new U.Mo("antImageProgressActive",{"0%":{backgroundPosition:"200% 0"},"100%":{backgroundPosition:"-200% 0"}}),K=(e,t,n,o="translate(0%, 0%)",r=.8)=>new U.Mo(e,{"0%":{transform:o,opacity:r},"50%":{transform:t,opacity:n},"100%":{transform:o,opacity:r}}),J=K("antImageInkFlow1","translate(15%, -20%) scale(1.25)",.5),ee=K("antImageInkFlow2","translate(-18%, 15%) scale(0.85)",.9,"translate(0%, 0%) scale(1.1)",.7),te=K("antImageInkFlow3","translate(8%, 10%) scale(1.15)",.8,"translate(0%, 0%) scale(0.85)",.65),ne=e=>({position:e||"absolute",inset:0}),oe=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 V.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"}}}},re=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:J,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:ee,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:te,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:te,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:J,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:Q,animationDuration:r,animationTimingFunction:"linear",animationIterationCount:"infinite"}},[`${t}-progress-indicator`]:{marginTop:e.marginXS}}}},ie=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:f,zIndexPopup:h}=e,g=new V.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:f,"&:hover":{backgroundColor:v.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":(0,q.jk)(e)};return{[`${r}-preview`]:{textAlign:"center",inset:0,position:"fixed",userSelect:"none",zIndex:h,[`${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`]:{...ne(),"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,U.zA)(u)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:f,"&-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,q.jk)(e),"&-disabled":{color:m,cursor:"not-allowed"}}}}}},se=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",...(0,q.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`]:{...ne()}}}},ae=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}`}}}}}}},le=(0,G.OF)("Image",e=>{const t=(0,Z.oX)(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[se(t),oe(t),re(t),ie(t),ae(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new V.Y(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new V.Y(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new V.Y(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon,progressAnimationDuration:"3s"})),ce={rotateLeft:o.createElement(W.default,null),rotateRight:o.createElement(F.default,null),zoomIn:o.createElement(Y.default,null),zoomOut:o.createElement(B.default,null),close:o.createElement(P.default,null),left:o.createElement(D.default,null),right:o.createElement(H.default,null),flipX:o.createElement(X.default,null),flipY:o.createElement(X.default,{rotate:90})},de={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},ue=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,f=p?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m,"aria-label":`${m}%`}:{"aria-busy":!0},h=p?o.createElement("div",{className:(0,s.$)(`${t}-progress-rail`,i?.rail),style:{...a?.rail,"--progress-percent":`${m}%`}}):null,g=r?r(h,m):o.createElement(o.Fragment,null,h,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},...f},!p&&o.createElement("span",{role:"status","aria-live":"polite",style:de},"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))},pe=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:f,getPopupContainer:h,className:g,style:v,preview:y,styles:b,classNames:_,fallback:w}=(0,R.TP)("image"),S=f("image",t),k=(0,N.A)(S),[C,A]=le(S,k),x=(0,s.$)(i,C,A,k),L=(0,s.$)(r,C,g),[I,T,O]=z(n),[P,D,H]=z(y),W=$(I,P,S,x,h,ce,!0),F={...e,preview:W},X=o.useMemo(()=>({cover:(0,s.$)(H,O),popup:{root:(0,s.$)(D,T)}}),[T,O,D,H]),{mask:Y,blurClassName:B}=W??{},U=o.useMemo(()=>({mask:(0,s.$)({[`${S}-preview-mask-hidden`]:!Y},B)}),[Y,S,B]),V=o.useMemo(()=>[_,c,X,{popup:U}],[_,c,X,U]),G=(0,M.XT)(v,"image"),Z=(0,M.XT)(a,"image"),q=(0,M.XT)(v),Q=(0,M.XT)(a),[K,J]=(0,M.AV)(V,[b,{root:d},G,l,Z],{props:F},{popup:{_default:"root"},placeholder:{}}),[,ee]=(0,M.AV)([],[b,q,{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&&j(e)?"boolean"==typeof e.progress?{progressConfig:e.progress?{}:void 0}:{progressConfig:e.progress}:{},[e])}(p),ie=void 0!==re,{percent:se,render:ae}=re||{},de=K?.placeholder?.progress,pe=ee?.placeholder?.progress,{width:me,height:fe,src:he,...ge}=m,ve=j(p)?void 0:p,ye=ve&&!he;return ie||ye?o.createElement(ue,{prefixCls:S,percent:se,render:ye?e=>ve:ae,classNames:de,styles:pe,rootClassName:(0,s.$)(x,L),rootStyle:ee?.root,width:me,height:fe}):o.createElement(E,{prefixCls:S,preview:W||!1,rootClassName:x,className:L,style:te,fallback:oe,placeholder:ve,width:me,height:fe,src:he,...ge,classNames:K,styles:ne})};pe.PreviewGroup=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{const{getPrefixCls:a,getPopupContainer:l,direction:c,preview:d,classNames:u,styles:p}=(0,R.TP)("image"),m=a("image",e),f=`${m}-preview`,h=(0,N.A)(m),[g,v]=le(m,h),y=(0,s.$)(g,v,h),[b,_,w]=z(t),[S,k,C]=z(d),A=o.useMemo(()=>({...ce,left:o.createElement("rtl"===c?H.default:D.default,null),right:o.createElement("rtl"===c?D.default:H.default,null)}),[c]),x=$(b,S,m,y,l,ce),{mask:L,blurClassName:I}=x??{},T={...i,classNames:n,styles:r},[O,j]=(0,M.AV)([u,n,{cover:(0,s.$)(C,w),popup:{root:(0,s.$)(k,_),mask:(0,s.$)({[`${m}-preview-mask-hidden`]:!L},I)}}],[p,r],{props:T},{popup:{_default:"root"}});return o.createElement(E.PreviewGroup,{preview:x,previewPrefixCls:f,icons:A,...i,classNames:O,styles:j})};const me=pe},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/spin/index.js"(e,t,n){"use strict";n.d(t,{A:()=>R});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.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),a=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),l=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/hooks/useSize.js"),c=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/reactNode.js"),d=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/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 f(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 h(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(f,{prefixCls:t,percent:i,className:s,style:a})}var g=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),v=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js"),y=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),b=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js");const _=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}}}}}},k=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:_,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}}}}},C=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}}}},A=(0,y.OF)("Spin",e=>{const t=(0,b.oX)(e,{spinDotDefault:e.colorTextDescription});return[S(t),k(t),C(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:f,description:g,wrapperClassName:v,style:y,children:b,fullscreen:_=!1,indicator:w,percent:S,classNames:k,styles:C,...M}=e,{getPrefixCls:R,direction:N,indicator:L,className:I,style:T,classNames:$,styles:O}=(0,a.TP)("spin"),j=R("spin",n),[z,P]=A(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??f,Y={...e,size:F,spinning:D,tip:X,description:X,fullscreen:_,children:b,percent:W},B=(0,s.XT)(T),[U,V]=(0,s.AV)([$,k],[O,B,C],{props:Y}),G=w??L??E,Z=void 0!==b,q=Z||_,Q=o.createElement(o.Fragment,null,o.createElement(h,{className:(0,r.$)(U.indicator),style:V.indicator,prefixCls:j,indicator:G,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"===N,[`${j}-fullscreen`]:_},p,U.root,_&&U.mask,q?v:[`${j}-section`,U.section],I,u,z,P),style:{...V.root,...q?{}:V.section,..._?V.mask:{},...y},"aria-live":"polite","aria-busy":D,...M},D&&(q?o.createElement("div",{className:(0,r.$)(`${j}-section`,U.section),style:V.section},Q):Q),Z&&o.createElement("div",{className:(0,r.$)(`${j}-container`,U.container),style:V.container},b))});M.setDefaultIndicator=e=>{E=e};const R=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/async/dataDisplay/Carousel.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>Re});var o=n("react/jsx-runtime"),r=n("react"),i=n.n(r),s=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js"),a=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),l=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),c=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js"),d=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"),u=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"),p=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),m=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js"),f=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"),g=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");const v={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 y=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),b=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 i().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 i().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 w(e,t,n){return Math.max(t,Math.min(e,n))}var S=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},k=function(e){for(var t=[],n=C(e),o=A(e),r=n;r<o;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},C=function(e){return e.currentSlide-x(e)},A=function(e){return e.currentSlide+E(e)},x=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},M=function(e){return e&&e.offsetWidth||0},R=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"},L=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},I=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},T=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},$=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+R(o)/2>-1*e.swipeLeft)return n=o,!1}else if(o.offsetLeft-t+M(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},O=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},j=function(e){var t,n;O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=W(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)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=(0,a.A)((0,a.A)({},o),{},{WebkitTransform:r,transform:i,msTransform:s})}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},z=function(e){O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=j(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},P=function(e){if(e.unslick)return 0;O(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,f=e.vertical;if(e.fade||1===e.slideCount)return 0;var h=0;if(i?(h=-D(e),a%c!==0&&o+c>a&&(h=-(o>a?l-(o-a):a%c)),s&&(h+=parseInt(l/2))):(a%c!==0&&o+c>a&&(h=l-a%c),s&&(h=parseInt(l/2))),t=f?o*m*-1+h*m:o*d*-1+h*d,!0===p){var g,v=r&&r.node;if(g=o+D(e),t=(n=v&&v.childNodes[g])?-1*n.offsetLeft:0,!0===s){g=i?o+D(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},D=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},H=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},W=function(e){return 1===e.slideCount?1:D(e)+e.slideCount+H(e)},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(_),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},G=function(e){function t(){var e,n,o,r;(0,l.A)(this,t);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return n=this,o=t,r=[].concat(s),o=(0,p.A)(o),e=(0,d.A)(n,(0,u.A)()?Reflect.construct(o,r||[],(0,p.A)(n).constructor):o.apply(n,r)),(0,f.A)(e,"node",null),(0,f.A)(e,"handleRef",function(t){e.node=t}),e}return(0,m.A)(t,e),(0,c.A)(t,[{key:"render",value:function(){var e=function(e){var t,n=[],o=[],r=[],s=i().Children.count(e.children),l=C(e),c=A(e);return i().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:i().createElement("div",null);var f=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,a.A)((0,a.A)({},e),{},{index:u})),h=p.props.className||"",g=U((0,a.A)((0,a.A)({},e),{},{index:u}));if(n.push(i().cloneElement(p,{key:"original"+V(p,u),"data-index":u,className:(0,b.$)(g,h),tabIndex:"-1","aria-hidden":!g["slick-active"],style:(0,a.A)((0,a.A)({outline:"none"},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&s>1&&!1===e.fade&&!e.unslick){var v=s-u;v<=D(e)&&((t=-v)>=l&&(p=d),g=U((0,a.A)((0,a.A)({},e),{},{index:t})),o.push(i().cloneElement(p,{key:"precloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,b.$)(g,h),"aria-hidden":!g["slick-active"],style:(0,a.A)((0,a.A)({},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),u<H(e)&&((t=s+u)<c&&(p=d),g=U((0,a.A)((0,a.A)({},e),{},{index:t})),r.push(i().cloneElement(p,{key:"postcloned"+V(p,t),"data-index":t,tabIndex:"-1",className:(0,b.$)(g,h),"aria-hidden":!g["slick-active"],style:(0,a.A)((0,a.A)({},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}}),e.rtl?o.concat(n,r).reverse():o.concat(n,r)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i().createElement("div",(0,s.A)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])}(i().PureComponent),Z=function(e){function t(){return(0,l.A)(this,t),e=this,o=arguments,n=(0,p.A)(n=t),(0,d.A)(e,(0,u.A)()?Reflect.construct(n,o||[],(0,p.A)(e).constructor):n.apply(e,o));var e,n,o}return(0,m.A)(t,e),(0,c.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,r=t.onMouseLeave,s=t.infinite,l=t.slidesToScroll,c=t.slideCount,d=t.currentSlide,u=(e={slideCount:c,slidesToScroll:l,slidesToShow:t.slidesToShow,infinite:s}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,p={onMouseEnter:n,onMouseOver:o,onMouseLeave:r},m=[],f=0;f<u;f++){var h=(f+1)*l-1,g=s?h:w(h,0,c-1),v=g-(l-1),y=s?v:w(v,0,c-1),_=(0,b.$)({"slick-active":s?d>=y&&d<=g:d===y}),S=this.clickHandler.bind(this,{message:"dots",index:f,slidesToScroll:l,currentSlide:d});m=m.concat(i().createElement("li",{key:f,className:_},i().cloneElement(this.props.customPaging(f),{onClick:S})))}return i().cloneElement(this.props.appendDots(m),(0,a.A)({className:this.props.dotsClass},p))}}])}(i().PureComponent);function q(e,t,n){return t=(0,p.A)(t),(0,d.A)(e,(0,u.A)()?Reflect.construct(t,n||[],(0,p.A)(e).constructor):t.apply(e,n))}var Q=function(e){function t(){return(0,l.A)(this,t),q(this,t,arguments)}return(0,m.A)(t,e),(0,c.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,b.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i().cloneElement(this.props.prevArrow,(0,a.A)((0,a.A)({},n),o)):i().createElement("button",(0,s.A)({key:"0",type:"button"},n)," ","Previous")}}])}(i().PureComponent),K=function(e){function t(){return(0,l.A)(this,t),q(this,t,arguments)}return(0,m.A)(t,e),(0,c.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"});L(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,b.$)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i().cloneElement(this.props.nextArrow,(0,a.A)((0,a.A)({},n),o)):i().createElement("button",(0,s.A)({key:"1",type:"button"},n)," ","Next")}}])}(i().PureComponent),J=["animating"],ee=function(e){function t(e){var n,o,r,c;(0,l.A)(this,t),o=this,c=[e],r=(0,p.A)(r=t),n=(0,d.A)(o,(0,u.A)()?Reflect.construct(r,c||[],(0,p.A)(o).constructor):r.apply(o,c)),(0,f.A)(n,"listRefHandler",function(e){return n.list=e}),(0,f.A)(n,"trackRefHandler",function(e){return n.track=e}),(0,f.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=R(e)+"px"}}),(0,f.A)(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=k((0,a.A)((0,a.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,a.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,f.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,f.A)(n,"componentDidUpdate",function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=k((0,a.A)((0,a.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,a.A)((0,a.A)({listRef:n.list,trackRef:n.track},n.props),n.state),r=n.didPropsChange(e);r&&n.updateState(o,r,function(){n.state.currentSlide>=i().Children.count(n.props.children)&&n.changeSlide({message:"index",index:i().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,f.A)(n,"onWindowResized",function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,y.s)(50,function(){return n.resizeWindow(e)}),n.debouncedResize()}),(0,f.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,a.A)((0,a.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,f.A)(n,"updateState",function(e,t,o){var r=function(e){var t,n=i().Children.count(e.children),o=e.listRef,r=Math.ceil(M(o)),s=Math.ceil(M(e.trackRef&&e.trackRef.node));if(e.vertical)t=r;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=r/100),t=Math.ceil((r-l)/e.slidesToShow)}var c=o&&R(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=k((0,a.A)((0,a.A)({},e),{},{currentSlide:u,lazyLoadedList:p})),f={slideCount:n,slideWidth:t,listWidth:r,trackWidth:s,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:p=p.concat(m)};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f}(e);e=(0,a.A)((0,a.A)((0,a.A)({},e),r),{},{slideIndex:r.currentSlide});var s=P(e);e=(0,a.A)((0,a.A)({},e),{},{left:s});var l=j(e);(t||i().Children.count(n.props.children)!==i().Children.count(e.children))&&(r.trackStyle=l),n.setState(r,o)}),(0,f.A)(n,"ssrInit",function(){if(n.props.variableWidth){var e=0,t=0,o=[],r=D((0,a.A)((0,a.A)((0,a.A)({},n.props),n.state),{},{slideCount:n.props.children.length})),s=H((0,a.A)((0,a.A)((0,a.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<r;l++)t+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<s;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=i().Children.count(n.props.children),f=(0,a.A)((0,a.A)((0,a.A)({},n.props),n.state),{},{slideCount:m}),h=D(f)+H(f)+m,g=100/n.props.slidesToShow*h,v=100/h,y=-v*(D(f)+n.state.currentSlide)*g/100;return n.props.centerMode&&(y+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:y+"%"}}}),(0,f.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,f.A)(n,"progressiveLazyLoad",function(){for(var e=[],t=(0,a.A)((0,a.A)({},n.props),n.state),o=n.state.currentSlide;o<n.state.slideCount+H(t);o++)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var r=n.state.currentSlide-1;r>=-D(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,f.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,s=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,s=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,f,h,g=o,v={},y={},b=n?o:w(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):!L(e)&&g>s?g=m=s: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),f=P((0,a.A)((0,a.A)({},e),{},{slideIndex:g})),h=P((0,a.A)((0,a.A)({},e),{},{slideIndex:m})),n||(f===h&&(g=m),f=h),i&&(p=p.concat(k((0,a.A)((0,a.A)({},e),{},{currentSlide:g})))),u?(v={animating:!0,currentSlide:m,trackStyle:z((0,a.A)((0,a.A)({},e),{},{left:f})),lazyLoadedList:p,targetSlide:b},y={animating:!1,currentSlide:m,trackStyle:j((0,a.A)((0,a.A)({},e),{},{left:h})),swipeLeft:null,targetSlide:b}):v={currentSlide:m,trackStyle:j((0,a.A)((0,a.A)({},e),{},{left:h})),lazyLoadedList:p,targetSlide:b};return{state:v,nextState:y}}((0,a.A)((0,a.A)((0,a.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 f=p.lazyLoadedList.filter(function(e){return n.state.lazyLoadedList.indexOf(e)<0});s&&f.length>0&&s(f),!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,g.A)(m,J);n.setState(t,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:e})},10)),c&&c(p.currentSlide),delete n.animationEndCallback})},l))})}}),(0,f.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,s=e.slidesToScroll,l=e.slideCount,c=e.currentSlide,d=e.targetSlide,u=e.lazyLoad,p=e.infinite;if(n=l%s!==0?0:(l-c)%s,"previous"===t.message)i=c-(r=0===n?s:e.slidesToShow-n),u&&!p&&(i=-1===(o=c-r)?l-1:o),p||(i=d-s);else if("next"===t.message)i=c+(r=0===n?s:n),u&&!p&&(i=(c+s)%l+n),p||(i=d+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,p){var m=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-X(e)?"right":"left"}((0,a.A)((0,a.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,a.A)((0,a.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,f.A)(n,"clickHandler",function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0}),(0,f.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,f.A)(n,"selectHandler",function(e){n.changeSlide(e)}),(0,f.A)(n,"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,f.A)(n,"enableBodyScroll",function(){window.ontouchmove=null}),(0,f.A)(n,"swipeStart",function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=function(e,t,n){return"IMG"===e.target.tagName&&S(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,f.A)(n,"swipeMove",function(e){var t=function(e,t){var n=t.vertical,o=t.swipeToSlide,r=t.verticalSwiping,i=t.rtl,s=t.currentSlide,l=t.edgeFriction,c=t.edgeDragged,d=t.onEdge,u=t.swiped,p=t.swiping,m=t.slideCount,f=t.slidesToScroll,h=t.infinite,g=t.touchObject,v=t.swipeEvent,y=t.listHeight,b=t.listWidth;if(!t.scrolling){if(t.animating)return S(e);n&&o&&r&&S(e);var _,w={},k=P(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 C=Math.round(Math.sqrt(Math.pow(g.curY-g.startY,2)));if(!r&&!p&&C>10)return{scrolling:!0};r&&(g.swipeLength=C);var A=(i?-1:1)*(g.curX>g.startX?1:-1);r&&(A=g.curY>g.startY?1:-1);var x=Math.ceil(m/f),E=N(t.touchObject,r),M=g.swipeLength;return h||(0===s&&("right"===E||"down"===E)||s+1>=x&&("left"===E||"up"===E)||!L(t)&&("left"===E||"up"===E))&&(M=g.swipeLength*l,!1===c&&d&&(d(E),w.edgeDragged=!0)),!u&&v&&(v(E),w.swiped=!0),_=n?k+M*(y/b)*A:i?k-M*A:k+M*A,r&&(_=k+M*A),w=(0,a.A)((0,a.A)({},w),{},{touchObject:g,swipeLeft:_,trackStyle:j((0,a.A)((0,a.A)({},t),{},{left:_}))}),Math.abs(g.curX-g.startX)<.8*Math.abs(g.curY-g.startY)||g.swipeLength>10&&(w.swiping=!0,S(e)),w}}(e,(0,a.A)((0,a.A)((0,a.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,f.A)(n,"swipeEnd",function(e){var t=function(e,t){var n=t.touchObject,o=t.listWidth,r=t.touchThreshold,i=t.verticalSwiping,s=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&&S(e),{};var f=i?s/r:o/r,h=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>f){var v,y;S(e),d&&d(h);var b=m?p:u;switch(h){case"left":case"up":y=b+$(t),v=l?T(t,y):y,g.currentDirection=0;break;case"right":case"down":y=b-$(t),v=l?T(t,y):y,g.currentDirection=1;break;default:v=b}g.triggerSlideHandler=v}else{var _=P(t);g.trackStyle=z((0,a.A)((0,a.A)({},t),{},{left:_}))}return g}(e,(0,a.A)((0,a.A)((0,a.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,f.A)(n,"touchEnd",function(e){n.swipeEnd(e),n.clickable=!0}),(0,f.A)(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),(0,f.A)(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),(0,f.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,f.A)(n,"play",function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!L((0,a.A)((0,a.A)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)}),(0,f.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,f.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,f.A)(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,f.A)(n,"onDotsLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,f.A)(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,f.A)(n,"onTrackLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,f.A)(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),(0,f.A)(n,"onSlideBlur",function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")}),(0,f.A)(n,"render",function(){var e,t,o,r=(0,b.$)("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,a.A)((0,a.A)({},n.props),n.state),c=I(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,a.A)((0,a.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=I(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),p=n.props.pauseOnDotsHover;u=(0,a.A)((0,a.A)({},u),{},{clickHandler:n.changeSlide,onMouseEnter:p?n.onDotsLeave:null,onMouseOver:p?n.onDotsOver:null,onMouseLeave:p?n.onDotsLeave:null}),e=i().createElement(Z,u)}var m=I(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);m.clickHandler=n.changeSlide,n.props.arrows&&(t=i().createElement(Q,m),o=i().createElement(K,m));var f=null;n.props.vertical&&(f={height:n.state.listHeight});var h=null;!1===n.props.vertical?!0===n.props.centerMode&&(h={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(h={padding:n.props.centerPadding+" 0px"});var g=(0,a.A)((0,a.A)({},f),h),v=n.props.touchMove,y={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},_={className:r,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},_={className:r,style:n.props.style}),i().createElement("div",_,n.props.unslick?"":t,i().createElement("div",(0,s.A)({ref:n.listRefHandler},y),i().createElement(G,(0,s.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,a.A)((0,a.A)({},v),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:i().Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var m=n.ssrInit();return n.state=(0,a.A)((0,a.A)({},n.state),m),n}return(0,m.A)(t,e),(0,c.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var r=o[n];if(!e.hasOwnProperty(r)){t=!0;break}if("object"!==(0,h.A)(e[r])&&"function"!=typeof e[r]&&!isNaN(e[r])&&e[r]!==this.props[r]){t=!0;break}}return t||i().Children.count(this.props.children)!==i().Children.count(e.children)}}])}(i().Component),te=n("./node_modules/.pnpm/json2mq@0.2.0/node_modules/json2mq/index.js"),ne=n.n(te),oe=function(e){function t(e){var n,o,r,i;return(0,l.A)(this,t),o=this,i=[e],r=(0,p.A)(r=t),n=(0,d.A)(o,(0,u.A)()?Reflect.construct(r,i||[],(0,p.A)(o).constructor):r.apply(o,i)),(0,f.A)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,f.A)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,f.A)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,f.A)(n,"slickGoTo",function(e){return n.innerSlider.slickGoTo(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}),(0,f.A)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,f.A)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,m.A)(t,e),(0,c.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?ne()({minWidth:0,maxWidth:n}):ne()({minWidth:t[o-1]+1,maxWidth:n}),Y()&&e.media(r,function(){e.setState({breakpoint:n})})});var n=ne()({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,a.A)((0,a.A)((0,a.A)({},_),this.props),t[0].settings):(0,a.A)((0,a.A)({},_),this.props)).centerMode&&(e.slidesToScroll=1),e.fade&&(e.slidesToShow=1,e.slidesToScroll=1);var o=i().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 r=[],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(i().cloneElement(o[m],{key:100*c+10*u+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(i().createElement("div",{key:10*c+u},p))}r.push(i().createElement("div",e.variableWidth?{key:c,style:{width:l}}:{key:c},d))}if("unslick"===e){var f="regular slider "+(this.props.className||"");return i().createElement("div",{className:f},o)}return r.length<=e.slidesToShow&&(e.unslick=!0),i().createElement(ee,(0,s.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)),r)}}])}(i().Component);const re=oe;var ie=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/index.js"),se=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/is.js"),ae=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),le=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/locale/useLocale.js"),ce=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/locale/en_US.js"),de=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),ue=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js"),pe=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js");const me="--dot-duration",fe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{...(0,ue.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"}}}},he=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)"}}}}},ge=e=>{const{componentCls:t,dotOffset:n,dotWidth:o,dotHeight:r,dotGap:i,colorBgContainer:s,motionDurationSlow:a}=e,l=new de.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(${me})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},ve=e=>{const{componentCls:t,dotOffset:n,arrowOffset:o,marginXXS:r}=e,i=new de.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,de.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(${me})`,animationTimingFunction:"ease-out",animationFillMode:"forwards"}}}}}}},ye=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl"}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},be=(0,pe.OF)("Carousel",e=>[fe(e),he(e),ge(e),ve(e),ye(e)],e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),_e="slick-dots",we=({currentSlide:e,slideCount:t,...n})=>r.createElement("button",{type:"button",...n}),Se=r.forwardRef((e,t)=>{const{dots:n=!0,arrows:o=!1,prevArrow:i,nextArrow:s,draggable:a=!1,waitForAnimate:l=!1,dotPosition:c,dotPlacement:d,vertical:u,rootClassName:p,className:m,style:f,id:h,autoplay:g=!1,autoplaySpeed:v=3e3,rtl:y,..._}=e,w=r.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:k,direction:C,className:A,style:x}=(0,ae.TP)("carousel"),[E]=(0,le.A)("Carousel",ce.A.Carousel),M=r.useRef(null),R=r.useRef(null),N=(e,t=!1)=>{M.current.slickGoTo(e,t)};r.useImperativeHandle(t,()=>({goTo:N,autoPlay:M.current.innerSlider.autoPlay,innerSlider:M.current.innerSlider,prev:M.current.slickPrev,next:M.current.slickNext,nativeElement:R.current}),[M.current]);const{children:L,initialSlide:I=0}=e,T=(0,ie.$r)(L).length,$=(y??"rtl"===C)&&!u;r.useEffect(()=>{T>0&&N($?T-I-1:I,!1)},[I,$]);const O={vertical:S,className:(0,b.$)(m,A),style:{...x,...f},autoplay:!!g,..._};"fade"===O.effect&&(O.fade=!0);const j=k("carousel",O.prefixCls),z=!!n,P=(0,b.$)(_e,`${_e}-${w}`,"boolean"!=typeof n&&n?.className),[D,H]=be(j),W=(0,b.$)(j,{[`${j}-rtl`]:$,[`${j}-vertical`]:O.vertical},D,H,p),F=g&&!!(0,se.Qd)(g)&&g.dotDuration;return r.createElement("div",{ref:R,className:W,id:h,style:F?{[me]:`${v}ms`}:{}},r.createElement(re,{ref:M,...O,dots:z,dotsClass:P,arrows:o,prevArrow:i??r.createElement(we,{"aria-label":$?E.nextSlide:E.prevSlide}),nextArrow:s??r.createElement(we,{"aria-label":$?E.prevSlide:E.nextSlide}),draggable:a,verticalSwiping:S,autoplaySpeed:v,waitForAnimate:l,rtl:$}))}),ke=Se;var Ce=n("./src/utils/antd.tsx"),Ae=n("./src/utils/dash3.ts"),xe=function(){return xe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},xe.apply(this,arguments)};const Ee=function(e){var t=e.children,n=e.loading_state,s=e.setProps,a=e.slickGoTo,l=(0,r.useRef)(null);(0,r.useEffect)(function(){var e;"number"==typeof a&&(null===(e=l.current)||void 0===e||e.goTo(a,!0))},[a]);var c=(0,Ce.I4)(e);delete c.current;var d=i().Children.toArray((0,Ce.lq)(t)).map(function(e,t){return(0,o.jsx)("div",{"data-dac-carousel-slide":!0,children:e},t)});return(0,o.jsx)(ke,xe({ref:l},c,{beforeChange:function(e){return null==s?void 0:s({previous:e})},afterChange:function(e){return null==s?void 0:s({current:e})},"data-dash-is-loading":(0,Ae.A_)(n)||void 0,children:d}))};var Me=function(){return Me=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Me.apply(this,arguments)};const Re=function(e){return(0,o.jsx)(Ee,Me({},e))}},"./src/components/fragments/async/dataDisplay/Image.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>u});var o=n("react/jsx-runtime"),r=n("react"),i=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/image/index.js"),s=n("./src/utils/antd.tsx"),a=n("./src/utils/dash3.ts"),l=function(){return l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},l.apply(this,arguments)};const c=function(e){var t=e.loading_state,n=e.n_error,c=e.n_load,d=e.open,u=e.placeholder,p=e.preview,m=e.setProps,f=(0,s.P5)(e);delete f.open,delete f.n_error,delete f.n_load;var h=(0,r.useMemo)(function(){if(!1===p)return!1;var e="object"==typeof p&&null!==p?(0,s.I4)({preview:p}).preview:{};return l(l(l({},e),void 0===d?{}:{open:d}),{onOpenChange:function(e){return null==m?void 0:m({open:e})}})},[d,p,m]);return(0,o.jsx)(i.A,l({},f,{preview:h,placeholder:(0,s.lq)(u),onError:function(){return null==m?void 0:m({n_error:(n||0)+1})},onLoad:function(){return null==m?void 0:m({n_load:(c||0)+1})},"data-dash-is-loading":(0,a.A_)(t)||void 0}))};var d=function(){return d=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d.apply(this,arguments)};const u=function(e){return(0,o.jsx)(c,d({},e))}},"./src/components/fragments/async/dataDisplay/ImagePreviewGroup.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>d});var o=n("react/jsx-runtime"),r=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/image/index.js"),i=n("./src/utils/antd.tsx"),s=n("./src/utils/dash3.ts"),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};const l=function(e){var t=e.children,n=e.current,l=e.loading_state,c=e.open,d=e.preview,u=e.setProps,p=(0,i.P5)(e);delete p.current,delete p.open;var m="object"==typeof d&&null!==d?(0,i.I4)({preview:d}).preview:{},f=!1!==d&&a(a(a(a({},m),void 0===n?{}:{current:n}),void 0===c?{}:{open:c}),{onChange:function(e){return null==u?void 0:u({current:e})},onOpenChange:function(e){return null==u?void 0:u({open:e})}});return(0,o.jsx)(r.A.PreviewGroup,a({},p,{preview:f,"data-dash-is-loading":(0,s.A_)(l)||void 0,children:(0,i.lq)(t)}))};var c=function(){return c=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},c.apply(this,arguments)};const d=function(e){return(0,o.jsx)(l,c({},e))}},"./src/components/fragments/async/dataDisplay/QRCode.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>Z});var o=n("react/jsx-runtime"),r=n("react"),i=n.n(r),s=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js");function a(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 l(e,t){return!!(e>>>t&1)}function c(e){if(!e)throw new Error("Assertion error")}class d{static#e=(()=>{(0,s.A)(this,"NUMERIC",new d(1,[10,12,14])),(0,s.A)(this,"ALPHANUMERIC",new d(2,[9,11,13])),(0,s.A)(this,"BYTE",new d(4,[8,16,16])),(0,s.A)(this,"KANJI",new d(8,[8,10,12])),(0,s.A)(this,"ECI",new d(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 u{static#e=(()=>{(0,s.A)(this,"LOW",new u(0,1)),(0,s.A)(this,"MEDIUM",new u(1,0)),(0,s.A)(this,"QUARTILE",new u(2,3)),(0,s.A)(this,"HIGH",new u(3,2))})();ordinal;formatBits;constructor(e,t){this.ordinal=e,this.formatBits=t}}class p{static makeBytes(e){const t=[];for(const n of e)a(n,8,t);return new p(d.BYTE,e.length,t)}static makeNumeric(e){if(!p.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);a(parseInt(e.substring(n,n+o),10),3*o+1,t),n+=o}return new p(d.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!p.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*p.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n));o+=p.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n+1)),a(o,11,t)}return n<e.length&&a(p.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n)),6,t),new p(d.ALPHANUMERIC,e.length,t)}static makeSegments(e){return""==e?[]:p.isNumeric(e)?[p.makeNumeric(e)]:p.isAlphanumeric(e)?[p.makeAlphanumeric(e)]:[p.makeBytes(p.toUtf8ByteArray(e))]}static makeEci(e){const t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)a(e,8,t);else if(e<16384)a(2,2,t),a(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");a(6,3,t),a(e,21,t)}return new p(d.ECI,0,t)}static isNumeric(e){return p.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return p.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 m{static encodeText(e,t){const n=p.makeSegments(e);return m.encodeSegments(n,t)}static encodeBinary(e,t){const n=p.makeBytes(e);return m.encodeSegments([n],t)}static encodeSegments(e,t,n=1,o=40,r=-1,i=!0){if(!(m.MIN_VERSION<=n&&n<=o&&o<=m.MAX_VERSION)||r<-1||r>7)throw new RangeError("Invalid value");let s,l;for(s=n;;s++){const n=8*m.getNumDataCodewords(s,t),r=p.getTotalBits(e,s);if(r<=n){l=r;break}if(s>=o)throw new RangeError("Data too long")}let d=t;for(const e of[u.MEDIUM,u.QUARTILE,u.HIGH])i&&l<=8*m.getNumDataCodewords(s,e)&&(d=e);const f=[];for(const t of e){a(t.mode.modeBits,4,f),a(t.numChars,t.mode.numCharCountBits(s),f);for(const e of t.getData())f.push(e)}c(f.length==l);const h=8*m.getNumDataCodewords(s,d);c(f.length<=h),a(0,Math.min(4,h-f.length),f),a(0,(8-f.length%8)%8,f),c(f.length%8==0);for(let e=236;f.length<h;e^=253)a(e,8,f);const g=[];for(;8*g.length<f.length;)g.push(0);return f.forEach((e,t)=>{g[t>>>3]|=e<<7-(7&t)}),new m(s,d,g,r)}size;mask;modules=[];isFunction=[];version;errorCorrectionLevel;constructor(e,t,n,o){let r=o;if(this.version=e,this.errorCorrectionLevel=t,e<m.MIN_VERSION||e>m.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)}}c(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);c(o>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,l(o,e));this.setFunctionModule(8,7,l(o,6)),this.setFunctionModule(8,8,l(o,7)),this.setFunctionModule(7,8,l(o,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,l(o,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,l(o,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,l(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;c(t>>>18==0);for(let e=0;e<18;e++){const n=l(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!=m.getNumDataCodewords(t,n))throw new RangeError("Invalid argument");const o=m.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t],r=m.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t],i=Math.floor(m.getNumRawDataModules(t)/8),s=o-i%o,a=Math.floor(i/o),l=[],d=m.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=m.reedSolomonComputeRemainder(o,d);t<s&&o.push(0),l.push(o.concat(i))}const u=[];for(let e=0;e<l[0].length;e++)l.forEach((t,n)=>{(e!=a-r||n>=s)&&u.push(t[e])});return c(u.length==i),u}drawCodewords(e){if(e.length!=Math.floor(m.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?o:this.size-1-o;!this.isFunction[s][i]&&t<8*e.length&&(this.modules[s][i]=l(e[t>>>3],7-(7&t)),t++)}}c(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+=m.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*m.PENALTY_N3),n=this.modules[t][i],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*m.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+=m.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,r),n||(e+=this.finderPenaltyCountPatterns(r)*m.PENALTY_N3),n=this.modules[i][t],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,r)*m.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+=m.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 c(0<=o&&o<=9),e+=o*m.PENALTY_N4,c(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<m.MIN_VERSION||e>m.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 c(208<=t&&t<=29648),t}static getNumDataCodewords(e,t){return Math.floor(m.getNumRawDataModules(e)/8)-m.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*m.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]=m.reedSolomonMultiply(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=m.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]^=m.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 c(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];c(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 f={L:u.LOW,M:u.MEDIUM,Q:u.QUARTILE,H:u.HIGH},h="#FFFFFF",g="#000000",v=(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("")},y=(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)),b=(()=>{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 w=e=>{const{value:t,level:n,minVersion:o,includeMargin:r,marginSize:s,imageSettings:a,size:l,boostLevel:c}=e,d=i().useMemo(()=>{const e=(Array.isArray(t)?t:[t]).reduce((e,t)=>(e.push(...p.makeSegments(t)),e),[]);return m.encodeSegments(e,f[n],o,void 0,void 0,c)},[t,n,o,c]);return i().useMemo(()=>{const e=d.getModules(),t=((e,t)=>null!=t?Math.max(Math.floor(t),0):e?4:0)(r,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,r,s])},S=i().forwardRef((e,t)=>{const{value:n,size:o=128,level:r="L",bgColor:s=h,fgColor:a=g,includeMargin:l=!1,minVersion:c=1,marginSize:d,style:u,imageSettings:p,boostLevel:m,...f}=e,S=p?.src,k=i().useRef(null),C=i().useRef(null),A=i().useCallback(e=>{k.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[,x]=i().useState(!1),{margin:E,cells:M,numCells:R,calculatedImageSettings:N}=w({value:n,level:r,minVersion:c,includeMargin:l,marginSize:d,imageSettings:p,size:o,boostLevel:m});i().useEffect(()=>{if(k.current){const e=k.current,t=e.getContext("2d");if(!t)return;let n=M;const r=C.current,i=null!=N&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;i&&null!=N.excavation&&(n=y(M,N.excavation));const l=window.devicePixelRatio||1;e.height=e.width=o*l;const c=o/R*l;t.scale(c,c),t.fillStyle=s,t.fillRect(0,0,R,R),t.fillStyle=a,b?t.fill(new Path2D(v(n,E))):M.forEach((e,n)=>{e.forEach((e,o)=>{e&&t.fillRect(o+E,n+E,1,1)})}),N&&(t.globalAlpha=N.opacity),i&&t.drawImage(r,N.x+E,N.y+E,N.w,N.h)}}),i().useEffect(()=>{x(!1)},[S]);const L={height:o,width:o,...u};let I=null;return null!=S&&(I=i().createElement("img",{alt:"QR-Code",src:S,key:S,style:{display:"none"},onLoad:()=>{x(!0)},ref:C,crossOrigin:N?.crossOrigin})),i().createElement(i().Fragment,null,i().createElement("canvas",(0,_.A)({style:L,height:o,width:o,ref:A,role:"img"},f)),I)}),k=i().forwardRef((e,t)=>{const{value:n,size:o=128,level:r="L",bgColor:s=h,fgColor:a=g,includeMargin:l=!1,minVersion:c=1,title:d,marginSize:u,imageSettings:p,boostLevel:m,...f}=e,{margin:b,cells:S,numCells:k,calculatedImageSettings:C}=w({value:n,level:r,minVersion:c,includeMargin:l,marginSize:u,imageSettings:p,size:o,boostLevel:m});let A=S,x=null;null!=p&&null!=C&&(null!=C.excavation&&(A=y(S,C.excavation)),x=i().createElement("image",{href:p.src,height:C.h,width:C.w,x:C.x+b,y:C.y+b,preserveAspectRatio:"none",opacity:C.opacity,crossOrigin:C.crossOrigin}));const E=v(A,b);return i().createElement("svg",(0,_.A)({height:o,width:o,viewBox:`0 0 ${k} ${k}`,ref:t,role:"img"},f),!!d&&i().createElement("title",null,d),i().createElement("path",{fill:s,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:a,d:E,shapeRendering:"crispEdges"}),x)});var C=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/index.js"),A=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),x=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),E=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/is.js"),M=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),R=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/locale/useLocale.js"),N=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/useToken.js"),L=n("./node_modules/.pnpm/@ant-design+icons@6.3.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/icons/es/icons/ReloadOutlined.js"),I=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/button/Button.js"),T=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/spin/index.js");const $=i().createElement(T.A,null);function O({prefixCls:e,locale:t,onRefresh:n,statusRender:o,status:r}){const s={expired:i().createElement(i().Fragment,null,i().createElement("p",{className:`${e}-expired`},t?.expired),n&&i().createElement(I.A,{type:"link",icon:i().createElement(L.default,null),onClick:n},t?.refresh)),loading:$,scanned:i().createElement("p",{className:`${e}-scanned`},t?.scanned)};return(o??(e=>s[e.status]))({status:r,locale:t,onRefresh:n})}var j=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),z=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),P=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js"),D=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),H=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js");const W=(0,D.OF)("QRCode",e=>(e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r}=e;return{[t]:{...(0,P.dF)(e),display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${(0,j.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,H.oX)(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new z.Y(e.colorBgContainer).setA(.96).toRgbString()})),F=i().forwardRef((e,t)=>{const[,n]=(0,N.Ay)(),{value:o,type:r="canvas",icon:s="",size:a=160,iconSize:l,color:c=n.colorText,errorLevel:d="M",status:u="active",bordered:p=!0,onRefresh:m,style:f,className:h,rootClassName:g,prefixCls:v,bgColor:y="transparent",marginSize:b,statusRender:_,classNames:w,styles:L,boostLevel:I,...T}=e,{getPrefixCls:$,className:j,style:z,classNames:P,styles:D}=(0,M.TP)("qrcode"),H={...e,bgColor:y,type:r,size:a,status:u,bordered:p,errorLevel:d},F=(0,x.XT)(z),X=(0,x.XT)(f),[Y,B]=(0,x.AV)([P,w],[D,F,L,X],{props:H}),U=$("qrcode",v),[V,G]=W(U),Z={src:s,x:void 0,y:void 0,height:(0,E.Et)(l)?l:l?.height??40,width:(0,E.Et)(l)?l:l?.width??40,excavate:!0,crossOrigin:"anonymous"},q=(0,C.KE)(T,!0),Q=(0,C.cJ)(T,Object.keys(q)),K={value:o,size:a,level:d,bgColor:y,fgColor:c,style:{width:f?.width,height:f?.height},imageSettings:s?Z:void 0,marginSize:b,boostLevel:I,...q},[J]=(0,R.A)("QRCode"),ee=i().useRef(null);if(i().useImperativeHandle(t,()=>({nativeElement:ee.current})),!o)return null;const te=(0,A.$)(U,h,g,V,G,j,Y.root,{[`${U}-borderless`]:!p}),ne={backgroundColor:y,...B.root,width:f?.width??a,height:f?.height??a};return i().createElement("div",{ref:ee,...Q,className:te,style:ne},"active"!==u&&i().createElement("div",{className:(0,A.$)(`${U}-cover`,Y.cover),style:B.cover},i().createElement(O,{prefixCls:U,locale:J,status:u,onRefresh:m,statusRender:_})),i().createElement("canvas"===r?S:k,{...K}))}),X=F;var Y=n("./src/utils/dash3.ts"),B=n("./src/utils/antd.tsx"),U=function(){return U=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},U.apply(this,arguments)};const V=function(e){var t=e.loading_state,n=e.n_refresh,r=e.setProps,i=(0,B.I4)(e);delete i.n_refresh;var s=function(){return null==r?void 0:r({n_refresh:(n||0)+1})},a=function(e){var t;return null===(t=null==e?void 0:e.closest)||void 0===t?void 0:t.call(e,".dac-qr-code-status-refresh")};return(0,o.jsx)(X,U({},i,{onClick:function(e){a(e.target)&&s()},onKeyDown:function(e){!a(e.target)||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s())},onRefresh:s,"data-dash-is-loading":(0,Y.A_)(t)||void 0}))};var G=function(){return G=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},G.apply(this,arguments)};const Z=function(e){return(0,o.jsx)(V,G({},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 f(){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 f(){p=Date.now(),t.apply(a,r)}function h(){o=void 0}u||(l||!d||o||f(),m(),void 0===d&&c>e?l?(p=Date.now(),s||(o=setTimeout(d?h:f,e))):f():!0!==s&&(o=setTimeout(d?h:f,void 0===d?e-c:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;m(),u=!n},f}(e,t,{debounceMode:!1!==(void 0!==o&&o)})}n.d(t,{s:()=>o})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-mentions"],{"./node_modules/.pnpm/@rc-component+menu@1.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/menu/es/index.js"(e,t,n){n.d(t,{cG:()=>ie,q7:()=>V,te:()=>ue,Dr:()=>V,g8:()=>ae,Ay:()=>ye,Wj:()=>_});var o=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),r=n("./node_modules/.pnpm/@rc-component+overflow@1.0.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/overflow/es/index.js"),s=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/index.js"),l=n("react"),a=n("react-dom");const i=l.createContext(null);function c(e,t){return`${e}-${t}`}function d(e){return c(l.useContext(i),e)}const u=l.createContext(null);function m({children:e,locked:t,...n}){const o=l.useContext(u),r=(0,s.Kr)(()=>function(e,t){const n={...e};return Object.keys(t).forEach(e=>{const o=t[e];void 0!==o&&(n[e]=o)}),n}(o,n),[o,n],(e,n)=>!(t||e[0]===n[0]&&(0,s.n4)(e[1],n[1],!0)));return l.createElement(u.Provider,{value:r},e)}const p=[],f=l.createContext(null);function g(){return l.useContext(f)}const h=l.createContext(p);function _(e){const t=l.useContext(h);return l.useMemo(()=>void 0!==e?[...t,e]:t,[t,e])}const y=l.createContext(null),v=l.createContext({}),{LEFT:b,RIGHT:x,UP:E,DOWN:C,ENTER:S,ESC:$,HOME:w,END:k}=s.DD,N=[E,C,b,x];function I(e,t){return(0,s.jD)(e,!0).filter(e=>t.has(e))}function j(e,t,n,o=1){if(!e)return null;const r=I(e,t),s=r.length;let l=r.findIndex(e=>n===e);return o<0?-1===l?l=s-1:l-=1:o>0&&(l+=1),l=(l+s)%s,r[l]}const P=(e,t)=>{const n=new Set,o=new Map,r=new Map;return e.forEach(e=>{const s=document.querySelector(`[data-menu-id='${c(t,e)}']`);s&&(n.add(s),r.set(s,e),o.set(e,s))}),{elements:n,key2element:o,element2key:r}};const R="__RC_UTIL_PATH_SPLIT__",M=e=>e.join(R),A="rc-menu-more";function D(e){const t=l.useRef(e);t.current=e;const n=l.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function O(e,t,n,o){const{activeKey:r,onActive:s,onInactive:a}=l.useContext(u),i={active:r===e};return t||(i.onMouseEnter=t=>{n?.({key:e,domEvent:t}),s(e)},i.onMouseLeave=t=>{o?.({key:e,domEvent:t}),a(e)}),i}function z(e){const{mode:t,rtl:n,inlineIndent:o}=l.useContext(u);return"inline"!==t?null:n?{paddingRight:e*o}:{paddingLeft:e*o}}function T({icon:e,props:t,children:n}){let o;return null===e||!1===e?null:("function"==typeof e?o=l.createElement(e,{...t}):"boolean"!=typeof e&&(o=e),o||n||null)}function L({item:e,...t}){return Object.defineProperty(t,"item",{get:()=>((0,s.$e)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}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)}class H extends l.Component{render(){const{title:e,attribute:t,elementRef:n,...o}=this.props,a=(0,s.cJ)(o,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,s.$e)(!t,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),l.createElement(r.A.Item,K({},t,{title:"string"==typeof e?e:void 0},a,{ref:n}))}}const F=l.forwardRef((e,t)=>{const{style:n,className:r,eventKey:a,warnKey:i,disabled:c,itemIcon:m,children:p,itemData:f,role:g,onMouseEnter:h,onMouseLeave:y,onClick:b,onKeyDown:x,onFocus:E,...C}=e,S=d(a),{prefixCls:$,onItemClick:w,disabled:k,overflowDisabled:N,itemIcon:I,selectedKeys:j,onActive:P}=l.useContext(u),{_internalRenderMenuItem:R}=l.useContext(v),M=`${$}-item`,A=l.useRef(),D=l.useRef(),F=k||c,B=(0,s.xK)(t,D),V=_(a),W=t=>{const n=f||{key:a||"",label:p,itemIcon:m,extra:e.extra,title:e.title};return{key:a,keyPath:[...V].reverse(),item:A.current,domEvent:t,itemData:f||n}},X=m||I,{active:G,...q}=O(a,F,h,y),U=j.includes(a),Y=z(V.length),Q={};"option"===e.role&&(Q["aria-selected"]=U);let J=l.createElement(H,K({ref:A,elementRef:B,role:null===g?"none":g||"menuitem",tabIndex:c?null:-1,"data-menu-id":N&&S?null:S},(0,s.cJ)(C,["extra"]),q,Q,{component:"li","aria-disabled":c,style:{...Y,...n},className:(0,o.$)(M,{[`${M}-active`]:G,[`${M}-selected`]:U,[`${M}-disabled`]:F},r),onClick:e=>{if(F)return;const t=W(e);b?.(L(t)),w(t)},onKeyDown:e=>{if(x?.(e),e.which===s.DD.ENTER){const t=W(e);b?.(L(t)),w(t)}},onFocus:e=>{P(a),E?.(e)}}),p,l.createElement(T,{props:{...e,isSelected:U},icon:X}));return R&&(J=R(J,e,{selected:U})),J});function B(e,t){const{eventKey:n}=e,o=g(),r=_(n);return l.useEffect(()=>{if(o)return o.registerPath(n,r),()=>{o.unregisterPath(n,r)}},[r]),o?null:l.createElement(F,K({},e,{ref:t}))}const V=l.forwardRef(B);function W(){return W=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},W.apply(this,arguments)}const X=({className:e,children:t,...n},r)=>{const{prefixCls:s,mode:a,rtl:i}=l.useContext(u);return l.createElement("ul",W({className:(0,o.$)(s,i&&`${s}-rtl`,`${s}-sub`,`${s}-${"inline"===a?"inline":"vertical"}`,e),role:"menu"},n,{"data-menu-list":!0,ref:r}),t)},G=l.forwardRef(X);function q(e,t){return(0,s.$r)(e).map((e,n)=>{if(l.isValidElement(e)){const{key:o}=e;let r=e.props?.eventKey??o;return null==r&&(r=`tmp_key-${[...t,n].join("-")}`),l.cloneElement(e,{key:r,eventKey:r})}return e})}var U=n("./node_modules/.pnpm/@rc-component+trigger@3.10.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/trigger/es/index.js");const Y={adjustX:1,adjustY:1},Q={topLeft:{points:["bl","tl"],overflow:Y},topRight:{points:["br","tr"],overflow:Y},bottomLeft:{points:["tl","bl"],overflow:Y},bottomRight:{points:["tr","br"],overflow:Y},leftTop:{points:["tr","tl"],overflow:Y},leftBottom:{points:["br","bl"],overflow:Y},rightTop:{points:["tl","tr"],overflow:Y},rightBottom:{points:["bl","br"],overflow:Y}},J={topLeft:{points:["bl","tl"],overflow:Y},topRight:{points:["br","tr"],overflow:Y},bottomLeft:{points:["tl","bl"],overflow:Y},bottomRight:{points:["tr","br"],overflow:Y},rightTop:{points:["tr","tl"],overflow:Y},rightBottom:{points:["br","bl"],overflow:Y},leftTop:{points:["tl","tr"],overflow:Y},leftBottom:{points:["bl","br"],overflow:Y}};function Z(e,t,n){return t||(n?n[e]||n.other:void 0)}const ee={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function te({prefixCls:e,visible:t,children:n,popup:r,popupStyle:a,popupClassName:i,popupOffset:c,disabled:d,mode:m,onVisibleChange:p}){const{getPopupContainer:f,rtl:g,subMenuOpenDelay:h,subMenuCloseDelay:_,builtinPlacements:y,triggerSubMenuAction:v,forceSubMenuRender:b,rootClassName:x,motion:E,defaultMotions:C}=l.useContext(u),[S,$]=l.useState(!1),w=g?{...J,...y}:{...Q,...y},k=ee[m],N=Z(m,E,C),I=l.useRef(N);"inline"!==m&&(I.current=N);const j={...I.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},P=l.useRef();return l.useEffect(()=>(P.current=(0,s.er)(()=>{$(t)}),()=>{s.er.cancel(P.current)}),[t]),l.createElement(U.Ay,{prefixCls:e,popupClassName:(0,o.$)(`${e}-popup`,{[`${e}-rtl`]:g},i,x),stretch:"horizontal"===m?"minWidth":null,getPopupContainer:f,builtinPlacements:w,popupPlacement:k,popupVisible:S,popup:r,popupStyle:a,popupAlign:c&&{offset:c},action:d?[]:[v],mouseEnterDelay:h,mouseLeaveDelay:_,onPopupVisibleChange:p,forceRender:b,popupMotion:j,fresh:!0},n)}var ne=n("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/motion/es/index.js");function oe(){return oe=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},oe.apply(this,arguments)}function re({id:e,open:t,keyPath:n,children:o}){const r="inline",{prefixCls:s,forceSubMenuRender:a,motion:i,defaultMotions:c,mode:d}=l.useContext(u),p=l.useRef(!1);p.current=d===r;const[f,g]=l.useState(!p.current),h=!!p.current&&t;l.useEffect(()=>{p.current&&g(!1)},[d]);const _={...Z(r,i,c)};n.length>1&&(_.motionAppear=!1);const y=_.onVisibleChanged;return _.onVisibleChanged=e=>(p.current||e||g(!0),y?.(e)),f?null:l.createElement(m,{mode:r,locked:!p.current},l.createElement(ne.Ay,oe({visible:h},_,{forceRender:a,removeOnLeave:!1,leavedClassName:`${s}-hidden`}),({className:t,style:n})=>l.createElement(G,{id:e,className:t,style:n},o)))}function se(){return se=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},se.apply(this,arguments)}const le=l.forwardRef((e,t)=>{const{style:n,className:s,styles:a,classNames:i,title:c,eventKey:p,warnKey:f,disabled:g,internalPopupClose:h,children:b,itemIcon:x,expandIcon:E,popupClassName:C,popupOffset:S,popupStyle:$,onClick:w,onMouseEnter:k,onMouseLeave:N,onTitleClick:I,onTitleMouseEnter:j,onTitleMouseLeave:P,popupRender:R,...M}=e,A=d(p),{prefixCls:K,mode:H,openKeys:F,disabled:B,overflowDisabled:V,activeKey:W,selectedKeys:X,itemIcon:q,expandIcon:U,onItemClick:Y,onOpenChange:Q,onActive:J,popupRender:Z}=l.useContext(u),{_internalRenderSubMenuItem:ee}=l.useContext(v),{isSubPathKey:ne}=l.useContext(y),oe=_(),le=`${K}-submenu`,ae=B||g,ie=l.useRef(),ce=l.useRef(),de=x??q,ue=E??U,me=F.includes(p),pe=!V&&me,fe=ne(X,p),{active:ge,...he}=O(p,ae,j,P),[_e,ye]=l.useState(!1),ve=e=>{ae||ye(e)},be=l.useMemo(()=>ge||"inline"!==H&&(_e||ne([W],p)),[H,ge,W,_e,p,ne]),xe=z(oe.length),Ee=D(e=>{w?.(L(e)),Y(e)}),Ce=e=>{"inline"!==H&&Q(p,e)},Se=A&&`${A}-popup`,$e=l.useMemo(()=>l.createElement(T,{icon:"horizontal"!==H?ue:void 0,props:{...e,isOpen:pe,isSubMenu:!0}},l.createElement("i",{className:`${le}-arrow`})),[H,ue,e,pe,le]);let we=l.createElement("div",se({role:"menuitem",style:xe,className:`${le}-title`,tabIndex:ae?null:-1,ref:ie,title:"string"==typeof c?c:null,"data-menu-id":V&&A?null:A,"aria-expanded":pe,"aria-haspopup":!0,"aria-controls":Se,"aria-disabled":ae,onClick:e=>{ae||(I?.({key:p,domEvent:e}),"inline"===H&&Q(p,!me))},onFocus:()=>{J(p)}},he),c,$e);const ke=l.useRef(H);ke.current="inline"!==H&&oe.length>1?"vertical":H;const Ne=ke.current,Ie=l.useMemo(()=>{const t=l.createElement(m,{classNames:i,styles:a,mode:"horizontal"===Ne?"vertical":Ne},l.createElement(G,{id:Se,ref:ce},b)),n=R||Z;return n?n(t,{item:e,keys:oe}):t},[R,Z,oe,Se,b,e,Ne]);V||(we=l.createElement(te,{mode:ke.current,prefixCls:le,visible:!h&&pe&&"inline"!==H,popupClassName:C,popupOffset:S,popupStyle:$,popup:Ie,disabled:ae,onVisibleChange:Ce},we));let je=l.createElement(r.A.Item,se({ref:t,role:"none"},M,{component:"li",style:n,className:(0,o.$)(le,`${le}-${H}`,s,{[`${le}-open`]:pe,[`${le}-active`]:be,[`${le}-selected`]:fe,[`${le}-disabled`]:ae}),onMouseEnter:e=>{ve(!0),k?.({key:p,domEvent:e})},onMouseLeave:e=>{ve(!1),N?.({key:p,domEvent:e})}}),we,!V&&l.createElement(re,{id:Se,open:pe,keyPath:oe},b));return ee&&(je=ee(je,e,{selected:fe,active:be,open:pe,disabled:ae})),l.createElement(m,{classNames:i,styles:a,onItemClick:Ee,mode:"horizontal"===H?"vertical":H,itemIcon:de,expandIcon:ue},je)}),ae=l.forwardRef((e,t)=>{const{eventKey:n,children:o}=e,r=_(n),s=q(o,r),a=g();let i;return l.useEffect(()=>{if(a)return a.registerPath(n,r),()=>{a.unregisterPath(n,r)}},[r]),i=a?s:l.createElement(le,se({ref:t},e),s),l.createElement(h.Provider,{value:r},i)});function ie({className:e,style:t}){const{prefixCls:n}=l.useContext(u);return g()?null:l.createElement("li",{role:"separator",className:(0,o.$)(`${n}-item-divider`,e),style:t})}function ce(){return ce=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},ce.apply(this,arguments)}const de=l.forwardRef((e,t)=>{const{className:n,title:r,eventKey:s,children:a,...i}=e,{prefixCls:c,classNames:d,styles:m}=l.useContext(u),p=`${c}-item-group`;return l.createElement("li",ce({ref:t,role:"presentation"},i,{onClick:e=>e.stopPropagation(),className:(0,o.$)(p,n)}),l.createElement("div",{role:"presentation",className:(0,o.$)(`${p}-title`,d?.listTitle),style:m?.listTitle,title:"string"==typeof r?r:void 0},r),l.createElement("ul",{role:"group",className:(0,o.$)(`${p}-list`,d?.list),style:m?.list},a))}),ue=l.forwardRef((e,t)=>{const{eventKey:n,children:o}=e,r=q(o,_(n));return g()?r:l.createElement(de,ce({ref:t},(0,s.cJ)(e,["warnKey"])),r)});function me(){return me=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},me.apply(this,arguments)}function pe(e,t,n){const{item:o,group:r,submenu:s,divider:a}=t;return(e||[]).map((e,i)=>{if(e&&"object"==typeof e){const{label:c,children:d,key:u,type:m,extra:p,...f}=e,g=u??`tmp-${i}`;if(d||"group"===m)return l.createElement("group"===m?r:s,me({key:g},f,{title:c}),pe(d,t,n));if("divider"===m)return l.createElement(a,me({key:g},f));const h=!!p||0===p;return l.createElement(o,me({key:g},f,{extra:p,itemData:{...e,key:g}}),h?l.createElement(l.Fragment,null,l.createElement("span",{className:`${n}-item-label`},c),l.createElement("span",{className:`${n}-item-extra`},p)):c)}return null}).filter(e=>e)}function fe(e,t,n,o,r){let s=e;const l={divider:ie,item:V,group:ue,submenu:ae,...o};return t&&(s=pe(t,l,r)),q(s,n)}function ge(){return ge=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},ge.apply(this,arguments)}const he=[],_e=l.forwardRef((e,t)=>{const{prefixCls:n="rc-menu",rootClassName:c,style:d,className:u,styles:p,classNames:g,tabIndex:h=0,items:_,children:O,direction:z,id:T,mode:K="vertical",inlineCollapsed:H,disabled:F,disabledOverflow:B,subMenuOpenDelay:W=.1,subMenuCloseDelay:X=.1,forceSubMenuRender:G,defaultOpenKeys:q,openKeys:U,activeKey:Y,defaultActiveFirst:Q,selectable:J=!0,multiple:Z=!1,defaultSelectedKeys:ee,selectedKeys:te,onSelect:ne,onDeselect:oe,inlineIndent:re=24,motion:se,defaultMotions:le,triggerSubMenuAction:ie="hover",builtinPlacements:ce,itemIcon:de,expandIcon:ue,overflowedIndicator:me="...",overflowedIndicatorPopupClassName:pe,getPopupContainer:_e,onClick:ye,onOpenChange:ve,onKeyDown:be,openAnimation:xe,openTransitionName:Ee,_internalRenderMenuItem:Ce,_internalRenderSubMenuItem:Se,_internalComponents:$e,popupRender:we,...ke}=e,[Ne,Ie]=l.useMemo(()=>[fe(O,_,he,$e,n),fe(O,_,he,{},n)],[O,_,$e]),[je,Pe]=l.useState(!1),Re=l.useRef(),Me=(0,s.Bi)(T?`rc-menu-uuid-${T}`:"rc-menu-uuid"),Ae="rtl"===z,[De,Oe]=(0,s.PW)(q,U),ze=De||he,Te=(e,t=!1)=>{function n(){Oe(e),ve?.(e)}t?(0,a.flushSync)(n):n()},[Le,Ke]=l.useState(ze),He=l.useRef(!1),[Fe,Be]=l.useMemo(()=>"inline"!==K&&"vertical"!==K||!H?[K,!1]:["vertical",H],[K,H]),Ve="inline"===Fe,[We,Xe]=l.useState(Fe),[Ge,qe]=l.useState(Be);l.useEffect(()=>{Xe(Fe),qe(Be),He.current&&(Ve?Oe(Le):Te(he))},[Fe,Be]);const[Ue,Ye]=l.useState(0),Qe=Ue>=Ne.length-1||"horizontal"!==We||B;l.useEffect(()=>{Ve&&Ke(ze)},[ze]),l.useEffect(()=>(He.current=!0,()=>{He.current=!1}),[]);const{registerPath:Je,unregisterPath:Ze,refreshOverflowKeys:et,isSubPathKey:tt,getKeyPath:nt,getKeys:ot,getSubPathKeys:rt}=function(){const[,e]=l.useState({}),t=(0,l.useRef)(new Map),n=(0,l.useRef)(new Map),[o,r]=l.useState([]),s=(0,l.useRef)(0),a=(0,l.useRef)(!1),i=(0,l.useCallback)((o,r)=>{const l=M(r);n.current.set(l,o),t.current.set(o,l),s.current+=1;const i=s.current;var c;c=()=>{i===s.current&&(a.current||e({}))},Promise.resolve().then(c)},[]),c=(0,l.useCallback)((e,o)=>{const r=M(o);n.current.delete(r),t.current.delete(e)},[]),d=(0,l.useCallback)(e=>{r(e)},[]),u=(0,l.useCallback)((e,n)=>{const r=(t.current.get(e)||"").split(R);return n&&o.includes(r[0])&&r.unshift(A),r},[o]),m=(0,l.useCallback)((e,t)=>e.filter(e=>void 0!==e).some(e=>u(e,!0).includes(t)),[u]),p=(0,l.useCallback)(e=>{const o=`${t.current.get(e)}${R}`,r=new Set;return[...n.current.keys()].forEach(e=>{e.startsWith(o)&&r.add(n.current.get(e))}),r},[]);return l.useEffect(()=>()=>{a.current=!0},[]),{registerPath:i,unregisterPath:c,refreshOverflowKeys:d,isSubPathKey:m,getKeyPath:u,getKeys:()=>{const e=[...t.current.keys()];return o.length&&e.push(A),e},getSubPathKeys:p}}(),st=l.useMemo(()=>({registerPath:Je,unregisterPath:Ze}),[Je,Ze]),lt=l.useMemo(()=>({isSubPathKey:tt}),[tt]);l.useEffect(()=>{et(Qe?he:Ne.slice(Ue+1).map(e=>e.key))},[Ue,Qe]);const[at,it]=(0,s.PW)(Y||Q&&Ne[0]?.key,Y),ct=D(e=>{it(e)}),dt=D(()=>{it(void 0)});(0,l.useImperativeHandle)(t,()=>({list:Re.current,focus:e=>{const t=ot(),{elements:n,key2element:o,element2key:r}=P(t,Me),s=I(Re.current,n);let l;l=at&&t.includes(at)?at:s[0]?r.get(s[0]):Ne.find(e=>!e.props.disabled)?.key;const a=o.get(l);l&&a&&a?.focus?.(e)},findItem:({key:e})=>{const t=ot(),{key2element:n}=P(t,Me);return n.get(e)||null}}));const[ut,mt]=(0,s.PW)(ee||[],te),pt=l.useMemo(()=>Array.isArray(ut)?ut:null==ut?he:[ut],[ut]),ft=D(e=>{ye?.(L(e)),(e=>{if(J){const{key:t}=e,n=pt.includes(t);let o;o=Z?n?pt.filter(e=>e!==t):[...pt,t]:[t],mt(o);const r={...e,selectedKeys:o};n?oe?.(r):ne?.(r)}!Z&&ze.length&&"inline"!==We&&Te(he)})(e)}),gt=D((e,t)=>{let n=ze.filter(t=>t!==e);if(t)n.push(e);else if("inline"!==We){const t=rt(e);n=n.filter(e=>!t.has(e))}(0,s.n4)(ze,n,!0)||Te(n,!0)}),ht=function(e,t,n,o,r,a,i,c,d,u){const m=l.useRef(),p=l.useRef();p.current=t;const f=()=>{s.er.cancel(m.current)};return l.useEffect(()=>()=>{f()},[]),l=>{const{which:g}=l;if([...N,S,$,w,k].includes(g)){const u=a();let h=P(u,o);const{elements:_,key2element:y,element2key:v}=h,R=function(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}(y.get(t),_),M=v.get(R),A=function(e,t,n,o){const r="prev",s="next",l="children",a="parent";if("inline"===e&&o===S)return{inlineTrigger:!0};const i={[E]:r,[C]:s},c={[b]:n?s:r,[x]:n?r:s,[C]:l,[S]:l},d={[E]:r,[C]:s,[S]:l,[$]:a,[b]:n?l:a,[x]:n?a:l},u={inline:i,horizontal:c,vertical:d,inlineSub:i,horizontalSub:d,verticalSub:d},m=u[`${e}${t?"":"Sub"}`]?.[o];switch(m){case r:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case a:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}(e,1===i(M,!0).length,n,g);if(!A&&g!==w&&g!==k)return;(N.includes(g)||[w,k].includes(g))&&l.preventDefault();const D=e=>{if(e){let t=e;const n=e.querySelector("a");n?.getAttribute("href")&&(t=n);const o=v.get(e);c(o),f(),m.current=(0,s.er)(()=>{p.current===o&&t.focus()})}};if([w,k].includes(g)||A.sibling||!R){let t,n;t=R&&"inline"!==e?function(e){let t=e;for(;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(R):r.current;const o=I(t,_);n=g===w?o[0]:g===k?o[o.length-1]:j(t,_,R,A.offset),D(n)}else if(A.inlineTrigger)d(M);else if(A.offset>0)d(M,!0),f(),m.current=(0,s.er)(()=>{h=P(u,o);const e=R.getAttribute("aria-controls"),t=j(document.getElementById(e),h.elements);D(t)},5);else if(A.offset<0){const e=i(M,!0),t=e[e.length-2],n=y.get(t);d(t,!1),D(n)}}u?.(l)}}(We,at,Ae,Me,Re,ot,nt,it,(e,t)=>{const n=t??!ze.includes(e);gt(e,n)},be);l.useEffect(()=>{Pe(!0)},[]);const _t=l.useMemo(()=>({_internalRenderMenuItem:Ce,_internalRenderSubMenuItem:Se}),[Ce,Se]),yt="horizontal"!==We||B?Ne:Ne.map((e,t)=>l.createElement(m,{key:e.key,overflowDisabled:t>Ue,classNames:g,styles:p},e)),vt=l.createElement(r.A,ge({id:T,ref:Re,prefixCls:`${n}-overflow`,component:"ul",itemComponent:V,className:(0,o.$)(n,`${n}-root`,`${n}-${We}`,u,{[`${n}-inline-collapsed`]:Ge,[`${n}-rtl`]:Ae},c),dir:z,style:d,role:"menu",tabIndex:h,data:yt,renderRawItem:e=>e,renderRawRest:e=>{const t=e.length,n=t?Ne.slice(-t):null;return l.createElement(ae,{eventKey:A,title:me,disabled:Qe,internalPopupClose:0===t,popupClassName:pe},n)},maxCount:"horizontal"!==We||B?r.A.INVALIDATE:r.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:e=>{Ye(e)},onKeyDown:ht},ke));return l.createElement(v.Provider,{value:_t},l.createElement(i.Provider,{value:Me},l.createElement(m,{prefixCls:n,rootClassName:c,classNames:g,styles:p,mode:We,openKeys:ze,rtl:Ae,disabled:F,motion:je?se:null,defaultMotions:je?le:null,activeKey:at,onActive:ct,onInactive:dt,selectedKeys:pt,inlineIndent:re,subMenuOpenDelay:W,subMenuCloseDelay:X,forceSubMenuRender:G,builtinPlacements:ce,triggerSubMenuAction:ie,getPopupContainer:_e,itemIcon:de,expandIcon:ue,onItemClick:ft,onOpenChange:gt,popupRender:we},l.createElement(y.Provider,{value:lt},vt),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(f.Provider,{value:st},Ie)))))});_e.Item=V,_e.SubMenu=ae,_e.ItemGroup=ue,_e.Divider=ie;const ye=_e},"./node_modules/.pnpm/@rc-component+overflow@1.0.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/overflow/es/index.js"(e,t,n){n.d(t,{A:()=>S});var o=n("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js"),r=n("react"),s=n.n(r),l=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),a=n("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/resize-observer/es/index.js"),i=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/hooks/useLayoutEffect.js");const c=void 0;function d(e,t){const{prefixCls:n,invalidate:s,item:i,renderItem:d,responsive:u,responsiveDisabled:m,registerSize:p,itemKey:f,className:g,style:h,children:_,display:y,order:v,component:b="div",...x}=e,E=u&&!y;function C(e){p(f,e)}r.useEffect(()=>()=>{C(null)},[]);const S=d&&i!==c?d(i,{index:v}):_;let $;s||($={opacity:E?0:1,height:E?0:c,overflowY:E?"hidden":c,order:u?v:c,pointerEvents:E?"none":c,position:E?"absolute":c});const w={};E&&(w["aria-hidden"]=!0);let k=r.createElement(b,(0,o.A)({className:(0,l.$)(!s&&n,g),style:{...$,...h}},w,x,{ref:t}),S);return u&&(k=r.createElement(a.Ay,{onResize:({offsetWidth:e})=>{C(e)},disabled:m},k)),k}const u=r.forwardRef(d);var m=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/hooks/useEvent.js"),p=n("react-dom"),f=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/raf.js");function g(e,t){const[n,o]=r.useState(t);return[n,(0,m.A)(t=>{e(()=>{o(t)})})]}const h=s().createContext(null),_=(e,t)=>{const n=r.useContext(h);if(!n){const{component:n="div",...s}=e;return r.createElement(n,(0,o.A)({},s,{ref:t}))}const{className:s,...a}=n,{className:i,...c}=e;return r.createElement(h.Provider,{value:null},r.createElement(u,(0,o.A)({ref:t,className:(0,l.$)(s,i)},a,c)))},y=r.forwardRef(_),v="responsive",b="invalidate";function x(e){return`+ ${e.length} ...`}function E(e,t){const{prefixCls:n="rc-overflow",data:s=[],renderItem:c,renderRawItem:d,itemKey:m,itemWidth:_=10,ssr:y,style:E,className:C,maxCount:S,renderRest:$,renderRawRest:w,prefix:k,suffix:N,component:I="div",itemComponent:j,onVisibleChange:P,...R}=e,M="full"===y,A=function(){const e=r.useRef(null);return t=>{e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,f.A)(e);else{const t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(void 0)}}(()=>{(0,p.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})})),e.current.push(t)}}(),[D,O]=g(A,null),z=D||0,[T,L]=g(A,new Map),[K,H]=g(A,0),[F,B]=g(A,0),[V,W]=g(A,0),[X,G]=g(A,0),[q,U]=(0,r.useState)(null),[Y,Q]=(0,r.useState)(null),J=r.useMemo(()=>null===Y&&M?Number.MAX_SAFE_INTEGER:Y||0,[Y,D]),[Z,ee]=(0,r.useState)(!1),te=`${n}-item`,ne=Math.max(K,F),oe=S===v,re=s.length&&oe,se=S===b,le=re||"number"==typeof S&&s.length>S,ae=(0,r.useMemo)(()=>{let e=s;return re?e=null===D&&M?s:s.slice(0,Math.min(s.length,z/_)):"number"==typeof S&&(e=s.slice(0,S)),e},[s,_,D,S,re]),ie=(0,r.useMemo)(()=>s.slice(re?J+1:ae.length),[s,ae,re,J]),ce=(0,r.useCallback)((e,t)=>"function"==typeof m?m(e):(m&&e?.[m])??t,[m]),de=(0,r.useCallback)(c||(e=>e),[c]);function ue(e,t,n){(Y!==e||void 0!==t&&t!==q)&&(Q(e),n||(ee(e<s.length-1),P?.(e)),void 0!==t&&U(t))}function me(e,t){L(n=>{const o=new Map(n);return null===t?o.delete(e):o.set(e,t),o})}function pe(e){return T.get(ce(ae[e],e))}(0,i.A)(()=>{if(z&&"number"==typeof ne&&ae){let e=V+X;const t=ae.length,n=t-1;if(!t)return void ue(0,null);for(let o=0;o<t;o+=1){let t=pe(o);if(M&&(t=t||0),void 0===t){ue(o-1,void 0,!0);break}if(e+=t,0===n&&e<=z||o===n-1&&e+pe(n)<=z){ue(n,null);break}if(e+ne>z){ue(o-1,e-t-X+F);break}}N&&pe(0)+X>z&&U(null)}},[z,T,F,V,X,ce,ae]);const fe=Z&&!!ie.length;let ge={};null!==q&&re&&(ge={position:"absolute",top:0,insetInlineStart:q});const he={prefixCls:te,responsive:re,component:j,invalidate:se},_e=d?(e,t)=>{const n=ce(e,t);return r.createElement(h.Provider,{key:n,value:{...he,order:t,item:e,itemKey:n,registerSize:me,display:t<=J}},d(e,t))}:(e,t)=>{const n=ce(e,t);return r.createElement(u,(0,o.A)({},he,{order:t,key:n,item:e,renderItem:de,itemKey:n,registerSize:me,display:t<=J}))},ye={order:fe?J:Number.MAX_SAFE_INTEGER,className:`${te}-rest`,registerSize:function(e,t){B(t),H(F)},display:fe},ve=$||x,be=w?r.createElement(h.Provider,{value:{...he,...ye}},w(ie)):r.createElement(u,(0,o.A)({},he,ye),"function"==typeof ve?ve(ie):ve),xe=r.createElement(I,(0,o.A)({className:(0,l.$)(!se&&n,C),style:E,ref:t},R),k&&r.createElement(u,(0,o.A)({},he,{responsive:oe,responsiveDisabled:!re,order:-1,className:`${te}-prefix`,registerSize:function(e,t){W(t)},display:!0}),k),ae.map(_e),le?be:null,N&&r.createElement(u,(0,o.A)({},he,{responsive:oe,responsiveDisabled:!re,order:J,className:`${te}-suffix`,registerSize:function(e,t){G(t)},display:!0,style:ge}),N));return oe?r.createElement(a.Ay,{onResize:function(e,t){O(t.clientWidth)},disabled:!re},xe):xe}const C=r.forwardRef(E);C.Item=y,C.RESPONSIVE=v,C.INVALIDATE=b;const S=C},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/defaultRenderEmpty.js"(e,t,n){var o=n("react"),r=n.n(o),s=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),l=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/empty/index.js");n.d(t,["A",0,e=>{const{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(s.QO),a=n("empty");switch(t){case"Table":case"List":return r().createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r().createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE,className:`${a}-small`});case"Table.filter":return null;default:return r().createElement(l.A,null)}}])},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/empty/index.js"(e,t,n){n.d(t,{A:()=>v});var o=n("react"),r=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),a=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/locale/useLocale.js"),i=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/useToken.js"),c=n("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js");const d=(e,t)=>e?.startsWith("var(")||t?.startsWith("var(")?e:new c.Y(e).onBackground(t).toHexString(),u=()=>{const[,e]=(0,i.Ay)(),[t]=(0,a.A)("Empty"),{colorBgContainer:n,colorFill:r,colorFillSecondary:s,colorFillTertiary:l,colorTextQuaternary:c}=e,{panelBgColor:u,borderColor:m,detailColor:p,shadowColor:f,iconColor:g}=(0,o.useMemo)(()=>({panelBgColor:d(l,n),borderColor:d(c,n),detailColor:d(r,n),shadowColor:d(s,n),iconColor:n}),[n,r,s,l,c]);return o.createElement("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,t?.description||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.7)"},o.createElement("ellipse",{fillOpacity:".8",fill:f,cx:"67.8",cy:"106.9",rx:"67.8",ry:"12.7"}),o.createElement("path",{fill:m,d:"M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"}),o.createElement("path",{fill:u,d:"M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"}),o.createElement("path",{fill:p,d:"M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"})),o.createElement("path",{fill:p,d:"m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"}),o.createElement("g",{fill:g,transform:"translate(149.7 15.4)"},o.createElement("circle",{cx:"20.7",cy:"3.2",r:"2.8"}),o.createElement("path",{d:"M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"}))))},m=()=>{const[,e]=(0,i.Ay)(),[t]=(0,a.A)("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:s,colorBgContainer:l}=e,{borderColor:c,shadowColor:u,contentColor:m}=(0,o.useMemo)(()=>({borderColor:d(n,l),shadowColor:d(r,l),contentColor:d(s,l)}),[n,r,s,l]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,t?.description||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:u,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:c},o.createElement("path",{d:"M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"}),o.createElement("path",{d:"M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3",fill:m}))))};var p=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),f=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js");const g=(0,p.OF)("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:o}=e;return(e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:s,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:s,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}})((0,f.oX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()}))}),h=o.createElement(u,null),_=o.createElement(m,null),y=o.forwardRef((e,t)=>{const{className:n,rootClassName:i,prefixCls:c,image:d,description:u,children:m,imageStyle:p,style:f,classNames:y,styles:v,...b}=e,{getPrefixCls:x,direction:E,className:C,style:S,classNames:$,styles:w,image:k}=(0,l.TP)("empty"),N=x("empty",c),[I,j]=g(N),P=(0,s.XT)(S),R=(0,s.XT)(f),[M,A]=(0,s.AV)([$,y],[w,P,v,R],{props:e}),[D]=(0,a.A)("Empty"),O=void 0!==u?u:D?.description,z=d??k??h;let T=null;T="string"==typeof z?o.createElement("img",{draggable:!1,alt:"string"==typeof O?O:"empty",src:z}):z;const L=o.useRef(null);return o.useImperativeHandle(t,()=>({nativeElement:L.current})),o.createElement("div",{ref:L,className:(0,r.$)(I,j,N,C,{[`${N}-normal`]:z===_,[`${N}-rtl`]:"rtl"===E},n,i,M.root),style:A.root,...b},o.createElement("div",{className:(0,r.$)(`${N}-image`,M.image),style:{...p,...A.image}},T),O&&o.createElement("div",{className:(0,r.$)(`${N}-description`,M.description),style:A.description},O),m&&o.createElement("div",{className:(0,r.$)(`${N}-footer`,M.footer),style:A.footer},m))});y.PRESENTED_IMAGE_DEFAULT=h,y.PRESENTED_IMAGE_SIMPLE=_;const v=y},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/select/usePopupRender.js"(e,t,n){var o=n("react"),r=n.n(o),s=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/ContextIsolator.js");n.d(t,["A",0,function(e){return r().useMemo(()=>{if(e)return(...t)=>r().createElement(s.A,{space:!0},e.apply(void 0,t))},[e])}])},"./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/spin/index.js"(e,t,n){n.d(t,{A:()=>I});var o=n("react"),r=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=n("./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"),l=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),a=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),i=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/hooks/useSize.js"),c=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/reactNode.js"),d=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/index.js");const u=80*Math.PI,m=e=>{const{dotClassName:t,style:n,hasCircleCls:s}=e;return o.createElement("circle",{className:(0,r.$)(`${t}-circle`,{[`${t}-circle-bg`]:s}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},p=({percent:e,prefixCls:t})=>{const n=`${t}-dot`,s=`${n}-holder`,l=`${s}-hidden`,[a,i]=o.useState(!1);(0,d.Nf)(()=>{0!==e&&i(!0)},[e]);const c=Math.max(Math.min(e,100),0);if(!a)return null;const p={strokeDashoffset:""+u/4,strokeDasharray:`${u*c/100} ${u*(100-c)/100}`};return o.createElement("span",{className:(0,r.$)(s,`${n}-progress`,{[l]:c<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},o.createElement(m,{dotClassName:n,hasCircleCls:!0}),o.createElement(m,{dotClassName:n,style:p})))};function f(e){const{prefixCls:t,percent:n=0,className:s,style:l}=e,a=`${t}-dot`,i=`${a}-holder`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,r.$)(i,s,n>0&&`${i}-hidden`),style:l},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(p,{prefixCls:t,percent:n}))}function g(e){const{prefixCls:t,indicator:n,percent:s,className:l,style:a}=e,i=`${t}-dot`;return n&&o.isValidElement(n)?(0,c.Ob)(n,e=>({className:(0,r.$)(e.className,i,l),style:{...e.style,...a},percent:s})):o.createElement(f,{prefixCls:t,percent:s,className:l,style:a})}var h=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),_=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js"),y=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),v=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js");const b=new h.Mo("antSpinMove",{to:{opacity:1}}),x=new h.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),E=e=>{const{componentCls:t}=e,n=`${t}-section`;return{[t]:{...(0,_.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}}}}}},C=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o}=e,[r,s]=(0,y.PN)(n,"spin");return{[t]:{[r("dot-holder-size")]:e.dotSize,[r("dot-item-size")]:`calc((${s("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:s("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:s("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:x,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:s("dot-item-size"),height:s("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}}}}},S=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}}}},$=(0,y.OF)("Spin",e=>{const t=(0,v.oX)(e,{spinDotDefault:e.colorTextDescription});return[E(t),C(t),S(t)]},e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),w=[[30,.05],[70,.03],[96,.01]];let k;const N=o.forwardRef((e,t)=>{const{prefixCls:n,spinning:c=!0,delay:d=0,className:u,rootClassName:m,size:p,tip:f,description:h,wrapperClassName:_,style:y,children:v,fullscreen:b=!1,indicator:x,percent:E,classNames:C,styles:S,...N}=e,{getPrefixCls:I,direction:j,indicator:P,className:R,style:M,classNames:A,styles:D}=(0,a.TP)("spin"),O=I("spin",n),[z,T]=$(O),[L,K]=o.useState(()=>c&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(c,d)),H=function(e,t){const[n,r]=o.useState(0),s=o.useRef(null),l="auto"===t;return o.useEffect(()=>(l&&e&&(r(0),s.current=setInterval(()=>{r(e=>{const t=100-e;for(let n=0;n<w.length;n+=1){const[o,r]=w[n];if(e<=o)return e+t*r}return e})},200)),()=>{s.current&&(clearInterval(s.current),s.current=null)}),[l,e]),l?n:t}(L,E);o.useEffect(()=>{if(c){const e=(0,s.s)(d,()=>{K(!0)});return e(),()=>{e?.cancel?.()}}K(!1)},[d,c]);const F=(0,i.A)(e=>p??e),B=h??f,V={...e,size:F,spinning:L,tip:B,description:B,fullscreen:b,children:v,percent:H},W=(0,l.XT)(M),[X,G]=(0,l.AV)([A,C],[D,W,S],{props:V}),q=x??P??k,U=void 0!==v,Y=U||b,Q=o.createElement(o.Fragment,null,o.createElement(g,{className:(0,r.$)(X.indicator),style:G.indicator,prefixCls:O,indicator:q,percent:H}),B&&o.createElement("div",{className:(0,r.$)(`${O}-description`,X.tip,X.description),style:{...G.tip,...G.description}},B)),J=o.useRef(null);return o.useImperativeHandle(t,()=>({nativeElement:J.current})),o.createElement("div",{ref:J,className:(0,r.$)(O,{[`${O}-sm`]:"small"===F,[`${O}-lg`]:"large"===F,[`${O}-spinning`]:L,[`${O}-rtl`]:"rtl"===j,[`${O}-fullscreen`]:b},m,X.root,b&&X.mask,Y?_:[`${O}-section`,X.section],R,u,z,T),style:{...G.root,...Y?{}:G.section,...b?G.mask:{},...y},"aria-live":"polite","aria-busy":L,...N},L&&(Y?o.createElement("div",{className:(0,r.$)(`${O}-section`,X.section),style:G.section},Q):Q),U&&o.createElement("div",{className:(0,r.$)(`${O}-container`,X.container),style:G.container},v))});N.setDefaultIndicator=e=>{k=e};const I=N},"./src/components/fragments/async/dataEntry/Mentions.tsx"(e,t,n){n.r(t),n.d(t,{default:()=>ae});var o=n("react/jsx-runtime"),r=n("react"),s=n.n(r),l=n("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),a=n("./node_modules/.pnpm/@rc-component+input@1.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/input/es/index.js"),i=n("./node_modules/.pnpm/@rc-component+util@1.12.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/util/es/index.js"),c=n("./node_modules/.pnpm/@rc-component+trigger@3.10.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/trigger/es/index.js"),d=n("./node_modules/.pnpm/@rc-component+menu@1.4.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@rc-component/menu/es/index.js");const u=r.createContext(null),m=function(e){const{notFoundContent:t,activeIndex:n,setActiveIndex:o,selectOption:l,onFocus:a,onBlur:i,onScroll:c}=s().useContext(u),{prefixCls:m,options:p,opened:f}=e,g=p[n]||{},h=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(-1===n||!h.current||!f)return;const e=h.current?.findItem?.({key:g.key});e&&e.scrollIntoView({block:"nearest",inline:"nearest"})},[n,g.key,f]),s().createElement(d.Ay,{ref:h,prefixCls:`${m}-menu`,activeKey:g.key,onSelect:({key:e})=>{const t=p.find(({key:t})=>t===e);l(t)},onFocus:a,onBlur:i,onScroll:c},p.map((e,t)=>{const{key:n,disabled:r,className:l,style:a,label:i}=e;return s().createElement(d.Dr,{key:n,disabled:r,className:l,style:a,onMouseEnter:()=>{r||o(t)}},i)}),!p.length&&s().createElement(d.Dr,{disabled:!0},t))},p={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},f=e=>{const{prefixCls:t,options:n,children:o,visible:s,transitionName:l,getPopupContainer:a,popupClassName:i,popupStyle:d,direction:u,placement:f,popupRender:g}=e,h=`${t}-dropdown`,[_,y]=r.useState(!1),v=r.createElement(m,{prefixCls:h,options:n,opened:_}),b=(0,r.useMemo)(()=>{let e;return e="rtl"===u?"top"===f?"topLeft":"bottomLeft":"top"===f?"topRight":"bottomRight",e},[u,f]),x=g?g(v):v;return r.createElement(c.Ay,{prefixCls:h,popupVisible:s,popup:x,popupPlacement:b,popupMotion:{motionName:l},builtinPlacements:p,getPopupContainer:a,popupClassName:i,popupStyle:d,afterOpenChange:y},o)};function g(e){return(e||"").toLowerCase()}function h(e,t){return!t||-1===e.indexOf(t)}function _(e,{value:t=""}){const n=e.toLowerCase();return-1!==t.toLowerCase().indexOf(n)}const y=r.createContext({});function v(){return v=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},v.apply(this,arguments)}const b=(0,r.forwardRef)((e,t)=>{const{prefixCls:n,className:o,style:c,classNames:d,styles:m,prefix:p="@",split:b=" ",notFoundContent:x="Not Found",value:E,defaultValue:C,children:S,options:$,allowClear:w,hasWrapper:k,silent:N,validateSearch:I=h,filterOption:j=_,onChange:P,onKeyDown:R,onKeyUp:M,onPressEnter:A,onSearch:D,onSelect:O,onFocus:z,onBlur:T,transitionName:L,placement:K,direction:H,getPopupContainer:F,popupClassName:B,rows:V=1,visible:W,onPopupScroll:X,popupRender:G,...q}=e,U=(0,r.useMemo)(()=>Array.isArray(p)?p:[p],[p]),Y=(0,r.useRef)(null),Q=(0,r.useRef)(null),J=(0,r.useRef)(null),Z=()=>Q.current?.resizableTextArea?.textArea;s().useImperativeHandle(t,()=>({focus:()=>Q.current?.focus(),blur:()=>Q.current?.blur(),textarea:Q.current?.resizableTextArea?.textArea,nativeElement:Y.current}));const[ee,te]=(0,r.useState)(!1),[ne,oe]=(0,r.useState)(""),[re,se]=(0,r.useState)(""),[le,ae]=(0,r.useState)(0),[ie,ce]=(0,r.useState)(0),[de,ue]=(0,r.useState)(!1),me=(0,i.Bi)(e.id),[pe,fe]=(0,i.PW)(C||"",E),{open:ge}=(0,r.useContext)(y);(0,r.useEffect)(()=>{ee&&J.current&&(J.current.scrollTop=Z().scrollTop)},[ee]);const[he,_e,ye,ve]=s().useMemo(()=>{if(ge)for(let e=0;e<U.length;e+=1){const t=U[e],n=pe.lastIndexOf(t);if(n>=0)return[!0,"",t,n]}return[ee,ne,re,le]},[ge,ee,U,pe,ne,re,le]),be=s().useCallback(e=>{let t;return t=$&&$.length>0?$.map(e=>({...e,key:`${e?.key??e.value}-${me}`})):(0,i.$r)(S).map(({props:e,key:t})=>({...e,label:e.children,key:`${t||e.value}-${me}`})),t.filter(t=>!1===j||j(e,t))},[$,me,S,j]),xe=s().useMemo(()=>be(_e),[be,_e]),Ee=s().useCallback((e,t=1)=>{const n=xe.length;if(!n)return-1;for(let o=0;o<n;o+=1){const r=(e+o*t+n)%n,s=xe[r];if(!s?.disabled)return r}return-1},[xe]);(0,r.useEffect)(()=>{if(!he)return;const e=xe[ie];e&&!e.disabled||ce(Ee(0))},[he,xe,ie,Ee,ce]);const Ce=function(){const[e,t]=(0,r.useState)({id:0,callback:null}),n=(0,r.useCallback)(e=>{t(({id:t})=>({id:t+1,callback:e}))},[]);return(0,r.useEffect)(()=>{e.callback?.()},[e]),n}(),Se=e=>{te(!1),ae(0),oe(""),Ce(e)},$e=e=>{fe(e),P?.(e)},we=e=>{if(!e||e.disabled)return;const{value:t=""}=e,{text:n,selectionLocation:o}=function(e,t){const{measureLocation:n,prefix:o,targetText:r,selectionStart:s,split:l}=t;let a=e.slice(0,n);a[a.length-l.length]===l&&(a=a.slice(0,a.length-l.length)),a&&(a=`${a}${l}`);let i=function(e,t,n){const o=e[0];if(!o||o===n)return e;let r=e;const s=t.length;for(let e=0;e<s;e+=1){if(g(r[e])!==g(t[e])){r=r.slice(e);break}e===s-1&&(r=r.slice(s))}return r}(e.slice(s),r.slice(s-n-o.length),l);i.slice(0,l.length)===l&&(i=i.slice(l.length));const c=`${a}${o}${r}${l}`;return{text:`${c}${i}`,selectionLocation:c.length}}(pe,{measureLocation:ve,targetText:t,prefix:ye,selectionStart:Z()?.selectionStart,split:b});$e(n),Se(()=>{var e,t;(e=Z()).setSelectionRange(t=o,t),e.blur(),e.focus()}),O?.(e,ye)},ke=(0,r.useRef)(),Ne=e=>{window.clearTimeout(ke.current),!de&&e&&z&&z(e),ue(!0)},Ie=e=>{ke.current=window.setTimeout(()=>{ue(!1),Se(),T?.(e)},0)},je=s().useMemo(()=>{const e=m?.textarea?.resize??c?.resize,t={...m?.textarea};return void 0!==e&&(t.resize=e),{...m,textarea:t}},[c,m]),Pe=s().createElement(s().Fragment,null,s().createElement(a.fs,v({classNames:{textarea:d?.textarea},styles:je,ref:Q,value:pe},q,{rows:V,onChange:({target:{value:e}})=>{$e(e)},onKeyDown:e=>{const{which:t}=e;if(R?.(e),he)if(t===i.DD.UP||t===i.DD.DOWN){if(!xe.length)return;const n=t===i.DD.UP?-1:1,o=Ee(ie+n,n);-1!==o&&ce(o),e.preventDefault()}else if(t===i.DD.ESC)Se();else if(t===i.DD.ENTER){if(e.preventDefault(),N)return;if(!xe.length)return void Se();let t=ie;if(xe[t]&&!xe[t].disabled||(t=Ee(0)),-1===t)return void Se();ce(t),we(xe[t])}},onKeyUp:e=>{const{key:t,which:n}=e,o=function(e){const{selectionStart:t}=e;return e.value.slice(0,t)}(e.target),{location:r,prefix:s}=function(e,t){return t.reduce((t,n)=>{const o=e.lastIndexOf(n);return o>t.location?{location:o,prefix:n}:t},{location:-1,prefix:""})}(o,U);if(M?.(e),-1===[i.DD.ESC,i.DD.UP,i.DD.DOWN,i.DD.ENTER].indexOf(n))if(-1!==r){const e=o.slice(r+s.length),l=I(e,b),a=!!be(e).length;l?(t===s||"Shift"===t||n===i.DD.ALT||"AltGraph"===t||he||e!==_e&&a)&&((e,t,n)=>{te(!0),oe(e),se(t),ae(n),ce(Ee(0))})(e,s,r):he&&Se(),D&&l&&D(e,s)}else he&&Se()},onPressEnter:e=>{!he&&A&&A(e)},onFocus:Ne,onBlur:Ie})),he&&s().createElement("div",{ref:J,className:`${n}-measure`},pe.slice(0,ve),s().createElement(u.Provider,{value:{notFoundContent:x,activeIndex:ie,setActiveIndex:ce,selectOption:we,onFocus:()=>{Ne()},onBlur:()=>{Ie()},onScroll:e=>{X?.(e)}}},s().createElement(f,{prefixCls:n,transitionName:L,placement:K,direction:H,options:xe,visible:!0,getPopupContainer:F,popupClassName:(0,l.$)(B,d?.popup),popupStyle:m?.popup,popupRender:G},s().createElement("span",null,ye))),pe.slice(ve+ye.length)));return k?Pe:s().createElement("div",{className:(0,l.$)(n,o),style:c,ref:Y},Pe)}),x=(0,r.forwardRef)(({suffix:e,prefixCls:t="rc-mentions",defaultValue:n,value:o,id:c,allowClear:d,onChange:u,classNames:m,styles:p,className:f,disabled:g,onClear:h,..._},y)=>{const x=!(!e&&!d),E=(0,r.useRef)(null),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(y,()=>({...C.current,nativeElement:E.current?.nativeElement||C.current?.nativeElement}));const[S,$]=(0,i.PW)(n||"",o),w=e=>{$(e),u?.(e)};return s().createElement(a.aE,{suffix:e,prefixCls:t,value:S,allowClear:d,handleReset:()=>{w("")},className:(0,l.$)(t,f,{[`${t}-has-suffix`]:x}),classNames:m,disabled:g,ref:E,onClear:h},s().createElement(b,v({className:m?.mentions,styles:p,classNames:m,prefixCls:t,id:c,ref:C,onChange:w,disabled:g,hasWrapper:x},_)))});x.Option=()=>null;const E=x;var C=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useAllowClear.js"),S=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useZIndex.js"),$=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),w=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/PurePanel.js"),k=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/statusUtils.js"),N=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/_util/toList.js"),I=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/context.js"),j=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/defaultRenderEmpty.js"),P=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/DisabledContext.js"),R=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),M=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/config-provider/hooks/useSize.js"),A=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/form/context.js"),D=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/form/hooks/useVariants.js"),O=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/spin/index.js"),z=n("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs/es/index.js"),T=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/input/style/index.js"),L=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/input/style/token.js"),K=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/input/style/variants.js"),H=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/style/index.js"),F=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/theme/util/genStyleUtils.js"),B=n("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@ant-design/cssinjs-utils/es/index.js");const V=e=>{const{componentCls:t,fontSize:n,paddingXXS:o,colorBgElevated:r,borderRadiusLG:s,boxShadowSecondary:l,itemPaddingVertical:a,controlPaddingHorizontal:i,colorText:c,borderRadius:d,lineHeight:u,colorTextDisabled:m,controlItemBgHover:p,motionDurationSlow:f}=e;return{[t]:{"&-dropdown":{...(0,H.dF)(e),position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:n,fontVariant:"initial",padding:o,backgroundColor:r,borderRadius:s,outline:"none",boxShadow:l,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":{...H.L9,position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${(0,z.zA)(a)} ${(0,z.zA)(i)}`,color:c,borderRadius:d,fontWeight:"normal",lineHeight:u,cursor:"pointer",transition:`background-color ${f} ease`,"&:hover":{backgroundColor:p},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:p,cursor:"not-allowed"}},"&-selected":{color:c,fontWeight:e.fontWeightStrong,backgroundColor:p},"&-active":{backgroundColor:p}}}}}}},W=e=>{const{componentCls:t,colorText:n,antCls:o,colorTextDisabled:r,calc:s}=e,[l,a]=(0,F.PN)(o,"cmp-mentions");return{[t]:[(0,H.dF)(e),(0,T.wj)(e,{largeStyle:{padding:0},smallStyle:{padding:0}}),(0,K.Eb)(e),(0,K.sA)(e),(0,K.lB)(e),(0,K.aP)(e),{[l("padding-inline")]:e.paddingInline,[l("padding-block")]:e.paddingBlock,[l("control-height")]:e.controlHeight,display:"flex",padding:0,whiteSpace:"pre-wrap","> textarea":[(0,H.dF)(e),(0,T.j_)(e.colorTextPlaceholder),{background:"transparent",border:"none",borderRadius:"inherit",outline:"none",flex:"auto",minWidth:0,resize:"none","&:disabled":{color:r}}],[`> textarea, ${t}-measure`]:{color:n,boxSizing:"border-box",margin:0,minHeight:s(a("control-height")).sub(s(e.lineWidth).mul(2).equal()).equal(),paddingInline:a("padding-inline"),paddingBlock:a("padding-block"),overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},[`${t}-measure`]:{position:"absolute",inset:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},[`${t}-suffix`]:{display:"inline-flex",alignItems:"center",flex:"none",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,position:"absolute",top:"50%",transform:"translateY(-50%)",insetInlineEnd:a("padding-inline"),columnGap:e.marginXS,[`${t}-clear-icon`]:{cursor:"pointer",border:0,background:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"}},[`${o}-form-item-feedback-icon`]:{display:"inline-flex",alignItems:"center",justifyContent:"center"}}},{"&-has-suffix":{"> textarea":{paddingInlineEnd:s(e.paddingXXS).mul(1.5).add(e.fontSizeIcon).add(a("padding-inline")).equal()}}},{"&-disabled":{"> textarea":{...(0,K.eT)(e)}}},{"&-lg":{[l("padding-inline")]:e.paddingInlineLG,[l("padding-block")]:e.paddingBlockLG,[l("control-height")]:e.controlHeightLG},"&-sm":{[l("padding-inline")]:e.paddingInlineSM,[l("padding-block")]:e.paddingBlockSM,[l("control-height")]:e.controlHeightSM}}]}},X=(0,F.OF)("Mentions",e=>{const t=(0,B.oX)(e,(0,L.C)(e));return[W(t),V(t)]},e=>({...(0,L.b)(e),dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50,itemPaddingVertical:(e.controlHeight-e.fontHeight)/2}));var G=n("./node_modules/.pnpm/antd@6.6.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/antd/es/select/usePopupRender.js");const{Option:q}=E;function U(){return!0}const Y=r.forwardRef((e,t)=>{const{prefixCls:n,className:o,rootClassName:s,disabled:a,loading:c,filterOption:d,children:u,notFoundContent:m,options:p,status:f,allowClear:g,popupClassName:h,style:_,variant:y,classNames:v,styles:b,size:x,popupRender:w,...N}=e,[z,T]=r.useState(!1),L=r.useRef(null),K=(0,i.K4)(t,L),H=(0,M.A)(e=>x??e),{getPrefixCls:F,direction:B,allowClear:V,className:W,style:Y,classNames:Q,styles:J}=(0,I.TP)("mentions"),{renderEmpty:Z}=r.useContext(I.QO),{status:ee,hasFeedback:te,feedbackIcon:ne}=r.useContext(A.$W),oe=(0,k.v)(ee,f),re=r.useContext(P.A),se=a??re,le=F("mentions",n),ae={...e,disabled:se,status:oe,variant:y},ie=(0,$.XT)(Y),ce=(0,$.XT)(_),[de,ue]=(0,$.AV)([Q,v],[J,ie,b,ce],{props:ae}),me=r.useMemo(()=>void 0!==m?m:Z?.("Select")||r.createElement(j.A,{componentName:"Select"}),[m,Z]),pe=r.useMemo(()=>c?r.createElement(q,{value:"ANTD_SEARCHING",disabled:!0},r.createElement(O.A,{size:"small"})):u,[c,u]),fe=c?[{value:"ANTD_SEARCHING",disabled:!0,label:r.createElement(O.A,{size:"small"})}]:p,ge=c?U:d,he=(0,C.O)({allowClear:g,contextAllowClear:V,defaultAllowClear:!1,componentName:"Mentions"}),_e=(0,R.A)(le),[ye,ve]=X(le,_e),[be,xe]=(0,D.A)("mentions",y),[Ee]=(0,S.YK)("SelectLike",ue.popup?.zIndex),Ce=te&&r.createElement(r.Fragment,null,ne),Se=(0,l.$)(W,o,s,ve,_e,de.root,{[`${le}-sm`]:"small"===H,[`${le}-lg`]:"large"===H}),$e=(0,G.A)(w);return r.createElement(E,{silent:c,prefixCls:le,notFoundContent:me,className:Se,disabled:se,allowClear:he,direction:B,style:ue.root,popupRender:$e,...N,filterOption:ge,onFocus:(...e)=>{N.onFocus&&N.onFocus.apply(N,e),T(!0)},onBlur:(...e)=>{N.onBlur&&N.onBlur.apply(N,e),T(!1)},ref:K,options:fe,suffix:Ce,styles:{textarea:ue.textarea,popup:{...ue.popup,zIndex:Ee},suffix:ue.suffix},classNames:{textarea:(0,l.$)(de.textarea),popup:(0,l.$)(de.popup,h,s,ye,ve,_e),suffix:de.suffix,mentions:(0,l.$)({[`${le}-disabled`]:se,[`${le}-focused`]:z,[`${le}-rtl`]:"rtl"===B},ye),variant:(0,l.$)({[`${le}-${be}`]:xe},(0,k.L)(le,oe)),affixWrapper:ye}},pe)}),Q=Y;Q.Option=q;const J=(0,w.A)(Q,void 0,void 0,"mentions");Q._InternalPanelDoNotUseOrYouWillBeFired=J,Q.getMentions=(e="",t={})=>{const{prefix:n="@",split:o=" "}=t,r=(0,N.A)(n);return e.split(o).reduce((e,t="")=>{let n=null;if(r.some(e=>t.slice(0,e.length)===e&&(n=e,!0)),null!==n){const o={prefix:n,value:t.slice(n.length)};o.value&&e.push(o)}return e},[])};const Z=Q;var ee=n("./src/utils/antd.tsx"),te=n("./src/utils/dash3.ts"),ne=n("./src/utils/funcs.ts"),oe=function(){return oe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},oe.apply(this,arguments)},re=function(e){if(!e||"object"!=typeof e)return(0,ee.xE)(e);var t=e;return(0,ee.xE)(oe(oe({},t),{label:s().isValidElement(t.label)?t.value:t.label}))};const se=function(e){var t=e.loading_state,n=e.options,s=e.setProps,l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["children","loading_state","options","resizeInfo","searchPrefix","searchValue","selectedOption","selectedPrefix","setProps"]),a=Z,i={component:"Mentions",id:l.id,props:e},c=(0,ne.qF)((0,ee.P5)(l),i),d=(0,ne.qF)(n,i),u=(0,r.useMemo)(function(){return(0,ee.a5)(d)},[d]),m=c.popupRender,p="function"==typeof m?function(e){return(0,ee.LM)(m(e),["popupRender"])}:m,f=(0,ee.d8)(oe(oe({},e),{value:e.value})),g=f.onBlur,h=c.allowClear,_=(0,ne.Qd)(h)?oe(oe({},h),null==h.clearIcon?{}:{clearIcon:(0,ee.LM)(h.clearIcon,["allowClear","clearIcon"])}):h,y=(0,r.useCallback)(function(e,t){return null==s?void 0:s({searchValue:e,searchPrefix:t})},[s]),v=(0,r.useCallback)(function(e,t){return null==s?void 0:s({selectedOption:re(e),selectedPrefix:t})},[s]),b=(0,r.useCallback)(function(){return null==g?void 0:g()},[g]),x=(0,r.useCallback)(function(e){return null==s?void 0:s({resizeInfo:e})},[s]);return(0,ee.L9)((0,o.jsx)(a,oe({},c,f,{allowClear:_,options:u,popupRender:p,onSearch:y,onSelect:v,onBlur:b,onResize:x,"data-dash-is-loading":(0,te.A_)(t)||void 0})),e)};var le=function(){return le=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},le.apply(this,arguments)};const ae=function(e){return(0,o.jsx)(se,le({},e))}},"./node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"(e,t,n){function o(e,t,n){var o=(n||{}).atBegin;return function(e,t,n){var o,r=n||{},s=r.noTrailing,l=void 0!==s&&s,a=r.noLeading,i=void 0!==a&&a,c=r.debounceMode,d=void 0===c?void 0:c,u=!1,m=0;function p(){o&&clearTimeout(o)}function f(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];var a=this,c=Date.now()-m;function f(){m=Date.now(),t.apply(a,r)}function g(){o=void 0}u||(i||!d||o||f(),p(),void 0===d&&c>e?i?(m=Date.now(),l||(o=setTimeout(d?g:f,e))):f():!0!==l&&(o=setTimeout(d?g:f,void 0===d?e-c:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),u=!n},f}(e,t,{debounceMode:!1!==(void 0!==o&&o)})}n.d(t,{s:()=>o})}}]);