@whyour/qinglong 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sample/config.sample.sh +4 -0
- package/shell/share.sh +1 -1
- package/shell/update.sh +6 -14
- package/static/build/api/system.js +6 -5
- package/static/build/data/auth.js +1 -0
- package/static/build/data/cron.js +3 -3
- package/static/build/loaders/initData.js +1 -1
- package/static/build/loaders/initFile.js +11 -0
- package/static/build/loaders/initTask.js +1 -1
- package/static/build/services/cron.js +3 -3
- package/static/build/services/dependence.js +2 -2
- package/static/build/services/schedule.js +2 -2
- package/static/build/services/system.js +22 -16
- package/static/build/shared/pLimit.js +29 -14
- package/static/build/shared/runCron.js +2 -2
- package/static/dist/2725.7b01466d.async.js +1 -0
- package/static/dist/2880.dc09d317.async.js +2 -0
- package/static/dist/4491.3c2d8653.async.js +4 -0
- package/static/dist/6923.906d60ab.async.js +6 -0
- package/static/dist/7192.64073afb.async.js +4 -0
- package/static/dist/index.html +1 -1
- package/static/dist/src__pages__crontab__index.7fcb35da.async.js +2 -0
- package/static/dist/{src__pages__error__index.c0477141.async.js → src__pages__error__index.a4305d27.async.js} +1 -1
- package/static/dist/src__pages__error__index.b047bb77.chunk.css +1 -0
- package/static/dist/src__pages__setting__index.9bed13e4.async.js +2 -0
- package/static/dist/src__pages__setting__loginLog.600363ba.async.js +18 -0
- package/static/dist/src__pages__subscription__index.ee4ae33c.async.js +1 -0
- package/static/dist/{umi.8ac0a928.js → umi.4ebd8373.js} +9 -9
- package/version.yaml +5 -10
- package/static/dist/4491.96ee9a9f.async.js +0 -4
- package/static/dist/5969.87aeb075.async.js +0 -1
- package/static/dist/7567.a224d0a6.async.js +0 -5
- package/static/dist/8037.386b415d.async.js +0 -1
- package/static/dist/921.198cefa6.async.js +0 -6
- package/static/dist/9504.6d4e29e7.async.js +0 -1
- package/static/dist/986.ab6a48a4.async.js +0 -1
- package/static/dist/src__pages__crontab__index.5cfa7d5b.async.js +0 -2
- package/static/dist/src__pages__crontab__viewCreateModal.3db14204.async.js +0 -4
- package/static/dist/src__pages__crontab__viewManageModal.9f899650.async.js +0 -4
- package/static/dist/src__pages__error__index.bc39e943.chunk.css +0 -1
- package/static/dist/src__pages__setting__index.0bfefeff.async.js +0 -2
- package/static/dist/src__pages__setting__loginLog.0708083b.async.js +0 -18
- package/static/dist/src__pages__subscription__index.708b6c8f.async.js +0 -2
package/version.yaml
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
version: 2.15.
|
|
2
|
-
changeLogLink: https://t.me/jiao_long/
|
|
1
|
+
version: 2.15.17
|
|
2
|
+
changeLogLink: https://t.me/jiao_long/383
|
|
3
3
|
changeLog: |
|
|
4
|
-
1.
|
|
5
|
-
2.
|
|
6
|
-
3.
|
|
7
|
-
4. 增加初始化文件写入,修复参数含有空格影响 task/ql 命令
|
|
8
|
-
5. 修复初始化界面、侧边栏、错误页样式
|
|
9
|
-
6. 修复拉取订阅文件包含空格出错
|
|
10
|
-
7. 修改 api 限流策略,修复检查检查日志
|
|
11
|
-
8. 修复环境变量列表搜索字符转码
|
|
4
|
+
1. 系统设置增加定时任务并发数设置
|
|
5
|
+
2. 修改默认并发数
|
|
6
|
+
3. 修改更新仓库逻辑
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[4491],{3424:function(F,g,e){"use strict";e.r(g);var C=e(54306),v=e.n(C),d=e(63313),j=e.n(d),h=e(89065),m=e(9835),y=e(84163),E=e(24378),f=e(35911),s=e(90717),a=e(11527),A=h.Z.Countdown,b=function(B){var u=B.socketMessage,t=B.systemInfo,_=(0,d.useState)(!1),i=v()(_,2),P=i[0],p=i[1],W=(0,d.useState)(""),n=v()(W,2),T=n[0],U=n[1],x=(0,d.useRef)(),I=function(){P||(p(!0),m.ZP.loading("\u68C0\u67E5\u66F4\u65B0\u4E2D...",0),f.W.put("".concat(s.Z.apiPrefix,"system/update-check")).then(function(o){var c=o.code,l=o.data;m.ZP.destroy(),c===200&&(l.hasNewVersion?K(l):R(l))}).catch(function(o){m.ZP.destroy(),console.log(o)}).finally(function(){p(!1)}))},R=function(o){y.Z.confirm({width:500,title:"\u66F4\u65B0",content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"\u5DF2\u7ECF\u662F\u6700\u65B0\u7248\u4E86\uFF01"}),(0,a.jsxs)("div",{style:{fontSize:12,fontWeight:400,marginTop:5},children:["\u9752\u9F99 ",o.lastVersion," \u662F\u76EE\u524D\u68C0\u6D4B\u5230\u7684\u6700\u65B0\u53EF\u7528\u7248\u672C\u4E86\u3002"]})]}),okText:"\u5F3A\u5236\u66F4\u65B0",onOk:function(){L(),f.W.put("".concat(s.Z.apiPrefix,"system/update")).then(function(l){}).catch(function(l){console.log(l)})}})},K=function(o){var c=o.lastVersion,l=o.lastLog;y.Z.confirm({width:500,title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"\u66F4\u65B0\u53EF\u7528"}),(0,a.jsxs)("div",{style:{fontSize:12,fontWeight:400,marginTop:5},children:["\u65B0\u7248\u672C ",c," \u53EF\u7528\uFF0C\u4F60\u4F7F\u7528\u7684\u7248\u672C\u4E3A ",t.version,"\u3002"]})]}),content:(0,a.jsx)("pre",{style:{fontSize:12,fontWeight:400},children:l}),okText:"\u66F4\u65B0",cancelText:"\u4EE5\u540E\u518D\u8BF4",onOk:function(){L(),f.W.put("".concat(s.Z.apiPrefix,"system/update")).then(function(w){}).catch(function(w){console.log(w)})}})},L=function(){U(""),x.current=y.Z.info({width:600,maskClosable:!1,closable:!1,keyboard:!1,okButtonProps:{disabled:!0},title:"\u66F4\u65B0\u4E2D...",centered:!0,content:(0,a.jsx)("pre",{style:{fontSize:12,fontWeight:400},children:T})})};return(0,d.useEffect)(function(){if(!(!x.current||!u)){var M=u.type,o=u.message,c=u.references;if(M==="updateSystemVersion"){var l="".concat(T).concat(o),D=l.includes("\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5");x.current.update({maskClosable:D,closable:D,okButtonProps:{disabled:!D},content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("pre",{style:{fontSize:12,fontWeight:400},children:l}),(0,a.jsx)("div",{id:"log-identifier",style:{paddingBottom:5}})]})}),D&&!T.includes("\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5")&&m.ZP.error("\u66F4\u65B0\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u53CA\u65E5\u5FD7\u6216\u7A0D\u540E\u518D\u8BD5"),U(l),document.getElementById("log-identifier")&&document.getElementById("log-identifier").scrollIntoView({behavior:"smooth",block:"nearest"}),o.includes("\u91CD\u542F\u9762\u677F")&&(m.ZP.warning({content:(0,a.jsxs)("span",{children:["\u7CFB\u7EDF\u5C06\u5728",(0,a.jsx)(A,{className:"inline-countdown",format:"ss",value:Date.now()+1e3*30}),"\u79D2\u540E\u81EA\u52A8\u5237\u65B0"]}),duration:30}),setTimeout(function(){window.location.reload()},3e4))}}},[u]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(E.Z,{type:"primary",onClick:I,children:"\u68C0\u67E5\u66F4\u65B0"})})};g.default=b},77386:function(F,g,e){"use strict";e.r(g);var C=e(54306),v=e.n(C),d=e(63313),j=e.n(d),h=e(67393),m=e(9835),y=e(84468),E=e(22159),f=e(55484),s=e(24378),a=e(71571),A=e.n(a),b=e(90717),k=e(35911),B=e(3424),u=e(35716),t=e(11527),_=[{label:"\u4EAE\u8272",value:"light"},{label:"\u6697\u8272",value:"dark"},{label:"\u8DDF\u968F\u7CFB\u7EDF",value:"auto"}],i=function(p){var W=p.systemInfo,n=p.socketMessage,T=p.reloadTheme,U=localStorage.getItem("qinglong_dark_theme")||"auto",x=(0,d.useState)(),I=v()(x,2),R=I[0],K=I[1],L=h.Z.useForm(),M=v()(L,1),o=M[0],c=a||{},l=c.enable,D=c.disable,w=c.exportGeneratedCSS,Z=c.setFetchMethod,H=c.auto,G=function(r){var O=r.target.value;localStorage.setItem("qinglong_dark_theme",r.target.value),Z(fetch),O==="dark"?l({}):O==="light"?D():H({}),T()},X=function(){k.W.get("".concat(b.Z.apiPrefix,"system/log/remove")).then(function(r){var O=r.code,q=r.data;if(O===200&&q.info){var z=q.info.frequency;K(z)}}).catch(function(r){console.log(r)})},Q=function(){setTimeout(function(){k.W.put("".concat(b.Z.apiPrefix,"system/log/remove"),{data:{frequency:R}}).then(function(r){var O=r.code,q=r.data;O===200&&m.ZP.success("\u66F4\u65B0\u6210\u529F")}).catch(function(r){console.log(r)})})};return(0,d.useEffect)(function(){X()},[]),(0,t.jsxs)(h.Z,{layout:"vertical",form:o,children:[(0,t.jsx)(h.Z.Item,{label:"\u4E3B\u9898\u8BBE\u7F6E",name:"theme",initialValue:U,children:(0,t.jsx)(y.ZP.Group,{options:_,onChange:G,value:U,optionType:"button",buttonStyle:"solid"})}),(0,t.jsx)(h.Z.Item,{label:"\u65E5\u5FD7\u5220\u9664\u9891\u7387",name:"frequency",tooltip:"\u6BCFx\u5929\u81EA\u52A8\u5220\u9664x\u5929\u4EE5\u524D\u7684\u65E5\u5FD7",children:(0,t.jsxs)(E.Z.Group,{compact:!0,children:[(0,t.jsx)(f.Z,{addonBefore:"\u6BCF",addonAfter:"\u5929",style:{width:150},min:0,value:R,onChange:function(r){return K(r)}}),(0,t.jsx)(s.Z,{type:"primary",onClick:Q,children:"\u786E\u8BA4"})]})}),(0,t.jsx)(h.Z.Item,{label:"\u68C0\u67E5\u66F4\u65B0",name:"update",children:(0,t.jsx)(B.default,{systemInfo:W,socketMessage:n})})]})};g.default=i},90717:function(F,g){"use strict";var e=window.__ENV__QlBaseUrl||"/";g.Z={siteName:"\u9752\u9F99",apiPrefix:"".concat(e,"api/"),authKey:"token",layouts:[{name:"primary",include:[/.*/],exclude:[/(\/(en|zh))*\/login/]}],i18n:{languages:[{key:"pt-br",title:"Portugu\xEAs",flag:"/portugal.svg"},{key:"en",title:"English",flag:"/america.svg"},{key:"zh",title:"\u4E2D\u6587",flag:"/china.svg"}],defaultLanguage:"en"},scopes:[{name:"\u5B9A\u65F6\u4EFB\u52A1",value:"crons"},{name:"\u73AF\u5883\u53D8\u91CF",value:"envs"},{name:"\u8BA2\u9605\u7BA1\u7406",value:"subscriptions"},{name:"\u914D\u7F6E\u6587\u4EF6",value:"configs"},{name:"\u811A\u672C\u7BA1\u7406",value:"scripts"},{name:"\u65E5\u5FD7\u7BA1\u7406",value:"logs"},{name:"\u4F9D\u8D56\u7BA1\u7406",value:"dependencies"},{name:"\u7CFB\u7EDF\u4FE1\u606F",value:"system"}],scopesMap:{crons:"\u5B9A\u65F6\u4EFB\u52A1",envs:"\u73AF\u5883\u53D8\u91CF",subscriptions:"\u8BA2\u9605\u7BA1\u7406",configs:"\u914D\u7F6E\u6587\u4EF6",scripts:"\u811A\u672C\u7BA1\u7406",logs:"\u65E5\u5FD7\u7BA1\u7406",dependencies:"\u4F9D\u8D56\u7BA1\u7406",system:"\u7CFB\u7EDF\u4FE1\u606F"},notificationModes:[{value:"gotify",label:"Gotify"},{value:"goCqHttpBot",label:"GoCqHttpBot"},{value:"serverChan",label:"Server\u9171"},{value:"pushDeer",label:"PushDeer"},{value:"bark",label:"Bark"},{value:"telegramBot",label:"Telegram\u673A\u5668\u4EBA"},{value:"dingtalkBot",label:"\u9489\u9489\u673A\u5668\u4EBA"},{value:"weWorkBot",label:"\u4F01\u4E1A\u5FAE\u4FE1\u673A\u5668\u4EBA"},{value:"weWorkApp",label:"\u4F01\u4E1A\u5FAE\u4FE1\u5E94\u7528"},{value:"aibotk",label:"\u667A\u80FD\u5FAE\u79D8\u4E66"},{value:"iGot",label:"IGot"},{value:"pushPlus",label:"PushPlus"},{value:"chat",label:"\u7FA4\u6656chat"},{value:"email",label:"\u90AE\u7BB1"},{value:"lark",label:"\u98DE\u4E66\u673A\u5668\u4EBA"},{value:"webhook",label:"\u81EA\u5B9A\u4E49\u901A\u77E5"},{value:"closed",label:"\u5DF2\u5173\u95ED"}],notificationModeMap:{gotify:[{label:"gotifyUrl",tip:"gotify\u7684url\u5730\u5740,\u4F8B\u5982 https://push.example.de:8080",required:!0},{label:"gotifyToken",tip:"gotify\u7684\u6D88\u606F\u5E94\u7528token\u7801",required:!0},{label:"gotifyPriority",tip:"\u63A8\u9001\u6D88\u606F\u7684\u4F18\u5148\u7EA7"}],chat:[{label:"chatUrl",tip:"chat\u7684url\u5730\u5740",required:!0},{label:"chatToken",tip:"chat\u7684token\u7801",required:!0}],goCqHttpBot:[{label:"goCqHttpBotUrl",tip:"\u63A8\u9001\u5230\u4E2A\u4EBAQQ: http://127.0.0.1/send_private_msg\uFF0C\u7FA4\uFF1Ahttp://127.0.0.1/send_group_msg",required:!0},{label:"goCqHttpBotToken",tip:"\u8BBF\u95EE\u5BC6\u94A5",required:!0},{label:"goCqHttpBotQq",tip:"\u5982\u679CGOBOT_URL\u8BBE\u7F6E /send_private_msg \u5219\u9700\u8981\u586B\u5165 user_id=\u4E2A\u4EBAQQ \u76F8\u53CD\u5982\u679C\u662F /send_group_msg \u5219\u9700\u8981\u586B\u5165 group_id=QQ\u7FA4",required:!0}],serverChan:[{label:"serverChanKey",tip:"Server\u9171SENDKEY",required:!0}],pushDeer:[{label:"pushDeerKey",tip:"PushDeer\u7684Key\uFF0Chttps://github.com/easychen/pushdeer",required:!0},{label:"pushDeerUrl",tip:"PushDeer\u7684\u81EA\u67B6API endpoint\uFF0C\u9ED8\u8BA4\u662F https://api2.pushdeer.com/message/push"}],bark:[{label:"barkPush",tip:"Bark\u7684\u4FE1\u606FIP/\u8BBE\u5907\u7801\uFF0C\u4F8B\u5982\uFF1Ahttps://api.day.app/XXXXXXXX",required:!0},{label:"barkIcon",tip:"BARK\u63A8\u9001\u56FE\u6807,\u81EA\u5B9A\u4E49\u63A8\u9001\u56FE\u6807 (\u9700iOS15\u6216\u4EE5\u4E0A\u624D\u80FD\u663E\u793A)"},{label:"barkSound",tip:"BARK\u63A8\u9001\u94C3\u58F0,\u94C3\u58F0\u5217\u8868\u53BBAPP\u67E5\u770B\u590D\u5236\u586B\u5199"},{label:"barkGroup",tip:"BARK\u63A8\u9001\u6D88\u606F\u7684\u5206\u7EC4, \u9ED8\u8BA4\u4E3Aqinglong"}],telegramBot:[{label:"telegramBotToken",tip:"telegram\u673A\u5668\u4EBA\u7684token\uFF0C\u4F8B\u5982\uFF1A1077xxx4424:AAFjv0FcqxxxxxxgEMGfi22B4yh15R5uw",required:!0},{label:"telegramBotUserId",tip:"telegram\u7528\u6237\u7684id\uFF0C\u4F8B\u5982\uFF1A129xxx206",required:!0},{label:"telegramBotProxyHost",tip:"\u4EE3\u7406IP"},{label:"telegramBotProxyPort",tip:"\u4EE3\u7406\u7AEF\u53E3"},{label:"telegramBotProxyAuth",tip:"telegram\u4EE3\u7406\u914D\u7F6E\u8BA4\u8BC1\u53C2\u6570, \u7528\u6237\u540D\u4E0E\u5BC6\u7801\u7528\u82F1\u6587\u5192\u53F7\u8FDE\u63A5 user:password"},{label:"telegramBotApiHost",tip:"telegram api\u81EA\u5EFA\u7684\u53CD\u5411\u4EE3\u7406\u5730\u5740\uFF0C\u9ED8\u8BA4tg\u5B98\u65B9api"}],dingtalkBot:[{label:"dingtalkBotToken",tip:"\u9489\u9489\u673A\u5668\u4EBAwebhook token\uFF0C\u4F8B\u5982\uFF1A5a544165465465645d0f31dca676e7bd07415asdasd",required:!0},{label:"dingtalkBotSecret",tip:"\u5BC6\u94A5\uFF0C\u673A\u5668\u4EBA\u5B89\u5168\u8BBE\u7F6E\u9875\u9762\uFF0C\u52A0\u7B7E\u4E00\u680F\u4E0B\u9762\u663E\u793A\u7684SEC\u5F00\u5934\u7684\u5B57\u7B26\u4E32"}],weWorkBot:[{label:"weWorkBotKey",tip:"\u4F01\u4E1A\u5FAE\u4FE1\u673A\u5668\u4EBA\u7684 webhook(\u8BE6\u89C1\u6587\u6863 https://work.weixin.qq.com/api/doc/90000/90136/91770)\uFF0C\u4F8B\u5982\uFF1A693a91f6-7xxx-4bc4-97a0-0ec2sifa5aaa",required:!0},{label:"weWorkOrigin",tip:"\u4F01\u4E1A\u5FAE\u4FE1\u4EE3\u7406\u5730\u5740"}],weWorkApp:[{label:"weWorkAppKey",tip:"corpid,corpsecret,touser(\u6CE8:\u591A\u4E2A\u6210\u5458ID\u4F7F\u7528|\u9694\u5F00),agentid,\u6D88\u606F\u7C7B\u578B(\u9009\u586B,\u4E0D\u586B\u9ED8\u8BA4\u6587\u672C\u6D88\u606F\u7C7B\u578B) \u6CE8\u610F\u7528,\u53F7\u9694\u5F00(\u82F1\u6587\u8F93\u5165\u6CD5\u7684\u9017\u53F7)\uFF0C\u4F8B\u5982\uFF1Awwcfrs,B-76WERQ,qinglong,1000001,2COat",required:!0},{label:"weWorkOrigin",tip:"\u4F01\u4E1A\u5FAE\u4FE1\u4EE3\u7406\u5730\u5740"}],aibotk:[{label:"aibotkKey",tip:"\u5BC6\u94A5key,\u667A\u80FD\u5FAE\u79D8\u4E66\u4E2A\u4EBA\u4E2D\u5FC3\u83B7\u53D6apikey\uFF0C\u7533\u8BF7\u5730\u5740\uFF1Ahttps://wechat.aibotk.com/signup?from=ql",required:!0},{label:"aibotkType",tip:"\u53D1\u9001\u7684\u76EE\u6807\uFF0C\u7FA4\u7EC4\u6216\u8005\u597D\u53CB",required:!0,placeholder:"\u8BF7\u8F93\u5165\u8981\u53D1\u9001\u7684\u76EE\u6807",items:[{value:"room",label:"\u7FA4\u804A"},{value:"contact",label:"\u597D\u53CB"}]},{label:"aibotkName",tip:"\u8981\u53D1\u9001\u7684\u7528\u6237\u6635\u79F0\u6216\u7FA4\u540D\uFF0C\u5982\u679C\u76EE\u6807\u662F\u7FA4\uFF0C\u9700\u8981\u586B\u7FA4\u540D\uFF0C\u5982\u679C\u76EE\u6807\u662F\u597D\u53CB\uFF0C\u9700\u8981\u586B\u597D\u53CB\u6635\u79F0",required:!0}],iGot:[{label:"iGotPushKey",tip:"iGot\u7684\u4FE1\u606F\u63A8\u9001key\uFF0C\u4F8B\u5982\uFF1Ahttps://push.hellyw.com/XXXXXXXX",required:!0}],pushPlus:[{label:"pushPlusToken",tip:"\u5FAE\u4FE1\u626B\u7801\u767B\u5F55\u540E\u4E00\u5BF9\u4E00\u63A8\u9001\u6216\u4E00\u5BF9\u591A\u63A8\u9001\u4E0B\u9762\u7684token(\u60A8\u7684Token)\uFF0C\u4E0D\u63D0\u4F9BPUSH_PLUS_USER\u5219\u9ED8\u8BA4\u4E3A\u4E00\u5BF9\u4E00\u63A8\u9001\uFF0C\u53C2\u8003 https://www.pushplus.plus/",required:!0},{label:"pushPlusUser",tip:"\u4E00\u5BF9\u591A\u63A8\u9001\u7684\u201C\u7FA4\u7EC4\u7F16\u7801\u201D\uFF08\u4E00\u5BF9\u591A\u63A8\u9001\u4E0B\u9762->\u60A8\u7684\u7FA4\u7EC4(\u5982\u65E0\u5219\u65B0\u5EFA)->\u7FA4\u7EC4\u7F16\u7801\uFF0C\u5982\u679C\u60A8\u662F\u521B\u5EFA\u7FA4\u7EC4\u4EBA\u3002\u4E5F\u9700\u70B9\u51FB\u201C\u67E5\u770B\u4E8C\u7EF4\u7801\u201D\u626B\u63CF\u7ED1\u5B9A\uFF0C\u5426\u5219\u4E0D\u80FD\u63A5\u53D7\u7FA4\u7EC4\u6D88\u606F\u63A8\u9001\uFF09"}],lark:[{label:"larkKey",tip:"\u98DE\u4E66\u7FA4\u7EC4\u673A\u5668\u4EBA\uFF1Ahttps://www.feishu.cn/hc/zh-CN/articles/360024984973",required:!0}],email:[{label:"emailService",tip:"\u90AE\u7BB1\u670D\u52A1\u540D\u79F0\uFF0C\u6BD4\u5982126\u3001163\u3001Gmail\u3001QQ\u7B49\uFF0C\u652F\u6301\u5217\u8868https://nodemailer.com/smtp/well-known/",required:!0},{label:"emailUser",tip:"\u90AE\u7BB1\u5730\u5740",required:!0},{label:"emailPass",tip:"\u90AE\u7BB1SMTP\u6388\u6743\u7801",required:!0}],webhook:[{label:"webhookMethod",tip:"\u8BF7\u6C42\u65B9\u6CD5",required:!0,items:[{value:"GET"},{value:"POST"},{value:"PUT"}]},{label:"webhookContentType",tip:"\u8BF7\u6C42\u5934Content-Type",required:!0,items:[{value:"application/json"},{value:"multipart/form-data"},{value:"application/x-www-form-urlencoded"}]},{label:"webhookUrl",tip:"\u8BF7\u6C42\u94FE\u63A5\u4EE5http\u6216\u8005https\u5F00\u5934\u3002url\u6216\u8005body\u4E2D\u5FC5\u987B\u5305\u542B$title\uFF0C$content\u53EF\u9009\uFF0C\u5BF9\u5E94api\u5185\u5BB9\u7684\u4F4D\u7F6E",required:!0,placeholder:`https://xxx.cn/api?content=$title
|
|
2
|
-
`},{label:"webhookHeaders",tip:"\u8BF7\u6C42\u5934\u683C\u5F0FCustom-Header1: Header1\uFF0C\u591A\u4E2A\u6362\u884C\u5206\u5272",placeholder:`Custom-Header1: Header1
|
|
3
|
-
Custom-Header2: Header2`},{label:"webhookBody",tip:"\u8BF7\u6C42\u4F53\u683C\u5F0Fkey1: value1\uFF0C\u591A\u4E2A\u6362\u884C\u5206\u5272\u3002url\u6216\u8005body\u4E2D\u5FC5\u987B\u5305\u542B$title\uFF0C$content\u53EF\u9009\uFF0C\u5BF9\u5E94api\u5185\u5BB9\u7684\u4F4D\u7F6E",placeholder:`key1: $title
|
|
4
|
-
key2: $content`}]},documentTitleMap:{"/login":"\u767B\u5F55","/initialization":"\u521D\u59CB\u5316","/crontab":"\u5B9A\u65F6\u4EFB\u52A1","/env":"\u73AF\u5883\u53D8\u91CF","/subscription":"\u8BA2\u9605\u7BA1\u7406","/config":"\u914D\u7F6E\u6587\u4EF6","/script":"\u811A\u672C\u7BA1\u7406","/diff":"\u5BF9\u6BD4\u5DE5\u5177","/log":"\u65E5\u5FD7\u7BA1\u7406","/setting":"\u7CFB\u7EDF\u8BBE\u7F6E","/error":"\u9519\u8BEF\u65E5\u5FD7","/dependence":"\u4F9D\u8D56\u7BA1\u7406"},dependenceTypes:["nodejs","python3","linux"]}},35911:function(F,g,e){"use strict";e.d(g,{W:function(){return B}});var C=e(25359),v=e.n(C),d=e(49811),j=e.n(d),h=e(57213),m=e.n(h),y=e(50659),E=e(9835),f=e(90717),s=e(40440);E.ZP.config({duration:2});var a=Date.now(),A=function(t){if(t.response){var _=t.data?t.data.message||t.message||t.data:t.response.statusText,i=t.response.status;[502,504].includes(i)?s.history.push("/error"):i===401?s.history.location.pathname!=="/login"&&(E.ZP.error("\u767B\u5F55\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),localStorage.removeItem(f.Z.authKey),s.history.push("/login")):E.ZP.error({content:_,style:{maxWidth:500,margin:"0 auto"}})}else console.log(t.message);throw t},b=(0,y.l7)({timeout:6e4,params:{t:a},errorHandler:A}),k=["/api/user/login","/open/auth/token","/api/user/two-factor/login","/api/system","/api/user/init","/api/user/notification/init"];b.interceptors.request.use(function(u,t){var _=localStorage.getItem(f.Z.authKey);if(_&&!k.includes(u)){var i={Authorization:"Bearer ".concat(_)};return{url:u,options:m()(m()({},t),{},{headers:i})}}return{url:u,options:t}}),b.interceptors.response.use(function(){var u=j()(v()().mark(function t(_){var i,P,p;return v()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(i=_.status,![502,504].includes(i)){n.next=5;break}s.history.push("/error"),n.next=14;break;case 5:if(i!==401){n.next=9;break}s.history.location.pathname!=="/login"&&(localStorage.removeItem(f.Z.authKey),s.history.push("/login")),n.next=14;break;case 9:return n.next=11,_.clone().json();case 11:return P=n.sent,P.code!==200&&(p=P.message||P.data,p&&E.ZP.error({content:p,style:{maxWidth:500,margin:"0 auto"}})),n.abrupt("return",P);case 14:return n.abrupt("return",_);case 15:case"end":return n.stop()}},t)}));return function(t){return u.apply(this,arguments)}}());var B=b},35716:function(){"use strict"},57002:function(){}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[5969],{44639:function(me,R,e){var S=e(55258),b=(0,S.Z)({scriptUrl:["//at.alicdn.com/t/c/font_3354854_ob5y15ewlyq.js"]});R.Z=b},77853:function(me,R,e){e.r(R);var S=e(12342),b=e.n(S),Q=e(25359),M=e.n(Q),X=e(57213),d=e.n(X),q=e(49811),ee=e.n(q),C=e(54306),k=e.n(C),I=e(63313),ce=e.n(I),u=e(67393),h=e(28756),ne=e(84163),$=e(22159),z=e(24378),T=e(2947),V=e(35911),te=e(90717),G=e(32320),Y=e(26839),_e=e(44639),n=e(11527),ae=["key","name"],le=["key","name"],s=[{name:"\u547D\u4EE4",value:"command"},{name:"\u540D\u79F0",value:"name"},{name:"\u5B9A\u65F6\u89C4\u5219",value:"schedule"},{name:"\u72B6\u6001",value:"status"},{name:"\u6807\u7B7E",value:"labels"}],oe={Reg:"",NotReg:"",In:"select",Nin:"select"},re=[{name:"\u5305\u542B",value:"Reg"},{name:"\u4E0D\u5305\u542B",value:"NotReg"},{name:"\u5C5E\u4E8E",value:"In",type:"select"},{name:"\u4E0D\u5C5E\u4E8E",value:"Nin",type:"select"}],H=[{name:"\u987A\u5E8F",value:"ASC"},{name:"\u5012\u5E8F",value:"DESC"}],ie={status:[{name:"\u8FD0\u884C\u4E2D",value:0},{name:"\u7A7A\u95F2\u4E2D",value:1},{name:"\u5DF2\u7981\u7528",value:2}]},W;(function(E){E.and="\u4E14",E.or="\u6216"})(W||(W={}));var se=function(p){var D=p.view,L=p.handleCancel,f=p.visible,U=u.Z.useForm(),K=k()(U,1),j=K[0],y=(0,I.useState)(!1),v=k()(y,2),B=v[0],x=v[1],Z=(0,I.useState)("and"),w=k()(Z,2),O=w[0],N=w[1],g=u.Z.useWatch("filters",j),P=function(){var m=ee()(M()().mark(function r(_){var t,a,l,c;return M()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return x(!0),_.filterRelation=O,t=D?"put":"post",o.prev=3,o.next=6,V.W[t]("".concat(te.Z.apiPrefix,"crons/views"),{data:D?d()(d()({},_),{},{id:D.id}):_});case 6:a=o.sent,l=a.code,c=a.data,l===200&&L(c),x(!1),o.next=16;break;case 13:o.prev=13,o.t0=o.catch(3),x(!1);case 16:case"end":return o.stop()}},r,null,[[3,13]])}));return function(_){return m.apply(this,arguments)}}();(0,I.useEffect)(function(){D||j.resetFields(),j.setFieldsValue(D||{filters:[{property:"command",operation:"Reg"}]})},[D,f]);var F=(0,n.jsx)(h.Z,{style:{width:80},children:re.map(function(m){return(0,n.jsx)(h.Z.Option,{value:m.value,children:m.name},m.name)})}),A=function(r){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,n.jsx)(h.Z,{style:_,children:r.map(function(t){return(0,n.jsx)(h.Z.Option,{value:t.value,children:t.name},t.name)})})},de=(0,n.jsx)(h.Z,{style:{width:80},children:H.map(function(m){return(0,n.jsx)(h.Z.Option,{value:m.value,children:m.name},m.name)})}),ue=function(r){var _;return(0,n.jsx)(h.Z,{mode:"tags",allowClear:!0,placeholder:"\u8F93\u5165\u540E\u56DE\u8F66\u589E\u52A0\u81EA\u5B9A\u4E49\u9009\u9879",children:(_=ie[r])===null||_===void 0?void 0:_.map(function(t){return(0,n.jsx)(h.Z.Option,{value:t.value,children:t.name},t.name)})})};return(0,n.jsx)(ne.Z,{title:D?"\u7F16\u8F91\u89C6\u56FE":"\u65B0\u5EFA\u89C6\u56FE",open:f,forceRender:!0,width:580,centered:!0,maskClosable:!1,onOk:function(){j.validateFields().then(function(r){P(r)}).catch(function(r){console.log("Validate Failed:",r)})},onCancel:function(){return L()},confirmLoading:B,children:(0,n.jsxs)(u.Z,{form:j,layout:"vertical",name:"env_modal",children:[(0,n.jsx)(u.Z.Item,{name:"name",label:"\u89C6\u56FE\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u89C6\u56FE\u540D\u79F0"}],children:(0,n.jsx)($.Z,{placeholder:"\u8BF7\u8F93\u5165\u89C6\u56FE\u540D\u79F0"})}),(0,n.jsx)(u.Z.List,{name:"filters",children:function(r,_){var t=_.add,a=_.remove;return(0,n.jsxs)("div",{style:{position:"relative"},className:"view-filters-container ".concat(r.length>1?"active":""),children:[r.length>1&&(0,n.jsx)("div",{style:{position:"absolute",width:50,borderRadius:10,border:"1px solid rgb(190, 220, 255)",borderRight:"none",height:56*(r.length-1),top:46,left:15},children:(0,n.jsx)(z.Z,{type:"primary",size:"small",style:{position:"absolute",top:"50%",translate:"-50% -50%",padding:"0 3px",cursor:"pointer"},onClick:function(){N(O==="and"?"or":"and")},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:W[O]}),(0,n.jsx)(_e.Z,{type:"ql-icon-d-caret"})]})})}),(0,n.jsxs)("div",{children:[r.map(function(l){var c=l.key,i=l.name,o=b()(l,ae);return(0,n.jsx)(u.Z.Item,{label:i===0?"\u7B5B\u9009\u6761\u4EF6":"",style:{marginBottom:0},required:!0,className:"filter-item",children:(0,n.jsxs)(T.Z,{className:"view-create-modal-filters",align:"baseline",children:[(0,n.jsx)(u.Z.Item,d()(d()({},o),{},{name:[i,"property"],rules:[{required:!0}],children:A(s,{width:90})})),(0,n.jsx)(u.Z.Item,d()(d()({},o),{},{name:[i,"operation"],rules:[{required:!0}],children:F})),(0,n.jsx)(u.Z.Item,d()(d()({},o),{},{name:[i,"value"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}],children:oe[g==null?void 0:g[i].operation]==="select"?ue(g==null?void 0:g[i].property):(0,n.jsx)($.Z,{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"})})),i!==0&&(0,n.jsx)(G.Z,{onClick:function(){return a(i)}})]})},c)}),(0,n.jsx)(u.Z.Item,{children:(0,n.jsxs)("a",{onClick:function(){return t({property:"command",operation:"Reg"})},children:[(0,n.jsx)(Y.Z,{}),"\u65B0\u589E\u7B5B\u9009\u6761\u4EF6"]})})]})]})}}),(0,n.jsx)(u.Z.List,{name:"sorts",children:function(r,_){var t=_.add,a=_.remove;return(0,n.jsxs)("div",{style:{position:"relative"},className:"view-filters-container ".concat(r.length>1?"active":""),children:[r.length>1&&(0,n.jsx)("div",{style:{position:"absolute",width:50,borderRadius:10,border:"1px solid rgb(190, 220, 255)",borderRight:"none",height:56*(r.length-1),top:46,left:15},children:(0,n.jsx)(z.Z,{type:"primary",size:"small",style:{position:"absolute",top:"50%",translate:"-50% -50%",padding:"0 3px",cursor:"pointer"},children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("span",{children:W[O]})})})}),(0,n.jsxs)("div",{children:[r.map(function(l){var c=l.key,i=l.name,o=b()(l,le);return(0,n.jsx)(u.Z.Item,{label:i===0?"\u6392\u5E8F\u65B9\u5F0F":"",style:{marginBottom:0},className:"filter-item",children:(0,n.jsxs)(T.Z,{className:"view-create-modal-sorts",align:"baseline",children:[(0,n.jsx)(u.Z.Item,d()(d()({},o),{},{name:[i,"property"],rules:[{required:!0}],children:A(s)})),(0,n.jsx)(u.Z.Item,d()(d()({},o),{},{name:[i,"type"],rules:[{required:!0}],children:de})),(0,n.jsx)(G.Z,{onClick:function(){return a(i)}})]})},c)}),(0,n.jsx)(u.Z.Item,{children:(0,n.jsxs)("a",{onClick:function(){return t({property:"command",type:"ASC"})},children:[(0,n.jsx)(Y.Z,{}),"\u65B0\u589E\u6392\u5E8F\u65B9\u5F0F"]})})]})]})}})]})})};R.default=se},15969:function(me,R,e){e.r(R);var S=e(93525),b=e.n(S),Q=e(57213),M=e.n(Q),X=e(54306),d=e.n(X),q=e(12342),ee=e.n(q),C=e(63313),k=e.n(C),I=e(92260),ce=e(16861),u=e(2947),h=e(84163),ne=e(9835),$=e(24378),z=e(60986),T=e(35911),V=e(90717),te=e(32132),G=e(13740),Y=e(17688),_e=e(57627),n=e(70011),ae=e(66255),le=e(77853),s=e(11527),oe=["index","moveRow","className","style"],re=I.Z.Text,H="DragableBodyRow",ie=function(E){var p=E.index,D=E.moveRow,L=E.className,f=E.style,U=ee()(E,oe),K=(0,C.useRef)(),j=(0,Y.L)({accept:H,collect:function(P){var F=P.getItem()||{},A=F.index;return A===p?{}:{isOver:P.isOver(),dropClassName:A<p?" drop-over-downward":" drop-over-upward"}},drop:function(P){D(P.index,p)}}),y=d()(j,2),v=y[0],B=v.isOver,x=v.dropClassName,Z=y[1],w=(0,_e.c)({type:H,item:{index:p},collect:function(P){return{isDragging:P.isDragging()}}}),O=d()(w,2),N=O[1];return Z(N(K)),(0,s.jsx)("tr",M()({ref:K,className:"".concat(L).concat(B?x:""),style:M()({cursor:"move"},f)},U))},W=function(E){var p=E.cronViews,D=E.handleCancel,L=E.visible,f=E.cronViewChange,U=function(t){return v.filter(function(a){return!a.isDisabled}).length<=1&&!t.isDisabled},K=[{title:"\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u7C7B\u578B",dataIndex:"type",key:"type",render:function(t){return t===1?"\u7CFB\u7EDF":"\u4E2A\u4EBA"}},{title:"\u663E\u793A",key:"isDisabled",dataIndex:"isDisabled",width:100,render:function(t,a,l){return(0,s.jsx)(ce.Z,{disabled:U(a),checked:!a.isDisabled,onChange:function(i){return ue(i,a,l)}})}},{title:"\u64CD\u4F5C",key:"action",width:100,render:function(t,a,l){return a.type!==1?(0,s.jsxs)(u.Z,{size:"middle",children:[(0,s.jsx)("a",{onClick:function(){return A(a,l)},children:(0,s.jsx)(te.Z,{})}),!U(a)&&(0,s.jsx)("a",{onClick:function(){return de(a,l)},children:(0,s.jsx)(G.Z,{})})]}):"-"}}],j=(0,C.useState)([]),y=d()(j,2),v=y[0],B=y[1],x=(0,C.useState)(!1),Z=d()(x,2),w=Z[0],O=Z[1],N=(0,C.useState)(null),g=d()(N,2),P=g[0],F=g[1],A=function(t,a){F(t),O(!0)},de=function(t,a){h.Z.confirm({title:"\u786E\u8BA4\u5220\u9664",content:(0,s.jsxs)(s.Fragment,{children:["\u786E\u8BA4\u5220\u9664\u89C6\u56FE"," ",(0,s.jsx)(re,{style:{wordBreak:"break-all"},type:"warning",children:t.name})," ","\u5417"]}),onOk:function(){T.W.delete("".concat(V.Z.apiPrefix,"crons/views"),{data:[t.id]}).then(function(c){var i=c.code,o=c.data;i===200&&(ne.ZP.success("\u5220\u9664\u6210\u529F"),f())})},onCancel:function(){console.log("Cancel")}})},ue=function(t,a,l){T.W.put("".concat(V.Z.apiPrefix,"crons/views/").concat(t?"enable":"disable"),{data:[a.id]}).then(function(c){var i=c.code,o=c.data;if(i===200){var J=b()(v);J.splice(l,1,M()(M()({},v[l]),{},{isDisabled:!t})),B(J),f()}})},m={body:{row:ie}},r=(0,C.useCallback)(function(_,t){if(_!==t){var a=v[_];T.W.put("".concat(V.Z.apiPrefix,"crons/views/move"),{data:{fromIndex:_,toIndex:t,id:a.id}}).then(function(l){var c=l.code,i=l.data;if(c===200){var o=b()(v);o.splice(_,1),o.splice(t,0,M()(M()({},a),i)),B(o),f()}})}},[v]);return(0,C.useEffect)(function(){B(p)},[p]),(0,s.jsxs)(h.Z,{title:"\u89C6\u56FE\u7BA1\u7406",open:L,centered:!0,width:620,onCancel:function(){return D()},className:"view-manage-modal",forceRender:!0,footer:!1,maskClosable:!1,children:[(0,s.jsx)(u.Z,{style:{display:"flex",justifyContent:"flex-end",marginBottom:10},children:(0,s.jsx)($.Z,{type:"primary",onClick:function(){F(null),O(!0)},children:"\u65B0\u5EFA\u89C6\u56FE"},"2")}),(0,s.jsx)(n.W,{backend:ae.PD,children:(0,s.jsx)(z.Z,{bordered:!0,columns:K,pagination:!1,dataSource:v,rowKey:"id",size:"middle",style:{marginBottom:20},components:m,onRow:function(t,a){return{index:a,moveRow:r}}})}),(0,s.jsx)(le.default,{view:P,visible:w,handleCancel:function(t){O(!1),f(t)}})]})};R.default=W}}]);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[7567],{46123:function(E,R,b){"use strict";b.d(R,{k:function(){return N}});function N(A,v){for(var F=arguments.length,G=new Array(F>2?F-2:0),x=2;x<F;x++)G[x-2]=arguments[x];if(!A){var L;if(v===void 0)L=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var Y=0;L=new Error(v.replace(/%s/g,function(){return G[Y++]})),L.name="Invariant Violation"}throw L.framesToPop=1,L}}},30064:function(E,R,b){"use strict";b.d(R,{L:function(){return v}});var N=b(63313),A=b.n(N),v=(0,N.createContext)({dragDropManager:void 0})},70011:function(E,R,b){"use strict";b.d(R,{W:function(){return vr}});var N=b(11527),A=b(63313),v=b(46123),F="dnd-core/INIT_COORDS",G="dnd-core/BEGIN_DRAG",x="dnd-core/PUBLISH_DRAG_SOURCE",L="dnd-core/HOVER",Y="dnd-core/DROP",ce="dnd-core/END_DRAG";function we(e,r){return{type:F,payload:{sourceClientOffset:r||null,clientOffset:e||null}}}function ue(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ue=function(t){return typeof t}:ue=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(e)}function Be(e,r,t){return r.split(".").reduce(function(n,s){return n&&n[s]?n[s]:t||null},e)}function Ie(e,r){return e.filter(function(t){return t!==r})}function et(e){return typeof e=="string"}function te(e){return ue(e)==="object"}function Ce(e,r){var t=new Map,n=function(d){t.set(d,t.has(d)?t.get(d)+1:1)};e.forEach(n),r.forEach(n);var s=[];return t.forEach(function(l,d){l===1&&s.push(d)}),s}function We(e,r){return e.filter(function(t){return r.indexOf(t)>-1})}var Pe={type:F,payload:{clientOffset:null,sourceClientOffset:null}};function le(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},s=n.publishSource,l=s===void 0?!0:s,d=n.clientOffset,g=n.getSourceClientOffset,m=e.getMonitor(),T=e.getRegistry();e.dispatch(we(d)),Fe(t,m,T);var S=ke(t,m);if(S===null){e.dispatch(Pe);return}var Z=null;if(d){if(!g)throw new Error("getSourceClientOffset must be defined");Ge(g),Z=g(S)}e.dispatch(we(d,Z));var K=T.getSource(S),ie=K.beginDrag(m,S);if(ie!=null){Xe(ie),T.pinSource(S);var fe=T.getSourceType(S);return{type:G,payload:{itemType:fe,item:ie,sourceId:S,clientOffset:d||null,sourceClientOffset:Z||null,isSourcePublic:!!l}}}}}function Fe(e,r,t){(0,v.k)(!r.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){(0,v.k)(t.getSource(n),"Expected sourceIds to be registered.")})}function Ge(e){(0,v.k)(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Xe(e){(0,v.k)(te(e),"Item must be an object.")}function ke(e,r){for(var t=null,n=e.length-1;n>=0;n--)if(r.canDragSource(e[n])){t=e[n];break}return t}function _e(e){return function(){var t=e.getMonitor();if(t.isDragging())return{type:x}}}function de(e,r){return r===null?e===null:Array.isArray(e)?e.some(function(t){return t===r}):e===r}function Ne(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=n.clientOffset;he(t);var l=t.slice(0),d=e.getMonitor(),g=e.getRegistry();re(l,d,g);var m=d.getItemType();return ge(l,g,m),pe(l,d,g),{type:L,payload:{targetIds:l,clientOffset:s||null}}}}function he(e){(0,v.k)(Array.isArray(e),"Expected targetIds to be an array.")}function re(e,r,t){(0,v.k)(r.isDragging(),"Cannot call hover while not dragging."),(0,v.k)(!r.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var s=e[n];(0,v.k)(e.lastIndexOf(s)===n,"Expected targetIds to be unique in the passed array.");var l=t.getTarget(s);(0,v.k)(l,"Expected targetIds to be registered.")}}function ge(e,r,t){for(var n=e.length-1;n>=0;n--){var s=e[n],l=r.getTargetType(s);de(l,t)||e.splice(n,1)}}function pe(e,r,t){e.forEach(function(n){var s=t.getTarget(n);s.hover(r,n)})}function xe(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}function ye(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?xe(Object(t),!0).forEach(function(n){Ke(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xe(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Ke(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Re(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.getMonitor(),s=e.getRegistry();Ve(n);var l=Ye(n);l.forEach(function(d,g){var m=qe(d,g,s,n),T={type:Y,payload:{dropResult:ye(ye({},t),m)}};e.dispatch(T)})}}function Ve(e){(0,v.k)(e.isDragging(),"Cannot call drop while not dragging."),(0,v.k)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function qe(e,r,t,n){var s=t.getTarget(e),l=s?s.drop(n,e):void 0;return me(l),typeof l=="undefined"&&(l=r===0?{}:n.getDropResult()),l}function me(e){(0,v.k)(typeof e=="undefined"||te(e),"Drop result must either be an object or undefined.")}function Ye(e){var r=e.getTargetIds().filter(e.canDropOnTarget,e);return r.reverse(),r}function Ae(e){return function(){var t=e.getMonitor(),n=e.getRegistry();ze(t);var s=t.getSourceId();if(s!=null){var l=n.getSource(s,!0);l.endDrag(t,s),n.unpinSource()}return{type:ce}}}function ze(e){(0,v.k)(e.isDragging(),"Cannot call endDrag while not dragging.")}function Oe(e){return{beginDrag:le(e),publishDragSource:_e(e),hover:Ne(e),drop:Re(e),endDrag:Ae(e)}}function $e(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function be(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Le(e,r,t){return r&&be(e.prototype,r),t&&be(e,t),e}function se(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Me=function(){function e(r,t){var n=this;$e(this,e),se(this,"store",void 0),se(this,"monitor",void 0),se(this,"backend",void 0),se(this,"isSetUp",!1),se(this,"handleRefCountChange",function(){var s=n.store.getState().refCount>0;n.backend&&(s&&!n.isSetUp?(n.backend.setup(),n.isSetUp=!0):!s&&n.isSetUp&&(n.backend.teardown(),n.isSetUp=!1))}),this.store=r,this.monitor=t,r.subscribe(this.handleRefCountChange)}return Le(e,[{key:"receiveBackend",value:function(t){this.backend=t}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var t=this,n=this.store.dispatch;function s(d){return function(){for(var g=arguments.length,m=new Array(g),T=0;T<g;T++)m[T]=arguments[T];var S=d.apply(t,m);typeof S!="undefined"&&n(S)}}var l=Oe(this);return Object.keys(l).reduce(function(d,g){var m=l[g];return d[g]=s(m),d},{})}},{key:"dispatch",value:function(t){this.store.dispatch(t)}}]),e}();function I(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var y=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),De=function(){return Math.random().toString(36).substring(7).split("").join(".")},ne={INIT:"@@redux/INIT"+De(),REPLACE:"@@redux/REPLACE"+De(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+De()}};function o(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function i(e){if(e===void 0)return"undefined";if(e===null)return"null";var r=typeof e;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(e))return"array";if(f(e))return"date";if(u(e))return"error";var t=a(e);switch(t){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return t}return r.slice(8,-1).toLowerCase().replace(/\s/g,"")}function a(e){return typeof e.constructor=="function"?e.constructor.name:null}function u(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function f(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function c(e){var r=typeof e;return r}function h(e,r,t){var n;if(typeof r=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(I(0));if(typeof r=="function"&&typeof t=="undefined"&&(t=r,r=void 0),typeof t!="undefined"){if(typeof t!="function")throw new Error(I(1));return t(h)(e,r)}if(typeof e!="function")throw new Error(I(2));var s=e,l=r,d=[],g=d,m=!1;function T(){g===d&&(g=d.slice())}function S(){if(m)throw new Error(I(3));return l}function Z(P){if(typeof P!="function")throw new Error(I(4));if(m)throw new Error(I(5));var ee=!0;return T(),g.push(P),function(){if(ee){if(m)throw new Error(I(6));ee=!1,T();var W=g.indexOf(P);g.splice(W,1),d=null}}}function K(P){if(!o(P))throw new Error(I(7));if(typeof P.type=="undefined")throw new Error(I(8));if(m)throw new Error(I(9));try{m=!0,l=s(l,P)}finally{m=!1}for(var ee=d=g,oe=0;oe<ee.length;oe++){var W=ee[oe];W()}return P}function ie(P){if(typeof P!="function")throw new Error(I(10));s=P,K({type:ne.REPLACE})}function fe(){var P,ee=Z;return P={subscribe:function(W){if(typeof W!="object"||W===null)throw new Error(I(11));function Ze(){W.next&&W.next(S())}Ze();var yr=ee(Ze);return{unsubscribe:yr}}},P[y]=function(){return this},P}return K({type:ne.INIT}),n={dispatch:K,subscribe:Z,getState:S,replaceReducer:ie},n[y]=fe,n}var O=null;function p(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(r){}}function D(e,r,t,n){var s=Object.keys(r),l=t&&t.type===ne.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(s.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!o(e))return"The "+l+' has unexpected type of "'+c(e)+'". Expected argument to be an object with the following '+('keys: "'+s.join('", "')+'"');var d=Object.keys(e).filter(function(g){return!r.hasOwnProperty(g)&&!n[g]});if(d.forEach(function(g){n[g]=!0}),!(t&&t.type===ne.REPLACE)&&d.length>0)return"Unexpected "+(d.length>1?"keys":"key")+" "+('"'+d.join('", "')+'" found in '+l+". ")+"Expected to find one of the known reducer keys instead: "+('"'+s.join('", "')+'". Unexpected keys will be ignored.')}function _(e){Object.keys(e).forEach(function(r){var t=e[r],n=t(void 0,{type:ne.INIT});if(typeof n=="undefined")throw new Error(I(12));if(typeof t(void 0,{type:ne.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(I(13))})}function k(e){for(var r=Object.keys(e),t={},n=0;n<r.length;n++){var s=r[n];typeof e[s]=="function"&&(t[s]=e[s])}var l=Object.keys(t),d,g;try{_(t)}catch(m){g=m}return function(T,S){if(T===void 0&&(T={}),g)throw g;if(!1)var Z;for(var K=!1,ie={},fe=0;fe<l.length;fe++){var P=l[fe],ee=t[P],oe=T[P],W=ee(oe,S);if(typeof W=="undefined"){var Ze=S&&S.type;throw new Error(I(14))}ie[P]=W,K=K||W!==oe}return K=K||l.length!==Object.keys(T).length,K?ie:T}}function C(e,r){return function(){return r(e.apply(this,arguments))}}function w(e,r){if(typeof e=="function")return C(e,r);if(typeof e!="object"||e===null)throw new Error(I(16));var t={};for(var n in e){var s=e[n];typeof s=="function"&&(t[n]=C(s,r))}return t}function M(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,s){return function(){return n(s.apply(void 0,arguments))}})}function z(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(n){return function(){var s=n.apply(void 0,arguments),l=function(){throw new Error(I(15))},d={getState:s.getState,dispatch:function(){return l.apply(void 0,arguments)}},g=r.map(function(m){return m(d)});return l=M.apply(void 0,g)(s.dispatch),_objectSpread(_objectSpread({},s),{},{dispatch:l})}}}var ae=function(r,t){return r===t};function $(e,r){return!e&&!r?!0:!e||!r?!1:e.x===r.x&&e.y===r.y}function V(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ae;if(e.length!==r.length)return!1;for(var n=0;n<e.length;++n)if(!t(e[n],r[n]))return!1;return!0}function X(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}function j(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?X(Object(t),!0).forEach(function(n){H(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function H(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Q={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function q(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q,r=arguments.length>1?arguments[1]:void 0,t=r.payload;switch(r.type){case F:case G:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case L:return $(e.clientOffset,t.clientOffset)?e:j(j({},e),{},{clientOffset:t.clientOffset});case ce:case Y:return Q;default:return e}}var J="dnd-core/ADD_SOURCE",Te="dnd-core/ADD_TARGET",Se="dnd-core/REMOVE_SOURCE",je="dnd-core/REMOVE_TARGET";function mt(e){return{type:J,payload:{sourceId:e}}}function Ot(e){return{type:Te,payload:{targetId:e}}}function bt(e){return{type:Se,payload:{sourceId:e}}}function Dt(e){return{type:je,payload:{targetId:e}}}function tt(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}function U(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?tt(Object(t),!0).forEach(function(n){Tt(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Tt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var St={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Et(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:St,r=arguments.length>1?arguments[1]:void 0,t=r.payload;switch(r.type){case G:return U(U({},e),{},{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case x:return U(U({},e),{},{isSourcePublic:!0});case L:return U(U({},e),{},{targetIds:t.targetIds});case je:return e.targetIds.indexOf(t.targetId)===-1?e:U(U({},e),{},{targetIds:Ie(e.targetIds,t.targetId)});case Y:return U(U({},e),{},{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case ce:return U(U({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function wt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case J:case Te:return e+1;case Se:case je:return e-1;default:return e}}var Ee=[],Qe=[];Ee.__IS_NONE__=!0,Qe.__IS_ALL__=!0;function It(e,r){if(e===Ee)return!1;if(e===Qe||typeof r=="undefined")return!0;var t=We(r,e);return t.length>0}function Ct(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case L:break;case J:case Te:case je:case Se:return Ee;case G:case x:case ce:case Y:default:return Qe}var t=r.payload,n=t.targetIds,s=n===void 0?[]:n,l=t.prevTargetIds,d=l===void 0?[]:l,g=Ce(s,d),m=g.length>0||!V(s,d);if(!m)return Ee;var T=d[d.length-1],S=s[s.length-1];return T!==S&&(T&&g.push(T),S&&g.push(S)),g}function Pt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function rt(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}function nt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?rt(Object(t),!0).forEach(function(n){kt(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Ct(e.dirtyHandlerIds,{type:r.type,payload:nt(nt({},r.payload),{},{prevTargetIds:Be(e,"dragOperation.targetIds",[])})}),dragOffset:q(e.dragOffset,r),refCount:wt(e.refCount,r),dragOperation:Et(e.dragOperation,r),stateId:Pt(e.stateId)}}function Nt(e,r){return{x:e.x+r.x,y:e.y+r.y}}function at(e,r){return{x:e.x-r.x,y:e.y-r.y}}function xt(e){var r=e.clientOffset,t=e.initialClientOffset,n=e.initialSourceClientOffset;return!r||!t||!n?null:at(Nt(r,n),t)}function Rt(e){var r=e.clientOffset,t=e.initialClientOffset;return!r||!t?null:at(r,t)}function At(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function it(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lt(e,r,t){return r&&it(e.prototype,r),t&&it(e,t),e}function ot(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Mt=function(){function e(r,t){At(this,e),ot(this,"store",void 0),ot(this,"registry",void 0),this.store=r,this.registry=t}return Lt(e,[{key:"subscribeToStateChange",value:function(t){var n=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},l=s.handlerIds;(0,v.k)(typeof t=="function","listener must be a function."),(0,v.k)(typeof l=="undefined"||Array.isArray(l),"handlerIds, when specified, must be an array of strings.");var d=this.store.getState().stateId,g=function(){var T=n.store.getState(),S=T.stateId;try{var Z=S===d||S===d+1&&!It(T.dirtyHandlerIds,l);Z||t()}finally{d=S}};return this.store.subscribe(g)}},{key:"subscribeToOffsetChange",value:function(t){var n=this;(0,v.k)(typeof t=="function","listener must be a function.");var s=this.store.getState().dragOffset,l=function(){var g=n.store.getState().dragOffset;g!==s&&(s=g,t())};return this.store.subscribe(l)}},{key:"canDragSource",value:function(t){if(!t)return!1;var n=this.registry.getSource(t);return(0,v.k)(n,"Expected to find a valid source. sourceId=".concat(t)),this.isDragging()?!1:n.canDrag(this,t)}},{key:"canDropOnTarget",value:function(t){if(!t)return!1;var n=this.registry.getTarget(t);if((0,v.k)(n,"Expected to find a valid target. targetId=".concat(t)),!this.isDragging()||this.didDrop())return!1;var s=this.registry.getTargetType(t),l=this.getItemType();return de(s,l)&&n.canDrop(this,t)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(t){if(!t)return!1;var n=this.registry.getSource(t,!0);if((0,v.k)(n,"Expected to find a valid source. sourceId=".concat(t)),!this.isDragging()||!this.isSourcePublic())return!1;var s=this.registry.getSourceType(t),l=this.getItemType();return s!==l?!1:n.isDragging(this,t)}},{key:"isOverTarget",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!t)return!1;var s=n.shallow;if(!this.isDragging())return!1;var l=this.registry.getTargetType(t),d=this.getItemType();if(d&&!de(l,d))return!1;var g=this.getTargetIds();if(!g.length)return!1;var m=g.indexOf(t);return s?m===g.length-1:m>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return xt(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Rt(this.store.getState().dragOffset)}}]),e}(),jt=0;function Ht(){return jt++}var B;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(B||(B={}));function He(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?He=function(t){return typeof t}:He=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},He(e)}function Ut(e){(0,v.k)(typeof e.canDrag=="function","Expected canDrag to be a function."),(0,v.k)(typeof e.beginDrag=="function","Expected beginDrag to be a function."),(0,v.k)(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Bt(e){(0,v.k)(typeof e.canDrop=="function","Expected canDrop to be a function."),(0,v.k)(typeof e.hover=="function","Expected hover to be a function."),(0,v.k)(typeof e.drop=="function","Expected beginDrag to be a function.")}function Je(e,r){if(r&&Array.isArray(e)){e.forEach(function(t){return Je(t,!1)});return}(0,v.k)(typeof e=="string"||He(e)==="symbol",r?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const ut=typeof global!="undefined"?global:self,st=ut.MutationObserver||ut.WebKitMutationObserver;function ft(e){return function(){const t=setTimeout(s,0),n=setInterval(s,50);function s(){clearTimeout(t),clearInterval(n),e()}}}function Wt(e){let r=1;const t=new st(e),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){r=-r,n.data=r}}const Ft=typeof st=="function"?Wt:ft;class Gt{enqueueTask(r){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=r}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:r}=this;for(;this.index<r.length;){const t=this.index;if(this.index++,r[t].call(),this.index>this.capacity){for(let n=0,s=r.length-this.index;n<s;n++)r[n]=r[n+this.index];r.length-=this.index,this.index=0}}r.length=0,this.index=0,this.flushing=!1},this.registerPendingError=r=>{this.pendingErrors.push(r),this.requestErrorThrow()},this.requestFlush=Ft(this.flush),this.requestErrorThrow=ft(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class Xt{call(){try{this.task&&this.task()}catch(r){this.onError(r)}finally{this.task=null,this.release(this)}}constructor(r,t){this.onError=r,this.release=t,this.task=null}}class Kt{create(r){const t=this.freeTasks,n=t.length?t.pop():new Xt(this.onError,s=>t[t.length]=s);return n.task=r,n}constructor(r){this.onError=r,this.freeTasks=[]}}const ct=new Gt,Vt=new Kt(ct.registerPendingError);function qt(e){ct.enqueueTask(Vt.create(e))}function Yt(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function lt(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zt(e,r,t){return r&<(e.prototype,r),t&<(e,t),e}function ve(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $t(e,r){return er(e)||Zt(e,r)||Jt(e,r)||Qt()}function Qt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jt(e,r){if(e){if(typeof e=="string")return dt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return dt(e,r)}}function dt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Zt(e,r){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n=[],s=!0,l=!1,d,g;try{for(t=t.call(e);!(s=(d=t.next()).done)&&(n.push(d.value),!(r&&n.length===r));s=!0);}catch(m){l=!0,g=m}finally{try{!s&&t.return!=null&&t.return()}finally{if(l)throw g}}return n}}function er(e){if(Array.isArray(e))return e}function tr(e){var r=Ht().toString();switch(e){case B.SOURCE:return"S".concat(r);case B.TARGET:return"T".concat(r);default:throw new Error("Unknown Handler Role: ".concat(e))}}function gt(e){switch(e[0]){case"S":return B.SOURCE;case"T":return B.TARGET;default:(0,v.k)(!1,"Cannot parse handler ID: ".concat(e))}}function vt(e,r){var t=e.entries(),n=!1;do{var s=t.next(),l=s.done,d=$t(s.value,2),g=d[1];if(g===r)return!0;n=!!l}while(!n);return!1}var rr=function(){function e(r){Yt(this,e),ve(this,"types",new Map),ve(this,"dragSources",new Map),ve(this,"dropTargets",new Map),ve(this,"pinnedSourceId",null),ve(this,"pinnedSource",null),ve(this,"store",void 0),this.store=r}return zt(e,[{key:"addSource",value:function(t,n){Je(t),Ut(n);var s=this.addHandler(B.SOURCE,t,n);return this.store.dispatch(mt(s)),s}},{key:"addTarget",value:function(t,n){Je(t,!0),Bt(n);var s=this.addHandler(B.TARGET,t,n);return this.store.dispatch(Ot(s)),s}},{key:"containsHandler",value:function(t){return vt(this.dragSources,t)||vt(this.dropTargets,t)}},{key:"getSource",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,v.k)(this.isSourceId(t),"Expected a valid source ID.");var s=n&&t===this.pinnedSourceId,l=s?this.pinnedSource:this.dragSources.get(t);return l}},{key:"getTarget",value:function(t){return(0,v.k)(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}},{key:"getSourceType",value:function(t){return(0,v.k)(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}},{key:"getTargetType",value:function(t){return(0,v.k)(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}},{key:"isSourceId",value:function(t){var n=gt(t);return n===B.SOURCE}},{key:"isTargetId",value:function(t){var n=gt(t);return n===B.TARGET}},{key:"removeSource",value:function(t){var n=this;(0,v.k)(this.getSource(t),"Expected an existing source."),this.store.dispatch(bt(t)),qt(function(){n.dragSources.delete(t),n.types.delete(t)})}},{key:"removeTarget",value:function(t){(0,v.k)(this.getTarget(t),"Expected an existing target."),this.store.dispatch(Dt(t)),this.dropTargets.delete(t),this.types.delete(t)}},{key:"pinSource",value:function(t){var n=this.getSource(t);(0,v.k)(n,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=n}},{key:"unpinSource",value:function(){(0,v.k)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(t,n,s){var l=tr(t);return this.types.set(l,n),t===B.SOURCE?this.dragSources.set(l,s):t===B.TARGET&&this.dropTargets.set(l,s),l}}]),e}();function nr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,s=ar(n),l=new Mt(s,new rr(s)),d=new Me(s,l),g=e(d,r,t);return d.receiveBackend(g),d}function ar(e){var r=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION__;return h(_t,e&&r&&r({name:"dnd-core",instanceId:"dnd-core"}))}var ir=b(30064),or=["children"];function ur(e,r){return lr(e)||cr(e,r)||fr(e,r)||sr()}function sr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fr(e,r){if(e){if(typeof e=="string")return ht(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ht(e,r)}}function ht(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function cr(e,r){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n=[],s=!0,l=!1,d,g;try{for(t=t.call(e);!(s=(d=t.next()).done)&&(n.push(d.value),!(r&&n.length===r));s=!0);}catch(m){l=!0,g=m}finally{try{!s&&t.return!=null&&t.return()}finally{if(l)throw g}}return n}}function lr(e){if(Array.isArray(e))return e}function dr(e,r){if(e==null)return{};var t=gr(e,r),n,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(s=0;s<l.length;s++)n=l[s],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function gr(e,r){if(e==null)return{};var t={},n=Object.keys(e),s,l;for(l=0;l<n.length;l++)s=n[l],!(r.indexOf(s)>=0)&&(t[s]=e[s]);return t}var pt=0,Ue=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),vr=(0,A.memo)(function(r){var t=r.children,n=dr(r,or),s=hr(n),l=ur(s,2),d=l[0],g=l[1];return(0,A.useEffect)(function(){if(g){var m=yt();return++pt,function(){--pt===0&&(m[Ue]=null)}}},[]),(0,N.jsx)(ir.L.Provider,Object.assign({value:d},{children:t}),void 0)});function hr(e){if("manager"in e){var r={dragDropManager:e.manager};return[r,!1]}var t=pr(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[t,n]}function pr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yt(),t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,s=r;return s[Ue]||(s[Ue]={dragDropManager:nr(e,r,t,n)}),s[Ue]}function yt(){return typeof b.g!="undefined"?b.g:window}},66255:function(E,R,b){"use strict";b.d(R,{PD:function(){return ne}});var N={};b.r(N),b.d(N,{FILE:function(){return ke},HTML:function(){return Ne},TEXT:function(){return de},URL:function(){return _e}});function A(o){var i=null,a=function(){return i==null&&(i=o()),i};return a}function v(o,i){return o.filter(function(a){return a!==i})}function F(o,i){var a=new Set,u=function(h){return a.add(h)};o.forEach(u),i.forEach(u);var f=[];return a.forEach(function(c){return f.push(c)}),f}function G(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function x(o,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function L(o,i,a){return i&&x(o.prototype,i),a&&x(o,a),o}function Y(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var ce=function(){function o(i){G(this,o),Y(this,"entered",[]),Y(this,"isNodeInDocument",void 0),this.isNodeInDocument=i}return L(o,[{key:"enter",value:function(a){var u=this,f=this.entered.length,c=function(O){return u.isNodeInDocument(O)&&(!O.contains||O.contains(a))};return this.entered=F(this.entered.filter(c),[a]),f===0&&this.entered.length>0}},{key:"leave",value:function(a){var u=this.entered.length;return this.entered=v(this.entered.filter(this.isNodeInDocument),a),u>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),o}(),we=A(function(){return/firefox/i.test(navigator.userAgent)}),ue=A(function(){return!!window.safari});function Be(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function Ie(o,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function et(o,i,a){return i&&Ie(o.prototype,i),a&&Ie(o,a),o}function te(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var Ce=function(){function o(i,a){Be(this,o),te(this,"xs",void 0),te(this,"ys",void 0),te(this,"c1s",void 0),te(this,"c2s",void 0),te(this,"c3s",void 0);for(var u=i.length,f=[],c=0;c<u;c++)f.push(c);f.sort(function(Te,Se){return i[Te]<i[Se]?-1:1});for(var h=[],O=[],p=[],D,_,k=0;k<u-1;k++)D=i[k+1]-i[k],_=a[k+1]-a[k],O.push(D),h.push(_),p.push(_/D);for(var C=[p[0]],w=0;w<O.length-1;w++){var M=p[w],z=p[w+1];if(M*z<=0)C.push(0);else{D=O[w];var ae=O[w+1],$=D+ae;C.push(3*$/(($+ae)/M+($+D)/z))}}C.push(p[p.length-1]);for(var V=[],X=[],j,H=0;H<C.length-1;H++){j=p[H];var Q=C[H],q=1/O[H],J=Q+C[H+1]-j-j;V.push((j-Q-J)*q),X.push(J*q*q)}this.xs=i,this.ys=a,this.c1s=C,this.c2s=V,this.c3s=X}return et(o,[{key:"interpolate",value:function(a){var u=this.xs,f=this.ys,c=this.c1s,h=this.c2s,O=this.c3s,p=u.length-1;if(a===u[p])return f[p];for(var D=0,_=O.length-1,k;D<=_;){k=Math.floor(.5*(D+_));var C=u[k];if(C<a)D=k+1;else if(C>a)_=k-1;else return f[k]}p=Math.max(0,_);var w=a-u[p],M=w*w;return f[p]+c[p]*w+h[p]*M+O[p]*w*M}}]),o}(),We=1;function Pe(o){var i=o.nodeType===We?o:o.parentElement;if(!i)return null;var a=i.getBoundingClientRect(),u=a.top,f=a.left;return{x:f,y:u}}function le(o){return{x:o.clientX,y:o.clientY}}function Fe(o){var i;return o.nodeName==="IMG"&&(we()||!((i=document.documentElement)!==null&&i!==void 0&&i.contains(o)))}function Ge(o,i,a,u){var f=o?i.width:a,c=o?i.height:u;return ue()&&o&&(c/=window.devicePixelRatio,f/=window.devicePixelRatio),{dragPreviewWidth:f,dragPreviewHeight:c}}function Xe(o,i,a,u,f){var c=Fe(i),h=c?o:i,O=Pe(h),p={x:a.x-O.x,y:a.y-O.y},D=o.offsetWidth,_=o.offsetHeight,k=u.anchorX,C=u.anchorY,w=Ge(c,i,D,_),M=w.dragPreviewWidth,z=w.dragPreviewHeight,ae=function(){var q=new Ce([0,.5,1],[p.y,p.y/_*z,p.y+z-_]),J=q.interpolate(C);return ue()&&c&&(J+=(window.devicePixelRatio-1)*z),J},$=function(){var q=new Ce([0,.5,1],[p.x,p.x/D*M,p.x+M-D]);return q.interpolate(k)},V=f.offsetX,X=f.offsetY,j=V===0||V,H=X===0||X;return{x:j?V:$(),y:H?X:ae()}}var ke="__NATIVE_FILE__",_e="__NATIVE_URL__",de="__NATIVE_TEXT__",Ne="__NATIVE_HTML__";function he(o,i,a){var u=i.reduce(function(f,c){return f||o.getData(c)},"");return u!=null?u:a}var re;function ge(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var pe=(re={},ge(re,ke,{exposeProperties:{files:function(i){return Array.prototype.slice.call(i.files)},items:function(i){return i.items},dataTransfer:function(i){return i}},matchesTypes:["Files"]}),ge(re,Ne,{exposeProperties:{html:function(i,a){return he(i,a,"")},dataTransfer:function(i){return i}},matchesTypes:["Html","text/html"]}),ge(re,_e,{exposeProperties:{urls:function(i,a){return he(i,a,"").split(`
|
|
4
|
-
`)},dataTransfer:function(i){return i}},matchesTypes:["Url","text/uri-list"]}),ge(re,de,{exposeProperties:{text:function(i,a){return he(i,a,"")},dataTransfer:function(i){return i}},matchesTypes:["Text","text/plain"]}),re);function xe(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function ye(o,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ke(o,i,a){return i&&ye(o.prototype,i),a&&ye(o,a),o}function Re(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var Ve=function(){function o(i){xe(this,o),Re(this,"item",void 0),Re(this,"config",void 0),this.config=i,this.item={},this.initializeExposedProperties()}return Ke(o,[{key:"initializeExposedProperties",value:function(){var a=this;Object.keys(this.config.exposeProperties).forEach(function(u){Object.defineProperty(a.item,u,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(u,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(a){var u=this;if(a){var f={};Object.keys(this.config.exposeProperties).forEach(function(c){f[c]={value:u.config.exposeProperties[c](a,u.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,f)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(a,u){return u===a.getSourceId()}},{key:"endDrag",value:function(){}}]),o}();function qe(o,i){var a=new Ve(pe[o]);return a.loadDataTransfer(i),a}function me(o){if(!o)return null;var i=Array.prototype.slice.call(o.types||[]);return Object.keys(pe).filter(function(a){var u=pe[a].matchesTypes;return u.some(function(f){return i.indexOf(f)>-1})})[0]||null}function Ye(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function Ae(o,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function ze(o,i,a){return i&&Ae(o.prototype,i),a&&Ae(o,a),o}function Oe(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var $e=function(){function o(i,a){Ye(this,o),Oe(this,"ownerDocument",null),Oe(this,"globalContext",void 0),Oe(this,"optionsArgs",void 0),this.globalContext=i,this.optionsArgs=a}return ze(o,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}},{key:"document",get:function(){var a;return(a=this.globalContext)!==null&&a!==void 0&&a.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var a;return((a=this.optionsArgs)===null||a===void 0?void 0:a.rootElement)||this.window}}]),o}();function be(o,i){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);i&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(o,f).enumerable})),a.push.apply(a,u)}return a}function Le(o){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{};i%2?be(Object(a),!0).forEach(function(u){y(o,u,a[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(a)):be(Object(a)).forEach(function(u){Object.defineProperty(o,u,Object.getOwnPropertyDescriptor(a,u))})}return o}function se(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function Me(o,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function I(o,i,a){return i&&Me(o.prototype,i),a&&Me(o,a),o}function y(o,i,a){return i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}var De=function(){function o(i,a,u){var f=this;se(this,o),y(this,"options",void 0),y(this,"actions",void 0),y(this,"monitor",void 0),y(this,"registry",void 0),y(this,"enterLeaveCounter",void 0),y(this,"sourcePreviewNodes",new Map),y(this,"sourcePreviewNodeOptions",new Map),y(this,"sourceNodes",new Map),y(this,"sourceNodeOptions",new Map),y(this,"dragStartSourceIds",null),y(this,"dropTargetIds",[]),y(this,"dragEnterTargetIds",[]),y(this,"currentNativeSource",null),y(this,"currentNativeHandle",null),y(this,"currentDragSourceNode",null),y(this,"altKeyPressed",!1),y(this,"mouseMoveTimeoutTimer",null),y(this,"asyncEndDragFrameId",null),y(this,"dragOverTargetIds",null),y(this,"lastClientOffset",null),y(this,"hoverRafId",null),y(this,"getSourceClientOffset",function(c){var h=f.sourceNodes.get(c);return h&&Pe(h)||null}),y(this,"endDragNativeItem",function(){f.isDraggingNativeItem()&&(f.actions.endDrag(),f.currentNativeHandle&&f.registry.removeSource(f.currentNativeHandle),f.currentNativeHandle=null,f.currentNativeSource=null)}),y(this,"isNodeInDocument",function(c){return!!(c&&f.document&&f.document.body&&f.document.body.contains(c))}),y(this,"endDragIfSourceWasRemovedFromDOM",function(){var c=f.currentDragSourceNode;c==null||f.isNodeInDocument(c)||f.clearCurrentDragSourceNode()&&f.monitor.isDragging()&&f.actions.endDrag()}),y(this,"handleTopDragStartCapture",function(){f.clearCurrentDragSourceNode(),f.dragStartSourceIds=[]}),y(this,"handleTopDragStart",function(c){if(!c.defaultPrevented){var h=f.dragStartSourceIds;f.dragStartSourceIds=null;var O=le(c);f.monitor.isDragging()&&f.actions.endDrag(),f.actions.beginDrag(h||[],{publishSource:!1,getSourceClientOffset:f.getSourceClientOffset,clientOffset:O});var p=c.dataTransfer,D=me(p);if(f.monitor.isDragging()){if(p&&typeof p.setDragImage=="function"){var _=f.monitor.getSourceId(),k=f.sourceNodes.get(_),C=f.sourcePreviewNodes.get(_)||k;if(C){var w=f.getCurrentSourcePreviewNodeOptions(),M=w.anchorX,z=w.anchorY,ae=w.offsetX,$=w.offsetY,V={anchorX:M,anchorY:z},X={offsetX:ae,offsetY:$},j=Xe(k,C,O,V,X);p.setDragImage(C,j.x,j.y)}}try{p==null||p.setData("application/json",{})}catch(q){}f.setCurrentDragSourceNode(c.target);var H=f.getCurrentSourcePreviewNodeOptions(),Q=H.captureDraggingState;Q?f.actions.publishDragSource():setTimeout(function(){return f.actions.publishDragSource()},0)}else if(D)f.beginDragNativeItem(D);else{if(p&&!p.types&&(c.target&&!c.target.hasAttribute||!c.target.hasAttribute("draggable")))return;c.preventDefault()}}}),y(this,"handleTopDragEndCapture",function(){f.clearCurrentDragSourceNode()&&f.monitor.isDragging()&&f.actions.endDrag()}),y(this,"handleTopDragEnterCapture",function(c){f.dragEnterTargetIds=[];var h=f.enterLeaveCounter.enter(c.target);if(!(!h||f.monitor.isDragging())){var O=c.dataTransfer,p=me(O);p&&f.beginDragNativeItem(p,O)}}),y(this,"handleTopDragEnter",function(c){var h=f.dragEnterTargetIds;if(f.dragEnterTargetIds=[],!!f.monitor.isDragging()){f.altKeyPressed=c.altKey,h.length>0&&f.actions.hover(h,{clientOffset:le(c)});var O=h.some(function(p){return f.monitor.canDropOnTarget(p)});O&&(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect=f.getCurrentDropEffect()))}}),y(this,"handleTopDragOverCapture",function(){f.dragOverTargetIds=[]}),y(this,"handleTopDragOver",function(c){var h=f.dragOverTargetIds;if(f.dragOverTargetIds=[],!f.monitor.isDragging()){c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="none");return}f.altKeyPressed=c.altKey,f.lastClientOffset=le(c),f.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(f.hoverRafId=requestAnimationFrame(function(){f.monitor.isDragging()&&f.actions.hover(h||[],{clientOffset:f.lastClientOffset}),f.hoverRafId=null}));var O=(h||[]).some(function(p){return f.monitor.canDropOnTarget(p)});O?(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect=f.getCurrentDropEffect())):f.isDraggingNativeItem()?c.preventDefault():(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="none"))}),y(this,"handleTopDragLeaveCapture",function(c){f.isDraggingNativeItem()&&c.preventDefault();var h=f.enterLeaveCounter.leave(c.target);h&&f.isDraggingNativeItem()&&setTimeout(function(){return f.endDragNativeItem()},0)}),y(this,"handleTopDropCapture",function(c){if(f.dropTargetIds=[],f.isDraggingNativeItem()){var h;c.preventDefault(),(h=f.currentNativeSource)===null||h===void 0||h.loadDataTransfer(c.dataTransfer)}else me(c.dataTransfer)&&c.preventDefault();f.enterLeaveCounter.reset()}),y(this,"handleTopDrop",function(c){var h=f.dropTargetIds;f.dropTargetIds=[],f.actions.hover(h,{clientOffset:le(c)}),f.actions.drop({dropEffect:f.getCurrentDropEffect()}),f.isDraggingNativeItem()?f.endDragNativeItem():f.monitor.isDragging()&&f.actions.endDrag()}),y(this,"handleSelectStart",function(c){var h=c.target;typeof h.dragDrop=="function"&&(h.tagName==="INPUT"||h.tagName==="SELECT"||h.tagName==="TEXTAREA"||h.isContentEditable||(c.preventDefault(),h.dragDrop()))}),this.options=new $e(a,u),this.actions=i.getActions(),this.monitor=i.getMonitor(),this.registry=i.getRegistry(),this.enterLeaveCounter=new ce(this.isNodeInDocument)}return I(o,[{key:"profile",value:function(){var a,u;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((a=this.dragStartSourceIds)===null||a===void 0?void 0:a.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((u=this.dragOverTargetIds)===null||u===void 0?void 0:u.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var a=this.rootElement;if(a!==void 0){if(a.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");a.__isReactDndBackendSetUp=!0,this.addEventListeners(a)}}},{key:"teardown",value:function(){var a=this.rootElement;if(a!==void 0&&(a.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var u;(u=this.window)===null||u===void 0||u.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(a,u,f){var c=this;return this.sourcePreviewNodeOptions.set(a,f),this.sourcePreviewNodes.set(a,u),function(){c.sourcePreviewNodes.delete(a),c.sourcePreviewNodeOptions.delete(a)}}},{key:"connectDragSource",value:function(a,u,f){var c=this;this.sourceNodes.set(a,u),this.sourceNodeOptions.set(a,f);var h=function(D){return c.handleDragStart(D,a)},O=function(D){return c.handleSelectStart(D)};return u.setAttribute("draggable","true"),u.addEventListener("dragstart",h),u.addEventListener("selectstart",O),function(){c.sourceNodes.delete(a),c.sourceNodeOptions.delete(a),u.removeEventListener("dragstart",h),u.removeEventListener("selectstart",O),u.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(a,u){var f=this,c=function(D){return f.handleDragEnter(D,a)},h=function(D){return f.handleDragOver(D,a)},O=function(D){return f.handleDrop(D,a)};return u.addEventListener("dragenter",c),u.addEventListener("dragover",h),u.addEventListener("drop",O),function(){u.removeEventListener("dragenter",c),u.removeEventListener("dragover",h),u.removeEventListener("drop",O)}}},{key:"addEventListeners",value:function(a){a.addEventListener&&(a.addEventListener("dragstart",this.handleTopDragStart),a.addEventListener("dragstart",this.handleTopDragStartCapture,!0),a.addEventListener("dragend",this.handleTopDragEndCapture,!0),a.addEventListener("dragenter",this.handleTopDragEnter),a.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),a.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),a.addEventListener("dragover",this.handleTopDragOver),a.addEventListener("dragover",this.handleTopDragOverCapture,!0),a.addEventListener("drop",this.handleTopDrop),a.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(a){a.removeEventListener&&(a.removeEventListener("dragstart",this.handleTopDragStart),a.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),a.removeEventListener("dragend",this.handleTopDragEndCapture,!0),a.removeEventListener("dragenter",this.handleTopDragEnter),a.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),a.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),a.removeEventListener("dragover",this.handleTopDragOver),a.removeEventListener("dragover",this.handleTopDragOverCapture,!0),a.removeEventListener("drop",this.handleTopDrop),a.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var a=this.monitor.getSourceId(),u=this.sourceNodeOptions.get(a);return Le({dropEffect:this.altKeyPressed?"copy":"move"},u||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var a=this.monitor.getSourceId(),u=this.sourcePreviewNodeOptions.get(a);return Le({anchorX:.5,anchorY:.5,captureDraggingState:!1},u||{})}},{key:"isDraggingNativeItem",value:function(){var a=this.monitor.getItemType();return Object.keys(N).some(function(u){return N[u]===a})}},{key:"beginDragNativeItem",value:function(a,u){this.clearCurrentDragSourceNode(),this.currentNativeSource=qe(a,u),this.currentNativeHandle=this.registry.addSource(a,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(a){var u=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=a;var f=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var c;return(c=u.rootElement)===null||c===void 0?void 0:c.addEventListener("mousemove",u.endDragIfSourceWasRemovedFromDOM,!0)},f)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var a;(a=this.window)===null||a===void 0||a.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(a,u){a.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(u))}},{key:"handleDragEnter",value:function(a,u){this.dragEnterTargetIds.unshift(u)}},{key:"handleDragOver",value:function(a,u){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(u)}},{key:"handleDrop",value:function(a,u){this.dropTargetIds.unshift(u)}}]),o}(),ne=function(i,a,u){return new De(i,a,u)}},30006:function(E,R,b){var N=b(25705);function A(v){if(Array.isArray(v))return N(v)}E.exports=A,E.exports.__esModule=!0,E.exports.default=E.exports},16660:function(E){function R(b){if(typeof Symbol!="undefined"&&b[Symbol.iterator]!=null||b["@@iterator"]!=null)return Array.from(b)}E.exports=R,E.exports.__esModule=!0,E.exports.default=E.exports},95848:function(E){function R(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}E.exports=R,E.exports.__esModule=!0,E.exports.default=E.exports},93525:function(E,R,b){var N=b(30006),A=b(16660),v=b(41442),F=b(95848);function G(x){return N(x)||A(x)||v(x)||F()}E.exports=G,E.exports.__esModule=!0,E.exports.default=E.exports}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[8037],{23421:function(ie,k,T){T.d(k,{Z:function(){return G}});var f=T(14797),y=T(63313),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},U=V,P=T(46420),O=function(W,D){return y.createElement(P.Z,(0,f.Z)((0,f.Z)({},W),{},{ref:D,icon:U}))};O.displayName="StopOutlined";var G=y.forwardRef(O)},33503:function(ie,k,T){T.d(k,{u:function(){return Oe}});var f=T(63313);function y(e){"@babel/helpers - typeof";return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},y(e)}var V=["style","context"],U=["ctx"];function P(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,t)}return n}function O(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?P(Object(n),!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G(e,r,n){return r=X(r),r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function X(e){var r=W(e,"string");return y(r)==="symbol"?r:String(r)}function W(e,r){if(y(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r||"default");if(y(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function D(e,r){if(e==null)return{};var n=fe(e,r),t,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)t=l[a],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function fe(e,r){if(e==null)return{};var n={},t=Object.keys(e),a,l;for(l=0;l<t.length;l++)a=t[l],!(r.indexOf(a)>=0)&&(n[a]=e[a]);return n}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},b.apply(this,arguments)}var le=0,$=1,q=2,F=8,R=64,A=0,x=1,d;(function(e){e[e.INIT=1]="INIT",e[e.LOADED=2]="LOADED",e[e.RUNNING=4]="RUNNING"})(d||(d={}));function ce(){return{vt_state:d.INIT,possible_hight_per_tr:-1,computed_h:0,re_computed:0,row_height:[],row_count:0,prev_row_count:0,_offset_top:0,_offset_head:0,_offset_tail:1,WH:0,top:0,left:0,evt:le,end:!1,final_top:0,f_final_top:x,update_count:0,indexMap:new WeakMap,HND_PAINT:0,retry_count:5}}function Ne(e){if(Object.prototype.hasOwnProperty.call(e,"CLICK~__DIAGNOSIS__"))return;function r(t){for(var a=0,l=0;l<e.row_count;++l)a+=e.row_height[l];var c,i;a>e.computed_h?(c="color:rgb(15, 179, 9)",i="lower than expected"):a<e.computed_h?(c="color:rgb(202, 61, 81)",i="higher than expected"):(c="color:rgba(0, 0, 0, 0.85)",i="normal");var s=e.computed_h-a;return t&&(console.debug("OoOoOoO DIAGNOSIS OoOoOoO"),console.debug("%c%d(%d)(".concat(i,")"),c,a,e.computed_h-a),console.debug("OoOoOoOoOoOoOOoOoOoOoOoOo")),s}Object.defineProperty(e,"CLICK~__DIAGNOSIS__",{get:function(){r(!0)},configurable:!1,enumerable:!1});function n(){if(r(!1)!==0){window.alert("vt: an error occurred!");return}window.requestIdleCallback?window.requestIdleCallback(n):window.setTimeout(n)}e.debug&&n()}function S(e,r){if(e.debug){if(r[0]==="+")return console.debug(r.slice(1));var n=new Date,t="".concat(n.toLocaleTimeString(),".").concat(n.getMilliseconds());console.debug("%c[".concat(e.id,"][").concat(t,"][").concat(r,"]"),"color:#a00",e)}}var se=f.forwardRef(function(r,n){return f.createElement("table",b({ref:n},r))});function ue(e){return f.createElement("tbody",e)}var _e=f.forwardRef(function(r,n){return f.createElement("tr",b({ref:n},r))});function pe(e,r){var n=e.row_height,t=e.row_count,a=e.overscanRowCount;e._scroll_y=e.scroll.y,typeof e._scroll_y=="number"?e._y=e._scroll_y:(typeof e._scroll_y=="string"||console.assert(!1,"VT: did you forget to set `scroll.y`?"),e._y=e.wrap_inst.current.parentElement.offsetHeight),console.assert(e._y>=0);var l=0,c=0,i=0,s=0;if(r===-1&&t>0){for(c=t;c>0&&s<e._y;)s+=n[--c];return[0|c,0|t,0|e.computed_h-s]}for(;c<t&&l<r;++c)l+=n[c];for(i=c;i<t&&s<e._y;++i)s+=n[i];for(var p=a<0?0:a;c>0&&p--;)l-=n[--c];return i+=a,i>t&&(i=t),[0|c,0|i,0|l]}function ee(e,r,n,t){e._offset_top=0|r,e._offset_head=0|n,e._offset_tail=0|t}function de(e,r,n,t,a){e.top=r,e.left=n,e.evt=t,e.end=a}function te(e,r,n){if(e.wrap_inst.current){var t=e.wrap_inst.current.parentElement;t.scrollTop=r,t.scrollLeft=Math.max(n,t.scrollLeft)}}function H(e){if(!e.HND_PAINT){var r=e.cq,n=e.wrap_inst,t=function(){e.HND_PAINT=0;for(var l=0;l<r.length;++l)r[l].index>=e._offset_head&&r[l].index<e._offset_tail&&r[l].func();if(!(e.vt_state!==d.RUNNING||!n.current)){var c=e.computed_h;if(e.WH!==c){e.WH=c;var i=n.current.style;i.height=c?(i.maxHeight=c+"px",i.maxHeight):(i.maxHeight="unset",i.maxHeight),e.on_update_wrap_style()}}};e.HND_PAINT=e.evt===F?window.requestAnimationFrame(t):window.setTimeout(t)}}function re(e,r,n,t){var a=r-n,l=new Array(a).fill(t);e.row_height=e.row_height.concat(l),e.computed_h+=a*t}function ve(e,r,n){if(r===0){e.computed_h=0,e.row_height.length=0,e.top=0;return}for(var t=e.row_height,a=0,l=r;l<n;++l)a+=t[l];e.computed_h-=a}function he(e,r){e.re_computed=r-e.row_count,e.prev_row_count=e.row_count,e.row_count=r}var we=function(r,n){var t=r.style,a=r.context,l=D(r,V),c=(0,f.useState)(0),i=(0,f.useRef)(function(){}),s,p=(0,f.useMemo)(function(){return f.createRef()},[]),o=(0,f.useContext)(a);(0,f.useMemo)(function(){Object.assign(o,ce()),o.wrap_inst&&o.wrap_inst.current&&o.wrap_inst.current.parentElement.removeEventListener("scroll",s),o.wrap_inst=p,o.top=o.initTop,o.on_update_wrap_style=function(){o._y===0&&"".concat(o._scroll_y).length&&s({flag:R,target:{scrollTop:o.top,scrollLeft:o.left}})},o.cq=[];var _=0,w=0;o.cq.push=function(u){if(o.vt_state===d.RUNNING){var v=o._offset_tail-o._offset_head+o.overscanRowCount*2+10;return w=Math.max(w,v),_>w&&(_=0),o.cq[_++]=u,0}}},[]);var N=(0,f.useRef)([]).current,h;s=(0,f.useCallback)(function(_){if(o.vt_state===d.RUNNING){var w=performance.now();if(_){if("flag"in _)N.push(_);else{var u=_.target,v=Math.max(u.scrollTop,0);N.push({target:{scrollTop:v,scrollLeft:u.scrollLeft},end:u.scrollHeight-u.clientHeight===Math.round(v),flag:F})}if(o.f_final_top===A)return h(w)}o.HND_RAF||(o.HND_RAF=window.setTimeout(function(){return Promise.resolve().then(function(){return h(w)})}))}},[]),h=(0,f.useCallback)(function(_){o.HND_RAF=0;var w=performance.now();if(w-_>10&&o.retry_count-- >0){s();return}if(o.retry_count=5,o.vt_state===d.RUNNING){var u=N,v;if(u.length){v=u.pop(),u.length=0;var m=v.target.scrollTop,K=v.target.scrollLeft,ae=v.flag;S(o,"top: ".concat(m,", left: ").concat(K));var B=pe(o,o.f_final_top===A?o.final_top:m),j=B[0],M=B[1],C=B[2],Z=o._offset_head,Y=o._offset_tail,J=o._offset_top,Q=!1;switch(ae){case $:S(o,"SCROLLEVT_INIT");break;case R:S(o,"SCROLLEVT_BY_HOOK"),j===Z&&M===Y&&C===J?(o.f_final_top=x,o.final_top===-1&&(m=o.computed_h-o._y),Q=!0):o.final_top===-1&&(m=C);break;case q:if(j===Z&&M===Y&&C===J)return;S(o,"SCROLLEVT_RECOMPUTE");break;case F:if(j===Z&&M===Y&&C===J)return;S(o,"SCROLLEVT_NATIVE"),o.onScroll&&o.onScroll({top:m,left:K,isEnd:v.end}),Q=v.end;break}ee(o,C,j,M),de(o,m,K,ae,Q),c[1](++o.update_count)}}},[]),(0,f.useImperativeHandle)(n,function(){var _=function(u){o.f_final_top=A,o.final_top=u,s({target:{scrollTop:u,scrollLeft:-1},flag:R})};return{scrollTo:function(u){i.current=function(){return _(u)},i.current()},scrollToIndex:function(u){i.current=function(){u>o.row_count-1&&(u=o.row_count-1),u<0&&(u=0);for(var v=0,m=0;m<u;++m)v+=o.row_height[m];_(v)},i.current()}}},[]),(0,f.useEffect)(function(){var _=p.current.parentElement;try{_.addEventListener("scroll",s,{passive:!0})}catch(w){_.addEventListener("scroll",s,!1)}},[p.current]),(0,f.useEffect)(function(){s({flag:R,target:{scrollLeft:o.left,scrollTop:o.top}})},[o.scroll.y]),(0,f.useEffect)(function(){switch(o.evt){case R:o.f_final_top===A?i.current():te(o,o.top,o.left);break;case $:case q:te(o,o.top,o.left);break}},[c[0]]),(0,f.useEffect)(function(){switch(o.vt_state){case d.LOADED:o.vt_state=d.RUNNING,s({target:{scrollTop:o.top,scrollLeft:0},flag:R});break;case d.RUNNING:o.re_computed!==0&&(o.re_computed=0,s({target:{scrollTop:o.top,scrollLeft:o.left},flag:q}));break}});var E=(0,f.useMemo)(function(){return{width:t.width,minWidth:"100%",position:"relative",transform:"translate(0)"}},[t.width]),I=(0,f.useMemo)(function(){return O(O({},t),{},{width:void 0,position:"relative",top:o._offset_top,transform:"translate(0)"})},[o._offset_top]),g=(0,f.useMemo)(function(){return O({},o)},[o.update_count]),L=o.components.table;return f.createElement("div",{ref:p,style:E},f.createElement(a.Provider,{value:g},f.createElement(L,b({},l,{style:I}))))},me=function(r){var n=r.children,t=r.className,a=r.ctx,l=n[0],c=n[1],i=Array.isArray(c)?c.length:0,s=a._offset_head,p=a._offset_tail,o=[];switch(a.vt_state){case d.INIT:i>=0&&(console.assert(s===0),console.assert(p===1),Array.isArray(c)?(o=c.slice(s,p),a.indexMap.set(o[0].props.record,0)):o=c,a.re_computed=i,a.prev_row_count=i,a.row_count=i);break;case d.RUNNING:{if(p>i){var N=p-i;p-=N,s-=N,s<0&&(s=0),p<0&&(p=0),ee(a,a._offset_top,s,p)}a.row_count!==i&&he(a,i),i=a.row_count;var h=a.prev_row_count;if(i<h)ve(a,i,h);else if(i>h){var E=a.row_height;i-E.length>0?re(a,i,h,a.possible_hight_per_tr):(E.fill(a.possible_hight_per_tr,h,i),a.computed_h+=a.possible_hight_per_tr*(i-h))}if(i){var I=s;o=c.slice(I,p),o.forEach(function(L){return a.indexMap.set(L.props.record,I++)})}else o=c;a.prev_row_count=a.row_count}break;case d.LOADED:console.assert(!1);break}var g=a.components.body.wrapper;return f.createElement(g,{className:t},l,o)},be=function(r){var n=f.createRef(),t=r.ctx,a=D(r,U),l=r.children,c=t.components.body.row;if(!Array.isArray(l))return f.createElement(c,a,l);var i=l[0].props,s=t.indexMap.get(i.record),p=(0,f.useRef)(s),o=(0,f.useMemo)(function(){return".".concat(i.prefixCls,"-expanded-row")},[i.prefixCls]),N=performance.now();return(0,f.useLayoutEffect)(function(){var h=performance.now();return S(t,"+idx ".concat(s," tooks ").concat(h-N," ms")),t.vt_state===d.RUNNING?H(t):(t.possible_hight_per_tr=n.current.offsetHeight,re(t,t.row_count,0,t.possible_hight_per_tr),H(t),t.vt_state=d.LOADED),function(){H(t)}},[]),(0,f.useEffect)(function(){t.cq.push({index:s,func:function(){var E=n.current;if(E){for(var I=E.offsetHeight,g=E.nextSibling;g&&g.matches(o);)I+=g.offsetHeight,g=g.nextSibling;var L=t.row_height[s],_=t.row_height[p.current];t.computed_h-=L,t.computed_h+=_,t.computed_h+=I-_,t.row_height[s]=I}}}),H(t)}),f.createElement(c,b({},a,{ref:n}))};function oe(e,r){var n=r.table,t=r.body,a=r.header;e.components.body=O(O({},e.components.body),t),t&&t.cell&&(e._vtcomponents.body.cell=t.cell),a&&(e.components.header=a,e._vtcomponents.header=a),n&&(e.components.table=n)}function ge(e,r){var n=(0,f.useRef)(f.createContext({})).current,t=(0,f.useContext)(n),a=(0,f.useRef)({scrollTo:function(c){},scrollToIndex:function(c){}});return(0,f.useMemo)(function(){return Object.assign(t,{id:(+new Date).toString(36).slice(4),initTop:0,overscanRowCount:5,debug:!1,ref:a},e())},r),(0,f.useMemo)(function(){var l=f.forwardRef(we);t._vtcomponents={table:function(i){return f.createElement(l,b({},i,{context:n,ref:t.ref}))},body:{wrapper:function(i){return f.createElement(n.Consumer,null,function(){return f.createElement(me,b({},i,{ctx:t}))})},row:function(i){return f.createElement(be,b({},i,{ctx:t}))}}},t.components={},oe(t,{table:se,body:{wrapper:ue,row:_e}}),t.vt_state=d.INIT},[]),t}function z(e){"@babel/helpers - typeof";return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},z(e)}var ne=1,ye=2;(function(){var e=(typeof window=="undefined"?"undefined":z(window))==="object"&&window instanceof Window?ne:ye;if(e&ne&&!Object.hasOwnProperty.call(window,"requestAnimationFrame")&&!window.requestAnimationFrame)throw new Error("Please using the modern browers or appropriate polyfill!")})();function Oe(e,r){var n=ge(e,r||[]);return[n._vtcomponents,function(t){return oe(n,t)},n.ref]}console.log("wubostc/virtualized-table-for-antd")}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[921],{1633:function(w,C,u){"use strict";u.d(C,{w:function(){return d}});function d(g,s,v,h){var D=v?v.call(h,g,s):void 0;if(D!==void 0)return!!D;if(g===s)return!0;if(typeof g!="object"||!g||typeof s!="object"||!s)return!1;var O=Object.keys(g),P=Object.keys(s);if(O.length!==P.length)return!1;for(var b=Object.prototype.hasOwnProperty.bind(s),l=0;l<O.length;l++){var y=O[l];if(!b(y))return!1;var m=g[y],M=s[y];if(D=v?v.call(h,m,M,y):void 0,D===!1||D===void 0&&m!==M)return!1}return!0}},1133:function(w,C,u){"use strict";u.d(C,{J:function(){return B}});var d=u(73137),g=u(3341),s=u.n(g),v=u(63313);function h(c,p){return l(c)||b(c,p)||O(c,p)||D()}function D(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(c,p){if(c){if(typeof c=="string")return P(c,p);var f=Object.prototype.toString.call(c).slice(8,-1);if(f==="Object"&&c.constructor&&(f=c.constructor.name),f==="Map"||f==="Set")return Array.from(c);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return P(c,p)}}function P(c,p){(p==null||p>c.length)&&(p=c.length);for(var f=0,T=new Array(p);f<p;f++)T[f]=c[f];return T}function b(c,p){var f=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(f!=null){var T=[],k=!0,_=!1,A,R;try{for(f=f.call(c);!(k=(A=f.next()).done)&&(T.push(A.value),!(p&&T.length===p));k=!0);}catch(H){_=!0,R=H}finally{try{!k&&f.return!=null&&f.return()}finally{if(_)throw R}}return T}}function l(c){if(Array.isArray(c))return c}function y(c,p,f){var T=(0,v.useState)(function(){return p(c)}),k=h(T,2),_=k[0],A=k[1],R=(0,v.useCallback)(function(){var H=p(c);s()(_,H)||(A(H),f&&f())},[_,c,f]);return(0,d.L)(R),[_,R]}function m(c,p){return j(c)||W(c,p)||x(c,p)||M()}function M(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(c,p){if(c){if(typeof c=="string")return N(c,p);var f=Object.prototype.toString.call(c).slice(8,-1);if(f==="Object"&&c.constructor&&(f=c.constructor.name),f==="Map"||f==="Set")return Array.from(c);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return N(c,p)}}function N(c,p){(p==null||p>c.length)&&(p=c.length);for(var f=0,T=new Array(p);f<p;f++)T[f]=c[f];return T}function W(c,p){var f=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(f!=null){var T=[],k=!0,_=!1,A,R;try{for(f=f.call(c);!(k=(A=f.next()).done)&&(T.push(A.value),!(p&&T.length===p));k=!0);}catch(H){_=!0,R=H}finally{try{!k&&f.return!=null&&f.return()}finally{if(_)throw R}}return T}}function j(c){if(Array.isArray(c))return c}function F(c,p,f){var T=y(c,p,f),k=m(T,2),_=k[0],A=k[1];return(0,d.L)(function(){var H=c.getHandlerId();if(H!=null)return c.subscribeToStateChange(A,{handlerIds:[H]})},[c,A]),_}function B(c,p,f){return F(p,c||function(){return{}},function(){return f.reconnect()})}},57627:function(w,C,u){"use strict";u.d(C,{c:function(){return o}});var d=u(81291),g=u(73137),s=u(63313);function v(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(t){return typeof t}:v=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(e)}function h(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function D(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function O(e,r,t){return r&&D(e.prototype,r),t&&D(e,t),e}function P(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var b=function(){function e(r,t,a){h(this,e),P(this,"spec",void 0),P(this,"monitor",void 0),P(this,"connector",void 0),this.spec=r,this.monitor=t,this.connector=a}return O(e,[{key:"beginDrag",value:function(){var t,a=this.spec,I=this.monitor,S=null;return v(a.item)==="object"?S=a.item:typeof a.item=="function"?S=a.item(I):S={},(t=S)!==null&&t!==void 0?t:null}},{key:"canDrag",value:function(){var t=this.spec,a=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag=="function"?t.canDrag(a):!0}},{key:"isDragging",value:function(t,a){var I=this.spec,S=this.monitor,U=I.isDragging;return U?U(S):a===t.getSourceId()}},{key:"endDrag",value:function(){var t=this.spec,a=this.monitor,I=this.connector,S=t.end;S&&S(a.getItem(),a),I.reconnect()}}]),e}();function l(e,r,t){var a=(0,s.useMemo)(function(){return new b(e,r,t)},[r,t]);return(0,s.useEffect)(function(){a.spec=e},[e]),a}var y=u(73438),m=u(46123);function M(e){return(0,s.useMemo)(function(){var r=e.type;return(0,m.k)(r!=null,"spec.type must be defined"),r},[e])}function x(e,r){return B(e)||F(e,r)||W(e,r)||N()}function N(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(e,r){if(e){if(typeof e=="string")return j(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return j(e,r)}}function j(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function F(e,r){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var a=[],I=!0,S=!1,U,K;try{for(t=t.call(e);!(I=(U=t.next()).done)&&(a.push(U.value),!(r&&a.length===r));I=!0);}catch(J){S=!0,K=J}finally{try{!I&&t.return!=null&&t.return()}finally{if(S)throw K}}return a}}function B(e){if(Array.isArray(e))return e}function c(e,r,t){var a=(0,y.N)(),I=l(e,r,t),S=M(e);(0,g.L)(function(){if(S!=null){var K=(0,d.w)(S,I,a),J=x(K,2),ee=J[0],te=J[1];return r.receiveHandlerId(ee),t.receiveHandlerId(ee),te}},[a,r,t,I,S])}var p=u(79103);function f(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function T(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function k(e,r,t){return r&&T(e.prototype,r),t&&T(e,t),e}function _(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var A=!1,R=!1,H=function(){function e(r){f(this,e),_(this,"internalMonitor",void 0),_(this,"sourceId",null),this.internalMonitor=r.getMonitor()}return k(e,[{key:"receiveHandlerId",value:function(t){this.sourceId=t}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){(0,m.k)(!A,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return A=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{A=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;(0,m.k)(!R,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return R=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{R=!1}}},{key:"subscribeToStateChange",value:function(t,a){return this.internalMonitor.subscribeToStateChange(t,a)}},{key:"isDraggingSource",value:function(t){return this.internalMonitor.isDraggingSource(t)}},{key:"isOverTarget",value:function(t,a){return this.internalMonitor.isOverTarget(t,a)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(t){return this.internalMonitor.subscribeToOffsetChange(t)}},{key:"canDragSource",value:function(t){return this.internalMonitor.canDragSource(t)}},{key:"canDropOnTarget",value:function(t){return this.internalMonitor.canDropOnTarget(t)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function V(){var e=(0,y.N)();return(0,s.useMemo)(function(){return new H(e)},[e])}var z=u(53625),Y=u(4105),$=u(1633);function G(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function L(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Q(e,r,t){return r&&L(e.prototype,r),t&&L(e,t),e}function E(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var X=function(){function e(r){var t=this;G(this,e),E(this,"hooks",(0,z.p)({dragSource:function(I,S){t.clearDragSource(),t.dragSourceOptions=S||null,(0,Y.d)(I)?t.dragSourceRef=I:t.dragSourceNode=I,t.reconnectDragSource()},dragPreview:function(I,S){t.clearDragPreview(),t.dragPreviewOptions=S||null,(0,Y.d)(I)?t.dragPreviewRef=I:t.dragPreviewNode=I,t.reconnectDragPreview()}})),E(this,"handlerId",null),E(this,"dragSourceRef",null),E(this,"dragSourceNode",void 0),E(this,"dragSourceOptionsInternal",null),E(this,"dragSourceUnsubscribe",void 0),E(this,"dragPreviewRef",null),E(this,"dragPreviewNode",void 0),E(this,"dragPreviewOptionsInternal",null),E(this,"dragPreviewUnsubscribe",void 0),E(this,"lastConnectedHandlerId",null),E(this,"lastConnectedDragSource",null),E(this,"lastConnectedDragSourceOptions",null),E(this,"lastConnectedDragPreview",null),E(this,"lastConnectedDragPreviewOptions",null),E(this,"backend",void 0),this.backend=r}return Q(e,[{key:"receiveHandlerId",value:function(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(t){this.dragSourceOptionsInternal=t}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(t){this.dragPreviewOptionsInternal=t}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var t=this.dragSource,a=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(a&&this.disconnectDragSource(),!!this.handlerId){if(!t){this.lastConnectedDragSource=t;return}a&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var t=this.dragPreview,a=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(a&&this.disconnectDragPreview(),!!this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}a&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!(0,$.w)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!(0,$.w)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),e}();function Z(e,r){var t=(0,y.N)(),a=(0,s.useMemo)(function(){return new X(t.getBackend())},[t]);return(0,g.L)(function(){return a.dragSourceOptions=e||null,a.reconnect(),function(){return a.disconnectDragSource()}},[a,e]),(0,g.L)(function(){return a.dragPreviewOptions=r||null,a.reconnect(),function(){return a.disconnectDragPreview()}},[a,r]),a}var q=u(1133);function i(e){return(0,s.useMemo)(function(){return e.hooks.dragSource()},[e])}function n(e){return(0,s.useMemo)(function(){return e.hooks.dragPreview()},[e])}function o(e,r){var t=(0,p.w)(e,r);(0,m.k)(!t.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var a=V(),I=Z(t.options,t.previewOptions);return c(t,a,I),[(0,q.J)(t.collect,a,I),i(I),n(I)]}},73438:function(w,C,u){"use strict";u.d(C,{N:function(){return h}});var d=u(63313),g=u.n(d),s=u(46123),v=u(30064);function h(){var D=(0,d.useContext)(v.L),O=D.dragDropManager;return(0,s.k)(O!=null,"Expected drag drop context"),O}},17688:function(w,C,u){"use strict";u.d(C,{L:function(){return q}});var d=u(81291),g=u(73438),s=u(73137),v=u(46123),h=u(63313);function D(i){var n=i.accept;return(0,h.useMemo)(function(){return(0,v.k)(i.accept!=null,"accept must be defined"),Array.isArray(n)?n:[n]},[n])}function O(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function P(i,n){for(var o=0;o<n.length;o++){var e=n[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function b(i,n,o){return n&&P(i.prototype,n),o&&P(i,o),i}function l(i,n,o){return n in i?Object.defineProperty(i,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[n]=o,i}var y=function(){function i(n,o){O(this,i),l(this,"spec",void 0),l(this,"monitor",void 0),this.spec=n,this.monitor=o}return b(i,[{key:"canDrop",value:function(){var o=this.spec,e=this.monitor;return o.canDrop?o.canDrop(e.getItem(),e):!0}},{key:"hover",value:function(){var o=this.spec,e=this.monitor;o.hover&&o.hover(e.getItem(),e)}},{key:"drop",value:function(){var o=this.spec,e=this.monitor;if(o.drop)return o.drop(e.getItem(),e)}}]),i}();function m(i,n){var o=(0,h.useMemo)(function(){return new y(i,n)},[n]);return(0,h.useEffect)(function(){o.spec=i},[i]),o}function M(i,n){return F(i)||j(i,n)||N(i,n)||x()}function x(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(i,n){if(i){if(typeof i=="string")return W(i,n);var o=Object.prototype.toString.call(i).slice(8,-1);if(o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set")return Array.from(i);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return W(i,n)}}function W(i,n){(n==null||n>i.length)&&(n=i.length);for(var o=0,e=new Array(n);o<n;o++)e[o]=i[o];return e}function j(i,n){var o=i==null?null:typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(o!=null){var e=[],r=!0,t=!1,a,I;try{for(o=o.call(i);!(r=(a=o.next()).done)&&(e.push(a.value),!(n&&e.length===n));r=!0);}catch(S){t=!0,I=S}finally{try{!r&&o.return!=null&&o.return()}finally{if(t)throw I}}return e}}function F(i){if(Array.isArray(i))return i}function B(i,n,o){var e=(0,g.N)(),r=m(i,n),t=D(i);(0,s.L)(function(){var I=(0,d.n)(t,r,e),S=M(I,2),U=S[0],K=S[1];return n.receiveHandlerId(U),o.receiveHandlerId(U),K},[e,n,r,o,t.map(function(a){return a.toString()}).join("|")])}var c=u(79103);function p(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function f(i,n){for(var o=0;o<n.length;o++){var e=n[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function T(i,n,o){return n&&f(i.prototype,n),o&&f(i,o),i}function k(i,n,o){return n in i?Object.defineProperty(i,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[n]=o,i}var _=!1,A=function(){function i(n){p(this,i),k(this,"internalMonitor",void 0),k(this,"targetId",null),this.internalMonitor=n.getMonitor()}return T(i,[{key:"receiveHandlerId",value:function(o){this.targetId=o}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(o,e){return this.internalMonitor.subscribeToStateChange(o,e)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;(0,v.k)(!_,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return _=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{_=!1}}},{key:"isOver",value:function(o){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,o):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),i}();function R(){var i=(0,g.N)();return(0,h.useMemo)(function(){return new A(i)},[i])}var H=u(1633),V=u(53625),z=u(4105);function Y(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function $(i,n){for(var o=0;o<n.length;o++){var e=n[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function G(i,n,o){return n&&$(i.prototype,n),o&&$(i,o),i}function L(i,n,o){return n in i?Object.defineProperty(i,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[n]=o,i}var Q=function(){function i(n){var o=this;Y(this,i),L(this,"hooks",(0,V.p)({dropTarget:function(r,t){o.clearDropTarget(),o.dropTargetOptions=t,(0,z.d)(r)?o.dropTargetRef=r:o.dropTargetNode=r,o.reconnect()}})),L(this,"handlerId",null),L(this,"dropTargetRef",null),L(this,"dropTargetNode",void 0),L(this,"dropTargetOptionsInternal",null),L(this,"unsubscribeDropTarget",void 0),L(this,"lastConnectedHandlerId",null),L(this,"lastConnectedDropTarget",null),L(this,"lastConnectedDropTargetOptions",null),L(this,"backend",void 0),this.backend=n}return G(i,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var o=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();o&&this.disconnectDropTarget();var e=this.dropTarget;if(this.handlerId){if(!e){this.lastConnectedDropTarget=e;return}o&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(o){o!==this.handlerId&&(this.handlerId=o,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(o){this.dropTargetOptionsInternal=o}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!(0,H.w)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),i}();function E(i){var n=(0,g.N)(),o=(0,h.useMemo)(function(){return new Q(n.getBackend())},[n]);return(0,s.L)(function(){return o.dropTargetOptions=i||null,o.reconnect(),function(){return o.disconnectDropTarget()}},[i]),o}var X=u(1133);function Z(i){return(0,h.useMemo)(function(){return i.hooks.dropTarget()},[i])}function q(i,n){var o=(0,c.w)(i,n),e=R(),r=E(o.options);return B(o,e,r),[(0,X.J)(o.collect,e,r),Z(r)]}},73137:function(w,C,u){"use strict";u.d(C,{L:function(){return s}});var d=u(63313),g=u.n(d),s=typeof window!="undefined"?d.useLayoutEffect:d.useEffect},79103:function(w,C,u){"use strict";u.d(C,{w:function(){return b}});var d=u(63313),g=u.n(d);function s(l){return O(l)||D(l)||h(l)||v()}function v(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(l,y){if(l){if(typeof l=="string")return P(l,y);var m=Object.prototype.toString.call(l).slice(8,-1);if(m==="Object"&&l.constructor&&(m=l.constructor.name),m==="Map"||m==="Set")return Array.from(l);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return P(l,y)}}function D(l){if(typeof Symbol!="undefined"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function O(l){if(Array.isArray(l))return P(l)}function P(l,y){(y==null||y>l.length)&&(y=l.length);for(var m=0,M=new Array(y);m<y;m++)M[m]=l[m];return M}function b(l,y){var m=s(y||[]);return y==null&&typeof l!="function"&&m.push(l),(0,d.useMemo)(function(){return typeof l=="function"?l():l},m)}},4105:function(w,C,u){"use strict";u.d(C,{d:function(){return g}});function d(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(h){return typeof h}:d=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},d(s)}function g(s){return s!==null&&d(s)==="object"&&Object.prototype.hasOwnProperty.call(s,"current")}},81291:function(w,C,u){"use strict";u.d(C,{n:function(){return d},w:function(){return g}});function d(s,v,h){var D=h.getRegistry(),O=D.addTarget(s,v);return[O,function(){return D.removeTarget(O)}]}function g(s,v,h){var D=h.getRegistry(),O=D.addSource(s,v);return[O,function(){return D.removeSource(O)}]}},53625:function(w,C,u){"use strict";u.d(C,{p:function(){return D}});var d=u(46123),g=u(63313),s=u.n(g);function v(b){if(typeof b.type!="string"){var l=b.type.displayName||b.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(l," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function h(b){return function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(0,g.isValidElement)(l)){var m=l;return b(m,y),m}var M=l;v(M);var x=y?function(N){return b(N,y)}:b;return P(M,x)}}function D(b){var l={};return Object.keys(b).forEach(function(y){var m=b[y];if(y.endsWith("Ref"))l[y]=b[y];else{var M=h(m);l[y]=function(){return M}}}),l}function O(b,l){typeof b=="function"?b(l):b.current=l}function P(b,l){var y=b.ref;return(0,d.k)(typeof y!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),y?(0,g.cloneElement)(b,{ref:function(M){O(y,M),O(l,M)}}):(0,g.cloneElement)(b,{ref:l})}},3341:function(w){"use strict";w.exports=function C(u,d){if(u===d)return!0;if(u&&d&&typeof u=="object"&&typeof d=="object"){if(u.constructor!==d.constructor)return!1;var g,s,v;if(Array.isArray(u)){if(g=u.length,g!=d.length)return!1;for(s=g;s--!==0;)if(!C(u[s],d[s]))return!1;return!0}if(u.constructor===RegExp)return u.source===d.source&&u.flags===d.flags;if(u.valueOf!==Object.prototype.valueOf)return u.valueOf()===d.valueOf();if(u.toString!==Object.prototype.toString)return u.toString()===d.toString();if(v=Object.keys(u),g=v.length,g!==Object.keys(d).length)return!1;for(s=g;s--!==0;)if(!Object.prototype.hasOwnProperty.call(d,v[s]))return!1;for(s=g;s--!==0;){var h=v[s];if(!C(u[h],d[h]))return!1}return!0}return u!==u&&d!==d}},12342:function(w,C,u){var d=u(20006);function g(s,v){if(s==null)return{};var h=d(s,v),D,O;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(s);for(O=0;O<P.length;O++)D=P[O],!(v.indexOf(D)>=0)&&Object.prototype.propertyIsEnumerable.call(s,D)&&(h[D]=s[D])}return h}w.exports=g,w.exports.__esModule=!0,w.exports.default=w.exports},20006:function(w){function C(u,d){if(u==null)return{};var g={},s=Object.keys(u),v,h;for(h=0;h<s.length;h++)v=s[h],!(d.indexOf(v)>=0)&&(g[v]=u[v]);return g}w.exports=C,w.exports.__esModule=!0,w.exports.default=w.exports}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[9504],{61761:function(Re,se,h){h.d(se,{Z:function(){return Ne}});var p=[],V=function(){return p.some(function(e){return e.activeTargets.length>0})},ae=function(){return p.some(function(e){return e.skippedTargets.length>0})},Y="ResizeObserver loop completed with undelivered notifications.",ce=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Y}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Y),window.dispatchEvent(e)},w;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(w||(w={}));var O=function(e){return Object.freeze(e)},b=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,O(this)}return e}(),H=function(){function e(t,r,n,i){return this.x=t,this.y=r,this.width=n,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,O(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,i=t.top,c=t.right,s=t.bottom,u=t.left,f=t.width,m=t.height;return{x:r,y:n,top:i,right:c,bottom:s,left:u,width:f,height:m}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),N=function(e){return e instanceof SVGElement&&"getBBox"in e},K=function(e){if(N(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e,c=i.offsetWidth,s=i.offsetHeight;return!(c||s||e.getClientRects().length)},Q=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},le=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},B=typeof window!="undefined"?window:{},I=new WeakMap,q=/auto|scroll/,ve=/^tb|vertical/,ue=/msie|trident/i.test(B.navigator&&B.navigator.userAgent),g=function(e){return parseFloat(e||"0")},z=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new b((r?t:e)||0,(r?e:t)||0)},l=O({devicePixelContentBoxSize:z(),borderBoxSize:z(),contentBoxSize:z(),contentRect:new H(0,0,0,0)}),a=function(e,t){if(t===void 0&&(t=!1),I.has(e)&&!t)return I.get(e);if(K(e))return I.set(e,l),l;var r=getComputedStyle(e),n=N(e)&&e.ownerSVGElement&&e.getBBox(),i=!ue&&r.boxSizing==="border-box",c=ve.test(r.writingMode||""),s=!n&&q.test(r.overflowY||""),u=!n&&q.test(r.overflowX||""),f=n?0:g(r.paddingTop),m=n?0:g(r.paddingRight),U=n?0:g(r.paddingBottom),J=n?0:g(r.paddingLeft),Ie=n?0:g(r.borderTopWidth),De=n?0:g(r.borderRightWidth),Ae=n?0:g(r.borderBottomWidth),Le=n?0:g(r.borderLeftWidth),Oe=J+m,Ee=f+U,me=Le+De,xe=Ie+Ae,Ce=u?e.offsetHeight-xe-e.clientHeight:0,we=s?e.offsetWidth-me-e.clientWidth:0,Me=i?Oe+me:0,Ze=i?Ee+xe:0,ie=n?n.width:g(r.width)-Me-we,oe=n?n.height:g(r.height)-Ze-Ce,We=ie+Oe+we+me,Fe=oe+Ee+Ce+xe,ze=O({devicePixelContentBoxSize:z(Math.round(ie*devicePixelRatio),Math.round(oe*devicePixelRatio),c),borderBoxSize:z(We,Fe,c),contentBoxSize:z(ie,oe,c),contentRect:new H(J,f,ie,oe)});return I.set(e,ze),ze},d=function(e,t,r){var n=a(e,r),i=n.borderBoxSize,c=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case w.DEVICE_PIXEL_CONTENT_BOX:return s;case w.BORDER_BOX:return i;default:return c}},o=function(){function e(t){var r=a(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=O([r.borderBoxSize]),this.contentBoxSize=O([r.contentBoxSize]),this.devicePixelContentBoxSize=O([r.devicePixelContentBoxSize])}return e}(),v=function(e){if(K(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},D=function(){var e=1/0,t=[];p.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(m){var U=new o(m.target),J=v(m.target);u.push(U),m.lastReportedSize=d(m.target,m.observedBox),J<e&&(e=J)}),t.push(function(){s.callback.call(s.observer,u,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var i=n[r];i()}return e},R=function(e){p.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(i){i.isActive()&&(v(i.target)>e?r.activeTargets.push(i):r.skippedTargets.push(i))})})},y=function(){var e=0;for(R(e);V();)e=D(),R(e);return ae()&&ce(),e>0},k,x=[],P=function(){return x.splice(0).forEach(function(e){return e()})},A=function(e){if(!k){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return P()}).observe(r,n),k=function(){r.textContent="".concat(t?t--:t++)}}x.push(e),k()},T=function(e){A(function(){requestAnimationFrame(e)})},S=0,E=function(){return!!S},L=250,fe={attributes:!0,characterData:!0,childList:!0,subtree:!0},_=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ee=function(e){return e===void 0&&(e=0),Date.now()+e},M=!1,de=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=L),!M){M=!0;var n=ee(t);T(function(){var i=!1;try{i=y()}finally{if(M=!1,t=n-ee(),!E())return;i?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,fe)};document.body?r():B.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_.forEach(function(r){return B.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_.forEach(function(r){return B.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Z=new de,X=function(e){!S&&e>0&&Z.start(),S+=e,!S&&Z.stop()},he=function(e){return!N(e)&&!le(e)&&getComputedStyle(e).display==="inline"},te=function(){function e(t,r){this.target=t,this.observedBox=r||w.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=d(this.target,this.observedBox,!0);return he(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),C=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),W=new WeakMap,$=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},F=function(){function e(){}return e.connect=function(t,r){var n=new C(t,r);W.set(t,n)},e.observe=function(t,r,n){var i=W.get(t),c=i.observationTargets.length===0;$(i.observationTargets,r)<0&&(c&&p.push(i),i.observationTargets.push(new te(r,n&&n.box)),X(1),Z.schedule())},e.unobserve=function(t,r){var n=W.get(t),i=$(n.observationTargets,r),c=n.observationTargets.length===1;i>=0&&(c&&p.splice(p.indexOf(n),1),n.observationTargets.splice(i,1),X(-1))},e.disconnect=function(t){var r=this,n=W.get(t);n.observationTargets.slice().forEach(function(i){return r.unobserve(t,i.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),be=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");F.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Q(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");F.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Q(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");F.unobserve(this,t)},e.prototype.disconnect=function(){F.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),j=h(63313),re=h.n(j),ne=re()[typeof document!="undefined"&&document.createElement!==void 0?"useLayoutEffect":"useEffect"],G=e=>{const t=j.useRef(e);return j.useEffect(()=>{t.current=e}),t};const Te=typeof window!="undefined"&&"ResizeObserver"in window?window.ResizeObserver:be;function Se(){}function Be(e,t){const r=Pe(),n=G(t);return ne(()=>{let i=!1;const c=e&&"current"in e?e.current:e;if(!c)return Se;function s(u,f){i||n.current(u,f)}return r.subscribe(c,s),()=>{i=!0,r.unsubscribe(c,s)}},[e,r,n]),r.observer}function ke(){let e=!1,t=[];const r=new Map,n=new Te((i,c)=>{t=t.concat(i);function s(){const u=new Set;for(let f=0;f<t.length;f++){if(u.has(t[f].target))continue;u.add(t[f].target);const m=r.get(t[f].target);m==null||m.forEach(U=>U(t[f],c))}t=[],e=!1}e||window.requestAnimationFrame(s),e=!0});return{observer:n,subscribe(i,c){var s;n.observe(i);const u=(s=r.get(i))!==null&&s!==void 0?s:[];u.push(c),r.set(i,u)},unsubscribe(i,c){var s;const u=(s=r.get(i))!==null&&s!==void 0?s:[];if(u.length===1){n.unobserve(i),r.delete(i);return}const f=u.indexOf(c);f!==-1&&u.splice(f,1),r.set(i,u)}}}let ge;const Pe=()=>ge||(ge=ke());var Ne=Be},51704:function(Re,se,h){h.d(se,{Z:function(){return z}});var p=h(87807),V=h(60795),ae=h(17079),Y=h(5132),ce=h(84875),w=h.n(ce),O=h(92976),b=h(63313),H=h(82259),N=h(31124),K=h(1570),Q=function(l,a){var d={};for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&a.indexOf(o)<0&&(d[o]=l[o]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,o=Object.getOwnPropertySymbols(l);v<o.length;v++)a.indexOf(o[v])<0&&Object.prototype.propertyIsEnumerable.call(l,o[v])&&(d[o[v]]=l[o[v]]);return d},le=function(a){var d,o=a.prefixCls,v=a.className,D=a.checked,R=a.onChange,y=a.onClick,k=Q(a,["prefixCls","className","checked","onChange","onClick"]),x=b.useContext(H.E_),P=x.getPrefixCls,A=function(L){R==null||R(!D),y==null||y(L)},T=P("tag",o),S=w()(T,(d={},(0,p.Z)(d,"".concat(T,"-checkable"),!0),(0,p.Z)(d,"".concat(T,"-checkable-checked"),D),d),v);return b.createElement("span",(0,V.Z)({},k,{className:S,onClick:A}))},B=le,I=function(l,a){var d={};for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&a.indexOf(o)<0&&(d[o]=l[o]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,o=Object.getOwnPropertySymbols(l);v<o.length;v++)a.indexOf(o[v])<0&&Object.prototype.propertyIsEnumerable.call(l,o[v])&&(d[o[v]]=l[o[v]]);return d},q=new RegExp("^(".concat(N.Y.join("|"),")(-inverse)?$")),ve=new RegExp("^(".concat(N.E.join("|"),")$")),ue=function(a,d){var o,v=a.prefixCls,D=a.className,R=a.style,y=a.children,k=a.icon,x=a.color,P=a.onClose,A=a.closeIcon,T=a.closable,S=T===void 0?!1:T,E=I(a,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),L=b.useContext(H.E_),fe=L.getPrefixCls,_=L.direction,ee=b.useState(!0),M=(0,ae.Z)(ee,2),de=M[0],Z=M[1];b.useEffect(function(){"visible"in E&&Z(E.visible)},[E.visible]);var X=function(){return x?q.test(x)||ve.test(x):!1},he=(0,V.Z)({backgroundColor:x&&!X()?x:void 0},R),te=X(),C=fe("tag",v),W=w()(C,(o={},(0,p.Z)(o,"".concat(C,"-").concat(x),te),(0,p.Z)(o,"".concat(C,"-has-color"),x&&!te),(0,p.Z)(o,"".concat(C,"-hidden"),!de),(0,p.Z)(o,"".concat(C,"-rtl"),_==="rtl"),o),D),$=function(G){G.stopPropagation(),P==null||P(G),!G.defaultPrevented&&("visible"in E||Z(!1))},F=function(){return S?A?b.createElement("span",{className:"".concat(C,"-close-icon"),onClick:$},A):b.createElement(Y.Z,{className:"".concat(C,"-close-icon"),onClick:$}):null},be="onClick"in E||y&&y.type==="a",j=(0,O.Z)(E,["visible"]),re=k||null,ye=re?b.createElement(b.Fragment,null,re,b.createElement("span",null,y)):y,ne=b.createElement("span",(0,V.Z)({},j,{ref:d,className:W,style:he}),ye,F());return be?b.createElement(K.Z,null,ne):ne},g=b.forwardRef(ue);g.CheckableTag=B;var z=g}}]);
|