1(self.webpackChunksurvey_king=self.webpackChunksurvey_king||[]).push([[778],{95616:function(r0){r0.exports={settingItem:"settingItem___Xa8Ne"}},78380:function(r0){r0.exports={settingItem:"settingItem___1IChY",popover:"popover___1LQeP"}},76898:function(r0,jt,i){"use strict";i.d(jt,{Ff:function(){return ue},rF:function(){return Nt},M2:function(){return Je}});var St=i(22385),le=i(94199),t=i(11849),N=i(93224),He=i(77883),G=i(85986),b=i(34792),Le=i(48086),D=i(54707),se=i(49914),o=i(9761),Bt=i(94184),e=i.n(Bt),it=i(94657),Oe=i(78338),z=i(67294),F=i(85893);function _(ne){if(ne=Number(ne),ne<=0)return"0:0:0";var Ce=Math.floor(ne/3600),Fe=Math.floor(ne%3600/60),Be=Math.floor(ne%3600%60),Se="".concat(Ce).padStart(2,"0"),ke="".concat(Fe).padStart(2,"0"),Re="".concat(Be).padStart(2,"0");return"".concat(Se,":").concat(ke,":").concat(Re)}function ce(ne){return ne<=60?"#ff4d4f":ne<=180?"#faad14":"#52c41a"}var Ht=(0,o.Pi)(function(){var ne,Ce,Fe=(0,se.H)(),Be=(0,D.Rk)(),Se=Fe.startTime,ke=((ne=Fe.project)===null||ne===void 0||(Ce=ne.setting.examSetting)===null||Ce===void 0?void 0:Ce.maxSubmitMinutes)||0,Re=(0,z.useState)(0),$e=(0,it.Z)(Re,2),Ve=$e[0],Ye=$e[1],_e=Se+ke*60*1e3,st=(0,z.useRef)();return(0,z.useEffect)(function(){if(ke!==0)return st.current=window.setInterval(function(){Ye((_e-new Date().getTime())/1e3)},1e3),function(){clearInterval(st.current)}},[_e]),(0,z.useEffect)(function(){Ve<0&&(Be.submit(),clearInterval(st.current))},[Ve]),ke===0?(0,F.jsx)(F.Fragment,{}):(0,F.jsxs)("div",{style:{position:"absolute",right:0,fontSize:13},children:[(0,F.jsx)(Oe.Z,{style:{marginRight:5,color:"#1890ff"}}),"\u5269\u4F59:",(0,F.jsx)("span",{style:{marginLeft:3,color:ce(Ve)},children:_(Ve)})]})}),Dt=i(27400),Pe=i(3980),dt=["size","marked"],yt=(0,o.Pi)(function(){var ne=(0,D.Rk)(),Ce=ne.lazy,Fe=(0,Dt.a)().user;return!Ce||!Fe?(0,F.jsx)(F.Fragment,{}):(0,F.jsxs)("div",{style:{marginTop:10,textWrap:"wrap",lineHeight:"24px",fontSize:12,color:"#707070"},children:["\u8FDE\u7EED\u505A\u5BF9",(0,F.jsx)(G.Z,{size:"small",style:{width:60,marginInline:4},defaultValue:Fe.correctTimes,min:0,max:100,onChange:function(Se){Se!==null&&Pe.hi.updateUserInfo({correctTimes:Se}).then(function(ke){ke.success&&Le.default.success("\u66F4\u65B0\u6210\u529F")})}}),"\u2003\u6B21\uFF0C\u81EA\u52A8\u79FB\u51FA\u9519\u9898/0\u4EE3\u8868\u6C38\u4E0D\u79FB\u51FA"]})}),Je=(0,o.Pi)(function(ne){var Ce=(0,D.Rk)(),Fe=Ce.props.answerSheetVisible,Be=ne.size,Se=ne.marked,ke=Se===void 0?!0:Se,Re=(0,N.Z)(ne,dt);return Fe?(0,F.jsx)(le.Z,{title:"\u6807\u8BB0",children:(0,F.jsx)("svg",(0,t.Z)((0,t.Z)({viewBox:"0 0 1024 1024",version:"1.1",width:ne.size||24,height:ne.size||24,className:"marked"},Re),{},{children:(0,F.jsx)("path",{d:"M662.04973405 329.56834123l108.40905238-142.19888693c4.22372932-5.63163908 4.22372932-11.26327817 1.40790978-18.30282702-2.81581955-5.63163908-8.44745863-9.8553684-15.48700748-9.85536841H218.55815604c-9.8553684 0-16.89491725 7.03954885-16.89491725 16.89491726V867.38987389c0 9.8553684 7.03954885 16.89491725 16.89491725 16.89491726s16.89491725-7.03954885 16.89491726-16.89491726V487.25423562h522.33452519c7.03954885 0 12.67118794-4.22372932 15.48700749-9.8553684s1.40790977-12.67118794-2.81581955-18.30282703l-108.40905238-129.52769896z",fill:ke?"#EA4942":"#d8d8d8"})}))}):(0,F.jsx)(F.Fragment,{})}),Nt=(0,o.Pi)(function(ne){var Ce,Fe,Be,Se=ne.id,ke=ne.name,Re=(0,D.Rk)(),$e=Re.answerSheet,Ve=$e.find(function($t){return $t.id===Se}),Ye=(0,se.H)(),_e=Ye==null||(Ce=Ye.project)===null||Ce===void 0?void 0:Ce.isAuthenticated,st=(Fe=Ye.project)===null||Fe===void 0||(Be=Fe.setting.examSetting)===null||Be===void 0?void 0:Be.randomSurveyWrong,Lt=Re.exerciseMode;return(!Lt||!_e||Se.length<=10)&&!st?(0,F.jsx)(F.Fragment,{}):Ve!=null&&Ve.favorite?(0,F.jsx)(le.Z,{title:st?"\u79FB\u51FA\u9519\u9898":"\u79FB\u51FA\u6536\u85CF",children:(0,F.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"24",height:"24",style:{float:"right"},onClick:function(){Re.favoriteQuestion({templateId:Se,name:ke},!1)},children:(0,F.jsx)("path",{d:"M484.266667 272.021333l6.634666 6.72c5.973333 5.973333 13.013333 12.842667 21.098667 20.629334l9.194667-8.917334c7.253333-7.04 13.44-13.184 18.56-18.432a193.28 193.28 0 0 1 277.44 0c75.904 77.525333 76.
1629333 202.794667 2.133333 281.194667L512 853.333333 204.672 553.237333c-74.474667-78.421333-73.770667-203.690667 2.133333-281.216a193.28 193.28 0 0 1 277.44 0z","p-id":"2829",fill:"#d81e06"})})}):(0,F.jsx)(le.Z,{title:st?"\u6DFB\u52A0\u5230\u9519\u9898":"\u6536\u85CF",children:(0,F.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:24,height:24,style:{float:"right"},onClick:function(){Re.favoriteQuestion({templateId:Se,name:ke})},children:(0,F.jsx)("path",{d:"M484.267 272.021l6.634 6.72c5.974 5.974 13.014 12.843 21.099 20.63l9.195-8.918c7.253-7.04 13.44-13.184 18.56-18.432a193.28 193.28 0 0 1 277.44 0c75.904 77.526 76.629 202.795 2.133 281.195L512 853.333 204.672 553.237c-74.475-78.421-73.77-203.69 2.133-281.216a193.28 193.28 0 0 1 277.44 0z m293.162 232.15c46.272-53.76 44.182-136.15-5.973-187.371a129.28 129.28 0 0 0-185.984 0l-15.125 15.104a1687.253 1687.253 0 0 1-4.395 4.31L512 388.18l-49.28-47.445-13.227-12.928-10.965-11.008a129.28 129.28 0 0 0-186.005 0c-51.456 52.565-52.31 137.963-2.198 191.573L512 763.883l261.675-255.531 3.754-4.181z","p-id":"2674",fill:"#d8d8d8"})})})}),Tt=(0,o.Pi)(function(ne){var Ce=(0,D.Rk)(),Fe=ne.finished,Be=ne.id,Se=ne.marked,ke=ne.seqNo,Re=ne.isCorrect;return(0,F.jsxs)("div",{className:e()("answer-sheet-item",{marked:Se,finished:Fe,correct:Re===!0,wrong:Re===!1}),onClick:function(){return Ce.changePageIndex(Be)},children:[ke,Se&&(0,F.jsx)(Je,{style:{position:"absolute",left:20,bottom:18},size:18})]})}),nt=(0,o.Pi)(function(){var ne=(0,D.Rk)(),Ce=ne.answerSheet;return(0,F.jsx)(F.Fragment,{children:Ce.filter(function(Fe){return Fe.display!=="none"}).map(function(Fe,Be){return(0,z.createElement)(Tt,(0,t.Z)((0,t.Z)({},Fe),{},{seqNo:Be+1,key:Fe.id}))})})}),Q=(0,o.Pi)(function(){var ne=(0,D.Rk)(),Ce=ne.answerSheet,Fe=Ce.filter(function(ke){return ke.finished}).length,Be=Ce.filter(function(ke){return!ke.finished}).length,Se=Ce.filter(function(ke){return ke.marked}).length;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)("div",{className:"finished",children:["\u5DF2\u7B54",(0,F.jsx)("span",{style:{marginLeft:4},children:Fe})]}),(0,F.jsxs)("div",{className:"unFinished",children:["\u672A\u7B54",(0,F.jsx)("span",{style:{marginLeft:4},children:Be})]}),(0,F.jsxs)("div",{className:"marked",children:[(0,F.jsx)(Je,{size:18}),"\u6807\u8BB0",(0,F.jsx)("span",{style:{marginLeft:4},children:Se})]})]})}),ae=(0,o.Pi)(function(){return(0,F.jsxs)("div",{className:"answer-sheet-header",children:["\u7B54\u9898\u5361",(0,F.jsx)(Ht,{})]})}),ue=(0,o.Pi)(function(){var ne=(0,D.Rk)(),Ce=ne.props.answerSheetVisible;return Ce?(0,F.jsxs)("div",{className:"answer-sheet",children:[(0,F.jsx)(ae,{}),(0,F.jsx)("div",{className:"answer-sheet-content",children:(0,F.jsx)(nt,{})}),(0,F.jsx)("div",{className:"answer-sheet-footer",children:(0,F.jsx)(Q,{})}),(0,F.jsx)(yt,{})]}):(0,F.jsx)(F.Fragment,{})})},6727:function(r0,jt,i){"use strict";var St=i(47673),le=i(4107),t=i(11849),N=i(94657),He=i(93224),G=i(67294),b=i(3980),Le=i(40807),D=i(85893),se=["value","onChange","style"],o=function(e){var it=e.value,Oe=it===void 0?"":it,z=e.onChange,F=e.style,_=F===void 0?{}:F,ce=(0,He.Z)(e,se),Ht=(0,G.useState)(80),Dt=(0,N.Z)(Ht,2),Pe=Dt[0],dt=Dt[1],yt=(0,G.useRef)(null),Je=(0,b.dD)();return(0,G.useEffect)(function(){if(yt.current){for(var Nt=yt.current.offsetWidth,Tt=Nt+34,nt=yt.current.parentElement;nt&&!nt.getAttribute("data-id");)nt=nt.parentElement;if(nt){var Q=nt.offsetWidth;Je&&(Q-=40),Tt=Math.min(Tt,Q)}_.width&&(Tt=Math.max(Tt,parseFloat(_.width.toString()))),dt(Math.max(Tt,100))}},[Oe,_.width]),(0,D.jsxs)("div",{style:{display:"inline-block",verticalAlign:(0,Le.ob)()?"top":"unset",marginInline:5},children:[(0,D.jsx)("div",{ref:yt,style:{position:"absolute",visibility:"hidden",whiteSpace:"pre",fontSize:"14px",fontFamily:"Arial, sans-serif",padding:"4px 11px",border:"1px solid #d9d9d9",borderRadius:"4px",overflow:"hidden",height:12,lineHeight:"12px"},children:Oe||" "}),(0,D.jsx)(le.Z,(0,t.Z)((0,t.Z)({},ce),{},{value:Oe,onChange:z,style:(0,t.Z)((0,t.Z)({},_),{},{width:"".concat(Pe,"px"),margin:0,padding:0})}))]})};jt.Z=o},68209:function(r0,jt,i){"use strict";i.r(jt),i.d(jt,{default:function(){return li}});var St=i(9715),le=i(55843),t=i(94657),N=i(40807),He=i(78210),G=i(9761),b=i(67294),Le=i(54707),D=i(48187),se=i(76898),o=i(85893),Bt=function(){var s=(0,Le.AK)(),l=(0,b.useContext)(N.ZX),g=l.schema;return(0,o.jsxs)("div",{className:s+"-header",children:[(0,o.jsx)("div",{className:s+"-header-title",children:(0,o.jsx)(He.Z,{html:g.title})}),(0,o.jsx)("div",{className:s+"-header-description",children:(0,o.jsx)(He.Z,{html:g.description})})]})},e=function(s){var l=(0,Le.AK)();return(0,o.jsx)("div",{className:l+"-body",children:s.children})},it=i(57663),Oe=i(71577),z=(0,G.Pi)(function(){var j,s,l,g=(0,Le.AK)("-footer"),f=(0,b.useContext)(N.ZX),A=f.schema,V=f.loading,P=(0,Le.Rk)(),R=P.pagination,$=R.pageSize>1,U=R.current===1,Y=R.current===R.pageSize;return(0,o.jsxs)("div",{className:g,children:[Y&&(0,o.jsx)("div",{className:g+"-desc",style:{userSelect:"none",WebkitTouchCallout:"none"},children:(0,o.jsx)(He.Z,{html:A==null||(j=A.attribute)===null||j===void 0?void 0:j.suffix})}),(0,o.jsxs)("div",{className:g+"-pagination",children:[$&&!U&&(0,o.jsx)("div",{children:(0,o.jsx)(Oe.Z,{type:"primary",block:!0,onClick:function(){return P.handlePrev()},children:"\u4E0A\u4E00\u9875"})}),$&&!Y&&(0,o.jsx)("div",{children:(0,o.jsx)(Oe.Z,{type:"primary",block:!0,onClick:function(){return P.handleNext()},children:"\u4E0B\u4E00\u9875"})}),Y&&!$&&(0,o.jsx)("div",{style:{width:"100%",padding:"0 20px"},children:(0,o.jsx)(Oe.Z,{type:"primary",block:!0,onClick:function(){return P.submit()},loading:V,children:(0,o.jsx)(He.Z,{html:((s=A.attribute)===null||s===void 0?void 0:s.submitButton)||"\u63D0\u4EA4"})})}),Y&&$&&(0,o.jsx)("div",{children:(0,o.jsx)(Oe.Z,{type:"primary",onClick:function(){return P.submit()},loading:V,children:(0,o.jsx)(He.Z,{html:((l=A.attribute)===null||l===void 0?void 0:l.submitButton)||"\u63D0\u4EA4"})})}),$&&(0,o.jsxs)("div",{className:g+"-pagination-info",children:["\u7B2C",R.current,"\u9875/\u5171",R.pageSize,"\u9875"]})]})]})}),F=i(11849),_=i(47673),ce=i(4107),Ht=i(43358),Dt=i(34041),Pe=i(29985),dt=i(46842),yt=i(64302),Je=i(6727),Nt=function(s){var l=s.dictCode,g=s.value,f=s.onChange,A=s.style,V=s.bordered,P=s.className,R=s.parentValue,$=s.cascaderLevel,U=$===void 0?1:$,Y=(0,Le.Al)(),K=(0,b.useState)([]),J=(0,t.Z)(K,2),q=J[0],X=J[1],re=(0,Le.zE)(function(Ee){U&&U>1&&!R||Y.onDictSearch&&Y.onDictSearch({dictCode:l,searchValue:Ee,parentValue:R==null?void 0:R.split("|")[0],cascaderLevel:U}).then(function(xe){X(xe||[])})},2);return(0,b.useEffect)(function(){U&&U>1&&(R?re(void 0):X([]))},[R,U]),(0,b.useEffect)(function(){!g&&U<=1&&l&&re(void 0),g&&q.length===0&&re(g)},[g]),(0,o.jsx)(Dt.Z,{options:q,showSearch:!0,filterOption:function(xe,Ze){var be;return((be=Ze==null?void 0:Ze.label)!==null&&be!==void 0?be:"").includes(xe)},value:(g==null?void 0:g.split("|")[0])||"",onChange:function(xe){var Ze;if(xe===void 0){f(void 0);return}f("".concat(xe||"","|").concat(((Ze=q.find(function(be){return be.value===xe}))===null||Ze===void 0?void 0:Ze.label)||""))},style:A,bordered:V,className:P,allowClear:!0})}
1,Tt=function(s){var l,g=s.onChange,f=s.type,A=s.value,V=s.suffix,P=s.prefix,R=s.style,$=R===void 0?{width:"100%"}:R,U=s.bordered,Y=U===void 0?!0:U,K=s.className,J=s.dictCode,q=s.parentValue,X=s.cascaderLevel,re=s.icon,Ee=re===void 0?!0:re,xe=s.readOnly,Ze=s.schema,be=s.dateTimeFormat,De=s.onBlur,Xe=De===void 0?function(){}:De,mt=s.placeholder,bt=mt===void 0?Ze==null||(l=Ze.attribute)===null||l===void 0?void 0:l.placeholder:mt,Ue=s.autoSize;if(f==="horzBlank")return(0,o.jsx)(o.Fragment,{});if(f==="selectDict"&&J)return(0,o.jsx)(Nt,{value:A,onChange:g,dictCode:J,style:$,bordered:Y,className:K,parentValue:q,cascaderLevel:X});if(f==="select"&&Ze!==null&&Ze!==void 0&&Ze.dataSource)return(0,o.jsx)(Dt.Z,{options:Ze.dataSource,style:{width:"100%",opacity:"unset"},bordered:Y,onChange:g,className:K,value:A});if(f==="date"){var at;return(0,o.jsx)(It,{onChange:function(et){return g(et)},value:A,style:$,bordered:Y,placeholder:bt,readOnly:xe,className:K,dateTimeFormat:be||(Ze==null||(at=Ze.attribute)===null||at===void 0?void 0:at.dateTimeFormat)})}return f==="mobile"?(0,o.jsx)(ce.Z,{prefix:Ee?P||(0,o.jsx)(Pe.Z,{}):void 0,onChange:function(et){return g(et.target.value)},value:A,bordered:Y,placeholder:bt,className:K,readOnly:xe,onBlur:function(et){Xe(et.target.value)}}):f==="idCard"?(0,o.jsx)(ce.Z,{prefix:Ee?P||(0,o.jsx)(dt.Z,{}):void 0,onChange:function(et){return g(et.target.value)},value:A,style:$,bordered:Y,placeholder:bt,className:K,readOnly:xe,onBlur:function(et){Xe(et.target.value)}}):Ue?(0,o.jsx)(Je.Z,{onChange:function(et){return g(et.target.value)},onBlur:function(et){return Xe(et.target.value)},value:A,suffix:V,prefix:P,style:$,bordered:Y,placeholder:bt,className:K,readOnly:xe}):f==="number"?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(ce.Z,{onChange:function(et){et.target.value===""?g(""):g(et.target.value)},prefix:P,type:"number",value:A,style:(0,F.Z)((0,F.Z)({},$),{},{paddingLeft:20}),onBlur:function(et){var Xt=et.target.value;Xe(Xt===""?void 0:parseFloat(Xt))},suffix:V,inputMode:"decimal",bordered:Y,placeholder:bt,className:K,readOnly:xe})}):f==="email"?(0,o.jsx)(ce.Z,{prefix:Ee?P||(0,o.jsx)(yt.Z,{}):void 0,onChange:function(et){return g(et.target.value)},value:A,style:$,bordered:Y,placeholder:bt,className:K,readOnly:xe,onBlur:function(et){Xe(et.target.value)}}):(0,o.jsx)(ce.Z,{onChange:function(et){return g(et.target.value)},value:A,suffix:V,prefix:P,style:$,bordered:Y,placeholder:bt,className:K,readOnly:xe,onBlur:function(et){Xe(et.target.value)}})},nt=i(57254),Q=function(s){var l=s.options,g=s.onChange,f=s.value;return(0,o.jsxs)("div",{className:"native-select",children:[(0,o.jsxs)("select",{onChange:function(V){return g(V.target.value)},value:f,className:"native-select__select",children:[(0,o.jsx)("option",{children:"\u8BF7\u9009\u62E9"}),l==null?void 0:l.map(function(A){return(0,o.jsx)("option",{value:A.value,children:A.label},A.value)})]}),(0,o.jsx)("span",{className:"native-select__arrow",children:(0,o.jsx)(nt.Z,{})})]})};/*! 2 * mobileSelect.js 3 * (c) 2017-present onlyhom 4 * Released under the MIT License. 5 */function ae(j,s){return j.getElementsByClassName(s)}function ue(j){this.mobileSelect,this.wheelsData=j.wheels,this.jsonType=!1,this.cascadeJsonData=[],this.displayJson=[],this.curValue=null,this.curIndexArr=[],this.cascade=!1,this.startY,this.moveEndY,this.moveY,this.oldMoveY,this.offset=0,this.offsetSum=0,this.oversizeBorder,this.curDistance=[],this.clickStatus=!1,this.isPC=!0,this.init(j)}ue.prototype={constructor:ue,init:function(s){var l=this;if(l.keyMap=s.keyMap?s.keyMap:{id:"id",value:"value",childs:"childs"},l.checkDataType(),l.renderWheels(l.wheelsData,s.cancelBtnText,s.ensureBtnText,s.container),l.wheel=ae(l.mobileSelect,"wheel"),l.slider=ae(l.mobileSelect,"selectContainer"),l.wheels=l.mobileSelect.querySelector(".wheels"),l.liHeight=l.mobileSelect.querySelector("li").offsetHeight,l.ensureBtn=l.mobileSelect.querySelector(".ensure"),l.cancelBtn=l.mobileSelect.querySelector(".cancel"),l.grayLayer=l.mobileSelect.querySelector(".grayLayer"),l.popUp=l.mobileSelect.querySelector(".content"),l.callback=s.callback||function(){},l.transitionEnd=s.transitionEnd||function(){},l.onShow=s.onShow||function(){}
5,l.onHide=s.onHide||function(){},l.initPosition=s.position||[],l.titleText=s.title||"",l.connector=s.connector||" ",l.triggerDisplayData=typeof s.triggerDisplayData!="undefined"?s.triggerDisplayData:!0,l.setStyle(s),l.setTitle(l.titleText),l.checkIsPC(),l.checkCascade(),l.addListenerAll(),l.cascade&&l.initCascade(),l.initPosition.length<l.slider.length)for(var g=l.slider.length-l.initPosition.length,f=0;f<g;f++)l.initPosition.push(0);l.setCurDistance(l.initPosition),l.cancelBtn.addEventListener("click",function(A){l.hide()}),l.ensureBtn.addEventListener("click",function(A){l.hide(),l.liHeight||(l.liHeight=l.mobileSelect.querySelector("li").offsetHeight);for(var V="",P=0;P<l.wheel.length;P++)P==l.wheel.length-1?V+=l.getInnerHtml(P):V+=l.getInnerHtml(P)+l.connector;l.curIndexArr=l.getIndexArr(),l.curValue=l.getCurValue(),l.callback(l.curIndexArr,l.curValue)}),l.grayLayer.addEventListener("click",function(A){l.hide()}),l.popUp.addEventListener("click",function(A){A.stopPropagation()}),l.fixRowStyle()},setTitle:function(s){var l=this;l.titleText=s,l.mobileSelect.querySelector(".title").innerHTML=l.titleText},setStyle:function(s){var l=this;s.ensureBtnColor&&(l.ensureBtn.style.color=s.ensureBtnColor),s.cancelBtnColor&&(l.cancelBtn.style.color=s.cancelBtnColor),s.titleColor&&(l.title=l.mobileSelect.querySelector(".title"),l.title.style.color=s.titleColor),s.textColor&&(l.panel=l.mobileSelect.querySelector(".panel"),l.panel.style.color=s.textColor),s.titleBgColor&&(l.btnBar=l.mobileSelect.querySelector(".btnBar"),l.btnBar.style.backgroundColor=s.titleBgColor),s.bgColor&&(l.panel=l.mobileSelect.querySelector(".panel"),l.shadowMask=l.mobileSelect.querySelector(".shadowMask"),l.panel.style.backgroundColor=s.bgColor,l.shadowMask.style.background="linear-gradient(to bottom, "+s.bgColor+", rgba(255, 255, 255, 0), "+s.bgColor+")"),isNaN(s.maskOpacity)||(l.grayMask=l.mobileSelect.querySelector(".grayLayer"),l.grayMask.style.background="rgba(0, 0, 0, "+s.maskOpacity+")")},checkIsPC:function(){var s=this,l=navigator.userAgent.toLowerCase(),g=l.match(/ipad/i)=="ipad",f=l.match(/iphone os/i)=="iphone os",A=l.match(/midp/i)=="midp",V=l.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",P=l.match(/ucweb/i)=="ucweb",R=l.match(/android/i)=="android",$=l.match(/windows ce/i)=="windows ce",U=l.match(/windows mobile/i)=="windows mobile";(g||f||A||V||P||R||$||U)&&(s.isPC=!1)},show:function(){this.mobileSelect.classList.add("mobileSelect-show"),typeof this.onShow=="function"&&this.onShow(this)},hide:function(){this.mobileSelect.classList.remove("mobileSelect-show"),typeof this.onHide=="function"&&this.onHide(this)},renderWheels:function(s,l,g,f){var A=this,V=l||"\u53D6\u6D88",P=g||"\u786E\u8BA4";A.mobileSelect=document.createElement("div"),A.mobileSelect.className="mobileSelect",A.mobileSelect.innerHTML='<div class="grayLayer"></div><div class="content"><div class="btnBar"><div class="fixWidth"><div class="cancel">'+V+'</div><div class="title"></div><div class="ensure">'+P+'</div></div></div><div class="panel"><div class="fixWidth"><div class="wheels"></div><div class="selectLine"></div><div class="shadowMask"></div></div></div></div>',f?f.appendChild(A.mobileSelect):document.body.appendChild(A.mobileSelect);for(var R="",$=0;$<s.length;$++){if(R+='<div class="wheel"><ul class="selectContainer">',A.jsonType)for(var U=0;U<s[$].data.length;U++)R+='<li data-id="'+s[$].data[U][A.keyMap.id]+'">'+s[$].data[U][A.keyMap.value]+"</li>";else for(var U=0;U<s[$].data.length;U++)R+="<li>"+s[$].data[U]+"</li>";R+="</ul></div>"}A.mobileSelect.querySelector(".wheels").innerHTML=R},addListenerAll:function(){for(var s=this,l=0;l<s.slider.length;l++)(function(g){s.addListenerWheel(s.wheel[g],g)})(l)},addListenerWheel:function(s,l){var g=this;s.addEventListener("touchstart",function(f){g.touch(f,this.firstChild,l)},!1),s.addEventListener("touchend",function(f){g.touch(f,this.firstChild,l)},!1),s.addEventListener("touchmove",function(f){g.touch(f,this.firstChild,l)},!1),g.isPC&&(s.addEventListener("mousedown",function(f){g.dragClick(f,this.firstChild,l)},!1),s.addEventListener("mousemove",function(f){g.dragClick(f,this.firstChild,l)},!1),s.addEventListener("mouseup",function(f){g.dragClick(f,this.firstChild,l)},!0))},checkDataType:function(){var s=this;typeof s.wheelsData[0].data[0]=="object"&&(s.jsonType=!0)},checkCascade:function(){var s=this;if(s.jsonType){for(var l=s.wheelsData[0].data,g=0;g<l.length;g++)if(s.keyMap.childs in l[g]&&l[g][s.keyMap.childs].length>0){s.cascade=!0,s.cascadeJsonData=s.wheelsData[0].data;break}}else s.cascade=!1},generateArrData:function(s){for(var l=[],g=this.keyMap.id,f=this.keyMap.value,A=0;A<s.length;A++){var V={};V[g]=s[A][this.keyMap.id],V[f]=s[A][this.keyMap.value],l.push(V)}return l},initCascade:function(){var s=this;s.displayJson.push(s.generateArrData(s.cascadeJsonData)),s.initPosition.length>0?(s.initDeepCount=0,s.initCheckArrDeep(s.cascadeJsonData[s.initPosition[0]])
5):s.checkArrDeep(s.cascadeJsonData[0]),s.reRenderWheels()},initCheckArrDeep:function(s){var l=this;if(s&&l.keyMap.childs in s&&s[l.keyMap.childs].length>0){l.displayJson.push(l.generateArrData(s[l.keyMap.childs])),l.initDeepCount++;var g=s[l.keyMap.childs][l.initPosition[l.initDeepCount]];g?l.initCheckArrDeep(g):l.checkArrDeep(s[l.keyMap.childs][0])}},checkArrDeep:function(s){var l=this;s&&l.keyMap.childs in s&&s[l.keyMap.childs].length>0&&(l.displayJson.push(l.generateArrData(s[l.keyMap.childs])),l.checkArrDeep(s[l.keyMap.childs][0]))},checkRange:function(s,l){for(var g=this,f=g.displayJson.length-1-s,A=0;A<f;A++)g.displayJson.pop();for(var V,A=0;A<=s;A++)A==0?V=g.cascadeJsonData[l[0]]:V=V[g.keyMap.childs][l[A]];g.checkArrDeep(V),g.reRenderWheels(),g.fixRowStyle(),g.setCurDistance(g.resetPosition(s,l))},resetPosition:function(s,l){var g=this,f=l,A;if(g.slider.length>l.length){A=g.slider.length-l.length;for(var V=0;V<A;V++)f.push(0)}else if(g.slider.length<l.length){A=l.length-g.slider.length;for(var V=0;V<A;V++)f.pop()}for(var V=s+1;V<f.length;V++)f[V]=0;return f},reRenderWheels:function(){var s=this;if(s.wheel.length>s.displayJson.length)for(var l=s.wheel.length-s.displayJson.length,g=0;g<l;g++)s.wheels.removeChild(s.wheel[s.wheel.length-1]);for(var g=0;g<s.displayJson.length;g++)(function(A){var V="";if(s.wheel[A]){for(var P=0;P<s.displayJson[A].length;P++)V+='<li data-id="'+s.displayJson[A][P][s.keyMap.id]+'">'+s.displayJson[A][P][s.keyMap.value]+"</li>";s.slider[A].innerHTML=V}else{var R=document.createElement("div");R.className="wheel",V='<ul class="selectContainer">';for(var P=0;P<s.displayJson[A].length;P++)V+='<li data-id="'+s.displayJson[A][P][s.keyMap.id]+'">'+s.displayJson[A][P][s.keyMap.value]+"</li>";V+="</ul>",R.innerHTML=V,s.addListenerWheel(R,A),s.wheels.appendChild(R)}})(g)},updateWheels:function(s){var l=this;if(l.cascade){if(l.cascadeJsonData=s,l.displayJson=[],l.initCascade(),l.initPosition.length<l.slider.length)for(var g=l.slider.length-l.initPosition.length,f=0;f<g;f++)l.initPosition.push(0);l.setCurDistance(l.initPosition),l.fixRowStyle()}},updateWheel:function(s,l){var g=this,f="";if(g.cascade)return console.error("\u7EA7\u8054\u683C\u5F0F\u4E0D\u652F\u6301updateWheel(),\u8BF7\u4F7F\u7528updateWheels()\u66F4\u65B0\u6574\u4E2A\u6570\u636E\u6E90"),!1;if(g.jsonType){for(var A=0;A<l.length;A++)f+='<li data-id="'+l[A][g.keyMap.id]+'">'+l[A][g.keyMap.value]+"</li>";g.wheelsData[s]={data:l}}else{for(var A=0;A<l.length;A++)f+="<li>"+l[A]+"</li>";g.wheelsData[s]=l}g.slider[s].innerHTML=f},fixRowStyle:function(){for(var s=this,l=(100/s.wheel.length).toFixed(2)-2,g=0;g<s.wheel.length;g++);},getIndex:function(s){return Math.round((2*this.liHeight-s)/this.liHeight)},getIndexArr:function(){for(var s=this,l=[],g=0;g<s.curDistance.length;g++)l.push(s.getIndex(s.curDistance[g]));return l},getCurValue:function(){var s=this,l=[],g=s.getIndexArr();if(s.cascade)for(var f=0;f<s.wheel.length;f++)l.push(s.displayJson[f][g[f]]);else if(s.jsonType)for(var f=0;f<s.curDistance.length;f++)l.push(s.wheelsData[f].data[s.getIndex(s.curDistance[f])]);else for(var f=0;f<s.curDistance.length;f++)l.push(s.getInnerHtml(f));return l},getValue:function(){return this.curValue},calcDistance:function(s){return 2*this.liHeight-s*this.liHeight},setCurDistance:function(s){for(var l=this,g=[],f=0;f<l.slider.length;f++)g.push(l.calcDistance(s[f])),l.movePosition(l.slider[f],g[f]);l.curDistance=g},fixPosition:function(s){return-(this.getIndex(s)-2)*this.liHeight},movePosition:function(s,l){s.style.webkitTransform="translate3d(0,"+l+"px, 0)",s.style.transform="translate3d(0,"+l+"px, 0)"},locatePosition:function(s,l){var g=this;this.curDistance[s]=this.calcDistance(l),this.movePosition(this.slider[s],this.curDistance[s]),g.cascade&&g.checkRange(s,g.getIndexArr())},updateCurDistance:function(s,l){s.style.transform?this.curDistance[l]=parseInt(s.style.transform.split(",")[1]):this.curDistance[l]=parseInt(s.style.webkitTransform.split(",")[1])},getDistance:function(s){return s.style.transform?parseInt(s.style.transform.split(",")[1]):parseInt(s.style.webkitTransform.split(",")[1])},getInnerHtml:function(s){var l=this,g=l.slider[s].getElementsByTagName("li").length,f=l.getIndex(l.curDistance[s]);return f>=g?f=g-1:f<0&&(f=0),l.slider[s].getElementsByTagName("li")[f].innerHTML},touch:function(s,l,g){var f=this;switch(s=s||window.event,s.type){case"touchstart":f.startY=s.touches[0].clientY,f.startY=parseInt(f.startY),f.oldMoveY=f.startY;break;case"touchend":if(f.moveEndY=parseInt(s.changedTouches[0].clientY),f.offsetSum=f.moveEndY-f.startY,f.oversizeBorder=-(l.getElementsByTagName("li").length-3)*f.liHeight,f.offsetSum==0){var A=parseInt((document.documentElement.clientHeight-f.moveEndY)/40);if(A!=2){var V=A-2,P=f.curDistance[g]+V*f.liHeight;P<=2*f.liHeight&&P>=f.oversizeBorder&&(f.curDistance[g]=P,f.movePosition(l,f.curDistance[g]),f.transitionEnd(f.getIndexArr(),f.getCurValue(),g))}}else f.updateCurDistance(l,g),f.curDistance[g]=f.fixPosition(f.curDistance[g]),f.movePosition(l,f.curDistance[g]),f.curDistance[g]+f.offsetSum>2*f.liHeight?(f.curDistance[g]=2*f.liHeight,setTimeout(function(){f.movePosition(l,f.curDistance[g])},100)):f.curDistance[g]+f.offsetSum<f.oversizeBorder&&(f.curDistance[g]=f.oversizeBorder,setTimeout(function(){f.movePosition(l,f.curDistance[g])},100)),f.transitionEnd(f.getIndexArr(),f.getCurValue(),g);f.cascade&&f.checkRange(g,f.getIndexArr());break;case"touchmove":s.preventDefault(),f.moveY=s.touches[0].clientY,f.offset=f.moveY-f.oldMoveY,f.updateCurDistance(l,g),f.curDistance[g]=f.curDistance[g]+f.offset,f.movePosition(l,f.curDistance[g]),f.oldMoveY=f.moveY;break}},dragClick:function(s,l,g){var f=this;switch(s=s||window.event,s.type){case"mousedown":f.startY=s.clientY,f.oldMoveY=f.startY,f.clickStatus=!0;break;case"mouseup":if(f.moveEndY=s.clientY,f.offsetSum=f.moveEndY-f.startY,f.oversizeBorder=-(l.getElementsByTagName("li").length-3)*f.liHeight,f.offsetSum==0){var A=parseInt((document.documentElement.clientHeight-f.moveEndY)/40);if(A!=2){var V=A-2,P=f.curDistance[g]+V*f.liHeight;P<=2*f.liHeight&&P>=f.oversizeBorder&&(f.curDistance[g]=P,f.movePosition(l,f.curDistance[g]),f.transitionEnd(f.getIndexArr(),f.getCurValue(),g))}}else f.updateCurDistance(l,g),f.curDistance[g]=f.fixPosition(f.curDistance[g]),f.movePosition(l,f.curDistance[g]),f.curDistance[g]+f.offsetSum>2*f.liHeight?(f.curDistance[g]=2*f.liHeight,setTimeout(function(){f.movePosition(l,f.curDistance[g])},100)):f.curDistance[g]+f.offsetSum<f.oversizeBorder&&(f.curDistance[g]=f.oversizeBorder,setTimeout(function(){f.movePosition(l,f.curDistance[g])},100)),f.transitionEnd(f.getIndexArr(),f.getCurValue(),g);f.clickStatus=!1,f.cascade&&f.checkRange(g,f.getIndexArr());break;case"mousemove":s.preventDefault(),f.clickStatus&&(f.moveY=s.clientY,f.offset=f.moveY-f.oldMoveY,f.updateCurDistance(l,g),f.curDistance[g]=f.curDistance[g]+f.offset,f.movePosition(l,f.curDistance[g]),f.oldMoveY=f.moveY);break}}};var ne=i(83279),Ce=i(16165),Fe=function(){return _jsx("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:_jsx("path",{d:"M237.136842 668.294737c-5.389474-5.389474-10.778947-10.778947-10.778947-16.168421V355.705263v-21.557895-26.947368-32.336842c0-10.778947 0-21.557895 5.389473-26.947369l-5.389473-5.389473-80.842106 32.336842c-26.947368 5.389474-59.284211 16.168421-91.621052 26.947368l5.389474 21.557895 107.789473-16.168421v334.147368c0 10.778947-5.389474 16.168421-10.778947 21.557895-5.389474 5.389474-16.168421 10.778947-32.336842 10.778948-10.778947 0-32.336842 5.389474-53.894737 5.389473v16.168421H323.368421v-21.557894c-21.557895 0-37.726316 0-48.505263-5.389474-21.557895 10.778947-32.336842 5.389474-37.726316 0z m414.989474-43.11579c0-10.778947 5.389474-16.168421 5.389473-26.947368l-16.168421-5.389474c-5.389474 16.168421-10.778947 26.947368-16.168421 32.336842-5.389474 5.389474-10.778947 16.168421-16.168421 16.168421-5.389474 5.389474-10.778947 5.389474-16.168421 5.389474h-16.168421l-172.463158 5.389474 107.789474-102.4c16.168421-16.168421 32.336842-26.947368 48.505263-43.11579 16.168421-16.168421 26.947368-26.947368 37.726316-43.115789 10.778947-16.168421 21.557895-32.336842 26.947368-48.505263 5.389474-16.168421 10.778947-37.726316 10.778948-53.894737 0-21.557895-5.389474-37.726316-10.778948-53.894737-10.778947-16.168421-21.557895-26.947368-32.336842-37.726316-16.168421-10.778947-32.336842-16.168421-48.505263-21.557895-21.557895-5.389474-37.726316-10.778947-59.28421-10.778947-21.557895 0-48.505263 5.389474-70.063158 10.778947-16.168421 10.778947-37.726316 21.557895-59.284211 32.336843 0 16.168421 0 32.336842 5.389474 48.505263v53.894737h21.557895c0-16.168421 5.389474-26.947368 10.778947-37.726316l16.168421-32.336842c5.389474-10.778947 16.168421-16.168421 26.947368-21.557895 10.778947-5.389474 21.557895-5.389474 37.726316-5.389474 10.778947 0 26.947368 0 37.726316 5.389474 10.778947 5.389474 21.557895 10.778947 32.336842 21.557895 10.778947 10.778947 16.168421 16.168421 21.557895 32.336842 5.389474 10.778947 5.389474 26.947368 5.389474 37.726316 0 16.168421-5.389474 32.336842-10.778948 48.505263-5.389474 16.168421-16.168421 32.336842-26.947368 48.505263-5.389474 10.778947-21.557895 26.947368-32.336842 43.115789l-48.505264 48.505264-123.957894 123.957894 5.389473 5.389474h301.810527v-21.557895c0-10.778947 5.389474-16.168421 5.389473-26.947368 5.389474-10.778947 10.778947-21.557895 10.778948-26.947369z m307.2-80.842105c-5.389474-10.778947-16.168421-26.947368-21.557895-32.336842-10.778947-10.778947-21.557895-21.557895-37.726316-26.947368-10.778947-5.389474-26.947368-10.778947-43.115789-16.168421 16.168421-10.778947 32.336842-26.947368 43.115789-37.726316 10.778947-10.778947 21.557895-21.557895 26.947369-32.336842 5.389474-10.778947 10.778947-21.557895 10.778947-26.947369v-16.168421c0-16.168421-5.389474-32.336842-10.778947-48.505263-10.778947-10.778947-21.557895-26.947368-32.336842-32.336842-10.778947-10.778947-26.947368-16.168421-43.11579-21.557895-16.168421-5.389474-32.336842-5.389474-48.505263-5.389474-26.947368 0-48.505263 5.389474-70.063158 10.778948s-43.115789 16.168421-64.673684 32.336842v91.621053h21.557895c0-16.168421 5.389474-26.947368 10.778947-37.726316 5.389474-10.778947 10.778947-21.557895 21.557895-26.947369 10.778947-5.389474 16.168421-16.168421 26.947368-16.168421 10.778947-5.389474 21.557895-5.389474 37.726316-5.389473 10.778947 0 21.557895 0 32.336842 5.389473 10.778947 5.389474 21.557895 10.778947 26.947368 16.168421 5.389474 5.389474 16.168421 16.168421 21.557895 26.947369 5.389474 10.778947 5.389474 21.557895 5.389474 32.336842 0 21.557895-5.389474 37.726316-16.168421 53.894737-10.778947 16.168421-21.557895 26.947368-37.726316 37.726316-16.168421 10.778947-32.336842 16.168421-48.505263 21.557894-16.168421 5.389474-37.726316 10.778947-53.894737 16.168421l5.389474 26.947369c5.389474-5.389474 16.168421-5.389474 26.947368-5.389474h26.947369c16.168421 0 32.336842 0 48.505263 5.389474 16.168421 5.389474 26.947368 10.778947 37.726315 21.557894 10.778947 10.778947 16.168421 21.557895 26.947369 32.336843 5.389474 16.168421 10.778947 32.336842 10.778947 48.505263 0 16.168421 0 32.336842-5.389473 48.505263-5.389474 16.168421-10.778947 26.947368-21.557895 37.726316-10.778947 10.778947-21.557895 21.557895-37.726316 26.947368-16.168421 5.389474-32.336842 10.778947-48.505263 10.778947-21.557895 0-37.726316-5.389474-59.284211-10.778947-21.557895-10.778947-37.726316-21.557895-48.505263-32.336842-10.778947 0-16.168421 5.389474-26.947368 16.168421-5.389474-16.168421-5.389474-5.389474-5.389474 5.389474s5.389474 16.168421 10.778947 21.557894c5.389474 5.389474 10.778947 10.778947 21.557895 16.168422 10.778947 5.389474 16.168421 5.389474 26.947369 5.389473h32.336842c26.947368 0 53.894737-5.389474 86.231579-10.778947 26.947368-10.778947 53.894737-21.557895 75.452631-37.726316 21.557895-16.168421 43.115789-37.726316 53.894737-64.673684 16.168421-26.947368 21.557895-53.894737 21.557895-86.231579-5.389474-10.778947-10.778947-26.947368-16.168421-37.726316z",fill:"#bfbfbf"})})},Be=function(s){return _jsx(Icon,_objectSpread({component:Fe},s))},Se=function(){return(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:(0,o.jsx)("path",{d:"M682.666667 213.333333a21.333333 21.333333 0 0 1 20.992 17.493334l0.341333 3.84v42.666666H810.666667a42.666667 42.666667 0 0 1 42.666666 42.666667v469.333333a42.666667 42.666667 0 0 1-42.666666 42.666667H256a42.666667 42.666667 0 0 1-42.666667-42.666667v-469.333333a42.666667 42.666667 0 0 1 42.666667-42.666667h106.666667v-42.666666a21.333333 21.333333 0 0 1 42.325333-3.84l0.341333 3.84v42.666666h256v-42.666666A21.333333 21.333333 0 0 1 682.666667 213.333333z m128 234.666667H256v341.333333h554.666667v-341.333333z m-448-128H256v85.333333h554.666667v-85.333333h-106.666667V341.333333a21.333333 21.333333 0 0 1-42.325333 3.84L661.333333 341.333333v-21.333333h-256V341.333333a21.333333 21.333333 0 0 1-42.325333 3.84L362.666667 341.333333v-21.333333z",fill:"#bfbfbf","p-id":"4605"})})},ke=function(s){return(0,o.jsx)(Ce.Z,(0,F.Z)({component:Se},s))},Re=function(){return _jsx("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:_jsx("path",{d:"M510.61572266 166.37561035A368.95935059 368.95935059 0 0 0 141.70581055 535.33496094a368.95935059 368.95935059 0 0 0 368.95935059 368.95935059 368.95935059 368.95935059 0 0 0 368.95935058-368.95935059A368.95935059 368.95935059 0 0 0 510.61572266 166.42504883z m0 688.77685547a319.86694336 319.86694336 0 0 1 0-639.63500977 319.86694336 319.86694336 0 0 1 0 639.63500977z m159.93347168-295.24658204h-159.93347168V400.02185058a12.35961914 12.35961914 0 0 0-12.26074219-12.31018066h-24.62036133a12.35961914 12.35961914 0 0 0-12.26074219 12.31018067v196.76513671a12.35961914 12.35961914 0 0 0 12.26074219 12.31018067h196.76
5513672a12.35961914 12.35961914 0 0 0 12.35961914-12.31018066v-24.57092286a12.26074219 12.26074219 0 0 0-12.35961914-12.31018066z","p-id":"9722",fill:"#bfbfbf"})})},$e=function(s){return _jsx(Icon,_objectSpread({component:Re},s))},Ve=function(){return _jsx("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:_jsx("path",{d:"M566.272 217.088c-11.264-7.168-24.576-11.264-41.984-11.264-4.096 0-8.192 0-12.288 1.024-45.056 7.168-74.752 48.128-93.184 87.04-8.192 18.432-15.36 37.888-22.528 56.32-3.072 9.216-7.168 17.408-10.24 26.624 0 1.024-5.12 18.432-6.144 18.432h-46.08c-6.144 0-11.264 5.12-11.264 11.264 0 6.144 5.12 11.264 11.264 11.264h39.936l-22.528 96.256c-22.528 107.52-53.248 230.4-60.416 251.904-7.168 22.528-17.408 33.792-31.744 33.792-3.072 0-5.12-1.024-7.168-2.048-2.048-1.024-3.072-3.072-3.072-5.12s1.024-5.12 4.096-9.216c3.072-4.096 4.096-9.216 4.096-13.312 0-8.192-3.072-15.36-8.192-20.48-6.144-5.12-12.288-7.168-19.456-7.168s-14.336 3.072-20.48 8.192c-1.024 7.168-4.096 14.336-4.096 23.552 0 12.288 5.12 22.528 15.36 31.744 10.24 9.216 23.552 13.312 40.96 13.312 27.648 0 52.224-12.288 70.656-33.792 11.264-13.312 19.456-28.672 26.624-45.056 22.528-50.176 34.816-105.472 48.128-158.72 13.312-54.272 25.6-108.544 36.864-162.816h44.032c6.144 0 11.264-5.12 11.264-11.264 0-6.144-5.12-11.264-11.264-11.264h-40.96c22.528-84.992 48.128-143.36 53.248-151.552 8.192-14.336 17.408-21.504 27.648-21.504 4.096 0 6.144 1.024 7.168 3.072 1.024 2.048 2.048 4.096 2.048 5.12 0 1.024-1.024 4.096-4.096 9.216-3.072 5.12-4.096 10.24-4.096 15.36 0 7.168 3.072 13.312 8.192 18.432s12.288 8.192 19.456 8.192 14.336-3.072 19.456-8.192 8.192-12.288 8.192-21.504c-1.024-17.408-6.144-28.672-17.408-35.84z m204.8 258.048c16.384 0 48.128-13.312 48.128-56.32s-30.72-45.056-40.96-45.056c-18.432 0-37.888 13.312-54.272 41.984-16.384 28.672-34.816 61.44-34.816 61.44h-1.024c-4.096-20.48-7.168-36.864-9.216-45.056-3.072-17.408-23.552-56.32-66.56-56.32s-81.92 24.576-81.92 24.576c-7.168 4.096-12.288 12.288-12.288 21.504 0 14.336 11.264 25.6 25.6 25.6 4.096 0 8.192-1.024 11.264-3.072 0 0 32.768-18.432 38.912 0 2.048 5.12 4.096 11.264 6.144 17.408 8.192 27.648 15.36 60.416 22.528 90.112L596.992 593.92s-31.744-11.264-48.128-11.264-48.128 13.312-48.128 56.32 30.72 45.056 40.96 45.056c18.432 0 37.888-13.312 54.272-41.984 16.384-28.672 34.816-61.44 34.816-61.44 5.12 26.624 10.24 48.128 13.312 56.32 10.24 30.72 34.816 48.128 67.584 48.128 0 0 33.792 0 72.704-22.528 9.216-4.096 16.384-13.312 16.384-23.552 0-14.336-11.264-25.6-25.6-25.6-4.096 0-8.192 1.024-11.264 3.072 0 0-27.648 15.36-37.888 3.072-7.168-13.312-12.288-30.72-17.408-52.224-4.096-19.456-9.216-41.984-13.312-63.488l28.672-40.96c-1.024 1.024 30.72 12.288 47.104 12.288z","p-id":"1938",f
5ill:"#bfbfbf"})})},Ye=function(s){return _jsx(Icon,_objectSpread({component:Ve},s))},_e=i(27484),st=i.n(_e),Lt=i(1615),$t=i(10285),g0=i.n($t);st().extend(g0());function _t(j,s){for(var l=[],g=j;g<=s;g++)l.push("".concat(g).padStart(2,"0"));return l}function M0(j,s){var l=31;return[1,3,5,7,8,10,12].indexOf(s)!==-1?l=31:(l=30,s===2&&j%4==0?l=29:s===2&&j%4!=0&&(l=28)),l}var It=function(s){var l=s.onChange,g=s.value,f=g===void 0?"":g,A=s.suffix,V=s.readOnly,P=s.dateTimeFormat,R=P===void 0?"YYYY-MM-DD":P,$=s.style,U=s.bordered,Y=s.className,K=(0,b.useRef)(0),J=(0,b.useState)([]),q=(0,t.Z)(J,2),X=q[0],re=q[1],Ee=(0,b.useState)(f.split(/-|\s|:/)),xe=(0,t.Z)(Ee,2),Ze=xe[0],be=xe[1];(0,b.useEffect)(function(){var Ue=st()(st()(f||void 0).format(R),R),at=_t(1900,2100),xt=_t(1,12),et=_t(1,M0(Ue.year(),Ue.month())),Xt=_t(0,23),l0=_t(0,59),s0=_t(0,59),i0=[],Ft=0;R.includes("YYYY")&&(X.push(at),i0.push(Ue.year()+""),Ft++),R.includes("MM")&&(X.push(xt),i0.push(String(Ue.month()+1).padStart(2,"0")),Ft++),R.includes("DD")&&(X.push(et),i0.push(String(Ue.date()).padStart(2,"0")),Ft++),K.current=Ft,R.includes("HH")&&(X.push(Xt),i0.push(String(Ue.hour()).padStart(2,"0")),Ft++),R.includes("mm")&&(X.push(l0),i0.push(String(Ue.minute()).padStart(2,"0")),Ft++),R.includes("ss")&&(X.push(s0),i0.push(String(Ue.second()).padStart(2,"0")),Ft++),re((0,ne.Z)(X)),be(i0)},[]);var De=(0,b.useState)(!1),Xe=(0,t.Z)(De,2),mt=Xe[0],bt=Xe[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ce.Z,{prefix:(0,o.jsx)(ke,{}),readOnly:!0,value:f,style:$,suffix:A,bordered:U,className:Y,onClick:function(){V||bt(!0)}}),(0,o.jsx)(Lt.cW,{columns:X.map(function(Ue){return Ue.map(function(at){return{label:at,value:at}})}),value:Ze,title:"\u65E5\u671F\u9009\u62E9",visible:mt,onClose:function(){bt(!1)},mouseWheel:!0,onSelect:function(at){R.includes("MM")&&R.includes("DD")&&(X.splice(2,1,_t(1,M0(parseInt(at[0]),parseInt(at[1])))),re((0,ne.Z)(X)))},onConfirm:function(at){var xt=st()(at.join("-"),R.replaceAll(/\s|:/g,"-"));l(xt.format(R))}})]})};function Pt(){var j=new Date;return["".concat(j.getHours()).padStart(2,"0"),"".concat(j.getMinutes()).padStart(2,"0"),"".concat(j.getSeconds()).padStart(2,"0")]}var de=function(s){var l=s.onChange,g=s.value,f=g===void 0?"":g,A=s.readOnly,V=useRef(),P=useRef();return useEffect(function(){var R=Pt(),$=_slicedToArray(R,3),U=$[0],Y=$[1],K=$[2],J=f.split(":"),q=_slicedToArray(J,3),X=q[0],re=q[1],Ee=q[2],xe=generateSerialNums(0,23),Ze=generateSerialNums(0,59),be=generateSerialNums(0,59);V.current=new MobileSelect({title:"\u65F6\u95F4\u9009\u62E9",position:[xe.indexOf(X||U),Ze.indexOf(re||Y),be.indexOf(Ee||K)],wheels:[{data:xe},{data:Ze},{data:be}],onShow:function(){document.getElementsByTagName("body")[0].style.overflow="hidden"},onHide:function(){document.getElementsByTagName("body")[0].style.overflow=null},callback:function(Xe,mt){l(mt.join(":"))}})},[]),_jsx("div",{ref:P,children:_jsx(_Input,{prefix:_jsx(TimeIcon,{}),readOnly:!0,value:f,onClick:function(){A||V.current.show()}})})},oe=i(17672),me=i(94184),pe=i.n(me),Me=i(73935),vt=function(s){var l=s.visible,g=s.title,f=s.children,A=s.okContent,V=s.cancelContent,P=s.height,R=s.onCancel;return Me.createPortal((0,o.jsxs)("div",{className:pe()("mobileDrawer",{"mobileDrawer-show":l}),children:[(0,o.jsx)("div",{className:"grayLayer",onClick:R}),(0,o.jsxs)("div",{className:"content",children:[(0,o.jsx)("div",{className:"btnBar",children:(0,o.jsxs)("div",{className:"fixWidth",children:[(0,o.jsx)("div",{className:"cancel",children:V}),g&&(0,o.jsx)("div",{className:"title",children:g}),(0,o.jsx)("div",{className:"ensure",style:{width:80,display:"flex",justifyContent:"space-between"},children:A})]})}),(0,o.jsx)("div",{className:"panel",children:(0,o.jsx)("div",{className:"fixWidth",children:(0,o.jsx)("div",{className:"wheels",style:{height:P},children:f})})})]})]}),document.body)},Rt=function(s){var l=s.onChange,g=(0,b.useRef)(null),f=(0,b.useRef)(),A=(0,b.useRef)(),V=(0,b.useState)(!1),P=(0,t.Z)(V,2),R=P[0],$=P[1];return(0,b.useEffect)(function(){var U=g.current;if(U){var Y,K=new oe.Z(g.current,{});f.current=K;var J=Math.max(window.devicePixelRatio||1,1);U.width=U.offsetWidth*J,U.height=U.offsetHeight*J,(Y=U.getContext("2d"))===null||Y===void 0||Y.scale(J,J)}},[]),(0,o.jsxs)("div",{style:{position:"relative"},children:[(0,o.jsx)("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"#aaa",visibility:A.current?"hidden":"visible"},onClick:function(){return $(!0)},children:"\u70B9\u51FB\u7B7E\u540D"}),(0,o.jsx)("img",{src:A.current||void 0,style:{display:"block",width:"100%",height:100,border:A.current?"1px solid #E3E3E3":0},onClick:function(){return $(!0)}}),(0,o.jsx)(vt,{visible:R,title:"\u7535\u5B50\u7B7E\u540D",okContent:(0,o.jsx)("div",{style:{userSelect:"none"},onClick:function(){var Y,K;if((Y=f.current)!==null&&Y!==void 0&&Y.isEmpty()){Lt.FN.show({content:"\u7B7E\u540D\u4E0D\u80FD\u4E3A\u7A7A",position:"top",maskStyle:{zIndex:1e4}});return}A.current=(K=f.current)===null||K===void 0?void 0:K.toDataURL(),$(!1),l(f.current.toDataURL())},children:"\u786E\u8BA4\u7B7E\u540D"}),cancelContent:(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:80},children:[(0,o.jsx)("div",{onClick:function(){return $(!1)},children:"\u53D6\u6D88"}),(0,o.jsx)("div",{style:{color:"#1e83d3"},onClick:function(){var Y;return(Y=f.current)===null||Y===void 0?void 0:Y.clear()},children:"\u91CD\u7F6E"})]}),children:(0,o.jsx)("canvas",{ref:g,style:{width:"100%",height:400,touchAction:"none",userSelect:"none"}})})]})};function Yt(j){return j?j.substring(0,j.lastIndexOf("[")):"\u70B9\u51FB\u9009\u62E9"}var Qt=function(s){var l=s.onChange,g=s.value,f=s.mapMove,A=f===void 0?!1:f,V=s.optionId,P=(0,b.useRef)(null),R=(0,b.useRef)(),$=(0,b.useRef)(),U=(0,b.useRef)(),Y=(0,b.useRef)(),K=(0,b.useState)(function(){if(!!g){var Ue=g.match(/\[(\d+\.\d+),\s*(\d+\.\d+)\]/);if(Ue&&Ue.length>2)return[parseFloat(Ue[1]),parseFloat(Ue[2])]}}),J=(0,t.Z)(K,2),q=J[0],X=J[1],re=(0,b.useState)(function(){return Yt(g)}),Ee=(0,t.Z)(re,2),xe=Ee[0],Ze=Ee[1],be=(0,b.useState)(!1),De=(0,t.Z)(be,2),Xe=De[0],mt=De[1],bt=(0,b.useCallback)(function(Ue){$.current.getLocation(Ue,function(at,xt){if(at==="complete"&&xt.geocodes.length){var et=xt.geocodes[0].location;U.current.start(et)}else console.error("\u6839\u636E\u5730\u5740\u67E5\u8BE2\u4F4D\u7F6E\u5931\u8D25")})},[]);return(0,b.useEffect)(function(){window["localMap".concat(V)]=function(){initAMapUI(),AMapUI.loadUI(["misc/PositionPicker"],function(Xt){var l0=new AMap.Map("map-".concat(V),{zoom:16,center:q,dragEnable:A,zoomEnable:A});if(R.current=l0,A){var s0=new Xt({mode:"dragMarker",map:l0});s0.on("success",function(a0){Ze(a0.address),X([a0.position.lng,a0.position.lat])}),q?s0.start(q):s0.start(),l0.panBy(0,1),U.current=s0}var i0=new AMap.Geocoder({city:"010"});$.current=i0;var Ft=new AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4,offset:[10,20],zoomToAccuracy:!0,position:"RB"});Y.current=Ft,Ft.getCurrentPosition(function(a0,pt){a0=="complete"?A?positionPicker.start(pt.position):(l0.setCenter(pt.position),Ze(pt.formattedAddress),X([pt.position.lng,pt.position.lat])):console.error(pt)})})},window._AMapSecurityConfig={securityJsCode:"c92dc7c089f25dcd7944094d3ee1a959"};var Ue="https://webapi.amap.com/maps?v=1.4.15&key=fce3217057b3ace0b2128cb5d1696c87&callback=localMap".concat(V,"&plugin=AMap.Geocoder,AMap.Geolocation"),at=document.createElement("script");at.src=Ue,document.head.appendChild(at);var xt="https://webapi.amap.com/ui/1.1/main-async.js",et=document.createElement("script");et.src=xt,document.head.appendChild(et)},[]),(0,o.jsxs)("div",{style:{position:"relative"},children:[(0,o.jsx)(ce.Z.TextArea,{readOnly:!0,value:Yt(g),onClick:function(){return mt(!0)}}),(0,o.jsxs)(vt,{visible:Xe,height:450,onCancel:function(){mt(!1)},okContent:(0,o.jsx)("div",{style:{userSelect:"none"},onClick:function(){q&&l("".concat(xe,"[").concat(q[0],", ").concat(q[1],"]")),mt(!1)},children:"\u786E\u8BA4\u9009\u62E9"}
5),cancelContent:(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:200},children:[!A&&(0,o.jsx)(Oe.Z,{type:"link",children:"\u83B7\u53D6\u4F4D\u7F6E"}),A&&(0,o.jsx)(ce.Z.Search,{placeholder:"\u8BF7\u8F93\u5165\u8981\u641C\u7D22\u7684\u5730\u70B9\u3001\u8857\u9053",size:"small",onSearch:function(at){return bt(at)}})]}),children:[(0,o.jsx)("div",{ref:P,id:"map-".concat(V),style:{height:390}}),(0,o.jsx)("div",{style:{height:50,borderTop:"1px solid #b0b0b0",background:"#fff",padding:"12px 18px"},children:xe})]})]})},wt=function(s){var l,g=s.optionId,f=s.questionId,A=s.checked,V=s.checkedCount,P=s.quota,R=s.statEnabled,$=(0,Le.Al)(),U=$.statistics,Y=U==null?void 0:U.questionStatistics[f],K=((Y==null?void 0:Y.optionStatistics.reduce(function(re,Ee){return re+Ee.count},0))||0)+V,J=(Y==null||(l=Y.optionStatistics.find(function(re){return re.optionId===g}))===null||l===void 0?void 0:l.count)||0,q=A?J+1:J,X="".concat(Math.floor(q/K*1e3)/10,"%");return!R&&P===void 0?(0,o.jsx)(o.Fragment,{}):(0,o.jsxs)("span",{className:"vote-info",children:[P&&(0,o.jsxs)("span",{className:"vote-info-quota",style:{color:P-J>0?"#1890ff":"#949aae"},children:["(\u4F59",P-J,")"]}),R&&V>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{className:"vote-info-cnt",children:[q,"\u7968"]}),(0,o.jsx)("span",{className:"vote-info-percent ",children:X}),(0,o.jsx)("div",{className:"vote-info-bar",children:(0,o.jsx)("div",{className:"vote-info-bar-fill",style:{width:X}})})]})]})},Y0=i(22385),t0=i(94199),Mt=i(93224),K0=i(49914),m0=i(78338);function ft(j){if(j=Number(j),j<=0)return"0:0:0";var s=Math.floor(j/3600),l=Math.floor(j%3600/60),g=Math.floor(j%3600%60),f="".concat(s).padStart(2,"0"),A="".concat(l).padStart(2,"0"),V="".concat(g).padStart(2,"0");return"".concat(f,":").concat(A,":").concat(V)}function Kt(j){return j<=60?"#ff4d4f":j<=180?"#faad14":"#52c41a"}var Gt=(0,G.Pi)(function(){var j,s,l=(0,K0.H)(),g=(0,Le.Rk)(),f=l.startTime,A=((j=l.project)===null||j===void 0||(s=j.setting.examSetting)===null||s===void 0?void 0:s.maxSubmitMinutes)||0,V=(0,b.useState)(0),P=(0,t.Z)(V,2),R=P[0],$=P[1],U=f+A*60*1e3,Y=(0,b.useRef)();return(0,b.useEffect)(function(){if(A!==0)return Y.current=window.setInterval(function(){$((U-new Date().getTime())/1e3)},1e3),function(){clearInterval(Y.current)}},[U]),(0,b.useEffect)(function(){R<0&&(g.submit(),clearInterval(Y.current))},[R]),A===0?(0,o.jsx)(o.Fragment,{}):(0,o.jsxs)("div",{style:{position:"absolute",right:10,fontSize:13},children:[(0,o.jsx)(m0.Z,{style:{marginRight:5,color:"#1890ff"}}),"\u5269\u4F59:",(0,o.jsx)("span",{style:{marginLeft:3,color:Kt(R)},children:ft(R)})]})}),gt=["size","marked"],Vt=(0,G.Pi)(function(j){var s=j.size,l=j.marked,g=l===void 0?!0:l,f=(0,Mt.Z)(j,gt),A=(0,Le.Rk)(),V=A.props.answerSheetVisible;return V?(0,o.jsx)("svg",(0,F.Z)((0,F.Z)({viewBox:"0 0 1024 1024",version:"1.1",width:j.size||24,height:j.size||24,className:"marked"},f),{},{children:(0,o.jsx)("path",{d:"M662.04973405 329.56834123l108.40905238-142.19888693c4.22372932-5.63163908 4.22372932-11.26327817 1.40790978-18.30282702-2.81581955-5.63163908-8.44745863-9.8553684-15.48700748-9.85536841H218.55815604c-9.8553684 0-16.89491725 7.03954885-16.89491725 16.89491726V867.38987389c0 9.8553684 7.03954885 16.89491725 16.89491725 16.89491726s16.89491725-7.03954885 16.89491726-16.89491726V487.25423562h522.33452519c7.03954885 0 12.67118794-4.22372932 15.48700749-9.8553684s1.40790977-12.67118794-2.81581955-18.30282703l-108.40905238-129.52769896z",fill:g?"#EA4942":"#d8d8d8","p-id":"1287"})})):(0,o.jsx)(o.Fragment,{})}),L0=(0,G.Pi)(function(j){var s,l,g,f=j.id,A=j.name,V=(0,Le.Rk)(),P=V.answerSheet,R=P.find(function(J){return J.id===f}),$=(0,K0.H)(),U=$==null||(s=$.project)===null||s===void 0?void 0:s.isAuthenticated,Y=(l=$.project)===null||l===void 0||(g=l.setting.examSetting)===null||g===void 0?void 0:g.randomSurveyWrong,K=V.exerciseMode;return(!K||!U||f.length<=10)&&!Y?(0,o.jsx)(o.Fragment,{}):R!=null&&R.favorite?(0,o.jsx)(t0.Z,{title:Y?"\u79FB\u51FA\u9519\u9898":"\u79FB\u51FA\u6536\u85CF",children:(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"24",height:"24",style:{float:"right"},onClick:function(){V.favoriteQuestion({templateId:f,name:A},!1)},children:(0,o.jsx)("path",{d:"M484.266667 272.021333l6.634666 6.72c5.973333 5.973333 13.013333 12.842667 21.098667 20.629334l9.194667-8.917334c7.253333-7.04 13.44-13.184 18.56-18.432a193.28 193.28 0 0 1 277.44 0c75.904 77.525333 76.
5629333 202.794667 2.133333 281.194667L512 853.333333 204.672 553.237333c-74.474667-78.421333-73.770667-203.690667 2.133333-281.216a193.28 193.28 0 0 1 277.44 0z","p-id":"2829",fill:"#d81e06"})})}):(0,o.jsx)(t0.Z,{title:Y?"\u6DFB\u52A0\u5230\u9519\u9898":"\u6536\u85CF",children:(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:24,height:24,style:{float:"right"},onClick:function(){V.favoriteQuestion({templateId:f,name:A})},children:(0,o.jsx)("path",{d:"M484.267 272.021l6.634 6.72c5.974 5.974 13.014 12.843 21.099 20.63l9.195-8.918c7.253-7.04 13.44-13.184 18.56-18.432a193.28 193.28 0 0 1 277.44 0c75.904 77.526 76.629 202.795 2.133 281.195L512 853.333 204.672 553.237c-74.475-78.421-73.77-203.69 2.133-281.216a193.28 193.28 0 0 1 277.44 0z m293.162 232.15c46.272-53.76 44.182-136.15-5.973-187.371a129.28 129.28 0 0 0-185.984 0l-15.125 15.104a1687.253 1687.253 0 0 1-4.395 4.31L512 388.18l-49.28-47.445-13.227-12.928-10.965-11.008a129.28 129.28 0 0 0-186.005 0c-51.456 52.565-52.31 137.963-2.198 191.573L512 763.883l261.675-255.531 3.754-4.181z","p-id":"2674",fill:"#d8d8d8"})})})}),Zt=(0,G.Pi)(function(j){var s=(0,Le.Rk)(),l=j.finished,g=j.marked,f=j.seqNo,A=j.id;return(0,o.jsxs)("div",{className:pe()("answer-sheet-item",{marked:g,finished:l}),onClick:function(){return s.changePageIndex(A)},children:[f,g&&(0,o.jsx)(Vt,{style:{position:"absolute",left:32,bottom:32},size:24})]})}),Bn=(0,G.Pi)(function(){var j=(0,Le.Rk)(),s=j.answerSheet;return(0,o.jsx)(o.Fragment,{children:s.filter(function(l){return l.display!=="none"}).map(function(l,g){return(0,b.createElement)(Zt,(0,F.Z)((0,F.Z)({},l),{},{seqNo:g+1,key:l.id}))})})}),C0=(0,G.Pi)(function(){var j=(0,Le.Rk)(),s=j.answerSheet,l=s.filter(function(A){return A.finished}).length,g=s.filter(function(A){return!A.finished}).length,f=s.filter(function(A){return A.marked}).length;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"finished",children:["\u5DF2\u7B54",(0,o.jsx)("span",{style:{marginLeft:4},children:l})]}),(0,o.jsxs)("div",{className:"unFinished",children:["\u672A\u7B54",(0,o.jsx)("span",{style:{marginLeft:4},children:g})]}),(0,o.jsxs)("div",{className:"marked",children:[(0,o.jsx)(Vt,{size:18}),"\u6807\u8BB0",(0,o.jsx)("span",{style:{marginLeft:4},children:f})]})]})}),Mn=(0,G.Pi)(function(){var j=(0,Le.Rk)(),s=j.props.answerSheetVisible,l=j.answerSheetVisible;return s?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",marginRight:12},onClick:function(){j.answerSheetVisible=!0},children:[(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:(0,o.jsx)("path",{d:"M800 96c70.4 0 128 57.6 128 128v576c0 70.4-57.6 128-128 128H224c-70.4 0-128-57.6-128-128V224c0-70.4 57.6-128 128-128h576z m0 64H224c-35.2 0-60.8 25.6-64 60.8V800c0 35.2 25.6 60.8 60.8 64H800c35.2 0 60.8-25.6 64-60.8V224c0-35.2-25.6-60.8-60.8-64H800zM416 640c35.2 0 64 28.8 64 64s-28.8 64-64 64H288c-35.2 0-64-28.8-64-64s28.8-64 64-64h128z m320 0c35.2 0 64 28.8 64 64s-28.8 64-64 64h-128c-35.2 0-64-28.8-64-64s28.8-64 64-64h128z m-320-192c35.2 0 64 28.8 64 64s-28.8 64-64 64H288c-35.2 0-64-28.8-64-64s28.8-64 64-64h128z m320 0c35.2 0 64 28.8 64 64s-28.8 64-64 64h-128c-35.2 0-64-28.8-64-64s28.8-64 64-64h128zM416 256c35.2 0 64 28.8 64 64s-28.8 64-64 64H288c-35.2 0-64-28.8-64-64s28.8-64 64-64h128z m320 0c35.2 0 64 28.8 64 64s-28.8 64-64 64h-128c-35.2 0-64-28.8-64-64s28.8-64 64-64h128z",fill:"#8c8c8c"})}),"\u7B54\u9898\u5361"]}),(0,o.jsx)(Lt.GI,{visible:l,onMaskClick:function(){j.answerSheetVisible=!1},className:"adm-answer-sheet",bodyStyle:{borderTopLeftRadius:"8px",borderTopRightRadius:"8px",overflowY:"auto"},children:(0,o.jsxs)("div",{className:"answer-sheet",children:[(0,o.jsxs)("div",{className:"answer-sheet-header",children:["\u7B54\u9898\u5361",(0,o.jsx)(Gt,{})]}),(0,o.jsx)("div",{className:"answer-sheet-content",children:(0,o.jsx)(Bn,{})}),(0,o.jsx)("div",{className:"answer-sheet-footer",children:(0,o.jsx)(C0,{})})]})})]}):(0,o.jsx)(o.Fragment,{})}),n0=(0,G.Pi)(function(j){var s=(0,Le.Rk)(),l=s.reviewAnswer[j.qId];return l&&!l.visible?(0,o.jsx)(Oe.Z,{block:!0,ghost:!0,className:"review-answer-btn",style:{marginTop:10},onClick:function(){l.visible=!0},children:"\u67E5\u770B\u7B54\u6848"}):(0,o.jsx)(o.Fragment,{})}),zt=i(88983),O0=i(66253),V0=i(43061),Yn=i(38819),e1=i(12968),ji=i(62462),yi=i(91220),Kn=i(15020);function bi(j,s,l){if(!j)return"";var g=RegExp("_{3,}","g"),f=j.matchAll(g),A=[],V=(0,yi.Z)(f),P;try{for(V.s();!(P=V.n()).done;){var R=P.value,$=R.index,U=R.index+R[0].length;A.push([$,U])}}catch(X){V.e(X)}finally{V.f()}if(A.length===0)return j;for(var Y=A[0][0]===0?"":j.substring(0,A[0][0]),K=function(re){var Ee,xe,Ze=A[re],be=A[re+1],De=j.substring(Ze[0],Ze[1]),Xe=j.substring(Ze[1],be?be[0]:j.length),mt=s[re];if(!mt)return"break";var bt=l?l[mt.id]:"";if(((Ee=mt.attribute)===null||Ee===void 0?void 0:Ee.dataType)==="select"){var Ue,at;bt=(Ue=mt.dataSource)===null||Ue===void 0||(at=Ue.find(function(Xt){return Xt.value===bt}))===null||at===void 0?void 0:at.label}else if(((xe=mt.attribute)===null||xe===void 0?void 0:xe.dataType)==="selectDict"){var xt,et;bt=(xt=bt)===null||xt===void 0||(et=xt.split("|"))===null||et===void 0?void 0:et[1]}Y+='<input data-id="'.concat(s[re].id,`" value='`).concat(bt||"",`' class="horz-blank" style="width:`).concat(12*De.length,'px">'),Y+=Xe},J=0;J<A.length;J++){var q=K(J);
5if(q==="break")break}return Y}function pn(j,s){return j.name===s?!0:j.parent?pn(j.parent,s):!1}var xn=(0,G.Pi)(function(j){var s=j.content,l=j.children,g=j.value,f=g===void 0?{}:g,A=j.onChange,V=j.onBlur,P=j.schema,R=j.isTitle,$=(0,Le.Rk)(),U=$.reviewAnswer[P.id];function Y(K,J){var q,X;if(f[K]===J)return f;f[K]=J;var re=l.find(function(be){return be.id===K}),Ee=re==null||(q=re.attribute)===null||q===void 0?void 0:q.cascaderLevel,xe=re==null||(X=re.attribute)===null||X===void 0?void 0:X.dictCode;xe&&Ee&&l.filter(function(be){var De;return((De=be.attribute)===null||De===void 0?void 0:De.dictCode)===xe&&be.attribute.cascaderLevel&&be.attribute.cascaderLevel>Ee}).forEach(function(be){delete f[be.id]}),(J===""||J===void 0)&&delete f[K];var Ze=(0,F.Z)({},f);if(Object.keys(Ze).length!==0)return Ze}return(0,o.jsx)("div",{className:"pe-view",style:{lineHeight:1.5},onClick:function(J){J.preventDefault(),J.stopPropagation()},children:(0,Kn.ZP)((0,N.qZ)(s,l.filter(function(K){var J,q;return R?(J=K.attribute)===null||J===void 0?void 0:J.fieldInTitle:!((q=K.attribute)!==null&&q!==void 0&&q.fieldInTitle)})),{replace:function(J){if(J.name==="img"){var q=J.attribs.width;return(0,o.jsx)(ji.Z,{width:q?parseFloat(q):void 0,src:J.attribs.src,style:{cursor:"zoom-in"},fallback:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAAD9b/HnAAAHlklEQVR4Ae3dP3PTWBSGcbGzM6GCKqlIBRV0dHRJFarQ0eUT8LH4BnRU0NHR0UEFVdIlFRV7TzRksomPY8uykTk/zewQfKw/9znv4yvJynLv4uLiV2dBoDiBf4qP3/ARuCRABEFAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghgg0Aj8i0JO4OzsrPv69Wv+hi2qPHr0qNvf39+iI97soRIh4f3z58/u7du3SXX7Xt7Z2enevHmzfQe+oSN2apSAPj09TSrb+XKI/f379+08+A0cNRE2ANkupk+ACNPvkSPcAAEibACyXUyfABGm3yNHuAECRNgAZLuYPgEirKlHu7u7XdyytGwHAd8jjNyng4OD7vnz51dbPT8/7z58+NB9+/bt6jU/TI+AGWHEnrx48eJ/EsSmHzx40L18+fLyzxF3ZVMjEyDCiEDjMYZZS5wiPXnyZFbJaxMhQIQRGzHvWR7XCyOCXsOmiDAi1HmPMMQjDpbpEiDCiL358eNHurW/5SnWdIBbXiDCiA38/Pnzrce2YyZ4//59F3ePLNMl4PbpiL2J0L979+7yDtHDhw8vtzzvdGnEXdvUigSIsCLAWavHp/+qM0BcXMd/q25n1vF57TYBp0a3mUzilePj4+7k5KSLb6gt6ydAhPUzXnoPR0dHl79WGTNCfBnn1uvSCJdegQhLI1vvCk+fPu2ePXt2tZOYEV6/fn31dz+shwAR1sP1cqvLntbEN9MxA9xcYjsxS1jWR4AIa2Ibzx0tc44fYX/16lV6NDFLXH+YL32jwiACRBiEbf5KcXoTIsQSpzXx4N28Ja4BQoK7rgXiydbHjx/P25TaQAJEGAguWy0+2Q8PD6/Ki4R8EVl+bzBOnZY95fq9rj9zAkTI2SxdidBHqG9+skdw43borCXO/ZcJdraPWdv22uIEiLA4q7nvvCug8WTqzQveOH26fodo7g6uFe/a17W3+nFBAkRYENRdb1vkkz1CH9cPsVy/jrhr27PqMYvENYNlHAIesRiBYwRy0V+8iXP8+/fvX11Mr7L7ECueb/r48eMqm7FuI2BGWDEG8cm+7G3NEOfmdcTQw4h9/55lhm7DekRYKQPZF2ArbXTAyu4kDYB2YxUzwg0gi/41ztHnfQG26HbGel/crVrm7tNY+/1btkOEAZ2M05r4FB7r9GbAIdxaZYrHdOsgJ/wCEQY0J74TmOKnbxxT9n3FgGGWWsVdowHtjt9Nnvf7yQM2aZU/TIAIAxrw6dOnAWtZZcoEnBpNuTuObWMEiLAx1HY0ZQJEmHJ3HNvGCBBhY6jtaMoEiJB0Z29vL6ls58vxPcO8/zfrdo5qvKO+d3Fx8Wu8zf1dW4p/cPzLly/dtv9Ts/EbcvGAHhHyfBIhZ6NSiIBTo0LNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg==",preview:{mask:!1}})}var X=J.attribs;if(!!X){var re=X["data-id"];if(re){var Ee,xe,Ze,be,De,Xe=(0,Kn.e_)(X),mt=pn(J,"tr");mt&&Xe.style&&(Xe.style=(0,F.Z)((0,F.Z)({}
5,Xe.style),{},{width:"96%"}));var bt=l.findIndex(function(a0){return a0.id===re}),Ue=l[bt],at=(Ee=l[bt-1])===null||Ee===void 0?void 0:Ee.id,xt=f[at],et=(Ue==null||(xe=Ue.attribute)===null||xe===void 0?void 0:xe.dataType)||"text",Xt=Ue==null||(Ze=Ue.attribute)===null||Ze===void 0?void 0:Ze.dictCode,l0=Ue==null||(be=Ue.attribute)===null||be===void 0?void 0:be.dateTimeFormat,s0=(De=Ue.attribute)===null||De===void 0?void 0:De.cascaderLevel,i0=U==null?void 0:U[re].isCorrect,Ft=pe()(Xe.className,{selected:U&&U.visible,"is-correct":U&&U.visible&&i0},"horz-blank");return(0,o.jsx)(Tt,(0,F.Z)((0,F.Z)({},Xe),{},{type:et,value:f[re],parentValue:xt,cascaderLevel:s0,onChange:function(pt){return A(Y(re,pt))},onBlur:function(pt){return V(Y(re,pt))},dictCode:Xt,dateTimeFormat:l0,schema:Ue,bordered:!1,icon:!1,className:Ft,autoSize:!0}))}}}})})}),z0=(0,G.Pi)(function(j){var s=j.qId,l=j.schema,g=j.value,f=j.onChange,A=j.onBlur,V=j.disabled,P=l.id,R=l.title,$=l.attribute,U=$===void 0?{}:$,Y=(0,Le.Rk)(),K=Y.reviewAnswer[s],J=K==null?void 0:K[P].selected,q=K==null?void 0:K[P].isCorrect,X=U.dataType;return K&&K.visible&&(J||q)?(0,o.jsxs)("label",{className:pe()("ant-radio-wrapper ant-radio-wrapper-in-form-item option-item",{selected:J,"is-correct":q}),onClick:function(){V||j.onChange()},children:[(0,o.jsxs)("span",{children:[!q&&(0,o.jsx)(V0.Z,{style:{color:"#ff6d56",marginRight:10}}),q&&(0,o.jsx)(Yn.Z,{style:{color:"#00bf6f",marginRight:10}})]}),(0,o.jsx)("div",{className:"option-label-wrap",children:(0,o.jsx)(He.Z,{html:R})})]}):(0,o.jsx)(O0.ZP,{value:P,className:"option-item",onClick:function(){V||j.onChange(g)},disabled:V,children:X==="horzBlank"&&l.children?(0,o.jsx)(xn,{schema:l,content:R,children:l.children,value:typeof g=="boolean"?{}:g,onBlur:A,onChange:f}):(0,o.jsx)(He.Z,{html:R})})}),an=i(63185),Gn=i(9676),Ei=i(36862),t1=i(46533),kt=(0,G.Pi)(function(j){var s=j.qId,l=j.schema,g=j.checked,f=j.onChange,A=j.value,V=j.onBlur,P=j.disabled,R=l.id,$=l.title,U=l.attribute,Y=U===void 0?{}:U,K=(0,Le.Rk)(),J=K.reviewAnswer[s],q=J==null?void 0:J[R].selected,X=J==null?void 0:J[R].isCorrect,re=Y.dataType;return J&&J.visible&&(q||X)?(0,o.jsxs)("label",{className:pe()("ant-checkbox-wrapper ant-checkbox-wrapper-in-form-item option-item",{selected:q,"is-correct":X}),onClick:function(){return f(!g)},children:[(0,o.jsxs)("span",{children:[!X&&(0,o.jsx)(Ei.Z,{size:17,style:{color:"#ff6d56",marginRight:10,fontSize:17}}),X&&(0,o.jsx)(t1.Z,{size:17,style:{color:"#00bf6f",marginRight:10,fontSize:17}})]}),(0,o.jsx)("div",{className:"option-label-wrap",children:(0,o.jsx)(He.Z,{html:$})})]}):(0,o.jsx)(Gn.Z,{value:R,checked:g,onChange:function(xe){return f(xe.target.checked)},className:"option-item",disabled:P,children:re==="horzBlank"&&l.children?(0,o.jsx)(xn,{schema:l,content:$,children:l.children,value:typeof A=="boolean"?{}:A,onBlur:V,onChange:function(xe){return f(!0,xe)}}):(0,o.jsx)(He.Z,{html:$})})}),E0=(0,G.Pi)(function(j){var s,l=j.schema,g=j.value,f=j.onChange,A=j.qId,V=j.onBlur,P=(0,Le.AK)("-body-question"),R=l.id,$=l.attribute,U=l.title,Y=$==null?void 0:$.suffix,K=$==null?void 0:$.dataType,J=$==null?void 0:$.readOnly,q=(0,Le.Rk)(),X=q.reviewAnswer[A],re=X==null?void 0:X[R].isCorrect;return X&&X.visible?(0,o.jsxs)("span",{style:{position:"relative",width:"100%"},children:[!re&&(0,o.jsx)(V0.Z,{style:{color:"#ff6d56",marginRight:10,position:"absolute",left:4,top:3,zIndex:1}}),re&&(0,o.jsx)(Yn.Z,{style:{color:"#00bf6f",marginRight:10,position:"absolute",left:4,top:3,zIndex:1}}),(0,o.jsx)(Tt,{type:K,value:g[R],className:pe()("selected",{"is-correct":re}),onChange:function(xe){return f(xe)},onBlur:V,style:{paddingLeft:20},schema:l,suffix:Y&&(0,o.jsx)("span",{className:P+"-option-suffix",children:(0,o.jsx)(He.Z,{html:Y})})})]}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(Tt,{type:K,value:g[R],dictCode:(s=l.attribute)===null||s===void 0?void 0:s.dictCode,onChange:function(xe){return f(xe)},onBlur:V,readOnly:J,schema:l,suffix:Y&&(0,o.jsx)("span",{className:P+"-option-suffix",children:(0,o.jsx)(He.Z,{html:Y})})})})}),F0=(0,G.Pi)(function(j){var s,l,g=j.qId,f=j.schema,A=(0,Le.Rk)(),V=A.reviewAnswer[g],P=(s=f.children)===null||s===void 0?void 0:s.map(function(Y){var K;return(K=Y.attribute)===null||K===void 0?void 0:K.examCorrectAnswer}).filter(function(Y){return Y}).join(";"),R=P&&["FillBlank","MultipleBlank","Textarea"].includes(f.type),$=function(){return R?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"answer-analysis-title",children:"\u6B63\u786E\u7B54\u6848\uFF1A"}),(0,o.jsx)("div",{className:"answer-analysis-content",style:{marginBottom:10},children:P})]}):(0,o.jsx)(o.Fragment,{})},U=function(){var K;if((K=f.attribute)!==null&&K!==void 0&&K.examAnalysis){var J;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"answer-analysis-title",children:"\u7B54\u6848\u89E3\u6790\uFF1A"}),(0,o.jsx)("div",{className:"answer-analysis-content",children:(0,o.jsx)(He.Z,{html:(J=f.attribute)===null||J===void 0?void 0:J.examAnalysis})})]})}return(0,o.jsx)(o.Fragment,{})};return V&&V.visible&&((l=f.attribute)!==null&&l!==void 0&&l.examAnalysis||R)?(0,o.jsxs)("div",{className:"answer-analysis",children:[$(),U()]}):(0,o.jsx)(o.Fragment,{})}),rn=(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:(0,o.jsx)("path",{d:"M839 73.9c-1.2-2.4-3.7-9.8-7.4-9.8s-11.1 8.6-13.5 12.3l-13.5 12.3c-7.4-6.1-35.6-23.4-43-23.4-11.1 0-104.6 113.2-118.1 129.1l-60.2 68.8-30.7 38.1-43.1-83.6-50.4-100.8c-4.9-9.8-8.6-22.1-22.1-22.1-7.3 0-9.8 3.6-13.5 9.8-3.7 4.9-3.7 4.9-11.1 8.6-8.6 0-12.3 0-19.7 6.2-6.2-4.9-11.1-11.1-19.7-11.1-3.7 0-6.2 1.2-8.6 3.6l-8.6 7.4c-4.8 6.1-15.9 17.2-15.9 25.8 0 11 9.8 31.9 13.5 41.8l90.9 250.8-14.7 17.3c-66.4 79.8-159.8 190.5-210.2 279l-29.5 50.4c-8.6 14.7-29.5 44.3-29.5 60.2 0 3.7 3.8 6.2 6.2 8.6 8.6 7.3 3.6 14.7 1.2 24.5-2.5 7.4-3.7 12.3-3.7 19.7 0 13.5 11.1 27 18.5 38.1 7.3 12.2 9.9 24.5 25.8 24.5 17.2 0 49.2-3.6 63.9-14.7l243.4-377.5 115.6 178.5c6.1 9.8 30.7 54.1 46.7 54.1 14.8 0 38.1-16.1 40.6-30.8-2.6-4.9-6.2-12.3-6.2-17.2 0-7.5 19.7-14.9 24.6-19.7v-9.9c8.6-3.7 13.5-8.6 17.2-17.2l-95.9-205.3-38.2-76.3 13.6-19.7 174.6-225.9c11-14.8 28.3-38.1 41.8-50.4 4.9-5 13.5-12.3 13.5-19.7 0-8.6-19.7-22.1-24.6-34.4z","p-id":"14396",fill:"#fe6c56"})}),H0=(0,o.jsx)("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:(0,o.jsx)("path",{d:"M389.7 604.3L198.2 447.4c-3.7-3-9.1-3-12.8 0.1l-73.3 61.4c-4.4 3.7-4.8 10.3-0.9 14.5l324.1 344.3c5 5.3 13.8 3.6 16.6-3.1 64.4-160.1 244.3-452.8 463.2-664.7 3-2.9 3.9-7.2 2.3-11l-13.7-33c-2.4-5.8-9.5-8-14.7-4.5-243.2 157.7-419.4 353.5-499.3 452.9z",fill:"#fe6c56","p-id":"4913"})}),$0=(0,G.Pi)(function(j){var s,l=j.schema,g=j.seqNo,f=g===void 0?0:g,A=(0,Le.Rk)(),V=A.props.correctAnswerVisible,P=A.props.questionScore,R=(s=l.attribute)===null||s===void 0?void 0:s.examAnswerMode;return!V||!P||R==="none"?(0,o.jsx)(o.Fragment,{}):(0,o.jsxs)("div",{className:"exam-score-info",children:[f>0&&(0,o.jsxs)("span",{children:["\u7B2C",f,"\u9898"]}),P[l.id]?(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("span",{className:"score",children:["\u5F97\u5206:",P[l.id],"\u5206"]}),H0]}):rn]})}),n1=(0,G.Pi)(function(j){var s,l=j.schema,g=j.title,f=j.onBlur,A=j.onChange,V=l.type,P=((s=l.children)===null||s===void 0?void 0:s.filter(function(U){var Y;return(Y=U.attribute)===null||Y===void 0?void 0:Y.fieldInTitle}))||[],R=(0,G.U$)(),$=R.value;return V!=="HorzBlank"||P.length===0?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(He.Z,{html:g})}):(0,o.jsx)(xn,{schema:l,children:P,content:g,onChange:A,onBlur:f,value:$})});function G0(j){var s,l=j.schema,g=j.required,f=j.error,A=j.replaceTitle,V=j.index,P=j.onBlur,R=j.onChange,$=j.onFocus,U=j.seqNo,Y=(0,b.useContext)(N.ZX),K=Y.questionNumber,J=(0,Le.AK)("-body-question"),q=(0,b.useState)(),X=(0,t.Z)(q,2),re=X[0],Ee=X[1],xe=(0,Le.Rk)(),Ze=(s=xe.answerSheet.find(function(Xe){return Xe.id===l.id}))===null||s===void 0?void 0:s.marked,be=l.description;(0,b.useEffect)(function(){if(re){var Xe,mt;(Xe=document.querySelector("[data-id='".concat(l.id,"']")))===null||Xe===void 0||Xe.classList.remove("ant-form-item-has-error"),(mt=document.querySelector("[data-id='".concat(l.id,"']")))===null||mt===void 0||mt.querySelectorAll("[data-id]").forEach(function(l0){l0.classList.remove("ant-form-item-has-error")})}if(f.length>0){var bt,Ue=f[0].split("^"),at=(0,t.Z)(Ue,2),xt=at[0],et=at[1],Xt;et?(Xt=document.querySelector("[data-id='".concat(xt,"']")),Ee(et)):(Xt=document.querySelector("[data-id='".concat(l.id,"']")),Ee(xt)),(bt=Xt)===null||bt===void 0||bt.classList.add("ant-form-item-has-error")}else re&&Ee(void 0)},[f]);var De=function(){return re?(0,o.jsx)("span",{className:"question-tag error animated",children:(0,o.jsx)("span",{children:re})}):(0,o.jsx)(o.Fragment,{})};return(0,o.jsxs)("div",{className:J,children:[(0,o.jsx)($0,{schema:l,seqNo:U}),(0,o.jsxs)(le.Z.Item,{label:(0,o.jsxs)("h2",{className:J+"-header",children:[g&&(0,o.jsx)("span",{className:"question-required",children:"*"}),(0,o.jsx)("span",{className:"question-seq",children:K&&U?U:""}),(0,o.jsx)(n1,{schema:l,title:A||l.title,onBlur:P,onChange:R,onFocus:$}),De(),U&&(0,o.jsx)(Vt,{marked:Ze,onClick:function(){xe.markQuestion(l.id,!Ze)}}),U&&(0,o.jsx)(se.rF,{id:l.id,name:l.title}),be&&(0,o.jsx)("div",{className:"question-desc",children:(0,o.jsx)(He.Z,{html:be})})]}),labelCol:{span:24},wrapperCol:{span:24},children:[j.children,(0,o.jsx)(n0,{qId:l.id}),(0,o.jsx)(F0,{qId:l.id,schema:l})]})]})}(0,D.eC)("Question",(0,G.Pi)(G0),"antdMobile");function gn(j){var s=j.schema,l=j.index,g=j.seqNo,f=(0,Le.AK)("-body-questionSet"),A=(0,b.useContext)(N.ZX),V=A.questionNumber;return(0,o.jsxs)("div",{className:f,children:[(0,o.jsxs)("div",{className:f+"-title",children:[V&&(0,o.jsx)("span",{className:f+"-title-seq",children:(0,o.jsx)("b",{children:V&&g?g:""})}),(0,o.jsx)(He.Z,{html:s.title})]}),j.children,(0,o.jsx)("div",{className:f+"-splitLine"})]})}(0,D.eC)("QuestionSet",gn,"antdMobile");var Fi=i(84305),Cn=i(88182),Jn=i(82925),Si=i(3024),Ai=(0,G.Pi)(function(){var j=(0,b.useContext)(N.ZX),s=j.progressBar,l=(0,Le.AK)(),g=(0,Le.Rk)(),f=g.progress;return s?(0,o.jsx)(Si.Z,{enabled:!0,top:0,innerActiveClass:"fixed",children:(0,o.jsx)("div",{className:l+"-progress",children:(0,o.jsx)("div",{className:"progress-bar s-prog-wait",children:(0,o.jsx)("div",{className:"progress-done s-prog-done",style:{width:"".concat(f*100,"%")}})})})}):(0,o.jsx)(o.Fragment,{})});function v0(j){var s=j.headerVisible,l=j.footerVisible,g=j.schema,f=(0,Le.AK)(),A=(0,Le.Al)(),V=function(){var R,$=(R=g.attribute)===null||R===void 0?void 0:R.headerImage;if($)return(0,o.jsx)("img",{src:"/api/public/preview/".concat($),style:{maxWidth:"100%"}})};return(0,o.jsxs)("div",{className:pe()(f,{preview:A.isPreview}),children:[(0,o.jsx)(Ai,{}),(0,o.jsx)("div",{className:f+"-banner",children:V()}),s&&(0,o.jsx)(Bt,{}),(0,o.jsx)(Cn.ZP,{locale:Jn.Z,children:(0,o.jsx)(e,{children:j.children})}),l&&(0,o.jsx)(z,{}),(0,o.jsx)(Mn,{})]})}(0,D.eC)("Survey",v0,"antdMobile");var i1=i(13062),Ut=i(71230),a1=i(89032),Et=i(15746),Jt=i(32059);function Ln(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children;function V(P,R){l((0,Jt.Z)({},R,P))}return(0,o.jsx)("div",{children:A==null?void 0:A.map(function(P){var R=P.id,$=P.title,U=P.attribute,Y=U===void 0?{}
5:U,K=Y.mapMove;return(0,o.jsxs)(Ut.Z,{gutter:[10,0],"data-id":R,children:[$&&(0,o.jsx)(Et.Z,{span:24},P.id),(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(Qt,{optionId:R,onChange:function(q){return V(q,R)},value:f[R],mapMove:K})})]},R)})})}(0,D.RM)("Address",Ln,"antdMobile");var h0=i(43185),Ct=i(32620),Bi=i(34792),Zn=i(48086),on=i(39428),Z0=i(3182),r1=i(81473);function Mi(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=j.readOnly,V=s.children,P=V===void 0?[]:V,R=(0,Le.Al)(),$=function(){var U=(0,Z0.Z)((0,on.Z)().mark(function Y(K){var J,q,X,re;return(0,on.Z)().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:J=K.onSuccess,q=K.onError,X=K.file,re=K.onProgress,R.onUpload&&R.onUpload({file:X,fileType:6},function(Ze){re&&re({percent:Ze.loaded/Ze.total*100})}).then(function(Ze){if(Ze.success&&J&&(J(Ze.data),Ze.data.content&&l((0,Jt.Z)({},P[0].id,Ze.data.content))),!Ze.success&&q){var be=new Error("Some error");q({event:be})}});case 2:case"end":return xe.stop()}},Y)}));return function(K){return U.apply(this,arguments)}}();return(0,o.jsx)("div",{children:P==null?void 0:P.map(function(U){var Y=U.id,K=U.attribute,J=K===void 0?{}:K,q=J.cameraOnly;return(0,o.jsx)(ce.Z,{placeholder:"\u70B9\u51FB\u8BC6\u522B\u6761\u7801",value:f[Y],addonAfter:(0,o.jsx)(Ct.Z,{capture:q?"environment":void 0,disabled:A,maxCount:1,accept:"image/*",beforeUpload:function(re){return J!=null&&J.maxFileSize&&re.size>J.maxFileSize*1024*1024?(Zn.default.error("\u6700\u5927\u53EA\u80FD\u4E0A\u4F20 ".concat(J.maxFileSize,"M \u5927\u5C0F\u7684\u6587\u4EF6")),Ct.Z.LIST_IGNORE):!0},customRequest:$,showUploadList:!1,children:(0,o.jsx)(r1.Z,{})},Y)})})})}(0,D.RM)("Barcode",Mi,"antdMobile");function o0(j,s){var l;return((l=j.children)===null||l===void 0?void 0:l.reduce(function(g,f,A){if(A===0)g.push(j.dataSource||[]);else{var V=j.children[A-1].id,P=s[V];if(P){var R;g.push(((R=g.slice(-1)[0].find(function($){return $.value===P}))===null||R===void 0?void 0:R.children)||[])}}return g},[]))||[]}function ln(j){var s,l=j.schema,g=j.onChange,f=j.value,A=f===void 0?{}:f,V=(0,b.useState)(j.value||{}),P=(0,t.Z)(V,2),R=P[0],$=P[1],U=(0,b.useState)(o0(l,A)),Y=(0,t.Z)(U,2),K=Y[0],J=Y[1];(0,b.useEffect)(function(){if(Object.keys(R).length>0){var X=o0(l,R);J(X)}},[R,l]);var q=function(re,Ee,xe){var Ze,be={};(Ze=l.children)===null||Ze===void 0||Ze.forEach(function(De,Xe){xe>Xe?be[De.id]=R[De.id]:xe===Xe&&(be[re]=Ee)}),$(be),o0(l,be).filter(function(De){return De.length>0}).length===Object.values(be).filter(function(De){return De&&De!=="\u8BF7\u9009\u62E9"}).length?g(be):g(void 0)};return(0,o.jsx)(Ut.Z,{gutter:[10,10],children:(s=l.children)===null||s===void 0?void 0:s.map(function(X,re){return(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(Q,{options:K[re]||[],value:R[X.id]||"",onChange:function(xe){return q(X.id,xe,re)}},X.id)},X.id)})})}(0,D.RM)("Cascader",ln,"antdMobile");function Xn(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=j.onBlur,V=s.children,P=s.attribute,R=24/((P==null?void 0:P.columns)||1),$=(0,Le.AK)("-body-question"),U=!!(P!=null&&P.statEnabled),Y=(0,Le.Rk)(),K=(0,Le.Al)(),J=Y.hiddenOption[s.id]||[];(0,b.useEffect)(function(){var X=Object.keys(f),re=!1;X.forEach(function(Ee){J.includes(Ee)&&(re=!0,delete f[Ee])}),re&&l((0,F.Z)({},f))},[J]);function q(X,re,Ee){re?f[X]=Ee||!0:delete f[X],l((0,F.Z)({},f))}return(0,b.useEffect)(function(){V==null||V.forEach(function(X){var re;(re=X.attribute)!==null&&re!==void 0&&re.defaultChecked&&Object.keys(f).length===0&&l((0,Jt.Z)({},X.id,!0))})},[]),(0,o.jsx)("div",{children:(0,o.jsx)(Ut.Z,{children:V==null?void 0:V.filter(function(X){return!J.includes(X.id)}).map(function(X){var re,Ee,xe,Ze,be=X.id,De=(re=X.attribute)===null||re===void 0?void 0:re.dataType,Xe=(Ee=X.attribute)===null||Ee===void 0?void 0:Ee.suffix,mt=(xe=X.attribute)===null||xe===void 0?void 0:xe.readOnly,bt=(Ze=X.attribute)===null||Ze===void 0?void 0:Ze.quota,Ue=!1;if(bt!==void 0){var at,xt=K.statistics,et=xt==null?void 0:xt.questionStatistics[s.id],Xt=(et==null||(at=et.optionStatistics.find(function(s0){return s0.optionId===be}))===null||at===void 0?void 0:at.count)||0,l0=bt-Xt;l0<=0&&(Ue=!0)}return(0,o.jsxs)(Et.Z,{span:R,className:$+"-option","data-id":be,children:[(0,o.jsx)(kt,{qId:s.id,disabled:Ue,schema:X,
5checked:f.hasOwnProperty(be),onChange:function(i0,Ft){Ue||q(be,i0,Ft)},value:typeof f[be]=="boolean"?{}:f[be],onBlur:A}),(0,o.jsx)(wt,{statEnabled:U,quota:bt,checked:!!f[be],optionId:be,questionId:s.id,checkedCount:Object.keys(f).length}),De&&(0,o.jsx)(Tt,{value:typeof f[be]=="boolean"?"":f[be],style:{maxWidth:200},type:De,readOnly:mt,onChange:function(i0){return q(be,!0,i0)},suffix:Xe&&(0,o.jsx)("span",{className:$+"-option-suffix",children:(0,o.jsx)(He.Z,{html:Xe})})})]},be)})})})}(0,D.RM)("Checkbox",(0,G.Pi)(Xn),"antdMobile");var Li=i(62999),Dn=i(54680),jn=i(3980),qn=i(60780),S0=i.n(qn);function q1(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=V[0].id,R=(0,b.useState)([]),$=(0,t.Z)(R,2),U=$[0],Y=$[1];function K(q){P&&((q==null?void 0:q.length)===0?l(void 0):l((0,Jt.Z)({},P,q==null?void 0:q.map(function(X){return X.value}))))}var J=(0,b.useMemo)(function(){return S0()(U.map(function(q){return{title:q.name,key:q.id,value:q.id,parentId:q.parentId}}),{parentProperty:"parentId",customID:"key"})},[U]);return(0,b.useEffect)(function(){jn.hi.selectDept({}).then(function(q){q.success&&Y(q.data)})},[]),(0,o.jsx)(Ut.Z,{children:(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(Dn.Z,{style:{width:"100%"},treeCheckable:!0,value:(f[P]||[]).map(function(q){return{value:q}}),treeCheckStrictly:!0,showSearch:!1,showCheckedStrategy:"SHOW_ALL",dropdownStyle:{maxHeight:400,overflow:"auto"},treeData:J,placeholder:"\u8BF7\u9009\u62E9",treeDefaultExpandAll:!0,onChange:K})})})}(0,D.RM)("Dept",q1,"antdMobile");function p0(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=j.onBlur,V=s.children,P=(0,Le.AK)("-body-question");function R(U,Y){f[U]=Y,Y===""&&delete f[U],l((0,F.Z)({},f))}function $(U,Y){f[U]=Y,Y===""&&delete f[U],A((0,F.Z)({},f),U)}return(0,o.jsx)("div",{style:{display:"flex",flexDirection:"column",rowGap:10},children:V==null?void 0:V.map(function(U){var Y=U.id,K=U.title;return(0,o.jsxs)(Ut.Z,{gutter:[10,10],"data-id":Y,children:[K&&(0,o.jsx)(Et.Z,{span:24,children:U.title&&(0,o.jsx)("span",{className:P+"-option-title",children:(0,o.jsx)(He.Z,{html:U.title})})},U.id),(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(E0,{qId:s.id,schema:U,value:f,onChange:function(q){return R(Y,q)},onBlur:function(q){return $(Y,q)}})})]},Y)})})}(0,D.RM)("FillBlank",p0,"antdMobile"),(0,D.RM)("MultipleBlank",p0,"antdMobile");function o1(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=j.onBlur,V=s.children,P=s.attribute,R=P===void 0?{}:P,$=R.content;return!$||!V?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(xn,{schema:s,children:V.filter(function(U){var Y;return!((Y=U.attribute)!==null&&Y!==void 0&&Y.fieldInTitle)}),content:$,onBlur:A,onChange:l,value:f})}o1.Preview=function(j){var s=j.schema,l=j.value,g=s.children,f=s.attribute,A=f===void 0?{}:f,V=A.content;return(0,o.jsx)("div",{className:"preview",children:(0,o.jsx)("div",{children:(0,o.jsx)(He.Z,{html:bi(V,g,l),replaceP:!1})})})},(0,D.RM)("HorzBlank",o1,"antdMobile");var J0=i(54121),un=i(49101);function sn(j){var s,l=j.schema,g=j.onChange,f=j.value||[{}],A=l.children,V=A===void 0?[]:A,P=l.row,R=P===void 0?[]:P,$=(0,N.Ck)((s=l.attribute)===null||s===void 0?void 0:s.scope,[1,999]);return(0,o.jsxs)("div",{className:"",children:[f.map(function(U,Y){return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{children:Y+1}),(0,o.jsxs)("div",{className:"question-item",style:{background:"#f7f8fa",borderRadius:4,padding:8,position:"relative"},children:[V.map(function(K){return(0,o.jsxs)("div",{className:"option-box",style:{marginBottom:10},children:[(0,o.jsx)("div",{style:{color:"#aaa",fontSize:12,marginBottom:5},children:(0,o.jsx)(He.Z,{html:K.title})}),(0,o.jsx)(E0,{qId:l.id,schema:K,value:U,onChange:function(q){U[K.id]=q,g((0,ne.Z)(f))}})]},K.id)}),f.length>1&&(0,o.jsx)(J0.Z,{onClick:function(){f.splice(Y,1),g((0,ne.Z)(f))},style:{position:"absolute",top:-5,right:-5,color:"#ff4d4f"}})]})]},Y)}),(0,o.jsx)("div",{children:f.length<$[2]&&(0,o.jsx)(Oe.Z,{block:!0,icon:(0,o.jsx)(un.Z,{}),type:"dashed",onClick:function(){f.push({}),g((0,ne.Z)(f))},children:"\u7EE7\u7EED\u586B\u5199"})})]})}(0,D.RM)("MatrixAuto",sn,"antdMobile");function D0(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=s.row,R=P===void 0?[]:P;return(0,o.jsx)("div",{className:"",children:R==null?void 0:R.map(function($){var U=Object.keys(f[$.id]||{});return(0,o.jsxs)("div",{className:"question-item",children:[(0,o.jsx)("h3",{className:"question-sub-title",children:(0,o.jsx)(He.Z,{html:$.title})}),(0,o.jsx)("div",{className:"checkbtn-group",children:(0,o.jsx)(Lt.Qf,{multiple:!0,value:U,options:V.map(function(Y){return{label:Y.title,value:Y.id}}),onChange:function(K,J){l((0,F.Z)((0,F.Z)({},f),{},(0,Jt.Z)({},$.id,K.reduce(function(q,X){return q[X]=!0,q},{}))))}})})]},$.id)})})}(0,D.RM)("MatrixCheckbox",D0,"antdMobile");function A0(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=s.row,R=P===void 0?[]:P;return console.log(JSON.parse(JSON.stringify(f))),(0,o.jsx)("div",{className:"",children:R==null?void 0:R.map(function($){return(0,o.jsxs)("div",{className:"question-item",children:[(0,o.jsx)("h3",{className:"question-sub-title",children:(0,o.jsx)(He.Z,{html:$.title})}),(0,o.jsx)("div",{className:"fillBlank-group",children:V.map(function(U){var Y=f[$.id]||{};return(0,o.jsxs)("div",{className:"option-box",style:{marginBottom:10},children:[(0,o.jsx)("div",{style:{color:"#aaa",fontSize:12,marginBottom:5},children:(0,o.jsx)(He.Z,{html:U.title})}),(0,o.jsx)(E0,{qId:s.id,schema:U,value:Y,onChange:function(J){var q=f[$.id]||{};l((0,F.Z)((0,F.Z)({},f),{},(0,Jt.Z)({},$.id,(0,F.Z)((0,F.Z)({},q),{},(0,Jt.Z)({},U.id,J)))))}})]},U.id)})})]},$.id)})})}function Zi(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=s.row,R=P===void 0?[]:P;return(0,o.jsx)("div",{className:"",children:R==null?void 0:R.map(function($){return(0,o.jsxs)("div",{className:"question-item",children:[(0,o.jsx)("h3",{className:"question-sub-title",children:(0,o.jsx)(He.Z,{html:$.title})}),(0,o.jsx)("div",{className:"fillBlank-group",children:V.map(function(U){var Y=f[$.id]||{};return(0,o.jsxs)("div",{className:"option-box",style:{marginBottom:10},children:[(0,o.jsx)("div",{style:{color:"#aaa",fontSize:12,marginBottom:5},children:(0,o.jsx)(He.Z,{html:U.title})}),(0,o.jsx)(E0,{qId:s.id,schema:U,value:Y,readOnly:!0,onChange:function(J){var q=f[$.id]||{};l((0,F.Z)((0,F.Z)({},f),{},(0,Jt.Z)({},$.id,(0,F.Z)((0,F.Z)({},q),{},(0,Jt.Z)({},U.id,J)))))}})]},U.id)})})]},$.id)})})}(0,D.RM)("MatrixFillBlank",(0,G.Pi)(A0),"antdMobile"),(0,D.uF)("MatrixFillBlank",Zi,"antdMobile");function X0(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=s.row,R=P===void 0?[]:P;return(0,o.jsx)("div",{className:"",children:R==null?void 0:R.map(function($){var U=Object.keys(f[$.id]||{})[0];return(0,o.jsxs)("div",{className:"question-item",children:[(0,o.jsx)("h3",{className:"question-sub-title",children:(0,o.jsx)(He.Z,{html:$.title})}),(0,o.jsx)("div",{className:"checkbtn-group",children:(0,o.jsx)(Lt.Qf,{value:U?[U]:void 0,options:V.map(function(Y){return{label:Y.title,value:Y.id}}),onChange:function(K,J){K[0]?l((0,F.Z)((0,F.Z)({},f),{},(0,Jt.Z)({},$.id,(0,Jt.Z)({},K[0],!0)))):(delete f[$.id],l((0,F.Z)({},f)))}})})]},$.id)})})}(0,D.RM)("MatrixRadio",X0,"antdMobile");function q0(j){for(var s=[],l=2;l<j+2;l++)s.push(l/(j+2));return s}function _n(){for(var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,g=[],f=j;f<=s;f++)g.push(f);return l&&g.reverse(),g}function k0(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A;function P($,U){l((0,Jt.Z)({},$,U))}var R=function(U){var Y=U.id,K=f[Y],J=q0(K||0),q=U.attribute||{},X=q.scope,re=X===void 0?"[0,10]":X,Ee=q.npsInvertSort,xe=q.npsStart,Ze=xe===void 0?"\u4E0D\u53EF\u80FD":xe,be=q.npsEnd,De=be===void 0?"\u6781\u6709\u53EF\u80FD":be,Xe=re.replace("[","").replace("]","").split(","),mt=(0,t.Z)(Xe,2),bt=mt[0],Ue=mt[1];return(0,o.jsxs)("div",{className:"nps",children:[(0,o.jsx)("div",{className:"nps-container",children:_n(parseInt(bt),parseInt(Ue),Ee).map(function(at){var xt={background:"#2672ff",opacity:J[at]};return(0,o.jsx)("div",{className:"nps-item",style:K>=at?xt:void 0,onClick:function(){return P(Y,at)},children:at},at)})}),(0,o.jsxs)("div",{className:"nps-tip",children:[(0,o.jsx)("div",{children:Ee?De:Ze}),(0,o.jsx)("div",{children:Ee?Ze:De})]})]},Y)};return(0,o.jsx)(Ut.Z,{children:V.map(function($){return R($)})})}(0,D.RM)("Nps",k0,"antdMobile");var U0=O0.ZP.Group;
5function Nn(j){var s,l=j.schema,g=j.onChange,f=j.value,A=f===void 0?{}:f,V=l.children,P=(0,Le.AK)("-body-question"),R=!!((s=l.attribute)!==null&&s!==void 0&&s.statEnabled),$=(0,Le.Rk)(),U=$.hiddenOption[l.id]||[],Y=(0,Le.Al)();function K(J,q){g((0,Jt.Z)({},J,q||!0))}return(0,b.useEffect)(function(){var J=Object.keys(A)[0];U.includes(J)&&g(void 0)},[U]),(0,b.useEffect)(function(){var J;(J=l.children)===null||J===void 0||J.forEach(function(q){var X,re=q.id,Ee=q.title,xe=q.attribute,Ze=xe==null?void 0:xe.dataType;(X=q.attribute)!==null&&X!==void 0&&X.defaultChecked&&Object.keys(A).length===0&&g((0,Jt.Z)({},re,Ze?A[re]:Ee))})},[]),(0,o.jsx)("div",{children:(0,o.jsx)(U0,{onChange:function(q){},value:Object.keys(A)[0],style:{width:"100%"},children:(0,o.jsx)(Ut.Z,{children:V==null?void 0:V.filter(function(J){return!U.includes(J.id)}).map(function(J){var q,X,re,Ee,xe=J.id,Ze=(q=J.attribute)===null||q===void 0?void 0:q.dataType,be=(X=J.attribute)===null||X===void 0?void 0:X.suffix,De=(re=J.attribute)===null||re===void 0?void 0:re.readOnly,Xe=!1,mt=(Ee=J.attribute)===null||Ee===void 0?void 0:Ee.quota;if(mt!==void 0){var bt,Ue=Y.statistics,at=Ue==null?void 0:Ue.questionStatistics[l.id],xt=(at==null||(bt=at.optionStatistics.find(function(Xt){return Xt.optionId===xe}))===null||bt===void 0?void 0:bt.count)||0,et=mt-xt;et<=0&&(Xe=!0)}return(0,o.jsxs)(Et.Z,{span:24,className:P+"-option","data-id":xe,children:[(0,o.jsx)(z0,{qId:l.id,schema:J,value:A[xe],disabled:Xe,onChange:function(l0){return K(xe,l0)},onBlur:function(l0){}}),(0,o.jsx)(wt,{statEnabled:R,quota:mt,checked:!!A[xe],optionId:xe,questionId:l.id,checkedCount:Object.keys(A).length}),Ze&&(0,o.jsx)(Tt,{value:A[xe]===!0?"":A[xe],type:Ze,style:{maxWidth:200},onChange:function(l0){return K(xe,l0)},readOnly:De,suffix:be&&(0,o.jsx)("span",{className:P+"-option-suffix",children:(0,o.jsx)(He.Z,{html:be})})})]},xe)})})})})}(0,D.RM)("Radio",(0,G.Pi)(Nn),"antdMobile"),(0,D.RM)("Judge",(0,G.Pi)(Nn),"antdMobile");function ei(j){var s=(0,Le.AK)("-body-question");return(0,o.jsx)("div",{className:s,children:(0,o.jsx)(He.Z,{html:"".concat(j.replaceTitle||j.schema.title||"")})})}(0,D.RM)("Remark",ei,"antdMobile");var cn=i(80116),Tn=i(96433),dn=i(2864),_0=i(41687),j0=i(46870),ti=i(18613),wn=i(57206),In={1:(0,o.jsx)(_0.Z,{}),2:(0,o.jsx)(_0.Z,{}),3:(0,o.jsx)(j0.Z,{}),4:(0,o.jsx)(ti.Z,{}),5:(0,o.jsx)(ti.Z,{})};function ni(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A;function P($,U){l((0,Jt.Z)({},$,U))}var R=function(U){var Y=U.attribute||{},K=U.id,J=Y.scope,q=J===void 0?"[0,5]":J,X=Y.scoreStyle,re=q.replace("[","").replace("]","").split(","),Ee=(0,t.Z)(re,2),xe=Ee[0],Ze=Ee[1];return X==="heart"?(0,o.jsx)(dn.Z,{defaultValue:parseInt(xe),character:(0,o.jsx)(wn.Z,{}),style:{color:"#ea7463"},count:parseInt(Ze),onChange:function(De){return P(K,De)}},K):X==="smile"?(0,o.jsx)(dn.Z,{defaultValue:parseInt(xe),character:function(De){var Xe=De.index;return In[Xe+1]},count:parseInt(Ze),onChange:function(De){return P(K,De)}},K):(0,o.jsx)(dn.Z,{defaultValue:parseInt(xe),count:parseInt(Ze),onChange:function(De){return P(K,De)}},K)};return(0,o.jsx)(Ut.Z,{children:V.map(function($){return R($)})})}(0,D.RM)("Score",ni,"antdMobile");function yn(j){var s,l=j.schema,g=j.onChange,f=j.value,A=f===void 0?{}:f;function V(P){var R,$=(R=l.children)===null||R===void 0?void 0:R.find(function(U){return U.id===P});$&&g((0,Jt.Z)({},P,!0))}return(0,b.useEffect)(function(){var P;(P=l.children)===null||P===void 0||P.forEach(function(R){var $,U=R.id;($=R.attribute)!==null&&$!==void 0&&$.defaultChecked&&Object.keys(A).length===0&&g((0,Jt.Z)({},U,!0))})},[]),(0,o.jsx)(Ut.Z,{children:(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(Q,{value:Object.keys(A)[0],onChange:V,options:((s=l.children)===null||s===void 0?void 0:s.map(function(P){return{label:P.title,value:P.id}}))||[]})})})}(0,D.RM)("Select",yn,"antdMobile");var zn=i(34669),x0=i(82833);function Di(j){var s=j.schema,l=j.onChange,g=s.children,f=(0,Le.Al)(),A=(0,b.useState)(0),V=(0,t.Z)(A,2),P=V[0],R=V[1];function $(U,Y){var K="signature-".concat(Y,"-").concat((0,N.kb)(6),".png");if(!f.onUpload){l((0,Jt.Z)({},Y,[K]));return}fetch(U).then(function(J){return J.blob()}).then(function(J){var q=new File([J],K,{type:"image/png"});f.onUpload({file:q,questionId:s.id,projectId:f.schema.id},function(X){R(X.loaded/X.total*100)}).then(function(X){X.success&&X.data.id&&l((0,Jt.Z)({},Y,[X.data.id]))})})}return(0,o.jsx)("div",{children:g==null?void 0:g.map(function(U){var Y=U.id,K=U.title;return(0,o.jsxs)(Ut.Z,{gutter:[10,0],"data-id":Y,children:[K&&(0,o.jsx)(Et.Z,{span:24},U.id),(0,o.jsxs)(Et.Z,{span:24,children:[(0,o.jsx)(Rt,{onChange:function(q){return $(q,Y)}}),P>0&&P!==100&&(0,o.jsx)(x0.Z,{percent:P,size:"small",showInfo:!1})]})]},Y)})})}(0,D.RM)("Signature",Di,"antdMobile");var ii=function(s){var l=s.value,g;return l&&(g=Object.values(l)[0][0]),(0,o.jsx)("div",{className:"preview signature-print",children:g&&(0,o.jsx)("img",{src:"/api/file?id=".concat(g)})})};(0,D.uF)("Signature",ii,"antdMobile");var _1=i(48736),Ni=i(27049);function ai(j){var s=(0,Le.AK)("-body-question");return(0,o.jsx)("div",{className:s,children:(0,o.jsx)(Ni.Z,{plain:!0})})}(0,D.RM)("SplitLine",ai,"antdMobile");function vn(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=(0,Le.AK)("-body-question");function P(R,$){f[R]=$,$===""&&delete f[R],l((0,F.Z)({},f))}return(0,o.jsx)("div",{children:A==null?void 0:A.map(function(R){var $=R.id,U=R.attribute,Y=R.title,K=(0,N.Ck)(U==null?void 0:U.autoSize,[2,4]);return(0,o.jsxs)(Ut.Z,{style:{marginBottom:10},"data-id":$,children:[Y&&(0,o.jsx)(Et.Z,{className:V+"-option",span:4,children:R.title&&(0,o.jsx)("span",{className:V+"-option-title",children:R.title})},R.id),(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(ce.Z.TextArea,{autoSize:{minRows:K[1],maxRows:K[2]},value:f[$]||"",onChange:function(q){return P($,q.target.value)}})})]},$)})})}(0,D.RM)("Textarea",vn,"antdMobile");var kn=i(43347),B0=Ct.Z.Dragger;function bn(j){var s=j.schema,l=j.onChange,g=j.value,f=j.readOnly,A=s.children,V=(0,Le.Al)(),P=(0,b.useState)(),R=(0,t.Z)(P,2),$=R[
50],U=R[1];(0,b.useEffect)(function(){var J=s.children[0].id,q=g&&g[J]||[];$==null&&q.length>0&&jn.hi.loadFiles({ids:q}).then(function(X){U(X==null?void 0:X.map(function(re){return{name:re.originalName,uid:re.id,status:"done"}}))})},[g]);var Y=function(){var J=(0,Z0.Z)((0,on.Z)().mark(function q(X){var re,Ee,xe,Ze;return(0,on.Z)().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:re=X.onSuccess,Ee=X.onError,xe=X.file,Ze=X.onProgress,V.onUpload&&V.onUpload({file:xe,questionId:s.id,projectId:V.schema.id},function(Xe){Ze&&Ze({percent:Xe.loaded/Xe.total*100})}).then(function(Xe){if(Xe.success&&re&&re(Xe.data),!Xe.success&&Ee){var mt=new Error("Some error");Ee({event:mt})}});case 2:case"end":return De.stop()}},q)}));return function(X){return J.apply(this,arguments)}}(),K=function(q,X){if(U(q.fileList),(q.file.status==="removed"||q.file.status==="done")&&!q.fileList.find(function(Ee){return Ee.status!=="done"})){var re=q.fileList.filter(function(Ee){return Ee.status==="done"}).map(function(Ee){var xe;return((xe=Ee.response)===null||xe===void 0?void 0:xe.id)||Ee.uid});re.length===0?l(void 0):l((0,Jt.Z)({},X,re))}};return(0,o.jsx)("div",{children:A==null?void 0:A.map(function(J){var q=J.id,X=J.attribute,re=X===void 0?{}:X,Ee=[],xe=re.maxFileCount,Ze=re.maxFileSize,be=re.fileAccept,De=re.cameraOnly;return xe&&Ee.push("\u6700\u591A\u4E0A\u4F20".concat(xe,"\u4E2A")),Ze&&Ee.push("\u9650\u5236\u6BCF\u4E2A\u6587\u4EF6".concat(Ze,"M\u4EE5\u5185")),be&&Ee.push("\u4EC5\u652F\u6301\u6587\u4EF6\u7C7B\u578B\uFF1A".concat(be)),(0,o.jsxs)(B0,{multiple:!0,capture:De?"environment":void 0,disabled:f,maxCount:(re==null?void 0:re.maxFileCount)||20,accept:De?"image/*":void 0,beforeUpload:function(mt){return re!=null&&re.maxFileSize&&mt.size>re.maxFileSize*1024*1024?(Zn.default.error("\u6700\u5927\u53EA\u80FD\u4E0A\u4F20 ".concat(re.maxFileSize,"M \u5927\u5C0F\u7684\u6587\u4EF6")),Ct.Z.LIST_IGNORE):!0},customRequest:Y,onChange:function(mt){return K(mt,q)},fileList:$,children:[(0,o.jsx)("p",{className:"ant-upload-drag-icon",children:(0,o.jsx)(kn.Z,{})}),(0,o.jsx)("p",{className:"ant-upload-text",children:"\u9009\u62E9\u6216\u62D6\u62FD\u4E0A\u4F20\u6587\u4EF6"}),(0,o.jsx)("p",{className:"ant-upload-hint",style:{whiteSpace:"pre-line",wordBreak:"break-word",textAlign:"center"},children:Ee.join(",")})]},q)})})}(0,D.RM)("Upload",bn,"antdMobile");var ri=i(55686),oi=Dt.Z.Option;function Ti(j){var s=j.schema,l=j.onChange,g=j.value,f=g===void 0?{}:g,A=s.children,V=A===void 0?[]:A,P=V[0].id,R=(0,b.useState)([]),$=(0,t.Z)(R,2),U=$[0],Y=$[1];function K(X){P&&l((0,Jt.Z)({},P,X))}var J=(0,jn.zE)(function(X){jn.hi.userSelect({name:X,selected:f[P]||[]}).then(function(re){re.success&&Y(re.data)})},5),q=function(re){K(re?U.map(function(Ee){return Ee.userId}):void 0)};return(0,b.useEffect)(function(){var X;J(""),(X=s.children)===null||X===void 0||X.forEach(function(re){var Ee,xe=re.id;(Ee=re.attribute)!==null&&Ee!==void 0&&Ee.defaultChecked&&Object.keys(f).length===0&&l((0,Jt.Z)({},xe,!0))})},[]),(0,o.jsx)(Ut.Z,{children:(0,o.jsx)(Et.Z,{span:24,children:(0,o.jsx)(Dt.Z,{placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,filterOption:!1,mode:"multiple",onClear:function(){l(void 0)},value:f[P]||[],onSearch:J,showSearch:!0,onChange:K,dropdownRender:function(re){return(0,o.jsxs)("div",{children:[re,(0,o.jsx)(Ni.Z,{style:{margin:"4px 0"}}),(0,o.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",paddingLeft:10},children:(0,o.jsx)(Gn.Z,{onChange:function(xe){q(xe.target.checked)},children:"\u5168\u9009"})})]})},children:U.map(function(X){return(0,o.jsx)(oi,{value:X.userId,label:X.name,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{role:"img",style:{marginRight:10},children:(0,o.jsx)(ri.Z,{user:X,size:20})}),X.name," ",X.deptName&&"(".concat(X.deptName,")")]})},X.userId)})})})})}(0,D.RM)("User",Ti,"antdMobile");var l1=function(s){return(0,o.jsx)(o.Fragment,{children:s.children})},li=l1;(0,N.RM)("RichText",(0,b.lazy)(function(){return Promise.resolve().then(i.bind(i,80116))}),"antdMobile"),(0,N.uF)("Upload",(0,b.lazy)(function(){return Promise.all([i.e(4502),i.e(858)]).then(i.bind(i,90858))}),"antdMobile")},80116:function(r0,jt,i){"use strict";i.r(jt);var St=i(32059),le=i(94657),t=i(88851),N=i(3980),He=i(67294),G=i(54707),b=i(85893);function Le(D){var se=D.schema,o=D.onChange,Bt=D.value,e=Bt===void 0?{}:Bt,it=D.onBlur,Oe=se.children,z=(0,G.AK)("-body-question"),F=(0,He.useState)(e[se.children[0].id]),_=(0,le.Z)(F,2),ce=_[0],Ht=_[1],Dt=(0,G.Rk)(),Pe=(0,G.Al)(),dt=(0,He.useCallback)(function(yt,Je){o((0,St.Z)({},yt,Je))},[]);return(0,b.jsx)("div",{children:Oe==null?void 0:Oe.map(function(yt){var Je=yt.
5id;return(0,b.jsx)(t.Mf,{value:ce,onChange:function(Tt){return dt(Je,Tt)},onUpload:function(Tt){return N.hi.upload("/api/public/upload",{fileType:4,basePath:Dt.schema.id,file:Tt,questionId:se.id,projectId:Pe.schema.id})}},yt.id)})})}jt.default=Le},55686:function(r0,jt,i){"use strict";var St=i(11849),le=i(94233),t=i(51890),N=i(93224),He=i(89366),G=i(85893),b=["user"],Le=function(se){var o=se.user,Bt=(0,N.Z)(se,b);return!o||!o.avatar?(0,G.jsx)(t.C,(0,St.Z)({icon:(0,G.jsx)(He.Z,{}),size:Bt.size||"small"},Bt)):(0,G.jsx)(t.C,(0,St.Z)({src:"/api/public/preview/".concat(o.avatar),size:Bt.size||"small"},Bt))};jt.Z=Le},99884:function(r0,jt,i){"use strict";i.d(jt,{T:function(){return It},Z:function(){return Pt}});var St=i(57338),le=i(273),t=i(49111),N=i(19650),He=i(57663),G=i(71577),b=i(94657),Le=i(68068),D=i(3980),se=i(72850),o=i(67294),Bt=i(71194),e=i(50146),it=i(11849),Oe=i(18106),z=i(38222),F=i(26893),_=i(29656),ce=i(85893),Ht={lineWrapping:!0,lineNumbers:!1,autofocus:!1,placeholder:"\u8BF7\u5C06\u51C6\u5907\u597D\u7684\u6587\u6863\u6309\u7167\u793A\u4F8B\u683C\u5F0F\u590D\u5236\u7C98\u8D34\u5230\u8FD9\u91CC",readOnly:!0};function Dt(de){var oe;return de.id=(0,F.Ox)(),(oe=de.children)===null||oe===void 0||oe.forEach(function(me){me.id=(0,F.Ox)()}),{id:"demo",title:"",type:"Survey",children:[de]}}function Pe(de){var oe=de.title,me=de.schema,pe=de.text,Me=de.mode;return(0,ce.jsxs)("div",{className:"doc-item",children:[(0,ce.jsxs)("h3",{className:"doc-item-title",children:[oe,":"]}),(0,ce.jsxs)("div",{className:"doc-item-wrapper",children:[(0,ce.jsx)("div",{className:"doc-item-left",children:(0,ce.jsx)(_.Rt,{value:pe,options:Ht,editorDidMount:function(Rt){setTimeout(function(){Rt.refresh()},1)}})}),(0,ce.jsxs)("div",{className:"doc-item-right",children:[(0,ce.jsx)("div",{className:"tips",children:"\u9884\u89C8"}),(0,ce.jsx)(Le.Z,{schema:Dt(me),headerVisible:!1,footerVisible:!1,questionNumber:!1,progressBar:!1,mode:Me,correctAnswerVisible:Me==="exam"})]})]})]})}var dt=[{title:"\u6B22\u8FCE\u8BED",text:"\u611F\u8C22\u60A8\u80FD\u62BD\u51FA\u51E0\u5206\u949F\u65F6\u95F4\u6765\u53C2\u52A0\u672C\u6B21\u7B54\u9898\uFF0C\u73B0\u5728\u6211\u4EEC\u5C31\u9A6C\u4E0A\u5F00\u59CB\u5427\uFF01\u3010\u6B22\u8FCE\u8BED\u3011",schema:{id:"1",type:"Remark",title:"\u611F\u8C22\u60A8\u80FD\u62BD\u51FA\u51E0\u5206\u949F\u65F6\u95F4\u6765\u53C2\u52A0\u672C\u6B21\u7B54\u9898\uFF0C\u73B0\u5728\u6211\u4EEC\u5C31\u9A6C\u4E0A\u5F00\u59CB\u5427\uFF01\u3010\u6B22\u8FCE\u8BED\u3011"}},{title:"\u5355\u9009\u9898",text:`\u60A8\u7ECF\u5E38\u521B\u5EFA\u4EC0\u4E48\u7C7B\u578B\u7684\u9879\u76EE\uFF1F\u3010\u5355\u9009\u9898\u3011 6\u95EE\u5377\u8C03\u7814 7\u6295\u7968\u8BC4\u9009 8\u6D4B\u8BC4\u8003\u8BD5 9 `,schema:{type:"Radio",title:"\u60A8\u7ECF\u5E38\u521B\u5EFA\u4EC0\u4E48\u7C7B\u578B\u7684\u9879\u76EE\uFF1F",children:[{title:"\u95EE\u5377\u8C03\u7814"},{title:"\u6295\u7968\u8BC4\u9009"},{title:"\u6D4B\u8BC4\u8003\u8BD5"}]}},{title:"\u591A\u9009\u9898",text:`\u60A8\u4E86\u89E3\u8FC7\u54EA\u4E9B\u95EE\u5377\u7CFB\u7EDF\uFF1F\u3010\u591A\u9009\u9898\u3011 10 \u95EE\u5377\u7F51 11 \u95EE\u5377\u661F 12 \u91D1\u6570\u636E 13 \u5377\u738B 14 `,schema:{type:"Checkbox",title:"\u60A8\u4E86\u89E3\u8FC7\u54EA\u4E9B\u95EE\u5377\u7CFB\u7EDF\uFF1F",children:[{title:"\u95EE\u5377\u7F51"},{title:"\u95EE\u5377\u661F"},{title:"\u91D1\u6570\u636E"},{title:"\u5377\u738B"}]}},{title:"\u586B\u7A7A\u9898",text:"\u8BF7\u586B\u5199\u60A8\u7684\u95EE\u9898\u548C\u5EFA\u8BAE\u3010\u586B\u7A7A\u9898\u3011",schema:{type:"FillBlank",title:"\u8BF7\u586B\u5199\u60A8\u7684\u95EE\u9898\u548C\u5EFA\u8BAE",children:[{title:""}]}},{title:"\u591A\u884C\u6587\u672C\u9898",text:`\u8BF7\u586B\u5199\u60A8\u7684\u95EE\u9898\u548C\u5EFA\u8BAE\u3010\u591A\u884C\u6587\u672C\u9898\u3011 15 \u8EAB\u9AD8 16 \u4F53\u91CD 17 BMI 18 `,schema:{type:"MultipleBlank",title:"\u8BF7\u586B\u5199\u60A8\u7684\u95EE\u9898\u548C\u5EFA\u8BAE",children:[{title:"\u8EAB\u9AD8"},{title:"\u4F53\u91CD"},{title:"BMI"}]}},{title:"\u4E0B\u62C9\u9898",text:`\u6027\u522B\u3010\u4E0B\u62C9\u9898\u3011 19 \u7537 20 \u5973`,schema:{type:"Select",title:"\u6027\u522B",children:[{title:"\u7537"},{title:"\u5973"}]}},{title:"\u7B7E\u540D",text:"\u7B7E\u4E2A\u540D\u5427\uFF01\u3010\u7B7E\u540D\u3011",schema:{type:"Signature",title:"\u7B7E\u4E2A\u540D\u5427\uFF01",children:[{title:""}]}},{title:"\u6A2A\u5411\u586B\u7A7A",text:`\u8BF7\u586B\u5199\u60A8\u7684\u4E2A\u4EBA\u4FE1\u606F\uFF1F\u3010\u6A2A\u5411\u586B\u7A7A\u3011 21 \u59D3\u540D___\u5E74\u9F84___\u5C81 22 \u8054\u7CFB\u65B9\u5F0F____`,schema:{type:"HorzBlank",title:"\u8BF7\u586B\u5199\u60A8\u7684\u4E2A\u4EBA\u4FE1\u606F\uFF1F",attribute:{content:`\u59D3\u540D___\u5E74\u9F84___\u5C81 23 \u8054\u7CFB\u65B9\u5F0F____`},children:[{title:""},{title:""},{title:""}]}},{title:"\u7EA7\u8054\u9898",text:`\u7701\u5E02\u53BF\u3010\u7EA7\u8054\u9898\u3011 24 \u7701 \u5E02 \u53BF 25 \u5317\u4EAC\u5E02 \u6D77\u6DC0\u533A 26 \u5317\u4EAC\u5E02 \u897F\u57CE\u533A 27 \u6CB3\u5357\u7701 \u90D1\u5DDE\u5E02 \u7BA1\u57CE\u533A 28 \u6CB3\u5357\u7701 \u90D1\u5DDE\u5E02 \u9AD8\u65B0\u533A`,schema:{type:"Cascader",title:"\u5730\u533A",children:[{title:"\u7701",id:"6t
280l"},{title:"\u5E02",id:"1bdu"},{title:"\u53BF",id:"ie4u"}],dataSource:[{label:"\u5317\u4EAC\u5E02",value:"vv5k",children:[{label:"\u6D77\u6DC0\u533A",value:"55x3"},{label:"\u897F\u57CE\u533A",value:"dxg7"}]},{label:"\u6CB3\u5357\u7701",value:"fyx1",children:[{label:"\u90D1\u5DDE\u5E02",value:"qu6c",children:[{label:"\u7BA1\u57CE\u533A",value:"x7zs"},{label:"\u9AD8\u65B0\u533A",value:"t67i"}]}]}]}}],yt=[{title:"\u6B22\u8FCE\u8BED",text:"\u611F\u8C22\u60A8\u80FD\u62BD\u51FA\u51E0\u5206\u949F\u65F6\u95F4\u6765\u53C2\u52A0\u672C\u6B21\u7B54\u9898\uFF0C\u73B0\u5728\u6211\u4EEC\u5C31\u9A6C\u4E0A\u5F00\u59CB\u5427\uFF01\u3010\u6B22\u8FCE\u8BED\u3011",schema:{id:"1",type:"Remark",title:"\u611F\u8C22\u60A8\u80FD\u62BD\u51FA\u51E0\u5206\u949F\u65F6\u95F4\u6765\u53C2\u52A0\u672C\u6B21\u7B54\u9898\uFF0C\u73B0\u5728\u6211\u4EEC\u5C31\u9A6C\u4E0A\u5F00\u59CB\u5427\uFF01\u3010\u6B22\u8FCE\u8BED\u3011"}},{title:"\u586B\u7A7A\u9898",text:`\u5E8A\u524D\u660E\u6708\u5149______\u3010\u586B\u7A7A\u9898\u3011 29\u6B63\u786E\u7B54\u6848\uFF1A\u7591\u662F\u5730\u4E0A\u971C 30\u7B54\u6848\u89E3\u6790\uFF1A\u9759\u591C\u601D-\u674E\u767D`,schema:{type:"FillBlank",title:"\u5E8A\u524D\u660E\u6708\u5149",attribute:{examAnswerMode:"selectAll",examMatchRule:"completeSame",examScore:5},children:[{title:"",attribute:{examCorrectAnswer:"\u7591\u662F\u5730\u4E0A\u971C"}}]}},{title:"\u5224\u65AD\u9898",text:`1+1=3\uFF0810\u5206\uFF09\u3010\u5224\u65AD\u9898\u3011 31\u6B63\u786E 32\u9519\u8BEF\uFF08\u6B63\u786E\u7B54\u6848\uFF09 33 `,schema:{type:"Judge",title:"1+1=3",attribute:{examAnswerMode:"select",examScore:10},children:[{title:"\u6B63\u786E"},{title:"\u9519\u8BEF",id:"o111",attribute:{examCorrectAnswer:"o111",examScore:10}}]}},{title:"\u5355\u9009\u9898\uFF08\u65B9\u5F0F1\uFF09",text:`1+1=\uFF1F\uFF0810\u5206\uFF09\u3010\u5355\u9009\u9898\u3011 341 352\uFF08\u6B63\u786E\u7B54\u6848\uFF09 36\u7B54\u6848\u89E3\u6790\uFF1A\u592A\u7B80\u5355\u4E86 37\u6807\u7B7E\uFF1A\u7B80\u5355 38 `,schema:{type:"Radio",title:"1+1=\uFF1F",attribute:{examAnswerMode:"select",examScore:10},children:[{title:"1"},{title:"2",id:"o111",attribute:{examCorrectAnswer:"o111",examScore:10}}]}},{title:"\u5355\u9009\u9898\uFF08\u65B9\u5F0F2\uFF09",text:`1+1=\uFF1F\uFF0810\u5206\uFF09\u3010\u5355\u9009\u9898\u3011 391 402 41\u7B54\u6848\u89E3\u6790\uFF1A\u592A\u7B80\u5355\u4E86 42\u6B63\u786E\u7B54\u6848\uFF1AB 43\u6807\u7B7E\uFF1A\u7B80\u5355 44 `,schema:{type:"Radio",title:"1+1=\uFF1F",attribute:{examAnswerMode:"select",examScore:10},children:[{title:"1"},{title:"2",id:"o111",attribute:{examCorrectAnswer:"o111",examScore:10}}]}},{title:"\u591A\u9009\u9898",text:`\u5377\u738B\u591A\u9009\u9898\u652F\u6301\u54EA\u4E9B\u8BA1\u5206\u65B9\u5F0F\uFF1F\uFF0830\u5206\uFF09\u3010\u591A\u9009\u9898\u3011 45A.\u5168\u90E8\u7B54\u5BF9\u624D\u5F97\u5206\uFF08\u6B63\u786E\u7B54\u6848\uFF09 46B.\u7B54\u5BF9\u51E0\u9879\u5F97\u51E0\u5206\uFF0C\u7B54\u9519\u4E0D\u5F97\u5206\uFF08\u6B63\u786E\u7B54\u6848\uFF09 47C.\u6BCF\u4E2A\u9009\u9879\u90FD\u6709\u76F8\u5E94\u5206\u503C\uFF08\u6B63\u786E\u7B54\u6848\uFF09 48\u7B54\u6848\u89E3\u6790\uFF1A\u95EE\u5377\u7F51\u7CBE\u591A\u9009\u9898\u652F\u6301\u4E09\u79CD\u8BA1\u5206\u65B9\u5F0F 49 `,schema:{type:"Checkbox",title:"\u5377\u738B\u591A\u9009\u9898\u652F\u6301\u54EA\u4E9B\u8BA1\u5206\u65B9\u5F0F?",attribute:{examAnswerMode:"selectCorrect",examScore:10},children:[{title:"A.\u5168\u90E8\u7B54\u5BF9\u624D\u5F97\u5206",attribute:{examCorrectAnswer:"o11"}},{title:"B.\u7B54\u5BF9\u51E0\u9879\u5F97\u51E0\u5206\uFF0C\u7B54\u9519\u4E0D\u5F97\u5206",attribute:{examCorrectAnswer:"o11"}},{title:"C.\u6BCF\u4E2A\u9009\u9879\u90FD\u6709\u76F8\u5E94\u5206\u503C",attribute:{examCorrectAnswer:"o11"}}]}}],Je=z.Z.TabPane,Nt=function(oe){var me=oe.onClose;return(0,ce.jsx)(e.Z,{open:!0,onCancel:function(){return me()},footer:!1,title:"\u793A\u4F8B&\u5E2E\u52A9",width:750,maskClosable:!1,className:"import-text-doc-modal",children:(0,ce.jsxs)(z.Z,{children:[(0,ce.jsxs)(Je,{tab:"\u4E0D\u542B\u5206\u503C\u548C\u7B54\u6848(\u95EE\u5377)",children:[(0,ce.jsxs)("div",{"data-v-5d201132":"",className:"doc-desc",children:[(0,ce.jsx)("h3",{"data-v-5d201132":"",children:"\u683C\u5F0F\u8BF4\u660E\uFF1A"})," ",(0,ce.jsx)("p",{"data-v-5d201132":"",children:"1. \u9898\u76EE\u6807\u9898\u6700\u597D\u4EE5\u6570\u5B57\u5F00\u5934\uFF1B"}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"2. \u5EFA\u8BAE\u5728\u9898\u76EE\u540E\u9762\u6DFB\u52A0\u9898\u578B\u6807\u8BC6(\u4F7F\u7528\u3010\u3011)\uFF0C\u672A\u6807\u8BC6\u7684\u9898\u76EE\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8BC6\u522B\uFF1B"}),(0,ce.jsxs)("p",{"data-v-5d201132":"",children:["3. \u76EE\u524D\u53EF\u8BC6\u522B\u7684\u9898\u578B\u6807\u8BC6\u5305\u62EC\uFF1A",(0,ce.jsx)("span",{"data-v-5d201132":"",children:"\u3010\u6B22\u8FCE\u8BED\u3011\u3001"}),"\u3010\u5355\u9009\u9898\u3011\u3001\u3010\u591A\u9009\u9898\u3011\u3001\u3010\u7B7E\u540D\u9898\u3011\u3001\u3010\u4E0B\u62C9\u9898\u3011\u3001\u3010\u586
49B\u7A7A\u9898\u3011\u3001\u3010\u591A\u9879\u586B\u7A7A\u3011\u3001\u3010\u6A2A\u5411\u586B\u7A7A\u3011\u3001\u3010\u7EA7\u8054\u9898\u3011\u3001\u3010\u5907\u6CE8\u8BF4\u660E\u3011\uFF1B"]}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"4. \u5982\u679C\u65E0\u6CD5\u6B63\u786E\u8BC6\u522B\uFF0C\u8BF7\u5C1D\u8BD5\u5728\u9898\u76EE\u4E0E\u9898\u76EE\u4E4B\u95F4\u52A0\u5165\u7A7A\u884C\uFF1B"}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"5. \u8BF7\u52FF\u5728\u9009\u9879\u4E0E\u9009\u9879\u4E4B\u95F4\u7A7A\u884C\u3002"})]}),dt.map(function(pe){return(0,ce.jsx)(Pe,(0,it.Z)({},pe),pe.title)})]},"survey"),(0,ce.jsxs)(Je,{tab:"\u542B\u5206\u503C\u548C\u7B54\u6848(\u8003\u8BD5)",children:[(0,ce.jsxs)("div",{"data-v-5d201132":"",className:"doc-desc",children:[(0,ce.jsx)("h3",{"data-v-5d201132":"",children:"\u683C\u5F0F\u8BF4\u660E\uFF1A"})," ",(0,ce.jsx)("p",{"data-v-5d201132":"",children:"1. \u9898\u76EE\u6807\u9898\u6700\u597D\u4EE5\u6570\u5B57\u5F00\u5934\uFF1B"}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"2. \u5EFA\u8BAE\u5728\u9898\u76EE\u540E\u9762\u6DFB\u52A0\u9898\u578B\u6807\u8BC6(\u4F7F\u7528\u3010\u3011)\uFF0C\u672A\u6807\u8BC6\u7684\u9898\u76EE\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8BC6\u522B\uFF1B"}),(0,ce.jsxs)("p",{"data-v-5d201132":"",children:["3. \u76EE\u524D\u53EF\u8BC6\u522B\u7684\u9898\u578B\u6807\u8BC6\u5305\u62EC\uFF1A",(0,ce.jsx)("span",{"data-v-5d201132":"",children:"\u3010\u6B22\u8FCE\u8BED\u3011\u3001"}),"\u3010\u5355\u9009\u9898\u3011\u3001\u3010\u591A\u9009\u9898\u3011\u3001\u3010\u7B7E\u540D\u9898\u3011\u3001\u3010\u4E0B\u62C9\u9898\u3011\u3001\u3010\u586B\u7A7A\u9898\u3011\u3001\u3010\u591A\u9879\u586B\u7A7A\u3011\u3001\u3010\u6A2A\u5411\u586B\u7A7A\u3011\u3001\u3010\u7EA7\u8054\u9898\u3011\u3001\u3010\u5907\u6CE8\u8BF4\u660E\u3011\uFF1B"]}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"4. \u5982\u679C\u65E0\u6CD5\u6B63\u786E\u8BC6\u522B\uFF0C\u8BF7\u5C1D\u8BD5\u5728\u9898\u76EE\u4E0E\u9898\u76EE\u4E4B\u95F4\u52A0\u5165\u7A7A\u884C\uFF1B"}),(0,ce.jsx)("p",{"data-v-5d201132":"",children:"5. \u8BF7\u52FF\u5728\u9009\u9879\u4E0E\u9009\u9879\u4E4B\u95F4\u7A7A\u884C\u3002"})]}),yt.map(function(pe){return(0,ce.jsx)(Pe,(0,it.Z)((0,it.Z)({},pe),{},{mode:"exam"}),pe.title)})]},"exam")]})})},Tt=Nt;function nt(de,oe){for(var me,pe={type:"Survey",title:"",id:(0,F.Ox)(),attribute:{},children:[]},Me=de.split(/[\n\r]{2,}/g).filter(function(Rt){return Rt.trim()}),vt=0;vt<Me.length;vt++)vt===0&&oe?Q(Me[0],pe):ue(Me[vt]).forEach(function(Rt){ae(Rt,pe)});return pe.attribute.examScore=(me=pe.children)===null||me===void 0?void 0:me.reduce(function(Rt,Yt){var Qt;return Rt+(((Qt=Yt.attribute)===null||Qt===void 0?void 0:Qt.examScore)||0)},0),pe}function Q(de,oe){de.split(/[\n]+/).forEach(function(me,pe){pe===0?oe.title=me:oe.description=me.replace(/ã.*ã/,"")})}function ae(de,oe){var me;(me=oe.children)===null||me===void 0||me.push(Fe(de.split(/\n/g)))}function ue(de){var oe=de.split(/\n/g),me=[],pe=[];return oe.forEach(function(Me,vt){/^\d+[.ã]/i.test(Me.trim())?(pe.length>0&&(me.push(pe.join(` 50`)),pe=[]),pe.push(Me.replace(/^\d+[.ã]/,"").trim())):pe.push(Me.trim())}),pe.length>0&&me.push(pe.join(` 51`)),me.filter(function(Me){return Me.trim()})}function ne(de){var oe={optionLine:[],titleLine:"",correctAnswerLine:[],tagLine:[]};return de.map(function(me){return me.trim()}).forEach(function(me,pe){if(pe===0)oe.titleLine=me;else if(me.startsWith("\u7B54\u6848\u89E3\u6790"))oe.analysisLine=me.replace(/^çæ¡è§£æ[:ï¼]/,"").trim();else if(me.startsWith("\u6B63\u786E\u7B54\u6848")){var Me=me.replace(/^æ£ç¡®çæ¡[:ï¼]/,"").trim();Me&&oe.correctAnswerLine.push(Me)}else me.startsWith("\u6807\u7B7E")?oe.tagLine=me.replace(/^æ ç¾[:ï¼]/,"").trim().split(/[ã,]/).filter(function(vt){return vt}):me&&oe.optionLine.push(me)}),de[0].includes("\u3010\u5224\u65AD\u9898\u3011")&&(oe.optionLine.push("\u6B63\u786E","\u9519\u8BEF"),oe.correctAnswerLine[0]==="\u6B63\u786E"&&(oe.correctAnswerLine[0]="A"),oe.correctAnswerLine[0]==="\u9519\u8BEF"&&(oe.correctAnswerLine[0]="B")),oe}function Ce(de){var oe={title:""},me=de,pe=de.match(/[(ï¼]([\d\.]+)å[)ï¼]/);pe&&pe.length>1&&(oe.examScore=parseFloat(pe[1]),me=me.replace(pe[0],"").trim());var Me=de.match(/[ï¼(](æ£ç¡®çæ¡|[A-Z]+)[ï¼)]/);Me&&Me.length>1&&(oe.examCorrectAnswer=Me[1],me=me.replace(Me[0],"").trim()),de.indexOf("\u3010")>=0&&(me=me.substring(0,me.indexOf("\u3010")).trim());var vt=de.match(/^çæ¡è§£æ[:ï¼](.+)/);return vt&&vt.length>1&&(oe.examAnalysis=vt[1]),Me=de.match(/^æ£ç¡®çæ¡[:ï¼](.+)/),Me&&Me.length>1&&(oe.examCorrectAnswer=Me[1]),oe.title=me,oe}function Fe(de){var oe=ne(de),me=Be(oe.titleLine,oe.optionLine),pe=Ce(oe.titleLine),Me={id:(0,F.Ox)(),type:me,title:pe.title,tags:oe.tagLine,attribute:{examScore:pe.examScore,examAnalysis:oe.anal
51ysisLine},children:[]};if(me==="Radio"||me==="Select"){if(Me.attribute.examAnswerMode="onlyOne",oe.optionLine.forEach(function(m0){var ft,Kt,Gt=Ce(m0),gt=(0,F.Ox)();(ft=Me.children)===null||ft===void 0||ft.push({id:gt,type:"Option",title:Gt.title,attribute:{examCorrectAnswer:Gt.examCorrectAnswer?gt:void 0,examScore:Gt.examCorrectAnswer?(Kt=Me.attribute)===null||Kt===void 0?void 0:Kt.examScore:void 0}})}),oe.correctAnswerLine.length>0||pe.examCorrectAnswer){var vt=(oe.correctAnswerLine[0]||pe.examCorrectAnswer).toUpperCase().charCodeAt(0)-65,Rt=Me.children[vt];if(Rt){var Yt;Rt.attribute.examCorrectAnswer=Rt.id,Rt.attribute.examScore=(Yt=Me.attribute)===null||Yt===void 0?void 0:Yt.examScore}}}else if(me==="Checkbox"){if(Me.attribute.examAnswerMode="selectAll",oe.optionLine.forEach(function(m0){var ft,Kt=Ce(m0),Gt=(0,F.Ox)();(ft=Me.children)===null||ft===void 0||ft.push({id:Gt,type:"Option",title:Kt.title,attribute:{examCorrectAnswer:Kt.examCorrectAnswer?Gt:void 0}})}),oe.correctAnswerLine.length>0||pe.examCorrectAnswer)for(var Qt=(oe.correctAnswerLine[0]||pe.examCorrectAnswer).toUpperCase(),wt=0;wt<Qt.length;wt++){var Y0=Qt.charCodeAt(wt)-65,t0=Me.children[Y0];t0&&(t0.attribute.examCorrectAnswer=t0.id)}}else if(me==="FillBlank"){var Mt;Me.attribute.examAnswerMode="selectAll",Me.attribute.examMatchRule="completeSame";var K0=(0,F.Ox)();(Mt=Me.children)===null||Mt===void 0||Mt.push({id:K0,type:"Option",title:"",attribute:{}}),oe.correctAnswerLine&&oe.correctAnswerLine.forEach(function(m0,ft){var Kt=Me.children[ft];Kt&&(Kt.attribute.examCorrectAnswer=m0)})}else me==="HorzBlank"&&(Me.attribute.examAnswerMode="select",Me.attribute.content=oe.optionLine[0],oe.optionLine.slice(1).forEach(function(m0){var ft,Kt,Gt=Ce(m0),gt=(0,F.Ox)();(ft=Me.children)===null||ft===void 0||ft.push({id:gt,type:"Option",title:Gt.title,attribute:{examScore:Gt.examCorrectAnswer?(Kt=Me.attribute)===null||Kt===void 0?void 0:Kt.examScore:void 0}})}),oe.correctAnswerLine&&oe.correctAnswerLine.forEach(function(m0,ft){var Kt=Me.children[ft];Kt&&(Kt.attribute.examCorrectAnswer=m0)}));return Me}function Be(de,oe){var me=de.substring(de.lastIndexOf("\u3010")+1,de.lastIndexOf("\u3011")).trim();if(!me&&oe.length===0)return"FillBlank";switch(me){case"\u5355\u9009\u9898":return"Radio";case"\u591A\u9009\u9898":return"Checkbox";case"\u586B\u7A7A\u9898":return"FillBlank";case"\u5355\u884C\u6587\u672C\u9898":return"FillBlank";case"\u591A\u884C\u6587\u672C\u9898":return"MultipleBlank";case"\u4E0B\u62C9\u9898":return"Select";case"\u7B7E\u540D\u9898":return"Signature";case"\u6A2A\u5411\u586B\u7A7A":return"HorzBlank";case"\u6587\u672C\u63CF\u8FF0":return"Remark";case"\u7EA7\u8054\u9898":return"Cascader";case"\u5224\u65AD\u9898":return"Radio";default:return"Radio"}}var Se=i(88386),ke={lineWrapping:!0,lineNumbers:!1,autofocus:!0,placeholder:'\u8BF7\u5C06\u51C6\u5907\u597D\u7684\u6587\u6863\u6309\u7167\u793A\u4F8B\u683C\u5F0F\u590D\u5236\u7C98\u8D34\u5230\u8FD9\u91CC\uFF0C\u683C\u5F0F\u53C2\u8003"\u793A\u4F8B&\u5E2E\u52A9"'},Re=`\u9879\u76EE\u6807\u9898 52\u611F\u8C22\u60A8\u80FD\u62BD\u51FA\u51E0\u5206\u949F\u65F6\u95F4\u6765\u53C2\u52A0\u672C\u6B21\u7B54\u9898\uFF0C\u73B0\u5728\u6211\u4EEC\u5C31\u9A6C\u4E0A\u5F00\u59CB\u5427\uFF01\u3010\u6B22\u8FCE\u8BED\u3011 53 54 55`,$e=(0,o.forwardRef)(function(de,oe){var me=de.onChange,pe=(0,o.useState)(),Me=(0,b.Z)(pe,2),vt=Me[0],Rt=Me[1];(0,o.useImperativeHandle)(oe,function(){return{clear:function(){return vt==null?void 0:vt.setValue("")}}});var Yt=(0,o.useCallback)(function(wt,Y0){Rt(wt),me(de.defaultContent===void 0?Re:de.defaultContent),setTimeout(function(){wt.refresh(),wt.focus()},1)},[]),Qt=(0,o.useCallback)(function(){me(vt.getValue())},[vt]);return(0,ce.jsx)(_.Rt,{autoCursor:!0,value:de.defaultContent===void 0?Re:de.defaultContent,options:ke,editorDidMount:Yt,onChange:function(){Qt()}})}),Ve=i(5795),Ye=i(6936);function _e(de,oe){for(var me={type:"Survey",title:"",id:(0,F.Ox)(),children:[]},pe=de.split(/[\n\r]{2,}/g).filter(function(vt){return vt.trim()}),Me=0;Me<pe.length;Me++)Me===0&&oe?st(pe[0],me):$t(pe[Me]).forEach(function(vt){Lt(vt,me)});return me}
55function st(de,oe){de.split(/[\n]+/).forEach(function(me,pe){pe===0?oe.title=me:oe.description=me.replace(/ã.*ã/,"")})}function Lt(de,oe){var me,pe=de.split(/\n/g),Me=(0,Ve.Z)(pe),vt=Me[0],Rt=Me.slice(1),Yt=M0(vt,Rt),Qt={id:(0,F.Ox)(),type:Yt,title:vt.replace(/ã.*ã/,""),children:[]};(me=oe.children)===null||me===void 0||me.push(Qt),Yt==="QuestionSet"?g0(Rt,Qt):_t(Rt,Qt)}function $t(de){var oe=de.split(/\n/g),me=[],pe=[];return oe.forEach(function(Me,vt){/^\d+[.ã]/i.test(Me.trim())?(pe.length>0&&(me.push(pe.join(` 56`)),pe=[]),pe.push(Me.replace(/^\d+[.ã]/,"").trim())):pe.push(Me.trim())}),pe.length>0&&me.push(pe.join(` 57`)),me}function g0(de,oe){}function _t(de,oe){if(oe.type==="FillBlank"||oe.type==="Signature"){var me;(me=oe.children)===null||me===void 0||me.push({title:"",id:(0,F.Ox)()})}else if(oe.type==="Cascader"){if(de.length>1){var pe=(0,Ye.D)(de[0]),Me=(0,Ye.H)(de.slice(1));pe.forEach(function(Qt){var wt;(wt=oe.children)===null||wt===void 0||wt.push({title:Qt.title,id:(0,F.Ox)()})}),oe.dataSource=Me}}else if(oe.type==="HorzBlank"){if(de.length>0){var vt=de.join(` 58`).split(/_{3,}/).length-1;oe.attribute={content:de.join("<br/>")};for(var Rt=0;Rt<vt;Rt++){var Yt;(Yt=oe.children)===null||Yt===void 0||Yt.push({title:"\u586B\u7A7A".concat(Rt+1),id:(0,F.Ox)()})}}}else de==null||de.filter(function(Qt){return Qt.trim()}).forEach(function(Qt){var wt;(wt=oe.children)===null||wt===void 0||wt.push({title:Qt,id:(0,F.Ox)()})})}function M0(de,oe){var me=de.substring(de.lastIndexOf("\u3010")+1,de.lastIndexOf("\u3011")).trim();if(!me&&oe.length===0)return"FillBlank";switch(me){case"\u5355\u9009\u9898":return"Radio";case"\u591A\u9009\u9898":return"Checkbox";case"\u586B\u7A7A\u9898":return"FillBlank";case"\u5355\u884C\u6587\u672C\u9898":return"FillBlank";case"\u591A\u884C\u6587\u672C\u9898":return"MultipleBlank";case"\u4E0B\u62C9\u9898":return"Select";case"\u7B7E\u540D\u9898":return"Signature";case"\u6A2A\u5411\u586B\u7A7A":return"HorzBlank";case"\u6587\u672C\u63CF\u8FF0":return"Remark";case"\u7EA7\u8054\u9898":return"Cascader";default:return"Radio"}}var It=function(oe){var me=oe.onClose,pe=oe.mode,Me=pe===void 0?"survey":pe,vt=oe.okText,Rt=oe.onOk,Yt=oe.title,Qt=Yt===void 0?"\u5BFC\u5165\u6587\u672C":Yt,wt=oe.headerVisible,Y0=wt===void 0?!0:wt,t0=oe.footerVisible,Mt=t0===void 0?!0:t0,K0=oe.defaultContent,m0=(0,o.useRef)(null),ft=(0,o.useState)({}),Kt=(0,b.Z)(ft,2),Gt=Kt[0],gt=Kt[1],Vt=(0,o.useState)(!1),L0=(0,b.Z)(Vt,2),Zt=L0[0],Bn=L0[1],C0=(0,o.useRef)(),Mn=(0,D.zE)(function(n0){gt(Me==="exam"?nt(n0,Y0):_e(n0,Y0))},30);return(0,ce.jsxs)(le.Z,{open:!0,onClose:me,width:"100%",placement:"left",className:"import-text-drawer",closeIcon:!1,title:(0,ce.jsx)("span",{children:Qt}),autoFocus:!1,extra:(0,ce.jsxs)(N.Z,{children:[(0,ce.jsx)(G.Z,{onClick:me,children:"\u5173\u95ED"}),(0,ce.jsx)(G.Z,{type:"primary",onClick:function(){return Rt(Gt)},children:vt})]}),children:[(0,ce.jsxs)("div",{className:"text-header",children:[(0,ce.jsxs)("div",{className:"header-left",children:[(0,ce.jsx)("h3",{className:"header-left-title",children:"\u6587\u672C\u7F16\u8F91"}),(0,ce.jsx)("div",{children:(0,ce.jsxs)(N.Z,{children:[(0,ce.jsx)(G.Z,{type:"link",onClick:function(){Bn(!0)},children:"\u793A\u4F8B&\u5E2E\u52A9"}),(0,ce.jsx)(G.Z,{icon:(0,ce.jsx)(se.Z,{}),onClick:function(){var zt;return(zt=C0.current)===null||zt===void 0?void 0:zt.clear()},children:"\u6E05\u7A7A\u6587\u672C"})]})})]}),(0,ce.jsx)("div",{className:"header-right",children:(0,ce.jsx)("h3",{className:"header-right-title ",children:"\u9898\u76EE\u9884\u89C8"})})]}),(0,ce.jsxs)("div",{className:"text-body",children:[(0,ce.jsx)("div",{className:"editor-container",children:(0,ce.jsx)($e,{ref:C0,defaultContent:K0,onChange:function(zt){Mn(zt)}})}),(0,ce.jsx)("div",{className:"preview-container",children:(0,ce.jsx)(Le.O,{ref:m0,schema:Gt,headerVisible:Y0,footerVisible:Mt,paginationVisible:!1,mode:Me,correctAnswerVisible:!0})})]}),Zt&&(0,ce.jsx)(Tt,{onClose:function(){return Bn(!1)}})]})},Pt=It},81516:function(r0,jt,i){"use strict";i.r(jt),i.d(jt,{Template:function(){return ne},default:function(){return Ce},questionNameByType:function(){return ue}});var St=i(34792),le=i(48086),t=i(71194),N=i(50146),He=i(57663),G=i(71577),b=i(49111),Le=i(19650),D=i(66456),se=i(53831),o=i(39428),Bt=i(3182),e=i(11849),it=i(43358),Oe=i(34041),z=i(71153),F=i(60331),_=i(94657),ce=i(3980),Ht=i(49101),Dt=i(36450),Pe=i(91186),dt=i(80582),yt=i(67294),Je=i(57338),Nt=i(273),Tt=i(11628),nt=i(48501),Q=i(85893),ae=function(Be){var Se=Be.onClose,ke=Be.schema,Re=Be.onOk,$e="new",Ve=(0,ce.iZ)($e),Ye=(0,yt.useState)(),_e=(0,_.Z)(Ye,2),st=_e[0],Lt=_e[1];return(0,yt.useEffect)(function(){setTimeout(function(){Lt(!0)},1e3)},[]),(0,Q.jsx)(Nt.Z,{open:!0,width:"100%",onClose:Se,title:!1,push:!1,closable:!1,bodyStyle:{padding:"0px 5px"},children:(0,Q.jsx)(Tt.xI.Provider,{value:{id:$e,store:Ve},children:st&&(0,Q.jsx)(nt.default,(0,e.Z)({},Be))})})},ue={Radio:"\u5355\u9009\u9898",Checkbox:"\u591A\u9009\u9898",FillBlank:"\u5355\u884C\u6587\u672C\u9898",HorzBlank:"\u6A2A\u5411\u586B\u7A7A\u9898",Textarea:"\u591A\u884C\u6587\u672C\u9898",Select:"\u4E0B\u62C9\u9898",Address:"\u5730\u5740\u9898",Cascader:"\u7EA7\u8054\u9898",MultipleBlank:"\u591A\u9879\u586B\u7A7A\u9898",Dept:"\u90E8\u95E8\u9898",MatrixAuto:"\u77E9\u9635\u81EA\u589E\u9898",MatrixCheckbox:"\u77E9\u9635\u591A\u9009\u9898",MatrixFillBlank:"\u77E9\u9635\u586B\u7A7A\u9898",MatrixNps:"\u77E9\u9635\u91CF\u8868\u9898",MatrixRadio:"\u77E9\u9635\u5355\u9009\u9898",MatrixScore:"\u77E9\u9635\u6253\u5206\u9898",Nps:"Nps\u9898",Option:"\u9009\u9879",Pagination:"\u5206\u9875\u9898",QuestionSet:"\u95EE\u9898\u7EC4",Remark:"\u5907\u6CE8\u9898",Score:"\u6253\u5206\u9898",Signature:"\u7B7E\u540D\u9898",SplitLine:"\u5206\u5272\u7EBF\u9898",Survey:"\u95EE\u5377",Upload:"\u4E0A\u4F20\u9898",User:"\u7528\u6237\u9898",Barcode:"\u4E8C\u7EF4\u7801",RichText:"\u5BCC\u6587\u672C",Judge:"\u5224\u65AD\u9898"},ne=(0,dt.Pi)(function(Fe){var Be=Fe.repoId,Se=Fe.mode,ke=(0,ce.eM)(),Re=ke.templates,$e=(0,yt.useRef)(),Ve=(0,yt.useState)([]),Ye=(0,_.Z)(Ve,2),_e=Ye[0],st=Ye[1],Lt=(0,yt.useState)(),$t=(0,_.Z)(Lt,2),g0=$t[0],_t=$t[1],M0=[{dataIndex:"index",title:"\u5E8F\u53F7",valueType:"indexBorder",width:48},{title:"\u7C7B\u578B",dataIndex:"mode",valueType:"select",ellipsis:!0,fieldProps:{options:[{label:"\u8003\u8BD5",value:"exam"},{label:"\u95EE\u5377",value:"survey"}]},width:100},{title:"\u9898\u578B",dataIndex:"questionType",valueType:"select",valueEnum:ue,ellipsis:!0,width:150},{title:"\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:300},{title:"\u7B54\u6848",dataIndex:"answer",ellipsis:!0,hideInSearch:!0,width:250,render:function(Pt,de){var oe=de.template;return(0,ce.Ee)(oe)||"-"}},{title:"\u5206\u503C",dataIndex:"description",ellipsis:!0,hideInSearch:!0,width:100,render:function(Pt,de){var oe,me=de.template;return((oe=me.attribute)===null||oe===void 0?void 0:oe.examScore)||"-"}},{title:"\u6807\u7B7E",dataIndex:"tag",width:200,render:function(Pt){if(Pt==="-")return"-";var de=["magenta","volcano","orange","blue","geekblue","purple"];return(0,Q.jsx)(Q.Fragment,{children:Pt.map(function(oe,me){return(0,Q.jsx)(F.Z,{color:de[me],children:oe.toUpperCase()},oe)})})},renderFormItem:function(){return(0,Q.jsx)(Oe.Z,{mode:"tags"})}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createAt",search:!1,ellipsis:!0,width:200},{title:"\u64CD\u4F5C",valueType:"option",width:120,fixed:"right",render:function(Pt,de){return[(0,Q.jsx)("a",{onClick:function(){_t({mode:Se||de.mode,schema:{type:"Survey",title:"",children:[(0,e.Z)((0,e.Z)({},de.template),{},{id:de.id})]},updateOnly:!0})},children:"\u7F16\u8F91"},"readonly")]}}];return Se==="survey"&&M0.splice(4,2),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Pe.ZP,{columns:M0,actionRef:$e,dataSource:Re.list,bordered:!0,request:function(){var It=(0,Bt.Z)((0,o.Z)().mark(function Pt(de){return(0,o.Z)().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return me.abrupt("return",ke.loadTemplates((0,e.Z)((0,e.Z)({},de),{},{repoId:Be})));case 1:case"end":return me.stop()}},Pt)}));return function(Pt){return It.apply(this,arguments)}}(),rowSelection:{selections:[se.Z.SELECTION_ALL,se.Z.SELECTION_INVERT],onChange:function(Pt,de){st(Pt)}},tableAlertRender:function(Pt){var de=Pt.selectedRowKeys,oe=Pt.selectedRows,me=Pt.onCleanSelected;return(0,Q.jsx)(Le.Z,{size:24,children:(0,Q.jsxs)("span",{children:["\u5DF2\u9009 ",de.length," \u9879",(0,Q.jsx)("a",{style:{marginLeft:8},onClick:me,children:"\u53D6\u6D88\u9009\u62E9"})]})})},toolBarRender:function(){return Se!=="survey"&&Be?[(0,Q.jsx)(G.Z,{icon:(0,Q.jsx)(Ht.Z,{}),type:"primary",onClick:function(){_t({updateOnly:!1,mode:Se})},children:"\u6DFB\u52A0\u8BD5\u9898"},"button")]:[]},tableAlertOptionRender:function(){return(0,Q.jsxs)(Le.Z,{size:16,children:[(0,Q.jsx)("a",{onClick:function(){N.Z.confirm({title:"\u6279\u91CF\u5220\u9664\u95EE\u9898",content:"\u786E\u5B9A\u5220\u9664\u9009\u4E2D\u7684 ".concat(_e.length," \u6761\u6570\u636E\u5417\uFF1F"),okButtonProps:{danger:!0},okText:"\u5220\u9664",cancelText:"\u53D6\u6D88",onOk:function(){ce.hi.batchUnbindRepoTemplate(Be,_e).then(function(oe){if(oe.success){var me,pe;le.default.success("\u5220\u9664\u6210\u529F"),(me=$e.current)===null||me===void 0||me.reload(),(pe=$e.current)===null||pe===void 0||pe.clearSelected()}})}})},children:"\u6279\u91CF\u5220\u9664"}),(0,Q.jsx)("a",{onClick:function(){_t({mode:Se,schema:{id:"1",title:"22",type:"Survey",children:Re.list.filter(function(de){return _e.includes(de.id)}).map(function(de){var oe=de.template;return oe.id=de.id,oe})},updateOnly:!0})},children:"\u6279\u91CF\u7F16\u8F91"})]})},columnsState:{persistenceKey:"pro-table-exam-template",persistenceType:"localStorage"},rowKey:"id",search:{labelWidth:"auto"},pagination:{defaultPageSize:20},scroll:{x:650},dateFormatter:"string",headerTitle:"\u8BD5\u9898\u5217\u8868"}),g0&&(0,Q.jsx)(ae,(0,e.Z)({onClose:function(){return _t(void 0)},onOk:function(Pt){ce.hi.batchAddRepoTemplate({repoId:Be,templates:Pt.children.map(function(de){return{template:de,name:de.title,mode:"exam",id:g0.updateOnly?de.id:void 0}})}).then(function(de){if(de.success){var oe;le.default.success("\u7F16\u8F91\u6210\u529F"),_t(void 0),(oe=$e.current)===null||oe===void 0||oe.reload()}})}},g0))]})}),Ce=function(){return(0,Q.jsx)(Dt._z,{title:!1,children:(0,Q.jsx)(ne,{})})}},87057:function(r0,jt,i){"use strict";i.d(jt,{rN:function(){return Tt},Ph:function(){return F}});var St=i(77576),le=i(12028),t=i(20136),N=i(55241),He=i(67294),G=i(76826),b=i(56692),Le=i(17151),D=i(85893),se=i(77883);function o(Q){var ae=Q.value,ue=ae===void 0?1:ae,ne=Q.size,Ce=ne===void 0?"small":ne,Fe=Q.style,Be=Q.min,Se=Q.max,ke=Q.onChange;return _jsx(_InputNumber,{value:ue,style:Fe,size:Ce,min:Be,max:Se,onChange:function($e){return ke($e)}})}var Bt=i(47673);function e(Q){var ae=Q.value,ue=Q.size,ne=ue===void 0?"small":ue,Ce=Q.style,Fe=Q.onChange,Be=Q.antStyle,Se=Be===void 0?!0:Be,ke=Q.className,Re=Q.placeholder;return Se?_jsx(_Input,{value:ae,style:Ce,size:ne,className:ke,onChange:function(Ve){return Fe("".concat(Ve.target.value))}}):_jsx("input",{value:ae,style:Ce,className:ke,placeholder:Re,onChange:function(Ve){return Fe("".concat(Ve.target.value))}})}var it=i(43358),Oe=i(34041),z=Oe.Z.Option;function F(Q){var ae=Q.dataSource,ue=Q.onChange,ne=Q.size,Ce=ne===void 0?"small":ne,Fe=Q.style,Be=Q.allowClear,Se=Be===void 0?!0:Be,ke=Q.value,Re=(0,He.useRef)(null);return(0,D.jsx)("div",{ref:Re,children:(0,D.jsx)(Oe.Z,{getPopupContainer:function(){return Re.current},onChange:ue,size:Ce,style:Fe,allowClear:Se,value:ke,children:ae.map(function($e){return(0,D.jsx)(z,{value:$e.value,children:$e.text},$e.value)})})})}function _(Q){var ae=Q.size,ue=ae===void 0?"small":ae,ne=Q.value,Ce=Q.onChange;return _jsx(_Switch,{onChange:Ce,size:ue,checked:!!ne})}var ce=i(88983),Ht=i(66253),Dt=Ht.ZP.Group,Pe=Ht.ZP.Button;function dt(Q){var ae=Q.dataSource,ue=Q.onChange,ne=Q.size,Ce=ne===void 0?"small":ne,Fe=Q.style,Be=Q.value,Se=Q.initialValue;return _jsx(Dt,{defaultValue:Se,value:Be,onChange:function(Re){return ue(Re.target.value)},size:Ce,style:Fe,buttonStyle:"solid",children:ae.map(function(ke){return _jsx(Pe,{value:ke.value,children:ke.text},ke.value)})})}var yt=i(11849),Je=i(88851),Nt=i(12477),Tt=(0,b.Gr)(function(Q){var ae=Q.divMode,ue=(0,Nt.Tv)(),ne=Q.value,Ce=Q.size,Fe=Ce===void 0?"middle":Ce,Be=Q.style,Se=Be===void 0?{}:Be,ke=Q.onChange,Re=Q.onBlur,$e=Q.className,Ve=Q.placeholder,Ye=Q.hasError,_e=Q.innerStyle,st=Q.bounds,Lt=Q.onChangeSelection,$t=Q.excludeToolbars,g0=Q.includeToolbars,_t=(0,yt.Z)({border:"1px solid #d9d9d9",borderRadius:4},Se);return(0,D.jsx)(Je.ZP,{size:Fe,value:ne,style:ae?_t:Se,innerStyle:_e,className:$e,hasError:Ye,placeholder:Ve,onChange:ke,onBlur:function(It,Pt){Re==null||Re(It,Pt)},bounds:st,onChangeSelection:Lt,excludeToolbars:$t,includeToolbars:g0})}),nt=(0,b.Gr)(function(Q){var ae=Q.className,ue=ae===void 0?"setting-item":ae,ne=Q.value,Ce=Q.size,Fe=Ce===void 0?"small":Ce,Be=Q.icon,Se=Q.iconStyle,ke=Se===void 0?{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}:Se,Re=Q.title,$e=Q.popoverContent,Ve=(0,He.useContext)(G.Y7),Ye=Ve.getContainer;return(0,D.jsxs)("div",{className:ue,children:[(0,D.jsxs)("span",{children:[Re,$e&&(0,D.jsx)(N.Z,{getPopupContainer:Ye,content:(0,D.jsx)("div",{children:$e}),children:Be&&(0,D.jsx)(Le.MT,{infer:Be,style:ke})})]}
58),(0,D.jsx)(le.Z,{size:Fe,onChange:Q.onChange,checked:ne})]})})},56692:function(r0,jt,i){"use strict";i.d(jt,{Gr:function(){return b},rN:function(){return G.rN},Ph:function(){return G.Ph}});var St=i(83279),le=i(11849),t=i(9761),N=i(67294),He=i(85893),G=i(87057);function b(Le,D){return function(se){var o=se.name||(D==null?void 0:D.name);if(!o)throw new Error("field name \u672A\u5B9A\u4E49");var Bt=(0,N.useMemo)(function(){return(0,t.$j)(Le,(0,t.jM)(function(e,it){return(0,le.Z)((0,le.Z)({},e),{},{onChange:function(z){it.onInput(z)},hasError:it.errors.length>0})}))},[]);return(0,He.jsx)(t.gN,(0,le.Z)((0,le.Z)((0,le.Z)({},se),D),{},{name:o,component:[Bt,se],reactions:[function(e){var it=se.syncDisplay;it&&(typeof it=="string"||typeof it=="object"&&Object.keys(it).forEach(function(_){var ce=e.query(e.path.parent().concat(_)),Ht=ce.get("value");it[_].includes(Ht)?e.display="visible":e.display="none"}));var Oe=se.mirrorFieldAddress;if(Oe){var z=e.query(Oe),F=z.get("value");F?e.visible=!0:z.take()!==void 0&&(e.visible=!1)}}].concat((0,St.Z)(se.reactions||[]))}))}}},17321:function(r0,jt,i){"use strict";i.d(jt,{T:function(){return t}});var St=i(67294),le=i(76826);function t(){return(0,St.useContext)(le.Gb)}},48501:function(r0,jt,i){"use strict";i.r(jt),i.d(jt,{SurveyEditor:function(){return K1},default:function(){return cr}});var St=i(34792),le=i(48086),t=i(3980),N=i(9761),He=i(94184),G=i.n(He),b=i(67294),Le=i(26893),D=i(12477),se=i(94657),o=i(29656),Bt=i(96876),e=i(85893),it={mode:"application/json",lineWrapping:!0,lineNumbers:!0},Oe=(0,N.Pi)(function(){var c=(0,D.cF)(),a=(0,b.useState)(),n=(0,se.Z)(a,2),h=n[0],C=n[1],x=(0,D.AK)("main-panel-content"),y=(0,b.useRef)(),p=function(w,L){C(w)},S=(0,b.useCallback)(function(){clearTimeout(y.current),y.current=window.setTimeout(function(){return c.from(JSON.parse(h.getValue()))},1e3)},[h]);return(0,e.jsx)("div",{className:x+"-json-preview",children:(0,e.jsx)(o.Rt,{autoCursor:!1,value:JSON.stringify(c.serialize(),null," "),options:it,editorDidMount:p,onChange:function(){S()}})})}),z=i(76826),F=i(17151),_=i(11849),ce=i(58802),Ht=i(49111),Dt=i(19650),Pe=i(11628),dt=i(40807),yt=(0,N.Pi)(function(c){var a,n=c.visible,h=(0,b.useContext)(z.rU),C=h.operation,x=(0,b.useContext)(z.Gb),y=x.node,p=x.isFocus,S=(0,t.dD)(),B=(0,Pe.IE)(),w=y.children.find(function(H){var Z;return!!((Z=H.form.values.attribute)!==null&&Z!==void 0&&Z.calculate)}),L=(a=y.form.values.attribute)===null||a===void 0?void 0:a.visibleRule,k=(0,dt.a1)(y.type);return(0,e.jsx)("div",{className:G()("actions",{focus:p||n},S?"mobile":"pc"),children:(0,e.jsxs)(Dt.Z,{children:[(0,e.jsx)(F.MT,{infer:"Drag",className:G()("actionIcon","drag-handle",{visible:n}),tooltip:"\u957F\u6309\u62D6\u52A8"}),(0,e.jsx)(F.MT,{infer:"Logic",className:G()("actionIcon",{visible:n,active:!!L}),tooltip:"\u903B\u8F91\u8BBE\u7F6E",onClick:function(Z){Z.stopPropagation(),C.switchFocusNode(y),setTimeout(function(){return y.form.values.attribute._visibleRule=!0},20)}}),w&&(0,e.jsx)(F.MT,{infer:"Function",className:G()("actionIcon",{active:!0}),tooltip:"\u8BA1\u7B97\u516C\u5F0F",onClick:function(Z){Z.stopPropagation(),w&&(C.switchFocusNode(w),setTimeout(function(){return w.form.values.attribute._calculate=!0},20))}}),(0,e.jsx)(F.MT,{infer:"Copy",className:G()("actionIcon",{visible:n}),tooltip:"\u590D\u5236",onClick:function(Z){Z.stopPropagation(),C.copyNode(y)}}),(0,e.jsx)(F.MT,{infer:"Delete",className:G()("actionIcon",{visible:n}),tooltip:"\u5220\u9664",onClick:function(Z){Z.stopPropagation(),C.removeNodes(y)}}),k&&(0,e.jsx)(F.MT,{infer:"QuestionTemplate",className:G()("actionIcon",{visible:n}),tooltip:"\u6DFB\u52A0\u5230\u9898\u5E93",onClick:function(Z){Z.stopPropagation(),B.currentSchema=y.serialize()}})]})})}),Je=i(56692),Nt=(0,N.Pi)(function(){var a,n=(0,N.cI)(),h=((a=n.values)===null||a===void 0?void 0:a.description)!==void 0;return(0,e.jsx)("div",{className:"q-desc-wrap",style:{padding:"0 0 10px 25px",color:"rgba(0,0,0,0.6)"},children:(0,e.jsx)(Je.rN,{name:"description",display:h?"visible":"none",style:{minWidth:120,width:"auto",marginLeft:5},initialValue:"\u8BF7\u8F93\u5165\u9898\u5E72\u8BF4\u660E",mirrorFieldAddress:"_description",placeholder:"\u8BF7\u8F93\u5165\u9898\u5E72\u8BF4\u660E"})})}),Tt=i(71153),nt=i(60331),Q=i(43358),ae=i(34041),ue=i(17321);
58function ne(c){var a=c.value,n=c.onChange;return(0,e.jsx)("div",{style:{padding:"4px 24px"},children:(0,e.jsx)(ae.Z,{mode:"tags",value:a||[],style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u6807\u7B7E",onChange:function(C){n(C)}})})}var Ce=function(){return(0,e.jsx)(N.gN,{name:"tags",component:[ne]})},Fe=["blue","red","volcano","orange","gold","purple","geekblue","magenta"],Be=(0,N.Pi)(function(){var c=(0,ue.T)(),a=c.node.form.values.tags||[];return(0,e.jsx)("div",{className:"tags",children:a.map(function(n,h){return(0,e.jsx)(nt.Z,{color:Fe[h],children:n},n)})})}),Se=i(91220),ke=i(83279),Re=i(11562);function $e(){var c,a,n,h=(0,N.cI)(),C=(0,b.useContext)(z.Gb),x=C.node,y=(0,D.jE)(),p=y.mode,S=(0,D.Tv)(),B=x.form.values,w=B.title,L=(c=B.attribute)===null||c===void 0?void 0:c.examAnswerMode,k=(a=B.attribute)===null||a===void 0?void 0:a.required,H=(n=B.attribute)===null||n===void 0?void 0:n.examScore,Z=(0,b.useRef)();return(0,b.useEffect)(function(){var ee,ve;if(x.type==="HorzBlank"){for(var Ae=[],ze=w.split(/_{3,}/).length-1,fe=0;fe<ze;fe++)Ae.push({title:"\u586B\u7A7A".concat(fe+1),attribute:{fieldInTitle:!0}});var ct=((ee=x.serialize().children)===null||ee===void 0?void 0:ee.filter(function(ht){var ie;return(ie=ht.attribute)===null||ie===void 0?void 0:ie.fieldInTitle}))||[];ct.forEach(function(ht,ie){Ae[ie]&&(Ae[ie]=ht)}),Ae.push.apply(Ae,(0,ke.Z)(((ve=x.serialize().children)===null||ve===void 0?void 0:ve.filter(function(ht){var ie;return!((ie=ht.attribute)!==null&&ie!==void 0&&ie.fieldInTitle)}))||[])),S.batchReplaceNode(Ae,x)}},[w]),(0,e.jsxs)("div",{className:"q-title-wrap",onClick:function(ve){Z.current&&ve.stopPropagation()},children:[(0,e.jsx)("div",{className:"q-seq",children:(0,e.jsx)("b",{children:x.index+1})}),k&&(0,e.jsx)("span",{className:"required",children:"*"}),(0,e.jsx)(Re.M,{style:{width:"80%"},innerStyle:{fontSize:"17px"},bounds:'[data-id="'.concat(x.id,'"]'),readonlyStyle:{fontSize:17,padding:"6px 11px 4px 12px"},onChangeSelection:function(ve,Ae){if(x.type==="HorzBlank"){var ze=RegExp("_{3,}","g"),fe=Ae.matchAll(ze),ct=0;Z.current=!1;var ht=(0,Se.Z)(fe),ie;try{for(ht.s();!(ie=ht.n()).done;){var we=ie.value,rt=we.index,ut=we.index+we[0].length;ve>rt&&ve<ut&&(S.switchFocusNode(x.children[ct]),Z.current=!0),ct++}}catch(ot){ht.e(ot)}finally{ht.f()}}}}),p==="exam"&&L!=="none"&&(0,e.jsxs)("span",{className:"q-score",children:["(\u6700\u9AD8\u5206\u503C: ",H," \u5206)"]})]})}var Ve=(0,N.Pi)($e),Ye=(0,z.JH)();function _e(c){var a,n=c.node,h=n.type,C=(0,D.jE)(),x=C.mode,y=C.updateOnly,p=(a=n.form.values.attribute)===null||a===void 0?void 0:a.examAnswerMode,S=(0,D.Tv)(),B=(0,D.Mq)(n),w=(0,se.Z)(B,3),L=w[0],k=w[1],H=w[2],Z=n.focus||n.type!=="QuestionSet"&&n.children.filter(function(ve){return ve.focus===!0}).length>0,ee=(0,b.useRef)(null);return(0,e.jsx)(ce.Gb.Provider,{value:(0,b.useMemo)(function(){return{node:n,getContainer:function(){return H.current},isFocus:Z,isHover:L}},[Z,n,L]),children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({className:G()("question",{focus:Z,hover:n.type!=="QuestionSet"&&L})},k),{},{ref:function(Ae){H.current=Ae},"data-id":n.id,children:[(0,e.jsxs)("div",{className:"q-content-wrap",ref:ee,children:[!n.isVoid&&(0,e.jsxs)(e.Fragment,{children:[Ye.questionTitles[h]?b.createElement(Ye.questionTitles[h],{node:n}):(0,e.jsx)(Ve,{}),(0,e.jsx)(Nt,{})]}),(0,e.jsx)("div",{className:"q-content",children:h&&Ye.questionTypes[h]&&b.createElement(Ye.questionTypes[h],{node:n})}),Z&&(0,e.jsx)("div",{className:"q-operation",children:h&&Ye.questionOperations[h]&&b.createElement(Ye.questionOperations[h])}),Z&&x==="exam"&&(0,e.jsx)(Ce,{})]}),x==="exam"&&p!=="none"&&(0,e.jsx)(N.gN,{name:"examScore",basePath:"attribute"}),(0,e.jsx)(F.Ws,{}),!Z&&x==="exam"&&(0,e.jsx)(Be,{}),n.actionVisible&&!y&&(0,e.jsx)("div",{className:"action-wrapper",children:(0,e.jsx)(yt,{visible:Z||L})})]}))})}var st=(0,N.Pi)(_e),Lt=(0,z.JH)(),$t=(0,N.Pi)(function(){var c,a,n=(0,b.useContext)(z.rU),h=n.operation,C=(0,D.AR)(),x=C.children,y=((c=x[0])===null||c===void 0?void 0:c.type)==="Pagination",p=(a=C.form.values.attribute)===null||a===void 0?void 0:a.backgroundImage,S=(0,b.useState)(!1),B=(0,se.Z)(S,2),w=B[0],L=B[1],k=(0,b.useState)([]),H=(0,se.Z)(k,2),Z=H[0],ee=H[1];return(0,b.useEffect)(function(){console.log("render nodes async..."),L(!0),setTimeout(function(){ee(x),L(!1)})},[x]),(0,e.jsx)(F.RV,{form:C.form,children:(0,e.jsx)("div",{className:"editor-wrapper",style:{backgroundColor:"rgb(255, 255, 255)",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center top",backgroundImage:p?"url(/api/public/preview/".concat(p,")"):"none"},children:(0,e.jsxs)("div",{className:"editor",children:[(0,e.jsx)(c0,{}),(0,e.jsxs)("div",{children:[w&&(0,e.jsx)("div",{style:{textAlign:"center",padding:20},children:"\u52A0\u8F7D\u4E2D..."}),(0,e.jsxs)(F.W2,{groupName:"1",dragHandleSelector:".drag-handle",dropPlaceholder:{className:"drop-placeholder",errorClassName:"error-drop-placeholder"},getGhostParent:function(){return document.body},getChildPayload:function(Ae){return{node:x[Ae]}},onDropOver:function(Ae){var ze=Ae.addedIndex,fe=Ae.removedIndex;return!(ze===0&&y)},onDrop:function(Ae){var ze=Ae.addedIndex,fe=Ae.payload;ze!=null&&(fe&&fe.type?h.dropAddNode(C,{addedIndex:ze,type:fe.type,name:fe.name}):fe&&fe.node?h.dropSortNode(fe.node,C,ze):fe&&fe.template&&h.dropAddNode(C,{addedIndex:ze,template:fe.template}))},children:[(0,e.jsx)(F.Sq,{}),(0,e.jsx)(F.XG,{}),Z.map(function(ve){return!ve.type||!Lt.questionTypes[ve.type],(0,e.jsx)(F._l,{children:(0,e.jsx)(F.RV,{form:ve.form,children:(0,e.jsx)(st,{node:ve})},ve.id)},ve.id)})]})]}),(0,e.jsx)(jr,{})]})})})});(0,z.RY)("Survey",$t);var g0=i(20310),_t=i(61233),M0=i(20136),It=i(55241),Pt=i(47673),de=i(4107),oe=function(a){return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},a),{},{innerComponent:function(h){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(de.Z,{size:"small",value:h.value,style:a.innerStyle,onChange:h.onChange}),h.subTitle]})}}))},me=i(77883),pe=i(85986),Me=function(a){return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},a),{},{innerComponent:function(h){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(pe.Z,{size:"small",min:a.min,max:a.max,step:a.step,value:h.value,style:a.innerStyle,onChange:h.onChange}),h.subTitle]})}}))},vt=i(88851),Rt=function(a){var n=a.size,h=n===void 0?"middle":n,C=a.style,x=C===void 0?{border:"1px solid #d9d9d9"}:C,y=a.className,p=a.placeholder,S=a.hasError,B=a.innerStyle,w=a.bounds,L=a.onChangeSelection;return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},a),{},{innerComponent:function(H){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(vt.Bn,{size:h,excludeToolbars:["size","italic","clean"],value:H.value,style:x,innerStyle:B,className:y,hasError:S,placeholder:p,onChange:H.onChange,boun
58ds:w,onChangeSelection:L}),H.subTitle]})}}))},Yt=i(93224),Qt=["dataSource"],wt=function(a){var n=a.dataSource,h=(0,Yt.Z)(a,Qt),C=(0,b.useContext)(z.rU),x=C.getContainer;return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},h),{},{innerComponent:function(p){return(0,e.jsx)(ae.Z,{getPopupContainer:x,size:"small",options:n,value:p.value,style:a.innerStyle,onChange:p.onChange,allowClear:!0})}}))},Y0=i(77576),t0=i(12028),Mt=function(a){return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},a),{},{innerComponent:function(h){return(0,e.jsx)(t0.Z,{size:h.size,onChange:function(x){a.valueConverter?h.onChange(a.valueConverter(x)):h.onChange(x)},checked:!!h.value})}}))},K0=["dataSource"],m0=function(a){var n=a.dataSource,h=(0,Yt.Z)(a,K0),C=(0,b.useContext)(z.rU),x=C.getContainer;return(0,e.jsx)(ft,(0,_.Z)((0,_.Z)({},h),{},{innerComponent:function(p){return(0,e.jsx)(ae.Z,{mode:"tags",getPopupContainer:x,size:"small",options:n,value:p.value&&p.value.split(","),style:a.innerStyle,onChange:function(B){B&&B.length>0?p.onChange(Array.from(new Set(B.map(function(w){return w.trim().startsWith(".")?w.trim():".".concat(w.trim())}))).join(",")):p.onChange(void 0)}})}}))},ft=(0,z.Gr)(function(c){var a=c.className,n=a===void 0?"setting-item":a,h=c.value,C=c.size,x=C===void 0?"small":C,y=c.icon,p=c.iconStyle,S=p===void 0?{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}:p,B=c.title,w=c.popoverContent,L=c.subTitle,k=c.style,H=(0,b.useContext)(z.Y7),Z=H.getContainer;return(0,e.jsxs)("div",{className:n,style:k,children:[(0,e.jsxs)("span",{children:[B,w&&(0,e.jsx)(It.Z,{getPopupContainer:Z,content:(0,e.jsx)("div",{children:w}),children:(0,e.jsx)(F.MT,{infer:y||"QuestionCircle",style:S||{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})})]}),c.innerComponent?b.createElement(c.innerComponent,{onChange:c.onChange,value:h,size:x,subTitle:L}):""]})}),Kt=[{value:"text",text:"\u4E0D\u9650"},{value:"number",text:"\u6570\u5B57"},{value:"date",text:"\u65E5\u671F"},{value:"email",text:"\u90AE\u7BB1"},{value:"mobile",text:"\u624B\u673A\u53F7"},{value:"idCard",text:"\u8EAB\u4EFD\u8BC1\u53F7"},{value:"select",text:"\u4E0B\u62C9\u5355\u9009"},{value:"selectDict",text:"\u4E0B\u62C9\u5B57\u5178"},{value:"chinese",text:"\u4E2D\u6587"},{value:"alphabet",text:"\u5B57\u6BCD"},{value:"horzBlank",text:"\u6A2A\u5411\u586B\u7A7A"}],Gt=function(a){return(0,e.jsx)(wt,{dataSource:(a.dataSource||Kt).filter(function(n){return a.excludeTypes?!a.excludeTypes.includes(n.value):!0}).map(function(n){return{label:n.text,value:n.value}}),name:"dataType",title:"\u5185\u5BB9\u9650\u5236",innerStyle:{width:130}})},gt=function(){return(0,e.jsx)(Mt,{title:"\u5FC5\u586B",name:"required"})},Vt=function(){return(0,e.jsx)(Mt,{title:"\u9ED8\u8BA4\u9690\u85CF",name:"display",popoverContent:(0,e.jsxs)("span",{children:["\u95EE\u9898\u5728\u95EE\u5377\u663E\u793A\uFF0C\u4F46\u4F1A\u663E\u793A\u5728\u7B54\u6848\u91CC\uFF0C\u901A\u5E38\u7ED3\u5408"," ",(0,e.jsx)("a",{href:"https://surveyking.cn/help/setting/url-paramster",target:"_blank",children:"\u81EA\u5B9A\u4E49\u94FE\u63A5\u53C2\u6570\u9884\u586B\u7B54\u6848"})," ","\u4F7F\u7528"]}),valueConverter:function(n){if(n)return"hidden"}})},L0=function(){return(0,e.jsx)(Me,{name:"columns",title:"\u9009\u9879\u5E03\u5C40",min:1,max:6,popoverContent:"\u5F53\u524D\u95EE\u9898\u7684\u9009\u9879\u6392\u6210\u51E0\u5217",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})},Zt=i(80582),Bn=i(71194),C0=i(50146),Mn=i(27484),n0=i.n(Mn),zt=i(87310),O0=i(3044),V0=ae.Z.Option;function Yn(c){var a=c.onChange,n=c.value,h=n===void 0?"":n,C=c.type,x=(0,b.useContext)(ce.rU),y=x.getContainer,p=h.match(/\(|\)|\[|\]|[T\d.+-]+/g)||[],S=(0,b.useState)(!1),B=(0,se.Z)(S,2),w=B[0],L=B[1],k=(0,b.useState)(p[0]||"("),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=(0,b.useState)(p[3]||")"),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(0,b.useState)(p[1]),ht=(0,se.Z)(ct,2),ie=ht[0],we=ht[1],rt=(0,b.useState)(p[2]),ut=(0,se.Z)(rt,2),ot=ut[0],qt=ut[1],u0=1,At=0;if(p[1]==="T")u0=2;else if(p[1]&&/T-\d+/.test(p[1])){u0=3;var Ot=p[1].match(/\d+/g),f0=(0,se.Z)(Ot,1);At=f0[0]}else p[1]&&/\d+-\d+-\d+/.test(p[1])&&(u0=1);var y0=(0,b.useState)(u0),Sn=(0,se.Z)(y0,2),Un=Sn[0],dr=Sn[1],pi=1,vr=0;if(p[2]==="T")pi=2;else if(p[2]&&/T\+\d/.test(p[2])){pi=3;var G1=p[2].match(/\d+/g),hr=(0,se.Z)(G1,1);vr=hr[0]}else p[2]&&/\d+-\d+-\d+/.test(p[2])&&(pi=1);var J1=(0,b.useState)(pi),qi=(0,se.Z)(J1,2),mn=qi[0],fr=qi[1],mr=(0,b.useState)(At),X1=(0,se.Z)(mr,2),u=X1[0],r=X1[1],d=(0,b.useState)(vr),v=(0,se.Z)(d,2),m=v[0],E=v[1],M="YYYY-MM-DD";(0,b.useEffect)(function(){C==="date"&&!!ie&&!!ot&&!isNaN(ie)&&!isNaN(ot)&&(qt(void 0),we(void 0),a(void 0))},[C]);var T=function(){var I,W;Un===1&&(I=ie),Un===2&&(I="T"),Un===3&&(I="T-".concat(u)),mn===1&&(W=ot),mn===2&&(W="T"),mn===3&&(W="T+".concat(m)),a("".concat(Z).concat(I,",").concat(W).concat(ze)),L(!1)};return(0,e.jsxs)("span",{children:[(0,e.jsx)("a",{onClick:function(){return L(!0)},children:h?"\u5DF2\u8BBE\u7F6E":"\u672A\u8BBE\u7F6E"}),(0,e.jsxs)(C0.Z,{title:"\u8303\u56F4\u8BBE\u7F6E",open:w,onOk:T,width:800,getContainer:y,onCancel:function(){return L(!1)},children:[(0,e.jsxs)("div",{children:["\u6700\u5C0F\u503C\uFF1A",(0,e.jsxs)(ae.Z,{getPopupContainer:y,value:Un,style:{width:200,marginRight:15},onChange:function(I){return dr(I)},children:[(0,e.jsx)(V0,{value:1,children:"\u5177\u4F53\u65E5\u671F"}),(0,e.jsx)(V0,{value:2,children:"\u7B54\u5377\u5F53\u5929\u65E5\u671F"}),(0,e.jsx)(V0,{value:3,children:"\u7B54\u5377\u65E5\u671F\u524Dx\u5929"})]}),Un===1&&(0,e.jsx)(O0.Mt,{getPopupContainer:y,format:"YYYY-MM-DD",value:!(0,zt.JY)(ie)||!/\d+-\d+-\d+/.test(ie)?void 0:n0()(ie,M),onChange:function(I,W){we(W)}}),Un===3&&(0,e.jsx)(pe.Z,{precision:0,onChange:function(I){return r(I)},style:{width:200},value:u}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}
58),(0,e.jsx)(t0.Z,{onChange:function(I){return ee(I?"[":"(")},defaultChecked:Z==="["})]}),(0,e.jsxs)("div",{style:{marginTop:10},children:["\u6700\u5927\u503C\uFF1A",(0,e.jsxs)(ae.Z,{defaultValue:mn,style:{width:200,marginRight:15},onChange:function(I){return fr(I)},getPopupContainer:y,children:[(0,e.jsx)(V0,{value:1,children:"\u5177\u4F53\u65E5\u671F"}),(0,e.jsx)(V0,{value:2,children:"\u7B54\u5377\u5F53\u5929\u65E5\u671F"}),(0,e.jsx)(V0,{value:3,children:"\u7B54\u5377\u65E5\u671F\u540Ex\u5929"})]}),mn===1&&(0,e.jsx)(O0.Mt,{format:"YYYY-MM-DD",getPopupContainer:y,value:!(0,zt.JY)(ot)||!/\d+-\d+-\d+/.test(ot)?void 0:n0()(ot,M),onChange:function(I,W){qt(W)}}),mn===3&&(0,e.jsx)(pe.Z,{precision:0,onChange:function(I){return E(I)},style:{width:200},value:m}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(I){return fe(I?"]":")")},defaultChecked:ze==="]"})]}),(0,e.jsx)("div",{style:{color:"#1890ff",fontSize:12,marginTop:20},children:"\u652F\u6301\u591A\u79CD\u6A21\u5F0F\u7EC4\u5408\uFF0C\u5982\u67D0\u4E24\u4E2A\u5177\u4F53\u65E5\u671F\uFF082019-01-01\u5230 2019-02-02\uFF09\uFF0C\u67D0\u4E2A\u65F6\u95F4\u6BB5\uFF08\u67D0\u4E2A\u65E5\u671F\u7684\u524D\u540E\u591A\u5C11\u5929\uFF09\u7B49"}),(0,e.jsx)("div",{style:{color:"red",fontSize:12,marginTop:10},children:"\u6CE8\u610F\u6700\u5C0F\u503C\u548C\u6700\u5927\u503C\u7684\u8BBE\u7F6E\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6821\u9A8C\u65E0\u6548"})]})]})}function e1(c){var a=c.onChange,n=c.value,h=n===void 0?"":n,C=c.type,x=(0,b.useContext)(ce.rU),y=x.getContainer,p=h.match(/([[(])(.*?)\s*,\s*(.*?)([\])]+)/)||[],S=(0,b.useState)(!1),B=(0,se.Z)(S,2),w=B[0],L=B[1],k=(0,b.useState)(p[1]||"("),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=(0,b.useState)(p[4]||")"),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(0,b.useState)(p[2]),ht=(0,se.Z)(ct,2),ie=ht[0],we=ht[1],rt=(0,b.useState)(p[3]),ut=(0,se.Z)(rt,2),ot=ut[0],qt=ut[1];(0,b.useEffect)(function(){C==="datetime"&&!!ie&&!!ot&&!isNaN(ie)&&!isNaN(ot)&&(qt(void 0),we(void 0),a(void 0))},[C]);var u0=function(){a("".concat(Z).concat(ie,",").concat(ot).concat(ze)),L(!1)},At=function(y0){return!y0||!ot?!1:n0()(y0).format("YYYY-MM-DD HH:mm:ss").valueOf()>ot.valueOf()},Ot=function(y0){return!y0||!ie?!1:n0()(y0).format("YYYY-MM-DD HH:mm:ss").valueOf()<=ie.valueOf()};return(0,e.jsxs)("span",{children:[(0,e.jsx)("a",{onClick:function(){return L(!0)},children:h?"\u5DF2\u8BBE\u7F6E":"\u672A\u8BBE\u7F6E"}),(0,e.jsxs)(C0.Z,{title:"\u8303\u56F4\u8BBE\u7F6E",open:w,onOk:u0,width:800,getContainer:y,onCancel:function(){return L(!1)},children:[(0,e.jsxs)("div",{children:["\u5F00\u59CB\u65F6\u95F4\uFF1A",(0,e.jsx)(O0.Mt,{disabledDate:At,showTime:!0,getPopupContainer:y,format:"YYYY-MM-DD HH:mm:ss",value:!(0,zt.JY)(ie)||!/\d+-\d+-\d+/.test(ie)?void 0:n0()(ie),onChange:function(y0,Sn){we(Sn)}}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(y0){return ee(y0?"[":"(")},defaultChecked:Z==="["})]}),(0,e.jsxs)("div",{style:{marginTop:10},children:["\u622A\u6B62\u65F6\u95F4\uFF1A",(0,e.jsx)(O0.Mt,{disabledDate:Ot,showTime:!0,format:"YYYY-MM-DD HH:mm:ss",getPopupContainer:y,value:!(0,zt.JY)(ot)||!/\d+-\d+-\d+/.test(ot)?void 0:n0()(ot),onChange:function(y0,Sn){qt(Sn)}}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(y0){return fe(y0?"]":")")},defaultChecked:ze==="]"})]}),(0,e.jsx)("div",{style:{color:"#1890ff",fontSize:12,marginTop:20},children:"\u5982\u67D0\u4E24\u4E2A\u5177\u4F53\u65E5\u671F\uFF082019-01-01 12:00:00\u52302019-02-02 12:00:00\uFF09"}),(0,e.jsx)("div",{style:{color:"red",fontSize:12,marginTop:10},children:"\u6CE8\u610F\u6700\u5C0F\u503C\u548C\u6700\u5927\u503C\u7684\u8BBE\u7F6E\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6821\u9A8C\u65E0\u6548"})]})]})}function ji(c){var a=c.onChange,n=c.value,h=n===void 0?"":n,C=c.type,x=h.match(/\(|\)|\[|\]|[\d.-]+/g)||[],y=(0,b.useContext)(ce.rU),p=y.getContainer,S=(0,b.useState)(!1),B=(0,se.Z)(S,2),w=B[0],L=B[1],k=(0,b.useState)(x[0]||"("),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=(0,b.useState)(x[3]||")"),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(0,b.useState)(x[1]),ht=(0,se.Z)(ct,2),ie=ht[0],we=ht[1],rt=(0,b.useState)(x[2]),ut=(0,se.Z)(rt,2),ot=ut[0],qt=ut[1],u0=function(){if(!ie&&ie!==0){le.default.error("\u6700\u5C0F\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ot&&ot!==0){le.default.error("\u6700\u5927\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(ot<ie){le.default.error("\u6700\u5C0F\u503C\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u503C");return}a("".concat(Z).concat(ie,",").concat(ot).concat(ze)),L(!1)};return(0,e.jsxs)("span",{children:[(0,e.jsx)("a",{onClick:function(){return L(!0)},children:h?"\u5DF2\u8BBE\u7F6E":"\u672A\u8BBE\u7F6E"}),(0,e.jsxs)(C0.Z,{title:"\u8303\u56F4\u8BBE\u7F6E",visible:w,onOk:u0,onCancel:function(){return L(!1)},getContainer:p,children:[(0,e.jsxs)("div",{children:["\u6700\u5C0F\u503C\uFF1A",(0,e.jsx)(pe.Z,{precision:C==="integer"?0:void 0,value:ie,onChange:function(Ot){return we(Ot)},style:{width:200}}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(Ot){return ee(Ot?"[":"(")},defaultChecked:Z==="["})]}),(0,e.jsxs)("div",{style:{marginTop:10},children:["\u6700\u5927\u503C\uFF1A",(0,e.jsx)(pe.Z,{precision:C==="integer"?0:void 0,onChange:function(Ot){return qt(Ot)},style:{width:200},value:ot}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(Ot){return fe(Ot?"]":")")},defaultChecked:ze==="]"})]})]})]})}function yi(c){var a=c.onChange,n=c.value,h=n===void 0?"":n,C=c.type,x=(0,b.useContext)(ce.rU),y=x.getContainer,p=h.match(/([\[\(])(.*?)\s*,\s*(.*?)([\]\)]+)/)||[],S=(0,b.useState)(!1),B=(0,se.Z)(S,2),w=B[0],L=B[1],k=(0,b.useState)(p[1]||"("),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=(0,b.useState)(p[4]||")"),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(0,b.useState)(p[2]),ht=(0,se.Z)(ct,2),ie=ht[0],we=ht[1],rt=(0,b.useState)(p[3]),ut=(0,se.Z)(rt,2),ot=ut[0],qt=ut[1];(0,b.useEffect)(function(){C==="time"&&!!ie&&!!ot&&!isNaN(ie)&&!isNaN(ot)&&(qt(void 0),we(void 0),a(void 0))},[C]);var u0=function(){var Ot=n0()(ie,"HH:mm:ss"),f0=n0()(ot,"HH:mm:ss");if(!f0.isAfter(Ot)){le.default.error("\u622A\u6B62\u65F6\u95F4\u5E94\u5927\u4E8E\u5F00\u59CB\u65F6\u95F4");return}a("".concat(Z).concat(ie,",").concat(ot).concat(ze)),L(!1)};return(0,e.jsxs)("span",{children:[(0,e.jsx)("a",{onClick:function(){return L(!0)},children:h?"\u5DF2\u8BBE\u7F6E":"\u672A\u8BBE\u7F6E"}),(0,e.jsxs)(C0.Z,{title:"\u8303\u56F4\u8BBE\u7F6E",open:w,onOk:u0,width:800,getContainer:y,onCancel:function(){return L(!1)},children:[(0,e.jsxs)("div",{children:["\u5F00\u59CB\u65F6\u95F4\uFF1A",(0,e.jsx)(O0.jI,{getPopupContainer:y,format:"HH:mm:ss",value:!(0,zt.JY)(ie)||!/\d+:\d+:\d+/.test(ie)?void 0:n0()(ie,"HH:mm:ss"),onChange:function(Ot,f0){we(f0)}}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(Ot){return ee(Ot?"[":"(")},defaultChecked:Z==="["})]}),(0,e.jsxs)("div",{style:{marginTop:10},children:["\u622A\u6B62\u65F6\u95F4\uFF1A",(0,e.jsx)(O0.jI,{format:"HH:mm:ss",getPopupContainer:y,value:!(0,zt.JY)(ot)||!/\d+:\d+:\d+/.test(ot)?void 0:n0()(ot,"HH:mm:ss"),onChange:function(Ot,f0){qt(f0)}}),(0,e.jsx)("span",{style:{marginLeft:10},children:"\u5141\u8BB8\u8FB9\u754C\u503C\uFF1A"}),(0,e.jsx)(t0.Z,{onChange:function(Ot){return fe(Ot?"]":")")},defaultChecked:ze==="]"})]}),(0,e.jsx)("div",{style:{color:"#1890ff",fontSize:12,marginTop:20},children:"\u5982\u67D0\u4E24\u4E2A\u5177\u4F53\u65E5\u671F\uFF0812:00:00\u523012:30:30\uFF09"}),(0,e.jsx)("div",{style:{color:"red",fontSize:12,marginTop:10},children:"\u6CE8\u610F\u6700\u5C0F\u503C\u548C\u6700\u5927\u503C\u7684\u8BBE\u7F6E\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6821\u9A8
58C\u65E0\u6548"})]})]})}function Kn(c){var a=(0,N.U$)(),n=a.query(a.path.parent()).get("value"),h=n==null?void 0:n.dataType;return h==="date"?(0,e.jsx)(Yn,(0,_.Z)((0,_.Z)({},c),{},{type:h})):h==="dateTime"?(0,e.jsx)(e1,(0,_.Z)((0,_.Z)({},c),{},{type:h})):h==="time"?(0,e.jsx)(yi,(0,_.Z)((0,_.Z)({},c),{},{type:h})):h==="number"?(0,e.jsx)(ji,(0,_.Z)((0,_.Z)({},c),{},{type:h})):(0,e.jsx)("div",{})}var bi=(0,Je.Gr)((0,N.Pi)(Kn)),pn=(0,z.Gr)(function(c){var a=c.onChange,n=c.value,h=c.minText,C=c.maxText,x,y;if(n){var p=n.match(/[([](\d*),\s*(\d*)[\)\]]/);p&&(x=parseInt(p[1]),y=parseInt(p[2]))}function S(B,w){a(w==="min"?"[".concat((0,zt.JY)(B)?B:"",",").concat((0,zt.JY)(y)?y:"","]"):"[".concat((0,zt.JY)(x)?x:"",",").concat((0,zt.JY)(B)?B:"","]"))}return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"setting-item",children:[h,(0,e.jsx)(pe.Z,{value:x,min:0,max:y||10,style:{width:60,marginLeft:5},size:"small",onChange:function(w){return S(w,"min")}})]}),(0,e.jsxs)("div",{className:"setting-item",children:[C,(0,e.jsx)(pe.Z,{value:y,min:x||0,max:10,style:{width:60,marginLeft:5},size:"small",onChange:function(w){return S(w,"max")}})]})]})},{name:"scope"}),xn=["date","number","dateTime","time"],z0=(0,Zt.Pi)(function(c){var a=c.soft,n=a===void 0?!1:a,h=n?"softScope":"scope",C=(0,b.useContext)(z.Y7),x=C.getContainer,y=(0,N.cI)(),p=(0,N.U$)(),S=y.query("attribute.dataType").get("value"),B=y.values.attribute,w=xn.includes(S),L=B[h],k=(0,b.useState)(L),H=(0,se.Z)(k,2),Z=H[0],ee=H[1];return(0,e.jsx)(e.Fragment,{children:w&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(j,{children:[(0,e.jsxs)("span",{children:[n?"\u8303\u56F4\u8F6F\u6821\u9A8C":"\u8303\u56F4\u5F3A\u6821\u9A8C",(0,e.jsx)(It.Z,{getPopupContainer:x,style:{width:150},content:(0,e.jsx)("div",{children:n?"\u8D85\u51FA\u5F3A\u5236\u8303\u56F4\u4F1A\u6709\u63D0\u793A\u4F46\u4E0D\u5F71\u54CD\u95EE\u5377\u63D0\u4EA4":"\u8D85\u51FA\u5F3A\u5236\u8303\u56F4\u4E0D\u53EF\u63D0\u4EA4\u95EE\u5377"}),children:(0,e.jsx)(F.MT,{infer:"QuestionCircle",style:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})})]}),(0,e.jsx)(t0.Z,{size:"small",checked:L,onChange:function(Ae){ee(Ae),Ae?(0,z.$Z)(p,h,"".concat(h,"Desc")):(0,z.Cp)(p,h,"".concat(h,"Desc"))}})]}),Z&&(0,e.jsx)("div",{className:"setting-item",children:(0,e.jsxs)("div",{className:"subContent",children:[(0,e.jsxs)("div",{className:"subItem",children:["\u6821\u9A8C\u89C4\u5219",(0,e.jsx)(bi,{name:h})]}),(0,e.jsxs)("div",{className:"subItem",children:["\u6821\u9A8C\u63CF\u8FF0",(0,e.jsx)(Je.rN,{name:"".concat(h,"Desc"),size:"small",divMode:!0,style:{width:130}})]})]})})]})})}),an=function(){return(0,e.jsx)(Mt,{title:"\u53EA\u8BFB",name:"readOnly"})},Gn=[{value:"MatrixRadio",label:"\u77E9\u9635\u5355\u9009"},{value:"MatrixCheckbox",label:"\u77E9\u9635\u591A\u9009"},{value:"MatrixFillBlank",label:"\u77E9\u9635\u586B\u7A7A"}],Ei=function(){return(0,e.jsx)(wt,{dataSource:Gn,name:"type",title:"\u77E9\u9635\u7C7B\u578B",innerStyle:{width:120},basePath:""})},t1=i(57663),kt=i(71577),E0=i(1997),F0=i(64031),rn=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(0,D.Uh)(),S=(p==null?void 0:p.type)==="Option"||!(p!=null&&p.type)?p==null?void 0:p.parent:p,B=(c=a.values.attribute)===null||c===void 0?void 0:c.calculate;return(0,N.U7)(function(w){(0,F0.Zj)("attribute._calculate",function(L){L.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_calculate",title:"\u8BA1\u7B97\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u6839\u636E\u5176\u4ED6\u95EE\u9898\u6765\u81EA\u52A8\u8BA1\u7B97\u672C\u95EE\u9898\u7684\u7B54\u6848",innerComponent:function(L){return(0,e.jsx)("a",{onClick:function(H){H.stopPropagation(),L.onChange(!0)},children:L.subTitle})}}),(0,e.jsx)(N.gN,{name:"calculate"}),C&&(0,e.jsx)(E0.ZP,{schema:y.serialize(),current:S,title:"\u8BA1\u7B97\u9898-\u516C\u5F0F\u8BBE\u7F6E",value:
58B,fieldAll:!0,helpLink:(0,e.jsx)(kt.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/calculate")},children:"\u5982\u4F55\u8FDB\u884C\u8BA1\u7B97\u903B\u8F91\u8BBE\u7F6E"}),commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._calculate=!1},onOk:function(L){a.setFieldState("attribute.calculate",function(k){return k.value=L}),a.values.attribute._calculate=!1}})]})}),H0=function(){return(0,e.jsx)(Me,{title:"\u5C0F\u6570\u4F4D\u6570\u9650\u5236",name:"numericScale",min:0,max:6,popoverContent:"\u4FDD\u7559\u5C0F\u6570\u70B9\u4F4D\u6570\uFF0C0 \u8868\u793A\u6574\u6570\uFF0C\u4E0D\u586B\u5219\u4E0D\u9650\u5236",syncDisplay:{dataType:["number"]}})},$0=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(c=a.values.attribute)===null||c===void 0?void 0:c.requiredRule;return(0,N.U7)(function(p){(0,F0.Zj)("attribute._requiredRule",function(S){S.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_requiredRule",title:"\u5FC5\u586B\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",popoverContent:"\u6839\u636E\u516C\u5F0F\u8BA1\u7B97\u7ED3\u679C\u6765\u5224\u65AD\u5F53\u524D\u95EE\u9898\u662F\u5426\u5FC5\u586B",innerComponent:function(S){return(0,e.jsx)("a",{onClick:function(w){w.stopPropagation(),S.onChange(!0)},children:S.subTitle})}}),(0,e.jsx)(N.gN,{name:"requiredRule"}),C&&(0,e.jsx)(F.tC,{title:"\u5FC5\u586B\u6821\u9A8C-\u516C\u5F0F\u8BBE\u7F6E",value:y,commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._requiredRule=!1},onOk:function(S){a.setFieldState("attribute.requiredRule",function(B){return B.value=S}),a.values.attribute._requiredRule=!1}})]})}),n1=i(96433),G0=i(2864),gn=i(41687),Fi=i(46870),Cn=i(18613),Jn=i(57206),Si={1:(0,e.jsx)(gn.Z,{}),2:(0,e.jsx)(gn.Z,{}),3:(0,e.jsx)(Fi.Z,{}),4:(0,e.jsx)(Cn.Z,{}),5:(0,e.jsx)(Cn.Z,{})},Ai=[{value:"star",text:(0,e.jsx)(G0.Z,{value:3,style:{fontSize:16},count:3})},{value:"heart",text:(0,e.jsx)(G0.Z,{value:3,character:(0,e.jsx)(Jn.Z,{}),style:{fontSize:16,color:"#ea7463"},count:3})},{value:"smile",text:(0,e.jsx)(G0.Z,{value:3,style:{fontSize:16},character:function(a){var n=a.index;return Si[n+1]},count:3})}],v0=function(a){return(0,e.jsx)(wt,{dataSource:(a.dataSource||Ai).map(function(n){return{label:n.text,value:n.value}}),initialValue:"star",name:"scoreStyle",title:"\u663E\u793A\u6837\u5F0F",innerStyle:{width:130}})},i1=i(402),Ut=i(20294),a1=Ut.Z.Link,Et=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(c=a.values.attribute)===null||c===void 0?void 0:c.replaceTextRule;return(0,N.U7)(function(S){(0,F0.Zj)("attribute._replaceTextRule",function(B){B.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_replaceTextRule",title:"\u6587\u672C\u66FF\u6362",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",popoverContent:"\u5C06\u9898\u76EE\u6807\u9898\u4E2D\u7684\u67D0\u6BB5\u6587\u5B57\u66FF\u6362\u6210\u67D0\u9053\u9898\u76EE\u7684\u7B54\u6848\uFF08\u6216\u9009\u4E2D\u7684\u9009\u9879\uFF09",innerComponent:function(B){return(0,e.jsx)("a",{onClick:function(L){L.stopPropagation(),B.onChange(!0)},children:B.subTitle})}}),(0,e.jsx)(N.gN,{name:"replaceTextRule"}),C&&(0,e.jsx)(E0.ZP,{title:"\u6807\u9898\u66FF\u6362-\u516C\u5F0F\u8BBE\u7F6E",schema:y.serialize(),fieldAll:!0,value:p,commonUseFunctionNames:["SUBSTITUTE","REPLACE","CONCATENATE","LOWER","UPPER","TRIM"],helpLink:(0,e.jsx)(a1,{href:"https://surveyking.cn/help/logic/text-refer",target:"_blank",children:"\u5982\u4F55\u8FDB\u884C\u6807\u9898\u66FF\u6362\u903B\u8F91\u8BBE\u7F6E"}),onCancel:function(){a.values.attribute._replaceTextRule=!1},onOk:function(B){a.setFieldState("attribute.replaceTextRule",function(w){return w.value=B}),a.values.attribute._replaceTextRule=!1}})]})}),Jt=i(95616),Ln=i.n(Jt),h0=(0,z.Gr)(function(c){var a=c.onChange,n=c.value,h,C;if(n){var x=n.match(/[([](\d*),\s*(\d*)[\)\]]/);x&&(h=parseInt(x[1]),C=parseInt(x[2]))}function y(p,S){a(S==="min"?"[".concat((0,zt.JY)(p)?p:"",",").concat((0,zt.JY)(C)?C:"","]"):"[".concat((0,zt.JY)(h)?h:"",",").concat((0,zt.JY)(p)?p:"","]"))}return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:Ln().settingItem,children:["\u6700\u5C0F\u884C\u6570",(0,e.jsx)(pe.Z,{value:h,min:0,style:{width:60,marginLeft:5},size:"small",onChange:function(S){return y(S,"min")}}),(0,e.jsx)("span",{className:"ant-form-text",children:"\u884C"})]}),(0,e.jsxs)("div",{className:Ln().settingItem,children:["\u6700\u5927\u884C\u6570",(0,e.jsx)(pe.Z,{value:C,min:0,style:{width:60,marginLeft:5},size:"small",onChange:function(S){return y(S,"max")}}),(0,e.jsx)("span",{className:"ant-form-text",children:"\u884C"})]})]})},{name:"autoSize"}),Ct=(0,z.Gr)(function(c){var a=(0,D.Uh)(),n=(0,b.useRef)(null),h=c.onChange,C=c.value,x,y;if(C){var p=C.match(/[([](\d*),\s*(\d*)[\)\]]/);p&&(x=parseInt(p[1]||"0"),y=parseInt(p[2]||"0"))}function S(w,L){h(L==="min"?"[".concat((0,zt.JY)(w)?w:"",",").concat((0,zt.JY)(y)?y:"","]"):"[".concat((0,zt.JY)(x)?x:"",",").concat((0,zt.JY)(w)?w:"","]"))}var B=function(L){var k=[{label:"\u4E0D\u9650",value:0}];
58return a==null||a.children.forEach(function(H,Z){k.push({label:"".concat(Z+1,"\u9879"),value:Z+1,disabled:L==="min"?y&&Z+1>(y||0):x&&Z+1<(x||0)})}),k};return(0,e.jsxs)("div",{className:"setting-item",style:{flexDirection:"column"},ref:n,children:["\u9009\u9879\u6570\u91CF\u8BBE\u7F6E",(0,e.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:12,marginTop:6},children:[(0,e.jsxs)("div",{children:["\u6700\u5C11",(0,e.jsx)(ae.Z,{value:x,size:"small",style:{width:75,marginLeft:2},getPopupContainer:function(){return n.current},options:B("min"),onChange:function(L){return S(L,"min")},allowClear:!0})]}),(0,e.jsxs)("div",{children:["\u6700\u591A",(0,e.jsx)(ae.Z,{size:"small",value:y,style:{width:75,marginLeft:2},getPopupContainer:function(){return n.current},options:B("max"),onChange:function(L){return S(L,"max")},allowClear:!0})]})]})]})},{name:"answerLimit"}),Bi=function(){return(0,e.jsx)(Mt,{title:"\u53EA\u5141\u8BB8\u62CD\u7167\u4E0A\u4F20",name:"cameraOnly"})},Zn=function(){return(0,e.jsx)(Mt,{title:"\u5141\u8BB8\u79FB\u52A8\u5730\u56FE\u4FEE\u6539\u4F4D\u7F6E",name:"mapMove"})},on=function(){return(0,e.jsx)(Mt,{title:"\u663E\u793A\u6295\u7968\u7ED3\u679C",name:"statEnabled"})},Z0=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(0,D.Uh)(),S=(p==null?void 0:p.type)==="Option"||!(p!=null&&p.type)?p==null?void 0:p.parent:p,B=(c=a.values.attribute)===null||c===void 0?void 0:c.validateRule;return(0,N.U7)(function(){(0,F0.Zj)("attribute._validateRule",function(w){w.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_validateRule",title:"\u6821\u9A8C\u89C4\u5219",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u52A8\u6001\u8BBE\u7F6E\u5F53\u524D\u95EE\u9898\u7684\u6821\u9A8C\u89C4\u5219\u3002",innerComponent:function(L){return(0,e.jsx)("a",{onClick:function(H){H.stopPropagation(),L.onChange(!0)},children:L.subTitle})}}),(0,e.jsx)(N.gN,{name:"validateRule"}),C&&(0,e.jsx)(E0.ZP,{schema:y.serialize(),current:S==null?void 0:S.serialize(),title:"\u6821\u9A8C\u89C4\u5219-\u516C\u5F0F\u8BBE\u7F6E",value:
58B,fieldAll:!0,commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._validateRule=!1},onOk:function(L){a.setFieldState("attribute.validateRule",function(k){return k.value=L}),a.values.attribute._validateRule=!1}})]})}),r1=i(63185),Mi=i(9676),o0=i(32059);function ln(c,a,n){if(!!c){var h=Object.values(c).filter(function(y){return y.examScore});if(h.length===1&&h[0].examCorrectAnswer===n.id)return h[0].examScore;var C=(0,_.Z)({},c);delete C[n.id];var x=0;return a==="onlyOne"?x=Math.max.apply(Math,(0,ke.Z)(Object.values(C).map(function(y){return y.examScore||0}))):a==="select"?n.type==="Radio"||n.type==="Select"?x=Math.max.apply(Math,(0,ke.Z)(Object.values(C).map(function(y){return y.examScore||0}))):(n.type==="Checkbox"||n.type==="FillBlank"||n.type==="HorzBlank"||n.type==="MultipleBlank"||n.type==="Textarea")&&(x=Object.values(C).reduce(function(y,p){return y+(p.examScore===void 0?0:p.examScore)},0)):(a==="selectAll"||a==="selectCorrect")&&(x=Object.values(C).reduce(function(y,p){return y+(p.examScore===void 0?0:p.examScore)},0)),x==Number.POSITIVE_INFINITY||x==Number.NEGATIVE_INFINITY||isNaN(x)?0:x}}function Xn(c){switch(c.type){case"Radio":return"onlyOne";case"Checkbox":return"selectAll";case"Select":return"onlyOne";case"FillBlank":return"selectAll";case"MultipleBlank":return"selectAll";case"HorzBlank":return"selectAll";case"Textarea":return"selectAll";default:break}}function Li(c){switch(c.type){case"FillBlank":return"completeSame";case"MultipleBlank":return"completeSame";case"HorzBlank":return"completeSame";case"Textarea":return"completeSame";default:break}}function Dn(c){var a=["FillBlank","MultipleBlank","HorzBlank","Textarea"];return a.includes(c)}function jn(c){var a=["Radio","Checkbox","Select"];return a.includes(c)}var qn=[{value:"onlyOne",label:"\u6B64\u9898\u6709\u552F\u4E00\u7B54\u6848\u548C\u5206\u503C",match:["Radio","Select","Judge"]},{value:"selectAll",label:"\u5168\u90E8\u7B54\u5BF9\u624D\u5F97\u5206",match:["Checkbox","MultipleBlank","HorzBlank","FillBlank","Textarea"]},{value:"selectCorrect",label:"\u7B54\u5BF9\u51E0\u9879\u5F97\u51E0\u5206\uFF0C\u7B54\u9519\u4E0D\u5F97\u5206",match:["Checkbox"]},{value:"select",label:"\u7B54\u5BF9\u51E0\u9879\u5F97\u51E0\u5206",match:["MultipleBlank","HorzBlank"]},{value:"select",label:"\u6BCF\u4E2A\u9009\u9879\u90FD\u6709\u5BF9\u5E94\u7684\u5206\u503C",match:["Radio","Checkbox","Select"]}],S0=(0,N.Pi)(function(){var c,a,n=(0,D.Uh)(),h=(0,D.jE)(),C=h.getContainer,x=h.mode,y=(0,b.useState)((n==null?void 0:n.form.values.attribute.examAnswerMode)||Xn(n)),p=(0,se.Z)(y,2),S=p[0],B=p[1],w=(0,b.useState)((n==null?void 0:n.form.values.attribute.examMatchRule)||Li(n)),L=(0,se.Z)(w,2),k=L[0],H=L[1],Z=n.type,ee=qn.filter(function(ie){return ie.match.includes(Z)}).map(function(ie){return{label:ie.label,value:ie.value}}),ve=n==null?void 0:n.children,Ae=(0,b.useState)(function(){if(x!=="exam"||S==="none")return{};if(S==="manual")return(0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:n==null?void 0:n.form.values.attribute.examScore});var ie={};n.children.forEach(function(rt){var ut=rt==null?void 0:rt.getAttribute("examCorrectAnswer"),ot=rt==null?void 0:rt.getAttribute("examScore");ut!==void 0&&(ie[rt.id]={examCorrectAnswer:ut,examScore:ot})});var we=n.getAttribute("examScore");return(S==="onlyOne"||S==="selectAll"||S==="selectCorrect")&&we==null&&Object.keys(ie).length===0&&n!=null&&n.children&&n.children.length>0&&(Z==="Radio"||Z==="Checkbox"||Z==="Select"||Z==="Judge"?(ie[n==null?void 0:n.children[0].id]={examCorrectAnswer:n==null?void 0:n.children[0].id,examScore:5},we=5):(Z==="FillBlank"||Z==="MultipleBlank"||Z==="HorzBlank"||Z==="Textarea")&&(ie[n==null?void 0:n.children[0].id]={examCorrectAnswer:"",examScore:5},we=5)),ie[n.id]={examCorrectAnswer:n.id,examScore:we},ie}),ze=(0,se.Z)(Ae,2),fe=ze[0],ct=ze[1],ht=(0,b.useRef)();return(0,b.useEffect)(function(){var ie;x!=="exam"||S==="none"||(n==null||n.children.forEach(function(we){if(fe[we.id]!==void 0){var rt;we.setAttribute("examScore",(rt=fe[we.id])===null||rt===void 0?void 0:rt.examScore),we.setAttribute("examCorrectAnswer",fe[we.id].examCorrectAnswer)}else we.setAttribute("examScore",void 0),we.setAttribute("examCorrectAnswer",void 0)}),n==null||n.setAttribute("examAnswerMode",S),n==null||n.setAttribute("examMatchRule",k),n==null||n.setAttribute("examScore",(ie=fe[n.id])===null||ie===void 0?void 0:ie.examScore),ht.current=fe)},[S,fe,n,k]),x!=="exam"||S==="none"?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"setting-item",style:{flexDirection:"column",borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u8BA1\u5206\u65B9\u5F0F"}),(0,e.jsx)(ae.Z,{size:"small",onChange:function(we){if(B(we),we==="manual"&&ct((0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:5})),we==="onlyOne"){var rt;ct((rt={},(0,o0.Z)(rt,n.id,{examCorrectAnswer:n.id,examScore:5}),(0,o0.Z)(rt,n==null?void 0:n.children[0].id,{examCorrectAnswer:n==null?void 0:n.children[0].id,examScore:5}),rt))}if(we==="select"){var ut=n.type==="Radio"||n.type==="Select"?5:5*n.children.length;ct(n.children.reduce(function(ot,qt){var u0=qt.id;if(Dn(n.type)){var At,Ot;u0=((At=qt.form.values)===null||At===void 0||(Ot=At.attribute)===null||Ot===void 0?void 0:Ot.examCorrectAnswer)||""}return ot[qt.id]={examCorrectAnswer:u0,examScore:5},ot},(0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:ut})))}},value:S,getPopupContainer:C,style:{width:"100%"},options:ee}),S!=="manual"&&k!==void 0&&(0,e.jsx)(ae.Z,{size:"small",getPopupContainer:C,style:{width:"100%",marginTop:10},value:k,onChange:function(we){H(we)},options:[{label:"\u56DE\u7B54\u4E0E\u7B54\u6848\u5B8C\u5168\u76F8\u540C\u5F97\u5206",value:"completeSame"},{label:"\u56DE\u7B54\u4E2D\u5305\u542B\u7B54\u6848\u5373\u53EF\u5F97\u5206",value:"contain"}]})]}),S==="onlyOne"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"setting-item",style:{flexDirection:"column",borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u7B54\u6848"}),(0,e.jsx)(ae.Z,{size:"small",onChange:function(we){var rt=ln(fe,S,n);if(rt!==void 0){var ut;ct((ut={},(0,o0.Z)(ut,we,{examCorrectAnswer:we,examScore:rt}),(0,o0.Z)(ut,n.id,{examCorrectAnswer:n.id,examScore:rt}),ut))}},value:Object.keys(fe).filter(function(ie){return fe[ie]!==void 0}).filter(function(ie){return ie!==(n==null?void 0:n.id)})[0],getPopupContainer:C,style:{width:"100%"},options:ve==null?void 0:ve.map(function(ie,we){return{label:(0,z.WO)(ie.title)||"\u9009\u9879".concat(we+1),value:ie.id}})})]}),(0,e.jsxs)("div",{className:"setting-item",style:{borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u6B64\u9879\u5206\u503C"}),(0,e.jsxs)("div",{children:[(0,e.jsx)(pe.Z,{min:0,size:"small",style:{width:80,marginRight:5},value:fe[n.id].examScore,step:.5,onChange:function(we){ct(Object.keys(fe).reduce(function(rt,ut){return rt[ut]={examCorrectAnswer:ut,examScore:we},rt},(0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:we})))}}),(0,e.jsx)("span",{children:"\u5206"})]})]})]}),(S==="select"||S==="selectCorrect")&&(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{className:"setting-item",style:{flexDirection:"column",borderBottom:"0",paddingBottom:3}
58,children:[(0,e.jsx)("span",{children:"\u5404\u9009\u9879\u5206\u503C"}),ve==null?void 0:ve.map(function(ie,we){var rt,ut;if(Z==="Radio"||Z==="Checkbox"||Z==="Select"){var ot;return(0,e.jsxs)("div",{className:"option-score",children:[(0,e.jsx)("span",{className:"option-score-title",children:(0,z.WO)(ie.title)||"\u9009\u9879".concat(we+1)}),(0,e.jsxs)("div",{children:[(0,e.jsx)(pe.Z,{size:"small",min:0,style:{width:80,marginRight:5},step:.5,value:(ot=fe[ie.id])===null||ot===void 0?void 0:ot.examScore,onChange:function(u0){var At;fe[ie.id]={examCorrectAnswer:((At=fe[ie.id])===null||At===void 0?void 0:At.examCorrectAnswer)||"",examScore:u0};var Ot=ln(fe,S,n);Ot!==void 0&&ct((0,_.Z)((0,_.Z)({},fe),{},(0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:Ot})))}}),(0,e.jsx)("span",{children:"\u5206"})]})]},ie.id)}return(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"option-score-title",children:(0,z.WO)(ie.title)||"\u9009\u9879".concat(we+1)}),(0,e.jsx)("div",{children:(0,e.jsx)(de.Z.TextArea,{value:(rt=fe[ie.id])===null||rt===void 0?void 0:rt.examCorrectAnswer,placeholder:"\u591A\u4E2A\u6B63\u786E\u7B54\u6848\uFF0C\u6BCF\u884C\u4E00\u4E2A",onChange:function(u0){var At,Ot=u0.target.value;fe[ie.id]={examCorrectAnswer:Ot,examScore:(At=fe[ie.id])===null||At===void 0?void 0:At.examScore},ct((0,_.Z)({},fe))}})}),(0,e.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,e.jsx)("span",{children:"\u6B64\u9879\u5206\u503C"}),(0,e.jsxs)("div",{children:[(0,e.jsx)(pe.Z,{size:"small",min:0,style:{width:80,marginTop:5},step:.5,value:(ut=fe[ie.id])===null||ut===void 0?void 0:ut.examScore,onChange:function(u0){fe[ie.id]={examCorrectAnswer:fe[ie.id].examCorrectAnswer||ie.id,examScore:u0};var At=ln(fe,S,n);At!==void 0&&ct((0,_.Z)((0,_.Z)({},fe),{},(0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:At})))}}),(0,e.jsx)("span",{children:"\u5206"})]})]})]},ie.id)})]})}),S==="selectAll"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"setting-item",style:{flexDirection:"column",borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u7B54\u6848"}),ve==null?void 0:ve.map(function(ie,we){var rt;return Z==="Radio"||Z==="Checkbox"||Z==="Select"?(0,e.jsx)("div",{className:"option-score",children:(0,e.jsx)("div",{children:(0,e.jsx)(Mi.Z,{onChange:function(ot){var qt=ot.target.checked;qt?ct((0,_.Z)((0,_.Z)({},fe),{},(0,o0.Z)({},ie.id,{examCorrectAnswer:n.id}))):(delete fe[ie.id],ct((0,_.Z)({},fe)))},checked:!!fe[ie.id],children:(0,e.jsx)("span",{children:(0,z.WO)(ie.title)||"\u9009\u9879".concat(we+1)})})})},ie.id):(0,e.jsxs)("div",{style:{flexDirection:"column",marginTop:6},children:[(0,e.jsx)("span",{children:(0,z.WO)(ie.title)||"\u9009\u9879".concat(we+1)}),(0,e.jsx)(de.Z.TextArea,{value:(rt=fe[ie.id])===null||rt===void 0?void 0:rt.examCorrectAnswer,placeholder:"\u591A\u4E2A\u6B63\u786E\u7B54\u6848\uFF0C\u6BCF\u884C\u4E00\u4E2A",onChange:function(ot){var qt=ot.target.value;ct((0,_.Z)((0,_.Z)({},fe),{},(0,o0.Z)({},ie.id,{examCorrectAnswer:qt})))}})]},ie.id)})]}),(0,e.jsxs)("div",{className:"setting-item",style:{borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u6B64\u9898\u5206\u503C"}),(0,e.jsxs)("div",{children:[(0,e.jsx)(pe.Z,{min:0,size:"small",style:{width:80,marginRight:5},value:(c=fe[n.id])===null||c===void 0?void 0:c.examScore,step:.5,onChange:function(we){fe[n.id]={examCorrectAnswer:n.id,examScore:we},ct((0,_.Z)({},fe))}}),(0,e.jsx)("span",{children:"\u5206"})]})]})]}),S==="manual"&&(0,e.jsxs)("div",{className:"setting-item",style:{borderBottom:"0",paddingBottom:3},children:[(0,e.jsx)("span",{children:"\u6B64\u9898\u5206\u503C"}),(0,e.jsxs)("div",{children:[(0,e.jsx)(pe.Z,{size:"small",min:0,style:{width:80,marginRight:5},defaultValue:5,step:.5,value:(a=fe[n.id])===null||a===void 0?void 0:a.examScore,onChange:function(we){ct((0,o0.Z)({},n.id,{examCorrectAnswer:n.id,examScore:we}))}}),(0,e.jsx)("span",{children:"\u5206"})]})]}),(0,e.jsxs)("div",{className:"setting-item",style:{borderBottom:"0",paddingBottom:3,flexDirection:"column"},children:[(0,e.jsxs)("span",{children:["\u7B54\u6848\u89E3\u6790",(0,e.jsx)("span",{style:{fontSize:12,color:"#bfbfbf"},children:"(\u975E\u5FC5\u586B,\u652F\u6301\u5BCC\u6587\u672C\u8F93\u5165)"})]}),(0,e.jsx)("div",{children:(0,e.jsx)(Je.rN,{name:"examAnalysis",style:{border:"1px solid #d9d9d9"},size:"large"})})]})]})}),q1=function(){return _jsx(SwitchField,{title:"\u7B54\u6848\u7CBE\u786E\u5339\u914D",popoverContent:_jsx(_Fragment,{children:"\u9009\u62E9\u7CBE\u786E\u5339\u914D\uFF0C\u56DE\u7B54\u4E0E\u7B54\u6848\u5B8C\u5168\u76F8\u540C\u624D\u5F97\u5206\u3002\u5426\u5219\uFF0C\u56DE\u7B54\u4E2D\u5305\u542B\u7B54\u6848\u5373\u53EF\u5F97\u5206\u3002"}),name:"readonly"})},p0=function(){return _jsx(InputNumberField,{title:"\u6B64\u9879\u5206\u503C",name:"examScore",step:.5,subTitle:"\u5206"})},o1=i(22385),J0=i(94199),un=i(99165),sn=i(74855),D0=(0,N.Pi)(function(){var c=(0,D.Uh)(),a=(0,b.useState)(c==null?void 0:c.id),n=(0,se.Z)(a,2),h=n[0],C=n[1];return(0,e.jsxs)("div",{className:"setting-item",children:[(0,e.jsx)("span",{children:"ID"}),(0,e.jsxs)(de.Z.Group,{compact:!0,size:"small",style:{width:110},children:[(0,e.jsx)(de.Z,{style:{width:80},value:h,onChange:function(y){return C(y.target.value)}
58,onBlur:function(y){h&&c&&(c.id=h)}}),(0,e.jsx)(J0.Z,{title:"\u590D\u5236\u9009\u9879ID",children:(0,e.jsx)(sn.CopyToClipboard,{text:h,onCopy:function(){return le.default.success("\u590D\u5236\u6210\u529F")},children:(0,e.jsx)(kt.Z,{icon:(0,e.jsx)(un.Z,{}),size:"small"})})})]})]})}),A0=function(a){var n=a.name,h=a.title,C=a.initialValue,x=C===void 0?"":C;return(0,e.jsx)(ft,{initialValue:x,name:n,title:h,innerComponent:function(p){return(0,e.jsx)(de.Z,{value:p.value,style:{width:120,marginLeft:5},onChange:function(B){return p.onChange(B.target.value)},size:"small"})}})},Zi=function(){return(0,e.jsx)(Mt,{title:"Nps\u5012\u5E8F",name:"npsInvertSort"})},X0=(0,N.Pi)(function(c){var a=(0,Pe.IE)(),n=a.dicts;return(0,e.jsx)(wt,(0,_.Z)((0,_.Z)({innerStyle:{width:120}},c),{},{dataSource:n}))}),q0=[{value:"YYYY-MM-DD",text:"\u5E74\u6708\u65E5"},{value:"YYYY-MM-DD HH:mm:ss",text:"\u5E74\u6708\u65E5\u65F6\u5206\u79D2"},{value:"YYYY-MM-DD HH:mm",text:"\u5E74\u6708\u65E5\u65F6\u5206"},{value:"YYYY",text:"\u5E74"},{value:"YYYY-MM",text:"\u5E74\u6708"},{value:"HH:mm:ss",text:"\u65F6\u5206\u79D2"},{value:"HH:mm",text:"\u65F6\u5206"}],_n=function(a){return(0,e.jsx)(wt,{dataSource:q0.map(function(n){return{label:n.text,value:n.value}}),syncDisplay:a.syncDisplay,name:"dateTimeFormat",title:"\u65E5\u671F\u683C\u5F0F",innerStyle:{width:130}})},k0=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(0,D.Uh)(),S=(p==null?void 0:p.type)==="Option"||!(p!=null&&p.type)?p==null?void 0:p.parent:p,B=(c=a.values.attribute)===null||c===void 0?void 0:c.finishRule;return(0,N.U7)(function(w){(0,F0.Zj)("attribute._finishRule",function(L){L.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_finishRule",title:"\u7ED3\u675F\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u6EE1\u8DB3\u516C\u5F0F\u8FD4\u56DE\u7ED3\u679C\uFF0C\u95EE\u5377\u5C06\u76F4\u63A5\u7ED3\u675F\u3002",innerComponent:function(L){return(0,e.jsx)("a",{onClick:function(H){H.stopPropagation(),L.onChange(!0)},children:L.subTitle})}}),(0,e.jsx)(N.gN,{name:"finishRule"}),C&&(0,e.jsx)(E0.ZP,{schema:y.serialize(),current:S,title:"\u7ED3\u675F\u95EE\u5377-\u516C\u5F0F\u8BBE\u7F6E",value:
58B,fieldAll:!0,helpLink:(0,e.jsx)(kt.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/finish")},children:"\u5982\u4F55\u8FDB\u884C\u7ED3\u675F\u903B\u8F91\u8BBE\u7F6E"}),commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._finishRule=!1},onOk:function(L){a.setFieldState("attribute.finishRule",function(k){return k.value=L}),a.values.attribute._finishRule=!1}})]})}),U0=(0,N.Pi)(function(){var c,a,n=(0,N.cI)(),h=(0,b.useState)(!1),C=(0,se.Z)(h,2),x=C[0],y=C[1],p=(0,D.AR)(),S=(0,D.Uh)(),B=(S==null?void 0:S.type)==="Option"||!(S!=null&&S.type)?S==null?void 0:S.parent:S,w=(c=n.values.attribute)===null||c===void 0?void 0:c.jumpRule,L=(a=n.values.attribute)===null||a===void 0?void 0:a.jumpTo;return(0,N.U7)(function(k){(0,F0.Zj)("attribute._jumpRule",function(H){H.value?y(!0):y(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_jumpRule",title:"\u8DF3\u8F6C\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},innerComponent:function(H){return(0,e.jsx)("a",{onClick:function(ee){ee.stopPropagation(),H.onChange(!0)},children:H.subTitle})}}),(0,e.jsx)(N.gN,{name:"jumpRule"}),x&&(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(E0.ZP,{schema:p.serialize(),current:B,title:"\u95EE\u5377\u8DF3\u8F6C\u89C4\u5219\u8BBE\u7F6E",value:w,fieldAll:!0,commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],placeholder:"\u7B2C\u4E00\u884C\u4E3A\u516C\u5F0F\uFF0C\u7B2C\u4E8C\u884C\u4E3A\u8981\u8DF3\u8F6C\u7684\u95EE\u9898",onCancel:function(){n.values.attribute._jumpRule=!1},helpLink:(0,e.jsx)(kt.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/jump")},children:"\u5982\u4F55\u8FDB\u884C\u8DF3\u8F6C\u903B\u8F91\u8BBE\u7F6E"}),onOk:function(H){n.setFieldState("attribute.jumpRule",function(Z){return Z.value=H}),n.values.attribute._jumpRule=!1}})})]})}),Nn=(0,N.Pi)(function(c){return(0,e.jsx)(wt,(0,_.Z)((0,_.Z)({name:"cascaderLevel",innerStyle:{width:120}},c),{},{dataSource:[{label:"1\u7EA7\u9009\u9879",value:1},{label:"2\u7EA7\u9009\u9879",value:2},{label:"3\u7EA7\u9009\u9879",value:3},{label:"4\u7EA7\u9009\u9879",value:4},{label:"5\u7EA7\u9009\u9879",value:5}]}))}),ei=function(){return(0,e.jsx)(Rt,{name:"uniqueText",title:"\u91CD\u590D\u63D0\u793A\u8BED",syncDisplay:"unique",popoverContent:(0,e.jsx)(e.Fragment,{children:"\u7B54\u6848\u552F\u4E00\u6821\u9A8C\u5931\u8D25\uFF0C\u5931\u8D25\u63D0\u793A\u8BED\u3002"})})},cn=function(){return(0,e.jsx)(Mt,{title:"\u7B54\u6848\u552F\u4E00",popoverContent:(0,e.jsx)(e.Fragment,{children:"\u63D0\u4EA4\u4E4B\u540E\u4F1A\u6821\u9A8C\u8BE5\u7B54\u6848\u662F\u5426\u552F\u4E00\uFF0C\u91CD\u590D\u5C06\u4E0D\u53EF\u63D0\u4EA4\u3002"}),name:"unique"})},Tn=i(3054),dn=(0,N.Pi)(function(c){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ft,(0,_.Z)({name:"regexp",title:"\u6B63\u5219\u6821\u9A8C",subTitle:"",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u53EF\u4EE5\u6DFB\u52A0\u591A\u4E2A\u6B63\u5219\u6821\u9A8C\u89C4\u5219\u3002",innerComponent:function(n){return(0,e.jsx)(_0,(0,_.Z)({},n))}},c))})}),_0=function(a){var n=a.value,h=n===void 0?[]:n,C=a.onChange,x=(0,b.useState)(!1),y=(0,se.Z)(x,2),p=y[0],S=y[1],B=(0,b.useState)(function(){return h==null?void 0:h.map(function(Z){return Z.id})}),w=(0,se.Z)(B,2),L=w[0],k=w[1],H=[{title:"\u8868\u8FBE\u5F0F",dataIndex:"expression"},{title:"\u63D0\u793A\u8BED",dataIndex:"message"},{title:"\u64CD\u4F5C",valueType:"option",width:120,render:function(){return null}}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){return S(!0)},children:"\u8BBE\u7F6E"}),(0,e.jsx)(C0.Z,{open:p,onCancel:function(){return S(!1)},title:"\u6B63\u5219\u8868\u8FBE\u5F0F\u6821\u9A8C\u8BBE\u7F6E",footer
58:!1,width:650,bodyStyle:{padding:0},children:(0,e.jsx)(Tn.nxD,{columns:H,rowKey:"id",value:h,className:"regexp-setting",onChange:function(ee){C(ee)},recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:(0,dt.kb)(4)}}},editable:{type:"multiple",editableKeys:L,actionRender:function(ee,ve,Ae){return[Ae.delete]},onValuesChange:function(ee,ve){C(ve)},onChange:k}})})]})},j0=(0,N.Pi)(function(c){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ft,(0,_.Z)({name:"dataSource",basePath:"",title:"\u4E0B\u62C9\u9009\u9879\u8BBE\u7F6E",subTitle:"",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},innerComponent:function(n){return(0,e.jsx)(ti,(0,_.Z)({},n))}},c))})}),ti=function(a){var n=a.value,h=n===void 0?[]:n,C=a.onChange,x=(0,b.useState)(!1),y=(0,se.Z)(x,2),p=y[0],S=y[1],B=(0,b.useState)(function(){return h==null?void 0:h.map(function(Z){return Z.value})}),w=(0,se.Z)(B,2),L=w[0],k=w[1],H=[{title:"\u9009\u9879\u540D\u79F0",dataIndex:"label"},{title:"\u64CD\u4F5C",valueType:"option",width:120,render:function(){return null}}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){return S(!0)},children:"\u8BBE\u7F6E"}),(0,e.jsx)(C0.Z,{open:p,onCancel:function(){return S(!1)},title:"\u4E0B\u62C9\u5355\u9009\u9009\u9879\u8BBE\u7F6E",footer
58:!1,width:650,bodyStyle:{padding:0},children:(0,e.jsx)(Tn.nxD,{columns:H,rowKey:"value",value:h,className:"regexp-setting",onChange:function(ee){C(ee)},recordCreatorProps:{newRecordType:"dataSource",record:function(){return{value:(0,dt.kb)(4)}},creatorButtonText:"\u6DFB\u52A0\u9009\u9879"},editable:{type:"multiple",editableKeys:L,actionRender:function(ee,ve,Ae){return[Ae.delete]},onValuesChange:function(ee,ve){C(ve)},onChange:k}})})]})},wn=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(0,D.Uh)(),S=(p==null?void 0:p.type)==="Option"||!(p!=null&&p.type)?p==null?void 0:p.parent:p,B=(c=a.values.attribute)===null||c===void 0?void 0:c.visibleRule;return(0,N.U7)(function(w){(0,F0.Zj)("attribute._visibleRule",function(L){L.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_visibleRule",title:"\u663E\u793A\u9690\u85CF\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u6EE1\u8DB3\u516C\u5F0F\u8FD4\u56DE\u7ED3\u679C\uFF0C\u8BE5\u9898\u6216\u8005\u9009\u9879\u624D\u4F1A\u663E\u793A\u3002",innerComponent:function(L){return(0,e.jsx)("a",{onClick:function(H){H.stopPropagation(),L.onChange(!0)},children:L.subTitle})}}),(0,e.jsx)(N.gN,{name:"visibleRule"}),C&&(0,e.jsx)(E0.ZP,{schema:y.serialize(),current:S,title:"\u663E\u793A\u903B\u8F91-\u516C\u5F0F\u8BBE\u7F6E",value:
58B,fieldAll:!0,helpLink:(0,e.jsx)(kt.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/show")},children:"\u5982\u4F55\u8FDB\u884C\u663E\u793A\u903B\u8F91\u8BBE\u7F6E"}),commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._visibleRule=!1},onOk:function(L){a.setFieldState("attribute.visibleRule",function(k){return k.value=L}),a.values.attribute._visibleRule=!1}})]})}),In=(0,N.Pi)(function(){var c,a=(0,N.cI)(),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,D.AR)(),p=(0,D.Uh)(),S=(p==null?void 0:p.type)==="Option"||!(p!=null&&p.type)?p==null?void 0:p.parent:p,B=(c=a.values.attribute)===null||c===void 0?void 0:c.checkedRule;return(0,N.U7)(function(w){(0,F0.Zj)("attribute._checkedRule",function(L){L.value?x(!0):x(!1)})}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ft,{name:"_checkedRule",title:"\u9009\u9879\u81EA\u52A8\u52FE\u9009\u516C\u5F0F",initialValue:!1,subTitle:"\u70B9\u51FB\u8BBE\u7F6E",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"},popoverContent:"\u6EE1\u8DB3\u516C\u5F0F\u8FD4\u56DE\u7ED3\u679C\uFF0C\u8BE5\u9009\u9879\u5C06\u81EA\u52A8\u52FE\u9009\u3002",innerComponent:function(L){return(0,e.jsx)("a",{onClick:function(H){H.stopPropagation(),L.onChange(!0)},children:L.subTitle})}}),(0,e.jsx)(N.gN,{name:"checkedRule"}),C&&(0,e.jsx)(E0.ZP,{schema:y.serialize(),current:S,title:"\u81EA\u52A8\u52FE\u9009\u903B\u8F91-\u516C\u5F0F\u8BBE\u7F6E",value:
58B,fieldAll:!0,helpLink:(0,e.jsx)(kt.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/option-auto-check")},children:"\u5982\u4F55\u8FDB\u884C\u81EA\u52A8\u52FE\u9009\u903B\u8F91\u8BBE\u7F6E"}),commonUseFunctionNames:["SUM","MAX","MIN","AVERAGE","ROUND","CONCATENATE"],onCancel:function(){a.values.attribute._checkedRule=!1},onOk:function(L){a.setFieldState("attribute.checkedRule",function(k){return k.value=L}),a.values.attribute._checkedRule=!1}})]})}),ni=function(){return(0,e.jsx)(Me,{name:"quota",title:"\u9009\u9879\u914D\u989D",min:1,max:9999,popoverContent:"\u6BCF\u9009\u62E91\u6B21\u4F1A\u6D88\u8017\u4E00\u4E2A\u540D\u989D\uFF0C\u76F4\u81F3\u540D\u989D\u6570\u91CF\u7528\u5B8C",icon:"QuestionCircle",iconStyle:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})},yn=function(){return(0,e.jsx)(oe,{innerStyle:{width:160},name:"placeholder",title:"\u63D0\u793A\u8BED"})};function zn(c){var a=c.onChange,n=c.value,h,C;if(n){var x=n.match(/[([](\d*),\s*(\d*)[\)\]]/);x&&(h=parseInt(x[1]),C=parseInt(x[2]))}function y(p,S){a(S==="min"?"[".concat((0,zt.JY)(p)?p:"",",").concat((0,zt.JY)(C)?C:"","]"):"[".concat((0,zt.JY)(h)?h:"",",").concat((0,zt.JY)(p)?p:"","]"))}return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"setting-item",children:["\u6700\u5C11\u586B\u5199",(0,e.jsx)(pe.Z,{value:h,min:0,style:{width:60,marginLeft:5},size:"small",onChange:function(S){return y(S,"min")}}),(0,e.jsx)("span",{className:"ant-form-text",children:"\u5B57"})]}),(0,e.jsxs)("div",{className:"setting-item",children:["\u6700\u591A\u586B\u5199",(0,e.jsx)(pe.Z,{value:C,min:0,style:{width:60,marginLeft:5},size:"small",onChange:function(S){return y(S,"max")}}),(0,e.jsx)("span",{className:"ant-form-text",children:"\u5B57"})]})]})}var x0=(0,z.Gr)(zn,{name:"textLimit"}),Di;function ii(c){var a=c.className;return(0,e.jsxs)("div",{className:a,children:["\u9009\u9879\u540E\u6587\u5B57",(0,e.jsx)(t0.Z,{size:"small",defaultChecked:!!c.initialValue,onChange:c.onChange})]})}var _1=(0,_t.ZP)(ii)(Di||(Di=(0,g0.Z)([` 59 padding: 12px 18px 12px 0; 60 display: flex; 61 justify-content: space-between; 62 margin-left: 18px; 63 border-bottom: solid 1px #dde5ed; 64`]))),Ni=null,ai=i(1870),vn=[{value:"rejectAll",text:"\u9009\u9879\u6392\u4ED6"},{value:"rejectOther",text:"\u6392\u4ED6\u9009\u9879\u4E92\u65A5"}];function kn(c){var a=(0,b.useContext)(ce.Y7),n=a.getContainer;return(0,e.jsxs)(j,{children:[(0,e.jsxs)("span",{children:["\u9009\u9879\u6392\u4ED6",(0,e.jsx)(It.Z,{getPopupContainer:n,style:{width:150},content:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:"\u9009\u9879\u6392\u4ED6: \u4E0D\u80FD\u548C\u5176\u4ED6\u9009\u9879\u540C\u65F6\u9009\u4E2D"}),(0,e.jsx)("div",{children:"\u6392\u4ED6\u9009\u9879\u4E92\u65A5: \u4E0D\u80FD\u548C\u6392\u4ED6\u9009\u9879\u540C\u65F6\u9009\u4E2D"})]}),children:(0,e.jsx)(ai.Z,{style:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})})]}),(0,e.jsx)(Je.Ph,(0,_.Z)((0,_.Z)({dataSource:vn},c),{},{style:{width:130}}))]})}var B0=(0,Je.Gr)(kn,{name:"rejectOtherOption"}),bn=i(78380),ri=i.n(bn),oi=ae.Z.Option;function Ti(c){var a=c.onChange,n=c.value,h=(0,b.useRef)(null);return(0,e.jsxs)("div",{className:ri().settingItem,ref:h,children:[(0,e.jsxs)("span",{children:["\u95EE\u5377\u6A21\u5F0F",(0,e.jsx)(It.Z,{overlayClassName:ri().popover,content:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:"\u5355\u9875\uFF1A\u6240\u6709\u95EE\u9898\u5355\u9875\u663E\u793A"}),(0,e.jsx)("div",{children:"\u9898\u7EC4\uFF1A\u6BCF\u9875\u4E00\u4E2A\u9898\u7EC4"}),(0,e.jsx)("div",{children:"\u5355\u9898\uFF1A\u6BCF\u9875\u4E00\u4E2A\u95EE\u9898"})]}),children:(0,e.jsx)(ai.Z,{style:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})})]}),(0,e.jsxs)(ae.Z,{style:{width:120},size:"small",value:n,getPopupContainer:function(){return h.current},onChange:function(x){return a(x)},children:[(0,e.jsx)(oi,{value:"one_page",children:"\u5355\u9875\u6A21\u5F0F"}),(0,e.jsx)(oi,{value:"one_page_one_question",children:"\u5355\u9898\u6A21\u5F0F"})]})]})}var l1=(0,Je.Gr)(Ti,{name:"mode"}),li,j=_t.ZP.div(li||(li=(0,g0.Z)([` 65 padding: 12px 18px 12px 0; 66 display: flex; 67 justify-content: space-between; 68 margin-left: 18px; 69 border-bottom: solid 1px #dde5ed; 70 71 .ant-popover-inner-content { 72 max-width: 170px; 73 padding: 8px 11px; 74 font-size: 12px; 75 line-height: 16px; 76 word-break: break-all; 77 background: #fafcff; 78 border: 1px solid #97bbff; 79 border-radius: 2px; 80 } 81 82 .subContent { 83 background: #fafafa; 84 border-bottom: 1px solid #dde5ed; 85 } 86 87 .subItem { 88 display: flex; 89 justify-content: space-between; 90 margin-left: 18px; 91 padding: 12px 18px 12px 10px; 92 font-size: 13px; 93 vertical-align: middle; 94 } 95`]))),s={width:120},l=i(7359),g=i(27279),f=i(61494),A=i(37839),V=Ut.Z.Text,P=g.Z.Panel,R=(0,N.Pi)(function(c){var a,n=c.optionNode,h=n==null||(a=n.form.values.attribute)===null||a===void 0?void 0:a.dataType,C=(0,D.Tv)(),x=n==null?void 0:n.form.values.title;return(0,b.useEffect)(function(){h!=="horzBlank"&&n&&(0,z.Kn)(n)&&C.batchReplaceNode([],n)},[h]),(0,A.Z)(function(){if(console.log(x),!(!n||!(0,z.Kn)(n.serialize()))&&!!x&&!(h!=="horzBlank"&&!x.includes("ql-insert-blank"))){if(x.includes("ql-insert-blank")){var y=n.getAttribute("dataType");y||n.setAttribute("dataType","horzBlank")}var p=(n==null?void 0:n.serialize().children)||[],S=(0,dt.w2)(x),B=S.map(function(w,L){var k=p.find(function(H){return H.id===w.id});return k||{title:"\u586B\u7A7A".concat(L+1),id:w.id}});C.batchReplaceNode(B,n)}},[x,h,n]),(0,e.jsx)(g.Z,{defaultActiveKey:["1"],style:{marginTop:20,borderRadius:0},children:n==null?void 0:n.children.map(function(y,p){return(0,e.jsx)(P,{header:(0,e.jsxs)(e.Fragment,{children:["\u586B\u7A7A",(0,e.jsx)(V,{strong:!0,children:p+1}),"\u8BBE\u7F6E"]}),children:(0,e.jsx)(f.R,{form:y.form,children:(0,e.jsx)(N.Wo,{name:"attribute",children:(0,e.jsxs)("div",{className:"collapse-fill-blank",children:[(0,e.jsx)(yn,{}),(0,e.jsx)(Gt,{excludeTypes:["horzBlank"]}),(0,e.jsx)(H0,{}),(0,e.jsx)(gt,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text","chinese","alphabet"]}}),(0,e.jsx)(X0,{name:"dictCode",title:"\u5B57\u5178\u7F16\u7801",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(Nn,{title:"\u7EA7\u8054\u5C42\u7EA7",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(j0,{syncDisplay:{dataType:["select"]}}),(0,e.jsx)(z0,{}),(0,e.jsx)(rn,{})]})})})},y.id)})})});function $(c){var a,n=c.settingType,h=(0,N.U$)(),C=(0,N.cI)(),x=(0,D.Uh)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(on,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(U0,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=C.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(ni,{}),(0,e.jsx)(wn,{}),(0,e.jsx)(In,{}),(0,e.jsx)(D0,{}),(0,e.jsx)(R,{optionNode:x})]})]})}(0,z.QT)("Radio",(0,N.Pi)($)),(0,z.QT)("Judge",(0,N.Pi)($));function U(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.getContainer;return(0,e.jsxs)("div",{style:{paddingLeft:40},children:[(0,e.jsxs)("a",{onClick:function(){a.addNodeWithTemplate({title:"\u9009\u9879".concat(h.children.length+1)},{parentNode:h})},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u5355\u4E2A\u9009\u9879"]}
95),(0,e.jsx)(F.E4,{getContainer:C,onConfirm:function(y){a.batchAddNode(y.filter(function(p){return p.trim()!==""}).map(function(p){return{title:p}}),{parentNode:h})}})]})}(0,z.j1)("Radio",(0,Zt.Pi)(U));var Y=i(89032),K=i(15746);function J(c){var a,n,h,C,x,y,p=c.node,S=c.index,B=p.parent,w=(0,N.cI)(),L=(B==null||(a=B.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,k=(0,b.useContext)(z.Gb),H=k.isFocus,Z=(0,D.jE)(),ee=Z.mode,ve=(0,D.Mq)(p),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(n=w.values.attribute)===null||n===void 0?void 0:n.dataType,ht=(h=w.values.attribute)===null||h===void 0?void 0:h.examScore,ie=(C=w.values.attribute)===null||C===void 0?void 0:C.examCorrectAnswer,we=B==null||(x=B.form.values.attribute)===null||x===void 0?void 0:x.examAnswerMode;return(0,e.jsx)(K.Z,{span:H?24:24/L,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},fe),{},{children:[(0,e.jsx)("span",{style:{position:"absolute",display:ze||H?"":"none"},children:(0,e.jsx)(F.MT,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e",cursor:"move"},className:"drag-handle-option"})}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:[(0,e.jsx)(F.MT,{infer:"Radio",style:{fontSize:19,color:"#9e9e9e"}}),(0,e.jsx)(F.Mf,{index:S,excludeToolbars:["background"]}),ee==="exam"&&ie!==void 0&&we==="onlyOne"&&(0,e.jsx)("span",{style:{color:"#00bf6f",marginLeft:12},children:"(\u6B63\u786E\u7B54\u6848)"}),ee==="exam"&&ht!==void 0&&we==="select"&&(0,e.jsxs)("span",{style:{color:"#9e9e9e",marginLeft:12},children:["(\u5206\u503C",ht,")"]}),ct&&(0,e.jsx)(F.uO,{width:100}),(0,e.jsx)("div",{children:(0,e.jsx)(Je.rN,{name:"suffix",display:(y=w.values.attribute)!==null&&y!==void 0&&y.suffix?"visible":"none",basePath:"attribute",style:{minWidth:120,maxWidth:160,width:"auto",marginLeft:5},mirrorFieldAddress:"attribute._void._suffix",placeholder:"\u9009\u9879\u540E\u6587\u5B57"})})]}),(0,e.jsxs)("div",{style:{flex:"0 0 20%",display:ze?"":"none"},children:[(0,e.jsx)(F.MT,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(ut){ut.stopPropagation(),B==null||B.deleteNode(p)}}),(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})]})]}))})}var q=(0,Zt.Pi)(J),X=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return(0,e.jsx)("div",{className:G()("single"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(q,{index:p,node:y})},y.id)},y.id)})})})});(0,z.RY)("Radio",X),(0,z.RY)("Judge",X);function re(c){var a,n=c.settingType,h=(0,N.U$)(),C=(0,N.cI)(),x=(0,D.Uh)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(U0,{}),(0,e.jsx)(on,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)(Ct,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=C.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(ni,{}),(0,e.jsx)(wn,{}),(0,e.jsx)(In,{}),(0,e.jsx)(B0,{}),(0,e.jsx)(D0,{}),(0,e.jsx)(R,{optionNode:x})]})]})}(0,z.QT)("Checkbox",(0,N.Pi)(re));function Ee(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.getContainer;return(0,e.jsxs)("div",{style:{paddingLeft:40},children:[(0,e.jsxs)("a",{onClick:function(){a.addNodeWithTemplate({title:"\u9009\u9879".concat(h.children.length+1)},{parentNode:h})},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u5355\u4E2A\u9009\u9879"]}),(0,e.jsx)(F.E4,{getContainer:C,onConfirm:function(y){a.batchAddNode(y.filter(function(p){return p.trim()!==""}).map(function(p){return{title:p}}),{parentNode:h})}})]})}(0,z.j1)("Checkbox",(0,Zt.Pi)(Ee));function xe(c){var a,n,h,C,x,y,p=c.node,S=c.index,B=p.parent,w=(0,N.cI)(),L=(B==null||(a=B.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,k=(0,b.useContext)(z.Gb),H=k.isFocus,Z=(0,D.jE)(),ee=Z.mode,ve=(0,D.Mq)(p),Ae=(0,se.Z)(ve,2),ze=Ae[0],fe=Ae[1],ct=(n=w.values.attribute)===null||n===void 0?void 0:n.dataType,ht=(h=w.values.attribute)===null||h===void 0?void 0:h.examScore,ie=(C=w.values.attribute)===null||C===void 0?void 0:C.examCorrectAnswer,we=B==null||(x=B.form.values.attribute)===null||x===void 0?void 0:x.examAnswerMode;return(0,e.jsx)(K.Z,{span:H?24:24/L,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},fe),{},{children:[(0,e.jsx)("span",{style:{position:"absolute",display:ze||H?"":"none"},children:(0,e.jsx)(F.MT,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e"},className:"drag-handle-option"})}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:[(0,e.jsx)(F.MT,{infer:"Checkbox",style:{fontSize:19,color:"#9e9e9e"}}),(0,e.jsx)(F.Mf,{index:S,excludeToolbars:["background"]}
95),ee==="exam"&&ie!==void 0&&(we==="selectAll"||we==="selectCorrect")&&(0,e.jsx)("span",{style:{color:"#00bf6f",marginLeft:12},children:"(\u6B63\u786E\u7B54\u6848)"}),ee==="exam"&&ht!==void 0&&we==="select"&&(0,e.jsxs)("span",{style:{color:"#9e9e9e",marginLeft:12},children:["(\u5206\u503C",ht,")"]}),ct&&(0,e.jsx)(F.uO,{width:120}),(0,e.jsx)("div",{children:(0,e.jsx)(Je.rN,{name:"suffix",display:(y=w.values.attribute)!==null&&y!==void 0&&y.suffix?"visible":"none",basePath:"attribute",style:{minWidth:120,maxWidth:160,width:"auto",marginLeft:5},mirrorFieldAddress:"attribute._void._suffix",placeholder:"\u9009\u9879\u540E\u6587\u5B57"})})]}),(0,e.jsxs)("div",{style:{flex:"0 0 20%",display:ze?"":"none"},children:[(0,e.jsx)(F.MT,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(ut){ut.stopPropagation(),B==null||B.deleteNode(p)}}),(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})]})]}))})}var Ze=(0,Zt.Pi)(xe),be=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return(0,e.jsx)("div",{className:G()("multi"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(Ze,{index:p,node:y})},y.id)},y.id)})})})});(0,z.RY)("Checkbox",be);function De(c){var a,n,h=c.settingType,C=(0,N.U$)(),x=(0,N.cI)();return(0,e.jsxs)("div",{children:[h==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(an,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(U0,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=x.values)!==null&&a!==void 0&&a.description)})]}),h==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(an,{}),(0,e.jsx)(rn,{}),(0,e.jsx)(Gt,{excludeTypes:["selectDict","horzBlank","select"]}),(0,e.jsx)(H0,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text","chinese","alphabet","number"]}}),(0,e.jsx)(dn,{syncDisplay:{dataType:["text"]}}
95),(0,e.jsx)(_n,{syncDisplay:{dataType:["date"]}}),(0,e.jsx)(X0,{name:"dictCode",title:"\u5B57\u5178\u7F16\u7801",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(Mt,{title:"\u9009\u9879\u540E\u6587\u5B57",name:"_suffix",initialValue:!!((n=C.value)!==null&&n!==void 0&&n.suffix)}),(0,e.jsx)(z0,{}),(0,e.jsx)(cn,{}),(0,e.jsx)(ei,{}),(0,e.jsx)(F.QN,{}),(0,e.jsx)(yn,{}),(0,e.jsx)(D0,{})]})]})}(0,z.QT)("MultipleBlank",(0,N.Pi)(De)),(0,z.QT)("FillBlank",(0,N.Pi)(De));function Xe(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node;return(0,e.jsx)("div",{style:{paddingLeft:40},children:(0,e.jsxs)("a",{onClick:function(){a.addNodeWithTemplate({title:"\u586B\u7A7A".concat(h.children.length+1)},{parentNode:h})},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u5355\u4E2A\u9009\u9879"]})})}(0,z.j1)("MultipleBlank",(0,Zt.Pi)(Xe));function mt(c){var a,n,h=c.node,C=h.parent,x=(0,N.cI)(),y=(C==null||(a=C.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,p=C.type,S=(0,b.useContext)(z.Gb),B=S.isFocus,w=(0,D.Mq)(h),L=(0,se.Z)(w,2),k=L[0],H=L[1];return(0,e.jsx)(K.Z,{span:B?24:24/y,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},H),{},{children:[(0,e.jsx)("span",{style:{position:"absolute",display:(k||B)&&p==="MultipleBlank"?"":"none"},children:(0,e.jsx)(F.MT,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e",cursor:"move"},className:"drag-handle-option"})}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:[p==="MultipleBlank"&&(0,e.jsx)(Je.rN,{name:"title",style:{minWidth:120,width:"auto",marginLeft:30}}),(0,e.jsx)(F.uO,{}),(0,e.jsx)("div",{children:(0,e.jsx)(Je.rN,{name:"suffix",display:(n=x.values.attribute)!==null&&n!==void 0&&n.suffix?"visible":"none",basePath:"attribute",style:{minWidth:120,maxWidth:160,width:"auto",marginLeft:5},mirrorFieldAddress:"attribute._suffix",placeholder:"\u9009\u9879\u540E\u6587\u5B57"})})]}),(0,e.jsxs)("div",{style:{flex:"0 0 30%",display:k?"":"none"},children:[p==="MultipleBlank"&&(0,e.jsx)(F.MT,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(ee){ee.stopPropagation(),C==null||C.deleteNode(h)}}),(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})]})]}))})}var bt=(0,Zt.Pi)(mt),Ue=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return(0,e.jsx)("div",{className:G()("fill-blank"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(bt,{index:p,node:y})},y.id)},y.id)})})})});(0,z.RY)("FillBlank",Ue),(0,z.RY)("MultipleBlank",Ue);function at(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(rn,{}),(0,e.jsx)(an,{}),(0,e.jsx)(H0,{}),(0,e.jsx)(x0,{}),(0,e.jsx)(h0,{}),(0,e.jsx)(z0,{})]})]})}(0,z.QT)("Textarea",(0,N.Pi)(at));function xt(){var c=useContext(EditorContext),a=c.operation,n=useContext(QuestionContext),h=n.node;return _jsx("div",{style:{paddingLeft:40},children:_jsxs("a",{onClick:function(){a.addNodeWithTemplate({title:"\u586B\u7A7A".concat(h.children.length+1)},{parentNode:h})},children:[_jsx(IconWidget,{infer:"Plus"}),"\u6DFB\u52A0\u5355\u4E2A\u9009\u9879"]})})}var et=de.Z.TextArea;function Xt(c){var a,n,h,C=c.node,x=C.parent,y=(0,N.cI)(),p=(x==null||(a=x.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,S=(0,z.Ck)((n=y.values.attribute)===null||n===void 0?void 0:n.autoSize,[2,4]),B=x.type,w=(0,b.useContext)(z.Gb),L=w.isFocus,k=(0,D.Mq)(C),H=(0,se.Z)(k,2),Z=H[0],ee=H[1];return(0,e.jsx)(K.Z,{span:L?24:24/p,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},ee),{},{children:[(0,e.jsx)("span",{style:{position:"absolute",display:(Z||L)&&B==="MultipleBlank"?"":"none"},children:(0,e.jsx)(F.MT,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e",cursor:"move"},className:"drag-handle-option"})}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:[B==="MultipleBlank"&&(0,e.jsx)(Je.rN,{name:"title",style:{minWidth:120,width:"auto",marginLeft:30}}),(0,e.jsx)(et,{autoSize:{minRows:S[1],maxRows:S[2]}}),(0,e.jsx)("div",{children:(0,e.jsx)(Je.rN,{name:"suffix",display:(h=y.values.attribute)!==null&&h!==void 0&&h.suffix?"visible":"none",basePath:"attribute",style:{minWidth:120,maxWidth:160,width:"auto",marginLeft:5},mirrorFieldAddress:"attribute._suffix",placeholder:"\u9009\u9879\u540E\u6587\u5B57"})})]}),(0,e.jsxs)("div",{style:{flex:"0 0 30%",display:Z?"":"none"},children:[B==="MultipleBlank"&&(0,e.jsx)(F.MT,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(Ae){Ae.stopPropagation(),x==null||x.deleteNode(C)}}),(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})]})]}))})}var l0=(0,Zt.Pi)(Xt),s0=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;
95return(0,e.jsx)("div",{className:G()("textarea"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(l0,{index:p,node:y})},y.id)},y.id)})})})});(0,z.RY)("Textarea",s0);function i0(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsx)("div",{children:n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]})})}(0,z.QT)("Select",(0,N.Pi)(i0));function Ft(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.getContainer,x=(0,b.useState)(!1),y=(0,se.Z)(x,2),p=y[0],S=y[1];return(0,e.jsxs)("div",{style:{paddingLeft:20,marginTop:10},children:[(0,e.jsxs)("a",{onClick:function(){S(!0)},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u9009\u9879\u7F16\u8F91"]}),(0,e.jsx)(F.E4,{getContainer:C,onConfirm:function(w){a.batchAddNode(w.filter(function(L){return L.trim()!==""}).map(function(L){return{title:L}}),{parentNode:h})}}),p&&(0,e.jsx)(F.aF,{onClose:function(){return S(!1)},dataSource:h.children.map(function(B){return{label:B.title,value:B.id}}),onOk:function(w){a.batchReplaceNode(w.map(function(L){return{id:L.value,title:L.label}}),h),S(!1)}})]})}(0,z.j1)("Select",(0,Zt.Pi)(Ft));var a0=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=a.children;return(0,e.jsx)("div",{className:G()("select"),children:(0,e.jsx)(ae.Z,{style:{width:260,marginLeft:20},options:n.map(function(h){return{label:h.title,value:h.id}})})})});(0,z.RY)("Select",a0);var pt=i(36877),Ge=i(18480);function N0(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsx)("div",{children:n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]})})}(0,z.QT)("Cascader",(0,N.Pi)(N0));var en=i(6936),ui=(0,N.Pi)(function(){var c=(0,N.cI)(),a=c.query("dataSource").get("value");return(0,e.jsxs)("div",{className:G()("select"),children:[(0,e.jsx)(N.gN,{name:"dataSource"}),(0,e.jsx)(Ge.Z,{style:{width:260,marginLeft:20},options:a,placeholder:"\u8BF7\u9009\u62E9"})]})});(0,z.RY)("Cascader",ui);var P0=i(79521),tn=i(19675),nn=i(87057);function T0(c){var a=(0,b.useContext)(z.rU),n=a.getContainer,h=c.className,C=c.id,x=c.deleteHeader,y=c.moveOrder,p=c.node,S=(0,D.Mq)(p),B=(0,se.Z)(S,2),w=B[1],L=(0,e.jsxs)("div",{className:"header-setting",children:[(0,e.jsx)("span",{onClick:function(){return y("left")},children:"\u5DE6\u79FB"}),(0,e.jsx)("span",{onClick:function(){return y("right")},children:"\u53F3\u79FB"}),(0,e.jsx)("span",{onClick:function(){return x(C)},children:"\u5220\u9664"})]});return(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({className:h},w),{},{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,e.jsx)(nn.rN,{name:"title"}),(0,e.jsx)(N.gN,{name:"dataSource"}),(0,e.jsx)(It.Z,{getPopupContainer:n,content:L,trigger:"click",placement:"bottom",overlayClassName:"matrix-column-setting",children:(0,e.jsx)(tn.Z,{style:{marginLeft:20,cursor:"pointer",color:"#cccccc"}})})]}))}var Pn=(0,N.Pi)(T0);function Rn(c){var a=c.columns,n=c.data,h=c.updateWidth,C=b.useMemo(function(){return{minWidth:100,width:150,maxWidth:400}},[]),x=(0,P0.useTable)({columns:a,data:n,defaultColumn:C},P0.useBlockLayout,P0.useResizeColumns),y=x.getTableProps,p=x.getTableBodyProps,S=x.headerGroups,B=x.rows,w=x.prepareRow,L=x.headers,k=(0,b.useRef)(),H=(0,b.useRef)();return(0,b.useEffect)(function(){Array.isArray(L)&&L.length>0&&(H.current=L.map(function(Z){var ee=Z.id,ve=Z.width;return{id:ee,width:ve}})),k.current||(k.current=requestAnimationFrame(function(){H.current&&(h(H.current),H.current=void 0,k.current=void 0)}))}),(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},y()),{},{className:"table",children:[(0,e.jsx)("div",{children:S.map(function(Z){return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},Z.getHeaderGroupProps()),{},{className:"tr",children:Z.headers.map(function(ee){return(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},ee.getHeaderProps()),{},{className:"th",children:[ee.render("Header"),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},ee.getResizerProps()),{},{className:"resizer ".concat(ee.isResizing?"isResizing":"")}))]}))})}))})}),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},p()),{},{children:B.map(function(Z){return w(Z),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},Z.getRowProps()),{},{className:"tr",children:Z.cells.map(function(ee){return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},ee.getCellProps()),{},{className:"td",children:ee.render("Cell")}))})}))})})),(0,e.jsx)("div",{className:"continue",children:"+ \u7EE7\u7EED\u586B\u5199"})]}))}var u1=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=a.children,h=(0,b.useContext)(z.rU),C=h.operation,x=a.form.values,y=function(H,Z){var ee=n.find(function(Ae){return Ae.id===Z});if(!!ee){var ve=ee.index;if(ve===0&&H==="left"){le.default.warn("\u5DF2\u662F\u6700\u5DE6");return}if(ve===n.length-1&&H==="right"){le.default.warn("\u5DF2\u662F\u6700\u53F3");return}H==="left"?C.dropSortNode(ee,a,ve-1):C.dropSortNode(ee,a,ve+1)}},p=function(H){if(n.length===1){le.default.error("\u8BF7\u4FDD\u7559\u6700\u5C11\u4E00\u5217");return}var Z=n.find(function(ee){return ee.id===H});Z&&C.removeNodes(Z)},S=(0,b.useMemo)(function(){var k=n.map(function(H,Z){var ee;return{Header:(0,e.jsx)(F.RV,{form:H.form,children:(0,e.jsx)(Pn,{id:H.id,index:Z,moveOrder:function(Ae){return y(Ae,H.id)},deleteHeader:p,node:H})}),width:((ee=H.form.values.attribute)===null||ee===void 0?void 0:ee.width)||150,accessor:H.id}});return k},[n]),B=[],w={};
95n.forEach(function(k){var H,Z=(H=k.form.values.attribute)===null||H===void 0?void 0:H.dataType,ee=k.form.values.dataSource||[];Z==="select"?w["".concat(k.id)]=(0,e.jsx)(ae.Z,{placeholder:"\u8BF7\u9009\u62E9",style:{width:"100%"},options:ee.map(function(ve){return{label:ve.text,value:ve.code}})}):w["".concat(k.id)]=(0,e.jsx)(F.uO,{dataType:Z,width:"100%"})}),B.push(w),B.push(w);var L=function(H){H.forEach(function(Z){var ee=Z.id,ve=Z.width;if(ee==="title")x.attribute.width=ve;else{var Ae=n.find(function(ze){return ze.id===ee});Ae&&(Ae.form.values.attribute||(Ae.form.values.attribute={}),Ae.form.values.attribute.width=ve)}})};return(0,e.jsx)("div",{className:"table-container",children:(0,e.jsx)(Rn,{columns:S,data:B,updateWidth:L})})});function ea(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=h.form.values,x=function(){a.addNode("Option",h)};return(0,e.jsx)("div",{style:{paddingLeft:40},children:(0,e.jsxs)("a",{onClick:x,children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u9009\u9879"]})})}(0,z.j1)("MatrixAuto",(0,Zt.Pi)(ea));var ta=(0,N.Pi)(function(c){var a,n=c.settingType,h=(0,b.useState)(!1),C=(0,se.Z)(h,2),x=C[0],y=C[1],p=(0,N.cI)();return(0,N.U7)(function(S){(0,F0.Zj)("attribute._select",function(B){B.value?y(!0):y(!1)}),(0,F0.Zj)("attribute.dataType",function(B,w){B.value==="select"?w.query("dataSource").take(function(L){return L.visible=!0}):w.query("dataSource").take(function(L){return L.visible=!1})})}),(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(pn,{maxText:"\u6700\u591A\u884C\u6570",minText:"\u6700\u5C11\u884C\u6570"}),(0,e.jsx)(Et,{}),(0,e.jsx)(F.KV,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=p.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Gt,{}),(0,e.jsx)(H0,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text"]}}),(0,e.jsx)(z0,{}),(0,e.jsx)(ft,{name:"_select",syncDisplay:{dataType:["select"]},title:"\u4E0B\u62C9\u8BBE\u7F6E",innerComponent:function(B){return(0,e.jsx)("a",{onClick:function(L){L.stopPropagation(),B.onChange(!0)},children:"\u70B9\u51FB\u8BBE\u7F6E"})}}),x&&(0,e.jsx)(F.aF,{dataSource:p.values.dataSource||[],onClose:function(){p.values.attribute._select=!1},onOk:function(B){p.values.attribute._select=!1,p.values.dataSource=B}}),(0,e.jsx)(X0,{name:"dictCode",title:"\u5B57\u5178\u7F16\u7801",syncDisplay:{dataType:["selectDict"]}})]})]})});(0,z.QT)("MatrixAuto",ta);function na(){return(0,e.jsx)("div",{className:G()("matrix"),children:(0,e.jsx)(u1,{})})}(0,z.RY)("MatrixAuto",(0,N.Pi)(na));var pr=i(88983),ia=i(66253);function aa(c){var a=c.className,n=c.deleteHeader,h=c.moveOrder,C=c.index,x=(0,b.useRef)(null),y=(0,e.jsxs)("div",{className:"header-setting",children:[(0,e.jsx)("span",{onClick:function(){return h("up")},children:"\u4E0A\u79FB"}),(0,e.jsx)("span",{onClick:function(){return h("down")},children:"\u4E0B\u79FB"}),(0,e.jsx)("span",{onClick:n,children:"\u5220\u9664"})]});return(0,e.jsxs)("div",{ref:x,className:a,onClick:function(S){S.stopPropagation()},style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,e.jsx)(nn.rN,{name:"title",basePath:"row.".concat(C)}),(0,e.jsx)(It.Z,{getPopupContainer:function(){return x.current},content:y,trigger:"click",placement:"bottom",overlayClassName:"matrix-column-setting",children:(0,e.jsx)(tn.Z,{style:{marginLeft:20,cursor:"pointer",color:"#cccccc"}})})]})}var ra=(0,N.Pi)(aa);function s1(c){var a=(0,b.useContext)(z.rU),n=a.getContainer,h=c.className,C=c.id,x=c.deleteHeader,y=c.moveOrder,p=c.node,S=(0,D.Mq)(p),B=(0,se.Z)(S,2),w=B[1],L=(0,e.jsxs)("div",{className:"header-setting",children:[(0,e.jsx)("span",{onClick:function(){return y("left")},children:"\u5DE6\u79FB"}),(0,e.jsx)("span",{onClick:function(){return y("right")},children:"\u53F3\u79FB"}),(0,e.jsx)("span",{onClick:function(){return x(C)},children:"\u5220\u9664"})]});return(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({className:h},w),{},{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,e.jsx)(nn.rN,{name:"title"}),(0,e.jsx)(It.Z,{getPopupContainer:n,content:L,trigger:"click",placement:"bottom",overlayClassName:"matrix-column-setting",children:(0,e.jsx)(tn.Z,{style:{marginLeft:20,cursor:"pointer",color:"#cccccc"}})})]}))}var oa=(0,N.Pi)(s1);function la(c){var a=c.columns,n=c.data,h=c.updateWidth,C=b.useMemo(function(){return{minWidth:100,width:150,maxWidth:400}},[]),x=(0,P0.useTable)({columns:a,data:n,defaultColumn:C},P0.useBlockLayout,P0.useResizeColumns),y=x.getTableProps,p=x.getTableBodyProps,S=x.headerGroups,B=x.rows,w=x.prepareRow,L=x.headers,k=(0,b.useRef)(),H=(0,b.useRef)();return(0,b.useEffect)(function(){Array.isArray(L)&&L.length>0&&(H.current=L.map(function(Z){var ee=Z.id,ve=Z.width;return{id:ee,width:ve}})),k.current||(k.current=requestAnimationFrame(function(){H.current&&(h(H.current),H.current=void 0,k.current=void 0)}))}),(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},y()),{},{className:"table",children:[(0,e.jsx)("div",{children:S.map(function(Z){return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},Z.getHeaderGroupProps()),{},{className:"tr",children:Z.headers.map(function(ee){return(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},ee.getHeaderProps()),{},{className:"th",children:[ee.render("Header"),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},ee.getResizerProps()),{},{className:"resizer ".concat(ee.isResizing?"isResizing":"")}))]}))})}))})}),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},p()),{},{children:B.map(function(Z){return w(Z),(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},Z.getRowProps()),{},{className:"tr",children:Z.cells.map(function(ee){return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},ee.getCellProps()),{},{className:"td",children:ee.render("Cell")}))})}))})}))]}))}var ua=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=a.children,h=(0,b.useContext)(z.rU),C=h.operation,x=a.form.values,y=function(k,H){var Z=n.find(function(ve){return ve.id===H});if(!!Z){var ee=Z.index;if(ee===0&&k==="left"){le.default.warn("\u5DF2\u662F\u6700\u5DE6");return}if(ee===n.length-1&&k==="right"){le.default.warn("\u5DF2\u662F\u6700\u53F3");return}k==="left"?C.dropSortNode(Z,a,ee-1):C.dropSortNode(Z,a,ee+1)}},p=function(k){if(n.length===1){le.default.error("\u8BF7\u4FDD\u7559\u6700\u5C11\u4E00\u5217");return}var H=n.find(function(Z){return Z.id===k});H&&C.removeNodes(H)}
95,S=(0,b.useMemo)(function(){var L,k=n.map(function(H,Z){var ee;return{Header:(0,e.jsx)(F.RV,{form:H.form,children:(0,e.jsx)(oa,{id:H.id,index:Z,moveOrder:function(Ae){return y(Ae,H.id)},deleteHeader:p,node:H})}),width:((ee=H.form.values.attribute)===null||ee===void 0?void 0:ee.width)||150,accessor:H.id}});return k.splice(0,0,{Header:(0,e.jsx)(Je.rN,{name:"cornerText",basePath:"attribute"}),width:((L=x.attribute)===null||L===void 0?void 0:L.width)||150,accessor:"title"}),k},[n]),B=x.row.map(function(L,k){return{title:(0,e.jsx)(ra,{index:k,deleteHeader:function(){var Z;(Z=x.row)===null||Z===void 0||Z.splice(k,1)},moveOrder:function(Z){var ee=x.row.splice(k,1)[0];if(Z==="up"){var ve;if(k===0){le.default.warn("\u5DF2\u662F\u6700\u4E0A");return}(ve=x.row)===null||ve===void 0||ve.splice(k-1,0,ee)}else{var Ae;if(k===x.row.length-1){le.default.warn("\u5DF2\u662F\u6700\u4E0B");return}(Ae=x.row)===null||Ae===void 0||Ae.splice(k+1,0,ee)}}})}});n.forEach(function(L){var k,H,Z=(k=L.form.values.attribute)===null||k===void 0?void 0:k.dataType,ee=(H=L.form.values.attribute)===null||H===void 0?void 0:H.exclusiveFillBlankInMatrix;B.forEach(function(ve){switch(a.type){case"MatrixFillBlank":ve[L.id]=(0,e.jsx)(F.uO,{dataType:Z,width:120});break;case"MatrixRadio":ve[L.id]=(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"ce"},children:[!ee&&(0,e.jsx)(ia.ZP,{}),Z&&(0,e.jsx)(F.uO,{dataType:Z})]});break;case"MatrixCheckbox":ve[L.id]=(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"ce"},children:[(0,e.jsx)(Mi.Z,{style:{marginRight:5}}),Z&&(0,e.jsx)(F.uO,{dataType:Z})]});break;default:break}})});var w=function(k){k.forEach(function(H){var Z=H.id,ee=H.width;if(Z==="title")x.attribute.width=ee;else{var ve=n.find(function(Ae){return Ae.id===Z});ve&&(ve.form.values.attribute||(ve.form.values.attribute={}),ve.form.values.attribute.width=ee)}})};return(0,e.jsx)("div",{className:"table-container",children:(0,e.jsx)(la,{columns:S,data:B,updateWidth:w})})});function wi(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=h.form.values,x=function(){a.addNode("Option",h)},y=function(){var S;(S=C.row)===null||S===void 0||S.push({id:(0,Le.Ox)(),title:"\u8BF7\u8F93\u5165"}),a.snapshot()};return(0,e.jsxs)("div",{style:{paddingLeft:40},children:[(0,e.jsxs)("a",{onClick:x,children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u9009\u9879"]}),(0,e.jsxs)("a",{onClick:y,style:{marginLeft:15},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u884C"]})]})}(0,z.j1)("MatrixFillBlank",(0,Zt.Pi)(wi)),(0,z.j1)("MatrixRadio",(0,Zt.Pi)(wi)),(0,z.j1)("MatrixCheckbox",(0,Zt.Pi)(wi));function Ii(c,a){return(0,N.Pi)(function(n){var h,C=n.settingType,x=(0,N.cI)(),y=(0,N.U$)();return(0,e.jsxs)("div",{children:[C==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Ei,{}),(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(F.KV,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((h=x.values)!==null&&h!==void 0&&h.description)})]}),C==="option"&&a]})})}(0,z.QT)("MatrixFillBlank",Ii("MatrixFillBlank",(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(an,{}),(0,e.jsx)(Gt,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text"]}}),(0,e.jsx)(z0,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text","chinese","alphabet","number"]}}),(0,e.jsx)(dn,{syncDisplay:{dataType:["text"]}}
95),(0,e.jsx)(_n,{syncDisplay:{dataType:["date"]}}),(0,e.jsx)(X0,{name:"dictCode",title:"\u5B57\u5178\u7F16\u7801",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(j0,{syncDisplay:{dataType:["select"]}})]}))),(0,z.QT)("MatrixRadio",Ii("MatrixRadio",(0,e.jsx)("div",{children:(0,e.jsx)(F.Sc,{title:"\u5728\u9009\u9879\u540E\u589E\u52A0\u586B\u7A7A\u6846",initialDependOn:"dataType",name:"_void",children:(0,e.jsxs)("div",{className:"collapse-fill-blank",children:[(0,e.jsx)(Gt,{}),(0,e.jsx)(H0,{}),(0,e.jsx)(gt,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text"]}}),(0,e.jsx)(z0,{}),(0,e.jsx)(F.KV,{title:"\u5355\u72EC\u586B\u7A7A",name:"exclusiveFillBlankInMatrix",popoverContent:"\u6E32\u67D3\u4E3A\u4E00\u4E2A\u72EC\u7ACB\u7684\u586B\u7A7A\u9898"})]})})}))),(0,z.QT)("MatrixCheckbox",Ii("MatrixCheckbox",(0,e.jsx)("div",{children:(0,e.jsx)(F.Sc,{title:"\u5728\u9009\u9879\u540E\u589E\u52A0\u586B\u7A7A\u6846",initialDependOn:"dataType",name:"_void",children:(0,e.jsxs)("div",{className:"collapse-fill-blank",children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Gt,{}),(0,e.jsx)(H0,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text"]}}),(0,e.jsx)(z0,{})]})})})));function zi(){return(0,e.jsx)("div",{className:G()("matrix"),children:(0,e.jsx)(ua,{})})}(0,z.RY)("MatrixFillBlank",(0,N.Pi)(zi)),(0,z.RY)("MatrixRadio",(0,N.Pi)(zi)),(0,z.RY)("MatrixCheckbox",(0,N.Pi)(zi));function c1(c){var a=c.settingType;return(0,e.jsx)("div",{children:a==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{})]})})}(0,z.QT)("Pagination",(0,N.Pi)(c1));var sa=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=(0,b.useContext)(z.rU),h=n.tree,C=h.children.filter(function(x){return x.type==="Pagination"}).length;return(0,e.jsxs)("div",{className:G()("pagination"),children:["\u7B2C",a.index+1,"\u9875(\u5171",C,"\u9875)"]})});(0,z.RY)("Pagination",sa);function d1(c){return(0,e.jsx)("div",{children:(0,e.jsx)(Et,{})})}(0,z.QT)("Remark",(0,N.Pi)(d1));var ki=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node;return(0,e.jsx)("div",{className:G()("remark"),children:(0,e.jsx)(Je.rN,{name:"title",style:{width:"95%",minHeight:60},innerStyle:{fontSize:"17px"},bounds:'[data-id="'.concat(a.id,'"]'),placeholder:"\u8BF7\u8F93\u5165\u6587\u5B57\u63CF\u8FF0"})})});(0,z.RY)("Remark",ki);function si(c){return(0,e.jsx)("div",{})}(0,z.QT)("SplitLine",(0,N.Pi)(si));var v1=(0,N.Pi)(function(){return(0,e.jsx)("div",{className:G()("split-line"),children:(0,e.jsx)("div",{className:"line"})})});(0,z.RY)("SplitLine",v1);function Pi(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(Me,{title:"\u6700\u5927\u6587\u4EF6\u6570\u91CF",name:"maxFileCount",popoverContent:"\u6B64\u5C5E\u6027\u7528\u4E8E\u9650\u5236\u586B\u5199\u8005\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u6570\u91CF\u3002",max:20,min:0}),(0,e.jsx)(Me,{title:"\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u4F53\u79EF",name:"maxFileSize",popoverContent:"\u6B64\u5C5E\u6027\u7528\u4E8E\u9650\u5236\u586B\u5199\u8005\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u4F53\u79EF\u3002\u53EF\u6839\u636E\u9700\u8981\u6536\u96C6\u7684\u6587\u4EF6\u7C7B\u578B\u505A\u9009\u62E9\uFF0C\u4F8B\u59821\u5F20\u7167\u7247\u5927\u7EA63MB\uFF0C1\u99963\u5206\u949Fmp3\u97F3\u9891\u5927\u7EA65MB\u3002",min:0}),(0,e.jsx)(m0,{title:"\u6587\u4EF6\u7C7B\u578B",name:"fileAccept",dataSource:[{label:"\u6587\u6863\u7C7B\u578B",value:".txt, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .wps, .rtf, .hlp"},{label:"\u56FE\u7247\u7C7B\u578B",value:".jpg, .jpeg, .png, .gif, .bmp, .psd, .tif"},{label:"\u89C6\u9891\u7C7B\u578B",value:".mkv, .mp4, .avi, .swf, .wmv, .rmvb, .mov, .mpg"}],innerStyle:{width:120},popoverContent:"\u6587\u4EF6\u7C7B\u578B\uFF0C\u8BF7\u8F93\u5165\u6587\u4EF6\u540E\u7F00\uFF0C\u591A\u79CD\u7C7B\u578B\u4EE5\u82F1\u6587\u9017\u53F7\u5206\u5272\u3002\u5982 excel \u548C word\uFF0C\u8F93\u5165 .xlsx,.docx\u3002"}),(0,e.jsx)(Bi,{})]})]})}(0,z.QT)("Upload",(0,N.Pi)(Pi));var h1=i(43185),ci=i(32620),f1=i(43347),di=ci.Z.Dragger;function Ri(c){var a,n,h,C,x,y,p=c.node,S=(0,N.cI)(),B=(a=S.values)===null||a===void 0||(n=a.attribute)===null||n===void 0?void 0:n.maxFileSize,w=(h=S.values)===null||h===void 0||(C=h.attribute)===null||C===void 0?void 0:C.maxFileC
95ount,L=(x=S.values)===null||x===void 0||(y=x.attribute)===null||y===void 0?void 0:y.fileAccept,k=(0,D.Mq)(p),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=function(){var ze=[];return w&&ze.push("\u6700\u591A\u4E0A\u4F20".concat(w,"\u4E2A")),B&&ze.push("\u9650\u5236\u6BCF\u4E2A\u6587\u4EF6".concat(B,"M\u4EE5\u5185")),L&&ze.push("\u4EC5\u652F\u6301\u6587\u4EF6\u7C7B\u578B\uFF1A".concat(L)),ze.join(",")};return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({style:{height:150}},ee),{},{children:(0,e.jsxs)(di,(0,_.Z)((0,_.Z)({},c),{},{disabled:!0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",style:{marginBottom:10},children:(0,e.jsx)(f1.Z,{})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u9009\u62E9\u6216\u62D6\u62FD\u4E0A\u4F20\u6587\u4EF6"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:ve()})]}))}))}var ca=(0,Zt.Pi)(Ri),m1=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return(0,e.jsx)("div",{className:G()("single"),children:x.map(function(y,p){return(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(ca,{index:p,node:y})},y.id)})})});(0,z.RY)("Upload",m1),(0,z.RY)("Upload",m1);var xr=i(13062),On=i(71230);function da(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsx)("div",{})]})}(0,z.QT)("Signature",(0,N.Pi)(da));var vi=i(17672),p1=function(){var a=(0,b.useRef)(null),n=(0,b.useState)(!1),h=(0,se.Z)(n,2),C=h[0],x=h[1];return(0,b.useEffect)(function(){var y=a.current;if(y){let S=function(){if(y!=null){var B=Math.max(window.devicePixelRatio||1,1);y.width=y.offsetWidth*B,y.height=y.offsetHeight*B,y.getContext("2d").scale(B,B),p.clear()}};var p=new vi.Z(a.current,{onBegin:function(){x(!0)}});window.addEventListener("resize",S),S()}},[]),(0,e.jsxs)("div",{style:{position:"relative"},children:[(0,e.jsx)("canvas",{ref:a,style:{width:"100%",height:120}}),(0,e.jsx)("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"#aaa",visibility:C?"hidden":"visible"},children:"\u8BF7\u5728\u6B64\u5904\u7B7E\u540D"})]})},va=(0,N.Pi)(function(){return(0,e.jsx)("div",{className:G()("signature"),children:(0,e.jsx)("div",{children:(0,e.jsx)(On.Z,{children:(0,e.jsx)(K.Z,{xs:24,sm:24,md:24,xl:24,children:(0,e.jsx)(p1,{})})})})})});(0,z.RY)("Signature",va);var ha={1:(0,e.jsx)(gn.Z,{}),2:(0,e.jsx)(gn.Z,{}),3:(0,e.jsx)(Fi.Z,{}),4:(0,e.jsx)(Cn.Z,{}),5:(0,e.jsx)(Cn.Z,{})},x1=(0,N.Pi)(function(c){var a,n,h=c.node,C=(0,b.useContext)(z.Gb),x=C.isFocus,y=(0,D.Mq)(h),p=(0,se.Z)(y,2),S=p[0],B=p[1],w=(0,N.cI)(),L=(a=w.values.attribute)===null||a===void 0?void 0:a.scoreStyle,k=(n=w.values.attribute)===null||n===void 0?void 0:n.scope,H=0,Z=5;if(k){var ee=k.match(/[([](\d*),\s*(\d*)[\)\]]/);ee&&(H=parseInt(ee[1])||0,Z=parseInt(ee[2])||1)}var ve=function(){return L==="heart"?(0,e.jsx)(G0.Z,{defaultValue:H,character:(0,e.jsx)(Jn.Z,{}),style:{color:"#ea7463"},count:Z}):L==="smile"?(0,e.jsx)(G0.Z,{defaultValue:H,character:function(fe){var ct=fe.index;return ha[ct+1]},count:Z}):(0,e.jsx)(G0.Z,{defaultValue:H,count:Z})};return(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},B),{},{className:"option",children:[(0,e.jsx)("div",{className:"option-item",children:ve()}),(0,e.jsx)("div",{className:"option-item-setting",style:{flex:"0 0 30%",display:S||x?"":"none"},children:(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})})]}))});function fa(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(v0,{}),(0,e.jsx)(pn,{minText:"\u6700\u4F4E\u5206",maxText:"\u6700\u9AD8\u5206"})]})]})}(0,z.QT)("Score",(0,N.Pi)(fa));var ma=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=a.children;return(0,e.jsx)("div",{className:G()("score"),children:n.map(function(h){return(0,e.jsx)(F.RV,{form:h.form,children:(0,e.jsx)(x1,{node:h}
95,h.id)},h.id)})})});(0,z.RY)("Score",ma);function pa(c){var a=c.settingType;return(0,e.jsx)("div",{children:a==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{})]})})}(0,z.QT)("User",(0,N.Pi)(pa));var xa=(0,N.Pi)(function(){return(0,e.jsx)("div",{className:G()("select"),children:(0,e.jsx)(ae.Z,{style:{width:260},options:[],open:!1})})});(0,z.RY)("User",xa);function ga(c){var a=c.settingType;return(0,e.jsx)("div",{children:a==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{})]})})}(0,z.QT)("Dept",(0,N.Pi)(ga));var Ca=(0,N.Pi)(function(){return(0,e.jsx)("div",{className:G()("select"),children:(0,e.jsx)(ae.Z,{style:{width:260},options:[],open:!1})})});(0,z.RY)("Dept",Ca);function g1(c){for(var a=[],n=2;n<c+2;n++)a.push(n/(c+2));return a}function C1(){for(var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=[],C=c;C<=a;C++)h.push(C);return n&&h.reverse(),h}var j1=(0,N.Pi)(function(c){var a,n,h,C,x=c.node,y=(0,D.Mq)(x),p=(0,se.Z)(y,2),S=p[0],B=p[1],w=(0,b.useState)(-1),L=(0,se.Z)(w,2),k=L[0],H=L[1],Z=(0,N.cI)(),ee=(a=Z.values.attribute)===null||a===void 0?void 0:a.npsStart,ve=(n=Z.values.attribute)===null||n===void 0?void 0:n.npsEnd,Ae=(h=Z.values.attribute)===null||h===void 0?void 0:h.npsInvertSort,ze=(C=Z.values.attribute)===null||C===void 0?void 0:C.scope,fe=0,ct=10;if(ze){var ht=ze.match(/[([](\d*),\s*(\d*)[\)\]]/);ht&&(fe=parseInt(ht[1])||0,ct=parseInt(ht[2])||1)}var ie=function(){var rt=g1(k||0);return(0,e.jsx)("div",{className:"nps-container",onMouseLeave:function(){H(-1)},children:C1(fe,ct,Ae).map(function(ut){var ot={background:"#2672ff",opacity:rt[ut]};return(0,e.jsx)("div",{className:"nps-item",style:k>=ut?ot:void 0,onMouseOver:function(){H(ut)},children:ut},ut)})})};return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({},B),{},{className:"option",children:(0,e.jsxs)("div",{className:"option-item",children:[ie(),(0,e.jsxs)("div",{className:"nps-tip",children:[(0,e.jsx)("div",{children:Ae?ve:ee}),(0,e.jsx)("div",{children:Ae?ee:ve})]})]})}))});function y1(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(pn,{minText:"\u6700\u4F4E\u5206",maxText:"\u6700\u9AD8\u5206"}),(0,e.jsx)(A0,{name:"npsStart",title:"\u8D77\u59CB\u6587\u5B57",initialValue:"\u4E0D\u53EF\u80FD"}),(0,e.jsx)(A0,{name:"npsEnd",title:"\u7ED3\u675F\u6587\u5B57",initialValue:"\u6781\u6709\u53EF\u80FD"}),(0,e.jsx)(Zi,{})]})]})}(0,z.QT)("Nps",(0,N.Pi)(y1));var b1=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=a.children;return(0,e.jsx)("div",{className:G()("nps"),children:n.map(function(h){return(0,e.jsx)(F.RV,{form:h.form,children:(0,e.jsx)(j1,{node:h},h.id)},h.id)})})});(0,z.RY)("Nps",b1);function ja(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(rn,{}),(0,e.jsx)(an,{}),(0,e.jsx)(Gt,{excludeTypes:["horzBlank"]}
95),(0,e.jsx)(_n,{syncDisplay:{dataType:["date"]}}),(0,e.jsx)(H0,{}),(0,e.jsx)(x0,{syncDisplay:{dataType:["text"]}}),(0,e.jsx)(X0,{name:"dictCode",title:"\u5B57\u5178\u7F16\u7801",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(Nn,{title:"\u7EA7\u8054\u5C42\u7EA7",syncDisplay:{dataType:["selectDict"]}}),(0,e.jsx)(j0,{syncDisplay:{dataType:["select"]}}),(0,e.jsx)(z0,{}),(0,e.jsx)(D0,{})]})]})}(0,z.QT)("HorzBlank",(0,N.Pi)(ja));var ya=(0,N.Pi)(function(){var c,a=(0,b.useContext)(z.rU),n=a.operation,h=(0,b.useContext)(z.Gb),C=h.node,x=(c=C.form.values.attribute)===null||c===void 0?void 0:c.content;return(0,A.Z)(function(){var y;if(!!x){var p=((C==null?void 0:C.serialize().children)||[]).filter(function(L){var k;return!((k=L.attribute)!==null&&k!==void 0&&k.fieldInTitle)}),S=(0,dt.w2)(x),B=S.map(function(L,k){var H,Z=p.find(function(ee){return ee.id===L.id});return Z||(0,_.Z)((0,_.Z)({},p[k]||{}),{},{title:"\u586B\u7A7A".concat(k+1),id:L.id||((H=p[k])===null||H===void 0?void 0:H.id)})}),w=((y=C.serialize().children)===null||y===void 0?void 0:y.filter(function(L){var k;return(k=L.attribute)===null||k===void 0?void 0:k.fieldInTitle}))||[];n.batchReplaceNode(w.concat(B),C,!0)}},[x]),(0,b.useEffect)(function(){document.addEventListener("click",function(y){var p=(0,D.te)(y);p&&n.focusClean()})},[]),(0,e.jsx)("div",{className:G()("single"),onClick:function(p){return p.stopPropagation()},children:(0,e.jsx)(Je.rN,{name:"content",basePath:"attribute",style:{width:"auto",marginLeft:5},placeholder:"\u8BF7\u8F93\u5165\u586B\u7A7A\u9898\u5185\u5BB9",excludeToolbars:["background"],onChangeSelection:function(p,S,B){var w=C.children.find(function(L){return L.id===B});w&&n.switchFocusNode(w)}})})});(0,z.RY)("HorzBlank",ya);function ba(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsx)("div",{children:(0,e.jsx)(Zn,{})})]})}(0,z.QT)("Address",(0,N.Pi)(ba));function Ea(c){var a,n=c.node,h=n.parent,C=(h==null||(a=h.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,x=(0,b.useContext)(z.Gb),y=x.isFocus,p=(0,D.Mq)(n),S=(0,se.Z)(p,2),B=S[0],w=S[1];return(0,e.jsx)(K.Z,{span:y?24:24/C,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},w),{},{children:[(0,e.jsx)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:(0,e.jsx)(de.Z.TextArea,{readOnly:!0,placeholder:"\u8BF7\u9009\u62E9"})}),(0,e.jsx)("div",{style:{flex:"0 0 30%",display:B?"":"none"},children:(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})})]}))})}var Fa=(0,Zt.Pi)(Ea),Sa=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return(0,e.jsx)("div",{className:G()("address"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(Fa,{index:p,node:y})},y.id)},y.id)})})})});(0,z.RY)("Address",Sa);function Aa(c){var a,n=c.settingType,h=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=h.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsx)("div",{children:(0,e.jsx)(Bi,{})})]})}(0,z.QT)("Barcode",(0,N.Pi)(Aa));var Ba=i(81473);function E1(c){var a=c.node,n=(0,D.Mq)(a),h=(0,se.Z)(n,2),C=h[0],x=h[1];return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({style:{height:150}},x),{},{children:(0,e.jsx)(de.Z,{style:{marginLeft:20,width:"70%"},placeholder:"\u70B9\u51FB\u8BC6\u522B\u6761\u7801(\u652F\u6301\u591A\u79CD\u7C7B\u578B\u6761\u7801)",addonAfter:(0,e.jsx)(ci.Z,{disabled:!0,maxCount:1,beforeUpload:function(p){return!1},showUploadList:!1,children:(0,e.jsx)(Ba.Z,{})})})}))}var F1=(0,Zt.Pi)(E1),Ma=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=c.isFocus,h=a.children;return(0,e.jsx)("div",{className:G()("single"),children:h.map(function(C,x){return(0,e.jsx)(F.RV,{form:C.form,children:(0,e.jsx)(F1,{index:x,node:C})},C.id)})})});(0,z.RY)("Barcode",Ma);function S1(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node;return(0,e.jsx)("div",{style:{paddingLeft:40},children:(0,e.jsxs)("a",{onClick:function(){a.addNodeWithTemplate({title:"\u6807\u9898".concat(h.children.length+1)},{parentNode:h})},children:[(0,e.jsx)(F.MT,{infer:"Plus"}),"\u6DFB\u52A0\u5355\u4E2A\u9009\u9879"]}
95)})}(0,z.j1)("ChartRadar",(0,Zt.Pi)(S1));var La=i(2907),A1=i(8690),B1=i(93450),Za=i(68023),M1=i(81615),Da=i(70012);Za.D([A1.N,B1.N,La.N,Da.N]);function Q0(){var c=(0,b.useRef)(null);return(0,b.useEffect)(function(){if(c.current){var a=M1.S1(c.current),n;n={title:{},legend:{show:!1},radar:{indicator:[{name:"Sales",max:6500},{name:"Administration",max:16e3},{name:"Information Technology",max:3e4},{name:"Customer Support",max:38e3},{name:"Development",max:52e3},{name:"Marketing",max:25e3}]},series:[{name:"Budget vs spending",type:"radar",data:[{value:[4200,3e3,2e4,35e3,5e4,18e3],name:"Allocated Budget"}]}]},n&&a.setOption(n)}},[]),(0,e.jsx)("div",{ref:c,style:{height:300}})}function w0(c){var a,n=c.settingType,h=(0,N.U$)(),C=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(U0,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=C.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsxs)("div",{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(rn,{}),(0,e.jsx)(an,{}),(0,e.jsx)(Gt,{dataSource:[{value:"number",text:"\u6570\u5B57"}]}),(0,e.jsx)(D0,{})]})]})}(0,z.QT)("ChartRadar",(0,N.Pi)(w0));function hi(c){var a,n=c.node,h=n.parent,C=(h==null||(a=h.form.values.attribute)===null||a===void 0?void 0:a.columns)||1,x=(0,b.useContext)(z.Gb),y=x.isFocus,p=(0,D.Mq)(n),S=(0,se.Z)(p,2),B=S[0],w=S[1];return(0,e.jsx)(K.Z,{span:y?24:24/C,children:(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:4},className:"option"},w),{},{children:[(0,e.jsx)("span",{style:{position:"absolute",display:B||y?"":"none"},children:(0,e.jsx)(F.MT,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e",cursor:"move"},className:"drag-handle-option"})}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:[(0,e.jsx)(Je.rN,{name:"title",style:{minWidth:120,width:"auto",marginLeft:30}}),(0,e.jsx)(F.uO,{})]}),(0,e.jsxs)("div",{style:{flex:"0 0 30%",display:B?"":"none"},children:[(0,e.jsx)(F.MT,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(k){k.stopPropagation(),h==null||h.deleteNode(n)}}),(0,e.jsx)(F.MT,{infer:"Setting",title:"\u8BBE\u7F6E",className:"operate-icon"})]})]}))})}var En=(0,Zt.Pi)(hi),gr=(0,N.Pi)(function(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node,C=n.isFocus,x=h.children;return C?(0,e.jsx)("div",{className:G()("fill-blank"),children:(0,e.jsx)(F.W2,{disabled:!C,dragHandleSelector:".drag-handle-option",groupName:"".concat(h.id),getChildPayload:function(p){return{node:x[p]}},behaviour:"contain",lockAxis:"y",onDrop:function(p){var S=p.addedIndex,B=p.payload;S!=null&&B&&B.node&&a.dropSortNode(B.node,h,S)},children:x.map(function(y,p){return(0,e.jsx)(F._l,{disabled:!C,children:(0,e.jsx)(F.RV,{form:y.form,children:(0,e.jsx)(En,{index:p,node:y})},y.id)},y.id)})})}):(0,e.jsx)(Q0,{})});(0,z.RY)("ChartRadar",gr);function Na(){var c=(0,b.useContext)(z.rU),a=c.operation,n=(0,b.useContext)(z.Gb),h=n.node;return(0,e.jsx)("div",{style:{paddingLeft:40}})}(0,z.j1)("RichText",(0,Zt.Pi)(Na));function L1(c){var a,n=c.settingType,h=(0,N.U$)(),C=(0,N.cI)();return(0,e.jsxs)("div",{children:[n==="question"&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(gt,{}),(0,e.jsx)(k0,{}),(0,e.jsx)(U0,{}),(0,e.jsx)(Vt,{}),(0,e.jsx)(L0,{}),(0,e.jsx)($0,{}),(0,e.jsx)(Et,{}),(0,e.jsx)(Z0,{}),(0,e.jsx)(S0,{}),(0,e.jsx)(Mt,{title:"\u9898\u5E72\u8BF4\u660E",basePath:"",name:"_description",initialValue:!!((a=C.values)!==null&&a!==void 0&&a.description)})]}),n==="option"&&(0,e.jsx)("div",{children:(0,e.jsx)(D0,{})})]})}(0,z.QT)("RichText",(0,N.Pi)(L1));var Ta=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node,n=c.isFocus,h=(0,D.Mq)(a.children[0]),C=(0,se.Z)(h,2),x=C[0],y=C[1];return(0,e.jsx)("div",(0,_.Z)((0,_.Z)({className:G()("fill-blank")},y),{},{children:(0,e.jsx)(vt.Mf,{})}))});(0,z.RY)("RichText",Ta);function Z1(c){var a=c.node,n=a.children,h=(0,b.useContext)(z.rU),C=h.operation;return(0,e.jsx)("div",{children:(0,e.jsxs)(F.W2,{groupName:"1",dragHandleSelector:".drag-handle",dropPlaceholder:{className:"drop-placeholder",errorClassName:"error-drop-placeholder"},onDropOver:function(y){var p;return((p=y.payload)===null||p===void 0?void 0:p.type)!=="Pagination"},getChildPayload:function(y){return{node:n[y]}},shouldAcceptDrop:function(y,p){return!(p&&p.type==="QuestionSet")},getGhostParent:function(){return document.body},onDrop:function(y){var p=y.addedIndex,S=y.payload;p!=null&&(S&&S.type?C.dropAddNode(a,{addedIndex:p,name:S.name,type:S.type}):S&&S.node?C.dropSortNode(S.node,a,p):S&&S.template&&C.dropAddNode(a,{addedIndex:p,template:S.template}))},children:[(0,e.jsx)(F.Sq,{node:a,size:120}),n.map(function(x,y){if(!x.type){console.error("".concat(x.type," \u672A\u6CE8\u518C"));return}return(0,e.jsx)(F._l,{children:(0,e.jsx)(F.RV,{form:x.form,children:(0,e.jsx)(st,{node:x})},x.id)},x.id)})]})})}var D1=(0,N.Pi)(Z1),Oi=i(74797);function wa(){return(0,e.jsx)("div",{children:(0,e.jsxs)(N.Wo,{name:"attribute",children:[(0,e.jsx)(Vt,{}),(0,e.jsx)(Et,{})]})})}(0,Oi.QT)("QuestionSet",(0,N.Pi)(wa));var Vi=(0,N.Pi)(function(){var c=(0,b.useContext)(z.Gb),a=c.node;return(0,e.jsx)("div",{className:G()("questionSet"),children:(0,e.jsx)(D1,{node:a})})});(0,z.RY)("QuestionSet",Vi);function Hi(){var c=(0,D.Tv)();return(0,e.jsxs)("div",{children:[(0,e.jsx)(ft,{name:"backgroundImage",title:"\u80CC\u666F\u56FE\u7247",innerComponent:function(n){return(0,e.jsx)("a",{onClick:function(){n.onChange(void 0),c.snapshot()}
95,children:"\u79FB\u9664"})}}),(0,e.jsx)(ft,{name:"headerImage",title:"\u9875\u7709\u56FE\u7247",innerComponent:function(n){return(0,e.jsx)("a",{onClick:function(){n.onChange(void 0),c.snapshot()},children:"\u79FB\u9664"})}})]})}(0,Oi.QT)("Survey",(0,N.Pi)(Hi));var Cr=function(a){var n=a.visible,h=(0,D.AR)(),C=(0,Pe.IE)();return(0,e.jsx)("div",{className:G()("actions"),style:{visibility:n?"visible":"hidden"},children:(0,e.jsx)(F.MT,{infer:"QuestionTemplate",className:G()("actionIcon",{visible:n}),tooltip:"\u6DFB\u52A0\u5230\u95EE\u5377\u6A21\u677F\u5E93",onClick:function(y){y.stopPropagation(),C.currentSchema=h.serialize()}})})},fi=(0,N.Pi)(function(){var c,a=(0,D.jE)(),n=a.mode,h=(0,N.cI)(),C=((c=h.values.attribute)===null||c===void 0?void 0:c.examScore)||0;return n!=="exam"?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)("div",{className:"evaluation-total-score",children:[(0,e.jsx)("div",{className:"total-scpre-title",children:"\u603B\u5206"}),(0,e.jsx)("div",{className:"total-score",children:C})]})}),c0=(0,N.Pi)(function(){var c,a=(0,D.AR)(),n=a.focus,h=(0,D.Mq)(a),C=(0,se.Z)(h,2),x=C[0],y=C[1],p=(c=a.form.values.attribute)===null||c===void 0?void 0:c.headerImage,S=(0,D.jE)(),B=S.updateOnly;return B?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},y),{},{className:G()("header",{focus:n,hover:x}),children:[(0,e.jsx)(Cr,{visible:n||x}),p&&(0,e.jsx)("div",{className:"header-banner",style:{backgroundColor:"rgb(255, 255, 255)",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:200,width:"100%",backgroundPosition:"center top",backgroundImage:"url(/api/public/preview/".concat(p,")")}}),(0,e.jsxs)("div",{className:"header-content",children:[(0,e.jsx)(Je.rN,{name:"title",size:"large",className:"title",style:{marginBottom:10},innerStyle:{fontSize:"32px"},bounds:".header"}),(0,e.jsx)(Je.rN,{name:"description",className:"prefix",size:"large",bounds:".header"}),(0,e.jsx)(fi,{})]})]}))}),jr=(0,N.Pi)(function(c){var a=(0,b.useContext)(z.rU),n=a.tree,h=n.focus,C=(0,D.Mq)(n),x=(0,se.Z)(C,2),y=x[0],p=x[1],S=(0,D.jE)(),B=S.updateOnly;return B?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)("div",(0,_.Z)((0,_.Z)({},p),{},{className:G()("footer",{focus:h,hover:y}),children:[(0,e.jsx)("div",{className:"description",children:(0,e.jsx)(Je.rN,{basePath:"attribute",name:"suffix",initialValue:"\u60A8\u5DF2\u5B8C\u6210\u672C\u6B21\u95EE\u5377\uFF0C\u611F\u8C22\u60A8\u7684\u5E2E\u52A9\u4E0E\u652F\u6301",bounds:".footer",placeholder:"\u8BF7\u8F93\u5165\u7ED3\u675F\u8BED"})}),(0,e.jsx)("div",{className:"title",children:(0,e.jsx)(Je.rN,{name:"submitButton",initialValue:"\u63D0\u4EA4",basePath:"attribute",style:{width:120,background:"#2672ff",display:"inline-block"},bounds:".footer",placeholder:"\u8BF7\u8F93\u5165"})})]}))}),Vn=i(68068),Ia=(0,N.Pi)(function(){var c=(0,D.cF)();return(0,e.jsx)("div",{children:(0,e.jsx)(Vn.Z,{theme:"antdForm",schema:c.serialize(),onSubmit:function(n){}})})}),za=i(99541),$i=i(39428),Hn=i(3182),yr=i(68209);function N1(){var c=new Date;return"".concat(c.getHours(),":").concat(c.getMinutes())}var T1=function(){var a=(0,D.cF)(),n=(0,D.AK)("preview-panel-phone"),h=(0,b.useState)(N1()),C=(0,se.Z)(h,2),x=C[0],y=C[1];return(0,b.useEffect)(function(){var p=setInterval(function(){return y(N1())},1e3);return function(){return clearInterval(p)}},[]),(0,e.jsxs)("div",{className:n,children:[(0,e.jsxs)("div",{className:n+"-status",children:[(0,e.jsx)("span",{children:"\u624B\u673A\u7AEF\u9884\u89C8"}),(0,e.jsx)("span",{children:x})]}),(0,e.jsx)("div",{className:n+"-content",children:(0,e.jsx)(Vn.Z,{theme:"antdMobile",schema:a.serialize(),onSubmit:function(S){},onDictSearch:function(){var p=(0,Hn.Z)((0,$i.Z)().mark(function S(B){var w;return(0,$i.Z)().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,t.hi.loadDict(B);case 2:if(w=k.sent,!w.success){k.next=5;break}return k.abrupt("return",w.data);case 5:return k.abrupt("return",[]);case 6:case"end":return k.stop()}},S)}));return function(S){return p.apply(this,arguments)}}()})})]})},br=(0,N.Pi)(function(){var c=(0,D.wq)(),a=(0,D.AK)("preview-panel"),n=function(){return c.previewType==="PC"?(0,e.jsx)(za.Z,{}):c.previewType==="PHONE"?(0,e.jsx)(T1,{}):c.previewType==="Form"?(0,e.jsx)(Ia,{}):(0,e.jsx)(e.Fragment,{})};return(0,e.jsx)(e.Fragment,{children:n()})}),w1=null,ka=(0,N.Pi)(function(){var c=(0,D.AK)("preview-panel");return(0,e.jsx)("div",{className:G()(c),children:(0,e.jsx)(br,{})})}),Er=i(13254),Fn=i(14277),wr=i(48736),Fr=i(27049),hn=b.createContext({});function I1(){return(0,b.useContext)(hn)}var Pa=i(54121),fn=i(12261),Ra=function(a){var n=(0,fn.Z)();return(0,e.jsx)("div",{className:"remove-wrapper",onClick:function(){C0.Z.confirm({title:"\u786E\u8BA4\u5220\u9664",content:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u903B\u8F91\uFF1F",onOk:function(){n.removeItem(a.index)}})},children:(0,e.jsx)(Pa.Z,{})})},Ui=i(1977),z1=i(59465),Oa=[{label:"\u9009\u4E2D",value:"CHECKED"}
95,{label:"\u672A\u9009\u4E2D",value:"UNCHECKED"},{label:"\u663E\u793A",value:"SHOW"},{label:"\u672A\u663E\u793A",value:"HIDE"},{label:"\u5DF2\u7B54",value:"ANSWERED"},{label:"\u672A\u7B54",value:"NOT_ANSWERED"}],Sr=[{label:"\u5927\u4E8E",value:">"},{label:"\u5C0F\u4E8E",value:"<"},{label:"\u7B49\u4E8E",value:"=="},{label:"\u663E\u793A",value:"SHOW"},{label:"\u672A\u663E\u793A",value:"HIDE"}],$n=[{label:"\u663E\u793A",value:"SHOW"},{label:"\u672A\u663E\u793A",value:"HIDE"}];function Va(c){var a,n;return c.type==="FillBlank"&&((a=c.children)===null||a===void 0||(n=a[0].attribute)===null||n===void 0?void 0:n.dataType)==="number"||c.type==="Score"||c.type==="Nps"}var Qi=(0,N.Pi)(function(c){var a,n,h,C=c.index,x=c.item,y=(0,D.AR)(),p=y.serialize(),S=(0,dt.Xn)(p),B=I1(),w=(0,fn.Z)(),L=w.logicItemList[B.index],k=(0,b.useState)(function(){return S.find(function(ze){return ze.id===x.qId})}),H=(0,se.Z)(k,2),Z=H[0],ee=H[1],ve=x.qId;(0,b.useEffect)(function(){ee(S.find(function(ze){return ze.id===ve}))},[ve]);var Ae=function(){return(Z==null?void 0:Z.type)==="Radio"||(Z==null?void 0:Z.type)==="Checkbox"||(Z==null?void 0:Z.type)==="Select"?Oa:Z&&Va(Z)?Sr:$n};return(0,e.jsxs)(On.Z,{className:"condition-item",gutter:[10,10],children:[C===0&&(0,e.jsx)(K.Z,{md:2,children:(0,e.jsx)("span",{style:{display:"inline-block",paddingLeft:10,fontSize:12},children:"\u5982\u679C"})}),C===1&&(0,e.jsx)(K.Z,{md:2,xs:12,children:(0,e.jsx)(ae.Z,{style:{width:70},value:L.conditionLogic,onChange:function(fe){w.updateItem(B.index,{conditionLogic:fe})},options:[{label:"\u4E14",value:"AND"},{label:"\u6216",value:"OR"}]})}),C>1&&(0,e.jsx)(K.Z,{span:2,xs:2,children:(0,e.jsx)("span",{style:{display:"inline-block",width:80,paddingLeft:10},children:L.conditionLogic==="AND"?"\u4E14":"\u6216"})}),(0,e.jsx)(K.Z,{md:6,xs:20,children:(0,e.jsx)(ae.Z,{value:x.qId,style:{width:"90%",margin:"0 8px"},placeholder:"\u8BF7\u9009\u62E9",onChange:function(fe){x.qId=fe,x.condition=void 0,x.oId=[],x.compare=void 0},options:S.map(function(ze,fe){return{label:"".concat(fe+1,".").concat((0,t.WO)(ze.title)),value:ze.id}})})}),(0,e.jsx)(K.Z,{md:6,xs:20,children:(0,e.jsx)(ae.Z,{value:x.condition,style:{width:"90%",margin:"0 8px"},placeholder:"\u8BF7\u9009\u62E9",options:Ae(),onChange:function(fe){x.condition=fe}})}),x.condition&&["CHECKED","UNCHECKED",">","<","=="].includes(x.condition)&&(0,e.jsxs)(K.Z,{md:6,xs:20,children:[((Z==null?void 0:Z.type)==="Radio"||(Z==null?void 0:Z.type)==="Select")&&(0,e.jsx)(ae.Z,{style:{width:160,margin:"0 8px"},value:(a=x.oId)===null||a===void 0?void 0:a[0],placeholder:"\u8BF7\u9009\u62E9",onChange:function(fe){x.oId=[fe]},options:(n=Z.children)===null||n===void 0?void 0:n.map(function(ze,fe){return{label:"".concat(fe+1,".").concat((0,t.WO)(ze.title)),value:ze.id}})}),(Z==null?void 0:Z.type)==="Checkbox"&&(0,e.jsx)(ae.Z,{mode:"multiple",value:x.oId,style:{width:160,margin:"0 8px"},placeholder:"\u8BF7\u9009\u62E9",onChange:function(fe){x.oId=fe},options:(h=Z.children)===null||h===void 0?void 0:h.map(function(ze,fe){return{label:"".concat(fe+1,".").concat((0,t.WO)(ze.title)),value:ze.id}})}),Z&&Va(Z)&&(0,e.jsx)(pe.Z,{value:x.compare,onChange:function(fe){x.compare=fe||void 0}})]}),(0,e.jsxs)(K.Z,{className:"add-minus-wrapper",span:3,children:[(0,e.jsx)(Ui.Z,{style:{color:"#1677ff"},onClick:function(){w.addCondition(B.index,C)}}),C>0&&(0,e.jsx)(z1.Z,{style:{color:"#ff4d4f",marginLeft:10},onClick:function(){w.removeCondition(B.index,C)}})]})]})}),Ar=(0,N.Pi)(function(c){var a=c.index,n=(0,fn.Z)(),h=n.logicItemList[a];return(0,e.jsx)("div",{className:"condition-wrapper",children:h.conditionItem.map(function(C,x){return(0,e.jsx)(Qi,{index:x,item:C},x)})})}),k1=(0,Zt.Pi)(function(c){var a=c.index,n=c.item,h=(0,fn.Z)(),C=(0,D.AR)(),x=C.serialize(),y=(0,dt.Xn)(x),p=I1(),S=h.logicItemList[p.index].conditionItem||[],B=S.map(function(L){return L.qId}),w=9999;return y.forEach(function(L,k){B.includes(L.id)&&(w=k)}),(0,e.jsxs)(On.Z,{className:"result-item",gutter:[10,10],children:[(0,e.jsx)(K.Z,{md:2,xs:4,children:(0,e.jsx)("span",{style:{display:"inline-block",width:80,paddingLeft:10,fontSize:12},children:a===0?"\u5219":" "})}),(0,e.jsx)(K.Z,{md:4,xs:20,children:(0,e.jsx)(ae.Z,{style:{width:"90%"}
95,value:n.type,onChange:function(k){n.type=k},options:[{label:"\u663E\u793A",value:"show"},{label:"\u8DF3\u8F6C",value:"jump"}]})}),(0,e.jsx)(K.Z,{md:6,xs:20,children:(0,e.jsx)(ae.Z,{value:n.qId,style:{width:"90%",margin:"0 8px"},placeholder:"\u8BF7\u9009\u62E9",onChange:function(k){n.qId=k},options:y.map(function(L,k){return{label:"".concat(k+1,".").concat((0,t.WO)(L.title)),value:L.id,disabled:w>k}})})}),(0,e.jsxs)(K.Z,{md:4,xs:8,children:[n.type==="show"&&(0,e.jsx)("span",{style:{display:"inline-block",width:120,paddingLeft:10,fontSize:12},children:"\uFF0C\u5426\u5219\u4E0D\u663E\u793A"}),n.type==="jump"&&(0,e.jsx)("span",{style:{display:"inline-block",width:140,paddingLeft:10,fontSize:12},children:"\uFF0C\u5426\u5219\u6B63\u5E38\u8FDB\u5165\u4E0B\u4E00\u9898"})]}),(0,e.jsxs)(K.Z,{className:"add-minus-wrapper",span:2,children:[(0,e.jsx)(Ui.Z,{style:{color:"#1677ff"},onClick:function(){h.addResult(p.index,a)}}),a>0&&(0,e.jsx)(z1.Z,{style:{color:"#ff4d4f",marginLeft:10},onClick:function(){h.removeResult(p.index,a)}})]})]})}),Ha=(0,Zt.Pi)(function(c){var a,n=c.index,h=(0,fn.Z)(),C=h.logicItemList[n];return(0,e.jsx)("div",{className:"result-item-wrapper",children:(a=C.result)===null||a===void 0?void 0:a.map(function(x,y){return(0,e.jsx)(k1,{index:y,item:x},y)})})}),Br=(0,N.Pi)(function(c){var a=c.index,n=(0,fn.Z)(),h=n.activeIndex,C=h===a;return(0,e.jsx)(hn.Provider,{value:{index:a},children:(0,e.jsxs)(K.Z,{md:18,xs:22,offset:2,className:G()("logic-item",{active:C}),onClick:function(){n.activeIndex=a},children:[(0,e.jsx)(Ar,{index:a}),(0,e.jsx)(Fr.Z,{plain:!0}),(0,e.jsx)(Ha,{index:a}),(0,e.jsx)(Ra,{index:a})]})})}),P1=(0,N.Pi)(function(){var c=(0,fn.Z)();return c.computeGlobalRule,(0,e.jsxs)("div",{className:"logic-panel",children:[(0,e.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,e.jsx)("span",{children:"\u903B\u8F91\u8BBE\u7F6E"}),(0,e.jsx)("div",{children:(0,e.jsx)(kt.Z,{icon:(0,e.jsx)(Ui.Z,{}),type:"primary",ghost:!0,onClick:function(){c.addItem()},children:"\u6DFB\u52A0\u903B\u8F91\u8BBE\u7F6E"})})]}),(0,e.jsxs)(On.Z,{gutter:[10,10],className:"logic-item-wrapper",children:[c.logicItemList.map(function(a,n){return(0,e.jsx)(Br,{index:n},n)}),c.logicItemList.length===0&&(0,e.jsx)(Fn.Z,{style:{width:"100%"},description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{color:"#8c8c8c"},children:"\u6682\u65E0\u903B\u8F91"}),(0,e.jsx)(kt.Z,{type:"primary",onClick:function(){c.addItem()},children:"\u70B9\u51FB\u6DFB\u52A0"})]})})]})]})}),Mr=(0,N.Pi)(function(){var c=(0,D.AK)("main-panel"),a=(0,D.wq)(),n=function(){if(a.type==="EDITOR")return(0,e.jsx)($t,{});if(a.type==="PREVIEW")return(0,e.jsx)(ka,{});if(a.type==="JSONTREE")return(0,e.jsx)(Oe,{});if(a.type==="LOGIC")return(0,e.jsx)(P1,{})};return(0,e.jsx)("div",{className:G()(c+"-content"),id:"editorContent",children:n()})}),R1=function(a){var n=(0,D.AK)("main-panel");return(0,e.jsx)("div",{className:G()(n),children:a.children})},$a=i(5977),Ua=(0,N.Pi)(function(c){var a,n=(0,D.AK)("main-panel"),h=(0,D.k6)(),C=(0,D.Tv)(),x=(0,D.wq)(),y=(0,Pe.IE)(),p=(0,D.cF)(),S=(0,$a.k6)(),B=(0,D.AR)(),w=(0,D.jE)(),L=w.mode,k=w.onClose,H=w.updateOnly,Z=w.onOk,ee=y.loading,ve=(0,D.AR)(),Ae=((a=ve.form.values.attribute)===null||a===void 0?void 0:a.examScore)||0,ze=function(){var ie=(0,D.Tv)();return(0,e.jsxs)(kt.Z.Group,{size:"small",style:{marginRight:20},children:[(0,e.jsx)(kt.Z,{size:"small",disabled:!h.allowUndo,onClick:function(){h.undo()},children:(0,e.jsx)(F.MT,{infer:"Undo",tooltip:"\u64A4\u9500"})}),(0,e.jsx)(kt.Z,{disabled:!h.allowRedo,onClick:function(){h.redo()},children:(0,e.jsx)(F.MT,{infer:"Redo",tooltip:"\u6062\u590D"})}),(0,e.jsx)(J0.Z,{title:"\u70B9\u51FB\u67E5\u770B\u5F53\u524D\u53EF\u7528\u5FEB\u6377\u952E",children:(0,e.jsx)(kt.Z,{onClick:function(){return ie.toggleShortcutModalVisible()},children:(0,e.jsx)(F.MT,{infer:"Keyboard"})})}),(0,e.jsx)(J0.Z,{title:"\u4F7F\u7528\u6587\u672C\u5BFC\u5165".concat(L==="exam"?"\u8003\u8BD5":"\u95EE\u5377"),children:(0,e.jsx)(kt.Z,{onClick:function(){return ie.toggleImportTextDrawerVisible()},children:(0,e.jsx)(F.MT,{infer:"TextImport"})})}),L==="exam"&&(0,e.jsxs)(kt.Z,{style:{width:120},children:["\u603B\u5206 ",Ae," \u5206"]})]})},fe=function(){return x.type!=="PREVIEW"?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)(kt.Z.Group,{size:"small",style:{marginRight:20},children:[(0,e.jsx)(kt.Z,{size:"small",disabled:x.previewType==="PC",onClick:function(){C.changePreviewT
95ype("PC")},children:(0,e.jsx)(F.MT,{infer:"PC",tooltip:"\u7535\u8111\u7AEF\u4E3B\u9898"})}),(0,e.jsx)(kt.Z,{size:"small",disabled:x.previewType==="PHONE",onClick:function(){C.changePreviewType("PHONE")},children:(0,e.jsx)(F.MT,{infer:"MobileOutline",tooltip:"\u624B\u673A\u7AEF\u4E3B\u9898"})}),(0,e.jsx)(kt.Z,{size:"small",disabled:x.previewType==="Form",onClick:function(){C.changePreviewType("Form")},children:(0,e.jsx)(F.MT,{infer:"Form",tooltip:"\u8868\u5355\u4E3B\u9898"})})]})},ct=function(){return(0,e.jsxs)(kt.Z.Group,{size:"small",children:[k&&(0,e.jsx)(kt.Z,{size:"small",danger:!0,type:"primary",loading:ee,onClick:function(){k()},children:"\u5173\u95ED"}),(0,e.jsx)(kt.Z,{size:"small",onClick:function(){return C.changeWorkbench("EDITOR")},disabled:x.type==="EDITOR",children:"\u7F16\u8F91"}),(0,e.jsx)(kt.Z,{size:"small",disabled:x.type==="JSONTREE",onClick:function(){return C.changeWorkbench("JSONTREE")},children:"JSON"}),(0,e.jsx)(kt.Z,{size:"small",onClick:function(){return C.changeWorkbench("PREVIEW")},disabled:x.type==="PREVIEW",children:"\u9884\u89C8"}),L==="exam"&&!H&&(0,e.jsx)(kt.Z,{size:"small",onClick:function(){x.switchRepoModalVisible(!0)},children:"\u9898\u5E93"}),(0,e.jsx)(kt.Z,{size:"small",type:"primary",loading:ee,onClick:function(){if(Z){Z(p.serialize());return}L==="survey"||L==="exam"?y.saveOrUpdateProject({survey:p.serialize()}).then(function(we){we.success&&we.data&&S.push("/survey/".concat(we.data.id,"/edit?mode=").concat(L)),we.success?le.default.success("\u4FDD\u5B58\u6210\u529F"):le.default.error(we.message)}):L==="template"&&(y.currentSchema=B.serialize())},children:"\u4FDD\u5B58"})]})};return(0,e.jsxs)("div",{className:G()(n+"-toolbar"),children:[(0,e.jsxs)("div",{children:[ze(),fe()]}),(0,e.jsx)("div",{style:{marginRight:15},children:ct()}),(0,e.jsx)(F.F9,{})]})}),O1=(0,Zt.Pi)(function(c){var a=(0,D.AK)("setting-panel"),n=(0,b.useRef)(null),h=(0,D.Uh)(),C=(0,D.wq)();return C.type==="LOGIC"||C.type==="PREVIEW"?(0,e.jsx)(e.Fragment,{}):(0,e.jsx)(F.Aj,{placement:"right",baseClassName:"setting",className:"survey-editor survey-light survey-drawer setting-drawer customDrawer",width:265,handlerVisible:!!h,children:(0,e.jsx)(z.Y7.Provider,{value:{getContainer:function(){return n.current}},children:(0,e.jsx)("div",{className:G()(a),ref:n,children:(0,e.jsx)(F.pE,{})})})})}),Qa=i(76629),Wa=function(a){return{setActive:function(h){a.activeTab=h}}},Wi=b.createContext({}),Ya=function(a){var n=(0,D.AK)("sidebar-panel"),h=(0,D.$1)(Wa,{activeTab:"questionType"}),C=(0,se.Z)(h,2),x=C[0].activeTab,y=C[1].setActive,p=(0,D.jE)(),S=p.updateOnly;return S?(0,e.jsx)(e.Fragment,{}):(0,e.jsx)(F.Aj,{baseClassName:"sidebar",width:300,className:"survey-editor survey-light survey-drawer",placement:"left",openIcon:(0,e.jsx)(Qa.Z,{style:{color:"#fff",fontSize:20}}),children:(0,e.jsx)("div",{className:n,children:(0,e.jsx)(Wi.Provider,{value:{activeTab:x,setActive:y},children:a.children})})})},Lr=function(){var a=(0,D.AK)("sidebar-panel"),n=(0,b.useContext)(Wi),h=n.activeTab,C=n.setActive,x=(0,D.Tv)(),y=(0,D.wq)();return(0,e.jsxs)("div",{className:G()(a+"-tabs"),children:[(0,e.jsxs)("div",{className:G()(a+"-tabs-pane",{active:h==="questionType"}),onClick:function(){C("questionType"),x.changeWorkbench("EDITOR")},children:[(0,e.jsx)(F.MT,{infer:"Survey",size:16}),"\u9898\u76EE"]}),(0,e.jsxs)("div",{className:G()(a+"-tabs-pane",{active:h==="theme"}),onClick:function(){C("theme"),x.changeWorkbench("EDITOR")},children:[(0,e.jsx)(F.MT,{infer:"Theme",size:16}),"\u5916\u89C2"]}),(0,e.jsxs)("div",{className:G()(a+"-tabs-pane",{active:h==="logic"}),onClick:function(){C("logic"),x.changeWorkbench("LOGIC")},children:[(0,e.jsx)(F.MT,{infer:"Logic",size:16}),"\u903B\u8F91"]})]})},Zr=i(18106),Yi=i(38222),Ka=function(){return(0,e.jsx)(F.ce,{})},Ga=i(25782),V1=i(20082),Ja=g.Z.Panel,Xa=(0,Zt.Pi)(function(){var c=(0,D.Tv)(),a=(0,D.jE)(),n=a.mode,h=(0,b.useState)({}),C=(0,se.Z)(h,2),x=C[0],y=C[1],p=Object.keys(x).length===0;(0,b.useEffect)(function(){t.hi.selectTemplate({mode:n}).then(function(B){B.success&&y(B.data)})},[]);var S=function(w){return(0,e.jsx)(F.W2,{behaviour:"copy",groupName:"1",getChildPayload:function(k){return{template:w[k].template}},onDrop:function(k){},children:w.map(function(L,k){return(0,e.jsx)(F._l,{children:(0,e.jsx)("div",{children:(0,e.jsxs)(V1.L,{className:"menu-group-item",onClick:function(){c.addNodeWithTemplate(L.template)},children:[k+1,".",L.name]})})},L.id)})})};return n==="exam"?(0,e.jsx)("div",{className:G()("question-library"),children:(0,e.jsx)(F.F9,{})}):(0,e.jsxs)("div",{className:G()("question-library",{empty:p}),children:[p&&(0,e.jsx)("div",{children:(0,e.jsx)(Fn.Z,{image:Fn.Z.PRESENTED_IMAGE_SIMPLE,description:"\u6CA1\u6709\u4FDD\u5B58\u6A21\u677F"})}),!p&&(0,e.jsx)(g.Z,{expandIcon:function(w){var L=w.isActive;return(0,e.jsx)(Ga.Z,{rotate:L?90:0})},className:"question-library-collapse",defaultActiveKey:0,children:Object.keys(x).map(function(B,w){return(0,e.jsx)(Ja,{header:B,children:S(x[B])},w)})}),(0,e.jsx)(F.Zq,{})]})}),Dr=i(32157),Nr=i(32138),H1=i(57254);function $1(c){var a;(a=document.querySelector("[data-id='".concat(c,"']")))===null||a===void 0||a.scrollIntoView({behavior:"smooth",block:"start",inline:"center"})}function U1(c){return c.children.filter(function(a){return!(0,dt.nj)(a.type)}).map(function(a){return a.type==="QuestionSet"?{title:(0,e.jsxs)("div",{onClick:function(){return $1(a.id)},children:[a.index+1,".",(0,z.WO)(a.title)]}),key:a.id,children:U1(a)}:{title:(0,e.jsxs)("div",{onClick:function(){return $1(a.id)},children:[a.index+1,".",(0,z.WO)(a.title)]}),key:a.id}})}var Q1=(0,N.Pi)(function(){var c=(0,D.AR)(),a=c.children.length===0;return(0,e.jsxs)("div",{className:G()("question-title",{empty:a}),children:[a&&(0,e.jsx)("div",{children:(0,e.jsx)(Fn.Z,{image:Fn.Z.PRESENTED_IMAGE_SIMPLE,description:"\u6CA1\u6709\u6DFB\u52A0\u9898\u76EE"})}),(0,e.jsx)(Nr.Z,{treeData:U1(c),blockNode:!0,showLine:{showLeafIcon:!1},selectable:!1,switcherIcon:(0,e.jsx)(H1.Z,{})})]})}),qa=function(){var a=(0,D.jE)(),n=a.mode,h=[{key:"1",label:"\u9898\u578B",children:(0,e.jsx)(Ka,{})},{key:"2",label:"\u9898\u5E93",children:(0,e.jsx)(Xa,{})},{key:"3",label:"\u5927\u7EB2",children:(0,e.jsx)(Q1,{})}];return(0,e.jsx)("div",{className:"question-panel",children:(0,e.jsx)(Yi.Z,{defaultActiveKey:"1",type:"card",centered:!0,tabBarGutter:0,items:h.filter(function(C){return!(n==="exam"&&C.key==="2")})})})},Ki=i(62298),mi=i(42768),Gi=i(57119),_a=i(73171),er=function(a){var n=a.file,h=a.onPreview,C=a.onRemove;return(0,e.jsxs)("div",{className:"ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",children:[(0,e.jsx)("div",{className:"ant-upload-list-item-info",children:(0,e.jsxs)("span",{className:"ant-upload-span",children:[(0,e.jsx)("a",{className:"ant-upload-list-item-thumbnail",href:n.url,target:"_blank",rel:"noopener noreferrer",children:(0,e.jsx)("img",{src:n.thumbUrl,alt:n.fileName,className:"ant-upload-list-item-image"})}),(0,e.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:"ant-upload-list-item-name",title:n.url,href:n.url,children:n.name})]})}),(0,e.jsxs)("span",{className:"ant-upload-list-item-actions",children:[(0,e.jsx)(kt.Z,{title:"\u8BBE\u7F6E\u80CC\u666F",size:"small",onClick:h,type:"text",icon:(0,e.jsx)(mi.Z,{style:{color:"white"},className:"ant-upload-list-item-card-actions-btn"})}),(0,e.jsx)(kt.Z,{title:"\u5220\u9664\u56FE\u7247",size:"small",type:"text",onClick:C,icon:(0,e.jsx)(_a.Z,{style:{color:"white"},className:"ant-upload-list-item-card-actions-btn"})})]})]})},Ji=function(a){var n=(0,Pe.IE)(),h=a.list,C=a.type,x=(0,D.Tv)(),y=(0,b.useState)(h.map(function(H){return{uid:H.id,name:H.originalName,status:"done",thumbUrl:H.previewUrl||"/api/public/preview/".concat(H.id,"@thumbnail"),url:H.previewUrl||"/api/public/preview/".concat(H.id)}})||[]),p=(0,se.Z)(y,2),S=p[0],B=p[1],w=(0,e.jsx)("div",{children:(0,e.jsx)(J0.Z,{title:"\u56FE\u7247\u4E0A\u4F20",children:(0,e.jsx)(Ki.Z,{style:{minWidth:30}})})}),L=function(){var H=(0,Hn.Z)((0,$i.Z)().mark(function Z(ee){var ve,Ae,ze,fe;return(0,$i.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:ve=ee.onSuccess,Ae=ee.onError,ze=ee.file,fe=ee.onProgress,n.uploadImage(C,ze,function(ie){fe&&fe({percent:ie.loaded/ie.total*100})}).then(function(ie){if(ie.success&&ve&&ve(ie.data),!ie.success&&Ae){var we=new Error("Some error");Ae({event:we})}});case 2:case"end":return ht.stop()}},Z)}));return function(ee){return H.apply(this,arguments)}}(),k=function(Z){B(Z.fileList)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ci.Z,{listType:"picture-card",accept:".jpg,.jpeg,.png,.gif,.bmp,.wbmp",customRequest:L,itemRender:function(Z,ee,ve,Ae){return(0,e.jsx)(er,{file:ee,onPreview:Ae.preview,onRemove:Ae.remove})},showUploadList:{showPreviewIcon:!1,downloadIcon:(0,e.jsx)(mi.Z,{}),showDownloadIcon:!0},fileList:S,iconRender:function(Z){return(0,e.jsx)("a",{children:Z.name})},onPreview:function(Z){var ee,ve=((ee=Z.response)===null||ee===void 0?void 0:ee.id)||Z.uid;
95x.changeBackgroundImage(C===1?"backgroundImage":"headerImage",ve)},onRemove:function(Z){var ee=Z.uid;return C0.Z.confirm({title:"\u786E\u8BA4",icon:(0,e.jsx)(Gi.Z,{}),content:"\u786E\u5B9A\u8981\u5220\u9664\u5F53\u524D\u56FE\u7247\u5417\uFF1F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:function(){n.deleteImage(ee,C).then(function(Ae){Ae&&B(function(ze){return(0,ke.Z)(ze.filter(function(fe){var ct;return((ct=fe.response)===null||ct===void 0?void 0:ct.id)||fe.uid!==ee}))})})}}),!1},onChange:k,children:w})})},tr=function(a){var n=a.onCancel,h=(0,Pe.IE)(),C=h.bgi,x=h.hi;return(0,e.jsx)(C0.Z,{onCancel:n,open:!0,footer:!1,bodyStyle:{padding:"2px 5px",height:450,overflowY:"auto"},width:650,children:(0,e.jsx)(Yi.Z,{defaultActiveKey:"1",items:[{key:"big",label:"\u80CC\u666F\u56FE",children:(0,e.jsx)(Ji,{type:1,list:C||[]})},{key:"hi",label:"\u9875\u7709\u56FE",children:(0,e.jsx)(Ji,{type:2,list:x||[]})}]})})},Tr=(0,N.Pi)(tr),Xi=i(18547),nr=i(18401),W1=(0,N.Pi)(function(c){var a,n,h,C,x,y=c.fileId,p=c.onOk,S=(0,D.AR)(),B=(a=S.form.values)===null||a===void 0||(n=a.attribute)===null||n===void 0?void 0:n.backgroundImage,w=(h=S.form.values)===null||h===void 0||(C=h.attribute)===null||C===void 0?void 0:C.headerImage,L=B===y||w===y;return(0,e.jsx)("div",{className:"picture-card-wrapper",children:(0,e.jsxs)("div",{className:G()("picture-card",(x={},(0,o0.Z)(x,"checked",L),(0,o0.Z)(x,"upload-img",y==="new"),x)),onClick:function(){y==="new"?p("new"):L?p():p(y)},children:[y!=="new"&&(0,e.jsx)("img",{src:"/api/public/preview/".concat(y)}),(0,e.jsxs)("span",{className:"actions",children:[!L&&y!=="new"&&(0,e.jsx)(mi.Z,{style:{cursor:"pointer",width:30}}),L&&y!=="new"&&(0,e.jsx)(Xi.Z,{style:{cursor:"pointer",width:30}}),y==="new"&&(0,e.jsx)(nr.Z,{style:{cursor:"pointer",width:30}})]})]})})}),Y1=function(a){var n=a.list,h=a.type,C=(0,b.useState)(!1),x=(0,se.Z)(C,2),y=x[0],p=x[1],S=(0,D.Tv)(),B=function(L){if(L==="new"){p(!0);return}S.changeBackgroundImage(h===1?"backgroundImage":"headerImage",L)};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"picture-card-container",children:[n.map(function(w){return(0,e.jsx)(W1,{fileId:w.id,onOk:function(k){return B(k)}},w.id)}),(0,e.jsx)(W1,{fileId:"new",onOk:function(L){return B(L)}})]}),y&&(0,e.jsx)(Tr,{onCancel:function(){return p(!1)}})]})},ir=(0,Zt.Pi)(function(){var c=(0,Pe.IE)(),a=c.bgi;return a.length,(0,e.jsx)(Y1,{type:1,list:a||[]})}),ar=(0,Zt.Pi)(function(){var c=(0,Pe.IE)(),a=c.hi;return a.length,(0,e.jsx)(Y1,{type:2,list:a||[]})}),rr=function(){return(0,e.jsx)("div",{className:"theme-panel",children:(0,e.jsx)(Yi.Z,{defaultActiveKey:"bgi",type:"card",centered:!0,tabBarGutter:0,onChange:function(){},items:[{label:"\u80CC\u666F\u56FE",key:"bgi",children:(0,e.jsx)(ir,{})},{label:"\u9875\u7709\u56FE",key:"hi",children:(0,e.jsx)(ar,{})}]})})},or=(0,Zt.Pi)(function(c){var a=c.item,n=(0,b.useState)(0),h=(0,se.Z)(n,2),C=h[0],x=h[1],y=(0,b.useRef)(-1),p=(0,D.Tv)(),S=function(){var L=-1,k=0,H=0,Z=0;clearInterval(y.current),y.current=window.setInterval(function(){L++,L==200&&(L=0,Z+=.5),x(H/4),Math.floor(Z)%2==0?H<200?k=(2*L+1)/200:k=2-(2*L+1)/200:H>200?k=-(2*L+1)/200:k=(2*L+1)/200-2,H=H+k},20)},B=function(){clearInterval(y.current),x(0)};return(0,b.useEffect)(function(){clearInterval(y.current)},[]),(0,e.jsxs)(K.Z,{onMouseEnter:S,onMouseLeave:B,span:12,style:{display:"flex",flexDirection:"column",alignItems:"center",background:"#dde5ed",padding:4,borderRight:"1px solid white"},children:[(0,e.jsx)("div",{style:{backgroundImage:"url(/api/public/preview/".concat(a.previewUrl,")"),overflowY:"hidden",height:140,width:"100%",backgroundSize:"cover",backgroundPosition:"center top",backgroundPositionY:"".concat(C,"%")}}),C>0&&(0,e.jsxs)("div",{style:{display:"flex",justifyContent:"space-around",width:"100%"},children:[(0,e.jsx)("a",{onClick:function(){p.templatePreview(a.template),le.default.info("\u6A21\u677F".concat(a.name,"\u9884\u89C8\u6210\u529F\uFF0C\u70B9\u51FB\u56DE\u9000\u9000\u51FA\u5F53\u524D\u6A21\u677F"),6)},children:"\u9884\u89C8"}),(0,e.jsx)("a",{onClick:function(){p.fromTemplate(a.template),le.default.success("\u5DF2\u5E94\u7528\u6A21\u677F".concat(a.name,"\uFF0C\u70B9\u51FB\u56DE\u9000\u9000\u51FA\u5E94\u7528\u5F53\u524D\u6A21\u677F"),6)},children:"\u5E94\u7528"})]}),C===0&&(0,e.jsx)("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",textAlign:"center"},children:a.name})]})}),lr=(0,Zt.Pi)(function(){var c=(0,Pe.IE)(),a=c.st;return(0,b.useEffect)(function(){c.st.length===0},[]),a.length===0?(0,e.jsx)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,e.jsx)(Fn.Z,{image:Fn.Z.PRESENTED_IMAGE_SIMPLE,description:(0,e.jsxs)("span",{children:["\u6CA1\u6709\u4FDD\u5B58\u95EE\u5377\u6A21\u677F",(0,e.jsx)(J0.Z,{title:"\u7F16\u8F91\u9875\u9762\u70B9\u51FB\u6807\u9898\u53F3\u4FA7\u6DFB\u52A0\u6309\u94AE\u53EF\u4EE5\u6DFB\u52A0\u5F53\u524D\u95EE\u5377\u5230\u6A21\u677F\u5E93",children:(0,e.jsx)(ai.Z,{style:{marginLeft:10,color:"#8c8c8c"}})})]})})}):(0,e.jsx)(On.Z,{gutter:[0,10],style:{overflowY:"auto",padding:"20px 0 20px 0"},children:a.map(function(n){return(0,e.jsx)(or,{item:n},n.id)})})}),ur=function(){var a=(0,D.AK)("sidebar-panel"),n=(0,b.useContext)(Wi),h=n.activeTab,C=(0,D.wq)(),x=C.type;return x==="LOGIC"?(0,e.jsx)(e.Fragment,{}):(0,e.jsxs)("div",{className:G()(a+"-tabs-content"),children:[h==="questionType"&&(0,e.jsx)(qa,{}),h==="theme"&&(0,e.jsx)(rr,{}),h==="surveyTemplate"&&(0,e.jsx)(lr,{})]})},sr=i(28225),K1=(0,N.Pi)(function(c){var a=c.onClose,n=c.updateOnly,h=c.schema,C=c.onOk,x=(0,Pe.IE)(),y=c.mode||x.mode||"survey",p=(0,b.useMemo)(function(){return new Le.j$(x.schema||h,y)},[x.schema,y,h]),S=(0,t.dD)(),B=(0,b.useRef)(null);(0,b.useEffect)(function(){if(y!=="template"&&!!c.location&&Object.keys(c.location.query).includes("fromTemplate")){var L,
95k,H=(L=c.match)===null||L===void 0||(k=L.params)===null||k===void 0?void 0:k.id,Z=localStorage.getItem("temp-template");H==="new"&&Z&&(p.from(JSON.parse(Z)),localStorage.removeItem("temp-template"),le.default.success("\u5E94\u7528\u6A21\u677F\u6210\u529F"))}},[]);var w=x.id;return(0,b.useEffect)(function(){w!=="new"&&p.setId(w)},[w,p]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(z.rU.Provider,{value:(0,b.useMemo)(function(){return{getContainer:function(){return B.current},prefixCls:"survey-",tree:p.tree,operation:p.operation,history:p.history,workspace:p,mode:y,onClose:a,onOk:C,updateOnly:n}},[p.tree,p,y]),children:(0,e.jsxs)("div",{id:"editor",className:G()("survey-editor","survey-light","survey-app",S?"mobile":"pc"),children:[(0,e.jsxs)(Ya,{children:[(0,e.jsx)(Lr,{}),(0,e.jsx)(ur,{})]}),(0,e.jsxs)(R1,{children:[(0,e.jsx)(Ua,{}),(0,e.jsx)(Mr,{})]}),(0,e.jsx)(O1,{}),(0,e.jsx)(sr.Z,{}),(0,e.jsx)(F.Tp,{}),(0,e.jsx)("div",{id:"survey-modal-container",ref:B})]})})})}),cr=K1},99541:function(r0,jt,i){"use strict";i.d(jt,{Z:function(){return Le}});var St=i(39428),le=i(3182),t=i(68068),N=i(9761),He=i(12477),G=i(3980),b=i(85893),Le=(0,N.Pi)(function(){var D=(0,He.cF)();return(0,b.jsx)("div",{children:(0,b.jsx)(t.Z,{theme:"antd",schema:D.serialize(),onSubmit:function(o){},onDictSearch:function(){var se=(0,le.Z)((0,St.Z)().mark(function o(Bt){var e;return(0,St.Z)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,G.hi.loadDict(Bt);case 2:if(e=Oe.sent,!e.success){Oe.next=5;break}return Oe.abrupt("return",e.data);case 5:return Oe.abrupt("return",[]);case 6:case"end":return Oe.stop()}},o)}));return function(o){return se.apply(this,arguments)}}()})})})},6936:function(r0,jt,i){"use strict";i.d(jt,{H:function(){return Nt},D:function(){return Je}});var St=i(94657),le=i(67294),t=i(80582),N=i(71194),He=i(50146),G=i(83279),b=i(12477),Le=i(94184),D=i.n(Le),se=i(88851),o=i(85893),Bt=(0,t.Pi)(function(nt){var Q=nt.className,ae=nt.style,ue=nt.level,ne=nt.total,Ce=(0,le.useRef)(null),Fe=(0,le.useState)(!1),Be=(0,St.Z)(Fe,2),Se=Be[0],ke=Be[1],Re=(0,le.useContext)(dt),$e=Re.options,Ve=Re.updateOption,Ye=$e[ue-1];return(0,o.jsxs)("div",{ref:Ce,style:ae,className:D()(Q,"title",{"has-error":Se}),"data-id":"".concat(Ye.id),children:[(0,o.jsx)("div",{className:"col-item-wrap",children:(0,o.jsx)(se.Bn,{value:Ye.title,style:{padding:7}
95,onChange:function(st){return Ve(Ye.id,st)},size:"small",bounds:".column".concat(ue)})}),(0,o.jsx)("div",{className:"col-item-limit",children:ne})]})}),e=i(11849),it=i(17151),Oe=(0,t.Pi)(function(nt){var Q=nt.data,ae=nt.active,ue=nt.className,ne=nt.level,Ce=Q.label,Fe=Q.value,Be=(0,le.useContext)(dt),Se=Be.updateItem,ke=Be.deleteItem,Re=(0,le.useRef)(null),$e=(0,b.XI)(),Ve=(0,St.Z)($e,3),Ye=Ve[0],_e=Ve[1],st=Ve[2];return(0,le.useLayoutEffect)(function(){var Lt;(Lt=st.current)===null||Lt===void 0||Lt.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},[]),(0,o.jsxs)("div",(0,e.Z)((0,e.Z)({onClick:function(){Se(ne,Ce,Fe),setTimeout(function(){var $t;return($t=Re.current)===null||$t===void 0?void 0:$t.focus()},20)},className:D()(ue,"cell",{"column-item-active":ae})},_e),{},{children:[(0,o.jsx)("div",{className:"col-item-order",children:(0,o.jsx)(it.MT,{infer:"DragVertical",className:"drag-handle-option",style:{cursor:"move"}})}),(0,o.jsxs)("div",{className:"col-item-wrap",children:[!ae&&Ce,ae&&(0,o.jsx)("input",{value:Ce,className:"col-item-input",onChange:function($t){return Se(ne,$t.target.value,Fe)}})]}),Q.children&&(0,o.jsx)("div",{className:"col-item-limit",children:Q.children.length}),(Ye||ae)&&(0,o.jsx)(it.MT,{infer:"MinusCircle",className:"col-item-del",onClick:function($t){$t.stopPropagation(),ke(ne,Fe)}})]}))}),z=i(9761),F=(0,z.Pi)(function(nt){var Q=nt.title,ae=nt.dataSource,ue=ae===void 0?[]:ae,ne=nt.level,Ce=nt.checked,Fe=nt.active,Be=nt.hasOption,Se=(0,le.useContext)(dt),ke=Se.addItem,Re=Se.updateOrder;return(0,o.jsxs)("div",{className:"column",children:[(0,o.jsx)("div",{className:"cascader-title",children:Q}),(0,o.jsxs)("div",{className:"cascader-content column-".concat(ne),children:[Be&&(0,o.jsx)(Bt,{level:ne,total:ue.length,style:{display:ue.length>0?"block":"none"}}),(0,o.jsx)(it.W2,{dragHandleSelector:".drag-handle-option",groupName:"cascader-level".concat(ne),behaviour:"contain",lockAxis:"y",disabled:ue.length===0,onDrop:function(Ve){var Ye=Ve.addedIndex,_e=Ve.removedIndex;Ye!==null&&_e!==null&&Re(ne,_e,Ye)},children:ue.map(function($e,Ve){return(0,o.jsx)(it._l,{children:(0,o.jsx)(Oe,{data:$e,active:Ce===$e.value,level:ne,index:Ve})},"".concat($e.value))})})]}),Fe&&(0,o.jsx)("div",{onClick:function(){return ke(ne)},className:"cascader-add-item",children:"+\u6DFB\u52A0\u9009\u9879"})]})}),_=i(87310),ce=i(54531),Ht=i(26893),Dt=i(76826),Pe=function(Q){return{addItem:function(ue){for(var ne=Q.checked,Ce=Q.dataSource,Fe=Ce,Be=function(Re){if(Re===ue){var $e=1;Fe.length>0&&($e=Math.max.apply(Math,(0,G.Z)(Fe.map(function(Ye){return parseInt(Ye.value,10)})))+1),Fe.push({label:"\u65B0\u9009\u9879".concat(Fe.length+1),value:"".concat($e)})}else{var Ve=Fe.find(function(Ye){return Ye.value===ne[Re-1]});Ve.children||(Ve.children=[]),Fe=Ve.children}},Se=1;Se<=ue;Se++)Be(Se)},deleteItem:function(ue,ne){for(var Ce=Q.checked,Fe=Q.dataSource,Be=Fe,Se=function($e){var Ve=void 0;if($e===ue){var Ye=Be.findIndex(function(st){return st.value===ne});if(Be.splice(Ye,1),Be.length===0){var _e;(_e=Ve)===null||_e===void 0||delete _e.children}}else Ve=Be.find(function(st){return st.value===Ce[$e-1]}),Ve.children||(Ve.children=[]),Be=Ve.children},ke=1;ke<=ue;ke++)Se(ke);Ce.splice(ue-1)},updateItem:function(ue,ne,Ce){for(var Fe=Q.checked,Be=Q.dataSource,Se=Be,ke=function(Ve){if(Ve===ue){var Ye=Se.find(function(st){return st.value===Ce}),_e=Se.findIndex(function(st){return st.value===Ce});Ye&&(Ye.label=ne),Se.splice(_e,1,Ye)}else Se=Se.find(function(st){return st.value===Fe[Ve-1]}).children},Re=1;Re<=ue;Re++)ke(Re);Fe[ue-1]!==Ce&&(Fe[ue-1]=Ce,Fe.splice(ue))},updateOrder:function(ue,ne,Ce){for(var Fe=Q.checked,Be=Q.dataSource,Se=Be,ke=function(Ve){if(Ve===ue){var Ye=Se[ne];Se.splice(ne,1),Se.splice(Ce,0,Ye)}else Se=Se.find(function(_e){return _e.value===Fe[Ve-1]}).children},Re=1;Re<=ue;Re++)ke(Re)},updateOption:function(ue,ne){var Ce=Q.options.find(function(Fe){return Fe.id===ue});Ce&&(Ce.title=ne)},addOption:function(){Q.options.push({id:(0,Ht.Ox)(),title:"\u8BF7\u9009\u62E9"})}}},dt=le.createContext({}),yt=(0,z.Pi)(function(nt){var Q,ae,ue,ne=nt.onCancel,Ce=nt.onOk,Fe=nt.value,Be=(0,le.useRef)(null),Se=(0,le.useContext)(Dt.rU),ke=Se.getContainer,Re=(0,b.$1)(Pe,{dataSource:(0,ce.ZN)(Fe)||[],checked:[],options:(0,G.Z)(new Array(4)).map(function(Me,vt){return nt.options.length>vt?nt.options[vt]:{id:(0,Ht.Ox)(),title:"\u8BF7\u9009\u62E9"}})}),$e=(0,St.Z)(Re,2),Ve=$e[0],Ye=Ve.dataSource,_e=Ve.checked,st=Ve.options,Lt=$e[1],$t=Lt.addItem,g0=Lt.deleteItem,_t=Lt.updateItem,M0=Lt.updateOrder,It=Lt.addOption,Pt=Lt.updateOption,de=_e.length>=1&&((Q=Ye.find(function(Me){return Me.value===_e[0]}))===null||Q===void 0?void 0:Q.children)||[],oe=_e.length>=2&&de&&((ae=de.find(function(Me){return Me.value===_e[1]}))===null||ae===void 0?void 0:ae.children)||[],me=_e.length>=3&&oe&&((ue=oe.find(function(Me){return Me.value===_e[2]}))===null||ue===void 0?void 0:ue.children)||[],pe=(0,le.useMemo)(function(){return(0,_.vC)((0,ce.ZN)(Ye))},[Ye]);return(0,o.jsx)(dt.Provider,{value:{addItem:$t,deleteItem:g0,updateItem:_t,updateOrder:M0,updateOption:Pt,addOption:It,options:st},children:(0,o.jsx)("div",{ref:Be,children:(0,o.jsx)(He.Z,{title:"\u9009\u9879\u7F16\u8F91",getContainer:ke,open:!0,className:"cascader-modal",onOk:function(){Ce(Ye,st.slice(0,pe/2))},onCancel:function(){ne()},width:800,maskClosable:!1,children:(0,o.jsxs)("div",{className:"content",children:[(0,o.jsx)(F,{level:1,checked:_e[0],dataSource:Ye,title:"\u4E00\u7EA7\u9009\u9879",active:_e.length>=0,hasOption:pe>=2}),(0,o.jsx)(F,{level:2,checked:_e[1],dataSource:de,title:"\u4E8C\u7EA7\u9009\u9879",active:_e.length>=1,hasOption:pe>=4}),(0,o.jsx)(F,{level:3,checked:_e[2],dataSource:oe,title:"\u4E09\u7EA7\u9009\u9879",active:_e.length>=2,hasOption:pe>=6}),(0,o.jsx)(F,{level:4,checked:_e[3],dataSource:me,title:"\u56DB\u7EA7\u9009\u9879",active:_e.length>=3,hasOption:pe>=8})]})})})})});function Je(nt){return nt.split(/\t|\s+|\//).filter(function(Q){return Q.trim()!==""}).map(function(Q){return{title:Q}})}function Nt(nt){var Q=nt.reduce(function(ae,ue){return ue.split(/\t|\s+|\//).reduce(function(ne,Ce,Fe,Be){ne.value=(0,Ht.Ox)();var Se=Be.slice(0,Fe+1).join("."),ke=(ne.children=ne.children||[]).find(function(Re){return Re.label===Se});return ke||ne.children.push(ke={label:Se,value:(0,Ht.Ox)()}),ke},ae),ae},{children:[]}).children;return JSON.parse(JSON.stringify(Q,function(ae,ue){return ae==="label"?ue.split(".").slice(-1)[0]:ue}))}function Tt(){var nt=(0,le.useState)(!1),Q=(0,St.Z)(nt,2),ae=Q[0],ue=Q[1],ne=(0,z.cI)(),Ce=(0,le.useContext)(Dt.rU),Fe=Ce.operation,Be=(0,le.useContext)(Dt.Gb),Se=Be.node,ke=Be.getContainer,Re=ne.query("dataSource").get("value");return(0,o.jsxs)("div",{style:{paddingLeft:20,marginTop:10},children:[(0,o.jsxs)("a",{onClick:function(){ue(!0)},children:[(0,o.jsx)(it.MT,{infer:"Plus"}),"\u9009\u9879\u7F16\u8F91"]}),(0,o.jsx)(it.E4,{getContainer:ke,onConfirm:function(Ve){var Ye=Je(Ve[0]),_e=Nt(Ve.slice(1));ne.query("dataSource").take(function(st){return st.value=_e}),Fe.batchReplaceNode(Ye,Se)}}),ae&&(0,o.jsx)(yt,{onCancel:function(){return ue(!1)},value:Re,options:Se.children.map(function($e){return{id:$e.id,title:$e.title}}
95),onOk:function(Ve,Ye){ne.query("dataSource").take(function(_e){return _e.value=Ve}),Fe.batchReplaceNode(Ye,Se),ue(!1)}})]})}(0,Dt.j1)("Cascader",(0,t.Pi)(Tt))},11562:function(r0,jt,i){"use strict";i.d(jt,{M:function(){return Le}});var St=i(11849),le=i(83279),t=i(78210),N=i(9761),He=i(56692),G=i(17321),b=i(85893),Le=(0,N.Pi)(function(D){var se=D.name,o=se===void 0?"title":se,Bt=D.style,e=Bt===void 0?{minWidth:160,width:"auto"}:Bt,it=D.innerStyle,Oe=D.readonlyStyle,z=Oe===void 0?{padding:"5px 11px 4px 12px",fontSize:14,minWidth:200}:Oe,F=D.bounds,_=D.mirrorFieldAddress,ce=D.onChangeSelection,Ht=D.index,Dt=Ht===void 0?0:Ht,Pe=D.excludeToolbars,dt=(0,N.cI)(),yt=dt.values[o],Je=(0,G.T)(),Nt=Je.node.getAttribute("optionNumberType");if(Je.isFocus||Je.isHover)return(0,b.jsx)(He.rN,{name:o,style:e,excludeToolbars:Pe,innerStyle:it,bounds:F,mirrorFieldAddress:_,onChangeSelection:ce});var Tt=function(Q){if(!Nt||dt.values.type&&dt.values.type!=="Option")return Q;var ae=(0,le.Z)(Array(26).keys()).map(function(ne){return String.fromCharCode(ne+65)}),ue=(0,le.Z)(Array(26).keys()).map(function(ne){return String.fromCharCode(ne+97)});if(Nt==="number")return"".concat(Dt+1,".").concat(Q);if(Nt==="lowercaseLetter")return"".concat(ue[Dt],".").concat(Q);if(Nt==="uppercaseLetter")return"".concat(ae[Dt],".").concat(Q)};return(0,b.jsx)("div",{style:(0,St.Z)((0,St.Z)({},z),{},{whiteSpace:"pre-wrap"}),children:(0,b.jsx)(t.Z,{html:Tt(yt)})})})},61494:function(r0,jt,i){"use strict";i.d(jt,{R:function(){return He}});var St=i(9761),le=i(67294),t=i(85893),N=function(b){var Le=(0,le.useRef)(null);return(0,le.useEffect)(function(){Le.current&&b!==Le.current,Le.current=b},[b]),b},He=function(b){var Le=N(b.form);return(0,t.jsx)(St.uI,{children:(0,t.jsx)(St.q3.Provider,{value:Le,children:b.children})})}},20082:function(r0,jt,i){"use strict";i.d(jt,{L:function(){return t}});var St=i(67294),le=i(85893),t=function(He){var G=He.children,b=He.className,Le=He.onClick;return(0,le.jsx)("div",{className:b,onClick:Le,children:G})}},28225:function(r0,jt,i){"use strict";i.d(jt,{Z:function(){return Dt}});var St=i(34792),le=i(48086),t=i(11628),N=i(9761),He=i(30037),G=i.n(He),b=i(67294),Le=i(5977),D=i(12477),se=i(71194),o=i(50146),Bt=i(22385),e=i(94199),it=i(85893),Oe=[{title:"\u590D\u5236",letters:["\u2318 C"],tooltip:"\u590D\u5236\u5F53\u524D\u9009\u4E2D\u8282\u70B9"},{title:"\u7C98\u8D34",letters:["\u2318 V"],tooltip:"\u5C06\u590D\u5236\u7684\u8282\u70B9\u63D2\u5165\u5230\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u540E\u9762"},{title:"\u526A\u5207",letters:["\u2318 X"],tooltip:"\u526A\u5207\u5F53\u524D\u9009\u4E2D\u8282\u70B9"},{title:"\u64A4\u9500",letters:["\u2318 Z"],tooltip:"\u6062\u590D\u4E0A\u4E00\u6B21\u64CD\u4F5C"},{title:"\u91CD\u505A",letters:["\u2318 Shift Z"],tooltip:"\u6062\u590D\u4E0A\u4E00\u6B21\u64A4\u9500\u7684\u64CD\u4F5C"},{title:"\u4FDD\u5B58",letters:["\u2318 S"],tooltip:"\u4FDD\u5B58\u5F53\u524D\u95EE\u5377"},{title:"\u7F16\u8F91\u533A",letters:["\u2318 1","\u2318 E"],tooltip:"\u5207\u6362\u5230\u7F16\u8F91\u5668\u89C6\u56FE"},{title:"\u9884\u89C8(\u7535\u8111\u4E3B\u9898)",letters:["\u2318 2","\u2318 P"],tooltip:"\u5207\u6362\u5230\u7535\u8111\u7AEF\u9884\u89C8\u89C6\u56FE"},{title:"\u9884\u89C8(\u624B\u673A\u4E3B\u9898)",letters:["\u2318 3","\u2318 M"],tooltip:"\u5207\u6362\u5230\u624B\u673A\u7AEF\u9884\u89C8\u89C6\u56FE"},{title:"\u9884\u89C8(\u8868\u5355\u4E3B\u9898)",letters:["\u2318 4"],tooltip:"\u5207\u6362\u5230\u8868\u5355\u9884\u89C8\u89C6\u56FE"},{title:"\u5220\u9664",letters:["Delete","Backspace"],tooltip:"\u5220\u9664\u5F53\u524D\u9009\u4E2D\u8282\u70B9"},{title:"\u5411\u4E0A\u9009\u4E2D\u8282\u70B9",letters:["\u2191"],tooltip:"\u9009\u4E2D\u4E0A\u4E00\u4E2A\u8282\u70B9"},{title:"\u5411\u4E0B\u9009\u4E2D\u8282\u70B9",letters:["\u2193"],tooltip:"\u9009\u4E2D\u4E0B\u4E00\u4E2A\u8282\u70B9"},{title:"\u5411\u4E0A\u79FB\u52A8",letters:["\u2318 \u2191"],tooltip:"\u5411\u4E0A\u79FB\u52A8\u5F53\u524D\u9009\u4E2D\u7684\u95EE\u9898"},{title:"\u5411\u4E0B\u79FB\u52A8",letters:["\u2318 \u2193"],tooltip:"\u5411\u4E0B\u79FB\u52A8\u5F53\u524D\u9009\u4E2D\u7684\u95EE\u9898"}];function z(Pe){return navigator.userAgent.indexOf("Mac OS X")!=-1?Pe:Pe.replace("\u2318","Ctrl")}var F=(0,N.Pi)(function(){var Pe=(0,D.Tv)(),dt=(0,D.wq)(),yt=dt.shortcutVisible;return(0,it.jsx)(o.Z,{title:"\u5F53\u524D\u53EF\u7528\u5FEB\u6377\u952E",onCancel:function(){return Pe.toggleShortcutModalVisible()}
95,open:yt,footer:!1,children:(0,it.jsx)("div",{className:"shortcut-list",children:Oe.map(function(Je){return(0,it.jsxs)("div",{className:"shortcut-list-item",children:[(0,it.jsx)("div",{className:"shortcut-title",children:(0,it.jsx)(e.Z,{title:Je.tooltip,placement:"right",children:Je.title})}),(0,it.jsx)("div",{className:"shortcut-letters",children:Je.letters.map(function(Nt){return(0,it.jsx)("div",{className:"shortcut-letter",children:z(Nt)},Nt)})})]},Je.title)})})})}),_=function(dt,yt){return dt.classList.contains(yt)};function ce(Pe){if(!Pe)return!1;var dt=Pe.target;return(dt==null?void 0:dt.nodeName)!=="BODY"}function Ht(){var Pe=(0,D.Tv)(),dt=(0,D.k6)(),yt=(0,D.cF)(),Je=(0,D.jE)(),Nt=Je.mode,Tt=(0,Le.k6)(),nt=(0,t.IE)();return(0,b.useEffect)(function(){return G().filter=function(){return!0},G()("\u2318+c, ctrl+c",function(Q){if(Pe.focusNode){var ae;localStorage.setItem("copy-cache",JSON.stringify((ae=Pe.focusNode)===null||ae===void 0?void 0:ae.serialize(),function(ue,ne){return ue!=="id"?ne:void 0}))}return!0}),G()("\u2318+v, ctrl+v",function(Q){if(!ce(Q)){var ae=localStorage.getItem("copy-cache");return ae&&Pe.addNodeWithTemplate(JSON.parse(ae)),!0}}),G()("\u2318+x, ctrl+x",function(Q){if(!ce(Q)){if(Pe.focusNode){var ae;localStorage.setItem("copy-cache",JSON.stringify((ae=Pe.focusNode)===null||ae===void 0?void 0:ae.serialize(),function(ue,ne){return ue!=="id"?ne:void 0})),Pe.removeNodes(Pe.focusNode)}return!0}}),G()("backspace, delete",function(Q){if(!ce(Q)){var ae=Pe.focusNode;if(ae&&ae.type!=="Survey"){var ue=ae.parent;Pe.removeNodes(ae),ue.children.length>0&&(ue=ue.children[ue.children.length-1]),ue&&Pe.switchFocusNode(ue)}return!0}}),G()("\u2318+z, ctrl+z",function(Q){if(!ce(Q))return dt.undo(),!1}),G()("\u2318+shift+z, ctrl+shift+z",function(Q){if(!ce(Q))return dt.redo(),!1}),G()("up",function(Q){if(!ce(Q)){var ae=Pe.focusNode,ue=void 0;if(!ae)ue=yt.tree;else{var ne,Ce=(ne=ae.parent)===null||ne===void 0?void 0:ne.children.findIndex(function(Se){return Se.id===ae.id});if(Ce===void 0||Ce===-1)return;if(Ce>0){var Fe;ue=(Fe=ae.parent)===null||Fe===void 0?void 0:Fe.children[Ce-1]}else{var Be;ue=(Be=ae.parent)===null||Be===void 0?void 0:Be.children[ae.parent.children.length-1]}}return ue&&Pe.switchFocusNode(ue),!1}}),G()("\u2318+up, ctrl+up",function(Q){var ae;if(!ce(Q)){var ue=Pe.focusNode;if(!ue||!ue.parent)return!1;var ne=(ae=ue.parent)===null||ae===void 0?void 0:ae.children.findIndex(function(Ce){return Ce.id===ue.id});if(!(ne===void 0||ne===-1))return ne>0?Pe.dropSortNode(ue,ue.parent,ne-1):Pe.dropSortNode(ue,ue.parent,ue.parent.children.length-1),!1}}),G()("down",function(Q){if(!ce(Q)){var ae=Pe.focusNode,ue=void 0;if(!ae)ue=yt.tree;else{var ne,Ce=(ne=ae.parent)===null||ne===void 0?void 0:ne.children.findIndex(function(Se){return Se.id===ae.id});if(Ce===void 0||Ce===-1)return;if(Ce===ae.parent.children.length-1){var Fe;ue=(Fe=ae.parent)===null||Fe===void 0?void 0:Fe.children[0]}else{var Be;ue=(Be=ae.parent)===null||Be===void 0?void 0:Be.children[Ce+1]}}return ue&&Pe.switchFocusNode(ue),!1}}),G()("\u2318+down, ctrl+down",function(Q){var ae;if(!ce(Q)){var ue=Pe.focusNode;if(!ue||!ue.parent)return!1;var ne=(ae=ue.parent)===null||ae===void 0?void 0:ae.children.findIndex(function(Ce){return Ce.id===ue.id});if(!(ne===void 0||ne===-1))return ne===ue.parent.children.length-1?Pe.dropSortNode(ue,ue.parent,0):Pe.dropSortNode(ue,ue.parent,ne+1),!1}}),G()("\u2318+s, ctrl+s",function(Q){if(!ce(Q))return(Nt==="survey"||Nt==="exam")&&nt.saveOrUpdateProject({survey:yt.serialize()}).then(function(ae){ae.success&&ae.data&&Tt.push("/survey/".concat(ae.data.id,"/edit?mode=").concat(Nt)),ae.success&&le.default.success("\u4FDD\u5B58\u6210\u529F")}),!1}),G()("\u2318+1, ctrl+1,\u2318+e, ctrl+e",function(Q){if(!ce(Q))return Pe.changeWorkbench("EDITOR"),!1}),G()("\u2318+2, ctrl+2",function(Q){if(!ce(Q))return Pe.changeWorkbench("JSONTREE"),!1}),G()("\u2318+3, ctrl+3, \u2318+p, ctrl+p",function(Q){if(!ce(Q))return Pe.changeWorkbench("PREVIEW"),Pe.changePreviewType("PC"),!1}),G()("\u2318+4, ctrl+4, \u2318+m, ctrl+m",function(Q){if(!ce(Q))return Pe.changeWorkbench("PREVIEW"),Pe.changePreviewT
95ype("PHONE"),!1}),G()("\u2318+5, ctrl+5",function(Q){if(!ce(Q))return Pe.changeWorkbench("PREVIEW"),Pe.changePreviewType("Form"),!1}),function(){G().unbind("\u2318+s, ctrl+s"),G().unbind("\u2318+c, ctrl+c"),G().unbind("\u2318+v, ctrl+v"),G().unbind("\u2318+x, ctrl+x"),G().unbind("backspace, delete"),G().unbind("\u2318+z, ctrl+z"),G().unbind("\u2318+shift+z, ctrl+shift+z"),G().unbind("\u2318+s, ctrl+s"),G().unbind("\u2318+1, ctrl+1,\u2318+e, ctrl+e"),G().unbind("\u2318+2, ctrl+2"),G().unbind("\u2318+3, ctrl+3, \u2318+p, ctrl+p"),G().unbind("\u2318+4, ctrl+4, \u2318+m, ctrl+m"),G().unbind("\u2318+5, ctrl+5")}},[]),(0,it.jsx)(it.Fragment,{children:(0,it.jsx)(F,{})})}var Dt=(0,N.Pi)(Ht)},17151:function(r0,jt,i){"use strict";i.d(jt,{E4:function(){return za},W2:function(){return Hi},Sc:function(){return N1},aF:function(){return Ui},uO:function(){return Oa},_l:function(){return Vi},Mf:function(){return Sn.M},Sq:function(){return r1},F9:function(){return y0},RV:function(){return T1.R},tC:function(){return Y1},MT:function(){return Ut},Tp:function(){return pi},QN:function(){return X1},Ws:function(){return or},Aj:function(){return cr},ce:function(){return Et},XG:function(){return ze},pE:function(){return on},KV:function(){return Er},Zq:function(){return ht}});var St={};i.r(St),i.d(St,{Alphabet:function(){return z},BatchDragAnimation:function(){return _},Button:function(){return E0},Checkbox:function(){return ce},Chinese:function(){return Ht},Choose:function(){return $0},Clear:function(){return rn},Copy:function(){return Dt},Date:function(){return Pe},DateTime:function(){return dt},Decimal:function(){return yt},Delete:function(){return Je},Design:function(){return Nt},Drag:function(){return Tt},DragSourceAnimation:function(){return F},DragVertical:function(){return nt},Email:function(){return Q},Exam:function(){return G0},Form:function(){return Fi},Function:function(){return ae},IdCard:function(){return ue},Integer:function(){return ne},JSON:function(){return Ce},Keyboard:function(){return Cn},Logic:function(){return Fe},MenuAddress:function(){return Be},MenuBarcode:function(){return gn},MenuCascader:function(){return Se},MenuChartRadar:function(){return Si},MenuCheckbox:function(){return ke},MenuClasses:function(){return Mt},MenuDate:function(){return me},MenuDepartment:function(){return K0},MenuDept:function(){return Re},MenuEmail:function(){return pe},MenuEmployeeId:function(){return t0},MenuFillBlank:function(){return $e},MenuHorzBlank:function(){return Kt},MenuIdCard:function(){return Rt},MenuJudge:function(){return Qt},MenuMatrixAuto:function(){return Ve},MenuMatrixCheckbox:function(){return _e},MenuMatrixFillBlank:function(){return Ye},MenuMatrixNps:function(){return Yt},MenuMatrixRadio:function(){return st},MenuMobile:function(){return Me},MenuMulti:function(){return Lt},MenuMultipleBlank:function(){return $t},MenuName:function(){return wt},MenuNation:function(){return oe},MenuNps:function(){return g0},MenuPagination:function(){return _t},MenuProvinceCityCounty:function(){return de},MenuQuestionSet:function(){return M0},MenuRadio:function(){return It},MenuRemark:function(){return Pt},MenuRichText:function(){return Ai},MenuScore:function(){return Gt},MenuSelect:function(){return gt},MenuSex:function(){return m0},MenuShortAnswer:function(){return ft},MenuSignature:function(){return Vt},MenuSplitLine:function(){return L0},MenuStudentId:function(){return Y0},MenuTextarea:function(){return Zt},MenuTime:function(){return vt},MenuUpload:function(){return Bn},MenuUser:function(){return C0},MinusCircle:function(){return Mn},Mobile:function(){return n0},MobileOutline:function(){return zt},PC:function(){return O0},Picture:function(){return F0},Play:function(){return V0},Plus:function(){return Yn},PlusCircle:function(){return e1},Publish:function(){return H0},Qrcode:function(){return n1},QuestionCircle:function(){return ji},QuestionTemplate:function(){return yi},Radio:function(){return Kn},Redo:function(){return bi},Responsive:function(){return pn},Setting:function(){return xn},Survey:function(){return z0},Template:function(){return an},Text:function(){return kt},TextImport:function(){return Jn},Theme:function(){return Gn},Time:function(){return Ei},Undo:function(){return t1}});var le=i(67294),t=i(85893);function N(){return _jsx("div",{children:"save"})}
95var He={\u9009\u62E9\u9898:[{type:"Radio",title:"\u5355\u9009\u9898"},{type:"Checkbox",title:"\u591A\u9009\u9898"},{type:"Select",title:"\u4E0B\u62C9\u9898"},{type:"Cascader",title:"\u7EA7\u8054\u9898"},{type:"Upload",title:"\u4E0A\u4F20\u6587\u4EF6"}],\u586B\u7A7A\u9898:[{type:"FillBlank",title:"\u5355\u884C\u6587\u672C\u9898"},{type:"Textarea",title:"\u591A\u884C\u6587\u672C\u9898"},{type:"MultipleBlank",title:"\u591A\u9879\u586B\u7A7A"},{type:"Signature",title:"\u7535\u5B50\u7B7E\u540D"},{type:"HorzBlank",title:"\u6A2A\u5411\u586B\u7A7A"},{type:"Barcode",title:"\u626B\u7801\u9898"}],\u6253\u5206\u9898:[{type:"Score",title:"\u6253\u5206\u9898"},{type:"Nps",title:"NPS\u9898"}],\u77E9\u9635\u9898:[{type:"MatrixFillBlank",title:"\u77E9\u9635\u586B\u7A7A"},{type:"MatrixRadio",title:"\u77E9\u9635\u5355\u9009"},{type:"MatrixCheckbox",title:"\u77E9\u9635\u591A\u9009"},{type:"MatrixAuto",title:"\u8868\u683C\u81EA\u589E"}],\u8F85\u52A9\u5E03\u5C40:[{type:"QuestionSet",title:"\u95EE\u9898\u7EC4"},{type:"Remark",title:"\u6587\u5B57\u63CF\u8FF0"},{type:"Pagination",title:"\u5206\u9875"},{type:"SplitLine",title:"\u5206\u5272\u7EBF"}],\u9AD8\u7EA7\u9898\u578B:[{type:"User",title:"\u6210\u5458"},{type:"Dept",title:"\u90E8\u95E8"},{type:"RichText",title:"\u5BCC\u6587\u672C"}],\u4E2A\u4EBA\u4FE1\u606F:[{type:"Address",title:"\u5730\u7406\u4F4D\u7F6E"},{type:"Cascader",title:"\u7701\u5E02\u53BF",name:"ProvinceCityCounty"},{type:"Select",title:"\u6C11\u65CF",name:"Nation"},{type:"FillBlank",title:"\u90AE\u7BB1",name:"Email"},{type:"FillBlank",title:"\u65E5\u671F",name:"Date"},{type:"FillBlank",title:"\u65F6\u95F4",name:"Time"},{type:"FillBlank",title:"\u624B\u673A",name:"Mobile"},{type:"FillBlank",title:"\u8EAB\u4EFD\u8BC1",name:"IdCard"}]},G={\u8003\u8BD5\u9898\u578B:[{type:"Radio",title:"\u5355\u9009\u9898"},{type:"Checkbox",title:"\u591A\u9009\u9898"},{type:"Judge",title:"\u5224\u65AD\u9898",name:"Judge"},{type:"Select",title:"\u4E0B\u62C9\u9898"},{type:"FillBlank",title:"\u586B\u7A7A\u9898"},{type:"MultipleBlank",title:"\u591A\u9879\u586B\u7A7A"},{type:"HorzBlank",title:"\u6A2A\u5411\u586B\u7A7A"},{type:"Textarea",title:"\u7B80\u7B54\u9898",name:"ShortAnswer"}],\u4FE1\u606F\u9898:[{type:"FillBlank",title:"\u59D3\u540D",name:"Name"},{type:"FillBlank",title:"\u624B\u673A",name:"Mobile"},{type:"FillBlank",title:"\u5B66\u53F7",name:"StudentId"},{type:"FillBlank",title:"\u5DE5\u53F7",name:"EmployeeId"},{type:"FillBlank",title:"\u73ED\u7EA7",name:"Classes"},{type:"FillBlank",title:"\u90E8\u95E8",name:"Department"},{type:"FillBlank",title:"\u90AE\u7BB1",name:"Email"},{type:"FillBlank",title:"\u8EAB\u4EFD\u8BC1",name:"IdCard"}],\u66F4\u591A\u9898\u578B:[{type:"Remark",title:"\u6587\u5B57\u63CF\u8FF0"},{type:"Pagination",title:"\u5206\u9875"},{type:"SplitLine",title:"\u5206\u5272\u7EBF"},{type:"MatrixAuto",title:"\u8868\u683C\u81EA\u589E"},{type:"Nps",title:"\u91CF\u8868\u9898",name:"ExamNps"},{type:"Signature",title:"\u7535\u5B50\u7B7E\u540D"},{type:"Upload",title:"\u4E0A\u4F20\u6587\u4EF6"}]},b={};Object.keys(He).forEach(function(u){He[u].filter(function(r){return!r.name}).forEach(function(r){b[r.type]=r.title})});var Le=i(20082),D=i(11849),se=i(22385),o=i(94199),Bt=i(80582),e=i(94184),it=i.n(e),Oe=i(12477),z=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M6,11A2,2 0 0,1 8,13V17H4A2,2 0 0,1 2,15V13A2,2 0 0,1 4,11H6M4,13V15H6V13H4M20,13V15H22V17H20A2,2 0 0,1 18,15V13A2,2 0 0,1 20,11H22V13H20M12,7V11H14A2,2 0 0,1 16,13V15A2,2 0 0,1 14,17H12A2,2 0 0,1 10,15V7H12M12,15H14V13H12V15Z"})}),F=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",dangerouslySetInnerHTML:{__html:` 96<style> 97@keyframes helper-drag-rec_w { 0% { width: 210px; } 54.5455% { width: 210px; animation-timing-function: cubic-bezier(0.904,0,0.726,0.668); } 66.6667% { width: 540px; animation-timing-function: cubic-bezier(0.214,0.499,0.52,0.867); } 72.7273% { width: 520px; } 100% { width: 520px; } } 98@keyframes helper-drag-rec_h { 0% { height: 100px; } 54.5455% { height: 100px; animation-timing-function: cubic-bezier(0.904,0,0.726,0.668); } 66.6667% { height: 560px; animation-timing-function: cubic-bezier(0.214,0.499,0.52,0.867); } 72.7273% { height: 540px; } 100% { height: 540px; } } 99@keyframes helper-drag-rec_mo { 0% { offset-distance: 0%; } 33.3333% { offset-distance: 0.12%; animation-timing-function: cubic-bezier(0.62,0.079,0.616,1); } 54.5455% { offset-distance: 64.297%; animation-timing-function: cubic-bezier(0.904,0,0.726,0.668); } 66.6667% { offset-distance: 98.331%; animation-timing-function: cubic-bezier(0.214,0.499,0.52,0.867); } 72.7273% { offset-distance: 100%; } 100% { offset-distance: 100%; } } 100@keyframes helper-drag-mouse_mo { 0% { offset-distance: 0%; animation-timing-function: cubic-bezier(0.69,0.145,0.37,1); } 18.1818% { offset-distance: 37.49%; } 24.2424% { offset-distance: 38.651%; } 33.3333% { offset-distance: 38.651%; animation-timing-function: cubic-bezier(0.62,0.079,0.616,1); } 54.5455% { offset-distance: 100%; } 100% { offset-distance: 100%; } } 101@keyframes helper-drag-boomrightup_o { 0% { opacity: 0; } 66.6667% { opacity: 0; } 69.697% { opacity: 1; } 75.7576% { opacity: 1; } 78.7879% { opacity: 0; } 100% { opacity: 0; } } 102@keyframes a0_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 103@keyframes a1_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 104@keyframes a2_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 105@keyframes helper-drag-boomleftup_o { 0% { opacity: 0; } 66.6667% { opacity: 0; } 69.697% { opacity: 1; } 75.7576% { opacity: 1; } 78.7879% { opacity: 0; } 100% { opacity: 0; } } 106@keyframes a3_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 107@keyframes a4_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 108@keyframes a5_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 109@keyframes helper-drag-boomrightbottom_o { 0% { opacity: 0; } 66.6667% { opacity: 0; } 69.697% { opacity: 1; } 75.7576% { opacity: 1; } 78.7879% { opacity: 0; } 100% { opacity: 0; } } 110@keyframes a6_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 111@keyframes a7_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 112@keyframes a8_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 113@keyframes helper-drag-boomleftbottom_o { 0% { opacity: 0; } 66.6667% { opacity: 0; } 69.697% { opacity: 1; } 75.7576% { opacity: 1; } 78.7879% { opacity: 0; } 100% { opacity: 0; } } 114@keyframes a9_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 115@keyframes a10_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 116@keyframes a11_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 66.6667% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 72.7273% { d: path('M1,-15L3,-15C
1163.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 78.7879% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 117</style> 118<rect id="helper-drag-leftrec" width="260" height="600" fill="#eeeeee" stroke="none" fill-rule="evenodd" rx="12" transform="translate(97.4763,336) translate(-27.4763,-124)"/> 119<rect id="helper-drag-rightrec" width="580" height="600" fill="#eeeeee" stroke="none" fill-rule="evenodd" rx="12" transform="translate(443.476,336) translate(-69.5,-124)"/> 120<rect id="helper-drag-rec" width="210" height="100" fill="#ffffff" rx="10" stroke="none" style="transform: translate(-111.034px,-48.1565px); animation: 3.3s linear infinite both helper-drag-rec_w, 3.3s linear infinite both helper-drag-rec_h, 3.3s linear infinite both helper-drag-rec_mo; offset-path: path('M206.034,298.157L205.034,298.157C481.262,280.399,662.717,480.353,670.01,510.157L505.01,280.552L515.01,290.157L515.01,290.157'); offset-rotate: 0deg;"/> 121<g id="helper-drag-mouse" fill="#000000" fill-rule="nonzero" opacity="1" style="transform: scale(2,2) translate(-14px,-14px); animation: 3.3s linear infinite both helper-drag-mouse_mo; offset-path: path('M200,613L200,290L200,300L200,300C371.375,309.667,501.439,327.173,663.976,512L663.976,512'); offset-rotate: 0deg;"> 122 <path id="helper-drag-mouse-path" d="M27.9059,13.8023L23.4402,10.278C23.364,10.218,23.2602,10.2069,23.173,10.2494C23.0858,10.2919,23.0305,10.3805,23.0308,10.4775L23.0308,12.7418L15.2614,12.7418L15.2614,4.9723L17.5292,4.9723C17.7392,4.9723,17.8582,4.72732,17.7287,4.56283L14.201,0.0971035C14.1537,0.0358608,14.0806,0,14.0032,0C13.9258,0,13.8528,0.0358608,13.8055,0.0971035L10.2778,4.56283C10.2178,4.63907,10.2067,4.74288,10.2492,4.83009C10.2917,4.91729,10.3803,4.97254,10.4773,4.9723L12.7416,4.9723L12.7416,12.7418L4.97221,12.7418L4.97221,10.474C4.97221,10.264,4.72723,10.145,4.56274,10.2745L0.0971017,13.8023C0.0358601,13.8496,0,13.9226,0,14C0,14.0774,0.0358601,14.1504,0.0971017,14.1977L4.55924,17.7255C4.72373,17.855,4.96871,17.7395,4.96871,17.526L4.96871,15.2617L12.7381,15.2617L12.7381,23.0312L10.4703,23.0312C10.2603,23.0312,10.1413,23.2762,10.2708,23.4407L13.7985,27.9029C13.9,28.0324,14.096,28.0324,14.194,27.9029L17.7217,23.4407C17.8512,23.2762,17.7357,23.0312,17.5222,23.0312L15.2614,23.0312L15.2614,15.2617L23.0308,15.2617L23.0308,17.5295C23.0308,17.7395,23.2757,17.8585,23.4402,17.729L27.9024,14.2012C27.9634,14.1533,27.9993,14.0802,28,14.0026C28.0007,13.925,27.966,13.8513,27.9059,13.8023L27.9059,13.8023Z" transform="translate(14,14) translate(-14,-14)"/> 123</g> 124<g id="helper-drag-boomrightup" opacity="0" transform="translate(985.577,207.1) scale(1.3,1.3) translate(-13,-13)" style="animation: 3.3s linear infinite both helper-drag-boomrightup_o;"> 125 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a0_d;"/> 126 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a1_d;"/> 127 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a2_d;"/> 128</g> 129<g id="helper-drag-boomleftup" opacity="0" transform="translate(367.253,188.323) rotate(-90) scale(1.3,1.3) translate(-13,-13)" style="animation: 3.3s linear infinite both helper-drag-boomleftup_o;"> 130 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a3_d;"/> 131 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a4_d;"/> 132 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a5_d;"/> 133</g> 134<g id="helper-drag-boomrightbottom" opacity="0" transform="translate(960.3,845.127) rotate(90) scale(1.3,1.3) translate(-13,-13)" style="animation: 3.3s linear infinite both helper-drag-boomrightbottom_o;"> 135 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a6_d;"/> 136 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a7_d;"/> 137 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a8_d;"/>
137 138</g> 139<g id="helper-drag-boomleftbottom" opacity="0" transform="translate(335.477,819.85) rotate(-180) scale(1.3,1.3) translate(-13,-13)" style="animation: 3.3s linear infinite both helper-drag-boomleftbottom_o;"> 140 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a9_d;"/> 141 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a10_d;"/> 142 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 3.3s linear infinite both a11_d;"/> 143</g> 144`}}),_=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",dangerouslySetInnerHTML:{__html:` 145 <style> 146 @keyframes helper-batch-drag-boomrightup_o { 0% { opacity: 0; } 60% { opacity: 0; } 64% { opacity: 1; } 72% { opacity: 1; } 76% { opacity: 0; } 100% { opacity: 0; } } 147 @keyframes a0_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 148 @keyframes a1_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 149 @keyframes a2_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 150 @keyframes helper-batch-drag-boomleftup_o { 0% { opacity: 0; } 60% { opacity: 0; } 64% { opacity: 1; } 72% { opacity: 1; } 76% { opacity: 0; } 100% { opacity: 0; } } 151 @keyframes a3_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 152 @keyframes a4_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 153 @keyframes a5_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 154 @keyframes helper-batch-drag-boomrightbottom_o { 0% { opacity: 0; } 60% { opacity: 0; } 64% { opacity: 1; } 72% { opacity: 1; } 76% { opacity: 0; } 100% { opacity: 0; } } 155 @keyframes a6_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 156 @keyframes a7_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 157 @keyframes a8_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 158 @keyframes helper-batch-drag-boomleftbottom_o { 0% { opacity: 0; } 60% { opacity: 0; } 64% { opacity: 1; } 72% { opacity: 1; } 76% { opacity: 0; } 100% { opacity: 0; } } 159 @keyframes a9_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 160 @keyframes a10_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 161 @keyframes a11_d { 0% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); } 60% { d: path('M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 68% { d: path('M1,-15L3,-15C3.55228,-15,4,-14.5523,4,-14L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,-14C0,-14.5523,0.447715,-15,1,-15Z'); animation-timing-function: cubic-bezier(0.455,0.03,0.515,0.955); } 76% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } 100% { d: path('M1,-10L3,-10C3.55228,-10,4,-9.55228,4,-9L4,-7C4,-6.44772,3.55228,-6,3,-6L1,-6C0.447715,-6,0,-6.44772,0,-7L0,-9C0,-9.55228,0.447715,-10,1,-10Z'); } } 162 @keyframes helpler-dragwhole_t { 0% { transform: scale(1,1) translate(-166.5px,-140px); } 60% { transform: scale(1,1) translate(-166.5px,-140px); } 64% { transform: scale(1.1,1.1) translate(-166.5px,-140px); } 68% { transform: scale(1,1) translate(-166.5px,-140px); } 100% { transform: scale(1,1) translate(-166.5px,-140px); } } 163 @keyframes helpler-dragwhole_mo { 0% { offset-distance: 0%; } 20% { offset-distance: 0%; } 28% { offset-distance: 0%; } 40% { offset-distance: 0%; animation-timing-function: cubic-bezier(0.69,0.145,0.37,1); } 68% { offset-distance: 100%; } 100% { offset-distance: 100%; } } 164 @keyframes helper-batch-drag-mouse_mo { 0% { offset-distance: 0%; animation-timing-function: cubic-bezier(0.766821,0.127231,0.642631,0.749003); } 20% { offset-distance: 39.885%; animation-timing-function: cubic-bezier(0.232064,0.618697,0.545352,1); } 28% { offset-distance: 41.847%; } 40% { offset-distance: 41.847%; animation-timing-function: cubic-bezier(0.69,0.145,0.37,1); } 68% { offset-distance: 100%; } 100% { offset-distance: 100%; } } 165 </style> 166 <rect id="helper-batch-drag-rightrec" width="880" height="600" fill="#eeeeee" stroke="none" fill-rule="evenodd" rx="12" transform="translate(441.5,336) translate(-369.5,-124)"/> 167 <g id="helper-batch-drag-boomrightup" opacity="0" transform="translate(953.977,487.425) scale(1.3,1.3) translate(-13,-13)" style="animation: 2.5s linear infinite both helper-batch-drag-boomrightup_o;"> 168 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a0_d;"/> 169 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a1_d;"/> 170 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a2_d;"/> 171 </g> 172 <g id="helper-batch-drag-boomleftup" opacity="0" transform="translate(560.35,462.149) rotate(-90) scale(1.3,1.3) translate(-13,-13)" style="animation: 2.5s linear infinite both helper-batch-drag-boomleftup_o;"> 173 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a3_d;"/> 174 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a4_d;"/> 175 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation:
1752.5s linear infinite both a5_d;"/> 176 </g> 177 <g id="helper-batch-drag-boomrightbottom" opacity="0" transform="translate(928.7,805.302) rotate(90) scale(1.3,1.3) translate(-13,-13)" style="animation: 2.5s linear infinite both helper-batch-drag-boomrightbottom_o;"> 178 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a6_d;"/> 179 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a7_d;"/> 180 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a8_d;"/> 181 </g> 182 <g id="helper-batch-drag-boomleftbottom" opacity="0" transform="translate(535.073,784.75) rotate(-180) scale(1.3,1.3) translate(-13,-13)" style="animation: 2.5s linear infinite both helper-batch-drag-boomleftbottom_o;"> 183 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a9_d;"/> 184 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(45) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a10_d;"/> 185 <path fill="#b6b6b6" opacity="1" stroke="none" d="M1,0L3,0C3.55228,0,4,0.447715,4,1L4,3C4,3.55228,3.55228,4,3,4L1,4C0.447715,4,0,3.55228,0,3L0,1C0,0.447715,0.447715,0,1,0Z" transform="translate(-15.4435,22) rotate(90) scale(2,2) translate(-2,-14)" style="animation: 2.5s linear infinite both a11_d;"/> 186 </g> 187 <g id="helpler-dragwhole" style="transform: translate(-166.5px,-140px); animation: 2.5s linear infinite both helpler-dragwhole_t, 2.5s linear infinite both helpler-dragwhole_mo; offset-path: path('M286.5,396L286.5,396L286.5,396L286.5,396C470.732,414.82,636.636,472.739,744.5,633.126L744.5,633.126'); offset-rotate: 0deg;"> 188 <rect id="helper-batch-drag-rec" width="333" height="280" fill="none" rx="10" stroke="#a5a5a5" fill-rule="nonzero" stroke-width="6" stroke-dasharray="12 20" transform="translate(111.034,48.1565) translate(-111.034,-48.1565)"/> 189 <rect width="281" height="60" stroke="none" fill="#c4c4c4" stroke-width="2" rx="10" transform="translate(166.5,53) translate(-140.5,-30)"/> 190 <rect width="140.5" height="60" stroke="none" fill="#c4c4c4" stroke-width="2" rx="10" transform="translate(166.5,137.525) translate(-140.5,-30)"/> 191 <rect width="190.054" height="60" stroke="none" fill="#c4c4c4" stroke-width="2" rx="10" transform="translate(166.5,222.051) translate(-140.5,-30)"/> 192 </g> 193 <g id="helper-batch-drag-mouse" fill="#000000" fill-rule="nonzero" opacity="1" style="transform: scale(2,2) translate(-14px,-14px); animation: 2.5s linear infinite both helper-batch-drag-mouse_mo; offset-path: path('M286.5,744L286.5,378L286.5,396L286.5,396C474.045,416.166,638.679,477.076,744.5,633.126L744.5,633.126'); offset-rotate: 0deg;"> 194 <path id="helper-batch-drag-mouse-path" d="M27.9059,13.8023L23.4402,10.278C23.364,10.218,23.2602,10.2069,23.173,10.2494C23.0858,10.2919,23.0305,10.3805,23.0308,10.4775L23.0308,12.7418L15.2614,12.7418L15.2614,4.9723L17.5292,4.9723C17.7392,4.9723,17.8582,4.72732,17.7287,4.56283L14.201,0.0971035C14.1537,0.0358608,14.0806,0,14.0032,0C13.9258,0,13.8528,0.0358608,13.8055,0.0971035L10.2778,4.56283C10.2178,4.63907,10.2067,4.74288,10.2492,4.83009C10.2917,4.91729,10.3803,4.97254,10.4773,4.9723L12.7416,4.9723L12.7416,12.7418L4.97221,12.7418L4.97221,10.474C4.97221,10.264,4.72723,10.145,4.56274,10.2745L0.0971017,13.8023C0.0358601,13.8496,0,13.9226,0,14C0,14.0774,0.0358601,14.1504,0.0971017,14.1977L4.55924,17.7255C4.72373,17.855,4.96871,17.7395,4.96871,17.526L4.96871,15.2617L12.7381,15.2617L12.7381,23.0312L10.4703,23.0312C10.2603,23.0312,10.1413,23.2762,10.2708,23.4407L13.7985,27.9029C13.9,28.0324,14.096,28.0324,14.194,27.9029L17.7217,23.4407C17.8512,23.2762,17.7357,23.0312,17.5222,23.0312L15.2614,23.0312L15.2614,15.2617L23.0308,15.2617L23.0308,17.5295C23.0308,17.7395,23.2757,17.8585,23.4402,17.729L27.9024,14.2012C27.9634,14.1533,27.9993,14.0802,28,14.0026C28.0007,13.925,27.966,13.8513,27.9059,13.8023L27.9059,13.8023Z" transform="translate(14,14) translate(-14,-14)"/> 195 </g> 196 `}}),ce=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2613",width:"128",height:"128",children:(0,t.jsx)("path",{d:"M832 928.00086l-640 0c-52.9288 0-96.00086-43.07206-96.00086-95.99914l0-640c0-52.9288 43.07206-96.00086 96.00086-96.00086l640 0c52.92708 0 95.99914 43.07206 95.99914 96.00086l0 640C928.00086 884.9288 884.9288 928.00086 832 928.00086zM192 160.00086c-17.632039 0-32.00086 14.368821-32.00086 32.00086l0 640c0 17.664722 14.368821 31.99914 32.00086 31.99914l640 0c17.664722 0 31.99914-14.336138 31.99914-31.99914l0-640c0-17.632039-14.336138-32.00086-31.99914-32.00086L192 160.00086z","p-id":"2614"})}),Ht=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M11 4V6H4V8H15.36C1
1965.13 8.87 14.63 9.77 13.88 10.69C13.35 11.35 12.71 12 12 12.67C11.29 12 10.65 11.35 10.12 10.69C9.65 10.12 9.3 9.55 9.03 9H6.85C7.21 10.05 7.82 11.03 8.56 11.95C9.13 12.66 9.79 13.34 10.5 14L5.36 18.23L6.64 19.77L12 15.34L17.36 19.77L18.64 18.23L13.5 14C14.21 13.34 14.87 12.66 15.44 11.95C16.41 10.74 17.16 9.43 17.4 8H20V6H13V4Z"})}),Dt=(0,t.jsx)("path",{d:"M931.882 131.882l-103.764-103.764A96 96 0 0 0 760.236 0H416c-53.02 0-96 42.98-96 96v96H160c-53.02 0-96 42.98-96 96v640c0 53.02 42.98 96 96 96h448c53.02 0 96-42.98 96-96v-96h160c53.02 0 96-42.98 96-96V199.764a96 96 0 0 0-28.118-67.882zM596 928H172a12 12 0 0 1-12-12V300a12 12 0 0 1 12-12h148v448c0 53.02 42.98 96 96 96h192v84a12 12 0 0 1-12 12z m256-192H428a12 12 0 0 1-12-12V108a12 12 0 0 1 12-12h212v176c0 26.51 21.49 48 48 48h176v404a12 12 0 0 1-12 12z m12-512h-128V96h19.264c3.182 0 6.234 1.264 8.486 3.514l96.736 96.736a12 12 0 0 1 3.514 8.486V224z","p-id":"3522"}),Pe=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z"})}),dt=(0,t.jsx)("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M15,13H16.5V15.82L18.94,17.23L18.19,18.53L15,16.69V13M19,8H5V19H9.67C9.24,18.09 9,17.07 9,16A7,7 0 0,1 16,9C17.07,9 18.09,9.24 19,9.67V8M5,21C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1H18V3H19A2,2 0 0,1 21,5V11.1C22.24,12.36 23,14.09 23,16A7,7 0 0,1 16,23C14.09,23 12.36,22.24 11.1,21H5M16,11.15A4.85,4.85 0 0,0 11.15,16C11.15,18.68 13.32,20.85 16,20.85A4.85,4.85 0 0,0 20.85,16C20.85,13.32 18.68,11.15 16,11.15Z"})}),yt=(0,t.jsx)("svg",{children:(0,t.jsx)("path",{d:"M10 7A3 3 0 0 0 7 10V13A3 3 0 0 0 13 13V10A3 3 0 0 0 10 7M11 13A1 1 0 0 1 9 13V10A1 1 0 0 1 11 10M17 7A3 3 0 0 0 14 10V13A3 3 0 0 0 20 13V10A3 3 0 0 0 17 7M18 13A1 1 0 0 1 16 13V10A1 1 0 0 1 18 10M6 15A1 1 0 1 1 5 14A1 1 0 0 1 6 15Z"})}),Je=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M517.59 21.609c-100.299 0-181.703 79.514-185.167 179.34H98.603c-25.979 0-47.235 21.099-47.235 47.236 0 25.98 21.099 47.237 47.236 47.237h52.117v528.416c0 99.196 67.233 180.285 150.37 180.285h423.55c82.98 0 150.37-80.616 150.37-180.285V295.737h47.236c25.98 0 47.236-21.1 47.236-47.237 0-25.98-21.099-47.236-47.236-47.236H702.441C699.449 101.124 617.888 21.61 517.59 21.61z m-96.677 179.34c3.464-51.172 45.19-90.85 96.834-90.85s93.37 39.835 96.362 90.85H420.913z m-119.98 714.842c-29.444 0-61.88-37.789-61.88-91.953V295.737h547.311V824.31c0 54.007-32.436 91.954-61.88 91.954H300.933v-0.473z m0 0","p-id":"6284"}),(0,t.jsx)("path",{d:"M364.387 802.267c21.57 0 39.363-21.571 39.363-48.653V476.022c0-27.082-17.635-48.654-39.363-48.654-21.572 0-39.364 21.572-39.364 48.654v277.592c0 26.924 17.32 48.653 39.364 48.653z m142.496 0c21.571 0 39.363-21.571 39.363-48.653V476.022c0-27.082-17.635-48.654-39.363-48.654-21.571 0-39.364 21.572-39.364 48.654v277.592c0 26.924 17.793 48.653 39.364 48.653z m149.896 0c21.571 0 39.364-21.571 39.364-48.653V476.022c0-27.082-17.635-48.654-39.364-48.654-21.571 0-39.363 21.572-39.363 48.654v277.592c0 26.924 17.162 48.653 39.363 48.653z m0 0","p-id":"6285"})]}),Nt=(0,t.jsx)("svg",{viewBox:"0 0 1260 1024",children:(0,t.jsx)("path",{d:"M166.137305 564.657231a35.603692 35.603692 0 1 1 71.168 0 35.603692 35.603692 0 0 1-71.168 0z m54.744615-179.830154a55.847385 55.847385 0 1 1 111.694769 0 55.847385 55.847385 0 0 1-111.655384 0z m206.296615-146.313846a72.073846 72.073846 0 1 1 144.108308 0 72.073846 72.073846 0 0 1-144.108308 0z m272.541539 0a90.466462 90.466462 0 1 1 180.972308 0 90.466462 90.466462 0 0 1-180.972308 0z m549.021538-88.103385a31.783385 31.783385 0 0 1 3.15077 44.819692L771.596997 748.307692l-108.740923 75.657846 60.612923-119.138461L1202.858535 152.733538a31.783385 31.783385 0 0 1 44.859077-3.150769l0.945231 0.787693z m-82.156307 307.003077a32.413538 32.413538 0 0 1 32.295384 34.973539h0.118154c-2.56 29.459692-73.058462 298.535385-269.981538 415.350153-328.192 194.717538-543.350154 48.758154-586.358154-20.755692-29.696-48.009846-52.381538-100.864-69.710769-120.792615-27.214769-31.192615-150.055385 43.244308-233.944616-50.845539-83.928615-94.129231-58.525538-470.449231 343.276308-651.027692 367.931077-165.336615 631.414154 36.155077 673.161846 71.286154a31.428923 31.428923 0 1 1-38.990769 49.348923C917.241305 102.4 719.530535 28.199385 487.358228 89.796923 155.542843 176.206769 21.674535 525.351385 78.388382 660.046769c30.523077 72.467692 175.852308 6.222769 233.314461 53.996308 21.425231 17.801846 59.037538 91.254154 83.731692 134.774154 44.898462 79.281231 286.72 140.996923 497.979077 3.820307 195.820308-127.133538 240.718769-365.331692 240.71877-365.331692h0.118153a32.413538 32.413538 0 0 1 32.295385-29.892923z","p-id":"3059"})}),Tt=(0,t.jsx)("path",{d:"M1013.993872 488.006543L865.970679 339.99585a33.999585 33.999585 0 0 0-48.111913 0v118.198557H565.724344V206.109984h118.386055a33.974585 33.974585 0 0 0 0-48.111913L536.087206 9.999878a33.962085 33.962085 0 0 0-48.111913 0L340.027099 157.985571a33.974585 33.974585 0 0 0 0 48.124413h118.123558v252.059423H206.153733V339.99585h-0.062499a33.987085 33.987085 0 0 0-48.124412 0L10.031128 487.931544a33.987085 33.987085 0 0 0 0 48.124412l147.998193 148.010694a33.974585 33.974585 0 0 0 48.124412 0V565.743094h251.996924v252.134422H340.027099a33.962085 33.962085 0 0 0 0 48.111913l147.948194 148.023193a33.974585 33.974585 0 0 0 48.111913 0L684.110399 865.989429a33.974585 33.974585 0 0 0 0-48.111913h-118.386055V565.743094h252.121923v118.398555a34.012085 34.012085 0 0 0 48.124412 0L1013.981372 536.118456a33.987085 33.987085 0 0 0 0-48.111913z","p-id":"1883"}),nt=(0,t.jsx)("path",{d:"M384 128 469.333333 128 469.333333 213.333333 384 213.333333 384 128M554.666667 128 640 128 640 213.333333 554.666667 213.333333 554.666667 128M384 298.666667 469.333333 298.666667 469.333333 384 384 384 384 298.666667M554.666667 298.666667 640 298.666667 640 384 554.666667 384 554.666667 298.666667M384 469.333333 469.333333 469.333333 469.333333 554.666667 384 554.666667 384 469.333333M554.666667 469.333333 640 469.333333 640 554.666667 554.666667 554.666667 554.666667 469.333333M384 640 469.333333 640 469.333333 725.333333 384 725.333333 384 640M554.666667 640 640 640 640 725.333333 554.666667 725.333333 554.666667 640M384 810.666667 469.333333 810.666667 469.333333 896 384 896 384 810.666667M554.666667 810.666667 640 810.666667 640 896 554.666667 896 554.666667 810.666667Z","p-id":"3144"}),Q=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4
196V8L12 13L20 8V18Z"})}),ae=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M674.0872059 173.21933431c0 12.94538272-4.2719763 24.07841185-12.81592887 33.26963359S641.98265679 220.59943506 629.03727406 220.59943506c-13.20429037 0-22.91332741-4.01306864-28.86820345-12.16865975s-12.03920592-21.35988148-17.99408198-39.61287112c-2.20071506-6.86105283-4.78979161-12.29811358-8.41449877-16.31118222-3.49525333-3.88361482-8.54395259-5.82542222-15.14609777-5.82542222-7.76722963 0-13.72210569 3.23634569-17.86462815 9.70903705s-7.63777581 15.01664395-10.61521381 25.37295011l-54.50006125 178.12846618H551.36497777l-13.07483654 41.42522469h-75.60103508l-78.44901924 256.57748542c-20.71261235 66.92762864-39.48341728 119.35642864-56.31241482 157.67476149-16.82899753 38.31833283-40.38959408 71.19960494-70.81124346 98.77327013-30.42164939 27.57366518-68.86943605 41.29577086-115.47281382 41.29577087-33.26963358 0-59.16039902-7.24941431-77.28393482-21.8776968-18.12353581-14.62828247-27.31475753-31.06891852-27.31475752-49.32190814 0-13.8515595 4.78979161-25.89076543 14.3693748-36.24707161 9.70903703-10.48576 22.13660445-15.53445925 37.41215606-15.53445927 18.25298963 0 30.42164939 4.78979161 36.11761777 14.62828248 5.69596839 9.83849086 9.32067555 22.52496592 10.74466766 38.18887901 1.81235358 20.45370469 10.61521383 30.68055703 26.14967308 30.68055703 15.40500543 0 27.96202667-8.54395259 37.92997135-25.37295012 9.96794469-17.08790518 19.93588939-43.10812445 30.29219557-78.1901116L355.88969876 401.83479309h-79.48464988l12.55702125-41.4252247h79.35519602l8.5439526-28.86820345c11.65084445-40.77795555 24.72568098-76.50721185 38.83614816-107.05831507s35.08198717-57.60695309 62.91456-81.42645728 62.52619852-35.59980247 104.33978468-35.59980246c15.66391309 0 30.5511032 2.71853037 44.66157038 7.89668345s25.37295013 12.68647506 33.78744888 22.52496592c8.54395259 9.70903703 12.68647506 21.61878914 12.68647505 35.34089481z m336.96831211 235.47651161c0 19.15916642-2.71853037 37.80051753-8.1555911 55.40623803h-43.23757828c5.95487605-20.71261235 9.0617679-39.48341728 9.0617679-56.31241481 0-3.88361482-1.16508445-8.15559111-3.49525335-12.55702124-2.33016889-4.40143013-6.73159902-6.73159902-13.33374418-6.73159901-4.78979161 0-8.93231408 1.4239921-12.16865975 4.01306864-3.3657995 2.71853037-11.52139061 10.87412148-24.85513482 24.85513482L830.98524444 505.65676247l37.92997136 119.48588247c4.14252247 12.94538272 8.41449876 23.69005037 12.55702123 32.36345679 4.14252247 8.54395259 9.45012939 12.81592889 15.7933669 12.81592888 10.61521383 0 19.93588939-8.15559111 28.35038816-24.3373195 8.41449876-16.31118222 14.36937482-30.68055703 17.99408197-43.23757828h40.5190479c-9.0617679 32.75181827-20.71261235 59.5487605-35.211441 80.26137286s-29.90383408 35.85871013-46.47392393 45.30883949c-16.57008987 9.45012939-32.23400297 14.23992098-46.86228543 14.23992099-23.81950419 0-41.81358617-8.15559111-54.24115358-24.59622715s-23.56059653-39.48341728-33.14017976-69.64615902l-17.34681285-56.57132247-98.77327011 104.98705383c-28.86820347 30.42164939-52.94661531 45.56774717-72.10578174 45.56774716-26.40858075 0-39.61287111-17.6057205-39.61287109-52.81716149 0-24.98458864 5.17815309-49.83972347 15.79336691-74.95376592h48.674639c-11.00357531 31.32782617-16.6995437 51.26371555-16.69954369 60.0665758 0 9.32067555 2.84798419 13.98101333 8.54395258 13.98101334 4.78979161 0 13.07483653-5.82542222 24.85513482-17.6057205l115.47281381-122.59277432-22.13660442-70.29342815c-4.40143013-14.36937482-8.15559111-25.11404247-10.74466765-31.84564147-2.71853037-6.73159902-6.08432987-12.16865975-10.22685235-16.44063606-4.01306864-4.14252247-9.19122173-6.34323753-15.14609779-6.34323753-17.21735902 0-31.58673383 22.26605827-43.23757827 66.79817481h-41.42522468c9.70903703-31.58673383 20.58315852-57.73640691 33.14017974-78.7079269 12.42756741-20.84206617 26.53803457-36.89434075 42.20194766-48.02736988 15.66391309-11.00357531 32.3634568-16.6995437 50.09863111-16.69954372 23.43114272 0 42.33140148 8.41449876 56.57132247 25.11404249 14.23992098 16.6995437 25.89076543 39.74232494 34.95253333 69.1283437l7.24941433 23.04278123 69.38725135-74.95376592c27.05584987-28.22093431 51.39316939-42.33140148 73.01195851-42.3314015 21.35988148 0 35.08198717 6.86105283 41.16631705 20.71261236 6.08432987 13.98101333 9.19122173 27.70311902 9.19122172 41.16631703z","p-id":"2741"})}),ue=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M22,3H2C0.91,3.04 0.04,3.91 0,5V19C0.04,20.09 0.91,20.96 2,21H22C23.09,20.96 23.96,20.09 24,19V5C23.96,3.91 23.09,3.04 22,3M22,19H2V5H22V19M14,17V15.75C14,14.09 10.66,13.25 9,13.25C7.34,13.25 4,14.09 4,15.75V17H14M9,7A2.5,2.5 0 0,0 6.5,9.5A2.5,2.5 0 0,0 9,12A2.5,2.5 0 0,0 11.5,9.5A2.5,2.5 0 0,0 9,7M14,7V8H20V7H14M14,9V10H20V9H14M14,11V12H18V11H14"})}),ne=(0,t.jsx)("svg",{children:(0,t.jsx)("path",{d:"M4,17V9H2V7H6V17H4M22,15C22,16.11 21.1,17 20,17H16V15H20V13H18V11H20V9H16V7H20A2,2 0 0,1 22,9V10.5A1.5,1.5 0 0,1 20.5,12A1.5,1.5 0 0,1 22,13.5V15M14,15V17H8V13C8,11.89 8.9,11 10,11H12V9H8V7H12A2,2 0 0,1 14,9V11C14,12.11 13.1,13 12,13H10V15H14Z"})}),Ce=(0,t.jsx)("path",{d:"M206.497462,203.065268 C225.380711,197.940758 240,211.850142 240,233.080254 C240,250.650002 230.253807,260.166948 222.944162,263.09524 C163.857868,285.057424 155.329949,307.751682 155.329949,357.532634 C155.329949,372.174091 156.548223,396.332494 156.548223,411.706023 C156.548223,468.807703 133.401015,496.626471 93.1979695,512 C134.010152,528.105602 156.548223,555.192297 156.548223,612.293977 C156.548223,619.107246 156.308942,627.645952 156.04247,636.317008 L155.98059,638.319645 L155.897583,640.989618 C155.607459,650.323572 155.329949,659.479398 155.329949,666.467366 C155.329949,716.248318 163.857868,738.942576 222.944162,760.90476 C230.253807,763.833052 240,773.349998 240,790.919746 C240,812.149858 225.380711,826.059242 206.497462,820.934732 C112.081218,796.044256 87.106599,750.655741 87.106
196599,678.912604 C87.106599,673.593637 87.3924294,663.980713 87.687192,654.067212 L87.687192,654.067212 L87.801145,650.223294 C88.0747343,640.939007 88.3248731,631.842609 88.3248731,626.203361 C88.3248731,572.762044 72.4873096,548.603641 31.0659898,547.139496 C11.5736041,545.67535 0,531.765966 0,512 C0,492.234034 11.5736041,478.32465 31.0659898,476.860504 C72.4873096,474.664286 88.3248731,451.237956 88.3248731,397.064567 C88.3248731,391.425318 88.0747343,382.32892 87.801145,373.044633 L87.801145,373.044633 L87.687192,369.200715 C87.3924294,359.287214 87.106599,349.67429 87.106599,344.355323 C87.106599,273.344259 112.081218,227.955744 206.497462,203.065268 Z M817.502538,203.065268 C911.918782,227.955744 936.893401,273.344259 936.893401,344.355323 C936.893401,349.67429 936.607571,359.287214 936.312808,369.200715 L936.198855,373.044633 C935.925266,382.32892 935.675127,391.425318 935.675127,397.064567 C935.675127,451.237956 951.51269,474.664286 992.93401,476.860504 C1012.4264,478.32465 1024,492.234034 1024,512 C1024,531.765966 1012.4264,545.67535 992.93401,547.139496 C951.51269,548.603641 935.675127,572.762044 935.675127,626.203361 C935.675127,631.842609 935.925266,640.939007 936.198855,650.223294 L936.312808,654.067212 C936.607571,663.980713 936.893401,673.593637 936.893401,678.912604 C936.893401,750.655741 911.918782,796.044256 817.502538,820.934732 C798.619289,826.059242 784,812.149858 784,790.919746 C784,773.349998 793.746193,763.833052 801.055838,760.90476 C860.142132,738.942576 868.670051,716.248318 868.670051,666.467366 C868.670051,659.479398 868.392541,650.323572 868.102417,640.989618 L868.01941,638.319645 L867.95753,636.317008 C867.691058,627.645952 867.451777,619.107246 867.451777,612.293977 C867.451777,555.192297 889.989848,528.105602 930.80203,512 C890.598985,496.626471 867.451777,468.807703 867.451777,411.706023 C867.451777,396.332494 868.670051,372.174091 868.670051,357.532634 C868.670051,307.751682 860.142132,285.057424 801.055838,263.09524 C793.746193,260.166948 784,250.650002 784,233.080254 C784,211.850142 798.619289,197.940758 817.502538,203.065268 Z M312,549 C342.375661,549 367,573.624339 367,604 C367,634.375661 342.375661,659 312,659 C281.624339,659 257,634.375661 257,604 C257,573.624339 281.624339,549 312,549 Z M512,549 C542.375661,549 567,573.624339 567,604 C567,634.375661 542.375661,659 512,659 C481.624339,659 457,634.375661 457,604 C457,573.624339 481.624339,549 512,549 Z M712,549 C742.375661,549 767,573.624339 767,604 C767,634.375661 742.375661,659 712,659 C681.624339,659 657,634.375661 657,604 C657,573.624339 681.624339,549 712,549 Z"}),Fe=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M674.816 512h-8.192v60.416c0 11.264-1.024 22.528-3.072 33.792h11.264c26.624 0 48.128-21.504 48.128-47.104 0-26.624-21.504-48.128-48.128-47.104z","p-id":"4090"}),(0,t.jsx)("path",{d:"M930.816 731.136l-239.616-159.744v99.328h-60.416l-104.448-128-77.824 94.208 107.52 131.072c11.264 14.336 28.672 21.504 46.08 21.504h89.088v100.352l239.616-158.72z m-688.128-498.688h-89.088c-32.768 0-60.416 26.624-60.416 60.416s26.624 60.416 60.416 60.416h60.416l105.472 128 77.824-94.208-107.52-131.072c-12.288-15.36-29.696-23.552-47.104-23.552m688.128 59.392l-239.616-159.744v99.328h-89.088c-18.432 0-34.816 8.192-46.08 21.504l-340.992 416.768h-60.416c-32.768 0-60.416 26.624-60.416 60.416 0 32.768 26.624 60.416 60.416 60.416h89.088c18.432 0 34.816-8.192 46.08-21.504l340.992-417.792h60.416v100.352l239.616-159.744z","p-id":"4091"})]}),Be=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16",children:(0,t.jsx)("path",{d:"M106,204.966521 C106,201.672378 103.314779,199 100,199 C96.6852211,199 94,201.672378 94,204.966521 C94,207.02346 95.9679705,209.65739 100,212.748001 C104.03203,209.65739 106,207.02346 106,204.966521 Z M100,214 C95.3333333,210.542683 93,207.531523 93,204.966521 C93,201.119018 96.1340068,198 100,198 C103.865993,198 107,201.119018 107,204.966521 C107,207.531523 104.666667,210.542683 100,214 Z M100,207 C101.104569,207 102,206.104569 102,205 C102,203.895431 101.104569,203 100,203 C98.8954305,203 98,203.895431 98,205 C98,206.104569 98.8954305,207 100,207 Z M100,208 C98.3431458,208 97,206.656854 97,205 C97,203.343146 98.3431458,202 100,202 C101.656854,202 103,203.343146 103,205 C103,206.656854 101.656854,208 100,208 Z",transform:"translate(-93 -198)"})}),Se=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M213.3 597.9h-72.5c-35.3 0-64-28.7-64-64V179.2c0-35.3 28.7-64 64-64h417.7c35.3 0 64 28.7 64 64v354.7c0 35.3-28.7 64-64 64h-44.3c-21.2 0-38.4 17.2-38.4 38.4s17.2 38.4 38.4 38.4h44.3c77.6 0 140.8-63.2 140.8-140.8V179.2c0-77.6-63.2-140.8-140.8-140.8H140.8C63.2 38.4 0 101.6 0 179.2v354.7c0 77.6 63.2 140.8 140.8 140.8h72.5c21.2 0 38.4-17.2 38.4-38.4s-17.2-38.4-38.4-38.4z","p-id":"3351"}),(0,t.jsx)("path",{d:"M883.2 349.3h-96c-21.2 0-38.4 17.2-38.4 38.4s17.2 38.4 38.4 38.4h96c35.3 0 64 28.7 64 64v354.7c0 35.3-28.7 64-64 64H465.5c-35.3 0-64-28.7-64-64V490.1c0-35.3 28.7-64 64-64h42.2c21.2 0 38.4-17.2 38.4-38.4s-17.2-38.4-38.4-38.4h-42.2c-77.6 0-140.8 63.2-140.8 140.8v354.7c0 77.6 63.2 140.8 140.8 140.8h417.7c77.6 0 140.8-63.2 140.8-140.8V490.1c0-77.7-63.2-140.8-140.8-140.8z","p-id":"3352"})]}),ke=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M768 938.666667H170.666667c-47.061333 0-85.333333-38.272-85.333334-85.333334V341.333333c0-47.018667 38.272-85.333333 85.333334-85.333333h426.666666v85.333333H170.666667v512h597.333333v-213.333333h85.333333v213.333333c0 47.061333-38.272 85.333333-85.333333 85.333334z","p-id":"18008"}),(0,t.jsx)("path",{d:"M471.168 759.936l-210.218667-210.176 75.434667-75.477333 131.114667 131.157333 389.034666-427.989333 78.933334 71.765333z","p-id":"18009"})]}),Re=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1","p-id":"2830",width:"32",height:"32",children:(0,t.jsx)("path",{d:"M911.860951 575.943755 895.962504 575.943755l0-127.987501L543.996875 447.956254l0-63.993751 95.290694 0c70.993067 0 128.687433-57.794356 128.687433-128.687433l0-126.487648c0-70.993067-57.794356-128.687433-128.687433-128.687433L384.71243 0.09999c-70.993067 0-128.687433 57.794356-128.687433 128.687433L256.024998 255.175081c0 70.993067 57.794356 128.687433 128.687433 128.687433L480.003125 383.862513l0 63.993751L128.037496 447.856264l0 127.987501-15.898447 0c-61.793965 0-112.089054 50.295088-112.089054 112.089054l0 223.778147c0 61.793965 50.295088 112.089054 112.089054 112.089054l95.790645 0c61.793965 0 112.089054-50.295088 112.089054-112.089054L320.018748 688.032809c0-61.793965-50.295088-112.089054-112.089054-112.089054L192.031247 575.943755l0-63.993751 287.971878 0 0 64.093741c-53.394786 2.799727-95.990626 47.095401-95.990626 101.190118l0 245.176057c0 55.894542 45.495557 101.390099 101.390099 101.390099l53.194805 0c55.894542 0 101.390099-45.495557 101.390099-101.390099L639.987501 677.333854c0-54.094717-42.59584-98.390392-95.990626-101.190118l0-64.093741 287.971878 0 0 63.993751-15.898447 0c-61.793965 0-112.089054 50.295088-112.089054 112.089054l0 223.778147c0 61.793965 50.295088 112.089054 112.089054 112.089054l95.790645 0c61.793965 0 112.089054-50.295088 112.089054-112.089054L1023.950005 688.032809C1023.950005 626.238844 973.654917 575.943755 911.860951 575.943755zM320.018748 255.175081l0-126.487648c0-35.696514 28.997168-64.693682 64.693682-64.693682l254.475149 0c35.696514 0 64.693682 28.997168 64.693682 64.693682L703.881262 255.175081c0 35.696514-28.997168 64.693682-64.693682 64.693682L384.71243 319.868763C349.015916 319.968753 320.018748 290.871595 320.018748 255.175081zM256.024998 688.032809l0 223.778147c0 26.4974
19612-21.597891 48.095303-48.095303 48.095303l-95.790645 0c-26.497412 0-48.095303-21.597891-48.095303-48.095303L64.043746 688.032809c0-26.497412 21.597891-48.095303 48.095303-48.095303l95.790645 0C234.427107 639.937506 256.024998 661.535397 256.024998 688.032809zM575.993751 677.333854l0 245.176057c0 20.597988-16.79836 37.396348-37.396348 37.396348l-53.194805 0c-20.597988 0-37.396348-16.79836-37.396348-37.396348L448.006249 677.333854c0-20.597988 16.79836-37.396348 37.396348-37.396348l53.194805 0C559.195391 639.937506 575.993751 656.635875 575.993751 677.333854zM959.956254 911.810956c0 26.497412-21.597891 48.095303-48.095303 48.095303l-95.790645 0c-26.497412 0-48.095303-21.597891-48.095303-48.095303L767.975002 688.032809c0-26.497412 21.597891-48.095303 48.095303-48.095303l95.790645 0c26.497412 0 48.095303 21.597891 48.095303 48.095303L959.956254 911.810956z","p-id":"2831"})}),$e=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M320 755.2c-12.8 0-19.2 0-25.6-6.4-12.8-6.4-25.6-19.2-25.6-32-6.4-12.8-6.4-19.2 0-32l38.4-128 441.6-441.6c32-32 83.2-32 115.2 0l38.4 38.4c32 32 32 83.2 0 115.2l-441.6 441.6-128 38.4c0 6.4-6.4 6.4-12.8 6.4z m32-172.8L320 697.6l115.2-32 428.8-428.8c12.8-12.8 12.8-25.6 0-38.4l-38.4-38.4c-12.8-12.8-25.6-12.8-38.4 0L352 582.4z","p-id":"18836"}),(0,t.jsx)("path",{d:"M825.6 960H198.4C128 960 64 896 64 825.6V198.4C64 128 128 64 198.4 64h422.4c19.2 0 25.6 12.8 25.6 25.6s-12.8 32-25.6 32H198.4c-44.8 0-76.8 32-76.8 76.8v627.2c0 44.8 32 76.8 76.8 76.8h627.2c44.8 0 76.8-32 76.8-76.8V403.2c0-19.2 12.8-25.6 25.6-25.6 19.2 0 25.6 12.8 25.6 25.6v422.4c6.4 70.4-57.6 134.4-128 134.4z","p-id":"18837"}),(0,t.jsx)("path",{d:"M704 185.6l38.4-38.4 121.6 121.6-38.4 38.4L704 185.6zM313.6 576l38.4-38.4 121.6 121.6-38.4 38.4L313.6 576z","p-id":"18838"})]}),Ve=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"14",viewBox:"0 0 15 14",children:(0,t.jsx)("path",{d:"M100,1148 L100,1146 L101,1146 L101,1148 L103,1148 L103,1149 L101,1149 L101,1151 L100,1151 L100,1149 L98,1149 L98,1148 L100,1148 Z M95,1140 C94.4477153,1140 94,1140.44772 94,1141 C94,1141.55228 94.4477153,1142 95,1142 L106,1142 C106.552285,1142 107,1141.55228 107,1141 C107,1140.44772 106.552285,1140 106,1140 L95,1140 Z M95,1139 L106,1139 C107.104569,1139 108,1139.89543 108,1141 C108,1142.10457 107.104569,1143 106,1143 L95,1143 C93.8954305,1143 93,1142.10457 93,1141 C93,1139.89543 93.8954305,1139 95,1139 Z M95,1145 C94.4477153,1145 94,1145.44772 94,1146 L94,1151 C94,1151.55228 94.4477153,1152 95,1152 L106,1152 C106.552285,1152 107,1151.55228 107,1151 L107,1146 C107,1145.44772 106.552285,1145 106,1145 L95,1145 Z M95,1144 L106,1144 C107.104569,1144 108,1144.89543 108,1146 L108,1151 C108,1152.10457 107.104569,1153 106,1153 L95,1153 C93.8954305,1153 93,1152.10457 93,1151 L93,1146 C93,1144.89543 93.8954305,1144 95,1144 Z",transform:"translate(-93 -1139)"})}),Ye=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M932.4 543.5H571.5c-19 0-34.5 15.6-34.5 34.5v361c0 19 15.6 34.5 34.5 34.5h360.9c19 0 34.5-15.6 34.5-34.5V578.1c0-19-15.5-34.6-34.5-34.6z m-99.6 328.8c9.9 0 18 8.1 18 18s-8.1 18-18 18H671.9c-9.9 0-18-8.1-18-18s8.1-18 18-18h63V647.7h-62.5c-9.9 0-18-8.1-18-18s8.1-18 18-18h160.9c9.9 0 18 8.1 18 18s-8.1 18-18 18H771v224.6h61.8z m0 0M453.4 61.4H92.5C73.5 61.4 58 77 58 95.9v360.9c0 19 15.6 34.5 34.5 34.5h360.9c19 0 34.5-15.6 34.5-34.5V95.9c0-19-15.5-34.5-34.5-34.5z m-99.6 328.8c9.9 0 18 8.1 18 18s-8.1 18-18 18H192.9c-9.9 0-18-8.1-18-18s8.1-18 18-18h63V165.6h-62.5c-9.9 0-18-8.1-18-18s8.1-18 18-18h160.9c9.9 0 18 8.1 18 18s-8.1 18-18 18H292v224.6h61.8z m0 0M937 84.4c4.3 0 8 3.7 8 8v370c0 4.3-3.7 8-8 8H567c-4.3 0-8-3.7-8-8v-370c0-4.3 3.7-8 8-8h370m0-22H567c-16.5 0-30 13.5-30 30v370c0 16.5 13.5 30 30 30h370c16.5 0 30-13.5 30-30v-370c0-16.5-13.5-30-30-30zM457 565.5c4.3 0 8 3.7 8 8v370c0 4.3-3.7 8-8 8H87c-4.3 0-8-3.7-8-8v-370c0-4.3 3.7-8 8-8h370m0-22H87c-16.5 0-30 13.5-30 30v370c0 16.5 13.5 30 30 30h370c16.5 0 30-13.5 30-30v-370c0-16.5-13.5-30-30-30z","p-id":"2122"})]}),_e=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"16",height:"16",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M935.6 541.3H567c-15.4 0-30.7 15.4-30.7 30.7v368.6c0 15.4 15.4 30.7 30.7 30.7h368.6c15.4 0 30.7-15.4 30.7-30.7V572c0-15.4-15.4-30.7-30.7-30.7z m-70.7 156.6L723.6 839.2c-6.1 6.1-15.4 6.1-21.5 0l-64.5-67.6c-6.1-6.1-6.1-15.4 0-21.5s15.4-6.1 21.5 0l55.3 55.3 129-132.1c6.1-6.1 15.4-6.1 21.5 0 6.1 6.2 6.1 18.5 0 24.6z m0 0M455.3 60H86.7C71.4 60 56 75.4 56 90.7v368.6c0 15.4 15.4 30.7 30.7 30.7h368.6c15.4 0 30.7-15.4 30.7-30.7V90.7c0-15.3-15.3-30.7-30.7-30.7z m-70.6 156.6L243.4 357.9c-6.1 6.1-15.4 6.1-21.5 0l-64.5-67.6c-6.1-6.1-6.1-15.4 0-21.5s15.4-6.1 21.5 0l55.3 55.3 129-132.1c6.1-6.1 15.4-6.1 21.5 0 6.1 6.2 6.1 18.5 0 24.6z m0 0M936.5 82c4.3 0 8 3.7 8 8v370c0 4.3-3.7 8-8 8h-370c-4.3 0-8-3.7-8-8V90c0-4.3 3.7-8 8-8h370m0-22h-370c-16.5 0-30 13.5-30 30v370c0 16.5 13.5 30 30 30h370c16.5 0 30-13.5 30-30V90c0-16.5-13.5-30-30-30zM456.5 563.1c4.3 0 8 3.7 8 8v370c0 4.3-3.7 8-8 8h-370c-4.3 0-8-3.7-8-8v-370c0-4.3 3.7-8 8-8h370m0-22h-370c-16.5 0-30 13.5-30 30v370c0 16.5 13.5 30 30 30h370c16.5 0 30-13.5 30-30v-370c0-16.5-13.5-30-30-30z","p-id":"3647"})]}),st=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M271.3 56.3C150.2 56.3 52 154.5 52 275.6c0 121.1 98.2 219.3 219.3 219.3 121.1 0 219.3-98.2 219.3-219.3 0-121.1-98.2-219.3-219.3-219.3z m0 416.7c-108.8 0-197.4-88.6-197.4-197.4 0-108.8 88.6-197.4 197.4-197.4 108.8 0 197.4 88.6 197.4 197.4 0 108.8-88.6 197.4-197.4 197.4z m0 0","p-id":"4294"}),(0,t.jsx)("path",{d:"M161.6 275.6c0 60.6 49.1 109.7 109.7 109.7S381 336.2 381 275.6s-49.1-109.7-109.7-109.7S161.6 215 161.6 275.6z m0 0","p-id":"4295"}),(0,t.jsx)("path",{d:"M751.3 536.8C630.2 536.8 532 635 532 756.1c0 121.1 98.2 219.3 219.3 219.3 121.1 0 219.3-98.2 219.3-219.3 0-121.1-98.2-219.3-219.3-219.3z m0 416.7c-108.8 0-197.4-88.6-197.4-197.4 0-108.8 88.6-197.4 197.4-197.4 108.8 0 197.4 88.6 197.4 197.4 0 108.9-88.6 197.4-197.4 197.4z m0 0","p-id":"4296"}),(0,t.jsx)("path",{d:"M641.6 756.1c0 60.6 49.1 109.7 109.7 109.7S861 816.7 861 756.1s-49.1-109.7-109.7-109.7c-60.6 0.1-109.7 49.2-109.7 109.7z m0 0","p-id":"4297"}),(0,t.jsx)("path",{d:"M270.8 536.8c-121.1 0-219.3 98.2-219.3 219.3 0 121.1 98.2 219.3 219.3 219.3 121.1 0 219.3-98.2 219.3-219.3 0-121.1-98.2-219.3-219.3-219.3z m0 416.7C162 953.5 73.4 865 73.4 756.1c0-108.8 88.6-197.4 197.4-197.4 108.8 0 197.4 88.6 197.4 197.4 0 108.9-88.6 197.4-197.4 197.4z m0 0","p-id":"4298"}),(0,t.jsx)("path",{d:"M751.3 56.3C630.2 56.3 532 154.5 532 275.6c0 121.1 98.2 219.3 219.3 219.3 121.1 0 219.3-98.2 219.3-219.3 0-121.1-98.2-219.3-219.3-219.3z m0 416.7c-108.8 0-197.4-88.6-197.4-197.4 0-108.8 88.6-197.4 197.4-197.4 108.8 0 197.4 88.6 197.4 197.4 0 108.8-88.6 197.4-197.4 197.4z m0 0","p-id":"4299"})]}),Lt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M768 938.666667H170.666667c-47.061333 0-85.333333-38.272-85.333334-85.333334V341.333333c0-47.018667 38.272-85.333333 85.333334-85.333333h426.666666v85.333333H170.666667v512h597.333333v-213.333333h85.333333v213.333333c0 47.061333-38.272 85.333333-85.333333 85.333334z","p-id":"18008"}),(0,t.jsx)("path",{d:"M471.168 759.936l-210.218667-210.176 75.434667-75.477333 131.114667 131.157333 389.034666-427.989333 78.933334 71.765333z","p-id":"18009"})]}),$t=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",children:(0,t.jsx)("path",{d:"M95,268 C94.4477153,268 94,268.447715 94,269 L94,272 C94,272.552285 94.4477153,273 95,273 L105,273 C105.552285,273 106,272.552285 106,272 L106,269 C106,268.447715 105.552285,268 105,268 L95,268 Z M95,267 L105,267 C106.104569,267 107,267.895431 107,269 L107,272 C107,273.104569 106.104569,274 105,274 L95,274 C93.8954305,274 93,273.104569 93,272 L93,269 C93,267.895431 93.8954305,267 95,267 Z M95,276 C94.4477153,276 94,276.447715 94,277 L94,280 C94,280.552285 94.4477153,281 95,281 L105,281 C105.552285,281 106,280.552285 106,280 L106,277 C106,276.447715 105.552285,276 105,276 L95,276 Z M95,275 L105,275 C106.104569,275 107,275.895431 107,277 L107,280 C107,281.104569 106.104569,282 105,282 L95,282 C93.8954305,282 93,281.104569 93,280 L93,277 C93,275.895431 93.8954305,275 95,275 Z M96,269 L97,269 L97,272 L96,272 L96,269 Z M96,277 L97,277 L97,280 L96,280 L96,277 Z",transform:"translate(-93 -267)"})}),g0=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",children:(0,t.jsx)("path",{d:"M66,1004.05001 L66,1001 L67,1001 L67,1004.05001 C68.1411202,1004.28164 69,1005.29052 69,1006.5 C69,1007.88071 67.8807119,1009 66.5,1009 C65.1192881,1009 64,1007.88071 64,1006.5 C64,1005.29052 64.8588798,1004.28164 66,1004.05001 Z M66.5,1013 C70.0898509,1013 73,1010.08985 73,1006.5 C73,1002.91015 70.0898509,1000 66.5,1000 C62.9101491,1000 60,1002.91015 60,1006.5 C60,1010.08985 62.9101491,1013 66.5,1013 Z M66.5,1014 C62.3578644,1014 59,1010.64214 59,1006.5 C59,1002.35786 62.3578644,999 66.5,999
196C70.6421356,999 74,1002.35786 74,1006.5 C74,1010.64214 70.6421356,1014 66.5,1014 Z M66.5,1008 C67.3284271,1008 68,1007.32843 68,1006.5 C68,1005.67157 67.3284271,1005 66.5,1005 C65.6715729,1005 65,1005.67157 65,1006.5 C65,1007.32843 65.6715729,1008 66.5,1008 Z",transform:"translate(-59 -999)"})}),_t=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M132.98 509.253h94.916v47.458h-94.917v-47.458z m142.375 0H417.73v47.458H275.355v-47.458z m189.834 0h94.916v47.458H465.19v-47.458z m142.376 0H749.94v47.458H607.565v-47.458z m189.833 0h94.916v47.458h-94.916v-47.458z m-0.579-379.458l0.579 331.999H227.896l-0.888-331.999 48.266-0.17 0.08 284.71H749.94l-0.193-284.54h47.073z m-569.725 758.61l0.802-284.237 568.923-0.071v284.82h-47.243l0.363-237.289H275.355l0.09 236.778h-48.351z","p-id":"1937"})}),M0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M770.844444 219.022222c18.773333 0 34.133333 15.36 34.133334 34.133334v685.511111c0 18.773333-15.36 34.133333-34.133334 34.133333h-685.511111c-18.773333 0-34.133333-15.36-34.133333-34.133333V253.155556c0-18.773333 15.36-34.133333 34.133333-34.133334h685.511111m0-51.2h-685.511111c-47.075556 0-85.333333 38.257778-85.333333 85.333334v685.511111c0 47.075556 38.257778 85.333333 85.333333 85.333333h685.511111c47.075556 0 85.333333-38.257778 85.333334-85.333333V253.155556c0-47.075556-38.257778-85.333333-85.333334-85.333334z","p-id":"7195"}),(0,t.jsx)("path",{d:"M938.951111 0H253.44c-47.075556 0-85.333333 38.257778-85.333333 85.333333v98.702223h51.2V85.333333c0-18.773333 15.36-34.133333 34.133333-34.133333h685.511111c18.773333 0 34.133333 15.36 34.133333 34.133333v685.511111c0 18.773333-15.36 34.133333-34.133333 34.133334h-97.422222v51.2H938.951111c47.075556 0 85.333333-38.257778 85.333333-85.333334V85.333333c0-47.075556-38.257778-85.333333-85.333333-85.333333z","p-id":"7196"}),(0,t.jsx)("path",{d:"M630.328889 385.706667v73.955555H219.306667v-73.955555h411.022222m22.755555-51.2H196.551111c-15.644444 0-28.444444 12.8-28.444444 28.444444v119.466667c0 15.644444 12.8 28.444444 28.444444 28.444444h456.533333c15.644444 0 28.444444-12.8 28.444445-28.444444v-119.466667c0-15.786667-12.8-28.444444-28.444445-28.444444zM256.284444 598.471111v201.955556h-36.977777v-201.955556h36.977777m22.755556-51.2h-82.488889c-15.644444 0-28.444444 12.8-28.444444 28.444445v247.466666c0 15.644444 12.8 28.444444 28.444444 28.444445h82.488889c15.644444 0 28.444444-12.8 28.444444-28.444445v-247.466666c0-15.786667-12.8-28.444444-28.444444-28.444445zM630.328889 598.471111v201.955556H428.373333v-201.955556h201.955556m22.755555-51.2H405.617778c-15.644444 0-28.444444 12.8-28.444445 28.444445v247.466666c0 15.644444 12.8 28.444444 28.444445 28.444445h247.466666c15.644444 0 28.444444-12.8 28.444445-28.444445v-247.466666c0-15.786667-12.8-28.444444-28.444445-28.444445z","p-id":"7197"})]}),It=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M512 298.666667c-119.466667 0-213.333333 93.866667-213.333333 213.333333s93.866667 213.333333 213.333333 213.333333 213.333333-93.866667 213.333333-213.333333-93.866667-213.333333-213.333333-213.333333z m0-213.333334C277.333333 85.333333 85.333333 277.333333 85.333333 512s192 426.666667 426.666667 426.666667 426.666667-192 426.666667-426.666667S746.666667 85.333333 512 85.333333z m0 768c-187.733333 0-341.333333-153.6-341.333333-341.333333s153.6-341.333333 341.333333-341.333333 341.333333 153.6 341.333333 341.333333-153.6 341.333333-341.333333 341.333333z","p-id":"5713"})]}),Pt=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M510.208 218.197333a72.96 72.96 0 0 0-72.789333 72.704v218.197334c0 40.021333 32.768 72.704 72.789333 72.704a72.96 72.96 0 0 0 72.704-72.704V290.901333a72.96 72.96 0 0 0-72.704-72.704z m0-218.197333A508.757333 508.757333 0 0 0 1.109333 509.098667a508.757333 508.757333 0 0 0 509.098667 509.098666A509.184 509.184 0 0 0 510.208 0z m0 945.493333A436.736 436.736 0 0 1 73.813333 509.098667 436.736 436.736 0 0 1 510.293333 72.704a436.736 436.736 0 0 1 436.309334 436.394667A436.736 436.736 0 0 1 510.293333 945.493333z m0-290.986666a72.96 72.96 0 0 0-72.789333 72.789333c0 39.936 32.768 72.704 72.789333 72.704a72.96 72.96 0 0 0 72.704-72.704 72.96 72.96 0 0 0-72.704-72.789333z","p-id":"4095"})}),de=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M702.44 111.98l-190.45 89.63-224.06-89.63L63.86 242.74v675.87L287.93 829l224.06 44.81L736.07 829l224.06 44.81V217.06L702.44 111.98z m168.08 672.2l-134.44-44.81L512 784.18l-224.06-44.81-134.44 44.81V291.23l134.44-89.62 201.66 94.26 201.65-94.26 179.26 44.81v537.76zM287.93 649.74h44.82V336.05h-44.82v313.69z m179.27 44.82h44.81v-313.7H467.2v313.7z m224.05-44.82h44.82V336.05h-44.82v313.69z"})}),oe=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M512.350024 63.968765c1.399317 0 2.698682 0.099951 4.097999 0.199903 14.293021 1.099463 27.386628 7.596291 36.78204 18.490971 9.395412 10.89468
19613.993167 24.787897 12.893705 39.080917l-0.099952 1.499268v1.499268c-0.999512 37.58165-15.692338 73.464129-41.179892 101.050659l-9.795217 10.594827-3.098487 9.895168-3.598243-9.795217-8.495852-9.295461c-25.587506-27.786432-40.080429-63.968765-40.680137-101.850269v-1.799121l-0.099951-1.799122c-0.199902-2.598731-0.199902-5.297413 0-7.896144 0.999512-13.593363 7.096535-26.287164 17.091655-35.482675 9.695266-9.295461 22.688921-14.392972 36.182332-14.392972M195.304832 184.609858c1.799122 0 3.698194 0.099951 5.497315 0.299854 13.793265 1.499268 26.187213 8.195998 34.882968 18.990727s12.693802 24.288141 11.294485 38.081406l-0.299854 2.798633-0.099951 2.798634c-0.699658 37.881503-15.192582 74.063836-40.780088 101.950219l-8.3959 9.095559-4.397853 11.594339c-0.199902 0.599707-0.399805 1.199414-0.599707 1.69917l-3.998048-12.194046-9.395412-10.195022c-25.587506-27.886384-40.080429-64.068716-40.780088-101.950219l-0.099951-2.798634-0.299854-2.798633c-0.199902-2.198926-0.299854-4.397853-0.299853-6.596779 0.299854-13.693314 5.797169-26.387116 15.592386-35.982431 9.795217-9.495364 22.58897-14.792777 36.182333-14.792777h5.997072m636.489214 0.999512c1.399317 0 2.698682 0.099951 4.097999 0.199903 14.293021 1.099463 27.386628 7.596291 36.78204 18.490971 9.395412 10.89468 13.993167 24.787897 12.893704 39.080918l-0.099951 1.799121v1.799122c-0.699658 37.881503-15.192582 74.063836-40.780088 101.950219l-9.695266 10.594827-3.098487 9.895168-4.19795-11.294485-8.495852-9.295461c-25.587506-27.786432-40.080429-63.968765-40.680136-101.850268v-1.799122l-0.099952-1.799121c-0.199902-2.598731-0.199902-5.297413 0-7.896145 0.999512-13.593363 7.096535-26.287164 17.091655-35.482674 9.795217-9.295461 22.688921-14.392972 36.282284-14.392973M511.850268 329.838946c1.599219 3.798145 3.298389 7.296437 5.097511 10.394924 13.193558 23.188677 32.084334 33.483651 39.580674 36.78204l2.698682 1.199415 2.798634 0.999512c24.587994 8.295949 47.276916 19.690386 63.668911 32.084333 15.692338 11.794241 19.890288 19.990239 20.789849 21.889312V516.347877c-34.683065-34.083358-82.159883-55.073109-134.434358-55.073109h-0.099951c-49.475842 0-96.053099 18.590922-131.835628 52.474378v-79.561152c1.399317-3.098487 6.896633-11.594339 21.089703-22.688921 15.692338-12.393948 36.78204-23.888336 59.37101-32.484139l1.199414-0.499756 1.199415-0.499756c20.8898-8.995608 38.881015-25.88736 48.876134-48.176476m319.543973 121.440703c1.799122 4.397853 3.698194 8.295949 5.697218 11.794241 13.193558 23.188677 32.084334 33.483651 39.580674 36.78204l2.698682 1.199414 2.798634 0.899561c24.488043 8.295949 46.377355 19.890288 61.469985 32.58409 12.393948 10.394924 16.292045 18.291069 16.791801 20.390044v211.596681c0 44.478282-34.083358 81.95998-62.6694 105.448511-22.688921 18.690874-50.575305 35.882479-82.659639 50.97511-10.294973 4.897609-21.089702 9.495364-32.084334 13.893216-9.295461-54.773255-51.974622-103.449488-119.841483-137.632796 25.787408-43.578721 40.080429-93.454368 41.079941-144.729332v-1.299365c0-35.782528-9.795217-69.266179-26.886871-97.952172l65.068228-37.181845c11.794241-6.796681 24.288141-12.593851 37.081894-17.291557l1.599219-0.599707 1.499268-0.699658c20.689898-8.795705 38.681113-25.787408 48.776183-48.176476m-637.888531 0.999512c2.398829 5.497316 5.397365 10.694778 8.795705 15.692337 11.994143 17.391508 28.586042 29.585554 46.477306 34.683065 12.194046 4.797657 24.088238 10.494876 35.382724 17.091655l62.369546 36.282284c-17.191606 29.185749-26.387116 62.569449-26.387116 97.252513v1.599219c1.199414 50.875159 15.592387 100.251049 41.279844 143.429966-57.172084 30.984871-107.647438 77.961933-118.042362 137.732748-11.494388-4.497804-22.688921-9.19551-33.483651-14.293021-32.384187-15.092631-60.370522-32.184285-83.259346-50.775208-28.586042-23.288629-62.6694-60.270571-62.6694-104.349048V555.328843c0.699658-2.398829 5.097511-10.594827 17.691362-21.089702 15.092631-12.593851 36.282284-23.788385 59.570913-31.484627l1.799121-0.599707 1.699171-0.699658c21.089702-8.3959 39.480722-25.287653 48.776183-49.175988M512.350024 0C451.279844 0 399.605076 47.176964 395.007321 109.146706c-0.399805 5.797169-0.399805 11.594339 0 17.391508 0.899561 53.47389 21.389556 104.648902 57.571888 144.029673 12.793753 34.583114-10.195022 46.677208-14.692825 48.676232-63.968765 24.288141-121.640605 69.166227-121.640606 113.344656v31.984383c-15.492435-8.995608-31.78448-16.69185-48.676232-23.088727-4.497804 0-27.486579-14.692826-14.692826-48.676232 36.182333-39.380771 56.672328-90.555783 57.571889-144.029673 6.69673-63.668912-39.380771-120.641093-103.049683-127.437774-4.097999-0.399805-8.096047-0.599707-12.194046-0.599708H189.407711c-62.769351 0-114.344168 50.1755-115.743485 113.244705-0.099951 4.897609 0.099951 9.895168 0.599708 14.792777 0.999512 53.47389 21.489507 104.648902 57.571888 144.029673 12.793753 39.080918-7.696242 47.976574-10.89468 49.27594-69.166227 23.088726-120.940947 68.466569-120.940947 112.644997v211.896535c0 113.944363 128.037482 211.
196196877 305.350903 256.074963v-63.968765c0-51.874671 63.968765-99.251537 128.037482-122.939971 4.497804-2.098975 8.096047-5.697218 10.195022-10.195021 2.898585-7.396388 2.898585-15.592387 0-23.088727-37.081894-40.97999-58.171596-93.854173-59.570913-149.127184 0-70.665495 57.272035-128.037482 127.937531-128.037481s128.037482 57.272035 128.037481 127.93753v0.099951c-0.999512 55.073109-21.689409 107.947291-58.271547 149.127184-6.996584 23.088726 0 32.684041 5.097511 34.583114 63.968765 21.089702 133.7347 63.968765 133.7347 122.939971v63.968765C895.962714 979.221864 1023.900244 881.269693 1023.900244 766.725622v-211.896535c0-45.477794-51.874671-89.656223-121.640605-113.344656 0 0-23.088726-10.195022-10.89468-49.275939 36.182333-39.380771 56.672328-90.555783 57.571888-144.029673 4.797657-64.868326-43.878575-121.340752-108.746901-126.138409-2.998536-0.199902-5.897121-0.299854-8.795705-0.299854-61.070181 0-112.744949 47.176964-117.342704 109.146706-0.399805 5.797169-0.399805 11.594339 0 17.391508 0.899561 53.47389 21.389556 104.648902 57.571889 144.029673 12.793753 34.583114-10.195022 46.677208-14.692826 48.676232-16.192094 5.897121-31.78448 13.193558-46.677208 21.789361v-30.685017c0-45.477794-57.571889-89.656223-128.037482-113.344656 0 0-23.088726-10.195022-10.89468-49.275939 36.082382-38.980966 56.772279-89.656223 58.271547-142.730308C634.690288 61.569937 586.014056 5.097511 521.14573 0.299854c-2.898585-0.199902-5.897121-0.299854-8.795706-0.299854z","p-id":"3107"})}),me=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M746.96 828.952h41.177c23.839 0 43.344-14.448 43.344-32.146 0-17.7-19.505-32.147-43.344-32.147H746.96c-23.839 0-43.344 14.448-43.344 32.147 0.361 17.698 19.505 32.146 43.344 32.146z m0-191.796h41.177c23.839 0 43.344-14.448 43.344-32.147 0-17.699-19.505-32.147-43.344-32.147H746.96c-23.839 0-43.344 14.448-43.344 32.147 0.361 17.699 19.505 32.147 43.344 32.147z m-255.729 0h41.538c23.84 0 43.344-14.448 43.344-32.147 0-17.699-19.505-32.147-43.344-32.147h-41.538c-23.84 0-43.344 14.448-43.344 32.147 0 17.699 19.505 32.147 43.344 32.147z m-255.729 0h41.177c23.839 0 43.344-14.448 43.344-32.147 0-17.699-19.505-32.147-43.344-32.147h-41.177c-23.84 0-43.344 14.448-43.344 32.147 0 17.699 19.144 32.147 43.344 32.147z m255.729 191.796h41.538c23.84 0 43.344-14.448 43.344-32.146 0-17.7-19.505-32.147-43.344-32.147h-41.538c-23.84 0-43.344 14.448-43.344 32.147 0 17.698 19.505 32.146 43.344 32.146z m-255.729 0h41.177c23.839 0 43.344-14.448 43.344-32.146 0-17.7-19.505-32.147-43.344-32.147h-41.177c-23.84 0-43.344 14.448-43.344 32.147 0 17.698 19.144 32.146 43.344 32.146z"}),(0,t.jsx)("path",{d:"M835.093 124.975h-64.655V31.424C770.438 14.087 756.351 0 739.014 0c-16.977 0-31.063 13.726-31.425 31.063v94.273H318.94V31.424C318.939 14.087 304.852 0 287.515 0c-16.977 0-31.064 13.726-31.064 31.063v94.273h-67.905C84.521 124.975 0 197.937 0 335.554v494.843c0 98.969 75.13 180.6 170.486 189.63l664.607 0.722c104.025 0 188.546-85.243 188.546-190.352V315.688c0-105.109-84.52-190.713-188.546-190.713zM959.707 849.18c0 59.597-51.652 107.637-114.862 107.637h-665.69c-63.571 0-114.862-48.4-114.862-107.637V444.998h895.775l-0.361 404.182z m0-552.274v84.16H64.293v-84.16c0-52.735 46.234-107.638 127.865-107.638h64.293v96.08c0.362 16.615 14.448 30.34 31.425 30.34 17.337 0 31.424-14.087 31.424-31.424v-94.996h388.65v96.08c0.362 16.615 14.449 30.34 31.425 30.34 17.338 0 31.424-14.087 31.424-31.424v-94.996h61.043c63.21 0 133.644 46.595 127.865 107.638z"})]}),pe=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M815.25 80.23h-606.9c-111.86 0-202.87 91-202.87 202.88v470C5.48 865 96.5 956 208.35 956h606.89c111.87 0 202.88-91 202.88-202.88v-470c0.01-111.89-91-202.89-202.87-202.89zM706.43 449.74l213.14-229.11c11.03 18.34 17.76 39.56 17.76 62.49v379.13l-230.9-212.51z m108.82-288.71c14.84 0 28.89 3.05 42.06 7.92L511.79 540.34 166.3 168.95c13.17-4.87 27.22-7.92 42.05-7.92h606.9z m-711.21 59.6l213.13 229.11L86.28 662.25V283.12c0-22.92 6.73-44.15 17.76-62.49zM815.25 875.2h-606.9c-61.39 0-111.83-45.69-120.33-104.78l284.16-261.54 139.6 150.07L651.4 508.88l284.18 261.54c-8.5 59.09-58.95 104.78-120.33 104.78z"})}),Me=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M724.350707 63.353535H297.787475C253.310707 63.353535 217.212121 99.555556 217.212121 143.928889v736.245656c0 44.476768 36.20202 80.575354 80.575354 80.575354h426.563232c44.476768 0 80.575354-36.20202 80.575354-80.575354V143.928889c0-44.476768-36.098586-80.575354-80.575354-80.575354zM297.787475 104.727273h426.563232c21.617778 0 39.201616 17.583838 39.201616 39.201616V179.717172H258.585859v-35.788283C258.585859 122.311111 276.169697 104.727273 297.787475 104.727273zM258.585859 221.090909h505.069899v527.72202H258.585859V221.090909z m465.764848 698.285253H297.787475c-21.617778 0-39.201616-17.583838-39.201616-39.201617v-89.987878h505.069899v89.987878c-0.103434 21.617778
196-17.687273 39.201616-39.305051 39.201617z m0 0"}),(0,t.jsx)("path",{d:"M435.975758 149.721212h150.083232c8.274747 0 14.99798-6.723232 14.99798-14.99798 0-8.274747-6.723232-14.99798-14.99798-14.997979H435.975758c-8.274747 0-14.99798 6.723232-14.99798 14.997979 0 8.274747 6.723232 14.99798 14.99798 14.99798z m0 0M457.490101 855.660606c0 19.135354 10.214141 36.822626 26.789495 46.403232 16.575354 9.567677 37.003636 9.567677 53.57899 0a53.575111 53.575111 0 0 0 26.789495-46.403232c0-29.595152-23.983838-53.57899-53.57899-53.57899-29.595152 0-53.57899 23.983838-53.57899 53.57899z m0 0"})]}),vt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M512 64c-256 0-460.8 208-460.8 460.8s208 460.8 460.8 460.8 460.8-208 460.8-460.8S768 64 512 64zM512 940.8c-227.2 0-412.8-185.6-412.8-412.8s185.6-412.8 412.8-412.8 412.8 185.6 412.8 412.8S742.4 940.8 512 940.8z"}),(0,t.jsx)("path",{d:"M809.6 544l-278.4 0 0-281.6c0-12.8-9.6-22.4-22.4-22.4-12.8 0-22.4 9.6-22.4 22.4l0 307.2c0 12.8 9.6 22.4 22.4 22.4 0 0 3.2 0 3.2 0l297.6 0c12.8 0 22.4-9.6 22.4-22.4C832 553.6 822.4 544 809.6 544z"})]}),Rt=(0,t.jsxs)("svg",{viewBox:"0 0 1031 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M857.6 928 166.4 928c-89.6 0-166.4-70.4-166.4-166.4L0 262.4c0-89.6 70.4-166.4 166.4-166.4l697.6 0c89.6 0 166.4 70.4 166.4 166.4l0 505.6C1024 857.6 953.6 928 857.6 928zM166.4 160C108.8 160 64 204.8 64 262.4l0 505.6c0 57.6 44.8 102.4 102.4 102.4l697.6 0c57.6 0 102.4-44.8 102.4-102.4L966.4 262.4c0-57.6-44.8-102.4-102.4-102.4L166.4 160z"}),(0,t.jsx)("path",{d:"M364.8 576c-76.8 0-140.8-64-140.8-140.8 0-76.8 64-140.8 140.8-140.8s140.8 64 140.8 140.8C505.6 518.4 441.6 576 364.8 576zM364.8 358.4C320 358.4 281.6 396.8 281.6 435.2S320 512 364.8 512c44.8 0 76.8-32 76.8-76.8S403.2 358.4 364.8 358.4z"}),(0,t.jsx)("path",{d:"M576 742.4c-12.8 0-25.6-12.8-32-25.6C518.4 595.2 422.4 576 364.8 576S211.2 595.2 192 716.8c-6.4 19.2-19.2 25.6-38.4 25.6C134.4 736 121.6 723.2 128 704c25.6-115.2 115.2-192 236.8-192s217.6 70.4 236.8 192c6.4 19.2-6.4 32-25.6 38.4C576 742.4 576 742.4 576 742.4z"}),(0,t.jsx)("path",{d:"M864 448l-192 0C652.8 448 640 435.2 640 416S652.8 384 672 384l192 0C883.2 384 896 396.8 896 416S883.2 448 864 448z"}),(0,t.jsx)("path",{d:"M736 601.6l-64 0c-19.2 0-32-12.8-32-32s12.8-32 32-32l64 0c19.2 0 32 12.8 32 32S755.2 601.6 736 601.6z"})]}),Yt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M511.201248 3.794072c280.26209 0 507.407176 227.145086 507.407176 507.407176 0 80.574103-18.770671 158.452418-54.315132 228.74259-6.789392 13.379095-23.163807 18.770671-36.542902 11.981279-13.379095-6.789392-18.770671-23.163807-11.981279-36.542902 27.75663-54.814353 44.031201-114.720749 47.725429-177.023401h-89.859595c-14.976599 0-27.157566-12.180967-27.157566-27.157566S858.658346 484.043682 873.634945 484.043682h89.759751c-6.190328-104.636505-47.925117-199.687988-113.223089-273.372855l-63.50078 63.50078c-10.583463 10.583463-27.856474 10.583463-38.439938 0-10.583463-10.583463-10.583463-27.856474 0-38.439938l63.50078-63.50078C738.146646 106.833073 642.99532 65.098284 538.358814 59.0078v89.759751c0 14.976599-12.180967 27.157566-27.157566 27.157566s-27.157566-12.180967-27.157566-27.157566V59.0078C379.906396 65.198128 285.154446 106.533541 211.669267 171.432137l61.304212 61.304212c10.583463 10.583463 10.583463 27.856474 0 38.439938-10.583463 10.583463-27.856474 10.583463-38.439938 0l-61.404056-61.404056C107.232449 283.457098 65.198128 378.907956 59.0078 484.043682H148.767551c14.976599 0 27.157566 12.180967 27.157566 27.157566S163.74415 538.358814 148.767551 538.358814H59.0078c3.694228 62.702028 20.168487 123.107644 48.324493 178.221529 6.789392 13.379095 1.49766 29.75351-11.881435 36.542902-13.379095 6.789392-29.75351 1.49766-36.542902-11.881435C22.864275 670.552262 3.794072 592.174727 3.794072 511.201248 3.794072 230.939158 230.939158 3.794072 511.201248 3.794072z m0 1016.411856C230.939158 1020.205928 3.794072 793.060842 3.794072 512.798752c0-81.073323 19.070203-159.450858 55.01404-230.040562 6.789392-13.379095 23.1638
19607-18.670827 36.542902-11.881435 13.379095 6.789392 18.670827 23.163807 11.881435 36.542902C79.176287 362.533541 62.602184 422.939158 58.907956 485.641186h89.859595c14.976599 0 27.157566 12.180967 27.157566 27.157566S163.74415 539.956318 148.767551 539.956318H59.0078c6.190328 105.135725 48.224649 200.586583 114.121685 274.371295l61.404056-61.404056c10.583463-10.583463 27.856474-10.583463 38.439938 0 10.583463 10.583463 10.583463 27.856474 0 38.439938L211.669267 852.667707c73.485179 64.798752 168.237129 106.234009 272.374415 112.424337v-89.759751c0-14.976599 12.180967-27.157566 27.157566-27.157566s27.157566 12.180967 27.157566 27.157566v89.759751c104.636505-6.190328 199.687988-47.925117 273.372855-113.223089l-63.50078-63.50078c-10.583463-10.583463-10.583463-27.856474 0-38.439938 10.583463-10.583463 27.856474-10.583463 38.439938 0l63.50078 63.50078c65.297972-73.684867 107.032761-168.736349 113.223089-273.372855H873.634945c-14.976599 0-27.157566-12.180967-27.157566-27.157566s12.180967-27.157566 27.157566-27.157566h89.759751c-3.694228-62.202808-19.968799-122.209048-47.725429-177.023401-6.789392-13.379095-1.397816-29.75351 11.981279-36.542902 13.379095-6.789392 29.75351-1.397816 36.542902 11.981279 35.544462 70.290172 54.315133 148.168487 54.315132 228.74259 0.099844 280.162246-227.045242 507.307332-507.307332 507.307332z m172.530421-681.634945c10.583463 10.583463 10.583463 27.856474 0 38.439937l-76.879875 76.879876c-0.399376 0.399376-0.898596 0.898596-1.397816 1.297972 9.185647 15.975039 14.377535 34.446178 14.377535 54.115444 0 60.00624-48.723869 108.730109-108.730109 108.730109-60.00624 0-108.730109-48.723869-108.730109-108.730109 0-60.00624 48.723869-108.730109 108.730109-108.730109 20.667707 0 39.937598 5.790952 56.411857 15.775351l0.898595-0.898596 76.879876-76.879875c10.683307-10.583463 27.856474-10.583463 38.439937 0zM511.201248 454.98908c-30.053042 0-54.315133 24.361934-54.315133 54.414976s24.361934 54.315133 54.315133 54.315133c30.053042 0 54.414977-24.361934 54.414977-54.315133-0.099844-30.053042-24.361934-54.414977-54.414977-54.414976z m0 0"}),(0,t.jsx)("path",{d:"M511.201248 1024c-281.859594 0-511.201248-229.341654-511.201248-511.201248v-0.798752-0.798752C0 229.341654 229.341654 0 511.201248 0s511.201248 229.341654 511.201248 511.201248v1.597504c0 281.859594-229.341654 511.201248-511.201248 511.201248zM71.188768 757.516381c86.165367 154.25897 251.107644 258.795632 440.01248 258.795631 189.5039 0 354.845554-105.135725 440.711389-260.193447-8.087363 3.394696-17.572543 3.294852-25.959439-0.898596-7.388456-3.694228-12.879875-10.084243-15.475819-17.971919-0.199688-0.599064-0.399376-1.198128-0.49922-1.697348-15.975039 28.655226-35.045242 55.613105-57.01092 80.374415l-2.695788 2.99532-66.396256-66.396256c-8.786271-8.786271-24.26209-8.786271-33.048362 0-4.393136 4.393136-6.889236 10.283931-6.889235 16.474259 0 6.190328 2.396256 12.081123 6.889235 16.574103l66.396256 66.396256-2.99532 2.695788c-76.180967 67.594384-174.127925 108.131045-275.669267 114.221528l-3.993759 0.199688v-93.853354c0-12.879875-10.483619-23.363495-23.363495-23.363494-12.879875 0-23.363495 10.483619-23.363494 23.363494v93.853354l-3.99376-0.199688c-101.042122-5.99064-198.589704-46.227769-274.670827-113.322932l-2.99532-2.695788 64.199688-64.199688c4.393136-4.393136 6.789392-10.283931 6.889236-16.474259 0-6.190328-2.396256-12.081123-6.889236-16.574103-9.085803-9.085803-23.962559-9.085803-33.048362 0l-64.299532 64.299532-2.695788-2.99532c-21.965679-24.661466-41.135725-51.519501-57.210608-80.074883-0.199688 0.599064-0.299532 1.198128-0.49922 1.797192-2.595944 7.887676-8.087363 14.277691-15.375975 17.971919-7.388456 3.794072-15.775351 4.49298-23.663027 1.897036-0.898596-0.399376-1.597504-0.698908-2.396255-0.99844zM217.160686 852.468019C290.546022 915.968799 383.600624 954.408736 480.24961 960.99844v-85.765991c0-17.073323 13.878315-31.051482 31.051482-31.051482 17.073323 0 30.951638 13.878315 30.951638 31.051482v85.765991c97.048362-6.689548 190.50234-45.329173 263.98752-109.329173l-60.705149-60.705148c-5.890796-5.890796-9.085803-13.678627-9.085803-21.965679s3.195008-16.074883 9.085803-21.865835c11.681747-11.681747 32.049922-11.781591 43.831514 0l60.705148 60.705149c23.563183-27.057722 43.731669-56.911076 60.106084-88.661467 0.49922-1.897036 1.297972-3.794072 2.196568-5.49142 26.858034-53.216849 42.633385-110.327613 46.926677-169.834633H873.634945c-17.073323 0-30.951638-13.878315-30.951638-30.951638v-0.798752-0.798752c0-17.073323 13.878315-30.951638 30.951638-30.951638h85.666147c-4.293292-59.50702-20.068643-116.717629-46.926677-169.834633-0.898596-1.797192-1.597504-3.694228-2.196568-5.49142a446.492356 446.492356 0 0 0-60.106084-88.561623l-60.705148 60.705149c-11.681747 11.681747-32.149766 11.681747-43.831514 0-5.890796-5.890796-9.085803-13.578783-9.085803-21.865835 0-8.287051 3.195008-16.074883 9.085803-21.865835l60.70
1965149-60.705148C732.655226 108.330733 639.201248 69.691108 542.152886 63.00156v85.765991c0 17.073323-13.878315 30.951638-30.951638 30.951638s-31.051482-13.878315-31.051482-30.951638V63.00156c-96.549142 6.589704-189.703588 45.029641-262.98908 108.530421l58.408737 58.408737c5.890796 5.890796 9.085803 13.578783 9.085803 21.865834 0 8.287051-3.195008 16.074883-9.085803 21.865835-12.081123 12.081123-31.75039 12.081123-43.831513 0l-58.508581-58.50858c-23.663027 27.057722-43.931357 56.711388-60.405616 88.361934-0.49922 1.897036-1.297972 3.794072-2.196568 5.591264C83.469579 362.633385 67.49454 420.143526 63.101404 480.149766H148.767551c17.073323 0 30.951638 13.878315 30.951638 30.951638v1.597504c0 17.073323-13.878315 30.951638-30.951638 30.951638H63.101404c4.293292 60.00624 20.268331 117.516381 47.525741 171.032761 0.898596 1.797192 1.697348 3.694228 2.196568 5.591264 16.474259 31.650546 36.74259 61.304212 60.405616 88.361934l58.508581-58.608424c12.081123-12.081123 31.75039-12.081123 43.831513 0 5.890796 5.890796 9.085803 13.678627 9.085803 21.965679s-3.195008 16.074883-9.085803 21.865834L217.160686 852.468019zM7.588144 512c0.099844 80.074883 18.471139 156.655226 54.614664 227.544462 2.795632 5.591264 7.687988 9.684867 13.578783 11.581903 5.99064 1.897036 12.280811 1.397816 17.872075-1.397816 5.591264-2.795632 9.684867-7.687988 11.581903-13.578783 1.397816-4.293292 1.49766-8.686427 0.399376-12.979719C76.380655 666.658346 58.907956 604.156006 55.113885 540.25585l-0.199688-3.99376h0.099844l-0.099844-1.597503h93.853354c12.580343 0 22.964119-10.084243 23.363494-22.564743-0.399376-12.480499-10.783151-22.564743-23.363494-22.564743H54.914197l0.099844-1.597503H54.914197l0.199688-3.99376c3.794072-64 21.266771-126.402496 50.620904-183.014041 1.098284-4.193448 0.898596-8.686427-0.399376-12.979719-1.897036-5.99064-6.090484-10.783151-11.581903-13.578783-11.482059-5.790952-25.560062-1.297972-31.450858 10.184087C26.159126 355.344774 7.787832 431.925117 7.588144 512z m909.678627 209.971919c-1.098284 4.193448-0.898596 8.686427 0.49922 12.979719 1.99688 5.890796 6.090484 10.783151 11.681747 13.578783 11.482059 5.790952 25.560062 1.198128 31.450858-10.283931 35.644306-70.589704 53.815913-146.670827 53.915757-226.24649-0.099844-79.575663-18.271451-155.656786-53.915757-226.146646-5.790952-11.482059-19.868955-16.074883-31.450858-10.283931-5.591264 2.795632-9.684867 7.588144-11.681747 13.578783-1.397816 4.293292-1.597504 8.786271-0.49922 12.979719 28.954758 56.212168 46.227769 118.315133 49.921997 181.716069l0.199688 3.99376h-0.099844l0.099844 1.597503h-93.853355c-12.580343 0-22.964119 10.084243-23.363494 22.564743 0.399376 12.480499 10.783151 22.564743 23.363494 22.564743h93.853355l-0.099844 1.597503h0.099844l-0.199688 3.99376c-3.694228 63.50078-20.967239 125.603744-49.921997 181.815913z m-66.895476-516.892356l2.695788 2.99532c21.865835 24.661466 41.035881 51.719189 57.01092 80.374415 0.199688-0.599064 0.299532-1.198128 0.49922-1.697348 2.595944-7.887676 8.087363-14.277691 15.475819-17.971919 8.386895-4.293292 17.872075-4.293292 25.959438-0.898596C866.046802 112.723869 700.705148 7.588144 511.201248 7.588144c-188.904836 0-353.847114 104.536661-440.01248 258.895475 0.798752-0.299532 1.49766-0.599064 2.296411-0.798752 7.887676-2.4961 16.274571-1.897036 23.663027 1.897036 7.388456 3.794072 12.879875 10.184087 15.375975 18.071763 0.199688 0.599064 0.399376 1.198128 0.49922 1.697348 16.074883-28.555382 35.145086-55.513261 57.210608-80.074883l2.695788-2.99532 64.299532 64.299532c9.085803 9.085803 23.962559 9.085803 33.048362 0 4.393136-4.393136 6.889236-10.283931 6.889236-16.574103s-2.396256-12.081123-6.889236-16.574103l-64.199688-64.199688 2.99532-2.695788c76.081123-67.095164 173.628705-107.332293 274.670827-113.322932l3.99376-0.199688v93.853354c0 12.879875 10.483619 23.363495 23.363494 23.363494 12.879875 0 23.363495-10.483619 23.363495-23.363494v-93.853354l3.993759 0.199688c101.541342 5.99064 199.388456 46.527301 275.669267 114.221528l2.99532 2.695788-66.196568 66.296412c-4.393136 4.393136-6.889236 10.283931-6.889236 16.574103 0 6.2901
19672 2.396256 12.081123 6.889236 16.574103 8.786271 8.786271 24.26209 8.786271 33.048362 0l66.396256-66.4961zM511.201248 621.928237c-62.00312 0-112.524181-50.521061-112.524181-112.524181S449.098284 396.879875 511.201248 396.879875c19.569423 0 38.839314 5.092044 55.712949 14.776911l75.681747-75.681747c11.681747-11.681747 32.149766-11.681747 43.831513 0 5.890796 5.890796 9.085803 13.578783 9.085804 21.865835 0 8.287051-3.195008 16.074883-9.085804 21.865834l-76.180967 76.180968c8.786271 16.274571 13.478939 34.74571 13.478939 53.416536 0 62.102964-50.521061 112.624025-112.524181 112.624025z m0-217.460218c-57.809672 0-104.936037 47.026521-104.936037 104.936037 0 57.809672 47.026521 104.936037 104.936037 104.936038s104.936037-47.026521 104.936037-104.936038c0-18.371295-4.792512-36.443058-13.878315-52.218409l-1.597504-2.695787 2.396256-2.096724c0.399376-0.399376 0.798752-0.698908 1.198128-1.098284l76.879875-76.879875c4.393136-4.393136 6.889236-10.283931 6.889236-16.574103s-2.396256-12.081123-6.889236-16.574103c-8.786271-8.786271-24.26209-8.786271-33.048362 0l-79.775351 79.975039-2.695787-1.597504c-16.374415-9.884555-35.145086-15.176287-54.414977-15.176287z m0 163.045242c-32.049922 0-58.209048-26.059282-58.209048-58.209049 0-32.049922 26.059282-58.209048 58.209048-58.209048 32.049922 0 58.209048 26.059282 58.209048 58.209048 0 32.149766-26.159126 58.209048-58.209048 58.209049z m0-108.73011c-27.856474 0-50.521061 22.664587-50.521061 50.521061 0 27.856474 22.664587 50.521061 50.521061 50.521061 27.856474 0 50.521061-22.664587 50.521061-50.521061 0-27.856474-22.664587-50.521061-50.521061-50.521061z"})]}),Qt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M838.656 95.744H185.344c-47.616 0-89.088 41.472-89.088 89.088v653.312c0 47.616 41.472 89.088 89.088 89.088h653.312c47.616 0 89.088-41.472 89.088-89.088V184.832c0-47.616-41.472-89.088-89.088-89.088z m29.696 742.4c0 17.92-11.776 29.696-29.696 29.696H185.344c-17.92 0-29.696-11.776-29.696-29.696V184.832c0-17.92 11.776-29.696 29.696-29.696h653.312c17.92 0 29.696 11.776 29.696 29.696v653.312z"}),(0,t.jsx)("path",{d:"M761.344 582.144c-13.312-13.312-34.304-13.312-47.616 0l-43.008 43.008-45.056-45.056c-13.312-13.312-34.304-13.312-47.616 0-13.312 13.312-13.312 34.304 0 47.616l45.056 45.056-43.008 43.008c-13.312 13.312-13.312 34.304 0 47.616s34.304 13.312 47.616 0l43.008-43.008 40.96 40.96c13.312 13.312 34.304 13.312 47.616 0s13.312-34.304 0-47.616l-40.96-40.96 43.008-43.008c12.8-13.312 12.8-34.816 0-47.616zM546.304 293.888L376.832 463.872c-13.312 13.312-34.304 13.312-47.616 0-13.312-13.312-13.312-34.304 0-47.616l169.472-169.472c13.312-13.312 34.304-13.312 47.616 0 13.312 12.8 13.312 34.304 0 47.104z"}),(0,t.jsx)("path",{d:"M329.728 464.384L239.616 374.784c-12.8-12.8-12.8-33.28 0-46.08l1.536-1.536c12.8-12.8 33.28-12.8 46.08 0l90.112 90.112c12.8 12.8 12.8 33.28 0 46.08l-1.536 1.536a32.9216 32.9216 0 0 1-46.08-0.512zM745.472 325.12l-419.84 419.84c-13.312 13.312-34.304 13.312-47.616 0-13.312-13.312-13.312-34.304 0-47.616l419.84-419.84c13.312-13.312 34.304-13.312 47.616 0 13.312 13.312 13.312 34.816 0 47.616z"})]}),wt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M512 1024C229.2224 1024 0 794.7776 0 512S229.2224 0 512 0s512 229.2224 512 512-229.2224 512-512 512z m0-998.4C243.3792 25.6 25.6 243.3792 25.6 512s217.7792 486.4 486.4 486.4 486.4-217.7792 486.4-486.4S780.6208 25.6 512 25.6z"}),(0,t.jsx)("path",{d:"M512 1024C229.2224 1024 0 794.7776 0 512S229.2224 0 512 0s512 229.2224 512 512-229.2224 512-512 512z m0-998.4C243.3792 25.6 25.6 243.3792 25.6 512s217.7792 486.4 486.4 486.4 486.4-217.7792 486.4-486.4S780.6208 25.6 512 25.6z"}),(0,t.jsx)("path",{d:"M596.4032 521.984a158.1056 158.1056 0 0 0 73.1136-133.504C669.5168 301.184 598.9888 230.4 512 230.4c-87.0144 0-157.5424 70.784-157.5424 158.08a158.1056 158.1056 0 0 0 73.1136 133.504C327.7568 558.4128 256 657.536 256 773.8368a19.712 19.712 0 1 0 39.3728 0c0-125.2864 97.1776-227.2512 216.6272-227.2512 119.424 0 216.6016 101.9648 216.6016 227.2512a19.712 19.712 0 1 0 39.3728 0c0-116.3008-71.7568-215.424-171.5712-251.8528zM512 507.0592a118.3744 118.3744 0 0 1-118.1696-118.5536c0-65.4848 52.9152-118.5792 118.1696-118.5792 65.2288 0 118.144 53.0944 118.144 118.5792S577.2288 507.0592 512 507.0592z"})]}),Y0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M512 1003.52a497.92 497.92 0 1 1 497.92-497.92A498.56 498.56 0 0 1 512 1003.52zM512 71.68a433.92 433.92 0 1 0 433.92 433.92A434.56 434.56 0 0 0 512 71.68z"}),(0,t.jsx)("path",{d:"M152.96 369.92a33.92 33.92 0 0 1 35.2-36.48 39.04 39.04 0 0 1 29.44 16l148.48 198.4V369.92a35.2 35.2 0 1 1 69.76 0V640a30.72 30.72 0 0 1-34.56 33.28 36.48 36.48 0 0 1-29.44-12.8l-147.2-198.4V640a30.72 30.72 0 0 1-34.56 33.28 31.36 31.36 0 0 1-37.12-33.28zM463.36 504.32a162.56 162.56 0 1 1 323.84 0 158.08 158.08 0 0 1-161.92 168.96 159.36 159.36 0 0 1-161.92-168.96z m252.16 0c-3.84-69.12-33.92-104.96-90.24-108.8s-84.48 39.68-88.32 108.8 33.28 104.32 88.32 108.16 86.4-36.48 90.24-108.16zM856.96 603.52A37.12 37.12 0 0 1 896 640c0 21.12-13.44 32-36.48 33.28s-35.84-12.16-37.12-33.28a37.76 37.76 0 0 1 34.56-36.48z"})]}),t0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M535.2448 455.80288h272.91648v40.96H535.2448zM535.2448 563.24096h272.91648v40.96H535.2448zM535.2448 667.15648h272.91648v40.96H535.2448zM273.408 190.68928h40.96v182.39488h-4
1960.96zM707.80928 190.68928h40.96v182.39488h-40.96z"}),(0,t.jsx)("path",{d:"M892.0064 824.50432H128.6144V272.60928h763.392v551.89504z m-722.432-40.96h681.472V313.56928H169.5744v469.97504z"}),(0,t.jsx)("path",{d:"M352.27648 622.87872c-55.07072 0-99.88096-44.81024-99.88096-99.88096s44.81024-99.88096 99.88096-99.88096 99.90144 44.81024 99.90144 99.88096-44.83072 99.88096-99.90144 99.88096z m0-158.80192a58.9824 58.9824 0 0 0-58.92096 58.92096 58.9824 58.9824 0 0 0 58.92096 58.92096 59.00288 59.00288 0 0 0 58.94144-58.92096 59.00288 59.00288 0 0 0-58.94144-58.92096zM227.59424 737.15712l-25.12896-32.31744a243.5072 243.5072 0 0 1 150.69184-51.6096c54.21056 0 105.65632 17.32608 148.76672 50.0736l-24.80128 32.60416a203.1616 203.1616 0 0 0-123.96544-41.71776 202.8544 202.8544 0 0 0-125.56288 42.96704z"})]}),Mt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M297.6 387.9c-65.6 0-119-52-119-115.9s53.4-115.9 119-115.9 119 52 119 115.9-53.4 115.9-119 115.9z m0-191.8c-43.6 0-79 34-79 75.9 0 41.8 35.5 75.9 79 75.9s79-34 79-75.9c0-41.8-35.5-75.9-79-75.9z"}),(0,t.jsx)("path",{d:"M485.5 568.3h-40V489c0-53.7-43.7-97.4-97.4-97.4H246.9c-53.7 0-97.4 43.7-97.4 97.4v79.3h-40V489c0-75.7 61.6-137.4 137.4-137.4h101.3c75.7 0 137.4 61.6 137.4 137.4v79.3zM740.8 387.9c-65.6 0-119-52-119-115.9s53.4-115.9 119-115.9 119 52 119 115.9-53.4 115.9-119 115.9z m0-191.8c-43.6 0-79 34-79 75.9 0 41.8 35.5 75.9 79 75.9s79-34 79-75.9c0-41.8-35.5-75.9-79-75.9z"}),(0,t.jsx)("path",{d:"M928.8 568.3h-40V489c0-53.7-43.7-97.4-97.4-97.4H690.1c-53.7 0-97.4 43.7-97.4 97.4v79.3h-40V489c0-75.7 61.6-137.4 137.4-137.4h101.3c75.7 0 137.4 61.6 137.4 137.4v79.3z"}),(0,t.jsx)("path",{d:"M996.5 722.1H33.6c-11 0-20-9-20-20V584.5c0-11 9-20 20-20h962.9c11 0 20 9 20 20v117.7c0 11-9 19.9-20 19.9z m-942.9-40h922.9v-77.7H53.6v77.7z"}),(0,t.jsx)("path",{d:"M125.4 926.3c-11 0-20-9-20-20V720.1c0-11 9-20 20-20s20 9 20 20v186.2c0 11.1-8.9 20-20 20zM904.6 926.3c-11 0-20-9-20-20V702.1c0-11 9-20 20-20s20 9 20 20v204.2c0 11.1-9 20-20 20z"})]}),K0=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M192 384H64V64h320v320H256v256h128v128h384V512h-128V192h320v320h-128v320H384v128H64v-320h128V384z m128 320H128v192h192v-192z m576-448h-192v192h192V256zM320 128H128v192h192V128z"})}),m0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M320 554.666667a234.666667 234.666667 0 1 1 0-469.333334 234.666667 234.666667 0 0 1 0 469.333334z m0-42.666667a192 192 0 1 0 0-384 192 192 0 0 0 0 384zM704 938.666667a234.666667 234.666667 0 1 1 0-469.333334 234.666667 234.666667 0 0 1 0 469.333334z m0-42.666667a192 192 0 1 0 0-384 192 192 0 0 0 0 384z"}),(0,t.jsx)("path",{d:"M682.666667 170.666667h42.666666v341.333333h-42.666666z"}),(0,t.jsx)("path",{d:"M597.333333 256h213.333334v42.666667h-213.333334zM298.666667 512h42.666666v341.333333H298.666667z"}),(0,t.jsx)("path",{d:"M318.933333 823.893333l75.434667-75.392 30.165333 30.165334-105.6 105.6L213.333333 778.666667l30.165334-30.165334z"})]}),ft=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M230.4 947.2a76.8 76.8 0 0 1-76.8-76.8V153.6a76.8 76.8 0 0 1 76.8-76.8h358.4v153.6a115.2 115.2 0 0 0 115.2 115.2h166.4v524.8a76.8 76.8 0 0 1-76.8 76.8H230.4z m616.704-678.4H704a38.4 38.4 0 0 1-38.4-38.4V103.7952L847.104 268.8zM230.4 1024h563.2c84.8256 0 153.6-68.7744 153.6-153.6V312.6272a128 128 0 0 0-41.8944-94.72L702.208 33.2928A128 128 0 0 0 616.1152 0H230.4C145.5744 0 76.8 68.7744 76.8 153.6v716.8c0 84.8256 68.7744 153.6 153.6 153.6z m25.6-588.8a38.4 38.4 0 0 1 38.4-38.4h179.2a38.4 38.4 0 1 1 0 76.8H294.4a38.4 38.4 0 0 1-38.4-38.4z m38.4 192a38.4 38.4 0 1 0 0 76.8h307.2a38.4 38.4 0 1 0 0-76.8H294.4z"})}),Kt=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M265.728 88.086022v64.59458H152.680602v718.638796h113.047398V935.913978H152.680602C117.005763 935.913978 88.086022 906.994237 88.086022 871.319398V152.680602C88.086022 117.005763 117.005763 88.086022 152.680602 88.086022h113.047398z m605.591398 0C906.994237 88.086022 935.913978 117.005763 935.913978 152.680602v718.638796c0 35.674839-28.919742 64.594581-64.59458 64.59458h-113.047398v-64.59458h113.047398V152.680602h-113.047398V88.086022h113.047398z m-520.808602 371.431225a52.482753 52.4827
19653 0 1 1 0 104.965506 52.482753 52.482753 0 0 1 0-104.965506z m161.489204 0a52.482753 52.482753 0 1 1 0 104.965506 52.482753 52.482753 0 0 1 0-104.965506z m161.489204 0a52.482753 52.482753 0 1 1 0 104.965506 52.482753 52.482753 0 0 1 0-104.965506z"})}),Gt=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2075",width:"512",height:"512",children:(0,t.jsx)("path",{d:"M249.6 938.666667c-4.266667 0-8.533333-2.133333-12.8-4.266667-6.4-4.266667-10.666667-12.8-8.533333-21.333333L277.333333 633.6l-206.933333-202.666667c-6.4-6.4-8.533333-14.933333-6.4-21.333333 2.133333-8.533333 8.533333-12.8 17.066667-14.933333l285.866666-40.533334 125.866667-256c4.266667-8.533333 10.666667-12.8 19.2-12.8s14.933333 4.266667 19.2 12.8l128 256 283.733333 40.533334c8.533333 2.133333 14.933333 6.4 17.066667 14.933333 2.133333 8.533333 0 17.066667-6.4 21.333333L746.666667 633.6l49.066666 281.6c2.133333 8.533333-2.133333 17.066667-8.533333 21.333333-6.4 4.266667-14.933333 6.4-23.466667 2.133334L512 802.133333l-253.866667 134.4c-2.133333 2.133333-6.4 2.133333-8.533333 2.133334zM512 755.2c4.266667 0 6.4 0 10.666667 2.133333L746.666667 878.933333l-42.666667-249.6c-2.133333-6.4 2.133333-14.933333 6.4-19.2l183.466667-179.2L640 394.666667c-6.4 0-12.8-6.4-17.066667-10.666667L512 155.733333 401.066667 384c-2.133333 6.4-8.533333 10.666667-17.066667 10.666667L130.133333 430.933333l183.466667 179.2c4.266667 4.266667 6.4 12.8 6.4 19.2l-42.666667 249.6 224-119.466666c4.266667-2.133333 6.4-4.266667 10.666667-4.266667z","p-id":"2076"})}),gt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"32",height:"32",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{type:"text/css"})}),(0,t.jsx)("path",{d:"M315.9296 583.9872l199.48032 395.73504 198.12352-396.5696-397.60384 0.83456z m197.80608-529.46944l-198.15936 396.544 397.57824-0.8704-199.41888-395.6736z","p-id":"3248"})]}),Vt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3462",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M1022.999242 968.000111c-9.449981-7.569985-18.539963-15.28997-26.919947-14.209972-151.989699 2.749995-234.449535-48.389904-246.189512-144.549713-10.639979-87.559826 16.219968-144.509714 91.00982-225.719553 8.259984-1.079998 44.529912-50.4299 60.159881-61.439878l43.579913-59.229883c101.719798-138.159726 74.079853-294.469416-29.219942-378.33925-55.28989-37.049927-125.129752-54.329892-199.009605-35.469929l-47.029907-38.169925c-27.099946-14.089972-61.469878-18.369964-83.259835 11.249978L45.64118 726.16059c-7.269986 9.88998-21.789957 29.619941-19.649962 47.109907L0.551269 981.170085c-4.069992 36.099928 14.709971 51.339898 46.979907 38.129924l193.479616-79.379842c16.609967-2.239996 39.469922-23.139954 46.749908-32.939935L828.189628 202.901628c22.899955-20.809959 18.629963-55.869889-9.609981-78.719844l-28.159944-22.839955c33.299934-4.489991 60.38988 9.629981 88.629824 32.519936 75.149851 60.979879 90.099821 183.479636 18.549964 290.899423-14.469971 19.689961-30.08994 30.739939-44.609912 50.4299-15.579969 10.969978-51.889897 60.30988-60.189881 61.439878-80.94984 99.809802-115.049772 166.64967-102.269797 271.619462 16.059968 131.21974 117.219768 197.639608 303.659398 199.179605 8.299984-1.119998 16.649967-2.279995 23.839953-12.089976 7.319985-9.88998 6.039988-18.579963 4.96999-27.339946zM231.400811 861.210323c-7.239986 9.88998-14.509971 19.809961-22.819954 20.849958l-152.899697 65.009872L78.101115 784.030476c7.239986-9.88998 13.449973-28.499944 13.449974-28.499944L631.990017 51.491928l139.879723 105.63979L231.400811 861.210323z","p-id":"3463"}),(0,t.jsx)("path",{d:"M588.720103 92.001848L743.999795 209.221615 703.749875 264.001507 548.460183 146.741739zM165.000943 660.000722l140.99972 103.999793-42.999914 55.999889-137.999727-107.999785z","p-id":"3464"})]}),L0=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M853.333333 725.333333a42.666667 42.666667 0 0 1 0 85.333334H170.666667a42.666667 42.666667 0 0 1 0-85.333334h682.666666zM298.666667 469.333333a42.666667 42.666667 0 0 1 0 85.333334H170.666667a42.666667 42.666667 0 0 1 0-85.333334h128z m277.333333 0a42.666667 42.666667 0 0 1 0 85.333334h-128a42.666667 42.666667 0 0 1 0-85.333334h128z m277.333333 0a42.666667 42.666667 0 0 1 0 85.333334h-128a42.666667 42.666667 0 0 1 0-85.333334h128z m0-256a42.666667 42.666667 0 0 1 0 85.333334H170.666667a42.666667 42.666667 0 1 1 0-85.333334h682.666666z","p-id":"4620"})}),Zt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1","p-id":"2418",width:"32",height:"32",children:[(0,t.jsx)("path",{d:"M760.32 622.08a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",f
196ill:"","p-id":"2419"}),(0,t.jsx)("path",{d:"M768 153.6H256a128 128 0 0 0-128 128v512A128 128 0 0 0 256 921.6h512a128 128 0 0 0 128-128v-512A128 128 0 0 0 768 153.6z m76.8 640A76.8 76.8 0 0 1 768 870.4H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 204.8h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"2420"}),(0,t.jsx)("path",{d:"M307.2 398.848h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 567.296h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM512 685.056H307.2a25.6 25.6 0 0 0 0 51.2h204.8a25.6 25.6 0 0 0 0-51.2z",fill:"","p-id":"2421"})]}),Bn=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M662.63 545.37l-128-128a32 32 0 0 0-45.25 0l-128 128a32 32 0 1 0 45.25 45.25L480 517.25V872a32 32 0 0 0 64 0V517.25l73.37 73.37a32 32 0 1 0 45.25-45.25z","p-id":"1958"}),(0,t.jsx)("path",{d:"M752 760H640a32 32 0 0 1 0-64h112c79.4 0 144-64.6 144-144a144 144 0 0 0-132.45-143.54 32 32 0 0 1-29.24-28C720.6 268.46 625 184 512 184s-208.6 84.46-222.31 196.45a32 32 0 0 1-29.24 28A144 144 0 0 0 128 552c0 79.4 64.6 144 144 144h112a32 32 0 0 1 0 64H272c-114.69 0-208-93.31-208-208a208.08 208.08 0 0 1 166.23-203.79C258 216.5 375 120 512 120s254 96.5 281.77 228.21A208.08 208.08 0 0 1 960 552c0 114.69-93.31 208-208 208z","p-id":"1959"})]}),C0=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1","p-id":"1810",width:"32",height:"32",children:(0,t.jsx)("path",{d:"M703.400215 995.074204c-3.51915 0-7.078209-0.991584-10.240225-3.066849-30.28884-19.875676-80.136132-25.263383-97.079012-25.678846l-22.119787 0-35.287691 0.271176c-0.048095 0-0.095167 0-0.143263 0L92.740194 966.599685c-10.326183 0-18.696828-8.370645-18.696828-18.696828l0-22.467711c-0.318248-6.266727-0.910743-40.603767 21.004383-78.307484 13.716396-23.598464 33.431414-43.86095 58.598606-60.225663 30.493501-19.828604 69.116147-33.909297 114.796536-41.84913 0.233314-0.039909 0.466628-0.075725 0.700965-0.107447 0.346901-0.047072 35.499515-4.858658 71.208808-14.273075 61.894675-16.317641 67.307965-30.743188 67.345828-30.884404 0.364297-1.430582 0.89437-2.803859 1.572822-4.095271 0.50756-2.699482 1.76418-12.858866-0.63752-40.079834-6.100952-69.136613-42.120306-109.995183-71.061452-142.825916-9.127891-10.354835-17.749246-20.133549-24.387433-29.722952-28.640294-41.37227-31.296797-88.416725-31.396057-90.39887-0.01535-0.311085-0.022513-0.62217-0.022513-0.933255 0-18.779715 9.363252-27.418466 17.624403-35.041074l0.433882-0.401136c0.271176-0.25071 0.442068-0.436952 0.542352-0.556679 0.093121-1.340531-0.566912-4.743024-1.013073-7.04137-0.169869-0.873903-0.339738-1.750877-0.50142-2.632967-7.179516-38.981826-7.670703-99.19214-1.175779-137.837298 2.409886-50.813293 46.224788-89.711208 48.105624-91.356684 0.071631-0.062422 0.143263-0.12382 0.214894-0.185218 6.290263-5.338588 12.671601-11.169387 16.727986-17.636682 0.487094-0.775666 0.827855-1.37737 1.066285-1.836835-0.304945-0.786922-0.741897-1.793856-1.094938-2.608407-2.436492-5.618974-6.118348-14.109346-4.02364-25.02393 1.263783-6.589069 6.078439-18.362206 24.118304-23.173792 7.261381-1.937119 15.022135-2.333138 20.689205-2.62171l1.122567-0.058328c22.38994-1.178849 46.272883-2.176572 70.435189-0.324388 174.730557 13.396101 234.920404 78.686107 237.396805 81.459267 0.140193 0.155543 0.276293 0.314155 0.409322 0.474814 13.986549 16.756639 24.347524 37.635155 30.7964 62.055334 2.01489 7.619538 3.309372 14.016225 4.062526 20.072151 6.102998 35.464723 5.084808 71.904657 3.78214 96.269577-0.732687 13.675464-2.257413 28.030403-4.800329 45.175899-0.691755 4.656043 0.068562 5.564739 0.355087 5.906523 0.75827 0.906649 1.686409 1.892093 2.667759 2.934842 3.862981 4.099365 9.152451 9.713222 11.964496 18.721387 1.410116 4.502547 2.069125 9.360182 2.069125 15.267728 0 0.311085-0.008186 0.62217-0.022513 0.933255-0.099261 1.982144-2.755764 49.0266-31.395034 90.397846-6.639211 9.590426-15.259542 19.36914-24.387433 29.722952-28.942169 32.829709-64.960501 73.689303-71.061452 142.827963-2.4017 27.220968-1.14508 37.379329-0.63752 40.079834 0.678452 1.291412 1.208525 2.664689 1.572822 4.094248 0.036839 0.141216 5.471618 14.613836 67.648726 30.964222 35.7052 9.388834 70.557986 14.146185 70.90591 14.193257 0.303922 0.040932 0.606821 0.090051 0.908696 0.145309 46.095851 8.549723 84.956927 22.991644 115.505687 42.923602 25.252127 16.476253 44.930305 36.7019 58.489112 60.114123 21.50171 37.128619 20.626783 70.714552 20.195971 77.443813l0 22.332634c0 10.326183-8.370645 18.696828-18.696828 18.696828L775.884063 966.602755c-10.326183 0-18.696828-8.370645-18.696828-18.696828s8.370645-18.696828 18.696828-18.696828l158.188812 0L934.072875 924.897911c0-0.686638 0.00921-1.106194 0.081864-1.769296 0.104377-1.508353 1.627057-28.332279-16.349363-58.130955-10.82044-17.937534-26.589588-33.609469-46.870494-46.580898-26.100448-16.693194-59.762105-28.967752-100.05274-36.482913-4.63967-0.642636-39.012526-5.564739-75.080999-15.059997-70.761624-18.629289-87.964424-39.353286-93.189426-54.395888-4.004197-7.765871-6.245238-23.195282-2.984984-60.153008 7.18054-81.369216 49.41955-129.282458 80.260975-164.268274 8.747221-9.921977 16.301268-18.491143 21.693068-26.279526 21.120017-30.510898 24.437575-66.300009 24.765033-70.606081-0.032746-2.252297-0.260943-3.223415-0.36225-3.549849-0.248663-0.798179-1.89721-2.547009-3.490497-4.238534-1.25048-1.327228-2.667759-2.832512-4.136204-4.587482-7.950066-9.504468-10.782577-21.079084-8.66024-35.384905 2.367931-15.960507 3.781116-29.206182 4.449335-41.684378 1.951445-36.502355 0.913812-63.747883-3.363607-88.341001-0.057305-0.326435-0.105401-0.654916-0.145309-0.983397-0.531096-4.438079-1.530866-9.354042-3.14769-15.46932-4.986571-18.884093-12.726859-34.770921-23.006993-47.232744-1.714038-1.747807-15.385409-15.125489-45.883003-29.67588-54.882981-26.183336-120.791064-35.849486-166.417217-39.34817-21.934568-1.681292-44.442188-0.732687-65.614393 0.382717l-1.178849 0.060375c-1.766226 0.090051-4.735861 0.2415-7.55814 0.525979 2.447748 5.841032 5.453199 14.63225
1965 2.296299 25.136493-1.184989 3.939729-3.003404 7.792477-5.723352 12.129248-6.732331 10.733459-15.923668 19.23611-24.054859 26.145473-1.597381 1.441838-34.223452 31.356149-35.351136 65.738213-0.028653 0.86981-0.11768 1.736551-0.267083 2.594081-5.972015 34.304294-5.568832 90.780563 0.898463 125.894292 0.140193 0.765433 0.288572 1.52575 0.435928 2.282996 1.980097 10.205433 5.294586 27.284413-10.879792 42.202171l-0.434905 0.402159c-2.086521 1.924839-4.943592 4.560876-5.41636 5.468548l0 0c0.00307 0-0.13303 0.426719-0.164752 1.584078 0.328481 4.295839 3.654226 40.060391 24.76401 70.554916 5.3918 7.788383 12.945847 16.356526 21.693068 26.279526 30.841426 34.984792 73.079412 82.899058 80.259952 164.266227 3.260254 36.95875 1.019213 52.388161-2.984984 60.154032-5.226025 15.042601-22.427802 35.766598-93.189426 54.395888-36.365232 9.574053-71.006194 14.497179-75.18947 15.074324-39.83424 6.958482-73.196069 18.883069-99.160417 35.44528-20.185738 12.876262-35.971259 28.599362-46.919613 46.732347-18.282389 30.281677-17.133216 57.860802-17.055444 59.33641 0.050142 0.543376 0.054235 0.867764 0.054235 1.433652l0 4.309142 427.01135 0 35.287691-0.271176c0.047072 0 0.095167 0 0.143263 0l22.423709 0c0.141216 0 0.280386 0.001023 0.421602 0.005117 2.895957 0.064468 71.446215 1.943258 116.949572 31.803333 8.633634 5.665023 11.039427 17.254989 5.374404 25.888624C715.458855 992.104569 709.488887 995.074204 703.400215 995.074204zM631.466905 689.8762c0.454348 0.36839 0.890276 0.757247 1.305739 1.164522C632.378671 690.653913 631.943766 690.26301 631.466905 689.8762zM414.041968 689.8762c-0.471744 0.382717-0.901533 0.768503-1.292436 1.152243C413.160901 690.626283 413.592736 690.24152 414.041968 689.8762z","p-id":"1811"})}),Mn=(0,t.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"minus-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}),(0,t.jsx)("path",{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-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),n0=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z"})}),zt=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",children:[(0,t.jsx)("path",{d:"M505.685333 816.64c-28.586667 0-51.882667 23.253333-51.882666 51.882667 0 28.586667 23.253333 51.882667 51.882666 51.882666 28.586667 0 51.882667-23.253333 51.882667-51.882666 0-28.586667-23.296-51.882667-51.882667-51.882667z"}),(0,t.jsx)("path",{d:"M762.368 0H249.002667A78.421333 78.421333 0 0 0 170.666667 78.336v861.525333c0 43.178667 35.114667 78.336 78.336 78.336h513.365333a78.421333 78.421333 0 0 0 78.293333-78.336V78.336A78.421333 78.421333 0 0 0 762.368 0zM249.002667 52.224h513.365333c14.378667 0 26.112 11.690667 26.112 26.112v645.461333H222.890667V78.336c0-14.421333 11.690667-26.112 26.112-26.112zM762.368 965.973333H249.002667a26.154667 26.154667 0 0 1-26.112-26.112v-159.402666H788.48v159.402666a26.154667 26.154667 0 0 1-26.112 26.112z"})]}),O0=(0,t.jsx)("svg",{viewBox:"0 0 1224 1024",children:(0,t.jsx)("path",{d:"M1151.216941 978.462118H33.370353c-26.021647 0-26.021647-14.697412-26.021647-29.394824s0-29.394824 26.02
1961647-29.394823h1117.846588c26.021647 0 52.043294 14.697412 52.043294 29.394823s-26.021647 29.394824-52.043294 29.394824zM58.789647 749.266824c0 29.394824 14.697412 44.092235 44.032 44.092235h999.062588c29.334588 0 44.032-14.697412 44.032-44.092235V102.821647c0-29.334588-14.697412-44.032-44.032-44.032H102.821647c-29.334588 0-44.032 14.697412-44.032 44.032V749.327059z m1145.916235 0c0 58.789647-44.092235 102.821647-102.821647 102.821647H102.821647C44.092235 852.088471 0 808.056471 0 749.327059V102.821647C0 44.092235 44.092235 0 102.821647 0h999.062588C1160.613647 0 1204.705882 44.092235 1204.705882 102.821647V749.327059z"})}),V0=(0,t.jsx)("path",{d:"M453.553208,130.165945 C510.884384,98.2598995 583.075347,118.345868 615.784549,174.941064 L616.763596,176.667229 L924.649574,729.899847 C934.581184,747.745708 939.793739,767.831089 939.793739,788.254399 C939.793739,853.865828 887.137053,907.178628 821.778158,908.238323 L819.793739,908.254399 L204.021781,908.254399 C183.598471,908.254399 163.51309,903.041844 145.667229,893.110235 C88.3360528,861.204189 67.357712,789.267478 98.2149938,731.641648 L99.1659454,729.899847 L407.051924,176.667229 C417.919777,157.139057 434.025036,141.033798 453.553208,130.165945 Z M492.456243,200.069836 C485.946852,203.692453 480.578432,209.060873 476.955815,215.570264 L169.069836,768.802882 C158.327059,788.106308 165.266837,812.463568 184.570264,823.206345 C190.518884,826.516881 197.214011,828.254399 204.021781,828.254399 L819.793739,828.254399 C841.885129,828.254399 859.793739,810.345789 859.793739,788.254399 C859.793739,781.446629 858.056221,774.751502 854.745684,768.802882 L546.859705,215.570264 C536.116929,196.266837 511.759669,189.327059 492.456243,200.069836 Z",transform:"translate(511.896869, 511.627200) rotate(-270.000000) translate(-511.896869, -511.627200) "}),Yn=(0,t.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"plus",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("style",{})}),(0,t.jsx)("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}),(0,t.jsx)("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"})]}),e1=(0,t.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"plus-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}),(0,t.jsx)("path",{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-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),ji=(0,t.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"question-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("path",{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-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),(0,t.jsx)("path",{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"})]}),yi=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11873",width:"128",height:"128",children:(0,t.jsx)("path",{d:"M808.96 265.801143a85.723429 85.723429 0 0 1 86.125714 86.710857V876.617143a86.637714 86.637714 0 0 1-86.710857 86.747428H215.552a86.564571 86.564571 0 0 1-86.674286-86.747428V352.548571a86.601143 86.601143 0 0 1 86.747429-86.674285h47.981714a35.328 35.328 0 0 1 35.474286 35.401143c0 19.638857-15.798857 35.474286-35.474286 35.474285H215.625143a15.762286 15.762286 0 0 0-15.798857 15.762286V876.617143a15.798857 15.798857 0 0 0 15.798857 15.798857H808.96a15.798857 15.798857 0 0 0 15.798857-15.798857V352.548571a15.835429 15.835429 0 0 0-15.798857-15.835428h-46.921143a35.364571 35.364571 0 0 1-35.474286-35.401143 35.328 35.328 0 0 1 35.474286-35.510857z m-103.058286 248.685714a35.84 35.84 0 0 1 50.102857 0c13.677714 13.897143 13.677714 36.205714 0 50.139429l-148.845714 148.918857a35.181714 35.181714 0 0 1-9.252571 6.582857 32.475429 32.475429 0 0 1-15.872 3.766857 34.706286 34.706286 0 0 1-22.308572-7.606857 8.484571 8.484571 0 0 1-2.742857-2.157714l-123.794286-123.794286-123.757714 123.794286a34.706286 34.706286 0 0 1-25.124571 10.313143 34.816 34.816 0 0 1-25.088-10.313143 35.84 35.84 0 0 1 0-50.212572l148.845714-148.845714a35.84 35.84 0 0 1 50.212571 0l123.757715 123.245714zM512.292571 18.285714a35.328 35.328 0 0 1 35.401143 35.401143v248.685714l90.587429-90.514285a35.84 35.84 0 0 1 50.102857 0c13.677714 13.897143 13.677714 36.205714 0 50.139428l-150.454857 150.564572a34.669714 34.669714 0 0 1-25.124572 10.349714 34.633143 34.633143 0 0 1-25.088-10.349714L337.225143 262.582857a35.84 35.84 0 0 1 0-50.249143 35.913143 35.913143 0 0 1 50.139428 0l89.453715 88.941715v-247.588572a35.328 35.328 0 0 1 35.474285-35.401143z","p-id":"11874"})}),Kn=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2745",width:"128",height:"128",children:(0,t.jsx)("path",{d:"M512 960c-247.039484 0-448-200.960516-448-448S264.960516 64 512 64 960 264.960516 960 512 759.039484 960 512 960zM512 128c-211.744443 0-384 172.255557-384 384s172.255557 384 384 384 384-172.255557 384-384S723.744443 128 512 128z","p-id":"2746"})}),bi=(0,t.jsx)("path",{d:"M394.59392 291.712V0S1024.03392 394.56 1024.03392 458.24c0 63.744-629.44 416.64-629.44 416.64V625.088S105.24992 629.76 24.28992 1000.064c-84.48-279.104 54.912-693.824 370.304-708.352z m-176.768 337.92c91.392-52.544 172.736-54.464 176.064-54.592l47.232-0.704V792.192c229.76-131.2 461.568-275.584 525.44-334.72-62.848-62.912-294.656-222.848-525.44-369.984v252.096l-44.544 2.048c-132.352 6.144-214.144 90.944-259.52 161.024C81.56992 588.608 50.14592 698.24 46.62592 805.888c51.584-91.328 116.8-144.96 171.2-176.256z"}),pn=(0,t.jsxs)("svg",{viewBox:"0 0 1200 1024",children:[(0,t.jsx)("path",{d:"M420.444699 238.915368h320.727579c40.96 0 71.141053 17.785263 89.249684 54.541474 6.790737 13.635368 9.162105 28.456421 8.892632 43.870316-0.323368 85.692632 0 171.924211 0 257.616842v138.725053c0 57.775158-40.043789 98.088421-98.088421 98.088421-214.069895 0.269474-428.085895 0-641.778527 0-43.600842 0-78.848-23.390316-93.07621-61.386106a101.645474 101.645474 0 0 1-6.25179-35.247157c0-132.796632-0.269474-265.593263 0-398.389895 0-56.589474 41.822316-97.818947 99.004632-97.818948h321.320421z m0.592842 542.72c107.034947 0 214.339368-0.269474 321.320421 0.323369a47.481263 47.481263 0 0 0 49.25979-49.205895c-0.323368-132.203789-0.323368-264.084211-0.323369-396.341895 0-30.504421-18.701474-49.475368-49.529263-49.475368H99.178173c-29.911579 0-48.882526 18.378105-48.882527 48.343579-0.323368 132.473263 0 265.269895 0 397.743158 0 7.706947 0.538947 15.144421 4.149895 22.258526 9.485474 18.378105 24.576 26.677895 45.325474 26.677895 107.034947-0.269474 214.339368-0.269474 321.320421-0.269474z","p-id":"2492"}),(0,t.jsx)("path",{d:"M1185.803857 474.866526v380.01179c0 26.677895-8.623158 49.475368-31.097263 65.536a72.650105 72.650105 0 0 1-43.870316 13.635368c-69.093053 0.269474-138.132211 0-207.494737 0-10.671158 0-14.821053-4.473263-15.090526-15.144421a221.884632 221.884632 0 0 1 0-19.887158c0.269474-10.078316 4.688842-14.497684 15.090526-14.767158 14.228211-0.323368 28.133053 0 42.361263 0h161.253053c20.156632 0 28.779789-8.623158 28.779789-28.779789 0-34.654316-0.323368-69.362526 0.269474-104.016842 0-5.928421-2.048-7.437474-7.706947-7.437474-74.374737 0.269474-148.48 0.269474-222.908632 0.269474-15.090526 0-18.647579-3.233684-18.647579-18.647579 0-5.066105-0.323368-10.401684 0-15.737263 0.269474-10.617263 4.742737-15.090526 15.090526-15.090527h5.658948c73.512421 0 146.701474 0 220.213895 0.323369 6.251789 0 8.299789-1.185684 8.299789-8.030316-0.269474-197.416421-0.269474-394.832842-0.269474-592.249263 0-7.114105-0.323368-14.228211-4.742737-20.48a23.821474 23.821474 0 0 0-20.48-10.617263H736.213962c-22.528 0-31.744 9.162105-31.744 31.690105v80.033684c0 12.773053-4.149895 16.922947-16.869053 17.192421-6.521263 0-13.365895 0.269474-19.887157-0.323368-8.623158-0.538947-12.719158-4.688842-12.719158-12.988632-0.323368-31.744-1.185684-63.757474 0.538947-95.447579A73.296842 73.296842 0 0 1 729.962173 14.228211c126.868211-0.323368 254.059789-0.323368 380.604631 0 43.870316 0.323368 74.698105 33.792 74.698105 80.033684 0.916211 126.868211 0.592842 253.736421 0.592843 380.604631z m-765.305263 457.943579H19.952909c-16.006737 0-19.563789-3.557053-19.563789-19.563789 0-5.012211-0.323368-10.347789 0-15.683369 0.538947-9.754947 5.012211-13.958737 14.821053-14.551579h804.75621c2.101895 0 4.149895-0.269474 6.25179 0 8.299789 0.592842 12.719158 4.742737 13.042526 13.042527 0.538947 8.030316 0.269474 16.006737 0 24.037052-0.323368 8.030316-4.742737 11.587368-12.449684 12.449685-2.964211 0.269474-5.658947 0.269474-8.623158 0.269473h-397.743158z","p-id":"2493"}),(0,t.jsx)("path",{d:"M954.002594 813.056a33.792 33.792 0 0 1-32.87579 32.929684c-17.785263 0-32.875789-15.090526-33.199158-32.875789 0-18.108632 15.413895-33.253053 33.468632-33.253053 18.108632 0.323368 32.606316 15.144421 32.606316 33.199158z","p-id":"2494"})]}),xn=(0,t.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"setting",width:"1em",height:"1em",fill:"
196currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"})}),z0=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024","p-id":"7179",width:"200",height:"200",children:(0,t.jsx)("path",{d:"M873.397094 483.288475a30.652546 30.652546 0 0 1-15.326273-57.218085 189.228384 189.228384 0 0 0 93.59244-163.480246 183.915276 183.915276 0 1 0-367.830552 0 189.432734 189.432734 0 0 0 92.161988 163.480246A30.652546 30.652546 0 0 1 644.52475 477.975367a251.146527 251.146527 0 0 1-122.610184-215.793923 245.220368 245.220368 0 1 1 490.440736 0 250.737826 250.737826 0 0 1-124.244986 216.815675 30.448196 30.448196 0 0 1-14.713222 4.291356zM764.68273 1023.999387A248.694323 248.694323 0 0 1 548.888806 899.14135a30.652546 30.652546 0 0 1 53.335431-30.243846 185.958779 185.958779 0 1 0 0-183.915276A30.652546 30.652546 0 0 1 549.910558 653.920981a247.672572 247.672572 0 1 1 214.772172 370.078406zM256.259167 1010.920967a247.468221 247.468221 0 0 1-245.220368-249.307374 250.737826 250.737826 0 0 1 124.244987-216.815675 30.652546 30.652546 0 1 1 30.652546 53.131079 189.228384 189.228384 0 0 0-93.592441 163.480246 186.163129 186.163129 0 0 0 183.915276 188.002282 186.163129 186.163129 0 0 0 183.915276-188.002282 189.432734 189.432734 0 0 0-92.161988-163.480246A30.652546 30.652546 0 0 1 378.869351 545.819669a250.942177 250.942177 0 0 1 122.610184 215.793924 247.468221 247.468221 0 0 1-245.220368 249.307374zM292.020471 494.527742a247.263871 247.263871 0 0 1 0-494.527742 245.220368 245.220368 0 0 1 213.34172 125.675439 30.652546 30.652546 0 0 1-53.53978 30.039495A183.915276 183.915276 0 0 0 108.105195 247.263871a183.915276 183.915276 0 0 0 343.104165 92.97939 30.652546 30.652546 0 0 1 53.13108 30.448195 245.220368 245.220368 0 0 1-212.319969 123.836286z","p-id":"7180"})}),an=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024","p-id":"5665",children:(0,t.jsx)("path",{d:"M443.904 625.664H91.648c-28.672 0-52.224-23.552-52.224-52.224V63.488c0-28.672 23.552-52.224 52.224-52.224h351.744c28.672 0 52.224 23.552 52.224 52.224V573.44c0 28.672-23.04 52.224-51.712 52.224z m-352.256-568.32c-3.072 0-6.144 2.56-6.144 6.144V573.44c0 3.072 2.56 6.144 6.144 6.144h351.744c3.072 0 6.144-2.56 6.144-6.144V63.488c0-3.072-2.56-6.144-6.144-6.144H91.648zM956.416 1022.976H604.16c-28.672 0-52.224-23.552-52.224-52.224V460.288c0-28.672 23.552-52.224 52.224-52.224h351.744c28.672 0 52.224 23.552 52.224 52.224v510.464c0 28.672-23.04 52.224-51.712 52.224zM604.16 454.656c-3.072 0-6.144 2.56-6.144 6.144v510.464c0 3.072 2.56 6.144 6.144 6.144h351.744c3.072 0 6.144-2.56 6.144-6.144V460.288c0-3.072-2.56-6.144-6.144-6.144H604.16zM962.56 341.504h-364.544c-28.672 0-52.224-23.552-52.224-52.224V63.488c0-28.672 23.552-52.224 52.224-52.224H962.56c28.672 0 52.224 23.552 52.224 52.224v226.304c0 28.16-23.552 51.712-52.224 51.712z m-364.544-284.16c-3.072 0-6.144 2.56-6.144 6.144v226.304c0 3.072 2.56 6.144 6.144 6.144H962.56c3.072 0 6.144-2.56 6.144-6.144V63.488c0-3.072-2.56-6.144-6.144-6.144h-364.544zM450.048 1019.904H85.504c-28.672 0-52.224-23.552-52.224-52.224v-226.304c0-28.672 23.552-52.224 52.224-52.224h364.544c28.672 0 52.224 23.552 52.224 52.224V967.68c0 28.672-23.552 52.224-52.224 52.224z m-364.544-284.16c-3.072 0-6.144 2.56-6.144 6.144V967.68c0 3.072 2.56 6.144 6.144 6.144h364.544c3.072 0 6.144-2.56 6.144-6.144v-226.304c0-3.072-2.56-6.144-6.144-6.144H85.504z","p-id":"5666"})}),Gn=(0,t.jsx)("svg",{viewBox:"0 0 1251 1024","p-id":"4874",width:"200",height:"200",children:(0,t.jsx)("path",{d:"M224.426667 544.426667a41.699556 41.699556 0 0 0-36.977778 36.920889c-2.730667 26.510222 19.512889 48.924444 46.193778 46.08a41.984 41.984 0 0 0 37.034666-36.977778 42.040889 42.040889 0 0 0-46.250666-46.08z m81.351111-68.266667a60.984889 60.984889 0 1 0-11.036445-121.457778 60.984889 60.984889 0 0 0 11.036445 121.457778zM506.311111 200.419556a76.572444 76.572444 0 0 0-71.224889 71.168 76.515556 76.515556 0 0 0 81.180445 81.237333 76.572444 76.572444 0 0 0 71.224889-71.224889A76.515556 76.515556 0 0 0 506.311111 200.419556z m274.773333-17.464889a93.866667 93.866667 0 1 0 12.401778 187.107555 93.866667 93.866667 0 0 0-12.401778-187.164444z m459.491556 30.151111a37.603556 37.603556 0 0 0-13.084444-26.168889l-0.910223-0.796445a37.888 37.888 0 0 0-53.873777 3.868445l-455.509334 524.401778-58.026666 114.005333 1.536 1.137778-6.542223 15.132444 14.791111-7.907555 1.991112 1.706666 103.992888-72.362666 456.419556-525.312a38.343111 38.343111 0 0 0 9.216-27.761778z m-91.591111 266.467555a38.115556 38.115556 0 0 0-40.561778 27.648c-9.216 32.768-25.713778 85.959111-46.8195
19655 130.389334-30.378667 64.284444-86.471111 153.713778-180.792889 214.926222a461.937778 461.937778 0 0 1-252.245334 75.605333c-49.322667 0-96.256-8.135111-135.623111-23.608889-35.84-13.994667-61.838222-32.824889-73.159111-52.906666-4.551111-8.135111-9.671111-17.237333-14.961778-26.965334-22.926222-41.472-48.810667-88.689778-66.275555-103.196444-21.162667-17.635556-52.110222-20.024889-79.701334-20.024889-10.808889 0-54.442667 1.706667-64.682666 1.706667-44.145778 0-65.877333-8.590222-74.808889-29.809778-23.722667-56.376889-9.728-152.405333 35.726222-244.565333 70.428444-142.392889 196.835556-246.499556 346.965333-285.582223 53.304889-14.108444 108.259556-25.201778 161.735112-25.201777 114.119111 0 250.368 43.747556 336.668444 102.968888a35.555556 35.555556 0 1 0 38.513778-59.619555c-31.061333-18.659556-77.198222-45.340444-115.086222-62.805333A595.512889 595.512889 0 0 0 671.630222 42.666667c-90.794667 0-198.428444 21.845333-289.564444 62.919111A570.766222 570.766222 0 0 0 142.791111 302.250667C94.264889 370.801778 52.337778 450.389333 36.010667 527.189333c-10.012444 46.819556-9.102222 76.572444-3.185778 117.077334 5.575111 38.912 17.863111 69.973333 35.84 89.998222 29.866667 33.450667 68.721778 49.891556 118.670222 49.891555 18.545778 0 75.093333-6.712889 84.195556-6.712888 9.841778 0 16.213333 1.649778 19.171555 5.12 8.533333 9.841778 19.171556 29.809778 31.573334 53.191111 10.012444 18.773333 21.219556 40.106667 33.905777 60.359111 16.099556 25.998222 49.152 53.873778 88.632889 74.524444 36.010667 18.830222 95.857778 41.358222 176.298667 41.358222 95.971556 0 197.688889-31.459556 302.250667-93.468444 99.84-59.164444 164.010667-158.549333 200.248888-231.480889 25.372444-51.029333 46.307556-116.224 58.424889-158.776889a38.456889 38.456889 0 0 0-33.052444-48.696889z","p-id":"4875"})}),Ei=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"})}),t1=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",children:(0,t.jsx)("path",{d:"M629.44 291.712V0S0 394.56 0 458.24c0 63.744 629.44 416.64 629.44 416.64V625.088s289.344 4.672 370.304 374.976c84.48-279.104-54.912-693.824-370.304-708.352z m176.768 337.92c-91.392-52.544-172.736-54.464-176.064-54.592l-47.232-0.704V792.192c-229.76-131.2-461.568-275.584-525.44-334.72 62.848-62.912 294.656-222.848 525.44-369.984v252.096l44.544 2.048c132.352 6.144 214.144 90.944 259.52 161.024 55.488 85.952 86.912 195.52 90.432 303.232-51.584-91.328-116.8-144.96-171.2-176.256z"})}),kt=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M447.326316 161.684211H210.189474c0 26.947368 5.389474 48.505263 5.389473 70.063157v113.178948h26.947369c5.389474-32.336842 5.389474-53.894737 10.778947-75.452632 5.389474-16.168421 16.168421-32.336842 26.947369-43.115789 10.778947-10.778947 21.557895-21.557895 37.726315-21.557895 16.168421-5.389474 37.726316-5.389474 64.673685-5.389474h80.842105v549.726316c0 16.168421 0 32.336842-5.389474 43.11579 0 10.778947-5.389474 21.557895-16.168421 26.947368-5.389474 5.389474-16.168421 10.778947-32.336842 16.168421-16.168421 5.389474-32.336842 5.389474-53.894737 5.389474v26.947368h285.642105v-26.947368c-21.557895 0-43.115789-5.389474-59.28421-5.389474-16.168421 0-26.947368-5.389474-32.336842-10.778947-5.389474-5.389474-10.778947-10.778947-10.778948-21.557895 0-5.389474-5.389474-16.168421-5.389473-26.947368V194.021053h86.231579c26.947368 0 48.505263 0 64.673684 5.389473 16.168421 5.389474 32.336842 10.778947 37.726316 26.947369 32.336842 10.778947 37.726316 26.947368 43.115789 43.115789 5.389474 16.168421 10.778947 43.115789 16.168421 64.673684h26.947369v-48.505263-43.115789c0-16.168421 0-26.947368 5.389473-43.11579 0-16.168421 0-32.336842 5.389474-48.505263h-253.305263c-26.947368 10.778947-48.505263 10.778947-64.673684 10.778948h-53.894737z"})}),E0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M938.666667 128H85.333333c-25.6 0-42.666667 17.066667-42.666666 42.666667v682.666666c0 25.6 17.066667 42.666667 42.666666 42.666667h853.333334c25.6 0 42.666667-17.066667 42.666666-42.666667V170.666667c0-25.6-17.066667-42.666667-42.666666-42.666667z m0 725.333333H85.333333V149.333333 170.666667h853.333334v682.666666z","p-id":"6685"}),(0,t.jsx)("path",{d:"M192 665.6h89.6c64-4.266667 98.133333-34.133333 98.133333-93.866667-4.266667-38.4-25.6-64-64-72.533333 25.6-12.8 38.4-29.866667 38.4-64-4.266667-46.933333-29.866667-72.533333-81.066666-72.533333H192c-21.333333 0-34.133333 8.533333-34.133333 29.866666v243.2c0 17.066667 12.8 29.866667 34.133333 29.866667z m29.866667-247.466667H256c21.333333 0 34.133333 12.8 34.133333 29.866667 0 21.333333-12.8 34.133333-34.133333 34.133333h-34.133333V418.133333z m0 119.466667h46.933333c29.866667 0 42.666667 12.8 46.933333 34.133333 0 25.6-12.8 34.133333-38.4 38.4H221.866667v-72.533333zM405.333333 418.133333h46.933334v217.6c0 21.333333 12.8 29.866667 29.866666 29.866667 21.333333 0 34.133333-8.533333 34.133334-29.866667V418.133333h46.933333c17.066667 0 25.6-12.8 29.866667-29.866666 0-17.066667-8.533333-25.6-29.866667-29.866667H405.333333c-12.8 4.266667-21.333333 12.8-25.6 29.866667 4.266667 21.333333 12.8 29.866667 25.6 29.866666zM635.733333 665.6c21.333333 0 29.866667-8.533333 29.866667-29.866667v-162.133333l136.533333 179.2c8.533333 8.533333 17.066667 12.8 25.6 12.8 21.333333 0 29.866667-8.533333 29.866667-29.866667V392.533333c0-21.333333-12.8-34.133333-29.866667-34.133333-21.333333 0-29.866667 12.8-29.866666 34.133333V554.666667l-136.533334-183.466667c-8.533333-8.533333-17.066667-12.8-25.6-17.066667-21.333333 0-29.866667 12.8-29.866666 34.133334v243.2c0 25.6 12.8 34.133333 29.866666 34.133333z","p-id":"6686"})]}),F0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M947.2 173.248c6.912 0 12.8 5.888 12.8 12.8v615.232c0 6.912-5.888 12.8-12.8 12.8H76.8c-6.912 0-12.8-5.888-12.8-12.8V186.048c0-6.912 5.888-12.8 12.8-12.8h870.4m0-64H76.8c-42.24 0-76.8 34.56-76.8 76.8v615.232c0 42.24 34.56 76.8 76.8 76.8h870.4c42.24 0 76.8-34.56 76.8-76.8V186.048c0-42.24-34.56-76.8-76.8-76.8z"}),(0,t.jsx)("path",{d:"M694.4 760.192H117.824l242.176-257.28c25.344-26.944 66.88-26.944 92.224 0l242.176 257.28z"}),(0,t.jsx)("path",{d:"M906.176 760.192H519.296l87.552-92.992 59.84-63.552c25.28-2
1966.944 66.816-26.944 92.16 0l147.328 156.544z"}),(0,t.jsx)("path",{d:"M649.792 341.952m-62.976 0a62.976 62.976 0 1 0 125.952 0 62.976 62.976 0 1 0-125.952 0Z"})]}),rn=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-0.3 1.5-0.4 3-0.4 4.4 0 14.4 11.6 26 26 26h723c1.5 0 3-0.1 4.4-0.4 14.2-2.4 23.7-15.9 21.2-30zM204 390h272V182h72v208h272v104H204V390z m468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z","p-id":"11406"})}),H0=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M166.4 448l211.2 128c12.8 6.4 19.2 19.2 19.2 25.6 0 12.8-6.4 19.2-19.2 25.6s-25.6 6.4-32 0L76.8 473.6c-6.4-6.4-12.8-19.2-12.8-32s6.4-25.6 19.2-25.6l832-345.6c12.8-6.4 25.6 0 32 6.4s12.8 12.8 12.8 25.6l-147.2 768c0 12.8-6.4 19.2-19.2 25.6-12.8 6.4-19.2 6.4-32 0l-268.8-172.8c-12.8-6.4-19.2-32-12.8-44.8s32-19.2 44.8-12.8l230.4 147.2 128-665.6L166.4 448z m249.6 185.6V896c0 19.2-12.8 32-32 32s-32-12.8-32-32V614.4c0-6.4 6.4-19.2 12.8-25.6L755.2 256c6.4-6.4 19.2-12.8 32-6.4s19.2 12.8 19.2 25.6 0 25.6-12.8 32L416 633.6z","p-id":"12292"})}),$0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M512 64C264.576 64 64 264.576 64 512s200.576 448 448 448 448-200.576 448-448S759.424 64 512 64z m271.529 719.529c-35.286 35.287-76.359 62.983-122.078 82.321C614.15 885.856 563.868 896 512 896c-51.868 0-102.15-10.144-149.451-30.15-45.719-19.337-86.792-47.034-122.078-82.321-35.287-35.286-62.983-76.359-82.321-122.078C138.144 614.15 128 563.868 128 512s10.144-102.15 30.15-149.451c19.337-45.719 47.034-86.792 82.321-122.078 35.286-35.287 76.359-62.983 122.078-82.321C409.85 138.144 460.132 128 512 128c51.868 0 102.15 10.144 149.451 30.15 45.719 19.337 86.792 47.034 122.078 82.321 35.287 35.286 62.983 76.359 82.321 122.078C885.856 409.85 896 460.132 896 512s-10.144 102.15-30.15 149.451c-19.338 45.718-47.034 86.792-82.321 122.078z","p-id":"13767"}),(0,t.jsx)("path",{d:"M707.576 362.526L448.465 621.637 316.424 489.596c-12.497-12.497-32.758-12.497-45.255 0s-12.497 32.758 0 45.255l154.668 154.668c6.249 6.249 14.438 9.373 22.627 9.373s16.379-3.124 22.627-9.373L752.83 407.781c12.497-12.497 12.497-32.758 0-45.255-12.496-12.497-32.758-12.497-45.254 0z","p-id":"13768"})]}),n1=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:(0,t.jsx)("path",{d:"M89.844 62.338l360.506 0c36.619 3.6 27.788 67.219 27.788 108.563l0 196.819c0 42.75 8.156 95.175-20.587 107.325-18.675 7.875-68.906 2.363-93.15 2.363l-191.138 0c-44.156 0-104.456 10.406-111.262-27.45l0-360.169c4.95-13.444 13.612-23.119 27.844-27.45l0 0zM139.4 143.45l0 256.444 260.1 0 0-260.044-258.863 0c-1.406 0.225-1.35 1.913-1.238 3.6l0 0zM573.706 62.338l360.506 0c14.681 5.4 24.75 15.3 27.787 32.231l0 350.663c-3.319 14.569-11.025 27-25.425 30.994-23.512 6.525-62.606 1.181-90.731 1.181l-185.062 0c-27.9 0-69.3 5.794-91.913-1.181-32.006-9.844-23.006-71.438-23.006-114.469l0-183.712c0-49.725-11.081-108.731 27.844-115.706l0 0zM623.319 143.45l0 256.444 260.1 0 0-260.044-258.919 0c-1.406 0.225-1.294 1.913-1.181 3.6l0 0zM257.975 218.6c36.225-6.75 64.688 17.381 65.306 50.062 0.787 43.144-43.875 66.825-78.637 48.881-39.769-20.475-37.125-89.55 13.331-98.944l0 0zM741.838 218.6c85.331-15.694 83.7 117.506 0 103.781-53.269-8.775-54.956-93.656 0-103.781l0 0zM447.875 961.662l-356.85 0c-14.794-4.5-24.806-13.725-29.025-28.631l0-358.988c3.544-10.519 11.644-22.781 24.188-26.269 23.681-6.581 62.381-1.181 90.731-1.181l185.063 0c27.337 0 67.162-6.019 91.912 1.181 33.525 9.731 24.188 70.313 24.188 113.287l0 189.619c0.056 46.406 10.181 106.819-30.206 110.981l0 0zM139.4 627.706l0 256.444 260.1 0 0-260.044-258.863 0c-1.406 0.225-1.35 1.912-1.238 3.6l0 0zM962 578.769l0 100.181c-2.813 33.806-0.394 72.731-1.181 108.506l-257.681 0 0-58.444c-24.188-2.813-53.606-0.394-79.819-1.181-2.813 75.544-0.394 156.262-1.237 233.775l-47.194 0c-40.556-8.044-29.025-68.006-29.025-115.706l0-184.894c0-27.788-5.738-69.469 1.181-91.856 8.269-26.662 44.044-22.669 79.819-22.669l175.387 0 0 158.625 81.056 0c0.788-52.481-1.631-108.112 1.181-158.625 39.094-2.194 75.206-1.631 77.512 32.287l0 0zM263.994 701.619c38.7-4.219 70.65 32.456 55.631 72.788-20.812 55.912-120.263 34.875-101.644-35.775 5.231-19.575 20.081-34.144 46.012-37.013l0 0zM790.212 961.662l-87.075 0c0.788-30.6-1.631-64.406 1.238-93.037l85.894 0-0.056 93.037zM962 868.625l0 60.806c-3.375 16.931-13.444 27.338-29.025 32.231l-61.706 0c0.787-30.6-1.631-64.406 1.238-93.037 29.8
19613 0 59.681 0 89.494 0l0 0z"})}),G0=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M338.2 511.4c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.4-32-32-32zM636.5 511.4H448.2c-17.7 0-32 14.3-32 32s14.3 32 32 32h188.3c17.7 0 32-14.3 32-32s-14.4-32-32-32zM338.2 639.2c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32c0-17.6-14.4-32-32-32zM338.2 767.6c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.4-32-32-32zM388.6 242H355c-1.9 0-4.5 1.3-4.8 3.2L321 418.7c-0.6 3.7 2.2 7 5.9 7h30.7c1.9 0 3.6-1.4 3.9-3.3l31-175.7c0.5-2.5-1.4-4.7-3.9-4.7zM488.6 414c11.5-9.2 18.7-20.3 22-39.4l14.2-80.3c3.4-19.1 0.1-30.2-8.1-39.4-8.2-9.5-21.8-14.2-36.6-14.2s-30.1 4.6-41.6 14.2c-11.5 9.2-18.7 20.3-22 39.4l-14.2 80.3c-3.4 19.1-0.1 30.2 8.1 39.4 8.2 9.5 21.8 14.2 36.6 14.2s30-4.6 41.6-14.2z m-45.4-37.8l14.7-83.4c1.8-10.2 8.2-15.1 15.6-15.1s12.1 4.9 10.3 15.1l-14.7 83.4c-1.8 10.2-8.2 15.1-15.6 15.1s-12-5-10.3-15.1zM576.9 428.2c14.8 0 30.1-4.6 41.6-14.2 11.5-9.2 18.7-20.3 22-39.4l14.2-80.3c3.4-19.1 0.1-30.2-8.1-39.4-8.2-9.5-21.8-14.2-36.6-14.2s-30.1 4.6-41.6 14.2c-11.5 9.2-18.7 20.3-22 39.4l-14.2 80.3c-3.4 19.1-0.1 30.2 8.1 39.4 8.1 9.6 21.8 14.2 36.6 14.2z m-3.8-52l14.7-83.4c1.8-10.2 8.2-15.1 15.6-15.1s12.1 4.9 10.3 15.1L599 376.2c-1.8 10.2-8.2 15.1-15.6 15.1s-12.1-5-10.3-15.1zM824.4 767.6h-56c-3.3 0-6-2.7-6-6v-36c0-17.7-14.3-32-32-32s-32 14.3-32 32v58c0 26.5 21.5 48 48 48h78c17.7 0 32-14.3 32-32 0-17.6-14.3-32-32-32zM644.8 396.4l-0.3 0.2-0.2 0.3c-0.6 1.1-0.7 2-0.3 2.8 0.5 0.8 1.3 1.2 2.6 1.2h0.4l0.3-0.2c1.4-0.8 2.7-1.7 4-2.6 0.2 0.4 0.6 0.9 1.3 1.2l0.3 0.2h6.5c-1 8.7-5.6 14.7-13.8 18.3l-0.4 0.2-0.2 0.4c-0.6 1.1-0.7 2-0.3 2.8 0.5 0.8 1.3 1.2 2.6 1.2h0.3l0.3-0.1c10-4.1 15.6-11.7 16.7-22.9h12c0.4 0 0.5 0.1 0.5 0.1s0.1 0.2 0.1 0.5c0 3.5-0.4 8.2-1 13.9-0.4 2.7-1.6 3.2-2.5 3.3-2.1 0-4.9-0.7-8.2-2l-0.4-0.2-0.4 0.1c-1.3 0.3-1.9 1-2.1 1.5-0.4 0.8-0.2 1.8 0.4 2.9l0.3 0.4 0.5 0.2c3.7 1.5 7.2 2.2 10.4 2.2h0.2c2.6-0.2 6-1.7 7-7.6 0.7-4.5 1.1-9.6 1.1-15.1 0-0.4 0-0.7-0.1-1.1 0.9 0.7 1.8 1.4 2.7 2l0.3 0.2c0.5 0.2 1 0.3 1.4 0.3 0.6 0 1.1-0.2 1.6-0.5 0.7-0.6 1-1.5 0.8-2.8l-0.1-0.6-0.5-0.4c-5.7-4.1-10.9-10.1-15.5-17.9l-0.2-0.3-0.3-0.2c-1.1-0.6-2-0.8-2.9-0.4-0.5 0.2-1.2 0.8-1.5 2.1l-0.1 0.5 0.3 0.5c2.9 5.3 6 9.8 9.4 13.4-0.2 0-0.4-0.1-0.7-0.1h-21.4c3.4-3.5 6.1-7.8 7.9-12.8l0.1-0.4-0.1-0.4c-0.2-1.2-0.8-2-1.6-2.4-0.9-0.3-1.9-0.1-2.9 0.7l-0.3 0.3-0.1 0.4c-2.7 7-7.4 12.6-13.9 16.7z"}),(0,t.jsx)("path",{d:"M864.3 591l-1.5-503.2c0-13.2-10.7-23.9-23.9-23.9l-650.7-1.4c-15.5 0-28 12.5-28 28V931c0 15.5 12.5 28 28 28h431.5c36 25.4 79.9 40.4 127.4 40.4 122.1 0 221-98.9 221-221-0.1-79-41.5-148.3-103.8-187.4zM448.2 703.2h90.9c-7.3 20.2-11.8 41.8-12.8 64.3h-78.1c-17.7 0-32 14.3-32 32s14.3 32 32 32h84.3c5.6 22.7 14.8 44.1 26.8 63.4H236.1c-6.6 0-12-5.4-12-12V138.5c0-6.6 5.4-12 12-12l550.7 1.3c6.6 0 11.9 5.4 12 12 0.5 139.9 1.4 424 1.4 424-17.1-4.2-34.9-6.5-53.3-6.5-69.3 0-131.2 31.9-171.7 81.9h-127c-17.7 0-32 14.3-32 32s14.3 32 32 32z m411 185c-29.4 30-68.7 46.7-110.6 47.2-41.5 0.4-81.8-15.7-111.5-44.8-30-29.4-46.7-68.7-47.2-110.6-0.4-41.5 15.7-81.8 44.8-111.5 29.4-30 68.7-46.7 110.6-47.2 41.5-0.4 81.8 15.7 111.5 44.8 30 29.4 46.7 68.7 47.2 110.6 0.4 41.5-15.7 81.8-44.8 111.5z"})]}),gn=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"48",height:"48",children:[(0,t.jsx)("path",{d:"M459.791429 225.298256c0 69.574588 0 139.126664 0 208.701253 0 8.589632-0.048095 8.613168-8.612145 8.613168-139.127687 0-278.251282 0-417.376922 0-8.590656 0-8.639774-0.023536-8.639774-8.590656 0-139.149177 0-278.275841 0-417.401482 0-8.566096 0.051165-8.614192 8.614192-8.614192 139.151223 0 278.253328 0 417.402505 0 8.56405 0 8.612145 0.048095 8.612145 8.614192C459.791429 86.171592 459.791429 155.723667 459.791429 225.298256M93.877599 225.298256c0 46.883797 0.121773 93.793176-0.148379 140.652414-0.025583 6.374174 1.723248 8.121981 8.072863 8.096399 93.322455-0.221034 186.699146-0.221034 280.022625 0 6.349615 0.024559 8.098445-1.648546 8.072863-8.072863-0.194428-93.299943-0.194428-186.673563 0-279.998065 0.025583-6.350638-1.673106-8.097422-8.072863-8.072863-93.321432 0.195451-186.646957 0.195451-279.972483 0-6.349615-0.024559-8.148587 1.673106-8.098445 8.072863C93.999372 132.415822 93.877599 178.857551 93.877599 225.298256","p-id":"2042"}),(0,t.jsx)("path",{d:"M424.106696 799.300378c0-69.351508 0-138.707109 0-208.011544 0-8.614192 0.048095-8.661264 8.588609-8.661264 29.484521 0 58.991556 0.147356 88.475054-0.100284 5.808286-0.050142 7.435343 1.573845 7.40669 7.383154-0.148379 139.54315-0.148379 279.087323 0 418.632519 0 5.760191-1.474584 7.532557-7.356548 7.482415-29.927613-0.294712-59.878762-0.294712-89.829911 0-5.783727 0.051165-7.384178-1.573845-7.384178-7.432273C424.204933 938.843528 424.106696 869.046882 424.106696 799.300378","p-id":"2043"}),(0,t.jsx)("path",{d:"M894.295428 269.474384c0 28.672016 0 57.343009-0.021489 85.99149l0.148379-0.148379c-26.825972 0.048095-53.702086 0.195451-80.577177 0-5.142114 0-6.791683 1.475608-6.741541 6.718005 0.220011 24.635073-0.023536 49.295729 0.195451 73.955362 0.050142 5.218862-1.576915 6.744611-6.743588 6.693446-53.702086-0.147356-107.451244-0.147356-161.154353 0-5.290493 0.051165-6.715959-1.6465-6.66991-6.766101 0.224104-26.850531 0.148379-53.702086 0.173962-80.552617l-0.148379 0.148379c26.356274-0.048095 52.716642-0.295735 79.07394 0.099261 6.867408 0.099261 8.339946-2.042519 8.318456-8.565073-0.222057-54.881958-0.102331-109.814058-0.073678-164.745135l-0.148379 0.148379c29.112038 0 58.228169 0 87.343277 0l-0.148379-0.148379c0.023536 26.77583 0.176009 53.553707-0.046049 80.306001-0.023536 5.487991 1.572822 7.111978 7.060813 7.063883 26.754341-0.246617 53.55166-0.050142 80.308047-0.025583L894.295428 269.474384z","p-id":"2044"}),(0,t.jsx)("path",{d:"M511.276011 529.810644c-164.448376 0-328.875263 0-493.348198-0.050142-11.026124 0-9.79304 1.130753-9.893324-9.894348-0.050142-6.374174 0.171915-12.798491-0.050142-19.147082-0.147356-4.03592 1.427512-5.659907 5.365194-5.265934 1.77032 0.146333 3.543709
1960 5.290493 0 328.877309 0 657.775084 0 986.676953 0 1.329275 0 2.65855 0.146333 3.939729-0.050142 5.192256-0.689708 7.014764 1.452071 6.743588 6.66991-0.367367 7.456832-0.245593 14.96483-0.052189 22.469758 0.125867 4.03592-1.451048 5.611811-5.38873 5.26798-1.746784-0.172939-3.518127 0-5.26798 0C840.619948 529.810644 675.949514 529.810644 511.276011 529.810644","p-id":"2045"}),(0,t.jsx)("path",{d:"M632.905162 182.450379c-0.025583-26.875091-0.173962-53.701063 0-80.576153 0.050142-5.119601-1.379417-6.817266-6.671956-6.768147-24.659633 0.245593-49.296753-0.023536-73.979922 0.196475-5.192256 0.049119-6.767124-1.550309-6.716982-6.718005 0.220011-24.660656 0.245593-49.320289 0-73.980945-0.050142-5.242398 1.648546-6.693446 6.743588-6.693446 82.787518 0.146333 165.582199 0.146333 248.347205 0 5.290493 0 6.695492 1.673106 6.64535 6.767124-0.220011 26.876114-0.12382 53.726645-0.149403 80.600713l0.149403-0.148379c-26.77583 0.024559-53.553707 0.172939-80.306001-0.048095-5.464455-0.024559-7.113001 1.574868-7.062859 7.039323 0.222057 26.77583 0.050142 53.552683 0.023536 80.329537l0.148379-0.148379c-29.114085 0-58.202587 0-87.318718 0L632.905162 182.450379z","p-id":"2046"}),(0,t.jsx)("path",{d:"M807.123043 95.277994c26.851555-0.048095 53.727669-0.195451 80.553641 0 5.120624 0.050142 6.867408-1.37737 6.817266-6.668886-0.245593-24.635073 0.025583-49.320289-0.222057-73.955362-0.073678-5.192256 1.524726-6.79373 6.719028-6.743588 24.217564 0.245593 48.435129 0.245593 72.652693 0 5.242398-0.073678 6.716982 1.623987 6.691399 6.743588-0.146333 82.790588-0.146333 165.583223 0.025583 248.348228 0 5.291516-1.723248 6.718005-6.817266 6.670933-26.408463-0.246617-52.813856-0.149403-79.247902-0.197498l0.149403 0.148379c-0.023536-26.753317-0.173962-53.553707 0.048095-80.306001 0.050142-5.463432-1.600451-7.063883-7.062859-7.063883-26.752294 0.246617-53.530171 0.099261-80.308047 0.050142l0.148379 0.148379L807.270399 95.129614 807.123043 95.277994z","p-id":"2047"}),(0,t.jsx)("path",{d:"M702.848141 798.61067c0-69.15708 0-138.262994 0-207.369931 0-8.566096 0.023536-8.613168 8.591679-8.613168 17.622356 0 35.218106 0.243547 52.840462-0.100284 5.881964-0.148379 7.383154 1.673106 7.358595 7.433296-0.199545 47.103808-0.12382 94.209662-0.12382 141.316539 0 91.996251 0 184.04162 0 275.986705 0 8.614192-0.023536 8.614192-8.591679 8.664334-17.620309 0-35.240619-0.295735-52.809763 0.097214-5.909593 0.149403-7.387247-1.673106-7.387247-7.432273C702.921819 938.597935 702.848141 868.555695 702.848141 798.61067","p-id":"2048"}),(0,t.jsx)("path",{d:"M181.047937 799.250236c0 69.306482 0 138.65799 0 208.011544 0 8.614192-0.022513 8.614192-8.563026 8.614192-17.623379 0.050142-35.243689-0.245593-52.813856 0.147356-5.858428 0.100284-7.433296-1.623987-7.433296-7.432273 0.24457-45.776579 0.148379-91.552136 0.148379-137.329738 0-93.127004 0-186.205912 0-279.334963 0-9.301853 0-9.301853 9.203616-9.301853 17.400299 0 34.800597 0.24457 52.17429-0.099261 5.832845-0.148379 7.433296 1.623987 7.433296 7.383154C180.975283 659.706063 181.047937 729.45359 181.047937 799.250236","p-id":"2049"}),(0,t.jsx)("path",{d:"M668.490635 799.398616c0 69.304436 0 138.65799 0 208.010521 0 8.465812-0.021489 8.465812-8.683776 8.465812-12.329816 0.050142-24.687262-0.445138-36.992519 0.196475-6.888897 0.293689-7.232728-2.954285-7.232728-8.270361 0.121773-101.248985 0.098237-202.500017 0.098237-303.749002 0-37.849026 0.148379-75.703169-0.171915-113.554242-0.050142-6.545066 1.918699-8.220219 8.194636-8.023744 12.527314 0.490164 25.104771 0.490164 37.630039 0 6.053879-0.196475 7.284917 1.969864 7.284917 7.580652C668.44254 659.854443 668.490635 729.60197 668.490635 799.398616","p-id":"2050"}),(0,t.jsx)("path",{d:"M632.905162 355.366613c-26.801413 0-53.629431-0.048095-80.429821 0.148379-4.872984 0.050142-6.965645-0.983397-6.939039-6.496971 0.195451-53.405327 0.195451-106.812701 0-160.218028-0.025583-5.51255 2.067079-6.54609 6.939039-6.496971 26.799366 0.196475 53.627385 0.12382 80.429821 0.148379l-0.148379-0.148379 0 173.21197L632.905162 355.366613z","p-id":"2051"}),(0,t.jsx)("path",{d:"M963.059558 799.250236c0 69.353554 0 138.65799 0 208.060663 0 8.565073-0.023536 8.565073-8.588609 8.615215-6.841825 0-13.659091-0.197498-20.476357 0.047072-4.036943 0.101307-5.659907-1.475608-5.265934-5.41329 0.12382-1.329275 0-2.65855 0-3.938706 0-138.26197 0-276.479939 0-414.694837 0-9.30083 0-9.30083 9.253758-9.30083 6.815219 0 13.632485 0.147356 20.476357 0 3.421936-0.100284 4.800329 1.329275 4.600785 4.673439-0.121773 1.968841 0 3.939729 0 5.954619C963.059558 661.921521 963.059558 730.587414 963.059558 799.250236","p-id":"2052"}),(0,t.jsx)("path",{d:"M858.709955 799.939945c0 69.106937 0 138.214898 0 207.370954 0 8.565073-0.023536 8.565073-8.588609 8.565073-6.843872 0-13.661138-0.149403-20.478404 0.050142-4.059456 0.148379-5.659907-1.379417-5.290493-5.366218 0.148379-1.279133 0.021489-2.65855 0.021489-3.986801 0-138.212852-0.021489-276.43082-0.021489-414.693814 0-9.252735 0.021489-9.252735 9.275247-9.252735 6.844895 0 13.632485 0.147356 20.478404 0 3.421936-0.100284 4.797259 1.329275 4.602831 4.673439-0.12382 1.968841 0 3.986801 0 5.954619C858.709955 662.119019 858.709955 731.028459 858.709955 799.939945","p-id":"2053"}),(0,t.jsx)("path",{d:"M355.441826 799.300378c0-69.305459 0-138.659013 0-208.011544 0-8.614192 0.023536-8.661264 8.541537-8.661264 7.013741 0 14.101159 0.097214 21.115923 0 3.371794-0.052189 4.89652 1.226944 4.650927 4.625344-0.098237 1.526773 0 3.102664 0 4.627391 0 138.211828 0 276.43082 0 414.693814 0 9.3039 0 9.3039-9.203616 9.3039-6.79373 0.050142-13.610996-0.098237-20.450774 0.050142-3.370771 0.047072-4.89652-1.232061-4.65195-4.626367 0.147356-2.018983 0-3.986801 0-5.955642C355.441826 936.629
196093 355.441826 867.965248 355.441826 799.300378","p-id":"2054"}),(0,t.jsx)("path",{d:"M233.911936 799.300378c0-69.351508 0-138.659013 0-208.011544 0-8.614192 0.025583-8.661264 8.541537-8.661264 7.061836 0 14.101159 0.097214 21.115923 0 3.373841-0.052189 4.898567 1.226944 4.652973 4.625344-0.100284 1.526773 0 3.102664 0 4.627391 0 138.211828 0 276.480962 0 414.693814 0 9.3039 0 9.3039-9.205663 9.354042-6.815219 0-13.634532-0.148379-20.449751 0-3.371794 0.047072-4.895497-1.281179-4.652973-4.675486 0.12382-1.969864 0-3.939729 0-5.906523C233.911936 936.629093 233.911936 867.965248 233.911936 799.300378","p-id":"2055"}),(0,t.jsx)("path",{d:"M76.698335 799.840684c0 69.107961 0 138.214898 0 207.323882 0 8.713452-0.025583 8.713452-8.492418 8.713452-6.817266 0-13.632485-0.149403-20.449751 0.050142-3.9121 0.148379-5.833869-1.180895-5.414313-5.266957 0.147356-1.280156 0.048095-2.609431 0.048095-3.937682 0-138.213875-0.048095-276.479939-0.048095-414.694837 0-9.354042 0.048095-9.401114 9.153474-9.401114 5.955642 0 11.912307 0.342808 17.819854-0.100284 5.708002-0.444115 7.578606 1.327228 7.53051 7.333012-0.295735 33.867342-0.149403 67.777663-0.149403 101.6931C76.698335 727.632105 76.698335 763.712859 76.698335 799.840684","p-id":"2056"}),(0,t.jsx)("path",{d:"M894.271892 355.466897c26.383904 0 52.765761 0.147356 79.126128-0.148379 5.607718-0.050142 6.989181 1.820462 6.936993 7.185656-0.243547 24.364921-0.243547 48.777937 0 73.167416 0.075725 5.464455-1.549286 7.113001-7.037277 7.063883-23.945365-0.295735-47.917336-0.245593-71.863724 0-5.344728 0.049119-7.236821-1.330298-7.186679-6.966669 0.295735-26.800389 0.148379-53.627385 0.197498-80.452333L894.271892 355.466897z","p-id":"2057"}),(0,t.jsx)("path",{d:"M302.577828 226.061642c0 18.064424-0.148379 36.07973 0.149403 54.144154 0.050142 5.365194-1.820462 6.64535-6.843872 6.619768-36.128849-0.171915-72.208579-0.195451-108.286262 0.025583-5.342682 0.024559-6.64535-1.771343-6.64535-6.843872 0.197498-36.078707 0.222057-72.15946 0-108.287285-0.048095-5.316076 1.820462-6.620791 6.817266-6.596232 36.103266 0.148379 72.208579 0.197498 108.312868-0.023536 5.316076-0.023536 6.64535 1.796926 6.595208 6.816243C302.429449 189.982936 302.577828 208.020754 302.577828 226.061642","p-id":"2058"})]}),Fi=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3264",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M631.744221 201.224977c0-68.690452-53.595662-124.331703-119.770827-124.331703-66.118883 0-119.718639 55.641251-119.718639 124.331703l-59.883879 0 0 62.167898 359.260294 0 0-62.167898L631.744221 201.224977 631.744221 201.224977zM452.089515 201.224977c0-34.320667 26.825972-62.163805 59.883879-62.163805 33.062 0 59.886949 27.843138 59.886949 62.163805L452.089515 201.224977 452.089515 201.224977zM452.089515 201.224977","p-id":"3265"}),(0,t.jsx)("path",{d:"M785.04777 201.224977l-48.202838 0 0 62.167898 24.103978 0c17.759479 0 32.113395 15.880689 32.113395 35.515888l0 550.572504c0 19.577894-14.353916 35.514865-32.113395 35.514865L263.001973 884.996133c-17.70729 0-32.117488-15.936971-32.117488-35.514865L230.884484 298.908764c0-19.635199 14.353916-35.515888 32.117488-35.515888l24.099884 0 0-62.167898-48.202838 0c-35.468816 0-64.23293 31.818683-64.23293 71.030753l0 603.873454c0 39.158858 28.764114 70.976518 64.23293 70.976518l546.148751 0c35.524075 0 64.285119-31.818683 64.285119-71.030753L849.332888 272.255731C849.332888 233.04366 820.571844 201.224977 785.04777 201.224977L785.04777 201.224977 785.04777 201.224977zM785.04777 201.224977","p-id":"3266"}),(0,t.jsx)("path",{d:"M332.370877 760.611218l359.260294 0c16.504906 0 29.916357-13.926174 29.916357-31.05939 0-17.129122-13.411451-31.054273-29.916357-31.054273L332.370877 698.497555c-16.504906 0-29.919427 13.925151-29.919427 31.054273C302.45145 746.685044 315.814806 760.611218 332.370877 760.611218L332.370877 760.611218 332.370877 760.611218zM332.370877 760.611218","p-id":"3267"}),(0,t.jsx)("path",{d:"M332.370877 605.220125l359.260294 0c16.504906 0 29.916357-13.921058 29.916357-31.054273s-13.411451-31.054273-29.916357-31.054273L332.370877 543.111578c-16.504906 0-29.919427 13.921058-29.919427 31.054273C302.399261 591.353302 315.814806 605.220125 332.370877 605.220125L332.370877 605.220125 332.370877 605.220125zM332.370877 605.220125","p-id":"3268"}),(0,t.jsx)("path",{d:"M332.370877 449.834148l359.260294 0c16.504906 0 29.916357-13.921058 29.916357-31.054273 0-17.133216-13.411451-31.055297-29.916357-31.055297L332.370877 387.724579c-16.504906 0-29.919427 13.922081-29.919427 31.055297C302.399261 435.966303 315.814806 449.834148 332.370877 449.834148L332.370877 449.834148 332.370877 449.834148zM332.370877 449.834148","p-id":"3269"})]}),Cn=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2313",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M908.544 156.16H141.056c-30.6944 0-57.6512 11.0592-79.5648 32.6144-22.016 21.6576-33.3312 48.384-33.3312 78.848v488.7808c0 30.464 11.3152 57.1648 33.3312 78.8224A110.2848 110.2848 0 0 0 141.056 867.84h767.488c30.72 0 57.6512-11.0592 79.5648-32.6144 22.016-21.6576 33.3312-48.3584 33.3312-78.8224V267.6224c0-30.464-11.3152-57.1904-33.3312-78.848A110.208 110.208 0 0 0 908.5696 156.16zM141.056 202.24h767.488c18.6112 0 33.9456 6.2976 47.2576 19.4048 13.2352 13.0048 19.5584 27.904 19.5584 45.9776v488.7808c0 18.048-6.3232 32.9216-19.5584 45.952-13.312 13.1072-28.672 19.4048-47.232 19.4048H141.056a64.256 64.256 0 0 1-47.2832-19.4048c-13.2352-13.0304-19.5584-27.904-19.5584-45.952V267.6224c0-18.048 6.3232-32.9728 19.5584-45.9776A64.256 64.256 0 0 1 141.056 202.24z",fill:"#666666","p-id":"2314"}),(0,t.jsx)("path",{d:"M281.6 476.16a23.04 23.04 0 0 1 2.8928 45.9008L281.6 522.24H204.8a23.04 23.04 0 0 1-2.8928-45.9008L204.8 476.16h76.8z",fill:"#666666","p-id":"2315"}),(0,t.jsx)("path",{d:"M460.8 476.16a23.04 23.04 0 0 1 2.8928 45.9008L460.8 522.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L384 476.16h76.8z",fill:"#FF6D00","p-id":"2316"}),(0,t.jsx)("path",{d:"M640 476.16a23.04 23.04 0 0 1 2.8928 45.9008L640 522.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L563.2 476.16h76.8zM844.8 629.76a23.04 23.04 0 0 1 2.8928 45.9008L844.8 675.84H204.8a23.04 23.04 0 0 1-2.8928-45.9008L204.8 629.76h640zM819.2 476.16a23.04 23.04 0 0 1 2.8928 45.9008L819.2 522.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L742.4 476.16h76.8zM281.6 348.16a23.04 23.04 0 0 1 2.8928 45.9008L281.6 394.24H204.8a23.04 23.04 0 0 1-2.8928-45.9008L204.8 348.16h76.8zM460.8 348.16a23.04 23.04 0 0 1 2.8928 45.9008L460.8 394.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L384 348.16h76.8z",fill:"#666666","p-id":"2317"}),(0,t.jsx)("path",{d:"M640 348.16a23.04 23.04 0 0 1 2.8928 45.9008L640 394.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L563.2 348.16h76.8z",fill:"#FF6D00","p-id":"2318"}),(0,t.jsx)("path",{d:"M819.2 348.16a23.04 23.04 0 0 1 2.8928 45.9008L819.2 394.24h-76.8a23.04 23.04 0 0 1-2.8928-45.9008L742.4 348.16h76.8z",fill:"#666666","p-id":"2319"})]}),Jn=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"512",height:"512",children:[(0,t.jsx)("path",{d:"M462.72 771.968z","p-id":"5542"}),(0,t.jsx)("path",{d:"M241.92 486.528c0-0.704 0-1.344-0.64-2.688 0 3.328 0 4.032 0.64 2.688z m-1.984-6.144c1.344 1.408 1.344 2.688 1.344 3.392v-1.984s-0.704-0.64-1.344-1.408z"}),(0,t.jsx)("path",{d:"M479.616 693.184c40.384-43.84 81.472-88.192 121.856-131.968 40.448-44.48 81.472-90.176 121.984-131.968v-0.704a19.328 19.328 0 0 0 6.656-14.848v-3.968c0-12.096-11.456-22.912-26.304-22.912H590.656c0-5.376-0.704-10.112-1.344-15.424l-8.832-38.4a408.96 408.96 0 0 0-16.704-41.088 275.648 275.648 0 0 0-33.024-53.184 285.568 285.568 0 0 0-45.12-44.48c-66.624-54.4-159.552-86.144-251.84-97.6a2623.296 2623.296 0 0 0-77.312-6.656c-2.688 0-6.144-0.64-6.144-0.64a46.528 46.528 0 0 0-10.752-1.408h-17.536c-15.488 0-30.976-0.64-44.416 4.736-21.568 8.064-16.128 36.992 6.08 40.96 0.64 0 1.344 0 1.344 0.704l6.016 2.048c4.096 1.344 8.064 3.456 12.8 5.376 8.768 4.032 18.176 8.064 26.944 12.16 17.536 8 34.368 16.832 50.496 26.24 16.896 9.408 27.648 16.128 43.84 27.648 14.784 10.752 28.928 22.144 42.368 33.664 3.328 3.328 6.08 6.016 9.408 8.704 1.408 1.344 2.048 2.688 3.392 4.032 0 0 3.392 2.688 3.392 3.392 6.016 6.016 11.456 12.8 16.128 19.52 5.376 6.08 9.408 12.8 13.504 19.52 5.376 8.064 7.424 12.8 10.752 19.52 2.688 5.376 4.032 10.752 6.016 16.832 0 0 1.344 7.424 3.392 22.912v15.488h2.048c0 4.032 0 8-0.704 12.032v4.032l-87.552-1.92h-3.328l-41.792-4.736c-17.472-1.408-31.616 6.72-32.96 17.536l-0.64 4.032a15.808 15.808 0 0 0 6.016 14.08v0.64c12.864 12.8 33.024 29.632 47.872 43.776 8.064 7.424 14.784 14.144 17.536 18.816v0.64c0.5
19676 0.832 1.28 1.472 1.28 1.472 63.936 70.656 127.168 141.312 190.528 211.392 13.504 14.784 34.304 14.144 47.808 0zM263.488 431.296c31.616 0.704 62.592 1.344 94.208 1.344 11.52 0.704 24.256-6.72 26.304-16.192a211.2 211.2 0 0 0 6.08-53.824 165.248 165.248 0 0 0-12.096-55.872c-14.144-35.008-39.104-65.92-68.032-93.568-28.928-26.944-63.296-49.856-98.304-70.72-1.984-1.344-4.032-1.984-6.144-3.392 2.048 0 4.096 0 6.08 0.704 18.944 1.344 45.824 6.08 68.736 11.456 10.752 1.92 21.568 4.672 32.32 8 4.672 1.408 10.048 2.688 14.784 4.736 2.688 0.64 5.376 1.408 7.36 2.048 1.344 0.64 2.688 0.64 4.032 1.28 0.704 0 1.344 0.704 2.048 0.704 20.16 7.424 39.68 16.128 57.856 25.6 18.944 10.176 31.04 18.88 48.512 32.32 7.424 6.08 14.784 12.8 21.568 18.816 1.344 2.048 3.328 3.392 4.736 5.376 0.64 0 0.64 0.704 0.64 0.704 0.64 0 0.64 0.64 1.344 1.344 4.032 4.032 7.36 8 10.752 12.8 5.376 7.424 10.752 14.784 15.488 22.208 6.08 10.752 8.768 15.552 13.44 25.6 8.064 18.816 15.488 37.696 19.52 57.28v1.344c0 1.344 0.64 3.328 0.64 4.672 0 4.032 0.64 8.064 0.64 12.096l2.048 21.568c2.112 12.096 11.52 22.272 27.712 22.272h85.504c-32.256 35.008-63.232 69.312-94.912 103.68-33.728 36.288-66.688 72.704-100.288 108.992-64.064-71.36-128.64-142.016-192.576-213.376z"}),(0,t.jsx)("path",{d:"M702.016 129.984H960v68.032h-257.984z","p-id":"5545"}
196),(0,t.jsx)("path",{d:"M896 192h64v768h-64zM64 896h832v64H64zM64 576h64v320H64z","p-id":"5546"})]}),Si=(0,t.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1","p-id":"1344",width:"152",height:"152",children:[(0,t.jsx)("path",{d:"M188.631579 975.494737L21.557895 361.094737 512 43.115789l490.442105 317.978948-167.073684 619.789474-646.736842-5.389474z m-102.4-592.842105l145.515789 538.947368h560.505264l145.515789-538.947368L512 107.789474 86.231579 382.652632z"}),(0,t.jsx)("path",{d:"M296.421053 824.589474L183.242105 409.6l328.757895-215.578947 328.757895 210.189473-107.789474 414.989474-436.547368 5.389474zM247.915789 431.157895l91.621053 334.147368h350.31579L776.084211 431.157895 512 258.694737 247.915789 431.157895z"}),(0,t.jsx)("path",{d:"M210.189474 975.494737c-5.389474 0-10.778947 0-16.168421-5.389474-10.778947-10.778947-16.168421-26.947368-5.389474-37.726316l301.810526-404.210526c10.778947-10.778947 26.947368-16.168421 37.726316-5.389474 10.778947 10.778947 16.168421 26.947368 5.389474 37.726316l-301.810527 404.210526c-5.389474 10.778947-10.778947 10.778947-21.557894 10.778948z"}),(0,t.jsx)("path",{d:"M512 560.505263h-10.778947l-458.105264-161.68421C32.336842 393.431579 21.557895 377.263158 26.947368 361.094737c5.389474-16.168421 21.557895-21.557895 32.336843-16.168421l458.105263 161.68421c16.168421 5.389474 21.557895 21.557895 16.168421 32.336842 0 16.168421-10.778947 21.557895-21.557895 21.557895z"}),(0,t.jsx)("path",{d:"M512 571.284211c-16.168421 0-26.947368-10.778947-26.947368-26.947369V75.452632c0-16.168421 10.778947-26.947368 26.947368-26.947369s26.947368 10.778947 26.947368 26.947369v468.88421c0 16.168421-10.778947 26.947368-26.947368 26.947369z"}),(0,t.jsx)("path",{d:"M512 560.505263c-10.778947 0-21.557895-5.389474-26.947368-16.168421-5.389474-16.168421 0-26.947368 16.168421-32.336842l452.715789-172.463158c16.168421-5.389474 26.947368 0 32.336842 16.168421 5.389474 16.168421 0 26.947368-16.168421 32.336842l-452.715789 172.463158h-5.389474z"}),(0,t.jsx)("path",{d:"M808.421053 975.494737c-10.778947 0-16.168421-5.389474-21.557895-10.778948l-296.421053-414.989473c-10.778947-10.778947-5.389474-26.947368 5.389474-37.726316 10.778947-10.778947 26.947368-5.389474 37.726316 5.389474l296.421052 414.989473c10.778947 10.778947 5.389474 26.947368-5.389473 37.726316-5.389474 5.389474-10.778947 5.389474-16.168421 5.389474z"})]}),Ai=(0,t.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",width:"152",height:"152",children:(0,t.jsx)("path",{d:"M218.316 307.727h87.886v205.06h-29.297v29.295h117.179v-29.294H364.79V307.727h87.882v29.293h29.294v-87.882H189.022v87.882h29.294v-29.293z m322.242 58.59h292.945v58.588H540.558v-58.588z m0 117.177h292.945v58.588H540.558v-58.588z m-351.536 117.18h644.481v58.588h-644.48v-58.587z m0 117.176h644.481v58.588h-644.48V717.85z m351.536-4
19668.713h292.945v58.589H540.558v-58.589z m420.923 713.13H61.045V63.309h900.436v898.958z m-864.62-35.816h828.804V99.125H96.861V926.45z"})}),v0=i(76826),i1=(0,v0.JH)();i1.registerDesignerIcons(St);var Ut=(0,Bt.Pi)(function(u){var r,d,v,m=u.size||"1em",E=((r=u.style)===null||r===void 0?void 0:r.height)||m,M=((d=u.style)===null||d===void 0?void 0:d.width)||m,T=(0,Oe.AK)("icon"),O=function W(te){if(typeof te=="string"){var he=i1.getDesignerIcon(te);return he?W(he):(0,t.jsx)(t.Fragment,{})}else if(le.isValidElement(te))return te.type==="svg"?le.cloneElement(te,{height:E,width:M,fill:"currentColor",viewBox:te.props.viewBox,focusable:"false","aria-hidden":"true"}):(0,t.jsx)("svg",{viewBox:te.props.viewBox||"0 0 1024 1024",height:E,width:M,fill:"currentColor",focusable:"false","aria-hidden":"true",children:te})},I=function(te){var he=u.tooltip,je=u.tooltipPlacement,ge=je===void 0?"top":je;return he?(0,t.jsx)(o.Z,{title:he,placement:ge,children:te}):te};return I((0,t.jsx)("span",(0,D.Z)((0,D.Z)({},u),{},{className:it()(T,u.className),style:(0,D.Z)({cursor:u.onClick?"pointer":(v=u.style)===null||v===void 0?void 0:v.cursor},u.style),children:O(u.infer)})))}),a1=i(91701),Et=function(){var r=(0,Oe.jE)(),d=r.operation,v=r.mode,m=v==="survey"?He:G;return(0,t.jsx)("div",{className:"question-type",children:(0,t.jsx)("div",{children:Object.keys(m).map(function(E,M){return(0,t.jsxs)("dl",{className:"menu-group",children:[(0,t.jsx)("dt",{className:"menu-group-title",children:E}),(0,t.jsx)(Hi,{behaviour:"copy",groupName:"1",getChildPayload:function(O){return{type:m[E][O].type,name:m[E][O].name}},onDrop:function(O){console.log(O)},children:m[E].map(function(T,O){return(0,t.jsx)(Vi,{children:(0,t.jsx)("dd",{children:(0,t.jsxs)(Le.L,{item:T,className:"menu-group-item",onClick:function(){T.name?d.addNodeWithTemplate(a1.n[T.name]):d.addNode(T.type)},children:[(0,t.jsx)(Ut,{infer:"Menu".concat(T.name||T.type),className:"itemIcon"}),T.title]})},T.name||T.type)},T.name||T.type)})})]},E)})})})},Jt=i(57338),Ln=i(273),h0=i(3980),Ct=i(9761),Bi=(0,v0.JH)();function Zn(u,r){u.type!=="Survey"&&(u.type==="QuestionSet"?r.questionSet=u.index+1:u.type===void 0||u.type==="Option"?r.option=u.index+1:u.type&&(r.question=u.index+1),u.parent&&Zn(u.parent,r))}var on=(0,Ct.Pi)(function(){var u,r=(0,le.useContext)(v0.rU),d=r.operation,v=r.getContainer,m=d.focusNode,E=(0,h0.dD)();if(!m)return(0,t.jsx)(t.Fragment,{});var M=m.type,T="\u95EE\u5377\u8BBE\u7F6E",O="survey",I={};switch(Zn(m,I),m.type){case"Pagination":T="\u5206\u9875\u8BBE\u7F6E";break;case"Remark":T="\u6587\u5B57\u63CF\u8FF0";break;case"Survey":break;case"QuestionSet":O="questionSet",T="\u9898\u7EC4 ".concat(I.questionSet," \u8BBE\u7F6E");break;case"Option":case void 0:O="option",T="Q".concat(I.questionSet?"".concat(I.questionSet,"-").concat(I.question):I.question," \u9009\u9879").concat(I.option,"\u8BBE\u7F6E"),M=(u=m.parent)===null||u===void 0?void 0:u.type;break;default:O="question",T="Q".concat(I.questionSet?"".concat(I.questionSet,"-").concat(I.question):I.question," \u95EE\u9898\u8BBE\u7F6E");break}var W=function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"drawerTitle",children:(0,t.jsx)("span",{className:"",children:T})}),(0,t.jsx)(T1.R,{form:m.form,children:(0,t.jsx)(Ct.Wo,{name:"attribute",children:M&&le.createElement(Bi.questionSettings[M],{settingType:O})})},m.id)]})};return E?(0,t.jsx)(t.Fragment,{children:W()}):(0,t.jsx)(Ln.Z,{open:!!m,width:260,push:!1,mask:!1,placement:"right",autoFocus:!1,closable:!1,title:!1,getContainer:v,className:it()("customDrawer","setting-drawer"),children:W()})},{forwardRef:!0}),Z0=i(76629),r1=(0,Ct.Pi)(function(u){var r=u.node,d=u.size,v=d===void 0?240:d,m=r||(0,Oe.AR)(),E=(0,h0.dD)();return m.children.length>0?(0,t.jsx)(t.Fragment,{}):E?(0,t.jsx)("div",{className:"blank-div",children:(0,t.jsxs)("div",{className:"help",children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:["\u70B9\u51FB",(0,t.jsx)(Z0.Z,{style:{fontSize:20,margin:"0 10px"}}),"\u9009\u62E9\u9898\u578B\u70B9\u51FB\u6DFB\u52A0\u81F3\u6B64\u533A\u57DF"]}),(0,t.jsx)("div",{style:{fontSize:12},children:"(\u6240\u6709\u6587\u5B57\u63CF\u8FF0\u652F\u6301\u5BCC\u6587\u672C\u8F93\u5165)"})]})}):(0,t.jsxs)("div",{className:"blank-div",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(Ut,{infer:"DragSourceAnimation",size:v}),(0,t.jsx)(Ut,{infer:"BatchDragAnimation",size:v})]}),(0,t.jsxs)("div",{className:"help",children:["\u70B9\u51FB\u6216\u8005\u62D6\u62FD\u628A\u9898\u578B\u62D6\u5165\u6B64\u533A\u57DF",(0,t.jsx)("div",{style:{fontSize:12},children:"(\u6240\u6709\u6587\u5B57\u63CF\u8FF0\u652F\u6301\u5BCC\u6587\u672C\u8F93\u5165)"})]})]})}),Mi=i(13062),o0=i(71230),ln=i(93224),Xn=i(69610),Li=i(54941),Dn=i(3372),jn=i(43028),qn=i(15818),S0="smooth-dnd-container-instance",q1="@@smooth-dnd-default-group@@",p0="smooth-dnd-draggable-wrapper",o1="smooth-dnd-default-grap-handle",J0="animated",un="__smooth_dnd_draggable_translation_value",sn="__smooth_dnd_draggable_visibility_value",D0="smooth-dnd-ghost",A0="smooth-dnd-container",Zi="smooth-dnd-extra-size-for-insertion",X0="smooth-dnd-stretcher-element",q0="smooth-dnd-stretcher-instance",_n="smoth-dnd-is-draggable-detached",k0="smooth-dnd-disable-touch-action",U0="smooth-dnd-no-user-select",Nn="smooth-dnd-prevent-auto-scroll-class",ei="smooth-dnd-drop-preview-default-class",cn="smooth-dnd-drop-preview-inner-class",Tn="smooth-dnd-drop-preview-constant-class",dn="smooth-dnd-drop-preview-flex-container-class",_0={groupName:void 0,behaviour:"move",orientation:"vertical",getChildPayload:void 0,animationDuration:250,autoScrollEnabled:!0,shouldAcceptDrop:void 0,shouldAnimateDrop:void 0},j0;(function(u){u.x="x",u.y="y",u.xy="xy"})(j0||(j0={}));var ti=function(r,d){return{left:Math.max(r.left,d.left),top:Math.max(r.top,d.top),right:Math.min(r.right,d.right),bottom:Math.min(r.bottom,d.bottom)}},wn=function(r,d,v){return v==="x"?{left:Math.max(r.left,d.left),top:r.top,right:Math.min(r.right,d.right),bottom:r.bottom}:{left:r.left,top:Math.max(r.top,d.top),right:r.right,bottom:Math.min(r.bottom,d.bottom)}},In=function(r){var d=r.getBoundingClientRect(),v={left:d.left,right:d.right,top:d.top,bottom:d.bottom};
196if(x0(r,"x")&&!zn(r,"x")){var m=v.right-v.left;v.right=v.right+r.scrollWidth-m}if(x0(r,"y")&&!zn(r,"y")){var E=v.bottom-v.top;v.bottom=v.bottom+r.scrollHeight-E}return v},ni=function(r){var d=window.getComputedStyle(r),v=d.overflow,m=v==="auto"||v==="scroll";if(m)return j0.xy;var E=d["overflow-x"],M=E==="auto"||E==="scroll",T=d["overflow-y"],O=T==="auto"||T==="scroll";return M&&O?j0.xy:M?j0.x:O?j0.y:null},yn=function(r,d){var v=window.getComputedStyle(r),m=v.overflow,E=v["overflow-".concat(d)],M=m==="auto"||m==="scroll",T=E==="auto"||E==="scroll";return M||T},zn=function(r,d){var v=window.getComputedStyle(r),m=v.overflow,E=v["overflow-".concat(d)],M=m==="auto"||m==="scroll"||m==="hidden",T=E==="auto"||E==="scroll"||E==="hidden";return M||T},x0=function(r,d){return d==="x"?r.scrollWidth>r.clientWidth:r.scrollHeight>r.clientHeight},Di=function(r,d){return x0(r,d)&&yn(r,d)},ii=function(r,d){var v=r,m=d||In(r);for(v=r.parentElement;v;)x0(v,"x")&&zn(v,"x")&&(m=wn(m,v.getBoundingClientRect(),"x")),x0(v,"y")&&zn(v,"y")&&(m=wn(m,v.getBoundingClientRect(),"y")),v=v.parentElement;return m},_1=function(r,d){for(var v=r;v;){if(v[S0]){var m=function(){var E=v[S0];if(d.some(function(M){return M===E}))return{v:E}}();if(typeof m=="object")return m.v}v=v.parentElement}return null},Ni=function(r,d){var v=[];m();function m(){for(var O=r;O;)(yn(O,"x")||yn(O,"y"))&&v.push(O),O=O.parentElement}function E(){T(),v=null}function M(){v&&(v.forEach(function(O){return O.addEventListener("scroll",d)}),window.addEventListener("scroll",d))}function T(){v&&(v.forEach(function(O){return O.removeEventListener("scroll",d)}),window.removeEventListener("scroll",d))}return{dispose:E,start:M,stop:T}},ai=function(r,d){for(var v=r;v;){if(v===d)return!0;v=v.parentElement}return!1},vn=function(r,d){for(var v=r;v;){if(v.matches(d))return v;v=v.parentElement}return null},kn=function(r,d){return r.className.split(" ").map(function(v){return v}).indexOf(d)>-1},B0=function(r,d){if(r){var v=r.className.split(" ").filter(function(m){return m});v.indexOf(d)===-1&&(v.unshift(d),r.className=v.join(" "))}},bn=function(r,d){if(r){var v=r.className.split(" ").filter(function(m){return m&&m!==d});r.className=v.join(" ")}},ri=function(r,d,v){var m=null;return function(){for(var E=arguments.length,M=new Array(E),T=0;T<E;T++)M[T]=arguments[T];m&&clearTimeout(m),v&&!m?r.call.apply(r,[null].concat(M)):m=setTimeout(function(){m=null,r.call.apply(r,[null].concat(M))},d)}},oi=function(r,d){return r.removeChild(r.children[d])},Ti=function(r,d,v){v>=r.children.length?r.appendChild(d):r.insertBefore(d,r.children[v])},l1=function(){return typeof window!="undefined"?!!(window.navigator.userAgent.match(/Android/i)||window.navigator.userAgent.match(/webOS/i)||window.navigator.userAgent.match(/iPhone/i)||window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPod/i)||window.navigator.userAgent.match(/BlackBerry/i)||window.navigator.userAgent.match(/Windows Phone/i)):!1},li=function(){window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():window.document.selection&&window.document.selection.empty()},j=function(r){if(r){var d=window.getComputedStyle(r);if(d)return d.cursor}return null},s=function(r,d){for(var v=d,m=0;v;){if(v===r)return m;m++,v=v.parentElement}return null};function l(u){return!(u.bottom<=u.top||u.right<=u.left)}function g(u){var r=u.element,d=u.draggables;return function(v,m){var E=v,M=E.removedIndex,T=E.addedIndex,O=E.droppedElement,I=null;if(M!==null&&(I=oi(r,M),d.splice(M,1)),T!==null){var W=window.document.createElement("div");W.className="".concat(p0),W.appendChild(I&&I.firstElementChild?I.firstElementChild:O),Ti(r,W,T),T>=d.length?d.push(W):d.splice(T,0,W)}m&&m(v)}}function f(){var u=function(){return function(d,v){v&&v(d)}};return{handler:u}}var A={size:"offsetWidth",distanceToParent:"offsetLeft",translate:"transform",begin:"left",end:"right",dragPosition:"x",scrollSize:"scrollWidth",offsetSize:"offsetWidth",scrollValue:"scrollLeft",scale:"scaleX",setSize:"width",setters:{translate:function(r){return"translate3d(".concat(r,"px, 0, 0)")}}},V={size:"offsetHeight",distanceToParent:"offsetTop",translate:"transform",begin:"top",end:"bottom",dragPosition:"y",scrollSize:"scrollHeight",offsetSize:"offsetHeight",scrollValue:"scrollTop",scale:"scaleY",setSize:"height",setters:{translate:function(r){return"translate3d(0,".concat(r,"px, 0)")}}};function P(u){function r(v,m){var E=u[m];return v[E||m]}
196function d(v,m,E){v[u[m]]=u.setters[m]?u.setters[m](E):E}return{get:r,set:d}}function R(u,r,d){u[Zi]=0;var v=r==="horizontal"?A:V,m=P(v),E={translation:0};window.addEventListener("resize",function(){T(u)}),setTimeout(function(){M()},10);function M(){T(u),O(u)}function T(Ne){E.rect=In(Ne);var Te=ii(Ne,E.rect);l(Te)&&(E.lastVisibleRect=E.visibleRect),E.visibleRect=Te}function O(Ne){var Te=Ne.getBoundingClientRect();E.scaleX=Ne.offsetWidth?(Te.right-Te.left)/Ne.offsetWidth:1,E.scaleY=Ne.offsetHeight?(Te.bottom-Te.top)/Ne.offsetHeight:1}function I(){return{rect:E.rect,visibleRect:E.visibleRect,lastVisibleRect:E.lastVisibleRect}}function W(Ne){return{begin:m.get(Ne,"begin"),end:m.get(Ne,"end")}}function te(){var Ne=m.get(E.rect,"begin")+E.translation,Te=m.get(E.rect,"end")+E.translation;return{begin:Ne,end:Te}}function he(){var Ne=m.get(E.visibleRect,"begin")+E.translation,Te=m.get(E.visibleRect,"end")+E.translation;return{begin:Ne,end:Te}}function je(Ne){var Te=Ne;if(Te.tagName){var tt=Te.getBoundingClientRect();return r==="vertical"?tt.bottom-tt.top:tt.right-tt.left}return m.get(Ne,"size")*m.get(E,"scale")}function ge(Ne){var Te=m.get(Ne,"distanceToParent")+(Ne[un]||0);return Te*m.get(E,"scale")}function Ie(Ne){var Te=ge(Ne)+(m.get(E.rect,"begin")+E.translation)-m.get(u,"scrollValue");return{begin:Te,end:Te+je(Ne)*m.get(E,"scale")}}function Ke(Ne,Te){m.set(Ne,"setSize",Te)}function ye(Ne){return m.get(Ne,"dragPosition")}function Qe(Ne,Te){Te?m.set(Ne.style,"translate",Te):Ne.style.removeProperty("transform"),Ne[un]=Te}function lt(Ne){return Ne[un]}function qe(Ne,Te){(Ne[sn]===void 0||Ne[sn]!==Te)&&(Te?Ne.style.removeProperty("visibility"):Ne.style.visibility="hidden",Ne[sn]=Te)}function We(Ne){return Ne[sn]===void 0||Ne[sn]}function e0(Ne,Te){var tt=E.visibleRect,Wt=tt.left,d0=tt.top,An=tt.right,b0=tt.bottom;b0-d0<2&&(b0=d0+30);var R0=E.rect;return r==="vertical"?Ne>R0.left&&Ne<R0.right&&Te>d0&&Te<b0:Ne>Wt&&Ne<An&&Te>R0.top&&Te<R0.bottom}function I0(Ne){var Te=0,tt=0;return r==="horizontal"?(tt=Ne,Te=E.rect.top):(tt=E.rect.left,Te=Ne),{top:Te,left:tt}}function Qn(Ne){return m.get(Ne,"scrollSize")}function xi(Ne){return m.get(Ne,"scrollValue")}function gi(Ne,Te){return m.set(Ne,"scrollValue",Te)}function Ci(Ne){return ye(Ne)}function Wn(){T(u)}function _i(Ne,Te){m.set(Ne,"begin",Te)}return{getSize:je,getContainerRectangles:I,getBeginEndOfDOMRect:W,getBeginEndOfContainer:te,getBeginEndOfContainerVisibleRect:he,getBeginEnd:Ie,getAxisValue:ye,setTranslation:Qe,getTranslation:lt,setVisibility:qe,isVisible:We,isInVisibleRect:e0,setSize:Ke,getTopLeftOfElementBegin:I0,getScrollSize:Qn,getScrollValue:xi,setScrollValue:gi,invalidate:M,invalidateRects:Wn,getPosition:Ci,setBegin:_i}}var $=i(83279),U=1500;function Y(u,r,d){var v=d.left,m=d.right,E=d.top,M=d.bottom,T=u.x,O=u.y;if(T<v||T>m||O<E||O>M)return null;var I,W,te;r==="x"?(I=v,W=m,te=T):(I=E,W=M,te=O);var he=W-I,je=he>400?100:he/4;return W-te<je?{direction:"end",speedFactor:(je-(W-te))/je}:te-I<je?{direction:"begin",speedFactor:(je-(te-I))/je}:null}function K(u,r,d){u&&(u!==window?r==="x"?u.scrollLeft+=d:u.scrollTop+=d:r==="x"?u.scrollBy(d,0):u.scrollBy(0,d))}var J=function(r){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",v=null,m=null,E=null,M=null;function T(W,te){E=W,M=te,O()}function O(){v===null&&(v=requestAnimationFrame(function(W){m===null&&(m=W);var te=W-m;m=W;var he=te/1e3*M;he=E==="begin"?0-he:he,K(r,d,he),v=null,O()}))}function I(){v!==null&&(cancelAnimationFrame(v),v=null),m=null}return{animate:T,stop:I}};function q(u){return function(){return ii(u,u.getBoundingClientRect())}}function X(u){for(var r=[],d=u.element;d;){var v=ni(d);if(v&&!kn(d,Nn)){var m={};switch(v){case j0.xy:m.x={animator:J(d,"x")},m.y={animator:J(d,"y")};break;case j0.x:m.x={animator:J(d,"x")};break;case j0.y:m.y={animator:J(d,"y")};break;default:}r.push({axisAnimations:m,getRect:q(d),scrollerElement:d})}d=d.parentElement}return r}function re(u,r){u.forEach(function(d){var v=d.axisAnimations,m=d.getRect,E=m();v.x&&(v.x.scrollParams=Y(r,"x",E),d.cachedRect=E),v.y&&(v.y.scrollParams=Y(r,"y",E),d.cachedRect=E)})}function Ee(u,r){for(var d=document.elementFromPoint(r.x,r.y);d;){var v=u.find(function(m){return m.scrollerElement===d});if(v)return v;d=d.parentElement}return null}var xe=function(u){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U,d=u.reduce(function(v,m){var E=X(m).filter(function(M){return!v.find(function(T){return T.
196scrollerElement===M.scrollerElement})});return[].concat((0,$.Z)(v),(0,$.Z)(E))},[]);return function(v){var m=v.draggableInfo,E=v.reset;if(E){d.forEach(function(O){O.axisAnimations.x&&O.axisAnimations.x.animator.stop(),O.axisAnimations.y&&O.axisAnimations.y.animator.stop()});return}if(m){re(d,m.mousePosition),d.forEach(function(O){var I=O.axisAnimations,W=I.x,te=I.y;if(W)if(W.scrollParams){var he=W.scrollParams,je=he.direction,ge=he.speedFactor;W.animator.animate(je,ge*r)}else W.animator.stop();if(te)if(te.scrollParams){var Ie=te.scrollParams,Ke=Ie.direction,ye=Ie.speedFactor;te.animator.animate(Ke,ye*r)}else te.animator.stop()});var M=d.filter(function(O){return O.cachedRect});if(M.length&&M.length>1){var T=Ee(M,m.mousePosition);T&&M.forEach(function(O){O!==T&&(O.axisAnimations.x&&O.axisAnimations.x.animator.stop(),O.axisAnimations.y&&O.axisAnimations.y.animator.stop())})}}}};function Ze(){(function(u){u&&u.prototype&&!u.prototype.matches&&(u.prototype.matches=u.prototype.matchesSelector||u.prototype.mozMatchesSelector||u.prototype.msMatchesSelector||u.prototype.oMatchesSelector||u.prototype.webkitMatchesSelector||function(r){for(var d=(this.document||this.ownerDocument).querySelectorAll(r),v=d.length;--v>=0&&d.item(v)!==this;);return v>-1})})(Element),function(u){u&&u.prototype&&u.prototype.firstElementChild==null&&Object.defineProperty(u.prototype,"firstElementChild",{get:function(){for(var d,v=this.childNodes,m=0;d=v[m++];)if(d.nodeType===1)return d;return null}})}(Node||Element),Array.prototype.some||(Array.prototype.some=function(u){"use strict";if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof u!="function")throw new TypeError;for(var r=Object(this),d=r.length>>>0,v=arguments.length>=2?arguments[1]:void 0,m=0;m<d;m++)if(m in r&&u.call(v,r[m],m,r))return!0;return!1})}typeof window!="undefined"&&Ze();var be=i(32059),De,Xe={overflow:"hidden",display:"block"},mt={height:"100%",display:"table-cell","vertical-align":"top"},bt={display:"inline-block"},Ue=(De={},(0,be.Z)(De,".".concat(A0),{position:"relative","min-height":"30px","min-width":"30px"}),(0,be.Z)(De,".".concat(A0,".horizontal"),{display:"table"}),(0,be.Z)(De,".".concat(A0,".horizontal > .").concat(X0),bt),(0,be.Z)(De,".".concat(A0,".horizontal > .").concat(p0),mt),(0,be.Z)(De,".".concat(A0,".vertical > .").concat(p0),Xe),(0,be.Z)(De,".".concat(p0),{"box-sizing":"border-box"}),(0,be.Z)(De,".".concat(p0,".horizontal"),mt),(0,be.Z)(De,".".concat(p0,".vertical"),Xe),(0,be.Z)(De,".".concat(p0,".animated"),{transition:"transform ease"}),(0,be.Z)(De,".".concat(D0),{"box-sizing":"border-box"}),(0,be.Z)(De,".".concat(D0,".animated"),{transition:"all ease-in-out"}),(0,be.Z)(De,".".concat(D0," *"),{"pointer-events":"none"}),(0,be.Z)(De,".".concat(k0," *"),{"touch-action":"none","-ms-touch-action":"none"}),(0,be.Z)(De,".".concat(U0),{"-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"}),(0,be.Z)(De,".".concat(cn),{flex:"1"}),(0,be.Z)(De,".".concat(A0,".horizontal > .").concat(Tn),{height:"100%",overflow:"hidden",display:"table-cell","vertical-align":"top"}),(0,be.Z)(De,".".concat(A0,".vertical > .").concat(Tn),{overflow:"hidden",display:"block",width:"100%"}),(0,be.Z)(De,".".concat(dn),{width:"100%",height:"100%",display:"flex","justify-content":"stretch","align-items":"stretch"}),(0,be.Z)(De,".".concat(ei),{"background-color":"rgba(150, 150, 150, 0.1)",border:"1px solid #ccc"}),De);function at(u){return Object.keys(u).reduce(function(r,d){var v=u[d];return typeof v=="object"?"".concat(r).concat(d,"{").concat(at(v),"}"):"".concat(r).concat(d,":").concat(v,";")},"")}function xt(){if(typeof window!="undefined"){var u=window.document.head||window.document.getElementsByTagName("head")[0],r=window.document.createElement("style");r.id="smooth-dnd-style-definitions";var d=at(Ue);r.type="text/css",r.styleSheet?r.styleSheet.cssText=d:r.appendChild(window.document.createTextNode(d)),u.appendChild(r)}}function et(u){if(u&&typeof window!="undefined"){var r=window.document.head||window.document.getElementsByTagName("head")[0],d=window.document.createElement("style"),v=at({"body *":{cursor:"".concat(u," !important")}});return d.type="text/css",d.styleSheet?d.styleSheet.cssText=v:d.appendChild(window.document.createTextNode(v)),r.appendChild(d),d}return null}function Xt(u){if(u&&typeof window!="undefined"){var r=window.document.head||window.document.getElementsByTagName("head")[0];r.removeChild(u)}}var l0=["mousedown","touchstart"],s0=["mousemove","touchmove"],i0=["mouseup","touchend"],Ft=null,a0=null,pt=null,Ge=null,N0=[],en=!1,ui=!1,P0=!1,tn=!1,nn=null,T0=null,Pn=null,Rn=null,u1=xr(),ea=l1();function ta(){typeof window!="undefined"&&na()}
196function na(){l0.forEach(function(u){window.document.addEventListener(u,Ii,{passive:!1})})}function pr(){s0.forEach(function(u){window.document.addEventListener(u,c1,{passive:!1})})}function ia(){s0.forEach(function(u){window.document.removeEventListener(u,c1,{passive:!1})})}function aa(){i0.forEach(function(u){window.document.addEventListener(u,ki,{passive:!1})})}function ra(){i0.forEach(function(u){window.document.removeEventListener(u,ki,{passive:!1})})}function s1(){return Ge&&Ge.ghostParent?Ge.ghostParent:a0&&a0.parentElement||window.document.body}function oa(u,r,d,v){var m=r.x,E=r.y,M=u.getBoundingClientRect(),T=M.left,O=M.top,I=M.right,W=M.bottom,te=ti(d.layout.getContainerRectangles().visibleRect,M),he=te.left+(te.right-te.left)/2,je=te.top+(te.bottom-te.top)/2,ge=u.cloneNode(!0);return ge.style.zIndex="1000",ge.style.boxSizing="border-box",ge.style.position="fixed",ge.style.top="0px",ge.style.left="0px",ge.style.removeProperty("transform"),d.shouldUseTransformForGhost()?ge.style.transform="translate3d(".concat(T,"px, ").concat(O,"px, 0)"):(ge.style.top="".concat(O,"px"),ge.style.left="".concat(T,"px")),ge.style.width=I-T+"px",ge.style.height=W-O+"px",ge.style.overflow="visible",ge.style.transition=null,ge.style.removeProperty("transition"),ge.style.pointerEvents="none",ge.style.userSelect="none",d.getOptions().dragClass?setTimeout(function(){B0(ge.firstElementChild,d.getOptions().dragClass);var Ie=window.getComputedStyle(ge.firstElementChild).cursor;Rn=et(Ie)}):Rn=et(v),B0(ge,d.getOptions().orientation||"vertical"),B0(ge,D0),{ghost:ge,centerDelta:{x:he-m,y:je-E},positionDelta:{left:T-m,top:O-E},topLeft:{x:T,y:O}}}function la(u){var r=N0.filter(function(E){return u.parentElement===E.element})[0],d=r.draggables.indexOf(u),v=r.getOptions().getGhostParent,m=u.getBoundingClientRect();return{container:r,element:u,size:{offsetHeight:m.bottom-m.top,offsetWidth:m.right-m.left},elementIndex:d,payload:r.getOptions().getChildPayload?r.getOptions().getChildPayload(d):void 0,targetElement:null,position:{x:0,y:0},groupName:r.getOptions().groupName,ghostParent:v?v():null,invalidateShadow:null,mousePosition:null,relevantContainers:null}}function ua(u){function r(){bn(pt.ghost,"animated"),pt.ghost.style.transitionDuration=null,s1().removeChild(pt.ghost),u()}function d(ye,Qe,lt){var qe=ye.top,We=ye.left;B0(pt.ghost,"animated"),lt&&B0(pt.ghost.firstElementChild,lt),pt.topLeft.x=We,pt.topLeft.y=qe,Ri(Qe),setTimeout(function(){r()},Qe+20)}function v(ye){return ye.shouldAnimateDrop?ye.shouldAnimateDrop(Ge.container.getOptions(),Ge.payload):!0}function m(ye,Qe){B0(pt.ghost,"animated"),Ri(ye,.9,!0),setTimeout(function(){Qe()},ye+20)}if(Ge.targetElement){var E=N0.filter(function(ye){return ye.element===Ge.targetElement})[0];if(v(E.getOptions())){var M=E.getDragResult();d(M.shadowBeginEnd.rect,Math.max(150,E.getOptions().animationDuration/2),E.getOptions().dropClass)}else r()}else{var T=N0.filter(function(ye){return ye===Ge.container})[0];if(T){var O=T.getOptions(),I=O.behaviour,W=O.removeOnDropOut;if((I==="move"||I==="contain")&&(ui||!W)&&T.getDragResult()){var te=T.layout.getContainerRectangles();if(!l(te.visibleRect)&&l(te.lastVisibleRect))d({top:te.lastVisibleRect.top,left:te.lastVisibleRect.left},T.getOptions().animationDuration,T.getOptions().dropClass);else{var he=T.getDragResult(),je=he.removedIndex,ge=he.elementSize,Ie=T.layout;T.getTranslateCalculator({dragResult:{removedIndex:je,addedIndex:je,elementSize:ge,pos:void 0,shadowBeginEnd:void 0}});var Ke=je>0?Ie.getBeginEnd(T.draggables[je-1]).end:Ie.getBeginEndOfContainer().begin;d(Ie.getTopLeftOfElementBegin(Ke),T.getOptions().animationDuration,T.getOptions().dropClass)}}else m(T.getOptions().animationDuration,r)}else m(_0.animationDuration,r)}}var wi=function(){var r,d,v,m=null,E=1,M=5;function T(je){var ge=si(je),Ie=ge.clientX,Ke=ge.clientY;if(d)(Math.abs(r.clientX-Ie)>M||Math.abs(r.clientY-Ke)>M)&&te();else if(Math.abs(r.clientX-Ie)>E||Math.abs(r.clientY-Ke)>E)return he()}function O(){te()}function I(){te()}function W(){d&&(m=setTimeout(he,d)),s0.forEach(function(je){return window.document.addEventListener(je,T)},{passive:!1}),i0.forEach(function(je){return window.document.addEventListener(je,O)},{passive:!1}),window.document.addEventListener("drag",I,{passive:!1})}function te(){clearTimeout(m),s0.forEach(function(je){return window.document.removeEventListener(je,T)},{passive:!1}),i0.forEach(function(je){return window.document.removeEventListener(je,O)},{passive:!1}),window.document.removeEventListener("drag",I,{passive:!1})}function he(){clearTimeout(m),te(),v()}return function(je,ge,Ie){r=si(je),d=typeof ge=="number"?ge:ea?200:0,v=Ie,W()}}();function Ii(u){var r=si(u);if(!en&&(r.button===void 0||r.button===0)&&(a0=vn(r.target,"."+p0),a0)){var d=vn(a0,"."+A0),v=N0.filter(function(O){return O.element===d})[0],m=v==null?void 0:v.getOptions().dragHandleSelector,E=v==null?void 0:v.getOptions().nonDragAreaSelector,M=!0;if(m&&!vn(r.target,m)&&(M=!1),E&&vn(r.target,E)&&(M=!1),M){v==null||v.layout.invalidate(),B0(window.document.body,k0),B0(window.document.body,U0);var T=function O(){bn(window.document.body,k0),bn(window.document.body,U0),window.document.removeEventListener("mouseup",O)};window.document.addEventListener("mouseup",T)}M&&wi(r,v==null?void 0:v.getOptions().dragBeginDelay,function(){li(),f1(r,j(u.target)),pr(),aa()})}}function zi(u){var r=u.clientX,d=u.clientY,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"vertical",m=Ge.container.layout.getBeginEndOfContainerVisibleRect(),E,M,T,O;v==="vertical"?(E=d,M="y",T="top",O=Ge.size.offsetHeight):(E=r,M="x",T="left",O=Ge.size.offsetWidth);var I=m.begin,W=m.end-O,te=Math.max(I,Math.min(W,E+pt.positionDelta[T]));pt.topLeft[M]=te,Ge.position[M]=Math.max(m.begin,Math.min(m.end,E+pt.centerDelta[M])),Ge.mousePosition[M]=Math.max(m.begin,Math.min(m.end,E)),Ge.position[M]<m.begin+O/2&&(Ge.position[M]=m.begin+2),Ge.position[M]>m.end-O/2&&(Ge.position[M]=m.end-2)}function c1(u){u.preventDefault();var r=si(u);if(!Ge)f1(r,j(u.target));else{var d=Ge.container.getOptions(),v=d.behaviour==="contain";v?zi(r,d.orientation):Pn?Pn==="y"?(pt.topLeft.y=r.clientY+pt.positionDelta.top,Ge.position.y=r.clientY+pt.centerDelta.y,Ge.mousePosition.y=r.clientY):Pn==="x"&&(pt.topLeft.x=r.clientX+pt.positionDelta.left,Ge.position.x=r.clientX+pt.centerDelta.x,Ge.mousePosition.x=r.clientX):(pt.topLeft.x=r.clientX+pt.positionDelta.left,pt.topLeft.y=r.clientY+pt.positionDelta.top,Ge.position.x=r.clientX+pt.centerDelta.x,Ge.position.y=r.clientY+pt.centerDelta.y,Ge.mousePosition.x=r.clientX,Ge.mousePosition.y=r.clientY),Ri(),nn(Ge)?tn=!1:tn=!0,tn&&sa()}}var sa=ri(d1,20,!1);function d1(){tn&&(tn=!1,v1(Ge,Ft))}function ki(){ia(),ra(),T0({reset:!0}),Rn&&(Xt(Rn),Rn=null),Ge&&(u1.stop(),d1(),P0=!0,ua(function(){en=!1,ci(!1);for(var u=Ft||[],r=u.shift();r!==void 0;)r.handleDrop(Ge),r=u.shift();Ft=null,a0=null,pt=null,Ge=null,Pn=null,nn=null,P0=!1}))}function si(u){return u.touches?u.touches[0]:u}function v1(u,r){var d=!1;r.forEach(function(v){var m=v.handleDrag(u);d=!!m.containerBoxChanged||!1,m.containerBoxChanged=!1}
196),d&&(d=!1,requestAnimationFrame(function(){N0.forEach(function(v){v.layout.invalidateRects(),v.onTranslated()})}))}function Pi(u){var r=u,d=null;return function(v){return d===null&&en&&!P0?(d=requestAnimationFrame(function(){en&&!P0&&(v1(v,r),T0({draggableInfo:v})),d=null}),!0):!1}}function h1(u,r){return u.getOptions().autoScrollEnabled?xe(r,u.getScrollMaxSpeed()):function(d){return null}}function ci(u){N0.forEach(function(r){var d=u?r.getOptions().onDragStart:r.getOptions().onDragEnd;if(d){var v={isSource:r===Ge.container,payload:Ge.payload};r.isDragRelevant(Ge.container,Ge.payload)?v.willAcceptDrop=!0:v.willAcceptDrop=!1,d(v)}})}function f1(u,r){if(a0!==null){en=!0;var d=N0.filter(function(v){return a0.parentElement===v.element})[0];d.setDraggables(),Pn=d.getOptions().lockAxis?d.getOptions().lockAxis.toLowerCase():null,Ge=la(a0),pt=oa(a0,{x:u.clientX,y:u.clientY},Ge.container,r),Ge.position={x:u.clientX+pt.centerDelta.x,y:u.clientY+pt.centerDelta.y},Ge.mousePosition={x:u.clientX,y:u.clientY},Ft=N0.filter(function(v){return v.isDragRelevant(d,Ge.payload)}),Ge.relevantContainers=Ft,nn=Pi(Ft),T0&&T0({reset:!0,draggableInfo:void 0}),T0=h1(d,Ft),Ft.forEach(function(v){return v.prepareDrag(v,Ft)}),ci(!0),nn(Ge),s1().appendChild(pt.ghost),u1.start()}}var di=null;function Ri(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,v=pt,m=v.ghost,E=v.topLeft,M=E.x,T=E.y,O=Ge.container?Ge.container.shouldUseTransformForGhost():!0,I=O?"translate3d(".concat(M,"px,").concat(T,"px, 0)"):null;if(r!==1&&(I=I?"".concat(I," scale(").concat(r,")"):"scale(".concat(r,")")),u>0){pt.ghost.style.transitionDuration=u+"ms",requestAnimationFrame(function(){I&&(m.style.transform=I),O||(m.style.left=M+"px",m.style.top=T+"px"),di=null,d&&(m.style.opacity="0")});return}di===null&&(di=requestAnimationFrame(function(){I&&(m.style.transform=I),O||(m.style.left=M+"px",m.style.top=T+"px"),di=null,d&&(m.style.opacity="0")}))}function ca(u){N0.push(u),en&&Ge&&u.isDragRelevant(Ge.container,Ge.payload)&&(Ft.push(u),u.prepareDrag(u,Ft),T0&&T0({reset:!0,draggableInfo:void 0}),T0=h1(u,Ft),nn=Pi(Ft),u.handleDrag(Ge))}function m1(u){if(N0.splice(N0.indexOf(u),1),en&&Ge){Ge.container===u&&u.fireRemoveElement(),Ge.targetElement===u.element&&(Ge.targetElement=null);var r=Ft.indexOf(u);r>-1&&(Ft.splice(r,1),T0&&T0({reset:!0,draggableInfo:void 0}),T0=h1(u,Ft),nn=Pi(Ft))}}function xr(){var u=null,r=!1;function d(){u=requestAnimationFrame(function(){Ft.forEach(function(m){return m.layout.invalidateRects()}),setTimeout(function(){u!==null&&d()},50)})}function v(){u!==null&&(cancelAnimationFrame(u),u=null),r=!1}return{start:function(){r||(r=!0,d())},stop:v}}function On(){if(en&&!ui&&!P0){ui=!0,tn=!1;var u=Object.assign({},Ge,{targetElement:null,position:{x:Number.MAX_SAFE_INTEGER,y:Number.MAX_SAFE_INTEGER},mousePosition:{x:Number.MAX_SAFE_INTEGER,y:Number.MAX_SAFE_INTEGER}});Ft.forEach(function(r){r.handleDrag(u)}),Ge.targetElement=null,Ge.cancelDrop=!0,ki(),ui=!1}}function da(){return ta(),{register:function(r){ca(r)},unregister:function(r){m1(r)},isDragging:function(){return en},cancelDrag:On}}typeof window!="undefined"&&xt();var vi=da();function p1(u,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_0.animationDuration;r?(B0(u,J0),u.style.transitionDuration=d+"ms"):(bn(u,J0),u.style.removeProperty("transition-duration"))}function va(u){var r=u.element,d=u.getOptions;return function(v,m){var E=d();if(E.shouldAcceptDrop)return E.shouldAcceptDrop(v.getOptions(),m);var M=v.getOptions();if(E.behaviour==="copy")return!1;var T=vn(r,"."+p0);return T===v.element?!1:!!(v.element===r||M.groupName&&M.groupName===E.groupName)}}function ha(u){if(Q0.wrapChild){var r=window.document.createElement("div");return r.className="".concat(p0),u.parentElement.insertBefore(r,u),r.appendChild(u),r}return u}function x1(u){var r=[];return Array.prototype.forEach.call(u.children,function(d){if(d.nodeType===Node.ELEMENT_NODE){var v=d;kn(d,p0)||(v=ha(d)),v[un]=0,r.push(v)}else u.removeChild(d)}),r}function fa(u){Q0.wrapChild&&Array.prototype.forEach.call(u.children,function(r){r.nodeType===Node.ELEMENT_NODE&&kn(r,p0)&&(u.insertBefore(r.firstElementChild,r),u.removeChild(r))})}function ma(u){var r=u.layout,d=function v(m,E,M,T){var O=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(T<M)return M;if(M===T){var I=r.getBeginEnd(m[M]),W=I.begin,te=I.end;return O?E<(te+W)/2?M:M+1:M}else{var he=Math.floor((T+M)/2),je=r.getBeginEnd(m[he]),ge=je.begin,Ie=je.end;return E<ge?v(m,E,M,he-1,O):E>Ie?v(m,E,he+1,T,O):O?E<(Ie+ge)/2?he:he+1:he}};return function(v,m){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d(v,m,0,v.length-1,E)}}function pa(u){var r=u.element,d=u.draggables,v=u.layout;return function(){d.forEach(function(m){p1(m,!1),v.setTranslation(m,0),v.setVisibility(m,!0)}),r[q0]&&(r[q0].parentNode.removeChild(r[q0]),r[q0]=null)}}function xa(u,r){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;r&&d?u.targetElement=r:u.targetElement===r&&(u.targetElement=null)}function ga(u){var r=u.element,d=u.draggables,v=u.layout,m=u.getOptions,E=pa({element:r,draggables:d,layout:v,getOptions:m}),M=(Q0.dropHandler||g)({element:r,draggables:d,layout:v,getOptions:m});return function(T,O){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,W=O||{},te=W.addedIndex,he=W.removedIndex,je=W.canDrop;if(E(),!T.cancelDrop&&(T.targetElement||m().removeOnDropOut||I)){var ge=te!==null?he!==null&&he<te?te-1:te:null,Ie={removedIndex:he,addedIndex:ge,payload:T.payload};(je===void 0||je===!0)&&M(Ie,m().onDrop)}}}function Ca(u,r){var d=x1(u),v=r();B0(u,"".concat(A0," ").concat(v.orientation));var m=R(u,v.orientation,v.animationDuration);return{element:u,draggables:d,getOptions:r,layout:m}}function g1(u){var r=u.element,d=u.getOptions,v=null;return function(m){var E=m.draggableInfo,M=v;return v==null&&E.container.element===r&&d().behaviour!=="copy"&&(M=v=E.elementIndex),{removedIndex:M}}}function C1(u){var r=u.draggables,d=u.layout;return function(v){var m=v.dragResult;m.removedIndex!==null&&d.setVisibility(r[m.removedIndex],!1)}}function j1(u){var r=u.element,d=u.layout;return function(v){var m=v.draggableInfo,E=document.elementFromPoint(m.position.x,m.position.y);
196if(E){var M=_1(E,m.relevantContainers);if(M&&M.element===r)return{pos:d.getPosition(m.position)}}return{pos:null}}}function y1(u){var r=u.layout,d=null;return function(v){var m=v.draggableInfo,E=v.dragResult;return E.pos===null?d=null:(d=d||r.getSize(m.size),{elementSize:d})}}function b1(u){var r=u.element;return function(d){var v=d.draggableInfo,m=d.dragResult;xa(v,r,!!m.pos)}}function ja(u){var r=u.draggables,d=u.layout,v=ma({layout:d});return function(m){var E=m.dragResult,M=E.shadowBeginEnd,T=E.pos;if(M){if(M.begin+M.beginAdjustment<=T&&M.end>=T)return null}else{var O=v(r,T,!0);return O!==null?O:r.length}return T<M.begin+M.beginAdjustment?v(r,T):T>M.end?v(r,T)+1:r.length}}function ya(){return function(u){var r=u.dragResult.pos;return r!==null?{addedIndex:0}:{addedIndex:null}}}function ba(u){var r=u.layout,d=null;return function(v){var m=v.dragResult.addedIndex;if(m!==d){d=m;var E=r.getBeginEndOfContainer(),M=E.begin,T=E.end;return{shadowBeginEnd:{rect:r.getTopLeftOfElementBegin(M)}}}return null}}function Ea(u){var r=u.layout,d=u.element,v=u.getOptions,m=null;return function(E){var M=E.dragResult,T=M.elementSize,O=M.shadowBeginEnd,I=M.addedIndex,W=M.dropPlaceholderContainer,te=M.canDrop,he=v();if(he.dropPlaceholder){var je=typeof he.dropPlaceholder=="boolean"?{}:he.dropPlaceholder,ge=je.animationDuration,Ie=je.className,Ke=je.showOnTop,ye=je.errorClassName;if(I!==null){if(!W){var Qe=document.createElement("div"),lt=document.createElement("div");lt.className=dn,Qe.className="".concat(cn," ").concat(Ie||ei),W=document.createElement("div"),W.className="".concat(Tn),W.style.position="absolute",ge!==void 0&&(W.style.transition="all ".concat(ge,"ms ease")),W.appendChild(lt),lt.appendChild(Qe),r.setSize(W.style,T+"px"),W.style.pointerEvents="none",Ke?d.appendChild(W):d.insertBefore(W,d.firstElementChild)}if(W){if(te===!0){var qe,We;ye&&((qe=document.querySelector(".".concat(cn)))===null||qe===void 0||qe.classList.remove(ye)),Ie&&((We=document.querySelector(".".concat(cn)))===null||We===void 0||We.classList.add(Ie))}else if(te===!1){var e0,I0;ye&&((e0=document.querySelector(".".concat(cn)))===null||e0===void 0||e0.classList.add(ye)),Ie&&((I0=document.querySelector(".".concat(cn)))===null||I0===void 0||I0.classList.remove(Ie))}}return m!==I&&O.dropArea&&r.setBegin(W.style,O.dropArea.begin-r.getBeginEndOfContainer().begin+"px"),m=I,{dropPlaceholderContainer:W}}else return W&&m!==null&&d.removeChild(W),m=null,{dropPlaceholderContainer:void 0}}return null}}function Fa(u){var r=F1(u);return function(d){var v=d.draggableInfo,m=d.dragResult;return v.invalidateShadow?r({draggableInfo:v,dragResult:m}):null}}function Sa(u){var r=ja(u);return function(d){var v=d.dragResult,m=null;return v.pos!==null&&(m=r({dragResult:v}),m===null&&(m=v.addedIndex)),{addedIndex:m}}}function Aa(){var u=null;return function(r){var d=r.dragResult,v=d.addedIndex,m=d.shadowBeginEnd;v!==u&&u!==null&&m&&(m.beginAdjustment=0),u=v}}function Ba(u){var r=u.element,d=u.draggables,v=u.layout,m=u.getOptions,E=null;return function(M){var T=M.dragResult,O=T.addedIndex,I=T.removedIndex,W=T.elementSize;if(I===null){if(O!==null){if(!E){var te=v.getBeginEndOfContainer();te.end=te.begin+v.getSize(r);var he=v.getScrollSize(r)>v.getSize(r),je=he?te.begin+v.getScrollSize(r)-v.getScrollValue(r):te.end,ge=d.length>0?v.getBeginEnd(d[d.length-1]).end-d[d.length-1][un]:te.begin;if(ge+W>je){E=window.document.createElement("div"),E.className=X0+" "+m().orientation;var Ie=d.length>0?W+ge-je:W;return v.setSize(E.style,"".concat(Ie,"px")),r.appendChild(E),r[q0]=E,{containerBoxChanged:!0}}}}else if(E){v.setTranslation(E,0);var Ke=E;return E=null,r.removeChild(Ke),r[q0]=null,{containerBoxChanged:!0}}}}}function E1(u){var r=u.draggables,d=u.layout,v=null,m=null;return function(E){var M=E.dragResult,T=M.addedIndex,O=M.removedIndex,I=M.elementSize;if(T!==v||O!==m){for(var W=0;W<r.length;W++)if(W!==O){var te=r[W],he=0;O!==null&&O<W&&(he-=I),T!==null&&T<=W&&(he+=I),d.setTranslation(te,he)}return v=T,m=O,{addedIndex:T,removedIndex:O}}}}function F1(u){var r=u.draggables,d=u.layout,v=null;return function(m){var E=m.draggableInfo,M=m.dragResult,T=M.addedIndex,O=M.removedIndex,I=M.elementSize,W=M.pos,te=M.shadowBeginEnd;if(W!==null)if(T!==null&&(E.invalidateShadow||T!==v)){var he=T-1,je=Number.MIN_SAFE_INTEGER,ge=0,Ie=0,Ke=null,ye=null;if(he===O&&he--,he>-1){var Qe=d.getSize(r[he]);if(ye=d.getBeginEnd(r[he]),I<Qe){var lt=(Qe-I)/2;je=ye.end-lt}else je=ye.end;ge=ye.end}else ye={end:d.getBeginEndOfContainer().begin},ge=d.getBeginEndOfContainer().begin;var qe=Number.MAX_SAFE_INTEGER,We=T;if(We===O&&We++,We<r.length){var e0=d.getSize(r[We]);if(Ke=d.getBeginEnd(r[We]),I<e0){var I0=(e0-I)/2;qe=Ke.begin+I0}else qe=Ke.begin;Ie=Ke.begin}else Ke={begin:d.getContainerRectangles().rect.end},Ie=d.getContainerRectangles().rect.end-d.getContainerRectangles().rect.begin;var Qn=ye&&Ke?d.getTopLeftOfElementBegin(ye.end):null;return v=T,{shadowBeginEnd:{dropArea:{begin:ge,end:Ie},begin:je,end:qe,rect:Qn,beginAdjustment:te?te.beginAdjustment:0}}}else return null;else return v=null,{shadowBeginEnd:null}}}function Ma(){var u=null;return function(r){var d=r.dragResult,v=d.pos,m=d.addedIndex,E=d.shadowBeginEnd;if(v!==null){if(m!=null&&u===null){if(v<E.begin){var M=v-E.begin-5;E.beginAdjustment=M}u=m}}else u=null}}function S1(u){var r=u.getOptions,d=!1,v=r();return function(m){var E=m.dragResult.pos,M=!!E;M!==d&&(d=M,M?v.onDragEnter&&v.onDragEnter():v.onDragLeave&&v.onDragLeave())}}function La(u){var r=u.getOptions,d=null,v=r();return function(m){var E=m.dragResult,M=E.addedIndex,T=E.removedIndex,O=m.draggableInfo,I=O.payload,W=O.element;if(v.onDropOver&&M!==null&&d!==M){d=M;var te=M;return T!==null&&M>T&&te--,{canDrop:v.onDropOver({addedIndex:te,removedIndex:T,payload:I,element:W?W.firstElementChild:void 0})}}}}function A1(u){var r=u.getOptions,d=null,v=r();return function(m){var E=m.dragResult,M=E.addedIndex,T=E.removedIndex,O=m.draggableInfo,I=O.payload,W=O.element;if(v.onDropReady&&M!==null&&d!==M){d=M;var te=M;T!==null&&M>T&&te--,v.onDropReady({addedIndex:te,removedIndex:T,payload:I,element:W?W.firstElementChild:void 0})}}}function B1(u){return u.getOptions().behaviour==="drop-zone"?M1(u)(g1,C1,j1,y1,b1,ya,ba,S1,A1):M1(u)(g1,C1,j1,y1,b1,Fa,Sa,Aa,Ba,E1,F1,La,Ea,Ma,S1,A1)}function Za(){return{addedIndex:null,removedIndex:null,elementSize:null,pos:null,shadowBeginEnd:null}}function M1(u){return function(){for(var r=arguments.length,d=new Array(r),v=0;v<r;v++)d[v]=arguments[v];var m=d.map(function(M){return M(u)}),E=null;return function(M){return E=m.reduce(function(T,O){return Object.assign(T,O({draggableInfo:M,dragResult:T}))},E||Za()),E}}}function Da(u){return function(r){var d=Object.assign({},_0,r),v=null,m=null,E=Ca(u,Ie),M=B1(E),T=ga(E),O=Ni(u,he);
196function I(){m!==null&&(m.invalidateShadow=!0,v=M(m),m.invalidateShadow=!1)}function W(ye,Qe){for(var lt=x1(Qe),qe=0;qe<lt.length;qe++)ye[qe]=lt[qe];for(var We=0;We<ye.length-lt.length;We++)ye.pop()}function te(ye,Qe){var lt=ye.element,qe=E.draggables;W(qe,lt),ye.layout.invalidateRects(),qe.forEach(function(We){return p1(We,!0,Ie().animationDuration)}),O.start()}function he(){E.layout.invalidateRects(),I()}function je(ye){O.dispose(),fa(ye.element)}function ge(ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Qe===!1?d=Object.assign({},_0,ye):d=Object.assign({},_0,d,ye)}function Ie(){return d}var Ke={element:u,draggables:E.draggables,isDragRelevant:va(E),layout:E.layout,dispose:je,prepareDrag:te,handleDrag:function(Qe){return m=Qe,v=M(Qe),v},handleDrop:function(Qe){O.stop(),v&&v.dropPlaceholderContainer&&u.removeChild(v.dropPlaceholderContainer),m=null,M=B1(E),T(Qe,v),v=null},fireRemoveElement:function(){T(m,Object.assign({},v,{addedIndex:null}),!0),v=null},getDragResult:function(){return v},getTranslateCalculator:function(Qe){return E1(E)(Qe)},onTranslated:function(){I()},setDraggables:function(){W(E.draggables,u)},getScrollMaxSpeed:function(){return Q0.maxScrollSpeed},shouldUseTransformForGhost:function(){return Q0.useTransformForGhost===!0},getOptions:Ie,setOptions:ge};return Ke}}var Q0=function(r,d){var v=Da(r),m=v(d);return r[S0]=m,vi.register(m),{dispose:function(){vi.unregister(m),m.dispose(m)},setOptions:function(M,T){m.setOptions(M,T)}}};Q0.wrapChild=!0,Q0.cancelDrag=function(){vi.cancelDrag()},Q0.isDragging=function(){return vi.isDragging()};var w0=Q0;function hi(u,r,d){Object.defineProperty(u,d,{set:function(m){r[d]=m},get:function(){return r[d]}})}var En=function(r,d){return console.warn('default export is deprecated. please use named export "smoothDnD"'),w0(r,d)};En.cancelDrag=function(){w0.cancelDrag()},En.isDragging=function(){return w0.isDragging()},hi(En,w0,"useTransformForGhost"),hi(En,w0,"maxScrollSpeed"),hi(En,w0,"wrapChild"),hi(En,w0,"dropHandler");var gr=null,Na=["render","children","style"];w0.dropHandler=f().handler,w0.wrapChild=!1;var L1=function(u){(0,jn.Z)(d,u);var r=(0,qn.Z)(d);function d(v){var m;return(0,Xn.Z)(this,d),m=r.call(this,v),m.prevContainer=void 0,m.container=null,m.containerRef=le.createRef(),m.getContainerOptions=m.getContainerOptions.bind((0,Dn.Z)(m)),m.getContainer=m.getContainer.bind((0,Dn.Z)(m)),m.isObjectTypePropsChanged=m.isObjectTypePropsChanged.bind((0,Dn.Z)(m)),m.prevContainer=null,m}return(0,Li.Z)(d,[{key:"componentDidMount",value:function(){this.prevContainer=this.getContainer(),this.container=w0(this.getContainer(),this.getContainerOptions())}},{key:"componentWillUnmount",value:function(){this.container.dispose(),this.container=null}},{key:"componentDidUpdate",value:function(m){if(this.getContainer()){if(this.prevContainer&&this.prevContainer!==this.getContainer()){this.container.dispose(),this.container=w0(this.getContainer(),this.getContainerOptions()),this.prevContainer=this.getContainer();return}this.isObjectTypePropsChanged(m)&&this.container.setOptions(this.getContainerOptions())}}},{key:"isObjectTypePropsChanged",value:function(m){var E=this.props,M=E.render,T=E.children,O=E.style,I=(0,ln.Z)(E,Na);for(var W in I){var te=W;if(I.hasOwnProperty(te)){var he=I[te];if(typeof he!="function"&&he!==m[te])return!0}}return!1}},{key:"render",value:function(){return this.props.render?this.props.render(this.containerRef):(0,t.jsx)("div",{style:this.props.style,ref:this.containerRef,children:this.props.children})}},{key:"getContainer",value:function(){return this.containerRef.current}},{key:"getContainerOptions",value:function(){var m=this;return Object.keys(this.props).reduce(function(E,M){var T=M,O=m.props[T];return typeof O=="function"?E[T]=function(){var I;return(I=m.props)[T].apply(I,arguments)}:E[T]=O,E},{})}}]),d}(le.Component);L1.defaultProps={behaviour:"move",orientation:"vertical"};var Ta=i(45697),Z1=i.n(Ta),D1=p0,Oi=function(u){(0,jn.Z)(d,u);var r=(0,qn.Z)(d);function d(){return(0,Xn.Z)(this,d),r.apply(this,arguments)}return(0,Li.Z)(d,[{key:"render",value:function(){if(this.props.render)return le.cloneElement(this.props.render(),{
196className:D1});var m="".concat(this.props.className?this.props.className+" ":"");return(0,t.jsx)("div",(0,D.Z)((0,D.Z)({},this.props),{},{className:"".concat(m).concat(D1),children:this.props.children}))}}]),d}(le.Component);Oi.propsTypes={render:Z1().func,className:Z1().string};var wa=["disabled"],Vi=function(r){return r.disabled?(0,t.jsx)(t.Fragment,{children:r.children}):(0,t.jsx)(Oi,{children:r.children})},Hi=function(r){var d=r.disabled,v=(0,ln.Z)(r,wa);return d?(0,t.jsx)(o0.Z,{children:r.children}):(0,t.jsx)(L1,(0,D.Z)({},v))},Cr=i(62350),fi=i(24565),c0=i(94657),jr=i(47673),Vn=i(4107),Ia=Vn.Z.TextArea,za=(0,Ct.Pi)(function(u){var r=u.onConfirm,d=u.getContainer,v=(0,le.useState)(""),m=(0,c0.Z)(v,2),E=m[0],M=m[1],T=function(){var I=E.split(/\n/);r(I)};return(0,t.jsx)(fi.Z,{placement:"rightTop",icon:(0,t.jsx)(Ut,{infer:"PlusCircle",className:"anticon"}),getPopupContainer:d,onOpenChange:function(I){I&&M("")},title:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{children:"\u6279\u91CF\u6DFB\u52A0\u9009\u9879"}),(0,t.jsx)("div",{children:"\u6BCF\u884C\u4EE3\u8868\u4E00\u4E2A\u9009\u9879\uFF0C\u53EF\u4EE5\u6DFB\u52A0\u591A\u4E2A\u9009\u9879"}),(0,t.jsx)(Ia,{rows:4,value:E,onChange:function(I){return M(I.target.value)}})]}),onConfirm:T,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsxs)("a",{style:{marginLeft:40},children:[(0,t.jsx)(Ut,{infer:"Plus"})," \u6279\u91CF\u6DFB\u52A0\u9009\u9879"]})})}),$i=i(77576),Hn=i(12028),yr=i(29371),N1=function(r){var d=r.title,v=r.initialDependOn,m=r.name,E=r.style,M=E===void 0?{padding:"12px 18px 12px 0",display:"flex",justifyContent:"space-between",marginLeft:18}:E,T=r.className,O=r.reactions,I=r.onChange,W=(0,Ct.U$)(),te=(0,Ct.cI)(),he=(0,le.useState)(!1),je=(0,c0.Z)(he,2),ge=je[0],Ie=je[1],Ke=function(Qe){te.setFieldState(W.path.concat(m),function(lt){return lt.display=Qe?"visible":"none"}),Ie(Qe),I&&I(Qe)};return(0,le.useEffect)(function(){var ye=!!yr.Dm.getIn(te.values,W.path.concat(v));Ke(ye),Ie(ye)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{style:M,className:T,children:[d,(0,t.jsx)(Hn.Z,{size:"small",checked:ge,onChange:function(Qe){return Ke(Qe)}})]}),(0,t.jsx)(Ct.jG,{name:m,reactions:O,children:r.children})]})},T1=i(61494),br=i(20136),w1=i(55241),ka=i(56692),Er=(0,ka.Gr)(function(u){var r=u.className,d=r===void 0?"setting-item":r,v=u.value,m=u.size,E=m===void 0?"small":m,M=u.icon,T=u.iconStyle,O=T===void 0?{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}:T,I=u.title,W=u.popoverContent,te=(0,le.useContext)(v0.Y7),he=te.getContainer;return(0,t.jsxs)("div",{className:d,children:[(0,t.jsxs)("span",{children:[I,W&&(0,t.jsx)(w1.Z,{getPopupContainer:he,content:(0,t.jsx)("div",{children:W}),children:M&&(0,t.jsx)(Ut,{infer:M,style:O})})]}),(0,t.jsx)(Hn.Z,{size:E,onChange:u.onChange,checked:v})]})}),Fn=i(15020),wr=function(r){var d=r.displayName,v=d===void 0?"":d;return _jsx(_Fragment,{children:typeof v=="string"&&parse(v.replace(/<p>/,"<span>").replace(/<\/p>/,"</span>"))})},Fr=i(71194),hn=i(50146),I1=i(26893),Pa=i(88851),fn=function(r){var d=r.option,v=r.updateOption,m=r.deleteOption,E=(0,Oe.XI)(),M=(0,c0.Z)(E,2),T=M[0],O=M[1];return(0,t.jsxs)("div",(0,D.Z)((0,D.Z)({style:{position:"relative",display:"flex",alignItems:"center",marginBottom:10}},O),{},{children:[(0,t.jsx)("span",{style:{position:"absolute",display:T?"":"none"},children:(0,t.jsx)(Ut,{infer:"DragVertical",style:{fontSize:19,color:"#9e9e9e",cursor:"move"},className:"drag-handle-option"})}),(0,t.jsx)("div",{style:{display:"flex",alignItems:"center",marginLeft:20,flex:"0 0 70%"},children:(0,t.jsx)(Pa.ZP,{value:d.label,style:{border:"1px solid #d9d9d9",padding:"6px"},placeholder:"\u8BF7\u8F93\u5165",onChange:function(W){return v(d.value,W)},bounds:".select-modal"})}),(0,t.jsx)("div",{style:{flex:"0 0 30%",paddingLeft:20,display:T?"":"none"},children:(0,t.jsx)(Ut,{infer:"MinusCircle",title:"\u5220\u9664",className:"operate-icon",onClick:function(W){m(d.value)}})})]}))},Ra=function(r){return{addOption:function(){r.push({value:(0,I1.Ox)(),label:"\u65B0\u9009\u9879".concat(r.length+1)})},updateOption:function(v,m){r.find(function(E){return E.value===v}).label=m},deleteOption:function(v){return r.filter(function(m){return m.value!==v})},reorderOption:function(v,m){r.splice.apply(r,[m,0].concat((0,$.Z)(r.splice(v,1))))}}},Ui=function(r){var d=r.onClose,v=r.onOk,m=(0,le.useContext)(v0.rU),E=m.getContainer,M=(0,Oe.$1)(Ra,r.dataSource),T=(0,c0.Z)(M,2),O=T[0],I=T[1],W=I.addOption,te=I.updateOption,he=I.deleteOption,je=I.reorderOption;return(0,t.jsx)(hn.Z,{title:"\u9009\u9879\u7F16\u8F91",open:!0,onCancel:function(Ie){Ie.stopPropagation(),d()},onOk:function(Ie){Ie.stopPropagation(),v(O)},getContainer:E,children:(0,t.jsxs)("div",{style:{height:320,overflow:"hidden"},children:[(0,t.jsx)("div",{style:{maxHeight:280,overflowX:"hidden",overflowY:"auto"},className:"select-modal",children:(0,t.jsx)(Hi,{dragHandleSelector:".drag-handle-option",behaviour:"contain",lockAxis:"y",onDrop:function(Ie){Ie.removedIndex!==null&&Ie.addedIndex!==null&&je(Ie.removedIndex,Ie.addedIndex)},children:O.map(function(ge){return(0,t.jsx)(Vi,{children:(0,t.jsx)(fn,{option:ge,updateOption:te,deleteOption:he})},ge.value)})})}),(0,t.jsx)("div",{style:{color:"#707070",cursor:"pointer",marginTop:10,userSelect:"none",paddingLeft:20},onClick:W,children:"+\u6DFB\u52A0\u9009\u9879"})]})})};function z1(u){return u[0].toUpperCase()+u.slice(1)}
196var Oa=(0,Ct.Pi)(function(u){var r,d,v,m=(0,Ct.cI)(),E=u.dataType||((r=m.values.attribute)===null||r===void 0?void 0:r.dataType),M=(d=m.values.attribute)===null||d===void 0?void 0:d.dateTimeFormat;M&&(M.startsWith("YYYY-MM-DD HH")?E="dateTime":M.startsWith("HH")?E="time":E="date");var T=(v=m.values.attribute)===null||v===void 0?void 0:v.placeholder;return E==="horzBlank"?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(Vn.Z,{style:{width:u.width||200},placeholder:T,prefix:E&&(0,t.jsx)(Ut,{infer:z1(E),style:{color:"rgba(0,0,0,.45)",width:22,height:20}})})}),Sr=i(57663),$n=i(71577),Va=i(49111),Qi=i(19650),Ar=i(402),k1=i(20294),Ha=i(29656),Br=i(18106),P1=i(38222),Mr=i(7359),R1=i(27279),$a=R1.Z.Panel,Ua=k1.Z.Link;function O1(u,r,d){if(u.popover){var v,m;return(0,t.jsx)(w1.Z,{content:(0,t.jsxs)("div",{className:"fn-popover-content",children:[(0,t.jsxs)("div",{className:"fn-popover-content-header",children:["\u516C\u5F0F\u7B80\u4ECB",(0,t.jsx)(Ua,{href:u.popover.docHref,target:"_blank",children:"\u6587\u6863"})]}),(v=u.popover)===null||v===void 0?void 0:v.content]}),title:(m=u.popover)===null||m===void 0?void 0:m.title,placement:"right",className:"fn-popover",children:(0,t.jsxs)("div",{className:"function-item",onClick:function(){return d&&d(u.name)},children:[(0,t.jsx)("div",{className:"function-item__name",children:u.name}),(0,t.jsx)("div",{className:"function-item__desc",children:u.description})]})},r)}return(0,t.jsxs)("div",{className:"function-item",onClick:function(){return d&&d(u.name)},children:[(0,t.jsx)("div",{className:"function-item__name",children:u.name}),(0,t.jsx)("div",{className:"function-item__desc",children:u.description})]},r)}var Qa=function(r){var d=r.dataSource,v=d===void 0?[]:d,m=r.check,E="function-store";return(0,t.jsx)(R1.Z,{className:E,bordered:!1,defaultActiveKey:[0],expandIconPosition:"right",ghost:!0,children:v.map(function(M,T){return(0,t.jsx)($a,{className:"".concat(E,"-group"),header:M.name,children:M.functions.map(function(O,I){return O1(O,I,m)})},T)})})},Wa=Qa,Wi=function(u){return(0,t.jsx)("svg",(0,D.Z)((0,D.Z)({width:"1em",height:"1.2em",viewBox:"0 0 24 24"},u),{},{children:(0,t.jsx)("path",{d:"M12.42 5.29c-1.1-.1-2.07.71-2.17 1.82L10 10h2.82v2h-3l-.44 5.07A4.001 4.001 0 0 1 2 18.83l1.5-1.5c.33 1.05 1.46 1.64 2.5 1.3c.78-.24 1.33-.93 1.4-1.74L7.82 12h-3v-2H8l.27-3.07a4.01 4.01 0 0 1 4.33-3.65c1.26.11 2.4.81 3.06 1.89l-1.5 1.5c-.25-.77-.93-1.31-1.74-1.38M22 13.65l-1.41-1.41l-2.83 2.83l-2.83-2.83l-1.43 1.41l2.85 2.85l-2.85 2.81l1.43 1.41l2.83-2.83l2.83 2.83L22 19.31l-2.83-2.81L22 13.65z",fill:"currentColor"})}))},Ya=function(u){return(0,t.jsx)("svg",(0,D.Z)((0,D.Z)({width:"1em",height:"1em",viewBox:"0 0 16 16"},u),{},{children:(0,t.jsx)("g",{fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5h2V4H1.5l-.5.5v8l.5.5H4v-1H2V5zm12.5-1H12v1h2v7h-2v1h2.5l.5-.5v-8l-.5-.5zm-2.74 2.57L12 7v2.51l-.3.45l-4.5 2h-.46l-2.5-1.5l-.24-.43v-2.5l.3-.46l4.5-2h.46l2.5 1.5zM5 9.71l1.5.9V9.28L5 8.38v1.33zm.58-2.15l1.45.87l3.39-1.5l-1.45-.87l-3.39 1.5zm1.95 3.17l3.5-1.56v-1.4l-3.5 1.55v1.41z"})})}))},Lr=i(32157),Zr=i(32138),Yi=i(57254),Ka=function(r){var d=r.id,v=r.type,m=r.title,E=r.pick,M=(0,le.useCallback)(function(){E&&E()},[]),T=(0,le.useMemo)(function(){return v==="SplitLine"},[]);return(0,t.jsx)("div",{className:it()("field-variable",{disabled:T}),onClick:M,children:m})},Ga=Ka;function V1(u,r){return{title:(0,t.jsx)(Ga,{type:u.type,id:u.id,title:u.title,pick:function(){return r&&r(u)}}),key:u.id,children:(u.children||[]).map(function(d){return V1(d,r)})}}var Ja=function(r){var d=r.dataSource,v=r.pick,m=(0,le.useMemo)(function(){return d.map(function(E){return V1(E,v)})},[v]);return(0,t.jsx)(Zr.Z,{blockNode:!0,showLine:{showLeafIcon:!1},switcherIcon:(0,t.jsx)(Yi.Z,{}),className:"hide-file-icon",treeData:m,selectable:!1})},Xa=Ja,Dr=i(76570),Nr=i(54421),H1=i(38272),$1=function(r){var d=r.check,v=r.dataSource;return(0,t.jsx)(H1.ZP,{bordered:!1,dataSource:v,className:"function-store-group",renderItem:function(E){return(0,t.jsx)(H1.ZP.Item,{children:O1(E,E.name,d)})}})},U1=$1,Q1=P1.Z.TabPane,qa=function(r){var d=r.variables,v=d===void 0?[]:d,m=r.
196insertFun,E=r.insertVariable,M="formula-editor-toolbar",T=(0,le.useState)([]),O=(0,c0.Z)(T,2),I=O[0],W=O[1],te=(0,le.useCallback)(function(je){return(0,t.jsxs)("span",{children:[je.icon?(0,t.jsx)("span",{role:"img",className:"anticon",children:je.icon}):null,je.name]})},[]),he=function(ge){var Ie;if(!ge){W([]);return}var Ke=new Set;W(((Ie=r.functions)===null||Ie===void 0?void 0:Ie.reduce(function(ye,Qe){return ye.push.apply(ye,(0,$.Z)(Qe.functions.filter(function(lt){return lt.name.includes(ge.toUpperCase())}))),ye},[]).filter(function(ye){return Ke.has(ye.name)?!1:(Ke.add(ye.name),!0)}))||[])};return(0,t.jsx)("div",{className:M,children:(0,t.jsxs)(P1.Z,{defaultActiveKey:"field",centered:!0,children:[(0,t.jsx)(Q1,{tab:(0,t.jsx)(te,{name:"\u95EE\u9898",icon:(0,t.jsx)(Ya,{})}),children:(0,t.jsx)("div",{children:(0,t.jsx)(Xa,{dataSource:v,pick:E})})},"field"),(0,t.jsxs)(Q1,{tab:(0,t.jsx)(te,{name:"\u51FD\u6570",icon:(0,t.jsx)(Wi,{})}),children:[(0,t.jsx)(Vn.Z,{placeholder:"\u641C\u7D22\u516C\u5F0F",prefix:(0,t.jsx)(Dr.Z,{}),allowClear:!0,onChange:function(ge){return he(ge.target.value)}}),I.length>0&&(0,t.jsx)(U1,{dataSource:I,check:m}),I.length===0&&(0,t.jsx)(Wa,{dataSource:r.functions,check:m})]},"fx")]})})};function Ki(u){for(var r=arguments.length,d=new Array(r>1?r-1:0),v=1;v<r;v++)d[v-1]=arguments[v];return(0,t.jsxs)("div",{className:"fn-popover-title",children:[u,"(",d.map(function(m,E){return(0,t.jsxs)("span",{className:"fn-popover-arg",children:[m," ",E===d.length-1?"":","]},E)}),")"]})}var mi="https://support.microsoft.com/zh-cn/office/",Gi=[{name:"\u903B\u8F91",functions:[{name:"IF",description:"\u6839\u636E\u5224\u65AD\u6761\u4EF6\uFF0C\u8FD4\u56DE\u6B63\u786E\u6216\u9519\u8BEF\u7684\u503C"},{name:"AND",description:"\u8FD4\u56DE\u903B\u8F91\u503C\uFF1A\u5982\u679C\u6240\u6709\u53C2\u6570\u503C\u5747\u4E3A\u903B\u8F91\u201Ctrue\u201D\uFF0C\u5219\u8FD4\u56DE\u903B\u8F91\u201Ctrue\u201D\uFF0C\u53CD\u4E4B\u8FD4\u56DE\u903B\u8F91\u201Cfalse",popover:{title:Ki("AND","logical1","logical2","..."),content:(0,t.jsxs)("div",{className:"fn-popover-content",children:["\u4EFB\u4F55\u4E00\u4E2A\u53C2\u6570\u7684\u903B\u8F91\u503C\u4E3Afalse\uFF0C\u5373\u8FD4\u56DE false\uFF1B",(0,t.jsx)("br",{})," \u53EA\u6709\u5F53\u6240\u6709\u53C2\u6570\u7684\u903B\u8F91\u503C\u4E3Atrue\uFF0C\u624D\u8FD4\u56DE true\u3002",(0,t.jsx)("br",{}),"logical:\u903B\u8F91\u503C\uFF0C\u4F8B\u5982\uFF0C2>1\u7684\u903B\u8F91\u503C\u4E3A true"]})}},{name:"OR",description:"\u4EFB\u4F55\u4E00\u4E2A\u53C2\u6570\u903B\u8F91\u503C\u4E3Atrue\uFF0C\u5373\u8FD4\u56DEtrue\uFF1B\u53EA\u6709\u5F53\u6240\u6709\u903B\u8F91\u53C2\u6570\u503C\u4E3Afalse\uFF0C\u624D\u8FD4\u56DEfalse"},{name:"XOR",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u6570\u7684\u5F02\u6216\u503C"},{name:"NOT",description:"\u5BF9\u53C2\u6570\u903B\u8F91\u503C\u6C42\u53CD"}]},{name:"\u6587\u5B57",functions:[{name:"SUBSTITUTE",description:"\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text",popover:{title:Ki("SUBSTITUTE","old_text","new_text","[instance_num]"),content:(0,t.jsxs)("div",{className:"fn-popover-content",children:["\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text\u3002",(0,t.jsx)("br",{}),"\u5982\u679C\u9700\u8981\u5728\u67D0\u4E00\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u66FF\u6362\u6307\u5B9A\u7684\u6587\u672C\uFF0C\u8BF7\u4F7F\u7528\u51FD\u6570 SUBSTITUTE\uFF1B",(0,t.jsx)("br",{}),"\u5982\u679C\u9700\u8981\u5728\u67D0\u4E00\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u66FF\u6362\u7279\u5B9A\u4F4D\u7F6E\u5904\u7684\u4EFB\u610F\u6587\u672C\uFF0C\u8BF7\u4F7F\u7528\u51FD\u6570 REPLACE\u3002"]}),docHref:"".concat(mi,"substitute-\u51FD\u6570-6434944e-a904-4336-a9b0-1e58df3bc332")}},{name:"CONCATENATE",description:"\u5C06\u591A\u4E2A\u6587\u5B57\u5408\u5E76"},{name:"LEFT",description:"\u4ECE\u5DE6\u8FB9\u622A\u53D6\u6307\u5B9A\u957F\u5EA6\u7684\u6587\u5B57"},{name:"RIGHT",description:"\u4ECE\u53F3\u8FB9\u8FB9\u622A\u53D6\u6307\u5B9A\u957F\u5EA6\u7684\u6587\u5B57"},{name:"MID",description:"\u622A\u53D6\u6307\u5B9A\u4F4D\u7F6E\u7684\u6587\u5B57"},{name:"REPLACE",description:"\u66FF\u6362\u6587\u672C\u4E2D\u7684\u6307\u5B9A\u6587\u5B57",popover:{title:Ki("REPLACE","old_text","start_num","num_chars","new_text"),content:(0,t.jsxs)("div",{className:"fn-popover-content",children:["\u6839\u636E\u6307\u5B9A\u7684\u5B57\u7B26\u6570\uFF0CREPLACE \u5C06\u90E8\u5206\u6587\u672C\u5B57\u7B26\u4E32\u66FF\u6362\u4E3A\u4E0D\u540C\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002",(0,t.jsx)("br",{}),"REPLACEB \u4F7F\u7528\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u5E76\u6839\u636E\u6240\u6307\u5B9A\u7684\u5B57\u8282\u6570\u66FF\u6362\u67D0\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7684\u90E8\u5206\u6587\u672C\u3002"]}),docHref:"".concat(mi,"replace-replaceb-\u51FD\u6570-8d799074-2425-4a8a-84bc-82472868878a")}}
196,{name:"TRIM",description:"\u79FB\u9664\u6587\u5B57\u5934\u5C3E\u7684\u7A7A\u683C"},{name:"LEN",description:"\u540E\u53BB\u6587\u5B57\u7684\u957F\u5EA6"},{name:"LOWER",description:"\u8F6C\u6210\u5C0F\u5199\u6587\u5B57"},{name:"UPPER",description:"\u8F6C\u6210\u5927\u5199\u6587\u5B57"}]},{name:"\u6570\u5B57",functions:[{name:"AVERAGE",description:"\u8BA1\u7B97\u6240\u6709\u53C2\u4E0E\u8FD0\u7B97\u5B57\u6BB5\u7684\u5E73\u5747\u503C"},{name:"COUNT",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u8FD0\u7B97\u5B57\u6BB5\u4E2D\u503C\u6570\u5B57\u7684\u6570\u91CF"},{name:"COUNTA",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u8FD0\u7B97\u5B57\u6BB5\u4E2D\u503C\u4E0D\u4E3A\u7A7A\u7684\u6570\u91CF"},{name:"COUNTIF",description:"COUNTIF(\u8868\u683C[\u91D1\u989D], 100)\uFF0C\u53EF\u5F97\u5230\u8868\u683C\u4E2D\u91D1\u989D\u4E3A100\u7684\u6570\u636E\u6761\u6570"},{name:"MAX",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u5B57\u6BB5\u4E2D\u7684\u6700\u5927\u503C"},{name:"MIN",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u5B57\u6BB5\u4E2D\u7684\u6700\u5C0F\u503C"},{name:"ROUND",description:"\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570"},{name:"INT",description:"\u5C06\u6570\u5B57\u5411\u4E0B\u53D6\u6574"},{name:"MOD",description:"\u8FD4\u56DE\u4E24\u6570\u76F8\u9664\u7684\u4F59\u6570"},{name:"PRODUCT",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u5B57\u6BB5\u4E2D\u6570\u503C\u7684\u4E58\u79EF"},{name:"SUM",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u5B57\u6BB5\u4E2D\u6570\u503C\u7684\u603B\u548C"},{name:"SUMPRODUCT",description:"\u8FD4\u56DE\u6240\u6709\u53C2\u4E0E\u5B57\u6BB5\u4E2D\u6570\u503C\u7684\u603B\u548C"},{name:"SUMIF",description:"\u7EDF\u8BA1\u8868\u683C\u4E2D\u7B26\u5408\u6761\u4EF6\u7684\u6570\u503C\uFF0C\u5E76\u6C42\u548C"},{name:"ROUNDUP",description:"\u5C06\u6570\u5B57\u4FDD\u7559\u6307\u5B9A\u7684\u4F4D\u6570\uFF0C\u6700\u540E\u4E00\u4F4D\u5411\u4E0A\u53D6"},{name:"ROUNDDOWN",description:"\u5C06\u6570\u5B57\u4FDD\u7559\u6307\u5B9A\u7684\u4F4D\u6570\uFF0C\u6700\u540E\u4E00\u4F4D\u5411\u4E0B\u53D6"},{name:"POWER",description:"\u8BA1\u7B97\u6570\u5B57num\u7684n\u6B21\u65B9\uFF0Cn\u53EF\u4EE5\u4E3A\u5206\u6570\u6216\u8005\u6574\u6570"},{name:"LN",description:"\u8BA1\u7B97\u6307\u5B9A\u6570\u5B57\u7684\u81EA\u7136\u5BF9\u6570"},{name:"SQRT",description:"\u8BA1\u7B97\u6307\u5B9A\u6570\u5B57\u7684\u5E73\u65B9\u6839"}]},{name:"\u65F6\u95F4",functions:[{name:"YEAR",description:"\u8FD4\u56DE\u65E5\u671F\u4E2D\u7684\u5E74\u4EFD"},{name:"MONTH",description:"\u8FD4\u56DE\u65E5\u671F\u4E2D\u7684\u6708\u4EFD"},{name:"DAY",description:"\u8FD4\u56DE\u65E5\u671F\u5728\u4E00\u4E2A\u6708\u4E2D\u7684\u7B2C\u51E0\u5929\u7684\u6570\u503C"},{name:"HOUR",description:"\u8FD4\u56DE\u65E5\u671F\u4E2D\u7684\u5C0F\u65F6\uFF0C\u65E5\u671F\u5B57\u6BB5\u5FC5\u987B\u7CBE\u786E\u5230\u65F6\u95F4\u624D\u53EF\u4EE5\u8BA1\u7B97\u51FA\u6765"},{name:"MINUTE",description:"\u8FD4\u56DE\u65E5\u671F\u4E2D\u7684\u5206\u949F\uFF0C\u65E5\u671F\u5B57\u6BB5\u5FC5\u987B\u7CBE\u786E\u5230\u65F6\u95F4\u624D\u53EF\u4EE5\u8BA1\u7B97\u51FA\u6765"},{name:"SECOND",description:"\u8FD4\u56DE\u65E5\u671F\u4E2D\u7684\u79D2\uFF0C\u65E5\u671F\u5B57\u6BB5\u5FC5\u987B\u7CBE\u786E\u5230\u65F6\u95F4\u624D\u53EF\u4EE5\u8BA1\u7B97\u51FA\u6765"},{name:"DATE",description:"\u5C06\u6570\u5B57\u62FC\u63A5\u6210\u4E3A\u5E74\u4EFD\uFF0C\u6570\u5B57\u5B57\u6BB5\u987A\u5E8F\u4E3A\uFF1A\u5E74\uFF0F\u6708\uFF0F\u65E5\uFF0F\u65F6\uFF0F\u5206\uFF0F\u79D2"},{name:"CURDATE",description:"\u8FD4\u56DE\u5F53\u524D\u65E5\u671F"},{name:"NOW",description:"\u8FD4\u56DE\u5F53\u524D\u65F6\u95F4\uFF0C\u7CBE\u786E\u5230\u65F6/\u5206/\u79D2"},{name:"DAYS",description:"\u8FD4\u56DE\u65E5\u671F\u5B57\u6BB51\u4E0E\u65E5\u671F\u5B57\u6BB52\u7684\u5DEE\u503C\uFF0C\u5355\u4F4D\u4E3A\u5929"},{name:"DATEDELTA",description:"\u5C06\u6307\u5B9A\u65E5\u671F\u52A0/\u51CF\u6307\u5B9A\u5929\u6570\uFF0C\u5E76\u8FD4\u56DE\u76EE\u6807\u65E5\u671F"}]}];function _a(u){if(u){var r=Gi.map(function(v){return v.functions}).reduce(function(v,m){return v.concat(m)},[]),d=u.map(function(v){return r.find(function(m){return m.name===v})});return[{name:"\u5E38\u7528",functions:d}].concat(Gi)}return Gi}function er(u){return u==="SplitLine"||u==="Pagination"||u==="Remark"}function Ji(u){var r=[];return r.push("Q".concat(u.index+1,".").concat((0,v0.WO)(u.title))),u.parent&&u.parent.type&&u.parent.type!=="Survey"&&r.unshift.apply(r,(0,$.Z)(Ji(u.parent))),r}var tr=function u(r,d,v){var m,E=!1;return((m=r.children)===null||m===void 0?void 0:m.filter(function(M){return M===d&&!v?(E=!0,!1):!er(M.type)&&!E}).map(function(M){var T,O=M.id,I=M.title,W=M.type,te=Ji(M).join("-"),he=M.type===void 0?"".concat((T=M.parent)===null||T===void 0?void 0:T.id,".").concat(O):O;return M.type==="FillBlank"||M.type==="Nps"||M.type==="Score"?{id:O,path:he,title:(0,v0.WO)(I),type:W,tooltip:te}:{id:O,path:he,title:(0,v0.WO)(I),type:W,children:u(M,d,v),tooltip:te}}))||[]},Tr=i(63138),Xi=i(1870),nr=k1.Z.Link,W1={mode:"text/x-spreadsheet",line:!0,lineWrapping:!0},Y1=function(r){var d=r.title,v=r.subTitle,m=r.helpLink,E=r.value,M=E===void 0?"":E,T=r.onOk,O=r.className,I=r.onCancel,W=r.fieldAll,te=(0,Oe.AR)(),he=(0,Oe.Uh)(),je=(0,le.useState)(),ge=(0,c0.Z)(je,2),Ie=ge[0],Ke=ge[1],ye=(0,le.useRef)(),Qe=(he==null?void 0:he.type)==="Option"||!(he!=null&&he.type)?he==null?void 0:he.parent:he,lt=(0,le.useContext)(v0.rU),qe=lt.getContainer,We="formula-editor",e0=(0,le.useRef)(""),I0=(0,le.useCallback)(function(Te){if(Ie!=null){var tt=Ie.getDoc(),Wt=tt.getCursor();tt.replaceRange("".concat(Te,"()"),Wt),Wt.ch+=Te.length+1,tt.setCursor(Wt),Ie.focus()}},[Ie]);(0,le.useEffect)(function(){Ie&&Ie.focus()},[Ie]);var Qn=(0,le.useCallback)(function(Te){if(ye.current!=null){var tt=ye.current.getDoc(),Wt=ye.current.getCursor();tt.replaceRange("#{".concat(e0.current).concat(Te.path,"}"),Wt,Wt),ye.current.focus()}},[Ie]),xi=(0,le.useMemo)(function(){return tr(te,Qe,W)},[te,Qe,W]),gi=function(tt,Wt,d0,An,b0){var R0=tt.getDoc(),W0=document.createElement("span");W0.innerText=An.title||An.path,W0.className="formula-tag ".concat(b0||"formula-tag-value"),R0.markText(Wt,d0,{replacedWith:W0})},Ci=function Te(tt,Wt,d0){var An=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];
196(An||[]).forEach(function(b0){for(var R0="#{".concat(b0.path,"}"),W0=new RegExp(R0,"g");W0.exec(Wt)!==null;){var Ir={line:d0,ch:W0.lastIndex-R0.length},zr={line:d0,ch:W0.lastIndex};gi(tt,Ir,zr,b0)}for(R0="#{_".concat(b0.path,"}"),W0=new RegExp(R0,"g");W0.exec(Wt)!==null;){var kr={line:d0,ch:W0.lastIndex-R0.length},Pr={line:d0,ch:W0.lastIndex};gi(tt,kr,Pr,b0,"formula-tag-text")}b0.children&&b0.children.length>0&&Te(tt,Wt,d0,b0.children)})},Wn=function(tt,Wt){var d0=Wt.split(` 197`);d0.forEach(function(An,b0){return Ci(tt,An,b0,xi)})},_i=function(tt,Wt){Ke(tt),ye.current=tt,M!=null&&M!==""&&Wn(tt,Wt)},Ne=function(tt,Wt,d0){(d0!=null||d0!=="")&&Wn(tt,d0)};return(0,t.jsx)(hn.Z,{onCancel:I,open:!0,maskClosable:!1,getContainer:qe,title:d,width:1e3,footer:!1,onOk:function(tt){tt.stopPropagation(),T(Ie.getValue())},keyboard:!1,children:(0,t.jsxs)("div",{className:it()(We,O),children:[(0,t.jsx)(qa,{functions:_a(r.commonUseFunctionNames),variables:xi,insertFun:I0,insertVariable:function(tt){return Qn(tt)}}),(0,t.jsxs)("div",{className:"".concat(We,"-main"),children:[(0,t.jsxs)("div",{className:"".concat(We,"-main__code"),children:[(0,t.jsxs)("h1",{children:[(0,t.jsxs)("span",{className:"equle",children:[v,"="]}),(0,t.jsxs)("span",{style:{float:"right"},children:[(0,t.jsx)(o.Z,{title:"\u903B\u8F91\u8868\u793A\u4F7F\u7528\u5177\u4F53\u503C\u53C2\u4E0E\u903B\u8F91\u8BA1\u7B97\uFF0C\u5982\u5355\u9009\u9898\u9009\u4E2D\u4E3A true;\u6587\u672C\u8868\u793A\u4F7F\u7528\u6807\u9898\u53C2\u4E0E\u6587\u672C\u8BA1\u7B97\uFF0C\u5982\u5355\u9009\u9898\u9009\u4E2D\u9009\u9879\u7684\u6587\u672C\u3002",children:(0,t.jsx)(Xi.Z,{style:{fontSize:16,marginRight:10}})}),(0,t.jsx)(Hn.Z,{checkedChildren:"\u903B\u8F91",defaultChecked:!0,unCheckedChildren:"\u6587\u672C",onChange:function(tt){tt?e0.current="":e0.current="_"}})]})]}),(0,t.jsx)("div",{style:{fontSize:14,color:"#b0b0b9"},children:"\u5728\u5DE6\u4FA7\u9009\u62E9\u51FD\u6570\u6216\u5B57\u6BB5\u53D8\u91CF\uFF0C\u4E14\u5728\u82F1\u6587\u8F93\u5165\u6CD5\u4E0B\u7F16\u8F91"})]}),(0,t.jsx)("div",{className:"".concat(We,"-main__panel"),children:(0,t.jsx)(Ha.Rt,{autoCursor:!1,value:M,options:W1,editorDidMount:_i,onChange:Ne})}),(0,t.jsxs)("div",{className:"".concat(We,"-main__footer"),children:[(0,t.jsxs)(Qi.Z,{children:[(0,t.jsx)("span",{children:m}),(0,t.jsx)(nr,{href:"https://support.microsoft.com/zh-cn/office/excel-%E5%87%BD%E6%95%B0-%E6%8C%89%E7%B1%BB%E5%88%AB%E5%88%97%E5%87%BA-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb",target:"_blank",children:"\u516C\u5F0F\u6587\u6863"})]}),(0,t.jsxs)(Qi.Z,{children:[(0,t.jsx)($n.Z,{onClick:function(){I()},children:"\u53D6\u6D88"}),(0,t.jsx)($n.Z,{type:"primary",onClick:function(tt){tt.stopPropagation(),T(Ie.getValue())},children:"\u786E\u5B9A"})]})]})]})]})})},ir=i(78210),ar=i(1997),rr=i(64031),or=(0,Ct.Pi)(function(){var u,r=(0,Ct.cI)(),d=(0,le.useState)(!1),v=(0,c0.Z)(d,2),m=v[0],E=v[1],M=(u=r.values.attribute)===null||u===void 0?void 0:u.visibleRule,T=r.values.title,O=(0,Oe.AR)();return(0,Ct.U7)(function(I){(0,rr.Zj)("attribute._visibleRule",function(W){W.value?E(!0):E(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(Ct.Wo,{name:"attribute",children:[(0,t.jsx)(Ct.gN,{name:"_visibleRule"}),(0,t.jsx)(Ct.gN,{name:"visibleRule"})]}),m&&(0,t.jsx)(ar.ZP,{schema:O.serialize(),title:(0,t.jsx)("span",{children:"\u663E\u793A\u903B\u8F91-\u516C\u5F0F\u8BBE\u7F6E"}),subTitle:(0,t.jsx)("span",{style:{fontSize:20},children:(0,t.jsx)(ir.Z,{html:T})}),helpLink:(0,t.jsx)($n.Z,{type:"link",onClick:function(){return window.open("https://surveyking.cn/help/logic/show")},children:"\u5982\u4F55\u8FDB\u884C\u663E\u793A\u903B\u8F91\u8BBE\u7F6E"}),commonUseFunctionNames:["AND","OR","IF","NOT"],value:M,onCancel:function(){r.values.attribute._visibleRule=!1},onOk:function(W){r.setFieldState("attribute.visibleRule",function(te){return te.value=W}),r.values.attribute._visibleRule=!1}})]})}),lr=i(54549),ur=i(24616),sr=i(27400),K1=["baseClassName","openIcon","handlerVisible"],cr=(0,Bt.Pi)(function(u){var r=u.baseClassName,d=r===void 0?"":r,v=u.openIcon,m=u.handlerVisible,E=m===void 0?!0:m,M=(0,ln.Z)(u,K1),T=(0,sr.a)(),O=(0,le.useState)(!1),I=(0,c0.Z)(O,2),W=I[0],te=I[1];return T.isMobile?(0,t.jsx)(Ln.Z,(0,D.Z)((0,D.Z)({closable:!1,autoFocus:!1,push:!1,onClose:function(){return te(!1)},open:W,handler:E&&(0,t.jsx)("div",{className:"".concat(d,"-drawer-handle"),onClick:function(){return te(!W)},children:W?(0,t.jsx)(lr.Z,{style:{color:"#fff",fontSize:20,pointerEvents:"none"}}):v||(0,t.jsx)(ur.Z,{style:{color:"#fff",fontSize:20,pointerEvents:"none"}})}),style:{zIndex:999}},M),{},{children:u.children})):(0,t.jsx)(t.Fragment,{children:u.children})}),c=i(63185),a=i(9676),n=i(65011),h=i(49288),C=i(43358),x=i(34041),y=i(34792),p=i(48086),S=i(9715),B=i(55843),w=i(11628),L=i(29306),k=i.n(L),H=i(99541),Z={labelCol:{span:4},wrapperCol:{span:14}},ee={labelCol:{span:4},wrapperCol:{span:8,offset:4}};function ve(u){return JSON.parse(JSON.stringify(u,function(r,d){if(r!=="id")return d}))}var Ae=(0,Bt.Pi)(function(u){var r=u.template,d=(0,w.IE)(),v=(0,le.useContext)(v0.rU),m=(0,le.useState)(!1),E=(0,c0.Z)(m,2),M=E[0],T=E[1],O=d.mode||"survey",I=B.Z.useForm(),W=(0,c0.Z)(I,1),te=W[0],he=(0,le.useState)(),je=(0,c0.Z)(he,2),ge=je[0],Ie=je[1],Ke=(0,le.useState)([]),ye=(0,c0.Z)(Ke,2),Qe=ye[0],lt=ye[1],qe=(0,le.useState)([]),We=(0,c0.Z)(qe,2),e0=We[0],I0=We[1],Qn=(0,Oe.zE)(function(Ne){h0.hi.selectRepo({mode:O}).then(function(Te){Te.success&<(Te.data.map(function(tt){return{label:tt.name,value:tt.id}}))})},5),xi=(0,Oe.zE)(function(Ne){h0.hi.loadCategories(Ne).then(function(Te){Te&<(Te.map(function(tt){return{label:tt,value:tt}}))})},5),gi=(0,Oe.zE)(function(Ne){h0.hi.selectTag({mode:O,name:Ne}).then(function(Te){Te.success&&I0(Te.data)})},5),Ci=function(){d.currentSchema=void 0},Wn=function(Te){te.validateFields().then(function(tt){r.type==="Survey"?d.saveTemplate((0,D.Z)((0,D.Z)({},tt),{},{shared:ge,template:ve(r),questionType:r==null?void 0:r.type,previewUrl:Te})).then(function(Wt){Wt.success&&p.default.success(r.type==="Survey"?"\u95EE\u5377\u6A21\u677F\u4FDD\u5B58\u6210\u529F":"\u95EE\u9898\u6A21\u677F\u4FDD\u5B58\u6210\u529F"),T(!1)}):h0.hi.batchAddRepoTemplate({repoId:tt.repoId,templates:[{name:tt.name,mode:O,template:r,questionType:r.type}]}).then(function(Wt){Wt.success&&(p.default.success(r.type==="Survey"?"\u95EE\u5377\u6A21\u677F\u4FDD\u5B58\u6210\u529F":"\u95EE\u9898\u6A21\u677F\u4FDD\u5B58\u6210\u529F"),Ci()),T(!1)})}).catch(function(){T(!1)})},_i=function(){T(!0),r.type==="Survey"?k().toBlob(document.querySelector(".survey-antd"),{bgcolor:"white"}).then(function(Te){var tt=(0,v0.WO)(r.title);Te.name=tt,d.uploadImage(5,new File([Te],tt+".png")).then(function(Wt){if(Wt.success){var d0=Wt.data.id;Wn(d0)}else p.default.error("\u751F\u6210\u95EE\u5377\u9884\u89C8\u56FE\u5931\u8D25");T(!1)})}).catch(function(Te){T(!1)}):Wn()};return(0,le.useEffect)(function(){r.type!=="Survey"&&Qn()},[]),(0,t.jsxs)(hn.Z,{title:r.type==="Survey"?"\u4FDD\u5B58\u5230\u95EE\u5377\u6A21\u677F\u5E93":"\u4FDD\u5B58\u5230\u9898\u5E93",getContainer:function(){return v.getContainer()},open:!0,onCancel:Ci,maskClosable:!1,okText:"\u4FDD\u5B58",onOk:_i,okButtonProps:{loading:M},className:"save-to-template",children:[(0,t.jsxs)(B.Z,{form:te,initialValues:{name:(0,v0.WO)(r.title)},children:[(0,t.jsx)(B.Z.Item,(0,D.Z)((0,D.Z)({},Z),{},{name:"name",label:"\u6A21\u677F\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}],children:(0,t.jsx)(Vn.Z,{})})),r.type!=="Survey"&&(0,t.jsx)(B.Z.Item,(0,D.Z)((0,D.Z)({},Z),{},{name:"repoId",label:"\u9898\u5E93",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u5E93"}],children:(0,t.jsx)(x.Z,{options:Qe})})),r.type==="Survey"&&(0,t.jsx)(B.Z.Item,(0,D.Z)((0,D.Z)({},Z),{},{name:"category",label:"\u5206\u7C7B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5206\u7C7B"}],children:(0,t.jsx)(h.Z,{options:Qe,onSearch:function(Te){xi(Te)}})})),(0,t.jsx)(B.Z.Item,(0,D.Z)((0,D.Z)({},Z),{},{name:"tag",label:"\u6807\u7B7E",children:(0,t.jsx)(x.Z,{mode:"tags",style:{width:"100%"},tokenSeparators:[","],onSearch:gi,children:e0.map(function(Ne){return(0,t.jsx)(x.Z.Option,{value:Ne,children:Ne},Ne)})})})),r.type==="Survey"&&(0,t.jsx)(B.Z.Item,(0,D.Z)((0,D.Z)({},ee),{},{children:(0,t.jsx)(a.Z,{onChange:function(Te){Ie(Te.target.checked?1:0)},children:"\u6DFB\u52A0\u5230\u516C\u5171\u5E93"})}))]}),r.type==="Survey"&&(0,t.jsx)("div",{style:{height:0,overflow:"auto",width:300},children:(0,t.jsx)(H.Z,{})})]})}),ze=(0,Bt.Pi)(function(){var u=(0,w.IE)(),r=u.currentSchema;return r?(0,t.jsx)(Ae,{template:r}):(0,t.jsx)(t.Fragment,{})}),fe=i(59465),ct=(0,Bt.Pi)(function(u){var r=u.item,d=(0,w.IE)();return(0,t.jsxs)("div",{className:"template-item",children:[(0,t.jsx)("div",{className:"template-item-name",children:r.name}),(0,t.jsx)("div",{className:"template-item-type",children:b[r.questionType]}),(0,t.jsx)("div",{className:"template-item-setting",children:r.owner&&(0,t.jsx)(fi.Z,{title:"\u786E\u5B9A\u5220\u9664\u5F53\u524D\u6A21\u677F\u5417\uFF1F",icon:(0,t.jsx)(Xi.Z,{style:{color:"red"}}),onConfirm:function(){r.id&&d.deleteTemplate(r.id).then(function(m){m.success&&p.default.success("\u5220\u9664\u6210\u529F")})},children:(0,t.jsx)(fe.Z,{})})})]})}),ht=(0,Bt.Pi)(function(){var u=(0,w.IE)(),r=u.currentCategory;return r?(0,t.jsx)(hn.Z,{open:!0,title:"\u9898\u5E93-".concat(r),width:750,onCancel:function(){u.currentCategory=void 0},maskClosable:!1,className:"template-edit-modal",bodyStyle:{background:"#f7f8fa"},footer:!1,children:(0,t.jsx)("div",{className:"template-item-container",children:u.qt.filter(function(d){return d.category===r}).map(function(d){return(0,t.jsx)(ct,{item:d},d.id)})})}):(0,t.jsx)(t.Fragment,{})}),ie=i(39428),we=i(3182),rt=i(40807),ut=i(81516),ot=i(59886),qt=i(82837),u0=i(91186),At=[],Ot=function(r){var d=r.onClose,v=r.visible,m=(0,le.useState)(function(){return[]}),E=(0,c0.Z)(m,2),M=E[0],T=E[1],O=(0,le.useRef)(),I=(0,le.useRef)(),W=(0,Oe.Tv)(),te=(0,le.useState)([]),he=(0,c0.Z)(te,2),je=he[0],ge=he[1];(0,le.useEffect)(function(){h0.hi.selectRepo({mode:"exam"}).then(function(Ke){Ke.success&&ge(Ke.data)})},[]);var Ie=[{title:"\u5173\u8054\u9898\u5E93",dataIndex:"repoId",valueType:"select",ellipsis:!0,width:250,formItemProps:function(){return{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u5E93"}]}},request:function(){var Ke=(0,we.Z)((0,ie.Z)().mark(function Qe(){return(0,ie.Z)().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return qe.abrupt("return",je.map(function(We,e0){return{label:(0,t.jsxs)("span",{children:[We.name,"(",We.total||0,")"]}),value:We.id}}));case 1:case"end":return qe.stop()}},Qe)}));function ye(){return Ke.apply(this,arguments)}return ye}()},{title:"\u9898\u578B",key:"types",dataIndex:"types",valueType:"select",fieldProps:{mode:"multiple"},valueEnum:function(ye){var Qe;if(!ye.repoId)return{};
197var lt=(Qe=je.find(function(qe){return qe.id===ye.repoId}))===null||Qe===void 0?void 0:Qe.repoQuestionTypes;return lt?lt.reduce(function(qe,We){return qe[We.questionType]={text:ut.questionNameByType[We.questionType]+"("+We.total+")",status:"Success"},qe},{}):{}},width:180},{title:"\u6807\u7B7E",key:"tags",dataIndex:"tags",valueType:"select",fieldProps:{mode:"multiple"},valueEnum:function(ye){var Qe;if(!ye.repoId)return{};var lt=(Qe=je.find(function(qe){return qe.id===ye.repoId}))===null||Qe===void 0?void 0:Qe.templateTags;return lt?lt.reduce(function(qe,We){return qe[We.name]={text:We.name+"("+We.total+")",status:"Success"},qe},{}):{}},width:150},{title:"\u9898\u6570",dataIndex:"questionsNum",valueType:"digit",width:120,fieldProps:function(ye,Qe){var lt,qe=Qe.entity.repoId;if(!qe)return{max:0,min:0};var We=((lt=je.find(function(e0){return e0.id===qe}))===null||lt===void 0?void 0:lt.total)||0;return{max:We,min:1}}},{title:"\u6BCF\u9898\u5206\u6570",width:150,dataIndex:"examScore",valueType:"digit"},{title:"\u64CD\u4F5C",valueType:"option",render:function(ye,Qe){return[(0,t.jsx)("a",{onClick:function(){var qe,We,e0=(qe=O.current)===null||qe===void 0?void 0:qe.getFieldValue("table");(We=O.current)===null||We===void 0||We.setFieldsValue({table:e0.filter(function(I0){return I0.id!==(Qe==null?void 0:Qe.id)})})},children:"\u79FB\u9664"},"delete"),(0,t.jsx)("a",{onClick:function(){var qe;(qe=I.current)===null||qe===void 0||qe.startEditable(Qe.id)},children:"\u7F16\u8F91"},"edit")]}}];return(0,t.jsx)(hn.Z,{width:1200,onCancel:d,open:v,className:"add-question-modal",maskClosable:!1,footer:!1,children:(0,t.jsx)(ot.ZP,{children:(0,t.jsx)("div",{style:{maxWidth:1200,margin:"auto"},children:(0,t.jsxs)(qt.ZP,{formRef:O,onFinish:function(){var Ke=(0,we.Z)((0,ie.Z)().mark(function ye(Qe){var lt;return(0,ie.Z)().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return We.next=2,h0.hi.pickRepoQuestion(Qe.table);case 2:return lt=We.sent,p.default.success("\u83B7\u53D6\u6A21\u677F\u6210\u529F"),lt.success&&(W.batchAddNode(lt.data),d()),We.abrupt("return",!0);case 6:case"end":return We.stop()}},ye)}));return function(ye){return Ke.apply(this,arguments)}}(),initialValues:{table:At},children:[(0,t.jsx)(qt.ie,{name:["table"],children:function(ye){var Qe=ye.table,lt=Qe.reduce(function(qe,We){return{totalScore:qe.totalScore+parseInt((((We==null?void 0:We.examScore)||0)*(We.questionsNum||0)).toString(),10),questions:qe.questions+parseInt(((We==null?void 0:We.questionsNum)||0).toString(),10)}},{totalScore:0,questions:0});return(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:16,paddingBottom:16},children:[(0,t.jsxs)("div",{style:{flex:1},children:["\u603B\u5206\uFF1A",lt.totalScore]}),(0,t.jsxs)("div",{style:{flex:1},children:["\u9898\u6570\uFF1A",lt.questions]})]})}}),(0,t.jsx)(u0.nx,{rowKey:"id",scroll:{x:!0},controlled:!0,actionRef:I,formItemProps:{label:"\u9898\u5E93\u7F16\u8F91",rules:[{validator:function(){var Ke=(0,we.Z)((0,ie.Z)().mark(function Qe(lt,qe){return(0,ie.Z)().wrap(function(e0){for(;;)switch(e0.prev=e0.next){case 0:if(!(qe.length<1)){e0.next=2;break}throw new Error("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9898\u5E93");case 2:case"end":return e0.stop()}},Qe)}));function ye(Qe,lt){return Ke.apply(this,arguments)}return ye}()}]},maxLength:10,name:"table",columns:Ie,recordCreatorProps:{record:function(ye){return{id:(0,rt.kb)()}}},editable:{type:"multiple",editableKeys:M,onChange:T}})]})})})})},f0=Ot,y0=(0,Ct.Pi)(function(){var u=(0,Oe.wq)(),r=u.repoVisible;return(0,t.jsx)(f0,{onClose:function(){return u.switchRepoModalVisible(!1)},visible:r})}),Sn=i(11562),Un=i(28225),dr=i(99884),pi=(0,Ct.Pi)(function(){var u=(0,Oe.wq)(),r=(0,Oe.cF)(),d=(0,Oe.Tv)(),v=r.mode,m=u.importTextVisible;return m?(0,t.jsx)(dr.T,{okText:"\u5BFC\u5165",mode:v,headerVisible:!1,footerVisible:!1,defaultContent:"",onOk:function(M){var T;M.children&&((T=M.children)===null||T===void 0?void 0:T.length)>0&&(d.batchAddNode(M.children),p.default.success("\u5BFC\u5165\u6210\u529F"),d.toggleImportTextDrawerVisible())},onClose:function(){return d.toggleImportTextDrawerVisible()}}):(0,t.jsx)(t.Fragment,{})}),vr=i(13254),G1=i(14277),hr=i(49101),J1=i(96389),qi=le.createContext({});function mn(){return(0,le.useContext)(qi).surveyList}var fr=function(r){var d=r.linkSurveyId,v=r.index,m=(0,Ct.U$)(),E=mn(),M=(0,Oe.AR)().serialize(),T=(0,J1.Xn)(M).filter(function(I){return I.type==="FillBlank"||I.type==="MultipleBlank"}),O=(0,J1.Xn)(E.find(function(I){return I.id===d})).filter(function(I){return I.type==="FillBlank"||I.type==="MultipleBlank"});return(0,t.jsxs)("tr",{className:"ant-table-row ant-table-row-level-0",children:[(0,t.jsx)("td",{className:"ant-table-cell",children:(0,t.jsx)(Ct.gN,{name:"linkQuestionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:150},value:I.value,onChange:I.onChange,options:O.map(function(W){return{label:(0,h0.WO)(W.title),value:W.id}})})}]})}),(0,t.jsx)("td",{className:"ant-table-cell",children:(0,t.jsx)(Ct.gN,{name:"linkOptionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:150},value:I.value,onChange:I.onChange,options:I.options})}],reactions:function(W){var te=m.query(m.path.concat("linkQuestionId")).get("value");if(te){var he,je=O.find(function(ge){return ge.id===te});W.setComponentProps({options:je==null||(he=je.children)===null||he===void 0?void 0:he.map(function(ge,Ie){return{value:ge.id,label:(0,h0.WO)(ge.title)||"\u586B\u7A7A".concat(Ie+1)}})})}}})}),(0,t.jsx)("td",{className:"ant-table-cell",children:(0,t.jsx)(Ct.gN,{name:"fillQuestionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:150},value:I.value,onChange:I.onChange,options:T.map(function(W){return{label:(0,h0.WO)(W.title),value:W.id}})})}]})}),(0,t.jsx)("td",{className:"ant-table-cell",children:(0,t.jsx)(Ct.gN,{name:"fillOptionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:150},value:I.value,onChange:I.onChange,options:I.options})}],reactions:function(W){var te=m.query(m.path.concat("fillQuestionId")).get("value");if(te){var he,je=T.find(function(ge){return ge.id===te});W.setComponentProps({options:je==null||(he=je.children)===null||he===void 0?void 0:he.map(function(ge,Ie){return{value:ge.id,label:(0,h0.WO)(ge.title)||"\u586B\u7A7A".concat(Ie+1)}})})}}})}),(0,t.jsx)("td",{className:"ant-table-cell",children:(0,t.jsx)(fi.Z,{title:"\u786E\u5B9A\u5220\u9664\u5F53\u524D\u5173\u8054\u6761\u4EF6\uFF1F",onConfirm:function(){m.parent.value.splice(v,1)},children:(0,t.jsx)("a",{children:"\u5220\u9664"})})})]})},mr=(0,Ct.Pi)(function(u){var r,d=u.index,v=(0,Ct.U$)(),m=(0,le.useContext)(v0.Y7),E=m.getContainer,M=mn(),T=v.value.linkSurveyId,O=(0,Oe.AR)().id;return(0,t.jsx)("div",{style:{marginBottom:10},children:(0,t.jsxs)(ot.ZP,{title:((r=M.find(function(I){return I.id===T}))===null||r===void 0?void 0:r.title)||"\u8BF7\u5148\u9009\u62E9\u95EE\u5377",tooltip:"\u76EE\u524D\u53EA\u652F\u6301\u5355\u884C\u6587\u672C\u9898\u7684\u503C\u586B\u5145",extra:(0,t.jsxs)(Qi.Z,{children:[(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Z,{title:"\u5F00\u542F\u540E\uFF0C\u5C06\u4F1A\u7EA7\u8054\u66F4\u65B0\u539F\u95EE\u5377\u95EE\u9898\u7B54\u6848",children:(0,t.jsx)(Xi.Z,{})}),(0,t.jsx)(Ct.gN,{name:"enableUpdate",component:[function(I){return(0,t.jsx)(Hn.Z,{checked:!!I.value,onChange:function(te){I.onChange(te)}})}]})]}),(0,t.jsx)(fi.Z,{title:"\u786E\u5B9A\u5220\u9664\u5F53\u524D\u5173\u8054\u8BBE\u7F6E\u5417\uFF1F",onConfirm:function(){v.parent.value.splice(d,1)},children:(0,t.jsx)("a",{children:"\u5220\u9664"})})]}),children:[(0,t.jsx)(Ct.gN,{name:"linkSurveyId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:250},getPopupContainer:E,placeholder:"\u8BF7\u9009\u62E9\u95EE\u5377",value:I.value,onChange:function(te){I.onChange(te)},options:M.filter(function(W){return W.id!==O}).map(function(W){return{label:W.title,value:W.id}})})}]}),(0,t.jsx)(Ct.gN,{name:"linkQuestionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:200,marginLeft:10},value:I.value,onChange:function(te){I.onChange(te)},getPopupContainer:E,placeholder:"\u8BF7\u9009\u62E9\u95EE\u9898",options:I.options})}],reactions:function(W){var te=v.query(v.path.concat("linkSurveyId")).get("value"),he=M.find(function(ge){return ge.id===te});if(he){var je=(0,rt.Xn)(he).filter(function(ge){return ge.type==="FillBlank"||ge.type==="MultipleBlank"});W.setComponentProps({options:je.map(function(ge){return{value:ge.id,label:(0,h0.WO)(ge.title)}})})}}}),(0,t.jsx)(Ct.gN,{name:"linkOptionId",component:[function(I){return(0,t.jsx)(x.Z,{style:{width:150,marginLeft:10}
197,getPopupContainer:E,value:I.value,onChange:function(te){I.onChange(te)},placeholder:"\u8BF7\u9009\u62E9\u9009\u9879",options:I.options})}],reactions:function(W){var te=v.query(v.path.concat("linkSurveyId")).get("value"),he=v.query(v.path.concat("linkQuestionId")).get("value"),je=M.find(function(Ke){return Ke.id===te});if(je&&he){var ge,Ie=(0,rt.Xn)(je).find(function(Ke){return Ke.id===he});W.setComponentProps({options:Ie==null||(ge=Ie.children)===null||ge===void 0?void 0:ge.map(function(Ke,ye){return{value:Ke.id,label:(0,h0.WO)(Ke.title)||"\u586B\u7A7A".concat(ye+1)}})})}}}),T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("table",{className:"link-table",style:{tableLayout:"auto"},children:[(0,t.jsx)("thead",{className:"ant-table-thead",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"ant-table-cell",children:"\u539F\u95EE\u5377\u95EE\u9898"}),(0,t.jsx)("th",{children:"\u539F\u95EE\u5377\u9009\u9879"}),(0,t.jsx)("th",{children:"\u5F53\u524D\u95EE\u5377\u95EE\u9898"}),(0,t.jsx)("th",{children:"\u5F53\u524D\u95EE\u5377\u9009\u9879"}),(0,t.jsx)("th",{children:"\u64CD\u4F5C"})]})}),(0,t.jsx)("tbody",{className:"ant-table-tbody",children:(0,t.jsx)(Ct.OF,{name:"linkFields",children:function(W){return W.value.map(function(te,he){return(0,t.jsx)(Ct.Wo,{name:he,children:(0,t.jsx)(fr,{index:he,linkSurveyId:T})},he)})}})})]}),(0,t.jsx)("div",{className:"ant-table-footer",children:(0,t.jsx)($n.Z,{icon:(0,t.jsx)(hr.Z,{}),type:"dashed",block:!0,onClick:function(){v.query(v.path.concat("linkFields")).get("value").push({})},children:"\u6DFB\u52A0\u4E00\u884C"})})]}):(0,t.jsx)(G1.Z,{description:"\u8BF7\u5148\u9009\u62E9\u95EE\u5377",style:{marginTop:10}})]})})}),X1=function(r){var d=(0,le.useContext)(v0.Y7),v=d.getContainer,m=(0,le.useState)(!1),E=(0,c0.Z)(m,2),M=E[0],T=E[1],O=(0,Ct.cI)(),I=(0,le.useState)([]),W=(0,c0.Z)(I,2),te=W[0],he=W[1];return(0,le.useEffect)(function(){h0.hi.loadProjects({current:1,pageSize:999,mode:"survey"}).then(function(je){he(je.list.map(function(ge){return(0,D.Z)((0,D.Z)({},ge.survey),{},{title:ge.name})})||[])})},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(qi.Provider,{value:{surveyList:te},children:(0,t.jsx)(hn.Z,{title:(0,t.jsxs)("div",{children:["\u5173\u8054\u95EE\u5377\u8BBE\u7F6E",(0,t.jsx)("a",{style:{marginLeft:10,fontSize:12},onClick:function(){window.open("https://surveyking.cn/help/field-form/form-association")},children:"\u5982\u4F55\u8BBE\u7F6E"})]}),open:M,width:900,className:"link-survey",bodyStyle:{background:"#f7f7f7"},getContainer:v,footer:(0,t.jsx)($n.Z,{type:"primary",onClick:function(){O.query("linkSurveys").get("value").push({})}
197,children:"\u65B0\u589E\u5173\u8054\u95EE\u5377"}),onCancel:function(){T(!1)},maskClosable:!1,children:te.length===0?(0,t.jsx)(G1.Z,{description:"\u53EF\u5173\u8054\u95EE\u5377\u5217\u8868\u4E3A\u7A7A"}):(0,t.jsx)(Ct.OF,{name:"linkSurveys",basePath:"",children:function(ge){return ge.value.map(function(Ie,Ke){return(0,t.jsx)(Ct.Wo,{name:Ke,children:(0,t.jsx)(mr,{index:Ke},Ke)},Ke)})}})})}),(0,t.jsxs)("div",{className:"setting-item",children:[(0,t.jsxs)("span",{children:["\u95EE\u5377\u5173\u8054",(0,t.jsx)(w1.Z,{getPopupContainer:v,content:(0,t.jsx)("div",{children:"\u5173\u8054\u95EE\u5377\u8BBE\u7F6E"}),children:(0,t.jsx)(Ut,{infer:"QuestionCircle",style:{marginLeft:6,color:"#d9d9d9",cursor:"pointer"}})})]}),(0,t.jsx)("a",{onClick:function(){return T(!0)},children:"\u70B9\u51FB\u8BBE\u7F6E"})]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.