beancount-gs/public/static/js/691.3c4589f4.chunk.js

1 line
46 KiB
JavaScript
Raw Normal View History

2024-10-29 05:40:39 +00:00
"use strict";(self.webpackChunkbeancount_web=self.webpackChunkbeancount_web||[]).push([[691],{3420:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(9379),o=n(9284);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var i=n(3768),c=function(e,t){return o.createElement(i.A,(0,r.A)((0,r.A)({},e),{},{ref:t,icon:a}))};const l=o.forwardRef(c)},6445:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(9379),o=n(9284);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var i=n(3768),c=function(e,t){return o.createElement(i.A,(0,r.A)((0,r.A)({},e),{},{ref:t,icon:a}))};const l=o.forwardRef(c)},7691:(e,t,n)=>{n.d(t,{A:()=>se});var r=n(4467),o=n(8168),a=n(5691),i=n(3420),c=n(6445),l=n(4480),u=n.n(l),s=n(9379),f=n(5544),d=n(2284),v=n(45),p=n(9284),m=n(7142),b=n(4413),A=n(7285);const h=(0,p.createContext)(null);const y=p.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.id,i=e.active,c=e.tabKey,l=e.children;return p.createElement("div",{id:a&&"".concat(a,"-panel-").concat(c),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(c),"aria-hidden":!i,style:o,className:u()(n,i&&"".concat(n,"-active"),r),ref:t},l)}));var g=["key","forceRender","style","className"];function C(e){var t=e.id,n=e.activeKey,a=e.animated,i=e.tabPosition,c=e.destroyInactiveTabPane,l=p.useContext(h),f=l.prefixCls,d=l.tabs,m=a.tabPane,b="".concat(f,"-tabpane");return p.createElement("div",{className:u()("".concat(f,"-content-holder"))},p.createElement("div",{className:u()("".concat(f,"-content"),"".concat(f,"-content-").concat(i),(0,r.A)({},"".concat(f,"-content-animated"),m))},d.map((function(e){var r=e.key,i=e.forceRender,l=e.style,f=e.className,d=(0,v.A)(e,g),h=r===n;return p.createElement(A.Ay,(0,o.A)({key:r,visible:h,forceRender:i,removeOnLeave:!!c,leavedClassName:"".concat(b,"-hidden")},a.tabPaneMotion),(function(e,n){var a=e.style,i=e.className;return p.createElement(y,(0,o.A)({},d,{prefixCls:b,id:t,tabKey:r,animated:m,active:h,style:(0,s.A)((0,s.A)({},l),a),className:u()(f,i),ref:n}))}))}))))}var E=n(436),w=n(2773),k=n(7668),x=n(8979),N=n(7095),P={width:0,height:0,left:0,top:0};function M(e,t){var n=p.useRef(e),r=p.useState({}),o=(0,f.A)(r,2)[1];return[n.current,function(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,o({})}]}var S=Math.pow(.995,20);var I=n(909);function R(e){var t=(0,p.useState)(0),n=(0,f.A)(t,2),r=n[0],o=n[1],a=(0,p.useRef)(0),i=(0,p.useRef)();return i.current=e,(0,I.o)((function(){var e;null===(e=i.current)||void 0===e||e.call(i)}),[r]),function(){a.current===r&&(a.current+=1,o(a.current))}}var K={width:0,height:0,left:0,top:0,right:0};function T(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function O(e){return String(e).replace(/"/g,"TABS_DQ")}function D(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,a=e.style;return r&&!1!==r.showAdd?p.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null===o||void 0===o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}const L=p.forwardRef(D);const j=p.forwardRef((function(e,t){var n,r=e.position,o=e.prefixCls,a=e.extra;if(!a)return null;var i={};return"object"!==(0,d.A)(a)||p.isValidElement(a)?i.right=a:i=a,"right"===r&&(n=i.right),"left"===r&&(n=i.left),n?p.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null}));var B=n(7007),V=n(2462),_=n(6184);function z(e,t){var n=e.prefixCls,o=e.id,a=e.tabs,i=e.locale,c=e.mobile,l=e.moreIcon,s=void 0===l?"More":l,d=e.moreTransitionName,v=e.style,m=e.className,b=e.editable,A=e.tabBarGutter,